@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.5 → 45.0.0-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 _0x4b357d,Command as _0x185f9a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x14a5ce,IconGooglePhotos as _0x2a6117,IconGoogleDrive as _0x2628b7,IconFacebook as _0x49f8fe,IconDropbox as _0x40248c,IconUploadcareLink as _0x5560c7,IconUploadcareImageUpload as _0x48d626,IconError as et,IconUploadcareImageEdit as _0x3f62da}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x299953,MenuBarMenuListItemButtonView as _0x4169da,View as _0x4ae490,FocusCycler as _0x4c8168,Dialog as _0x51f72c,DialogViewPosition as _0x339f06,SpinnerView as _0x4d5856,IconView as at,Notification as _0x1edbd6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x26b42e,DomEmitterMixin as _0x101085,global as _0x303f35,getAncestors as _0x357ddd,ObservableMixin as _0x93c7ce,createElement as _0x1cf392,uid as _0x1026b4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2119b2}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3efdea,info as _0x1cd70d}from'@uploadcare/upload-client';import*as _0x5a45dc from'@uploadcare/file-uploader';var o=function(_0x22df56){return _0x22df56['Local']='local',_0x22df56['URL']='url',_0x22df56['Dropbox']='dropbox',_0x22df56['GDrive']='gdrive',_0x22df56['Facebook']='facebook',_0x22df56['GPhotos']='gphotos',_0x22df56['OneDrive']='onedrive',_0x22df56;}({});function _(_0x666774,_0x25d6f8,_0x4e93ea){const t=_0x666774['t'],_0x392ce9=_0x666774['t'];switch(_0x25d6f8){case o['Local']:return{'text':_0x392ce9('Insert'===_0x4e93ea?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x392ce9('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x4e93ea?_0x392ce9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x392ce9('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x4e93ea?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x4e93ea?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x4e93ea?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x4e93ea?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x4e93ea?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x25d6f8;}}class e extends _0x4b357d{['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 _0x1bd32f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4885c0;for(const _0x2a79d5 in _0x1bd32f){const _0x309314=_0x2a79d5,_0x23f26b=_0x1bd32f[_0x309314];if('uploadcareLicenseKeyValid'==_0x23f26b||'uploadcareLicenseKeyInvalid'==_0x23f26b||'uploadcareLicenseKeyExpired'==_0x23f26b||'uploadcareLicenseKeyDomainLimit'==_0x23f26b||'uploadcareLicenseKeyNotAllowed'==_0x23f26b||'uploadcareLicenseKeyEvaluationLimit'==_0x23f26b||'uploadcareLicenseKeyTrialLimit'==_0x23f26b||'uploadcareLicenseKeyUsageLimit'==_0x23f26b){delete _0x1bd32f[_0x309314],_0x4885c0=_0x23f26b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4885c0&&_0x1bd32f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4885c0&&_0x1bd32f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4885c0&&_0x1bd32f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4885c0&&_0x1bd32f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4885c0&&_0x1bd32f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4885c0&&_0x1bd32f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4885c0&&_0x1bd32f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2b43d9}=this,_0x1e4d06=_0x2b43d9['commands']['get']('uploadcare');if(!_0x1e4d06)return;const _0x1a33e9=this['_normalizeConfigSourceList'](_0x2b43d9['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x21c29c,_0x2a3383)=>{const _0x253e80=this['_getIntegrationKey'](_0x2a3383['type']);return _0x21c29c[_0x253e80]||(_0x21c29c[_0x253e80]=[]),_0x21c29c[_0x253e80]['push'](_0x2a3383),_0x21c29c;},{});_0x2b43d9['plugins']['has']('ImageInsertUI')&&_0x2b43d9['commands']['get']('uploadcare')&&Object['entries'](_0x1a33e9)['forEach'](([_0x3cd7fb,_0x150a11])=>{_0x2b43d9['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3cd7fb,'observable':()=>_0x1e4d06,'buttonViewCreator':()=>this['_createToolbarButton'](_0x150a11),'formViewCreator':()=>this['_createDropdownButtons'](_0x150a11),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x150a11),'override':'assetManager'!==_0x3cd7fb});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x36235d){const {locale:_0x35b5e3}=this['editor'];return _0x36235d['map'](_0x2a5516=>{const _0x54e0ec=_(_0x35b5e3,_0x2a5516,'Insert');switch(_0x2a5516){case o['Local']:return{'icon':_0x48d626,'type':o['Local'],..._0x54e0ec};case o['URL']:return{'icon':_0x5560c7,'type':o['URL'],..._0x54e0ec};case o['Dropbox']:return{'icon':_0x40248c,'type':o['Dropbox'],..._0x54e0ec};case o['Facebook']:return{'icon':_0x49f8fe,'type':o['Facebook'],..._0x54e0ec};case o['GDrive']:return{'icon':_0x2628b7,'type':o['GDrive'],..._0x54e0ec};case o['GPhotos']:return{'icon':_0x2a6117,'type':o['GPhotos'],..._0x54e0ec};case o['OneDrive']:return{'icon':_0x14a5ce,'type':o['OneDrive'],..._0x54e0ec};}});}['_getIntegrationKey'](_0x1b7842){switch(_0x1b7842){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x12d116,_0x144544){const _0x1387ec=this['editor'],_0x2c4616=new _0x12d116(_0x1387ec['locale']),_0x5ca24c=_0x1387ec['commands']['get']('uploadcare');return _0x2c4616['bind']('isEnabled')['to'](_0x5ca24c),_0x2c4616['on']('execute',()=>{_0x5ca24c['execute'](_0x144544);}),_0x2c4616;}['_createToolbarButton'](_0x5371b8){const {locale:_0x37c0b6}=this['editor'],_0x33e00e=this['editor']['plugins']['get']('ImageInsertUI'),_0x70cd90=_0x5371b8[0x0],_0x4b9de0=this['_createButton'](_0x299953,_0x70cd90['type']);return _0x4b9de0['icon']=_0x70cd90['icon'],_0x4b9de0['bind']('label')['to'](_0x33e00e,'isImageSelected',_0x5bc4d1=>_(_0x37c0b6,_0x70cd90['type'],_0x5bc4d1?'Replace':'Insert')['text']),_0x4b9de0['tooltip']=!0x0,_0x4b9de0;}['_createDropdownButtons'](_0x520d08){const {locale:_0x484c6d}=this['editor'],_0x4f8608=this['editor']['plugins']['get']('ImageInsertUI');return _0x520d08['map'](_0xb14d7c=>{const _0x7ce01=this['_createButton'](_0x299953,_0xb14d7c['type']);return _0x7ce01['withText']=!0x0,_0x7ce01['icon']=_0xb14d7c['icon'],_0x7ce01['bind']('label')['to'](_0x4f8608,'isImageSelected',_0x3d92fc=>_(_0x484c6d,_0xb14d7c['type'],_0x3d92fc?'Replace':'Insert')['text']),_0x7ce01;});}['_createMenuBarButtons'](_0x131810){return _0x131810['map'](_0x1ca312=>{const _0x4f5247=this['_createButton'](_0x4169da,_0x1ca312['type']);return _0x4f5247['icon']=_0x1ca312['icon'],_0x4f5247['label']=_0x1ca312['shortText'],_0x4f5247;});}}class q extends _0x4ae490{['focusTracker'];['focusCycler'];constructor(_0x51025b){super(_0x51025b),this['focusTracker']=new _0x26b42e(),this['focusCycler']=new _0x4c8168({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x51eb9e){super(_0x51eb9e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x2634e2,_0x1fb8d7){const _0x5b425b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3d6c73=>_0x3d6c73<=_0x1fb8d7)['map'](_0x42408e=>_0x2634e2['replace'](/\/$/,'')+'/-/resize/'+_0x42408e+'x/\x20'+_0x42408e+'w');return{'imageFallbackUrl':_0x2634e2,'imageSources':[{'srcset':_0x5b425b['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1fb8d7+'px)\x20100vw,\x20'+_0x1fb8d7+'px','type':'image/webp'}]};}function A(_0x1451a5,_0x56e57d,_0x3d3ce5){const _0x3caa57=_0x1451a5['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3caa57?parseInt(_0x3caa57[0x1],0xa):_0x56e57d,'height':_0x3caa57?parseInt(_0x3caa57[0x2],0xa):_0x3d3ce5};}function m(_0x87ba4,_0x40b95c){const _0x5ce13a=Object['create'](_0x101085),_0x2b23bf=_0x87ba4['plugins']['get']('ImageUtils'),_0x369a46=_0x87ba4['editing']['mapper']['toViewElement'](_0x40b95c),_0x3087e5=_0x2b23bf['findViewImgElement'](_0x369a46),_0x1d48da=_0x87ba4['editing']['view']['domConverter']['viewToDom'](_0x3087e5),_0x9dfa27=_0x40b95c['getAttribute']('width'),_0x3fd31f=_0x40b95c['getAttribute']('height'),_0x54a72f='image-processing';_0x87ba4['editing']['view']['change'](_0x982063=>{_0x982063['addClass'](_0x54a72f,_0x369a46),_0x982063['setStyle']('aspect-ratio',_0x9dfa27+'/'+_0x3fd31f,_0x3087e5);}),_0x5ce13a['listenTo'](_0x1d48da,'load',()=>{_0x5ce13a['stopListening'](_0x1d48da,'load'),_0x87ba4['editing']['view']['change'](_0x2ff033=>{_0x2ff033['removeClass'](_0x54a72f,_0x369a46),_0x2ff033['removeStyle']('aspect-ratio',_0x3087e5);});});}function R(_0x6fdc68){if(Array['isArray'](_0x6fdc68)){const _0x284268=_0x6fdc68['map'](R);return _0x63406f=>_0x284268['some'](_0xc9575c=>_0xc9575c(_0x63406f));}if('origin'==_0x6fdc68){const _0x590507=_0x303f35['window']['location']['origin'];return _0x2e8786=>new URL(_0x2e8786,_0x303f35['document']['baseURI'])['origin']==_0x590507;}return'function'==typeof _0x6fdc68?_0x6fdc68:_0x6fdc68 instanceof RegExp?_0x1610cf=>!(!_0x1610cf['match'](_0x6fdc68)&&!_0x1610cf['replace'](/^https?:\/\//,'')['match'](_0x6fdc68)):()=>!0x1;}function F(_0xd516a1,_0xb657ef){return _0x357ddd(_0xd516a1['target'])['includes'](_0xb657ef);}class l extends/* #__PURE__ -- @preserve */
24
- _0x93c7ce(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5bb334,_0xeb27b,_0x1dbdd){super(),this['_editor']=_0x5bb334,this['_editing']=_0xeb27b,this['_dialog']=_0x5bb334['plugins']['get'](_0x51f72c),this['_api']=_0xeb27b['ctxElement']['getAPI'](),this['_type']=_0x1dbdd,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:_0x3c9bd4,model:_0x4f0bad}=this['_editor'],_0x1c07a3=_0x4f0bad['document']['selection']['getSelectedElement'](),_0x12248d=_0x1c07a3&&(_0x1c07a3['is']('element','imageBlock')||_0x1c07a3['is']('element','imageInline'));this['_formView']=new S(_0x3c9bd4),this['_dialog']['show']({'id':'uploadCare','icon':_0x48d626,'title':_(_0x3c9bd4,this['_type'],_0x12248d?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x339f06['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ae6e5=>!F(_0x4ae6e5,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xb9455b}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x26846b=>{const _0x3d5b04=_0xb9455b['length'];for(const _0x2dd45c of _0xb9455b){const _0x155621=_0x2dd45c===_0xb9455b[_0x3d5b04-0x1],{cdnUrl:_0x24c9ea,fileInfo:_0x3de93c}=_0x2dd45c;if(!_0x24c9ea||!_0x3de93c)continue;const {width:_0x27cfff,height:_0x536724}=_0x3de93c['imageInfo'],_0x512195=A(_0x24c9ea,_0x27cfff,_0x536724),_0x2efb24=E(_0x24c9ea,_0x512195['width']),_0x56f0c5={'id':_0x3de93c['uuid'],'type':'image','attributes':{'imageDimension':_0x512195,..._0x2efb24}};this['_insertAsset'](_0x56f0c5,_0x155621,_0x26846b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x6d35ff=>{'idle'===_0x6d35ff['detail']['status']&&!_0x6d35ff['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x21cc7d,_0x3ea8c4,_0x3e0ae7){const _0x1cfcd7=this['_editor']['model']['document']['selection'],_0x3021f9=_0x1cfcd7['getSelectedElement'](),_0x3dfe8c=!(!_0x3021f9||!_0x3021f9['is']('element','imageInline'));_0x3e0ae7['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x21cc7d,_0x3dfe8c),_0x3ea8c4||_0x3e0ae7['setSelection'](_0x1cfcd7['getLastPosition']());}['_insertImage'](_0x4c8685,_0x2168c6){const _0xa564e0=this['_editor'],{imageDimension:_0x28f49d,imageFallbackUrl:_0x3b10d8,imageSources:_0x48cacf}=_0x4c8685['attributes'];_0xa564e0['execute']('insertImage',{'imageType':_0x2168c6?'imageInline':null,'source':{'uploadcareImageId':_0x4c8685['id'],'src':_0x3b10d8,'sources':_0x48cacf,..._0x28f49d}});}}class n extends _0x185f9a{['_editing'];['_controller']=null;static get['requires'](){return[_0x51f72c,i];}constructor(_0x299a7f){super(_0x299a7f),this['_editing']=_0x299a7f['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5afaac){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x5afaac);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x4b1e0e,publicKey:_0x5629a8,signal:_0x4b555a,onProgress:_0x379620}){return _0x3efdea(_0x4b1e0e,{'publicKey':_0x5629a8,'store':'auto','signal':_0x4b555a,'onProgress':_0x379620});}static['getInfo'](_0x4b64ca,_0x361402){return _0x1cd70d(_0x4b64ca,_0x361402);}}class p extends _0x4b357d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2119b2,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x16a7a0=this['editor'];if(!!!_0x16a7a0['config']['get']('uploadcare'))return;_0x16a7a0['plugins']['get'](_0x2119b2)['createUploadAdapter']=_0x36694d=>new x(_0x36694d,_0x16a7a0),_0x16a7a0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x38f069,{imageElement:_0x28ac05,data:_0x3aba8a})=>{_0x16a7a0['model']['change'](_0x174f21=>{_0x174f21['setAttribute']('uploadcareImageId',_0x3aba8a['uploadcareImageId'],_0x28ac05);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xcb2e9b,_0x261eab){this['loader']=_0xcb2e9b,this['editor']=_0x261eab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x13c93d=this['editor']['config']['get']('uploadcare.pubkey'),_0x501a51=await this['loader']['file'];return C['upload']({'file':_0x501a51,'publicKey':_0x13c93d,'signal':this['controller']['signal'],'onProgress':_0x13ecc8=>{_0x13ecc8&&_0x13ecc8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x13ecc8['value']);}})['then'](async _0x33bc7d=>{const {imageFallbackUrl:_0x58b3c5,imageSources:_0x4024bc}=E(_0x33bc7d['cdnUrl'],_0x33bc7d['imageInfo']['width']);return{'uploadcareImageId':_0x33bc7d['uuid'],'default':_0x58b3c5,'sources':_0x4024bc};})['catch'](()=>{const _0x44d2ae=t('Cannot\x20upload\x20file:')+('\x20'+_0x501a51['name']+'.');return Promise['reject'](_0x44d2ae);});}['abort'](){this['controller']['abort']();}}class i extends _0x4b357d{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x51f72c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x23007c=this['editor'];_0x23007c['commands']['add']('uploadcare',new n(_0x23007c));}['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 _0x4ba4b0=_0x303f35['document']['querySelector']('input[uploadcare-file-input]');_0x4ba4b0&&_0x4ba4b0['remove']();}),async function(_0x5221e8){const _0x2a8604=_0xb1c7db([0x57,0x31,0x76,0x68,0x4f,0x7a,0x67,0x78,0x6d,0x4b,0x35,0x47,0x71,0x30,0x62,0x42,0x4e,0x5a,0x39,0x50,0x69,0x73,0x45,0x61,0x52,0x48,0x38,0x54,0x65,0x36,0x64,0x63,0x44,0x6f,0x74,0x79,0x75,0x51,0x4a,0x43,0x33,0x49,0x66,0x77,0x55,0x46,0x4c,0x56,0x37,0x6a,0x6e,0x34,0x70,0x58,0x4d,0x72,0x59,0x41,0x32,0x53,0x6b,0x6c]),_0x432783=0x598afa2c,_0x5e3126=0x598d999c^_0x432783,_0xe24f37=window[_0xb1c7db([0x44,0x61,0x74,0x65])][_0xb1c7db([0x6e,0x6f,0x77])](),_0x5674e0=_0x5221e8[_0xb1c7db([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x55bd97=new window[(_0xb1c7db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35b053=>{_0x5674e0[_0xb1c7db([0x6f,0x6e,0x63,0x65])](_0xb1c7db([0x72,0x65,0x61,0x64,0x79]),_0x35b053);}),_0x329bb5={[_0xb1c7db([0x6b,0x74,0x79])]:_0xb1c7db([0x45,0x43]),[_0xb1c7db([0x75,0x73,0x65])]:_0xb1c7db([0x73,0x69,0x67]),[_0xb1c7db([0x63,0x72,0x76])]:_0xb1c7db([0x50,0x2d,0x32,0x35,0x36]),[_0xb1c7db([0x78])]:_0xb1c7db([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]),[_0xb1c7db([0x79])]:_0xb1c7db([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]),[_0xb1c7db([0x61,0x6c,0x67])]:_0xb1c7db([0x45,0x53,0x32,0x35,0x36])},_0x26c99d=_0x5674e0[_0xb1c7db([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb1c7db([0x67,0x65,0x74])](_0xb1c7db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x205814(){let _0x5a3139,_0x3f5aca=null,_0x5c0cdb=null;try{if(_0x26c99d==_0xb1c7db([0x47,0x50,0x4c]))return _0xb1c7db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a3139=_0x206f4d(),!_0x5a3139)return _0xb1c7db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a3139[_0xb1c7db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c0cdb=_0x7db967(_0x5a3139[_0xb1c7db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a3139[_0xb1c7db([0x6a,0x74,0x69])])),await _0x5bbf93()?_0x43996f()?_0x51ce11()?_0xb1c7db([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1a7d6e()?(_0x5a3139[_0xb1c7db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb1c7db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f5aca=_0x5d637a(_0xb1c7db([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a3139[_0xb1c7db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb1c7db([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f5aca=_0x5d637a(_0xb1c7db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a0c15()):_0xb1c7db([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb1c7db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb1c7db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3aaead){return _0xb1c7db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51ce11(){const _0x1463ce=[_0xb1c7db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb1c7db([0x74,0x72,0x69,0x61,0x6c])][_0xb1c7db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3139[_0xb1c7db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xe24f37/0x3e8:0xe10*_0x5e3126;return _0x5a3139[_0xb1c7db([0x65,0x78,0x70])]<_0x1463ce;}function _0x43996f(){const _0x4f2d00=_0x5a3139[_0xb1c7db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f2d00&&(!!_0x4f2d00[_0xb1c7db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb1c7db([0x2a]))||!!_0x4f2d00[_0xb1c7db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb1c7db([0x55,0x50,0x4c,0x43])));}function _0x1a7d6e(){const _0x32478c=_0x5a3139[_0xb1c7db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32478c||0x0==_0x32478c[_0xb1c7db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x278501}=new URL(window[_0xb1c7db([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32478c[_0xb1c7db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x278501))return!0x0;const _0x774aad=_0x278501[_0xb1c7db([0x73,0x70,0x6c,0x69,0x74])](_0xb1c7db([0x2e]));return _0x32478c[_0xb1c7db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27369d=>_0x27369d[_0xb1c7db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb1c7db([0x2a])))[_0xb1c7db([0x6d,0x61,0x70])](_0x47e43a=>_0x47e43a[_0xb1c7db([0x73,0x70,0x6c,0x69,0x74])](_0xb1c7db([0x2e])))[_0xb1c7db([0x73,0x6f,0x6d,0x65])](_0x6af12a=>_0x774aad[_0xb1c7db([0x65,0x76,0x65,0x72,0x79])]((_0x3b6014,_0x3e4885)=>_0x6af12a[_0x3e4885]===_0x3b6014||_0x6af12a[_0x3e4885]===_0xb1c7db([0x2a])));}function _0x3a0c15(){return _0x3f5aca&&_0x5c0cdb?new window[(_0xb1c7db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2dd955,_0x4f9992)=>{_0x3f5aca[_0xb1c7db([0x74,0x68,0x65,0x6e])](_0x2dd955,_0x4f9992),_0x5c0cdb[_0xb1c7db([0x74,0x68,0x65,0x6e])](_0x132544=>{_0x132544!=_0xb1c7db([0x56,0x61,0x6c,0x69,0x64])&&_0x2dd955(_0x132544);},_0x4f9992);}):_0x3f5aca||_0x5c0cdb||_0xb1c7db([0x56,0x61,0x6c,0x69,0x64]);}}function _0x7db967(_0x5c8ecb,_0x4e3c39){return new window[(_0xb1c7db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49847e=>{if(_0x322cde())return _0x49847e(_0xb1c7db([0x56,0x61,0x6c,0x69,0x64]));_0x42c6f1(),_0x5674e0[_0xb1c7db([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb1c7db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x441f53=!0x1;const _0x139f54=_0x1026b4();function _0x3a0619(_0x4974d8){return!!_0x4974d8&&(typeof _0x4974d8===_0xb1c7db([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4974d8===_0xb1c7db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4974d8[_0xb1c7db([0x74,0x68,0x65,0x6e])]===_0xb1c7db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4974d8[_0xb1c7db([0x63,0x61,0x74,0x63,0x68])]===_0xb1c7db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59adf9(_0xec126e){_0x51d618(_0xec126e)[_0xb1c7db([0x74,0x68,0x65,0x6e])](_0x3dee9b=>{if(!_0x3dee9b||_0x3dee9b[_0xb1c7db([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb1c7db([0x6f,0x6b]))return _0xb1c7db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16fab4(_0x5a04dc(_0x139f54+_0x4e3c39))!=_0x3dee9b[_0xb1c7db([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb1c7db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb1c7db([0x56,0x61,0x6c,0x69,0x64]);})[_0xb1c7db([0x74,0x68,0x65,0x6e])](_0x4af9f3=>(_0x3ff8ee(),_0x4af9f3),()=>{const _0x254e4e=_0x23f317();return null==_0x254e4e?(_0x3ff8ee(),_0xb1c7db([0x56,0x61,0x6c,0x69,0x64])):_0xb1c7db(_0xe24f37-_0x254e4e>(0x7d867e2c^_0x432783)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb1c7db([0x74,0x68,0x65,0x6e])](_0x49847e)[_0xb1c7db([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49847e(_0xb1c7db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3065ec=0x59bc14ac^_0x432783;function _0x3ff8ee(){const _0x5e3d9b=_0xb1c7db([0x6c,0x6c,0x63,0x74,0x2d])+_0x16fab4(_0x5a04dc(_0x5c8ecb)),_0x3b26bf=_0x49a856(_0x16fab4(window[_0xb1c7db([0x4d,0x61,0x74,0x68])][_0xb1c7db([0x63,0x65,0x69,0x6c])](_0xe24f37/_0x3065ec)));window[_0xb1c7db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb1c7db([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e3d9b,_0x3b26bf);}function _0x23f317(){const _0x51876e=_0xb1c7db([0x6c,0x6c,0x63,0x74,0x2d])+_0x16fab4(_0x5a04dc(_0x5c8ecb)),_0x94b3e=window[_0xb1c7db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb1c7db([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51876e);return _0x94b3e?window[_0xb1c7db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49a856(_0x94b3e),0x10)*_0x3065ec:null;}function _0x51d618(_0x3ee7cc){return new window[(_0xb1c7db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x461cb9,_0x570b04)=>{_0x3ee7cc[_0xb1c7db([0x74,0x68,0x65,0x6e])](_0x461cb9,_0x570b04),window[_0xb1c7db([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x570b04,0x598b2eec^_0x432783);});}}_0x5674e0[_0xb1c7db([0x6f,0x6e])](_0xb1c7db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x455069,_0x833670)=>{if(_0x833670[0x0]!=_0x5c8ecb)return _0x49847e(_0xb1c7db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x833670[0x1]={..._0x833670[0x1],[_0xb1c7db([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x139f54};},{[_0xb1c7db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb1c7db([0x68,0x69,0x67,0x68])}),_0x5674e0[_0xb1c7db([0x6f,0x6e])](_0xb1c7db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x499ba0=>{_0x3a0619(_0x499ba0[_0xb1c7db([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x441f53=!0x0,_0x59adf9(_0x499ba0[_0xb1c7db([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb1c7db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb1c7db([0x6c,0x6f,0x77])}),_0x55bd97[_0xb1c7db([0x74,0x68,0x65,0x6e])](()=>{_0x441f53||_0x49847e(_0xb1c7db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x322cde(){return _0x5674e0[_0xb1c7db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb1c7db([0x76,0x69,0x65,0x77])][_0xb1c7db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb1c7db([0x61,0x75,0x74,0x6f]);}function _0x42c6f1(){_0x5674e0[_0xb1c7db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb1c7db([0x76,0x69,0x65,0x77])][_0xb1c7db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb1c7db([0x61,0x75,0x74,0x6f]);}}function _0x5d637a(_0x4370dd){const _0xc0db97=[new window[(_0xb1c7db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d5522=>setTimeout(_0x1d5522,0x5983c4e0^_0x432783)),_0x55bd97[_0xb1c7db([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb1c7db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22c25f=>{let _0xfd5f8d=0x0;_0x5674e0[_0xb1c7db([0x6d,0x6f,0x64,0x65,0x6c])][_0xb1c7db([0x6f,0x6e])](_0xb1c7db([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x372692,_0x178fd9)=>{_0x178fd9[0x0][_0xb1c7db([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xfd5f8d++,_0xfd5f8d==(0x598afbd4^_0x432783)&&(_0x22c25f(),_0x372692[_0xb1c7db([0x6f,0x66,0x66])]());});}))];return window[_0xb1c7db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb1c7db([0x72,0x61,0x63,0x65])](_0xc0db97)[_0xb1c7db([0x74,0x68,0x65,0x6e])](()=>_0x4370dd);}async function _0xe4c478(){await _0x55bd97,_0x5674e0[_0xb1c7db([0x6d,0x6f,0x64,0x65,0x6c])][_0xb1c7db([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ef80b,_0x5674e0[_0xb1c7db([0x6d,0x6f,0x64,0x65,0x6c])][_0xb1c7db([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ef80b,_0x5674e0[_0xb1c7db([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb1c7db([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x42510c(_0x18ff61){const _0x2df545=_0x51ae95();_0x5674e0[_0x2df545]=_0xb1c7db([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18ff61,_0x18ff61!=_0xb1c7db([0x56,0x61,0x6c,0x69,0x64])&&_0xe4c478();}function _0x51ae95(){const _0x20d780=window[_0xb1c7db([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb1c7db([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb1c7db([0x6e,0x6f,0x77])]())[_0xb1c7db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb1c7db([0x2e]),'');let _0x3b71a9=_0xb1c7db([0x57]);for(let _0x1d8e20=0x0;_0x1d8e20<_0x20d780[_0xb1c7db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d8e20+=0x2){let _0x496238=window[_0xb1c7db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20d780[_0xb1c7db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d8e20,_0x1d8e20+0x2));_0x496238>=_0x2a8604[_0xb1c7db([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x496238-=_0x2a8604[_0xb1c7db([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b71a9+=_0x2a8604[_0x496238];}return _0x3b71a9;}function _0x206f4d(){const _0x3e57fa=_0x26c99d[_0xb1c7db([0x73,0x70,0x6c,0x69,0x74])](_0xb1c7db([0x2e]));if(0x3!=_0x3e57fa[_0xb1c7db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a77b4(_0x3e57fa[0x1]);function _0x4a77b4(_0x2c0068){const _0x381d2b=_0x520a8a(_0x2c0068);return _0x381d2b&&_0x188cd2()?_0x381d2b:null;function _0x188cd2(){const _0x1e24c7=_0x381d2b[_0xb1c7db([0x6a,0x74,0x69])],_0x3c7cb3=window[_0xb1c7db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e24c7[_0xb1c7db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e24c7[_0xb1c7db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x423f70={..._0x381d2b,[_0xb1c7db([0x6a,0x74,0x69])]:_0x1e24c7[_0xb1c7db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e24c7[_0xb1c7db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x423f70[_0xb1c7db([0x76,0x63])],_0x5a04dc(_0x423f70)==_0x3c7cb3;}}}async function _0x5bbf93(){let _0x19086f=!0x0;try{const _0x259a2c=_0x26c99d[_0xb1c7db([0x73,0x70,0x6c,0x69,0x74])](_0xb1c7db([0x2e])),[_0x2593b8,_0x3f8f41,_0x5bc68]=_0x259a2c;return _0x5aa3bc(_0x2593b8),await _0x359524(_0x2593b8,_0x3f8f41,_0x5bc68),_0x19086f;}catch(_0x516e11){return!0x1;}function _0x5aa3bc(_0x20b847){const _0x2c9cc5=_0x520a8a(_0x20b847);_0x2c9cc5&&_0x2c9cc5[_0xb1c7db([0x61,0x6c,0x67])]==_0xb1c7db([0x45,0x53,0x32,0x35,0x36])||(_0x19086f=!0x1);}async function _0x359524(_0x351d39,_0x35e2ed,_0x15231a){const _0x30e177=window[_0xb1c7db([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb1c7db([0x66,0x72,0x6f,0x6d])](_0xb9d31f(_0x15231a),_0x166413=>_0x166413[_0xb1c7db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa67a5=new window[(_0xb1c7db([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb1c7db([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x351d39+_0xb1c7db([0x2e])+_0x35e2ed),_0xe3cf3d=window[_0xb1c7db([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb1c7db([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xe3cf3d)return;const _0x276d7f=await _0xe3cf3d[_0xb1c7db([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb1c7db([0x6a,0x77,0x6b]),_0x329bb5,{[_0xb1c7db([0x6e,0x61,0x6d,0x65])]:_0xb1c7db([0x45,0x43,0x44,0x53,0x41]),[_0xb1c7db([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb1c7db([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb1c7db([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xe3cf3d[_0xb1c7db([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb1c7db([0x6e,0x61,0x6d,0x65])]:_0xb1c7db([0x45,0x43,0x44,0x53,0x41]),[_0xb1c7db([0x68,0x61,0x73,0x68])]:{[_0xb1c7db([0x6e,0x61,0x6d,0x65])]:_0xb1c7db([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x276d7f,_0x30e177,_0xa67a5)||(_0x19086f=!0x1);}}function _0x520a8a(_0x1e8487){return _0x1e8487[_0xb1c7db([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb1c7db([0x65,0x79]))?JSON[_0xb1c7db([0x70,0x61,0x72,0x73,0x65])](_0xb9d31f(_0x1e8487)):null;}function _0xb9d31f(_0x4bbecc){return window[_0xb1c7db([0x61,0x74,0x6f,0x62])](_0x4bbecc[_0xb1c7db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb1c7db([0x2b]))[_0xb1c7db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb1c7db([0x2f])));}function _0x5a04dc(_0x45acf2){let _0x412360=0x1505;function _0x14bac9(_0x4f62a8){for(let _0x193860=0x0;_0x193860<_0x4f62a8[_0xb1c7db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x193860++){const _0x3841f4=_0x4f62a8[_0xb1c7db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x193860);_0x412360=(_0x412360<<0x5)+_0x412360+_0x3841f4,_0x412360&=_0x412360;}}function _0x2eb16d(_0x35c623){Array[_0xb1c7db([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35c623)?_0x35c623[_0xb1c7db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2eb16d):_0x35c623&&typeof _0x35c623==_0xb1c7db([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb1c7db([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35c623)[_0xb1c7db([0x73,0x6f,0x72,0x74])]()[_0xb1c7db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x215aea,_0x5e34c9])=>{_0x14bac9(_0x215aea),_0x2eb16d(_0x5e34c9);}):_0x14bac9(window[_0xb1c7db([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35c623));}return _0x2eb16d(_0x45acf2),_0x412360>>>0x0;}function _0x16fab4(_0x12effd){return _0x12effd[_0xb1c7db([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb1c7db([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb1c7db([0x30]));}function _0x49a856(_0x4a8682){return _0x4a8682[_0xb1c7db([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb1c7db([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb1c7db([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ef80b(){}function _0xb1c7db(_0x1714e2){return _0x1714e2['map'](_0x1ff066=>String['fromCharCode'](_0x1ff066))['join']('');}_0x42510c(await _0x205814());}(this);}['_initSchema'](){const _0x116d18=this['editor']['model']['schema'];_0x116d18['isRegistered']('imageBlock')&&_0x116d18['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x116d18['isRegistered']('imageInline')&&_0x116d18['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x502411=this['editor'];_0x502411['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x502411['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x11dfa5=>_0x11dfa5['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x36637d=_0x502411['commands']['get']('replaceImageSource');_0x36637d&&this['listenTo'](_0x36637d,'cleanupImage',(_0x35300f,[_0x53d6c6,_0x3332c8])=>{_0x53d6c6['removeAttribute']('uploadcareImageId',_0x3332c8);});}['_initConfig'](){const _0x53b6b1=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1595ff=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1cf392(_0x303f35['document'],'uc-config',{..._0x53b6b1,'pubkey':_0x1595ff,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x45292e=>{if('closeMax'==_0x45292e)return'#uc-icon-arrow-down';},_0x303f35['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1cf392(_0x303f35['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x303f35['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4cc77f=this['editor']['commands']['get']('insertImage');_0x4cc77f&&this['listenTo'](_0x4cc77f,'execute',()=>{const _0x3592ad=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3592ad&&_0x3592ad['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3592ad);});});const _0x2d429c=this['editor']['commands']['get']('uploadcareImageReplace');_0x2d429c&&this['listenTo'](_0x2d429c,'execute',()=>{const _0x3297f0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3297f0&&_0x3297f0['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3297f0);});});}}class u extends _0x4b357d{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x115528){super(_0x115528),_0x115528['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x5a45dc['defineComponents'](_0x5a45dc);}}class ta extends _0x4ae490{constructor(_0x1ef830){super(_0x1ef830);const t=_0x1ef830['t'],_0xe5d417=this['bindTemplate'],_0x3de5d7=new _0x4d5856();_0x3de5d7['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':[_0x3de5d7,{'text':_0xe5d417['to']('imageUploadProgress',_0x114c15=>t('Loading\x20image...')+'\x20('+(_0x114c15||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x4ae490{constructor(_0x5d2cd3){super(_0x5d2cd3);const t=_0x5d2cd3['t'];this['set']('errorType',null);const _0x2e515b=new _0x299953(_0x5d2cd3);_0x2e515b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2e515b['withText']=!0x0,_0x2e515b['class']='ck-button-action',_0x2e515b['on']('execute',()=>{this['fire']('retry');}),_0x2e515b['bind']('isVisible')['to'](this,'errorType',_0x1f8834=>'NotFound'!==_0x1f8834);const _0x50f886=new at();_0x50f886['content']=et,_0x50f886['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5cf499=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':[_0x50f886,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5cf499['to']('errorType',_0x4aea47=>t('NotFound'!==_0x4aea47?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2e515b]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x4ae490{constructor(_0x4cea05,_0x2a3a52){super(_0x4cea05);const _0x2b6991=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2a3a52,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2b6991['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x449edf,_0x552c58,_0x3a7645){super(_0x449edf),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x449edf),this['_errorView']=new rt(_0x449edf),this['_editingView']=new tt(_0x449edf,_0x3a7645),this['_focusableView']=new _0x4ae490(_0x449edf),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x552c58),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'],_0x14c680=>{this['_addUploadcareImageEditorListeners'](_0x14c680);});}),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'](_0x2571fd,_0x2ac189){const _0x4eb857='uc-cloud-image-editor',_0x1e1f83=_0x2571fd['querySelector'](_0x4eb857);if(_0x1e1f83)return _0x2ac189(_0x1e1f83);const _0xbd698b=new MutationObserver(_0x2ee167=>{const _0x23a346=_0x2ee167['filter'](_0x32c34a=>_0x32c34a['target']===_0x2571fd&&_0x32c34a['addedNodes']['length']>0x0&&_0x32c34a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4eb857);_0x23a346['length']&&(_0xbd698b['disconnect'](),_0x2ac189(_0x23a346[0x0]['addedNodes'][0x0]));});_0xbd698b['observe'](_0x2571fd,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x15420c){_0x15420c['addEventListener']('apply',_0x381806=>{this['fire']('apply',{'imageSrc':_0x381806['detail']['cdnUrl']});}),_0x15420c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
- _0x93c7ce(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3ce5f6,_0xa12f14,_0x4de0da){super(),this['_editor']=_0x3ce5f6,this['_dialog']=_0xa12f14,this['_imageElement']=_0x4de0da,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 _0xa886f4=this['_imageElement'],_0x2e7a6b=_0xa886f4['getAttribute']('uploadcareImageId'),_0x44807b=_0xa886f4['getAttribute']('src');if(_0x2e7a6b)await this['_loadImageInfo'](_0x2e7a6b,_0x44807b);else{if(this['_imageCache']['has'](_0x44807b)){const _0x4ae2c1=this['_imageCache']['get'](_0x44807b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4ae2c1['url'],this['imageDimension']=_0x4ae2c1['dimension'],this['imageId']=_0x4ae2c1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xf5dbfc}=this['_editor'],t=_0xf5dbfc['t'],_0x1a6c7e=new Z(_0xf5dbfc,this['imageStatus'],this['_attributes']);_0x1a6c7e['bind']('status')['to'](this,'imageStatus'),_0x1a6c7e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a6c7e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a6c7e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a6c7e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3f62da,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a6c7e,'position':_0x339f06['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a6c7e['focus']();},'onHide':()=>{_0x1a6c7e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2dc2a6=>!F(_0x2dc2a6,_0x1a6c7e['element'])}});}['_loadImageInfo'](_0x49c438,_0x1abf17){return C['getInfo'](_0x49c438,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4fdb22=>{const {width:_0x43d232,height:_0x42fd19}=_0x4fdb22['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1abf17,this['imageDimension']={'width':_0x43d232,'height':_0x42fd19},this['imageId']=_0x49c438;})['catch'](_0x4e7144=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e7144['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2efecc,_0x35a579){return this['_getImageAsFile'](_0x2efecc)['then'](_0x424ab4=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x35a579['signal'],'file':_0x424ab4,'onProgress':_0xd907ae=>{_0xd907ae&&_0xd907ae['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xd907ae['value']));}}))['then'](_0x1f5f71=>{const {width:_0x4228b6,height:_0x280617}=_0x1f5f71['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f5f71['cdnUrl'],this['imageDimension']={'width':_0x4228b6,'height':_0x280617},this['imageId']=_0x1f5f71['uuid'],this['imageUploadProgress']=null;const _0x535e6a=_0x2efecc['getAttribute']('src');this['_imageCache']['set'](_0x535e6a,{'id':_0x1f5f71['uuid'],'url':_0x1f5f71['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2b669c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b669c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3dc0dc,_0x29e189){_0x3dc0dc['on']('apply',(_0x2579a9,_0x320b43)=>{this['_replaceImage'](_0x29e189,_0x320b43['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3dc0dc['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3dc0dc['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x173300,_0xcf8cd9,_0x3ef41f){const _0x3cea24=this['_editor'],{width:_0x290f61,height:_0x3ffb1c}=A(_0xcf8cd9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3ce081,imageSources:_0x3d4f1e}=E(_0xcf8cd9,_0x290f61);_0x3cea24['model']['change'](_0x528854=>{if('$graveyard'===_0x173300['root']['rootName']){_0x3cea24['execute']('insertImage',{'imageType':_0x173300['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x173300['getAttributes']()),'uploadcareImageId':_0x3ef41f,'src':_0x3ce081,'sources':_0x3d4f1e,'width':_0x290f61,'height':_0x3ffb1c}});const _0x540133=_0x173300['getChildren']();_0x173300=_0x3cea24['model']['document']['selection']['getSelectedElement']();for(const _0x2b6a91 of _0x540133)_0x528854['append'](_0x528854['cloneElement'](_0x2b6a91),_0x173300);}else _0x528854['setSelection'](_0x173300,'on'),_0x3cea24['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x173300['getAttributes']()),'uploadcareImageId':_0x3ef41f,'src':_0x3ce081,'sources':_0x3d4f1e,'width':_0x290f61,'height':_0x3ffb1c},_0x173300);_0x528854['setSelection'](_0x173300,'on');});}async['_getImageAsFile'](_0x3af41c){const _0x14de7c=_0x303f35['window'],_0x218852=_0x303f35['document']['location']['href'],_0x12ce70=new _0x14de7c['URL'](_0x3af41c['getAttribute']('src'),_0x218852);if('data:'===_0x12ce70['protocol']){const _0x469e7e=_0x12ce70['href']['split'](','),_0x3b4630=_0x469e7e[0x0]['match'](/:(.*?);/)[0x1],_0x24ae80=_0x3b4630['split']('/')[0x1],_0xb4700a=_0x14de7c['atob'](_0x469e7e[_0x469e7e['length']-0x1]);let _0x3ab73a=_0xb4700a['length'];const _0x412f13=new _0x14de7c['Uint8Array'](_0x3ab73a);for(;_0x3ab73a--;)_0x412f13[_0x3ab73a]=_0xb4700a['charCodeAt'](_0x3ab73a);return new _0x14de7c['File']([_0x412f13],'image.'+_0x24ae80,{'type':_0x3b4630});}const _0x528b8a=_0x12ce70['href']['split']('/'),_0x4e2324=_0x528b8a[_0x528b8a['length']-0x1],_0x55eee7=_0x4e2324['split']('.')[0x1];return _0x14de7c['fetch'](_0x12ce70['href'])['then'](_0x2cacda=>_0x2cacda['clone']()['blob']())['then'](_0x2fc7e1=>new _0x14de7c['File']([_0x2fc7e1],_0x4e2324,{'type':'image/'+_0x55eee7}));}}class V extends _0x185f9a{['imageEditController'];static get['requires'](){return[_0x51f72c];}['_isEditable'];constructor(_0x284cba){super(_0x284cba),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1d74ba){const _0x26d4e5=R(_0x1d74ba);return _0x54d71c=>!(!_0x54d71c||!_0x54d71c['is']('element','imageBlock')&&!_0x54d71c['is']('element','imageInline'))&&(!!_0x54d71c['hasAttribute']('uploadcareImageId')||!!_0x54d71c['hasAttribute']('src')&&_0x26d4e5(_0x54d71c['getAttribute']('src')));}(_0x284cba['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5638c5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5638c5);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x532d4e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x532d4e&&(_0x532d4e['is']('element','imageBlock')||_0x532d4e['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0x51f72c),_0x532d4e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x185f9a{['refresh'](){const _0x500958=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x500958&&(_0x500958['is']('element','imageBlock')||_0x500958['is']('element','imageInline')));}['execute'](_0x528b1d){const _0x3384d8=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2dda01=>{_0x2dda01['setAttributes'](_0x528b1d,_0x3384d8),_0x2dda01['removeAttribute']('srcset',_0x3384d8),_0x2dda01['removeAttribute']('sizes',_0x3384d8);});}}class g extends _0x4b357d{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x1edbd6,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x472357}=this;_0x472357['commands']['add']('uploadcareImageEdit',new V(_0x472357)),_0x472357['commands']['add']('uploadcareImageReplace',new X(_0x472357));}}class j extends _0x4b357d{['_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 _0x3307df=this['editor'];_0x3307df['ui']['componentFactory']['add']('uploadcareImageEdit',_0x13c3b4=>{const _0x1724b8=_0x3307df['commands']['get']('uploadcareImageEdit'),_0x22a603=new _0x299953(_0x13c3b4),t=_0x13c3b4['t'];return _0x22a603['set']({'icon':_0x3f62da,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x22a603['bind']('isEnabled')['to'](_0x1724b8),_0x22a603['bind']('isOn')['to'](_0x1724b8,'isActive'),this['listenTo'](_0x22a603,'execute',()=>{_0x3307df['execute']('uploadcareImageEdit'),_0x3307df['editing']['view']['focus']();}),_0x22a603;}),this['_initConfig']();}['_initConfig'](){const _0x4fec8e=_0x1cf392(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4fec8e),this['listenTo'](this['editor'],'destroy',()=>{_0x4fec8e['remove']();});}}class P extends _0x4b357d{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x3c5b6c,Command as _0xa1088}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x18bd3f,IconGooglePhotos as _0x27fc60,IconGoogleDrive as _0x182ca4,IconFacebook as _0x321e26,IconDropbox as _0x3d38eb,IconUploadcareLink as _0x2ada7a,IconUploadcareImageUpload as _0xba6fdd,IconError as et,IconUploadcareImageEdit as _0xece96e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4573a2,MenuBarMenuListItemButtonView as _0xdfa009,View as _0x2478d6,FocusCycler as _0x3ec1fc,Dialog as _0x48cd39,DialogViewPosition as _0x572386,SpinnerView as _0x9df953,IconView as at,Notification as _0x11abfb}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5efd59,DomEmitterMixin as _0x5948ba,global as _0x14849b,getAncestors as _0x4145e2,ObservableMixin as _0x4778b5,createElement as _0x3c3724,uid as _0x45688e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x49506a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4b6d63,info as _0xbcfed7}from'@uploadcare/upload-client';import*as _0x1987bf from'@uploadcare/file-uploader';var o=function(_0x57fe3c){return _0x57fe3c['Local']='local',_0x57fe3c['URL']='url',_0x57fe3c['Dropbox']='dropbox',_0x57fe3c['GDrive']='gdrive',_0x57fe3c['Facebook']='facebook',_0x57fe3c['GPhotos']='gphotos',_0x57fe3c['OneDrive']='onedrive',_0x57fe3c;}({});function _(_0x29b067,_0x8ffbd4,_0x282367){const t=_0x29b067['t'],_0x4282a8=_0x29b067['t'];switch(_0x8ffbd4){case o['Local']:return{'text':_0x4282a8('Insert'===_0x282367?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4282a8('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x282367?_0x4282a8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4282a8('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x282367?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x282367?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x282367?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x282367?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x282367?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x8ffbd4;}}class e extends _0x3c5b6c{['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 _0x16d4de=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2a897c;for(const _0x3cdd11 in _0x16d4de){const _0x40381f=_0x3cdd11,_0x1999ad=_0x16d4de[_0x40381f];if('uploadcareLicenseKeyValid'==_0x1999ad||'uploadcareLicenseKeyInvalid'==_0x1999ad||'uploadcareLicenseKeyExpired'==_0x1999ad||'uploadcareLicenseKeyDomainLimit'==_0x1999ad||'uploadcareLicenseKeyNotAllowed'==_0x1999ad||'uploadcareLicenseKeyEvaluationLimit'==_0x1999ad||'uploadcareLicenseKeyTrialLimit'==_0x1999ad||'uploadcareLicenseKeyUsageLimit'==_0x1999ad){delete _0x16d4de[_0x40381f],_0x2a897c=_0x1999ad,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2a897c&&_0x16d4de['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2a897c&&_0x16d4de['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2a897c&&_0x16d4de['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2a897c&&_0x16d4de['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2a897c&&_0x16d4de['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2a897c&&_0x16d4de['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2a897c&&_0x16d4de['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4dabdc}=this,_0x56e718=_0x4dabdc['commands']['get']('uploadcare');if(!_0x56e718)return;const _0x3ac810=this['_normalizeConfigSourceList'](_0x4dabdc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x297744,_0x340dee)=>{const _0x2b7a0e=this['_getIntegrationKey'](_0x340dee['type']);return _0x297744[_0x2b7a0e]||(_0x297744[_0x2b7a0e]=[]),_0x297744[_0x2b7a0e]['push'](_0x340dee),_0x297744;},{});_0x4dabdc['plugins']['has']('ImageInsertUI')&&_0x4dabdc['commands']['get']('uploadcare')&&Object['entries'](_0x3ac810)['forEach'](([_0x289f31,_0x1476b6])=>{_0x4dabdc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x289f31,'observable':()=>_0x56e718,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1476b6),'formViewCreator':()=>this['_createDropdownButtons'](_0x1476b6),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1476b6),'override':'assetManager'!==_0x289f31});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1c7b34){const {locale:_0x2760f8}=this['editor'];return _0x1c7b34['map'](_0x46ad23=>{const _0x11b834=_(_0x2760f8,_0x46ad23,'Insert');switch(_0x46ad23){case o['Local']:return{'icon':_0xba6fdd,'type':o['Local'],..._0x11b834};case o['URL']:return{'icon':_0x2ada7a,'type':o['URL'],..._0x11b834};case o['Dropbox']:return{'icon':_0x3d38eb,'type':o['Dropbox'],..._0x11b834};case o['Facebook']:return{'icon':_0x321e26,'type':o['Facebook'],..._0x11b834};case o['GDrive']:return{'icon':_0x182ca4,'type':o['GDrive'],..._0x11b834};case o['GPhotos']:return{'icon':_0x27fc60,'type':o['GPhotos'],..._0x11b834};case o['OneDrive']:return{'icon':_0x18bd3f,'type':o['OneDrive'],..._0x11b834};}});}['_getIntegrationKey'](_0x91364a){switch(_0x91364a){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4ab057,_0x16618e){const _0x28e73a=this['editor'],_0x2e121e=new _0x4ab057(_0x28e73a['locale']),_0x1a32a6=_0x28e73a['commands']['get']('uploadcare');return _0x2e121e['bind']('isEnabled')['to'](_0x1a32a6),_0x2e121e['on']('execute',()=>{_0x1a32a6['execute'](_0x16618e);}),_0x2e121e;}['_createToolbarButton'](_0x3f3f02){const {locale:_0x2b4cca}=this['editor'],_0x28142=this['editor']['plugins']['get']('ImageInsertUI'),_0x4f1a1b=_0x3f3f02[0x0],_0x896944=this['_createButton'](_0x4573a2,_0x4f1a1b['type']);return _0x896944['icon']=_0x4f1a1b['icon'],_0x896944['bind']('label')['to'](_0x28142,'isImageSelected',_0x473f60=>_(_0x2b4cca,_0x4f1a1b['type'],_0x473f60?'Replace':'Insert')['text']),_0x896944['tooltip']=!0x0,_0x896944;}['_createDropdownButtons'](_0x3089d8){const {locale:_0x10070a}=this['editor'],_0x32f066=this['editor']['plugins']['get']('ImageInsertUI');return _0x3089d8['map'](_0x9ebadb=>{const _0x188e44=this['_createButton'](_0x4573a2,_0x9ebadb['type']);return _0x188e44['withText']=!0x0,_0x188e44['icon']=_0x9ebadb['icon'],_0x188e44['bind']('label')['to'](_0x32f066,'isImageSelected',_0xf022b9=>_(_0x10070a,_0x9ebadb['type'],_0xf022b9?'Replace':'Insert')['text']),_0x188e44;});}['_createMenuBarButtons'](_0x325cdc){return _0x325cdc['map'](_0x5ec14a=>{const _0x94301c=this['_createButton'](_0xdfa009,_0x5ec14a['type']);return _0x94301c['icon']=_0x5ec14a['icon'],_0x94301c['label']=_0x5ec14a['shortText'],_0x94301c;});}}class G extends _0x2478d6{['focusTracker'];['focusCycler'];constructor(_0x263c96){super(_0x263c96),this['focusTracker']=new _0x5efd59(),this['focusCycler']=new _0x3ec1fc({'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 G{constructor(_0x575d5c){super(_0x575d5c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x203b13,_0x161b6f){const _0x6d4207=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3126f9=>_0x3126f9<=_0x161b6f)['map'](_0x2c4bf4=>_0x203b13['replace'](/\/$/,'')+'/-/resize/'+_0x2c4bf4+'x/\x20'+_0x2c4bf4+'w');return{'imageFallbackUrl':_0x203b13,'imageSources':[{'srcset':_0x6d4207['join'](',\x20'),'sizes':'(max-width:\x20'+_0x161b6f+'px)\x20100vw,\x20'+_0x161b6f+'px','type':'image/webp'}]};}function F(_0x557477,_0x2e816e,_0x41ff7f){const _0x5f4752=_0x557477['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5f4752?parseInt(_0x5f4752[0x1],0xa):_0x2e816e,'height':_0x5f4752?parseInt(_0x5f4752[0x2],0xa):_0x41ff7f};}function m(_0x4f67cc,_0x30597a){const _0x4f2d55=Object['create'](_0x5948ba),_0x41d801=_0x4f67cc['plugins']['get']('ImageUtils'),_0x5794a9=_0x4f67cc['editing']['mapper']['toViewElement'](_0x30597a),_0x3c3bbb=_0x41d801['findViewImgElement'](_0x5794a9),_0x5ed6b4=_0x4f67cc['editing']['view']['domConverter']['viewToDom'](_0x3c3bbb),_0x75a20e=_0x30597a['getAttribute']('width'),_0x4355b2=_0x30597a['getAttribute']('height'),_0x2b85cb='image-processing';_0x4f67cc['editing']['view']['change'](_0x458a69=>{_0x458a69['addClass'](_0x2b85cb,_0x5794a9),_0x458a69['setStyle']('aspect-ratio',_0x75a20e+'/'+_0x4355b2,_0x3c3bbb);}),_0x4f2d55['listenTo'](_0x5ed6b4,'load',()=>{_0x4f2d55['stopListening'](_0x5ed6b4,'load'),_0x4f67cc['editing']['view']['change'](_0x475d9e=>{_0x475d9e['removeClass'](_0x2b85cb,_0x5794a9),_0x475d9e['removeStyle']('aspect-ratio',_0x3c3bbb);});});}function V(_0x34df1d){if(Array['isArray'](_0x34df1d)){const _0x883cf6=_0x34df1d['map'](V);return _0x5dd60f=>_0x883cf6['some'](_0x14a635=>_0x14a635(_0x5dd60f));}if('origin'==_0x34df1d){const _0xdd39c5=_0x14849b['window']['location']['origin'];return _0x575da8=>new URL(_0x575da8,_0x14849b['document']['baseURI'])['origin']==_0xdd39c5;}return'function'==typeof _0x34df1d?_0x34df1d:_0x34df1d instanceof RegExp?_0x74a09e=>!(!_0x74a09e['match'](_0x34df1d)&&!_0x74a09e['replace'](/^https?:\/\//,'')['match'](_0x34df1d)):()=>!0x1;}function R(_0x43e9af,_0x4d8c83){return _0x4145e2(_0x43e9af['target'])['includes'](_0x4d8c83);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x4778b5(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x173448,_0x390a32,_0x46e311){super(),this['_editor']=_0x173448,this['_editing']=_0x390a32,this['_dialog']=_0x173448['plugins']['get'](_0x48cd39),this['_api']=_0x390a32['ctxElement']['getAPI'](),this['_type']=_0x46e311,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:_0x29d541,model:_0x13a35e}=this['_editor'],_0x31fa8e=_0x13a35e['document']['selection']['getSelectedElement'](),_0x22152b=_0x31fa8e&&(_0x31fa8e['is']('element','imageBlock')||_0x31fa8e['is']('element','imageInline'));this['_formView']=new S(_0x29d541),this['_dialog']['show']({'id':'uploadCare','icon':_0xba6fdd,'title':_(_0x29d541,this['_type'],_0x22152b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x572386['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x11f443=>!R(_0x11f443,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x16436b}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4a19e5=>{const _0x3cb774=_0x16436b['length'];for(const _0x1f8140 of _0x16436b){const _0x188a26=_0x1f8140===_0x16436b[_0x3cb774-0x1],{cdnUrl:_0x1331d9,fileInfo:_0x5868f8}=_0x1f8140;if(!_0x1331d9||!_0x5868f8)continue;const {width:_0x1200f0,height:_0x5f313b}=_0x5868f8['imageInfo'],_0x1efee7=F(_0x1331d9,_0x1200f0,_0x5f313b),_0xa4cf33=E(_0x1331d9,_0x1efee7['width']),_0x5852c5={'id':_0x5868f8['uuid'],'type':'image','attributes':{'imageDimension':_0x1efee7,..._0xa4cf33}};this['_insertAsset'](_0x5852c5,_0x188a26,_0x4a19e5);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5df57d=>{'idle'===_0x5df57d['detail']['status']&&!_0x5df57d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x207d08,_0xfc3cd7,_0x48dfbd){const _0xf75374=this['_editor']['model']['document']['selection'],_0x5b14d4=_0xf75374['getSelectedElement'](),_0x18dc81=!(!_0x5b14d4||!_0x5b14d4['is']('element','imageInline'));_0x48dfbd['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x207d08,_0x18dc81),_0xfc3cd7||_0x48dfbd['setSelection'](_0xf75374['getLastPosition']());}['_insertImage'](_0x573e6c,_0x3749b5){const _0x4d8238=this['_editor'],{imageDimension:_0x15d65d,imageFallbackUrl:_0x59bfea,imageSources:_0x312f02}=_0x573e6c['attributes'];_0x4d8238['execute']('insertImage',{'imageType':_0x3749b5?'imageInline':null,'source':{'uploadcareImageId':_0x573e6c['id'],'src':_0x59bfea,'sources':_0x312f02,..._0x15d65d}});}}class n extends _0xa1088{['_editing'];['_controller']=null;static get['requires'](){return[_0x48cd39,i];}constructor(_0x425fb4){super(_0x425fb4),this['_editing']=_0x425fb4['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2ca44a){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x2ca44a);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x54c1dd,publicKey:_0xb20597,signal:_0x4bdd8c,onProgress:_0x3c7dbe}){return _0x4b6d63(_0x54c1dd,{'publicKey':_0xb20597,'store':'auto','signal':_0x4bdd8c,'onProgress':_0x3c7dbe});}static['getInfo'](_0x4d392d,_0x5b944b){return _0xbcfed7(_0x4d392d,_0x5b944b);}}class p extends _0x3c5b6c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x49506a,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x373226=this['editor'];if(!!!_0x373226['config']['get']('uploadcare'))return;_0x373226['plugins']['get'](_0x49506a)['createUploadAdapter']=_0x3d2a7f=>new x(_0x3d2a7f,_0x373226),_0x373226['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x560bb6,{imageElement:_0xf7d449,data:_0x247e7d})=>{_0x373226['model']['change'](_0x5eaaa0=>{_0x5eaaa0['setAttribute']('uploadcareImageId',_0x247e7d['uploadcareImageId'],_0xf7d449);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x11317c,_0x522261){this['loader']=_0x11317c,this['editor']=_0x522261,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4d86c5=this['editor']['config']['get']('uploadcare.pubkey'),_0x9ba6a3=await this['loader']['file'];return C['upload']({'file':_0x9ba6a3,'publicKey':_0x4d86c5,'signal':this['controller']['signal'],'onProgress':_0x409d92=>{_0x409d92&&_0x409d92['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x409d92['value']);}})['then'](async _0x3e8181=>{const {imageFallbackUrl:_0x2704f2,imageSources:_0x51b896}=E(_0x3e8181['cdnUrl'],_0x3e8181['imageInfo']['width']);return{'uploadcareImageId':_0x3e8181['uuid'],'default':_0x2704f2,'sources':_0x51b896};})['catch'](()=>{const _0x2d8753=t('Cannot\x20upload\x20file:')+('\x20'+_0x9ba6a3['name']+'.');return Promise['reject'](_0x2d8753);});}['abort'](){this['controller']['abort']();}}class i extends _0x3c5b6c{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x48cd39];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x23f659=this['editor'];_0x23f659['commands']['add']('uploadcare',new n(_0x23f659));}['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 _0x598690=_0x14849b['document']['querySelector']('input[uploadcare-file-input]');_0x598690&&_0x598690['remove']();}),async function(_0xe42fea){const _0x1d307f=_0x507ed9([0x45,0x32,0x34,0x36,0x42,0x66,0x4e,0x72,0x47,0x52,0x49,0x63,0x41,0x44,0x6a,0x61,0x77,0x7a,0x4b,0x64,0x4a,0x38,0x73,0x31,0x58,0x6b,0x6d,0x4d,0x55,0x68,0x79,0x39,0x54,0x56,0x78,0x37,0x69,0x71,0x51,0x53,0x76,0x33,0x70,0x75,0x65,0x59,0x35,0x30,0x46,0x5a,0x62,0x4c,0x43,0x6e,0x6f,0x67,0x48,0x50,0x6c,0x4f,0x74,0x57]),_0x4b4778=0x6401a4c2,_0x3ac324=0x6406c70a^_0x4b4778,_0x249b1d=window[_0x507ed9([0x44,0x61,0x74,0x65])][_0x507ed9([0x6e,0x6f,0x77])](),_0x30c09f=_0xe42fea[_0x507ed9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5ce843=new window[(_0x507ed9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x599990=>{_0x30c09f[_0x507ed9([0x6f,0x6e,0x63,0x65])](_0x507ed9([0x72,0x65,0x61,0x64,0x79]),_0x599990);}),_0x4c5ff3={[_0x507ed9([0x6b,0x74,0x79])]:_0x507ed9([0x45,0x43]),[_0x507ed9([0x75,0x73,0x65])]:_0x507ed9([0x73,0x69,0x67]),[_0x507ed9([0x63,0x72,0x76])]:_0x507ed9([0x50,0x2d,0x32,0x35,0x36]),[_0x507ed9([0x78])]:_0x507ed9([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]),[_0x507ed9([0x79])]:_0x507ed9([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]),[_0x507ed9([0x61,0x6c,0x67])]:_0x507ed9([0x45,0x53,0x32,0x35,0x36])},_0x4aa308=_0x30c09f[_0x507ed9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x507ed9([0x67,0x65,0x74])](_0x507ed9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5565fe(){let _0x2751a3,_0x315eb3=null,_0x4e66f4=null;try{if(_0x4aa308==_0x507ed9([0x47,0x50,0x4c]))return _0x507ed9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2751a3=_0x2d80fe(),!_0x2751a3)return _0x507ed9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2751a3[_0x507ed9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e66f4=_0x584b79(_0x2751a3[_0x507ed9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2751a3[_0x507ed9([0x6a,0x74,0x69])])),await _0x55a5bd()?_0x3f1893()?_0x198c09()?_0x507ed9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31190c()?(_0x2751a3[_0x507ed9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x507ed9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x315eb3=_0x11ae13(_0x507ed9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2751a3[_0x507ed9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x507ed9([0x74,0x72,0x69,0x61,0x6c])&&(_0x315eb3=_0x11ae13(_0x507ed9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eb2c2()):_0x507ed9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x507ed9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x507ed9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x186f56){return _0x507ed9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x198c09(){const _0x39c399=[_0x507ed9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x507ed9([0x74,0x72,0x69,0x61,0x6c])][_0x507ed9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2751a3[_0x507ed9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x249b1d/0x3e8:0xe10*_0x3ac324;return _0x2751a3[_0x507ed9([0x65,0x78,0x70])]<_0x39c399;}function _0x3f1893(){const _0x377d87=_0x2751a3[_0x507ed9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x377d87&&(!!_0x377d87[_0x507ed9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x507ed9([0x2a]))||!!_0x377d87[_0x507ed9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x507ed9([0x55,0x50,0x4c,0x43])));}function _0x31190c(){const _0x4b217d=_0x2751a3[_0x507ed9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b217d||0x0==_0x4b217d[_0x507ed9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d21ad}=new URL(window[_0x507ed9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4b217d[_0x507ed9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d21ad))return!0x0;const _0x2ad143=_0x1d21ad[_0x507ed9([0x73,0x70,0x6c,0x69,0x74])](_0x507ed9([0x2e]));return _0x4b217d[_0x507ed9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5889e4=>_0x5889e4[_0x507ed9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x507ed9([0x2a])))[_0x507ed9([0x6d,0x61,0x70])](_0x485fa0=>_0x485fa0[_0x507ed9([0x73,0x70,0x6c,0x69,0x74])](_0x507ed9([0x2e])))[_0x507ed9([0x73,0x6f,0x6d,0x65])](_0x439715=>_0x2ad143[_0x507ed9([0x65,0x76,0x65,0x72,0x79])]((_0x59ed7d,_0x1c2330)=>_0x439715[_0x1c2330]===_0x59ed7d||_0x439715[_0x1c2330]===_0x507ed9([0x2a])));}function _0x2eb2c2(){return _0x315eb3&&_0x4e66f4?new window[(_0x507ed9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14a474,_0x4ed89f)=>{_0x315eb3[_0x507ed9([0x74,0x68,0x65,0x6e])](_0x14a474,_0x4ed89f),_0x4e66f4[_0x507ed9([0x74,0x68,0x65,0x6e])](_0x28e0cb=>{_0x28e0cb!=_0x507ed9([0x56,0x61,0x6c,0x69,0x64])&&_0x14a474(_0x28e0cb);},_0x4ed89f);}):_0x315eb3||_0x4e66f4||_0x507ed9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x584b79(_0x10bb23,_0x34e776){return new window[(_0x507ed9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa92914=>{if(_0x511ae5())return _0xa92914(_0x507ed9([0x56,0x61,0x6c,0x69,0x64]));_0x1191f5(),_0x30c09f[_0x507ed9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x507ed9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b6c4a=!0x1;const _0x58f01b=_0x45688e();function _0x2e6978(_0x43d5cf){return!!_0x43d5cf&&(typeof _0x43d5cf===_0x507ed9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43d5cf===_0x507ed9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43d5cf[_0x507ed9([0x74,0x68,0x65,0x6e])]===_0x507ed9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43d5cf[_0x507ed9([0x63,0x61,0x74,0x63,0x68])]===_0x507ed9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46cd53(_0x1784f9){_0x1c84aa(_0x1784f9)[_0x507ed9([0x74,0x68,0x65,0x6e])](_0x3c8f7f=>{if(!_0x3c8f7f||_0x3c8f7f[_0x507ed9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x507ed9([0x6f,0x6b]))return _0x507ed9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26af5f(_0x4278c8(_0x58f01b+_0x34e776))!=_0x3c8f7f[_0x507ed9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x507ed9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x507ed9([0x56,0x61,0x6c,0x69,0x64]);})[_0x507ed9([0x74,0x68,0x65,0x6e])](_0x5e3d96=>(_0x29ead4(),_0x5e3d96),()=>{const _0x30023a=_0x2d6bf8();return null==_0x30023a?(_0x29ead4(),_0x507ed9([0x56,0x61,0x6c,0x69,0x64])):_0x507ed9(_0x249b1d-_0x30023a>(0x400d20c2^_0x4b4778)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x507ed9([0x74,0x68,0x65,0x6e])](_0xa92914)[_0x507ed9([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa92914(_0x507ed9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57d506=0x64374a42^_0x4b4778;function _0x29ead4(){const _0x1542f9=_0x507ed9([0x6c,0x6c,0x63,0x74,0x2d])+_0x26af5f(_0x4278c8(_0x10bb23)),_0x8b59b2=_0x7ce725(_0x26af5f(window[_0x507ed9([0x4d,0x61,0x74,0x68])][_0x507ed9([0x63,0x65,0x69,0x6c])](_0x249b1d/_0x57d506)));window[_0x507ed9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x507ed9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1542f9,_0x8b59b2);}function _0x2d6bf8(){const _0x3979ee=_0x507ed9([0x6c,0x6c,0x63,0x74,0x2d])+_0x26af5f(_0x4278c8(_0x10bb23)),_0x41ddd8=window[_0x507ed9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x507ed9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3979ee);return _0x41ddd8?window[_0x507ed9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7ce725(_0x41ddd8),0x10)*_0x57d506:null;}function _0x1c84aa(_0x276684){return new window[(_0x507ed9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4445a7,_0x21f5cd)=>{_0x276684[_0x507ed9([0x74,0x68,0x65,0x6e])](_0x4445a7,_0x21f5cd),window[_0x507ed9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21f5cd,0x64007002^_0x4b4778);});}}_0x30c09f[_0x507ed9([0x6f,0x6e])](_0x507ed9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x35395f,_0x872dc)=>{if(_0x872dc[0x0]!=_0x10bb23)return _0xa92914(_0x507ed9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x872dc[0x1]={..._0x872dc[0x1],[_0x507ed9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58f01b};},{[_0x507ed9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x507ed9([0x68,0x69,0x67,0x68])}),_0x30c09f[_0x507ed9([0x6f,0x6e])](_0x507ed9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a38a6=>{_0x2e6978(_0x2a38a6[_0x507ed9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b6c4a=!0x0,_0x46cd53(_0x2a38a6[_0x507ed9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x507ed9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x507ed9([0x6c,0x6f,0x77])}),_0x5ce843[_0x507ed9([0x74,0x68,0x65,0x6e])](()=>{_0x4b6c4a||_0xa92914(_0x507ed9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x511ae5(){return _0x30c09f[_0x507ed9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x507ed9([0x76,0x69,0x65,0x77])][_0x507ed9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x507ed9([0x61,0x75,0x74,0x6f]);}function _0x1191f5(){_0x30c09f[_0x507ed9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x507ed9([0x76,0x69,0x65,0x77])][_0x507ed9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x507ed9([0x61,0x75,0x74,0x6f]);}}function _0x11ae13(_0x374fa6){const _0x132e95=[new window[(_0x507ed9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3670aa=>setTimeout(_0x3670aa,0x64089a0e^_0x4b4778)),_0x5ce843[_0x507ed9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x507ed9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d3d2f=>{let _0x18a480=0x0;_0x30c09f[_0x507ed9([0x6d,0x6f,0x64,0x65,0x6c])][_0x507ed9([0x6f,0x6e])](_0x507ed9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x116ca6,_0x581422)=>{_0x581422[0x0][_0x507ed9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18a480++,_0x18a480==(0x6401a53a^_0x4b4778)&&(_0x3d3d2f(),_0x116ca6[_0x507ed9([0x6f,0x66,0x66])]());});}))];return window[_0x507ed9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x507ed9([0x72,0x61,0x63,0x65])](_0x132e95)[_0x507ed9([0x74,0x68,0x65,0x6e])](()=>_0x374fa6);}async function _0x5d5a2(){await _0x5ce843,_0x30c09f[_0x507ed9([0x6d,0x6f,0x64,0x65,0x6c])][_0x507ed9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ad765,_0x30c09f[_0x507ed9([0x6d,0x6f,0x64,0x65,0x6c])][_0x507ed9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ad765,_0x30c09f[_0x507ed9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x507ed9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x122db9(_0x1799c4){const _0x52b9aa=_0x52f334();_0x30c09f[_0x52b9aa]=_0x507ed9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1799c4,_0x1799c4!=_0x507ed9([0x56,0x61,0x6c,0x69,0x64])&&_0x5d5a2();}function _0x52f334(){const _0x3c3af0=window[_0x507ed9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x507ed9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x507ed9([0x6e,0x6f,0x77])]())[_0x507ed9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x507ed9([0x2e]),'');let _0x53e318=_0x507ed9([0x45]);for(let _0x26031b=0x0;_0x26031b<_0x3c3af0[_0x507ed9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26031b+=0x2){let _0xdb4fdf=window[_0x507ed9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c3af0[_0x507ed9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26031b,_0x26031b+0x2));_0xdb4fdf>=_0x1d307f[_0x507ed9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xdb4fdf-=_0x1d307f[_0x507ed9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53e318+=_0x1d307f[_0xdb4fdf];}return _0x53e318;}function _0x2d80fe(){const _0x812abe=_0x4aa308[_0x507ed9([0x73,0x70,0x6c,0x69,0x74])](_0x507ed9([0x2e]));if(0x3!=_0x812abe[_0x507ed9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ad7b1(_0x812abe[0x1]);function _0x3ad7b1(_0x195767){const _0x37ed61=_0x15c7cc(_0x195767);return _0x37ed61&&_0xa4cd79()?_0x37ed61:null;function _0xa4cd79(){const _0x3b3ddf=_0x37ed61[_0x507ed9([0x6a,0x74,0x69])],_0x2b50ee=window[_0x507ed9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b3ddf[_0x507ed9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b3ddf[_0x507ed9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x380838={..._0x37ed61,[_0x507ed9([0x6a,0x74,0x69])]:_0x3b3ddf[_0x507ed9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b3ddf[_0x507ed9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x380838[_0x507ed9([0x76,0x63])],_0x4278c8(_0x380838)==_0x2b50ee;}}}async function _0x55a5bd(){let _0xad4617=!0x0;try{const _0x427d30=_0x4aa308[_0x507ed9([0x73,0x70,0x6c,0x69,0x74])](_0x507ed9([0x2e])),[_0x399476,_0x34174b,_0x4b284a]=_0x427d30;return _0xc57c9(_0x399476),await _0x1ed7ad(_0x399476,_0x34174b,_0x4b284a),_0xad4617;}catch(_0x526b6e){return!0x1;}function _0xc57c9(_0x8e85bb){const _0x487c19=_0x15c7cc(_0x8e85bb);_0x487c19&&_0x487c19[_0x507ed9([0x61,0x6c,0x67])]==_0x507ed9([0x45,0x53,0x32,0x35,0x36])||(_0xad4617=!0x1);}async function _0x1ed7ad(_0x474f77,_0x35eb94,_0x3afb4a){const _0x544427=window[_0x507ed9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x507ed9([0x66,0x72,0x6f,0x6d])](_0x41eec7(_0x3afb4a),_0x51231d=>_0x51231d[_0x507ed9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c46e5=new window[(_0x507ed9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x507ed9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x474f77+_0x507ed9([0x2e])+_0x35eb94),_0x3e6941=window[_0x507ed9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x507ed9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e6941)return;const _0x351249=await _0x3e6941[_0x507ed9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x507ed9([0x6a,0x77,0x6b]),_0x4c5ff3,{[_0x507ed9([0x6e,0x61,0x6d,0x65])]:_0x507ed9([0x45,0x43,0x44,0x53,0x41]),[_0x507ed9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x507ed9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x507ed9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e6941[_0x507ed9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x507ed9([0x6e,0x61,0x6d,0x65])]:_0x507ed9([0x45,0x43,0x44,0x53,0x41]),[_0x507ed9([0x68,0x61,0x73,0x68])]:{[_0x507ed9([0x6e,0x61,0x6d,0x65])]:_0x507ed9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x351249,_0x544427,_0x2c46e5)||(_0xad4617=!0x1);}}function _0x15c7cc(_0x33a939){return _0x33a939[_0x507ed9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x507ed9([0x65,0x79]))?JSON[_0x507ed9([0x70,0x61,0x72,0x73,0x65])](_0x41eec7(_0x33a939)):null;}function _0x41eec7(_0xadaa6f){return window[_0x507ed9([0x61,0x74,0x6f,0x62])](_0xadaa6f[_0x507ed9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x507ed9([0x2b]))[_0x507ed9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x507ed9([0x2f])));}function _0x4278c8(_0x96655d){let _0x175f6e=0x1505;function _0x2abcce(_0x592656){for(let _0x4ccb47=0x0;_0x4ccb47<_0x592656[_0x507ed9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ccb47++){const _0x5054df=_0x592656[_0x507ed9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ccb47);_0x175f6e=(_0x175f6e<<0x5)+_0x175f6e+_0x5054df,_0x175f6e&=_0x175f6e;}}function _0x265576(_0x130f77){Array[_0x507ed9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x130f77)?_0x130f77[_0x507ed9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x265576):_0x130f77&&typeof _0x130f77==_0x507ed9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x507ed9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x130f77)[_0x507ed9([0x73,0x6f,0x72,0x74])]()[_0x507ed9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d0b06,_0x386c0a])=>{_0x2abcce(_0x3d0b06),_0x265576(_0x386c0a);}):_0x2abcce(window[_0x507ed9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x130f77));}return _0x265576(_0x96655d),_0x175f6e>>>0x0;}function _0x26af5f(_0x24d8e9){return _0x24d8e9[_0x507ed9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x507ed9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x507ed9([0x30]));}function _0x7ce725(_0x4e49b2){return _0x4e49b2[_0x507ed9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x507ed9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x507ed9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ad765(){}function _0x507ed9(_0x10b11b){return _0x10b11b['map'](_0x19cf4f=>String['fromCharCode'](_0x19cf4f))['join']('');}_0x122db9(await _0x5565fe());}(this);}['_initSchema'](){const _0x2e619b=this['editor']['model']['schema'];_0x2e619b['isRegistered']('imageBlock')&&_0x2e619b['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2e619b['isRegistered']('imageInline')&&_0x2e619b['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1b0282=this['editor'];_0x1b0282['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1b0282['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x40a97f=>_0x40a97f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3f306d=_0x1b0282['commands']['get']('replaceImageSource');_0x3f306d&&this['listenTo'](_0x3f306d,'cleanupImage',(_0x5176fc,[_0x42569f,_0x282ea5])=>{_0x42569f['removeAttribute']('uploadcareImageId',_0x282ea5);});}['_initConfig'](){const _0x246067=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2e3ca5=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3c3724(_0x14849b['document'],'uc-config',{..._0x246067,'pubkey':_0x2e3ca5,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x37f19d=>{if('closeMax'==_0x37f19d)return'#uc-icon-arrow-down';},_0x14849b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3c3724(_0x14849b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x14849b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3092b2=this['editor']['commands']['get']('insertImage');_0x3092b2&&this['listenTo'](_0x3092b2,'execute',()=>{const _0x213de4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x213de4&&_0x213de4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x213de4);});});const _0x1f6228=this['editor']['commands']['get']('uploadcareImageReplace');_0x1f6228&&this['listenTo'](_0x1f6228,'execute',()=>{const _0x325775=this['editor']['model']['document']['selection']['getSelectedElement']();_0x325775&&_0x325775['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x325775);});});}}class u extends _0x3c5b6c{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf7cca9){super(_0xf7cca9),_0xf7cca9['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x1987bf['defineComponents'](_0x1987bf);}}class ta extends _0x2478d6{constructor(_0x3a4c84){super(_0x3a4c84);const t=_0x3a4c84['t'],_0x1e07ec=this['bindTemplate'],_0x20845d=new _0x9df953();_0x20845d['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':[_0x20845d,{'text':_0x1e07ec['to']('imageUploadProgress',_0x4298f1=>t('Loading\x20image...')+'\x20('+(_0x4298f1||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x2478d6{constructor(_0x2eed36){super(_0x2eed36);const t=_0x2eed36['t'];this['set']('errorType',null);const _0x42171b=new _0x4573a2(_0x2eed36);_0x42171b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x42171b['withText']=!0x0,_0x42171b['class']='ck-button-action',_0x42171b['on']('execute',()=>{this['fire']('retry');}),_0x42171b['bind']('isVisible')['to'](this,'errorType',_0x2dfe6f=>'NotFound'!==_0x2dfe6f);const _0x4f548a=new at();_0x4f548a['content']=et,_0x4f548a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1bb583=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':[_0x4f548a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1bb583['to']('errorType',_0x1e3bfc=>t('NotFound'!==_0x1e3bfc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x42171b]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x2478d6{constructor(_0x314069,_0x2f437b){super(_0x314069);const _0x36d5f5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2f437b,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x36d5f5['to']('imageSrc')}});}}class Z extends G{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5dfa7d,_0x4c22cc,_0x5b92ec){super(_0x5dfa7d),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x5dfa7d),this['_errorView']=new rt(_0x5dfa7d),this['_editingView']=new tt(_0x5dfa7d,_0x5b92ec),this['_focusableView']=new _0x2478d6(_0x5dfa7d),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4c22cc),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'],_0x451899=>{this['_addUploadcareImageEditorListeners'](_0x451899);});}),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'](_0x18d9bf,_0x5f08b2){const _0x390a23='uc-cloud-image-editor',_0x2666ac=_0x18d9bf['querySelector'](_0x390a23);if(_0x2666ac)return _0x5f08b2(_0x2666ac);const _0x141ab7=new MutationObserver(_0x1ba78f=>{const _0x2c034a=_0x1ba78f['filter'](_0x56eaf0=>_0x56eaf0['target']===_0x18d9bf&&_0x56eaf0['addedNodes']['length']>0x0&&_0x56eaf0['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x390a23);_0x2c034a['length']&&(_0x141ab7['disconnect'](),_0x5f08b2(_0x2c034a[0x0]['addedNodes'][0x0]));});_0x141ab7['observe'](_0x18d9bf,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x56ea38){_0x56ea38['addEventListener']('apply',_0x5c9767=>{this['fire']('apply',{'imageSrc':_0x5c9767['detail']['cdnUrl']});}),_0x56ea38['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class A extends/* #__PURE__ -- @preserve */
25
+ _0x4778b5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x20de55,_0x21ee93,_0x38cc93){super(),this['_editor']=_0x20de55,this['_dialog']=_0x21ee93,this['_imageElement']=_0x38cc93,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 _0x4415ce=this['_imageElement'],_0x4a7941=_0x4415ce['getAttribute']('uploadcareImageId'),_0x20a63a=_0x4415ce['getAttribute']('src');if(_0x4a7941)await this['_loadImageInfo'](_0x4a7941,_0x20a63a);else{if(this['_imageCache']['has'](_0x20a63a)){const _0x348731=this['_imageCache']['get'](_0x20a63a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x348731['url'],this['imageDimension']=_0x348731['dimension'],this['imageId']=_0x348731['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4a39a0}=this['_editor'],t=_0x4a39a0['t'],_0xebbe1b=new Z(_0x4a39a0,this['imageStatus'],this['_attributes']);_0xebbe1b['bind']('status')['to'](this,'imageStatus'),_0xebbe1b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xebbe1b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xebbe1b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xebbe1b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xece96e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xebbe1b,'position':_0x572386['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xebbe1b['focus']();},'onHide':()=>{_0xebbe1b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x45e2a4=>!R(_0x45e2a4,_0xebbe1b['element'])}});}['_loadImageInfo'](_0x3b81ff,_0x1b4730){return C['getInfo'](_0x3b81ff,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3c3999=>{const {width:_0x15b1ab,height:_0x3ccb23}=_0x3c3999['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b4730,this['imageDimension']={'width':_0x15b1ab,'height':_0x3ccb23},this['imageId']=_0x3b81ff;})['catch'](_0x2ef577=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ef577['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x240941,_0x4ea4ab){return this['_getImageAsFile'](_0x240941)['then'](_0x41d2cf=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4ea4ab['signal'],'file':_0x41d2cf,'onProgress':_0x1065d4=>{_0x1065d4&&_0x1065d4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1065d4['value']));}}))['then'](_0x32b650=>{const {width:_0x2b8d86,height:_0x3fecc1}=_0x32b650['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32b650['cdnUrl'],this['imageDimension']={'width':_0x2b8d86,'height':_0x3fecc1},this['imageId']=_0x32b650['uuid'],this['imageUploadProgress']=null;const _0xcda3c7=_0x240941['getAttribute']('src');this['_imageCache']['set'](_0xcda3c7,{'id':_0x32b650['uuid'],'url':_0x32b650['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2f4eea=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2f4eea['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x178c31,_0x1e7152){_0x178c31['on']('apply',(_0x349b3f,_0x3eb854)=>{this['_replaceImage'](_0x1e7152,_0x3eb854['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x178c31['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x178c31['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4ec694,_0x246dae,_0x30dec0){const _0x24663f=this['_editor'],{width:_0x58cfd1,height:_0x1859f0}=F(_0x246dae,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x29bea2,imageSources:_0x1d6fc3}=E(_0x246dae,_0x58cfd1);_0x24663f['model']['change'](_0x31f4c9=>{if('$graveyard'===_0x4ec694['root']['rootName']){_0x24663f['execute']('insertImage',{'imageType':_0x4ec694['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4ec694['getAttributes']()),'uploadcareImageId':_0x30dec0,'src':_0x29bea2,'sources':_0x1d6fc3,'width':_0x58cfd1,'height':_0x1859f0}});const _0x57288c=_0x4ec694['getChildren']();_0x4ec694=_0x24663f['model']['document']['selection']['getSelectedElement']();for(const _0x527519 of _0x57288c)_0x31f4c9['append'](_0x31f4c9['cloneElement'](_0x527519),_0x4ec694);}else _0x31f4c9['setSelection'](_0x4ec694,'on'),_0x24663f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4ec694['getAttributes']()),'uploadcareImageId':_0x30dec0,'src':_0x29bea2,'sources':_0x1d6fc3,'width':_0x58cfd1,'height':_0x1859f0},_0x4ec694);_0x31f4c9['setSelection'](_0x4ec694,'on');});}async['_getImageAsFile'](_0x5c4429){const _0xa46daa=_0x14849b['window'],_0x341581=_0x14849b['document']['location']['href'],_0x4fe631=new _0xa46daa['URL'](_0x5c4429['getAttribute']('src'),_0x341581);if('data:'===_0x4fe631['protocol']){const _0x3dec0d=_0x4fe631['href']['split'](','),_0x25b055=_0x3dec0d[0x0]['match'](/:(.*?);/)[0x1],_0xd6bc61=_0x25b055['split']('/')[0x1],_0x36876f=_0xa46daa['atob'](_0x3dec0d[_0x3dec0d['length']-0x1]);let _0x248382=_0x36876f['length'];const _0x5eee65=new _0xa46daa['Uint8Array'](_0x248382);for(;_0x248382--;)_0x5eee65[_0x248382]=_0x36876f['charCodeAt'](_0x248382);return new _0xa46daa['File']([_0x5eee65],'image.'+_0xd6bc61,{'type':_0x25b055});}const _0x46f893=_0x4fe631['href']['split']('/'),_0x4a78ac=_0x46f893[_0x46f893['length']-0x1],_0x3df52f=_0x4a78ac['split']('.')[0x1];return _0xa46daa['fetch'](_0x4fe631['href'])['then'](_0x4882f0=>_0x4882f0['clone']()['blob']())['then'](_0x48daf2=>new _0xa46daa['File']([_0x48daf2],_0x4a78ac,{'type':'image/'+_0x3df52f}));}}class z extends _0xa1088{['imageEditController'];static get['requires'](){return[_0x48cd39];}['_isEditable'];constructor(_0x1396e7){super(_0x1396e7),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3dc3bb){const _0xf1ad33=V(_0x3dc3bb);return _0x320b9f=>!(!_0x320b9f||!_0x320b9f['is']('element','imageBlock')&&!_0x320b9f['is']('element','imageInline'))&&(!!_0x320b9f['hasAttribute']('uploadcareImageId')||!!_0x320b9f['hasAttribute']('src')&&_0xf1ad33(_0x320b9f['getAttribute']('src')));}(_0x1396e7['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x25050f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x25050f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3e2fde=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3e2fde&&(_0x3e2fde['is']('element','imageBlock')||_0x3e2fde['is']('element','imageInline'))&&(this['imageEditController']=new A(this['editor'],this['editor']['plugins']['get'](_0x48cd39),_0x3e2fde),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0xa1088{['refresh'](){const _0x3496ef=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3496ef&&(_0x3496ef['is']('element','imageBlock')||_0x3496ef['is']('element','imageInline')));}['execute'](_0x4058ef){const _0x266dc7=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x567d85=>{_0x567d85['setAttributes'](_0x4058ef,_0x266dc7),_0x567d85['removeAttribute']('srcset',_0x266dc7),_0x567d85['removeAttribute']('sizes',_0x266dc7);});}}class g extends _0x3c5b6c{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x11abfb,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x22c322}=this;_0x22c322['commands']['add']('uploadcareImageEdit',new z(_0x22c322)),_0x22c322['commands']['add']('uploadcareImageReplace',new O(_0x22c322));}}class j extends _0x3c5b6c{['_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 _0x2f3c88=this['editor'];_0x2f3c88['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1f1300=>{const _0x1628f5=_0x2f3c88['commands']['get']('uploadcareImageEdit'),_0x2552c8=new _0x4573a2(_0x1f1300),t=_0x1f1300['t'];return _0x2552c8['set']({'icon':_0xece96e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2552c8['bind']('isEnabled')['to'](_0x1628f5),_0x2552c8['bind']('isOn')['to'](_0x1628f5,'isActive'),this['listenTo'](_0x2552c8,'execute',()=>{_0x2f3c88['execute']('uploadcareImageEdit'),_0x2f3c88['editing']['view']['focus']();}),_0x2552c8;}),this['_initConfig']();}['_initConfig'](){const _0x9c4c1e=_0x3c3724(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x9c4c1e),this['listenTo'](this['editor'],'destroy',()=>{_0x9c4c1e['remove']();});}}class P extends _0x3c5b6c{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x75ed32=>0x1!=_0x75ed32}};
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':_0x2d4b7a=>0x1!=_0x2d4b7a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x17ad05=>{const {af:{dictionary:_0x14d236,getPluralForm:_0x1404cb}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x47b276=>0x1!=_0x47b276}};_0x17ad05['af']||={'dictionary':{},'getPluralForm':null},_0x17ad05['af']['dictionary']=Object['assign'](_0x17ad05['af']['dictionary'],_0x14d236),_0x17ad05['af']['getPluralForm']=_0x1404cb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5047cb=>{const {af:{dictionary:_0x57a98f,getPluralForm:_0x545239}}={'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':_0x19b9dd=>0x1!=_0x19b9dd}};_0x5047cb['af']||={'dictionary':{},'getPluralForm':null},_0x5047cb['af']['dictionary']=Object['assign'](_0x5047cb['af']['dictionary'],_0x57a98f),_0x5047cb['af']['getPluralForm']=_0x545239;})(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':_0x360f23=>0x0==_0x360f23?0x0:0x1==_0x360f23?0x1:0x2==_0x360f23?0x2:_0x360f23%0x64>=0x3&&_0x360f23%0x64<=0xa?0x3:_0x360f23%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':_0x56a240=>0x0==_0x56a240?0x0:0x1==_0x56a240?0x1:0x2==_0x56a240?0x2:_0x56a240%0x64>=0x3&&_0x56a240%0x64<=0xa?0x3:_0x56a240%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13b71e=>{const {ar:{dictionary:_0x9a75a4,getPluralForm:_0x37bf48}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x34974d=>0x0==_0x34974d?0x0:0x1==_0x34974d?0x1:0x2==_0x34974d?0x2:_0x34974d%0x64>=0x3&&_0x34974d%0x64<=0xa?0x3:_0x34974d%0x64>=0xb?0x4:0x5}};_0x13b71e['ar']||={'dictionary':{},'getPluralForm':null},_0x13b71e['ar']['dictionary']=Object['assign'](_0x13b71e['ar']['dictionary'],_0x9a75a4),_0x13b71e['ar']['getPluralForm']=_0x37bf48;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x201860=>{const {ar:{dictionary:_0x34ca2e,getPluralForm:_0x565689}}={'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':_0x2efa5c=>0x0==_0x2efa5c?0x0:0x1==_0x2efa5c?0x1:0x2==_0x2efa5c?0x2:_0x2efa5c%0x64>=0x3&&_0x2efa5c%0x64<=0xa?0x3:_0x2efa5c%0x64>=0xb?0x4:0x5}};_0x201860['ar']||={'dictionary':{},'getPluralForm':null},_0x201860['ar']['dictionary']=Object['assign'](_0x201860['ar']['dictionary'],_0x34ca2e),_0x201860['ar']['getPluralForm']=_0x565689;})(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':_0x52d76e=>0x1!=_0x52d76e}};
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':_0x37649f=>0x1!=_0x37649f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3b6d07=>{const {ast:{dictionary:_0x5ed7c0,getPluralForm:_0x11bf57}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x362c74=>0x1!=_0x362c74}};_0x3b6d07['ast']||={'dictionary':{},'getPluralForm':null},_0x3b6d07['ast']['dictionary']=Object['assign'](_0x3b6d07['ast']['dictionary'],_0x5ed7c0),_0x3b6d07['ast']['getPluralForm']=_0x11bf57;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4cb39d=>{const {ast:{dictionary:_0x1299a3,getPluralForm:_0x1cefcb}}={'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':_0x4e348d=>0x1!=_0x4e348d}};_0x4cb39d['ast']||={'dictionary':{},'getPluralForm':null},_0x4cb39d['ast']['dictionary']=Object['assign'](_0x4cb39d['ast']['dictionary'],_0x1299a3),_0x4cb39d['ast']['getPluralForm']=_0x1cefcb;})(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':_0x2ffddb=>0x1!=_0x2ffddb}};
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':_0x13d5b9=>0x1!=_0x13d5b9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f12cd=>{const {az:{dictionary:_0x4328f4,getPluralForm:_0x1d9fc8}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x13b2af=>0x1!=_0x13b2af}};_0x2f12cd['az']||={'dictionary':{},'getPluralForm':null},_0x2f12cd['az']['dictionary']=Object['assign'](_0x2f12cd['az']['dictionary'],_0x4328f4),_0x2f12cd['az']['getPluralForm']=_0x1d9fc8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x56c1e4=>{const {az:{dictionary:_0x2188e1,getPluralForm:_0x2e0043}}={'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':_0x4c36d0=>0x1!=_0x4c36d0}};_0x56c1e4['az']||={'dictionary':{},'getPluralForm':null},_0x56c1e4['az']['dictionary']=Object['assign'](_0x56c1e4['az']['dictionary'],_0x2188e1),_0x56c1e4['az']['getPluralForm']=_0x2e0043;})(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':_0x49ef66=>_0x49ef66%0xa==0x1&&_0x49ef66%0x64!=0xb?0x0:_0x49ef66%0xa>=0x2&&_0x49ef66%0xa<=0x4&&(_0x49ef66%0x64<0xa||_0x49ef66%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':_0x15a16c=>_0x15a16c%0xa==0x1&&_0x15a16c%0x64!=0xb?0x0:_0x15a16c%0xa>=0x2&&_0x15a16c%0xa<=0x4&&(_0x15a16c%0x64<0xa||_0x15a16c%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x35e708=>{const {be:{dictionary:_0x3ef14f,getPluralForm:_0x43e062}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1295ea=>_0x1295ea%0xa==0x1&&_0x1295ea%0x64!=0xb?0x0:_0x1295ea%0xa>=0x2&&_0x1295ea%0xa<=0x4&&(_0x1295ea%0x64<0xa||_0x1295ea%0x64>=0x14)?0x1:0x2}};_0x35e708['be']||={'dictionary':{},'getPluralForm':null},_0x35e708['be']['dictionary']=Object['assign'](_0x35e708['be']['dictionary'],_0x3ef14f),_0x35e708['be']['getPluralForm']=_0x43e062;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2535a9=>{const {be:{dictionary:_0x2bc20f,getPluralForm:_0x106e22}}={'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':_0x293817=>_0x293817%0xa==0x1&&_0x293817%0x64!=0xb?0x0:_0x293817%0xa>=0x2&&_0x293817%0xa<=0x4&&(_0x293817%0x64<0xa||_0x293817%0x64>=0x14)?0x1:0x2}};_0x2535a9['be']||={'dictionary':{},'getPluralForm':null},_0x2535a9['be']['dictionary']=Object['assign'](_0x2535a9['be']['dictionary'],_0x2bc20f),_0x2535a9['be']['getPluralForm']=_0x106e22;})(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':_0xb6309e=>0x1!=_0xb6309e}};
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':_0x6fc3b=>0x1!=_0x6fc3b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1a582d=>{const {bg:{dictionary:_0x1e77c7,getPluralForm:_0x581ea9}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x11e030=>0x1!=_0x11e030}};_0x1a582d['bg']||={'dictionary':{},'getPluralForm':null},_0x1a582d['bg']['dictionary']=Object['assign'](_0x1a582d['bg']['dictionary'],_0x1e77c7),_0x1a582d['bg']['getPluralForm']=_0x581ea9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x427d63=>{const {bg:{dictionary:_0x507bc0,getPluralForm:_0x965c5a}}={'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':_0x2a42fb=>0x1!=_0x2a42fb}};_0x427d63['bg']||={'dictionary':{},'getPluralForm':null},_0x427d63['bg']['dictionary']=Object['assign'](_0x427d63['bg']['dictionary'],_0x507bc0),_0x427d63['bg']['getPluralForm']=_0x965c5a;})(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':_0x50467c=>0x1!=_0x50467c}};
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':_0x3bf09d=>0x1!=_0x3bf09d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1adc0d=>{const {bn:{dictionary:_0x213821,getPluralForm:_0x14adb9}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x1c87a1=>0x1!=_0x1c87a1}};_0x1adc0d['bn']||={'dictionary':{},'getPluralForm':null},_0x1adc0d['bn']['dictionary']=Object['assign'](_0x1adc0d['bn']['dictionary'],_0x213821),_0x1adc0d['bn']['getPluralForm']=_0x14adb9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x536634=>{const {bn:{dictionary:_0x445d2c,getPluralForm:_0x49e0e5}}={'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':_0x1a59a4=>0x1!=_0x1a59a4}};_0x536634['bn']||={'dictionary':{},'getPluralForm':null},_0x536634['bn']['dictionary']=Object['assign'](_0x536634['bn']['dictionary'],_0x445d2c),_0x536634['bn']['getPluralForm']=_0x49e0e5;})(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':_0x185168=>_0x185168%0xa==0x1&&_0x185168%0x64!=0xb?0x0:_0x185168%0xa>=0x2&&_0x185168%0xa<=0x4&&(_0x185168%0x64<0xa||_0x185168%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':_0x41a028=>_0x41a028%0xa==0x1&&_0x41a028%0x64!=0xb?0x0:_0x41a028%0xa>=0x2&&_0x41a028%0xa<=0x4&&(_0x41a028%0x64<0xa||_0x41a028%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x23c6ee=>{const {bs:{dictionary:_0x429367,getPluralForm:_0x17932f}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x633786=>_0x633786%0xa==0x1&&_0x633786%0x64!=0xb?0x0:_0x633786%0xa>=0x2&&_0x633786%0xa<=0x4&&(_0x633786%0x64<0xa||_0x633786%0x64>=0x14)?0x1:0x2}};_0x23c6ee['bs']||={'dictionary':{},'getPluralForm':null},_0x23c6ee['bs']['dictionary']=Object['assign'](_0x23c6ee['bs']['dictionary'],_0x429367),_0x23c6ee['bs']['getPluralForm']=_0x17932f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x57a692=>{const {bs:{dictionary:_0x58930f,getPluralForm:_0x201c05}}={'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':_0x117d75=>_0x117d75%0xa==0x1&&_0x117d75%0x64!=0xb?0x0:_0x117d75%0xa>=0x2&&_0x117d75%0xa<=0x4&&(_0x117d75%0x64<0xa||_0x117d75%0x64>=0x14)?0x1:0x2}};_0x57a692['bs']||={'dictionary':{},'getPluralForm':null},_0x57a692['bs']['dictionary']=Object['assign'](_0x57a692['bs']['dictionary'],_0x58930f),_0x57a692['bs']['getPluralForm']=_0x201c05;})(window['CKEDITOR_TRANSLATIONS']||={});