@ckeditor/ckeditor5-uploadcare 46.1.1-alpha.2 → 46.1.1

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 _0x10c45a,Command as _0x2f344c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x349db6,IconGooglePhotos as _0x34b44a,IconGoogleDrive as _0x2864a0,IconFacebook as _0x411934,IconDropbox as _0x426b1f,IconUploadcareLink as _0x2970dc,IconUploadcareImageUpload as _0x1d19f1,IconError as _0x3a0171,IconUploadcareImageEdit as _0x13fa14}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4da067,MenuBarMenuListItemButtonView as _0x515bf1,View as _0x4f5ec2,FocusCycler as _0x2442e6,Dialog as _0x33e502,DialogViewPosition as _0x2fd3ba,SpinnerView as _0x343d96,IconView as _0xfc2a90,Notification as _0x1fb565}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2d5cfd,DomEmitterMixin as _0x1e477a,global as _0x3dba28,getAncestors as _0x39fded,ObservableMixin as _0x5145a8,uid as _0x4c2da3,createElement as _0x18d39c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x453e68}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x169483,info as _0xbb9dcf}from'@uploadcare/upload-client';import*as _0x3f3a16 from'@uploadcare/file-uploader';var i=function(_0x300375){return _0x300375['Local']='local',_0x300375['URL']='url',_0x300375['Dropbox']='dropbox',_0x300375['GDrive']='gdrive',_0x300375['Facebook']='facebook',_0x300375['GPhotos']='gphotos',_0x300375['OneDrive']='onedrive',_0x300375;}({});function _(_0xf7ebdc,_0x3d892c,_0x4dd8aa){const t=_0xf7ebdc['t'],_0x346b8a=_0xf7ebdc['t'];switch(_0x3d892c){case i['Local']:return{'text':_0x346b8a('Insert'===_0x4dd8aa?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x346b8a('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4dd8aa?_0x346b8a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x346b8a('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4dd8aa?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4dd8aa?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4dd8aa?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4dd8aa?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4dd8aa?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3d892c;}}class e extends _0x10c45a{['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 _0x42db8b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x350033;for(const _0x367b5c in _0x42db8b){const _0x2ffbad=_0x367b5c,_0x22fb59=_0x42db8b[_0x2ffbad];if('uploadcareLicenseKeyValid'==_0x22fb59||'uploadcareLicenseKeyInvalid'==_0x22fb59||'uploadcareLicenseKeyExpired'==_0x22fb59||'uploadcareLicenseKeyDomainLimit'==_0x22fb59||'uploadcareLicenseKeyNotAllowed'==_0x22fb59||'uploadcareLicenseKeyEvaluationLimit'==_0x22fb59||'uploadcareLicenseKeyTrialLimit'==_0x22fb59||'uploadcareLicenseKeyUsageLimit'==_0x22fb59){delete _0x42db8b[_0x2ffbad],_0x350033=_0x22fb59,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x350033&&_0x42db8b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x350033&&_0x42db8b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x350033&&_0x42db8b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x350033&&_0x42db8b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x350033&&_0x42db8b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x350033&&_0x42db8b['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x350033&&_0x42db8b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4ed22a}=this,_0xa09c54=_0x4ed22a['commands']['get']('uploadcare');if(!_0xa09c54)return;const _0x178229=this['_normalizeConfigSourceList'](_0x4ed22a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1cb969,_0x42fbe2)=>{const _0x2bbbc1=this['_getIntegrationKey'](_0x42fbe2['type']);return _0x1cb969[_0x2bbbc1]||(_0x1cb969[_0x2bbbc1]=[]),_0x1cb969[_0x2bbbc1]['push'](_0x42fbe2),_0x1cb969;},{});_0x4ed22a['plugins']['has']('ImageInsertUI')&&_0x4ed22a['commands']['get']('uploadcare')&&Object['entries'](_0x178229)['forEach'](([_0x3efb69,_0x44753b])=>{_0x4ed22a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3efb69,'observable':()=>_0xa09c54,'buttonViewCreator':()=>this['_createToolbarButton'](_0x44753b),'formViewCreator':()=>this['_createDropdownButtons'](_0x44753b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x44753b),'override':'assetManager'!==_0x3efb69});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x16d204){const {locale:_0xd4fdb6}=this['editor'];return _0x16d204['map'](_0x5e10ea=>{const _0xe6a8a3=_(_0xd4fdb6,_0x5e10ea,'Insert');switch(_0x5e10ea){case i['Local']:return{'icon':_0x1d19f1,'type':i['Local'],..._0xe6a8a3};case i['URL']:return{'icon':_0x2970dc,'type':i['URL'],..._0xe6a8a3};case i['Dropbox']:return{'icon':_0x426b1f,'type':i['Dropbox'],..._0xe6a8a3};case i['Facebook']:return{'icon':_0x411934,'type':i['Facebook'],..._0xe6a8a3};case i['GDrive']:return{'icon':_0x2864a0,'type':i['GDrive'],..._0xe6a8a3};case i['GPhotos']:return{'icon':_0x34b44a,'type':i['GPhotos'],..._0xe6a8a3};case i['OneDrive']:return{'icon':_0x349db6,'type':i['OneDrive'],..._0xe6a8a3};}});}['_getIntegrationKey'](_0x1c0925){switch(_0x1c0925){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3be809,_0x3af8ee){const _0x3ec597=this['editor'],_0x23db31=new _0x3be809(_0x3ec597['locale']),_0x12cac3=_0x3ec597['commands']['get']('uploadcare');return _0x23db31['bind']('isEnabled')['to'](_0x12cac3),_0x23db31['on']('execute',()=>{_0x12cac3['execute'](_0x3af8ee);}),_0x23db31;}['_createToolbarButton'](_0x4e0a7f){const {locale:_0x2bf627}=this['editor'],_0x44c705=this['editor']['plugins']['get']('ImageInsertUI'),_0x54c78b=_0x4e0a7f[0x0],_0x1f63bd=this['_createButton'](_0x4da067,_0x54c78b['type']);return _0x1f63bd['icon']=_0x54c78b['icon'],_0x1f63bd['bind']('label')['to'](_0x44c705,'isImageSelected',_0x522729=>_(_0x2bf627,_0x54c78b['type'],_0x522729?'Replace':'Insert')['text']),_0x1f63bd['tooltip']=!0x0,_0x1f63bd;}['_createDropdownButtons'](_0x50e323){const {locale:_0x4698f2}=this['editor'],_0xb543ea=this['editor']['plugins']['get']('ImageInsertUI');return _0x50e323['map'](_0x202948=>{const _0x3ba7bf=this['_createButton'](_0x4da067,_0x202948['type']);return _0x3ba7bf['withText']=!0x0,_0x3ba7bf['icon']=_0x202948['icon'],_0x3ba7bf['bind']('label')['to'](_0xb543ea,'isImageSelected',_0x38e2d7=>_(_0x4698f2,_0x202948['type'],_0x38e2d7?'Replace':'Insert')['text']),_0x3ba7bf;});}['_createMenuBarButtons'](_0x2a5e9b){return _0x2a5e9b['map'](_0x58061a=>{const _0x149111=this['_createButton'](_0x515bf1,_0x58061a['type']);return _0x149111['icon']=_0x58061a['icon'],_0x149111['label']=_0x58061a['shortText'],_0x149111;});}}class F extends _0x4f5ec2{['focusTracker'];['focusCycler'];constructor(_0xe1dd52){super(_0xe1dd52),this['focusTracker']=new _0x2d5cfd(),this['focusCycler']=new _0x2442e6({'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(_0x5c270d,_0x6a23e4){super(_0x5c270d),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-'+_0x6a23e4}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x6af74d,_0x1c72f7){const _0xe9749=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4ed690=>_0x4ed690<=_0x1c72f7)['map'](_0x50c093=>_0x6af74d['replace'](/\/$/,'')+'/-/resize/'+_0x50c093+'x/\x20'+_0x50c093+'w');return{'imageFallbackUrl':_0x6af74d,'imageSources':[{'srcset':_0xe9749['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1c72f7+'px)\x20100vw,\x20'+_0x1c72f7+'px','type':'image/webp'}]};}function S(_0xb43034,_0x3e6039,_0x498b12){const _0x3a4220=_0xb43034['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3a4220?parseInt(_0x3a4220[0x1],0xa):_0x3e6039,'height':_0x3a4220?parseInt(_0x3a4220[0x2],0xa):_0x498b12};}function p(_0x23b9cb,_0x12301a){const _0x4bf5f3=new(_0x1e477a())(),_0x1f69bb=_0x23b9cb['plugins']['get']('ImageUtils'),_0x32fb8d=_0x23b9cb['editing']['mapper']['toViewElement'](_0x12301a),_0x215c9f=_0x1f69bb['findViewImgElement'](_0x32fb8d),_0x1d3b13=_0x23b9cb['editing']['view']['domConverter']['viewToDom'](_0x215c9f),_0x2fbd59=_0x12301a['getAttribute']('width'),_0x5b0508=_0x12301a['getAttribute']('height'),_0x34362e='image-processing';_0x23b9cb['editing']['view']['change'](_0x45d7ca=>{_0x45d7ca['addClass'](_0x34362e,_0x32fb8d),_0x45d7ca['setStyle']('aspect-ratio',_0x2fbd59+'/'+_0x5b0508,_0x215c9f);}),_0x4bf5f3['listenTo'](_0x1d3b13,'load',()=>{_0x4bf5f3['stopListening'](_0x1d3b13,'load'),_0x23b9cb['editing']['view']['change'](_0x238b88=>{_0x238b88['removeClass'](_0x34362e,_0x32fb8d),_0x238b88['removeStyle']('aspect-ratio',_0x215c9f);});});}function G(_0x22b6f2){if(Array['isArray'](_0x22b6f2)){const _0x5dbe0e=_0x22b6f2['map'](G);return _0x1d576f=>_0x5dbe0e['some'](_0x5df054=>_0x5df054(_0x1d576f));}if('origin'==_0x22b6f2){const _0x6b6a5=_0x3dba28['window']['location']['origin'];return _0x24953b=>new URL(_0x24953b,_0x3dba28['document']['baseURI'])['origin']==_0x6b6a5;}return'function'==typeof _0x22b6f2?_0x22b6f2:_0x22b6f2 instanceof RegExp?_0x3e71d6=>!(!_0x3e71d6['match'](_0x22b6f2)&&!_0x3e71d6['replace'](/^https?:\/\//,'')['match'](_0x22b6f2)):()=>!0x1;}function A(_0x302025,_0x19b2a1){return _0x39fded(_0x302025['target'])['includes'](_0x19b2a1);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5145a8(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1aea7f,_0x7f0ee8,_0x5392c0){super(),this['_editor']=_0x1aea7f,this['_editing']=_0x7f0ee8,this['_dialog']=_0x1aea7f['plugins']['get'](_0x33e502),this['_api']=_0x7f0ee8['ctxElement']['getAPI'](),this['_type']=_0x5392c0,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:_0x756eb9,model:_0x42c19f}=this['_editor'],_0xc83567=_0x42c19f['document']['selection']['getSelectedElement'](),_0x8e7772=_0xc83567&&(_0xc83567['is']('element','imageBlock')||_0xc83567['is']('element','imageInline'));this['_formView']=new x(_0x756eb9,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1d19f1,'title':_(_0x756eb9,this['_type'],_0x8e7772?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2fd3ba['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1e93bf=>!A(_0x1e93bf,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3437cd}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x556991=>{const _0x5c0a33=_0x3437cd['length'];for(const _0x1cca87 of _0x3437cd){const _0x2d5cb0=_0x1cca87===_0x3437cd[_0x5c0a33-0x1],{cdnUrl:_0x394a48,fileInfo:_0x3c7434}=_0x1cca87;if(!_0x394a48||!_0x3c7434)continue;const {width:_0x4f1437,height:_0x14f55b}=_0x3c7434['imageInfo'],_0x570eea=S(_0x394a48,_0x4f1437,_0x14f55b),_0x4e0c0f=C(_0x394a48,_0x570eea['width']),_0x106361={'id':_0x3c7434['uuid'],'type':'image','attributes':{'imageDimension':_0x570eea,..._0x4e0c0f}};this['_insertAsset'](_0x106361,_0x2d5cb0,_0x556991);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xfec8c=>{'idle'===_0xfec8c['detail']['status']&&!_0xfec8c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xa15854,_0x5df5b6,_0x3c9449){const _0x21082c=this['_editor']['model']['document']['selection'],_0x100929=_0x21082c['getSelectedElement'](),_0xab0a3f=!(!_0x100929||!_0x100929['is']('element','imageInline'));_0x3c9449['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xa15854,_0xab0a3f),_0x5df5b6||_0x3c9449['setSelection'](_0x21082c['getLastPosition']());}['_insertImage'](_0x26ed3d,_0x1d4cf6){const _0x56cf0c=this['_editor'],{imageDimension:_0x424b47,imageFallbackUrl:_0x4a1646,imageSources:_0x2d113b}=_0x26ed3d['attributes'];_0x56cf0c['execute']('insertImage',{'imageType':_0x1d4cf6?'imageInline':null,'source':{'uploadcareImageId':_0x26ed3d['id'],'src':_0x4a1646,'sources':_0x2d113b,..._0x424b47}});}}class w extends _0x2f344c{['_editing'];['_controller']=null;static get['requires'](){return[_0x33e502,o];}constructor(_0x268262){super(_0x268262),this['_editing']=_0x268262['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1a4c49){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1a4c49);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3584bd,..._0xb89de9}){return _0x169483(_0x3584bd,_0xb89de9);}static['getInfo'](_0x11c2b8,_0x1ca03b){return _0xbb9dcf(_0x11c2b8,_0x1ca03b);}}class f extends _0x10c45a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x453e68,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x11f8c9=this['editor'];if(!!!_0x11f8c9['config']['get']('uploadcare'))return;_0x11f8c9['plugins']['get'](_0x453e68)['createUploadAdapter']=_0x523f36=>new k(_0x523f36,_0x11f8c9),_0x11f8c9['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2422d0,{imageElement:_0x3a3afe,data:_0x31197a})=>{_0x11f8c9['model']['change'](_0x2274d4=>{_0x2274d4['setAttribute']('uploadcareImageId',_0x31197a['uploadcareImageId'],_0x3a3afe);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x423499,_0x396184){this['loader']=_0x423499,this['editor']=_0x396184,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3f62f0=await this['loader']['file'];return j['upload']({'file':_0x3f62f0,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x13a5c9=>{_0x13a5c9&&_0x13a5c9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x13a5c9['value']);}})['then'](async _0x498d4e=>{const {imageFallbackUrl:_0x550c30,imageSources:_0x4a295d}=C(_0x498d4e['cdnUrl'],_0x498d4e['imageInfo']['width']);return{'uploadcareImageId':_0x498d4e['uuid'],'default':_0x550c30,'sources':_0x4a295d};})['catch'](()=>{const _0x3f0a4f=t('Cannot\x20upload\x20file:')+('\x20'+_0x3f62f0['name']+'.');return Promise['reject'](_0x3f0a4f);});}['abort'](){this['controller']['abort']();}}class o extends _0x10c45a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x33e502];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xcb40fa){super(_0xcb40fa),this['ucContextId']=_0x4c2da3();}['init'](){const _0x5b53b9=this['editor'];_0x5b53b9['commands']['add']('uploadcare',new w(_0x5b53b9));}['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 _0xb1292b=_0x3dba28['document']['querySelector']('input[uploadcare-file-input]');_0xb1292b&&_0xb1292b['remove']();}),async function(_0x7db674){const _0x3baf7c=_0x38f672([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x2fbd48=0x3d8d0df,_0xb1bae7=0x3dfa387^_0x2fbd48,_0x4869ae=window[_0x38f672([0x44,0x61,0x74,0x65])][_0x38f672([0x6e,0x6f,0x77])](),_0x2ad0be=_0x7db674[_0x38f672([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11412c=new window[(_0x38f672([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2be161=>{_0x2ad0be[_0x38f672([0x6f,0x6e,0x63,0x65])](_0x38f672([0x72,0x65,0x61,0x64,0x79]),_0x2be161);}),_0x14c05b={[_0x38f672([0x6b,0x74,0x79])]:_0x38f672([0x45,0x43]),[_0x38f672([0x75,0x73,0x65])]:_0x38f672([0x73,0x69,0x67]),[_0x38f672([0x63,0x72,0x76])]:_0x38f672([0x50,0x2d,0x32,0x35,0x36]),[_0x38f672([0x78])]:_0x38f672([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]),[_0x38f672([0x79])]:_0x38f672([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]),[_0x38f672([0x61,0x6c,0x67])]:_0x38f672([0x45,0x53,0x32,0x35,0x36])},_0x34c622=_0x2ad0be[_0x38f672([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38f672([0x67,0x65,0x74])](_0x38f672([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b9532(){let _0x43da45,_0x159027=null,_0x35ffd8=null;try{if(_0x34c622==_0x38f672([0x47,0x50,0x4c]))return _0x38f672([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43da45=_0x3d6856(),!_0x43da45)return _0x38f672([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43da45[_0x38f672([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35ffd8=_0x1d0bb4(_0x43da45[_0x38f672([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43da45[_0x38f672([0x6a,0x74,0x69])])),await _0x1cc948()?_0x45b6d2()?_0x5282e6()?_0x38f672([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f3ff7()?(_0x43da45[_0x38f672([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f672([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x159027=_0x165a2f(_0x38f672([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43da45[_0x38f672([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f672([0x74,0x72,0x69,0x61,0x6c])&&(_0x159027=_0x165a2f(_0x38f672([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10db97()):_0x38f672([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38f672([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38f672([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38f672([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5282e6(){const _0xed958a=[_0x38f672([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38f672([0x74,0x72,0x69,0x61,0x6c])][_0x38f672([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43da45[_0x38f672([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4869ae/0x3e8:0xe10*_0xb1bae7;return _0x43da45[_0x38f672([0x65,0x78,0x70])]<_0xed958a;}function _0x45b6d2(){const _0x4de259=_0x43da45[_0x38f672([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4de259&&(!!_0x4de259[_0x38f672([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f672([0x2a]))||!!_0x4de259[_0x38f672([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f672([0x55,0x50,0x4c,0x43])));}function _0x3f3ff7(){const _0x1d5359=_0x43da45[_0x38f672([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d5359||0x0==_0x1d5359[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c6a58}=new URL(window[_0x38f672([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1d5359[_0x38f672([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a58))return!0x0;const _0x1a36de=_0x5c6a58[_0x38f672([0x73,0x70,0x6c,0x69,0x74])](_0x38f672([0x2e]));return _0x1d5359[_0x38f672([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd5fcb5=>_0xd5fcb5[_0x38f672([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f672([0x2a])))[_0x38f672([0x6d,0x61,0x70])](_0x3fc87a=>_0x3fc87a[_0x38f672([0x73,0x70,0x6c,0x69,0x74])](_0x38f672([0x2e])))[_0x38f672([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f39f0=>_0x2f39f0[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a36de[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38f672([0x6d,0x61,0x70])](_0x359b37=>Array(_0x1a36de[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x359b37[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38f672([0x66,0x69,0x6c,0x6c])](_0x359b37[0x0]===_0x38f672([0x2a])?_0x38f672([0x2a]):'')[_0x38f672([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x359b37))[_0x38f672([0x73,0x6f,0x6d,0x65])](_0xc58ba2=>_0x1a36de[_0x38f672([0x65,0x76,0x65,0x72,0x79])]((_0x19053a,_0x57cf05)=>_0xc58ba2[_0x57cf05]===_0x19053a||_0xc58ba2[_0x57cf05]===_0x38f672([0x2a])));}function _0x10db97(){return _0x159027&&_0x35ffd8?new window[(_0x38f672([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x70ea16,_0x36f7b6)=>{_0x159027[_0x38f672([0x74,0x68,0x65,0x6e])](_0x70ea16,_0x36f7b6),_0x35ffd8[_0x38f672([0x74,0x68,0x65,0x6e])](_0xf5f247=>{_0xf5f247!=_0x38f672([0x56,0x61,0x6c,0x69,0x64])&&_0x70ea16(_0xf5f247);},_0x36f7b6);}):_0x159027||_0x35ffd8||_0x38f672([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1d0bb4(_0x2025fe,_0x7718de){return new window[(_0x38f672([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x192959=>{if(_0x265d2b())return _0x192959(_0x38f672([0x56,0x61,0x6c,0x69,0x64]));_0xfca1a3(),_0x2ad0be[_0x38f672([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38f672([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x199f36=!0x1;const _0x3b34e4=_0x4c2da3();function _0x1b5e1f(_0x56f955){return!!_0x56f955&&(typeof _0x56f955===_0x38f672([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56f955===_0x38f672([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56f955[_0x38f672([0x74,0x68,0x65,0x6e])]===_0x38f672([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56f955[_0x38f672([0x63,0x61,0x74,0x63,0x68])]===_0x38f672([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a0a34(_0x5af622){_0x1414c2(_0x5af622)[_0x38f672([0x74,0x68,0x65,0x6e])](_0x2f52a2=>{if(!_0x2f52a2||_0x2f52a2[_0x38f672([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38f672([0x6f,0x6b]))return _0x38f672([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ad5c2(_0xf13a11(_0x3b34e4+_0x7718de))!=_0x2f52a2[_0x38f672([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38f672([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38f672([0x56,0x61,0x6c,0x69,0x64]);})[_0x38f672([0x74,0x68,0x65,0x6e])](_0x4be7b3=>(_0x5bf45f(),_0x4be7b3),()=>{const _0x3241c9=_0x305951();return null==_0x3241c9?(_0x5bf45f(),_0x38f672([0x56,0x61,0x6c,0x69,0x64])):_0x38f672(_0x4869ae-_0x3241c9>(0x27d454df^_0x2fbd48)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38f672([0x74,0x68,0x65,0x6e])](_0x192959)[_0x38f672([0x63,0x61,0x74,0x63,0x68])](()=>{_0x192959(_0x38f672([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x268137=0x3ee3e5f^_0x2fbd48;function _0x5bf45f(){const _0x57f3c3=_0x38f672([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ad5c2(_0xf13a11(_0x2025fe)),_0x3866c9=_0xd0fbbc(_0x1ad5c2(window[_0x38f672([0x4d,0x61,0x74,0x68])][_0x38f672([0x63,0x65,0x69,0x6c])](_0x4869ae/_0x268137)));window[_0x38f672([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f672([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57f3c3,_0x3866c9);}function _0x305951(){const _0x917aa7=_0x38f672([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ad5c2(_0xf13a11(_0x2025fe)),_0x931d49=window[_0x38f672([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f672([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x917aa7);return _0x931d49?window[_0x38f672([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd0fbbc(_0x931d49),0x10)*_0x268137:null;}function _0x1414c2(_0xc9b60f){return new window[(_0x38f672([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5455be,_0x22930e)=>{_0xc9b60f[_0x38f672([0x74,0x68,0x65,0x6e])](_0x5455be,_0x22930e),window[_0x38f672([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22930e,0x3d9041f^_0x2fbd48);});}}_0x2ad0be[_0x38f672([0x6f,0x6e])](_0x38f672([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a72b3,_0x157a7c)=>{if(_0x157a7c[0x0]!=_0x2025fe)return _0x192959(_0x38f672([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x157a7c[0x1]={..._0x157a7c[0x1],[_0x38f672([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b34e4};},{[_0x38f672([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f672([0x68,0x69,0x67,0x68])}),_0x2ad0be[_0x38f672([0x6f,0x6e])](_0x38f672([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x518297=>{_0x1b5e1f(_0x518297[_0x38f672([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x199f36=!0x0,_0x3a0a34(_0x518297[_0x38f672([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38f672([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f672([0x6c,0x6f,0x77])}),_0x11412c[_0x38f672([0x74,0x68,0x65,0x6e])](()=>{_0x199f36||_0x192959(_0x38f672([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x265d2b(){return _0x2ad0be[_0x38f672([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f672([0x76,0x69,0x65,0x77])][_0x38f672([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38f672([0x61,0x75,0x74,0x6f]);}function _0xfca1a3(){_0x2ad0be[_0x38f672([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f672([0x76,0x69,0x65,0x77])][_0x38f672([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38f672([0x61,0x75,0x74,0x6f]);}}function _0x165a2f(_0x3d7ec7){const _0x4445e8=[new window[(_0x38f672([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a7b38=>setTimeout(_0x1a7b38,0x3d1ee13^_0x2fbd48)),_0x11412c[_0x38f672([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38f672([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b6a7f=>{let _0x2ef31c=0x0;_0x2ad0be[_0x38f672([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f672([0x6f,0x6e])](_0x38f672([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f040a,_0x5e2523)=>{_0x5e2523[0x0][_0x38f672([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ef31c++,_0x2ef31c==(0x3d8d127^_0x2fbd48)&&(_0x2b6a7f(),_0x3f040a[_0x38f672([0x6f,0x66,0x66])]());});}))];return window[_0x38f672([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38f672([0x72,0x61,0x63,0x65])](_0x4445e8)[_0x38f672([0x74,0x68,0x65,0x6e])](()=>_0x3d7ec7);}async function _0x199c0e(){await _0x11412c,_0x2ad0be[_0x38f672([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f672([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36e39f,_0x2ad0be[_0x38f672([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f672([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36e39f,_0x2ad0be[_0x38f672([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38f672([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c6ef6(_0xfa39f1){const _0x12d3b0=_0x17e9b2();_0x2ad0be[_0x12d3b0]=_0x38f672([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xfa39f1,_0xfa39f1!=_0x38f672([0x56,0x61,0x6c,0x69,0x64])&&_0x199c0e();}function _0x17e9b2(){const _0x4e9549=window[_0x38f672([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38f672([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38f672([0x6e,0x6f,0x77])]())[_0x38f672([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38f672([0x2e]),'');let _0x49fffe=_0x38f672([0x52]);for(let _0x370c5a=0x0;_0x370c5a<_0x4e9549[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x370c5a+=0x2){let _0x59ff45=window[_0x38f672([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e9549[_0x38f672([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x370c5a,_0x370c5a+0x2));_0x59ff45>=_0x3baf7c[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59ff45-=_0x3baf7c[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49fffe+=_0x3baf7c[_0x59ff45];}return _0x49fffe;}function _0x3d6856(){const _0x512e15=_0x34c622[_0x38f672([0x73,0x70,0x6c,0x69,0x74])](_0x38f672([0x2e]));if(0x3!=_0x512e15[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10c821(_0x512e15[0x1]);function _0x10c821(_0x48c973){const _0x41fef3=_0x2b5816(_0x48c973);return _0x41fef3&&_0x3394a3()?_0x41fef3:null;function _0x3394a3(){const _0x4523cf=_0x41fef3[_0x38f672([0x6a,0x74,0x69])],_0x3b8a74=window[_0x38f672([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4523cf[_0x38f672([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4523cf[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4825e4={..._0x41fef3,[_0x38f672([0x6a,0x74,0x69])]:_0x4523cf[_0x38f672([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4523cf[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4825e4[_0x38f672([0x76,0x63])],_0xf13a11(_0x4825e4)==_0x3b8a74;}}}async function _0x1cc948(){let _0x18b33a=!0x0;try{const _0x1dc5d1=_0x34c622[_0x38f672([0x73,0x70,0x6c,0x69,0x74])](_0x38f672([0x2e])),[_0x43fda4,_0x29a3bd,_0x4f2a78]=_0x1dc5d1;return _0x2ba89a(_0x43fda4),await _0x11c87a(_0x43fda4,_0x29a3bd,_0x4f2a78),_0x18b33a;}catch{return!0x1;}function _0x2ba89a(_0x53a946){const _0x1e9bba=_0x2b5816(_0x53a946);_0x1e9bba&&_0x1e9bba[_0x38f672([0x61,0x6c,0x67])]==_0x38f672([0x45,0x53,0x32,0x35,0x36])||(_0x18b33a=!0x1);}async function _0x11c87a(_0x10188a,_0x50e84d,_0x121ff1){const _0x1e52bb=window[_0x38f672([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38f672([0x66,0x72,0x6f,0x6d])](_0x468efe(_0x121ff1),_0x1a025c=>_0x1a025c[_0x38f672([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xad520a=new window[(_0x38f672([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38f672([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10188a+_0x38f672([0x2e])+_0x50e84d),_0x58153d=window[_0x38f672([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38f672([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58153d)return;const _0x59e9c7=await _0x58153d[_0x38f672([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38f672([0x6a,0x77,0x6b]),_0x14c05b,{[_0x38f672([0x6e,0x61,0x6d,0x65])]:_0x38f672([0x45,0x43,0x44,0x53,0x41]),[_0x38f672([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38f672([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38f672([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58153d[_0x38f672([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38f672([0x6e,0x61,0x6d,0x65])]:_0x38f672([0x45,0x43,0x44,0x53,0x41]),[_0x38f672([0x68,0x61,0x73,0x68])]:{[_0x38f672([0x6e,0x61,0x6d,0x65])]:_0x38f672([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59e9c7,_0x1e52bb,_0xad520a)||(_0x18b33a=!0x1);}}function _0x2b5816(_0x42ac4c){return _0x42ac4c[_0x38f672([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38f672([0x65,0x79]))?JSON[_0x38f672([0x70,0x61,0x72,0x73,0x65])](_0x468efe(_0x42ac4c)):null;}function _0x468efe(_0x4f7658){return window[_0x38f672([0x61,0x74,0x6f,0x62])](_0x4f7658[_0x38f672([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38f672([0x2b]))[_0x38f672([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38f672([0x2f])));}function _0xf13a11(_0x528c90){let _0x313879=0x1505;function _0x54aaf3(_0xfb2b29){for(let _0x4ae354=0x0;_0x4ae354<_0xfb2b29[_0x38f672([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ae354++){const _0xbd5417=_0xfb2b29[_0x38f672([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ae354);_0x313879=(_0x313879<<0x5)+_0x313879+_0xbd5417,_0x313879&=_0x313879;}}function _0x1c5420(_0x10c9b6){Array[_0x38f672([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10c9b6)?_0x10c9b6[_0x38f672([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c5420):_0x10c9b6&&typeof _0x10c9b6==_0x38f672([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38f672([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10c9b6)[_0x38f672([0x73,0x6f,0x72,0x74])]()[_0x38f672([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15c5c1,_0x3a7353])=>{_0x54aaf3(_0x15c5c1),_0x1c5420(_0x3a7353);}):_0x54aaf3(window[_0x38f672([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10c9b6));}return _0x1c5420(_0x528c90),_0x313879>>>0x0;}function _0x1ad5c2(_0x39b6f9){return _0x39b6f9[_0x38f672([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38f672([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38f672([0x30]));}function _0xd0fbbc(_0x4f15e3){return _0x4f15e3[_0x38f672([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38f672([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38f672([0x6a,0x6f,0x69,0x6e])]('');}function _0x36e39f(){}function _0x38f672(_0x2bb023){return _0x2bb023['map'](_0x4eefeb=>String['fromCharCode'](_0x4eefeb))['join']('');}_0x4c6ef6(await _0x4b9532());}(this);}['_initSchema'](){const _0x6cd666=this['editor']['model']['schema'];_0x6cd666['isRegistered']('imageBlock')&&_0x6cd666['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x6cd666['isRegistered']('imageInline')&&_0x6cd666['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x640c18=this['editor'];_0x640c18['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x640c18['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x41af44=>_0x41af44['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x6f5d97=_0x640c18['commands']['get']('replaceImageSource');_0x6f5d97&&this['listenTo'](_0x6f5d97,'cleanupImage',(_0x16a423,[_0x32efec,_0x3c2964])=>{_0x32efec['removeAttribute']('uploadcareImageId',_0x3c2964);});}['_initConfig'](){const _0x6b1cd5=this['editor']['config']['get']('uploadcare.uploader')||{},_0x40c22d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x18d39c(_0x3dba28['document'],'uc-config',{..._0x6b1cd5,'pubkey':_0x40c22d,'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']=_0x200794=>{if('closeMax'==_0x200794)return'#uc-icon-arrow-down';},_0x3dba28['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x18d39c(_0x3dba28['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3dba28['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4a458f=this['editor']['commands']['get']('insertImage');_0x4a458f&&this['listenTo'](_0x4a458f,'execute',()=>{const _0x5837c5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5837c5&&_0x5837c5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5837c5);});});const _0x430bde=this['editor']['commands']['get']('uploadcareImageReplace');_0x430bde&&this['listenTo'](_0x430bde,'execute',()=>{const _0x16a3b8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x16a3b8&&_0x16a3b8['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x16a3b8);});});}}class tt extends _0x10c45a{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x27b9c1){super(_0x27b9c1),_0x27b9c1['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3f3a16['defineComponents'](_0x3f3a16);}}class ii extends _0x4f5ec2{constructor(_0x212d2c){super(_0x212d2c);const t=_0x212d2c['t'],_0x314709=this['bindTemplate'],_0x12da8e=new _0x343d96();_0x12da8e['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':[_0x12da8e,{'text':_0x314709['to']('imageUploadProgress',_0x2c15ab=>t('Loading\x20image...')+'\x20('+(_0x2c15ab||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 _0x4f5ec2{constructor(_0x155d09){super(_0x155d09);const t=_0x155d09['t'];this['set']('errorType',null);const _0x2d8904=new _0x4da067(_0x155d09);_0x2d8904['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2d8904['withText']=!0x0,_0x2d8904['class']='ck-button-action',_0x2d8904['on']('execute',()=>{this['fire']('retry');}),_0x2d8904['bind']('isVisible')['to'](this,'errorType',_0x10a6ab=>'NotFound'!==_0x10a6ab);const _0x59c967=new _0xfc2a90();_0x59c967['content']=_0x3a0171,_0x59c967['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3fe2a6=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':[_0x59c967,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3fe2a6['to']('errorType',_0x50d06e=>t('NotFound'!==_0x50d06e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2d8904]},{'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 _0x4f5ec2{constructor(_0x244307,_0x1efa4a){super(_0x244307);const _0x5ebf75=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1efa4a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5ebf75['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x15c9b2,_0x534f16,_0x2d96e1){super(_0x15c9b2),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x15c9b2),this['_errorView']=new ti(_0x15c9b2),this['_editingView']=new ei(_0x15c9b2,_0x2d96e1),this['_focusableView']=new _0x4f5ec2(_0x15c9b2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x534f16),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'],_0x29655a=>{this['_addUploadcareImageEditorListeners'](_0x29655a);});}),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'](_0x384354,_0x50fd65){const _0x5bdebf='uc-cloud-image-editor',_0x106ca1=_0x384354['querySelector'](_0x5bdebf);if(_0x106ca1)return _0x50fd65(_0x106ca1);const _0x5aff2d=new MutationObserver(_0x5cb4b0=>{const _0x1d1889=_0x5cb4b0['filter'](_0x2baf8e=>_0x2baf8e['target']===_0x384354&&_0x2baf8e['addedNodes']['length']>0x0&&_0x2baf8e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5bdebf);_0x1d1889['length']&&(_0x5aff2d['disconnect'](),_0x50fd65(_0x1d1889[0x0]['addedNodes'][0x0]));});_0x5aff2d['observe'](_0x384354,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x16199e){_0x16199e['addEventListener']('apply',_0x3a0982=>{this['fire']('apply',{'imageSrc':_0x3a0982['detail']['cdnUrl']});}),_0x16199e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5145a8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x376675,_0x1a8d67,_0x4c65f8){super(),this['_editor']=_0x376675,this['_dialog']=_0x1a8d67,this['_imageElement']=_0x4c65f8,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 _0x4f254a=this['_imageElement'],_0x304205=_0x4f254a['getAttribute']('uploadcareImageId'),_0x39d1a2=_0x4f254a['getAttribute']('src');if(_0x304205)await this['_loadImageInfo'](_0x304205,_0x39d1a2);else{if(this['_imageCache']['has'](_0x39d1a2)){const _0x1a25cd=this['_imageCache']['get'](_0x39d1a2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a25cd['url'],this['imageDimension']=_0x1a25cd['dimension'],this['imageId']=_0x1a25cd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x32eb92}=this['_editor'],t=_0x32eb92['t'],_0x1a5245=new X(_0x32eb92,this['imageStatus'],this['_attributes']);_0x1a5245['bind']('status')['to'](this,'imageStatus'),_0x1a5245['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a5245['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a5245['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a5245,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x13fa14,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a5245,'position':_0x2fd3ba['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a5245['focus']();},'onHide':()=>{_0x1a5245['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb6f354=>!A(_0xb6f354,_0x1a5245['element'])}});}['_loadImageInfo'](_0x481018,_0x6fccf0){return j['getInfo'](_0x481018,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x19643e=>{const {width:_0x3f1232,height:_0x265181}=_0x19643e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x6fccf0,this['imageDimension']={'width':_0x3f1232,'height':_0x265181},this['imageId']=_0x481018;})['catch'](_0x4841c6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4841c6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2f84ea,_0x577555){return this['_getImageAsFile'](_0x2f84ea)['then'](_0x1ab6bc=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x577555['signal'],'file':_0x1ab6bc,'onProgress':_0x2c3b7a=>{_0x2c3b7a&&_0x2c3b7a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2c3b7a['value']));}}))['then'](_0x591df4=>{const {width:_0x506362,height:_0x444d57}=_0x591df4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x591df4['cdnUrl'],this['imageDimension']={'width':_0x506362,'height':_0x444d57},this['imageId']=_0x591df4['uuid'],this['imageUploadProgress']=null;const _0x345127=_0x2f84ea['getAttribute']('src');this['_imageCache']['set'](_0x345127,{'id':_0x591df4['uuid'],'url':_0x591df4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x362e68=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x362e68['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1a5140,_0xe0d1de){_0x1a5140['on']('apply',(_0x2c51ae,_0x5b86bb)=>{this['_replaceImage'](_0xe0d1de,_0x5b86bb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1a5140['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1a5140['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xe0379b,_0x9040ca,_0x395a60){const _0x46ade6=this['_editor'],{width:_0x42f09a,height:_0x5a782e}=S(_0x9040ca,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xf8201b,imageSources:_0x1d29f8}=C(_0x9040ca,_0x42f09a);_0x46ade6['model']['change'](_0x14ba62=>{if('$graveyard'===_0xe0379b['root']['rootName']){_0x46ade6['execute']('insertImage',{'imageType':_0xe0379b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xe0379b['getAttributes']()),'uploadcareImageId':_0x395a60,'src':_0xf8201b,'sources':_0x1d29f8,'width':_0x42f09a,'height':_0x5a782e}});const _0x20532d=_0xe0379b['getChildren']();_0xe0379b=_0x46ade6['model']['document']['selection']['getSelectedElement']();for(const _0x4304ab of _0x20532d)_0x14ba62['append'](_0x14ba62['cloneElement'](_0x4304ab),_0xe0379b);}else _0x14ba62['setSelection'](_0xe0379b,'on'),_0x46ade6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xe0379b['getAttributes']()),'uploadcareImageId':_0x395a60,'src':_0xf8201b,'sources':_0x1d29f8,'width':_0x42f09a,'height':_0x5a782e},_0xe0379b);_0x14ba62['setSelection'](_0xe0379b,'on');});}async['_getImageAsFile'](_0x129908){const _0x518bac=_0x3dba28['window'],_0x4e8d35=_0x3dba28['document']['location']['href'],_0x3021f5=new _0x518bac['URL'](_0x129908['getAttribute']('src'),_0x4e8d35);if('data:'===_0x3021f5['protocol']){const _0x22f950=_0x3021f5['href']['split'](','),_0x415a53=_0x22f950[0x0]['match'](/:(.*?);/)[0x1],_0x4d806d=_0x415a53['split']('/')[0x1],_0x3f4a13=_0x518bac['atob'](_0x22f950[_0x22f950['length']-0x1]);let _0x4326c0=_0x3f4a13['length'];const _0x3c8d8c=new _0x518bac['Uint8Array'](_0x4326c0);for(;_0x4326c0--;)_0x3c8d8c[_0x4326c0]=_0x3f4a13['charCodeAt'](_0x4326c0);return new _0x518bac['File']([_0x3c8d8c],'image.'+_0x4d806d,{'type':_0x415a53});}const _0x414dac=_0x3021f5['href']['split']('/'),_0x57bb3c=_0x414dac[_0x414dac['length']-0x1],_0x1c2323=_0x57bb3c['split']('.')[0x1];return _0x518bac['fetch'](_0x3021f5['href'])['then'](_0x4e3bc9=>_0x4e3bc9['clone']()['blob']())['then'](_0x4948d0=>new _0x518bac['File']([_0x4948d0],_0x57bb3c,{'type':'image/'+_0x1c2323}));}}class O extends _0x2f344c{['imageEditController'];static get['requires'](){return[_0x33e502];}['_isEditable'];constructor(_0x35bcfa){super(_0x35bcfa),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2edc8a){const _0x46133c=G(_0x2edc8a);return _0x50e037=>!(!_0x50e037||!_0x50e037['is']('element','imageBlock')&&!_0x50e037['is']('element','imageInline'))&&(!!_0x50e037['hasAttribute']('uploadcareImageId')||!!_0x50e037['hasAttribute']('src')&&_0x46133c(_0x50e037['getAttribute']('src')));}(_0x35bcfa['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1a5a78=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1a5a78);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3e8c74=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3e8c74&&(_0x3e8c74['is']('element','imageBlock')||_0x3e8c74['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x33e502),_0x3e8c74),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2f344c{['refresh'](){const _0x3bb5b3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3bb5b3&&(_0x3bb5b3['is']('element','imageBlock')||_0x3bb5b3['is']('element','imageInline')));}['execute'](_0x3e55ca){const _0x59f75a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2205d6=>{_0x2205d6['setAttributes'](_0x3e55ca,_0x59f75a),_0x2205d6['removeAttribute']('srcset',_0x59f75a),_0x2205d6['removeAttribute']('sizes',_0x59f75a);});}}class m extends _0x10c45a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1fb565,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31d880}=this;_0x31d880['commands']['add']('uploadcareImageEdit',new O(_0x31d880)),_0x31d880['commands']['add']('uploadcareImageReplace',new R(_0x31d880));}}class g extends _0x10c45a{['_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 _0x2e9ae0=this['editor'];_0x2e9ae0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x576d38=>{const _0x3ae5b1=_0x2e9ae0['commands']['get']('uploadcareImageEdit'),_0x1b25b2=new _0x4da067(_0x576d38),t=_0x576d38['t'];return _0x1b25b2['set']({'icon':_0x13fa14,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b25b2['bind']('isEnabled')['to'](_0x3ae5b1),_0x1b25b2['bind']('isOn')['to'](_0x3ae5b1,'isActive'),this['listenTo'](_0x1b25b2,'execute',()=>{_0x2e9ae0['execute']('uploadcareImageEdit'),_0x2e9ae0['editing']['view']['focus']();}),_0x1b25b2;}),this['_initConfig']();}['_initConfig'](){const _0x5a80cd=_0x18d39c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5a80cd),this['listenTo'](this['editor'],'destroy',()=>{_0x5a80cd['remove']();});}}class et extends _0x10c45a{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 _0x759d34,Command as _0x4b0c1}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5aae0b,IconGooglePhotos as _0x424db8,IconGoogleDrive as _0x1222a9,IconFacebook as _0x220073,IconDropbox as _0x17be43,IconUploadcareLink as _0x3eefef,IconUploadcareImageUpload as _0x32c4d3,IconError as _0x170993,IconUploadcareImageEdit as _0x2ed518}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5c0c0f,MenuBarMenuListItemButtonView as _0x13e89e,View as _0x49abf3,FocusCycler as _0x25e4ec,Dialog as _0x5aa4ec,DialogViewPosition as _0x5beb23,SpinnerView as _0x113150,IconView as _0xc1439d,Notification as _0x430b1f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x28dab4,DomEmitterMixin as _0x315ea9,global as _0x994d2c,getAncestors as _0x8014fe,ObservableMixin as _0x827190,uid as _0x104f25,createElement as _0xa6babb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x32ed49}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x17963e,info as _0x2d0e7d}from'@uploadcare/upload-client';import*as _0x2ebe37 from'@uploadcare/file-uploader';var i=function(_0x253a59){return _0x253a59['Local']='local',_0x253a59['URL']='url',_0x253a59['Dropbox']='dropbox',_0x253a59['GDrive']='gdrive',_0x253a59['Facebook']='facebook',_0x253a59['GPhotos']='gphotos',_0x253a59['OneDrive']='onedrive',_0x253a59;}({});function _(_0x24ca94,_0x350325,_0x54b4d8){const t=_0x24ca94['t'],_0x2e2aec=_0x24ca94['t'];switch(_0x350325){case i['Local']:return{'text':_0x2e2aec('Insert'===_0x54b4d8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2e2aec('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x54b4d8?_0x2e2aec('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2e2aec('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x54b4d8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x54b4d8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x54b4d8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x54b4d8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x54b4d8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x350325;}}class e extends _0x759d34{['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 _0x4d17a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2cb63b;for(const _0x23e049 in _0x4d17a9){const _0x38b0b6=_0x23e049,_0x32b1dc=_0x4d17a9[_0x38b0b6];if('uploadcareLicenseKeyValid'==_0x32b1dc||'uploadcareLicenseKeyInvalid'==_0x32b1dc||'uploadcareLicenseKeyExpired'==_0x32b1dc||'uploadcareLicenseKeyDomainLimit'==_0x32b1dc||'uploadcareLicenseKeyNotAllowed'==_0x32b1dc||'uploadcareLicenseKeyEvaluationLimit'==_0x32b1dc||'uploadcareLicenseKeyTrialLimit'==_0x32b1dc||'uploadcareLicenseKeyUsageLimit'==_0x32b1dc){delete _0x4d17a9[_0x38b0b6],_0x2cb63b=_0x32b1dc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2cb63b&&_0x4d17a9['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2cb63b&&_0x4d17a9['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2cb63b&&_0x4d17a9['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2cb63b&&_0x4d17a9['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2cb63b&&_0x4d17a9['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2cb63b&&_0x4d17a9['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2cb63b&&_0x4d17a9['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4fa73c}=this,_0x2ea5c1=_0x4fa73c['commands']['get']('uploadcare');if(!_0x2ea5c1)return;const _0x183528=this['_normalizeConfigSourceList'](_0x4fa73c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x22bba0,_0x27a5d0)=>{const _0x3ab5cc=this['_getIntegrationKey'](_0x27a5d0['type']);return _0x22bba0[_0x3ab5cc]||(_0x22bba0[_0x3ab5cc]=[]),_0x22bba0[_0x3ab5cc]['push'](_0x27a5d0),_0x22bba0;},{});_0x4fa73c['plugins']['has']('ImageInsertUI')&&_0x4fa73c['commands']['get']('uploadcare')&&Object['entries'](_0x183528)['forEach'](([_0x230e35,_0x582d75])=>{_0x4fa73c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x230e35,'observable':()=>_0x2ea5c1,'buttonViewCreator':()=>this['_createToolbarButton'](_0x582d75),'formViewCreator':()=>this['_createDropdownButtons'](_0x582d75),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x582d75),'override':'assetManager'!==_0x230e35});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x289554){const {locale:_0x12fa3d}=this['editor'];return _0x289554['map'](_0x1bdc44=>{const _0x200038=_(_0x12fa3d,_0x1bdc44,'Insert');switch(_0x1bdc44){case i['Local']:return{'icon':_0x32c4d3,'type':i['Local'],..._0x200038};case i['URL']:return{'icon':_0x3eefef,'type':i['URL'],..._0x200038};case i['Dropbox']:return{'icon':_0x17be43,'type':i['Dropbox'],..._0x200038};case i['Facebook']:return{'icon':_0x220073,'type':i['Facebook'],..._0x200038};case i['GDrive']:return{'icon':_0x1222a9,'type':i['GDrive'],..._0x200038};case i['GPhotos']:return{'icon':_0x424db8,'type':i['GPhotos'],..._0x200038};case i['OneDrive']:return{'icon':_0x5aae0b,'type':i['OneDrive'],..._0x200038};}});}['_getIntegrationKey'](_0x5e15d7){switch(_0x5e15d7){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3661c5,_0x5d6164){const _0x119f7a=this['editor'],_0x1b6a37=new _0x3661c5(_0x119f7a['locale']),_0x5a9d56=_0x119f7a['commands']['get']('uploadcare');return _0x1b6a37['bind']('isEnabled')['to'](_0x5a9d56),_0x1b6a37['on']('execute',()=>{_0x5a9d56['execute'](_0x5d6164);}),_0x1b6a37;}['_createToolbarButton'](_0xf51bf4){const {locale:_0xdcd314}=this['editor'],_0x40a320=this['editor']['plugins']['get']('ImageInsertUI'),_0x1e58fa=_0xf51bf4[0x0],_0x31c451=this['_createButton'](_0x5c0c0f,_0x1e58fa['type']);return _0x31c451['icon']=_0x1e58fa['icon'],_0x31c451['bind']('label')['to'](_0x40a320,'isImageSelected',_0x5130a1=>_(_0xdcd314,_0x1e58fa['type'],_0x5130a1?'Replace':'Insert')['text']),_0x31c451['tooltip']=!0x0,_0x31c451;}['_createDropdownButtons'](_0x14af27){const {locale:_0x1e0f79}=this['editor'],_0x90f3fe=this['editor']['plugins']['get']('ImageInsertUI');return _0x14af27['map'](_0x33bf9c=>{const _0x43daf2=this['_createButton'](_0x5c0c0f,_0x33bf9c['type']);return _0x43daf2['withText']=!0x0,_0x43daf2['icon']=_0x33bf9c['icon'],_0x43daf2['bind']('label')['to'](_0x90f3fe,'isImageSelected',_0x3dbba6=>_(_0x1e0f79,_0x33bf9c['type'],_0x3dbba6?'Replace':'Insert')['text']),_0x43daf2;});}['_createMenuBarButtons'](_0x5652fa){return _0x5652fa['map'](_0x2c498c=>{const _0x52c061=this['_createButton'](_0x13e89e,_0x2c498c['type']);return _0x52c061['icon']=_0x2c498c['icon'],_0x52c061['label']=_0x2c498c['shortText'],_0x52c061;});}}class F extends _0x49abf3{['focusTracker'];['focusCycler'];constructor(_0x198048){super(_0x198048),this['focusTracker']=new _0x28dab4(),this['focusCycler']=new _0x25e4ec({'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(_0x67644a,_0x54ad29){super(_0x67644a),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-'+_0x54ad29}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x288c1e,_0x67c6ec){const _0x3b8c5d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1301b1=>_0x1301b1<=_0x67c6ec)['map'](_0x485d21=>_0x288c1e['replace'](/\/$/,'')+'/-/resize/'+_0x485d21+'x/\x20'+_0x485d21+'w');return{'imageFallbackUrl':_0x288c1e,'imageSources':[{'srcset':_0x3b8c5d['join'](',\x20'),'sizes':'(max-width:\x20'+_0x67c6ec+'px)\x20100vw,\x20'+_0x67c6ec+'px','type':'image/webp'}]};}function S(_0x1a560c,_0x5448ff,_0x448357){const _0x33d540=_0x1a560c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x33d540?parseInt(_0x33d540[0x1],0xa):_0x5448ff,'height':_0x33d540?parseInt(_0x33d540[0x2],0xa):_0x448357};}function p(_0x50285e,_0x44a185){const _0x36dc52=new(_0x315ea9())(),_0xf26b90=_0x50285e['plugins']['get']('ImageUtils'),_0x14a153=_0x50285e['editing']['mapper']['toViewElement'](_0x44a185),_0x47ed32=_0xf26b90['findViewImgElement'](_0x14a153),_0x3a0c0c=_0x50285e['editing']['view']['domConverter']['viewToDom'](_0x47ed32),_0x525ca0=_0x44a185['getAttribute']('width'),_0x5e812b=_0x44a185['getAttribute']('height'),_0x3ab471='image-processing';_0x50285e['editing']['view']['change'](_0x2d0112=>{_0x2d0112['addClass'](_0x3ab471,_0x14a153),_0x2d0112['setStyle']('aspect-ratio',_0x525ca0+'/'+_0x5e812b,_0x47ed32);}),_0x36dc52['listenTo'](_0x3a0c0c,'load',()=>{_0x36dc52['stopListening'](_0x3a0c0c,'load'),_0x50285e['editing']['view']['change'](_0x1101ad=>{_0x1101ad['removeClass'](_0x3ab471,_0x14a153),_0x1101ad['removeStyle']('aspect-ratio',_0x47ed32);});});}function z(_0x473810){if(Array['isArray'](_0x473810)){const _0x29979c=_0x473810['map'](z);return _0x78c3f2=>_0x29979c['some'](_0x23524a=>_0x23524a(_0x78c3f2));}if('origin'==_0x473810){const _0x1ebed8=_0x994d2c['window']['location']['origin'];return _0x3cdb5=>new URL(_0x3cdb5,_0x994d2c['document']['baseURI'])['origin']==_0x1ebed8;}return'function'==typeof _0x473810?_0x473810:_0x473810 instanceof RegExp?_0x1c94f1=>!(!_0x1c94f1['match'](_0x473810)&&!_0x1c94f1['replace'](/^https?:\/\//,'')['match'](_0x473810)):()=>!0x1;}function A(_0x42e55c,_0x6f3988){return _0x8014fe(_0x42e55c['target'])['includes'](_0x6f3988);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x827190(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x18ec1a,_0x4a6f69,_0x962351){super(),this['_editor']=_0x18ec1a,this['_editing']=_0x4a6f69,this['_dialog']=_0x18ec1a['plugins']['get'](_0x5aa4ec),this['_api']=_0x4a6f69['ctxElement']['getAPI'](),this['_type']=_0x962351,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:_0x1518f7,model:_0x9011c}=this['_editor'],_0x15dcaf=_0x9011c['document']['selection']['getSelectedElement'](),_0x59918a=_0x15dcaf&&(_0x15dcaf['is']('element','imageBlock')||_0x15dcaf['is']('element','imageInline'));this['_formView']=new x(_0x1518f7,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x32c4d3,'title':_(_0x1518f7,this['_type'],_0x59918a?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5beb23['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3fe3bf=>!A(_0x3fe3bf,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4ad612}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x59da51=>{const _0x65c2a=_0x4ad612['length'];for(const _0x573126 of _0x4ad612){const _0xe81367=_0x573126===_0x4ad612[_0x65c2a-0x1],{cdnUrl:_0x328926,fileInfo:_0x7aaf0c}=_0x573126;if(!_0x328926||!_0x7aaf0c)continue;const {width:_0x22b077,height:_0x51618a}=_0x7aaf0c['imageInfo'],_0x8d0951=S(_0x328926,_0x22b077,_0x51618a),_0x5f575e=C(_0x328926,_0x8d0951['width']),_0x1dc902={'id':_0x7aaf0c['uuid'],'type':'image','attributes':{'imageDimension':_0x8d0951,..._0x5f575e}};this['_insertAsset'](_0x1dc902,_0xe81367,_0x59da51);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x33d9ad=>{'idle'===_0x33d9ad['detail']['status']&&!_0x33d9ad['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x31e5fc,_0x5e7297,_0x26f86a){const _0x3a622f=this['_editor']['model']['document']['selection'],_0x325ddc=_0x3a622f['getSelectedElement'](),_0xf5be89=!(!_0x325ddc||!_0x325ddc['is']('element','imageInline'));_0x26f86a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x31e5fc,_0xf5be89),_0x5e7297||_0x26f86a['setSelection'](_0x3a622f['getLastPosition']());}['_insertImage'](_0x4d6597,_0x10f9bf){const _0x4c55db=this['_editor'],{imageDimension:_0x2ce77a,imageFallbackUrl:_0x3cdd29,imageSources:_0x396f20}=_0x4d6597['attributes'];_0x4c55db['execute']('insertImage',{'imageType':_0x10f9bf?'imageInline':null,'source':{'uploadcareImageId':_0x4d6597['id'],'src':_0x3cdd29,'sources':_0x396f20,..._0x2ce77a}});}}class w extends _0x4b0c1{['_editing'];['_controller']=null;static get['requires'](){return[_0x5aa4ec,o];}constructor(_0x310afa){super(_0x310afa),this['_editing']=_0x310afa['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x115e6c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x115e6c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x2d025d,..._0x168459}){return _0x17963e(_0x2d025d,_0x168459);}static['getInfo'](_0xa06330,_0x4bc03e){return _0x2d0e7d(_0xa06330,_0x4bc03e);}}class f extends _0x759d34{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x32ed49,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3288c9=this['editor'];if(!!!_0x3288c9['config']['get']('uploadcare'))return;_0x3288c9['plugins']['get'](_0x32ed49)['createUploadAdapter']=_0x2d245d=>new k(_0x2d245d,_0x3288c9),_0x3288c9['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x9153cc,{imageElement:_0x775498,data:_0x48e42f})=>{_0x3288c9['model']['change'](_0x45484e=>{_0x45484e['setAttribute']('uploadcareImageId',_0x48e42f['uploadcareImageId'],_0x775498);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x29f1c3,_0x2857ab){this['loader']=_0x29f1c3,this['editor']=_0x2857ab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4cde86=await this['loader']['file'];return j['upload']({'file':_0x4cde86,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2fcc6a=>{_0x2fcc6a&&_0x2fcc6a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2fcc6a['value']);}})['then'](async _0x1765df=>{const {imageFallbackUrl:_0x2a0c4e,imageSources:_0x52cca8}=C(_0x1765df['cdnUrl'],_0x1765df['imageInfo']['width']);return{'uploadcareImageId':_0x1765df['uuid'],'default':_0x2a0c4e,'sources':_0x52cca8};})['catch'](()=>{const _0x33869b=t('Cannot\x20upload\x20file:')+('\x20'+_0x4cde86['name']+'.');return Promise['reject'](_0x33869b);});}['abort'](){this['controller']['abort']();}}class o extends _0x759d34{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x5aa4ec];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x63c681){super(_0x63c681),this['ucContextId']=_0x104f25();}['init'](){const _0x557257=this['editor'];_0x557257['commands']['add']('uploadcare',new w(_0x557257));}['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 _0x4acd3b=_0x994d2c['document']['querySelector']('input[uploadcare-file-input]');_0x4acd3b&&_0x4acd3b['remove']();}),async function(_0x4bd767){const _0x71d41a=_0x5d24dc([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x4532f6=0x3d8d0df,_0x5c57c2=0x3dfa3af^_0x4532f6,_0x41b432=window[_0x5d24dc([0x44,0x61,0x74,0x65])][_0x5d24dc([0x6e,0x6f,0x77])](),_0x479144=_0x4bd767[_0x5d24dc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a9d0d=new window[(_0x5d24dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36d5e7=>{_0x479144[_0x5d24dc([0x6f,0x6e,0x63,0x65])](_0x5d24dc([0x72,0x65,0x61,0x64,0x79]),_0x36d5e7);}),_0x26cbe2={[_0x5d24dc([0x6b,0x74,0x79])]:_0x5d24dc([0x45,0x43]),[_0x5d24dc([0x75,0x73,0x65])]:_0x5d24dc([0x73,0x69,0x67]),[_0x5d24dc([0x63,0x72,0x76])]:_0x5d24dc([0x50,0x2d,0x32,0x35,0x36]),[_0x5d24dc([0x78])]:_0x5d24dc([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]),[_0x5d24dc([0x79])]:_0x5d24dc([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]),[_0x5d24dc([0x61,0x6c,0x67])]:_0x5d24dc([0x45,0x53,0x32,0x35,0x36])},_0x4e73ef=_0x479144[_0x5d24dc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d24dc([0x67,0x65,0x74])](_0x5d24dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb2e790(){let _0x57ceb3,_0x43e799=null,_0x229d9e=null;try{if(_0x4e73ef==_0x5d24dc([0x47,0x50,0x4c]))return _0x5d24dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57ceb3=_0x81e39b(),!_0x57ceb3)return _0x5d24dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57ceb3[_0x5d24dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x229d9e=_0x83f6cb(_0x57ceb3[_0x5d24dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57ceb3[_0x5d24dc([0x6a,0x74,0x69])])),await _0x56a656()?_0x26b3b3()?_0x13dc9b()?_0x5d24dc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x32213a()?(_0x57ceb3[_0x5d24dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d24dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x43e799=_0x543fe0(_0x5d24dc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57ceb3[_0x5d24dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d24dc([0x74,0x72,0x69,0x61,0x6c])&&(_0x43e799=_0x543fe0(_0x5d24dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x685404()):_0x5d24dc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d24dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d24dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d24dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13dc9b(){const _0x8aae7e=[_0x5d24dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d24dc([0x74,0x72,0x69,0x61,0x6c])][_0x5d24dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57ceb3[_0x5d24dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41b432/0x3e8:0xe10*_0x5c57c2;return _0x57ceb3[_0x5d24dc([0x65,0x78,0x70])]<_0x8aae7e;}function _0x26b3b3(){const _0xe651ae=_0x57ceb3[_0x5d24dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe651ae&&(!!_0xe651ae[_0x5d24dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d24dc([0x2a]))||!!_0xe651ae[_0x5d24dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d24dc([0x55,0x50,0x4c,0x43])));}function _0x32213a(){const _0x29aa9d=_0x57ceb3[_0x5d24dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29aa9d||0x0==_0x29aa9d[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x17ab22}=new URL(window[_0x5d24dc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x29aa9d[_0x5d24dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17ab22))return!0x0;const _0x5ccca7=_0x17ab22[_0x5d24dc([0x73,0x70,0x6c,0x69,0x74])](_0x5d24dc([0x2e]));return _0x29aa9d[_0x5d24dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1aeaab=>_0x1aeaab[_0x5d24dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d24dc([0x2a])))[_0x5d24dc([0x6d,0x61,0x70])](_0x2f5b67=>_0x2f5b67[_0x5d24dc([0x73,0x70,0x6c,0x69,0x74])](_0x5d24dc([0x2e])))[_0x5d24dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44478d=>_0x44478d[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5ccca7[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d24dc([0x6d,0x61,0x70])](_0x1b040c=>Array(_0x5ccca7[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b040c[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d24dc([0x66,0x69,0x6c,0x6c])](_0x1b040c[0x0]===_0x5d24dc([0x2a])?_0x5d24dc([0x2a]):'')[_0x5d24dc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b040c))[_0x5d24dc([0x73,0x6f,0x6d,0x65])](_0x331210=>_0x5ccca7[_0x5d24dc([0x65,0x76,0x65,0x72,0x79])]((_0x31d8ba,_0x439970)=>_0x331210[_0x439970]===_0x31d8ba||_0x331210[_0x439970]===_0x5d24dc([0x2a])));}function _0x685404(){return _0x43e799&&_0x229d9e?new window[(_0x5d24dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a7dfd,_0x53a7a8)=>{_0x43e799[_0x5d24dc([0x74,0x68,0x65,0x6e])](_0x4a7dfd,_0x53a7a8),_0x229d9e[_0x5d24dc([0x74,0x68,0x65,0x6e])](_0x282ccb=>{_0x282ccb!=_0x5d24dc([0x56,0x61,0x6c,0x69,0x64])&&_0x4a7dfd(_0x282ccb);},_0x53a7a8);}):_0x43e799||_0x229d9e||_0x5d24dc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x83f6cb(_0x1fca36,_0x5091f2){return new window[(_0x5d24dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xff4084=>{if(_0x1c8356())return _0xff4084(_0x5d24dc([0x56,0x61,0x6c,0x69,0x64]));_0x32be49(),_0x479144[_0x5d24dc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d24dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfc548a=!0x1;const _0x472609=_0x104f25();function _0x4bc2ce(_0x5b1956){return!!_0x5b1956&&(typeof _0x5b1956===_0x5d24dc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b1956===_0x5d24dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b1956[_0x5d24dc([0x74,0x68,0x65,0x6e])]===_0x5d24dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b1956[_0x5d24dc([0x63,0x61,0x74,0x63,0x68])]===_0x5d24dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x332070(_0x18ac8b){_0x323469(_0x18ac8b)[_0x5d24dc([0x74,0x68,0x65,0x6e])](_0x1fc9e5=>{if(!_0x1fc9e5||_0x1fc9e5[_0x5d24dc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d24dc([0x6f,0x6b]))return _0x5d24dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d7d2e(_0x344e5a(_0x472609+_0x5091f2))!=_0x1fc9e5[_0x5d24dc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d24dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d24dc([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d24dc([0x74,0x68,0x65,0x6e])](_0x23ae82=>(_0x3c96eb(),_0x23ae82),()=>{const _0x5e852d=_0x42e07d();return null==_0x5e852d?(_0x3c96eb(),_0x5d24dc([0x56,0x61,0x6c,0x69,0x64])):_0x5d24dc(_0x41b432-_0x5e852d>(0x27d454df^_0x4532f6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d24dc([0x74,0x68,0x65,0x6e])](_0xff4084)[_0x5d24dc([0x63,0x61,0x74,0x63,0x68])](()=>{_0xff4084(_0x5d24dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x502f8e=0x3ee3e5f^_0x4532f6;function _0x3c96eb(){const _0xcd0061=_0x5d24dc([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d7d2e(_0x344e5a(_0x1fca36)),_0x474793=_0x45b40a(_0x5d7d2e(window[_0x5d24dc([0x4d,0x61,0x74,0x68])][_0x5d24dc([0x63,0x65,0x69,0x6c])](_0x41b432/_0x502f8e)));window[_0x5d24dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d24dc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xcd0061,_0x474793);}function _0x42e07d(){const _0x8b81e3=_0x5d24dc([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d7d2e(_0x344e5a(_0x1fca36)),_0x20c1f2=window[_0x5d24dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d24dc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8b81e3);return _0x20c1f2?window[_0x5d24dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45b40a(_0x20c1f2),0x10)*_0x502f8e:null;}function _0x323469(_0x472a57){return new window[(_0x5d24dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3121e3,_0x59e874)=>{_0x472a57[_0x5d24dc([0x74,0x68,0x65,0x6e])](_0x3121e3,_0x59e874),window[_0x5d24dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59e874,0x3d9041f^_0x4532f6);});}}_0x479144[_0x5d24dc([0x6f,0x6e])](_0x5d24dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x573f94,_0x3d8b74)=>{if(_0x3d8b74[0x0]!=_0x1fca36)return _0xff4084(_0x5d24dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d8b74[0x1]={..._0x3d8b74[0x1],[_0x5d24dc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x472609};},{[_0x5d24dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d24dc([0x68,0x69,0x67,0x68])}),_0x479144[_0x5d24dc([0x6f,0x6e])](_0x5d24dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x526f8f=>{_0x4bc2ce(_0x526f8f[_0x5d24dc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfc548a=!0x0,_0x332070(_0x526f8f[_0x5d24dc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d24dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d24dc([0x6c,0x6f,0x77])}),_0x5a9d0d[_0x5d24dc([0x74,0x68,0x65,0x6e])](()=>{_0xfc548a||_0xff4084(_0x5d24dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c8356(){return _0x479144[_0x5d24dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d24dc([0x76,0x69,0x65,0x77])][_0x5d24dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d24dc([0x61,0x75,0x74,0x6f]);}function _0x32be49(){_0x479144[_0x5d24dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d24dc([0x76,0x69,0x65,0x77])][_0x5d24dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d24dc([0x61,0x75,0x74,0x6f]);}}function _0x543fe0(_0x55805f){const _0x55e601=[new window[(_0x5d24dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfb8daf=>setTimeout(_0xfb8daf,0x3d1ee13^_0x4532f6)),_0x5a9d0d[_0x5d24dc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d24dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6bd4c=>{let _0x365836=0x0;_0x479144[_0x5d24dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d24dc([0x6f,0x6e])](_0x5d24dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x497b57,_0x5f3f83)=>{_0x5f3f83[0x0][_0x5d24dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x365836++,_0x365836==(0x3d8d127^_0x4532f6)&&(_0x6bd4c(),_0x497b57[_0x5d24dc([0x6f,0x66,0x66])]());});}))];return window[_0x5d24dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d24dc([0x72,0x61,0x63,0x65])](_0x55e601)[_0x5d24dc([0x74,0x68,0x65,0x6e])](()=>_0x55805f);}async function _0x25b973(){await _0x5a9d0d,_0x479144[_0x5d24dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d24dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x407434,_0x479144[_0x5d24dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d24dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x407434,_0x479144[_0x5d24dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d24dc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b97d9(_0x23bb4d){const _0x44a8c6=_0x40dfb1();_0x479144[_0x44a8c6]=_0x5d24dc([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x23bb4d,_0x23bb4d!=_0x5d24dc([0x56,0x61,0x6c,0x69,0x64])&&_0x25b973();}function _0x40dfb1(){const _0x1616d9=window[_0x5d24dc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d24dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d24dc([0x6e,0x6f,0x77])]())[_0x5d24dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d24dc([0x2e]),'');let _0x490cba=_0x5d24dc([0x52]);for(let _0x1f64b6=0x0;_0x1f64b6<_0x1616d9[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f64b6+=0x2){let _0x562951=window[_0x5d24dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1616d9[_0x5d24dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f64b6,_0x1f64b6+0x2));_0x562951>=_0x71d41a[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x562951-=_0x71d41a[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x490cba+=_0x71d41a[_0x562951];}return _0x490cba;}function _0x81e39b(){const _0x4867d8=_0x4e73ef[_0x5d24dc([0x73,0x70,0x6c,0x69,0x74])](_0x5d24dc([0x2e]));if(0x3!=_0x4867d8[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x595150(_0x4867d8[0x1]);function _0x595150(_0xc7d3e4){const _0x514059=_0x422956(_0xc7d3e4);return _0x514059&&_0x2b5a42()?_0x514059:null;function _0x2b5a42(){const _0x2e32cd=_0x514059[_0x5d24dc([0x6a,0x74,0x69])],_0x545111=window[_0x5d24dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e32cd[_0x5d24dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e32cd[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ac83c={..._0x514059,[_0x5d24dc([0x6a,0x74,0x69])]:_0x2e32cd[_0x5d24dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e32cd[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ac83c[_0x5d24dc([0x76,0x63])],_0x344e5a(_0x2ac83c)==_0x545111;}}}async function _0x56a656(){let _0x16176a=!0x0;try{const _0x45693a=_0x4e73ef[_0x5d24dc([0x73,0x70,0x6c,0x69,0x74])](_0x5d24dc([0x2e])),[_0x41585a,_0x496dcd,_0x5eed8c]=_0x45693a;return _0x1b6e64(_0x41585a),await _0x1885f8(_0x41585a,_0x496dcd,_0x5eed8c),_0x16176a;}catch{return!0x1;}function _0x1b6e64(_0x511fcf){const _0x44a06e=_0x422956(_0x511fcf);_0x44a06e&&_0x44a06e[_0x5d24dc([0x61,0x6c,0x67])]==_0x5d24dc([0x45,0x53,0x32,0x35,0x36])||(_0x16176a=!0x1);}async function _0x1885f8(_0x1d5354,_0x2f7652,_0x44a856){const _0x2ea1f8=window[_0x5d24dc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d24dc([0x66,0x72,0x6f,0x6d])](_0x570554(_0x44a856),_0x5bb90c=>_0x5bb90c[_0x5d24dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c946f=new window[(_0x5d24dc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d24dc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d5354+_0x5d24dc([0x2e])+_0x2f7652),_0x265043=window[_0x5d24dc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d24dc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x265043)return;const _0x1c3551=await _0x265043[_0x5d24dc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d24dc([0x6a,0x77,0x6b]),_0x26cbe2,{[_0x5d24dc([0x6e,0x61,0x6d,0x65])]:_0x5d24dc([0x45,0x43,0x44,0x53,0x41]),[_0x5d24dc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d24dc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d24dc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x265043[_0x5d24dc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d24dc([0x6e,0x61,0x6d,0x65])]:_0x5d24dc([0x45,0x43,0x44,0x53,0x41]),[_0x5d24dc([0x68,0x61,0x73,0x68])]:{[_0x5d24dc([0x6e,0x61,0x6d,0x65])]:_0x5d24dc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c3551,_0x2ea1f8,_0x5c946f)||(_0x16176a=!0x1);}}function _0x422956(_0x47659d){return _0x47659d[_0x5d24dc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d24dc([0x65,0x79]))?JSON[_0x5d24dc([0x70,0x61,0x72,0x73,0x65])](_0x570554(_0x47659d)):null;}function _0x570554(_0x5342f4){return window[_0x5d24dc([0x61,0x74,0x6f,0x62])](_0x5342f4[_0x5d24dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d24dc([0x2b]))[_0x5d24dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d24dc([0x2f])));}function _0x344e5a(_0x4affd9){let _0x5351ab=0x1505;function _0x4b3b3d(_0x1aa8d6){for(let _0x209b2b=0x0;_0x209b2b<_0x1aa8d6[_0x5d24dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x209b2b++){const _0x7cbbdb=_0x1aa8d6[_0x5d24dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x209b2b);_0x5351ab=(_0x5351ab<<0x5)+_0x5351ab+_0x7cbbdb,_0x5351ab&=_0x5351ab;}}function _0x19c2aa(_0x4ff60b){Array[_0x5d24dc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ff60b)?_0x4ff60b[_0x5d24dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19c2aa):_0x4ff60b&&typeof _0x4ff60b==_0x5d24dc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d24dc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ff60b)[_0x5d24dc([0x73,0x6f,0x72,0x74])]()[_0x5d24dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bdd5e,_0x36b2b4])=>{_0x4b3b3d(_0x5bdd5e),_0x19c2aa(_0x36b2b4);}):_0x4b3b3d(window[_0x5d24dc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ff60b));}return _0x19c2aa(_0x4affd9),_0x5351ab>>>0x0;}function _0x5d7d2e(_0x50c7b0){return _0x50c7b0[_0x5d24dc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d24dc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d24dc([0x30]));}function _0x45b40a(_0x3f76c4){return _0x3f76c4[_0x5d24dc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d24dc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d24dc([0x6a,0x6f,0x69,0x6e])]('');}function _0x407434(){}function _0x5d24dc(_0x4989f3){return _0x4989f3['map'](_0x22d94d=>String['fromCharCode'](_0x22d94d))['join']('');}_0x4b97d9(await _0xb2e790());}(this);}['_initSchema'](){const _0x34bb66=this['editor']['model']['schema'];_0x34bb66['isRegistered']('imageBlock')&&_0x34bb66['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x34bb66['isRegistered']('imageInline')&&_0x34bb66['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x52352e=this['editor'];_0x52352e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x52352e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x332c6a=>_0x332c6a['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5d298b=_0x52352e['commands']['get']('replaceImageSource');_0x5d298b&&this['listenTo'](_0x5d298b,'cleanupImage',(_0x2463ab,[_0x29e4f4,_0x335a6d])=>{_0x29e4f4['removeAttribute']('uploadcareImageId',_0x335a6d);});}['_initConfig'](){const _0x521af1=this['editor']['config']['get']('uploadcare.uploader')||{},_0x122ece=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xa6babb(_0x994d2c['document'],'uc-config',{..._0x521af1,'pubkey':_0x122ece,'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']=_0x8d5932=>{if('closeMax'==_0x8d5932)return'#uc-icon-arrow-down';},_0x994d2c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xa6babb(_0x994d2c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x994d2c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x45326d=this['editor']['commands']['get']('insertImage');_0x45326d&&this['listenTo'](_0x45326d,'execute',()=>{const _0x4a40b5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a40b5&&_0x4a40b5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4a40b5);});});const _0x438bac=this['editor']['commands']['get']('uploadcareImageReplace');_0x438bac&&this['listenTo'](_0x438bac,'execute',()=>{const _0x562588=this['editor']['model']['document']['selection']['getSelectedElement']();_0x562588&&_0x562588['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x562588);});});}}class tt extends _0x759d34{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4ec3ce){super(_0x4ec3ce),_0x4ec3ce['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2ebe37['defineComponents'](_0x2ebe37);}}class ii extends _0x49abf3{constructor(_0x564a25){super(_0x564a25);const t=_0x564a25['t'],_0x47685e=this['bindTemplate'],_0x456f07=new _0x113150();_0x456f07['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':[_0x456f07,{'text':_0x47685e['to']('imageUploadProgress',_0x4232=>t('Loading\x20image...')+'\x20('+(_0x4232||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 _0x49abf3{constructor(_0x65453d){super(_0x65453d);const t=_0x65453d['t'];this['set']('errorType',null);const _0x1e4886=new _0x5c0c0f(_0x65453d);_0x1e4886['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1e4886['withText']=!0x0,_0x1e4886['class']='ck-button-action',_0x1e4886['on']('execute',()=>{this['fire']('retry');}),_0x1e4886['bind']('isVisible')['to'](this,'errorType',_0x488104=>'NotFound'!==_0x488104);const _0x467dc9=new _0xc1439d();_0x467dc9['content']=_0x170993,_0x467dc9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x45ecb0=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':[_0x467dc9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x45ecb0['to']('errorType',_0x1a504e=>t('NotFound'!==_0x1a504e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1e4886]},{'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 _0x49abf3{constructor(_0x150269,_0x5c7dcf){super(_0x150269);const _0x146ed0=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5c7dcf,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x146ed0['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x7d009b,_0xa3d10d,_0x431900){super(_0x7d009b),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x7d009b),this['_errorView']=new ti(_0x7d009b),this['_editingView']=new ei(_0x7d009b,_0x431900),this['_focusableView']=new _0x49abf3(_0x7d009b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xa3d10d),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'],_0x101be9=>{this['_addUploadcareImageEditorListeners'](_0x101be9);});}),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'](_0x5c8d16,_0xb4a0ae){const _0x29812b='uc-cloud-image-editor',_0x4b7a62=_0x5c8d16['querySelector'](_0x29812b);if(_0x4b7a62)return _0xb4a0ae(_0x4b7a62);const _0x43aaf3=new MutationObserver(_0x3de1fa=>{const _0x22cbee=_0x3de1fa['filter'](_0x45b922=>_0x45b922['target']===_0x5c8d16&&_0x45b922['addedNodes']['length']>0x0&&_0x45b922['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x29812b);_0x22cbee['length']&&(_0x43aaf3['disconnect'](),_0xb4a0ae(_0x22cbee[0x0]['addedNodes'][0x0]));});_0x43aaf3['observe'](_0x5c8d16,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x296e25){_0x296e25['addEventListener']('apply',_0xd0a174=>{this['fire']('apply',{'imageSrc':_0xd0a174['detail']['cdnUrl']});}),_0x296e25['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x827190(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1e852e,_0x5888bd,_0x37263a){super(),this['_editor']=_0x1e852e,this['_dialog']=_0x5888bd,this['_imageElement']=_0x37263a,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 _0x246f3b=this['_imageElement'],_0x40459c=_0x246f3b['getAttribute']('uploadcareImageId'),_0x556376=_0x246f3b['getAttribute']('src');if(_0x40459c)await this['_loadImageInfo'](_0x40459c,_0x556376);else{if(this['_imageCache']['has'](_0x556376)){const _0x5b8402=this['_imageCache']['get'](_0x556376);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5b8402['url'],this['imageDimension']=_0x5b8402['dimension'],this['imageId']=_0x5b8402['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x117e37}=this['_editor'],t=_0x117e37['t'],_0x422ac1=new X(_0x117e37,this['imageStatus'],this['_attributes']);_0x422ac1['bind']('status')['to'](this,'imageStatus'),_0x422ac1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x422ac1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x422ac1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x422ac1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2ed518,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x422ac1,'position':_0x5beb23['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x422ac1['focus']();},'onHide':()=>{_0x422ac1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5bfde2=>!A(_0x5bfde2,_0x422ac1['element'])}});}['_loadImageInfo'](_0x2e33e8,_0x1ac920){return j['getInfo'](_0x2e33e8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x43da81=>{const {width:_0x5ace39,height:_0xef9064}=_0x43da81['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1ac920,this['imageDimension']={'width':_0x5ace39,'height':_0xef9064},this['imageId']=_0x2e33e8;})['catch'](_0x237177=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x237177['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e6fcd,_0x1856be){return this['_getImageAsFile'](_0x3e6fcd)['then'](_0x26dd32=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x1856be['signal'],'file':_0x26dd32,'onProgress':_0x47b42f=>{_0x47b42f&&_0x47b42f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x47b42f['value']));}}))['then'](_0x3c63ff=>{const {width:_0x30588f,height:_0x1b79f1}=_0x3c63ff['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c63ff['cdnUrl'],this['imageDimension']={'width':_0x30588f,'height':_0x1b79f1},this['imageId']=_0x3c63ff['uuid'],this['imageUploadProgress']=null;const _0x21619d=_0x3e6fcd['getAttribute']('src');this['_imageCache']['set'](_0x21619d,{'id':_0x3c63ff['uuid'],'url':_0x3c63ff['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x478e4b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x478e4b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4fb47a,_0x1e4680){_0x4fb47a['on']('apply',(_0x25ab94,_0x58808e)=>{this['_replaceImage'](_0x1e4680,_0x58808e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4fb47a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4fb47a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x218d09,_0x4da61e,_0x2b1fee){const _0x5be1f7=this['_editor'],{width:_0x4b28ff,height:_0x508856}=S(_0x4da61e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2f4a19,imageSources:_0x2b90fa}=C(_0x4da61e,_0x4b28ff);_0x5be1f7['model']['change'](_0x1984b1=>{if('$graveyard'===_0x218d09['root']['rootName']){_0x5be1f7['execute']('insertImage',{'imageType':_0x218d09['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x218d09['getAttributes']()),'uploadcareImageId':_0x2b1fee,'src':_0x2f4a19,'sources':_0x2b90fa,'width':_0x4b28ff,'height':_0x508856}});const _0x83ad24=_0x218d09['getChildren']();_0x218d09=_0x5be1f7['model']['document']['selection']['getSelectedElement']();for(const _0x271bed of _0x83ad24)_0x1984b1['append'](_0x1984b1['cloneElement'](_0x271bed),_0x218d09);}else _0x1984b1['setSelection'](_0x218d09,'on'),_0x5be1f7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x218d09['getAttributes']()),'uploadcareImageId':_0x2b1fee,'src':_0x2f4a19,'sources':_0x2b90fa,'width':_0x4b28ff,'height':_0x508856},_0x218d09);_0x1984b1['setSelection'](_0x218d09,'on');});}async['_getImageAsFile'](_0x37e526){const _0x3e7944=_0x994d2c['window'],_0x25fd10=_0x994d2c['document']['location']['href'],_0x5010bb=new _0x3e7944['URL'](_0x37e526['getAttribute']('src'),_0x25fd10);if('data:'===_0x5010bb['protocol']){const _0x23738f=_0x5010bb['href']['split'](','),_0x33c9ac=_0x23738f[0x0]['match'](/:(.*?);/)[0x1],_0x2be6ec=_0x33c9ac['split']('/')[0x1],_0x34cd5b=_0x3e7944['atob'](_0x23738f[_0x23738f['length']-0x1]);let _0x5a2054=_0x34cd5b['length'];const _0x4bc77d=new _0x3e7944['Uint8Array'](_0x5a2054);for(;_0x5a2054--;)_0x4bc77d[_0x5a2054]=_0x34cd5b['charCodeAt'](_0x5a2054);return new _0x3e7944['File']([_0x4bc77d],'image.'+_0x2be6ec,{'type':_0x33c9ac});}const _0x5cc92f=_0x5010bb['href']['split']('/'),_0x4a2e05=_0x5cc92f[_0x5cc92f['length']-0x1],_0x6d1e00=_0x4a2e05['split']('.')[0x1];return _0x3e7944['fetch'](_0x5010bb['href'])['then'](_0xb6d3a5=>_0xb6d3a5['clone']()['blob']())['then'](_0x87bb22=>new _0x3e7944['File']([_0x87bb22],_0x4a2e05,{'type':'image/'+_0x6d1e00}));}}class Q extends _0x4b0c1{['imageEditController'];static get['requires'](){return[_0x5aa4ec];}['_isEditable'];constructor(_0x1fd6fd){super(_0x1fd6fd),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x186894){const _0x1c5e5a=z(_0x186894);return _0x145ca1=>!(!_0x145ca1||!_0x145ca1['is']('element','imageBlock')&&!_0x145ca1['is']('element','imageInline'))&&(!!_0x145ca1['hasAttribute']('uploadcareImageId')||!!_0x145ca1['hasAttribute']('src')&&_0x1c5e5a(_0x145ca1['getAttribute']('src')));}(_0x1fd6fd['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x15ccb1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x15ccb1);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2f7858=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2f7858&&(_0x2f7858['is']('element','imageBlock')||_0x2f7858['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x5aa4ec),_0x2f7858),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x4b0c1{['refresh'](){const _0x2bb01f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2bb01f&&(_0x2bb01f['is']('element','imageBlock')||_0x2bb01f['is']('element','imageInline')));}['execute'](_0x11a603){const _0x3e858c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1a2308=>{_0x1a2308['setAttributes'](_0x11a603,_0x3e858c),_0x1a2308['removeAttribute']('srcset',_0x3e858c),_0x1a2308['removeAttribute']('sizes',_0x3e858c);});}}class m extends _0x759d34{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x430b1f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x16128b}=this;_0x16128b['commands']['add']('uploadcareImageEdit',new Q(_0x16128b)),_0x16128b['commands']['add']('uploadcareImageReplace',new V(_0x16128b));}}class g extends _0x759d34{['_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 _0x37df71=this['editor'];_0x37df71['ui']['componentFactory']['add']('uploadcareImageEdit',_0x54441e=>{const _0x1041de=_0x37df71['commands']['get']('uploadcareImageEdit'),_0x16014b=new _0x5c0c0f(_0x54441e),t=_0x54441e['t'];return _0x16014b['set']({'icon':_0x2ed518,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x16014b['bind']('isEnabled')['to'](_0x1041de),_0x16014b['bind']('isOn')['to'](_0x1041de,'isActive'),this['listenTo'](_0x16014b,'execute',()=>{_0x37df71['execute']('uploadcareImageEdit'),_0x37df71['editing']['view']['focus']();}),_0x16014b;}),this['_initConfig']();}['_initConfig'](){const _0x1bc1dc=_0xa6babb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1bc1dc),this['listenTo'](this['editor'],'destroy',()=>{_0x1bc1dc['remove']();});}}class et extends _0x759d34{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x16d2f9=>0x1!=_0x16d2f9}};
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':_0x587675=>0x1!=_0x587675}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5c5140=>{const {af:{dictionary:_0x50695d,getPluralForm:_0x2e643f}}={'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':_0x539741=>0x1!=_0x539741}};_0x5c5140['af']||={'dictionary':{},'getPluralForm':null},_0x5c5140['af']['dictionary']=Object['assign'](_0x5c5140['af']['dictionary'],_0x50695d),_0x5c5140['af']['getPluralForm']=_0x2e643f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2bc2f3=>{const {af:{dictionary:_0x3e3d19,getPluralForm:_0x6630bf}}={'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':_0x54e924=>0x1!=_0x54e924}};_0x2bc2f3['af']||={'dictionary':{},'getPluralForm':null},_0x2bc2f3['af']['dictionary']=Object['assign'](_0x2bc2f3['af']['dictionary'],_0x3e3d19),_0x2bc2f3['af']['getPluralForm']=_0x6630bf;})(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':_0x546a07=>0x0==_0x546a07?0x0:0x1==_0x546a07?0x1:0x2==_0x546a07?0x2:_0x546a07%0x64>=0x3&&_0x546a07%0x64<=0xa?0x3:_0x546a07%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':_0x384c1d=>0x0==_0x384c1d?0x0:0x1==_0x384c1d?0x1:0x2==_0x384c1d?0x2:_0x384c1d%0x64>=0x3&&_0x384c1d%0x64<=0xa?0x3:_0x384c1d%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4bf9b2=>{const {ar:{dictionary:_0x14bbfc,getPluralForm:_0x3addd2}}={'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':_0x129a0e=>0x0==_0x129a0e?0x0:0x1==_0x129a0e?0x1:0x2==_0x129a0e?0x2:_0x129a0e%0x64>=0x3&&_0x129a0e%0x64<=0xa?0x3:_0x129a0e%0x64>=0xb?0x4:0x5}};_0x4bf9b2['ar']||={'dictionary':{},'getPluralForm':null},_0x4bf9b2['ar']['dictionary']=Object['assign'](_0x4bf9b2['ar']['dictionary'],_0x14bbfc),_0x4bf9b2['ar']['getPluralForm']=_0x3addd2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4063da=>{const {ar:{dictionary:_0x22a4cb,getPluralForm:_0x11f3f3}}={'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':_0x4c77cc=>0x0==_0x4c77cc?0x0:0x1==_0x4c77cc?0x1:0x2==_0x4c77cc?0x2:_0x4c77cc%0x64>=0x3&&_0x4c77cc%0x64<=0xa?0x3:_0x4c77cc%0x64>=0xb?0x4:0x5}};_0x4063da['ar']||={'dictionary':{},'getPluralForm':null},_0x4063da['ar']['dictionary']=Object['assign'](_0x4063da['ar']['dictionary'],_0x22a4cb),_0x4063da['ar']['getPluralForm']=_0x11f3f3;})(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':_0x2c6a0c=>0x1!=_0x2c6a0c}};
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':_0x668e1b=>0x1!=_0x668e1b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x548fff=>{const {ast:{dictionary:_0x3e12c6,getPluralForm:_0x2fcea0}}={'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':_0x3c085d=>0x1!=_0x3c085d}};_0x548fff['ast']||={'dictionary':{},'getPluralForm':null},_0x548fff['ast']['dictionary']=Object['assign'](_0x548fff['ast']['dictionary'],_0x3e12c6),_0x548fff['ast']['getPluralForm']=_0x2fcea0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x15aac1=>{const {ast:{dictionary:_0x4b86a7,getPluralForm:_0x5a5eff}}={'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':_0x32f19c=>0x1!=_0x32f19c}};_0x15aac1['ast']||={'dictionary':{},'getPluralForm':null},_0x15aac1['ast']['dictionary']=Object['assign'](_0x15aac1['ast']['dictionary'],_0x4b86a7),_0x15aac1['ast']['getPluralForm']=_0x5a5eff;})(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':_0x117885=>0x1!=_0x117885}};
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':_0x512955=>0x1!=_0x512955}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x242217=>{const {az:{dictionary:_0x58f729,getPluralForm:_0x4cc606}}={'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':_0x23ef04=>0x1!=_0x23ef04}};_0x242217['az']||={'dictionary':{},'getPluralForm':null},_0x242217['az']['dictionary']=Object['assign'](_0x242217['az']['dictionary'],_0x58f729),_0x242217['az']['getPluralForm']=_0x4cc606;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x42540d=>{const {az:{dictionary:_0x9d6501,getPluralForm:_0x1248eb}}={'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':_0x4768bc=>0x1!=_0x4768bc}};_0x42540d['az']||={'dictionary':{},'getPluralForm':null},_0x42540d['az']['dictionary']=Object['assign'](_0x42540d['az']['dictionary'],_0x9d6501),_0x42540d['az']['getPluralForm']=_0x1248eb;})(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':_0x4afb87=>_0x4afb87%0xa==0x1&&_0x4afb87%0x64!=0xb?0x0:_0x4afb87%0xa>=0x2&&_0x4afb87%0xa<=0x4&&(_0x4afb87%0x64<0xa||_0x4afb87%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':_0x5c5b80=>_0x5c5b80%0xa==0x1&&_0x5c5b80%0x64!=0xb?0x0:_0x5c5b80%0xa>=0x2&&_0x5c5b80%0xa<=0x4&&(_0x5c5b80%0x64<0xa||_0x5c5b80%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2653f0=>{const {be:{dictionary:_0x4a8261,getPluralForm:_0x3daecd}}={'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':_0x357dd4=>_0x357dd4%0xa==0x1&&_0x357dd4%0x64!=0xb?0x0:_0x357dd4%0xa>=0x2&&_0x357dd4%0xa<=0x4&&(_0x357dd4%0x64<0xa||_0x357dd4%0x64>=0x14)?0x1:0x2}};_0x2653f0['be']||={'dictionary':{},'getPluralForm':null},_0x2653f0['be']['dictionary']=Object['assign'](_0x2653f0['be']['dictionary'],_0x4a8261),_0x2653f0['be']['getPluralForm']=_0x3daecd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4ffe2f=>{const {be:{dictionary:_0x34de38,getPluralForm:_0x3fe740}}={'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':_0x36c5a4=>_0x36c5a4%0xa==0x1&&_0x36c5a4%0x64!=0xb?0x0:_0x36c5a4%0xa>=0x2&&_0x36c5a4%0xa<=0x4&&(_0x36c5a4%0x64<0xa||_0x36c5a4%0x64>=0x14)?0x1:0x2}};_0x4ffe2f['be']||={'dictionary':{},'getPluralForm':null},_0x4ffe2f['be']['dictionary']=Object['assign'](_0x4ffe2f['be']['dictionary'],_0x34de38),_0x4ffe2f['be']['getPluralForm']=_0x3fe740;})(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':_0x23a603=>0x1!=_0x23a603}};
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':_0x23737=>0x1!=_0x23737}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x419fd0=>{const {bg:{dictionary:_0xc69a38,getPluralForm:_0x1f8a71}}={'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':_0x501519=>0x1!=_0x501519}};_0x419fd0['bg']||={'dictionary':{},'getPluralForm':null},_0x419fd0['bg']['dictionary']=Object['assign'](_0x419fd0['bg']['dictionary'],_0xc69a38),_0x419fd0['bg']['getPluralForm']=_0x1f8a71;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x45610b=>{const {bg:{dictionary:_0x3614dc,getPluralForm:_0x2d1911}}={'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':_0x43fe35=>0x1!=_0x43fe35}};_0x45610b['bg']||={'dictionary':{},'getPluralForm':null},_0x45610b['bg']['dictionary']=Object['assign'](_0x45610b['bg']['dictionary'],_0x3614dc),_0x45610b['bg']['getPluralForm']=_0x2d1911;})(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':_0x211539=>0x1!=_0x211539}};
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':_0x29ce67=>0x1!=_0x29ce67}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26edf7=>{const {bn:{dictionary:_0x51ebc6,getPluralForm:_0x494acb}}={'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':_0xb7294c=>0x1!=_0xb7294c}};_0x26edf7['bn']||={'dictionary':{},'getPluralForm':null},_0x26edf7['bn']['dictionary']=Object['assign'](_0x26edf7['bn']['dictionary'],_0x51ebc6),_0x26edf7['bn']['getPluralForm']=_0x494acb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4a7225=>{const {bn:{dictionary:_0x39b0e1,getPluralForm:_0x4c9f19}}={'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':_0x38ec98=>0x1!=_0x38ec98}};_0x4a7225['bn']||={'dictionary':{},'getPluralForm':null},_0x4a7225['bn']['dictionary']=Object['assign'](_0x4a7225['bn']['dictionary'],_0x39b0e1),_0x4a7225['bn']['getPluralForm']=_0x4c9f19;})(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':_0x22f4e4=>_0x22f4e4%0xa==0x1&&_0x22f4e4%0x64!=0xb?0x0:_0x22f4e4%0xa>=0x2&&_0x22f4e4%0xa<=0x4&&(_0x22f4e4%0x64<0xa||_0x22f4e4%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':_0x5920f6=>_0x5920f6%0xa==0x1&&_0x5920f6%0x64!=0xb?0x0:_0x5920f6%0xa>=0x2&&_0x5920f6%0xa<=0x4&&(_0x5920f6%0x64<0xa||_0x5920f6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5c508b=>{const {bs:{dictionary:_0x14386a,getPluralForm:_0x5c187b}}={'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':_0x13aee8=>_0x13aee8%0xa==0x1&&_0x13aee8%0x64!=0xb?0x0:_0x13aee8%0xa>=0x2&&_0x13aee8%0xa<=0x4&&(_0x13aee8%0x64<0xa||_0x13aee8%0x64>=0x14)?0x1:0x2}};_0x5c508b['bs']||={'dictionary':{},'getPluralForm':null},_0x5c508b['bs']['dictionary']=Object['assign'](_0x5c508b['bs']['dictionary'],_0x14386a),_0x5c508b['bs']['getPluralForm']=_0x5c187b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x520991=>{const {bs:{dictionary:_0x29fab8,getPluralForm:_0x3f171a}}={'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':_0x54d46c=>_0x54d46c%0xa==0x1&&_0x54d46c%0x64!=0xb?0x0:_0x54d46c%0xa>=0x2&&_0x54d46c%0xa<=0x4&&(_0x54d46c%0x64<0xa||_0x54d46c%0x64>=0x14)?0x1:0x2}};_0x520991['bs']||={'dictionary':{},'getPluralForm':null},_0x520991['bs']['dictionary']=Object['assign'](_0x520991['bs']['dictionary'],_0x29fab8),_0x520991['bs']['getPluralForm']=_0x3f171a;})(window['CKEDITOR_TRANSLATIONS']||={});