@ckeditor/ckeditor5-uploadcare 47.5.0-alpha.5 → 47.5.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 _0x423546,Command as _0x4b357f}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x9431e0,IconGooglePhotos as _0x3460c2,IconGoogleDrive as _0xf50468,IconFacebook as _0x2a6740,IconDropbox as _0x207736,IconUploadcareLink as _0x379342,IconUploadcareImageUpload as _0x1e6fb8,IconError as _0x8b8870,IconUploadcareImageEdit as _0x248221}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3e4e72,MenuBarMenuListItemButtonView as _0x181390,View as _0x4a380d,FocusCycler as _0x2173b1,Dialog as _0x1f1fd4,DialogViewPosition as _0x2d28de,SpinnerView as _0x2b435d,IconView as _0x408ca9,Notification as _0x1b9691}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3de616,DomEmitterMixin as _0x1da1f2,global as _0x2ba0ee,getAncestors as _0x3adc70,ObservableMixin as _0x5a2a98,uid as _0x33b46b,createElement as _0x26271f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x236895}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5ce5e3,info as _0x595927}from'@uploadcare/upload-client';import*as _0x5eff54 from'@uploadcare/file-uploader';var i=function(_0x55d40f){return _0x55d40f['Local']='local',_0x55d40f['URL']='url',_0x55d40f['Dropbox']='dropbox',_0x55d40f['GDrive']='gdrive',_0x55d40f['Facebook']='facebook',_0x55d40f['GPhotos']='gphotos',_0x55d40f['OneDrive']='onedrive',_0x55d40f;}({});function _(_0x275080,_0x575a24,_0x2b7f4e){const t=_0x275080['t'],_0x44a044=_0x275080['t'];switch(_0x575a24){case i['Local']:return{'text':_0x44a044('Insert'===_0x2b7f4e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x44a044('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2b7f4e?_0x44a044('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x44a044('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x575a24;}}class e extends _0x423546{['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 _0x453684=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d4cd7;for(const _0x4df75e in _0x453684){const _0x4eeaca=_0x4df75e,_0x54967f=_0x453684[_0x4eeaca];if('uploadcareLicenseKeyValid'==_0x54967f||'uploadcareLicenseKeyInvalid'==_0x54967f||'uploadcareLicenseKeyExpired'==_0x54967f||'uploadcareLicenseKeyDomainLimit'==_0x54967f||'uploadcareLicenseKeyNotAllowed'==_0x54967f||'uploadcareLicenseKeyEvaluationLimit'==_0x54967f||'uploadcareLicenseKeyUsageLimit'==_0x54967f){delete _0x453684[_0x4eeaca],_0x1d4cd7=_0x54967f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1d4cd7&&_0x453684['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1d4cd7&&_0x453684['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1d4cd7&&_0x453684['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1d4cd7&&_0x453684['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1d4cd7&&_0x453684['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1d4cd7&&_0x453684['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xf8f377}=this,_0x5ea223=_0xf8f377['commands']['get']('uploadcare');if(!_0x5ea223)return;const _0x1a32d9=this['_normalizeConfigSourceList'](_0xf8f377['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x155e92,_0x2f6220)=>{const _0x1b9fe0=this['_getIntegrationKey'](_0x2f6220['type']);return _0x155e92[_0x1b9fe0]||(_0x155e92[_0x1b9fe0]=[]),_0x155e92[_0x1b9fe0]['push'](_0x2f6220),_0x155e92;},{});_0xf8f377['plugins']['has']('ImageInsertUI')&&_0xf8f377['commands']['get']('uploadcare')&&Object['entries'](_0x1a32d9)['forEach'](([_0x16875d,_0x1206af])=>{_0xf8f377['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x16875d,'observable':()=>_0x5ea223,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1206af),'formViewCreator':()=>this['_createDropdownButtons'](_0x1206af),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1206af),'override':'assetManager'!==_0x16875d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xd026ba){const {locale:_0x43b93a}=this['editor'];return _0xd026ba['map'](_0x355ff4=>{const _0x250811=_(_0x43b93a,_0x355ff4,'Insert');switch(_0x355ff4){case i['Local']:return{'icon':_0x1e6fb8,'type':i['Local'],..._0x250811};case i['URL']:return{'icon':_0x379342,'type':i['URL'],..._0x250811};case i['Dropbox']:return{'icon':_0x207736,'type':i['Dropbox'],..._0x250811};case i['Facebook']:return{'icon':_0x2a6740,'type':i['Facebook'],..._0x250811};case i['GDrive']:return{'icon':_0xf50468,'type':i['GDrive'],..._0x250811};case i['GPhotos']:return{'icon':_0x3460c2,'type':i['GPhotos'],..._0x250811};case i['OneDrive']:return{'icon':_0x9431e0,'type':i['OneDrive'],..._0x250811};}});}['_getIntegrationKey'](_0x276092){switch(_0x276092){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x52f65e,_0x38a0e6){const _0x552932=this['editor'],_0xd2803=new _0x52f65e(_0x552932['locale']),_0x409bb7=_0x552932['commands']['get']('uploadcare');return _0xd2803['bind']('isEnabled')['to'](_0x409bb7),_0xd2803['on']('execute',()=>{_0x409bb7['execute'](_0x38a0e6);}),_0xd2803;}['_createToolbarButton'](_0x4e1760){const {locale:_0x170ddd}=this['editor'],_0x2b0887=this['editor']['plugins']['get']('ImageInsertUI'),_0x49cc56=_0x4e1760[0x0],_0x2e6d73=this['_createButton'](_0x3e4e72,_0x49cc56['type']);return _0x2e6d73['icon']=_0x49cc56['icon'],_0x2e6d73['bind']('label')['to'](_0x2b0887,'isImageSelected',_0x3c9f7c=>_(_0x170ddd,_0x49cc56['type'],_0x3c9f7c?'Replace':'Insert')['text']),_0x2e6d73['tooltip']=!0x0,_0x2e6d73;}['_createDropdownButtons'](_0x51a38e){const {locale:_0x50ca04}=this['editor'],_0x3537e0=this['editor']['plugins']['get']('ImageInsertUI');return _0x51a38e['map'](_0x510d7f=>{const _0xb0c550=this['_createButton'](_0x3e4e72,_0x510d7f['type']);return _0xb0c550['withText']=!0x0,_0xb0c550['icon']=_0x510d7f['icon'],_0xb0c550['bind']('label')['to'](_0x3537e0,'isImageSelected',_0x1325b0=>_(_0x50ca04,_0x510d7f['type'],_0x1325b0?'Replace':'Insert')['text']),_0xb0c550;});}['_createMenuBarButtons'](_0x755a57){return _0x755a57['map'](_0x19bc8b=>{const _0x51dca7=this['_createButton'](_0x181390,_0x19bc8b['type']);return _0x51dca7['icon']=_0x19bc8b['icon'],_0x51dca7['label']=_0x19bc8b['shortText'],_0x51dca7;});}}class F extends _0x4a380d{['focusTracker'];['focusCycler'];constructor(_0x1c2659){super(_0x1c2659),this['focusTracker']=new _0x3de616(),this['focusCycler']=new _0x2173b1({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0xcdbf4b,_0x43677a){super(_0xcdbf4b),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-'+_0x43677a}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x25911a,_0x15ab43){const _0x2a8afa=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3a995f=>_0x3a995f<=_0x15ab43)['map'](_0xd2f7ae=>_0x25911a['replace'](/\/$/,'')+'/-/resize/'+_0xd2f7ae+'x/\x20'+_0xd2f7ae+'w');return{'imageFallbackUrl':_0x25911a,'imageSources':[{'srcset':_0x2a8afa['join'](',\x20'),'sizes':'(max-width:\x20'+_0x15ab43+'px)\x20100vw,\x20'+_0x15ab43+'px','type':'image/webp'}]};}function S(_0x3693d7,_0x1ab8a7,_0xda8795){const _0x1df50b=_0x3693d7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1df50b?parseInt(_0x1df50b[0x1],0xa):_0x1ab8a7,'height':_0x1df50b?parseInt(_0x1df50b[0x2],0xa):_0xda8795};}function p(_0x2656f9,_0x199586){const _0x4d8c46=new(_0x1da1f2())(),_0x544832=_0x2656f9['plugins']['get']('ImageUtils'),_0x5dd5fa=_0x2656f9['editing']['mapper']['toViewElement'](_0x199586),_0x1852b7=_0x544832['findViewImgElement'](_0x5dd5fa),_0x310cc3=_0x2656f9['editing']['view']['domConverter']['viewToDom'](_0x1852b7),_0x1cc7da=_0x199586['getAttribute']('width'),_0x1b2fcc=_0x199586['getAttribute']('height'),_0xfe196a='image-processing';_0x2656f9['editing']['view']['change'](_0x1850d1=>{_0x1850d1['addClass'](_0xfe196a,_0x5dd5fa),_0x1850d1['setStyle']('aspect-ratio',_0x1cc7da+'/'+_0x1b2fcc,_0x1852b7);}),_0x4d8c46['listenTo'](_0x310cc3,'load',()=>{_0x4d8c46['stopListening'](_0x310cc3,'load'),_0x2656f9['editing']['view']['change'](_0x5707de=>{_0x5707de['removeClass'](_0xfe196a,_0x5dd5fa),_0x5707de['removeStyle']('aspect-ratio',_0x1852b7);});});}function G(_0x9d4559){if(Array['isArray'](_0x9d4559)){const _0x3ed449=_0x9d4559['map'](G);return _0x4d9dda=>_0x3ed449['some'](_0x481add=>_0x481add(_0x4d9dda));}if('origin'==_0x9d4559){const _0x15a92f=_0x2ba0ee['window']['location']['origin'];return _0x5edaf7=>new URL(_0x5edaf7,_0x2ba0ee['document']['baseURI'])['origin']==_0x15a92f;}return'function'==typeof _0x9d4559?_0x9d4559:_0x9d4559 instanceof RegExp?_0x4a1838=>!(!_0x4a1838['match'](_0x9d4559)&&!_0x4a1838['replace'](/^https?:\/\//,'')['match'](_0x9d4559)):()=>!0x1;}function A(_0x2aa24c,_0x268f37){return _0x3adc70(_0x2aa24c['target'])['includes'](_0x268f37);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5a2a98(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x247fc1,_0x4f6771,_0x1c18f5){super(),this['_editor']=_0x247fc1,this['_editing']=_0x4f6771,this['_dialog']=_0x247fc1['plugins']['get'](_0x1f1fd4),this['_api']=_0x4f6771['ctxElement']['getAPI'](),this['_type']=_0x1c18f5,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:_0x4a4cd5,model:_0x2f5129}=this['_editor'],_0x5cc80d=_0x2f5129['document']['selection']['getSelectedElement'](),_0x5053c2=_0x5cc80d&&(_0x5cc80d['is']('element','imageBlock')||_0x5cc80d['is']('element','imageInline'));this['_formView']=new x(_0x4a4cd5,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1e6fb8,'title':_(_0x4a4cd5,this['_type'],_0x5053c2?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2d28de['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3d97c6=>!A(_0x3d97c6,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x431e58}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5bf8d4=>{const _0x41f7c7=_0x431e58['length'];for(const _0x216827 of _0x431e58){const _0x1fefd9=_0x216827===_0x431e58[_0x41f7c7-0x1],{cdnUrl:_0x56ed4b,fileInfo:_0x1504f5}=_0x216827;if(!_0x56ed4b||!_0x1504f5)continue;const {width:_0x1a2209,height:_0x20644e}=_0x1504f5['imageInfo'],_0x177a18=S(_0x56ed4b,_0x1a2209,_0x20644e),_0x3e81fd=C(_0x56ed4b,_0x177a18['width']),_0x506aeb={'id':_0x1504f5['uuid'],'type':'image','attributes':{'imageDimension':_0x177a18,..._0x3e81fd}};this['_insertAsset'](_0x506aeb,_0x1fefd9,_0x5bf8d4);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3739c1=>{'idle'===_0x3739c1['detail']['status']&&!_0x3739c1['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xc9c8ac,_0x79f8bc,_0x3c4cf1){const _0x20c208=this['_editor']['model']['document']['selection'],_0x4ae65d=_0x20c208['getSelectedElement'](),_0x169b0a=!(!_0x4ae65d||!_0x4ae65d['is']('element','imageInline'));_0x3c4cf1['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xc9c8ac,_0x169b0a),_0x79f8bc||_0x3c4cf1['setSelection'](_0x20c208['getLastPosition']());}['_insertImage'](_0x26e1f1,_0x230233){const _0x42ae40=this['_editor'],{imageDimension:_0x5395a5,imageFallbackUrl:_0x4e4c0c,imageSources:_0x48163f}=_0x26e1f1['attributes'];_0x42ae40['execute']('insertImage',{'imageType':_0x230233?'imageInline':null,'source':{'uploadcareImageId':_0x26e1f1['id'],'src':_0x4e4c0c,'sources':_0x48163f,..._0x5395a5}});}}class w extends _0x4b357f{['_editing'];['_controller']=null;static get['requires'](){return[_0x1f1fd4,o];}constructor(_0x424e5c){super(_0x424e5c),this['_editing']=_0x424e5c['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4f444b){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4f444b);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x52d9ad,..._0x32bde1}){return _0x5ce5e3(_0x52d9ad,_0x32bde1);}static['getInfo'](_0x42f5ea,_0x28ee9d){return _0x595927(_0x42f5ea,_0x28ee9d);}}class f extends _0x423546{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x236895,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2e5e48=this['editor'];if(!!!_0x2e5e48['config']['get']('uploadcare'))return;_0x2e5e48['plugins']['get'](_0x236895)['createUploadAdapter']=_0x348dd5=>new k(_0x348dd5,_0x2e5e48),_0x2e5e48['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xd04f2a,{imageElement:_0x2d307d,data:_0x4520ac})=>{_0x2e5e48['model']['change'](_0x304636=>{_0x304636['setAttribute']('uploadcareImageId',_0x4520ac['uploadcareImageId'],_0x2d307d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x386588,_0x2be2f1){this['loader']=_0x386588,this['editor']=_0x2be2f1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x137573=await this['loader']['file'];return j['upload']({'file':_0x137573,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x321f66=>{_0x321f66&&_0x321f66['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x321f66['value']);}})['then'](async _0x38f84b=>{const {imageFallbackUrl:_0x185d77,imageSources:_0x12a111}=C(_0x38f84b['cdnUrl'],_0x38f84b['imageInfo']['width']);return{'uploadcareImageId':_0x38f84b['uuid'],'default':_0x185d77,'sources':_0x12a111};})['catch'](()=>{const _0x52b5ab=t('Cannot\x20upload\x20file:')+('\x20'+_0x137573['name']+'.');return Promise['reject'](_0x52b5ab);});}['abort'](){this['controller']['abort']();}}class o extends _0x423546{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1f1fd4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x595ca6){super(_0x595ca6),this['ucContextId']=_0x33b46b();}['init'](){const _0x4035ce=this['editor'];_0x4035ce['commands']['add']('uploadcare',new w(_0x4035ce));}['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 _0x4fa01f=_0x2ba0ee['document']['querySelector']('input[uploadcare-file-input]');_0x4fa01f&&_0x4fa01f['remove']();}),async function(_0x338d42){const _0x545409=_0x3547ae([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x52babd=0x535f8c3a,_0x42b915=0x53580d02^_0x52babd,_0x2b69bf=window[_0x3547ae([0x44,0x61,0x74,0x65])][_0x3547ae([0x6e,0x6f,0x77])](),_0x3c9e7f=_0x338d42[_0x3547ae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb67b5=new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18205f=>{_0x3c9e7f[_0x3547ae([0x6f,0x6e,0x63,0x65])](_0x3547ae([0x72,0x65,0x61,0x64,0x79]),_0x18205f);}),_0x162b7a={[_0x3547ae([0x6b,0x74,0x79])]:_0x3547ae([0x45,0x43]),[_0x3547ae([0x75,0x73,0x65])]:_0x3547ae([0x73,0x69,0x67]),[_0x3547ae([0x63,0x72,0x76])]:_0x3547ae([0x50,0x2d,0x32,0x35,0x36]),[_0x3547ae([0x78])]:_0x3547ae([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]),[_0x3547ae([0x79])]:_0x3547ae([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]),[_0x3547ae([0x61,0x6c,0x67])]:_0x3547ae([0x45,0x53,0x32,0x35,0x36])},_0x53352a=_0x3c9e7f[_0x3547ae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3547ae([0x67,0x65,0x74])](_0x3547ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52832a(){let _0x535600,_0x50bba2=null,_0x17df1e=null;try{if(_0x53352a==_0x3547ae([0x47,0x50,0x4c]))return _0x3547ae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x535600=_0x120149(),!_0x535600)return _0x3547ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x535600[_0x3547ae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17df1e=_0x5ed0f8(_0x535600[_0x3547ae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x535600[_0x3547ae([0x6a,0x74,0x69])])),await _0x312c2c()?_0x40d018()?_0x445614()?_0x3547ae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a9815()?(_0x535600[_0x3547ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3547ae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50bba2=_0x1d21b5(_0x3547ae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdafe1d()):_0x3547ae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3547ae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3547ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3547ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x445614(){const _0x565bf8=[_0x3547ae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3547ae([0x74,0x72,0x69,0x61,0x6c])][_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x535600[_0x3547ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b69bf/0x3e8:0xe10*_0x42b915;return _0x535600[_0x3547ae([0x65,0x78,0x70])]<_0x565bf8;}function _0x40d018(){const _0x10f1c1=_0x535600[_0x3547ae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10f1c1&&(!!_0x10f1c1[_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3547ae([0x2a]))||!!_0x10f1c1[_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3547ae([0x55,0x50,0x4c,0x43])));}function _0x5a9815(){const _0x2e6fc5=_0x535600[_0x3547ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e6fc5||0x0==_0x2e6fc5[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ebafc}=new URL(window[_0x3547ae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2e6fc5[_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ebafc))return!0x0;const _0x216630=_0x5ebafc[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])](_0x3547ae([0x2e]));return _0x2e6fc5[_0x3547ae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52f804=>_0x52f804[_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3547ae([0x2a])))[_0x3547ae([0x6d,0x61,0x70])](_0x1f9545=>_0x1f9545[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])](_0x3547ae([0x2e])))[_0x3547ae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44ff13=>_0x44ff13[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x216630[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3547ae([0x6d,0x61,0x70])](_0x247734=>Array(_0x216630[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x247734[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3547ae([0x66,0x69,0x6c,0x6c])](_0x247734[0x0]===_0x3547ae([0x2a])?_0x3547ae([0x2a]):'')[_0x3547ae([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x247734))[_0x3547ae([0x73,0x6f,0x6d,0x65])](_0x18e734=>_0x216630[_0x3547ae([0x65,0x76,0x65,0x72,0x79])]((_0x196e84,_0x36ea11)=>_0x18e734[_0x36ea11]===_0x196e84||_0x18e734[_0x36ea11]===_0x3547ae([0x2a])));}function _0xdafe1d(){return _0x50bba2&&_0x17df1e?new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d5d48,_0x5ed3d1)=>{_0x50bba2[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x2d5d48,_0x5ed3d1),_0x17df1e[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x246f73=>{_0x246f73!=_0x3547ae([0x56,0x61,0x6c,0x69,0x64])&&_0x2d5d48(_0x246f73);},_0x5ed3d1);}):_0x50bba2||_0x17df1e||_0x3547ae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ed0f8(_0x2ba547,_0x33ec56){return new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27f70c=>{if(_0x1dd283())return _0x27f70c(_0x3547ae([0x56,0x61,0x6c,0x69,0x64]));_0x2b65d4(),_0x3c9e7f[_0x3547ae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3547ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x379227=!0x1;const _0x31d5c=_0x33b46b();function _0x471531(_0x204ee1){return!!_0x204ee1&&(typeof _0x204ee1===_0x3547ae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x204ee1===_0x3547ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x204ee1[_0x3547ae([0x74,0x68,0x65,0x6e])]===_0x3547ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x204ee1[_0x3547ae([0x63,0x61,0x74,0x63,0x68])]===_0x3547ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1eca66(_0x772d65){_0x39ec48(_0x772d65)[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x3cd004=>{if(!_0x3cd004||_0x3cd004[_0x3547ae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3547ae([0x6f,0x6b]))return _0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3be01b(_0x100944(_0x31d5c+_0x33ec56))!=_0x3cd004[_0x3547ae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3547ae([0x56,0x61,0x6c,0x69,0x64]);})[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x2a4185=>(_0x1c50d0(),_0x2a4185),()=>{const _0x5ee602=_0x360a83();return null==_0x5ee602?(_0x1c50d0(),_0x3547ae([0x56,0x61,0x6c,0x69,0x64])):_0x3547ae(_0x2b69bf-_0x5ee602>(0x7753083a^_0x52babd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x27f70c)[_0x3547ae([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27f70c(_0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5926da=0x536962ba^_0x52babd;function _0x1c50d0(){const _0x5918a7=_0x3547ae([0x6c,0x6c,0x63,0x74,0x2d])+_0x3be01b(_0x100944(_0x2ba547)),_0x57e75a=_0xf45ee2(_0x3be01b(window[_0x3547ae([0x4d,0x61,0x74,0x68])][_0x3547ae([0x63,0x65,0x69,0x6c])](_0x2b69bf/_0x5926da)));window[_0x3547ae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3547ae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5918a7,_0x57e75a);}function _0x360a83(){const _0x3c41e1=_0x3547ae([0x6c,0x6c,0x63,0x74,0x2d])+_0x3be01b(_0x100944(_0x2ba547)),_0xfa8c2d=window[_0x3547ae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3547ae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c41e1);return _0xfa8c2d?window[_0x3547ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf45ee2(_0xfa8c2d),0x10)*_0x5926da:null;}function _0x39ec48(_0x47736b){return new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3acdae,_0x382d2f)=>{_0x47736b[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x3acdae,_0x382d2f),window[_0x3547ae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x382d2f,0x535e58fa^_0x52babd);});}}_0x3c9e7f[_0x3547ae([0x6f,0x6e])](_0x3547ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c17d0,_0x28f2b2)=>{if(_0x28f2b2[0x0]!=_0x2ba547)return _0x27f70c(_0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28f2b2[0x1]={..._0x28f2b2[0x1],[_0x3547ae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31d5c};},{[_0x3547ae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3547ae([0x68,0x69,0x67,0x68])}),_0x3c9e7f[_0x3547ae([0x6f,0x6e])](_0x3547ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5642d1=>{_0x471531(_0x5642d1[_0x3547ae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x379227=!0x0,_0x1eca66(_0x5642d1[_0x3547ae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3547ae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3547ae([0x6c,0x6f,0x77])}),_0xb67b5[_0x3547ae([0x74,0x68,0x65,0x6e])](()=>{_0x379227||_0x27f70c(_0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1dd283(){return _0x3c9e7f[_0x3547ae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3547ae([0x76,0x69,0x65,0x77])][_0x3547ae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3547ae([0x61,0x75,0x74,0x6f]);}function _0x2b65d4(){_0x3c9e7f[_0x3547ae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3547ae([0x76,0x69,0x65,0x77])][_0x3547ae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3547ae([0x61,0x75,0x74,0x6f]);}}function _0x1d21b5(_0x3628a1){const _0x274b90=[new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39ab97=>setTimeout(_0x39ab97,0x5356b2f6^_0x52babd)),_0xb67b5[_0x3547ae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b8da1=>{let _0x2028df=0x0;_0x3c9e7f[_0x3547ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x3547ae([0x6f,0x6e])](_0x3547ae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x220ea1,_0x4cbea3)=>{_0x4cbea3[0x0][_0x3547ae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2028df++,_0x2028df==(0x535f89d2^_0x52babd)&&(_0x1b8da1(),_0x220ea1[_0x3547ae([0x6f,0x66,0x66])]());});}))];return window[_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3547ae([0x72,0x61,0x63,0x65])](_0x274b90)[_0x3547ae([0x74,0x68,0x65,0x6e])](()=>_0x3628a1);}async function _0x3aecfd(){await _0xb67b5,_0x3c9e7f[_0x3547ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x3547ae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1920ff,_0x3c9e7f[_0x3547ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x3547ae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1920ff,_0x3c9e7f[_0x3547ae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3547ae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x98b640(_0x43b065){const _0x18d8a8=_0x357fd0();_0x3c9e7f[_0x18d8a8]=_0x3547ae([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43b065,_0x43b065!=_0x3547ae([0x56,0x61,0x6c,0x69,0x64])&&_0x3aecfd();}function _0x357fd0(){const _0x5896ea=window[_0x3547ae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3547ae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3547ae([0x6e,0x6f,0x77])]())[_0x3547ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3547ae([0x2e]),'');let _0x5937ab=_0x3547ae([0x68]);for(let _0x16c7aa=0x0;_0x16c7aa<_0x5896ea[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16c7aa+=0x2){let _0x482888=window[_0x3547ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5896ea[_0x3547ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16c7aa,_0x16c7aa+0x2));_0x482888>=_0x545409[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x482888-=_0x545409[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5937ab+=_0x545409[_0x482888];}return _0x5937ab;}function _0x120149(){const _0x5b6e70=_0x53352a[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])](_0x3547ae([0x2e]));if(0x3!=_0x5b6e70[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b475f(_0x5b6e70[0x1]);function _0x4b475f(_0x2fb026){const _0x419a0c=_0x43baed(_0x2fb026);return _0x419a0c&&_0x554eb6()?_0x419a0c:null;function _0x554eb6(){const _0x475fdd=_0x419a0c[_0x3547ae([0x6a,0x74,0x69])],_0x30ecf7=window[_0x3547ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x475fdd[_0x3547ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x475fdd[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x135620={..._0x419a0c,[_0x3547ae([0x6a,0x74,0x69])]:_0x475fdd[_0x3547ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x475fdd[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x135620[_0x3547ae([0x76,0x63])],_0x100944(_0x135620)==_0x30ecf7;}}}async function _0x312c2c(){let _0x294c7f=!0x0;try{const _0x54b087=_0x53352a[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])](_0x3547ae([0x2e])),[_0x28469c,_0x38ca2c,_0x2656a4]=_0x54b087;return _0x3a6a46(_0x28469c),await _0x35e5f3(_0x28469c,_0x38ca2c,_0x2656a4),_0x294c7f;}catch{return!0x1;}function _0x3a6a46(_0x2682e0){const _0x479d6c=_0x43baed(_0x2682e0);_0x479d6c&&_0x479d6c[_0x3547ae([0x61,0x6c,0x67])]==_0x3547ae([0x45,0x53,0x32,0x35,0x36])||(_0x294c7f=!0x1);}async function _0x35e5f3(_0x53942e,_0x2c5a0e,_0x5e98c9){const _0x6cc790=window[_0x3547ae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3547ae([0x66,0x72,0x6f,0x6d])](_0x43e180(_0x5e98c9),_0x2c7f37=>_0x2c7f37[_0x3547ae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1eeb54=new window[(_0x3547ae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3547ae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53942e+_0x3547ae([0x2e])+_0x2c5a0e),_0x1f1cde=window[_0x3547ae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3547ae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f1cde)return;const _0x5ac52b=await _0x1f1cde[_0x3547ae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3547ae([0x6a,0x77,0x6b]),_0x162b7a,{[_0x3547ae([0x6e,0x61,0x6d,0x65])]:_0x3547ae([0x45,0x43,0x44,0x53,0x41]),[_0x3547ae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3547ae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3547ae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f1cde[_0x3547ae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3547ae([0x6e,0x61,0x6d,0x65])]:_0x3547ae([0x45,0x43,0x44,0x53,0x41]),[_0x3547ae([0x68,0x61,0x73,0x68])]:{[_0x3547ae([0x6e,0x61,0x6d,0x65])]:_0x3547ae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ac52b,_0x6cc790,_0x1eeb54)||(_0x294c7f=!0x1);}}function _0x43baed(_0x251069){return _0x251069[_0x3547ae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3547ae([0x65,0x79]))?JSON[_0x3547ae([0x70,0x61,0x72,0x73,0x65])](_0x43e180(_0x251069)):null;}function _0x43e180(_0x15bd92){return window[_0x3547ae([0x61,0x74,0x6f,0x62])](_0x15bd92[_0x3547ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3547ae([0x2b]))[_0x3547ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3547ae([0x2f])));}function _0x100944(_0x8ed877){let _0x16da16=0x1505;function _0x2fbfc4(_0xca3a3b){for(let _0x5baec7=0x0;_0x5baec7<_0xca3a3b[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5baec7++){const _0x4b9e80=_0xca3a3b[_0x3547ae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5baec7);_0x16da16=(_0x16da16<<0x5)+_0x16da16+_0x4b9e80,_0x16da16&=_0x16da16;}}function _0x2cb596(_0x456c4d){Array[_0x3547ae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x456c4d)?_0x456c4d[_0x3547ae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2cb596):_0x456c4d&&typeof _0x456c4d==_0x3547ae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3547ae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x456c4d)[_0x3547ae([0x73,0x6f,0x72,0x74])]()[_0x3547ae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25fa96,_0x59aed3])=>{_0x2fbfc4(_0x25fa96),_0x2cb596(_0x59aed3);}):_0x2fbfc4(window[_0x3547ae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x456c4d));}return _0x2cb596(_0x8ed877),_0x16da16>>>0x0;}function _0x3be01b(_0x3646fc){return _0x3646fc[_0x3547ae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3547ae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3547ae([0x30]));}function _0xf45ee2(_0x22c9af){return _0x22c9af[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3547ae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3547ae([0x6a,0x6f,0x69,0x6e])]('');}function _0x1920ff(){}function _0x3547ae(_0x1410ce){return _0x1410ce['map'](_0x3fcab2=>String['fromCharCode'](_0x3fcab2))['join']('');}_0x98b640(await _0x52832a());}(this);}['_initSchema'](){const _0xda62d9=this['editor']['model']['schema'];_0xda62d9['isRegistered']('imageBlock')&&_0xda62d9['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xda62d9['isRegistered']('imageInline')&&_0xda62d9['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1ba710=this['editor'];_0x1ba710['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1ba710['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1503ba=>_0x1503ba['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1bf285=_0x1ba710['commands']['get']('replaceImageSource');_0x1bf285&&this['listenTo'](_0x1bf285,'cleanupImage',(_0x5b211a,[_0x453f10,_0x2b97d6])=>{_0x453f10['removeAttribute']('uploadcareImageId',_0x2b97d6);});}['_initConfig'](){const _0x212e17=this['editor']['config']['get']('uploadcare.uploader')||{},_0x37ce15=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x26271f(_0x2ba0ee['document'],'uc-config',{..._0x212e17,'pubkey':_0x37ce15,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x4814b1=>{if('closeMax'==_0x4814b1)return'#uc-icon-arrow-down';},_0x2ba0ee['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x26271f(_0x2ba0ee['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2ba0ee['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4dcc57=this['editor']['commands']['get']('insertImage');_0x4dcc57&&this['listenTo'](_0x4dcc57,'execute',()=>{const _0x3d6e69=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d6e69&&_0x3d6e69['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3d6e69);});});const _0x29a2de=this['editor']['commands']['get']('uploadcareImageReplace');_0x29a2de&&this['listenTo'](_0x29a2de,'execute',()=>{const _0x1b1d89=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1b1d89&&_0x1b1d89['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1b1d89);});});}}class tt extends _0x423546{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x238a43){super(_0x238a43),_0x238a43['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5eff54['defineComponents'](_0x5eff54),this['_defineLocale']();}['_defineLocale'](){const _0x241279=this['editor']['config']['get']('uploadcare.locale'),_0x4c464b=this['editor']['locale']['contentLanguage'];_0x241279&&_0x5eff54['defineLocale'](_0x4c464b,_0x241279);}}class ii extends _0x4a380d{constructor(_0x230d78){super(_0x230d78);const t=_0x230d78['t'],_0x246c40=this['bindTemplate'],_0x4681cc=new _0x2b435d();_0x4681cc['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':[_0x4681cc,{'text':_0x246c40['to']('imageUploadProgress',_0x8957c8=>t('Loading\x20image...')+'\x20('+(_0x8957c8||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x4a380d{constructor(_0x1dd6ef){super(_0x1dd6ef);const t=_0x1dd6ef['t'];this['set']('errorType',null);const _0x52de20=new _0x3e4e72(_0x1dd6ef);_0x52de20['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x52de20['withText']=!0x0,_0x52de20['class']='ck-button-action',_0x52de20['on']('execute',()=>{this['fire']('retry');}),_0x52de20['bind']('isVisible')['to'](this,'errorType',_0x441c33=>'NotFound'!==_0x441c33);const _0x1b89f8=new _0x408ca9();_0x1b89f8['content']=_0x8b8870,_0x1b89f8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3f64a5=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':[_0x1b89f8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3f64a5['to']('errorType',_0x50fe1a=>t('NotFound'!==_0x50fe1a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x52de20]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x4a380d{constructor(_0x568471,_0x1efed9){super(_0x568471);const _0x4d747f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1efed9,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4d747f['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x49c1f2,_0x398101,_0x56c6d0){super(_0x49c1f2),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x49c1f2),this['_errorView']=new ti(_0x49c1f2),this['_editingView']=new ei(_0x49c1f2,_0x56c6d0),this['_focusableView']=new _0x4a380d(_0x49c1f2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x398101),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'],_0x233e9e=>{this['_addUploadcareImageEditorListeners'](_0x233e9e);});}),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'](_0xc9c89,_0x570fd1){const _0x3f5d24='uc-cloud-image-editor',_0x51d43b=_0xc9c89['querySelector'](_0x3f5d24);if(_0x51d43b)return _0x570fd1(_0x51d43b);const _0x4602a4=new MutationObserver(_0x54ef3c=>{const _0x2c6860=_0x54ef3c['filter'](_0x587c1e=>_0x587c1e['target']===_0xc9c89&&_0x587c1e['addedNodes']['length']>0x0&&_0x587c1e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3f5d24);_0x2c6860['length']&&(_0x4602a4['disconnect'](),_0x570fd1(_0x2c6860[0x0]['addedNodes'][0x0]));});_0x4602a4['observe'](_0xc9c89,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4b951b){_0x4b951b['addEventListener']('apply',_0x3f710d=>{this['fire']('apply',{'imageSrc':_0x3f710d['detail']['cdnUrl']});}),_0x4b951b['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5a2a98(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x430051,_0x4a4a00,_0x488d1e){super(),this['_editor']=_0x430051,this['_dialog']=_0x4a4a00,this['_imageElement']=_0x488d1e,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 _0x28a5b4=this['_imageElement'],_0x934528=_0x28a5b4['getAttribute']('uploadcareImageId'),_0x343f9d=_0x28a5b4['getAttribute']('src');if(_0x934528)await this['_loadImageInfo'](_0x934528,_0x343f9d);else{if(this['_imageCache']['has'](_0x343f9d)){const _0x43fa6d=this['_imageCache']['get'](_0x343f9d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43fa6d['url'],this['imageDimension']=_0x43fa6d['dimension'],this['imageId']=_0x43fa6d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x59ca47}=this['_editor'],t=_0x59ca47['t'],_0x606e24=new X(_0x59ca47,this['imageStatus'],this['_attributes']);_0x606e24['bind']('status')['to'](this,'imageStatus'),_0x606e24['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x606e24['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x606e24['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x606e24,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x248221,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x606e24,'position':_0x2d28de['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x606e24['focus']();},'onHide':()=>{_0x606e24['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x235913=>!A(_0x235913,_0x606e24['element'])}});}['_loadImageInfo'](_0x10b598,_0x42314e){return j['getInfo'](_0x10b598,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4177b9=>{const {width:_0x23ef25,height:_0x5ec089}=_0x4177b9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42314e,this['imageDimension']={'width':_0x23ef25,'height':_0x5ec089},this['imageId']=_0x10b598;})['catch'](_0x205d65=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x205d65['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2468be,_0x4c8f4e){return this['_getImageAsFile'](_0x2468be)['then'](_0x46584e=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4c8f4e['signal'],'file':_0x46584e,'onProgress':_0x3674ec=>{_0x3674ec&&_0x3674ec['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3674ec['value']));}}))['then'](_0x1d10a4=>{const {width:_0x475185,height:_0x2f4a95}=_0x1d10a4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d10a4['cdnUrl'],this['imageDimension']={'width':_0x475185,'height':_0x2f4a95},this['imageId']=_0x1d10a4['uuid'],this['imageUploadProgress']=null;const _0xba5ba9=_0x2468be['getAttribute']('src');this['_imageCache']['set'](_0xba5ba9,{'id':_0x1d10a4['uuid'],'url':_0x1d10a4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2ece21=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ece21['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4301c3,_0x123c19){_0x4301c3['on']('apply',(_0x4e2c14,_0x45d210)=>{this['_replaceImage'](_0x123c19,_0x45d210['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4301c3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4301c3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x36a83b,_0x4ac535,_0xc0b717){const _0x11fc21=this['_editor'],{width:_0x297786,height:_0x555887}=S(_0x4ac535,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x59a900,imageSources:_0x691319}=C(_0x4ac535,_0x297786);_0x11fc21['model']['change'](_0xb9f453=>{if('$graveyard'===_0x36a83b['root']['rootName']){_0x11fc21['execute']('insertImage',{'imageType':_0x36a83b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x36a83b['getAttributes']()),'uploadcareImageId':_0xc0b717,'src':_0x59a900,'sources':_0x691319,'width':_0x297786,'height':_0x555887}});const _0x349a3a=_0x36a83b['getChildren']();_0x36a83b=_0x11fc21['model']['document']['selection']['getSelectedElement']();for(const _0x138bda of _0x349a3a)_0xb9f453['append'](_0xb9f453['cloneElement'](_0x138bda),_0x36a83b);}else _0xb9f453['setSelection'](_0x36a83b,'on'),_0x11fc21['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x36a83b['getAttributes']()),'uploadcareImageId':_0xc0b717,'src':_0x59a900,'sources':_0x691319,'width':_0x297786,'height':_0x555887},_0x36a83b);_0xb9f453['setSelection'](_0x36a83b,'on');});}async['_getImageAsFile'](_0x2e552c){const _0x57341f=_0x2ba0ee['window'],_0x399c=_0x2ba0ee['document']['location']['href'],_0x163dfa=new _0x57341f['URL'](_0x2e552c['getAttribute']('src'),_0x399c);if('data:'===_0x163dfa['protocol']){const _0x2f3101=_0x163dfa['href']['split'](','),_0x31dfb3=_0x2f3101[0x0]['match'](/:(.*?);/)[0x1],_0x2ec320=_0x31dfb3['split']('/')[0x1],_0x67a2a3=_0x57341f['atob'](_0x2f3101[_0x2f3101['length']-0x1]);let _0xdf4e92=_0x67a2a3['length'];const _0x2eaa39=new _0x57341f['Uint8Array'](_0xdf4e92);for(;_0xdf4e92--;)_0x2eaa39[_0xdf4e92]=_0x67a2a3['charCodeAt'](_0xdf4e92);return new _0x57341f['File']([_0x2eaa39],'image.'+_0x2ec320,{'type':_0x31dfb3});}const _0x57b6b8=_0x163dfa['href']['split']('/'),_0x57ca73=_0x57b6b8[_0x57b6b8['length']-0x1],_0x6c8963=_0x57ca73['split']('.')[0x1];return _0x57341f['fetch'](_0x163dfa['href'])['then'](_0x119d0f=>_0x119d0f['clone']()['blob']())['then'](_0x2bd675=>new _0x57341f['File']([_0x2bd675],_0x57ca73,{'type':'image/'+_0x6c8963}));}}class O extends _0x4b357f{['imageEditController'];static get['requires'](){return[_0x1f1fd4];}['_isEditable'];constructor(_0x481c0c){super(_0x481c0c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5bf9c9){const _0xf6ccd6=G(_0x5bf9c9);return _0x3aba99=>!(!_0x3aba99||!_0x3aba99['is']('element','imageBlock')&&!_0x3aba99['is']('element','imageInline'))&&(!!_0x3aba99['hasAttribute']('uploadcareImageId')||!!_0x3aba99['hasAttribute']('src')&&_0xf6ccd6(_0x3aba99['getAttribute']('src')));}(_0x481c0c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x257afe=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x257afe);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3d017c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d017c&&(_0x3d017c['is']('element','imageBlock')||_0x3d017c['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1f1fd4),_0x3d017c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4b357f{['refresh'](){const _0x34073f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x34073f&&(_0x34073f['is']('element','imageBlock')||_0x34073f['is']('element','imageInline')));}['execute'](_0x36c3b1){const _0x596e27=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x203f7a=>{_0x203f7a['setAttributes'](_0x36c3b1,_0x596e27),_0x203f7a['removeAttribute']('srcset',_0x596e27),_0x203f7a['removeAttribute']('sizes',_0x596e27);});}}class m extends _0x423546{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1b9691,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x536aad}=this;_0x536aad['commands']['add']('uploadcareImageEdit',new O(_0x536aad)),_0x536aad['commands']['add']('uploadcareImageReplace',new R(_0x536aad));}}class g extends _0x423546{['_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 _0x3682de=this['editor'];_0x3682de['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1a2bfd=>{const _0x1d570d=_0x3682de['commands']['get']('uploadcareImageEdit'),_0x48cc7b=new _0x3e4e72(_0x1a2bfd),t=_0x1a2bfd['t'];return _0x48cc7b['set']({'icon':_0x248221,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x48cc7b['bind']('isEnabled')['to'](_0x1d570d),_0x48cc7b['bind']('isOn')['to'](_0x1d570d,'isActive'),this['listenTo'](_0x48cc7b,'execute',()=>{_0x3682de['execute']('uploadcareImageEdit'),_0x3682de['editing']['view']['focus']();}),_0x48cc7b;}),this['_initConfig']();}['_initConfig'](){const _0x34b114=_0x26271f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x34b114),this['listenTo'](this['editor'],'destroy',()=>{_0x34b114['remove']();});}}class et extends _0x423546{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x33fb9d,Command as _0x511f81}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1cefc2,IconGooglePhotos as _0x5ac4aa,IconGoogleDrive as _0x521dd1,IconFacebook as _0x321513,IconDropbox as _0x78c7e6,IconUploadcareLink as _0x372314,IconUploadcareImageUpload as _0x15f3fe,IconError as _0x40f75c,IconUploadcareImageEdit as _0x4ba77b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2ee0a5,MenuBarMenuListItemButtonView as _0x3fac5b,View as _0x12d39f,FocusCycler as _0x26ed35,Dialog as _0xaf0ce6,DialogViewPosition as _0x1a8ae8,SpinnerView as _0x10d0ad,IconView as _0x1e0f27,Notification as _0x132ebf}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x55df77,DomEmitterMixin as _0x10678c,global as _0x26d33e,getAncestors as _0xf978d8,ObservableMixin as _0x5de6a5,uid as _0x5a86ff,createElement as _0x11e7e4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x529d63}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x7e13cc,info as _0x2261de}from'@uploadcare/upload-client';import*as _0x24757e from'@uploadcare/file-uploader';var i=function(_0x11234d){return _0x11234d['Local']='local',_0x11234d['URL']='url',_0x11234d['Dropbox']='dropbox',_0x11234d['GDrive']='gdrive',_0x11234d['Facebook']='facebook',_0x11234d['GPhotos']='gphotos',_0x11234d['OneDrive']='onedrive',_0x11234d;}({});function _(_0x3f42f8,_0x41ea96,_0x37d7ab){const t=_0x3f42f8['t'],_0x43b426=_0x3f42f8['t'];switch(_0x41ea96){case i['Local']:return{'text':_0x43b426('Insert'===_0x37d7ab?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x43b426('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x37d7ab?_0x43b426('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x43b426('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x37d7ab?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x37d7ab?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x37d7ab?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x37d7ab?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x37d7ab?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x41ea96;}}class e extends _0x33fb9d{['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 _0x388c59=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5c5bd3;for(const _0x535e44 in _0x388c59){const _0x57d0bb=_0x535e44,_0x33ed86=_0x388c59[_0x57d0bb];if('uploadcareLicenseKeyValid'==_0x33ed86||'uploadcareLicenseKeyInvalid'==_0x33ed86||'uploadcareLicenseKeyExpired'==_0x33ed86||'uploadcareLicenseKeyDomainLimit'==_0x33ed86||'uploadcareLicenseKeyNotAllowed'==_0x33ed86||'uploadcareLicenseKeyEvaluationLimit'==_0x33ed86||'uploadcareLicenseKeyUsageLimit'==_0x33ed86){delete _0x388c59[_0x57d0bb],_0x5c5bd3=_0x33ed86,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5c5bd3&&_0x388c59['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5c5bd3&&_0x388c59['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5c5bd3&&_0x388c59['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5c5bd3&&_0x388c59['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5c5bd3&&_0x388c59['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5c5bd3&&_0x388c59['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5af33f}=this,_0x227871=_0x5af33f['commands']['get']('uploadcare');if(!_0x227871)return;const _0x1b8ba9=this['_normalizeConfigSourceList'](_0x5af33f['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x303460,_0x50dbf6)=>{const _0x5201b3=this['_getIntegrationKey'](_0x50dbf6['type']);return _0x303460[_0x5201b3]||(_0x303460[_0x5201b3]=[]),_0x303460[_0x5201b3]['push'](_0x50dbf6),_0x303460;},{});_0x5af33f['plugins']['has']('ImageInsertUI')&&_0x5af33f['commands']['get']('uploadcare')&&Object['entries'](_0x1b8ba9)['forEach'](([_0xcfbf78,_0x412b08])=>{_0x5af33f['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xcfbf78,'observable':()=>_0x227871,'buttonViewCreator':()=>this['_createToolbarButton'](_0x412b08),'formViewCreator':()=>this['_createDropdownButtons'](_0x412b08),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x412b08),'override':'assetManager'!==_0xcfbf78});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1baddf){const {locale:_0x5f2488}=this['editor'];return _0x1baddf['map'](_0x2e52a0=>{const _0x100e23=_(_0x5f2488,_0x2e52a0,'Insert');switch(_0x2e52a0){case i['Local']:return{'icon':_0x15f3fe,'type':i['Local'],..._0x100e23};case i['URL']:return{'icon':_0x372314,'type':i['URL'],..._0x100e23};case i['Dropbox']:return{'icon':_0x78c7e6,'type':i['Dropbox'],..._0x100e23};case i['Facebook']:return{'icon':_0x321513,'type':i['Facebook'],..._0x100e23};case i['GDrive']:return{'icon':_0x521dd1,'type':i['GDrive'],..._0x100e23};case i['GPhotos']:return{'icon':_0x5ac4aa,'type':i['GPhotos'],..._0x100e23};case i['OneDrive']:return{'icon':_0x1cefc2,'type':i['OneDrive'],..._0x100e23};}});}['_getIntegrationKey'](_0x64852c){switch(_0x64852c){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x290aeb,_0x24f283){const _0x2320d0=this['editor'],_0x1a063b=new _0x290aeb(_0x2320d0['locale']),_0x247489=_0x2320d0['commands']['get']('uploadcare');return _0x1a063b['bind']('isEnabled')['to'](_0x247489),_0x1a063b['on']('execute',()=>{_0x247489['execute'](_0x24f283);}),_0x1a063b;}['_createToolbarButton'](_0x347515){const {locale:_0x320691}=this['editor'],_0x411137=this['editor']['plugins']['get']('ImageInsertUI'),_0x1514c8=_0x347515[0x0],_0x57c7b4=this['_createButton'](_0x2ee0a5,_0x1514c8['type']);return _0x57c7b4['icon']=_0x1514c8['icon'],_0x57c7b4['bind']('label')['to'](_0x411137,'isImageSelected',_0x6580a9=>_(_0x320691,_0x1514c8['type'],_0x6580a9?'Replace':'Insert')['text']),_0x57c7b4['tooltip']=!0x0,_0x57c7b4;}['_createDropdownButtons'](_0x4e66c0){const {locale:_0x585d0f}=this['editor'],_0x5b2a9b=this['editor']['plugins']['get']('ImageInsertUI');return _0x4e66c0['map'](_0x41ed57=>{const _0x8c6674=this['_createButton'](_0x2ee0a5,_0x41ed57['type']);return _0x8c6674['withText']=!0x0,_0x8c6674['icon']=_0x41ed57['icon'],_0x8c6674['bind']('label')['to'](_0x5b2a9b,'isImageSelected',_0x154874=>_(_0x585d0f,_0x41ed57['type'],_0x154874?'Replace':'Insert')['text']),_0x8c6674;});}['_createMenuBarButtons'](_0x2a950b){return _0x2a950b['map'](_0x3ba9c7=>{const _0x1649da=this['_createButton'](_0x3fac5b,_0x3ba9c7['type']);return _0x1649da['icon']=_0x3ba9c7['icon'],_0x1649da['label']=_0x3ba9c7['shortText'],_0x1649da;});}}class F extends _0x12d39f{['focusTracker'];['focusCycler'];constructor(_0x5e3e45){super(_0x5e3e45),this['focusTracker']=new _0x55df77(),this['focusCycler']=new _0x26ed35({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x3c581a,_0x3721ba){super(_0x3c581a),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-'+_0x3721ba}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0xd4a717,_0x243d4c){const _0x40e7b8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x434e49=>_0x434e49<=_0x243d4c)['map'](_0x4f45b4=>_0xd4a717['replace'](/\/$/,'')+'/-/resize/'+_0x4f45b4+'x/\x20'+_0x4f45b4+'w');return{'imageFallbackUrl':_0xd4a717,'imageSources':[{'srcset':_0x40e7b8['join'](',\x20'),'sizes':'(max-width:\x20'+_0x243d4c+'px)\x20100vw,\x20'+_0x243d4c+'px','type':'image/webp'}]};}function S(_0x595621,_0x11bb3c,_0x48a269){const _0x5a79db=_0x595621['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5a79db?parseInt(_0x5a79db[0x1],0xa):_0x11bb3c,'height':_0x5a79db?parseInt(_0x5a79db[0x2],0xa):_0x48a269};}function p(_0x133b9a,_0x175487){const _0x5a4570=new(_0x10678c())(),_0x95c8d2=_0x133b9a['plugins']['get']('ImageUtils'),_0x56c624=_0x133b9a['editing']['mapper']['toViewElement'](_0x175487),_0x10828f=_0x95c8d2['findViewImgElement'](_0x56c624),_0x21130c=_0x133b9a['editing']['view']['domConverter']['viewToDom'](_0x10828f),_0x62d93c=_0x175487['getAttribute']('width'),_0x5a88cf=_0x175487['getAttribute']('height'),_0x4ee551='image-processing';_0x133b9a['editing']['view']['change'](_0x197eb7=>{_0x197eb7['addClass'](_0x4ee551,_0x56c624),_0x197eb7['setStyle']('aspect-ratio',_0x62d93c+'/'+_0x5a88cf,_0x10828f);}),_0x5a4570['listenTo'](_0x21130c,'load',()=>{_0x5a4570['stopListening'](_0x21130c,'load'),_0x133b9a['editing']['view']['change'](_0x3eaa38=>{_0x3eaa38['removeClass'](_0x4ee551,_0x56c624),_0x3eaa38['removeStyle']('aspect-ratio',_0x10828f);});});}function z(_0x17c3f9){if(Array['isArray'](_0x17c3f9)){const _0x5d77bb=_0x17c3f9['map'](z);return _0x496671=>_0x5d77bb['some'](_0x3329cf=>_0x3329cf(_0x496671));}if('origin'==_0x17c3f9){const _0x41357f=_0x26d33e['window']['location']['origin'];return _0x5a755f=>new URL(_0x5a755f,_0x26d33e['document']['baseURI'])['origin']==_0x41357f;}return'function'==typeof _0x17c3f9?_0x17c3f9:_0x17c3f9 instanceof RegExp?_0x4fbc60=>!(!_0x4fbc60['match'](_0x17c3f9)&&!_0x4fbc60['replace'](/^https?:\/\//,'')['match'](_0x17c3f9)):()=>!0x1;}function A(_0x212d3c,_0x3a6e31){return _0xf978d8(_0x212d3c['target'])['includes'](_0x3a6e31);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x5de6a5(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x16bc78,_0x4a742a,_0x1183ff){super(),this['_editor']=_0x16bc78,this['_editing']=_0x4a742a,this['_dialog']=_0x16bc78['plugins']['get'](_0xaf0ce6),this['_api']=_0x4a742a['ctxElement']['getAPI'](),this['_type']=_0x1183ff,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:_0xefa1bb,model:_0x3dcd93}=this['_editor'],_0x351009=_0x3dcd93['document']['selection']['getSelectedElement'](),_0x51a2f7=_0x351009&&(_0x351009['is']('element','imageBlock')||_0x351009['is']('element','imageInline'));this['_formView']=new x(_0xefa1bb,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x15f3fe,'title':_(_0xefa1bb,this['_type'],_0x51a2f7?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1a8ae8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x380854=>!A(_0x380854,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3dbcfe}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x159710=>{const _0x3434c4=_0x3dbcfe['length'];for(const _0x148730 of _0x3dbcfe){const _0x286a26=_0x148730===_0x3dbcfe[_0x3434c4-0x1],{cdnUrl:_0x58c474,fileInfo:_0x57e368}=_0x148730;if(!_0x58c474||!_0x57e368)continue;const {width:_0x10f044,height:_0x20c788}=_0x57e368['imageInfo'],_0x44561a=S(_0x58c474,_0x10f044,_0x20c788),_0x128871=C(_0x58c474,_0x44561a['width']),_0x2d51f5={'id':_0x57e368['uuid'],'type':'image','attributes':{'imageDimension':_0x44561a,..._0x128871}};this['_insertAsset'](_0x2d51f5,_0x286a26,_0x159710);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x538b1b=>{'idle'===_0x538b1b['detail']['status']&&!_0x538b1b['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3d40cb,_0x4f96c7,_0x2d9c6f){const _0x1cecaa=this['_editor']['model']['document']['selection'],_0x1c4032=_0x1cecaa['getSelectedElement'](),_0x503bd2=!(!_0x1c4032||!_0x1c4032['is']('element','imageInline'));_0x2d9c6f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3d40cb,_0x503bd2),_0x4f96c7||_0x2d9c6f['setSelection'](_0x1cecaa['getLastPosition']());}['_insertImage'](_0x2dbfe5,_0x4f6041){const _0x466438=this['_editor'],{imageDimension:_0x21a3ca,imageFallbackUrl:_0x30d2ea,imageSources:_0x17ca3c}=_0x2dbfe5['attributes'];_0x466438['execute']('insertImage',{'imageType':_0x4f6041?'imageInline':null,'source':{'uploadcareImageId':_0x2dbfe5['id'],'src':_0x30d2ea,'sources':_0x17ca3c,..._0x21a3ca}});}}class w extends _0x511f81{['_editing'];['_controller']=null;static get['requires'](){return[_0xaf0ce6,o];}constructor(_0x45e658){super(_0x45e658),this['_editing']=_0x45e658['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x382c23){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x382c23);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x555335,..._0x54b936}){return _0x7e13cc(_0x555335,_0x54b936);}static['getInfo'](_0x289923,_0x5dd919){return _0x2261de(_0x289923,_0x5dd919);}}class f extends _0x33fb9d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x529d63,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x42a0a3=this['editor'];if(!!!_0x42a0a3['config']['get']('uploadcare'))return;_0x42a0a3['plugins']['get'](_0x529d63)['createUploadAdapter']=_0x3de131=>new k(_0x3de131,_0x42a0a3),_0x42a0a3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x7210c2,{imageElement:_0x45258e,data:_0x36b070})=>{_0x42a0a3['model']['change'](_0x50236a=>{_0x50236a['setAttribute']('uploadcareImageId',_0x36b070['uploadcareImageId'],_0x45258e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x40923f,_0x399eef){this['loader']=_0x40923f,this['editor']=_0x399eef,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1fe81b=await this['loader']['file'];return j['upload']({'file':_0x1fe81b,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x627aaf=>{_0x627aaf&&_0x627aaf['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x627aaf['value']);}})['then'](async _0x53d129=>{const {imageFallbackUrl:_0x2714a4,imageSources:_0x117b71}=C(_0x53d129['cdnUrl'],_0x53d129['imageInfo']['width']);return{'uploadcareImageId':_0x53d129['uuid'],'default':_0x2714a4,'sources':_0x117b71};})['catch'](()=>{const _0x5c4eed=t('Cannot\x20upload\x20file:')+('\x20'+_0x1fe81b['name']+'.');return Promise['reject'](_0x5c4eed);});}['abort'](){this['controller']['abort']();}}class o extends _0x33fb9d{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xaf0ce6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x28eeaf){super(_0x28eeaf),this['ucContextId']=_0x5a86ff();}['init'](){const _0x526152=this['editor'];_0x526152['commands']['add']('uploadcare',new w(_0x526152));}['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 _0x44239d=_0x26d33e['document']['querySelector']('input[uploadcare-file-input]');_0x44239d&&_0x44239d['remove']();}),async function(_0x2df672){const _0x3e1ae1=_0x4927f4([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x6aaf46=0x535f8c3a,_0x3ad00a=0x53580d02^_0x6aaf46,_0xc5af2c=window[_0x4927f4([0x44,0x61,0x74,0x65])][_0x4927f4([0x6e,0x6f,0x77])](),_0x4a8712=_0x2df672[_0x4927f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1451ad=new window[(_0x4927f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c5364=>{_0x4a8712[_0x4927f4([0x6f,0x6e,0x63,0x65])](_0x4927f4([0x72,0x65,0x61,0x64,0x79]),_0x4c5364);}),_0x735151={[_0x4927f4([0x6b,0x74,0x79])]:_0x4927f4([0x45,0x43]),[_0x4927f4([0x75,0x73,0x65])]:_0x4927f4([0x73,0x69,0x67]),[_0x4927f4([0x63,0x72,0x76])]:_0x4927f4([0x50,0x2d,0x32,0x35,0x36]),[_0x4927f4([0x78])]:_0x4927f4([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]),[_0x4927f4([0x79])]:_0x4927f4([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]),[_0x4927f4([0x61,0x6c,0x67])]:_0x4927f4([0x45,0x53,0x32,0x35,0x36])},_0x190126=_0x4a8712[_0x4927f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4927f4([0x67,0x65,0x74])](_0x4927f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19309b(){let _0xc9fb6b,_0x25dea0=null,_0x48e08b=null;try{if(_0x190126==_0x4927f4([0x47,0x50,0x4c]))return _0x4927f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc9fb6b=_0x5b7fb8(),!_0xc9fb6b)return _0x4927f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc9fb6b[_0x4927f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48e08b=_0x293f78(_0xc9fb6b[_0x4927f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc9fb6b[_0x4927f4([0x6a,0x74,0x69])])),await _0x35ffdb()?_0x16225b()?_0x5a638a()?_0x4927f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b6f6a()?(_0xc9fb6b[_0x4927f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4927f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x25dea0=_0x72c6cc(_0x4927f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x9be2e0()):_0x4927f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4927f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4927f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4927f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a638a(){const _0x1b1df6=[_0x4927f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4927f4([0x74,0x72,0x69,0x61,0x6c])][_0x4927f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc9fb6b[_0x4927f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc5af2c/0x3e8:0xe10*_0x3ad00a;return _0xc9fb6b[_0x4927f4([0x65,0x78,0x70])]<_0x1b1df6;}function _0x16225b(){const _0x2d522b=_0xc9fb6b[_0x4927f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d522b&&(!!_0x2d522b[_0x4927f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4927f4([0x2a]))||!!_0x2d522b[_0x4927f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4927f4([0x55,0x50,0x4c,0x43])));}function _0x5b6f6a(){const _0x5aef8b=_0xc9fb6b[_0x4927f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5aef8b||0x0==_0x5aef8b[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x251856}=new URL(window[_0x4927f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5aef8b[_0x4927f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x251856))return!0x0;const _0x546ef8=_0x251856[_0x4927f4([0x73,0x70,0x6c,0x69,0x74])](_0x4927f4([0x2e]));return _0x5aef8b[_0x4927f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3756b7=>_0x3756b7[_0x4927f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4927f4([0x2a])))[_0x4927f4([0x6d,0x61,0x70])](_0x265c11=>_0x265c11[_0x4927f4([0x73,0x70,0x6c,0x69,0x74])](_0x4927f4([0x2e])))[_0x4927f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4734c8=>_0x4734c8[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x546ef8[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4927f4([0x6d,0x61,0x70])](_0x352ebc=>Array(_0x546ef8[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x352ebc[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4927f4([0x66,0x69,0x6c,0x6c])](_0x352ebc[0x0]===_0x4927f4([0x2a])?_0x4927f4([0x2a]):'')[_0x4927f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x352ebc))[_0x4927f4([0x73,0x6f,0x6d,0x65])](_0x45c87f=>_0x546ef8[_0x4927f4([0x65,0x76,0x65,0x72,0x79])]((_0x1a93fa,_0x34c00d)=>_0x45c87f[_0x34c00d]===_0x1a93fa||_0x45c87f[_0x34c00d]===_0x4927f4([0x2a])));}function _0x9be2e0(){return _0x25dea0&&_0x48e08b?new window[(_0x4927f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13d302,_0x3a091d)=>{_0x25dea0[_0x4927f4([0x74,0x68,0x65,0x6e])](_0x13d302,_0x3a091d),_0x48e08b[_0x4927f4([0x74,0x68,0x65,0x6e])](_0x46c0c6=>{_0x46c0c6!=_0x4927f4([0x56,0x61,0x6c,0x69,0x64])&&_0x13d302(_0x46c0c6);},_0x3a091d);}):_0x25dea0||_0x48e08b||_0x4927f4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x293f78(_0x275feb,_0x323862){return new window[(_0x4927f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x310374=>{if(_0x1ef253())return _0x310374(_0x4927f4([0x56,0x61,0x6c,0x69,0x64]));_0x48e4ed(),_0x4a8712[_0x4927f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4927f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x523cfa=!0x1;const _0x25e37e=_0x5a86ff();function _0x3b9e09(_0x79ef7b){return!!_0x79ef7b&&(typeof _0x79ef7b===_0x4927f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x79ef7b===_0x4927f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x79ef7b[_0x4927f4([0x74,0x68,0x65,0x6e])]===_0x4927f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x79ef7b[_0x4927f4([0x63,0x61,0x74,0x63,0x68])]===_0x4927f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26d017(_0x26cd2f){_0x4ff27e(_0x26cd2f)[_0x4927f4([0x74,0x68,0x65,0x6e])](_0x2c6738=>{if(!_0x2c6738||_0x2c6738[_0x4927f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4927f4([0x6f,0x6b]))return _0x4927f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x50029b(_0x558ac3(_0x25e37e+_0x323862))!=_0x2c6738[_0x4927f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4927f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4927f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x4927f4([0x74,0x68,0x65,0x6e])](_0x43c25a=>(_0x559b78(),_0x43c25a),()=>{const _0x189caf=_0x4fee59();return null==_0x189caf?(_0x559b78(),_0x4927f4([0x56,0x61,0x6c,0x69,0x64])):_0x4927f4(_0xc5af2c-_0x189caf>(0x7753083a^_0x6aaf46)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4927f4([0x74,0x68,0x65,0x6e])](_0x310374)[_0x4927f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x310374(_0x4927f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5492b4=0x536962ba^_0x6aaf46;function _0x559b78(){const _0x5b8a01=_0x4927f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x50029b(_0x558ac3(_0x275feb)),_0x456ed3=_0xe82584(_0x50029b(window[_0x4927f4([0x4d,0x61,0x74,0x68])][_0x4927f4([0x63,0x65,0x69,0x6c])](_0xc5af2c/_0x5492b4)));window[_0x4927f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4927f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b8a01,_0x456ed3);}function _0x4fee59(){const _0x10b861=_0x4927f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x50029b(_0x558ac3(_0x275feb)),_0x1e3ace=window[_0x4927f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4927f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10b861);return _0x1e3ace?window[_0x4927f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe82584(_0x1e3ace),0x10)*_0x5492b4:null;}function _0x4ff27e(_0x363256){return new window[(_0x4927f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52a285,_0x5db0ba)=>{_0x363256[_0x4927f4([0x74,0x68,0x65,0x6e])](_0x52a285,_0x5db0ba),window[_0x4927f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5db0ba,0x535e58fa^_0x6aaf46);});}}_0x4a8712[_0x4927f4([0x6f,0x6e])](_0x4927f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xfd42c,_0x3d1dfc)=>{if(_0x3d1dfc[0x0]!=_0x275feb)return _0x310374(_0x4927f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d1dfc[0x1]={..._0x3d1dfc[0x1],[_0x4927f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25e37e};},{[_0x4927f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4927f4([0x68,0x69,0x67,0x68])}),_0x4a8712[_0x4927f4([0x6f,0x6e])](_0x4927f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2db7fc=>{_0x3b9e09(_0x2db7fc[_0x4927f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x523cfa=!0x0,_0x26d017(_0x2db7fc[_0x4927f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4927f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4927f4([0x6c,0x6f,0x77])}),_0x1451ad[_0x4927f4([0x74,0x68,0x65,0x6e])](()=>{_0x523cfa||_0x310374(_0x4927f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ef253(){return _0x4a8712[_0x4927f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4927f4([0x76,0x69,0x65,0x77])][_0x4927f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4927f4([0x61,0x75,0x74,0x6f]);}function _0x48e4ed(){_0x4a8712[_0x4927f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4927f4([0x76,0x69,0x65,0x77])][_0x4927f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4927f4([0x61,0x75,0x74,0x6f]);}}function _0x72c6cc(_0x222c40){const _0x4372c4=[new window[(_0x4927f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x251ada=>setTimeout(_0x251ada,0x5356b2f6^_0x6aaf46)),_0x1451ad[_0x4927f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4927f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22eb34=>{let _0x30a4b2=0x0;_0x4a8712[_0x4927f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4927f4([0x6f,0x6e])](_0x4927f4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x164f5f,_0x42c650)=>{_0x42c650[0x0][_0x4927f4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x30a4b2++,_0x30a4b2==(0x535f89d2^_0x6aaf46)&&(_0x22eb34(),_0x164f5f[_0x4927f4([0x6f,0x66,0x66])]());});}))];return window[_0x4927f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4927f4([0x72,0x61,0x63,0x65])](_0x4372c4)[_0x4927f4([0x74,0x68,0x65,0x6e])](()=>_0x222c40);}async function _0x5871a8(){await _0x1451ad,_0x4a8712[_0x4927f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4927f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2104cf,_0x4a8712[_0x4927f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4927f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2104cf,_0x4a8712[_0x4927f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4927f4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24be22(_0x402eec){const _0x27354d=_0x2ac48f();_0x4a8712[_0x27354d]=_0x4927f4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x402eec,_0x402eec!=_0x4927f4([0x56,0x61,0x6c,0x69,0x64])&&_0x5871a8();}function _0x2ac48f(){const _0x222040=window[_0x4927f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4927f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4927f4([0x6e,0x6f,0x77])]())[_0x4927f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4927f4([0x2e]),'');let _0x32cecb=_0x4927f4([0x68]);for(let _0x2ef721=0x0;_0x2ef721<_0x222040[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ef721+=0x2){let _0x4b2471=window[_0x4927f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x222040[_0x4927f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ef721,_0x2ef721+0x2));_0x4b2471>=_0x3e1ae1[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b2471-=_0x3e1ae1[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32cecb+=_0x3e1ae1[_0x4b2471];}return _0x32cecb;}function _0x5b7fb8(){const _0x102a8a=_0x190126[_0x4927f4([0x73,0x70,0x6c,0x69,0x74])](_0x4927f4([0x2e]));if(0x3!=_0x102a8a[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d2acc(_0x102a8a[0x1]);function _0x4d2acc(_0x5b7a52){const _0x11ba91=_0x55aa77(_0x5b7a52);return _0x11ba91&&_0x19162f()?_0x11ba91:null;function _0x19162f(){const _0xc62c23=_0x11ba91[_0x4927f4([0x6a,0x74,0x69])],_0x24bbac=window[_0x4927f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc62c23[_0x4927f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc62c23[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1805b3={..._0x11ba91,[_0x4927f4([0x6a,0x74,0x69])]:_0xc62c23[_0x4927f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc62c23[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1805b3[_0x4927f4([0x76,0x63])],_0x558ac3(_0x1805b3)==_0x24bbac;}}}async function _0x35ffdb(){let _0xa1d08c=!0x0;try{const _0x3d0ec0=_0x190126[_0x4927f4([0x73,0x70,0x6c,0x69,0x74])](_0x4927f4([0x2e])),[_0x26481c,_0x57a4e7,_0x3b7059]=_0x3d0ec0;return _0x282da0(_0x26481c),await _0x42168f(_0x26481c,_0x57a4e7,_0x3b7059),_0xa1d08c;}catch{return!0x1;}function _0x282da0(_0x15e089){const _0x440928=_0x55aa77(_0x15e089);_0x440928&&_0x440928[_0x4927f4([0x61,0x6c,0x67])]==_0x4927f4([0x45,0x53,0x32,0x35,0x36])||(_0xa1d08c=!0x1);}async function _0x42168f(_0x47a9bb,_0x3f12fe,_0x4c9798){const _0x466900=window[_0x4927f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4927f4([0x66,0x72,0x6f,0x6d])](_0x371e6f(_0x4c9798),_0x2cb21d=>_0x2cb21d[_0x4927f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35cec8=new window[(_0x4927f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4927f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x47a9bb+_0x4927f4([0x2e])+_0x3f12fe),_0x2915a9=window[_0x4927f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4927f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2915a9)return;const _0x4b3791=await _0x2915a9[_0x4927f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4927f4([0x6a,0x77,0x6b]),_0x735151,{[_0x4927f4([0x6e,0x61,0x6d,0x65])]:_0x4927f4([0x45,0x43,0x44,0x53,0x41]),[_0x4927f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4927f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4927f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2915a9[_0x4927f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4927f4([0x6e,0x61,0x6d,0x65])]:_0x4927f4([0x45,0x43,0x44,0x53,0x41]),[_0x4927f4([0x68,0x61,0x73,0x68])]:{[_0x4927f4([0x6e,0x61,0x6d,0x65])]:_0x4927f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b3791,_0x466900,_0x35cec8)||(_0xa1d08c=!0x1);}}function _0x55aa77(_0x3eaee9){return _0x3eaee9[_0x4927f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4927f4([0x65,0x79]))?JSON[_0x4927f4([0x70,0x61,0x72,0x73,0x65])](_0x371e6f(_0x3eaee9)):null;}function _0x371e6f(_0x42d96d){return window[_0x4927f4([0x61,0x74,0x6f,0x62])](_0x42d96d[_0x4927f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4927f4([0x2b]))[_0x4927f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4927f4([0x2f])));}function _0x558ac3(_0x3da2b6){let _0x4a4a9f=0x1505;function _0x5ba503(_0x3915f1){for(let _0x5997b7=0x0;_0x5997b7<_0x3915f1[_0x4927f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5997b7++){const _0x122fa8=_0x3915f1[_0x4927f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5997b7);_0x4a4a9f=(_0x4a4a9f<<0x5)+_0x4a4a9f+_0x122fa8,_0x4a4a9f&=_0x4a4a9f;}}function _0xff7895(_0x44a104){Array[_0x4927f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x44a104)?_0x44a104[_0x4927f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xff7895):_0x44a104&&typeof _0x44a104==_0x4927f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4927f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x44a104)[_0x4927f4([0x73,0x6f,0x72,0x74])]()[_0x4927f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x231034,_0x2dbc20])=>{_0x5ba503(_0x231034),_0xff7895(_0x2dbc20);}):_0x5ba503(window[_0x4927f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x44a104));}return _0xff7895(_0x3da2b6),_0x4a4a9f>>>0x0;}function _0x50029b(_0x2c9618){return _0x2c9618[_0x4927f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4927f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4927f4([0x30]));}function _0xe82584(_0x5df7d8){return _0x5df7d8[_0x4927f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4927f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4927f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2104cf(){}function _0x4927f4(_0x2848be){return _0x2848be['map'](_0x461f5b=>String['fromCharCode'](_0x461f5b))['join']('');}_0x24be22(await _0x19309b());}(this);}['_initSchema'](){const _0x2f65f8=this['editor']['model']['schema'];_0x2f65f8['isRegistered']('imageBlock')&&_0x2f65f8['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2f65f8['isRegistered']('imageInline')&&_0x2f65f8['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x154ce9=this['editor'];_0x154ce9['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x154ce9['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1f6d07=>_0x1f6d07['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x182d6c=_0x154ce9['commands']['get']('replaceImageSource');_0x182d6c&&this['listenTo'](_0x182d6c,'cleanupImage',(_0x4cbad0,[_0x37509e,_0x26be0d])=>{_0x37509e['removeAttribute']('uploadcareImageId',_0x26be0d);});}['_initConfig'](){const _0xbf9902=this['editor']['config']['get']('uploadcare.uploader')||{},_0x47c4fb=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x11e7e4(_0x26d33e['document'],'uc-config',{..._0xbf9902,'pubkey':_0x47c4fb,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x21e37b=>{if('closeMax'==_0x21e37b)return'#uc-icon-arrow-down';},_0x26d33e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x11e7e4(_0x26d33e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x26d33e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1b7d60=this['editor']['commands']['get']('insertImage');_0x1b7d60&&this['listenTo'](_0x1b7d60,'execute',()=>{const _0x28ea9f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x28ea9f&&_0x28ea9f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x28ea9f);});});const _0x58aa20=this['editor']['commands']['get']('uploadcareImageReplace');_0x58aa20&&this['listenTo'](_0x58aa20,'execute',()=>{const _0xb33c1f=this['editor']['model']['document']['selection']['getSelectedElement']();_0xb33c1f&&_0xb33c1f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xb33c1f);});});}}class tt extends _0x33fb9d{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x252c26){super(_0x252c26),_0x252c26['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x24757e['defineComponents'](_0x24757e),this['_defineLocale']();}['_defineLocale'](){const _0x171e82=this['editor']['config']['get']('uploadcare.locale'),_0x351af6=this['editor']['locale']['contentLanguage'];_0x171e82&&_0x24757e['defineLocale'](_0x351af6,_0x171e82);}}class ii extends _0x12d39f{constructor(_0x63a2c2){super(_0x63a2c2);const t=_0x63a2c2['t'],_0x515937=this['bindTemplate'],_0x3f6a3b=new _0x10d0ad();_0x3f6a3b['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':[_0x3f6a3b,{'text':_0x515937['to']('imageUploadProgress',_0x4a2557=>t('Loading\x20image...')+'\x20('+(_0x4a2557||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x12d39f{constructor(_0x5e2c18){super(_0x5e2c18);const t=_0x5e2c18['t'];this['set']('errorType',null);const _0xcbfec8=new _0x2ee0a5(_0x5e2c18);_0xcbfec8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xcbfec8['withText']=!0x0,_0xcbfec8['class']='ck-button-action',_0xcbfec8['on']('execute',()=>{this['fire']('retry');}),_0xcbfec8['bind']('isVisible')['to'](this,'errorType',_0x58c50e=>'NotFound'!==_0x58c50e);const _0x491807=new _0x1e0f27();_0x491807['content']=_0x40f75c,_0x491807['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4c80b9=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':[_0x491807,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4c80b9['to']('errorType',_0x2234f6=>t('NotFound'!==_0x2234f6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xcbfec8]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x12d39f{constructor(_0x388da1,_0x537324){super(_0x388da1);const _0x23243d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x537324,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x23243d['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x308281,_0x13872d,_0x4834eb){super(_0x308281),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x308281),this['_errorView']=new ti(_0x308281),this['_editingView']=new ei(_0x308281,_0x4834eb),this['_focusableView']=new _0x12d39f(_0x308281),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x13872d),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'],_0xdbb0aa=>{this['_addUploadcareImageEditorListeners'](_0xdbb0aa);});}),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'](_0xcc5fe7,_0x3acdc2){const _0x44e86a='uc-cloud-image-editor',_0x3b9c9f=_0xcc5fe7['querySelector'](_0x44e86a);if(_0x3b9c9f)return _0x3acdc2(_0x3b9c9f);const _0xc97c2c=new MutationObserver(_0x52a7d0=>{const _0x20a96e=_0x52a7d0['filter'](_0x410262=>_0x410262['target']===_0xcc5fe7&&_0x410262['addedNodes']['length']>0x0&&_0x410262['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x44e86a);_0x20a96e['length']&&(_0xc97c2c['disconnect'](),_0x3acdc2(_0x20a96e[0x0]['addedNodes'][0x0]));});_0xc97c2c['observe'](_0xcc5fe7,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x19bd43){_0x19bd43['addEventListener']('apply',_0x26fd28=>{this['fire']('apply',{'imageSrc':_0x26fd28['detail']['cdnUrl']});}),_0x19bd43['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x5de6a5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5bfddd,_0x479bfa,_0x1cf598){super(),this['_editor']=_0x5bfddd,this['_dialog']=_0x479bfa,this['_imageElement']=_0x1cf598,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 _0x2f4451=this['_imageElement'],_0x35f6bf=_0x2f4451['getAttribute']('uploadcareImageId'),_0xcdbb0f=_0x2f4451['getAttribute']('src');if(_0x35f6bf)await this['_loadImageInfo'](_0x35f6bf,_0xcdbb0f);else{if(this['_imageCache']['has'](_0xcdbb0f)){const _0x3f646e=this['_imageCache']['get'](_0xcdbb0f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f646e['url'],this['imageDimension']=_0x3f646e['dimension'],this['imageId']=_0x3f646e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3585b2}=this['_editor'],t=_0x3585b2['t'],_0x406f1=new X(_0x3585b2,this['imageStatus'],this['_attributes']);_0x406f1['bind']('status')['to'](this,'imageStatus'),_0x406f1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x406f1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x406f1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x406f1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4ba77b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x406f1,'position':_0x1a8ae8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x406f1['focus']();},'onHide':()=>{_0x406f1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4607aa=>!A(_0x4607aa,_0x406f1['element'])}});}['_loadImageInfo'](_0x117da5,_0x19442b){return j['getInfo'](_0x117da5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x43eb22=>{const {width:_0x3f9134,height:_0x1af376}=_0x43eb22['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19442b,this['imageDimension']={'width':_0x3f9134,'height':_0x1af376},this['imageId']=_0x117da5;})['catch'](_0x1bf325=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1bf325['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e38ea,_0x5104b7){return this['_getImageAsFile'](_0x3e38ea)['then'](_0x229576=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5104b7['signal'],'file':_0x229576,'onProgress':_0x11aebf=>{_0x11aebf&&_0x11aebf['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x11aebf['value']));}}))['then'](_0x45c78b=>{const {width:_0x400e34,height:_0x4bfbc2}=_0x45c78b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x45c78b['cdnUrl'],this['imageDimension']={'width':_0x400e34,'height':_0x4bfbc2},this['imageId']=_0x45c78b['uuid'],this['imageUploadProgress']=null;const _0x3fb66a=_0x3e38ea['getAttribute']('src');this['_imageCache']['set'](_0x3fb66a,{'id':_0x45c78b['uuid'],'url':_0x45c78b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5c21eb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5c21eb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5afcf1,_0x592535){_0x5afcf1['on']('apply',(_0x310e95,_0x263a5a)=>{this['_replaceImage'](_0x592535,_0x263a5a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5afcf1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5afcf1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5c2b5e,_0x171ffb,_0x1b33b3){const _0x22871c=this['_editor'],{width:_0x17069f,height:_0x37292a}=S(_0x171ffb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2de201,imageSources:_0x5594fa}=C(_0x171ffb,_0x17069f);_0x22871c['model']['change'](_0x197b0a=>{if('$graveyard'===_0x5c2b5e['root']['rootName']){_0x22871c['execute']('insertImage',{'imageType':_0x5c2b5e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5c2b5e['getAttributes']()),'uploadcareImageId':_0x1b33b3,'src':_0x2de201,'sources':_0x5594fa,'width':_0x17069f,'height':_0x37292a}});const _0x4e212d=_0x5c2b5e['getChildren']();_0x5c2b5e=_0x22871c['model']['document']['selection']['getSelectedElement']();for(const _0x391702 of _0x4e212d)_0x197b0a['append'](_0x197b0a['cloneElement'](_0x391702),_0x5c2b5e);}else _0x197b0a['setSelection'](_0x5c2b5e,'on'),_0x22871c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5c2b5e['getAttributes']()),'uploadcareImageId':_0x1b33b3,'src':_0x2de201,'sources':_0x5594fa,'width':_0x17069f,'height':_0x37292a},_0x5c2b5e);_0x197b0a['setSelection'](_0x5c2b5e,'on');});}async['_getImageAsFile'](_0xe638c7){const _0xf2fe29=_0x26d33e['window'],_0x4e016d=_0x26d33e['document']['location']['href'],_0x46c7b9=new _0xf2fe29['URL'](_0xe638c7['getAttribute']('src'),_0x4e016d);if('data:'===_0x46c7b9['protocol']){const _0x47582f=_0x46c7b9['href']['split'](','),_0x12d9bc=_0x47582f[0x0]['match'](/:(.*?);/)[0x1],_0x25d5da=_0x12d9bc['split']('/')[0x1],_0xf59219=_0xf2fe29['atob'](_0x47582f[_0x47582f['length']-0x1]);let _0x2be17c=_0xf59219['length'];const _0x37c9b9=new _0xf2fe29['Uint8Array'](_0x2be17c);for(;_0x2be17c--;)_0x37c9b9[_0x2be17c]=_0xf59219['charCodeAt'](_0x2be17c);return new _0xf2fe29['File']([_0x37c9b9],'image.'+_0x25d5da,{'type':_0x12d9bc});}const _0x13a8f=_0x46c7b9['href']['split']('/'),_0x177ac5=_0x13a8f[_0x13a8f['length']-0x1],_0x399c6c=_0x177ac5['split']('.')[0x1];return _0xf2fe29['fetch'](_0x46c7b9['href'])['then'](_0x38fa1f=>_0x38fa1f['clone']()['blob']())['then'](_0x20d6e2=>new _0xf2fe29['File']([_0x20d6e2],_0x177ac5,{'type':'image/'+_0x399c6c}));}}class Q extends _0x511f81{['imageEditController'];static get['requires'](){return[_0xaf0ce6];}['_isEditable'];constructor(_0x401830){super(_0x401830),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xdb8937){const _0x18089a=z(_0xdb8937);return _0x5e096d=>!(!_0x5e096d||!_0x5e096d['is']('element','imageBlock')&&!_0x5e096d['is']('element','imageInline'))&&(!!_0x5e096d['hasAttribute']('uploadcareImageId')||!!_0x5e096d['hasAttribute']('src')&&_0x18089a(_0x5e096d['getAttribute']('src')));}(_0x401830['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x31e4a5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x31e4a5);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x237ea1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x237ea1&&(_0x237ea1['is']('element','imageBlock')||_0x237ea1['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0xaf0ce6),_0x237ea1),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x511f81{['refresh'](){const _0x10f6af=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x10f6af&&(_0x10f6af['is']('element','imageBlock')||_0x10f6af['is']('element','imageInline')));}['execute'](_0x7ffed6){const _0x125b72=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x216f59=>{_0x216f59['setAttributes'](_0x7ffed6,_0x125b72),_0x216f59['removeAttribute']('srcset',_0x125b72),_0x216f59['removeAttribute']('sizes',_0x125b72);});}}class m extends _0x33fb9d{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x132ebf,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x560a6b}=this;_0x560a6b['commands']['add']('uploadcareImageEdit',new Q(_0x560a6b)),_0x560a6b['commands']['add']('uploadcareImageReplace',new V(_0x560a6b));}}class g extends _0x33fb9d{['_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 _0x2f89b3=this['editor'];_0x2f89b3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a888b=>{const _0x564aa6=_0x2f89b3['commands']['get']('uploadcareImageEdit'),_0x51bd41=new _0x2ee0a5(_0x3a888b),t=_0x3a888b['t'];return _0x51bd41['set']({'icon':_0x4ba77b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x51bd41['bind']('isEnabled')['to'](_0x564aa6),_0x51bd41['bind']('isOn')['to'](_0x564aa6,'isActive'),this['listenTo'](_0x51bd41,'execute',()=>{_0x2f89b3['execute']('uploadcareImageEdit'),_0x2f89b3['editing']['view']['focus']();}),_0x51bd41;}),this['_initConfig']();}['_initConfig'](){const _0x10ada9=_0x11e7e4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x10ada9),this['listenTo'](this['editor'],'destroy',()=>{_0x10ada9['remove']();});}}class et extends _0x33fb9d{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1205e0=>0x1!=_0x1205e0}};
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':_0x1f191b=>0x1!=_0x1f191b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x9e5bdc=>{const {af:{dictionary:_0x2612cc,getPluralForm:_0x5e632d}}={'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':_0x3361c8=>0x1!=_0x3361c8}};_0x9e5bdc['af']||={'dictionary':{},'getPluralForm':null},_0x9e5bdc['af']['dictionary']=Object['assign'](_0x9e5bdc['af']['dictionary'],_0x2612cc),_0x9e5bdc['af']['getPluralForm']=_0x5e632d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x45c6bb=>{const {af:{dictionary:_0x35af0c,getPluralForm:_0x23b34e}}={'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':_0x4d7979=>0x1!=_0x4d7979}};_0x45c6bb['af']||={'dictionary':{},'getPluralForm':null},_0x45c6bb['af']['dictionary']=Object['assign'](_0x45c6bb['af']['dictionary'],_0x35af0c),_0x45c6bb['af']['getPluralForm']=_0x23b34e;})(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':_0x10868f=>0x0==_0x10868f?0x0:0x1==_0x10868f?0x1:0x2==_0x10868f?0x2:_0x10868f%0x64>=0x3&&_0x10868f%0x64<=0xa?0x3:_0x10868f%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':_0x242e1e=>0x0==_0x242e1e?0x0:0x1==_0x242e1e?0x1:0x2==_0x242e1e?0x2:_0x242e1e%0x64>=0x3&&_0x242e1e%0x64<=0xa?0x3:_0x242e1e%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57381c=>{const {ar:{dictionary:_0x2d9548,getPluralForm:_0x5018e1}}={'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':_0xb802f=>0x0==_0xb802f?0x0:0x1==_0xb802f?0x1:0x2==_0xb802f?0x2:_0xb802f%0x64>=0x3&&_0xb802f%0x64<=0xa?0x3:_0xb802f%0x64>=0xb?0x4:0x5}};_0x57381c['ar']||={'dictionary':{},'getPluralForm':null},_0x57381c['ar']['dictionary']=Object['assign'](_0x57381c['ar']['dictionary'],_0x2d9548),_0x57381c['ar']['getPluralForm']=_0x5018e1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x578806=>{const {ar:{dictionary:_0xd62fb0,getPluralForm:_0xe138ca}}={'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':_0x50ad6f=>0x0==_0x50ad6f?0x0:0x1==_0x50ad6f?0x1:0x2==_0x50ad6f?0x2:_0x50ad6f%0x64>=0x3&&_0x50ad6f%0x64<=0xa?0x3:_0x50ad6f%0x64>=0xb?0x4:0x5}};_0x578806['ar']||={'dictionary':{},'getPluralForm':null},_0x578806['ar']['dictionary']=Object['assign'](_0x578806['ar']['dictionary'],_0xd62fb0),_0x578806['ar']['getPluralForm']=_0xe138ca;})(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':_0x1488fb=>0x1!=_0x1488fb}};
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':_0x2c7f71=>0x1!=_0x2c7f71}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd44cc8=>{const {ast:{dictionary:_0x18a825,getPluralForm:_0x8e9976}}={'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':_0x5e92a8=>0x1!=_0x5e92a8}};_0xd44cc8['ast']||={'dictionary':{},'getPluralForm':null},_0xd44cc8['ast']['dictionary']=Object['assign'](_0xd44cc8['ast']['dictionary'],_0x18a825),_0xd44cc8['ast']['getPluralForm']=_0x8e9976;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x213915=>{const {ast:{dictionary:_0x3006cd,getPluralForm:_0xcbb461}}={'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':_0x3547bb=>0x1!=_0x3547bb}};_0x213915['ast']||={'dictionary':{},'getPluralForm':null},_0x213915['ast']['dictionary']=Object['assign'](_0x213915['ast']['dictionary'],_0x3006cd),_0x213915['ast']['getPluralForm']=_0xcbb461;})(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':_0x1a019=>0x1!=_0x1a019}};
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':_0x7aa566=>0x1!=_0x7aa566}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xadb40a=>{const {az:{dictionary:_0x407855,getPluralForm:_0x56aa83}}={'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':_0x31abbf=>0x1!=_0x31abbf}};_0xadb40a['az']||={'dictionary':{},'getPluralForm':null},_0xadb40a['az']['dictionary']=Object['assign'](_0xadb40a['az']['dictionary'],_0x407855),_0xadb40a['az']['getPluralForm']=_0x56aa83;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24d5ee=>{const {az:{dictionary:_0x32402c,getPluralForm:_0x30f829}}={'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':_0x5859b2=>0x1!=_0x5859b2}};_0x24d5ee['az']||={'dictionary':{},'getPluralForm':null},_0x24d5ee['az']['dictionary']=Object['assign'](_0x24d5ee['az']['dictionary'],_0x32402c),_0x24d5ee['az']['getPluralForm']=_0x30f829;})(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':_0x1fede5=>_0x1fede5%0xa==0x1&&_0x1fede5%0x64!=0xb?0x0:_0x1fede5%0xa>=0x2&&_0x1fede5%0xa<=0x4&&(_0x1fede5%0x64<0xa||_0x1fede5%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':_0x234cdf=>_0x234cdf%0xa==0x1&&_0x234cdf%0x64!=0xb?0x0:_0x234cdf%0xa>=0x2&&_0x234cdf%0xa<=0x4&&(_0x234cdf%0x64<0xa||_0x234cdf%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x162e85=>{const {be:{dictionary:_0x10cfdb,getPluralForm:_0x1e3448}}={'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':_0x515b89=>_0x515b89%0xa==0x1&&_0x515b89%0x64!=0xb?0x0:_0x515b89%0xa>=0x2&&_0x515b89%0xa<=0x4&&(_0x515b89%0x64<0xa||_0x515b89%0x64>=0x14)?0x1:0x2}};_0x162e85['be']||={'dictionary':{},'getPluralForm':null},_0x162e85['be']['dictionary']=Object['assign'](_0x162e85['be']['dictionary'],_0x10cfdb),_0x162e85['be']['getPluralForm']=_0x1e3448;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x27714e=>{const {be:{dictionary:_0xd8d37a,getPluralForm:_0xf2482}}={'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':_0x158ea4=>_0x158ea4%0xa==0x1&&_0x158ea4%0x64!=0xb?0x0:_0x158ea4%0xa>=0x2&&_0x158ea4%0xa<=0x4&&(_0x158ea4%0x64<0xa||_0x158ea4%0x64>=0x14)?0x1:0x2}};_0x27714e['be']||={'dictionary':{},'getPluralForm':null},_0x27714e['be']['dictionary']=Object['assign'](_0x27714e['be']['dictionary'],_0xd8d37a),_0x27714e['be']['getPluralForm']=_0xf2482;})(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':_0x65b40f=>0x1!=_0x65b40f}};
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':_0x3c8ff9=>0x1!=_0x3c8ff9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x442331=>{const {bg:{dictionary:_0x233981,getPluralForm:_0x53f3ed}}={'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':_0x1de18b=>0x1!=_0x1de18b}};_0x442331['bg']||={'dictionary':{},'getPluralForm':null},_0x442331['bg']['dictionary']=Object['assign'](_0x442331['bg']['dictionary'],_0x233981),_0x442331['bg']['getPluralForm']=_0x53f3ed;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x43ee10=>{const {bg:{dictionary:_0x1bfbe7,getPluralForm:_0xdfb49}}={'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':_0x4895ae=>0x1!=_0x4895ae}};_0x43ee10['bg']||={'dictionary':{},'getPluralForm':null},_0x43ee10['bg']['dictionary']=Object['assign'](_0x43ee10['bg']['dictionary'],_0x1bfbe7),_0x43ee10['bg']['getPluralForm']=_0xdfb49;})(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':_0x4dcc6b=>0x1!=_0x4dcc6b}};
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':_0x645875=>0x1!=_0x645875}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x31b783=>{const {bn:{dictionary:_0x39f7a6,getPluralForm:_0x307dfd}}={'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':_0x189cf8=>0x1!=_0x189cf8}};_0x31b783['bn']||={'dictionary':{},'getPluralForm':null},_0x31b783['bn']['dictionary']=Object['assign'](_0x31b783['bn']['dictionary'],_0x39f7a6),_0x31b783['bn']['getPluralForm']=_0x307dfd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xbd97f1=>{const {bn:{dictionary:_0x41876e,getPluralForm:_0x1311d6}}={'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':_0x4331a5=>0x1!=_0x4331a5}};_0xbd97f1['bn']||={'dictionary':{},'getPluralForm':null},_0xbd97f1['bn']['dictionary']=Object['assign'](_0xbd97f1['bn']['dictionary'],_0x41876e),_0xbd97f1['bn']['getPluralForm']=_0x1311d6;})(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':_0x39e14e=>_0x39e14e%0xa==0x1&&_0x39e14e%0x64!=0xb?0x0:_0x39e14e%0xa>=0x2&&_0x39e14e%0xa<=0x4&&(_0x39e14e%0x64<0xa||_0x39e14e%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':_0x2fd9e1=>_0x2fd9e1%0xa==0x1&&_0x2fd9e1%0x64!=0xb?0x0:_0x2fd9e1%0xa>=0x2&&_0x2fd9e1%0xa<=0x4&&(_0x2fd9e1%0x64<0xa||_0x2fd9e1%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x18bef4=>{const {bs:{dictionary:_0xbd9964,getPluralForm:_0x2a3c3b}}={'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':_0x342e08=>_0x342e08%0xa==0x1&&_0x342e08%0x64!=0xb?0x0:_0x342e08%0xa>=0x2&&_0x342e08%0xa<=0x4&&(_0x342e08%0x64<0xa||_0x342e08%0x64>=0x14)?0x1:0x2}};_0x18bef4['bs']||={'dictionary':{},'getPluralForm':null},_0x18bef4['bs']['dictionary']=Object['assign'](_0x18bef4['bs']['dictionary'],_0xbd9964),_0x18bef4['bs']['getPluralForm']=_0x2a3c3b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x121019=>{const {bs:{dictionary:_0x2af1f7,getPluralForm:_0x216b5d}}={'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':_0x2e9c47=>_0x2e9c47%0xa==0x1&&_0x2e9c47%0x64!=0xb?0x0:_0x2e9c47%0xa>=0x2&&_0x2e9c47%0xa<=0x4&&(_0x2e9c47%0x64<0xa||_0x2e9c47%0x64>=0x14)?0x1:0x2}};_0x121019['bs']||={'dictionary':{},'getPluralForm':null},_0x121019['bs']['dictionary']=Object['assign'](_0x121019['bs']['dictionary'],_0x2af1f7),_0x121019['bs']['getPluralForm']=_0x216b5d;})(window['CKEDITOR_TRANSLATIONS']||={});