@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250627.0 → 0.0.0-nightly-20250629.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 _0x37b4e0,Command as _0x31e146}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1c8c85,IconGooglePhotos as _0x55d504,IconGoogleDrive as _0x2510bb,IconFacebook as _0xbc9a9a,IconDropbox as _0x40596d,IconUploadcareLink as _0x2f334c,IconUploadcareImageUpload as _0x1a8160,IconError as _0x1c394b,IconUploadcareImageEdit as _0x2f294a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2fb41c,MenuBarMenuListItemButtonView as _0x1409cb,View as _0x99e33e,FocusCycler as _0x55d4e2,Dialog as _0x1e46c3,DialogViewPosition as _0x426d95,SpinnerView as _0x2c06dd,IconView as _0x5a3e56,Notification as _0x1fa466}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x197e33,DomEmitterMixin as _0x2279ca,global as _0x54bc5e,getAncestors as _0x19ea94,ObservableMixin as _0x328829,uid as _0x472af1,createElement as _0x5b4e8c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1f4d70}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4676cf,info as _0x1d8d5b}from'@uploadcare/upload-client';import*as _0x56d465 from'@uploadcare/file-uploader';var i=function(_0x270d13){return _0x270d13['Local']='local',_0x270d13['URL']='url',_0x270d13['Dropbox']='dropbox',_0x270d13['GDrive']='gdrive',_0x270d13['Facebook']='facebook',_0x270d13['GPhotos']='gphotos',_0x270d13['OneDrive']='onedrive',_0x270d13;}({});function _(_0x4ba708,_0x56bc52,_0x584b4f){const t=_0x4ba708['t'],_0xf18b03=_0x4ba708['t'];switch(_0x56bc52){case i['Local']:return{'text':_0xf18b03('Insert'===_0x584b4f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xf18b03('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x584b4f?_0xf18b03('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xf18b03('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x584b4f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x584b4f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x584b4f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x584b4f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x584b4f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x56bc52;}}class e extends _0x37b4e0{['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 _0x2b13ef=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ac7c5;for(const _0x56ae40 in _0x2b13ef){const _0x5a4992=_0x56ae40,_0x137558=_0x2b13ef[_0x5a4992];if('uploadcareLicenseKeyValid'==_0x137558||'uploadcareLicenseKeyInvalid'==_0x137558||'uploadcareLicenseKeyExpired'==_0x137558||'uploadcareLicenseKeyDomainLimit'==_0x137558||'uploadcareLicenseKeyNotAllowed'==_0x137558||'uploadcareLicenseKeyEvaluationLimit'==_0x137558||'uploadcareLicenseKeyTrialLimit'==_0x137558||'uploadcareLicenseKeyUsageLimit'==_0x137558){delete _0x2b13ef[_0x5a4992],_0x2ac7c5=_0x137558,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2ac7c5&&_0x2b13ef['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2ac7c5&&_0x2b13ef['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2ac7c5&&_0x2b13ef['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2ac7c5&&_0x2b13ef['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2ac7c5&&_0x2b13ef['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2ac7c5&&_0x2b13ef['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2ac7c5&&_0x2b13ef['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x63cd3c}=this,_0x331d3c=_0x63cd3c['commands']['get']('uploadcare');if(!_0x331d3c)return;const _0x3985b0=this['_normalizeConfigSourceList'](_0x63cd3c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x6f4af3,_0x318014)=>{const _0x54fc4c=this['_getIntegrationKey'](_0x318014['type']);return _0x6f4af3[_0x54fc4c]||(_0x6f4af3[_0x54fc4c]=[]),_0x6f4af3[_0x54fc4c]['push'](_0x318014),_0x6f4af3;},{});_0x63cd3c['plugins']['has']('ImageInsertUI')&&_0x63cd3c['commands']['get']('uploadcare')&&Object['entries'](_0x3985b0)['forEach'](([_0x488c5e,_0x70ce96])=>{_0x63cd3c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x488c5e,'observable':()=>_0x331d3c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x70ce96),'formViewCreator':()=>this['_createDropdownButtons'](_0x70ce96),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x70ce96),'override':'assetManager'!==_0x488c5e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xcab9db){const {locale:_0x454b52}=this['editor'];return _0xcab9db['map'](_0x5f0433=>{const _0x143e56=_(_0x454b52,_0x5f0433,'Insert');switch(_0x5f0433){case i['Local']:return{'icon':_0x1a8160,'type':i['Local'],..._0x143e56};case i['URL']:return{'icon':_0x2f334c,'type':i['URL'],..._0x143e56};case i['Dropbox']:return{'icon':_0x40596d,'type':i['Dropbox'],..._0x143e56};case i['Facebook']:return{'icon':_0xbc9a9a,'type':i['Facebook'],..._0x143e56};case i['GDrive']:return{'icon':_0x2510bb,'type':i['GDrive'],..._0x143e56};case i['GPhotos']:return{'icon':_0x55d504,'type':i['GPhotos'],..._0x143e56};case i['OneDrive']:return{'icon':_0x1c8c85,'type':i['OneDrive'],..._0x143e56};}});}['_getIntegrationKey'](_0x2ad1f5){switch(_0x2ad1f5){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x320f1e,_0x3998ff){const _0x1345fc=this['editor'],_0x333df7=new _0x320f1e(_0x1345fc['locale']),_0x5ba9ba=_0x1345fc['commands']['get']('uploadcare');return _0x333df7['bind']('isEnabled')['to'](_0x5ba9ba),_0x333df7['on']('execute',()=>{_0x5ba9ba['execute'](_0x3998ff);}),_0x333df7;}['_createToolbarButton'](_0x15f6c0){const {locale:_0x455990}=this['editor'],_0x48b9ec=this['editor']['plugins']['get']('ImageInsertUI'),_0x4313aa=_0x15f6c0[0x0],_0x47db77=this['_createButton'](_0x2fb41c,_0x4313aa['type']);return _0x47db77['icon']=_0x4313aa['icon'],_0x47db77['bind']('label')['to'](_0x48b9ec,'isImageSelected',_0xcee6b=>_(_0x455990,_0x4313aa['type'],_0xcee6b?'Replace':'Insert')['text']),_0x47db77['tooltip']=!0x0,_0x47db77;}['_createDropdownButtons'](_0xab9408){const {locale:_0x9efb7e}=this['editor'],_0x5f5d2e=this['editor']['plugins']['get']('ImageInsertUI');return _0xab9408['map'](_0x4162af=>{const _0x2bf283=this['_createButton'](_0x2fb41c,_0x4162af['type']);return _0x2bf283['withText']=!0x0,_0x2bf283['icon']=_0x4162af['icon'],_0x2bf283['bind']('label')['to'](_0x5f5d2e,'isImageSelected',_0x11a19e=>_(_0x9efb7e,_0x4162af['type'],_0x11a19e?'Replace':'Insert')['text']),_0x2bf283;});}['_createMenuBarButtons'](_0x3892b8){return _0x3892b8['map'](_0x6cc387=>{const _0x40339e=this['_createButton'](_0x1409cb,_0x6cc387['type']);return _0x40339e['icon']=_0x6cc387['icon'],_0x40339e['label']=_0x6cc387['shortText'],_0x40339e;});}}class F extends _0x99e33e{['focusTracker'];['focusCycler'];constructor(_0x11f96b){super(_0x11f96b),this['focusTracker']=new _0x197e33(),this['focusCycler']=new _0x55d4e2({'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(_0xcd6111,_0x4c9c79){super(_0xcd6111),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-'+_0x4c9c79}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x532015,_0x53532e){const _0x1f9035=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x20fdfa=>_0x20fdfa<=_0x53532e)['map'](_0xebbe4b=>_0x532015['replace'](/\/$/,'')+'/-/resize/'+_0xebbe4b+'x/\x20'+_0xebbe4b+'w');return{'imageFallbackUrl':_0x532015,'imageSources':[{'srcset':_0x1f9035['join'](',\x20'),'sizes':'(max-width:\x20'+_0x53532e+'px)\x20100vw,\x20'+_0x53532e+'px','type':'image/webp'}]};}function C(_0x3c0eed,_0x2031be,_0x419306){const _0x2157f1=_0x3c0eed['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2157f1?parseInt(_0x2157f1[0x1],0xa):_0x2031be,'height':_0x2157f1?parseInt(_0x2157f1[0x2],0xa):_0x419306};}function p(_0x2b4c7a,_0x1988ea){const _0x3d9f43=new(_0x2279ca())(),_0x9d2286=_0x2b4c7a['plugins']['get']('ImageUtils'),_0x169064=_0x2b4c7a['editing']['mapper']['toViewElement'](_0x1988ea),_0x16a257=_0x9d2286['findViewImgElement'](_0x169064),_0x2e8071=_0x2b4c7a['editing']['view']['domConverter']['viewToDom'](_0x16a257),_0x59bf11=_0x1988ea['getAttribute']('width'),_0x23d17d=_0x1988ea['getAttribute']('height'),_0x45b297='image-processing';_0x2b4c7a['editing']['view']['change'](_0x5d4a18=>{_0x5d4a18['addClass'](_0x45b297,_0x169064),_0x5d4a18['setStyle']('aspect-ratio',_0x59bf11+'/'+_0x23d17d,_0x16a257);}),_0x3d9f43['listenTo'](_0x2e8071,'load',()=>{_0x3d9f43['stopListening'](_0x2e8071,'load'),_0x2b4c7a['editing']['view']['change'](_0x487030=>{_0x487030['removeClass'](_0x45b297,_0x169064),_0x487030['removeStyle']('aspect-ratio',_0x16a257);});});}function G(_0x47e84e){if(Array['isArray'](_0x47e84e)){const _0x4d3d1b=_0x47e84e['map'](G);return _0x2373ac=>_0x4d3d1b['some'](_0x3ffe45=>_0x3ffe45(_0x2373ac));}if('origin'==_0x47e84e){const _0x83cdef=_0x54bc5e['window']['location']['origin'];return _0x984e20=>new URL(_0x984e20,_0x54bc5e['document']['baseURI'])['origin']==_0x83cdef;}return'function'==typeof _0x47e84e?_0x47e84e:_0x47e84e instanceof RegExp?_0x1b4c17=>!(!_0x1b4c17['match'](_0x47e84e)&&!_0x1b4c17['replace'](/^https?:\/\//,'')['match'](_0x47e84e)):()=>!0x1;}function S(_0x5097ad,_0x5b5073){return _0x19ea94(_0x5097ad['target'])['includes'](_0x5b5073);}class n extends/* #__PURE__ -- @preserve */
24
- _0x328829(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x386a48,_0x1bbadc,_0x2fb1c6){super(),this['_editor']=_0x386a48,this['_editing']=_0x1bbadc,this['_dialog']=_0x386a48['plugins']['get'](_0x1e46c3),this['_api']=_0x1bbadc['ctxElement']['getAPI'](),this['_type']=_0x2fb1c6,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:_0x3d94f1,model:_0x37c23e}=this['_editor'],_0x107ecd=_0x37c23e['document']['selection']['getSelectedElement'](),_0x3d4c84=_0x107ecd&&(_0x107ecd['is']('element','imageBlock')||_0x107ecd['is']('element','imageInline'));this['_formView']=new x(_0x3d94f1,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1a8160,'title':_(_0x3d94f1,this['_type'],_0x3d4c84?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x426d95['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xeab926=>!S(_0xeab926,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1d7ebe}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x575c4c=>{const _0x3a81c9=_0x1d7ebe['length'];for(const _0xe7084 of _0x1d7ebe){const _0x16dd3c=_0xe7084===_0x1d7ebe[_0x3a81c9-0x1],{cdnUrl:_0x50a36f,fileInfo:_0x4a6585}=_0xe7084;if(!_0x50a36f||!_0x4a6585)continue;const {width:_0x1845da,height:_0x13b282}=_0x4a6585['imageInfo'],_0xe3b08c=C(_0x50a36f,_0x1845da,_0x13b282),_0x1633d6=k(_0x50a36f,_0xe3b08c['width']),_0x250b73={'id':_0x4a6585['uuid'],'type':'image','attributes':{'imageDimension':_0xe3b08c,..._0x1633d6}};this['_insertAsset'](_0x250b73,_0x16dd3c,_0x575c4c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x250d95=>{'idle'===_0x250d95['detail']['status']&&!_0x250d95['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x39bd39,_0x27e96b,_0x32bd64){const _0x51d88b=this['_editor']['model']['document']['selection'],_0x86d59e=_0x51d88b['getSelectedElement'](),_0x57378e=!(!_0x86d59e||!_0x86d59e['is']('element','imageInline'));_0x32bd64['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x39bd39,_0x57378e),_0x27e96b||_0x32bd64['setSelection'](_0x51d88b['getLastPosition']());}['_insertImage'](_0x206bab,_0x5bd318){const _0x111168=this['_editor'],{imageDimension:_0x229125,imageFallbackUrl:_0x379cc6,imageSources:_0x2cd13b}=_0x206bab['attributes'];_0x111168['execute']('insertImage',{'imageType':_0x5bd318?'imageInline':null,'source':{'uploadcareImageId':_0x206bab['id'],'src':_0x379cc6,'sources':_0x2cd13b,..._0x229125}});}}class w extends _0x31e146{['_editing'];['_controller']=null;static get['requires'](){return[_0x1e46c3,o];}constructor(_0x35f1e1){super(_0x35f1e1),this['_editing']=_0x35f1e1['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x152aa5){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x152aa5);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3741ec,publicKey:_0x2b2e06,signal:_0x5821ae,onProgress:_0xf704a4}){return _0x4676cf(_0x3741ec,{'publicKey':_0x2b2e06,'store':'auto','signal':_0x5821ae,'onProgress':_0xf704a4});}static['getInfo'](_0x5c8408,_0x202373){return _0x1d8d5b(_0x5c8408,_0x202373);}}class f extends _0x37b4e0{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1f4d70,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x499074=this['editor'];if(!!!_0x499074['config']['get']('uploadcare'))return;_0x499074['plugins']['get'](_0x1f4d70)['createUploadAdapter']=_0x5a81ac=>new A(_0x5a81ac,_0x499074),_0x499074['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1182aa,{imageElement:_0x5607b0,data:_0x265802})=>{_0x499074['model']['change'](_0x19c876=>{_0x19c876['setAttribute']('uploadcareImageId',_0x265802['uploadcareImageId'],_0x5607b0);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x36fcfa,_0x4337f6){this['loader']=_0x36fcfa,this['editor']=_0x4337f6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3a48d7=this['editor']['config']['get']('uploadcare.pubkey'),_0x582f2d=await this['loader']['file'];return j['upload']({'file':_0x582f2d,'publicKey':_0x3a48d7,'signal':this['controller']['signal'],'onProgress':_0x53787d=>{_0x53787d&&_0x53787d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x53787d['value']);}})['then'](async _0x4b5bdc=>{const {imageFallbackUrl:_0x6bb404,imageSources:_0x3e5221}=k(_0x4b5bdc['cdnUrl'],_0x4b5bdc['imageInfo']['width']);return{'uploadcareImageId':_0x4b5bdc['uuid'],'default':_0x6bb404,'sources':_0x3e5221};})['catch'](()=>{const _0x4b0b2f=t('Cannot\x20upload\x20file:')+('\x20'+_0x582f2d['name']+'.');return Promise['reject'](_0x4b0b2f);});}['abort'](){this['controller']['abort']();}}class o extends _0x37b4e0{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1e46c3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x500266){super(_0x500266),this['ucContextId']=_0x472af1();}['init'](){const _0x1c20eb=this['editor'];_0x1c20eb['commands']['add']('uploadcare',new w(_0x1c20eb));}['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 _0x10b7d5=_0x54bc5e['document']['querySelector']('input[uploadcare-file-input]');_0x10b7d5&&_0x10b7d5['remove']();}),async function(_0xbadd52){const _0x585961=_0x368de7([0x6f,0x55,0x6e,0x37,0x63,0x64,0x52,0x72,0x57,0x78,0x35,0x43,0x54,0x4d,0x75,0x62,0x70,0x44,0x34,0x38,0x31,0x74,0x69,0x6b,0x41,0x65,0x6d,0x71,0x47,0x50,0x6a,0x67,0x56,0x61,0x66,0x76,0x5a,0x58,0x4e,0x45,0x39,0x73,0x46,0x49,0x30,0x53,0x6c,0x4a,0x4c,0x77,0x7a,0x79,0x59,0x68,0x48,0x32,0x51,0x42,0x33,0x36,0x4f,0x4b]),_0x9732cb=0x225f280b,_0x3a53fb=0x225843fb^_0x9732cb,_0x27e6fd=window[_0x368de7([0x44,0x61,0x74,0x65])][_0x368de7([0x6e,0x6f,0x77])](),_0x3417e3=_0xbadd52[_0x368de7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a5a74=new window[(_0x368de7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x121032=>{_0x3417e3[_0x368de7([0x6f,0x6e,0x63,0x65])](_0x368de7([0x72,0x65,0x61,0x64,0x79]),_0x121032);}),_0x21f316={[_0x368de7([0x6b,0x74,0x79])]:_0x368de7([0x45,0x43]),[_0x368de7([0x75,0x73,0x65])]:_0x368de7([0x73,0x69,0x67]),[_0x368de7([0x63,0x72,0x76])]:_0x368de7([0x50,0x2d,0x32,0x35,0x36]),[_0x368de7([0x78])]:_0x368de7([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]),[_0x368de7([0x79])]:_0x368de7([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]),[_0x368de7([0x61,0x6c,0x67])]:_0x368de7([0x45,0x53,0x32,0x35,0x36])},_0x3971ef=_0x3417e3[_0x368de7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x368de7([0x67,0x65,0x74])](_0x368de7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x268a46(){let _0x50df2c,_0x4fd417=null,_0x252f61=null;try{if(_0x3971ef==_0x368de7([0x47,0x50,0x4c]))return _0x368de7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50df2c=_0x25e567(),!_0x50df2c)return _0x368de7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50df2c[_0x368de7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x252f61=_0x369204(_0x50df2c[_0x368de7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50df2c[_0x368de7([0x6a,0x74,0x69])])),await _0x3c69f5()?_0x93417d()?_0x1a8b04()?_0x368de7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x62f6b8()?(_0x50df2c[_0x368de7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x368de7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4fd417=_0x83f9c9(_0x368de7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x50df2c[_0x368de7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x368de7([0x74,0x72,0x69,0x61,0x6c])&&(_0x4fd417=_0x83f9c9(_0x368de7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa2ad1d()):_0x368de7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x368de7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x368de7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x368de7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a8b04(){const _0x475887=[_0x368de7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x368de7([0x74,0x72,0x69,0x61,0x6c])][_0x368de7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50df2c[_0x368de7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27e6fd/0x3e8:0xe10*_0x3a53fb;return _0x50df2c[_0x368de7([0x65,0x78,0x70])]<_0x475887;}function _0x93417d(){const _0x271029=_0x50df2c[_0x368de7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x271029&&(!!_0x271029[_0x368de7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368de7([0x2a]))||!!_0x271029[_0x368de7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368de7([0x55,0x50,0x4c,0x43])));}function _0x62f6b8(){const _0x31dfa3=_0x50df2c[_0x368de7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31dfa3||0x0==_0x31dfa3[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x916346}=new URL(window[_0x368de7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31dfa3[_0x368de7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x916346))return!0x0;const _0x5c837e=_0x916346[_0x368de7([0x73,0x70,0x6c,0x69,0x74])](_0x368de7([0x2e]));return _0x31dfa3[_0x368de7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x493242=>_0x493242[_0x368de7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368de7([0x2a])))[_0x368de7([0x6d,0x61,0x70])](_0x3b3eaf=>_0x3b3eaf[_0x368de7([0x73,0x70,0x6c,0x69,0x74])](_0x368de7([0x2e])))[_0x368de7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x326736=>_0x326736[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5c837e[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x368de7([0x6d,0x61,0x70])](_0xacceaa=>Array(_0x5c837e[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xacceaa[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x368de7([0x66,0x69,0x6c,0x6c])](_0xacceaa[0x0]===_0x368de7([0x2a])?_0x368de7([0x2a]):'')[_0x368de7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xacceaa))[_0x368de7([0x73,0x6f,0x6d,0x65])](_0x323e97=>_0x5c837e[_0x368de7([0x65,0x76,0x65,0x72,0x79])]((_0x8184e2,_0x4f957b)=>_0x323e97[_0x4f957b]===_0x8184e2||_0x323e97[_0x4f957b]===_0x368de7([0x2a])));}function _0xa2ad1d(){return _0x4fd417&&_0x252f61?new window[(_0x368de7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4725be,_0x527920)=>{_0x4fd417[_0x368de7([0x74,0x68,0x65,0x6e])](_0x4725be,_0x527920),_0x252f61[_0x368de7([0x74,0x68,0x65,0x6e])](_0x4d82ba=>{_0x4d82ba!=_0x368de7([0x56,0x61,0x6c,0x69,0x64])&&_0x4725be(_0x4d82ba);},_0x527920);}):_0x4fd417||_0x252f61||_0x368de7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x369204(_0xc93b00,_0x1cc279){return new window[(_0x368de7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29550d=>{if(_0x42ad40())return _0x29550d(_0x368de7([0x56,0x61,0x6c,0x69,0x64]));_0x2897b3(),_0x3417e3[_0x368de7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x368de7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18e39f=!0x1;const _0x47a1d5=_0x472af1();function _0x44842e(_0x156364){return!!_0x156364&&(typeof _0x156364===_0x368de7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x156364===_0x368de7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x156364[_0x368de7([0x74,0x68,0x65,0x6e])]===_0x368de7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x156364[_0x368de7([0x63,0x61,0x74,0x63,0x68])]===_0x368de7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53ab34(_0x3b23a1){_0x456808(_0x3b23a1)[_0x368de7([0x74,0x68,0x65,0x6e])](_0x30ff3b=>{if(!_0x30ff3b||_0x30ff3b[_0x368de7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x368de7([0x6f,0x6b]))return _0x368de7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x447f72(_0x338659(_0x47a1d5+_0x1cc279))!=_0x30ff3b[_0x368de7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x368de7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x368de7([0x56,0x61,0x6c,0x69,0x64]);})[_0x368de7([0x74,0x68,0x65,0x6e])](_0x4f2c85=>(_0x40168c(),_0x4f2c85),()=>{const _0x15c295=_0x2e48ae();return null==_0x15c295?(_0x40168c(),_0x368de7([0x56,0x61,0x6c,0x69,0x64])):_0x368de7(_0x27e6fd-_0x15c295>(0x653ac0b^_0x9732cb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x368de7([0x74,0x68,0x65,0x6e])](_0x29550d)[_0x368de7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29550d(_0x368de7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2dfdc5=0x2269c68b^_0x9732cb;function _0x40168c(){const _0x51ccd5=_0x368de7([0x6c,0x6c,0x63,0x74,0x2d])+_0x447f72(_0x338659(_0xc93b00)),_0x5e2b60=_0x2f38ae(_0x447f72(window[_0x368de7([0x4d,0x61,0x74,0x68])][_0x368de7([0x63,0x65,0x69,0x6c])](_0x27e6fd/_0x2dfdc5)));window[_0x368de7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x368de7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51ccd5,_0x5e2b60);}function _0x2e48ae(){const _0x4cecb2=_0x368de7([0x6c,0x6c,0x63,0x74,0x2d])+_0x447f72(_0x338659(_0xc93b00)),_0x2a774a=window[_0x368de7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x368de7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cecb2);return _0x2a774a?window[_0x368de7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f38ae(_0x2a774a),0x10)*_0x2dfdc5:null;}function _0x456808(_0x203b2d){return new window[(_0x368de7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59116c,_0x5e780d)=>{_0x203b2d[_0x368de7([0x74,0x68,0x65,0x6e])](_0x59116c,_0x5e780d),window[_0x368de7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e780d,0x225efccb^_0x9732cb);});}}_0x3417e3[_0x368de7([0x6f,0x6e])](_0x368de7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x292894,_0x58a3fa)=>{if(_0x58a3fa[0x0]!=_0xc93b00)return _0x29550d(_0x368de7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x58a3fa[0x1]={..._0x58a3fa[0x1],[_0x368de7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47a1d5};},{[_0x368de7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x368de7([0x68,0x69,0x67,0x68])}),_0x3417e3[_0x368de7([0x6f,0x6e])](_0x368de7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5aa5a9=>{_0x44842e(_0x5aa5a9[_0x368de7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18e39f=!0x0,_0x53ab34(_0x5aa5a9[_0x368de7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x368de7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x368de7([0x6c,0x6f,0x77])}),_0x4a5a74[_0x368de7([0x74,0x68,0x65,0x6e])](()=>{_0x18e39f||_0x29550d(_0x368de7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42ad40(){return _0x3417e3[_0x368de7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x368de7([0x76,0x69,0x65,0x77])][_0x368de7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x368de7([0x61,0x75,0x74,0x6f]);}function _0x2897b3(){_0x3417e3[_0x368de7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x368de7([0x76,0x69,0x65,0x77])][_0x368de7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x368de7([0x61,0x75,0x74,0x6f]);}}function _0x83f9c9(_0xc0204){const _0x4236d9=[new window[(_0x368de7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34246f=>setTimeout(_0x34246f,0x225616c7^_0x9732cb)),_0x4a5a74[_0x368de7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x368de7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16fb6b=>{let _0x4f9e32=0x0;_0x3417e3[_0x368de7([0x6d,0x6f,0x64,0x65,0x6c])][_0x368de7([0x6f,0x6e])](_0x368de7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58b1fb,_0xd21821)=>{_0xd21821[0x0][_0x368de7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f9e32++,_0x4f9e32==(0x225f29f3^_0x9732cb)&&(_0x16fb6b(),_0x58b1fb[_0x368de7([0x6f,0x66,0x66])]());});}))];return window[_0x368de7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x368de7([0x72,0x61,0x63,0x65])](_0x4236d9)[_0x368de7([0x74,0x68,0x65,0x6e])](()=>_0xc0204);}async function _0x5791c7(){await _0x4a5a74,_0x3417e3[_0x368de7([0x6d,0x6f,0x64,0x65,0x6c])][_0x368de7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29bae8,_0x3417e3[_0x368de7([0x6d,0x6f,0x64,0x65,0x6c])][_0x368de7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29bae8,_0x3417e3[_0x368de7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x368de7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12deda(_0x16688d){const _0x4abaf1=_0x5cb0e4();_0x3417e3[_0x4abaf1]=_0x368de7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x16688d,_0x16688d!=_0x368de7([0x56,0x61,0x6c,0x69,0x64])&&_0x5791c7();}function _0x5cb0e4(){const _0x3a3366=window[_0x368de7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x368de7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x368de7([0x6e,0x6f,0x77])]())[_0x368de7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x368de7([0x2e]),'');let _0x328986=_0x368de7([0x6f]);for(let _0x40793c=0x0;_0x40793c<_0x3a3366[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40793c+=0x2){let _0xe69d5e=window[_0x368de7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a3366[_0x368de7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40793c,_0x40793c+0x2));_0xe69d5e>=_0x585961[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe69d5e-=_0x585961[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x328986+=_0x585961[_0xe69d5e];}return _0x328986;}function _0x25e567(){const _0x365211=_0x3971ef[_0x368de7([0x73,0x70,0x6c,0x69,0x74])](_0x368de7([0x2e]));if(0x3!=_0x365211[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28c877(_0x365211[0x1]);function _0x28c877(_0x54fa5e){const _0x52cc9f=_0x35d584(_0x54fa5e);return _0x52cc9f&&_0x3fa42b()?_0x52cc9f:null;function _0x3fa42b(){const _0x3993a0=_0x52cc9f[_0x368de7([0x6a,0x74,0x69])],_0x18e0d5=window[_0x368de7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3993a0[_0x368de7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3993a0[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45f473={..._0x52cc9f,[_0x368de7([0x6a,0x74,0x69])]:_0x3993a0[_0x368de7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3993a0[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45f473[_0x368de7([0x76,0x63])],_0x338659(_0x45f473)==_0x18e0d5;}}}async function _0x3c69f5(){let _0x3b3fce=!0x0;try{const _0x469161=_0x3971ef[_0x368de7([0x73,0x70,0x6c,0x69,0x74])](_0x368de7([0x2e])),[_0x41f742,_0x1fde7a,_0x26f593]=_0x469161;return _0x2b3093(_0x41f742),await _0x16ddca(_0x41f742,_0x1fde7a,_0x26f593),_0x3b3fce;}catch{return!0x1;}function _0x2b3093(_0x4f5f4e){const _0x22ae7b=_0x35d584(_0x4f5f4e);_0x22ae7b&&_0x22ae7b[_0x368de7([0x61,0x6c,0x67])]==_0x368de7([0x45,0x53,0x32,0x35,0x36])||(_0x3b3fce=!0x1);}async function _0x16ddca(_0x37a7fd,_0x1155ef,_0x1c1d59){const _0x5167e3=window[_0x368de7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x368de7([0x66,0x72,0x6f,0x6d])](_0x1a88a6(_0x1c1d59),_0x397cf0=>_0x397cf0[_0x368de7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x784129=new window[(_0x368de7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x368de7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37a7fd+_0x368de7([0x2e])+_0x1155ef),_0xe5f907=window[_0x368de7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x368de7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xe5f907)return;const _0x2f5123=await _0xe5f907[_0x368de7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x368de7([0x6a,0x77,0x6b]),_0x21f316,{[_0x368de7([0x6e,0x61,0x6d,0x65])]:_0x368de7([0x45,0x43,0x44,0x53,0x41]),[_0x368de7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x368de7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x368de7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xe5f907[_0x368de7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x368de7([0x6e,0x61,0x6d,0x65])]:_0x368de7([0x45,0x43,0x44,0x53,0x41]),[_0x368de7([0x68,0x61,0x73,0x68])]:{[_0x368de7([0x6e,0x61,0x6d,0x65])]:_0x368de7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f5123,_0x5167e3,_0x784129)||(_0x3b3fce=!0x1);}}function _0x35d584(_0x1b21e5){return _0x1b21e5[_0x368de7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x368de7([0x65,0x79]))?JSON[_0x368de7([0x70,0x61,0x72,0x73,0x65])](_0x1a88a6(_0x1b21e5)):null;}function _0x1a88a6(_0x426064){return window[_0x368de7([0x61,0x74,0x6f,0x62])](_0x426064[_0x368de7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x368de7([0x2b]))[_0x368de7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x368de7([0x2f])));}function _0x338659(_0x3ec184){let _0x47342a=0x1505;function _0x22f744(_0x99fb8a){for(let _0x204cd5=0x0;_0x204cd5<_0x99fb8a[_0x368de7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x204cd5++){const _0x18790a=_0x99fb8a[_0x368de7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x204cd5);_0x47342a=(_0x47342a<<0x5)+_0x47342a+_0x18790a,_0x47342a&=_0x47342a;}}function _0x3da581(_0x2ac275){Array[_0x368de7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ac275)?_0x2ac275[_0x368de7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3da581):_0x2ac275&&typeof _0x2ac275==_0x368de7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x368de7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ac275)[_0x368de7([0x73,0x6f,0x72,0x74])]()[_0x368de7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a156f,_0x4b12d7])=>{_0x22f744(_0x1a156f),_0x3da581(_0x4b12d7);}):_0x22f744(window[_0x368de7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ac275));}return _0x3da581(_0x3ec184),_0x47342a>>>0x0;}function _0x447f72(_0x2cd39b){return _0x2cd39b[_0x368de7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x368de7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x368de7([0x30]));}function _0x2f38ae(_0x2f538a){return _0x2f538a[_0x368de7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x368de7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x368de7([0x6a,0x6f,0x69,0x6e])]('');}function _0x29bae8(){}function _0x368de7(_0x1cc949){return _0x1cc949['map'](_0x50dbc5=>String['fromCharCode'](_0x50dbc5))['join']('');}_0x12deda(await _0x268a46());}(this);}['_initSchema'](){const _0x17d7f7=this['editor']['model']['schema'];_0x17d7f7['isRegistered']('imageBlock')&&_0x17d7f7['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x17d7f7['isRegistered']('imageInline')&&_0x17d7f7['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2d140d=this['editor'];_0x2d140d['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2d140d['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1d5c96=>_0x1d5c96['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xdf0027=_0x2d140d['commands']['get']('replaceImageSource');_0xdf0027&&this['listenTo'](_0xdf0027,'cleanupImage',(_0x5da571,[_0x4f224e,_0x385645])=>{_0x4f224e['removeAttribute']('uploadcareImageId',_0x385645);});}['_initConfig'](){const _0x30fc78=this['editor']['config']['get']('uploadcare.uploader')||{},_0x720602=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5b4e8c(_0x54bc5e['document'],'uc-config',{..._0x30fc78,'pubkey':_0x720602,'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']=_0x378284=>{if('closeMax'==_0x378284)return'#uc-icon-arrow-down';},_0x54bc5e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5b4e8c(_0x54bc5e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x54bc5e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x41a13e=this['editor']['commands']['get']('insertImage');_0x41a13e&&this['listenTo'](_0x41a13e,'execute',()=>{const _0x1b32de=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1b32de&&_0x1b32de['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1b32de);});});const _0x4ec996=this['editor']['commands']['get']('uploadcareImageReplace');_0x4ec996&&this['listenTo'](_0x4ec996,'execute',()=>{const _0x550cad=this['editor']['model']['document']['selection']['getSelectedElement']();_0x550cad&&_0x550cad['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x550cad);});});}}class tt extends _0x37b4e0{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x14c3f3){super(_0x14c3f3),_0x14c3f3['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x56d465['defineComponents'](_0x56d465);}}class ii extends _0x99e33e{constructor(_0x3b2ed6){super(_0x3b2ed6);const t=_0x3b2ed6['t'],_0x57eeec=this['bindTemplate'],_0x4804ba=new _0x2c06dd();_0x4804ba['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':[_0x4804ba,{'text':_0x57eeec['to']('imageUploadProgress',_0x3077cf=>t('Loading\x20image...')+'\x20('+(_0x3077cf||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 _0x99e33e{constructor(_0x259cc8){super(_0x259cc8);const t=_0x259cc8['t'];this['set']('errorType',null);const _0x572022=new _0x2fb41c(_0x259cc8);_0x572022['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x572022['withText']=!0x0,_0x572022['class']='ck-button-action',_0x572022['on']('execute',()=>{this['fire']('retry');}),_0x572022['bind']('isVisible')['to'](this,'errorType',_0x518a04=>'NotFound'!==_0x518a04);const _0x46746b=new _0x5a3e56();_0x46746b['content']=_0x1c394b,_0x46746b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x41237e=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':[_0x46746b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x41237e['to']('errorType',_0x59758f=>t('NotFound'!==_0x59758f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x572022]},{'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 _0x99e33e{constructor(_0x117fcc,_0x467bde){super(_0x117fcc);const _0x2b584a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x467bde,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2b584a['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x41b256,_0x263289,_0x578b73){super(_0x41b256),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x41b256),this['_errorView']=new ti(_0x41b256),this['_editingView']=new ei(_0x41b256,_0x578b73),this['_focusableView']=new _0x99e33e(_0x41b256),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x263289),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'],_0x41dfda=>{this['_addUploadcareImageEditorListeners'](_0x41dfda);});}),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'](_0x469d84,_0x2f0a8c){const _0xf60bb3='uc-cloud-image-editor',_0x21eac3=_0x469d84['querySelector'](_0xf60bb3);if(_0x21eac3)return _0x2f0a8c(_0x21eac3);const _0x265025=new MutationObserver(_0x522b27=>{const _0x44112f=_0x522b27['filter'](_0x5c35a2=>_0x5c35a2['target']===_0x469d84&&_0x5c35a2['addedNodes']['length']>0x0&&_0x5c35a2['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xf60bb3);_0x44112f['length']&&(_0x265025['disconnect'](),_0x2f0a8c(_0x44112f[0x0]['addedNodes'][0x0]));});_0x265025['observe'](_0x469d84,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x43e9bb){_0x43e9bb['addEventListener']('apply',_0x32daa3=>{this['fire']('apply',{'imageSrc':_0x32daa3['detail']['cdnUrl']});}),_0x43e9bb['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x328829(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x19ce31,_0x30585a,_0x5225bb){super(),this['_editor']=_0x19ce31,this['_dialog']=_0x30585a,this['_imageElement']=_0x5225bb,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 _0x16d050=this['_imageElement'],_0x5c04c9=_0x16d050['getAttribute']('uploadcareImageId'),_0x3273de=_0x16d050['getAttribute']('src');if(_0x5c04c9)await this['_loadImageInfo'](_0x5c04c9,_0x3273de);else{if(this['_imageCache']['has'](_0x3273de)){const _0x2ce54e=this['_imageCache']['get'](_0x3273de);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ce54e['url'],this['imageDimension']=_0x2ce54e['dimension'],this['imageId']=_0x2ce54e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x311cf0}=this['_editor'],t=_0x311cf0['t'],_0x264116=new X(_0x311cf0,this['imageStatus'],this['_attributes']);_0x264116['bind']('status')['to'](this,'imageStatus'),_0x264116['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x264116['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x264116['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x264116,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2f294a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x264116,'position':_0x426d95['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x264116['focus']();},'onHide':()=>{_0x264116['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28cb5b=>!S(_0x28cb5b,_0x264116['element'])}});}['_loadImageInfo'](_0x4944eb,_0x1c1773){return j['getInfo'](_0x4944eb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xd8a828=>{const {width:_0x32c190,height:_0x2e47b1}=_0xd8a828['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1c1773,this['imageDimension']={'width':_0x32c190,'height':_0x2e47b1},this['imageId']=_0x4944eb;})['catch'](_0x3a86d5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a86d5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1b2f60,_0x17b694){return this['_getImageAsFile'](_0x1b2f60)['then'](_0xfe57a9=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x17b694['signal'],'file':_0xfe57a9,'onProgress':_0x2b2742=>{_0x2b2742&&_0x2b2742['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2b2742['value']));}}))['then'](_0x49ff81=>{const {width:_0x58a57b,height:_0x2807aa}=_0x49ff81['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x49ff81['cdnUrl'],this['imageDimension']={'width':_0x58a57b,'height':_0x2807aa},this['imageId']=_0x49ff81['uuid'],this['imageUploadProgress']=null;const _0x36264b=_0x1b2f60['getAttribute']('src');this['_imageCache']['set'](_0x36264b,{'id':_0x49ff81['uuid'],'url':_0x49ff81['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2ca6e4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ca6e4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x8ec358,_0x1e550e){_0x8ec358['on']('apply',(_0xd02499,_0x5c720f)=>{this['_replaceImage'](_0x1e550e,_0x5c720f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x8ec358['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x8ec358['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x53ac71,_0x25a0fc,_0x443888){const _0x2ab704=this['_editor'],{width:_0x18347e,height:_0x12fd95}=C(_0x25a0fc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4c1e80,imageSources:_0x17d4d5}=k(_0x25a0fc,_0x18347e);_0x2ab704['model']['change'](_0x613f7a=>{if('$graveyard'===_0x53ac71['root']['rootName']){_0x2ab704['execute']('insertImage',{'imageType':_0x53ac71['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x53ac71['getAttributes']()),'uploadcareImageId':_0x443888,'src':_0x4c1e80,'sources':_0x17d4d5,'width':_0x18347e,'height':_0x12fd95}});const _0x1400c3=_0x53ac71['getChildren']();_0x53ac71=_0x2ab704['model']['document']['selection']['getSelectedElement']();for(const _0x431818 of _0x1400c3)_0x613f7a['append'](_0x613f7a['cloneElement'](_0x431818),_0x53ac71);}else _0x613f7a['setSelection'](_0x53ac71,'on'),_0x2ab704['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x53ac71['getAttributes']()),'uploadcareImageId':_0x443888,'src':_0x4c1e80,'sources':_0x17d4d5,'width':_0x18347e,'height':_0x12fd95},_0x53ac71);_0x613f7a['setSelection'](_0x53ac71,'on');});}async['_getImageAsFile'](_0x475729){const _0x92c37e=_0x54bc5e['window'],_0x4af64f=_0x54bc5e['document']['location']['href'],_0x36d54f=new _0x92c37e['URL'](_0x475729['getAttribute']('src'),_0x4af64f);if('data:'===_0x36d54f['protocol']){const _0x178df4=_0x36d54f['href']['split'](','),_0x252d49=_0x178df4[0x0]['match'](/:(.*?);/)[0x1],_0x4f2082=_0x252d49['split']('/')[0x1],_0x1fb4c4=_0x92c37e['atob'](_0x178df4[_0x178df4['length']-0x1]);let _0xb81cf8=_0x1fb4c4['length'];const _0x4b7a43=new _0x92c37e['Uint8Array'](_0xb81cf8);for(;_0xb81cf8--;)_0x4b7a43[_0xb81cf8]=_0x1fb4c4['charCodeAt'](_0xb81cf8);return new _0x92c37e['File']([_0x4b7a43],'image.'+_0x4f2082,{'type':_0x252d49});}const _0x2e0637=_0x36d54f['href']['split']('/'),_0x2bed2f=_0x2e0637[_0x2e0637['length']-0x1],_0x4a3c32=_0x2bed2f['split']('.')[0x1];return _0x92c37e['fetch'](_0x36d54f['href'])['then'](_0x53246e=>_0x53246e['clone']()['blob']())['then'](_0x85025e=>new _0x92c37e['File']([_0x85025e],_0x2bed2f,{'type':'image/'+_0x4a3c32}));}}class O extends _0x31e146{['imageEditController'];static get['requires'](){return[_0x1e46c3];}['_isEditable'];constructor(_0x45f5c8){super(_0x45f5c8),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x558f45){const _0x2c1e14=G(_0x558f45);return _0x5974f2=>!(!_0x5974f2||!_0x5974f2['is']('element','imageBlock')&&!_0x5974f2['is']('element','imageInline'))&&(!!_0x5974f2['hasAttribute']('uploadcareImageId')||!!_0x5974f2['hasAttribute']('src')&&_0x2c1e14(_0x5974f2['getAttribute']('src')));}(_0x45f5c8['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1bd403=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1bd403);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x311dea=this['editor']['model']['document']['selection']['getSelectedElement']();_0x311dea&&(_0x311dea['is']('element','imageBlock')||_0x311dea['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1e46c3),_0x311dea),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x31e146{['refresh'](){const _0x191f78=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x191f78&&(_0x191f78['is']('element','imageBlock')||_0x191f78['is']('element','imageInline')));}['execute'](_0x6e997c){const _0x31e497=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x40c1ce=>{_0x40c1ce['setAttributes'](_0x6e997c,_0x31e497),_0x40c1ce['removeAttribute']('srcset',_0x31e497),_0x40c1ce['removeAttribute']('sizes',_0x31e497);});}}class m extends _0x37b4e0{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1fa466,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ff98a}=this;_0x3ff98a['commands']['add']('uploadcareImageEdit',new O(_0x3ff98a)),_0x3ff98a['commands']['add']('uploadcareImageReplace',new R(_0x3ff98a));}}class g extends _0x37b4e0{['_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 _0x4b67ce=this['editor'];_0x4b67ce['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5e4803=>{const _0x3d9a80=_0x4b67ce['commands']['get']('uploadcareImageEdit'),_0x465a95=new _0x2fb41c(_0x5e4803),t=_0x5e4803['t'];return _0x465a95['set']({'icon':_0x2f294a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x465a95['bind']('isEnabled')['to'](_0x3d9a80),_0x465a95['bind']('isOn')['to'](_0x3d9a80,'isActive'),this['listenTo'](_0x465a95,'execute',()=>{_0x4b67ce['execute']('uploadcareImageEdit'),_0x4b67ce['editing']['view']['focus']();}),_0x465a95;}),this['_initConfig']();}['_initConfig'](){const _0x554a18=_0x5b4e8c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x554a18),this['listenTo'](this['editor'],'destroy',()=>{_0x554a18['remove']();});}}class et extends _0x37b4e0{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 _0x20b168,Command as _0x15b2e5}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x219a0b,IconGooglePhotos as _0x216f1c,IconGoogleDrive as _0x402262,IconFacebook as _0x586eee,IconDropbox as _0x10c1a0,IconUploadcareLink as _0x1358ff,IconUploadcareImageUpload as _0x39e20e,IconError as _0x47e393,IconUploadcareImageEdit as _0x246a0e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4ad196,MenuBarMenuListItemButtonView as _0x5806a7,View as _0x478f1f,FocusCycler as _0x2a7f8c,Dialog as _0x337386,DialogViewPosition as _0x17f53a,SpinnerView as _0x271914,IconView as _0x300c79,Notification as _0x444149}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x33060f,DomEmitterMixin as _0x6c2bc6,global as _0x5df829,getAncestors as _0x588949,ObservableMixin as _0x572926,uid as _0x4268c0,createElement as _0x4ddb5a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x298334}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x19036c,info as _0x287068}from'@uploadcare/upload-client';import*as _0x1d805e from'@uploadcare/file-uploader';var i=function(_0x2b46b9){return _0x2b46b9['Local']='local',_0x2b46b9['URL']='url',_0x2b46b9['Dropbox']='dropbox',_0x2b46b9['GDrive']='gdrive',_0x2b46b9['Facebook']='facebook',_0x2b46b9['GPhotos']='gphotos',_0x2b46b9['OneDrive']='onedrive',_0x2b46b9;}({});function _(_0x40fef0,_0x437db6,_0x47c3ea){const t=_0x40fef0['t'],_0x50133b=_0x40fef0['t'];switch(_0x437db6){case i['Local']:return{'text':_0x50133b('Insert'===_0x47c3ea?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x50133b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x47c3ea?_0x50133b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x50133b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x47c3ea?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x47c3ea?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x47c3ea?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x47c3ea?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x47c3ea?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x437db6;}}class e extends _0x20b168{['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 _0x4055fd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2281c3;for(const _0x2c075f in _0x4055fd){const _0x516b34=_0x2c075f,_0x256695=_0x4055fd[_0x516b34];if('uploadcareLicenseKeyValid'==_0x256695||'uploadcareLicenseKeyInvalid'==_0x256695||'uploadcareLicenseKeyExpired'==_0x256695||'uploadcareLicenseKeyDomainLimit'==_0x256695||'uploadcareLicenseKeyNotAllowed'==_0x256695||'uploadcareLicenseKeyEvaluationLimit'==_0x256695||'uploadcareLicenseKeyTrialLimit'==_0x256695||'uploadcareLicenseKeyUsageLimit'==_0x256695){delete _0x4055fd[_0x516b34],_0x2281c3=_0x256695,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2281c3&&_0x4055fd['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2281c3&&_0x4055fd['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2281c3&&_0x4055fd['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2281c3&&_0x4055fd['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2281c3&&_0x4055fd['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2281c3&&_0x4055fd['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2281c3&&_0x4055fd['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x21c1e2}=this,_0x414eba=_0x21c1e2['commands']['get']('uploadcare');if(!_0x414eba)return;const _0x4ccf24=this['_normalizeConfigSourceList'](_0x21c1e2['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2d0ce2,_0x244303)=>{const _0x42bb39=this['_getIntegrationKey'](_0x244303['type']);return _0x2d0ce2[_0x42bb39]||(_0x2d0ce2[_0x42bb39]=[]),_0x2d0ce2[_0x42bb39]['push'](_0x244303),_0x2d0ce2;},{});_0x21c1e2['plugins']['has']('ImageInsertUI')&&_0x21c1e2['commands']['get']('uploadcare')&&Object['entries'](_0x4ccf24)['forEach'](([_0x5c6436,_0x1dc6d4])=>{_0x21c1e2['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5c6436,'observable':()=>_0x414eba,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1dc6d4),'formViewCreator':()=>this['_createDropdownButtons'](_0x1dc6d4),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1dc6d4),'override':'assetManager'!==_0x5c6436});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x42eac){const {locale:_0x3dc5e0}=this['editor'];return _0x42eac['map'](_0x49a2b9=>{const _0x3a7993=_(_0x3dc5e0,_0x49a2b9,'Insert');switch(_0x49a2b9){case i['Local']:return{'icon':_0x39e20e,'type':i['Local'],..._0x3a7993};case i['URL']:return{'icon':_0x1358ff,'type':i['URL'],..._0x3a7993};case i['Dropbox']:return{'icon':_0x10c1a0,'type':i['Dropbox'],..._0x3a7993};case i['Facebook']:return{'icon':_0x586eee,'type':i['Facebook'],..._0x3a7993};case i['GDrive']:return{'icon':_0x402262,'type':i['GDrive'],..._0x3a7993};case i['GPhotos']:return{'icon':_0x216f1c,'type':i['GPhotos'],..._0x3a7993};case i['OneDrive']:return{'icon':_0x219a0b,'type':i['OneDrive'],..._0x3a7993};}});}['_getIntegrationKey'](_0xcac3af){switch(_0xcac3af){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x11244a,_0x524e56){const _0x56d333=this['editor'],_0x4c2c79=new _0x11244a(_0x56d333['locale']),_0xccd3e7=_0x56d333['commands']['get']('uploadcare');return _0x4c2c79['bind']('isEnabled')['to'](_0xccd3e7),_0x4c2c79['on']('execute',()=>{_0xccd3e7['execute'](_0x524e56);}),_0x4c2c79;}['_createToolbarButton'](_0x1ca16d){const {locale:_0x4ed110}=this['editor'],_0x4ce83d=this['editor']['plugins']['get']('ImageInsertUI'),_0x269e29=_0x1ca16d[0x0],_0x3c1089=this['_createButton'](_0x4ad196,_0x269e29['type']);return _0x3c1089['icon']=_0x269e29['icon'],_0x3c1089['bind']('label')['to'](_0x4ce83d,'isImageSelected',_0x232aa4=>_(_0x4ed110,_0x269e29['type'],_0x232aa4?'Replace':'Insert')['text']),_0x3c1089['tooltip']=!0x0,_0x3c1089;}['_createDropdownButtons'](_0x2ef297){const {locale:_0x15e573}=this['editor'],_0x5d63cc=this['editor']['plugins']['get']('ImageInsertUI');return _0x2ef297['map'](_0x95c370=>{const _0x2091c6=this['_createButton'](_0x4ad196,_0x95c370['type']);return _0x2091c6['withText']=!0x0,_0x2091c6['icon']=_0x95c370['icon'],_0x2091c6['bind']('label')['to'](_0x5d63cc,'isImageSelected',_0x4456bd=>_(_0x15e573,_0x95c370['type'],_0x4456bd?'Replace':'Insert')['text']),_0x2091c6;});}['_createMenuBarButtons'](_0xf83eab){return _0xf83eab['map'](_0x315844=>{const _0xa69f7e=this['_createButton'](_0x5806a7,_0x315844['type']);return _0xa69f7e['icon']=_0x315844['icon'],_0xa69f7e['label']=_0x315844['shortText'],_0xa69f7e;});}}class F extends _0x478f1f{['focusTracker'];['focusCycler'];constructor(_0x3b4d5f){super(_0x3b4d5f),this['focusTracker']=new _0x33060f(),this['focusCycler']=new _0x2a7f8c({'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(_0x1dd3da,_0x5dbe24){super(_0x1dd3da),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-'+_0x5dbe24}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x52de94,_0x17b6b0){const _0x524c5d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x113d84=>_0x113d84<=_0x17b6b0)['map'](_0x24eba7=>_0x52de94['replace'](/\/$/,'')+'/-/resize/'+_0x24eba7+'x/\x20'+_0x24eba7+'w');return{'imageFallbackUrl':_0x52de94,'imageSources':[{'srcset':_0x524c5d['join'](',\x20'),'sizes':'(max-width:\x20'+_0x17b6b0+'px)\x20100vw,\x20'+_0x17b6b0+'px','type':'image/webp'}]};}function C(_0x5082ba,_0x25cd0c,_0x556f04){const _0x28d913=_0x5082ba['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x28d913?parseInt(_0x28d913[0x1],0xa):_0x25cd0c,'height':_0x28d913?parseInt(_0x28d913[0x2],0xa):_0x556f04};}function p(_0x5debf4,_0x47e020){const _0x40a0ac=new(_0x6c2bc6())(),_0x1070a9=_0x5debf4['plugins']['get']('ImageUtils'),_0x46edfb=_0x5debf4['editing']['mapper']['toViewElement'](_0x47e020),_0x383c32=_0x1070a9['findViewImgElement'](_0x46edfb),_0x174c11=_0x5debf4['editing']['view']['domConverter']['viewToDom'](_0x383c32),_0x1a37a6=_0x47e020['getAttribute']('width'),_0x3c6656=_0x47e020['getAttribute']('height'),_0x5f3ad0='image-processing';_0x5debf4['editing']['view']['change'](_0x384f2f=>{_0x384f2f['addClass'](_0x5f3ad0,_0x46edfb),_0x384f2f['setStyle']('aspect-ratio',_0x1a37a6+'/'+_0x3c6656,_0x383c32);}),_0x40a0ac['listenTo'](_0x174c11,'load',()=>{_0x40a0ac['stopListening'](_0x174c11,'load'),_0x5debf4['editing']['view']['change'](_0x1f1a1e=>{_0x1f1a1e['removeClass'](_0x5f3ad0,_0x46edfb),_0x1f1a1e['removeStyle']('aspect-ratio',_0x383c32);});});}function G(_0x2ff1e2){if(Array['isArray'](_0x2ff1e2)){const _0xc1a947=_0x2ff1e2['map'](G);return _0x4b2591=>_0xc1a947['some'](_0x5dba71=>_0x5dba71(_0x4b2591));}if('origin'==_0x2ff1e2){const _0x5ebb8f=_0x5df829['window']['location']['origin'];return _0x4145cc=>new URL(_0x4145cc,_0x5df829['document']['baseURI'])['origin']==_0x5ebb8f;}return'function'==typeof _0x2ff1e2?_0x2ff1e2:_0x2ff1e2 instanceof RegExp?_0x4c4f3d=>!(!_0x4c4f3d['match'](_0x2ff1e2)&&!_0x4c4f3d['replace'](/^https?:\/\//,'')['match'](_0x2ff1e2)):()=>!0x1;}function S(_0x473e8d,_0x5c3367){return _0x588949(_0x473e8d['target'])['includes'](_0x5c3367);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x572926(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x57197c,_0x3c15d3,_0xebdc6e){super(),this['_editor']=_0x57197c,this['_editing']=_0x3c15d3,this['_dialog']=_0x57197c['plugins']['get'](_0x337386),this['_api']=_0x3c15d3['ctxElement']['getAPI'](),this['_type']=_0xebdc6e,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:_0x54ab5d,model:_0x505c34}=this['_editor'],_0x63f572=_0x505c34['document']['selection']['getSelectedElement'](),_0x3f4326=_0x63f572&&(_0x63f572['is']('element','imageBlock')||_0x63f572['is']('element','imageInline'));this['_formView']=new x(_0x54ab5d,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x39e20e,'title':_(_0x54ab5d,this['_type'],_0x3f4326?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x17f53a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5f0ed0=>!S(_0x5f0ed0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3492a4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x48d452=>{const _0x516c9b=_0x3492a4['length'];for(const _0x1e8323 of _0x3492a4){const _0x1f0508=_0x1e8323===_0x3492a4[_0x516c9b-0x1],{cdnUrl:_0x1cf88a,fileInfo:_0xed2382}=_0x1e8323;if(!_0x1cf88a||!_0xed2382)continue;const {width:_0x3abae3,height:_0x2047c4}=_0xed2382['imageInfo'],_0x35a23d=C(_0x1cf88a,_0x3abae3,_0x2047c4),_0x49bbd9=k(_0x1cf88a,_0x35a23d['width']),_0x361884={'id':_0xed2382['uuid'],'type':'image','attributes':{'imageDimension':_0x35a23d,..._0x49bbd9}};this['_insertAsset'](_0x361884,_0x1f0508,_0x48d452);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3df215=>{'idle'===_0x3df215['detail']['status']&&!_0x3df215['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2ebfec,_0x369634,_0xd13c7d){const _0xf751f8=this['_editor']['model']['document']['selection'],_0x5f3b08=_0xf751f8['getSelectedElement'](),_0x440bd1=!(!_0x5f3b08||!_0x5f3b08['is']('element','imageInline'));_0xd13c7d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2ebfec,_0x440bd1),_0x369634||_0xd13c7d['setSelection'](_0xf751f8['getLastPosition']());}['_insertImage'](_0x4c2a89,_0x4ef898){const _0x209eb5=this['_editor'],{imageDimension:_0x101b62,imageFallbackUrl:_0x545eef,imageSources:_0x5300bb}=_0x4c2a89['attributes'];_0x209eb5['execute']('insertImage',{'imageType':_0x4ef898?'imageInline':null,'source':{'uploadcareImageId':_0x4c2a89['id'],'src':_0x545eef,'sources':_0x5300bb,..._0x101b62}});}}class w extends _0x15b2e5{['_editing'];['_controller']=null;static get['requires'](){return[_0x337386,o];}constructor(_0x2a4a3a){super(_0x2a4a3a),this['_editing']=_0x2a4a3a['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4fe782){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4fe782);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x198f1d,publicKey:_0x388a63,signal:_0x5570bf,onProgress:_0x11f966}){return _0x19036c(_0x198f1d,{'publicKey':_0x388a63,'store':'auto','signal':_0x5570bf,'onProgress':_0x11f966});}static['getInfo'](_0x4090db,_0x16667e){return _0x287068(_0x4090db,_0x16667e);}}class f extends _0x20b168{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x298334,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x303ce5=this['editor'];if(!!!_0x303ce5['config']['get']('uploadcare'))return;_0x303ce5['plugins']['get'](_0x298334)['createUploadAdapter']=_0x3fc444=>new A(_0x3fc444,_0x303ce5),_0x303ce5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1a5089,{imageElement:_0x2b192c,data:_0x5afd97})=>{_0x303ce5['model']['change'](_0x377490=>{_0x377490['setAttribute']('uploadcareImageId',_0x5afd97['uploadcareImageId'],_0x2b192c);});});}}class A{['loader'];['editor'];['controller'];constructor(_0xdf849d,_0x7cac35){this['loader']=_0xdf849d,this['editor']=_0x7cac35,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4baa62=this['editor']['config']['get']('uploadcare.pubkey'),_0x411f88=await this['loader']['file'];return j['upload']({'file':_0x411f88,'publicKey':_0x4baa62,'signal':this['controller']['signal'],'onProgress':_0x24468b=>{_0x24468b&&_0x24468b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x24468b['value']);}})['then'](async _0x4cd04e=>{const {imageFallbackUrl:_0x39683e,imageSources:_0x47251d}=k(_0x4cd04e['cdnUrl'],_0x4cd04e['imageInfo']['width']);return{'uploadcareImageId':_0x4cd04e['uuid'],'default':_0x39683e,'sources':_0x47251d};})['catch'](()=>{const _0x16a780=t('Cannot\x20upload\x20file:')+('\x20'+_0x411f88['name']+'.');return Promise['reject'](_0x16a780);});}['abort'](){this['controller']['abort']();}}class o extends _0x20b168{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x337386];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x567e1f){super(_0x567e1f),this['ucContextId']=_0x4268c0();}['init'](){const _0x53f441=this['editor'];_0x53f441['commands']['add']('uploadcare',new w(_0x53f441));}['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 _0x574598=_0x5df829['document']['querySelector']('input[uploadcare-file-input]');_0x574598&&_0x574598['remove']();}),async function(_0x40703b){const _0x3661ab=_0xe3b853([0x33,0x72,0x79,0x56,0x62,0x7a,0x75,0x42,0x34,0x49,0x45,0x73,0x66,0x4b,0x48,0x30,0x6e,0x55,0x6d,0x44,0x58,0x59,0x39,0x52,0x6c,0x5a,0x51,0x61,0x46,0x36,0x47,0x4c,0x67,0x37,0x63,0x54,0x41,0x69,0x57,0x35,0x4a,0x77,0x74,0x53,0x38,0x32,0x43,0x76,0x71,0x4e,0x70,0x4d,0x4f,0x78,0x68,0x65,0x6a,0x31,0x50,0x64,0x6b,0x6f]),_0x4d0350=0x4b9707c4,_0x3983e9=0x4b906be4^_0x4d0350,_0xa3cbdb=window[_0xe3b853([0x44,0x61,0x74,0x65])][_0xe3b853([0x6e,0x6f,0x77])](),_0x33c56b=_0x40703b[_0xe3b853([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a01c0=new window[(_0xe3b853([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327343=>{_0x33c56b[_0xe3b853([0x6f,0x6e,0x63,0x65])](_0xe3b853([0x72,0x65,0x61,0x64,0x79]),_0x327343);}),_0x1bad00={[_0xe3b853([0x6b,0x74,0x79])]:_0xe3b853([0x45,0x43]),[_0xe3b853([0x75,0x73,0x65])]:_0xe3b853([0x73,0x69,0x67]),[_0xe3b853([0x63,0x72,0x76])]:_0xe3b853([0x50,0x2d,0x32,0x35,0x36]),[_0xe3b853([0x78])]:_0xe3b853([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]),[_0xe3b853([0x79])]:_0xe3b853([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]),[_0xe3b853([0x61,0x6c,0x67])]:_0xe3b853([0x45,0x53,0x32,0x35,0x36])},_0x482431=_0x33c56b[_0xe3b853([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe3b853([0x67,0x65,0x74])](_0xe3b853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a2b08(){let _0x2657f3,_0x198730=null,_0x326670=null;try{if(_0x482431==_0xe3b853([0x47,0x50,0x4c]))return _0xe3b853([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2657f3=_0x527e84(),!_0x2657f3)return _0xe3b853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2657f3[_0xe3b853([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x326670=_0x408b14(_0x2657f3[_0xe3b853([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2657f3[_0xe3b853([0x6a,0x74,0x69])])),await _0x1ea5cc()?_0x48a84b()?_0xf99005()?_0xe3b853([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x460da3()?(_0x2657f3[_0xe3b853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe3b853([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x198730=_0x23fa20(_0xe3b853([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2657f3[_0xe3b853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe3b853([0x74,0x72,0x69,0x61,0x6c])&&(_0x198730=_0x23fa20(_0xe3b853([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x359b45()):_0xe3b853([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe3b853([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe3b853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe3b853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf99005(){const _0x2f807d=[_0xe3b853([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe3b853([0x74,0x72,0x69,0x61,0x6c])][_0xe3b853([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2657f3[_0xe3b853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa3cbdb/0x3e8:0xe10*_0x3983e9;return _0x2657f3[_0xe3b853([0x65,0x78,0x70])]<_0x2f807d;}function _0x48a84b(){const _0x13a390=_0x2657f3[_0xe3b853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13a390&&(!!_0x13a390[_0xe3b853([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe3b853([0x2a]))||!!_0x13a390[_0xe3b853([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe3b853([0x55,0x50,0x4c,0x43])));}function _0x460da3(){const _0x7657b5=_0x2657f3[_0xe3b853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7657b5||0x0==_0x7657b5[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f9e59}=new URL(window[_0xe3b853([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7657b5[_0xe3b853([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f9e59))return!0x0;const _0x35a9a5=_0x3f9e59[_0xe3b853([0x73,0x70,0x6c,0x69,0x74])](_0xe3b853([0x2e]));return _0x7657b5[_0xe3b853([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x547acf=>_0x547acf[_0xe3b853([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe3b853([0x2a])))[_0xe3b853([0x6d,0x61,0x70])](_0x14200c=>_0x14200c[_0xe3b853([0x73,0x70,0x6c,0x69,0x74])](_0xe3b853([0x2e])))[_0xe3b853([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e8358=>_0x5e8358[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x35a9a5[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe3b853([0x6d,0x61,0x70])](_0x3acf90=>Array(_0x35a9a5[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3acf90[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe3b853([0x66,0x69,0x6c,0x6c])](_0x3acf90[0x0]===_0xe3b853([0x2a])?_0xe3b853([0x2a]):'')[_0xe3b853([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3acf90))[_0xe3b853([0x73,0x6f,0x6d,0x65])](_0x5cf26b=>_0x35a9a5[_0xe3b853([0x65,0x76,0x65,0x72,0x79])]((_0x2a41ed,_0x58e2d4)=>_0x5cf26b[_0x58e2d4]===_0x2a41ed||_0x5cf26b[_0x58e2d4]===_0xe3b853([0x2a])));}function _0x359b45(){return _0x198730&&_0x326670?new window[(_0xe3b853([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a508b,_0x1c0278)=>{_0x198730[_0xe3b853([0x74,0x68,0x65,0x6e])](_0x2a508b,_0x1c0278),_0x326670[_0xe3b853([0x74,0x68,0x65,0x6e])](_0x1f2dd0=>{_0x1f2dd0!=_0xe3b853([0x56,0x61,0x6c,0x69,0x64])&&_0x2a508b(_0x1f2dd0);},_0x1c0278);}):_0x198730||_0x326670||_0xe3b853([0x56,0x61,0x6c,0x69,0x64]);}}function _0x408b14(_0x20e746,_0x2df988){return new window[(_0xe3b853([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349ed1=>{if(_0x389071())return _0x349ed1(_0xe3b853([0x56,0x61,0x6c,0x69,0x64]));_0x103d3f(),_0x33c56b[_0xe3b853([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe3b853([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19f2db=!0x1;const _0x31c071=_0x4268c0();function _0x5f1315(_0x54cc29){return!!_0x54cc29&&(typeof _0x54cc29===_0xe3b853([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54cc29===_0xe3b853([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54cc29[_0xe3b853([0x74,0x68,0x65,0x6e])]===_0xe3b853([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54cc29[_0xe3b853([0x63,0x61,0x74,0x63,0x68])]===_0xe3b853([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51ab16(_0x7f215a){_0x4fe6f8(_0x7f215a)[_0xe3b853([0x74,0x68,0x65,0x6e])](_0x30f4c8=>{if(!_0x30f4c8||_0x30f4c8[_0xe3b853([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe3b853([0x6f,0x6b]))return _0xe3b853([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5299f7(_0xdd86c1(_0x31c071+_0x2df988))!=_0x30f4c8[_0xe3b853([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe3b853([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe3b853([0x56,0x61,0x6c,0x69,0x64]);})[_0xe3b853([0x74,0x68,0x65,0x6e])](_0x32006e=>(_0x39905a(),_0x32006e),()=>{const _0x5a5cd2=_0x3db615();return null==_0x5a5cd2?(_0x39905a(),_0xe3b853([0x56,0x61,0x6c,0x69,0x64])):_0xe3b853(_0xa3cbdb-_0x5a5cd2>(0x6f9b83c4^_0x4d0350)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe3b853([0x74,0x68,0x65,0x6e])](_0x349ed1)[_0xe3b853([0x63,0x61,0x74,0x63,0x68])](()=>{_0x349ed1(_0xe3b853([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c806c=0x4ba1e944^_0x4d0350;function _0x39905a(){const _0x54153a=_0xe3b853([0x6c,0x6c,0x63,0x74,0x2d])+_0x5299f7(_0xdd86c1(_0x20e746)),_0xed82d6=_0x5ee186(_0x5299f7(window[_0xe3b853([0x4d,0x61,0x74,0x68])][_0xe3b853([0x63,0x65,0x69,0x6c])](_0xa3cbdb/_0x1c806c)));window[_0xe3b853([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe3b853([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54153a,_0xed82d6);}function _0x3db615(){const _0xc2ee8b=_0xe3b853([0x6c,0x6c,0x63,0x74,0x2d])+_0x5299f7(_0xdd86c1(_0x20e746)),_0x1d346a=window[_0xe3b853([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe3b853([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc2ee8b);return _0x1d346a?window[_0xe3b853([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ee186(_0x1d346a),0x10)*_0x1c806c:null;}function _0x4fe6f8(_0x486fb8){return new window[(_0xe3b853([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e8f9f,_0x16e67f)=>{_0x486fb8[_0xe3b853([0x74,0x68,0x65,0x6e])](_0x3e8f9f,_0x16e67f),window[_0xe3b853([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16e67f,0x4b96d304^_0x4d0350);});}}_0x33c56b[_0xe3b853([0x6f,0x6e])](_0xe3b853([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5276da,_0x5ea1d2)=>{if(_0x5ea1d2[0x0]!=_0x20e746)return _0x349ed1(_0xe3b853([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ea1d2[0x1]={..._0x5ea1d2[0x1],[_0xe3b853([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31c071};},{[_0xe3b853([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe3b853([0x68,0x69,0x67,0x68])}),_0x33c56b[_0xe3b853([0x6f,0x6e])](_0xe3b853([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc3ae02=>{_0x5f1315(_0xc3ae02[_0xe3b853([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19f2db=!0x0,_0x51ab16(_0xc3ae02[_0xe3b853([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe3b853([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe3b853([0x6c,0x6f,0x77])}),_0x5a01c0[_0xe3b853([0x74,0x68,0x65,0x6e])](()=>{_0x19f2db||_0x349ed1(_0xe3b853([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x389071(){return _0x33c56b[_0xe3b853([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe3b853([0x76,0x69,0x65,0x77])][_0xe3b853([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe3b853([0x61,0x75,0x74,0x6f]);}function _0x103d3f(){_0x33c56b[_0xe3b853([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe3b853([0x76,0x69,0x65,0x77])][_0xe3b853([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe3b853([0x61,0x75,0x74,0x6f]);}}function _0x23fa20(_0x365c5a){const _0xa58b24=[new window[(_0xe3b853([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x393a1f=>setTimeout(_0x393a1f,0x4b9e3908^_0x4d0350)),_0x5a01c0[_0xe3b853([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe3b853([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e08f7=>{let _0xb8ea9b=0x0;_0x33c56b[_0xe3b853([0x6d,0x6f,0x64,0x65,0x6c])][_0xe3b853([0x6f,0x6e])](_0xe3b853([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a6c78,_0x52d579)=>{_0x52d579[0x0][_0xe3b853([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb8ea9b++,_0xb8ea9b==(0x4b97063c^_0x4d0350)&&(_0x4e08f7(),_0x1a6c78[_0xe3b853([0x6f,0x66,0x66])]());});}))];return window[_0xe3b853([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe3b853([0x72,0x61,0x63,0x65])](_0xa58b24)[_0xe3b853([0x74,0x68,0x65,0x6e])](()=>_0x365c5a);}async function _0xc63657(){await _0x5a01c0,_0x33c56b[_0xe3b853([0x6d,0x6f,0x64,0x65,0x6c])][_0xe3b853([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x144341,_0x33c56b[_0xe3b853([0x6d,0x6f,0x64,0x65,0x6c])][_0xe3b853([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x144341,_0x33c56b[_0xe3b853([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe3b853([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x280490(_0x18cb84){const _0x68d442=_0x444a95();_0x33c56b[_0x68d442]=_0xe3b853([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18cb84,_0x18cb84!=_0xe3b853([0x56,0x61,0x6c,0x69,0x64])&&_0xc63657();}function _0x444a95(){const _0x1a1298=window[_0xe3b853([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe3b853([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe3b853([0x6e,0x6f,0x77])]())[_0xe3b853([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe3b853([0x2e]),'');let _0x3efd91=_0xe3b853([0x72]);for(let _0x6a3741=0x0;_0x6a3741<_0x1a1298[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6a3741+=0x2){let _0x94ae21=window[_0xe3b853([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1298[_0xe3b853([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6a3741,_0x6a3741+0x2));_0x94ae21>=_0x3661ab[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x94ae21-=_0x3661ab[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3efd91+=_0x3661ab[_0x94ae21];}return _0x3efd91;}function _0x527e84(){const _0x359d95=_0x482431[_0xe3b853([0x73,0x70,0x6c,0x69,0x74])](_0xe3b853([0x2e]));if(0x3!=_0x359d95[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x25c56f(_0x359d95[0x1]);function _0x25c56f(_0x1290fb){const _0x5000dd=_0x9b36b6(_0x1290fb);return _0x5000dd&&_0x352888()?_0x5000dd:null;function _0x352888(){const _0x54bd81=_0x5000dd[_0xe3b853([0x6a,0x74,0x69])],_0x2f1778=window[_0xe3b853([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54bd81[_0xe3b853([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54bd81[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x126c6d={..._0x5000dd,[_0xe3b853([0x6a,0x74,0x69])]:_0x54bd81[_0xe3b853([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54bd81[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x126c6d[_0xe3b853([0x76,0x63])],_0xdd86c1(_0x126c6d)==_0x2f1778;}}}async function _0x1ea5cc(){let _0x4035bb=!0x0;try{const _0x301957=_0x482431[_0xe3b853([0x73,0x70,0x6c,0x69,0x74])](_0xe3b853([0x2e])),[_0x2fc5a0,_0x24a1c5,_0xef43c6]=_0x301957;return _0x116034(_0x2fc5a0),await _0x36037d(_0x2fc5a0,_0x24a1c5,_0xef43c6),_0x4035bb;}catch{return!0x1;}function _0x116034(_0x1bb8ce){const _0x19749c=_0x9b36b6(_0x1bb8ce);_0x19749c&&_0x19749c[_0xe3b853([0x61,0x6c,0x67])]==_0xe3b853([0x45,0x53,0x32,0x35,0x36])||(_0x4035bb=!0x1);}async function _0x36037d(_0x59d47a,_0x14cdcf,_0x2676cd){const _0x3e0e22=window[_0xe3b853([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe3b853([0x66,0x72,0x6f,0x6d])](_0x1152ca(_0x2676cd),_0x161223=>_0x161223[_0xe3b853([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ea59e=new window[(_0xe3b853([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe3b853([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59d47a+_0xe3b853([0x2e])+_0x14cdcf),_0x4cceca=window[_0xe3b853([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe3b853([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4cceca)return;const _0x949426=await _0x4cceca[_0xe3b853([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe3b853([0x6a,0x77,0x6b]),_0x1bad00,{[_0xe3b853([0x6e,0x61,0x6d,0x65])]:_0xe3b853([0x45,0x43,0x44,0x53,0x41]),[_0xe3b853([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe3b853([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe3b853([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4cceca[_0xe3b853([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe3b853([0x6e,0x61,0x6d,0x65])]:_0xe3b853([0x45,0x43,0x44,0x53,0x41]),[_0xe3b853([0x68,0x61,0x73,0x68])]:{[_0xe3b853([0x6e,0x61,0x6d,0x65])]:_0xe3b853([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x949426,_0x3e0e22,_0x5ea59e)||(_0x4035bb=!0x1);}}function _0x9b36b6(_0x478dee){return _0x478dee[_0xe3b853([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe3b853([0x65,0x79]))?JSON[_0xe3b853([0x70,0x61,0x72,0x73,0x65])](_0x1152ca(_0x478dee)):null;}function _0x1152ca(_0x54105c){return window[_0xe3b853([0x61,0x74,0x6f,0x62])](_0x54105c[_0xe3b853([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe3b853([0x2b]))[_0xe3b853([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe3b853([0x2f])));}function _0xdd86c1(_0x13dbec){let _0xb44547=0x1505;function _0x5f4bdb(_0x4e50a4){for(let _0x36b383=0x0;_0x36b383<_0x4e50a4[_0xe3b853([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36b383++){const _0x5cb2cb=_0x4e50a4[_0xe3b853([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36b383);_0xb44547=(_0xb44547<<0x5)+_0xb44547+_0x5cb2cb,_0xb44547&=_0xb44547;}}function _0x497200(_0xb04178){Array[_0xe3b853([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb04178)?_0xb04178[_0xe3b853([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x497200):_0xb04178&&typeof _0xb04178==_0xe3b853([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe3b853([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb04178)[_0xe3b853([0x73,0x6f,0x72,0x74])]()[_0xe3b853([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c7ebf,_0x58de55])=>{_0x5f4bdb(_0x1c7ebf),_0x497200(_0x58de55);}):_0x5f4bdb(window[_0xe3b853([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb04178));}return _0x497200(_0x13dbec),_0xb44547>>>0x0;}function _0x5299f7(_0x314e7d){return _0x314e7d[_0xe3b853([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe3b853([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe3b853([0x30]));}function _0x5ee186(_0x153a26){return _0x153a26[_0xe3b853([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe3b853([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe3b853([0x6a,0x6f,0x69,0x6e])]('');}function _0x144341(){}function _0xe3b853(_0x2665d2){return _0x2665d2['map'](_0x443158=>String['fromCharCode'](_0x443158))['join']('');}_0x280490(await _0x5a2b08());}(this);}['_initSchema'](){const _0x209905=this['editor']['model']['schema'];_0x209905['isRegistered']('imageBlock')&&_0x209905['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x209905['isRegistered']('imageInline')&&_0x209905['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x59bac8=this['editor'];_0x59bac8['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x59bac8['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x327579=>_0x327579['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4601aa=_0x59bac8['commands']['get']('replaceImageSource');_0x4601aa&&this['listenTo'](_0x4601aa,'cleanupImage',(_0x346a9b,[_0xfe829b,_0x1838b])=>{_0xfe829b['removeAttribute']('uploadcareImageId',_0x1838b);});}['_initConfig'](){const _0x5ca641=this['editor']['config']['get']('uploadcare.uploader')||{},_0x170b50=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4ddb5a(_0x5df829['document'],'uc-config',{..._0x5ca641,'pubkey':_0x170b50,'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']=_0x166ea3=>{if('closeMax'==_0x166ea3)return'#uc-icon-arrow-down';},_0x5df829['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4ddb5a(_0x5df829['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5df829['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x56ec99=this['editor']['commands']['get']('insertImage');_0x56ec99&&this['listenTo'](_0x56ec99,'execute',()=>{const _0x553c4d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x553c4d&&_0x553c4d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x553c4d);});});const _0x1eb5c4=this['editor']['commands']['get']('uploadcareImageReplace');_0x1eb5c4&&this['listenTo'](_0x1eb5c4,'execute',()=>{const _0x392fff=this['editor']['model']['document']['selection']['getSelectedElement']();_0x392fff&&_0x392fff['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x392fff);});});}}class tt extends _0x20b168{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x54a8fb){super(_0x54a8fb),_0x54a8fb['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1d805e['defineComponents'](_0x1d805e);}}class ii extends _0x478f1f{constructor(_0x41a96e){super(_0x41a96e);const t=_0x41a96e['t'],_0x269ed3=this['bindTemplate'],_0x406732=new _0x271914();_0x406732['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':[_0x406732,{'text':_0x269ed3['to']('imageUploadProgress',_0x272055=>t('Loading\x20image...')+'\x20('+(_0x272055||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 _0x478f1f{constructor(_0x554354){super(_0x554354);const t=_0x554354['t'];this['set']('errorType',null);const _0x2f448c=new _0x4ad196(_0x554354);_0x2f448c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2f448c['withText']=!0x0,_0x2f448c['class']='ck-button-action',_0x2f448c['on']('execute',()=>{this['fire']('retry');}),_0x2f448c['bind']('isVisible')['to'](this,'errorType',_0x377e6c=>'NotFound'!==_0x377e6c);const _0x2ccce3=new _0x300c79();_0x2ccce3['content']=_0x47e393,_0x2ccce3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x636e97=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':[_0x2ccce3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x636e97['to']('errorType',_0x52c497=>t('NotFound'!==_0x52c497?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2f448c]},{'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 _0x478f1f{constructor(_0x370b05,_0x4ec99e){super(_0x370b05);const _0x50c564=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4ec99e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x50c564['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1e9dd3,_0x266eb9,_0x617830){super(_0x1e9dd3),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1e9dd3),this['_errorView']=new ti(_0x1e9dd3),this['_editingView']=new ei(_0x1e9dd3,_0x617830),this['_focusableView']=new _0x478f1f(_0x1e9dd3),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x266eb9),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'],_0x1dae8b=>{this['_addUploadcareImageEditorListeners'](_0x1dae8b);});}),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'](_0x5724a2,_0x9489e5){const _0x1762bf='uc-cloud-image-editor',_0xd4d075=_0x5724a2['querySelector'](_0x1762bf);if(_0xd4d075)return _0x9489e5(_0xd4d075);const _0x39b72e=new MutationObserver(_0xa767fe=>{const _0xd7b386=_0xa767fe['filter'](_0x3234e8=>_0x3234e8['target']===_0x5724a2&&_0x3234e8['addedNodes']['length']>0x0&&_0x3234e8['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1762bf);_0xd7b386['length']&&(_0x39b72e['disconnect'](),_0x9489e5(_0xd7b386[0x0]['addedNodes'][0x0]));});_0x39b72e['observe'](_0x5724a2,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x132732){_0x132732['addEventListener']('apply',_0x447a23=>{this['fire']('apply',{'imageSrc':_0x447a23['detail']['cdnUrl']});}),_0x132732['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x572926(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x200147,_0x28ea04,_0xaf3058){super(),this['_editor']=_0x200147,this['_dialog']=_0x28ea04,this['_imageElement']=_0xaf3058,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 _0x279fb5=this['_imageElement'],_0x10e5ba=_0x279fb5['getAttribute']('uploadcareImageId'),_0x3f0f1b=_0x279fb5['getAttribute']('src');if(_0x10e5ba)await this['_loadImageInfo'](_0x10e5ba,_0x3f0f1b);else{if(this['_imageCache']['has'](_0x3f0f1b)){const _0x3829f4=this['_imageCache']['get'](_0x3f0f1b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3829f4['url'],this['imageDimension']=_0x3829f4['dimension'],this['imageId']=_0x3829f4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x35ac37}=this['_editor'],t=_0x35ac37['t'],_0x5c26ac=new X(_0x35ac37,this['imageStatus'],this['_attributes']);_0x5c26ac['bind']('status')['to'](this,'imageStatus'),_0x5c26ac['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5c26ac['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5c26ac['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5c26ac,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x246a0e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5c26ac,'position':_0x17f53a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5c26ac['focus']();},'onHide':()=>{_0x5c26ac['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1af56=>!S(_0x1af56,_0x5c26ac['element'])}});}['_loadImageInfo'](_0x964ab4,_0x261d1b){return j['getInfo'](_0x964ab4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x17e033=>{const {width:_0x42cce8,height:_0x3b873b}=_0x17e033['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x261d1b,this['imageDimension']={'width':_0x42cce8,'height':_0x3b873b},this['imageId']=_0x964ab4;})['catch'](_0x4f5945=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f5945['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x161b4c,_0x5042e2){return this['_getImageAsFile'](_0x161b4c)['then'](_0x4edbd2=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5042e2['signal'],'file':_0x4edbd2,'onProgress':_0x5f1e64=>{_0x5f1e64&&_0x5f1e64['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5f1e64['value']));}}))['then'](_0x34837d=>{const {width:_0x1dde65,height:_0x224ec3}=_0x34837d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34837d['cdnUrl'],this['imageDimension']={'width':_0x1dde65,'height':_0x224ec3},this['imageId']=_0x34837d['uuid'],this['imageUploadProgress']=null;const _0x2665f2=_0x161b4c['getAttribute']('src');this['_imageCache']['set'](_0x2665f2,{'id':_0x34837d['uuid'],'url':_0x34837d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3eac01=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3eac01['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3d0f2f,_0x16756b){_0x3d0f2f['on']('apply',(_0x5cd08f,_0x3f200c)=>{this['_replaceImage'](_0x16756b,_0x3f200c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3d0f2f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3d0f2f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xe00d9e,_0x222792,_0xb6c53f){const _0x48fd09=this['_editor'],{width:_0x550ebb,height:_0x54d776}=C(_0x222792,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x50d43e,imageSources:_0x5d650b}=k(_0x222792,_0x550ebb);_0x48fd09['model']['change'](_0x250209=>{if('$graveyard'===_0xe00d9e['root']['rootName']){_0x48fd09['execute']('insertImage',{'imageType':_0xe00d9e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xe00d9e['getAttributes']()),'uploadcareImageId':_0xb6c53f,'src':_0x50d43e,'sources':_0x5d650b,'width':_0x550ebb,'height':_0x54d776}});const _0x35ea99=_0xe00d9e['getChildren']();_0xe00d9e=_0x48fd09['model']['document']['selection']['getSelectedElement']();for(const _0x364c7b of _0x35ea99)_0x250209['append'](_0x250209['cloneElement'](_0x364c7b),_0xe00d9e);}else _0x250209['setSelection'](_0xe00d9e,'on'),_0x48fd09['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xe00d9e['getAttributes']()),'uploadcareImageId':_0xb6c53f,'src':_0x50d43e,'sources':_0x5d650b,'width':_0x550ebb,'height':_0x54d776},_0xe00d9e);_0x250209['setSelection'](_0xe00d9e,'on');});}async['_getImageAsFile'](_0x3157dc){const _0xc8759b=_0x5df829['window'],_0x12b721=_0x5df829['document']['location']['href'],_0x5409eb=new _0xc8759b['URL'](_0x3157dc['getAttribute']('src'),_0x12b721);if('data:'===_0x5409eb['protocol']){const _0x433c48=_0x5409eb['href']['split'](','),_0x530cf1=_0x433c48[0x0]['match'](/:(.*?);/)[0x1],_0x27113e=_0x530cf1['split']('/')[0x1],_0x2c8336=_0xc8759b['atob'](_0x433c48[_0x433c48['length']-0x1]);let _0x18a677=_0x2c8336['length'];const _0xa9a59f=new _0xc8759b['Uint8Array'](_0x18a677);for(;_0x18a677--;)_0xa9a59f[_0x18a677]=_0x2c8336['charCodeAt'](_0x18a677);return new _0xc8759b['File']([_0xa9a59f],'image.'+_0x27113e,{'type':_0x530cf1});}const _0x28dece=_0x5409eb['href']['split']('/'),_0x3a0466=_0x28dece[_0x28dece['length']-0x1],_0x1bef4d=_0x3a0466['split']('.')[0x1];return _0xc8759b['fetch'](_0x5409eb['href'])['then'](_0x11207d=>_0x11207d['clone']()['blob']())['then'](_0x26f757=>new _0xc8759b['File']([_0x26f757],_0x3a0466,{'type':'image/'+_0x1bef4d}));}}class O extends _0x15b2e5{['imageEditController'];static get['requires'](){return[_0x337386];}['_isEditable'];constructor(_0x411f12){super(_0x411f12),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xec2b64){const _0x5ba9cc=G(_0xec2b64);return _0x348a66=>!(!_0x348a66||!_0x348a66['is']('element','imageBlock')&&!_0x348a66['is']('element','imageInline'))&&(!!_0x348a66['hasAttribute']('uploadcareImageId')||!!_0x348a66['hasAttribute']('src')&&_0x5ba9cc(_0x348a66['getAttribute']('src')));}(_0x411f12['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x301d87=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x301d87);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x514d42=this['editor']['model']['document']['selection']['getSelectedElement']();_0x514d42&&(_0x514d42['is']('element','imageBlock')||_0x514d42['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x337386),_0x514d42),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x15b2e5{['refresh'](){const _0x28e215=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x28e215&&(_0x28e215['is']('element','imageBlock')||_0x28e215['is']('element','imageInline')));}['execute'](_0x174781){const _0x365327=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x55bdcf=>{_0x55bdcf['setAttributes'](_0x174781,_0x365327),_0x55bdcf['removeAttribute']('srcset',_0x365327),_0x55bdcf['removeAttribute']('sizes',_0x365327);});}}class m extends _0x20b168{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x444149,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3c9068}=this;_0x3c9068['commands']['add']('uploadcareImageEdit',new O(_0x3c9068)),_0x3c9068['commands']['add']('uploadcareImageReplace',new R(_0x3c9068));}}class g extends _0x20b168{['_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 _0x335a71=this['editor'];_0x335a71['ui']['componentFactory']['add']('uploadcareImageEdit',_0x37832a=>{const _0x42cdcf=_0x335a71['commands']['get']('uploadcareImageEdit'),_0x2686a9=new _0x4ad196(_0x37832a),t=_0x37832a['t'];return _0x2686a9['set']({'icon':_0x246a0e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2686a9['bind']('isEnabled')['to'](_0x42cdcf),_0x2686a9['bind']('isOn')['to'](_0x42cdcf,'isActive'),this['listenTo'](_0x2686a9,'execute',()=>{_0x335a71['execute']('uploadcareImageEdit'),_0x335a71['editing']['view']['focus']();}),_0x2686a9;}),this['_initConfig']();}['_initConfig'](){const _0x3c078f=_0x4ddb5a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c078f),this['listenTo'](this['editor'],'destroy',()=>{_0x3c078f['remove']();});}}class et extends _0x20b168{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':_0x22fa36=>0x1!=_0x22fa36}};
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':_0x2af032=>0x1!=_0x2af032}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2b2c44=>{const {af:{dictionary:_0x1e4e4a,getPluralForm:_0x3c5e0b}}={'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':_0x1ede55=>0x1!=_0x1ede55}};_0x2b2c44['af']||={'dictionary':{},'getPluralForm':null},_0x2b2c44['af']['dictionary']=Object['assign'](_0x2b2c44['af']['dictionary'],_0x1e4e4a),_0x2b2c44['af']['getPluralForm']=_0x3c5e0b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x237b5c=>{const {af:{dictionary:_0x263f1f,getPluralForm:_0xca6807}}={'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':_0x3c9b9f=>0x1!=_0x3c9b9f}};_0x237b5c['af']||={'dictionary':{},'getPluralForm':null},_0x237b5c['af']['dictionary']=Object['assign'](_0x237b5c['af']['dictionary'],_0x263f1f),_0x237b5c['af']['getPluralForm']=_0xca6807;})(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':_0xba7537=>0x0==_0xba7537?0x0:0x1==_0xba7537?0x1:0x2==_0xba7537?0x2:_0xba7537%0x64>=0x3&&_0xba7537%0x64<=0xa?0x3:_0xba7537%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':_0x5aed39=>0x0==_0x5aed39?0x0:0x1==_0x5aed39?0x1:0x2==_0x5aed39?0x2:_0x5aed39%0x64>=0x3&&_0x5aed39%0x64<=0xa?0x3:_0x5aed39%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x245ee6=>{const {ar:{dictionary:_0x23559a,getPluralForm:_0x479e1f}}={'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':_0x5ccbc8=>0x0==_0x5ccbc8?0x0:0x1==_0x5ccbc8?0x1:0x2==_0x5ccbc8?0x2:_0x5ccbc8%0x64>=0x3&&_0x5ccbc8%0x64<=0xa?0x3:_0x5ccbc8%0x64>=0xb?0x4:0x5}};_0x245ee6['ar']||={'dictionary':{},'getPluralForm':null},_0x245ee6['ar']['dictionary']=Object['assign'](_0x245ee6['ar']['dictionary'],_0x23559a),_0x245ee6['ar']['getPluralForm']=_0x479e1f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x760ecf=>{const {ar:{dictionary:_0x5ceecf,getPluralForm:_0x3316df}}={'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':_0x3fd042=>0x0==_0x3fd042?0x0:0x1==_0x3fd042?0x1:0x2==_0x3fd042?0x2:_0x3fd042%0x64>=0x3&&_0x3fd042%0x64<=0xa?0x3:_0x3fd042%0x64>=0xb?0x4:0x5}};_0x760ecf['ar']||={'dictionary':{},'getPluralForm':null},_0x760ecf['ar']['dictionary']=Object['assign'](_0x760ecf['ar']['dictionary'],_0x5ceecf),_0x760ecf['ar']['getPluralForm']=_0x3316df;})(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':_0x321bd1=>0x1!=_0x321bd1}};
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':_0x4a58c2=>0x1!=_0x4a58c2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x107413=>{const {ast:{dictionary:_0x311574,getPluralForm:_0x32e55c}}={'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':_0x540ff0=>0x1!=_0x540ff0}};_0x107413['ast']||={'dictionary':{},'getPluralForm':null},_0x107413['ast']['dictionary']=Object['assign'](_0x107413['ast']['dictionary'],_0x311574),_0x107413['ast']['getPluralForm']=_0x32e55c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x540831=>{const {ast:{dictionary:_0x364509,getPluralForm:_0x292633}}={'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':_0x2e247e=>0x1!=_0x2e247e}};_0x540831['ast']||={'dictionary':{},'getPluralForm':null},_0x540831['ast']['dictionary']=Object['assign'](_0x540831['ast']['dictionary'],_0x364509),_0x540831['ast']['getPluralForm']=_0x292633;})(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':_0x2a176b=>0x1!=_0x2a176b}};
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':_0xa405bd=>0x1!=_0xa405bd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5aac30=>{const {az:{dictionary:_0x54f6e8,getPluralForm:_0x48980f}}={'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':_0x41beb9=>0x1!=_0x41beb9}};_0x5aac30['az']||={'dictionary':{},'getPluralForm':null},_0x5aac30['az']['dictionary']=Object['assign'](_0x5aac30['az']['dictionary'],_0x54f6e8),_0x5aac30['az']['getPluralForm']=_0x48980f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32d382=>{const {az:{dictionary:_0x4f7231,getPluralForm:_0x2c6d6b}}={'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':_0x17401f=>0x1!=_0x17401f}};_0x32d382['az']||={'dictionary':{},'getPluralForm':null},_0x32d382['az']['dictionary']=Object['assign'](_0x32d382['az']['dictionary'],_0x4f7231),_0x32d382['az']['getPluralForm']=_0x2c6d6b;})(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':_0x5d6b83=>_0x5d6b83%0xa==0x1&&_0x5d6b83%0x64!=0xb?0x0:_0x5d6b83%0xa>=0x2&&_0x5d6b83%0xa<=0x4&&(_0x5d6b83%0x64<0xa||_0x5d6b83%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':_0x4e2eac=>_0x4e2eac%0xa==0x1&&_0x4e2eac%0x64!=0xb?0x0:_0x4e2eac%0xa>=0x2&&_0x4e2eac%0xa<=0x4&&(_0x4e2eac%0x64<0xa||_0x4e2eac%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x237447=>{const {be:{dictionary:_0x335077,getPluralForm:_0x4ce448}}={'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':_0x8e7180=>_0x8e7180%0xa==0x1&&_0x8e7180%0x64!=0xb?0x0:_0x8e7180%0xa>=0x2&&_0x8e7180%0xa<=0x4&&(_0x8e7180%0x64<0xa||_0x8e7180%0x64>=0x14)?0x1:0x2}};_0x237447['be']||={'dictionary':{},'getPluralForm':null},_0x237447['be']['dictionary']=Object['assign'](_0x237447['be']['dictionary'],_0x335077),_0x237447['be']['getPluralForm']=_0x4ce448;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16e8ea=>{const {be:{dictionary:_0x29ea95,getPluralForm:_0x44b478}}={'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':_0x133c9c=>_0x133c9c%0xa==0x1&&_0x133c9c%0x64!=0xb?0x0:_0x133c9c%0xa>=0x2&&_0x133c9c%0xa<=0x4&&(_0x133c9c%0x64<0xa||_0x133c9c%0x64>=0x14)?0x1:0x2}};_0x16e8ea['be']||={'dictionary':{},'getPluralForm':null},_0x16e8ea['be']['dictionary']=Object['assign'](_0x16e8ea['be']['dictionary'],_0x29ea95),_0x16e8ea['be']['getPluralForm']=_0x44b478;})(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':_0xbbe000=>0x1!=_0xbbe000}};
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':_0x2e4d17=>0x1!=_0x2e4d17}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2230f9=>{const {bg:{dictionary:_0x1dbef5,getPluralForm:_0x13538d}}={'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':_0x5efce7=>0x1!=_0x5efce7}};_0x2230f9['bg']||={'dictionary':{},'getPluralForm':null},_0x2230f9['bg']['dictionary']=Object['assign'](_0x2230f9['bg']['dictionary'],_0x1dbef5),_0x2230f9['bg']['getPluralForm']=_0x13538d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e62ff=>{const {bg:{dictionary:_0x523903,getPluralForm:_0x5acbaa}}={'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':_0x2c1a23=>0x1!=_0x2c1a23}};_0x5e62ff['bg']||={'dictionary':{},'getPluralForm':null},_0x5e62ff['bg']['dictionary']=Object['assign'](_0x5e62ff['bg']['dictionary'],_0x523903),_0x5e62ff['bg']['getPluralForm']=_0x5acbaa;})(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':_0x6a2df5=>0x1!=_0x6a2df5}};
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':_0x20355e=>0x1!=_0x20355e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa7255d=>{const {bn:{dictionary:_0x3cae79,getPluralForm:_0x49a6de}}={'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':_0x842db9=>0x1!=_0x842db9}};_0xa7255d['bn']||={'dictionary':{},'getPluralForm':null},_0xa7255d['bn']['dictionary']=Object['assign'](_0xa7255d['bn']['dictionary'],_0x3cae79),_0xa7255d['bn']['getPluralForm']=_0x49a6de;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x311f12=>{const {bn:{dictionary:_0x3642f8,getPluralForm:_0x16a497}}={'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':_0x5a22d9=>0x1!=_0x5a22d9}};_0x311f12['bn']||={'dictionary':{},'getPluralForm':null},_0x311f12['bn']['dictionary']=Object['assign'](_0x311f12['bn']['dictionary'],_0x3642f8),_0x311f12['bn']['getPluralForm']=_0x16a497;})(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':_0x6698e4=>_0x6698e4%0xa==0x1&&_0x6698e4%0x64!=0xb?0x0:_0x6698e4%0xa>=0x2&&_0x6698e4%0xa<=0x4&&(_0x6698e4%0x64<0xa||_0x6698e4%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':_0x29a555=>_0x29a555%0xa==0x1&&_0x29a555%0x64!=0xb?0x0:_0x29a555%0xa>=0x2&&_0x29a555%0xa<=0x4&&(_0x29a555%0x64<0xa||_0x29a555%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2b19e5=>{const {bs:{dictionary:_0x299536,getPluralForm:_0x6144eb}}={'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':_0x11c33b=>_0x11c33b%0xa==0x1&&_0x11c33b%0x64!=0xb?0x0:_0x11c33b%0xa>=0x2&&_0x11c33b%0xa<=0x4&&(_0x11c33b%0x64<0xa||_0x11c33b%0x64>=0x14)?0x1:0x2}};_0x2b19e5['bs']||={'dictionary':{},'getPluralForm':null},_0x2b19e5['bs']['dictionary']=Object['assign'](_0x2b19e5['bs']['dictionary'],_0x299536),_0x2b19e5['bs']['getPluralForm']=_0x6144eb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2327ff=>{const {bs:{dictionary:_0x1a39f7,getPluralForm:_0x58830b}}={'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':_0xa8e447=>_0xa8e447%0xa==0x1&&_0xa8e447%0x64!=0xb?0x0:_0xa8e447%0xa>=0x2&&_0xa8e447%0xa<=0x4&&(_0xa8e447%0x64<0xa||_0xa8e447%0x64>=0x14)?0x1:0x2}};_0x2327ff['bs']||={'dictionary':{},'getPluralForm':null},_0x2327ff['bs']['dictionary']=Object['assign'](_0x2327ff['bs']['dictionary'],_0x1a39f7),_0x2327ff['bs']['getPluralForm']=_0x58830b;})(window['CKEDITOR_TRANSLATIONS']||={});