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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1d0c01,Command as _0x354615}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3b361e,IconGooglePhotos as _0x4b3915,IconGoogleDrive as _0x503873,IconFacebook as _0x13c8cc,IconDropbox as _0xde1ce6,IconUploadcareLink as _0x555464,IconUploadcareImageUpload as _0xe52790,IconError as _0x34a476,IconUploadcareImageEdit as _0xc60ae9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x196f4e,MenuBarMenuListItemButtonView as _0x24d36f,View as _0x4e50d6,FocusCycler as _0x27bc8d,Dialog as _0x4ea138,DialogViewPosition as _0x2dddc8,SpinnerView as _0x18b7bf,IconView as _0x59bed7,Notification as _0x4f7ca8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x232457,DomEmitterMixin as _0xb269bb,global as _0x3b326e,getAncestors as _0xe8c29b,ObservableMixin as _0x3240bb,uid as _0x120607,createElement as _0x28e51d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x11fdc5}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xf38f60,info as _0x4e712f}from'@uploadcare/upload-client';import*as _0x4dcea5 from'@uploadcare/file-uploader';var i=function(_0x10c53d){return _0x10c53d['Local']='local',_0x10c53d['URL']='url',_0x10c53d['Dropbox']='dropbox',_0x10c53d['GDrive']='gdrive',_0x10c53d['Facebook']='facebook',_0x10c53d['GPhotos']='gphotos',_0x10c53d['OneDrive']='onedrive',_0x10c53d;}({});function _(_0x5205ff,_0x34e938,_0x1a9f38){const t=_0x5205ff['t'],_0x316442=_0x5205ff['t'];switch(_0x34e938){case i['Local']:return{'text':_0x316442('Insert'===_0x1a9f38?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x316442('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1a9f38?_0x316442('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x316442('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x34e938;}}class e extends _0x1d0c01{['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 _0x2debb0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4e02a5;for(const _0x46f3a1 in _0x2debb0){const _0x5d3784=_0x46f3a1,_0x2952e6=_0x2debb0[_0x5d3784];if('uploadcareLicenseKeyValid'==_0x2952e6||'uploadcareLicenseKeyInvalid'==_0x2952e6||'uploadcareLicenseKeyExpired'==_0x2952e6||'uploadcareLicenseKeyDomainLimit'==_0x2952e6||'uploadcareLicenseKeyNotAllowed'==_0x2952e6||'uploadcareLicenseKeyEvaluationLimit'==_0x2952e6||'uploadcareLicenseKeyTrialLimit'==_0x2952e6||'uploadcareLicenseKeyUsageLimit'==_0x2952e6){delete _0x2debb0[_0x5d3784],_0x4e02a5=_0x2952e6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4e02a5&&_0x2debb0['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4e02a5&&_0x2debb0['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4e02a5&&_0x2debb0['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4e02a5&&_0x2debb0['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4e02a5&&_0x2debb0['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4e02a5&&_0x2debb0['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4e02a5&&_0x2debb0['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5c94d9}=this,_0x47e74d=_0x5c94d9['commands']['get']('uploadcare');if(!_0x47e74d)return;const _0x5d6c02=this['_normalizeConfigSourceList'](_0x5c94d9['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x33f1d6,_0x5bf5e9)=>{const _0x1d4363=this['_getIntegrationKey'](_0x5bf5e9['type']);return _0x33f1d6[_0x1d4363]||(_0x33f1d6[_0x1d4363]=[]),_0x33f1d6[_0x1d4363]['push'](_0x5bf5e9),_0x33f1d6;},{});_0x5c94d9['plugins']['has']('ImageInsertUI')&&_0x5c94d9['commands']['get']('uploadcare')&&Object['entries'](_0x5d6c02)['forEach'](([_0x5b1d6b,_0x1996e8])=>{_0x5c94d9['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5b1d6b,'observable':()=>_0x47e74d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1996e8),'formViewCreator':()=>this['_createDropdownButtons'](_0x1996e8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1996e8),'override':'assetManager'!==_0x5b1d6b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5ba706){const {locale:_0x105862}=this['editor'];return _0x5ba706['map'](_0x3c8146=>{const _0x186ec4=_(_0x105862,_0x3c8146,'Insert');switch(_0x3c8146){case i['Local']:return{'icon':_0xe52790,'type':i['Local'],..._0x186ec4};case i['URL']:return{'icon':_0x555464,'type':i['URL'],..._0x186ec4};case i['Dropbox']:return{'icon':_0xde1ce6,'type':i['Dropbox'],..._0x186ec4};case i['Facebook']:return{'icon':_0x13c8cc,'type':i['Facebook'],..._0x186ec4};case i['GDrive']:return{'icon':_0x503873,'type':i['GDrive'],..._0x186ec4};case i['GPhotos']:return{'icon':_0x4b3915,'type':i['GPhotos'],..._0x186ec4};case i['OneDrive']:return{'icon':_0x3b361e,'type':i['OneDrive'],..._0x186ec4};}});}['_getIntegrationKey'](_0x34bc06){switch(_0x34bc06){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2d5bd5,_0x4c2aa8){const _0x69612a=this['editor'],_0x503a6b=new _0x2d5bd5(_0x69612a['locale']),_0x38e42f=_0x69612a['commands']['get']('uploadcare');return _0x503a6b['bind']('isEnabled')['to'](_0x38e42f),_0x503a6b['on']('execute',()=>{_0x38e42f['execute'](_0x4c2aa8);}),_0x503a6b;}['_createToolbarButton'](_0x1c3ac4){const {locale:_0x39867a}=this['editor'],_0x308942=this['editor']['plugins']['get']('ImageInsertUI'),_0x1907b2=_0x1c3ac4[0x0],_0x4b9ca0=this['_createButton'](_0x196f4e,_0x1907b2['type']);return _0x4b9ca0['icon']=_0x1907b2['icon'],_0x4b9ca0['bind']('label')['to'](_0x308942,'isImageSelected',_0x2af4aa=>_(_0x39867a,_0x1907b2['type'],_0x2af4aa?'Replace':'Insert')['text']),_0x4b9ca0['tooltip']=!0x0,_0x4b9ca0;}['_createDropdownButtons'](_0x5a2621){const {locale:_0x404c76}=this['editor'],_0x3e479b=this['editor']['plugins']['get']('ImageInsertUI');return _0x5a2621['map'](_0x4f5789=>{const _0x8d4713=this['_createButton'](_0x196f4e,_0x4f5789['type']);return _0x8d4713['withText']=!0x0,_0x8d4713['icon']=_0x4f5789['icon'],_0x8d4713['bind']('label')['to'](_0x3e479b,'isImageSelected',_0x51783f=>_(_0x404c76,_0x4f5789['type'],_0x51783f?'Replace':'Insert')['text']),_0x8d4713;});}['_createMenuBarButtons'](_0x217e28){return _0x217e28['map'](_0x407f71=>{const _0x338944=this['_createButton'](_0x24d36f,_0x407f71['type']);return _0x338944['icon']=_0x407f71['icon'],_0x338944['label']=_0x407f71['shortText'],_0x338944;});}}class V extends _0x4e50d6{['focusTracker'];['focusCycler'];constructor(_0x3021f7){super(_0x3021f7),this['focusTracker']=new _0x232457(),this['focusCycler']=new _0x27bc8d({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x35f86b,_0x43494c){super(_0x35f86b),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-'+_0x43494c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x2efc44,_0x49a031){const _0xc75741=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x29af0e=>_0x29af0e<=_0x49a031)['map'](_0x22f7dd=>_0x2efc44['replace'](/\/$/,'')+'/-/resize/'+_0x22f7dd+'x/\x20'+_0x22f7dd+'w');return{'imageFallbackUrl':_0x2efc44,'imageSources':[{'srcset':_0xc75741['join'](',\x20'),'sizes':'(max-width:\x20'+_0x49a031+'px)\x20100vw,\x20'+_0x49a031+'px','type':'image/webp'}]};}function F(_0x57598f,_0x4eb3ba,_0x2ac9d0){const _0x2b0cfd=_0x57598f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2b0cfd?parseInt(_0x2b0cfd[0x1],0xa):_0x4eb3ba,'height':_0x2b0cfd?parseInt(_0x2b0cfd[0x2],0xa):_0x2ac9d0};}function p(_0x44ef27,_0x1e6984){const _0x2c2a97=new(_0xb269bb())(),_0x32bad7=_0x44ef27['plugins']['get']('ImageUtils'),_0x2e762c=_0x44ef27['editing']['mapper']['toViewElement'](_0x1e6984),_0x1b256b=_0x32bad7['findViewImgElement'](_0x2e762c),_0x32ec82=_0x44ef27['editing']['view']['domConverter']['viewToDom'](_0x1b256b),_0x2bc026=_0x1e6984['getAttribute']('width'),_0x1dc8dd=_0x1e6984['getAttribute']('height'),_0x4e06b9='image-processing';_0x44ef27['editing']['view']['change'](_0x2f5109=>{_0x2f5109['addClass'](_0x4e06b9,_0x2e762c),_0x2f5109['setStyle']('aspect-ratio',_0x2bc026+'/'+_0x1dc8dd,_0x1b256b);}),_0x2c2a97['listenTo'](_0x32ec82,'load',()=>{_0x2c2a97['stopListening'](_0x32ec82,'load'),_0x44ef27['editing']['view']['change'](_0x5db943=>{_0x5db943['removeClass'](_0x4e06b9,_0x2e762c),_0x5db943['removeStyle']('aspect-ratio',_0x1b256b);});});}function R(_0xd82e2f){if(Array['isArray'](_0xd82e2f)){const _0x16386b=_0xd82e2f['map'](R);return _0x5cf226=>_0x16386b['some'](_0x5b0762=>_0x5b0762(_0x5cf226));}if('origin'==_0xd82e2f){const _0x5d2ae6=_0x3b326e['window']['location']['origin'];return _0x36a3aa=>new URL(_0x36a3aa,_0x3b326e['document']['baseURI'])['origin']==_0x5d2ae6;}return'function'==typeof _0xd82e2f?_0xd82e2f:_0xd82e2f instanceof RegExp?_0x5842a5=>!(!_0x5842a5['match'](_0xd82e2f)&&!_0x5842a5['replace'](/^https?:\/\//,'')['match'](_0xd82e2f)):()=>!0x1;}function M(_0xd4ba1d,_0x3709e4){return _0xe8c29b(_0xd4ba1d['target'])['includes'](_0x3709e4);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3240bb(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4044b2,_0x58224f,_0x465c3f){super(),this['_editor']=_0x4044b2,this['_editing']=_0x58224f,this['_dialog']=_0x4044b2['plugins']['get'](_0x4ea138),this['_api']=_0x58224f['ctxElement']['getAPI'](),this['_type']=_0x465c3f,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:_0x5a0ad6,model:_0x19c0b5}=this['_editor'],_0x2fde30=_0x19c0b5['document']['selection']['getSelectedElement'](),_0x2674d1=_0x2fde30&&(_0x2fde30['is']('element','imageBlock')||_0x2fde30['is']('element','imageInline'));this['_formView']=new S(_0x5a0ad6,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xe52790,'title':_(_0x5a0ad6,this['_type'],_0x2674d1?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2dddc8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xfdf86c=>!M(_0xfdf86c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1810bf}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4198ca=>{const _0x53982e=_0x1810bf['length'];for(const _0x221530 of _0x1810bf){const _0x467bcc=_0x221530===_0x1810bf[_0x53982e-0x1],{cdnUrl:_0x2875d0,fileInfo:_0x1b295c}=_0x221530;if(!_0x2875d0||!_0x1b295c)continue;const {width:_0x19d8f8,height:_0x16571c}=_0x1b295c['imageInfo'],_0x219024=F(_0x2875d0,_0x19d8f8,_0x16571c),_0x5d33ba=k(_0x2875d0,_0x219024['width']),_0x39a24a={'id':_0x1b295c['uuid'],'type':'image','attributes':{'imageDimension':_0x219024,..._0x5d33ba}};this['_insertAsset'](_0x39a24a,_0x467bcc,_0x4198ca);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1af7c5=>{'idle'===_0x1af7c5['detail']['status']&&!_0x1af7c5['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x216e6d,_0x130e7c,_0x5f41f7){const _0x40338c=this['_editor']['model']['document']['selection'],_0x55e460=_0x40338c['getSelectedElement'](),_0x119fc6=!(!_0x55e460||!_0x55e460['is']('element','imageInline'));_0x5f41f7['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x216e6d,_0x119fc6),_0x130e7c||_0x5f41f7['setSelection'](_0x40338c['getLastPosition']());}['_insertImage'](_0x43779a,_0x189f8e){const _0x5cd102=this['_editor'],{imageDimension:_0x5aa24f,imageFallbackUrl:_0x2ec953,imageSources:_0xf4b6b}=_0x43779a['attributes'];_0x5cd102['execute']('insertImage',{'imageType':_0x189f8e?'imageInline':null,'source':{'uploadcareImageId':_0x43779a['id'],'src':_0x2ec953,'sources':_0xf4b6b,..._0x5aa24f}});}}class w extends _0x354615{['_editing'];['_controller']=null;static get['requires'](){return[_0x4ea138,o];}constructor(_0x4992e8){super(_0x4992e8),this['_editing']=_0x4992e8['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5e2349){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5e2349);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x2b2b2f,publicKey:_0x5cfcde,signal:_0x2db8c4,onProgress:_0x186c11}){return _0xf38f60(_0x2b2b2f,{'publicKey':_0x5cfcde,'store':'auto','signal':_0x2db8c4,'onProgress':_0x186c11});}static['getInfo'](_0x58b325,_0x3682ce){return _0x4e712f(_0x58b325,_0x3682ce);}}class f extends _0x1d0c01{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x11fdc5,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3f3a39=this['editor'];if(!!!_0x3f3a39['config']['get']('uploadcare'))return;_0x3f3a39['plugins']['get'](_0x11fdc5)['createUploadAdapter']=_0x3e308e=>new A(_0x3e308e,_0x3f3a39),_0x3f3a39['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x30e6b9,{imageElement:_0x499334,data:_0x55c923})=>{_0x3f3a39['model']['change'](_0xbbdf1a=>{_0xbbdf1a['setAttribute']('uploadcareImageId',_0x55c923['uploadcareImageId'],_0x499334);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x7276f5,_0x674dd0){this['loader']=_0x7276f5,this['editor']=_0x674dd0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x371dcd=this['editor']['config']['get']('uploadcare.pubkey'),_0x43ae78=await this['loader']['file'];return j['upload']({'file':_0x43ae78,'publicKey':_0x371dcd,'signal':this['controller']['signal'],'onProgress':_0x17c7ce=>{_0x17c7ce&&_0x17c7ce['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x17c7ce['value']);}})['then'](async _0x5cf511=>{const {imageFallbackUrl:_0x3a9092,imageSources:_0x429247}=k(_0x5cf511['cdnUrl'],_0x5cf511['imageInfo']['width']);return{'uploadcareImageId':_0x5cf511['uuid'],'default':_0x3a9092,'sources':_0x429247};})['catch'](()=>{const _0x10974d=t('Cannot\x20upload\x20file:')+('\x20'+_0x43ae78['name']+'.');return Promise['reject'](_0x10974d);});}['abort'](){this['controller']['abort']();}}class o extends _0x1d0c01{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4ea138];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3e61e5){super(_0x3e61e5),this['ucContextId']=_0x120607();}['init'](){const _0x4978f0=this['editor'];_0x4978f0['commands']['add']('uploadcare',new w(_0x4978f0));}['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 _0x428831=_0x3b326e['document']['querySelector']('input[uploadcare-file-input]');_0x428831&&_0x428831['remove']();}),async function(_0x59af33){const _0x5c2fcb=_0x3c609d([0x72,0x5a,0x63,0x57,0x69,0x59,0x46,0x4f,0x54,0x48,0x31,0x73,0x50,0x55,0x70,0x51,0x58,0x4b,0x67,0x41,0x6b,0x64,0x77,0x53,0x33,0x49,0x74,0x45,0x6e,0x32,0x61,0x30,0x47,0x4c,0x34,0x36,0x37,0x65,0x6d,0x38,0x79,0x66,0x7a,0x4d,0x52,0x62,0x75,0x76,0x35,0x78,0x43,0x44,0x68,0x39,0x6a,0x6f,0x6c,0x71,0x4a,0x4e,0x42,0x56]),_0x14fa3c=0x54354444,_0x58576c=0x54322bc4^_0x14fa3c,_0x3884b0=window[_0x3c609d([0x44,0x61,0x74,0x65])][_0x3c609d([0x6e,0x6f,0x77])](),_0x8083a8=_0x59af33[_0x3c609d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12c3bc=new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50298a=>{_0x8083a8[_0x3c609d([0x6f,0x6e,0x63,0x65])](_0x3c609d([0x72,0x65,0x61,0x64,0x79]),_0x50298a);}),_0x11b775={[_0x3c609d([0x6b,0x74,0x79])]:_0x3c609d([0x45,0x43]),[_0x3c609d([0x75,0x73,0x65])]:_0x3c609d([0x73,0x69,0x67]),[_0x3c609d([0x63,0x72,0x76])]:_0x3c609d([0x50,0x2d,0x32,0x35,0x36]),[_0x3c609d([0x78])]:_0x3c609d([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]),[_0x3c609d([0x79])]:_0x3c609d([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]),[_0x3c609d([0x61,0x6c,0x67])]:_0x3c609d([0x45,0x53,0x32,0x35,0x36])},_0x22000d=_0x8083a8[_0x3c609d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c609d([0x67,0x65,0x74])](_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x577b2f(){let _0x433e29,_0x357954=null,_0x2840c3=null;try{if(_0x22000d==_0x3c609d([0x47,0x50,0x4c]))return _0x3c609d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x433e29=_0x14d616(),!_0x433e29)return _0x3c609d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x433e29[_0x3c609d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2840c3=_0x340707(_0x433e29[_0x3c609d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x433e29[_0x3c609d([0x6a,0x74,0x69])])),await _0x1ae326()?_0x4a66b5()?_0xc3f466()?_0x3c609d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2bd5fb()?(_0x433e29[_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c609d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x357954=_0x369905(_0x3c609d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x433e29[_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c609d([0x74,0x72,0x69,0x61,0x6c])&&(_0x357954=_0x369905(_0x3c609d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ee408()):_0x3c609d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c609d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c609d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c609d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc3f466(){const _0x9d4c82=[_0x3c609d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c609d([0x74,0x72,0x69,0x61,0x6c])][_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x433e29[_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3884b0/0x3e8:0xe10*_0x58576c;return _0x433e29[_0x3c609d([0x65,0x78,0x70])]<_0x9d4c82;}function _0x4a66b5(){const _0x2e810c=_0x433e29[_0x3c609d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e810c&&(!!_0x2e810c[_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c609d([0x2a]))||!!_0x2e810c[_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c609d([0x55,0x50,0x4c,0x43])));}function _0x2bd5fb(){const _0x350c68=_0x433e29[_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x350c68||0x0==_0x350c68[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x268415}=new URL(window[_0x3c609d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x350c68[_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x268415))return!0x0;const _0x384954=_0x268415[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])](_0x3c609d([0x2e]));return _0x350c68[_0x3c609d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bbad2=>_0x3bbad2[_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c609d([0x2a])))[_0x3c609d([0x6d,0x61,0x70])](_0x4eca23=>_0x4eca23[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])](_0x3c609d([0x2e])))[_0x3c609d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x284b97=>_0x284b97[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x384954[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c609d([0x6d,0x61,0x70])](_0x3fad96=>Array(_0x384954[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3fad96[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c609d([0x66,0x69,0x6c,0x6c])](_0x3fad96[0x0]===_0x3c609d([0x2a])?_0x3c609d([0x2a]):'')[_0x3c609d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3fad96))[_0x3c609d([0x73,0x6f,0x6d,0x65])](_0x75dc0c=>_0x384954[_0x3c609d([0x65,0x76,0x65,0x72,0x79])]((_0x1989bb,_0x3d4656)=>_0x75dc0c[_0x3d4656]===_0x1989bb||_0x75dc0c[_0x3d4656]===_0x3c609d([0x2a])));}function _0x1ee408(){return _0x357954&&_0x2840c3?new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d5818,_0x55be73)=>{_0x357954[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x4d5818,_0x55be73),_0x2840c3[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x41a24f=>{_0x41a24f!=_0x3c609d([0x56,0x61,0x6c,0x69,0x64])&&_0x4d5818(_0x41a24f);},_0x55be73);}):_0x357954||_0x2840c3||_0x3c609d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x340707(_0x310625,_0x4e9d98){return new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1aaaca=>{if(_0x4147b2())return _0x1aaaca(_0x3c609d([0x56,0x61,0x6c,0x69,0x64]));_0x93aa6(),_0x8083a8[_0x3c609d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c609d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x210f03=!0x1;const _0xb76aa6=_0x120607();function _0x5b02ae(_0x330897){return!!_0x330897&&(typeof _0x330897===_0x3c609d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x330897===_0x3c609d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x330897[_0x3c609d([0x74,0x68,0x65,0x6e])]===_0x3c609d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x330897[_0x3c609d([0x63,0x61,0x74,0x63,0x68])]===_0x3c609d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x88cdf8(_0x14762d){_0x30e1d0(_0x14762d)[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x166105=>{if(!_0x166105||_0x166105[_0x3c609d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c609d([0x6f,0x6b]))return _0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe1a617(_0xb5c823(_0xb76aa6+_0x4e9d98))!=_0x166105[_0x3c609d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c609d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x3ba330=>(_0x5b1e39(),_0x3ba330),()=>{const _0x979e80=_0x1e2bca();return null==_0x979e80?(_0x5b1e39(),_0x3c609d([0x56,0x61,0x6c,0x69,0x64])):_0x3c609d(_0x3884b0-_0x979e80>(0x7039c044^_0x14fa3c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x1aaaca)[_0x3c609d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1aaaca(_0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d4863=0x5403aac4^_0x14fa3c;function _0x5b1e39(){const _0x4d48fb=_0x3c609d([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1a617(_0xb5c823(_0x310625)),_0x52e2a1=_0x3c0fa8(_0xe1a617(window[_0x3c609d([0x4d,0x61,0x74,0x68])][_0x3c609d([0x63,0x65,0x69,0x6c])](_0x3884b0/_0x5d4863)));window[_0x3c609d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c609d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d48fb,_0x52e2a1);}function _0x1e2bca(){const _0x3d0fa3=_0x3c609d([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1a617(_0xb5c823(_0x310625)),_0x2377ed=window[_0x3c609d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c609d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d0fa3);return _0x2377ed?window[_0x3c609d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0fa8(_0x2377ed),0x10)*_0x5d4863:null;}function _0x30e1d0(_0x1938b5){return new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x422966,_0x19b9f0)=>{_0x1938b5[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x422966,_0x19b9f0),window[_0x3c609d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19b9f0,0x54349084^_0x14fa3c);});}}_0x8083a8[_0x3c609d([0x6f,0x6e])](_0x3c609d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4cccc8,_0x1d85ff)=>{if(_0x1d85ff[0x0]!=_0x310625)return _0x1aaaca(_0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d85ff[0x1]={..._0x1d85ff[0x1],[_0x3c609d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb76aa6};},{[_0x3c609d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c609d([0x68,0x69,0x67,0x68])}),_0x8083a8[_0x3c609d([0x6f,0x6e])](_0x3c609d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f4b81=>{_0x5b02ae(_0x4f4b81[_0x3c609d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x210f03=!0x0,_0x88cdf8(_0x4f4b81[_0x3c609d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c609d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c609d([0x6c,0x6f,0x77])}),_0x12c3bc[_0x3c609d([0x74,0x68,0x65,0x6e])](()=>{_0x210f03||_0x1aaaca(_0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4147b2(){return _0x8083a8[_0x3c609d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c609d([0x76,0x69,0x65,0x77])][_0x3c609d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c609d([0x61,0x75,0x74,0x6f]);}function _0x93aa6(){_0x8083a8[_0x3c609d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c609d([0x76,0x69,0x65,0x77])][_0x3c609d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c609d([0x61,0x75,0x74,0x6f]);}}function _0x369905(_0x1c99fb){const _0x258725=[new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29f269=>setTimeout(_0x29f269,0x543c7a88^_0x14fa3c)),_0x12c3bc[_0x3c609d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b8941=>{let _0x390246=0x0;_0x8083a8[_0x3c609d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c609d([0x6f,0x6e])](_0x3c609d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bd241,_0x4e7435)=>{_0x4e7435[0x0][_0x3c609d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x390246++,_0x390246==(0x543545bc^_0x14fa3c)&&(_0x3b8941(),_0x2bd241[_0x3c609d([0x6f,0x66,0x66])]());});}))];return window[_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c609d([0x72,0x61,0x63,0x65])](_0x258725)[_0x3c609d([0x74,0x68,0x65,0x6e])](()=>_0x1c99fb);}async function _0x1ba093(){await _0x12c3bc,_0x8083a8[_0x3c609d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c609d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bb40b,_0x8083a8[_0x3c609d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c609d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bb40b,_0x8083a8[_0x3c609d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c609d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x200cc0(_0x3daf4f){const _0x5b5b5f=_0x58e285();_0x8083a8[_0x5b5b5f]=_0x3c609d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3daf4f,_0x3daf4f!=_0x3c609d([0x56,0x61,0x6c,0x69,0x64])&&_0x1ba093();}function _0x58e285(){const _0x279b03=window[_0x3c609d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c609d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c609d([0x6e,0x6f,0x77])]())[_0x3c609d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c609d([0x2e]),'');let _0x44b262=_0x3c609d([0x72]);for(let _0x46fb24=0x0;_0x46fb24<_0x279b03[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46fb24+=0x2){let _0xed30e7=window[_0x3c609d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x279b03[_0x3c609d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46fb24,_0x46fb24+0x2));_0xed30e7>=_0x5c2fcb[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xed30e7-=_0x5c2fcb[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44b262+=_0x5c2fcb[_0xed30e7];}return _0x44b262;}function _0x14d616(){const _0x55917c=_0x22000d[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])](_0x3c609d([0x2e]));if(0x3!=_0x55917c[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x575e91(_0x55917c[0x1]);function _0x575e91(_0x3e067d){const _0xe1ad08=_0xc2a9dd(_0x3e067d);return _0xe1ad08&&_0x1b13c8()?_0xe1ad08:null;function _0x1b13c8(){const _0xc0b2d1=_0xe1ad08[_0x3c609d([0x6a,0x74,0x69])],_0x423eb6=window[_0x3c609d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc0b2d1[_0x3c609d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc0b2d1[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44a25b={..._0xe1ad08,[_0x3c609d([0x6a,0x74,0x69])]:_0xc0b2d1[_0x3c609d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc0b2d1[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44a25b[_0x3c609d([0x76,0x63])],_0xb5c823(_0x44a25b)==_0x423eb6;}}}async function _0x1ae326(){let _0x823ed1=!0x0;try{const _0x15f31b=_0x22000d[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])](_0x3c609d([0x2e])),[_0x4f10e8,_0x297c77,_0x4f568a]=_0x15f31b;return _0x39d5b3(_0x4f10e8),await _0x4ec4f7(_0x4f10e8,_0x297c77,_0x4f568a),_0x823ed1;}catch{return!0x1;}function _0x39d5b3(_0x19d9ee){const _0x1dc740=_0xc2a9dd(_0x19d9ee);_0x1dc740&&_0x1dc740[_0x3c609d([0x61,0x6c,0x67])]==_0x3c609d([0x45,0x53,0x32,0x35,0x36])||(_0x823ed1=!0x1);}async function _0x4ec4f7(_0x4969af,_0x2cef0c,_0x54dc3e){const _0x3397d4=window[_0x3c609d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c609d([0x66,0x72,0x6f,0x6d])](_0x4c444(_0x54dc3e),_0x3143d7=>_0x3143d7[_0x3c609d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x450514=new window[(_0x3c609d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c609d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4969af+_0x3c609d([0x2e])+_0x2cef0c),_0xc4d997=window[_0x3c609d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c609d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc4d997)return;const _0x200373=await _0xc4d997[_0x3c609d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c609d([0x6a,0x77,0x6b]),_0x11b775,{[_0x3c609d([0x6e,0x61,0x6d,0x65])]:_0x3c609d([0x45,0x43,0x44,0x53,0x41]),[_0x3c609d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c609d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c609d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc4d997[_0x3c609d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c609d([0x6e,0x61,0x6d,0x65])]:_0x3c609d([0x45,0x43,0x44,0x53,0x41]),[_0x3c609d([0x68,0x61,0x73,0x68])]:{[_0x3c609d([0x6e,0x61,0x6d,0x65])]:_0x3c609d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x200373,_0x3397d4,_0x450514)||(_0x823ed1=!0x1);}}function _0xc2a9dd(_0x52c140){return _0x52c140[_0x3c609d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c609d([0x65,0x79]))?JSON[_0x3c609d([0x70,0x61,0x72,0x73,0x65])](_0x4c444(_0x52c140)):null;}function _0x4c444(_0x1a9e27){return window[_0x3c609d([0x61,0x74,0x6f,0x62])](_0x1a9e27[_0x3c609d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c609d([0x2b]))[_0x3c609d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c609d([0x2f])));}function _0xb5c823(_0x2792fa){let _0x17edb2=0x1505;function _0x3547f3(_0x4a92b4){for(let _0x41a61c=0x0;_0x41a61c<_0x4a92b4[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41a61c++){const _0x9071a9=_0x4a92b4[_0x3c609d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41a61c);_0x17edb2=(_0x17edb2<<0x5)+_0x17edb2+_0x9071a9,_0x17edb2&=_0x17edb2;}}function _0x41b9f7(_0x69f112){Array[_0x3c609d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x69f112)?_0x69f112[_0x3c609d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41b9f7):_0x69f112&&typeof _0x69f112==_0x3c609d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c609d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x69f112)[_0x3c609d([0x73,0x6f,0x72,0x74])]()[_0x3c609d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x259554,_0x541d3e])=>{_0x3547f3(_0x259554),_0x41b9f7(_0x541d3e);}):_0x3547f3(window[_0x3c609d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x69f112));}return _0x41b9f7(_0x2792fa),_0x17edb2>>>0x0;}function _0xe1a617(_0x19a011){return _0x19a011[_0x3c609d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c609d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c609d([0x30]));}function _0x3c0fa8(_0x57b706){return _0x57b706[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c609d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c609d([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bb40b(){}function _0x3c609d(_0x49f9e0){return _0x49f9e0['map'](_0x3f845e=>String['fromCharCode'](_0x3f845e))['join']('');}_0x200cc0(await _0x577b2f());}(this);}['_initSchema'](){const _0x4ec85a=this['editor']['model']['schema'];_0x4ec85a['isRegistered']('imageBlock')&&_0x4ec85a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4ec85a['isRegistered']('imageInline')&&_0x4ec85a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x24f52b=this['editor'];_0x24f52b['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x24f52b['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x46c6bc=>_0x46c6bc['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f3777=_0x24f52b['commands']['get']('replaceImageSource');_0x2f3777&&this['listenTo'](_0x2f3777,'cleanupImage',(_0x10bec8,[_0x2c48ce,_0x21e26f])=>{_0x2c48ce['removeAttribute']('uploadcareImageId',_0x21e26f);});}['_initConfig'](){const _0x1e1e5a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1e601f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x28e51d(_0x3b326e['document'],'uc-config',{..._0x1e1e5a,'pubkey':_0x1e601f,'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']=_0x4e68ce=>{if('closeMax'==_0x4e68ce)return'#uc-icon-arrow-down';},_0x3b326e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x28e51d(_0x3b326e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3b326e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x881ca2=this['editor']['commands']['get']('insertImage');_0x881ca2&&this['listenTo'](_0x881ca2,'execute',()=>{const _0x3c045f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3c045f&&_0x3c045f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3c045f);});});const _0x49605d=this['editor']['commands']['get']('uploadcareImageReplace');_0x49605d&&this['listenTo'](_0x49605d,'execute',()=>{const _0x3235f9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3235f9&&_0x3235f9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3235f9);});});}}class tt extends _0x1d0c01{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5898b3){super(_0x5898b3),_0x5898b3['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4dcea5['defineComponents'](_0x4dcea5);}}class ii extends _0x4e50d6{constructor(_0x5b5e72){super(_0x5b5e72);const t=_0x5b5e72['t'],_0x2dec53=this['bindTemplate'],_0x25e0f8=new _0x18b7bf();_0x25e0f8['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':[_0x25e0f8,{'text':_0x2dec53['to']('imageUploadProgress',_0xe1089d=>t('Loading\x20image...')+'\x20('+(_0xe1089d||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 _0x4e50d6{constructor(_0x4c83a4){super(_0x4c83a4);const t=_0x4c83a4['t'];this['set']('errorType',null);const _0x194aa6=new _0x196f4e(_0x4c83a4);_0x194aa6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x194aa6['withText']=!0x0,_0x194aa6['class']='ck-button-action',_0x194aa6['on']('execute',()=>{this['fire']('retry');}),_0x194aa6['bind']('isVisible')['to'](this,'errorType',_0xd7fae0=>'NotFound'!==_0xd7fae0);const _0x35b4e3=new _0x59bed7();_0x35b4e3['content']=_0x34a476,_0x35b4e3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xe23ae=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':[_0x35b4e3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xe23ae['to']('errorType',_0x141418=>t('NotFound'!==_0x141418?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x194aa6]},{'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 _0x4e50d6{constructor(_0x5a9544,_0x1a5446){super(_0x5a9544);const _0x1efb7d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1a5446,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1efb7d['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x46ba90,_0x17e4e6,_0x35208c){super(_0x46ba90),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x46ba90),this['_errorView']=new ti(_0x46ba90),this['_editingView']=new ei(_0x46ba90,_0x35208c),this['_focusableView']=new _0x4e50d6(_0x46ba90),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x17e4e6),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'],_0x4b7778=>{this['_addUploadcareImageEditorListeners'](_0x4b7778);});}),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'](_0x33ed96,_0x5bf275){const _0x357371='uc-cloud-image-editor',_0x5ede14=_0x33ed96['querySelector'](_0x357371);if(_0x5ede14)return _0x5bf275(_0x5ede14);const _0x157972=new MutationObserver(_0x5c07b1=>{const _0x6f0779=_0x5c07b1['filter'](_0x53fb98=>_0x53fb98['target']===_0x33ed96&&_0x53fb98['addedNodes']['length']>0x0&&_0x53fb98['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x357371);_0x6f0779['length']&&(_0x157972['disconnect'](),_0x5bf275(_0x6f0779[0x0]['addedNodes'][0x0]));});_0x157972['observe'](_0x33ed96,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x549afc){_0x549afc['addEventListener']('apply',_0x41cb7f=>{this['fire']('apply',{'imageSrc':_0x41cb7f['detail']['cdnUrl']});}),_0x549afc['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x3240bb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x49788b,_0x2ff404,_0x584e4b){super(),this['_editor']=_0x49788b,this['_dialog']=_0x2ff404,this['_imageElement']=_0x584e4b,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 _0x107f78=this['_imageElement'],_0x439dba=_0x107f78['getAttribute']('uploadcareImageId'),_0x3cb05b=_0x107f78['getAttribute']('src');if(_0x439dba)await this['_loadImageInfo'](_0x439dba,_0x3cb05b);else{if(this['_imageCache']['has'](_0x3cb05b)){const _0x1e25b9=this['_imageCache']['get'](_0x3cb05b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e25b9['url'],this['imageDimension']=_0x1e25b9['dimension'],this['imageId']=_0x1e25b9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e652d}=this['_editor'],t=_0x4e652d['t'],_0x2a6d80=new X(_0x4e652d,this['imageStatus'],this['_attributes']);_0x2a6d80['bind']('status')['to'](this,'imageStatus'),_0x2a6d80['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2a6d80['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2a6d80['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2a6d80,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xc60ae9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2a6d80,'position':_0x2dddc8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2a6d80['focus']();},'onHide':()=>{_0x2a6d80['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x114c02=>!M(_0x114c02,_0x2a6d80['element'])}});}['_loadImageInfo'](_0x4ca147,_0x2d35b6){return j['getInfo'](_0x4ca147,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1bee12=>{const {width:_0x12db0a,height:_0x4a8902}=_0x1bee12['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d35b6,this['imageDimension']={'width':_0x12db0a,'height':_0x4a8902},this['imageId']=_0x4ca147;})['catch'](_0x262fc1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x262fc1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x22ba78,_0x377e43){return this['_getImageAsFile'](_0x22ba78)['then'](_0x4d2dff=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x377e43['signal'],'file':_0x4d2dff,'onProgress':_0x5c83f7=>{_0x5c83f7&&_0x5c83f7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5c83f7['value']));}}))['then'](_0x5c58b1=>{const {width:_0x3af86b,height:_0x277a8d}=_0x5c58b1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c58b1['cdnUrl'],this['imageDimension']={'width':_0x3af86b,'height':_0x277a8d},this['imageId']=_0x5c58b1['uuid'],this['imageUploadProgress']=null;const _0x4f0ba4=_0x22ba78['getAttribute']('src');this['_imageCache']['set'](_0x4f0ba4,{'id':_0x5c58b1['uuid'],'url':_0x5c58b1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x38e0ad=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38e0ad['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3d2358,_0x3ce10b){_0x3d2358['on']('apply',(_0x4ee1cc,_0x133641)=>{this['_replaceImage'](_0x3ce10b,_0x133641['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3d2358['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3d2358['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x12556c,_0x1f11c1,_0x435859){const _0x1c71ef=this['_editor'],{width:_0x472f52,height:_0x5c2e1b}=F(_0x1f11c1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x10478c,imageSources:_0x3490ff}=k(_0x1f11c1,_0x472f52);_0x1c71ef['model']['change'](_0x2ef53c=>{if('$graveyard'===_0x12556c['root']['rootName']){_0x1c71ef['execute']('insertImage',{'imageType':_0x12556c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x12556c['getAttributes']()),'uploadcareImageId':_0x435859,'src':_0x10478c,'sources':_0x3490ff,'width':_0x472f52,'height':_0x5c2e1b}});const _0x1fd40f=_0x12556c['getChildren']();_0x12556c=_0x1c71ef['model']['document']['selection']['getSelectedElement']();for(const _0x1ff2c8 of _0x1fd40f)_0x2ef53c['append'](_0x2ef53c['cloneElement'](_0x1ff2c8),_0x12556c);}else _0x2ef53c['setSelection'](_0x12556c,'on'),_0x1c71ef['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x12556c['getAttributes']()),'uploadcareImageId':_0x435859,'src':_0x10478c,'sources':_0x3490ff,'width':_0x472f52,'height':_0x5c2e1b},_0x12556c);_0x2ef53c['setSelection'](_0x12556c,'on');});}async['_getImageAsFile'](_0x500df6){const _0x40beef=_0x3b326e['window'],_0xe54fbd=_0x3b326e['document']['location']['href'],_0x18eb84=new _0x40beef['URL'](_0x500df6['getAttribute']('src'),_0xe54fbd);if('data:'===_0x18eb84['protocol']){const _0x4ba7a6=_0x18eb84['href']['split'](','),_0x3b47d5=_0x4ba7a6[0x0]['match'](/:(.*?);/)[0x1],_0x4a6eed=_0x3b47d5['split']('/')[0x1],_0x429bf3=_0x40beef['atob'](_0x4ba7a6[_0x4ba7a6['length']-0x1]);let _0x3b856a=_0x429bf3['length'];const _0x12d215=new _0x40beef['Uint8Array'](_0x3b856a);for(;_0x3b856a--;)_0x12d215[_0x3b856a]=_0x429bf3['charCodeAt'](_0x3b856a);return new _0x40beef['File']([_0x12d215],'image.'+_0x4a6eed,{'type':_0x3b47d5});}const _0x47f4fb=_0x18eb84['href']['split']('/'),_0x9697f5=_0x47f4fb[_0x47f4fb['length']-0x1],_0x59c943=_0x9697f5['split']('.')[0x1];return _0x40beef['fetch'](_0x18eb84['href'])['then'](_0x29ae6c=>_0x29ae6c['clone']()['blob']())['then'](_0x386616=>new _0x40beef['File']([_0x386616],_0x9697f5,{'type':'image/'+_0x59c943}));}}class N extends _0x354615{['imageEditController'];static get['requires'](){return[_0x4ea138];}['_isEditable'];constructor(_0x11d306){super(_0x11d306),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xa0a7c7){const _0x6c2d34=R(_0xa0a7c7);return _0x564b47=>!(!_0x564b47||!_0x564b47['is']('element','imageBlock')&&!_0x564b47['is']('element','imageInline'))&&(!!_0x564b47['hasAttribute']('uploadcareImageId')||!!_0x564b47['hasAttribute']('src')&&_0x6c2d34(_0x564b47['getAttribute']('src')));}(_0x11d306['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2849d9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2849d9);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1a904b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a904b&&(_0x1a904b['is']('element','imageBlock')||_0x1a904b['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4ea138),_0x1a904b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x354615{['refresh'](){const _0x151ab0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x151ab0&&(_0x151ab0['is']('element','imageBlock')||_0x151ab0['is']('element','imageInline')));}['execute'](_0xe9706b){const _0x24a9ea=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1009d6=>{_0x1009d6['setAttributes'](_0xe9706b,_0x24a9ea),_0x1009d6['removeAttribute']('srcset',_0x24a9ea),_0x1009d6['removeAttribute']('sizes',_0x24a9ea);});}}class m extends _0x1d0c01{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4f7ca8,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a24f4}=this;_0x4a24f4['commands']['add']('uploadcareImageEdit',new N(_0x4a24f4)),_0x4a24f4['commands']['add']('uploadcareImageReplace',new O(_0x4a24f4));}}class g extends _0x1d0c01{['_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 _0x17ca68=this['editor'];_0x17ca68['ui']['componentFactory']['add']('uploadcareImageEdit',_0x157fb0=>{const _0x45fd68=_0x17ca68['commands']['get']('uploadcareImageEdit'),_0x29f035=new _0x196f4e(_0x157fb0),t=_0x157fb0['t'];return _0x29f035['set']({'icon':_0xc60ae9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x29f035['bind']('isEnabled')['to'](_0x45fd68),_0x29f035['bind']('isOn')['to'](_0x45fd68,'isActive'),this['listenTo'](_0x29f035,'execute',()=>{_0x17ca68['execute']('uploadcareImageEdit'),_0x17ca68['editing']['view']['focus']();}),_0x29f035;}),this['_initConfig']();}['_initConfig'](){const _0x315de5=_0x28e51d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x315de5),this['listenTo'](this['editor'],'destroy',()=>{_0x315de5['remove']();});}}class et extends _0x1d0c01{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,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x55a113,Command as _0x3f6046}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xc572a5,IconGooglePhotos as _0x1eb195,IconGoogleDrive as _0x1598c4,IconFacebook as _0xdacb46,IconDropbox as _0x4bdf52,IconUploadcareLink as _0x43d718,IconUploadcareImageUpload as _0xb99d8b,IconError as _0x215ab4,IconUploadcareImageEdit as _0x3b9c15}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5ea8d3,MenuBarMenuListItemButtonView as _0x3f9762,View as _0x3e4927,FocusCycler as _0x10f8ef,Dialog as _0x3fbc44,DialogViewPosition as _0x13c8d0,SpinnerView as _0x585c4d,IconView as _0x5382c5,Notification as _0x196691}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xd1694c,DomEmitterMixin as _0x45ba55,global as _0x524ab6,getAncestors as _0x542c52,ObservableMixin as _0x236f34,uid as _0x1592db,createElement as _0x3fc7fa}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x17eb35}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3bb220,info as _0x29df84}from'@uploadcare/upload-client';import*as _0x2a4f67 from'@uploadcare/file-uploader';var i=function(_0xae3537){return _0xae3537['Local']='local',_0xae3537['URL']='url',_0xae3537['Dropbox']='dropbox',_0xae3537['GDrive']='gdrive',_0xae3537['Facebook']='facebook',_0xae3537['GPhotos']='gphotos',_0xae3537['OneDrive']='onedrive',_0xae3537;}({});function _(_0xc50667,_0x40a458,_0x22d63d){const t=_0xc50667['t'],_0x30f778=_0xc50667['t'];switch(_0x40a458){case i['Local']:return{'text':_0x30f778('Insert'===_0x22d63d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x30f778('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x22d63d?_0x30f778('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x30f778('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x40a458;}}class e extends _0x55a113{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x54c8dc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x48ca3c;for(const _0x1d9ecf in _0x54c8dc){const _0x1898d0=_0x1d9ecf,_0x16e005=_0x54c8dc[_0x1898d0];if('uploadcareLicenseKeyValid'==_0x16e005||'uploadcareLicenseKeyInvalid'==_0x16e005||'uploadcareLicenseKeyExpired'==_0x16e005||'uploadcareLicenseKeyDomainLimit'==_0x16e005||'uploadcareLicenseKeyNotAllowed'==_0x16e005||'uploadcareLicenseKeyEvaluationLimit'==_0x16e005||'uploadcareLicenseKeyTrialLimit'==_0x16e005||'uploadcareLicenseKeyUsageLimit'==_0x16e005){delete _0x54c8dc[_0x1898d0],_0x48ca3c=_0x16e005,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4fde9e}=this,_0x5812f1=_0x4fde9e['commands']['get']('uploadcare');if(!_0x5812f1)return;const _0x41b311=this['_normalizeConfigSourceList'](_0x4fde9e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x517ecf,_0x5b8ac6)=>{const _0x3c9d3b=this['_getIntegrationKey'](_0x5b8ac6['type']);return _0x517ecf[_0x3c9d3b]||(_0x517ecf[_0x3c9d3b]=[]),_0x517ecf[_0x3c9d3b]['push'](_0x5b8ac6),_0x517ecf;},{});_0x4fde9e['plugins']['has']('ImageInsertUI')&&_0x4fde9e['commands']['get']('uploadcare')&&Object['entries'](_0x41b311)['forEach'](([_0x25a0e9,_0x5cb3a8])=>{_0x4fde9e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x25a0e9,'observable':()=>_0x5812f1,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5cb3a8),'formViewCreator':()=>this['_createDropdownButtons'](_0x5cb3a8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5cb3a8),'override':'assetManager'!==_0x25a0e9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x46e312){const {locale:_0x80d726}=this['editor'];return _0x46e312['map'](_0x11b44a=>{const _0x45ca8e=_(_0x80d726,_0x11b44a,'Insert');switch(_0x11b44a){case i['Local']:return{'icon':_0xb99d8b,'type':i['Local'],..._0x45ca8e};case i['URL']:return{'icon':_0x43d718,'type':i['URL'],..._0x45ca8e};case i['Dropbox']:return{'icon':_0x4bdf52,'type':i['Dropbox'],..._0x45ca8e};case i['Facebook']:return{'icon':_0xdacb46,'type':i['Facebook'],..._0x45ca8e};case i['GDrive']:return{'icon':_0x1598c4,'type':i['GDrive'],..._0x45ca8e};case i['GPhotos']:return{'icon':_0x1eb195,'type':i['GPhotos'],..._0x45ca8e};case i['OneDrive']:return{'icon':_0xc572a5,'type':i['OneDrive'],..._0x45ca8e};}});}['_getIntegrationKey'](_0x46d6d7){switch(_0x46d6d7){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4e6fee,_0x118b1c){const _0x4a5b4e=this['editor'],_0x402ae2=new _0x4e6fee(_0x4a5b4e['locale']),_0x18a4ed=_0x4a5b4e['commands']['get']('uploadcare');return _0x402ae2['bind']('isEnabled')['to'](_0x18a4ed),_0x402ae2['on']('execute',()=>{_0x18a4ed['execute'](_0x118b1c);}),_0x402ae2;}['_createToolbarButton'](_0x2e76cc){const {locale:_0x93e1a6}=this['editor'],_0x28ed2f=this['editor']['plugins']['get']('ImageInsertUI'),_0x37522a=_0x2e76cc[0x0],_0x3d1049=this['_createButton'](_0x5ea8d3,_0x37522a['type']);return _0x3d1049['icon']=_0x37522a['icon'],_0x3d1049['bind']('label')['to'](_0x28ed2f,'isImageSelected',_0x841949=>_(_0x93e1a6,_0x37522a['type'],_0x841949?'Replace':'Insert')['text']),_0x3d1049['tooltip']=!0x0,_0x3d1049;}['_createDropdownButtons'](_0x5d91f3){const {locale:_0x2b9918}=this['editor'],_0x47b5be=this['editor']['plugins']['get']('ImageInsertUI');return _0x5d91f3['map'](_0x4e3563=>{const _0x5916cc=this['_createButton'](_0x5ea8d3,_0x4e3563['type']);return _0x5916cc['withText']=!0x0,_0x5916cc['icon']=_0x4e3563['icon'],_0x5916cc['bind']('label')['to'](_0x47b5be,'isImageSelected',_0x1f1029=>_(_0x2b9918,_0x4e3563['type'],_0x1f1029?'Replace':'Insert')['text']),_0x5916cc;});}['_createMenuBarButtons'](_0x267fc4){return _0x267fc4['map'](_0x46ee25=>{const _0x3705a3=this['_createButton'](_0x3f9762,_0x46ee25['type']);return _0x3705a3['icon']=_0x46ee25['icon'],_0x3705a3['label']=_0x46ee25['shortText'],_0x3705a3;});}}class F extends _0x3e4927{['focusTracker'];['focusCycler'];constructor(_0xd0a5){super(_0xd0a5),this['focusTracker']=new _0xd1694c(),this['focusCycler']=new _0x10f8ef({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x46a917,_0x4136b1){super(_0x46a917),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x4136b1}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x58a8c7,_0x5e2c46){const _0x2cbc76=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4c67f5=>_0x4c67f5<=_0x5e2c46)['map'](_0x188cf4=>_0x58a8c7['replace'](/\/$/,'')+'/-/resize/'+_0x188cf4+'x/\x20'+_0x188cf4+'w');return{'imageFallbackUrl':_0x58a8c7,'imageSources':[{'srcset':_0x2cbc76['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5e2c46+'px)\x20100vw,\x20'+_0x5e2c46+'px','type':'image/webp'}]};}function C(_0x2b1f6a,_0x5256ce,_0x1fe7af){const _0x184da7=_0x2b1f6a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x184da7?parseInt(_0x184da7[0x1],0xa):_0x5256ce,'height':_0x184da7?parseInt(_0x184da7[0x2],0xa):_0x1fe7af};}function p(_0x545d16,_0x3731a4){const _0x5f4f1e=new(_0x45ba55())(),_0x25264b=_0x545d16['plugins']['get']('ImageUtils'),_0x533f7e=_0x545d16['editing']['mapper']['toViewElement'](_0x3731a4),_0x430330=_0x25264b['findViewImgElement'](_0x533f7e),_0x963f22=_0x545d16['editing']['view']['domConverter']['viewToDom'](_0x430330),_0x2d1fdc=_0x3731a4['getAttribute']('width'),_0x51adc1=_0x3731a4['getAttribute']('height'),_0x358f2b='image-processing';_0x545d16['editing']['view']['change'](_0xde0f8f=>{_0xde0f8f['addClass'](_0x358f2b,_0x533f7e),_0xde0f8f['setStyle']('aspect-ratio',_0x2d1fdc+'/'+_0x51adc1,_0x430330);}),_0x5f4f1e['listenTo'](_0x963f22,'load',()=>{_0x5f4f1e['stopListening'](_0x963f22,'load'),_0x545d16['editing']['view']['change'](_0x49d6eb=>{_0x49d6eb['removeClass'](_0x358f2b,_0x533f7e),_0x49d6eb['removeStyle']('aspect-ratio',_0x430330);});});}function G(_0x1a4cc1){if(Array['isArray'](_0x1a4cc1)){const _0x1b21a3=_0x1a4cc1['map'](G);return _0xbfb1da=>_0x1b21a3['some'](_0x2b8d85=>_0x2b8d85(_0xbfb1da));}if('origin'==_0x1a4cc1){const _0x1ad198=_0x524ab6['window']['location']['origin'];return _0x54bacf=>new URL(_0x54bacf,_0x524ab6['document']['baseURI'])['origin']==_0x1ad198;}return'function'==typeof _0x1a4cc1?_0x1a4cc1:_0x1a4cc1 instanceof RegExp?_0x9a120=>!(!_0x9a120['match'](_0x1a4cc1)&&!_0x9a120['replace'](/^https?:\/\//,'')['match'](_0x1a4cc1)):()=>!0x1;}function S(_0x3c945,_0x59219b){return _0x542c52(_0x3c945['target'])['includes'](_0x59219b);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x236f34(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x38200d,_0x1a69c3,_0x8bd95c){super(),this['_editor']=_0x38200d,this['_editing']=_0x1a69c3,this['_dialog']=_0x38200d['plugins']['get'](_0x3fbc44),this['_api']=_0x1a69c3['ctxElement']['getAPI'](),this['_type']=_0x8bd95c,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x3d0d43,model:_0x546cc8}=this['_editor'],_0x41eb30=_0x546cc8['document']['selection']['getSelectedElement'](),_0xc2624b=_0x41eb30&&(_0x41eb30['is']('element','imageBlock')||_0x41eb30['is']('element','imageInline'));this['_formView']=new x(_0x3d0d43,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xb99d8b,'title':_(_0x3d0d43,this['_type'],_0xc2624b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x13c8d0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x108ed5=>!S(_0x108ed5,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x43d3af}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x14c6eb=>{const _0x1aa09c=_0x43d3af['length'];for(const _0x53686a of _0x43d3af){const _0xf9e395=_0x53686a===_0x43d3af[_0x1aa09c-0x1],{cdnUrl:_0x544f44,fileInfo:_0x3c8a06}=_0x53686a;if(!_0x544f44||!_0x3c8a06)continue;const {width:_0x743065,height:_0xd49a28}=_0x3c8a06['imageInfo'],_0x5a9007=C(_0x544f44,_0x743065,_0xd49a28),_0x358746=k(_0x544f44,_0x5a9007['width']),_0x4d5c29={'id':_0x3c8a06['uuid'],'type':'image','attributes':{'imageDimension':_0x5a9007,..._0x358746}};this['_insertAsset'](_0x4d5c29,_0xf9e395,_0x14c6eb);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x244c9f=>{'idle'===_0x244c9f['detail']['status']&&!_0x244c9f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4cee0c,_0x3536f3,_0x50feeb){const _0x1c7451=this['_editor']['model']['document']['selection'],_0x3a128f=_0x1c7451['getSelectedElement'](),_0x3d71a0=!(!_0x3a128f||!_0x3a128f['is']('element','imageInline'));_0x50feeb['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4cee0c,_0x3d71a0),_0x3536f3||_0x50feeb['setSelection'](_0x1c7451['getLastPosition']());}['_insertImage'](_0x5cf5b7,_0x3eed72){const _0x131869=this['_editor'],{imageDimension:_0x1e016e,imageFallbackUrl:_0x31c8c9,imageSources:_0x4a72cf}=_0x5cf5b7['attributes'];_0x131869['execute']('insertImage',{'imageType':_0x3eed72?'imageInline':null,'source':{'uploadcareImageId':_0x5cf5b7['id'],'src':_0x31c8c9,'sources':_0x4a72cf,..._0x1e016e}});}}class w extends _0x3f6046{['_editing'];['_controller']=null;static get['requires'](){return[_0x3fbc44,o];}constructor(_0x486e6e){super(_0x486e6e),this['_editing']=_0x486e6e['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xd4df3e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xd4df3e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x209ec2,publicKey:_0x29f98e,signal:_0x3491b2,onProgress:_0x14a6ec}){return _0x3bb220(_0x209ec2,{'publicKey':_0x29f98e,'store':'auto','signal':_0x3491b2,'onProgress':_0x14a6ec});}static['getInfo'](_0x37b1cb,_0x2e3d26){return _0x29df84(_0x37b1cb,_0x2e3d26);}}class f extends _0x55a113{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x17eb35,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a3b13=this['editor'];if(!!!_0x2a3b13['config']['get']('uploadcare'))return;_0x2a3b13['plugins']['get'](_0x17eb35)['createUploadAdapter']=_0x1b8e5b=>new A(_0x1b8e5b,_0x2a3b13),_0x2a3b13['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x32bc5a,{imageElement:_0x3fdc28,data:_0x1f60af})=>{_0x2a3b13['model']['change'](_0x59114f=>{_0x59114f['setAttribute']('uploadcareImageId',_0x1f60af['uploadcareImageId'],_0x3fdc28);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x30d2d5,_0x27055d){this['loader']=_0x30d2d5,this['editor']=_0x27055d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5cc5de=this['editor']['config']['get']('uploadcare.pubkey'),_0x90907f=await this['loader']['file'];return j['upload']({'file':_0x90907f,'publicKey':_0x5cc5de,'signal':this['controller']['signal'],'onProgress':_0x560234=>{_0x560234&&_0x560234['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x560234['value']);}})['then'](async _0x2da4e1=>{const {imageFallbackUrl:_0x26bf66,imageSources:_0x26a0da}=k(_0x2da4e1['cdnUrl'],_0x2da4e1['imageInfo']['width']);return{'uploadcareImageId':_0x2da4e1['uuid'],'default':_0x26bf66,'sources':_0x26a0da};})['catch'](()=>{const _0x5adfdc=t('Cannot\x20upload\x20file:')+('\x20'+_0x90907f['name']+'.');return Promise['reject'](_0x5adfdc);});}['abort'](){this['controller']['abort']();}}class o extends _0x55a113{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x3fbc44];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x12db86){super(_0x12db86),this['ucContextId']=_0x1592db();}['init'](){const _0x5d5333=this['editor'];_0x5d5333['commands']['add']('uploadcare',new w(_0x5d5333));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x4a3532=_0x524ab6['document']['querySelector']('input[uploadcare-file-input]');_0x4a3532&&_0x4a3532['remove']();}),async function(_0x3a65cd){const _0x42ced8=_0x56a56b([0x72,0x32,0x6c,0x79,0x64,0x74,0x4a,0x4c,0x5a,0x58,0x30,0x56,0x69,0x70,0x66,0x45,0x38,0x48,0x65,0x34,0x43,0x6e,0x47,0x6d,0x7a,0x33,0x59,0x35,0x42,0x68,0x51,0x57,0x73,0x67,0x50,0x77,0x49,0x52,0x39,0x55,0x4e,0x78,0x6a,0x75,0x53,0x61,0x4b,0x41,0x44,0x54,0x76,0x31,0x37,0x6b,0x71,0x62,0x6f,0x36,0x46,0x63,0x4f,0x4d]),_0x3e12ae=0x59eb7e2a,_0x216ae0=0x59ec11b2^_0x3e12ae,_0x53acaf=window[_0x56a56b([0x44,0x61,0x74,0x65])][_0x56a56b([0x6e,0x6f,0x77])](),_0xc2dd3a=_0x3a65cd[_0x56a56b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e0434=new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fd8b9=>{_0xc2dd3a[_0x56a56b([0x6f,0x6e,0x63,0x65])](_0x56a56b([0x72,0x65,0x61,0x64,0x79]),_0x3fd8b9);}),_0x3ecbaf={[_0x56a56b([0x6b,0x74,0x79])]:_0x56a56b([0x45,0x43]),[_0x56a56b([0x75,0x73,0x65])]:_0x56a56b([0x73,0x69,0x67]),[_0x56a56b([0x63,0x72,0x76])]:_0x56a56b([0x50,0x2d,0x32,0x35,0x36]),[_0x56a56b([0x78])]:_0x56a56b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x56a56b([0x79])]:_0x56a56b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x56a56b([0x61,0x6c,0x67])]:_0x56a56b([0x45,0x53,0x32,0x35,0x36])},_0x283a4e=_0xc2dd3a[_0x56a56b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56a56b([0x67,0x65,0x74])](_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31673b(){let _0x56cf21,_0x31ac6a=null,_0x5d7118=null;try{if(_0x283a4e==_0x56a56b([0x47,0x50,0x4c]))return _0x56a56b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56cf21=_0x2152d4(),!_0x56cf21)return _0x56a56b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56cf21[_0x56a56b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d7118=_0x565675(_0x56cf21[_0x56a56b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56cf21[_0x56a56b([0x6a,0x74,0x69])])),await _0x4c3329()?_0x519a6a()?_0x1e7337()?_0x56a56b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f9b57()?(_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a56b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31ac6a=_0x23e8ea(_0x56a56b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a56b([0x74,0x72,0x69,0x61,0x6c])&&(_0x31ac6a=_0x23e8ea(_0x56a56b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b1586()):_0x56a56b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56a56b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56a56b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56a56b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e7337(){const _0x690195=[_0x56a56b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56a56b([0x74,0x72,0x69,0x61,0x6c])][_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53acaf/0x3e8:0xe10*_0x216ae0;return _0x56cf21[_0x56a56b([0x65,0x78,0x70])]<_0x690195;}function _0x519a6a(){const _0x2caa4c=_0x56cf21[_0x56a56b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2caa4c&&(!!_0x2caa4c[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a56b([0x2a]))||!!_0x2caa4c[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a56b([0x55,0x50,0x4c,0x43])));}function _0x1f9b57(){const _0x496a5c=_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x496a5c||0x0==_0x496a5c[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x12f8b4}=new URL(window[_0x56a56b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x496a5c[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12f8b4))return!0x0;const _0x4b1709=_0x12f8b4[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e]));return _0x496a5c[_0x56a56b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d7db0=>_0x4d7db0[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a56b([0x2a])))[_0x56a56b([0x6d,0x61,0x70])](_0x5f507a=>_0x5f507a[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e])))[_0x56a56b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34276d=>_0x34276d[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b1709[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56a56b([0x6d,0x61,0x70])](_0x1cfab2=>Array(_0x4b1709[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1cfab2[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56a56b([0x66,0x69,0x6c,0x6c])](_0x1cfab2[0x0]===_0x56a56b([0x2a])?_0x56a56b([0x2a]):'')[_0x56a56b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1cfab2))[_0x56a56b([0x73,0x6f,0x6d,0x65])](_0x1cfeaa=>_0x4b1709[_0x56a56b([0x65,0x76,0x65,0x72,0x79])]((_0x15431a,_0x3d9484)=>_0x1cfeaa[_0x3d9484]===_0x15431a||_0x1cfeaa[_0x3d9484]===_0x56a56b([0x2a])));}function _0x4b1586(){return _0x31ac6a&&_0x5d7118?new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26f7e6,_0x3f66d2)=>{_0x31ac6a[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x26f7e6,_0x3f66d2),_0x5d7118[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x3fdf23=>{_0x3fdf23!=_0x56a56b([0x56,0x61,0x6c,0x69,0x64])&&_0x26f7e6(_0x3fdf23);},_0x3f66d2);}):_0x31ac6a||_0x5d7118||_0x56a56b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x565675(_0x656ab,_0x51113f){return new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x914137=>{if(_0x11f2b4())return _0x914137(_0x56a56b([0x56,0x61,0x6c,0x69,0x64]));_0x243dec(),_0xc2dd3a[_0x56a56b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56a56b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23c027=!0x1;const _0x160cad=_0x1592db();function _0x3a197c(_0x216e47){return!!_0x216e47&&(typeof _0x216e47===_0x56a56b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x216e47===_0x56a56b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x216e47[_0x56a56b([0x74,0x68,0x65,0x6e])]===_0x56a56b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x216e47[_0x56a56b([0x63,0x61,0x74,0x63,0x68])]===_0x56a56b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c692(_0x142e29){_0x50ea68(_0x142e29)[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x4380e0=>{if(!_0x4380e0||_0x4380e0[_0x56a56b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56a56b([0x6f,0x6b]))return _0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d784b(_0x2b6265(_0x160cad+_0x51113f))!=_0x4380e0[_0x56a56b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56a56b([0x56,0x61,0x6c,0x69,0x64]);})[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x4e6ccd=>(_0x40e315(),_0x4e6ccd),()=>{const _0x2a013d=_0x512299();return null==_0x2a013d?(_0x40e315(),_0x56a56b([0x56,0x61,0x6c,0x69,0x64])):_0x56a56b(_0x53acaf-_0x2a013d>(0x7de7fa2a^_0x3e12ae)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x914137)[_0x56a56b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x914137(_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xab2fb4=0x59dd90aa^_0x3e12ae;function _0x40e315(){const _0x25a8f1=_0x56a56b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d784b(_0x2b6265(_0x656ab)),_0x110a37=_0x16705a(_0x3d784b(window[_0x56a56b([0x4d,0x61,0x74,0x68])][_0x56a56b([0x63,0x65,0x69,0x6c])](_0x53acaf/_0xab2fb4)));window[_0x56a56b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a56b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25a8f1,_0x110a37);}function _0x512299(){const _0x19fe03=_0x56a56b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d784b(_0x2b6265(_0x656ab)),_0x373bcc=window[_0x56a56b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a56b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19fe03);return _0x373bcc?window[_0x56a56b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16705a(_0x373bcc),0x10)*_0xab2fb4:null;}function _0x50ea68(_0xe4a2f5){return new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28bab3,_0x4f182a)=>{_0xe4a2f5[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x28bab3,_0x4f182a),window[_0x56a56b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f182a,0x59eaaaea^_0x3e12ae);});}}_0xc2dd3a[_0x56a56b([0x6f,0x6e])](_0x56a56b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x392c44,_0x57421c)=>{if(_0x57421c[0x0]!=_0x656ab)return _0x914137(_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57421c[0x1]={..._0x57421c[0x1],[_0x56a56b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x160cad};},{[_0x56a56b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a56b([0x68,0x69,0x67,0x68])}),_0xc2dd3a[_0x56a56b([0x6f,0x6e])](_0x56a56b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30f04f=>{_0x3a197c(_0x30f04f[_0x56a56b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23c027=!0x0,_0x4c692(_0x30f04f[_0x56a56b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56a56b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a56b([0x6c,0x6f,0x77])}),_0x5e0434[_0x56a56b([0x74,0x68,0x65,0x6e])](()=>{_0x23c027||_0x914137(_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11f2b4(){return _0xc2dd3a[_0x56a56b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a56b([0x76,0x69,0x65,0x77])][_0x56a56b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56a56b([0x61,0x75,0x74,0x6f]);}function _0x243dec(){_0xc2dd3a[_0x56a56b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a56b([0x76,0x69,0x65,0x77])][_0x56a56b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56a56b([0x61,0x75,0x74,0x6f]);}}function _0x23e8ea(_0x4fe064){const _0x5d4d30=[new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e6ec0=>setTimeout(_0x2e6ec0,0x59e240e6^_0x3e12ae)),_0x5e0434[_0x56a56b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f6006=>{let _0x33034a=0x0;_0xc2dd3a[_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a56b([0x6f,0x6e])](_0x56a56b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x460748,_0x5d2f69)=>{_0x5d2f69[0x0][_0x56a56b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33034a++,_0x33034a==(0x59eb7fd2^_0x3e12ae)&&(_0x1f6006(),_0x460748[_0x56a56b([0x6f,0x66,0x66])]());});}))];return window[_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56a56b([0x72,0x61,0x63,0x65])](_0x5d4d30)[_0x56a56b([0x74,0x68,0x65,0x6e])](()=>_0x4fe064);}async function _0x38cbd6(){await _0x5e0434,_0xc2dd3a[_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a56b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32773c,_0xc2dd3a[_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a56b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32773c,_0xc2dd3a[_0x56a56b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x520c86(_0x24df29){const _0x15af2d=_0x453255();_0xc2dd3a[_0x15af2d]=_0x56a56b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24df29,_0x24df29!=_0x56a56b([0x56,0x61,0x6c,0x69,0x64])&&_0x38cbd6();}function _0x453255(){const _0x1ae0ef=window[_0x56a56b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56a56b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56a56b([0x6e,0x6f,0x77])]())[_0x56a56b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56a56b([0x2e]),'');let _0x3d222f=_0x56a56b([0x72]);for(let _0x545799=0x0;_0x545799<_0x1ae0ef[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x545799+=0x2){let _0x5d4a68=window[_0x56a56b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ae0ef[_0x56a56b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x545799,_0x545799+0x2));_0x5d4a68>=_0x42ced8[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d4a68-=_0x42ced8[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d222f+=_0x42ced8[_0x5d4a68];}return _0x3d222f;}function _0x2152d4(){const _0x38a352=_0x283a4e[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e]));if(0x3!=_0x38a352[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x588700(_0x38a352[0x1]);function _0x588700(_0x582640){const _0x1abe3f=_0x5d3c90(_0x582640);return _0x1abe3f&&_0x321513()?_0x1abe3f:null;function _0x321513(){const _0x82eeff=_0x1abe3f[_0x56a56b([0x6a,0x74,0x69])],_0x5130a1=window[_0x56a56b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x82eeff[_0x56a56b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x82eeff[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e4745={..._0x1abe3f,[_0x56a56b([0x6a,0x74,0x69])]:_0x82eeff[_0x56a56b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x82eeff[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e4745[_0x56a56b([0x76,0x63])],_0x2b6265(_0x4e4745)==_0x5130a1;}}}async function _0x4c3329(){let _0xd88721=!0x0;try{const _0x3c030a=_0x283a4e[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e])),[_0x3d151c,_0x24dc7e,_0x6310da]=_0x3c030a;return _0x525886(_0x3d151c),await _0x51efc1(_0x3d151c,_0x24dc7e,_0x6310da),_0xd88721;}catch{return!0x1;}function _0x525886(_0x515703){const _0x4ae68b=_0x5d3c90(_0x515703);_0x4ae68b&&_0x4ae68b[_0x56a56b([0x61,0x6c,0x67])]==_0x56a56b([0x45,0x53,0x32,0x35,0x36])||(_0xd88721=!0x1);}async function _0x51efc1(_0x177f11,_0x2f7db4,_0x24efe5){const _0x2e3c45=window[_0x56a56b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56a56b([0x66,0x72,0x6f,0x6d])](_0x802d1f(_0x24efe5),_0x3fed31=>_0x3fed31[_0x56a56b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dbd08=new window[(_0x56a56b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56a56b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x177f11+_0x56a56b([0x2e])+_0x2f7db4),_0x4bc83f=window[_0x56a56b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56a56b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4bc83f)return;const _0x4f3521=await _0x4bc83f[_0x56a56b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56a56b([0x6a,0x77,0x6b]),_0x3ecbaf,{[_0x56a56b([0x6e,0x61,0x6d,0x65])]:_0x56a56b([0x45,0x43,0x44,0x53,0x41]),[_0x56a56b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56a56b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56a56b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4bc83f[_0x56a56b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56a56b([0x6e,0x61,0x6d,0x65])]:_0x56a56b([0x45,0x43,0x44,0x53,0x41]),[_0x56a56b([0x68,0x61,0x73,0x68])]:{[_0x56a56b([0x6e,0x61,0x6d,0x65])]:_0x56a56b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f3521,_0x2e3c45,_0x2dbd08)||(_0xd88721=!0x1);}}function _0x5d3c90(_0x302c09){return _0x302c09[_0x56a56b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56a56b([0x65,0x79]))?JSON[_0x56a56b([0x70,0x61,0x72,0x73,0x65])](_0x802d1f(_0x302c09)):null;}function _0x802d1f(_0x5a97e3){return window[_0x56a56b([0x61,0x74,0x6f,0x62])](_0x5a97e3[_0x56a56b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56a56b([0x2b]))[_0x56a56b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56a56b([0x2f])));}function _0x2b6265(_0x58bf84){let _0x654672=0x1505;function _0x3057a8(_0x190050){for(let _0x17afe0=0x0;_0x17afe0<_0x190050[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17afe0++){const _0x2da624=_0x190050[_0x56a56b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17afe0);_0x654672=(_0x654672<<0x5)+_0x654672+_0x2da624,_0x654672&=_0x654672;}}function _0xbc6d02(_0x3a357e){Array[_0x56a56b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a357e)?_0x3a357e[_0x56a56b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbc6d02):_0x3a357e&&typeof _0x3a357e==_0x56a56b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56a56b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a357e)[_0x56a56b([0x73,0x6f,0x72,0x74])]()[_0x56a56b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x522200,_0x5591c0])=>{_0x3057a8(_0x522200),_0xbc6d02(_0x5591c0);}):_0x3057a8(window[_0x56a56b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a357e));}return _0xbc6d02(_0x58bf84),_0x654672>>>0x0;}function _0x3d784b(_0x422d49){return _0x422d49[_0x56a56b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56a56b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56a56b([0x30]));}function _0x16705a(_0x33124d){return _0x33124d[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56a56b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56a56b([0x6a,0x6f,0x69,0x6e])]('');}function _0x32773c(){}function _0x56a56b(_0x2604b7){return _0x2604b7['map'](_0xafc69b=>String['fromCharCode'](_0xafc69b))['join']('');}_0x520c86(await _0x31673b());}(this);}['_initSchema'](){const _0x48085e=this['editor']['model']['schema'];_0x48085e['isRegistered']('imageBlock')&&_0x48085e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x48085e['isRegistered']('imageInline')&&_0x48085e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x10fcff=this['editor'];_0x10fcff['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x10fcff['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x32cc17=>_0x32cc17['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x295db5=_0x10fcff['commands']['get']('replaceImageSource');_0x295db5&&this['listenTo'](_0x295db5,'cleanupImage',(_0x271d17,[_0x10935a,_0x1da8a5])=>{_0x10935a['removeAttribute']('uploadcareImageId',_0x1da8a5);});}['_initConfig'](){const _0x3bf166=this['editor']['config']['get']('uploadcare.uploader')||{},_0x319c3e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3fc7fa(_0x524ab6['document'],'uc-config',{..._0x3bf166,'pubkey':_0x319c3e,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x591b81=>{if('closeMax'==_0x591b81)return'#uc-icon-arrow-down';},_0x524ab6['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3fc7fa(_0x524ab6['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x524ab6['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3999b6=this['editor']['commands']['get']('insertImage');_0x3999b6&&this['listenTo'](_0x3999b6,'execute',()=>{const _0x163447=this['editor']['model']['document']['selection']['getSelectedElement']();_0x163447&&_0x163447['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x163447);});});const _0x7de69b=this['editor']['commands']['get']('uploadcareImageReplace');_0x7de69b&&this['listenTo'](_0x7de69b,'execute',()=>{const _0x25a474=this['editor']['model']['document']['selection']['getSelectedElement']();_0x25a474&&_0x25a474['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x25a474);});});}}class tt extends _0x55a113{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe31f53){super(_0xe31f53),_0xe31f53['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2a4f67['defineComponents'](_0x2a4f67);}}class ii extends _0x3e4927{constructor(_0x423bfe){super(_0x423bfe);const t=_0x423bfe['t'],_0x2ff613=this['bindTemplate'],_0x146300=new _0x585c4d();_0x146300['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x146300,{'text':_0x2ff613['to']('imageUploadProgress',_0x213ba9=>t('Loading\x20image...')+'\x20('+(_0x213ba9||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x3e4927{constructor(_0x804df3){super(_0x804df3);const t=_0x804df3['t'];this['set']('errorType',null);const _0x5c9c92=new _0x5ea8d3(_0x804df3);_0x5c9c92['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c9c92['withText']=!0x0,_0x5c9c92['class']='ck-button-action',_0x5c9c92['on']('execute',()=>{this['fire']('retry');}),_0x5c9c92['bind']('isVisible')['to'](this,'errorType',_0x3520c4=>'NotFound'!==_0x3520c4);const _0x5f28a2=new _0x5382c5();_0x5f28a2['content']=_0x215ab4,_0x5f28a2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x50c48a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x5f28a2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x50c48a['to']('errorType',_0xf16360=>t('NotFound'!==_0xf16360?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c9c92]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x3e4927{constructor(_0x2548b6,_0x2be96e){super(_0x2548b6);const _0x6b5d72=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2be96e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x6b5d72['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xdc2286,_0x4a500e,_0x30903e){super(_0xdc2286),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xdc2286),this['_errorView']=new ti(_0xdc2286),this['_editingView']=new ei(_0xdc2286,_0x30903e),this['_focusableView']=new _0x3e4927(_0xdc2286),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4a500e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x21c2bd=>{this['_addUploadcareImageEditorListeners'](_0x21c2bd);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x628557,_0x32054e){const _0x118706='uc-cloud-image-editor',_0x56abea=_0x628557['querySelector'](_0x118706);if(_0x56abea)return _0x32054e(_0x56abea);const _0x355b6b=new MutationObserver(_0x12e9f5=>{const _0x340abe=_0x12e9f5['filter'](_0xd6cd05=>_0xd6cd05['target']===_0x628557&&_0xd6cd05['addedNodes']['length']>0x0&&_0xd6cd05['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x118706);_0x340abe['length']&&(_0x355b6b['disconnect'](),_0x32054e(_0x340abe[0x0]['addedNodes'][0x0]));});_0x355b6b['observe'](_0x628557,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x36d389){_0x36d389['addEventListener']('apply',_0x581c6a=>{this['fire']('apply',{'imageSrc':_0x581c6a['detail']['cdnUrl']});}),_0x36d389['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x236f34(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x9267ef,_0x24a6de,_0x505c85){super(),this['_editor']=_0x9267ef,this['_dialog']=_0x24a6de,this['_imageElement']=_0x505c85,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x53a272=this['_imageElement'],_0x342f18=_0x53a272['getAttribute']('uploadcareImageId'),_0x502ec1=_0x53a272['getAttribute']('src');if(_0x342f18)await this['_loadImageInfo'](_0x342f18,_0x502ec1);else{if(this['_imageCache']['has'](_0x502ec1)){const _0x3af973=this['_imageCache']['get'](_0x502ec1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3af973['url'],this['imageDimension']=_0x3af973['dimension'],this['imageId']=_0x3af973['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x37b686}=this['_editor'],t=_0x37b686['t'],_0x138d51=new X(_0x37b686,this['imageStatus'],this['_attributes']);_0x138d51['bind']('status')['to'](this,'imageStatus'),_0x138d51['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x138d51['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x138d51['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x138d51,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3b9c15,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x138d51,'position':_0x13c8d0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x138d51['focus']();},'onHide':()=>{_0x138d51['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2ab12e=>!S(_0x2ab12e,_0x138d51['element'])}});}['_loadImageInfo'](_0x2acd91,_0x1bc5a1){return j['getInfo'](_0x2acd91,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x29d0e6=>{const {width:_0x4296f6,height:_0x1a39cf}=_0x29d0e6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1bc5a1,this['imageDimension']={'width':_0x4296f6,'height':_0x1a39cf},this['imageId']=_0x2acd91;})['catch'](_0x445112=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x445112['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1d30fb,_0x43d6f){return this['_getImageAsFile'](_0x1d30fb)['then'](_0x5a1654=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x43d6f['signal'],'file':_0x5a1654,'onProgress':_0x11794d=>{_0x11794d&&_0x11794d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x11794d['value']));}}))['then'](_0x100405=>{const {width:_0xf1e39d,height:_0x47aae1}=_0x100405['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x100405['cdnUrl'],this['imageDimension']={'width':_0xf1e39d,'height':_0x47aae1},this['imageId']=_0x100405['uuid'],this['imageUploadProgress']=null;const _0x4b1ec1=_0x1d30fb['getAttribute']('src');this['_imageCache']['set'](_0x4b1ec1,{'id':_0x100405['uuid'],'url':_0x100405['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x192909=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x192909['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x9d578c,_0x8a2500){_0x9d578c['on']('apply',(_0x352abf,_0x144dd8)=>{this['_replaceImage'](_0x8a2500,_0x144dd8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x9d578c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x9d578c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4f1a4f,_0x5a2684,_0x2560be){const _0x44b14b=this['_editor'],{width:_0x2ec06b,height:_0x1b5830}=C(_0x5a2684,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x522f06,imageSources:_0x40e3ca}=k(_0x5a2684,_0x2ec06b);_0x44b14b['model']['change'](_0xe6034b=>{if('$graveyard'===_0x4f1a4f['root']['rootName']){_0x44b14b['execute']('insertImage',{'imageType':_0x4f1a4f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4f1a4f['getAttributes']()),'uploadcareImageId':_0x2560be,'src':_0x522f06,'sources':_0x40e3ca,'width':_0x2ec06b,'height':_0x1b5830}});const _0x208bc9=_0x4f1a4f['getChildren']();_0x4f1a4f=_0x44b14b['model']['document']['selection']['getSelectedElement']();for(const _0x103bb5 of _0x208bc9)_0xe6034b['append'](_0xe6034b['cloneElement'](_0x103bb5),_0x4f1a4f);}else _0xe6034b['setSelection'](_0x4f1a4f,'on'),_0x44b14b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4f1a4f['getAttributes']()),'uploadcareImageId':_0x2560be,'src':_0x522f06,'sources':_0x40e3ca,'width':_0x2ec06b,'height':_0x1b5830},_0x4f1a4f);_0xe6034b['setSelection'](_0x4f1a4f,'on');});}async['_getImageAsFile'](_0x1a8a3d){const _0x2ce50a=_0x524ab6['window'],_0x5514a5=_0x524ab6['document']['location']['href'],_0x57583a=new _0x2ce50a['URL'](_0x1a8a3d['getAttribute']('src'),_0x5514a5);if('data:'===_0x57583a['protocol']){const _0x95edae=_0x57583a['href']['split'](','),_0x1e07a8=_0x95edae[0x0]['match'](/:(.*?);/)[0x1],_0x9742cd=_0x1e07a8['split']('/')[0x1],_0x512385=_0x2ce50a['atob'](_0x95edae[_0x95edae['length']-0x1]);let _0x5794b5=_0x512385['length'];const _0x6ded7b=new _0x2ce50a['Uint8Array'](_0x5794b5);for(;_0x5794b5--;)_0x6ded7b[_0x5794b5]=_0x512385['charCodeAt'](_0x5794b5);return new _0x2ce50a['File']([_0x6ded7b],'image.'+_0x9742cd,{'type':_0x1e07a8});}const _0x1579d0=_0x57583a['href']['split']('/'),_0x1e9eaa=_0x1579d0[_0x1579d0['length']-0x1],_0x5d476d=_0x1e9eaa['split']('.')[0x1];return _0x2ce50a['fetch'](_0x57583a['href'])['then'](_0x41103f=>_0x41103f['clone']()['blob']())['then'](_0x59faeb=>new _0x2ce50a['File']([_0x59faeb],_0x1e9eaa,{'type':'image/'+_0x5d476d}));}}class O extends _0x3f6046{['imageEditController'];static get['requires'](){return[_0x3fbc44];}['_isEditable'];constructor(_0x6f73b){super(_0x6f73b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5af3bf){const _0x1098fb=G(_0x5af3bf);return _0x270833=>!(!_0x270833||!_0x270833['is']('element','imageBlock')&&!_0x270833['is']('element','imageInline'))&&(!!_0x270833['hasAttribute']('uploadcareImageId')||!!_0x270833['hasAttribute']('src')&&_0x1098fb(_0x270833['getAttribute']('src')));}(_0x6f73b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5626c7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5626c7);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x54aa20=this['editor']['model']['document']['selection']['getSelectedElement']();_0x54aa20&&(_0x54aa20['is']('element','imageBlock')||_0x54aa20['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x3fbc44),_0x54aa20),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x3f6046{['refresh'](){const _0x260d11=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x260d11&&(_0x260d11['is']('element','imageBlock')||_0x260d11['is']('element','imageInline')));}['execute'](_0x252cf1){const _0xf2075=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3f5a06=>{_0x3f5a06['setAttributes'](_0x252cf1,_0xf2075),_0x3f5a06['removeAttribute']('srcset',_0xf2075),_0x3f5a06['removeAttribute']('sizes',_0xf2075);});}}class m extends _0x55a113{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x196691,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3cb656}=this;_0x3cb656['commands']['add']('uploadcareImageEdit',new O(_0x3cb656)),_0x3cb656['commands']['add']('uploadcareImageReplace',new R(_0x3cb656));}}class g extends _0x55a113{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x688eeb=this['editor'];_0x688eeb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x156cb8=>{const _0x40551e=_0x688eeb['commands']['get']('uploadcareImageEdit'),_0x51e97f=new _0x5ea8d3(_0x156cb8),t=_0x156cb8['t'];return _0x51e97f['set']({'icon':_0x3b9c15,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x51e97f['bind']('isEnabled')['to'](_0x40551e),_0x51e97f['bind']('isOn')['to'](_0x40551e,'isActive'),this['listenTo'](_0x51e97f,'execute',()=>{_0x688eeb['execute']('uploadcareImageEdit'),_0x688eeb['editing']['view']['focus']();}),_0x51e97f;}),this['_initConfig']();}['_initConfig'](){const _0x52cd88=_0x3fc7fa(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x52cd88),this['listenTo'](this['editor'],'destroy',()=>{_0x52cd88['remove']();});}}class et extends _0x55a113{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -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':_0x228f7a=>0x1!=_0x228f7a}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5a4f74=>0x1!=_0x5a4f74}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57f431=>{const {af:{dictionary:_0x1bde4f,getPluralForm:_0x3c47f7}}={'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':_0xc62b6f=>0x1!=_0xc62b6f}};_0x57f431['af']||={'dictionary':{},'getPluralForm':null},_0x57f431['af']['dictionary']=Object['assign'](_0x57f431['af']['dictionary'],_0x1bde4f),_0x57f431['af']['getPluralForm']=_0x3c47f7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52e3f8=>{const {af:{dictionary:_0x5cbd1c,getPluralForm:_0x4def4e}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1911f2=>0x1!=_0x1911f2}};_0x52e3f8['af']||={'dictionary':{},'getPluralForm':null},_0x52e3f8['af']['dictionary']=Object['assign'](_0x52e3f8['af']['dictionary'],_0x5cbd1c),_0x52e3f8['af']['getPluralForm']=_0x4def4e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x326ed2=>0x0==_0x326ed2?0x0:0x1==_0x326ed2?0x1:0x2==_0x326ed2?0x2:_0x326ed2%0x64>=0x3&&_0x326ed2%0x64<=0xa?0x3:_0x326ed2%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':_0x583404=>0x0==_0x583404?0x0:0x1==_0x583404?0x1:0x2==_0x583404?0x2:_0x583404%0x64>=0x3&&_0x583404%0x64<=0xa?0x3:_0x583404%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5314b9=>{const {ar:{dictionary:_0x3fa068,getPluralForm:_0x2d5903}}={'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':_0x4f3cd9=>0x0==_0x4f3cd9?0x0:0x1==_0x4f3cd9?0x1:0x2==_0x4f3cd9?0x2:_0x4f3cd9%0x64>=0x3&&_0x4f3cd9%0x64<=0xa?0x3:_0x4f3cd9%0x64>=0xb?0x4:0x5}};_0x5314b9['ar']||={'dictionary':{},'getPluralForm':null},_0x5314b9['ar']['dictionary']=Object['assign'](_0x5314b9['ar']['dictionary'],_0x3fa068),_0x5314b9['ar']['getPluralForm']=_0x2d5903;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xd90675=>{const {ar:{dictionary:_0x5cb15c,getPluralForm:_0x27c232}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0xda29f5=>0x0==_0xda29f5?0x0:0x1==_0xda29f5?0x1:0x2==_0xda29f5?0x2:_0xda29f5%0x64>=0x3&&_0xda29f5%0x64<=0xa?0x3:_0xda29f5%0x64>=0xb?0x4:0x5}};_0xd90675['ar']||={'dictionary':{},'getPluralForm':null},_0xd90675['ar']['dictionary']=Object['assign'](_0xd90675['ar']['dictionary'],_0x5cb15c),_0xd90675['ar']['getPluralForm']=_0x27c232;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x28b8cb=>0x1!=_0x28b8cb}};
23
+ export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4b63cf=>0x1!=_0x4b63cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x47a003=>{const {ast:{dictionary:_0x4f809c,getPluralForm:_0x5b3533}}={'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':_0x5b61aa=>0x1!=_0x5b61aa}};_0x47a003['ast']||={'dictionary':{},'getPluralForm':null},_0x47a003['ast']['dictionary']=Object['assign'](_0x47a003['ast']['dictionary'],_0x4f809c),_0x47a003['ast']['getPluralForm']=_0x5b3533;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2afe29=>{const {ast:{dictionary:_0x4eaa17,getPluralForm:_0x25130b}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x494649=>0x1!=_0x494649}};_0x2afe29['ast']||={'dictionary':{},'getPluralForm':null},_0x2afe29['ast']['dictionary']=Object['assign'](_0x2afe29['ast']['dictionary'],_0x4eaa17),_0x2afe29['ast']['getPluralForm']=_0x25130b;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x3e698=>0x1!=_0x3e698}};
23
+ export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x435261=>0x1!=_0x435261}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x305185=>{const {az:{dictionary:_0x47a24e,getPluralForm:_0x4c5d68}}={'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':_0xabcf6a=>0x1!=_0xabcf6a}};_0x305185['az']||={'dictionary':{},'getPluralForm':null},_0x305185['az']['dictionary']=Object['assign'](_0x305185['az']['dictionary'],_0x47a24e),_0x305185['az']['getPluralForm']=_0x4c5d68;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3ead9c=>{const {az:{dictionary:_0x1dfa8e,getPluralForm:_0x12e1a2}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x20047e=>0x1!=_0x20047e}};_0x3ead9c['az']||={'dictionary':{},'getPluralForm':null},_0x3ead9c['az']['dictionary']=Object['assign'](_0x3ead9c['az']['dictionary'],_0x1dfa8e),_0x3ead9c['az']['getPluralForm']=_0x12e1a2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x4ab058=>_0x4ab058%0xa==0x1&&_0x4ab058%0x64!=0xb?0x0:_0x4ab058%0xa>=0x2&&_0x4ab058%0xa<=0x4&&(_0x4ab058%0x64<0xa||_0x4ab058%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':_0x46acfd=>_0x46acfd%0xa==0x1&&_0x46acfd%0x64!=0xb?0x0:_0x46acfd%0xa>=0x2&&_0x46acfd%0xa<=0x4&&(_0x46acfd%0x64<0xa||_0x46acfd%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x236f6b=>{const {be:{dictionary:_0x33b3cb,getPluralForm:_0x56491b}}={'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':_0x439deb=>_0x439deb%0xa==0x1&&_0x439deb%0x64!=0xb?0x0:_0x439deb%0xa>=0x2&&_0x439deb%0xa<=0x4&&(_0x439deb%0x64<0xa||_0x439deb%0x64>=0x14)?0x1:0x2}};_0x236f6b['be']||={'dictionary':{},'getPluralForm':null},_0x236f6b['be']['dictionary']=Object['assign'](_0x236f6b['be']['dictionary'],_0x33b3cb),_0x236f6b['be']['getPluralForm']=_0x56491b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x17fa90=>{const {be:{dictionary:_0x1c48c7,getPluralForm:_0x15deca}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x55b3dc=>_0x55b3dc%0xa==0x1&&_0x55b3dc%0x64!=0xb?0x0:_0x55b3dc%0xa>=0x2&&_0x55b3dc%0xa<=0x4&&(_0x55b3dc%0x64<0xa||_0x55b3dc%0x64>=0x14)?0x1:0x2}};_0x17fa90['be']||={'dictionary':{},'getPluralForm':null},_0x17fa90['be']['dictionary']=Object['assign'](_0x17fa90['be']['dictionary'],_0x1c48c7),_0x17fa90['be']['getPluralForm']=_0x15deca;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x370075=>0x1!=_0x370075}};
23
+ export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0xcd128c=>0x1!=_0xcd128c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1cdb6c=>{const {bg:{dictionary:_0x2c3dd9,getPluralForm:_0x2df4aa}}={'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':_0x506983=>0x1!=_0x506983}};_0x1cdb6c['bg']||={'dictionary':{},'getPluralForm':null},_0x1cdb6c['bg']['dictionary']=Object['assign'](_0x1cdb6c['bg']['dictionary'],_0x2c3dd9),_0x1cdb6c['bg']['getPluralForm']=_0x2df4aa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x156fa0=>{const {bg:{dictionary:_0x19d65c,getPluralForm:_0x30dd3b}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x22b722=>0x1!=_0x22b722}};_0x156fa0['bg']||={'dictionary':{},'getPluralForm':null},_0x156fa0['bg']['dictionary']=Object['assign'](_0x156fa0['bg']['dictionary'],_0x19d65c),_0x156fa0['bg']['getPluralForm']=_0x30dd3b;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x4c58ac=>0x1!=_0x4c58ac}};
23
+ export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x15ed76=>0x1!=_0x15ed76}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x19403d=>{const {bn:{dictionary:_0x36b27e,getPluralForm:_0xcec903}}={'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':_0x191267=>0x1!=_0x191267}};_0x19403d['bn']||={'dictionary':{},'getPluralForm':null},_0x19403d['bn']['dictionary']=Object['assign'](_0x19403d['bn']['dictionary'],_0x36b27e),_0x19403d['bn']['getPluralForm']=_0xcec903;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x226f9c=>{const {bn:{dictionary:_0x3c3e47,getPluralForm:_0x5686d1}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x43963b=>0x1!=_0x43963b}};_0x226f9c['bn']||={'dictionary':{},'getPluralForm':null},_0x226f9c['bn']['dictionary']=Object['assign'](_0x226f9c['bn']['dictionary'],_0x3c3e47),_0x226f9c['bn']['getPluralForm']=_0x5686d1;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x1ea66f=>_0x1ea66f%0xa==0x1&&_0x1ea66f%0x64!=0xb?0x0:_0x1ea66f%0xa>=0x2&&_0x1ea66f%0xa<=0x4&&(_0x1ea66f%0x64<0xa||_0x1ea66f%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':_0x260f7b=>_0x260f7b%0xa==0x1&&_0x260f7b%0x64!=0xb?0x0:_0x260f7b%0xa>=0x2&&_0x260f7b%0xa<=0x4&&(_0x260f7b%0x64<0xa||_0x260f7b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b3a76=>{const {bs:{dictionary:_0xfbb886,getPluralForm:_0xaaa1f0}}={'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':_0x4c6c36=>_0x4c6c36%0xa==0x1&&_0x4c6c36%0x64!=0xb?0x0:_0x4c6c36%0xa>=0x2&&_0x4c6c36%0xa<=0x4&&(_0x4c6c36%0x64<0xa||_0x4c6c36%0x64>=0x14)?0x1:0x2}};_0x4b3a76['bs']||={'dictionary':{},'getPluralForm':null},_0x4b3a76['bs']['dictionary']=Object['assign'](_0x4b3a76['bs']['dictionary'],_0xfbb886),_0x4b3a76['bs']['getPluralForm']=_0xaaa1f0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xd2a2d8=>{const {bs:{dictionary:_0x17a1ff,getPluralForm:_0x5cdd85}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3c9ab0=>_0x3c9ab0%0xa==0x1&&_0x3c9ab0%0x64!=0xb?0x0:_0x3c9ab0%0xa>=0x2&&_0x3c9ab0%0xa<=0x4&&(_0x3c9ab0%0x64<0xa||_0x3c9ab0%0x64>=0x14)?0x1:0x2}};_0xd2a2d8['bs']||={'dictionary':{},'getPluralForm':null},_0xd2a2d8['bs']['dictionary']=Object['assign'](_0xd2a2d8['bs']['dictionary'],_0x17a1ff),_0xd2a2d8['bs']['getPluralForm']=_0x5cdd85;})(window['CKEDITOR_TRANSLATIONS']||={});