@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251021.0 → 0.0.0-nightly-20251023.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 _0x5ab5e0,Command as _0x4a97f9}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x52ed53,IconGooglePhotos as _0xf498d1,IconGoogleDrive as _0x423446,IconFacebook as _0x2615af,IconDropbox as _0x9dc85a,IconUploadcareLink as _0x215fa5,IconUploadcareImageUpload as _0x33d822,IconError as _0x53a58c,IconUploadcareImageEdit as _0x5d01a9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3d5113,MenuBarMenuListItemButtonView as _0x43db42,View as _0x5e3629,FocusCycler as _0x127f4c,Dialog as _0x163a34,DialogViewPosition as _0x55aa5f,SpinnerView as _0x3d07cd,IconView as _0x3cad4e,Notification as _0x47f21f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x102cf7,DomEmitterMixin as _0x3c5250,global as _0x50dd5d,getAncestors as _0x539447,ObservableMixin as _0x237812,uid as _0x3fc987,createElement as _0x21bc65}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x292a4d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1dcd96,info as _0x37c185}from'@uploadcare/upload-client';import*as _0x2554ad from'@uploadcare/file-uploader';var i=function(_0x17d980){return _0x17d980['Local']='local',_0x17d980['URL']='url',_0x17d980['Dropbox']='dropbox',_0x17d980['GDrive']='gdrive',_0x17d980['Facebook']='facebook',_0x17d980['GPhotos']='gphotos',_0x17d980['OneDrive']='onedrive',_0x17d980;}({});function _(_0xa18fd8,_0x2640ea,_0x287be9){const t=_0xa18fd8['t'],_0x1c00d8=_0xa18fd8['t'];switch(_0x2640ea){case i['Local']:return{'text':_0x1c00d8('Insert'===_0x287be9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1c00d8('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x287be9?_0x1c00d8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1c00d8('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x287be9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x287be9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x287be9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x287be9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x287be9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2640ea;}}class e extends _0x5ab5e0{['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 _0x58d018=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x238f78;for(const _0x192dbc in _0x58d018){const _0x1a10f9=_0x192dbc,_0x58eaf4=_0x58d018[_0x1a10f9];if('uploadcareLicenseKeyValid'==_0x58eaf4||'uploadcareLicenseKeyInvalid'==_0x58eaf4||'uploadcareLicenseKeyExpired'==_0x58eaf4||'uploadcareLicenseKeyDomainLimit'==_0x58eaf4||'uploadcareLicenseKeyNotAllowed'==_0x58eaf4||'uploadcareLicenseKeyEvaluationLimit'==_0x58eaf4||'uploadcareLicenseKeyTrialLimit'==_0x58eaf4||'uploadcareLicenseKeyUsageLimit'==_0x58eaf4){delete _0x58d018[_0x1a10f9],_0x238f78=_0x58eaf4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x238f78&&_0x58d018['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x238f78&&_0x58d018['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x238f78&&_0x58d018['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x238f78&&_0x58d018['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x238f78&&_0x58d018['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x238f78&&_0x58d018['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x238f78&&_0x58d018['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1fffba}=this,_0xbbffef=_0x1fffba['commands']['get']('uploadcare');if(!_0xbbffef)return;const _0x195199=this['_normalizeConfigSourceList'](_0x1fffba['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1f6bf3,_0x65b946)=>{const _0x3c8bca=this['_getIntegrationKey'](_0x65b946['type']);return _0x1f6bf3[_0x3c8bca]||(_0x1f6bf3[_0x3c8bca]=[]),_0x1f6bf3[_0x3c8bca]['push'](_0x65b946),_0x1f6bf3;},{});_0x1fffba['plugins']['has']('ImageInsertUI')&&_0x1fffba['commands']['get']('uploadcare')&&Object['entries'](_0x195199)['forEach'](([_0x572eea,_0x20c1f7])=>{_0x1fffba['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x572eea,'observable':()=>_0xbbffef,'buttonViewCreator':()=>this['_createToolbarButton'](_0x20c1f7),'formViewCreator':()=>this['_createDropdownButtons'](_0x20c1f7),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x20c1f7),'override':'assetManager'!==_0x572eea});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x20e29f){const {locale:_0x1fb748}=this['editor'];return _0x20e29f['map'](_0x34d7e2=>{const _0x35c52f=_(_0x1fb748,_0x34d7e2,'Insert');switch(_0x34d7e2){case i['Local']:return{'icon':_0x33d822,'type':i['Local'],..._0x35c52f};case i['URL']:return{'icon':_0x215fa5,'type':i['URL'],..._0x35c52f};case i['Dropbox']:return{'icon':_0x9dc85a,'type':i['Dropbox'],..._0x35c52f};case i['Facebook']:return{'icon':_0x2615af,'type':i['Facebook'],..._0x35c52f};case i['GDrive']:return{'icon':_0x423446,'type':i['GDrive'],..._0x35c52f};case i['GPhotos']:return{'icon':_0xf498d1,'type':i['GPhotos'],..._0x35c52f};case i['OneDrive']:return{'icon':_0x52ed53,'type':i['OneDrive'],..._0x35c52f};}});}['_getIntegrationKey'](_0xfe84d0){switch(_0xfe84d0){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1c4ac0,_0x2d31b9){const _0x4ec926=this['editor'],_0x4a88fd=new _0x1c4ac0(_0x4ec926['locale']),_0x5d85ec=_0x4ec926['commands']['get']('uploadcare');return _0x4a88fd['bind']('isEnabled')['to'](_0x5d85ec),_0x4a88fd['on']('execute',()=>{_0x5d85ec['execute'](_0x2d31b9);}),_0x4a88fd;}['_createToolbarButton'](_0x2cf06c){const {locale:_0x446194}=this['editor'],_0x3c1665=this['editor']['plugins']['get']('ImageInsertUI'),_0x32866e=_0x2cf06c[0x0],_0x1ac426=this['_createButton'](_0x3d5113,_0x32866e['type']);return _0x1ac426['icon']=_0x32866e['icon'],_0x1ac426['bind']('label')['to'](_0x3c1665,'isImageSelected',_0x6734e2=>_(_0x446194,_0x32866e['type'],_0x6734e2?'Replace':'Insert')['text']),_0x1ac426['tooltip']=!0x0,_0x1ac426;}['_createDropdownButtons'](_0x2d9224){const {locale:_0x250a9d}=this['editor'],_0x26f78d=this['editor']['plugins']['get']('ImageInsertUI');return _0x2d9224['map'](_0x1cd70f=>{const _0x3ea6e0=this['_createButton'](_0x3d5113,_0x1cd70f['type']);return _0x3ea6e0['withText']=!0x0,_0x3ea6e0['icon']=_0x1cd70f['icon'],_0x3ea6e0['bind']('label')['to'](_0x26f78d,'isImageSelected',_0x29725f=>_(_0x250a9d,_0x1cd70f['type'],_0x29725f?'Replace':'Insert')['text']),_0x3ea6e0;});}['_createMenuBarButtons'](_0x46227e){return _0x46227e['map'](_0xb5a1ac=>{const _0x28da15=this['_createButton'](_0x43db42,_0xb5a1ac['type']);return _0x28da15['icon']=_0xb5a1ac['icon'],_0x28da15['label']=_0xb5a1ac['shortText'],_0x28da15;});}}class F extends _0x5e3629{['focusTracker'];['focusCycler'];constructor(_0x5b2e88){super(_0x5b2e88),this['focusTracker']=new _0x102cf7(),this['focusCycler']=new _0x127f4c({'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(_0x5c8da6,_0x107de9){super(_0x5c8da6),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-'+_0x107de9}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x102f59,_0x544dbb){const _0x3d064f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x49d198=>_0x49d198<=_0x544dbb)['map'](_0x34ffc2=>_0x102f59['replace'](/\/$/,'')+'/-/resize/'+_0x34ffc2+'x/\x20'+_0x34ffc2+'w');return{'imageFallbackUrl':_0x102f59,'imageSources':[{'srcset':_0x3d064f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x544dbb+'px)\x20100vw,\x20'+_0x544dbb+'px','type':'image/webp'}]};}function S(_0x345984,_0xb0d78c,_0x54f248){const _0x2b3e23=_0x345984['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2b3e23?parseInt(_0x2b3e23[0x1],0xa):_0xb0d78c,'height':_0x2b3e23?parseInt(_0x2b3e23[0x2],0xa):_0x54f248};}function p(_0x11e199,_0x5e56bb){const _0x228383=new(_0x3c5250())(),_0x48414e=_0x11e199['plugins']['get']('ImageUtils'),_0x3d5cea=_0x11e199['editing']['mapper']['toViewElement'](_0x5e56bb),_0xf2cb07=_0x48414e['findViewImgElement'](_0x3d5cea),_0x316b4d=_0x11e199['editing']['view']['domConverter']['viewToDom'](_0xf2cb07),_0x422a89=_0x5e56bb['getAttribute']('width'),_0xa4891e=_0x5e56bb['getAttribute']('height'),_0x26097c='image-processing';_0x11e199['editing']['view']['change'](_0x584060=>{_0x584060['addClass'](_0x26097c,_0x3d5cea),_0x584060['setStyle']('aspect-ratio',_0x422a89+'/'+_0xa4891e,_0xf2cb07);}),_0x228383['listenTo'](_0x316b4d,'load',()=>{_0x228383['stopListening'](_0x316b4d,'load'),_0x11e199['editing']['view']['change'](_0x5c490d=>{_0x5c490d['removeClass'](_0x26097c,_0x3d5cea),_0x5c490d['removeStyle']('aspect-ratio',_0xf2cb07);});});}function G(_0x85dcbf){if(Array['isArray'](_0x85dcbf)){const _0x3fa93d=_0x85dcbf['map'](G);return _0x3515b0=>_0x3fa93d['some'](_0x32f399=>_0x32f399(_0x3515b0));}if('origin'==_0x85dcbf){const _0x21b9f7=_0x50dd5d['window']['location']['origin'];return _0xeacf5f=>new URL(_0xeacf5f,_0x50dd5d['document']['baseURI'])['origin']==_0x21b9f7;}return'function'==typeof _0x85dcbf?_0x85dcbf:_0x85dcbf instanceof RegExp?_0x1cc138=>!(!_0x1cc138['match'](_0x85dcbf)&&!_0x1cc138['replace'](/^https?:\/\//,'')['match'](_0x85dcbf)):()=>!0x1;}function A(_0x3c1303,_0x56e92e){return _0x539447(_0x3c1303['target'])['includes'](_0x56e92e);}class n extends/* #__PURE__ -- @preserve */
24
- _0x237812(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x43e40a,_0x2c1dfd,_0x4af018){super(),this['_editor']=_0x43e40a,this['_editing']=_0x2c1dfd,this['_dialog']=_0x43e40a['plugins']['get'](_0x163a34),this['_api']=_0x2c1dfd['ctxElement']['getAPI'](),this['_type']=_0x4af018,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:_0x2cb67b,model:_0x557e7a}=this['_editor'],_0x740ac7=_0x557e7a['document']['selection']['getSelectedElement'](),_0x286172=_0x740ac7&&(_0x740ac7['is']('element','imageBlock')||_0x740ac7['is']('element','imageInline'));this['_formView']=new x(_0x2cb67b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x33d822,'title':_(_0x2cb67b,this['_type'],_0x286172?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x55aa5f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x698c26=>!A(_0x698c26,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x55caaf}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x15c4c9=>{const _0x1f4c99=_0x55caaf['length'];for(const _0x1a7445 of _0x55caaf){const _0x217f31=_0x1a7445===_0x55caaf[_0x1f4c99-0x1],{cdnUrl:_0x21afe8,fileInfo:_0x4a13e6}=_0x1a7445;if(!_0x21afe8||!_0x4a13e6)continue;const {width:_0x1ed647,height:_0xef18d6}=_0x4a13e6['imageInfo'],_0x89cd9e=S(_0x21afe8,_0x1ed647,_0xef18d6),_0x5b4328=C(_0x21afe8,_0x89cd9e['width']),_0x23f9c1={'id':_0x4a13e6['uuid'],'type':'image','attributes':{'imageDimension':_0x89cd9e,..._0x5b4328}};this['_insertAsset'](_0x23f9c1,_0x217f31,_0x15c4c9);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4d420d=>{'idle'===_0x4d420d['detail']['status']&&!_0x4d420d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x574895,_0x1d6137,_0x1abd2f){const _0x26e4ba=this['_editor']['model']['document']['selection'],_0x4dd3db=_0x26e4ba['getSelectedElement'](),_0x431f8c=!(!_0x4dd3db||!_0x4dd3db['is']('element','imageInline'));_0x1abd2f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x574895,_0x431f8c),_0x1d6137||_0x1abd2f['setSelection'](_0x26e4ba['getLastPosition']());}['_insertImage'](_0x2e1d5b,_0x34dad7){const _0x8ed44d=this['_editor'],{imageDimension:_0x2019a5,imageFallbackUrl:_0x5eddf6,imageSources:_0x26e1fa}=_0x2e1d5b['attributes'];_0x8ed44d['execute']('insertImage',{'imageType':_0x34dad7?'imageInline':null,'source':{'uploadcareImageId':_0x2e1d5b['id'],'src':_0x5eddf6,'sources':_0x26e1fa,..._0x2019a5}});}}class w extends _0x4a97f9{['_editing'];['_controller']=null;static get['requires'](){return[_0x163a34,o];}constructor(_0x18624d){super(_0x18624d),this['_editing']=_0x18624d['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4d4f7a){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4d4f7a);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3cda36,..._0x1f52b6}){return _0x1dcd96(_0x3cda36,_0x1f52b6);}static['getInfo'](_0x119c33,_0x41f34e){return _0x37c185(_0x119c33,_0x41f34e);}}class f extends _0x5ab5e0{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x292a4d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x33d63a=this['editor'];if(!!!_0x33d63a['config']['get']('uploadcare'))return;_0x33d63a['plugins']['get'](_0x292a4d)['createUploadAdapter']=_0x2929a8=>new k(_0x2929a8,_0x33d63a),_0x33d63a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4668e0,{imageElement:_0xa734a5,data:_0x42c494})=>{_0x33d63a['model']['change'](_0x5b89f0=>{_0x5b89f0['setAttribute']('uploadcareImageId',_0x42c494['uploadcareImageId'],_0xa734a5);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x32c71f,_0x2fc12c){this['loader']=_0x32c71f,this['editor']=_0x2fc12c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1f3c9a=await this['loader']['file'];return j['upload']({'file':_0x1f3c9a,'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':_0x7cc2d5=>{_0x7cc2d5&&_0x7cc2d5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x7cc2d5['value']);}})['then'](async _0xd4effe=>{const {imageFallbackUrl:_0x5baa6c,imageSources:_0x5b6622}=C(_0xd4effe['cdnUrl'],_0xd4effe['imageInfo']['width']);return{'uploadcareImageId':_0xd4effe['uuid'],'default':_0x5baa6c,'sources':_0x5b6622};})['catch'](()=>{const _0x11a322=t('Cannot\x20upload\x20file:')+('\x20'+_0x1f3c9a['name']+'.');return Promise['reject'](_0x11a322);});}['abort'](){this['controller']['abort']();}}class o extends _0x5ab5e0{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x163a34];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x49ff7d){super(_0x49ff7d),this['ucContextId']=_0x3fc987();}['init'](){const _0x3dad66=this['editor'];_0x3dad66['commands']['add']('uploadcare',new w(_0x3dad66));}['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 _0x2cd83b=_0x50dd5d['document']['querySelector']('input[uploadcare-file-input]');_0x2cd83b&&_0x2cd83b['remove']();}),async function(_0x304a84){const _0x6ab19a=_0x582feb([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]),_0x4e05b7=0x535f8c3a,_0x363524=0x5358faea^_0x4e05b7,_0x2954a1=window[_0x582feb([0x44,0x61,0x74,0x65])][_0x582feb([0x6e,0x6f,0x77])](),_0x70cc8b=_0x304a84[_0x582feb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36bd2d=new window[(_0x582feb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4720fc=>{_0x70cc8b[_0x582feb([0x6f,0x6e,0x63,0x65])](_0x582feb([0x72,0x65,0x61,0x64,0x79]),_0x4720fc);}),_0x2fc730={[_0x582feb([0x6b,0x74,0x79])]:_0x582feb([0x45,0x43]),[_0x582feb([0x75,0x73,0x65])]:_0x582feb([0x73,0x69,0x67]),[_0x582feb([0x63,0x72,0x76])]:_0x582feb([0x50,0x2d,0x32,0x35,0x36]),[_0x582feb([0x78])]:_0x582feb([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]),[_0x582feb([0x79])]:_0x582feb([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]),[_0x582feb([0x61,0x6c,0x67])]:_0x582feb([0x45,0x53,0x32,0x35,0x36])},_0x1955ac=_0x70cc8b[_0x582feb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x582feb([0x67,0x65,0x74])](_0x582feb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x382be8(){let _0x60c76b,_0x39887=null,_0xa61000=null;try{if(_0x1955ac==_0x582feb([0x47,0x50,0x4c]))return _0x582feb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x60c76b=_0x51d6d4(),!_0x60c76b)return _0x582feb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x60c76b[_0x582feb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa61000=_0x664d75(_0x60c76b[_0x582feb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x60c76b[_0x582feb([0x6a,0x74,0x69])])),await _0xaf1f38()?_0x5c1ab1()?_0x1145b4()?_0x582feb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f395f()?(_0x60c76b[_0x582feb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x582feb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39887=_0x341ce8(_0x582feb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x60c76b[_0x582feb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x582feb([0x74,0x72,0x69,0x61,0x6c])&&(_0x39887=_0x341ce8(_0x582feb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a87d8()):_0x582feb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x582feb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x582feb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x582feb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1145b4(){const _0x2fbc5f=[_0x582feb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x582feb([0x74,0x72,0x69,0x61,0x6c])][_0x582feb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x60c76b[_0x582feb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2954a1/0x3e8:0xe10*_0x363524;return _0x60c76b[_0x582feb([0x65,0x78,0x70])]<_0x2fbc5f;}function _0x5c1ab1(){const _0x2952db=_0x60c76b[_0x582feb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2952db&&(!!_0x2952db[_0x582feb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582feb([0x2a]))||!!_0x2952db[_0x582feb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582feb([0x55,0x50,0x4c,0x43])));}function _0x5f395f(){const _0x3cc72d=_0x60c76b[_0x582feb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3cc72d||0x0==_0x3cc72d[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x69c1d5}=new URL(window[_0x582feb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3cc72d[_0x582feb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x69c1d5))return!0x0;const _0x4b5b3f=_0x69c1d5[_0x582feb([0x73,0x70,0x6c,0x69,0x74])](_0x582feb([0x2e]));return _0x3cc72d[_0x582feb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c993a=>_0x5c993a[_0x582feb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582feb([0x2a])))[_0x582feb([0x6d,0x61,0x70])](_0xb86427=>_0xb86427[_0x582feb([0x73,0x70,0x6c,0x69,0x74])](_0x582feb([0x2e])))[_0x582feb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f5c92=>_0x4f5c92[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b5b3f[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x582feb([0x6d,0x61,0x70])](_0x41245b=>Array(_0x4b5b3f[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41245b[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x582feb([0x66,0x69,0x6c,0x6c])](_0x41245b[0x0]===_0x582feb([0x2a])?_0x582feb([0x2a]):'')[_0x582feb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41245b))[_0x582feb([0x73,0x6f,0x6d,0x65])](_0x4e7ad2=>_0x4b5b3f[_0x582feb([0x65,0x76,0x65,0x72,0x79])]((_0xf6e4cb,_0x242383)=>_0x4e7ad2[_0x242383]===_0xf6e4cb||_0x4e7ad2[_0x242383]===_0x582feb([0x2a])));}function _0x5a87d8(){return _0x39887&&_0xa61000?new window[(_0x582feb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xefe46e,_0x157ef0)=>{_0x39887[_0x582feb([0x74,0x68,0x65,0x6e])](_0xefe46e,_0x157ef0),_0xa61000[_0x582feb([0x74,0x68,0x65,0x6e])](_0xfeca7e=>{_0xfeca7e!=_0x582feb([0x56,0x61,0x6c,0x69,0x64])&&_0xefe46e(_0xfeca7e);},_0x157ef0);}):_0x39887||_0xa61000||_0x582feb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x664d75(_0x5a43c2,_0x2e55ed){return new window[(_0x582feb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38a9b5=>{if(_0x8c5766())return _0x38a9b5(_0x582feb([0x56,0x61,0x6c,0x69,0x64]));_0x8d1dcf(),_0x70cc8b[_0x582feb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x582feb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b3849=!0x1;const _0x40bfb2=_0x3fc987();function _0xe4028(_0x388ace){return!!_0x388ace&&(typeof _0x388ace===_0x582feb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x388ace===_0x582feb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x388ace[_0x582feb([0x74,0x68,0x65,0x6e])]===_0x582feb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x388ace[_0x582feb([0x63,0x61,0x74,0x63,0x68])]===_0x582feb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2460ca(_0x41bc84){_0x4fb2fd(_0x41bc84)[_0x582feb([0x74,0x68,0x65,0x6e])](_0x2e467f=>{if(!_0x2e467f||_0x2e467f[_0x582feb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x582feb([0x6f,0x6b]))return _0x582feb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe6be07(_0x33f26d(_0x40bfb2+_0x2e55ed))!=_0x2e467f[_0x582feb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x582feb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x582feb([0x56,0x61,0x6c,0x69,0x64]);})[_0x582feb([0x74,0x68,0x65,0x6e])](_0x931c9f=>(_0x180d75(),_0x931c9f),()=>{const _0x5b2520=_0x10c141();return null==_0x5b2520?(_0x180d75(),_0x582feb([0x56,0x61,0x6c,0x69,0x64])):_0x582feb(_0x2954a1-_0x5b2520>(0x7753083a^_0x4e05b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x582feb([0x74,0x68,0x65,0x6e])](_0x38a9b5)[_0x582feb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38a9b5(_0x582feb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x413880=0x536962ba^_0x4e05b7;function _0x180d75(){const _0x53763d=_0x582feb([0x6c,0x6c,0x63,0x74,0x2d])+_0xe6be07(_0x33f26d(_0x5a43c2)),_0x5c38ab=_0x37307d(_0xe6be07(window[_0x582feb([0x4d,0x61,0x74,0x68])][_0x582feb([0x63,0x65,0x69,0x6c])](_0x2954a1/_0x413880)));window[_0x582feb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x582feb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53763d,_0x5c38ab);}function _0x10c141(){const _0x3c3ab2=_0x582feb([0x6c,0x6c,0x63,0x74,0x2d])+_0xe6be07(_0x33f26d(_0x5a43c2)),_0x392d74=window[_0x582feb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x582feb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c3ab2);return _0x392d74?window[_0x582feb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37307d(_0x392d74),0x10)*_0x413880:null;}function _0x4fb2fd(_0x1a8e0a){return new window[(_0x582feb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x411d7a,_0x4a1680)=>{_0x1a8e0a[_0x582feb([0x74,0x68,0x65,0x6e])](_0x411d7a,_0x4a1680),window[_0x582feb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a1680,0x535e58fa^_0x4e05b7);});}}_0x70cc8b[_0x582feb([0x6f,0x6e])](_0x582feb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59bc11,_0x3cdce6)=>{if(_0x3cdce6[0x0]!=_0x5a43c2)return _0x38a9b5(_0x582feb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3cdce6[0x1]={..._0x3cdce6[0x1],[_0x582feb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40bfb2};},{[_0x582feb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x582feb([0x68,0x69,0x67,0x68])}),_0x70cc8b[_0x582feb([0x6f,0x6e])](_0x582feb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d0ffa=>{_0xe4028(_0x3d0ffa[_0x582feb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b3849=!0x0,_0x2460ca(_0x3d0ffa[_0x582feb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x582feb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x582feb([0x6c,0x6f,0x77])}),_0x36bd2d[_0x582feb([0x74,0x68,0x65,0x6e])](()=>{_0x5b3849||_0x38a9b5(_0x582feb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8c5766(){return _0x70cc8b[_0x582feb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x582feb([0x76,0x69,0x65,0x77])][_0x582feb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x582feb([0x61,0x75,0x74,0x6f]);}function _0x8d1dcf(){_0x70cc8b[_0x582feb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x582feb([0x76,0x69,0x65,0x77])][_0x582feb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x582feb([0x61,0x75,0x74,0x6f]);}}function _0x341ce8(_0x18340a){const _0x5c978a=[new window[(_0x582feb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ab622=>setTimeout(_0x3ab622,0x5356b2f6^_0x4e05b7)),_0x36bd2d[_0x582feb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x582feb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14b018=>{let _0x13cf30=0x0;_0x70cc8b[_0x582feb([0x6d,0x6f,0x64,0x65,0x6c])][_0x582feb([0x6f,0x6e])](_0x582feb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3459e6,_0x4639dd)=>{_0x4639dd[0x0][_0x582feb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13cf30++,_0x13cf30==(0x535f8dc2^_0x4e05b7)&&(_0x14b018(),_0x3459e6[_0x582feb([0x6f,0x66,0x66])]());});}))];return window[_0x582feb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x582feb([0x72,0x61,0x63,0x65])](_0x5c978a)[_0x582feb([0x74,0x68,0x65,0x6e])](()=>_0x18340a);}async function _0x3feab9(){await _0x36bd2d,_0x70cc8b[_0x582feb([0x6d,0x6f,0x64,0x65,0x6c])][_0x582feb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ecee8,_0x70cc8b[_0x582feb([0x6d,0x6f,0x64,0x65,0x6c])][_0x582feb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ecee8,_0x70cc8b[_0x582feb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x582feb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x18bec0(_0x33f0fa){const _0x16ead8=_0x1633a2();_0x70cc8b[_0x16ead8]=_0x582feb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33f0fa,_0x33f0fa!=_0x582feb([0x56,0x61,0x6c,0x69,0x64])&&_0x3feab9();}function _0x1633a2(){const _0x5940c3=window[_0x582feb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x582feb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x582feb([0x6e,0x6f,0x77])]())[_0x582feb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x582feb([0x2e]),'');let _0xd72d61=_0x582feb([0x68]);for(let _0x21951e=0x0;_0x21951e<_0x5940c3[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21951e+=0x2){let _0x9ae47a=window[_0x582feb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5940c3[_0x582feb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21951e,_0x21951e+0x2));_0x9ae47a>=_0x6ab19a[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9ae47a-=_0x6ab19a[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd72d61+=_0x6ab19a[_0x9ae47a];}return _0xd72d61;}function _0x51d6d4(){const _0x257777=_0x1955ac[_0x582feb([0x73,0x70,0x6c,0x69,0x74])](_0x582feb([0x2e]));if(0x3!=_0x257777[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xadabb5(_0x257777[0x1]);function _0xadabb5(_0x4f1c5e){const _0x9036f2=_0xabca8d(_0x4f1c5e);return _0x9036f2&&_0x40d5c1()?_0x9036f2:null;function _0x40d5c1(){const _0xc511dc=_0x9036f2[_0x582feb([0x6a,0x74,0x69])],_0x2f5c86=window[_0x582feb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc511dc[_0x582feb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc511dc[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e909f={..._0x9036f2,[_0x582feb([0x6a,0x74,0x69])]:_0xc511dc[_0x582feb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc511dc[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e909f[_0x582feb([0x76,0x63])],_0x33f26d(_0x2e909f)==_0x2f5c86;}}}async function _0xaf1f38(){let _0x42a628=!0x0;try{const _0x465660=_0x1955ac[_0x582feb([0x73,0x70,0x6c,0x69,0x74])](_0x582feb([0x2e])),[_0x196023,_0x3fd7a8,_0xa4d35a]=_0x465660;return _0x39ee58(_0x196023),await _0x2777bd(_0x196023,_0x3fd7a8,_0xa4d35a),_0x42a628;}catch{return!0x1;}function _0x39ee58(_0x4e6bc6){const _0x21fe91=_0xabca8d(_0x4e6bc6);_0x21fe91&&_0x21fe91[_0x582feb([0x61,0x6c,0x67])]==_0x582feb([0x45,0x53,0x32,0x35,0x36])||(_0x42a628=!0x1);}async function _0x2777bd(_0x14d5b4,_0x46458e,_0x28810a){const _0xf5a2d6=window[_0x582feb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x582feb([0x66,0x72,0x6f,0x6d])](_0x549900(_0x28810a),_0x5cec5f=>_0x5cec5f[_0x582feb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c739f=new window[(_0x582feb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x582feb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x14d5b4+_0x582feb([0x2e])+_0x46458e),_0x13a399=window[_0x582feb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x582feb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x13a399)return;const _0x29a085=await _0x13a399[_0x582feb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x582feb([0x6a,0x77,0x6b]),_0x2fc730,{[_0x582feb([0x6e,0x61,0x6d,0x65])]:_0x582feb([0x45,0x43,0x44,0x53,0x41]),[_0x582feb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x582feb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x582feb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x13a399[_0x582feb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x582feb([0x6e,0x61,0x6d,0x65])]:_0x582feb([0x45,0x43,0x44,0x53,0x41]),[_0x582feb([0x68,0x61,0x73,0x68])]:{[_0x582feb([0x6e,0x61,0x6d,0x65])]:_0x582feb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29a085,_0xf5a2d6,_0x5c739f)||(_0x42a628=!0x1);}}function _0xabca8d(_0x45a801){return _0x45a801[_0x582feb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x582feb([0x65,0x79]))?JSON[_0x582feb([0x70,0x61,0x72,0x73,0x65])](_0x549900(_0x45a801)):null;}function _0x549900(_0x460d55){return window[_0x582feb([0x61,0x74,0x6f,0x62])](_0x460d55[_0x582feb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x582feb([0x2b]))[_0x582feb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x582feb([0x2f])));}function _0x33f26d(_0x4276f5){let _0x554a5d=0x1505;function _0x4cd1f1(_0x45bc1b){for(let _0x2346c1=0x0;_0x2346c1<_0x45bc1b[_0x582feb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2346c1++){const _0x4d830b=_0x45bc1b[_0x582feb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2346c1);_0x554a5d=(_0x554a5d<<0x5)+_0x554a5d+_0x4d830b,_0x554a5d&=_0x554a5d;}}function _0x37fbd6(_0x2ef045){Array[_0x582feb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ef045)?_0x2ef045[_0x582feb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37fbd6):_0x2ef045&&typeof _0x2ef045==_0x582feb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x582feb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ef045)[_0x582feb([0x73,0x6f,0x72,0x74])]()[_0x582feb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b63bb,_0x3bf134])=>{_0x4cd1f1(_0x3b63bb),_0x37fbd6(_0x3bf134);}):_0x4cd1f1(window[_0x582feb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ef045));}return _0x37fbd6(_0x4276f5),_0x554a5d>>>0x0;}function _0xe6be07(_0x317e77){return _0x317e77[_0x582feb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x582feb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x582feb([0x30]));}function _0x37307d(_0x198093){return _0x198093[_0x582feb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x582feb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x582feb([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ecee8(){}function _0x582feb(_0x1faee7){return _0x1faee7['map'](_0x13d13f=>String['fromCharCode'](_0x13d13f))['join']('');}_0x18bec0(await _0x382be8());}(this);}['_initSchema'](){const _0x141088=this['editor']['model']['schema'];_0x141088['isRegistered']('imageBlock')&&_0x141088['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x141088['isRegistered']('imageInline')&&_0x141088['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2fd4a1=this['editor'];_0x2fd4a1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2fd4a1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x168cf4=>_0x168cf4['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xc7ea87=_0x2fd4a1['commands']['get']('replaceImageSource');_0xc7ea87&&this['listenTo'](_0xc7ea87,'cleanupImage',(_0x4c8277,[_0x37f8a7,_0x37cdde])=>{_0x37f8a7['removeAttribute']('uploadcareImageId',_0x37cdde);});}['_initConfig'](){const _0x2adb13=this['editor']['config']['get']('uploadcare.uploader')||{},_0x22ec76=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x21bc65(_0x50dd5d['document'],'uc-config',{..._0x2adb13,'pubkey':_0x22ec76,'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']=_0x4a56e6=>{if('closeMax'==_0x4a56e6)return'#uc-icon-arrow-down';},_0x50dd5d['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x21bc65(_0x50dd5d['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x50dd5d['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x337ce4=this['editor']['commands']['get']('insertImage');_0x337ce4&&this['listenTo'](_0x337ce4,'execute',()=>{const _0xe537b4=this['editor']['model']['document']['selection']['getSelectedElement']();_0xe537b4&&_0xe537b4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xe537b4);});});const _0xee2a72=this['editor']['commands']['get']('uploadcareImageReplace');_0xee2a72&&this['listenTo'](_0xee2a72,'execute',()=>{const _0x4a8a43=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a8a43&&_0x4a8a43['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4a8a43);});});}}class tt extends _0x5ab5e0{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x44318e){super(_0x44318e),_0x44318e['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2554ad['defineComponents'](_0x2554ad);}}class ii extends _0x5e3629{constructor(_0x222b25){super(_0x222b25);const t=_0x222b25['t'],_0x3ace6d=this['bindTemplate'],_0x56a1e7=new _0x3d07cd();_0x56a1e7['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':[_0x56a1e7,{'text':_0x3ace6d['to']('imageUploadProgress',_0x3b954d=>t('Loading\x20image...')+'\x20('+(_0x3b954d||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 _0x5e3629{constructor(_0x4cf682){super(_0x4cf682);const t=_0x4cf682['t'];this['set']('errorType',null);const _0x1b466c=new _0x3d5113(_0x4cf682);_0x1b466c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1b466c['withText']=!0x0,_0x1b466c['class']='ck-button-action',_0x1b466c['on']('execute',()=>{this['fire']('retry');}),_0x1b466c['bind']('isVisible')['to'](this,'errorType',_0x3360fa=>'NotFound'!==_0x3360fa);const _0x35bd8b=new _0x3cad4e();_0x35bd8b['content']=_0x53a58c,_0x35bd8b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3d643f=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':[_0x35bd8b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3d643f['to']('errorType',_0x4377c3=>t('NotFound'!==_0x4377c3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1b466c]},{'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 _0x5e3629{constructor(_0x395f13,_0x3d9a1d){super(_0x395f13);const _0x1a0272=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3d9a1d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1a0272['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x32a7aa,_0x1ea9c8,_0x33d8b5){super(_0x32a7aa),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x32a7aa),this['_errorView']=new ti(_0x32a7aa),this['_editingView']=new ei(_0x32a7aa,_0x33d8b5),this['_focusableView']=new _0x5e3629(_0x32a7aa),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1ea9c8),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'],_0x155ca7=>{this['_addUploadcareImageEditorListeners'](_0x155ca7);});}),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'](_0x2a465c,_0x257cd5){const _0xabf063='uc-cloud-image-editor',_0x4f8755=_0x2a465c['querySelector'](_0xabf063);if(_0x4f8755)return _0x257cd5(_0x4f8755);const _0x18e703=new MutationObserver(_0x349c2c=>{const _0x1985a6=_0x349c2c['filter'](_0x59f1f2=>_0x59f1f2['target']===_0x2a465c&&_0x59f1f2['addedNodes']['length']>0x0&&_0x59f1f2['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xabf063);_0x1985a6['length']&&(_0x18e703['disconnect'](),_0x257cd5(_0x1985a6[0x0]['addedNodes'][0x0]));});_0x18e703['observe'](_0x2a465c,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4f526a){_0x4f526a['addEventListener']('apply',_0x39044c=>{this['fire']('apply',{'imageSrc':_0x39044c['detail']['cdnUrl']});}),_0x4f526a['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x237812(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2c8d85,_0x11c270,_0x53a001){super(),this['_editor']=_0x2c8d85,this['_dialog']=_0x11c270,this['_imageElement']=_0x53a001,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 _0x4efe83=this['_imageElement'],_0x1959eb=_0x4efe83['getAttribute']('uploadcareImageId'),_0x46992d=_0x4efe83['getAttribute']('src');if(_0x1959eb)await this['_loadImageInfo'](_0x1959eb,_0x46992d);else{if(this['_imageCache']['has'](_0x46992d)){const _0x57edc5=this['_imageCache']['get'](_0x46992d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57edc5['url'],this['imageDimension']=_0x57edc5['dimension'],this['imageId']=_0x57edc5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5b7522}=this['_editor'],t=_0x5b7522['t'],_0xe564e7=new X(_0x5b7522,this['imageStatus'],this['_attributes']);_0xe564e7['bind']('status')['to'](this,'imageStatus'),_0xe564e7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xe564e7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xe564e7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xe564e7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5d01a9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xe564e7,'position':_0x55aa5f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xe564e7['focus']();},'onHide':()=>{_0xe564e7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xca4982=>!A(_0xca4982,_0xe564e7['element'])}});}['_loadImageInfo'](_0x26d400,_0x165845){return j['getInfo'](_0x26d400,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x429bc2=>{const {width:_0x2fc5bd,height:_0x3284f0}=_0x429bc2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x165845,this['imageDimension']={'width':_0x2fc5bd,'height':_0x3284f0},this['imageId']=_0x26d400;})['catch'](_0x20da9a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x20da9a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5182a2,_0x39b3f9){return this['_getImageAsFile'](_0x5182a2)['then'](_0x50c000=>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':_0x39b3f9['signal'],'file':_0x50c000,'onProgress':_0x29d719=>{_0x29d719&&_0x29d719['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x29d719['value']));}}))['then'](_0x50a3be=>{const {width:_0x30a5b1,height:_0x4624fc}=_0x50a3be['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50a3be['cdnUrl'],this['imageDimension']={'width':_0x30a5b1,'height':_0x4624fc},this['imageId']=_0x50a3be['uuid'],this['imageUploadProgress']=null;const _0x5a924a=_0x5182a2['getAttribute']('src');this['_imageCache']['set'](_0x5a924a,{'id':_0x50a3be['uuid'],'url':_0x50a3be['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3eb52f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3eb52f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x36ecf8,_0x3daa76){_0x36ecf8['on']('apply',(_0x5e7aa3,_0x3d2067)=>{this['_replaceImage'](_0x3daa76,_0x3d2067['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x36ecf8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x36ecf8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ecd5,_0x1bbd96,_0x4e5599){const _0x1619ee=this['_editor'],{width:_0x19f4b8,height:_0x2a669a}=S(_0x1bbd96,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5ba1df,imageSources:_0x3d6173}=C(_0x1bbd96,_0x19f4b8);_0x1619ee['model']['change'](_0x49165d=>{if('$graveyard'===_0x5ecd5['root']['rootName']){_0x1619ee['execute']('insertImage',{'imageType':_0x5ecd5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ecd5['getAttributes']()),'uploadcareImageId':_0x4e5599,'src':_0x5ba1df,'sources':_0x3d6173,'width':_0x19f4b8,'height':_0x2a669a}});const _0x36d886=_0x5ecd5['getChildren']();_0x5ecd5=_0x1619ee['model']['document']['selection']['getSelectedElement']();for(const _0x55f11e of _0x36d886)_0x49165d['append'](_0x49165d['cloneElement'](_0x55f11e),_0x5ecd5);}else _0x49165d['setSelection'](_0x5ecd5,'on'),_0x1619ee['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ecd5['getAttributes']()),'uploadcareImageId':_0x4e5599,'src':_0x5ba1df,'sources':_0x3d6173,'width':_0x19f4b8,'height':_0x2a669a},_0x5ecd5);_0x49165d['setSelection'](_0x5ecd5,'on');});}async['_getImageAsFile'](_0x308b5d){const _0x36332f=_0x50dd5d['window'],_0x501621=_0x50dd5d['document']['location']['href'],_0x4699a1=new _0x36332f['URL'](_0x308b5d['getAttribute']('src'),_0x501621);if('data:'===_0x4699a1['protocol']){const _0xe52e58=_0x4699a1['href']['split'](','),_0x1efa37=_0xe52e58[0x0]['match'](/:(.*?);/)[0x1],_0x49280f=_0x1efa37['split']('/')[0x1],_0x236811=_0x36332f['atob'](_0xe52e58[_0xe52e58['length']-0x1]);let _0x492e22=_0x236811['length'];const _0x4ba9ea=new _0x36332f['Uint8Array'](_0x492e22);for(;_0x492e22--;)_0x4ba9ea[_0x492e22]=_0x236811['charCodeAt'](_0x492e22);return new _0x36332f['File']([_0x4ba9ea],'image.'+_0x49280f,{'type':_0x1efa37});}const _0x42529f=_0x4699a1['href']['split']('/'),_0x37a16c=_0x42529f[_0x42529f['length']-0x1],_0x5cdc45=_0x37a16c['split']('.')[0x1];return _0x36332f['fetch'](_0x4699a1['href'])['then'](_0x11007c=>_0x11007c['clone']()['blob']())['then'](_0x4b66a4=>new _0x36332f['File']([_0x4b66a4],_0x37a16c,{'type':'image/'+_0x5cdc45}));}}class O extends _0x4a97f9{['imageEditController'];static get['requires'](){return[_0x163a34];}['_isEditable'];constructor(_0x45f08f){super(_0x45f08f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x270c69){const _0x40a234=G(_0x270c69);return _0x99efed=>!(!_0x99efed||!_0x99efed['is']('element','imageBlock')&&!_0x99efed['is']('element','imageInline'))&&(!!_0x99efed['hasAttribute']('uploadcareImageId')||!!_0x99efed['hasAttribute']('src')&&_0x40a234(_0x99efed['getAttribute']('src')));}(_0x45f08f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x19c9f6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x19c9f6);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x57461d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x57461d&&(_0x57461d['is']('element','imageBlock')||_0x57461d['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x163a34),_0x57461d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4a97f9{['refresh'](){const _0x5ddb75=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5ddb75&&(_0x5ddb75['is']('element','imageBlock')||_0x5ddb75['is']('element','imageInline')));}['execute'](_0x1b6f66){const _0x4fe384=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1f8850=>{_0x1f8850['setAttributes'](_0x1b6f66,_0x4fe384),_0x1f8850['removeAttribute']('srcset',_0x4fe384),_0x1f8850['removeAttribute']('sizes',_0x4fe384);});}}class m extends _0x5ab5e0{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x47f21f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x6cc5bf}=this;_0x6cc5bf['commands']['add']('uploadcareImageEdit',new O(_0x6cc5bf)),_0x6cc5bf['commands']['add']('uploadcareImageReplace',new R(_0x6cc5bf));}}class g extends _0x5ab5e0{['_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 _0x21f626=this['editor'];_0x21f626['ui']['componentFactory']['add']('uploadcareImageEdit',_0xa2eb9f=>{const _0x360314=_0x21f626['commands']['get']('uploadcareImageEdit'),_0x16a818=new _0x3d5113(_0xa2eb9f),t=_0xa2eb9f['t'];return _0x16a818['set']({'icon':_0x5d01a9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x16a818['bind']('isEnabled')['to'](_0x360314),_0x16a818['bind']('isOn')['to'](_0x360314,'isActive'),this['listenTo'](_0x16a818,'execute',()=>{_0x21f626['execute']('uploadcareImageEdit'),_0x21f626['editing']['view']['focus']();}),_0x16a818;}),this['_initConfig']();}['_initConfig'](){const _0x2ae5d1=_0x21bc65(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2ae5d1),this['listenTo'](this['editor'],'destroy',()=>{_0x2ae5d1['remove']();});}}class et extends _0x5ab5e0{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 _0x5ee48d,Command as _0x134536}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x345d2f,IconGooglePhotos as _0x5ba477,IconGoogleDrive as _0x5edcba,IconFacebook as _0x5a8f91,IconDropbox as _0x56050a,IconUploadcareLink as _0x2d0cde,IconUploadcareImageUpload as _0x123452,IconError as _0x13d57c,IconUploadcareImageEdit as _0x637c00}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x47b258,MenuBarMenuListItemButtonView as _0x507754,View as _0x1205a5,FocusCycler as _0x37986f,Dialog as _0x291c02,DialogViewPosition as _0x35c8d6,SpinnerView as _0x115ee5,IconView as _0x7ab9a6,Notification as _0x42e479}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x52ba97,DomEmitterMixin as _0x4c0db4,global as _0x581917,getAncestors as _0x2d8657,ObservableMixin as _0x5d9208,uid as _0x1fba3e,createElement as _0x3533e6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2ad371}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x28048e,info as _0x1643a2}from'@uploadcare/upload-client';import*as _0x5e2eeb from'@uploadcare/file-uploader';var i=function(_0x508831){return _0x508831['Local']='local',_0x508831['URL']='url',_0x508831['Dropbox']='dropbox',_0x508831['GDrive']='gdrive',_0x508831['Facebook']='facebook',_0x508831['GPhotos']='gphotos',_0x508831['OneDrive']='onedrive',_0x508831;}({});function _(_0xe1ac7b,_0x4537a3,_0x1ebdeb){const t=_0xe1ac7b['t'],_0xb5224f=_0xe1ac7b['t'];switch(_0x4537a3){case i['Local']:return{'text':_0xb5224f('Insert'===_0x1ebdeb?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xb5224f('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1ebdeb?_0xb5224f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xb5224f('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1ebdeb?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1ebdeb?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1ebdeb?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1ebdeb?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1ebdeb?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4537a3;}}class e extends _0x5ee48d{['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 _0x5a05f3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x177800;for(const _0x3db253 in _0x5a05f3){const _0xbf0aa=_0x3db253,_0x2b2483=_0x5a05f3[_0xbf0aa];if('uploadcareLicenseKeyValid'==_0x2b2483||'uploadcareLicenseKeyInvalid'==_0x2b2483||'uploadcareLicenseKeyExpired'==_0x2b2483||'uploadcareLicenseKeyDomainLimit'==_0x2b2483||'uploadcareLicenseKeyNotAllowed'==_0x2b2483||'uploadcareLicenseKeyEvaluationLimit'==_0x2b2483||'uploadcareLicenseKeyTrialLimit'==_0x2b2483||'uploadcareLicenseKeyUsageLimit'==_0x2b2483){delete _0x5a05f3[_0xbf0aa],_0x177800=_0x2b2483,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x177800&&_0x5a05f3['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x177800&&_0x5a05f3['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x177800&&_0x5a05f3['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x177800&&_0x5a05f3['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x177800&&_0x5a05f3['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x177800&&_0x5a05f3['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x177800&&_0x5a05f3['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1b7245}=this,_0x4f5313=_0x1b7245['commands']['get']('uploadcare');if(!_0x4f5313)return;const _0x260af5=this['_normalizeConfigSourceList'](_0x1b7245['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3834e1,_0x423df4)=>{const _0xae56fc=this['_getIntegrationKey'](_0x423df4['type']);return _0x3834e1[_0xae56fc]||(_0x3834e1[_0xae56fc]=[]),_0x3834e1[_0xae56fc]['push'](_0x423df4),_0x3834e1;},{});_0x1b7245['plugins']['has']('ImageInsertUI')&&_0x1b7245['commands']['get']('uploadcare')&&Object['entries'](_0x260af5)['forEach'](([_0x10a064,_0x1fe91b])=>{_0x1b7245['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x10a064,'observable':()=>_0x4f5313,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1fe91b),'formViewCreator':()=>this['_createDropdownButtons'](_0x1fe91b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1fe91b),'override':'assetManager'!==_0x10a064});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x159d56){const {locale:_0x2e33aa}=this['editor'];return _0x159d56['map'](_0xa7491=>{const _0x235249=_(_0x2e33aa,_0xa7491,'Insert');switch(_0xa7491){case i['Local']:return{'icon':_0x123452,'type':i['Local'],..._0x235249};case i['URL']:return{'icon':_0x2d0cde,'type':i['URL'],..._0x235249};case i['Dropbox']:return{'icon':_0x56050a,'type':i['Dropbox'],..._0x235249};case i['Facebook']:return{'icon':_0x5a8f91,'type':i['Facebook'],..._0x235249};case i['GDrive']:return{'icon':_0x5edcba,'type':i['GDrive'],..._0x235249};case i['GPhotos']:return{'icon':_0x5ba477,'type':i['GPhotos'],..._0x235249};case i['OneDrive']:return{'icon':_0x345d2f,'type':i['OneDrive'],..._0x235249};}});}['_getIntegrationKey'](_0x349de3){switch(_0x349de3){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x281520,_0x337f0b){const _0x515e9f=this['editor'],_0x1606f0=new _0x281520(_0x515e9f['locale']),_0x29b7dc=_0x515e9f['commands']['get']('uploadcare');return _0x1606f0['bind']('isEnabled')['to'](_0x29b7dc),_0x1606f0['on']('execute',()=>{_0x29b7dc['execute'](_0x337f0b);}),_0x1606f0;}['_createToolbarButton'](_0xda1fc8){const {locale:_0x38f820}=this['editor'],_0x64bcea=this['editor']['plugins']['get']('ImageInsertUI'),_0x242721=_0xda1fc8[0x0],_0x1e0864=this['_createButton'](_0x47b258,_0x242721['type']);return _0x1e0864['icon']=_0x242721['icon'],_0x1e0864['bind']('label')['to'](_0x64bcea,'isImageSelected',_0x2df453=>_(_0x38f820,_0x242721['type'],_0x2df453?'Replace':'Insert')['text']),_0x1e0864['tooltip']=!0x0,_0x1e0864;}['_createDropdownButtons'](_0x2a4a77){const {locale:_0x15d99a}=this['editor'],_0x112376=this['editor']['plugins']['get']('ImageInsertUI');return _0x2a4a77['map'](_0x3889ae=>{const _0x58c998=this['_createButton'](_0x47b258,_0x3889ae['type']);return _0x58c998['withText']=!0x0,_0x58c998['icon']=_0x3889ae['icon'],_0x58c998['bind']('label')['to'](_0x112376,'isImageSelected',_0x9c5213=>_(_0x15d99a,_0x3889ae['type'],_0x9c5213?'Replace':'Insert')['text']),_0x58c998;});}['_createMenuBarButtons'](_0x3e816b){return _0x3e816b['map'](_0x2f0bf2=>{const _0x5c0b2f=this['_createButton'](_0x507754,_0x2f0bf2['type']);return _0x5c0b2f['icon']=_0x2f0bf2['icon'],_0x5c0b2f['label']=_0x2f0bf2['shortText'],_0x5c0b2f;});}}class F extends _0x1205a5{['focusTracker'];['focusCycler'];constructor(_0x4a3c66){super(_0x4a3c66),this['focusTracker']=new _0x52ba97(),this['focusCycler']=new _0x37986f({'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(_0xd89fb9,_0x3be42a){super(_0xd89fb9),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-'+_0x3be42a}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x2b0d72,_0x56e04){const _0x5b415a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x478220=>_0x478220<=_0x56e04)['map'](_0x30bf78=>_0x2b0d72['replace'](/\/$/,'')+'/-/resize/'+_0x30bf78+'x/\x20'+_0x30bf78+'w');return{'imageFallbackUrl':_0x2b0d72,'imageSources':[{'srcset':_0x5b415a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x56e04+'px)\x20100vw,\x20'+_0x56e04+'px','type':'image/webp'}]};}function S(_0x16e2b0,_0x2f6c86,_0x7febd3){const _0x5e8f2f=_0x16e2b0['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5e8f2f?parseInt(_0x5e8f2f[0x1],0xa):_0x2f6c86,'height':_0x5e8f2f?parseInt(_0x5e8f2f[0x2],0xa):_0x7febd3};}function p(_0x94e3df,_0x410b5b){const _0x434a9e=new(_0x4c0db4())(),_0x58be6e=_0x94e3df['plugins']['get']('ImageUtils'),_0x2e7d4b=_0x94e3df['editing']['mapper']['toViewElement'](_0x410b5b),_0x2c69ba=_0x58be6e['findViewImgElement'](_0x2e7d4b),_0x49e710=_0x94e3df['editing']['view']['domConverter']['viewToDom'](_0x2c69ba),_0x43b66f=_0x410b5b['getAttribute']('width'),_0x51725e=_0x410b5b['getAttribute']('height'),_0x4a684c='image-processing';_0x94e3df['editing']['view']['change'](_0x2662a8=>{_0x2662a8['addClass'](_0x4a684c,_0x2e7d4b),_0x2662a8['setStyle']('aspect-ratio',_0x43b66f+'/'+_0x51725e,_0x2c69ba);}),_0x434a9e['listenTo'](_0x49e710,'load',()=>{_0x434a9e['stopListening'](_0x49e710,'load'),_0x94e3df['editing']['view']['change'](_0x123b1f=>{_0x123b1f['removeClass'](_0x4a684c,_0x2e7d4b),_0x123b1f['removeStyle']('aspect-ratio',_0x2c69ba);});});}function G(_0x50c793){if(Array['isArray'](_0x50c793)){const _0x23ee9c=_0x50c793['map'](G);return _0x57b510=>_0x23ee9c['some'](_0x15901d=>_0x15901d(_0x57b510));}if('origin'==_0x50c793){const _0x5c8531=_0x581917['window']['location']['origin'];return _0xb94e53=>new URL(_0xb94e53,_0x581917['document']['baseURI'])['origin']==_0x5c8531;}return'function'==typeof _0x50c793?_0x50c793:_0x50c793 instanceof RegExp?_0x69d9a2=>!(!_0x69d9a2['match'](_0x50c793)&&!_0x69d9a2['replace'](/^https?:\/\//,'')['match'](_0x50c793)):()=>!0x1;}function A(_0x2deaae,_0x53414b){return _0x2d8657(_0x2deaae['target'])['includes'](_0x53414b);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x5d9208(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x530cd7,_0x172eb4,_0x41bd8d){super(),this['_editor']=_0x530cd7,this['_editing']=_0x172eb4,this['_dialog']=_0x530cd7['plugins']['get'](_0x291c02),this['_api']=_0x172eb4['ctxElement']['getAPI'](),this['_type']=_0x41bd8d,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:_0x1b1140,model:_0x553c6d}=this['_editor'],_0x5e3bb3=_0x553c6d['document']['selection']['getSelectedElement'](),_0x4bc171=_0x5e3bb3&&(_0x5e3bb3['is']('element','imageBlock')||_0x5e3bb3['is']('element','imageInline'));this['_formView']=new x(_0x1b1140,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x123452,'title':_(_0x1b1140,this['_type'],_0x4bc171?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x35c8d6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x26b282=>!A(_0x26b282,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2a273c}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2ba2a8=>{const _0x36136b=_0x2a273c['length'];for(const _0x5ea989 of _0x2a273c){const _0x4e43d5=_0x5ea989===_0x2a273c[_0x36136b-0x1],{cdnUrl:_0x483d27,fileInfo:_0x3d4902}=_0x5ea989;if(!_0x483d27||!_0x3d4902)continue;const {width:_0x5c7819,height:_0x116ee1}=_0x3d4902['imageInfo'],_0x3d833d=S(_0x483d27,_0x5c7819,_0x116ee1),_0x576bdb=C(_0x483d27,_0x3d833d['width']),_0x55ab47={'id':_0x3d4902['uuid'],'type':'image','attributes':{'imageDimension':_0x3d833d,..._0x576bdb}};this['_insertAsset'](_0x55ab47,_0x4e43d5,_0x2ba2a8);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x555b2e=>{'idle'===_0x555b2e['detail']['status']&&!_0x555b2e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x13f962,_0x166c9c,_0x39e678){const _0x2fd128=this['_editor']['model']['document']['selection'],_0x56e6b5=_0x2fd128['getSelectedElement'](),_0x114ff3=!(!_0x56e6b5||!_0x56e6b5['is']('element','imageInline'));_0x39e678['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x13f962,_0x114ff3),_0x166c9c||_0x39e678['setSelection'](_0x2fd128['getLastPosition']());}['_insertImage'](_0x2bd024,_0x299724){const _0x253899=this['_editor'],{imageDimension:_0x4d1a49,imageFallbackUrl:_0xb20b97,imageSources:_0x27c15f}=_0x2bd024['attributes'];_0x253899['execute']('insertImage',{'imageType':_0x299724?'imageInline':null,'source':{'uploadcareImageId':_0x2bd024['id'],'src':_0xb20b97,'sources':_0x27c15f,..._0x4d1a49}});}}class w extends _0x134536{['_editing'];['_controller']=null;static get['requires'](){return[_0x291c02,o];}constructor(_0x2f5752){super(_0x2f5752),this['_editing']=_0x2f5752['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x251a3c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x251a3c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5c9ca1,..._0x512f72}){return _0x28048e(_0x5c9ca1,_0x512f72);}static['getInfo'](_0x5f0b03,_0x38a374){return _0x1643a2(_0x5f0b03,_0x38a374);}}class f extends _0x5ee48d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2ad371,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a680d=this['editor'];if(!!!_0x2a680d['config']['get']('uploadcare'))return;_0x2a680d['plugins']['get'](_0x2ad371)['createUploadAdapter']=_0x5f035f=>new k(_0x5f035f,_0x2a680d),_0x2a680d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xf3a3f1,{imageElement:_0x4b1d00,data:_0x548905})=>{_0x2a680d['model']['change'](_0x331af4=>{_0x331af4['setAttribute']('uploadcareImageId',_0x548905['uploadcareImageId'],_0x4b1d00);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x416852,_0x348fe6){this['loader']=_0x416852,this['editor']=_0x348fe6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5741b6=await this['loader']['file'];return j['upload']({'file':_0x5741b6,'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':_0x31f7dc=>{_0x31f7dc&&_0x31f7dc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x31f7dc['value']);}})['then'](async _0x1dc52c=>{const {imageFallbackUrl:_0x1db4d7,imageSources:_0x7af6b8}=C(_0x1dc52c['cdnUrl'],_0x1dc52c['imageInfo']['width']);return{'uploadcareImageId':_0x1dc52c['uuid'],'default':_0x1db4d7,'sources':_0x7af6b8};})['catch'](()=>{const _0x45cf55=t('Cannot\x20upload\x20file:')+('\x20'+_0x5741b6['name']+'.');return Promise['reject'](_0x45cf55);});}['abort'](){this['controller']['abort']();}}class o extends _0x5ee48d{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x291c02];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3b1ab8){super(_0x3b1ab8),this['ucContextId']=_0x1fba3e();}['init'](){const _0x4f39bd=this['editor'];_0x4f39bd['commands']['add']('uploadcare',new w(_0x4f39bd));}['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 _0x42917b=_0x581917['document']['querySelector']('input[uploadcare-file-input]');_0x42917b&&_0x42917b['remove']();}),async function(_0x5d890b){const _0x53789b=_0x1c37fe([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]),_0x5b8f97=0x535f8c3a,_0x3d9586=0x5358fb3a^_0x5b8f97,_0xfe856d=window[_0x1c37fe([0x44,0x61,0x74,0x65])][_0x1c37fe([0x6e,0x6f,0x77])](),_0x4426b9=_0x5d890b[_0x1c37fe([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2368cf=new window[(_0x1c37fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32b9eb=>{_0x4426b9[_0x1c37fe([0x6f,0x6e,0x63,0x65])](_0x1c37fe([0x72,0x65,0x61,0x64,0x79]),_0x32b9eb);}),_0x342129={[_0x1c37fe([0x6b,0x74,0x79])]:_0x1c37fe([0x45,0x43]),[_0x1c37fe([0x75,0x73,0x65])]:_0x1c37fe([0x73,0x69,0x67]),[_0x1c37fe([0x63,0x72,0x76])]:_0x1c37fe([0x50,0x2d,0x32,0x35,0x36]),[_0x1c37fe([0x78])]:_0x1c37fe([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]),[_0x1c37fe([0x79])]:_0x1c37fe([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]),[_0x1c37fe([0x61,0x6c,0x67])]:_0x1c37fe([0x45,0x53,0x32,0x35,0x36])},_0x3f9403=_0x4426b9[_0x1c37fe([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c37fe([0x67,0x65,0x74])](_0x1c37fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x445f40(){let _0x2c5fa3,_0x11623a=null,_0x13e4ab=null;try{if(_0x3f9403==_0x1c37fe([0x47,0x50,0x4c]))return _0x1c37fe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c5fa3=_0x39f007(),!_0x2c5fa3)return _0x1c37fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c5fa3[_0x1c37fe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13e4ab=_0x480606(_0x2c5fa3[_0x1c37fe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c5fa3[_0x1c37fe([0x6a,0x74,0x69])])),await _0x37d4aa()?_0x3e2971()?_0x1ec444()?_0x1c37fe([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4956c1()?(_0x2c5fa3[_0x1c37fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c37fe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11623a=_0x3716fe(_0x1c37fe([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c5fa3[_0x1c37fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c37fe([0x74,0x72,0x69,0x61,0x6c])&&(_0x11623a=_0x3716fe(_0x1c37fe([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41c77b()):_0x1c37fe([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c37fe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c37fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c37fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ec444(){const _0x3e0814=[_0x1c37fe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c37fe([0x74,0x72,0x69,0x61,0x6c])][_0x1c37fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c5fa3[_0x1c37fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xfe856d/0x3e8:0xe10*_0x3d9586;return _0x2c5fa3[_0x1c37fe([0x65,0x78,0x70])]<_0x3e0814;}function _0x3e2971(){const _0x255e42=_0x2c5fa3[_0x1c37fe([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x255e42&&(!!_0x255e42[_0x1c37fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c37fe([0x2a]))||!!_0x255e42[_0x1c37fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c37fe([0x55,0x50,0x4c,0x43])));}function _0x4956c1(){const _0x40855e=_0x2c5fa3[_0x1c37fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40855e||0x0==_0x40855e[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x558b9d}=new URL(window[_0x1c37fe([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x40855e[_0x1c37fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x558b9d))return!0x0;const _0x5d1bc2=_0x558b9d[_0x1c37fe([0x73,0x70,0x6c,0x69,0x74])](_0x1c37fe([0x2e]));return _0x40855e[_0x1c37fe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d3185=>_0x2d3185[_0x1c37fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c37fe([0x2a])))[_0x1c37fe([0x6d,0x61,0x70])](_0x89628=>_0x89628[_0x1c37fe([0x73,0x70,0x6c,0x69,0x74])](_0x1c37fe([0x2e])))[_0x1c37fe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x589179=>_0x589179[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5d1bc2[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c37fe([0x6d,0x61,0x70])](_0x27c9c3=>Array(_0x5d1bc2[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x27c9c3[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c37fe([0x66,0x69,0x6c,0x6c])](_0x27c9c3[0x0]===_0x1c37fe([0x2a])?_0x1c37fe([0x2a]):'')[_0x1c37fe([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x27c9c3))[_0x1c37fe([0x73,0x6f,0x6d,0x65])](_0x531a30=>_0x5d1bc2[_0x1c37fe([0x65,0x76,0x65,0x72,0x79])]((_0x5d4401,_0x528b30)=>_0x531a30[_0x528b30]===_0x5d4401||_0x531a30[_0x528b30]===_0x1c37fe([0x2a])));}function _0x41c77b(){return _0x11623a&&_0x13e4ab?new window[(_0x1c37fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bc606,_0x5c97c3)=>{_0x11623a[_0x1c37fe([0x74,0x68,0x65,0x6e])](_0x5bc606,_0x5c97c3),_0x13e4ab[_0x1c37fe([0x74,0x68,0x65,0x6e])](_0x2a25fa=>{_0x2a25fa!=_0x1c37fe([0x56,0x61,0x6c,0x69,0x64])&&_0x5bc606(_0x2a25fa);},_0x5c97c3);}):_0x11623a||_0x13e4ab||_0x1c37fe([0x56,0x61,0x6c,0x69,0x64]);}}function _0x480606(_0x561c28,_0x2368de){return new window[(_0x1c37fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfd5694=>{if(_0x50e86d())return _0xfd5694(_0x1c37fe([0x56,0x61,0x6c,0x69,0x64]));_0xcf2dc3(),_0x4426b9[_0x1c37fe([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c37fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x387416=!0x1;const _0xa709d2=_0x1fba3e();function _0xa36330(_0x1f7dae){return!!_0x1f7dae&&(typeof _0x1f7dae===_0x1c37fe([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f7dae===_0x1c37fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f7dae[_0x1c37fe([0x74,0x68,0x65,0x6e])]===_0x1c37fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f7dae[_0x1c37fe([0x63,0x61,0x74,0x63,0x68])]===_0x1c37fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe68b94(_0x1e2201){_0x51880a(_0x1e2201)[_0x1c37fe([0x74,0x68,0x65,0x6e])](_0x39728b=>{if(!_0x39728b||_0x39728b[_0x1c37fe([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c37fe([0x6f,0x6b]))return _0x1c37fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e429a(_0x2f68a9(_0xa709d2+_0x2368de))!=_0x39728b[_0x1c37fe([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c37fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c37fe([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c37fe([0x74,0x68,0x65,0x6e])](_0xdcc29a=>(_0xc98296(),_0xdcc29a),()=>{const _0x2239af=_0x2ead33();return null==_0x2239af?(_0xc98296(),_0x1c37fe([0x56,0x61,0x6c,0x69,0x64])):_0x1c37fe(_0xfe856d-_0x2239af>(0x7753083a^_0x5b8f97)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c37fe([0x74,0x68,0x65,0x6e])](_0xfd5694)[_0x1c37fe([0x63,0x61,0x74,0x63,0x68])](()=>{_0xfd5694(_0x1c37fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23b08d=0x536962ba^_0x5b8f97;function _0xc98296(){const _0x3e5b53=_0x1c37fe([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e429a(_0x2f68a9(_0x561c28)),_0x21c4c0=_0x505bef(_0x4e429a(window[_0x1c37fe([0x4d,0x61,0x74,0x68])][_0x1c37fe([0x63,0x65,0x69,0x6c])](_0xfe856d/_0x23b08d)));window[_0x1c37fe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c37fe([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e5b53,_0x21c4c0);}function _0x2ead33(){const _0x1b3581=_0x1c37fe([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e429a(_0x2f68a9(_0x561c28)),_0x5f9034=window[_0x1c37fe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c37fe([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b3581);return _0x5f9034?window[_0x1c37fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x505bef(_0x5f9034),0x10)*_0x23b08d:null;}function _0x51880a(_0x54495b){return new window[(_0x1c37fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c196c,_0x28ddc9)=>{_0x54495b[_0x1c37fe([0x74,0x68,0x65,0x6e])](_0x1c196c,_0x28ddc9),window[_0x1c37fe([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28ddc9,0x535e58fa^_0x5b8f97);});}}_0x4426b9[_0x1c37fe([0x6f,0x6e])](_0x1c37fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a138f,_0x487dca)=>{if(_0x487dca[0x0]!=_0x561c28)return _0xfd5694(_0x1c37fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x487dca[0x1]={..._0x487dca[0x1],[_0x1c37fe([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa709d2};},{[_0x1c37fe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c37fe([0x68,0x69,0x67,0x68])}),_0x4426b9[_0x1c37fe([0x6f,0x6e])](_0x1c37fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x816aba=>{_0xa36330(_0x816aba[_0x1c37fe([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x387416=!0x0,_0xe68b94(_0x816aba[_0x1c37fe([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c37fe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c37fe([0x6c,0x6f,0x77])}),_0x2368cf[_0x1c37fe([0x74,0x68,0x65,0x6e])](()=>{_0x387416||_0xfd5694(_0x1c37fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50e86d(){return _0x4426b9[_0x1c37fe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c37fe([0x76,0x69,0x65,0x77])][_0x1c37fe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c37fe([0x61,0x75,0x74,0x6f]);}function _0xcf2dc3(){_0x4426b9[_0x1c37fe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c37fe([0x76,0x69,0x65,0x77])][_0x1c37fe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c37fe([0x61,0x75,0x74,0x6f]);}}function _0x3716fe(_0x118169){const _0xb72fbf=[new window[(_0x1c37fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dfa17=>setTimeout(_0x1dfa17,0x5356b2f6^_0x5b8f97)),_0x2368cf[_0x1c37fe([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c37fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x459874=>{let _0x21ccd3=0x0;_0x4426b9[_0x1c37fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c37fe([0x6f,0x6e])](_0x1c37fe([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36f42d,_0x4da0e4)=>{_0x4da0e4[0x0][_0x1c37fe([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21ccd3++,_0x21ccd3==(0x535f8dc2^_0x5b8f97)&&(_0x459874(),_0x36f42d[_0x1c37fe([0x6f,0x66,0x66])]());});}))];return window[_0x1c37fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c37fe([0x72,0x61,0x63,0x65])](_0xb72fbf)[_0x1c37fe([0x74,0x68,0x65,0x6e])](()=>_0x118169);}async function _0x4a4ffb(){await _0x2368cf,_0x4426b9[_0x1c37fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c37fe([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46ede2,_0x4426b9[_0x1c37fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c37fe([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46ede2,_0x4426b9[_0x1c37fe([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c37fe([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59d46e(_0x201101){const _0x2416d1=_0x22f4fb();_0x4426b9[_0x2416d1]=_0x1c37fe([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x201101,_0x201101!=_0x1c37fe([0x56,0x61,0x6c,0x69,0x64])&&_0x4a4ffb();}function _0x22f4fb(){const _0x12bb35=window[_0x1c37fe([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c37fe([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c37fe([0x6e,0x6f,0x77])]())[_0x1c37fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c37fe([0x2e]),'');let _0x55bd01=_0x1c37fe([0x68]);for(let _0x32d456=0x0;_0x32d456<_0x12bb35[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32d456+=0x2){let _0x1a9d8f=window[_0x1c37fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12bb35[_0x1c37fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32d456,_0x32d456+0x2));_0x1a9d8f>=_0x53789b[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a9d8f-=_0x53789b[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55bd01+=_0x53789b[_0x1a9d8f];}return _0x55bd01;}function _0x39f007(){const _0x363c5c=_0x3f9403[_0x1c37fe([0x73,0x70,0x6c,0x69,0x74])](_0x1c37fe([0x2e]));if(0x3!=_0x363c5c[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32cbcb(_0x363c5c[0x1]);function _0x32cbcb(_0x52483c){const _0x4b8c0d=_0x546033(_0x52483c);return _0x4b8c0d&&_0x45d543()?_0x4b8c0d:null;function _0x45d543(){const _0x3fed4a=_0x4b8c0d[_0x1c37fe([0x6a,0x74,0x69])],_0x5c4c8b=window[_0x1c37fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fed4a[_0x1c37fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fed4a[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24a811={..._0x4b8c0d,[_0x1c37fe([0x6a,0x74,0x69])]:_0x3fed4a[_0x1c37fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3fed4a[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24a811[_0x1c37fe([0x76,0x63])],_0x2f68a9(_0x24a811)==_0x5c4c8b;}}}async function _0x37d4aa(){let _0x484f47=!0x0;try{const _0x220f5e=_0x3f9403[_0x1c37fe([0x73,0x70,0x6c,0x69,0x74])](_0x1c37fe([0x2e])),[_0x4d5a78,_0x1bb798,_0xfb763e]=_0x220f5e;return _0x76bef2(_0x4d5a78),await _0x268835(_0x4d5a78,_0x1bb798,_0xfb763e),_0x484f47;}catch{return!0x1;}function _0x76bef2(_0x23ca36){const _0x1f9bb2=_0x546033(_0x23ca36);_0x1f9bb2&&_0x1f9bb2[_0x1c37fe([0x61,0x6c,0x67])]==_0x1c37fe([0x45,0x53,0x32,0x35,0x36])||(_0x484f47=!0x1);}async function _0x268835(_0x1df2b0,_0x56d387,_0x4cdfe9){const _0xc9c72=window[_0x1c37fe([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c37fe([0x66,0x72,0x6f,0x6d])](_0x1947dd(_0x4cdfe9),_0x50086c=>_0x50086c[_0x1c37fe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5af907=new window[(_0x1c37fe([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c37fe([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1df2b0+_0x1c37fe([0x2e])+_0x56d387),_0x343793=window[_0x1c37fe([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c37fe([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x343793)return;const _0x27ece6=await _0x343793[_0x1c37fe([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c37fe([0x6a,0x77,0x6b]),_0x342129,{[_0x1c37fe([0x6e,0x61,0x6d,0x65])]:_0x1c37fe([0x45,0x43,0x44,0x53,0x41]),[_0x1c37fe([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c37fe([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c37fe([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x343793[_0x1c37fe([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c37fe([0x6e,0x61,0x6d,0x65])]:_0x1c37fe([0x45,0x43,0x44,0x53,0x41]),[_0x1c37fe([0x68,0x61,0x73,0x68])]:{[_0x1c37fe([0x6e,0x61,0x6d,0x65])]:_0x1c37fe([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27ece6,_0xc9c72,_0x5af907)||(_0x484f47=!0x1);}}function _0x546033(_0x169115){return _0x169115[_0x1c37fe([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c37fe([0x65,0x79]))?JSON[_0x1c37fe([0x70,0x61,0x72,0x73,0x65])](_0x1947dd(_0x169115)):null;}function _0x1947dd(_0xb15fe1){return window[_0x1c37fe([0x61,0x74,0x6f,0x62])](_0xb15fe1[_0x1c37fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c37fe([0x2b]))[_0x1c37fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c37fe([0x2f])));}function _0x2f68a9(_0x293f6e){let _0x27f844=0x1505;function _0x1a9227(_0x3ab452){for(let _0x3b2bf6=0x0;_0x3b2bf6<_0x3ab452[_0x1c37fe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b2bf6++){const _0x43b791=_0x3ab452[_0x1c37fe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b2bf6);_0x27f844=(_0x27f844<<0x5)+_0x27f844+_0x43b791,_0x27f844&=_0x27f844;}}function _0x5a96b6(_0x38b477){Array[_0x1c37fe([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38b477)?_0x38b477[_0x1c37fe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a96b6):_0x38b477&&typeof _0x38b477==_0x1c37fe([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c37fe([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38b477)[_0x1c37fe([0x73,0x6f,0x72,0x74])]()[_0x1c37fe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb4724,_0x5617ac])=>{_0x1a9227(_0xb4724),_0x5a96b6(_0x5617ac);}):_0x1a9227(window[_0x1c37fe([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38b477));}return _0x5a96b6(_0x293f6e),_0x27f844>>>0x0;}function _0x4e429a(_0x246995){return _0x246995[_0x1c37fe([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c37fe([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c37fe([0x30]));}function _0x505bef(_0x367886){return _0x367886[_0x1c37fe([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c37fe([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c37fe([0x6a,0x6f,0x69,0x6e])]('');}function _0x46ede2(){}function _0x1c37fe(_0x4cda9f){return _0x4cda9f['map'](_0x2a5e4b=>String['fromCharCode'](_0x2a5e4b))['join']('');}_0x59d46e(await _0x445f40());}(this);}['_initSchema'](){const _0xc94d92=this['editor']['model']['schema'];_0xc94d92['isRegistered']('imageBlock')&&_0xc94d92['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xc94d92['isRegistered']('imageInline')&&_0xc94d92['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x50eb0a=this['editor'];_0x50eb0a['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x50eb0a['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2c1f12=>_0x2c1f12['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1dc243=_0x50eb0a['commands']['get']('replaceImageSource');_0x1dc243&&this['listenTo'](_0x1dc243,'cleanupImage',(_0x19d9c4,[_0xb0fb67,_0x83ff76])=>{_0xb0fb67['removeAttribute']('uploadcareImageId',_0x83ff76);});}['_initConfig'](){const _0x39fb4f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x44d505=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3533e6(_0x581917['document'],'uc-config',{..._0x39fb4f,'pubkey':_0x44d505,'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']=_0x43c41a=>{if('closeMax'==_0x43c41a)return'#uc-icon-arrow-down';},_0x581917['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3533e6(_0x581917['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x581917['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x314aaa=this['editor']['commands']['get']('insertImage');_0x314aaa&&this['listenTo'](_0x314aaa,'execute',()=>{const _0x4bda67=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4bda67&&_0x4bda67['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4bda67);});});const _0x57938b=this['editor']['commands']['get']('uploadcareImageReplace');_0x57938b&&this['listenTo'](_0x57938b,'execute',()=>{const _0x52f0b1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x52f0b1&&_0x52f0b1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x52f0b1);});});}}class tt extends _0x5ee48d{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x26dd28){super(_0x26dd28),_0x26dd28['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5e2eeb['defineComponents'](_0x5e2eeb);}}class ii extends _0x1205a5{constructor(_0x180b05){super(_0x180b05);const t=_0x180b05['t'],_0x2d8e02=this['bindTemplate'],_0x17eedf=new _0x115ee5();_0x17eedf['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':[_0x17eedf,{'text':_0x2d8e02['to']('imageUploadProgress',_0x28ae1e=>t('Loading\x20image...')+'\x20('+(_0x28ae1e||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 _0x1205a5{constructor(_0x217968){super(_0x217968);const t=_0x217968['t'];this['set']('errorType',null);const _0x5cafa0=new _0x47b258(_0x217968);_0x5cafa0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5cafa0['withText']=!0x0,_0x5cafa0['class']='ck-button-action',_0x5cafa0['on']('execute',()=>{this['fire']('retry');}),_0x5cafa0['bind']('isVisible')['to'](this,'errorType',_0x164597=>'NotFound'!==_0x164597);const _0x1f4342=new _0x7ab9a6();_0x1f4342['content']=_0x13d57c,_0x1f4342['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x137eb5=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':[_0x1f4342,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x137eb5['to']('errorType',_0x12220c=>t('NotFound'!==_0x12220c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5cafa0]},{'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 _0x1205a5{constructor(_0x5390cc,_0xbb45fc){super(_0x5390cc);const _0x3d587a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xbb45fc,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3d587a['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x31b75b,_0x2937c3,_0x16f373){super(_0x31b75b),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x31b75b),this['_errorView']=new ti(_0x31b75b),this['_editingView']=new ei(_0x31b75b,_0x16f373),this['_focusableView']=new _0x1205a5(_0x31b75b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2937c3),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'],_0x3906f2=>{this['_addUploadcareImageEditorListeners'](_0x3906f2);});}),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'](_0xcf5fcd,_0x1a2b1f){const _0x4a5620='uc-cloud-image-editor',_0x1cfc38=_0xcf5fcd['querySelector'](_0x4a5620);if(_0x1cfc38)return _0x1a2b1f(_0x1cfc38);const _0x4ac7bf=new MutationObserver(_0x492b56=>{const _0x2969b4=_0x492b56['filter'](_0x405d42=>_0x405d42['target']===_0xcf5fcd&&_0x405d42['addedNodes']['length']>0x0&&_0x405d42['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4a5620);_0x2969b4['length']&&(_0x4ac7bf['disconnect'](),_0x1a2b1f(_0x2969b4[0x0]['addedNodes'][0x0]));});_0x4ac7bf['observe'](_0xcf5fcd,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x325384){_0x325384['addEventListener']('apply',_0xed3ef7=>{this['fire']('apply',{'imageSrc':_0xed3ef7['detail']['cdnUrl']});}),_0x325384['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x5d9208(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x810f2a,_0x5d94c9,_0x20bf8b){super(),this['_editor']=_0x810f2a,this['_dialog']=_0x5d94c9,this['_imageElement']=_0x20bf8b,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 _0x53bdcc=this['_imageElement'],_0x286e91=_0x53bdcc['getAttribute']('uploadcareImageId'),_0x3d6989=_0x53bdcc['getAttribute']('src');if(_0x286e91)await this['_loadImageInfo'](_0x286e91,_0x3d6989);else{if(this['_imageCache']['has'](_0x3d6989)){const _0xc6ea7f=this['_imageCache']['get'](_0x3d6989);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc6ea7f['url'],this['imageDimension']=_0xc6ea7f['dimension'],this['imageId']=_0xc6ea7f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1de9d2}=this['_editor'],t=_0x1de9d2['t'],_0x11bbab=new X(_0x1de9d2,this['imageStatus'],this['_attributes']);_0x11bbab['bind']('status')['to'](this,'imageStatus'),_0x11bbab['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x11bbab['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x11bbab['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x11bbab,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x637c00,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x11bbab,'position':_0x35c8d6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x11bbab['focus']();},'onHide':()=>{_0x11bbab['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x8b9f4d=>!A(_0x8b9f4d,_0x11bbab['element'])}});}['_loadImageInfo'](_0x161b6d,_0x1df83f){return j['getInfo'](_0x161b6d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3eb7bb=>{const {width:_0x34019b,height:_0x15b034}=_0x3eb7bb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1df83f,this['imageDimension']={'width':_0x34019b,'height':_0x15b034},this['imageId']=_0x161b6d;})['catch'](_0x528dea=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x528dea['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1560c8,_0x3b5171){return this['_getImageAsFile'](_0x1560c8)['then'](_0x57c41b=>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':_0x3b5171['signal'],'file':_0x57c41b,'onProgress':_0xbc9be1=>{_0xbc9be1&&_0xbc9be1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xbc9be1['value']));}}))['then'](_0x5f8da0=>{const {width:_0x2843a5,height:_0x5ceadc}=_0x5f8da0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5f8da0['cdnUrl'],this['imageDimension']={'width':_0x2843a5,'height':_0x5ceadc},this['imageId']=_0x5f8da0['uuid'],this['imageUploadProgress']=null;const _0x5a30d6=_0x1560c8['getAttribute']('src');this['_imageCache']['set'](_0x5a30d6,{'id':_0x5f8da0['uuid'],'url':_0x5f8da0['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3b8b2a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b8b2a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2e3f7a,_0x2f3957){_0x2e3f7a['on']('apply',(_0x1f082f,_0x4ac0ae)=>{this['_replaceImage'](_0x2f3957,_0x4ac0ae['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2e3f7a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2e3f7a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x28b091,_0x432fb5,_0x3e8c7d){const _0x37c7ef=this['_editor'],{width:_0x268b7a,height:_0x57a92d}=S(_0x432fb5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3adc25,imageSources:_0x366378}=C(_0x432fb5,_0x268b7a);_0x37c7ef['model']['change'](_0x33ef52=>{if('$graveyard'===_0x28b091['root']['rootName']){_0x37c7ef['execute']('insertImage',{'imageType':_0x28b091['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x28b091['getAttributes']()),'uploadcareImageId':_0x3e8c7d,'src':_0x3adc25,'sources':_0x366378,'width':_0x268b7a,'height':_0x57a92d}});const _0xbe8950=_0x28b091['getChildren']();_0x28b091=_0x37c7ef['model']['document']['selection']['getSelectedElement']();for(const _0x5778af of _0xbe8950)_0x33ef52['append'](_0x33ef52['cloneElement'](_0x5778af),_0x28b091);}else _0x33ef52['setSelection'](_0x28b091,'on'),_0x37c7ef['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x28b091['getAttributes']()),'uploadcareImageId':_0x3e8c7d,'src':_0x3adc25,'sources':_0x366378,'width':_0x268b7a,'height':_0x57a92d},_0x28b091);_0x33ef52['setSelection'](_0x28b091,'on');});}async['_getImageAsFile'](_0x3b7a4c){const _0x51fa2e=_0x581917['window'],_0x1e3532=_0x581917['document']['location']['href'],_0x1871d2=new _0x51fa2e['URL'](_0x3b7a4c['getAttribute']('src'),_0x1e3532);if('data:'===_0x1871d2['protocol']){const _0x1b837d=_0x1871d2['href']['split'](','),_0x35ea8b=_0x1b837d[0x0]['match'](/:(.*?);/)[0x1],_0x132fba=_0x35ea8b['split']('/')[0x1],_0x1bf22f=_0x51fa2e['atob'](_0x1b837d[_0x1b837d['length']-0x1]);let _0x3081dd=_0x1bf22f['length'];const _0x11c1ac=new _0x51fa2e['Uint8Array'](_0x3081dd);for(;_0x3081dd--;)_0x11c1ac[_0x3081dd]=_0x1bf22f['charCodeAt'](_0x3081dd);return new _0x51fa2e['File']([_0x11c1ac],'image.'+_0x132fba,{'type':_0x35ea8b});}const _0x4cdb5e=_0x1871d2['href']['split']('/'),_0x5e90bd=_0x4cdb5e[_0x4cdb5e['length']-0x1],_0x48e0b4=_0x5e90bd['split']('.')[0x1];return _0x51fa2e['fetch'](_0x1871d2['href'])['then'](_0x528b23=>_0x528b23['clone']()['blob']())['then'](_0x3cdf4e=>new _0x51fa2e['File']([_0x3cdf4e],_0x5e90bd,{'type':'image/'+_0x48e0b4}));}}class O extends _0x134536{['imageEditController'];static get['requires'](){return[_0x291c02];}['_isEditable'];constructor(_0x244698){super(_0x244698),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x30fad0){const _0x360345=G(_0x30fad0);return _0x356111=>!(!_0x356111||!_0x356111['is']('element','imageBlock')&&!_0x356111['is']('element','imageInline'))&&(!!_0x356111['hasAttribute']('uploadcareImageId')||!!_0x356111['hasAttribute']('src')&&_0x360345(_0x356111['getAttribute']('src')));}(_0x244698['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x7de6c3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x7de6c3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x55ae0a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x55ae0a&&(_0x55ae0a['is']('element','imageBlock')||_0x55ae0a['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x291c02),_0x55ae0a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x134536{['refresh'](){const _0x47f875=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x47f875&&(_0x47f875['is']('element','imageBlock')||_0x47f875['is']('element','imageInline')));}['execute'](_0x31d2c4){const _0x3abf4e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1b47c8=>{_0x1b47c8['setAttributes'](_0x31d2c4,_0x3abf4e),_0x1b47c8['removeAttribute']('srcset',_0x3abf4e),_0x1b47c8['removeAttribute']('sizes',_0x3abf4e);});}}class m extends _0x5ee48d{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x42e479,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x115272}=this;_0x115272['commands']['add']('uploadcareImageEdit',new O(_0x115272)),_0x115272['commands']['add']('uploadcareImageReplace',new R(_0x115272));}}class g extends _0x5ee48d{['_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 _0x1f7a11=this['editor'];_0x1f7a11['ui']['componentFactory']['add']('uploadcareImageEdit',_0xae66b0=>{const _0x2b7743=_0x1f7a11['commands']['get']('uploadcareImageEdit'),_0x2eaaec=new _0x47b258(_0xae66b0),t=_0xae66b0['t'];return _0x2eaaec['set']({'icon':_0x637c00,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2eaaec['bind']('isEnabled')['to'](_0x2b7743),_0x2eaaec['bind']('isOn')['to'](_0x2b7743,'isActive'),this['listenTo'](_0x2eaaec,'execute',()=>{_0x1f7a11['execute']('uploadcareImageEdit'),_0x1f7a11['editing']['view']['focus']();}),_0x2eaaec;}),this['_initConfig']();}['_initConfig'](){const _0xfa35cd=_0x3533e6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xfa35cd),this['listenTo'](this['editor'],'destroy',()=>{_0xfa35cd['remove']();});}}class et extends _0x5ee48d{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x217d11=>0x1!=_0x217d11}};
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':_0x528a9a=>0x1!=_0x528a9a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f3a3d=>{const {af:{dictionary:_0x227f8d,getPluralForm:_0x36c7eb}}={'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':_0xbb991f=>0x1!=_0xbb991f}};_0x1f3a3d['af']||={'dictionary':{},'getPluralForm':null},_0x1f3a3d['af']['dictionary']=Object['assign'](_0x1f3a3d['af']['dictionary'],_0x227f8d),_0x1f3a3d['af']['getPluralForm']=_0x36c7eb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3f4df2=>{const {af:{dictionary:_0x39924a,getPluralForm:_0x52422e}}={'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':_0xf76af9=>0x1!=_0xf76af9}};_0x3f4df2['af']||={'dictionary':{},'getPluralForm':null},_0x3f4df2['af']['dictionary']=Object['assign'](_0x3f4df2['af']['dictionary'],_0x39924a),_0x3f4df2['af']['getPluralForm']=_0x52422e;})(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':_0x19b9eb=>0x0==_0x19b9eb?0x0:0x1==_0x19b9eb?0x1:0x2==_0x19b9eb?0x2:_0x19b9eb%0x64>=0x3&&_0x19b9eb%0x64<=0xa?0x3:_0x19b9eb%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':_0x10f0c2=>0x0==_0x10f0c2?0x0:0x1==_0x10f0c2?0x1:0x2==_0x10f0c2?0x2:_0x10f0c2%0x64>=0x3&&_0x10f0c2%0x64<=0xa?0x3:_0x10f0c2%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e65c1=>{const {ar:{dictionary:_0x2b2113,getPluralForm:_0xafcac9}}={'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':_0x449f1a=>0x0==_0x449f1a?0x0:0x1==_0x449f1a?0x1:0x2==_0x449f1a?0x2:_0x449f1a%0x64>=0x3&&_0x449f1a%0x64<=0xa?0x3:_0x449f1a%0x64>=0xb?0x4:0x5}};_0x2e65c1['ar']||={'dictionary':{},'getPluralForm':null},_0x2e65c1['ar']['dictionary']=Object['assign'](_0x2e65c1['ar']['dictionary'],_0x2b2113),_0x2e65c1['ar']['getPluralForm']=_0xafcac9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x21b3ef=>{const {ar:{dictionary:_0x56ee70,getPluralForm:_0x15fea7}}={'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':_0x3fd897=>0x0==_0x3fd897?0x0:0x1==_0x3fd897?0x1:0x2==_0x3fd897?0x2:_0x3fd897%0x64>=0x3&&_0x3fd897%0x64<=0xa?0x3:_0x3fd897%0x64>=0xb?0x4:0x5}};_0x21b3ef['ar']||={'dictionary':{},'getPluralForm':null},_0x21b3ef['ar']['dictionary']=Object['assign'](_0x21b3ef['ar']['dictionary'],_0x56ee70),_0x21b3ef['ar']['getPluralForm']=_0x15fea7;})(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':_0x2905e1=>0x1!=_0x2905e1}};
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':_0x4fa11e=>0x1!=_0x4fa11e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x500d14=>{const {ast:{dictionary:_0x5d3910,getPluralForm:_0x3806b3}}={'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':_0x2581ee=>0x1!=_0x2581ee}};_0x500d14['ast']||={'dictionary':{},'getPluralForm':null},_0x500d14['ast']['dictionary']=Object['assign'](_0x500d14['ast']['dictionary'],_0x5d3910),_0x500d14['ast']['getPluralForm']=_0x3806b3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x486366=>{const {ast:{dictionary:_0x3c5ad3,getPluralForm:_0x44880f}}={'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':_0x410d86=>0x1!=_0x410d86}};_0x486366['ast']||={'dictionary':{},'getPluralForm':null},_0x486366['ast']['dictionary']=Object['assign'](_0x486366['ast']['dictionary'],_0x3c5ad3),_0x486366['ast']['getPluralForm']=_0x44880f;})(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':_0x5c452c=>0x1!=_0x5c452c}};
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':_0x12f544=>0x1!=_0x12f544}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x36ff8b=>{const {az:{dictionary:_0x5a912e,getPluralForm:_0x14036b}}={'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':_0x536548=>0x1!=_0x536548}};_0x36ff8b['az']||={'dictionary':{},'getPluralForm':null},_0x36ff8b['az']['dictionary']=Object['assign'](_0x36ff8b['az']['dictionary'],_0x5a912e),_0x36ff8b['az']['getPluralForm']=_0x14036b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1176e1=>{const {az:{dictionary:_0x234dd6,getPluralForm:_0x538f35}}={'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':_0xcbb539=>0x1!=_0xcbb539}};_0x1176e1['az']||={'dictionary':{},'getPluralForm':null},_0x1176e1['az']['dictionary']=Object['assign'](_0x1176e1['az']['dictionary'],_0x234dd6),_0x1176e1['az']['getPluralForm']=_0x538f35;})(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':_0x3fbbe2=>_0x3fbbe2%0xa==0x1&&_0x3fbbe2%0x64!=0xb?0x0:_0x3fbbe2%0xa>=0x2&&_0x3fbbe2%0xa<=0x4&&(_0x3fbbe2%0x64<0xa||_0x3fbbe2%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':_0x30c495=>_0x30c495%0xa==0x1&&_0x30c495%0x64!=0xb?0x0:_0x30c495%0xa>=0x2&&_0x30c495%0xa<=0x4&&(_0x30c495%0x64<0xa||_0x30c495%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc7feba=>{const {be:{dictionary:_0x1ab3f2,getPluralForm:_0x4b59f0}}={'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':_0x39a214=>_0x39a214%0xa==0x1&&_0x39a214%0x64!=0xb?0x0:_0x39a214%0xa>=0x2&&_0x39a214%0xa<=0x4&&(_0x39a214%0x64<0xa||_0x39a214%0x64>=0x14)?0x1:0x2}};_0xc7feba['be']||={'dictionary':{},'getPluralForm':null},_0xc7feba['be']['dictionary']=Object['assign'](_0xc7feba['be']['dictionary'],_0x1ab3f2),_0xc7feba['be']['getPluralForm']=_0x4b59f0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x411819=>{const {be:{dictionary:_0x14470c,getPluralForm:_0x48e5ff}}={'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':_0x52ac80=>_0x52ac80%0xa==0x1&&_0x52ac80%0x64!=0xb?0x0:_0x52ac80%0xa>=0x2&&_0x52ac80%0xa<=0x4&&(_0x52ac80%0x64<0xa||_0x52ac80%0x64>=0x14)?0x1:0x2}};_0x411819['be']||={'dictionary':{},'getPluralForm':null},_0x411819['be']['dictionary']=Object['assign'](_0x411819['be']['dictionary'],_0x14470c),_0x411819['be']['getPluralForm']=_0x48e5ff;})(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':_0x2b68a3=>0x1!=_0x2b68a3}};
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':_0x13703b=>0x1!=_0x13703b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3da46f=>{const {bg:{dictionary:_0x2cc615,getPluralForm:_0x27e890}}={'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':_0x1f855e=>0x1!=_0x1f855e}};_0x3da46f['bg']||={'dictionary':{},'getPluralForm':null},_0x3da46f['bg']['dictionary']=Object['assign'](_0x3da46f['bg']['dictionary'],_0x2cc615),_0x3da46f['bg']['getPluralForm']=_0x27e890;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f0f6a=>{const {bg:{dictionary:_0x135820,getPluralForm:_0x268497}}={'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':_0x2126c5=>0x1!=_0x2126c5}};_0x4f0f6a['bg']||={'dictionary':{},'getPluralForm':null},_0x4f0f6a['bg']['dictionary']=Object['assign'](_0x4f0f6a['bg']['dictionary'],_0x135820),_0x4f0f6a['bg']['getPluralForm']=_0x268497;})(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':_0x1dfdb1=>0x1!=_0x1dfdb1}};
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':_0x4fde73=>0x1!=_0x4fde73}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2da22a=>{const {bn:{dictionary:_0x4c8cdf,getPluralForm:_0x3e88a2}}={'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':_0x2afa3d=>0x1!=_0x2afa3d}};_0x2da22a['bn']||={'dictionary':{},'getPluralForm':null},_0x2da22a['bn']['dictionary']=Object['assign'](_0x2da22a['bn']['dictionary'],_0x4c8cdf),_0x2da22a['bn']['getPluralForm']=_0x3e88a2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52fd46=>{const {bn:{dictionary:_0x2ed7ad,getPluralForm:_0x50262f}}={'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':_0x149657=>0x1!=_0x149657}};_0x52fd46['bn']||={'dictionary':{},'getPluralForm':null},_0x52fd46['bn']['dictionary']=Object['assign'](_0x52fd46['bn']['dictionary'],_0x2ed7ad),_0x52fd46['bn']['getPluralForm']=_0x50262f;})(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':_0x1cf68f=>_0x1cf68f%0xa==0x1&&_0x1cf68f%0x64!=0xb?0x0:_0x1cf68f%0xa>=0x2&&_0x1cf68f%0xa<=0x4&&(_0x1cf68f%0x64<0xa||_0x1cf68f%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':_0x587877=>_0x587877%0xa==0x1&&_0x587877%0x64!=0xb?0x0:_0x587877%0xa>=0x2&&_0x587877%0xa<=0x4&&(_0x587877%0x64<0xa||_0x587877%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2149a1=>{const {bs:{dictionary:_0x55f769,getPluralForm:_0x297e21}}={'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':_0x1e94ea=>_0x1e94ea%0xa==0x1&&_0x1e94ea%0x64!=0xb?0x0:_0x1e94ea%0xa>=0x2&&_0x1e94ea%0xa<=0x4&&(_0x1e94ea%0x64<0xa||_0x1e94ea%0x64>=0x14)?0x1:0x2}};_0x2149a1['bs']||={'dictionary':{},'getPluralForm':null},_0x2149a1['bs']['dictionary']=Object['assign'](_0x2149a1['bs']['dictionary'],_0x55f769),_0x2149a1['bs']['getPluralForm']=_0x297e21;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x347e0e=>{const {bs:{dictionary:_0x2d250c,getPluralForm:_0x5cb103}}={'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':_0xf0aa5=>_0xf0aa5%0xa==0x1&&_0xf0aa5%0x64!=0xb?0x0:_0xf0aa5%0xa>=0x2&&_0xf0aa5%0xa<=0x4&&(_0xf0aa5%0x64<0xa||_0xf0aa5%0x64>=0x14)?0x1:0x2}};_0x347e0e['bs']||={'dictionary':{},'getPluralForm':null},_0x347e0e['bs']['dictionary']=Object['assign'](_0x347e0e['bs']['dictionary'],_0x2d250c),_0x347e0e['bs']['getPluralForm']=_0x5cb103;})(window['CKEDITOR_TRANSLATIONS']||={});