@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250425.0 → 0.0.0-nightly-20250427.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x58add4,Command as _0x155957}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x39e4bc,IconGooglePhotos as _0x153f26,IconGoogleDrive as _0x2387bd,IconFacebook as _0x5a1983,IconDropbox as _0x7589f4,IconUploadcareLink as _0x327aef,IconUploadcareImageUpload as _0x2d36fb,IconError as et,IconUploadcareImageEdit as _0x2b0328}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4578a2,MenuBarMenuListItemButtonView as _0x559cd8,View as _0x4df131,FocusCycler as _0x2bb504,Dialog as _0x1164fa,DialogViewPosition as _0x963072,SpinnerView as _0x2c0fc0,IconView as at,Notification as _0x3d0aba}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x595275,DomEmitterMixin as _0x2a3242,global as _0x1ce9d0,getAncestors as _0x33d703,ObservableMixin as _0x38eee3,createElement as _0x4a345f,uid as _0x13862c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3f9f34}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x387bea,info as _0x36aaea}from'@uploadcare/upload-client';import*as _0x4b1b0b from'@uploadcare/file-uploader';var o=function(_0xfa199e){return _0xfa199e['Local']='local',_0xfa199e['URL']='url',_0xfa199e['Dropbox']='dropbox',_0xfa199e['GDrive']='gdrive',_0xfa199e['Facebook']='facebook',_0xfa199e['GPhotos']='gphotos',_0xfa199e['OneDrive']='onedrive',_0xfa199e;}({});function _(_0x371a83,_0x57ae5e,_0x2766b9){const t=_0x371a83['t'],_0x532642=_0x371a83['t'];switch(_0x57ae5e){case o['Local']:return{'text':_0x532642('Insert'===_0x2766b9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x532642('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x2766b9?_0x532642('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x532642('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x2766b9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x2766b9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x2766b9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x2766b9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x2766b9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x57ae5e;}}class e extends _0x58add4{['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 _0x2d831c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x313ddd;for(const _0x3976b3 in _0x2d831c){const _0x58f378=_0x3976b3,_0x24209d=_0x2d831c[_0x58f378];if('uploadcareLicenseKeyValid'==_0x24209d||'uploadcareLicenseKeyInvalid'==_0x24209d||'uploadcareLicenseKeyExpired'==_0x24209d||'uploadcareLicenseKeyDomainLimit'==_0x24209d||'uploadcareLicenseKeyNotAllowed'==_0x24209d||'uploadcareLicenseKeyEvaluationLimit'==_0x24209d||'uploadcareLicenseKeyTrialLimit'==_0x24209d||'uploadcareLicenseKeyUsageLimit'==_0x24209d){delete _0x2d831c[_0x58f378],_0x313ddd=_0x24209d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x313ddd&&_0x2d831c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x313ddd&&_0x2d831c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x313ddd&&_0x2d831c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x313ddd&&_0x2d831c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x313ddd&&_0x2d831c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x313ddd&&_0x2d831c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x313ddd&&_0x2d831c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4bac6c}=this,_0x2835d9=_0x4bac6c['commands']['get']('uploadcare');if(!_0x2835d9)return;const _0x2754d7=this['_normalizeConfigSourceList'](_0x4bac6c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x14058a,_0x1661eb)=>{const _0x30dc7c=this['_getIntegrationKey'](_0x1661eb['type']);return _0x14058a[_0x30dc7c]||(_0x14058a[_0x30dc7c]=[]),_0x14058a[_0x30dc7c]['push'](_0x1661eb),_0x14058a;},{});_0x4bac6c['plugins']['has']('ImageInsertUI')&&_0x4bac6c['commands']['get']('uploadcare')&&Object['entries'](_0x2754d7)['forEach'](([_0x569b8b,_0x5ebe3c])=>{_0x4bac6c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x569b8b,'observable':()=>_0x2835d9,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5ebe3c),'formViewCreator':()=>this['_createDropdownButtons'](_0x5ebe3c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5ebe3c),'override':'assetManager'!==_0x569b8b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x115d61){const {locale:_0x507e6a}=this['editor'];return _0x115d61['map'](_0x4266d2=>{const _0x214183=_(_0x507e6a,_0x4266d2,'Insert');switch(_0x4266d2){case o['Local']:return{'icon':_0x2d36fb,'type':o['Local'],..._0x214183};case o['URL']:return{'icon':_0x327aef,'type':o['URL'],..._0x214183};case o['Dropbox']:return{'icon':_0x7589f4,'type':o['Dropbox'],..._0x214183};case o['Facebook']:return{'icon':_0x5a1983,'type':o['Facebook'],..._0x214183};case o['GDrive']:return{'icon':_0x2387bd,'type':o['GDrive'],..._0x214183};case o['GPhotos']:return{'icon':_0x153f26,'type':o['GPhotos'],..._0x214183};case o['OneDrive']:return{'icon':_0x39e4bc,'type':o['OneDrive'],..._0x214183};}});}['_getIntegrationKey'](_0x2ee875){switch(_0x2ee875){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2fc2dc,_0x198931){const _0x472e21=this['editor'],_0x5b8e33=new _0x2fc2dc(_0x472e21['locale']),_0x16a2f7=_0x472e21['commands']['get']('uploadcare');return _0x5b8e33['bind']('isEnabled')['to'](_0x16a2f7),_0x5b8e33['on']('execute',()=>{_0x16a2f7['execute'](_0x198931);}),_0x5b8e33;}['_createToolbarButton'](_0x57163a){const {locale:_0x3ccb22}=this['editor'],_0x45c27b=this['editor']['plugins']['get']('ImageInsertUI'),_0x24a655=_0x57163a[0x0],_0x1d5d7a=this['_createButton'](_0x4578a2,_0x24a655['type']);return _0x1d5d7a['icon']=_0x24a655['icon'],_0x1d5d7a['bind']('label')['to'](_0x45c27b,'isImageSelected',_0x21771c=>_(_0x3ccb22,_0x24a655['type'],_0x21771c?'Replace':'Insert')['text']),_0x1d5d7a['tooltip']=!0x0,_0x1d5d7a;}['_createDropdownButtons'](_0xc78fab){const {locale:_0x5b21c9}=this['editor'],_0xdb8292=this['editor']['plugins']['get']('ImageInsertUI');return _0xc78fab['map'](_0x3786a9=>{const _0x2823d4=this['_createButton'](_0x4578a2,_0x3786a9['type']);return _0x2823d4['withText']=!0x0,_0x2823d4['icon']=_0x3786a9['icon'],_0x2823d4['bind']('label')['to'](_0xdb8292,'isImageSelected',_0x176248=>_(_0x5b21c9,_0x3786a9['type'],_0x176248?'Replace':'Insert')['text']),_0x2823d4;});}['_createMenuBarButtons'](_0x230e13){return _0x230e13['map'](_0x40caff=>{const _0x27f684=this['_createButton'](_0x559cd8,_0x40caff['type']);return _0x27f684['icon']=_0x40caff['icon'],_0x27f684['label']=_0x40caff['shortText'],_0x27f684;});}}class q extends _0x4df131{['focusTracker'];['focusCycler'];constructor(_0x32530a){super(_0x32530a),this['focusTracker']=new _0x595275(),this['focusCycler']=new _0x2bb504({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x514ce1){super(_0x514ce1),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x44b768,_0x3df7b2){const _0x382158=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x18b51e=>_0x18b51e<=_0x3df7b2)['map'](_0x5af8c7=>_0x44b768['replace'](/\/$/,'')+'/-/resize/'+_0x5af8c7+'x/\x20'+_0x5af8c7+'w');return{'imageFallbackUrl':_0x44b768,'imageSources':[{'srcset':_0x382158['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3df7b2+'px)\x20100vw,\x20'+_0x3df7b2+'px','type':'image/webp'}]};}function A(_0x2fe7ac,_0x530e50,_0x10cfb7){const _0x4feb72=_0x2fe7ac['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4feb72?parseInt(_0x4feb72[0x1],0xa):_0x530e50,'height':_0x4feb72?parseInt(_0x4feb72[0x2],0xa):_0x10cfb7};}function m(_0x50f56a,_0x322b74){const _0x342d22=Object['create'](_0x2a3242),_0x5d46ed=_0x50f56a['plugins']['get']('ImageUtils'),_0x2b7c17=_0x50f56a['editing']['mapper']['toViewElement'](_0x322b74),_0x5818f4=_0x5d46ed['findViewImgElement'](_0x2b7c17),_0x215c5c=_0x50f56a['editing']['view']['domConverter']['viewToDom'](_0x5818f4),_0x1666b5=_0x322b74['getAttribute']('width'),_0x46f339=_0x322b74['getAttribute']('height'),_0x2f13b7='image-processing';_0x50f56a['editing']['view']['change'](_0x49e876=>{_0x49e876['addClass'](_0x2f13b7,_0x2b7c17),_0x49e876['setStyle']('aspect-ratio',_0x1666b5+'/'+_0x46f339,_0x5818f4);}),_0x342d22['listenTo'](_0x215c5c,'load',()=>{_0x342d22['stopListening'](_0x215c5c,'load'),_0x50f56a['editing']['view']['change'](_0x291e01=>{_0x291e01['removeClass'](_0x2f13b7,_0x2b7c17),_0x291e01['removeStyle']('aspect-ratio',_0x5818f4);});});}function V(_0x4bdc3c){if(Array['isArray'](_0x4bdc3c)){const _0x69795c=_0x4bdc3c['map'](V);return _0x470782=>_0x69795c['some'](_0x31be95=>_0x31be95(_0x470782));}if('origin'==_0x4bdc3c){const _0x4cce2d=_0x1ce9d0['window']['location']['origin'];return _0xe645c2=>new URL(_0xe645c2,_0x1ce9d0['document']['baseURI'])['origin']==_0x4cce2d;}return'function'==typeof _0x4bdc3c?_0x4bdc3c:_0x4bdc3c instanceof RegExp?_0x621124=>!(!_0x621124['match'](_0x4bdc3c)&&!_0x621124['replace'](/^https?:\/\//,'')['match'](_0x4bdc3c)):()=>!0x1;}function F(_0x39c50c,_0x4f7146){return _0x33d703(_0x39c50c['target'])['includes'](_0x4f7146);}class l extends/* #__PURE__ -- @preserve */
24
- _0x38eee3(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4603ac,_0x101b76,_0x152e4b){super(),this['_editor']=_0x4603ac,this['_editing']=_0x101b76,this['_dialog']=_0x4603ac['plugins']['get'](_0x1164fa),this['_api']=_0x101b76['ctxElement']['getAPI'](),this['_type']=_0x152e4b,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:_0x30aa23,model:_0x2f4db8}=this['_editor'],_0x1c93a5=_0x2f4db8['document']['selection']['getSelectedElement'](),_0x1a4f12=_0x1c93a5&&(_0x1c93a5['is']('element','imageBlock')||_0x1c93a5['is']('element','imageInline'));this['_formView']=new S(_0x30aa23),this['_dialog']['show']({'id':'uploadCare','icon':_0x2d36fb,'title':_(_0x30aa23,this['_type'],_0x1a4f12?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x963072['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x418f9a=>!F(_0x418f9a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x49fea8}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x23804f=>{const _0x364d61=_0x49fea8['length'];for(const _0x80d57f of _0x49fea8){const _0x44057f=_0x80d57f===_0x49fea8[_0x364d61-0x1],{cdnUrl:_0x1c5f2a,fileInfo:_0x1f33cc}=_0x80d57f;if(!_0x1c5f2a||!_0x1f33cc)continue;const {width:_0x5b5075,height:_0x701cd4}=_0x1f33cc['imageInfo'],_0x23cebe=A(_0x1c5f2a,_0x5b5075,_0x701cd4),_0x143530=E(_0x1c5f2a,_0x23cebe['width']),_0x292c36={'id':_0x1f33cc['uuid'],'type':'image','attributes':{'imageDimension':_0x23cebe,..._0x143530}};this['_insertAsset'](_0x292c36,_0x44057f,_0x23804f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1127b6=>{'idle'===_0x1127b6['detail']['status']&&!_0x1127b6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1c2bbd,_0x1dfafe,_0x3f679f){const _0x3e1825=this['_editor']['model']['document']['selection'],_0x4433df=_0x3e1825['getSelectedElement'](),_0x36b8e3=!(!_0x4433df||!_0x4433df['is']('element','imageInline'));_0x3f679f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1c2bbd,_0x36b8e3),_0x1dfafe||_0x3f679f['setSelection'](_0x3e1825['getLastPosition']());}['_insertImage'](_0x261ca2,_0x144dd4){const _0x4a3a84=this['_editor'],{imageDimension:_0x3a503c,imageFallbackUrl:_0x5211ac,imageSources:_0x1da0d3}=_0x261ca2['attributes'];_0x4a3a84['execute']('insertImage',{'imageType':_0x144dd4?'imageInline':null,'source':{'uploadcareImageId':_0x261ca2['id'],'src':_0x5211ac,'sources':_0x1da0d3,..._0x3a503c}});}}class n extends _0x155957{['_editing'];['_controller']=null;static get['requires'](){return[_0x1164fa,i];}constructor(_0x5e2bb5){super(_0x5e2bb5),this['_editing']=_0x5e2bb5['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x48bdc4){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x48bdc4);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x41856f,publicKey:_0x3f30f4,signal:_0x417e5c,onProgress:_0x56757e}){return _0x387bea(_0x41856f,{'publicKey':_0x3f30f4,'store':'auto','signal':_0x417e5c,'onProgress':_0x56757e});}static['getInfo'](_0xac0c59,_0x306fe0){return _0x36aaea(_0xac0c59,_0x306fe0);}}class p extends _0x58add4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3f9f34,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4b2bed=this['editor'];if(!!!_0x4b2bed['config']['get']('uploadcare'))return;_0x4b2bed['plugins']['get'](_0x3f9f34)['createUploadAdapter']=_0x423e91=>new x(_0x423e91,_0x4b2bed),_0x4b2bed['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xfe10fd,{imageElement:_0x261367,data:_0x41cb62})=>{_0x4b2bed['model']['change'](_0x465755=>{_0x465755['setAttribute']('uploadcareImageId',_0x41cb62['uploadcareImageId'],_0x261367);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x59e73d,_0x3d0052){this['loader']=_0x59e73d,this['editor']=_0x3d0052,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e967c=this['editor']['config']['get']('uploadcare.pubkey'),_0x133779=await this['loader']['file'];return C['upload']({'file':_0x133779,'publicKey':_0x5e967c,'signal':this['controller']['signal'],'onProgress':_0x5389cc=>{_0x5389cc&&_0x5389cc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5389cc['value']);}})['then'](async _0x2d0004=>{const {imageFallbackUrl:_0x492487,imageSources:_0x1ef942}=E(_0x2d0004['cdnUrl'],_0x2d0004['imageInfo']['width']);return{'uploadcareImageId':_0x2d0004['uuid'],'default':_0x492487,'sources':_0x1ef942};})['catch'](()=>{const _0x5e9e76=t('Cannot\x20upload\x20file:')+('\x20'+_0x133779['name']+'.');return Promise['reject'](_0x5e9e76);});}['abort'](){this['controller']['abort']();}}class i extends _0x58add4{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x1164fa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x56412a=this['editor'];_0x56412a['commands']['add']('uploadcare',new n(_0x56412a));}['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 _0x17b453=_0x1ce9d0['document']['querySelector']('input[uploadcare-file-input]');_0x17b453&&_0x17b453['remove']();}),async function(_0x9f3d68){const _0x54b3b0=_0x1c5dd5([0x30,0x6c,0x34,0x36,0x71,0x45,0x54,0x74,0x61,0x64,0x67,0x4d,0x52,0x41,0x39,0x47,0x79,0x4e,0x5a,0x76,0x6f,0x65,0x70,0x31,0x63,0x51,0x44,0x4f,0x77,0x42,0x37,0x4b,0x59,0x68,0x6d,0x46,0x6b,0x73,0x78,0x57,0x50,0x4a,0x66,0x33,0x43,0x32,0x55,0x38,0x69,0x58,0x62,0x4c,0x56,0x7a,0x75,0x35,0x49,0x72,0x48,0x6a,0x6e,0x53]),_0x2b9cb6=0x6431960e,_0x57f43e=0x6436f006^_0x2b9cb6,_0x1009ba=window[_0x1c5dd5([0x44,0x61,0x74,0x65])][_0x1c5dd5([0x6e,0x6f,0x77])](),_0xb09b81=_0x9f3d68[_0x1c5dd5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xdcce6a=new window[(_0x1c5dd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31474f=>{_0xb09b81[_0x1c5dd5([0x6f,0x6e,0x63,0x65])](_0x1c5dd5([0x72,0x65,0x61,0x64,0x79]),_0x31474f);}),_0x4979a0={[_0x1c5dd5([0x6b,0x74,0x79])]:_0x1c5dd5([0x45,0x43]),[_0x1c5dd5([0x75,0x73,0x65])]:_0x1c5dd5([0x73,0x69,0x67]),[_0x1c5dd5([0x63,0x72,0x76])]:_0x1c5dd5([0x50,0x2d,0x32,0x35,0x36]),[_0x1c5dd5([0x78])]:_0x1c5dd5([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]),[_0x1c5dd5([0x79])]:_0x1c5dd5([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]),[_0x1c5dd5([0x61,0x6c,0x67])]:_0x1c5dd5([0x45,0x53,0x32,0x35,0x36])},_0x4ca90c=_0xb09b81[_0x1c5dd5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c5dd5([0x67,0x65,0x74])](_0x1c5dd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x267916(){let _0x2d2144,_0x64b435=null,_0xe33752=null;try{if(_0x4ca90c==_0x1c5dd5([0x47,0x50,0x4c]))return _0x1c5dd5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d2144=_0x8b9535(),!_0x2d2144)return _0x1c5dd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d2144[_0x1c5dd5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe33752=_0x2ed3b0(_0x2d2144[_0x1c5dd5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d2144[_0x1c5dd5([0x6a,0x74,0x69])])),await _0x2351ae()?_0x58a35d()?_0x186f12()?_0x1c5dd5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4263c1()?(_0x2d2144[_0x1c5dd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c5dd5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x64b435=_0x472750(_0x1c5dd5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d2144[_0x1c5dd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c5dd5([0x74,0x72,0x69,0x61,0x6c])&&(_0x64b435=_0x472750(_0x1c5dd5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa0bc5()):_0x1c5dd5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c5dd5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c5dd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x56c38c){return _0x1c5dd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x186f12(){const _0x4ae0d8=[_0x1c5dd5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c5dd5([0x74,0x72,0x69,0x61,0x6c])][_0x1c5dd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d2144[_0x1c5dd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1009ba/0x3e8:0xe10*_0x57f43e;return _0x2d2144[_0x1c5dd5([0x65,0x78,0x70])]<_0x4ae0d8;}function _0x58a35d(){const _0x35c55f=_0x2d2144[_0x1c5dd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35c55f&&(!!_0x35c55f[_0x1c5dd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5dd5([0x2a]))||!!_0x35c55f[_0x1c5dd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5dd5([0x55,0x50,0x4c,0x43])));}function _0x4263c1(){const _0x3bd0d8=_0x2d2144[_0x1c5dd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3bd0d8||0x0==_0x3bd0d8[_0x1c5dd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5129b3}=new URL(window[_0x1c5dd5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3bd0d8[_0x1c5dd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5129b3))return!0x0;const _0x2d2c77=_0x5129b3[_0x1c5dd5([0x73,0x70,0x6c,0x69,0x74])](_0x1c5dd5([0x2e]));return _0x3bd0d8[_0x1c5dd5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d27f0=>_0x3d27f0[_0x1c5dd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5dd5([0x2a])))[_0x1c5dd5([0x6d,0x61,0x70])](_0x2c2884=>_0x2c2884[_0x1c5dd5([0x73,0x70,0x6c,0x69,0x74])](_0x1c5dd5([0x2e])))[_0x1c5dd5([0x73,0x6f,0x6d,0x65])](_0x146e7b=>_0x2d2c77[_0x1c5dd5([0x65,0x76,0x65,0x72,0x79])]((_0x45c206,_0x50b6ed)=>_0x146e7b[_0x50b6ed]===_0x45c206||_0x146e7b[_0x50b6ed]===_0x1c5dd5([0x2a])));}function _0xa0bc5(){return _0x64b435&&_0xe33752?new window[(_0x1c5dd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3672b3,_0x1f9cb9)=>{_0x64b435[_0x1c5dd5([0x74,0x68,0x65,0x6e])](_0x3672b3,_0x1f9cb9),_0xe33752[_0x1c5dd5([0x74,0x68,0x65,0x6e])](_0x222741=>{_0x222741!=_0x1c5dd5([0x56,0x61,0x6c,0x69,0x64])&&_0x3672b3(_0x222741);},_0x1f9cb9);}):_0x64b435||_0xe33752||_0x1c5dd5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ed3b0(_0x17d9d8,_0x3cd6cc){return new window[(_0x1c5dd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x126c03=>{if(_0x17ed50())return _0x126c03(_0x1c5dd5([0x56,0x61,0x6c,0x69,0x64]));_0x4a73d7(),_0xb09b81[_0x1c5dd5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c5dd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d5fb2=!0x1;const _0xdce542=_0x13862c();function _0x2b33a4(_0x5ee0a2){return!!_0x5ee0a2&&(typeof _0x5ee0a2===_0x1c5dd5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ee0a2===_0x1c5dd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ee0a2[_0x1c5dd5([0x74,0x68,0x65,0x6e])]===_0x1c5dd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ee0a2[_0x1c5dd5([0x63,0x61,0x74,0x63,0x68])]===_0x1c5dd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x36bf1c(_0x1ae56e){_0xb19454(_0x1ae56e)[_0x1c5dd5([0x74,0x68,0x65,0x6e])](_0x53ae3d=>{if(!_0x53ae3d||_0x53ae3d[_0x1c5dd5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c5dd5([0x6f,0x6b]))return _0x1c5dd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd19e6d(_0x3b9e03(_0xdce542+_0x3cd6cc))!=_0x53ae3d[_0x1c5dd5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c5dd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c5dd5([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c5dd5([0x74,0x68,0x65,0x6e])](_0x1e7cee=>(_0x512032(),_0x1e7cee),()=>{const _0x46b0b1=_0x2eb9df();return null==_0x46b0b1?(_0x512032(),_0x1c5dd5([0x56,0x61,0x6c,0x69,0x64])):_0x1c5dd5(_0x1009ba-_0x46b0b1>(0x403d120e^_0x2b9cb6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c5dd5([0x74,0x68,0x65,0x6e])](_0x126c03)[_0x1c5dd5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x126c03(_0x1c5dd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xca5dfb=0x6407788e^_0x2b9cb6;function _0x512032(){const _0x23b5f5=_0x1c5dd5([0x6c,0x6c,0x63,0x74,0x2d])+_0xd19e6d(_0x3b9e03(_0x17d9d8)),_0x3b2ee8=_0x367364(_0xd19e6d(window[_0x1c5dd5([0x4d,0x61,0x74,0x68])][_0x1c5dd5([0x63,0x65,0x69,0x6c])](_0x1009ba/_0xca5dfb)));window[_0x1c5dd5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c5dd5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23b5f5,_0x3b2ee8);}function _0x2eb9df(){const _0x9c9a8e=_0x1c5dd5([0x6c,0x6c,0x63,0x74,0x2d])+_0xd19e6d(_0x3b9e03(_0x17d9d8)),_0x46ec94=window[_0x1c5dd5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c5dd5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9c9a8e);return _0x46ec94?window[_0x1c5dd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x367364(_0x46ec94),0x10)*_0xca5dfb:null;}function _0xb19454(_0x2e2835){return new window[(_0x1c5dd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x176cf7,_0x548a92)=>{_0x2e2835[_0x1c5dd5([0x74,0x68,0x65,0x6e])](_0x176cf7,_0x548a92),window[_0x1c5dd5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x548a92,0x643042ce^_0x2b9cb6);});}}_0xb09b81[_0x1c5dd5([0x6f,0x6e])](_0x1c5dd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x214a2d,_0x517d9d)=>{if(_0x517d9d[0x0]!=_0x17d9d8)return _0x126c03(_0x1c5dd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x517d9d[0x1]={..._0x517d9d[0x1],[_0x1c5dd5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xdce542};},{[_0x1c5dd5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c5dd5([0x68,0x69,0x67,0x68])}),_0xb09b81[_0x1c5dd5([0x6f,0x6e])](_0x1c5dd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b3653=>{_0x2b33a4(_0x5b3653[_0x1c5dd5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d5fb2=!0x0,_0x36bf1c(_0x5b3653[_0x1c5dd5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c5dd5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c5dd5([0x6c,0x6f,0x77])}),_0xdcce6a[_0x1c5dd5([0x74,0x68,0x65,0x6e])](()=>{_0x5d5fb2||_0x126c03(_0x1c5dd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17ed50(){return _0xb09b81[_0x1c5dd5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c5dd5([0x76,0x69,0x65,0x77])][_0x1c5dd5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c5dd5([0x61,0x75,0x74,0x6f]);}function _0x4a73d7(){_0xb09b81[_0x1c5dd5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c5dd5([0x76,0x69,0x65,0x77])][_0x1c5dd5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c5dd5([0x61,0x75,0x74,0x6f]);}}function _0x472750(_0x5dad6f){const _0x128917=[new window[(_0x1c5dd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x191474=>setTimeout(_0x191474,0x6438a8c2^_0x2b9cb6)),_0xdcce6a[_0x1c5dd5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c5dd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2568d1=>{let _0x14a0c1=0x0;_0xb09b81[_0x1c5dd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5dd5([0x6f,0x6e])](_0x1c5dd5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3026d8,_0x385f99)=>{_0x385f99[0x0][_0x1c5dd5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14a0c1++,_0x14a0c1==(0x643197f6^_0x2b9cb6)&&(_0x2568d1(),_0x3026d8[_0x1c5dd5([0x6f,0x66,0x66])]());});}))];return window[_0x1c5dd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c5dd5([0x72,0x61,0x63,0x65])](_0x128917)[_0x1c5dd5([0x74,0x68,0x65,0x6e])](()=>_0x5dad6f);}async function _0x41ff04(){await _0xdcce6a,_0xb09b81[_0x1c5dd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5dd5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52049c,_0xb09b81[_0x1c5dd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5dd5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52049c,_0xb09b81[_0x1c5dd5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c5dd5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45e991(_0x575491){const _0x1fef75=_0xa61fae();_0xb09b81[_0x1fef75]=_0x1c5dd5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x575491,_0x575491!=_0x1c5dd5([0x56,0x61,0x6c,0x69,0x64])&&_0x41ff04();}function _0xa61fae(){const _0x178752=window[_0x1c5dd5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c5dd5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c5dd5([0x6e,0x6f,0x77])]())[_0x1c5dd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c5dd5([0x2e]),'');let _0x2b8431=_0x1c5dd5([0x6c]);for(let _0x11d853=0x0;_0x11d853<_0x178752[_0x1c5dd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11d853+=0x2){let _0x5a5229=window[_0x1c5dd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x178752[_0x1c5dd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11d853,_0x11d853+0x2));_0x5a5229>=_0x54b3b0[_0x1c5dd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a5229-=_0x54b3b0[_0x1c5dd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b8431+=_0x54b3b0[_0x5a5229];}return _0x2b8431;}function _0x8b9535(){const _0x1ce772=_0x4ca90c[_0x1c5dd5([0x73,0x70,0x6c,0x69,0x74])](_0x1c5dd5([0x2e]));if(0x3!=_0x1ce772[_0x1c5dd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3665bb(_0x1ce772[0x1]);function _0x3665bb(_0xdc63d0){const _0x5546bd=_0x156fc7(_0xdc63d0);return _0x5546bd&&_0x375043()?_0x5546bd:null;function _0x375043(){const _0xd94c64=_0x5546bd[_0x1c5dd5([0x6a,0x74,0x69])],_0x5b2121=window[_0x1c5dd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd94c64[_0x1c5dd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd94c64[_0x1c5dd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d424e={..._0x5546bd,[_0x1c5dd5([0x6a,0x74,0x69])]:_0xd94c64[_0x1c5dd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd94c64[_0x1c5dd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d424e[_0x1c5dd5([0x76,0x63])],_0x3b9e03(_0x5d424e)==_0x5b2121;}}}async function _0x2351ae(){let _0x506158=!0x0;try{const _0x2b75b9=_0x4ca90c[_0x1c5dd5([0x73,0x70,0x6c,0x69,0x74])](_0x1c5dd5([0x2e])),[_0x5a4d88,_0x588eb7,_0x479126]=_0x2b75b9;return _0x3ebcf4(_0x5a4d88),await _0x5cd4fa(_0x5a4d88,_0x588eb7,_0x479126),_0x506158;}catch(_0x41fe9c){return!0x1;}function _0x3ebcf4(_0x57166a){const _0x164a02=_0x156fc7(_0x57166a);_0x164a02&&_0x164a02[_0x1c5dd5([0x61,0x6c,0x67])]==_0x1c5dd5([0x45,0x53,0x32,0x35,0x36])||(_0x506158=!0x1);}async function _0x5cd4fa(_0x4c8adc,_0x512026,_0x2d7b35){const _0x3f8d07=window[_0x1c5dd5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c5dd5([0x66,0x72,0x6f,0x6d])](_0x51d166(_0x2d7b35),_0x2d4cbf=>_0x2d4cbf[_0x1c5dd5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x122324=new window[(_0x1c5dd5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c5dd5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c8adc+_0x1c5dd5([0x2e])+_0x512026),_0xa95f40=window[_0x1c5dd5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c5dd5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa95f40)return;const _0x292817=await _0xa95f40[_0x1c5dd5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c5dd5([0x6a,0x77,0x6b]),_0x4979a0,{[_0x1c5dd5([0x6e,0x61,0x6d,0x65])]:_0x1c5dd5([0x45,0x43,0x44,0x53,0x41]),[_0x1c5dd5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c5dd5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c5dd5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa95f40[_0x1c5dd5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c5dd5([0x6e,0x61,0x6d,0x65])]:_0x1c5dd5([0x45,0x43,0x44,0x53,0x41]),[_0x1c5dd5([0x68,0x61,0x73,0x68])]:{[_0x1c5dd5([0x6e,0x61,0x6d,0x65])]:_0x1c5dd5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x292817,_0x3f8d07,_0x122324)||(_0x506158=!0x1);}}function _0x156fc7(_0x7f613e){return _0x7f613e[_0x1c5dd5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c5dd5([0x65,0x79]))?JSON[_0x1c5dd5([0x70,0x61,0x72,0x73,0x65])](_0x51d166(_0x7f613e)):null;}function _0x51d166(_0x2f45af){return window[_0x1c5dd5([0x61,0x74,0x6f,0x62])](_0x2f45af[_0x1c5dd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c5dd5([0x2b]))[_0x1c5dd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c5dd5([0x2f])));}function _0x3b9e03(_0x4091bd){let _0x2599f2=0x1505;function _0x5c611d(_0x150726){for(let _0x43aa19=0x0;_0x43aa19<_0x150726[_0x1c5dd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43aa19++){const _0x3330dd=_0x150726[_0x1c5dd5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43aa19);_0x2599f2=(_0x2599f2<<0x5)+_0x2599f2+_0x3330dd,_0x2599f2&=_0x2599f2;}}function _0x1aa94f(_0x22cead){Array[_0x1c5dd5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22cead)?_0x22cead[_0x1c5dd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1aa94f):_0x22cead&&typeof _0x22cead==_0x1c5dd5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c5dd5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22cead)[_0x1c5dd5([0x73,0x6f,0x72,0x74])]()[_0x1c5dd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc5ed03,_0x2c9bbe])=>{_0x5c611d(_0xc5ed03),_0x1aa94f(_0x2c9bbe);}):_0x5c611d(window[_0x1c5dd5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22cead));}return _0x1aa94f(_0x4091bd),_0x2599f2>>>0x0;}function _0xd19e6d(_0x3575bb){return _0x3575bb[_0x1c5dd5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c5dd5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c5dd5([0x30]));}function _0x367364(_0x28d9d7){return _0x28d9d7[_0x1c5dd5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c5dd5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c5dd5([0x6a,0x6f,0x69,0x6e])]('');}function _0x52049c(){}function _0x1c5dd5(_0x951693){return _0x951693['map'](_0x595719=>String['fromCharCode'](_0x595719))['join']('');}_0x45e991(await _0x267916());}(this);}['_initSchema'](){const _0x500722=this['editor']['model']['schema'];_0x500722['isRegistered']('imageBlock')&&_0x500722['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x500722['isRegistered']('imageInline')&&_0x500722['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x590a92=this['editor'];_0x590a92['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x590a92['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x222c96=>_0x222c96['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1bf828=_0x590a92['commands']['get']('replaceImageSource');_0x1bf828&&this['listenTo'](_0x1bf828,'cleanupImage',(_0x4a17b2,[_0xf34783,_0x4fb589])=>{_0xf34783['removeAttribute']('uploadcareImageId',_0x4fb589);});}['_initConfig'](){const _0x4b7c1d=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5b16be=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4a345f(_0x1ce9d0['document'],'uc-config',{..._0x4b7c1d,'pubkey':_0x5b16be,'ctx-name':'uploader','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']=_0x3f2b8c=>{if('closeMax'==_0x3f2b8c)return'#uc-icon-arrow-down';},_0x1ce9d0['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4a345f(_0x1ce9d0['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x1ce9d0['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5dcb07=this['editor']['commands']['get']('insertImage');_0x5dcb07&&this['listenTo'](_0x5dcb07,'execute',()=>{const _0x1e6cdc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1e6cdc&&_0x1e6cdc['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1e6cdc);});});const _0x55cabe=this['editor']['commands']['get']('uploadcareImageReplace');_0x55cabe&&this['listenTo'](_0x55cabe,'execute',()=>{const _0x4a5007=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a5007&&_0x4a5007['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4a5007);});});}}class u extends _0x58add4{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd66ae2){super(_0xd66ae2),_0xd66ae2['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x4b1b0b['defineComponents'](_0x4b1b0b);}}class ta extends _0x4df131{constructor(_0x315e67){super(_0x315e67);const t=_0x315e67['t'],_0x35bd29=this['bindTemplate'],_0x39e1ff=new _0x2c0fc0();_0x39e1ff['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':[_0x39e1ff,{'text':_0x35bd29['to']('imageUploadProgress',_0x1b2010=>t('Loading\x20image...')+'\x20('+(_0x1b2010||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 rt extends _0x4df131{constructor(_0x1cef11){super(_0x1cef11);const t=_0x1cef11['t'];this['set']('errorType',null);const _0x3e6e67=new _0x4578a2(_0x1cef11);_0x3e6e67['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3e6e67['withText']=!0x0,_0x3e6e67['class']='ck-button-action',_0x3e6e67['on']('execute',()=>{this['fire']('retry');}),_0x3e6e67['bind']('isVisible')['to'](this,'errorType',_0x508a87=>'NotFound'!==_0x508a87);const _0x2efe0c=new at();_0x2efe0c['content']=et,_0x2efe0c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x45eb95=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':[_0x2efe0c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x45eb95['to']('errorType',_0x54aa1b=>t('NotFound'!==_0x54aa1b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3e6e67]},{'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 tt extends _0x4df131{constructor(_0xea452b,_0x26f6ba){super(_0xea452b);const _0x1d269b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x26f6ba,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1d269b['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1696a1,_0x583e2c,_0x4b61cb){super(_0x1696a1),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x1696a1),this['_errorView']=new rt(_0x1696a1),this['_editingView']=new tt(_0x1696a1,_0x4b61cb),this['_focusableView']=new _0x4df131(_0x1696a1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x583e2c),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'],_0x1e62ba=>{this['_addUploadcareImageEditorListeners'](_0x1e62ba);});}),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'](_0x36d3e9,_0x5ed60a){const _0x111672='uc-cloud-image-editor',_0x41a04a=_0x36d3e9['querySelector'](_0x111672);if(_0x41a04a)return _0x5ed60a(_0x41a04a);const _0xe6e310=new MutationObserver(_0x26cf68=>{const _0x2a521c=_0x26cf68['filter'](_0x5aab01=>_0x5aab01['target']===_0x36d3e9&&_0x5aab01['addedNodes']['length']>0x0&&_0x5aab01['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x111672);_0x2a521c['length']&&(_0xe6e310['disconnect'](),_0x5ed60a(_0x2a521c[0x0]['addedNodes'][0x0]));});_0xe6e310['observe'](_0x36d3e9,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x587655){_0x587655['addEventListener']('apply',_0x39b89d=>{this['fire']('apply',{'imageSrc':_0x39b89d['detail']['cdnUrl']});}),_0x587655['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x38eee3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x8b83be,_0x117a4d,_0x3c5c96){super(),this['_editor']=_0x8b83be,this['_dialog']=_0x117a4d,this['_imageElement']=_0x3c5c96,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 _0x325e4f=this['_imageElement'],_0x33b1dd=_0x325e4f['getAttribute']('uploadcareImageId'),_0x22e79b=_0x325e4f['getAttribute']('src');if(_0x33b1dd)await this['_loadImageInfo'](_0x33b1dd,_0x22e79b);else{if(this['_imageCache']['has'](_0x22e79b)){const _0x17d228=this['_imageCache']['get'](_0x22e79b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17d228['url'],this['imageDimension']=_0x17d228['dimension'],this['imageId']=_0x17d228['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5ccba7}=this['_editor'],t=_0x5ccba7['t'],_0xc8293=new Z(_0x5ccba7,this['imageStatus'],this['_attributes']);_0xc8293['bind']('status')['to'](this,'imageStatus'),_0xc8293['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xc8293['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xc8293['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xc8293,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b0328,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xc8293,'position':_0x963072['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xc8293['focus']();},'onHide':()=>{_0xc8293['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51a302=>!F(_0x51a302,_0xc8293['element'])}});}['_loadImageInfo'](_0x498af2,_0x494401){return C['getInfo'](_0x498af2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xf434db=>{const {width:_0x3c4062,height:_0x537a3b}=_0xf434db['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x494401,this['imageDimension']={'width':_0x3c4062,'height':_0x537a3b},this['imageId']=_0x498af2;})['catch'](_0x22f200=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22f200['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x178a3d,_0x58833e){return this['_getImageAsFile'](_0x178a3d)['then'](_0x3d283a=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x58833e['signal'],'file':_0x3d283a,'onProgress':_0x38cc65=>{_0x38cc65&&_0x38cc65['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x38cc65['value']));}}))['then'](_0x531eb5=>{const {width:_0x223398,height:_0x48ceb1}=_0x531eb5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x531eb5['cdnUrl'],this['imageDimension']={'width':_0x223398,'height':_0x48ceb1},this['imageId']=_0x531eb5['uuid'],this['imageUploadProgress']=null;const _0x17562d=_0x178a3d['getAttribute']('src');this['_imageCache']['set'](_0x17562d,{'id':_0x531eb5['uuid'],'url':_0x531eb5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x45d157=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45d157['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b6841,_0x30aa85){_0x1b6841['on']('apply',(_0x59a750,_0x3b37bf)=>{this['_replaceImage'](_0x30aa85,_0x3b37bf['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b6841['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b6841['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x31571f,_0x6d9851,_0x9b0d28){const _0x1eb1af=this['_editor'],{width:_0x55fa38,height:_0x5c6b49}=A(_0x6d9851,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x10dcf7,imageSources:_0x4b849a}=E(_0x6d9851,_0x55fa38);_0x1eb1af['model']['change'](_0x4c7915=>{if('$graveyard'===_0x31571f['root']['rootName']){_0x1eb1af['execute']('insertImage',{'imageType':_0x31571f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x31571f['getAttributes']()),'uploadcareImageId':_0x9b0d28,'src':_0x10dcf7,'sources':_0x4b849a,'width':_0x55fa38,'height':_0x5c6b49}});const _0x12d88b=_0x31571f['getChildren']();_0x31571f=_0x1eb1af['model']['document']['selection']['getSelectedElement']();for(const _0x4142d0 of _0x12d88b)_0x4c7915['append'](_0x4c7915['cloneElement'](_0x4142d0),_0x31571f);}else _0x4c7915['setSelection'](_0x31571f,'on'),_0x1eb1af['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x31571f['getAttributes']()),'uploadcareImageId':_0x9b0d28,'src':_0x10dcf7,'sources':_0x4b849a,'width':_0x55fa38,'height':_0x5c6b49},_0x31571f);_0x4c7915['setSelection'](_0x31571f,'on');});}async['_getImageAsFile'](_0x172751){const _0x9b7c76=_0x1ce9d0['window'],_0x194f3d=_0x1ce9d0['document']['location']['href'],_0x30d0d2=new _0x9b7c76['URL'](_0x172751['getAttribute']('src'),_0x194f3d);if('data:'===_0x30d0d2['protocol']){const _0x59c746=_0x30d0d2['href']['split'](','),_0xda600=_0x59c746[0x0]['match'](/:(.*?);/)[0x1],_0x32f4e6=_0xda600['split']('/')[0x1],_0x5e92e7=_0x9b7c76['atob'](_0x59c746[_0x59c746['length']-0x1]);let _0x26d721=_0x5e92e7['length'];const _0x5589ed=new _0x9b7c76['Uint8Array'](_0x26d721);for(;_0x26d721--;)_0x5589ed[_0x26d721]=_0x5e92e7['charCodeAt'](_0x26d721);return new _0x9b7c76['File']([_0x5589ed],'image.'+_0x32f4e6,{'type':_0xda600});}const _0x5570fe=_0x30d0d2['href']['split']('/'),_0x8bae9a=_0x5570fe[_0x5570fe['length']-0x1],_0x2656f5=_0x8bae9a['split']('.')[0x1];return _0x9b7c76['fetch'](_0x30d0d2['href'])['then'](_0x2f8ba6=>_0x2f8ba6['clone']()['blob']())['then'](_0x188211=>new _0x9b7c76['File']([_0x188211],_0x8bae9a,{'type':'image/'+_0x2656f5}));}}class J extends _0x155957{['imageEditController'];static get['requires'](){return[_0x1164fa];}['_isEditable'];constructor(_0x4bc57c){super(_0x4bc57c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1232bc){const _0x542af3=V(_0x1232bc);return _0x1d5623=>!(!_0x1d5623||!_0x1d5623['is']('element','imageBlock')&&!_0x1d5623['is']('element','imageInline'))&&(!!_0x1d5623['hasAttribute']('uploadcareImageId')||!!_0x1d5623['hasAttribute']('src')&&_0x542af3(_0x1d5623['getAttribute']('src')));}(_0x4bc57c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4125dc=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4125dc);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xd6f25a=this['editor']['model']['document']['selection']['getSelectedElement']();_0xd6f25a&&(_0xd6f25a['is']('element','imageBlock')||_0xd6f25a['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x1164fa),_0xd6f25a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x155957{['refresh'](){const _0x2697da=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2697da&&(_0x2697da['is']('element','imageBlock')||_0x2697da['is']('element','imageInline')));}['execute'](_0x312ce9){const _0x2d7cf1=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xd191ec=>{_0xd191ec['setAttributes'](_0x312ce9,_0x2d7cf1),_0xd191ec['removeAttribute']('srcset',_0x2d7cf1),_0xd191ec['removeAttribute']('sizes',_0x2d7cf1);});}}class g extends _0x58add4{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3d0aba,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1e03a1}=this;_0x1e03a1['commands']['add']('uploadcareImageEdit',new J(_0x1e03a1)),_0x1e03a1['commands']['add']('uploadcareImageReplace',new O(_0x1e03a1));}}class j extends _0x58add4{['_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 _0x346361=this['editor'];_0x346361['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4a704a=>{const _0x56444c=_0x346361['commands']['get']('uploadcareImageEdit'),_0x44c8b5=new _0x4578a2(_0x4a704a),t=_0x4a704a['t'];return _0x44c8b5['set']({'icon':_0x2b0328,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x44c8b5['bind']('isEnabled')['to'](_0x56444c),_0x44c8b5['bind']('isOn')['to'](_0x56444c,'isActive'),this['listenTo'](_0x44c8b5,'execute',()=>{_0x346361['execute']('uploadcareImageEdit'),_0x346361['editing']['view']['focus']();}),_0x44c8b5;}),this['_initConfig']();}['_initConfig'](){const _0x1f813c=_0x4a345f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1f813c),this['listenTo'](this['editor'],'destroy',()=>{_0x1f813c['remove']();});}}class P extends _0x58add4{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x32e6eb,Command as _0x2254c4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x33ad9d,IconGooglePhotos as _0x506853,IconGoogleDrive as _0x23721f,IconFacebook as _0x29baae,IconDropbox as _0xea7bec,IconUploadcareLink as _0x193ea5,IconUploadcareImageUpload as _0x602986,IconError as et,IconUploadcareImageEdit as _0x2bb978}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x56a80d,MenuBarMenuListItemButtonView as _0x415625,View as _0x52e0f3,FocusCycler as _0x2930d0,Dialog as _0x173b80,DialogViewPosition as _0x45ce82,SpinnerView as _0x27ec92,IconView as at,Notification as _0x5f5e05}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3f116f,DomEmitterMixin as _0x1fa29e,global as _0x2f4c76,getAncestors as _0x219828,ObservableMixin as _0x923871,createElement as _0x48642c,uid as _0x5d43fc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5d9644}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xc2975a,info as _0x3c09f2}from'@uploadcare/upload-client';import*as _0x14d9fd from'@uploadcare/file-uploader';var o=function(_0x4c08d2){return _0x4c08d2['Local']='local',_0x4c08d2['URL']='url',_0x4c08d2['Dropbox']='dropbox',_0x4c08d2['GDrive']='gdrive',_0x4c08d2['Facebook']='facebook',_0x4c08d2['GPhotos']='gphotos',_0x4c08d2['OneDrive']='onedrive',_0x4c08d2;}({});function _(_0x5b569e,_0x3432f6,_0x22b76c){const t=_0x5b569e['t'],_0x2ed9c9=_0x5b569e['t'];switch(_0x3432f6){case o['Local']:return{'text':_0x2ed9c9('Insert'===_0x22b76c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2ed9c9('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x22b76c?_0x2ed9c9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2ed9c9('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x22b76c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x22b76c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x22b76c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x22b76c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x22b76c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3432f6;}}class e extends _0x32e6eb{['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 _0x1a459c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb0421;for(const _0x2307dc in _0x1a459c){const _0x21810f=_0x2307dc,_0x36710e=_0x1a459c[_0x21810f];if('uploadcareLicenseKeyValid'==_0x36710e||'uploadcareLicenseKeyInvalid'==_0x36710e||'uploadcareLicenseKeyExpired'==_0x36710e||'uploadcareLicenseKeyDomainLimit'==_0x36710e||'uploadcareLicenseKeyNotAllowed'==_0x36710e||'uploadcareLicenseKeyEvaluationLimit'==_0x36710e||'uploadcareLicenseKeyTrialLimit'==_0x36710e||'uploadcareLicenseKeyUsageLimit'==_0x36710e){delete _0x1a459c[_0x21810f],_0xb0421=_0x36710e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xb0421&&_0x1a459c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xb0421&&_0x1a459c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xb0421&&_0x1a459c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xb0421&&_0x1a459c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xb0421&&_0x1a459c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xb0421&&_0x1a459c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xb0421&&_0x1a459c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2e5ae8}=this,_0x3bd253=_0x2e5ae8['commands']['get']('uploadcare');if(!_0x3bd253)return;const _0x30fdcf=this['_normalizeConfigSourceList'](_0x2e5ae8['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x50c6d6,_0x24d754)=>{const _0x43a50c=this['_getIntegrationKey'](_0x24d754['type']);return _0x50c6d6[_0x43a50c]||(_0x50c6d6[_0x43a50c]=[]),_0x50c6d6[_0x43a50c]['push'](_0x24d754),_0x50c6d6;},{});_0x2e5ae8['plugins']['has']('ImageInsertUI')&&_0x2e5ae8['commands']['get']('uploadcare')&&Object['entries'](_0x30fdcf)['forEach'](([_0x25e7be,_0x1eb66d])=>{_0x2e5ae8['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x25e7be,'observable':()=>_0x3bd253,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1eb66d),'formViewCreator':()=>this['_createDropdownButtons'](_0x1eb66d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1eb66d),'override':'assetManager'!==_0x25e7be});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x839319){const {locale:_0xa6559}=this['editor'];return _0x839319['map'](_0x12e320=>{const _0xa71c76=_(_0xa6559,_0x12e320,'Insert');switch(_0x12e320){case o['Local']:return{'icon':_0x602986,'type':o['Local'],..._0xa71c76};case o['URL']:return{'icon':_0x193ea5,'type':o['URL'],..._0xa71c76};case o['Dropbox']:return{'icon':_0xea7bec,'type':o['Dropbox'],..._0xa71c76};case o['Facebook']:return{'icon':_0x29baae,'type':o['Facebook'],..._0xa71c76};case o['GDrive']:return{'icon':_0x23721f,'type':o['GDrive'],..._0xa71c76};case o['GPhotos']:return{'icon':_0x506853,'type':o['GPhotos'],..._0xa71c76};case o['OneDrive']:return{'icon':_0x33ad9d,'type':o['OneDrive'],..._0xa71c76};}});}['_getIntegrationKey'](_0x4f17f8){switch(_0x4f17f8){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4f143e,_0x3c05c7){const _0x38e4a6=this['editor'],_0x5b2856=new _0x4f143e(_0x38e4a6['locale']),_0x18dc08=_0x38e4a6['commands']['get']('uploadcare');return _0x5b2856['bind']('isEnabled')['to'](_0x18dc08),_0x5b2856['on']('execute',()=>{_0x18dc08['execute'](_0x3c05c7);}),_0x5b2856;}['_createToolbarButton'](_0x3f0381){const {locale:_0x34bed6}=this['editor'],_0x4fbf18=this['editor']['plugins']['get']('ImageInsertUI'),_0x9064d1=_0x3f0381[0x0],_0xf2e9a6=this['_createButton'](_0x56a80d,_0x9064d1['type']);return _0xf2e9a6['icon']=_0x9064d1['icon'],_0xf2e9a6['bind']('label')['to'](_0x4fbf18,'isImageSelected',_0xdba9cf=>_(_0x34bed6,_0x9064d1['type'],_0xdba9cf?'Replace':'Insert')['text']),_0xf2e9a6['tooltip']=!0x0,_0xf2e9a6;}['_createDropdownButtons'](_0x5362c3){const {locale:_0x2d1d69}=this['editor'],_0x13bad1=this['editor']['plugins']['get']('ImageInsertUI');return _0x5362c3['map'](_0x196048=>{const _0x4d0e16=this['_createButton'](_0x56a80d,_0x196048['type']);return _0x4d0e16['withText']=!0x0,_0x4d0e16['icon']=_0x196048['icon'],_0x4d0e16['bind']('label')['to'](_0x13bad1,'isImageSelected',_0x7e9b80=>_(_0x2d1d69,_0x196048['type'],_0x7e9b80?'Replace':'Insert')['text']),_0x4d0e16;});}['_createMenuBarButtons'](_0x1f374a){return _0x1f374a['map'](_0x59d680=>{const _0x464a92=this['_createButton'](_0x415625,_0x59d680['type']);return _0x464a92['icon']=_0x59d680['icon'],_0x464a92['label']=_0x59d680['shortText'],_0x464a92;});}}class q extends _0x52e0f3{['focusTracker'];['focusCycler'];constructor(_0x4c8ea8){super(_0x4c8ea8),this['focusTracker']=new _0x3f116f(),this['focusCycler']=new _0x2930d0({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x57f42a){super(_0x57f42a),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x16bef2,_0x3973e7){const _0xcf6534=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4caed5=>_0x4caed5<=_0x3973e7)['map'](_0x3c6c03=>_0x16bef2['replace'](/\/$/,'')+'/-/resize/'+_0x3c6c03+'x/\x20'+_0x3c6c03+'w');return{'imageFallbackUrl':_0x16bef2,'imageSources':[{'srcset':_0xcf6534['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3973e7+'px)\x20100vw,\x20'+_0x3973e7+'px','type':'image/webp'}]};}function A(_0xd3183b,_0x3299ab,_0x3ec3d1){const _0x3e1340=_0xd3183b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3e1340?parseInt(_0x3e1340[0x1],0xa):_0x3299ab,'height':_0x3e1340?parseInt(_0x3e1340[0x2],0xa):_0x3ec3d1};}function m(_0x2bfa5e,_0x1ba44a){const _0x2424d2=Object['create'](_0x1fa29e),_0x25c581=_0x2bfa5e['plugins']['get']('ImageUtils'),_0x193417=_0x2bfa5e['editing']['mapper']['toViewElement'](_0x1ba44a),_0x2c1813=_0x25c581['findViewImgElement'](_0x193417),_0x543ccd=_0x2bfa5e['editing']['view']['domConverter']['viewToDom'](_0x2c1813),_0x5e1beb=_0x1ba44a['getAttribute']('width'),_0x2985a0=_0x1ba44a['getAttribute']('height'),_0x2b4fbf='image-processing';_0x2bfa5e['editing']['view']['change'](_0x10969d=>{_0x10969d['addClass'](_0x2b4fbf,_0x193417),_0x10969d['setStyle']('aspect-ratio',_0x5e1beb+'/'+_0x2985a0,_0x2c1813);}),_0x2424d2['listenTo'](_0x543ccd,'load',()=>{_0x2424d2['stopListening'](_0x543ccd,'load'),_0x2bfa5e['editing']['view']['change'](_0x1415cd=>{_0x1415cd['removeClass'](_0x2b4fbf,_0x193417),_0x1415cd['removeStyle']('aspect-ratio',_0x2c1813);});});}function V(_0xc342ae){if(Array['isArray'](_0xc342ae)){const _0x496f83=_0xc342ae['map'](V);return _0x1fdf9d=>_0x496f83['some'](_0x54e5cb=>_0x54e5cb(_0x1fdf9d));}if('origin'==_0xc342ae){const _0x11db1f=_0x2f4c76['window']['location']['origin'];return _0x3dd31a=>new URL(_0x3dd31a,_0x2f4c76['document']['baseURI'])['origin']==_0x11db1f;}return'function'==typeof _0xc342ae?_0xc342ae:_0xc342ae instanceof RegExp?_0x2c4ec4=>!(!_0x2c4ec4['match'](_0xc342ae)&&!_0x2c4ec4['replace'](/^https?:\/\//,'')['match'](_0xc342ae)):()=>!0x1;}function F(_0x20049d,_0x801c46){return _0x219828(_0x20049d['target'])['includes'](_0x801c46);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x923871(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3ad2e5,_0x4d083d,_0x5c873a){super(),this['_editor']=_0x3ad2e5,this['_editing']=_0x4d083d,this['_dialog']=_0x3ad2e5['plugins']['get'](_0x173b80),this['_api']=_0x4d083d['ctxElement']['getAPI'](),this['_type']=_0x5c873a,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:_0x1c74cd,model:_0xa4113}=this['_editor'],_0x164b60=_0xa4113['document']['selection']['getSelectedElement'](),_0xd8b204=_0x164b60&&(_0x164b60['is']('element','imageBlock')||_0x164b60['is']('element','imageInline'));this['_formView']=new S(_0x1c74cd),this['_dialog']['show']({'id':'uploadCare','icon':_0x602986,'title':_(_0x1c74cd,this['_type'],_0xd8b204?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x45ce82['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x11630f=>!F(_0x11630f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3d2a8a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xe89c39=>{const _0x27ce13=_0x3d2a8a['length'];for(const _0x35c35e of _0x3d2a8a){const _0x36e3b8=_0x35c35e===_0x3d2a8a[_0x27ce13-0x1],{cdnUrl:_0x22a29c,fileInfo:_0x1fb589}=_0x35c35e;if(!_0x22a29c||!_0x1fb589)continue;const {width:_0x1cb881,height:_0x174cb9}=_0x1fb589['imageInfo'],_0x2e987=A(_0x22a29c,_0x1cb881,_0x174cb9),_0x399b66=E(_0x22a29c,_0x2e987['width']),_0x460703={'id':_0x1fb589['uuid'],'type':'image','attributes':{'imageDimension':_0x2e987,..._0x399b66}};this['_insertAsset'](_0x460703,_0x36e3b8,_0xe89c39);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3cf1e4=>{'idle'===_0x3cf1e4['detail']['status']&&!_0x3cf1e4['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x59af87,_0x2a899f,_0x39b9a6){const _0xd32dc2=this['_editor']['model']['document']['selection'],_0x4837e2=_0xd32dc2['getSelectedElement'](),_0xab8c13=!(!_0x4837e2||!_0x4837e2['is']('element','imageInline'));_0x39b9a6['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x59af87,_0xab8c13),_0x2a899f||_0x39b9a6['setSelection'](_0xd32dc2['getLastPosition']());}['_insertImage'](_0x25b6d7,_0x1fae78){const _0xb2f759=this['_editor'],{imageDimension:_0x3aeaae,imageFallbackUrl:_0x4e2e9e,imageSources:_0x2046a1}=_0x25b6d7['attributes'];_0xb2f759['execute']('insertImage',{'imageType':_0x1fae78?'imageInline':null,'source':{'uploadcareImageId':_0x25b6d7['id'],'src':_0x4e2e9e,'sources':_0x2046a1,..._0x3aeaae}});}}class n extends _0x2254c4{['_editing'];['_controller']=null;static get['requires'](){return[_0x173b80,i];}constructor(_0x12765e){super(_0x12765e),this['_editing']=_0x12765e['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x8353f2){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x8353f2);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x2edd01,publicKey:_0x3e292e,signal:_0x4ce8fd,onProgress:_0x4cc14e}){return _0xc2975a(_0x2edd01,{'publicKey':_0x3e292e,'store':'auto','signal':_0x4ce8fd,'onProgress':_0x4cc14e});}static['getInfo'](_0x5e488e,_0x2dc7c2){return _0x3c09f2(_0x5e488e,_0x2dc7c2);}}class p extends _0x32e6eb{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5d9644,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x19113d=this['editor'];if(!!!_0x19113d['config']['get']('uploadcare'))return;_0x19113d['plugins']['get'](_0x5d9644)['createUploadAdapter']=_0x20cd52=>new x(_0x20cd52,_0x19113d),_0x19113d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x30ba65,{imageElement:_0x56e3b5,data:_0x29bb06})=>{_0x19113d['model']['change'](_0x332716=>{_0x332716['setAttribute']('uploadcareImageId',_0x29bb06['uploadcareImageId'],_0x56e3b5);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x463ba9,_0x489f7c){this['loader']=_0x463ba9,this['editor']=_0x489f7c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5a33ca=this['editor']['config']['get']('uploadcare.pubkey'),_0x84cea8=await this['loader']['file'];return C['upload']({'file':_0x84cea8,'publicKey':_0x5a33ca,'signal':this['controller']['signal'],'onProgress':_0x1a98f2=>{_0x1a98f2&&_0x1a98f2['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1a98f2['value']);}})['then'](async _0x444b48=>{const {imageFallbackUrl:_0x392ad2,imageSources:_0x5c233a}=E(_0x444b48['cdnUrl'],_0x444b48['imageInfo']['width']);return{'uploadcareImageId':_0x444b48['uuid'],'default':_0x392ad2,'sources':_0x5c233a};})['catch'](()=>{const _0x5379fc=t('Cannot\x20upload\x20file:')+('\x20'+_0x84cea8['name']+'.');return Promise['reject'](_0x5379fc);});}['abort'](){this['controller']['abort']();}}class i extends _0x32e6eb{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x173b80];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x24d092=this['editor'];_0x24d092['commands']['add']('uploadcare',new n(_0x24d092));}['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 _0x39c9a0=_0x2f4c76['document']['querySelector']('input[uploadcare-file-input]');_0x39c9a0&&_0x39c9a0['remove']();}),async function(_0x4f1262){const _0x21e2e9=_0x5d832a([0x42,0x75,0x4d,0x4c,0x52,0x73,0x49,0x36,0x6e,0x64,0x63,0x33,0x47,0x54,0x57,0x67,0x6d,0x6f,0x31,0x6c,0x61,0x7a,0x70,0x53,0x45,0x44,0x34,0x30,0x72,0x74,0x6b,0x6a,0x66,0x50,0x48,0x79,0x77,0x38,0x55,0x59,0x35,0x41,0x46,0x43,0x76,0x5a,0x4b,0x4e,0x39,0x58,0x51,0x78,0x56,0x62,0x32,0x68,0x4a,0x65,0x4f,0x37,0x71,0x69]),_0x5e4ccc=0x21da0d71,_0xb2ef8f=0x21dd6b49^_0x5e4ccc,_0x3227c4=window[_0x5d832a([0x44,0x61,0x74,0x65])][_0x5d832a([0x6e,0x6f,0x77])](),_0x2451cd=_0x4f1262[_0x5d832a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b1a1d=new window[(_0x5d832a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x451aff=>{_0x2451cd[_0x5d832a([0x6f,0x6e,0x63,0x65])](_0x5d832a([0x72,0x65,0x61,0x64,0x79]),_0x451aff);}),_0x206d51={[_0x5d832a([0x6b,0x74,0x79])]:_0x5d832a([0x45,0x43]),[_0x5d832a([0x75,0x73,0x65])]:_0x5d832a([0x73,0x69,0x67]),[_0x5d832a([0x63,0x72,0x76])]:_0x5d832a([0x50,0x2d,0x32,0x35,0x36]),[_0x5d832a([0x78])]:_0x5d832a([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]),[_0x5d832a([0x79])]:_0x5d832a([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]),[_0x5d832a([0x61,0x6c,0x67])]:_0x5d832a([0x45,0x53,0x32,0x35,0x36])},_0x4457ad=_0x2451cd[_0x5d832a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d832a([0x67,0x65,0x74])](_0x5d832a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x206b35(){let _0x35caaa,_0x47aaca=null,_0x1c7014=null;try{if(_0x4457ad==_0x5d832a([0x47,0x50,0x4c]))return _0x5d832a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35caaa=_0x198dcd(),!_0x35caaa)return _0x5d832a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35caaa[_0x5d832a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c7014=_0x2fc43d(_0x35caaa[_0x5d832a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35caaa[_0x5d832a([0x6a,0x74,0x69])])),await _0x3bc753()?_0x231913()?_0x2ddf83()?_0x5d832a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f4a7f()?(_0x35caaa[_0x5d832a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d832a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47aaca=_0x55f159(_0x5d832a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x35caaa[_0x5d832a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d832a([0x74,0x72,0x69,0x61,0x6c])&&(_0x47aaca=_0x55f159(_0x5d832a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2459af()):_0x5d832a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d832a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d832a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x16ac51){return _0x5d832a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ddf83(){const _0xe56259=[_0x5d832a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d832a([0x74,0x72,0x69,0x61,0x6c])][_0x5d832a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35caaa[_0x5d832a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3227c4/0x3e8:0xe10*_0xb2ef8f;return _0x35caaa[_0x5d832a([0x65,0x78,0x70])]<_0xe56259;}function _0x231913(){const _0x382867=_0x35caaa[_0x5d832a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x382867&&(!!_0x382867[_0x5d832a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d832a([0x2a]))||!!_0x382867[_0x5d832a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d832a([0x55,0x50,0x4c,0x43])));}function _0x5f4a7f(){const _0x4454fe=_0x35caaa[_0x5d832a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4454fe||0x0==_0x4454fe[_0x5d832a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b0c72}=new URL(window[_0x5d832a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4454fe[_0x5d832a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0c72))return!0x0;const _0x568706=_0x4b0c72[_0x5d832a([0x73,0x70,0x6c,0x69,0x74])](_0x5d832a([0x2e]));return _0x4454fe[_0x5d832a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36cc37=>_0x36cc37[_0x5d832a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d832a([0x2a])))[_0x5d832a([0x6d,0x61,0x70])](_0xc87dd7=>_0xc87dd7[_0x5d832a([0x73,0x70,0x6c,0x69,0x74])](_0x5d832a([0x2e])))[_0x5d832a([0x73,0x6f,0x6d,0x65])](_0x276184=>_0x568706[_0x5d832a([0x65,0x76,0x65,0x72,0x79])]((_0x5e7a38,_0x230d7d)=>_0x276184[_0x230d7d]===_0x5e7a38||_0x276184[_0x230d7d]===_0x5d832a([0x2a])));}function _0x2459af(){return _0x47aaca&&_0x1c7014?new window[(_0x5d832a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e45e5,_0x42079b)=>{_0x47aaca[_0x5d832a([0x74,0x68,0x65,0x6e])](_0x5e45e5,_0x42079b),_0x1c7014[_0x5d832a([0x74,0x68,0x65,0x6e])](_0x52e9a3=>{_0x52e9a3!=_0x5d832a([0x56,0x61,0x6c,0x69,0x64])&&_0x5e45e5(_0x52e9a3);},_0x42079b);}):_0x47aaca||_0x1c7014||_0x5d832a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2fc43d(_0x22263e,_0x223fc7){return new window[(_0x5d832a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x117dc3=>{if(_0x137d75())return _0x117dc3(_0x5d832a([0x56,0x61,0x6c,0x69,0x64]));_0x26a639(),_0x2451cd[_0x5d832a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d832a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x11bde0=!0x1;const _0x41f9d3=_0x5d43fc();function _0x4dc6a1(_0x51adfd){return!!_0x51adfd&&(typeof _0x51adfd===_0x5d832a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51adfd===_0x5d832a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51adfd[_0x5d832a([0x74,0x68,0x65,0x6e])]===_0x5d832a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51adfd[_0x5d832a([0x63,0x61,0x74,0x63,0x68])]===_0x5d832a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x585546(_0x3be9d2){_0x155b77(_0x3be9d2)[_0x5d832a([0x74,0x68,0x65,0x6e])](_0x8817a9=>{if(!_0x8817a9||_0x8817a9[_0x5d832a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d832a([0x6f,0x6b]))return _0x5d832a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1954ea(_0x376b53(_0x41f9d3+_0x223fc7))!=_0x8817a9[_0x5d832a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d832a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d832a([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d832a([0x74,0x68,0x65,0x6e])](_0x3ba261=>(_0x21440f(),_0x3ba261),()=>{const _0x38a55b=_0x1e5eca();return null==_0x38a55b?(_0x21440f(),_0x5d832a([0x56,0x61,0x6c,0x69,0x64])):_0x5d832a(_0x3227c4-_0x38a55b>(0x5d68971^_0x5e4ccc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d832a([0x74,0x68,0x65,0x6e])](_0x117dc3)[_0x5d832a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x117dc3(_0x5d832a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x116862=0x21ece3f1^_0x5e4ccc;function _0x21440f(){const _0xe13c8b=_0x5d832a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1954ea(_0x376b53(_0x22263e)),_0x2e89e1=_0x1a64a9(_0x1954ea(window[_0x5d832a([0x4d,0x61,0x74,0x68])][_0x5d832a([0x63,0x65,0x69,0x6c])](_0x3227c4/_0x116862)));window[_0x5d832a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d832a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe13c8b,_0x2e89e1);}function _0x1e5eca(){const _0x3b47e5=_0x5d832a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1954ea(_0x376b53(_0x22263e)),_0x29894d=window[_0x5d832a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d832a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b47e5);return _0x29894d?window[_0x5d832a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a64a9(_0x29894d),0x10)*_0x116862:null;}function _0x155b77(_0xd0fd99){return new window[(_0x5d832a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55146c,_0x4694e3)=>{_0xd0fd99[_0x5d832a([0x74,0x68,0x65,0x6e])](_0x55146c,_0x4694e3),window[_0x5d832a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4694e3,0x21dbd9b1^_0x5e4ccc);});}}_0x2451cd[_0x5d832a([0x6f,0x6e])](_0x5d832a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2bbf7e,_0x9ffb8d)=>{if(_0x9ffb8d[0x0]!=_0x22263e)return _0x117dc3(_0x5d832a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x9ffb8d[0x1]={..._0x9ffb8d[0x1],[_0x5d832a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41f9d3};},{[_0x5d832a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d832a([0x68,0x69,0x67,0x68])}),_0x2451cd[_0x5d832a([0x6f,0x6e])](_0x5d832a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x588deb=>{_0x4dc6a1(_0x588deb[_0x5d832a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x11bde0=!0x0,_0x585546(_0x588deb[_0x5d832a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d832a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d832a([0x6c,0x6f,0x77])}),_0x5b1a1d[_0x5d832a([0x74,0x68,0x65,0x6e])](()=>{_0x11bde0||_0x117dc3(_0x5d832a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x137d75(){return _0x2451cd[_0x5d832a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d832a([0x76,0x69,0x65,0x77])][_0x5d832a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d832a([0x61,0x75,0x74,0x6f]);}function _0x26a639(){_0x2451cd[_0x5d832a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d832a([0x76,0x69,0x65,0x77])][_0x5d832a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d832a([0x61,0x75,0x74,0x6f]);}}function _0x55f159(_0x45d39e){const _0xe70a53=[new window[(_0x5d832a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bb7af=>setTimeout(_0x2bb7af,0x21d333bd^_0x5e4ccc)),_0x5b1a1d[_0x5d832a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d832a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd5cf37=>{let _0x37e4ff=0x0;_0x2451cd[_0x5d832a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d832a([0x6f,0x6e])](_0x5d832a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x144bc8,_0x371cf4)=>{_0x371cf4[0x0][_0x5d832a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37e4ff++,_0x37e4ff==(0x21da0c89^_0x5e4ccc)&&(_0xd5cf37(),_0x144bc8[_0x5d832a([0x6f,0x66,0x66])]());});}))];return window[_0x5d832a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d832a([0x72,0x61,0x63,0x65])](_0xe70a53)[_0x5d832a([0x74,0x68,0x65,0x6e])](()=>_0x45d39e);}async function _0x1023fe(){await _0x5b1a1d,_0x2451cd[_0x5d832a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d832a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f289e,_0x2451cd[_0x5d832a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d832a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f289e,_0x2451cd[_0x5d832a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d832a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xcf1a49(_0x2067bf){const _0x420375=_0x392f91();_0x2451cd[_0x420375]=_0x5d832a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2067bf,_0x2067bf!=_0x5d832a([0x56,0x61,0x6c,0x69,0x64])&&_0x1023fe();}function _0x392f91(){const _0x43c25d=window[_0x5d832a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d832a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d832a([0x6e,0x6f,0x77])]())[_0x5d832a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d832a([0x2e]),'');let _0x3a57b9=_0x5d832a([0x42]);for(let _0x3b1320=0x0;_0x3b1320<_0x43c25d[_0x5d832a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b1320+=0x2){let _0x530370=window[_0x5d832a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43c25d[_0x5d832a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b1320,_0x3b1320+0x2));_0x530370>=_0x21e2e9[_0x5d832a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x530370-=_0x21e2e9[_0x5d832a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a57b9+=_0x21e2e9[_0x530370];}return _0x3a57b9;}function _0x198dcd(){const _0x4ca601=_0x4457ad[_0x5d832a([0x73,0x70,0x6c,0x69,0x74])](_0x5d832a([0x2e]));if(0x3!=_0x4ca601[_0x5d832a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20466c(_0x4ca601[0x1]);function _0x20466c(_0x220d6b){const _0x48c4cd=_0x1a6c2d(_0x220d6b);return _0x48c4cd&&_0x40da78()?_0x48c4cd:null;function _0x40da78(){const _0x18d9d4=_0x48c4cd[_0x5d832a([0x6a,0x74,0x69])],_0x2bfa8b=window[_0x5d832a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18d9d4[_0x5d832a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18d9d4[_0x5d832a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3089bb={..._0x48c4cd,[_0x5d832a([0x6a,0x74,0x69])]:_0x18d9d4[_0x5d832a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18d9d4[_0x5d832a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3089bb[_0x5d832a([0x76,0x63])],_0x376b53(_0x3089bb)==_0x2bfa8b;}}}async function _0x3bc753(){let _0x39fa1c=!0x0;try{const _0x9c511c=_0x4457ad[_0x5d832a([0x73,0x70,0x6c,0x69,0x74])](_0x5d832a([0x2e])),[_0x5505a0,_0xe39c9e,_0x492fb3]=_0x9c511c;return _0x5c8cf6(_0x5505a0),await _0xcd4145(_0x5505a0,_0xe39c9e,_0x492fb3),_0x39fa1c;}catch(_0x2f3112){return!0x1;}function _0x5c8cf6(_0x184520){const _0x2856f0=_0x1a6c2d(_0x184520);_0x2856f0&&_0x2856f0[_0x5d832a([0x61,0x6c,0x67])]==_0x5d832a([0x45,0x53,0x32,0x35,0x36])||(_0x39fa1c=!0x1);}async function _0xcd4145(_0x513aac,_0x5eae78,_0x58b242){const _0x4fb0db=window[_0x5d832a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d832a([0x66,0x72,0x6f,0x6d])](_0x271fa4(_0x58b242),_0x3ccd8d=>_0x3ccd8d[_0x5d832a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3ed286=new window[(_0x5d832a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d832a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x513aac+_0x5d832a([0x2e])+_0x5eae78),_0x483326=window[_0x5d832a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d832a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x483326)return;const _0x1c58ea=await _0x483326[_0x5d832a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d832a([0x6a,0x77,0x6b]),_0x206d51,{[_0x5d832a([0x6e,0x61,0x6d,0x65])]:_0x5d832a([0x45,0x43,0x44,0x53,0x41]),[_0x5d832a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d832a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d832a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x483326[_0x5d832a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d832a([0x6e,0x61,0x6d,0x65])]:_0x5d832a([0x45,0x43,0x44,0x53,0x41]),[_0x5d832a([0x68,0x61,0x73,0x68])]:{[_0x5d832a([0x6e,0x61,0x6d,0x65])]:_0x5d832a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c58ea,_0x4fb0db,_0x3ed286)||(_0x39fa1c=!0x1);}}function _0x1a6c2d(_0x4a2d38){return _0x4a2d38[_0x5d832a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d832a([0x65,0x79]))?JSON[_0x5d832a([0x70,0x61,0x72,0x73,0x65])](_0x271fa4(_0x4a2d38)):null;}function _0x271fa4(_0x2cc110){return window[_0x5d832a([0x61,0x74,0x6f,0x62])](_0x2cc110[_0x5d832a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d832a([0x2b]))[_0x5d832a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d832a([0x2f])));}function _0x376b53(_0x359479){let _0x4db6b2=0x1505;function _0x11b515(_0x37672a){for(let _0x318cd6=0x0;_0x318cd6<_0x37672a[_0x5d832a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x318cd6++){const _0x9cd258=_0x37672a[_0x5d832a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x318cd6);_0x4db6b2=(_0x4db6b2<<0x5)+_0x4db6b2+_0x9cd258,_0x4db6b2&=_0x4db6b2;}}function _0x4b893e(_0x43b1e7){Array[_0x5d832a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43b1e7)?_0x43b1e7[_0x5d832a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b893e):_0x43b1e7&&typeof _0x43b1e7==_0x5d832a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d832a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43b1e7)[_0x5d832a([0x73,0x6f,0x72,0x74])]()[_0x5d832a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d8b6d,_0x3503b2])=>{_0x11b515(_0x5d8b6d),_0x4b893e(_0x3503b2);}):_0x11b515(window[_0x5d832a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43b1e7));}return _0x4b893e(_0x359479),_0x4db6b2>>>0x0;}function _0x1954ea(_0x7b90f5){return _0x7b90f5[_0x5d832a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d832a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d832a([0x30]));}function _0x1a64a9(_0x4c1e60){return _0x4c1e60[_0x5d832a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d832a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d832a([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f289e(){}function _0x5d832a(_0x179d1e){return _0x179d1e['map'](_0x30d3e1=>String['fromCharCode'](_0x30d3e1))['join']('');}_0xcf1a49(await _0x206b35());}(this);}['_initSchema'](){const _0x4655b4=this['editor']['model']['schema'];_0x4655b4['isRegistered']('imageBlock')&&_0x4655b4['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4655b4['isRegistered']('imageInline')&&_0x4655b4['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x573ee5=this['editor'];_0x573ee5['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x573ee5['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x14ccb6=>_0x14ccb6['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x251e44=_0x573ee5['commands']['get']('replaceImageSource');_0x251e44&&this['listenTo'](_0x251e44,'cleanupImage',(_0x4ba70d,[_0x10e54f,_0x36fca8])=>{_0x10e54f['removeAttribute']('uploadcareImageId',_0x36fca8);});}['_initConfig'](){const _0x41048e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x339ad=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x48642c(_0x2f4c76['document'],'uc-config',{..._0x41048e,'pubkey':_0x339ad,'ctx-name':'uploader','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']=_0x4af805=>{if('closeMax'==_0x4af805)return'#uc-icon-arrow-down';},_0x2f4c76['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x48642c(_0x2f4c76['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x2f4c76['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5d4630=this['editor']['commands']['get']('insertImage');_0x5d4630&&this['listenTo'](_0x5d4630,'execute',()=>{const _0xb9a157=this['editor']['model']['document']['selection']['getSelectedElement']();_0xb9a157&&_0xb9a157['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xb9a157);});});const _0x5a60b1=this['editor']['commands']['get']('uploadcareImageReplace');_0x5a60b1&&this['listenTo'](_0x5a60b1,'execute',()=>{const _0x3e025f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3e025f&&_0x3e025f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3e025f);});});}}class u extends _0x32e6eb{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x456d07){super(_0x456d07),_0x456d07['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x14d9fd['defineComponents'](_0x14d9fd);}}class ta extends _0x52e0f3{constructor(_0x550a41){super(_0x550a41);const t=_0x550a41['t'],_0x59381a=this['bindTemplate'],_0x39cb5f=new _0x27ec92();_0x39cb5f['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':[_0x39cb5f,{'text':_0x59381a['to']('imageUploadProgress',_0x5b2e5a=>t('Loading\x20image...')+'\x20('+(_0x5b2e5a||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 rt extends _0x52e0f3{constructor(_0x19c2c3){super(_0x19c2c3);const t=_0x19c2c3['t'];this['set']('errorType',null);const _0xaedeb5=new _0x56a80d(_0x19c2c3);_0xaedeb5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xaedeb5['withText']=!0x0,_0xaedeb5['class']='ck-button-action',_0xaedeb5['on']('execute',()=>{this['fire']('retry');}),_0xaedeb5['bind']('isVisible')['to'](this,'errorType',_0x3451c8=>'NotFound'!==_0x3451c8);const _0x340a15=new at();_0x340a15['content']=et,_0x340a15['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4e60f8=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':[_0x340a15,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4e60f8['to']('errorType',_0x15e0c3=>t('NotFound'!==_0x15e0c3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xaedeb5]},{'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 tt extends _0x52e0f3{constructor(_0x11f050,_0x5a2713){super(_0x11f050);const _0x21216a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5a2713,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x21216a['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x28a2a1,_0x3ea108,_0x1ac769){super(_0x28a2a1),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x28a2a1),this['_errorView']=new rt(_0x28a2a1),this['_editingView']=new tt(_0x28a2a1,_0x1ac769),this['_focusableView']=new _0x52e0f3(_0x28a2a1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3ea108),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'],_0xf0ae6a=>{this['_addUploadcareImageEditorListeners'](_0xf0ae6a);});}),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'](_0x1894da,_0x20e0bb){const _0x2c5494='uc-cloud-image-editor',_0xf7466f=_0x1894da['querySelector'](_0x2c5494);if(_0xf7466f)return _0x20e0bb(_0xf7466f);const _0x20b8b6=new MutationObserver(_0x2d482a=>{const _0x316979=_0x2d482a['filter'](_0x96665=>_0x96665['target']===_0x1894da&&_0x96665['addedNodes']['length']>0x0&&_0x96665['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2c5494);_0x316979['length']&&(_0x20b8b6['disconnect'](),_0x20e0bb(_0x316979[0x0]['addedNodes'][0x0]));});_0x20b8b6['observe'](_0x1894da,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x463fea){_0x463fea['addEventListener']('apply',_0x583387=>{this['fire']('apply',{'imageSrc':_0x583387['detail']['cdnUrl']});}),_0x463fea['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x923871(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x384e67,_0x1617f4,_0x1bff84){super(),this['_editor']=_0x384e67,this['_dialog']=_0x1617f4,this['_imageElement']=_0x1bff84,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 _0x4811ae=this['_imageElement'],_0x7701ce=_0x4811ae['getAttribute']('uploadcareImageId'),_0x1eba8c=_0x4811ae['getAttribute']('src');if(_0x7701ce)await this['_loadImageInfo'](_0x7701ce,_0x1eba8c);else{if(this['_imageCache']['has'](_0x1eba8c)){const _0x7ce603=this['_imageCache']['get'](_0x1eba8c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x7ce603['url'],this['imageDimension']=_0x7ce603['dimension'],this['imageId']=_0x7ce603['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x37f758}=this['_editor'],t=_0x37f758['t'],_0x4f4282=new Z(_0x37f758,this['imageStatus'],this['_attributes']);_0x4f4282['bind']('status')['to'](this,'imageStatus'),_0x4f4282['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4f4282['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4f4282['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4f4282,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2bb978,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4f4282,'position':_0x45ce82['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4f4282['focus']();},'onHide':()=>{_0x4f4282['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3338f8=>!F(_0x3338f8,_0x4f4282['element'])}});}['_loadImageInfo'](_0x3bf087,_0x57e0c8){return C['getInfo'](_0x3bf087,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4dbf42=>{const {width:_0x448ced,height:_0xbf18c1}=_0x4dbf42['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57e0c8,this['imageDimension']={'width':_0x448ced,'height':_0xbf18c1},this['imageId']=_0x3bf087;})['catch'](_0x211ecd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x211ecd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x461978,_0x2f1957){return this['_getImageAsFile'](_0x461978)['then'](_0x3b94eb=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2f1957['signal'],'file':_0x3b94eb,'onProgress':_0x28f6ef=>{_0x28f6ef&&_0x28f6ef['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x28f6ef['value']));}}))['then'](_0x13650f=>{const {width:_0x20e49b,height:_0x517fb6}=_0x13650f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13650f['cdnUrl'],this['imageDimension']={'width':_0x20e49b,'height':_0x517fb6},this['imageId']=_0x13650f['uuid'],this['imageUploadProgress']=null;const _0x52f5aa=_0x461978['getAttribute']('src');this['_imageCache']['set'](_0x52f5aa,{'id':_0x13650f['uuid'],'url':_0x13650f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x573b93=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x573b93['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x329e61,_0x4b26af){_0x329e61['on']('apply',(_0x4954ee,_0x181a1f)=>{this['_replaceImage'](_0x4b26af,_0x181a1f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x329e61['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x329e61['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x229b7d,_0x4cf32c,_0x17ae05){const _0x12afe3=this['_editor'],{width:_0x490c2b,height:_0x6af43e}=A(_0x4cf32c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2f9043,imageSources:_0x371edd}=E(_0x4cf32c,_0x490c2b);_0x12afe3['model']['change'](_0x336a45=>{if('$graveyard'===_0x229b7d['root']['rootName']){_0x12afe3['execute']('insertImage',{'imageType':_0x229b7d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x229b7d['getAttributes']()),'uploadcareImageId':_0x17ae05,'src':_0x2f9043,'sources':_0x371edd,'width':_0x490c2b,'height':_0x6af43e}});const _0x1caa8f=_0x229b7d['getChildren']();_0x229b7d=_0x12afe3['model']['document']['selection']['getSelectedElement']();for(const _0x3ce46d of _0x1caa8f)_0x336a45['append'](_0x336a45['cloneElement'](_0x3ce46d),_0x229b7d);}else _0x336a45['setSelection'](_0x229b7d,'on'),_0x12afe3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x229b7d['getAttributes']()),'uploadcareImageId':_0x17ae05,'src':_0x2f9043,'sources':_0x371edd,'width':_0x490c2b,'height':_0x6af43e},_0x229b7d);_0x336a45['setSelection'](_0x229b7d,'on');});}async['_getImageAsFile'](_0x5b596a){const _0x5bea27=_0x2f4c76['window'],_0x566694=_0x2f4c76['document']['location']['href'],_0x8d6c08=new _0x5bea27['URL'](_0x5b596a['getAttribute']('src'),_0x566694);if('data:'===_0x8d6c08['protocol']){const _0x359bb7=_0x8d6c08['href']['split'](','),_0x1a6c6f=_0x359bb7[0x0]['match'](/:(.*?);/)[0x1],_0x5a8e5f=_0x1a6c6f['split']('/')[0x1],_0xcf12b4=_0x5bea27['atob'](_0x359bb7[_0x359bb7['length']-0x1]);let _0x54fb51=_0xcf12b4['length'];const _0x8c2dd0=new _0x5bea27['Uint8Array'](_0x54fb51);for(;_0x54fb51--;)_0x8c2dd0[_0x54fb51]=_0xcf12b4['charCodeAt'](_0x54fb51);return new _0x5bea27['File']([_0x8c2dd0],'image.'+_0x5a8e5f,{'type':_0x1a6c6f});}const _0x3ab016=_0x8d6c08['href']['split']('/'),_0x2b6f59=_0x3ab016[_0x3ab016['length']-0x1],_0x461c96=_0x2b6f59['split']('.')[0x1];return _0x5bea27['fetch'](_0x8d6c08['href'])['then'](_0x24cf4e=>_0x24cf4e['clone']()['blob']())['then'](_0x53ac29=>new _0x5bea27['File']([_0x53ac29],_0x2b6f59,{'type':'image/'+_0x461c96}));}}class J extends _0x2254c4{['imageEditController'];static get['requires'](){return[_0x173b80];}['_isEditable'];constructor(_0xcfca0){super(_0xcfca0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x55c3c2){const _0x1056a8=V(_0x55c3c2);return _0x2937a9=>!(!_0x2937a9||!_0x2937a9['is']('element','imageBlock')&&!_0x2937a9['is']('element','imageInline'))&&(!!_0x2937a9['hasAttribute']('uploadcareImageId')||!!_0x2937a9['hasAttribute']('src')&&_0x1056a8(_0x2937a9['getAttribute']('src')));}(_0xcfca0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2cce57=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2cce57);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1a8b4d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a8b4d&&(_0x1a8b4d['is']('element','imageBlock')||_0x1a8b4d['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x173b80),_0x1a8b4d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2254c4{['refresh'](){const _0xbbb9c6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xbbb9c6&&(_0xbbb9c6['is']('element','imageBlock')||_0xbbb9c6['is']('element','imageInline')));}['execute'](_0x396c3c){const _0x45f3fa=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2ca35a=>{_0x2ca35a['setAttributes'](_0x396c3c,_0x45f3fa),_0x2ca35a['removeAttribute']('srcset',_0x45f3fa),_0x2ca35a['removeAttribute']('sizes',_0x45f3fa);});}}class g extends _0x32e6eb{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5f5e05,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x8ca618}=this;_0x8ca618['commands']['add']('uploadcareImageEdit',new J(_0x8ca618)),_0x8ca618['commands']['add']('uploadcareImageReplace',new O(_0x8ca618));}}class j extends _0x32e6eb{['_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 _0x43e5b8=this['editor'];_0x43e5b8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2a6139=>{const _0x204b73=_0x43e5b8['commands']['get']('uploadcareImageEdit'),_0x193278=new _0x56a80d(_0x2a6139),t=_0x2a6139['t'];return _0x193278['set']({'icon':_0x2bb978,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x193278['bind']('isEnabled')['to'](_0x204b73),_0x193278['bind']('isOn')['to'](_0x204b73,'isActive'),this['listenTo'](_0x193278,'execute',()=>{_0x43e5b8['execute']('uploadcareImageEdit'),_0x43e5b8['editing']['view']['focus']();}),_0x193278;}),this['_initConfig']();}['_initConfig'](){const _0x4a2ac6=_0x48642c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4a2ac6),this['listenTo'](this['editor'],'destroy',()=>{_0x4a2ac6['remove']();});}}class P extends _0x32e6eb{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x7387da=>0x1!=_0x7387da}};
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':_0x51ff78=>0x1!=_0x51ff78}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x43d2dc=>{const {af:{dictionary:_0x2ef5a3,getPluralForm:_0x7c8bb3}}={'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':_0xf877fa=>0x1!=_0xf877fa}};_0x43d2dc['af']||={'dictionary':{},'getPluralForm':null},_0x43d2dc['af']['dictionary']=Object['assign'](_0x43d2dc['af']['dictionary'],_0x2ef5a3),_0x43d2dc['af']['getPluralForm']=_0x7c8bb3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x9d1a60=>{const {af:{dictionary:_0x236c5b,getPluralForm:_0x419811}}={'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':_0x4e74b1=>0x1!=_0x4e74b1}};_0x9d1a60['af']||={'dictionary':{},'getPluralForm':null},_0x9d1a60['af']['dictionary']=Object['assign'](_0x9d1a60['af']['dictionary'],_0x236c5b),_0x9d1a60['af']['getPluralForm']=_0x419811;})(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':_0x4d0bb6=>0x0==_0x4d0bb6?0x0:0x1==_0x4d0bb6?0x1:0x2==_0x4d0bb6?0x2:_0x4d0bb6%0x64>=0x3&&_0x4d0bb6%0x64<=0xa?0x3:_0x4d0bb6%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':_0x1ee0b2=>0x0==_0x1ee0b2?0x0:0x1==_0x1ee0b2?0x1:0x2==_0x1ee0b2?0x2:_0x1ee0b2%0x64>=0x3&&_0x1ee0b2%0x64<=0xa?0x3:_0x1ee0b2%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1111fc=>{const {ar:{dictionary:_0x4eb9ad,getPluralForm:_0x5aa256}}={'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':_0x2a37d2=>0x0==_0x2a37d2?0x0:0x1==_0x2a37d2?0x1:0x2==_0x2a37d2?0x2:_0x2a37d2%0x64>=0x3&&_0x2a37d2%0x64<=0xa?0x3:_0x2a37d2%0x64>=0xb?0x4:0x5}};_0x1111fc['ar']||={'dictionary':{},'getPluralForm':null},_0x1111fc['ar']['dictionary']=Object['assign'](_0x1111fc['ar']['dictionary'],_0x4eb9ad),_0x1111fc['ar']['getPluralForm']=_0x5aa256;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x6dc66e=>{const {ar:{dictionary:_0xb632c7,getPluralForm:_0x2e263c}}={'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':_0x58336e=>0x0==_0x58336e?0x0:0x1==_0x58336e?0x1:0x2==_0x58336e?0x2:_0x58336e%0x64>=0x3&&_0x58336e%0x64<=0xa?0x3:_0x58336e%0x64>=0xb?0x4:0x5}};_0x6dc66e['ar']||={'dictionary':{},'getPluralForm':null},_0x6dc66e['ar']['dictionary']=Object['assign'](_0x6dc66e['ar']['dictionary'],_0xb632c7),_0x6dc66e['ar']['getPluralForm']=_0x2e263c;})(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':_0x4829ae=>0x1!=_0x4829ae}};
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':_0x31eb1b=>0x1!=_0x31eb1b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f02fa=>{const {ast:{dictionary:_0x3212d7,getPluralForm:_0x23c296}}={'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':_0x34ee8c=>0x1!=_0x34ee8c}};_0x1f02fa['ast']||={'dictionary':{},'getPluralForm':null},_0x1f02fa['ast']['dictionary']=Object['assign'](_0x1f02fa['ast']['dictionary'],_0x3212d7),_0x1f02fa['ast']['getPluralForm']=_0x23c296;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24c453=>{const {ast:{dictionary:_0x12c6d3,getPluralForm:_0x2e781a}}={'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':_0x371ba7=>0x1!=_0x371ba7}};_0x24c453['ast']||={'dictionary':{},'getPluralForm':null},_0x24c453['ast']['dictionary']=Object['assign'](_0x24c453['ast']['dictionary'],_0x12c6d3),_0x24c453['ast']['getPluralForm']=_0x2e781a;})(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':_0x1f2922=>0x1!=_0x1f2922}};
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':_0xff4f03=>0x1!=_0xff4f03}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x25bf38=>{const {az:{dictionary:_0x42a816,getPluralForm:_0x456db8}}={'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':_0x31b70a=>0x1!=_0x31b70a}};_0x25bf38['az']||={'dictionary':{},'getPluralForm':null},_0x25bf38['az']['dictionary']=Object['assign'](_0x25bf38['az']['dictionary'],_0x42a816),_0x25bf38['az']['getPluralForm']=_0x456db8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x428d30=>{const {az:{dictionary:_0x2bc268,getPluralForm:_0x59cc72}}={'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':_0x1e591e=>0x1!=_0x1e591e}};_0x428d30['az']||={'dictionary':{},'getPluralForm':null},_0x428d30['az']['dictionary']=Object['assign'](_0x428d30['az']['dictionary'],_0x2bc268),_0x428d30['az']['getPluralForm']=_0x59cc72;})(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':_0x58b522=>_0x58b522%0xa==0x1&&_0x58b522%0x64!=0xb?0x0:_0x58b522%0xa>=0x2&&_0x58b522%0xa<=0x4&&(_0x58b522%0x64<0xa||_0x58b522%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':_0x52b670=>_0x52b670%0xa==0x1&&_0x52b670%0x64!=0xb?0x0:_0x52b670%0xa>=0x2&&_0x52b670%0xa<=0x4&&(_0x52b670%0x64<0xa||_0x52b670%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4d63a5=>{const {be:{dictionary:_0x32cbf5,getPluralForm:_0x255d6e}}={'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':_0x4d4cfb=>_0x4d4cfb%0xa==0x1&&_0x4d4cfb%0x64!=0xb?0x0:_0x4d4cfb%0xa>=0x2&&_0x4d4cfb%0xa<=0x4&&(_0x4d4cfb%0x64<0xa||_0x4d4cfb%0x64>=0x14)?0x1:0x2}};_0x4d63a5['be']||={'dictionary':{},'getPluralForm':null},_0x4d63a5['be']['dictionary']=Object['assign'](_0x4d63a5['be']['dictionary'],_0x32cbf5),_0x4d63a5['be']['getPluralForm']=_0x255d6e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x7017e0=>{const {be:{dictionary:_0x3aa78b,getPluralForm:_0x3bce0e}}={'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':_0x562cf5=>_0x562cf5%0xa==0x1&&_0x562cf5%0x64!=0xb?0x0:_0x562cf5%0xa>=0x2&&_0x562cf5%0xa<=0x4&&(_0x562cf5%0x64<0xa||_0x562cf5%0x64>=0x14)?0x1:0x2}};_0x7017e0['be']||={'dictionary':{},'getPluralForm':null},_0x7017e0['be']['dictionary']=Object['assign'](_0x7017e0['be']['dictionary'],_0x3aa78b),_0x7017e0['be']['getPluralForm']=_0x3bce0e;})(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':_0x4fe8a2=>0x1!=_0x4fe8a2}};
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':_0x1a6a6c=>0x1!=_0x1a6a6c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3800d5=>{const {bg:{dictionary:_0x575cc0,getPluralForm:_0x3a922a}}={'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':_0x5a1864=>0x1!=_0x5a1864}};_0x3800d5['bg']||={'dictionary':{},'getPluralForm':null},_0x3800d5['bg']['dictionary']=Object['assign'](_0x3800d5['bg']['dictionary'],_0x575cc0),_0x3800d5['bg']['getPluralForm']=_0x3a922a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x162f32=>{const {bg:{dictionary:_0x5e1b3a,getPluralForm:_0x537cb0}}={'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':_0x485d05=>0x1!=_0x485d05}};_0x162f32['bg']||={'dictionary':{},'getPluralForm':null},_0x162f32['bg']['dictionary']=Object['assign'](_0x162f32['bg']['dictionary'],_0x5e1b3a),_0x162f32['bg']['getPluralForm']=_0x537cb0;})(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':_0x522846=>0x1!=_0x522846}};
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':_0x34f057=>0x1!=_0x34f057}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x233431=>{const {bn:{dictionary:_0x5792a7,getPluralForm:_0x210186}}={'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':_0x32cfc8=>0x1!=_0x32cfc8}};_0x233431['bn']||={'dictionary':{},'getPluralForm':null},_0x233431['bn']['dictionary']=Object['assign'](_0x233431['bn']['dictionary'],_0x5792a7),_0x233431['bn']['getPluralForm']=_0x210186;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4bb311=>{const {bn:{dictionary:_0x15ac61,getPluralForm:_0x3dcd9d}}={'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':_0x40065d=>0x1!=_0x40065d}};_0x4bb311['bn']||={'dictionary':{},'getPluralForm':null},_0x4bb311['bn']['dictionary']=Object['assign'](_0x4bb311['bn']['dictionary'],_0x15ac61),_0x4bb311['bn']['getPluralForm']=_0x3dcd9d;})(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':_0x5b24c6=>_0x5b24c6%0xa==0x1&&_0x5b24c6%0x64!=0xb?0x0:_0x5b24c6%0xa>=0x2&&_0x5b24c6%0xa<=0x4&&(_0x5b24c6%0x64<0xa||_0x5b24c6%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':_0x24ff78=>_0x24ff78%0xa==0x1&&_0x24ff78%0x64!=0xb?0x0:_0x24ff78%0xa>=0x2&&_0x24ff78%0xa<=0x4&&(_0x24ff78%0x64<0xa||_0x24ff78%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2294c6=>{const {bs:{dictionary:_0x4783bf,getPluralForm:_0x394432}}={'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':_0x2765fd=>_0x2765fd%0xa==0x1&&_0x2765fd%0x64!=0xb?0x0:_0x2765fd%0xa>=0x2&&_0x2765fd%0xa<=0x4&&(_0x2765fd%0x64<0xa||_0x2765fd%0x64>=0x14)?0x1:0x2}};_0x2294c6['bs']||={'dictionary':{},'getPluralForm':null},_0x2294c6['bs']['dictionary']=Object['assign'](_0x2294c6['bs']['dictionary'],_0x4783bf),_0x2294c6['bs']['getPluralForm']=_0x394432;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x50c39f=>{const {bs:{dictionary:_0x27ba28,getPluralForm:_0x377275}}={'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':_0x5aa85f=>_0x5aa85f%0xa==0x1&&_0x5aa85f%0x64!=0xb?0x0:_0x5aa85f%0xa>=0x2&&_0x5aa85f%0xa<=0x4&&(_0x5aa85f%0x64<0xa||_0x5aa85f%0x64>=0x14)?0x1:0x2}};_0x50c39f['bs']||={'dictionary':{},'getPluralForm':null},_0x50c39f['bs']['dictionary']=Object['assign'](_0x50c39f['bs']['dictionary'],_0x27ba28),_0x50c39f['bs']['getPluralForm']=_0x377275;})(window['CKEDITOR_TRANSLATIONS']||={});