@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20251213.0 → 0.0.0-nightly-20251214.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x533e7e,Command as _0xb35fdf}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x492e1d,IconGooglePhotos as _0x42b62e,IconGoogleDrive as _0x149f84,IconFacebook as _0x45ca12,IconDropbox as _0x14d4fc,IconUploadcareLink as _0x302ea5,IconUploadcareImageUpload as _0x14985a,IconError as _0x165dab,IconUploadcareImageEdit as _0x354f1f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1ab08f,MenuBarMenuListItemButtonView as _0x2e36d0,View as _0xb1318f,FocusCycler as _0x19a2b8,Dialog as _0x86cc70,DialogViewPosition as _0x4cbbdf,SpinnerView as _0x5e95fc,IconView as _0x4166df,Notification as _0x601c08}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x45a33c,DomEmitterMixin as _0x1f53da,global as _0x48c778,getAncestors as _0x46e08f,ObservableMixin as _0x424f75,uid as _0x3112e1,createElement as _0x3c3e16}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1f5158}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x23a594,info as _0x1e9fdc}from'@uploadcare/upload-client';import*as _0x4f87ba from'@uploadcare/file-uploader';var i=function(_0x28d426){return _0x28d426['Local']='local',_0x28d426['URL']='url',_0x28d426['Dropbox']='dropbox',_0x28d426['GDrive']='gdrive',_0x28d426['Facebook']='facebook',_0x28d426['GPhotos']='gphotos',_0x28d426['OneDrive']='onedrive',_0x28d426;}({});function _(_0x5bd72d,_0x2ffd1f,_0x22d0fe){const t=_0x5bd72d['t'],_0xa286f8=_0x5bd72d['t'];switch(_0x2ffd1f){case i['Local']:return{'text':_0xa286f8('Insert'===_0x22d0fe?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xa286f8('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x22d0fe?_0xa286f8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xa286f8('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x22d0fe?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x22d0fe?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x22d0fe?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x22d0fe?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x22d0fe?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2ffd1f;}}class e extends _0x533e7e{['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 _0x259f6e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3aff08;for(const _0x5a7850 in _0x259f6e){const _0x1456ed=_0x5a7850,_0x5a259c=_0x259f6e[_0x1456ed];if('uploadcareLicenseKeyValid'==_0x5a259c||'uploadcareLicenseKeyInvalid'==_0x5a259c||'uploadcareLicenseKeyExpired'==_0x5a259c||'uploadcareLicenseKeyDomainLimit'==_0x5a259c||'uploadcareLicenseKeyNotAllowed'==_0x5a259c||'uploadcareLicenseKeyEvaluationLimit'==_0x5a259c||'uploadcareLicenseKeyTrialLimit'==_0x5a259c||'uploadcareLicenseKeyUsageLimit'==_0x5a259c){delete _0x259f6e[_0x1456ed],_0x3aff08=_0x5a259c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3aff08&&_0x259f6e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3aff08&&_0x259f6e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3aff08&&_0x259f6e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3aff08&&_0x259f6e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3aff08&&_0x259f6e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3aff08&&_0x259f6e['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3aff08&&_0x259f6e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x19e567}=this,_0x1e7ebd=_0x19e567['commands']['get']('uploadcare');if(!_0x1e7ebd)return;const _0x598c82=this['_normalizeConfigSourceList'](_0x19e567['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5a9a0b,_0x11897e)=>{const _0x60f5ed=this['_getIntegrationKey'](_0x11897e['type']);return _0x5a9a0b[_0x60f5ed]||(_0x5a9a0b[_0x60f5ed]=[]),_0x5a9a0b[_0x60f5ed]['push'](_0x11897e),_0x5a9a0b;},{});_0x19e567['plugins']['has']('ImageInsertUI')&&_0x19e567['commands']['get']('uploadcare')&&Object['entries'](_0x598c82)['forEach'](([_0x24df30,_0x5b1e44])=>{_0x19e567['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x24df30,'observable':()=>_0x1e7ebd,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5b1e44),'formViewCreator':()=>this['_createDropdownButtons'](_0x5b1e44),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5b1e44),'override':'assetManager'!==_0x24df30});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x6f109e){const {locale:_0x1b39af}=this['editor'];return _0x6f109e['map'](_0x218db0=>{const _0x61f085=_(_0x1b39af,_0x218db0,'Insert');switch(_0x218db0){case i['Local']:return{'icon':_0x14985a,'type':i['Local'],..._0x61f085};case i['URL']:return{'icon':_0x302ea5,'type':i['URL'],..._0x61f085};case i['Dropbox']:return{'icon':_0x14d4fc,'type':i['Dropbox'],..._0x61f085};case i['Facebook']:return{'icon':_0x45ca12,'type':i['Facebook'],..._0x61f085};case i['GDrive']:return{'icon':_0x149f84,'type':i['GDrive'],..._0x61f085};case i['GPhotos']:return{'icon':_0x42b62e,'type':i['GPhotos'],..._0x61f085};case i['OneDrive']:return{'icon':_0x492e1d,'type':i['OneDrive'],..._0x61f085};}});}['_getIntegrationKey'](_0x4bc198){switch(_0x4bc198){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2d956b,_0x40bea5){const _0xc88c03=this['editor'],_0x549acd=new _0x2d956b(_0xc88c03['locale']),_0x2f2ca7=_0xc88c03['commands']['get']('uploadcare');return _0x549acd['bind']('isEnabled')['to'](_0x2f2ca7),_0x549acd['on']('execute',()=>{_0x2f2ca7['execute'](_0x40bea5);}),_0x549acd;}['_createToolbarButton'](_0x3e2812){const {locale:_0x11c259}=this['editor'],_0x2286a3=this['editor']['plugins']['get']('ImageInsertUI'),_0x358ed=_0x3e2812[0x0],_0x3a0765=this['_createButton'](_0x1ab08f,_0x358ed['type']);return _0x3a0765['icon']=_0x358ed['icon'],_0x3a0765['bind']('label')['to'](_0x2286a3,'isImageSelected',_0x40b1a6=>_(_0x11c259,_0x358ed['type'],_0x40b1a6?'Replace':'Insert')['text']),_0x3a0765['tooltip']=!0x0,_0x3a0765;}['_createDropdownButtons'](_0xaeee1e){const {locale:_0x474e2c}=this['editor'],_0x791904=this['editor']['plugins']['get']('ImageInsertUI');return _0xaeee1e['map'](_0x417058=>{const _0x32225a=this['_createButton'](_0x1ab08f,_0x417058['type']);return _0x32225a['withText']=!0x0,_0x32225a['icon']=_0x417058['icon'],_0x32225a['bind']('label')['to'](_0x791904,'isImageSelected',_0x37ef4f=>_(_0x474e2c,_0x417058['type'],_0x37ef4f?'Replace':'Insert')['text']),_0x32225a;});}['_createMenuBarButtons'](_0x4a71a6){return _0x4a71a6['map'](_0x150b13=>{const _0x15b37f=this['_createButton'](_0x2e36d0,_0x150b13['type']);return _0x15b37f['icon']=_0x150b13['icon'],_0x15b37f['label']=_0x150b13['shortText'],_0x15b37f;});}}class F extends _0xb1318f{['focusTracker'];['focusCycler'];constructor(_0x40ae76){super(_0x40ae76),this['focusTracker']=new _0x45a33c(),this['focusCycler']=new _0x19a2b8({'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(_0x428a51,_0x24bff5){super(_0x428a51),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-'+_0x24bff5}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x37a5a5,_0xafd184){const _0x166cf3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4caff8=>_0x4caff8<=_0xafd184)['map'](_0xd7b035=>_0x37a5a5['replace'](/\/$/,'')+'/-/resize/'+_0xd7b035+'x/\x20'+_0xd7b035+'w');return{'imageFallbackUrl':_0x37a5a5,'imageSources':[{'srcset':_0x166cf3['join'](',\x20'),'sizes':'(max-width:\x20'+_0xafd184+'px)\x20100vw,\x20'+_0xafd184+'px','type':'image/webp'}]};}function S(_0xd51119,_0x55ed6f,_0x429abf){const _0x4ae0d2=_0xd51119['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4ae0d2?parseInt(_0x4ae0d2[0x1],0xa):_0x55ed6f,'height':_0x4ae0d2?parseInt(_0x4ae0d2[0x2],0xa):_0x429abf};}function p(_0xd6224a,_0x478547){const _0x55a31d=new(_0x1f53da())(),_0x11a029=_0xd6224a['plugins']['get']('ImageUtils'),_0x478a80=_0xd6224a['editing']['mapper']['toViewElement'](_0x478547),_0xe5cf16=_0x11a029['findViewImgElement'](_0x478a80),_0x256850=_0xd6224a['editing']['view']['domConverter']['viewToDom'](_0xe5cf16),_0x5e9d3f=_0x478547['getAttribute']('width'),_0x33ed59=_0x478547['getAttribute']('height'),_0x52a2fb='image-processing';_0xd6224a['editing']['view']['change'](_0x5aac2b=>{_0x5aac2b['addClass'](_0x52a2fb,_0x478a80),_0x5aac2b['setStyle']('aspect-ratio',_0x5e9d3f+'/'+_0x33ed59,_0xe5cf16);}),_0x55a31d['listenTo'](_0x256850,'load',()=>{_0x55a31d['stopListening'](_0x256850,'load'),_0xd6224a['editing']['view']['change'](_0x3bb17f=>{_0x3bb17f['removeClass'](_0x52a2fb,_0x478a80),_0x3bb17f['removeStyle']('aspect-ratio',_0xe5cf16);});});}function G(_0x33877c){if(Array['isArray'](_0x33877c)){const _0x233fd9=_0x33877c['map'](G);return _0x888da7=>_0x233fd9['some'](_0x1b1e2f=>_0x1b1e2f(_0x888da7));}if('origin'==_0x33877c){const _0x3927c2=_0x48c778['window']['location']['origin'];return _0x1c7a83=>new URL(_0x1c7a83,_0x48c778['document']['baseURI'])['origin']==_0x3927c2;}return'function'==typeof _0x33877c?_0x33877c:_0x33877c instanceof RegExp?_0x4829ff=>!(!_0x4829ff['match'](_0x33877c)&&!_0x4829ff['replace'](/^https?:\/\//,'')['match'](_0x33877c)):()=>!0x1;}function A(_0x10f5a7,_0x3633c1){return _0x46e08f(_0x10f5a7['target'])['includes'](_0x3633c1);}class n extends/* #__PURE__ -- @preserve */
24
- _0x424f75(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x917ea5,_0xb7345,_0x1c47af){super(),this['_editor']=_0x917ea5,this['_editing']=_0xb7345,this['_dialog']=_0x917ea5['plugins']['get'](_0x86cc70),this['_api']=_0xb7345['ctxElement']['getAPI'](),this['_type']=_0x1c47af,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:_0x50ac1a,model:_0x1827d0}=this['_editor'],_0x5f40c5=_0x1827d0['document']['selection']['getSelectedElement'](),_0x3da3ae=_0x5f40c5&&(_0x5f40c5['is']('element','imageBlock')||_0x5f40c5['is']('element','imageInline'));this['_formView']=new x(_0x50ac1a,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x14985a,'title':_(_0x50ac1a,this['_type'],_0x3da3ae?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4cbbdf['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4de588=>!A(_0x4de588,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x97b780}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x7eec57=>{const _0x2a7512=_0x97b780['length'];for(const _0x4b96bc of _0x97b780){const _0x45e792=_0x4b96bc===_0x97b780[_0x2a7512-0x1],{cdnUrl:_0xa14c7a,fileInfo:_0x3f5c2d}=_0x4b96bc;if(!_0xa14c7a||!_0x3f5c2d)continue;const {width:_0x13c26f,height:_0x54d27d}=_0x3f5c2d['imageInfo'],_0x484d9f=S(_0xa14c7a,_0x13c26f,_0x54d27d),_0x4287f3=C(_0xa14c7a,_0x484d9f['width']),_0xa7bd6f={'id':_0x3f5c2d['uuid'],'type':'image','attributes':{'imageDimension':_0x484d9f,..._0x4287f3}};this['_insertAsset'](_0xa7bd6f,_0x45e792,_0x7eec57);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3569ad=>{'idle'===_0x3569ad['detail']['status']&&!_0x3569ad['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x10f0c3,_0x2d8d3f,_0x3ada15){const _0x2bbeec=this['_editor']['model']['document']['selection'],_0x15f59b=_0x2bbeec['getSelectedElement'](),_0x3913c3=!(!_0x15f59b||!_0x15f59b['is']('element','imageInline'));_0x3ada15['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x10f0c3,_0x3913c3),_0x2d8d3f||_0x3ada15['setSelection'](_0x2bbeec['getLastPosition']());}['_insertImage'](_0x3e2c40,_0x49c188){const _0x507d30=this['_editor'],{imageDimension:_0x26ba44,imageFallbackUrl:_0x42c93e,imageSources:_0x3318bf}=_0x3e2c40['attributes'];_0x507d30['execute']('insertImage',{'imageType':_0x49c188?'imageInline':null,'source':{'uploadcareImageId':_0x3e2c40['id'],'src':_0x42c93e,'sources':_0x3318bf,..._0x26ba44}});}}class w extends _0xb35fdf{['_editing'];['_controller']=null;static get['requires'](){return[_0x86cc70,o];}constructor(_0x249d45){super(_0x249d45),this['_editing']=_0x249d45['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x352946){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x352946);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x437822,..._0x432580}){return _0x23a594(_0x437822,_0x432580);}static['getInfo'](_0x3103cd,_0x34d896){return _0x1e9fdc(_0x3103cd,_0x34d896);}}class f extends _0x533e7e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1f5158,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x127584=this['editor'];if(!!!_0x127584['config']['get']('uploadcare'))return;_0x127584['plugins']['get'](_0x1f5158)['createUploadAdapter']=_0x1e233a=>new k(_0x1e233a,_0x127584),_0x127584['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x361195,{imageElement:_0x3654cf,data:_0x56330a})=>{_0x127584['model']['change'](_0x297821=>{_0x297821['setAttribute']('uploadcareImageId',_0x56330a['uploadcareImageId'],_0x3654cf);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x25873d,_0x18fd5c){this['loader']=_0x25873d,this['editor']=_0x18fd5c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2577ed=await this['loader']['file'];return j['upload']({'file':_0x2577ed,'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':_0x32569a=>{_0x32569a&&_0x32569a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x32569a['value']);}})['then'](async _0x24a10f=>{const {imageFallbackUrl:_0x3a23bb,imageSources:_0x389602}=C(_0x24a10f['cdnUrl'],_0x24a10f['imageInfo']['width']);return{'uploadcareImageId':_0x24a10f['uuid'],'default':_0x3a23bb,'sources':_0x389602};})['catch'](()=>{const _0x59c64f=t('Cannot\x20upload\x20file:')+('\x20'+_0x2577ed['name']+'.');return Promise['reject'](_0x59c64f);});}['abort'](){this['controller']['abort']();}}class o extends _0x533e7e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x86cc70];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5deea4){super(_0x5deea4),this['ucContextId']=_0x3112e1();}['init'](){const _0x2dc6ef=this['editor'];_0x2dc6ef['commands']['add']('uploadcare',new w(_0x2dc6ef));}['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 _0x2115ca=_0x48c778['document']['querySelector']('input[uploadcare-file-input]');_0x2115ca&&_0x2115ca['remove']();}),async function(_0x1cc9a0){const _0x4c5fbb=_0x16ed1c([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]),_0x88250e=0x535f8c3a,_0x98286d=0x5358f7f2^_0x88250e,_0x2fba3d=window[_0x16ed1c([0x44,0x61,0x74,0x65])][_0x16ed1c([0x6e,0x6f,0x77])](),_0x17ce60=_0x1cc9a0[_0x16ed1c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a209d=new window[(_0x16ed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x380ba5=>{_0x17ce60[_0x16ed1c([0x6f,0x6e,0x63,0x65])](_0x16ed1c([0x72,0x65,0x61,0x64,0x79]),_0x380ba5);}),_0x43c2bf={[_0x16ed1c([0x6b,0x74,0x79])]:_0x16ed1c([0x45,0x43]),[_0x16ed1c([0x75,0x73,0x65])]:_0x16ed1c([0x73,0x69,0x67]),[_0x16ed1c([0x63,0x72,0x76])]:_0x16ed1c([0x50,0x2d,0x32,0x35,0x36]),[_0x16ed1c([0x78])]:_0x16ed1c([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]),[_0x16ed1c([0x79])]:_0x16ed1c([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]),[_0x16ed1c([0x61,0x6c,0x67])]:_0x16ed1c([0x45,0x53,0x32,0x35,0x36])},_0x33d864=_0x17ce60[_0x16ed1c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16ed1c([0x67,0x65,0x74])](_0x16ed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4869b6(){let _0x1da2a4,_0xea344b=null,_0x347ad9=null;try{if(_0x33d864==_0x16ed1c([0x47,0x50,0x4c]))return _0x16ed1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1da2a4=_0x1a2e9b(),!_0x1da2a4)return _0x16ed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1da2a4[_0x16ed1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x347ad9=_0x180f12(_0x1da2a4[_0x16ed1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1da2a4[_0x16ed1c([0x6a,0x74,0x69])])),await _0x2758d1()?_0x5cca58()?_0x4ffe4e()?_0x16ed1c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x14941a()?(_0x1da2a4[_0x16ed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16ed1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xea344b=_0x44beb2(_0x16ed1c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1da2a4[_0x16ed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16ed1c([0x74,0x72,0x69,0x61,0x6c])&&(_0xea344b=_0x44beb2(_0x16ed1c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4bbb53()):_0x16ed1c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16ed1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16ed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16ed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ffe4e(){const _0x41a831=[_0x16ed1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16ed1c([0x74,0x72,0x69,0x61,0x6c])][_0x16ed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1da2a4[_0x16ed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2fba3d/0x3e8:0xe10*_0x98286d;return _0x1da2a4[_0x16ed1c([0x65,0x78,0x70])]<_0x41a831;}function _0x5cca58(){const _0x40ed4f=_0x1da2a4[_0x16ed1c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40ed4f&&(!!_0x40ed4f[_0x16ed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16ed1c([0x2a]))||!!_0x40ed4f[_0x16ed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16ed1c([0x55,0x50,0x4c,0x43])));}function _0x14941a(){const _0x2112f4=_0x1da2a4[_0x16ed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2112f4||0x0==_0x2112f4[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e2c7e}=new URL(window[_0x16ed1c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2112f4[_0x16ed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e2c7e))return!0x0;const _0x3fb942=_0x2e2c7e[_0x16ed1c([0x73,0x70,0x6c,0x69,0x74])](_0x16ed1c([0x2e]));return _0x2112f4[_0x16ed1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x220f9f=>_0x220f9f[_0x16ed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16ed1c([0x2a])))[_0x16ed1c([0x6d,0x61,0x70])](_0x2ef0c1=>_0x2ef0c1[_0x16ed1c([0x73,0x70,0x6c,0x69,0x74])](_0x16ed1c([0x2e])))[_0x16ed1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xca2042=>_0xca2042[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3fb942[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16ed1c([0x6d,0x61,0x70])](_0x4434ac=>Array(_0x3fb942[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4434ac[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16ed1c([0x66,0x69,0x6c,0x6c])](_0x4434ac[0x0]===_0x16ed1c([0x2a])?_0x16ed1c([0x2a]):'')[_0x16ed1c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4434ac))[_0x16ed1c([0x73,0x6f,0x6d,0x65])](_0x4598a6=>_0x3fb942[_0x16ed1c([0x65,0x76,0x65,0x72,0x79])]((_0x547a3d,_0x440237)=>_0x4598a6[_0x440237]===_0x547a3d||_0x4598a6[_0x440237]===_0x16ed1c([0x2a])));}function _0x4bbb53(){return _0xea344b&&_0x347ad9?new window[(_0x16ed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a5fca,_0x39251b)=>{_0xea344b[_0x16ed1c([0x74,0x68,0x65,0x6e])](_0x4a5fca,_0x39251b),_0x347ad9[_0x16ed1c([0x74,0x68,0x65,0x6e])](_0x158699=>{_0x158699!=_0x16ed1c([0x56,0x61,0x6c,0x69,0x64])&&_0x4a5fca(_0x158699);},_0x39251b);}):_0xea344b||_0x347ad9||_0x16ed1c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x180f12(_0x1c9b92,_0x3402f6){return new window[(_0x16ed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x571f2e=>{if(_0x5d2f5f())return _0x571f2e(_0x16ed1c([0x56,0x61,0x6c,0x69,0x64]));_0x1d2df2(),_0x17ce60[_0x16ed1c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16ed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x277545=!0x1;const _0x1f5ad5=_0x3112e1();function _0x20c3ce(_0x1d1f0c){return!!_0x1d1f0c&&(typeof _0x1d1f0c===_0x16ed1c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d1f0c===_0x16ed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d1f0c[_0x16ed1c([0x74,0x68,0x65,0x6e])]===_0x16ed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d1f0c[_0x16ed1c([0x63,0x61,0x74,0x63,0x68])]===_0x16ed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d671b(_0x4975a8){_0x53981a(_0x4975a8)[_0x16ed1c([0x74,0x68,0x65,0x6e])](_0x5b92eb=>{if(!_0x5b92eb||_0x5b92eb[_0x16ed1c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16ed1c([0x6f,0x6b]))return _0x16ed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23b146(_0x3a14a4(_0x1f5ad5+_0x3402f6))!=_0x5b92eb[_0x16ed1c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16ed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16ed1c([0x56,0x61,0x6c,0x69,0x64]);})[_0x16ed1c([0x74,0x68,0x65,0x6e])](_0x316125=>(_0x59b641(),_0x316125),()=>{const _0xc86342=_0x3a96ca();return null==_0xc86342?(_0x59b641(),_0x16ed1c([0x56,0x61,0x6c,0x69,0x64])):_0x16ed1c(_0x2fba3d-_0xc86342>(0x7753083a^_0x88250e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16ed1c([0x74,0x68,0x65,0x6e])](_0x571f2e)[_0x16ed1c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x571f2e(_0x16ed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11ff44=0x536962ba^_0x88250e;function _0x59b641(){const _0x5ebde4=_0x16ed1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x23b146(_0x3a14a4(_0x1c9b92)),_0x3862e3=_0x17554f(_0x23b146(window[_0x16ed1c([0x4d,0x61,0x74,0x68])][_0x16ed1c([0x63,0x65,0x69,0x6c])](_0x2fba3d/_0x11ff44)));window[_0x16ed1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16ed1c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ebde4,_0x3862e3);}function _0x3a96ca(){const _0x21baa2=_0x16ed1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x23b146(_0x3a14a4(_0x1c9b92)),_0x440b26=window[_0x16ed1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16ed1c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21baa2);return _0x440b26?window[_0x16ed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17554f(_0x440b26),0x10)*_0x11ff44:null;}function _0x53981a(_0x232848){return new window[(_0x16ed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf99295,_0x22ce11)=>{_0x232848[_0x16ed1c([0x74,0x68,0x65,0x6e])](_0xf99295,_0x22ce11),window[_0x16ed1c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22ce11,0x535e58fa^_0x88250e);});}}_0x17ce60[_0x16ed1c([0x6f,0x6e])](_0x16ed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xffa605,_0x9b16a4)=>{if(_0x9b16a4[0x0]!=_0x1c9b92)return _0x571f2e(_0x16ed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x9b16a4[0x1]={..._0x9b16a4[0x1],[_0x16ed1c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f5ad5};},{[_0x16ed1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16ed1c([0x68,0x69,0x67,0x68])}),_0x17ce60[_0x16ed1c([0x6f,0x6e])](_0x16ed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24e19d=>{_0x20c3ce(_0x24e19d[_0x16ed1c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x277545=!0x0,_0x4d671b(_0x24e19d[_0x16ed1c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16ed1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16ed1c([0x6c,0x6f,0x77])}),_0x1a209d[_0x16ed1c([0x74,0x68,0x65,0x6e])](()=>{_0x277545||_0x571f2e(_0x16ed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d2f5f(){return _0x17ce60[_0x16ed1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16ed1c([0x76,0x69,0x65,0x77])][_0x16ed1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16ed1c([0x61,0x75,0x74,0x6f]);}function _0x1d2df2(){_0x17ce60[_0x16ed1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16ed1c([0x76,0x69,0x65,0x77])][_0x16ed1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16ed1c([0x61,0x75,0x74,0x6f]);}}function _0x44beb2(_0x458bf9){const _0x5148fb=[new window[(_0x16ed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc53a97=>setTimeout(_0xc53a97,0x5356b2f6^_0x88250e)),_0x1a209d[_0x16ed1c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16ed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd88e=>{let _0x4d2d8f=0x0;_0x17ce60[_0x16ed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x16ed1c([0x6f,0x6e])](_0x16ed1c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4dae59,_0xc2f84e)=>{_0xc2f84e[0x0][_0x16ed1c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d2d8f++,_0x4d2d8f==(0x535f8dc2^_0x88250e)&&(_0x3dd88e(),_0x4dae59[_0x16ed1c([0x6f,0x66,0x66])]());});}))];return window[_0x16ed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16ed1c([0x72,0x61,0x63,0x65])](_0x5148fb)[_0x16ed1c([0x74,0x68,0x65,0x6e])](()=>_0x458bf9);}async function _0xb8c4a2(){await _0x1a209d,_0x17ce60[_0x16ed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x16ed1c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x396c73,_0x17ce60[_0x16ed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x16ed1c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x396c73,_0x17ce60[_0x16ed1c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16ed1c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x595679(_0x296d88){const _0x3d78c6=_0x120127();_0x17ce60[_0x3d78c6]=_0x16ed1c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x296d88,_0x296d88!=_0x16ed1c([0x56,0x61,0x6c,0x69,0x64])&&_0xb8c4a2();}function _0x120127(){const _0x2af30c=window[_0x16ed1c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16ed1c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16ed1c([0x6e,0x6f,0x77])]())[_0x16ed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16ed1c([0x2e]),'');let _0xa8e787=_0x16ed1c([0x68]);for(let _0x58677b=0x0;_0x58677b<_0x2af30c[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58677b+=0x2){let _0x44af2b=window[_0x16ed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af30c[_0x16ed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58677b,_0x58677b+0x2));_0x44af2b>=_0x4c5fbb[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44af2b-=_0x4c5fbb[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa8e787+=_0x4c5fbb[_0x44af2b];}return _0xa8e787;}function _0x1a2e9b(){const _0x99d6ae=_0x33d864[_0x16ed1c([0x73,0x70,0x6c,0x69,0x74])](_0x16ed1c([0x2e]));if(0x3!=_0x99d6ae[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ce716(_0x99d6ae[0x1]);function _0x1ce716(_0x16487f){const _0x113a65=_0x3fd6bc(_0x16487f);return _0x113a65&&_0x15fc42()?_0x113a65:null;function _0x15fc42(){const _0x473d0d=_0x113a65[_0x16ed1c([0x6a,0x74,0x69])],_0x5cd42d=window[_0x16ed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x473d0d[_0x16ed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x473d0d[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1eee61={..._0x113a65,[_0x16ed1c([0x6a,0x74,0x69])]:_0x473d0d[_0x16ed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x473d0d[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1eee61[_0x16ed1c([0x76,0x63])],_0x3a14a4(_0x1eee61)==_0x5cd42d;}}}async function _0x2758d1(){let _0xc0d0c2=!0x0;try{const _0x74fb8=_0x33d864[_0x16ed1c([0x73,0x70,0x6c,0x69,0x74])](_0x16ed1c([0x2e])),[_0x416bc3,_0x194a1c,_0x4c23ad]=_0x74fb8;return _0x3a5649(_0x416bc3),await _0x26f3cd(_0x416bc3,_0x194a1c,_0x4c23ad),_0xc0d0c2;}catch{return!0x1;}function _0x3a5649(_0x534332){const _0x2f57e0=_0x3fd6bc(_0x534332);_0x2f57e0&&_0x2f57e0[_0x16ed1c([0x61,0x6c,0x67])]==_0x16ed1c([0x45,0x53,0x32,0x35,0x36])||(_0xc0d0c2=!0x1);}async function _0x26f3cd(_0x4dae1a,_0x4d7b5b,_0x1ac69f){const _0x29a7e5=window[_0x16ed1c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16ed1c([0x66,0x72,0x6f,0x6d])](_0x205c64(_0x1ac69f),_0x3e4d20=>_0x3e4d20[_0x16ed1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10a735=new window[(_0x16ed1c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16ed1c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4dae1a+_0x16ed1c([0x2e])+_0x4d7b5b),_0xd3229e=window[_0x16ed1c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16ed1c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd3229e)return;const _0x47c71f=await _0xd3229e[_0x16ed1c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16ed1c([0x6a,0x77,0x6b]),_0x43c2bf,{[_0x16ed1c([0x6e,0x61,0x6d,0x65])]:_0x16ed1c([0x45,0x43,0x44,0x53,0x41]),[_0x16ed1c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16ed1c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16ed1c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd3229e[_0x16ed1c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16ed1c([0x6e,0x61,0x6d,0x65])]:_0x16ed1c([0x45,0x43,0x44,0x53,0x41]),[_0x16ed1c([0x68,0x61,0x73,0x68])]:{[_0x16ed1c([0x6e,0x61,0x6d,0x65])]:_0x16ed1c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47c71f,_0x29a7e5,_0x10a735)||(_0xc0d0c2=!0x1);}}function _0x3fd6bc(_0x783209){return _0x783209[_0x16ed1c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16ed1c([0x65,0x79]))?JSON[_0x16ed1c([0x70,0x61,0x72,0x73,0x65])](_0x205c64(_0x783209)):null;}function _0x205c64(_0x527e26){return window[_0x16ed1c([0x61,0x74,0x6f,0x62])](_0x527e26[_0x16ed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16ed1c([0x2b]))[_0x16ed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16ed1c([0x2f])));}function _0x3a14a4(_0x24be2a){let _0x530cb5=0x1505;function _0x5295ee(_0x19cec6){for(let _0x8a818f=0x0;_0x8a818f<_0x19cec6[_0x16ed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8a818f++){const _0xe9419a=_0x19cec6[_0x16ed1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8a818f);_0x530cb5=(_0x530cb5<<0x5)+_0x530cb5+_0xe9419a,_0x530cb5&=_0x530cb5;}}function _0x5c84ab(_0x43a706){Array[_0x16ed1c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43a706)?_0x43a706[_0x16ed1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c84ab):_0x43a706&&typeof _0x43a706==_0x16ed1c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16ed1c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43a706)[_0x16ed1c([0x73,0x6f,0x72,0x74])]()[_0x16ed1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x380518,_0x201d5f])=>{_0x5295ee(_0x380518),_0x5c84ab(_0x201d5f);}):_0x5295ee(window[_0x16ed1c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43a706));}return _0x5c84ab(_0x24be2a),_0x530cb5>>>0x0;}function _0x23b146(_0x554369){return _0x554369[_0x16ed1c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16ed1c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16ed1c([0x30]));}function _0x17554f(_0x4bc517){return _0x4bc517[_0x16ed1c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16ed1c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16ed1c([0x6a,0x6f,0x69,0x6e])]('');}function _0x396c73(){}function _0x16ed1c(_0x3153c9){return _0x3153c9['map'](_0x339c80=>String['fromCharCode'](_0x339c80))['join']('');}_0x595679(await _0x4869b6());}(this);}['_initSchema'](){const _0x2a4fad=this['editor']['model']['schema'];_0x2a4fad['isRegistered']('imageBlock')&&_0x2a4fad['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2a4fad['isRegistered']('imageInline')&&_0x2a4fad['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x430713=this['editor'];_0x430713['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x430713['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5cb873=>_0x5cb873['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x312067=_0x430713['commands']['get']('replaceImageSource');_0x312067&&this['listenTo'](_0x312067,'cleanupImage',(_0x5f4352,[_0xce57c5,_0x3b7855])=>{_0xce57c5['removeAttribute']('uploadcareImageId',_0x3b7855);});}['_initConfig'](){const _0x1afb2d=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5436fe=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3c3e16(_0x48c778['document'],'uc-config',{..._0x1afb2d,'pubkey':_0x5436fe,'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']=_0x23bcaf=>{if('closeMax'==_0x23bcaf)return'#uc-icon-arrow-down';},_0x48c778['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3c3e16(_0x48c778['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x48c778['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5aac55=this['editor']['commands']['get']('insertImage');_0x5aac55&&this['listenTo'](_0x5aac55,'execute',()=>{const _0x5eb418=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5eb418&&_0x5eb418['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5eb418);});});const _0x2771f2=this['editor']['commands']['get']('uploadcareImageReplace');_0x2771f2&&this['listenTo'](_0x2771f2,'execute',()=>{const _0x4cdf52=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4cdf52&&_0x4cdf52['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4cdf52);});});}}class tt extends _0x533e7e{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x80eb5f){super(_0x80eb5f),_0x80eb5f['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4f87ba['defineComponents'](_0x4f87ba),this['_defineLocale']();}['_defineLocale'](){const _0x25ef79=this['editor']['config']['get']('uploadcare.locale'),_0x450528=this['editor']['locale']['contentLanguage'];_0x25ef79&&_0x4f87ba['defineLocale'](_0x450528,_0x25ef79);}}class ii extends _0xb1318f{constructor(_0x1f1391){super(_0x1f1391);const t=_0x1f1391['t'],_0x5e245a=this['bindTemplate'],_0x32b06e=new _0x5e95fc();_0x32b06e['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':[_0x32b06e,{'text':_0x5e245a['to']('imageUploadProgress',_0x4e0515=>t('Loading\x20image...')+'\x20('+(_0x4e0515||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 _0xb1318f{constructor(_0x7c74d0){super(_0x7c74d0);const t=_0x7c74d0['t'];this['set']('errorType',null);const _0x9a970d=new _0x1ab08f(_0x7c74d0);_0x9a970d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x9a970d['withText']=!0x0,_0x9a970d['class']='ck-button-action',_0x9a970d['on']('execute',()=>{this['fire']('retry');}),_0x9a970d['bind']('isVisible')['to'](this,'errorType',_0x40e66d=>'NotFound'!==_0x40e66d);const _0x2f3b5d=new _0x4166df();_0x2f3b5d['content']=_0x165dab,_0x2f3b5d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x8179f3=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':[_0x2f3b5d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x8179f3['to']('errorType',_0x5b9778=>t('NotFound'!==_0x5b9778?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x9a970d]},{'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 _0xb1318f{constructor(_0x3ab73c,_0x138c0a){super(_0x3ab73c);const _0x3cb6a7=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x138c0a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3cb6a7['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x76cb82,_0x73ecbb,_0xec4fed){super(_0x76cb82),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x76cb82),this['_errorView']=new ti(_0x76cb82),this['_editingView']=new ei(_0x76cb82,_0xec4fed),this['_focusableView']=new _0xb1318f(_0x76cb82),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x73ecbb),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'],_0x206de7=>{this['_addUploadcareImageEditorListeners'](_0x206de7);});}),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'](_0x334d04,_0xda41f3){const _0x2ef38d='uc-cloud-image-editor',_0x5ec41f=_0x334d04['querySelector'](_0x2ef38d);if(_0x5ec41f)return _0xda41f3(_0x5ec41f);const _0x872098=new MutationObserver(_0x5abd92=>{const _0x55bdaa=_0x5abd92['filter'](_0x1c6e56=>_0x1c6e56['target']===_0x334d04&&_0x1c6e56['addedNodes']['length']>0x0&&_0x1c6e56['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2ef38d);_0x55bdaa['length']&&(_0x872098['disconnect'](),_0xda41f3(_0x55bdaa[0x0]['addedNodes'][0x0]));});_0x872098['observe'](_0x334d04,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3aca5a){_0x3aca5a['addEventListener']('apply',_0x7ceecf=>{this['fire']('apply',{'imageSrc':_0x7ceecf['detail']['cdnUrl']});}),_0x3aca5a['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x424f75(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5e736f,_0x33d2a3,_0x5a2c50){super(),this['_editor']=_0x5e736f,this['_dialog']=_0x33d2a3,this['_imageElement']=_0x5a2c50,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 _0x962151=this['_imageElement'],_0x4d81aa=_0x962151['getAttribute']('uploadcareImageId'),_0xd02214=_0x962151['getAttribute']('src');if(_0x4d81aa)await this['_loadImageInfo'](_0x4d81aa,_0xd02214);else{if(this['_imageCache']['has'](_0xd02214)){const _0x2576de=this['_imageCache']['get'](_0xd02214);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2576de['url'],this['imageDimension']=_0x2576de['dimension'],this['imageId']=_0x2576de['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3d34d6}=this['_editor'],t=_0x3d34d6['t'],_0x4ef25e=new X(_0x3d34d6,this['imageStatus'],this['_attributes']);_0x4ef25e['bind']('status')['to'](this,'imageStatus'),_0x4ef25e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4ef25e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4ef25e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4ef25e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x354f1f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4ef25e,'position':_0x4cbbdf['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4ef25e['focus']();},'onHide':()=>{_0x4ef25e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5dd1aa=>!A(_0x5dd1aa,_0x4ef25e['element'])}});}['_loadImageInfo'](_0x5498cf,_0x4f4621){return j['getInfo'](_0x5498cf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5d9c65=>{const {width:_0x11ff48,height:_0x20b750}=_0x5d9c65['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f4621,this['imageDimension']={'width':_0x11ff48,'height':_0x20b750},this['imageId']=_0x5498cf;})['catch'](_0x13c5cb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13c5cb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x321a7f,_0x421019){return this['_getImageAsFile'](_0x321a7f)['then'](_0x442824=>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':_0x421019['signal'],'file':_0x442824,'onProgress':_0x4ca0fb=>{_0x4ca0fb&&_0x4ca0fb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4ca0fb['value']));}}))['then'](_0x500382=>{const {width:_0x3c980c,height:_0x39dbc8}=_0x500382['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x500382['cdnUrl'],this['imageDimension']={'width':_0x3c980c,'height':_0x39dbc8},this['imageId']=_0x500382['uuid'],this['imageUploadProgress']=null;const _0x4ca0c2=_0x321a7f['getAttribute']('src');this['_imageCache']['set'](_0x4ca0c2,{'id':_0x500382['uuid'],'url':_0x500382['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x451a6c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x451a6c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2f45ae,_0x5914a5){_0x2f45ae['on']('apply',(_0x896981,_0x14ab5f)=>{this['_replaceImage'](_0x5914a5,_0x14ab5f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2f45ae['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2f45ae['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x17dad6,_0x71a18f,_0x1cae36){const _0x3874d9=this['_editor'],{width:_0x267bf9,height:_0x3ae5d8}=S(_0x71a18f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x46d134,imageSources:_0x920aea}=C(_0x71a18f,_0x267bf9);_0x3874d9['model']['change'](_0x5b4606=>{if('$graveyard'===_0x17dad6['root']['rootName']){_0x3874d9['execute']('insertImage',{'imageType':_0x17dad6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x17dad6['getAttributes']()),'uploadcareImageId':_0x1cae36,'src':_0x46d134,'sources':_0x920aea,'width':_0x267bf9,'height':_0x3ae5d8}});const _0x5da10e=_0x17dad6['getChildren']();_0x17dad6=_0x3874d9['model']['document']['selection']['getSelectedElement']();for(const _0x38e3a5 of _0x5da10e)_0x5b4606['append'](_0x5b4606['cloneElement'](_0x38e3a5),_0x17dad6);}else _0x5b4606['setSelection'](_0x17dad6,'on'),_0x3874d9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x17dad6['getAttributes']()),'uploadcareImageId':_0x1cae36,'src':_0x46d134,'sources':_0x920aea,'width':_0x267bf9,'height':_0x3ae5d8},_0x17dad6);_0x5b4606['setSelection'](_0x17dad6,'on');});}async['_getImageAsFile'](_0x410d08){const _0x114060=_0x48c778['window'],_0xfce44c=_0x48c778['document']['location']['href'],_0xf4214a=new _0x114060['URL'](_0x410d08['getAttribute']('src'),_0xfce44c);if('data:'===_0xf4214a['protocol']){const _0x38ecae=_0xf4214a['href']['split'](','),_0x36cb03=_0x38ecae[0x0]['match'](/:(.*?);/)[0x1],_0x41b053=_0x36cb03['split']('/')[0x1],_0x50325c=_0x114060['atob'](_0x38ecae[_0x38ecae['length']-0x1]);let _0x2a6077=_0x50325c['length'];const _0x38ad8f=new _0x114060['Uint8Array'](_0x2a6077);for(;_0x2a6077--;)_0x38ad8f[_0x2a6077]=_0x50325c['charCodeAt'](_0x2a6077);return new _0x114060['File']([_0x38ad8f],'image.'+_0x41b053,{'type':_0x36cb03});}const _0x10bbdc=_0xf4214a['href']['split']('/'),_0x1b118e=_0x10bbdc[_0x10bbdc['length']-0x1],_0x9e4d07=_0x1b118e['split']('.')[0x1];return _0x114060['fetch'](_0xf4214a['href'])['then'](_0x2121b4=>_0x2121b4['clone']()['blob']())['then'](_0x5df27b=>new _0x114060['File']([_0x5df27b],_0x1b118e,{'type':'image/'+_0x9e4d07}));}}class O extends _0xb35fdf{['imageEditController'];static get['requires'](){return[_0x86cc70];}['_isEditable'];constructor(_0x30ea93){super(_0x30ea93),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x31de5c){const _0x2e1bfa=G(_0x31de5c);return _0x374bc6=>!(!_0x374bc6||!_0x374bc6['is']('element','imageBlock')&&!_0x374bc6['is']('element','imageInline'))&&(!!_0x374bc6['hasAttribute']('uploadcareImageId')||!!_0x374bc6['hasAttribute']('src')&&_0x2e1bfa(_0x374bc6['getAttribute']('src')));}(_0x30ea93['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4d1905=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4d1905);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x405ca7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x405ca7&&(_0x405ca7['is']('element','imageBlock')||_0x405ca7['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x86cc70),_0x405ca7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xb35fdf{['refresh'](){const _0x1b04c4=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1b04c4&&(_0x1b04c4['is']('element','imageBlock')||_0x1b04c4['is']('element','imageInline')));}['execute'](_0x234a53){const _0x586aa2=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4e98bf=>{_0x4e98bf['setAttributes'](_0x234a53,_0x586aa2),_0x4e98bf['removeAttribute']('srcset',_0x586aa2),_0x4e98bf['removeAttribute']('sizes',_0x586aa2);});}}class m extends _0x533e7e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x601c08,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x48eb9d}=this;_0x48eb9d['commands']['add']('uploadcareImageEdit',new O(_0x48eb9d)),_0x48eb9d['commands']['add']('uploadcareImageReplace',new R(_0x48eb9d));}}class g extends _0x533e7e{['_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 _0x57dec6=this['editor'];_0x57dec6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x15f9ab=>{const _0x1c70a0=_0x57dec6['commands']['get']('uploadcareImageEdit'),_0x221464=new _0x1ab08f(_0x15f9ab),t=_0x15f9ab['t'];return _0x221464['set']({'icon':_0x354f1f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x221464['bind']('isEnabled')['to'](_0x1c70a0),_0x221464['bind']('isOn')['to'](_0x1c70a0,'isActive'),this['listenTo'](_0x221464,'execute',()=>{_0x57dec6['execute']('uploadcareImageEdit'),_0x57dec6['editing']['view']['focus']();}),_0x221464;}),this['_initConfig']();}['_initConfig'](){const _0x1aec99=_0x3c3e16(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1aec99),this['listenTo'](this['editor'],'destroy',()=>{_0x1aec99['remove']();});}}class et extends _0x533e7e{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 _0xf38636,Command as _0x392ed7}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x7e97a7,IconGooglePhotos as _0x55fad1,IconGoogleDrive as _0xa5c6d9,IconFacebook as _0x33b9b6,IconDropbox as _0xe40a39,IconUploadcareLink as _0x29f467,IconUploadcareImageUpload as _0x31c404,IconError as _0x10dfd5,IconUploadcareImageEdit as _0x2173fe}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x52b656,MenuBarMenuListItemButtonView as _0x380de1,View as _0x1028fe,FocusCycler as _0x320b59,Dialog as _0x5f1377,DialogViewPosition as _0x16cfb1,SpinnerView as _0x2a9dcb,IconView as _0x3dae89,Notification as _0xaf71b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xc3e5b8,DomEmitterMixin as _0x4e81f9,global as _0x5b66cb,getAncestors as _0x28d403,ObservableMixin as _0x59bb24,uid as _0x4c54e9,createElement as _0x35d2c7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2b8b93}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x49f3ab,info as _0x278478}from'@uploadcare/upload-client';import*as _0x36873e from'@uploadcare/file-uploader';var i=function(_0x2278b7){return _0x2278b7['Local']='local',_0x2278b7['URL']='url',_0x2278b7['Dropbox']='dropbox',_0x2278b7['GDrive']='gdrive',_0x2278b7['Facebook']='facebook',_0x2278b7['GPhotos']='gphotos',_0x2278b7['OneDrive']='onedrive',_0x2278b7;}({});function _(_0x16086d,_0xc8c4ca,_0x3e5d78){const t=_0x16086d['t'],_0x5d4338=_0x16086d['t'];switch(_0xc8c4ca){case i['Local']:return{'text':_0x5d4338('Insert'===_0x3e5d78?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5d4338('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3e5d78?_0x5d4338('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5d4338('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3e5d78?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3e5d78?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3e5d78?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3e5d78?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3e5d78?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xc8c4ca;}}class e extends _0xf38636{['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 _0x1d7ae7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x462afa;for(const _0x444df5 in _0x1d7ae7){const _0x51533c=_0x444df5,_0x2df0cf=_0x1d7ae7[_0x51533c];if('uploadcareLicenseKeyValid'==_0x2df0cf||'uploadcareLicenseKeyInvalid'==_0x2df0cf||'uploadcareLicenseKeyExpired'==_0x2df0cf||'uploadcareLicenseKeyDomainLimit'==_0x2df0cf||'uploadcareLicenseKeyNotAllowed'==_0x2df0cf||'uploadcareLicenseKeyEvaluationLimit'==_0x2df0cf||'uploadcareLicenseKeyTrialLimit'==_0x2df0cf||'uploadcareLicenseKeyUsageLimit'==_0x2df0cf){delete _0x1d7ae7[_0x51533c],_0x462afa=_0x2df0cf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x462afa&&_0x1d7ae7['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x462afa&&_0x1d7ae7['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x462afa&&_0x1d7ae7['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x462afa&&_0x1d7ae7['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x462afa&&_0x1d7ae7['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x462afa&&_0x1d7ae7['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x462afa&&_0x1d7ae7['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x48b09e}=this,_0x1a7044=_0x48b09e['commands']['get']('uploadcare');if(!_0x1a7044)return;const _0x5527ed=this['_normalizeConfigSourceList'](_0x48b09e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3d7862,_0x377513)=>{const _0x1a245c=this['_getIntegrationKey'](_0x377513['type']);return _0x3d7862[_0x1a245c]||(_0x3d7862[_0x1a245c]=[]),_0x3d7862[_0x1a245c]['push'](_0x377513),_0x3d7862;},{});_0x48b09e['plugins']['has']('ImageInsertUI')&&_0x48b09e['commands']['get']('uploadcare')&&Object['entries'](_0x5527ed)['forEach'](([_0x2c68fd,_0x35dad6])=>{_0x48b09e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2c68fd,'observable':()=>_0x1a7044,'buttonViewCreator':()=>this['_createToolbarButton'](_0x35dad6),'formViewCreator':()=>this['_createDropdownButtons'](_0x35dad6),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x35dad6),'override':'assetManager'!==_0x2c68fd});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x43e520){const {locale:_0x1e5774}=this['editor'];return _0x43e520['map'](_0x51faac=>{const _0xec2ed1=_(_0x1e5774,_0x51faac,'Insert');switch(_0x51faac){case i['Local']:return{'icon':_0x31c404,'type':i['Local'],..._0xec2ed1};case i['URL']:return{'icon':_0x29f467,'type':i['URL'],..._0xec2ed1};case i['Dropbox']:return{'icon':_0xe40a39,'type':i['Dropbox'],..._0xec2ed1};case i['Facebook']:return{'icon':_0x33b9b6,'type':i['Facebook'],..._0xec2ed1};case i['GDrive']:return{'icon':_0xa5c6d9,'type':i['GDrive'],..._0xec2ed1};case i['GPhotos']:return{'icon':_0x55fad1,'type':i['GPhotos'],..._0xec2ed1};case i['OneDrive']:return{'icon':_0x7e97a7,'type':i['OneDrive'],..._0xec2ed1};}});}['_getIntegrationKey'](_0x4fbe56){switch(_0x4fbe56){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1d9f8c,_0x41d414){const _0x7db6e0=this['editor'],_0x26b813=new _0x1d9f8c(_0x7db6e0['locale']),_0x15985a=_0x7db6e0['commands']['get']('uploadcare');return _0x26b813['bind']('isEnabled')['to'](_0x15985a),_0x26b813['on']('execute',()=>{_0x15985a['execute'](_0x41d414);}),_0x26b813;}['_createToolbarButton'](_0x23c873){const {locale:_0x2980ca}=this['editor'],_0x478f4c=this['editor']['plugins']['get']('ImageInsertUI'),_0x2706cf=_0x23c873[0x0],_0x2808c3=this['_createButton'](_0x52b656,_0x2706cf['type']);return _0x2808c3['icon']=_0x2706cf['icon'],_0x2808c3['bind']('label')['to'](_0x478f4c,'isImageSelected',_0x162f59=>_(_0x2980ca,_0x2706cf['type'],_0x162f59?'Replace':'Insert')['text']),_0x2808c3['tooltip']=!0x0,_0x2808c3;}['_createDropdownButtons'](_0xce2cae){const {locale:_0x466251}=this['editor'],_0x7f722d=this['editor']['plugins']['get']('ImageInsertUI');return _0xce2cae['map'](_0x138452=>{const _0x81f5ca=this['_createButton'](_0x52b656,_0x138452['type']);return _0x81f5ca['withText']=!0x0,_0x81f5ca['icon']=_0x138452['icon'],_0x81f5ca['bind']('label')['to'](_0x7f722d,'isImageSelected',_0x301073=>_(_0x466251,_0x138452['type'],_0x301073?'Replace':'Insert')['text']),_0x81f5ca;});}['_createMenuBarButtons'](_0x457128){return _0x457128['map'](_0x452e3e=>{const _0xbf0adf=this['_createButton'](_0x380de1,_0x452e3e['type']);return _0xbf0adf['icon']=_0x452e3e['icon'],_0xbf0adf['label']=_0x452e3e['shortText'],_0xbf0adf;});}}class V extends _0x1028fe{['focusTracker'];['focusCycler'];constructor(_0x8ee38d){super(_0x8ee38d),this['focusTracker']=new _0xc3e5b8(),this['focusCycler']=new _0x320b59({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x5c2cfd,_0x96f641){super(_0x5c2cfd),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-'+_0x96f641}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x14915d,_0x66f5d8){const _0x1667e4=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1fd8e0=>_0x1fd8e0<=_0x66f5d8)['map'](_0x150b2a=>_0x14915d['replace'](/\/$/,'')+'/-/resize/'+_0x150b2a+'x/\x20'+_0x150b2a+'w');return{'imageFallbackUrl':_0x14915d,'imageSources':[{'srcset':_0x1667e4['join'](',\x20'),'sizes':'(max-width:\x20'+_0x66f5d8+'px)\x20100vw,\x20'+_0x66f5d8+'px','type':'image/webp'}]};}function F(_0x2041c2,_0xb77078,_0x31b8d0){const _0x39db2d=_0x2041c2['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x39db2d?parseInt(_0x39db2d[0x1],0xa):_0xb77078,'height':_0x39db2d?parseInt(_0x39db2d[0x2],0xa):_0x31b8d0};}function p(_0x148e6a,_0x2eff1d){const _0x1de72f=new(_0x4e81f9())(),_0x457e03=_0x148e6a['plugins']['get']('ImageUtils'),_0x3cfc0d=_0x148e6a['editing']['mapper']['toViewElement'](_0x2eff1d),_0x5a0fb=_0x457e03['findViewImgElement'](_0x3cfc0d),_0x5245d5=_0x148e6a['editing']['view']['domConverter']['viewToDom'](_0x5a0fb),_0x145080=_0x2eff1d['getAttribute']('width'),_0x13aa8d=_0x2eff1d['getAttribute']('height'),_0x451e23='image-processing';_0x148e6a['editing']['view']['change'](_0x437113=>{_0x437113['addClass'](_0x451e23,_0x3cfc0d),_0x437113['setStyle']('aspect-ratio',_0x145080+'/'+_0x13aa8d,_0x5a0fb);}),_0x1de72f['listenTo'](_0x5245d5,'load',()=>{_0x1de72f['stopListening'](_0x5245d5,'load'),_0x148e6a['editing']['view']['change'](_0x5cef64=>{_0x5cef64['removeClass'](_0x451e23,_0x3cfc0d),_0x5cef64['removeStyle']('aspect-ratio',_0x5a0fb);});});}function R(_0x34cb06){if(Array['isArray'](_0x34cb06)){const _0x33f4ef=_0x34cb06['map'](R);return _0x1904f7=>_0x33f4ef['some'](_0x4a2a38=>_0x4a2a38(_0x1904f7));}if('origin'==_0x34cb06){const _0x569f06=_0x5b66cb['window']['location']['origin'];return _0x2c560a=>new URL(_0x2c560a,_0x5b66cb['document']['baseURI'])['origin']==_0x569f06;}return'function'==typeof _0x34cb06?_0x34cb06:_0x34cb06 instanceof RegExp?_0x15c0d8=>!(!_0x15c0d8['match'](_0x34cb06)&&!_0x15c0d8['replace'](/^https?:\/\//,'')['match'](_0x34cb06)):()=>!0x1;}function M(_0x1b0694,_0xd81b12){return _0x28d403(_0x1b0694['target'])['includes'](_0xd81b12);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x59bb24(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x54d715,_0x2b9cc7,_0x1fabe9){super(),this['_editor']=_0x54d715,this['_editing']=_0x2b9cc7,this['_dialog']=_0x54d715['plugins']['get'](_0x5f1377),this['_api']=_0x2b9cc7['ctxElement']['getAPI'](),this['_type']=_0x1fabe9,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:_0x442201,model:_0x35867d}=this['_editor'],_0x2bb752=_0x35867d['document']['selection']['getSelectedElement'](),_0x57f8f1=_0x2bb752&&(_0x2bb752['is']('element','imageBlock')||_0x2bb752['is']('element','imageInline'));this['_formView']=new S(_0x442201,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x31c404,'title':_(_0x442201,this['_type'],_0x57f8f1?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x16cfb1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x53a7d1=>!M(_0x53a7d1,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x21fb9d}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x282aff=>{const _0x585b07=_0x21fb9d['length'];for(const _0x1ad9bd of _0x21fb9d){const _0x64cba0=_0x1ad9bd===_0x21fb9d[_0x585b07-0x1],{cdnUrl:_0x3dccff,fileInfo:_0x27cc60}=_0x1ad9bd;if(!_0x3dccff||!_0x27cc60)continue;const {width:_0x182665,height:_0x4afa7e}=_0x27cc60['imageInfo'],_0x47f770=F(_0x3dccff,_0x182665,_0x4afa7e),_0xb841dc=C(_0x3dccff,_0x47f770['width']),_0x3ac941={'id':_0x27cc60['uuid'],'type':'image','attributes':{'imageDimension':_0x47f770,..._0xb841dc}};this['_insertAsset'](_0x3ac941,_0x64cba0,_0x282aff);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5bec5c=>{'idle'===_0x5bec5c['detail']['status']&&!_0x5bec5c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x209a86,_0x308e4b,_0x3d9268){const _0x1856d1=this['_editor']['model']['document']['selection'],_0x4fc2ae=_0x1856d1['getSelectedElement'](),_0x1471d4=!(!_0x4fc2ae||!_0x4fc2ae['is']('element','imageInline'));_0x3d9268['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x209a86,_0x1471d4),_0x308e4b||_0x3d9268['setSelection'](_0x1856d1['getLastPosition']());}['_insertImage'](_0x103dd1,_0x40fdd9){const _0x301e6c=this['_editor'],{imageDimension:_0x43af01,imageFallbackUrl:_0x5eeebf,imageSources:_0x1500ae}=_0x103dd1['attributes'];_0x301e6c['execute']('insertImage',{'imageType':_0x40fdd9?'imageInline':null,'source':{'uploadcareImageId':_0x103dd1['id'],'src':_0x5eeebf,'sources':_0x1500ae,..._0x43af01}});}}class w extends _0x392ed7{['_editing'];['_controller']=null;static get['requires'](){return[_0x5f1377,o];}constructor(_0x579464){super(_0x579464),this['_editing']=_0x579464['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5d5a1d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5d5a1d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0xeefb46,..._0x216f58}){return _0x49f3ab(_0xeefb46,_0x216f58);}static['getInfo'](_0x152dd6,_0x1ca375){return _0x278478(_0x152dd6,_0x1ca375);}}class f extends _0xf38636{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2b8b93,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a3a62=this['editor'];if(!!!_0x2a3a62['config']['get']('uploadcare'))return;_0x2a3a62['plugins']['get'](_0x2b8b93)['createUploadAdapter']=_0x11b184=>new k(_0x11b184,_0x2a3a62),_0x2a3a62['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x13cd40,{imageElement:_0x3be15c,data:_0x2dd286})=>{_0x2a3a62['model']['change'](_0x56554c=>{_0x56554c['setAttribute']('uploadcareImageId',_0x2dd286['uploadcareImageId'],_0x3be15c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1ac07a,_0x40639f){this['loader']=_0x1ac07a,this['editor']=_0x40639f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2f8851=await this['loader']['file'];return j['upload']({'file':_0x2f8851,'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':_0x55ba00=>{_0x55ba00&&_0x55ba00['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x55ba00['value']);}})['then'](async _0x12844e=>{const {imageFallbackUrl:_0x4a9ca9,imageSources:_0x200322}=C(_0x12844e['cdnUrl'],_0x12844e['imageInfo']['width']);return{'uploadcareImageId':_0x12844e['uuid'],'default':_0x4a9ca9,'sources':_0x200322};})['catch'](()=>{const _0x181c91=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f8851['name']+'.');return Promise['reject'](_0x181c91);});}['abort'](){this['controller']['abort']();}}class o extends _0xf38636{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x5f1377];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4b9548){super(_0x4b9548),this['ucContextId']=_0x4c54e9();}['init'](){const _0x1d8015=this['editor'];_0x1d8015['commands']['add']('uploadcare',new w(_0x1d8015));}['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 _0x4f7ad0=_0x5b66cb['document']['querySelector']('input[uploadcare-file-input]');_0x4f7ad0&&_0x4f7ad0['remove']();}),async function(_0x134863){const _0x509a2d=_0x1baded([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]),_0x137589=0x535f8c3a,_0x48f506=0x5358f7da^_0x137589,_0x515e1a=window[_0x1baded([0x44,0x61,0x74,0x65])][_0x1baded([0x6e,0x6f,0x77])](),_0x2d5eb2=_0x134863[_0x1baded([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x113b2f=new window[(_0x1baded([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57f560=>{_0x2d5eb2[_0x1baded([0x6f,0x6e,0x63,0x65])](_0x1baded([0x72,0x65,0x61,0x64,0x79]),_0x57f560);}),_0x515861={[_0x1baded([0x6b,0x74,0x79])]:_0x1baded([0x45,0x43]),[_0x1baded([0x75,0x73,0x65])]:_0x1baded([0x73,0x69,0x67]),[_0x1baded([0x63,0x72,0x76])]:_0x1baded([0x50,0x2d,0x32,0x35,0x36]),[_0x1baded([0x78])]:_0x1baded([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]),[_0x1baded([0x79])]:_0x1baded([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]),[_0x1baded([0x61,0x6c,0x67])]:_0x1baded([0x45,0x53,0x32,0x35,0x36])},_0x55cc5f=_0x2d5eb2[_0x1baded([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1baded([0x67,0x65,0x74])](_0x1baded([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a4020(){let _0x1ef93c,_0x310c64=null,_0x3e51fc=null;try{if(_0x55cc5f==_0x1baded([0x47,0x50,0x4c]))return _0x1baded([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ef93c=_0x5e09e3(),!_0x1ef93c)return _0x1baded([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ef93c[_0x1baded([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e51fc=_0xad805b(_0x1ef93c[_0x1baded([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ef93c[_0x1baded([0x6a,0x74,0x69])])),await _0x3a59cf()?_0xbd6aeb()?_0xcad6b3()?_0x1baded([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xde4bc2()?(_0x1ef93c[_0x1baded([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1baded([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x310c64=_0x3383d1(_0x1baded([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1ef93c[_0x1baded([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1baded([0x74,0x72,0x69,0x61,0x6c])&&(_0x310c64=_0x3383d1(_0x1baded([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13f1ba()):_0x1baded([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1baded([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1baded([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1baded([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xcad6b3(){const _0x531777=[_0x1baded([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1baded([0x74,0x72,0x69,0x61,0x6c])][_0x1baded([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef93c[_0x1baded([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x515e1a/0x3e8:0xe10*_0x48f506;return _0x1ef93c[_0x1baded([0x65,0x78,0x70])]<_0x531777;}function _0xbd6aeb(){const _0x51edfd=_0x1ef93c[_0x1baded([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51edfd&&(!!_0x51edfd[_0x1baded([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1baded([0x2a]))||!!_0x51edfd[_0x1baded([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1baded([0x55,0x50,0x4c,0x43])));}function _0xde4bc2(){const _0x135369=_0x1ef93c[_0x1baded([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x135369||0x0==_0x135369[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x262ebb}=new URL(window[_0x1baded([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x135369[_0x1baded([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x262ebb))return!0x0;const _0x34ec04=_0x262ebb[_0x1baded([0x73,0x70,0x6c,0x69,0x74])](_0x1baded([0x2e]));return _0x135369[_0x1baded([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45db86=>_0x45db86[_0x1baded([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1baded([0x2a])))[_0x1baded([0x6d,0x61,0x70])](_0x88b04a=>_0x88b04a[_0x1baded([0x73,0x70,0x6c,0x69,0x74])](_0x1baded([0x2e])))[_0x1baded([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3603f9=>_0x3603f9[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34ec04[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1baded([0x6d,0x61,0x70])](_0x23716d=>Array(_0x34ec04[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23716d[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1baded([0x66,0x69,0x6c,0x6c])](_0x23716d[0x0]===_0x1baded([0x2a])?_0x1baded([0x2a]):'')[_0x1baded([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23716d))[_0x1baded([0x73,0x6f,0x6d,0x65])](_0x4d086e=>_0x34ec04[_0x1baded([0x65,0x76,0x65,0x72,0x79])]((_0x9f069e,_0x277c43)=>_0x4d086e[_0x277c43]===_0x9f069e||_0x4d086e[_0x277c43]===_0x1baded([0x2a])));}function _0x13f1ba(){return _0x310c64&&_0x3e51fc?new window[(_0x1baded([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4820b5,_0x282171)=>{_0x310c64[_0x1baded([0x74,0x68,0x65,0x6e])](_0x4820b5,_0x282171),_0x3e51fc[_0x1baded([0x74,0x68,0x65,0x6e])](_0x44ffb5=>{_0x44ffb5!=_0x1baded([0x56,0x61,0x6c,0x69,0x64])&&_0x4820b5(_0x44ffb5);},_0x282171);}):_0x310c64||_0x3e51fc||_0x1baded([0x56,0x61,0x6c,0x69,0x64]);}}function _0xad805b(_0x134089,_0x546ff1){return new window[(_0x1baded([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x389445=>{if(_0xc88d2b())return _0x389445(_0x1baded([0x56,0x61,0x6c,0x69,0x64]));_0xd57cf0(),_0x2d5eb2[_0x1baded([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1baded([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ee0ec=!0x1;const _0x2839e1=_0x4c54e9();function _0x1ccd1f(_0x353f85){return!!_0x353f85&&(typeof _0x353f85===_0x1baded([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x353f85===_0x1baded([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x353f85[_0x1baded([0x74,0x68,0x65,0x6e])]===_0x1baded([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x353f85[_0x1baded([0x63,0x61,0x74,0x63,0x68])]===_0x1baded([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1be6f7(_0x2e570c){_0xdd4d1b(_0x2e570c)[_0x1baded([0x74,0x68,0x65,0x6e])](_0x26af42=>{if(!_0x26af42||_0x26af42[_0x1baded([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1baded([0x6f,0x6b]))return _0x1baded([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x411582(_0x42ca4b(_0x2839e1+_0x546ff1))!=_0x26af42[_0x1baded([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1baded([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1baded([0x56,0x61,0x6c,0x69,0x64]);})[_0x1baded([0x74,0x68,0x65,0x6e])](_0x20d32e=>(_0x5de448(),_0x20d32e),()=>{const _0x3f6830=_0x595167();return null==_0x3f6830?(_0x5de448(),_0x1baded([0x56,0x61,0x6c,0x69,0x64])):_0x1baded(_0x515e1a-_0x3f6830>(0x7753083a^_0x137589)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1baded([0x74,0x68,0x65,0x6e])](_0x389445)[_0x1baded([0x63,0x61,0x74,0x63,0x68])](()=>{_0x389445(_0x1baded([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29d1dd=0x536962ba^_0x137589;function _0x5de448(){const _0x110548=_0x1baded([0x6c,0x6c,0x63,0x74,0x2d])+_0x411582(_0x42ca4b(_0x134089)),_0x5544d0=_0x303ce5(_0x411582(window[_0x1baded([0x4d,0x61,0x74,0x68])][_0x1baded([0x63,0x65,0x69,0x6c])](_0x515e1a/_0x29d1dd)));window[_0x1baded([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1baded([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x110548,_0x5544d0);}function _0x595167(){const _0x2ba98c=_0x1baded([0x6c,0x6c,0x63,0x74,0x2d])+_0x411582(_0x42ca4b(_0x134089)),_0x49fb31=window[_0x1baded([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1baded([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ba98c);return _0x49fb31?window[_0x1baded([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x303ce5(_0x49fb31),0x10)*_0x29d1dd:null;}function _0xdd4d1b(_0x752c1a){return new window[(_0x1baded([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40aa5d,_0x103552)=>{_0x752c1a[_0x1baded([0x74,0x68,0x65,0x6e])](_0x40aa5d,_0x103552),window[_0x1baded([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x103552,0x535e58fa^_0x137589);});}}_0x2d5eb2[_0x1baded([0x6f,0x6e])](_0x1baded([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55f8dc,_0x583d8d)=>{if(_0x583d8d[0x0]!=_0x134089)return _0x389445(_0x1baded([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x583d8d[0x1]={..._0x583d8d[0x1],[_0x1baded([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2839e1};},{[_0x1baded([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1baded([0x68,0x69,0x67,0x68])}),_0x2d5eb2[_0x1baded([0x6f,0x6e])](_0x1baded([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa91099=>{_0x1ccd1f(_0xa91099[_0x1baded([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ee0ec=!0x0,_0x1be6f7(_0xa91099[_0x1baded([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1baded([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1baded([0x6c,0x6f,0x77])}),_0x113b2f[_0x1baded([0x74,0x68,0x65,0x6e])](()=>{_0x4ee0ec||_0x389445(_0x1baded([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc88d2b(){return _0x2d5eb2[_0x1baded([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1baded([0x76,0x69,0x65,0x77])][_0x1baded([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1baded([0x61,0x75,0x74,0x6f]);}function _0xd57cf0(){_0x2d5eb2[_0x1baded([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1baded([0x76,0x69,0x65,0x77])][_0x1baded([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1baded([0x61,0x75,0x74,0x6f]);}}function _0x3383d1(_0x892355){const _0x21b98e=[new window[(_0x1baded([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1992d2=>setTimeout(_0x1992d2,0x5356b2f6^_0x137589)),_0x113b2f[_0x1baded([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1baded([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5561d9=>{let _0x49717d=0x0;_0x2d5eb2[_0x1baded([0x6d,0x6f,0x64,0x65,0x6c])][_0x1baded([0x6f,0x6e])](_0x1baded([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x540704,_0x1a7d20)=>{_0x1a7d20[0x0][_0x1baded([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49717d++,_0x49717d==(0x535f8dc2^_0x137589)&&(_0x5561d9(),_0x540704[_0x1baded([0x6f,0x66,0x66])]());});}))];return window[_0x1baded([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1baded([0x72,0x61,0x63,0x65])](_0x21b98e)[_0x1baded([0x74,0x68,0x65,0x6e])](()=>_0x892355);}async function _0x233ea2(){await _0x113b2f,_0x2d5eb2[_0x1baded([0x6d,0x6f,0x64,0x65,0x6c])][_0x1baded([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bdd42,_0x2d5eb2[_0x1baded([0x6d,0x6f,0x64,0x65,0x6c])][_0x1baded([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bdd42,_0x2d5eb2[_0x1baded([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1baded([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5377a0(_0x11933b){const _0x4d0562=_0x17767f();_0x2d5eb2[_0x4d0562]=_0x1baded([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11933b,_0x11933b!=_0x1baded([0x56,0x61,0x6c,0x69,0x64])&&_0x233ea2();}function _0x17767f(){const _0x1e14e4=window[_0x1baded([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1baded([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1baded([0x6e,0x6f,0x77])]())[_0x1baded([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1baded([0x2e]),'');let _0x1f378a=_0x1baded([0x68]);for(let _0x319fe1=0x0;_0x319fe1<_0x1e14e4[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x319fe1+=0x2){let _0x5300d0=window[_0x1baded([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e14e4[_0x1baded([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x319fe1,_0x319fe1+0x2));_0x5300d0>=_0x509a2d[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5300d0-=_0x509a2d[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f378a+=_0x509a2d[_0x5300d0];}return _0x1f378a;}function _0x5e09e3(){const _0x33648b=_0x55cc5f[_0x1baded([0x73,0x70,0x6c,0x69,0x74])](_0x1baded([0x2e]));if(0x3!=_0x33648b[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28eae6(_0x33648b[0x1]);function _0x28eae6(_0x22e2bd){const _0x5d25d7=_0xbffa64(_0x22e2bd);return _0x5d25d7&&_0x5ef7f5()?_0x5d25d7:null;function _0x5ef7f5(){const _0x5ebecc=_0x5d25d7[_0x1baded([0x6a,0x74,0x69])],_0x535c90=window[_0x1baded([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ebecc[_0x1baded([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ebecc[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21015b={..._0x5d25d7,[_0x1baded([0x6a,0x74,0x69])]:_0x5ebecc[_0x1baded([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ebecc[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21015b[_0x1baded([0x76,0x63])],_0x42ca4b(_0x21015b)==_0x535c90;}}}async function _0x3a59cf(){let _0x1ebb2c=!0x0;try{const _0x4a1458=_0x55cc5f[_0x1baded([0x73,0x70,0x6c,0x69,0x74])](_0x1baded([0x2e])),[_0x4dc053,_0x3161df,_0x287edb]=_0x4a1458;return _0x49c6bf(_0x4dc053),await _0x1bae5c(_0x4dc053,_0x3161df,_0x287edb),_0x1ebb2c;}catch{return!0x1;}function _0x49c6bf(_0x588fa8){const _0xf947d1=_0xbffa64(_0x588fa8);_0xf947d1&&_0xf947d1[_0x1baded([0x61,0x6c,0x67])]==_0x1baded([0x45,0x53,0x32,0x35,0x36])||(_0x1ebb2c=!0x1);}async function _0x1bae5c(_0xa48d10,_0x4ea2a4,_0x2a9883){const _0x40b8b2=window[_0x1baded([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1baded([0x66,0x72,0x6f,0x6d])](_0x36280c(_0x2a9883),_0x206fbe=>_0x206fbe[_0x1baded([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48b4a4=new window[(_0x1baded([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1baded([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa48d10+_0x1baded([0x2e])+_0x4ea2a4),_0x41e2ab=window[_0x1baded([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1baded([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41e2ab)return;const _0x3f4cb1=await _0x41e2ab[_0x1baded([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1baded([0x6a,0x77,0x6b]),_0x515861,{[_0x1baded([0x6e,0x61,0x6d,0x65])]:_0x1baded([0x45,0x43,0x44,0x53,0x41]),[_0x1baded([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1baded([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1baded([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41e2ab[_0x1baded([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1baded([0x6e,0x61,0x6d,0x65])]:_0x1baded([0x45,0x43,0x44,0x53,0x41]),[_0x1baded([0x68,0x61,0x73,0x68])]:{[_0x1baded([0x6e,0x61,0x6d,0x65])]:_0x1baded([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f4cb1,_0x40b8b2,_0x48b4a4)||(_0x1ebb2c=!0x1);}}function _0xbffa64(_0xf6b516){return _0xf6b516[_0x1baded([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1baded([0x65,0x79]))?JSON[_0x1baded([0x70,0x61,0x72,0x73,0x65])](_0x36280c(_0xf6b516)):null;}function _0x36280c(_0x170095){return window[_0x1baded([0x61,0x74,0x6f,0x62])](_0x170095[_0x1baded([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1baded([0x2b]))[_0x1baded([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1baded([0x2f])));}function _0x42ca4b(_0x48f7f3){let _0x5b6250=0x1505;function _0xf2e19b(_0x406a7b){for(let _0x492138=0x0;_0x492138<_0x406a7b[_0x1baded([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x492138++){const _0x1ede1c=_0x406a7b[_0x1baded([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x492138);_0x5b6250=(_0x5b6250<<0x5)+_0x5b6250+_0x1ede1c,_0x5b6250&=_0x5b6250;}}function _0x9de2d6(_0x32dd4b){Array[_0x1baded([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32dd4b)?_0x32dd4b[_0x1baded([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9de2d6):_0x32dd4b&&typeof _0x32dd4b==_0x1baded([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1baded([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32dd4b)[_0x1baded([0x73,0x6f,0x72,0x74])]()[_0x1baded([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x193098,_0x13cb4])=>{_0xf2e19b(_0x193098),_0x9de2d6(_0x13cb4);}):_0xf2e19b(window[_0x1baded([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32dd4b));}return _0x9de2d6(_0x48f7f3),_0x5b6250>>>0x0;}function _0x411582(_0x39fd4d){return _0x39fd4d[_0x1baded([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1baded([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1baded([0x30]));}function _0x303ce5(_0x7e1fae){return _0x7e1fae[_0x1baded([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1baded([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1baded([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bdd42(){}function _0x1baded(_0xa9040){return _0xa9040['map'](_0x59c2b4=>String['fromCharCode'](_0x59c2b4))['join']('');}_0x5377a0(await _0x1a4020());}(this);}['_initSchema'](){const _0x2363ea=this['editor']['model']['schema'];_0x2363ea['isRegistered']('imageBlock')&&_0x2363ea['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2363ea['isRegistered']('imageInline')&&_0x2363ea['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x238779=this['editor'];_0x238779['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x238779['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x271da2=>_0x271da2['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5d5ff4=_0x238779['commands']['get']('replaceImageSource');_0x5d5ff4&&this['listenTo'](_0x5d5ff4,'cleanupImage',(_0x5a30f0,[_0x5c766b,_0x2336e0])=>{_0x5c766b['removeAttribute']('uploadcareImageId',_0x2336e0);});}['_initConfig'](){const _0x12b2fc=this['editor']['config']['get']('uploadcare.uploader')||{},_0x364610=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x35d2c7(_0x5b66cb['document'],'uc-config',{..._0x12b2fc,'pubkey':_0x364610,'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']=_0x2cf4fe=>{if('closeMax'==_0x2cf4fe)return'#uc-icon-arrow-down';},_0x5b66cb['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x35d2c7(_0x5b66cb['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5b66cb['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2e364d=this['editor']['commands']['get']('insertImage');_0x2e364d&&this['listenTo'](_0x2e364d,'execute',()=>{const _0x1489a3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1489a3&&_0x1489a3['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1489a3);});});const _0x513928=this['editor']['commands']['get']('uploadcareImageReplace');_0x513928&&this['listenTo'](_0x513928,'execute',()=>{const _0x3de0aa=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3de0aa&&_0x3de0aa['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3de0aa);});});}}class tt extends _0xf38636{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x43d2ac){super(_0x43d2ac),_0x43d2ac['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x36873e['defineComponents'](_0x36873e),this['_defineLocale']();}['_defineLocale'](){const _0x2cdaae=this['editor']['config']['get']('uploadcare.locale'),_0x2190eb=this['editor']['locale']['contentLanguage'];_0x2cdaae&&_0x36873e['defineLocale'](_0x2190eb,_0x2cdaae);}}class ii extends _0x1028fe{constructor(_0x4c528b){super(_0x4c528b);const t=_0x4c528b['t'],_0x5ac325=this['bindTemplate'],_0x119521=new _0x2a9dcb();_0x119521['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':[_0x119521,{'text':_0x5ac325['to']('imageUploadProgress',_0x5673ce=>t('Loading\x20image...')+'\x20('+(_0x5673ce||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 _0x1028fe{constructor(_0x20dc80){super(_0x20dc80);const t=_0x20dc80['t'];this['set']('errorType',null);const _0x5d2c30=new _0x52b656(_0x20dc80);_0x5d2c30['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5d2c30['withText']=!0x0,_0x5d2c30['class']='ck-button-action',_0x5d2c30['on']('execute',()=>{this['fire']('retry');}),_0x5d2c30['bind']('isVisible')['to'](this,'errorType',_0x1e4f45=>'NotFound'!==_0x1e4f45);const _0x20a33e=new _0x3dae89();_0x20a33e['content']=_0x10dfd5,_0x20a33e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2c536b=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':[_0x20a33e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2c536b['to']('errorType',_0x55a408=>t('NotFound'!==_0x55a408?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5d2c30]},{'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 _0x1028fe{constructor(_0x41d2f9,_0x1c18b5){super(_0x41d2f9);const _0x34265f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1c18b5,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x34265f['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1bf8da,_0x31a40d,_0x4280c7){super(_0x1bf8da),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1bf8da),this['_errorView']=new ti(_0x1bf8da),this['_editingView']=new ei(_0x1bf8da,_0x4280c7),this['_focusableView']=new _0x1028fe(_0x1bf8da),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x31a40d),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'],_0x518828=>{this['_addUploadcareImageEditorListeners'](_0x518828);});}),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'](_0x2cc399,_0xcfeffc){const _0x2cd156='uc-cloud-image-editor',_0x2e54c2=_0x2cc399['querySelector'](_0x2cd156);if(_0x2e54c2)return _0xcfeffc(_0x2e54c2);const _0xa933c0=new MutationObserver(_0x577b06=>{const _0x21e896=_0x577b06['filter'](_0x1c8b12=>_0x1c8b12['target']===_0x2cc399&&_0x1c8b12['addedNodes']['length']>0x0&&_0x1c8b12['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2cd156);_0x21e896['length']&&(_0xa933c0['disconnect'](),_0xcfeffc(_0x21e896[0x0]['addedNodes'][0x0]));});_0xa933c0['observe'](_0x2cc399,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2994b9){_0x2994b9['addEventListener']('apply',_0x4604c8=>{this['fire']('apply',{'imageSrc':_0x4604c8['detail']['cdnUrl']});}),_0x2994b9['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x59bb24(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x36310a,_0x4f397e,_0x2a0121){super(),this['_editor']=_0x36310a,this['_dialog']=_0x4f397e,this['_imageElement']=_0x2a0121,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 _0x342fd4=this['_imageElement'],_0x136ccc=_0x342fd4['getAttribute']('uploadcareImageId'),_0xd88456=_0x342fd4['getAttribute']('src');if(_0x136ccc)await this['_loadImageInfo'](_0x136ccc,_0xd88456);else{if(this['_imageCache']['has'](_0xd88456)){const _0x514ab3=this['_imageCache']['get'](_0xd88456);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x514ab3['url'],this['imageDimension']=_0x514ab3['dimension'],this['imageId']=_0x514ab3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4472e0}=this['_editor'],t=_0x4472e0['t'],_0x31b014=new X(_0x4472e0,this['imageStatus'],this['_attributes']);_0x31b014['bind']('status')['to'](this,'imageStatus'),_0x31b014['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x31b014['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x31b014['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x31b014,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2173fe,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x31b014,'position':_0x16cfb1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x31b014['focus']();},'onHide':()=>{_0x31b014['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xa33e04=>!M(_0xa33e04,_0x31b014['element'])}});}['_loadImageInfo'](_0x15e847,_0x2142b1){return j['getInfo'](_0x15e847,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3c6f06=>{const {width:_0xc5931f,height:_0x5caacb}=_0x3c6f06['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2142b1,this['imageDimension']={'width':_0xc5931f,'height':_0x5caacb},this['imageId']=_0x15e847;})['catch'](_0x2cd2d4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2cd2d4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x130737,_0x560d48){return this['_getImageAsFile'](_0x130737)['then'](_0x4b82ca=>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':_0x560d48['signal'],'file':_0x4b82ca,'onProgress':_0xf2cdab=>{_0xf2cdab&&_0xf2cdab['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xf2cdab['value']));}}))['then'](_0x38a147=>{const {width:_0x511fb7,height:_0x3126fb}=_0x38a147['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38a147['cdnUrl'],this['imageDimension']={'width':_0x511fb7,'height':_0x3126fb},this['imageId']=_0x38a147['uuid'],this['imageUploadProgress']=null;const _0x74add4=_0x130737['getAttribute']('src');this['_imageCache']['set'](_0x74add4,{'id':_0x38a147['uuid'],'url':_0x38a147['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a8149=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a8149['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2abeec,_0x156a7b){_0x2abeec['on']('apply',(_0x273c9,_0xd54a1a)=>{this['_replaceImage'](_0x156a7b,_0xd54a1a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2abeec['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2abeec['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x9d0c5,_0x1c6a11,_0x58efaa){const _0x386e32=this['_editor'],{width:_0x341af1,height:_0xfc759e}=F(_0x1c6a11,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5b5422,imageSources:_0x4fa460}=C(_0x1c6a11,_0x341af1);_0x386e32['model']['change'](_0x2517fa=>{if('$graveyard'===_0x9d0c5['root']['rootName']){_0x386e32['execute']('insertImage',{'imageType':_0x9d0c5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x9d0c5['getAttributes']()),'uploadcareImageId':_0x58efaa,'src':_0x5b5422,'sources':_0x4fa460,'width':_0x341af1,'height':_0xfc759e}});const _0x56297c=_0x9d0c5['getChildren']();_0x9d0c5=_0x386e32['model']['document']['selection']['getSelectedElement']();for(const _0x15ceb8 of _0x56297c)_0x2517fa['append'](_0x2517fa['cloneElement'](_0x15ceb8),_0x9d0c5);}else _0x2517fa['setSelection'](_0x9d0c5,'on'),_0x386e32['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x9d0c5['getAttributes']()),'uploadcareImageId':_0x58efaa,'src':_0x5b5422,'sources':_0x4fa460,'width':_0x341af1,'height':_0xfc759e},_0x9d0c5);_0x2517fa['setSelection'](_0x9d0c5,'on');});}async['_getImageAsFile'](_0x2a10a4){const _0x5ea3a1=_0x5b66cb['window'],_0x2df3c9=_0x5b66cb['document']['location']['href'],_0x4bc8b6=new _0x5ea3a1['URL'](_0x2a10a4['getAttribute']('src'),_0x2df3c9);if('data:'===_0x4bc8b6['protocol']){const _0x475f4a=_0x4bc8b6['href']['split'](','),_0xcbe241=_0x475f4a[0x0]['match'](/:(.*?);/)[0x1],_0x3f27a6=_0xcbe241['split']('/')[0x1],_0x23ece4=_0x5ea3a1['atob'](_0x475f4a[_0x475f4a['length']-0x1]);let _0x19e3ad=_0x23ece4['length'];const _0x5e793b=new _0x5ea3a1['Uint8Array'](_0x19e3ad);for(;_0x19e3ad--;)_0x5e793b[_0x19e3ad]=_0x23ece4['charCodeAt'](_0x19e3ad);return new _0x5ea3a1['File']([_0x5e793b],'image.'+_0x3f27a6,{'type':_0xcbe241});}const _0x207c4f=_0x4bc8b6['href']['split']('/'),_0x42fcdd=_0x207c4f[_0x207c4f['length']-0x1],_0x3e8785=_0x42fcdd['split']('.')[0x1];return _0x5ea3a1['fetch'](_0x4bc8b6['href'])['then'](_0x4b904a=>_0x4b904a['clone']()['blob']())['then'](_0x350b5d=>new _0x5ea3a1['File']([_0x350b5d],_0x42fcdd,{'type':'image/'+_0x3e8785}));}}class N extends _0x392ed7{['imageEditController'];static get['requires'](){return[_0x5f1377];}['_isEditable'];constructor(_0x557d50){super(_0x557d50),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x257dda){const _0x12529e=R(_0x257dda);return _0x25a15d=>!(!_0x25a15d||!_0x25a15d['is']('element','imageBlock')&&!_0x25a15d['is']('element','imageInline'))&&(!!_0x25a15d['hasAttribute']('uploadcareImageId')||!!_0x25a15d['hasAttribute']('src')&&_0x12529e(_0x25a15d['getAttribute']('src')));}(_0x557d50['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3f68ae=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3f68ae);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2df776=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2df776&&(_0x2df776['is']('element','imageBlock')||_0x2df776['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x5f1377),_0x2df776),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x392ed7{['refresh'](){const _0x5bcc5f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5bcc5f&&(_0x5bcc5f['is']('element','imageBlock')||_0x5bcc5f['is']('element','imageInline')));}['execute'](_0xc6b978){const _0x416484=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x40ab92=>{_0x40ab92['setAttributes'](_0xc6b978,_0x416484),_0x40ab92['removeAttribute']('srcset',_0x416484),_0x40ab92['removeAttribute']('sizes',_0x416484);});}}class m extends _0xf38636{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xaf71b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x383996}=this;_0x383996['commands']['add']('uploadcareImageEdit',new N(_0x383996)),_0x383996['commands']['add']('uploadcareImageReplace',new O(_0x383996));}}class g extends _0xf38636{['_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 _0x1f5a41=this['editor'];_0x1f5a41['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2a454e=>{const _0x589676=_0x1f5a41['commands']['get']('uploadcareImageEdit'),_0x40bf94=new _0x52b656(_0x2a454e),t=_0x2a454e['t'];return _0x40bf94['set']({'icon':_0x2173fe,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x40bf94['bind']('isEnabled')['to'](_0x589676),_0x40bf94['bind']('isOn')['to'](_0x589676,'isActive'),this['listenTo'](_0x40bf94,'execute',()=>{_0x1f5a41['execute']('uploadcareImageEdit'),_0x1f5a41['editing']['view']['focus']();}),_0x40bf94;}),this['_initConfig']();}['_initConfig'](){const _0x3466b4=_0x35d2c7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3466b4),this['listenTo'](this['editor'],'destroy',()=>{_0x3466b4['remove']();});}}class et extends _0xf38636{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -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':_0x3258c9=>0x1!=_0x3258c9}};
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':_0x20293d=>0x1!=_0x20293d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x261343=>{const {af:{dictionary:_0x539ba6,getPluralForm:_0x36c956}}={'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':_0x2d78f3=>0x1!=_0x2d78f3}};_0x261343['af']||={'dictionary':{},'getPluralForm':null},_0x261343['af']['dictionary']=Object['assign'](_0x261343['af']['dictionary'],_0x539ba6),_0x261343['af']['getPluralForm']=_0x36c956;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2f695d=>{const {af:{dictionary:_0x5ca699,getPluralForm:_0x412fcc}}={'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':_0x48a971=>0x1!=_0x48a971}};_0x2f695d['af']||={'dictionary':{},'getPluralForm':null},_0x2f695d['af']['dictionary']=Object['assign'](_0x2f695d['af']['dictionary'],_0x5ca699),_0x2f695d['af']['getPluralForm']=_0x412fcc;})(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':_0x58a5b9=>0x0==_0x58a5b9?0x0:0x1==_0x58a5b9?0x1:0x2==_0x58a5b9?0x2:_0x58a5b9%0x64>=0x3&&_0x58a5b9%0x64<=0xa?0x3:_0x58a5b9%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':_0x4f3ecb=>0x0==_0x4f3ecb?0x0:0x1==_0x4f3ecb?0x1:0x2==_0x4f3ecb?0x2:_0x4f3ecb%0x64>=0x3&&_0x4f3ecb%0x64<=0xa?0x3:_0x4f3ecb%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x72d169=>{const {ar:{dictionary:_0x3b1819,getPluralForm:_0x2fe6e1}}={'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':_0x3ceb01=>0x0==_0x3ceb01?0x0:0x1==_0x3ceb01?0x1:0x2==_0x3ceb01?0x2:_0x3ceb01%0x64>=0x3&&_0x3ceb01%0x64<=0xa?0x3:_0x3ceb01%0x64>=0xb?0x4:0x5}};_0x72d169['ar']||={'dictionary':{},'getPluralForm':null},_0x72d169['ar']['dictionary']=Object['assign'](_0x72d169['ar']['dictionary'],_0x3b1819),_0x72d169['ar']['getPluralForm']=_0x2fe6e1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x109732=>{const {ar:{dictionary:_0xfe3fff,getPluralForm:_0x354020}}={'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':_0x3187d2=>0x0==_0x3187d2?0x0:0x1==_0x3187d2?0x1:0x2==_0x3187d2?0x2:_0x3187d2%0x64>=0x3&&_0x3187d2%0x64<=0xa?0x3:_0x3187d2%0x64>=0xb?0x4:0x5}};_0x109732['ar']||={'dictionary':{},'getPluralForm':null},_0x109732['ar']['dictionary']=Object['assign'](_0x109732['ar']['dictionary'],_0xfe3fff),_0x109732['ar']['getPluralForm']=_0x354020;})(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':_0x233153=>0x1!=_0x233153}};
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':_0x4b2f53=>0x1!=_0x4b2f53}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x25c8ca=>{const {ast:{dictionary:_0x12717f,getPluralForm:_0x1a2077}}={'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':_0x41fee5=>0x1!=_0x41fee5}};_0x25c8ca['ast']||={'dictionary':{},'getPluralForm':null},_0x25c8ca['ast']['dictionary']=Object['assign'](_0x25c8ca['ast']['dictionary'],_0x12717f),_0x25c8ca['ast']['getPluralForm']=_0x1a2077;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b3fe3=>{const {ast:{dictionary:_0x25dcb5,getPluralForm:_0x5d37bc}}={'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':_0x514288=>0x1!=_0x514288}};_0x4b3fe3['ast']||={'dictionary':{},'getPluralForm':null},_0x4b3fe3['ast']['dictionary']=Object['assign'](_0x4b3fe3['ast']['dictionary'],_0x25dcb5),_0x4b3fe3['ast']['getPluralForm']=_0x5d37bc;})(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':_0x322730=>0x1!=_0x322730}};
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':_0x2a074c=>0x1!=_0x2a074c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb67634=>{const {az:{dictionary:_0x5491d0,getPluralForm:_0xba583b}}={'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':_0x52aa93=>0x1!=_0x52aa93}};_0xb67634['az']||={'dictionary':{},'getPluralForm':null},_0xb67634['az']['dictionary']=Object['assign'](_0xb67634['az']['dictionary'],_0x5491d0),_0xb67634['az']['getPluralForm']=_0xba583b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3634c9=>{const {az:{dictionary:_0x4ddccc,getPluralForm:_0x488f05}}={'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':_0x5983ae=>0x1!=_0x5983ae}};_0x3634c9['az']||={'dictionary':{},'getPluralForm':null},_0x3634c9['az']['dictionary']=Object['assign'](_0x3634c9['az']['dictionary'],_0x4ddccc),_0x3634c9['az']['getPluralForm']=_0x488f05;})(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':_0x52e3f9=>_0x52e3f9%0xa==0x1&&_0x52e3f9%0x64!=0xb?0x0:_0x52e3f9%0xa>=0x2&&_0x52e3f9%0xa<=0x4&&(_0x52e3f9%0x64<0xa||_0x52e3f9%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':_0x18b9e4=>_0x18b9e4%0xa==0x1&&_0x18b9e4%0x64!=0xb?0x0:_0x18b9e4%0xa>=0x2&&_0x18b9e4%0xa<=0x4&&(_0x18b9e4%0x64<0xa||_0x18b9e4%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1c6265=>{const {be:{dictionary:_0x21efee,getPluralForm:_0x5aceb3}}={'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':_0x339993=>_0x339993%0xa==0x1&&_0x339993%0x64!=0xb?0x0:_0x339993%0xa>=0x2&&_0x339993%0xa<=0x4&&(_0x339993%0x64<0xa||_0x339993%0x64>=0x14)?0x1:0x2}};_0x1c6265['be']||={'dictionary':{},'getPluralForm':null},_0x1c6265['be']['dictionary']=Object['assign'](_0x1c6265['be']['dictionary'],_0x21efee),_0x1c6265['be']['getPluralForm']=_0x5aceb3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x495368=>{const {be:{dictionary:_0x4e85ff,getPluralForm:_0x445753}}={'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':_0x2fdabc=>_0x2fdabc%0xa==0x1&&_0x2fdabc%0x64!=0xb?0x0:_0x2fdabc%0xa>=0x2&&_0x2fdabc%0xa<=0x4&&(_0x2fdabc%0x64<0xa||_0x2fdabc%0x64>=0x14)?0x1:0x2}};_0x495368['be']||={'dictionary':{},'getPluralForm':null},_0x495368['be']['dictionary']=Object['assign'](_0x495368['be']['dictionary'],_0x4e85ff),_0x495368['be']['getPluralForm']=_0x445753;})(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':_0x544cf1=>0x1!=_0x544cf1}};
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':_0x9405ae=>0x1!=_0x9405ae}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2594c6=>{const {bg:{dictionary:_0x13a623,getPluralForm:_0x5c9d29}}={'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':_0x416e13=>0x1!=_0x416e13}};_0x2594c6['bg']||={'dictionary':{},'getPluralForm':null},_0x2594c6['bg']['dictionary']=Object['assign'](_0x2594c6['bg']['dictionary'],_0x13a623),_0x2594c6['bg']['getPluralForm']=_0x5c9d29;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5aafb7=>{const {bg:{dictionary:_0x440359,getPluralForm:_0x12d805}}={'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':_0x2f36d1=>0x1!=_0x2f36d1}};_0x5aafb7['bg']||={'dictionary':{},'getPluralForm':null},_0x5aafb7['bg']['dictionary']=Object['assign'](_0x5aafb7['bg']['dictionary'],_0x440359),_0x5aafb7['bg']['getPluralForm']=_0x12d805;})(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':_0x5b937a=>0x1!=_0x5b937a}};
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':_0x4bb1f4=>0x1!=_0x4bb1f4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2099ba=>{const {bn:{dictionary:_0x1de31a,getPluralForm:_0x1f4499}}={'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':_0x407f7f=>0x1!=_0x407f7f}};_0x2099ba['bn']||={'dictionary':{},'getPluralForm':null},_0x2099ba['bn']['dictionary']=Object['assign'](_0x2099ba['bn']['dictionary'],_0x1de31a),_0x2099ba['bn']['getPluralForm']=_0x1f4499;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x305ded=>{const {bn:{dictionary:_0x3855f8,getPluralForm:_0xaf29e9}}={'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':_0x596716=>0x1!=_0x596716}};_0x305ded['bn']||={'dictionary':{},'getPluralForm':null},_0x305ded['bn']['dictionary']=Object['assign'](_0x305ded['bn']['dictionary'],_0x3855f8),_0x305ded['bn']['getPluralForm']=_0xaf29e9;})(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':_0x318703=>_0x318703%0xa==0x1&&_0x318703%0x64!=0xb?0x0:_0x318703%0xa>=0x2&&_0x318703%0xa<=0x4&&(_0x318703%0x64<0xa||_0x318703%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':_0x13f79d=>_0x13f79d%0xa==0x1&&_0x13f79d%0x64!=0xb?0x0:_0x13f79d%0xa>=0x2&&_0x13f79d%0xa<=0x4&&(_0x13f79d%0x64<0xa||_0x13f79d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x53c095=>{const {bs:{dictionary:_0x52d0b9,getPluralForm:_0x468c9f}}={'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':_0x148a0d=>_0x148a0d%0xa==0x1&&_0x148a0d%0x64!=0xb?0x0:_0x148a0d%0xa>=0x2&&_0x148a0d%0xa<=0x4&&(_0x148a0d%0x64<0xa||_0x148a0d%0x64>=0x14)?0x1:0x2}};_0x53c095['bs']||={'dictionary':{},'getPluralForm':null},_0x53c095['bs']['dictionary']=Object['assign'](_0x53c095['bs']['dictionary'],_0x52d0b9),_0x53c095['bs']['getPluralForm']=_0x468c9f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5c8262=>{const {bs:{dictionary:_0x5476b2,getPluralForm:_0x19c6dc}}={'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':_0x4ac5de=>_0x4ac5de%0xa==0x1&&_0x4ac5de%0x64!=0xb?0x0:_0x4ac5de%0xa>=0x2&&_0x4ac5de%0xa<=0x4&&(_0x4ac5de%0x64<0xa||_0x4ac5de%0x64>=0x14)?0x1:0x2}};_0x5c8262['bs']||={'dictionary':{},'getPluralForm':null},_0x5c8262['bs']['dictionary']=Object['assign'](_0x5c8262['bs']['dictionary'],_0x5476b2),_0x5c8262['bs']['getPluralForm']=_0x19c6dc;})(window['CKEDITOR_TRANSLATIONS']||={});