@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250403.0 → 0.0.0-nightly-20250404.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 (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. 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 _0x3d2826,Command as _0xa7c68c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1f4332,IconGooglePhotos as _0x4d1959,IconGoogleDrive as _0x2c9417,IconFacebook as _0x3be408,IconDropbox as _0x3bdfdb,IconUploadcareLink as _0x1d4208,IconUploadcareImageUpload as _0x2cdf6d,IconError as et,IconUploadcareImageEdit as _0x3337e5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x29ef0c,MenuBarMenuListItemButtonView as _0x5b2e32,View as _0x5f12d9,FocusCycler as _0x5c8fa9,Dialog as _0x199bf6,DialogViewPosition as _0x172821,SpinnerView as _0xca1122,IconView as at,Notification as _0x35e0a6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x488fd4,DomEmitterMixin as _0x497fc2,global as _0x3d5f48,getAncestors as _0x5c54e0,ObservableMixin as _0x4274e6,createElement as _0x3ed14c,uid as _0xe1e5f1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xe14489}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3dd1cd,info as _0xec97e}from'@uploadcare/upload-client';import*as _0x55d23b from'@uploadcare/file-uploader';var o=function(_0xbffe29){return _0xbffe29['Local']='local',_0xbffe29['URL']='url',_0xbffe29['Dropbox']='dropbox',_0xbffe29['GDrive']='gdrive',_0xbffe29['Facebook']='facebook',_0xbffe29['GPhotos']='gphotos',_0xbffe29['OneDrive']='onedrive',_0xbffe29;}({});function _(_0x50c585,_0x1412b3,_0x5068fb){const t=_0x50c585['t'],_0x2f371b=_0x50c585['t'];switch(_0x1412b3){case o['Local']:return{'text':_0x2f371b('Insert'===_0x5068fb?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2f371b('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x5068fb?_0x2f371b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2f371b('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x5068fb?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x5068fb?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x5068fb?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x5068fb?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x5068fb?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1412b3;}}class e extends _0x3d2826{['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 _0x1bee48=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f8eec;for(const _0x52bf36 in _0x1bee48){const _0x2726fd=_0x52bf36,_0x194449=_0x1bee48[_0x2726fd];if('uploadcareLicenseKeyValid'==_0x194449||'uploadcareLicenseKeyInvalid'==_0x194449||'uploadcareLicenseKeyExpired'==_0x194449||'uploadcareLicenseKeyDomainLimit'==_0x194449||'uploadcareLicenseKeyNotAllowed'==_0x194449||'uploadcareLicenseKeyEvaluationLimit'==_0x194449||'uploadcareLicenseKeyTrialLimit'==_0x194449||'uploadcareLicenseKeyUsageLimit'==_0x194449){delete _0x1bee48[_0x2726fd],_0x3f8eec=_0x194449,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3f8eec&&_0x1bee48['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3f8eec&&_0x1bee48['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3f8eec&&_0x1bee48['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3f8eec&&_0x1bee48['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3f8eec&&_0x1bee48['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3f8eec&&_0x1bee48['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3f8eec&&_0x1bee48['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1a3218}=this,_0x16e2df=_0x1a3218['commands']['get']('uploadcare');if(!_0x16e2df)return;const _0x11e295=this['_normalizeConfigSourceList'](_0x1a3218['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x34b752,_0x4e3a03)=>{const _0x40fee8=this['_getIntegrationKey'](_0x4e3a03['type']);return _0x34b752[_0x40fee8]||(_0x34b752[_0x40fee8]=[]),_0x34b752[_0x40fee8]['push'](_0x4e3a03),_0x34b752;},{});_0x1a3218['plugins']['has']('ImageInsertUI')&&_0x1a3218['commands']['get']('uploadcare')&&Object['entries'](_0x11e295)['forEach'](([_0x827a42,_0x41a556])=>{_0x1a3218['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x827a42,'observable':()=>_0x16e2df,'buttonViewCreator':()=>this['_createToolbarButton'](_0x41a556),'formViewCreator':()=>this['_createDropdownButtons'](_0x41a556),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x41a556),'override':'assetManager'!==_0x827a42});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xd1527c){const {locale:_0x5735d7}=this['editor'];return _0xd1527c['map'](_0x5cac22=>{const _0x2a1576=_(_0x5735d7,_0x5cac22,'Insert');switch(_0x5cac22){case o['Local']:return{'icon':_0x2cdf6d,'type':o['Local'],..._0x2a1576};case o['URL']:return{'icon':_0x1d4208,'type':o['URL'],..._0x2a1576};case o['Dropbox']:return{'icon':_0x3bdfdb,'type':o['Dropbox'],..._0x2a1576};case o['Facebook']:return{'icon':_0x3be408,'type':o['Facebook'],..._0x2a1576};case o['GDrive']:return{'icon':_0x2c9417,'type':o['GDrive'],..._0x2a1576};case o['GPhotos']:return{'icon':_0x4d1959,'type':o['GPhotos'],..._0x2a1576};case o['OneDrive']:return{'icon':_0x1f4332,'type':o['OneDrive'],..._0x2a1576};}});}['_getIntegrationKey'](_0x85a438){switch(_0x85a438){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5860d3,_0x438ae7){const _0x51ceef=this['editor'],_0x48eb25=new _0x5860d3(_0x51ceef['locale']),_0x9c8338=_0x51ceef['commands']['get']('uploadcare');return _0x48eb25['bind']('isEnabled')['to'](_0x9c8338),_0x48eb25['on']('execute',()=>{_0x9c8338['execute'](_0x438ae7);}),_0x48eb25;}['_createToolbarButton'](_0x573377){const {locale:_0x304606}=this['editor'],_0x3a3b6c=this['editor']['plugins']['get']('ImageInsertUI'),_0x405a8f=_0x573377[0x0],_0xe59918=this['_createButton'](_0x29ef0c,_0x405a8f['type']);return _0xe59918['icon']=_0x405a8f['icon'],_0xe59918['bind']('label')['to'](_0x3a3b6c,'isImageSelected',_0x40dce9=>_(_0x304606,_0x405a8f['type'],_0x40dce9?'Replace':'Insert')['text']),_0xe59918['tooltip']=!0x0,_0xe59918;}['_createDropdownButtons'](_0x88c613){const {locale:_0x28a945}=this['editor'],_0x447e9f=this['editor']['plugins']['get']('ImageInsertUI');return _0x88c613['map'](_0x35cc0d=>{const _0x56963e=this['_createButton'](_0x29ef0c,_0x35cc0d['type']);return _0x56963e['withText']=!0x0,_0x56963e['icon']=_0x35cc0d['icon'],_0x56963e['bind']('label')['to'](_0x447e9f,'isImageSelected',_0x3f503c=>_(_0x28a945,_0x35cc0d['type'],_0x3f503c?'Replace':'Insert')['text']),_0x56963e;});}['_createMenuBarButtons'](_0x341d86){return _0x341d86['map'](_0x5bd1ee=>{const _0x3dff71=this['_createButton'](_0x5b2e32,_0x5bd1ee['type']);return _0x3dff71['icon']=_0x5bd1ee['icon'],_0x3dff71['label']=_0x5bd1ee['shortText'],_0x3dff71;});}}class G extends _0x5f12d9{['focusTracker'];['focusCycler'];constructor(_0xa2a42d){super(_0xa2a42d),this['focusTracker']=new _0x488fd4(),this['focusCycler']=new _0x5c8fa9({'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 G{constructor(_0xa7ac24){super(_0xa7ac24),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(_0x3bd45c,_0x4e29ba){const _0x3f675f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xa4d1d3=>_0xa4d1d3<=_0x4e29ba)['map'](_0x444284=>_0x3bd45c['replace'](/\/$/,'')+'/-/resize/'+_0x444284+'x/\x20'+_0x444284+'w');return{'imageFallbackUrl':_0x3bd45c,'imageSources':[{'srcset':_0x3f675f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4e29ba+'px)\x20100vw,\x20'+_0x4e29ba+'px','type':'image/webp'}]};}function F(_0x50d0c3,_0x1ec1e0,_0x133aba){const _0x193471=_0x50d0c3['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x193471?parseInt(_0x193471[0x1],0xa):_0x1ec1e0,'height':_0x193471?parseInt(_0x193471[0x2],0xa):_0x133aba};}function m(_0x1b965f,_0x176a0d){const _0xbd21aa=Object['create'](_0x497fc2),_0x2749df=_0x1b965f['plugins']['get']('ImageUtils'),_0x18f1ab=_0x1b965f['editing']['mapper']['toViewElement'](_0x176a0d),_0x15b3e0=_0x2749df['findViewImgElement'](_0x18f1ab),_0x40e049=_0x1b965f['editing']['view']['domConverter']['viewToDom'](_0x15b3e0),_0x5ae049=_0x176a0d['getAttribute']('width'),_0x1a66cc=_0x176a0d['getAttribute']('height'),_0x5e491e='image-processing';_0x1b965f['editing']['view']['change'](_0x4ad02a=>{_0x4ad02a['addClass'](_0x5e491e,_0x18f1ab),_0x4ad02a['setStyle']('aspect-ratio',_0x5ae049+'/'+_0x1a66cc,_0x15b3e0);}),_0xbd21aa['listenTo'](_0x40e049,'load',()=>{_0xbd21aa['stopListening'](_0x40e049,'load'),_0x1b965f['editing']['view']['change'](_0x44d705=>{_0x44d705['removeClass'](_0x5e491e,_0x18f1ab),_0x44d705['removeStyle']('aspect-ratio',_0x15b3e0);});});}function V(_0x7048c){if(Array['isArray'](_0x7048c)){const _0x161cc0=_0x7048c['map'](V);return _0x19cb19=>_0x161cc0['some'](_0x3c4072=>_0x3c4072(_0x19cb19));}if('origin'==_0x7048c){const _0x248ea2=_0x3d5f48['window']['location']['origin'];return _0x39e1fa=>new URL(_0x39e1fa,_0x3d5f48['document']['baseURI'])['origin']==_0x248ea2;}return'function'==typeof _0x7048c?_0x7048c:_0x7048c instanceof RegExp?_0x22418d=>!(!_0x22418d['match'](_0x7048c)&&!_0x22418d['replace'](/^https?:\/\//,'')['match'](_0x7048c)):()=>!0x1;}function R(_0x2a2f68,_0x4fe6ad){return _0x5c54e0(_0x2a2f68['target'])['includes'](_0x4fe6ad);}class l extends/* #__PURE__ -- @preserve */
24
- _0x4274e6(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x29fd97,_0x2b82b4,_0x32c62e){super(),this['_editor']=_0x29fd97,this['_editing']=_0x2b82b4,this['_dialog']=_0x29fd97['plugins']['get'](_0x199bf6),this['_api']=_0x2b82b4['ctxElement']['getAPI'](),this['_type']=_0x32c62e,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:_0x39d658,model:_0x30021c}=this['_editor'],_0x2d11d4=_0x30021c['document']['selection']['getSelectedElement'](),_0x103da7=_0x2d11d4&&(_0x2d11d4['is']('element','imageBlock')||_0x2d11d4['is']('element','imageInline'));this['_formView']=new S(_0x39d658),this['_dialog']['show']({'id':'uploadCare','icon':_0x2cdf6d,'title':_(_0x39d658,this['_type'],_0x103da7?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x172821['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xce896a=>!R(_0xce896a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x428b61}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x22c0e1=>{const _0x4d29ae=_0x428b61['length'];for(const _0x58d2b2 of _0x428b61){const _0x13d977=_0x58d2b2===_0x428b61[_0x4d29ae-0x1],{cdnUrl:_0x1c9fde,fileInfo:_0x5660b2}=_0x58d2b2;if(!_0x1c9fde||!_0x5660b2)continue;const {width:_0xbd2099,height:_0xd6e132}=_0x5660b2['imageInfo'],_0x83b88c=F(_0x1c9fde,_0xbd2099,_0xd6e132),_0x143d13=E(_0x1c9fde,_0x83b88c['width']),_0x29f0ef={'id':_0x5660b2['uuid'],'type':'image','attributes':{'imageDimension':_0x83b88c,..._0x143d13}};this['_insertAsset'](_0x29f0ef,_0x13d977,_0x22c0e1);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4edae1=>{'idle'===_0x4edae1['detail']['status']&&!_0x4edae1['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xcb162b,_0xee11dd,_0x354131){const _0x383964=this['_editor']['model']['document']['selection'],_0x17a57f=_0x383964['getSelectedElement'](),_0x523bc2=!(!_0x17a57f||!_0x17a57f['is']('element','imageInline'));_0x354131['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xcb162b,_0x523bc2),_0xee11dd||_0x354131['setSelection'](_0x383964['getLastPosition']());}['_insertImage'](_0x178177,_0x457277){const _0xa5457a=this['_editor'],{imageDimension:_0x32ed7b,imageFallbackUrl:_0xf909c1,imageSources:_0x43782e}=_0x178177['attributes'];_0xa5457a['execute']('insertImage',{'imageType':_0x457277?'imageInline':null,'source':{'uploadcareImageId':_0x178177['id'],'src':_0xf909c1,'sources':_0x43782e,..._0x32ed7b}});}}class n extends _0xa7c68c{['_editing'];['_controller']=null;static get['requires'](){return[_0x199bf6,i];}constructor(_0x594f4a){super(_0x594f4a),this['_editing']=_0x594f4a['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xe07474){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0xe07474);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x58c233,publicKey:_0x337de4,signal:_0x46fd3d,onProgress:_0x4fdc29}){return _0x3dd1cd(_0x58c233,{'publicKey':_0x337de4,'store':'auto','signal':_0x46fd3d,'onProgress':_0x4fdc29});}static['getInfo'](_0x1aede1,_0x2591f3){return _0xec97e(_0x1aede1,_0x2591f3);}}class p extends _0x3d2826{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xe14489,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x164329=this['editor'];if(!!!_0x164329['config']['get']('uploadcare'))return;_0x164329['plugins']['get'](_0xe14489)['createUploadAdapter']=_0x4a0142=>new x(_0x4a0142,_0x164329),_0x164329['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4459e7,{imageElement:_0x1ccee4,data:_0x5af08a})=>{_0x164329['model']['change'](_0x16e2c6=>{_0x16e2c6['setAttribute']('uploadcareImageId',_0x5af08a['uploadcareImageId'],_0x1ccee4);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2d3ff4,_0x3b9940){this['loader']=_0x2d3ff4,this['editor']=_0x3b9940,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x30072e=this['editor']['config']['get']('uploadcare.pubkey'),_0x4f523a=await this['loader']['file'];return C['upload']({'file':_0x4f523a,'publicKey':_0x30072e,'signal':this['controller']['signal'],'onProgress':_0x42b28f=>{_0x42b28f&&_0x42b28f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x42b28f['value']);}})['then'](async _0x4264f5=>{const {imageFallbackUrl:_0x34461b,imageSources:_0xe56cb}=E(_0x4264f5['cdnUrl'],_0x4264f5['imageInfo']['width']);return{'uploadcareImageId':_0x4264f5['uuid'],'default':_0x34461b,'sources':_0xe56cb};})['catch'](()=>{const _0x1b88eb=t('Cannot\x20upload\x20file:')+('\x20'+_0x4f523a['name']+'.');return Promise['reject'](_0x1b88eb);});}['abort'](){this['controller']['abort']();}}class i extends _0x3d2826{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x199bf6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x3f1591=this['editor'];_0x3f1591['commands']['add']('uploadcare',new n(_0x3f1591));}['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 _0x35d598=_0x3d5f48['document']['querySelector']('input[uploadcare-file-input]');_0x35d598&&_0x35d598['remove']();}),async function(_0x265867){const _0x5595d8=_0x4c5133([0x4d,0x59,0x4e,0x67,0x50,0x44,0x58,0x57,0x6e,0x32,0x79,0x34,0x6d,0x30,0x61,0x4b,0x35,0x73,0x38,0x72,0x47,0x45,0x64,0x31,0x4f,0x6a,0x55,0x46,0x51,0x6f,0x66,0x37,0x56,0x68,0x63,0x75,0x4a,0x7a,0x77,0x62,0x53,0x39,0x4c,0x71,0x69,0x76,0x78,0x6b,0x74,0x48,0x49,0x33,0x54,0x5a,0x52,0x36,0x43,0x70,0x65,0x42,0x6c,0x41]),_0x4e0e37=0x2e159e4f,_0x3f6736=0x2e12fdb7^_0x4e0e37,_0x239d69=window[_0x4c5133([0x44,0x61,0x74,0x65])][_0x4c5133([0x6e,0x6f,0x77])](),_0x41f8b0=_0x265867[_0x4c5133([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x901e9b=new window[(_0x4c5133([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x310754=>{_0x41f8b0[_0x4c5133([0x6f,0x6e,0x63,0x65])](_0x4c5133([0x72,0x65,0x61,0x64,0x79]),_0x310754);}),_0x2e0278={[_0x4c5133([0x6b,0x74,0x79])]:_0x4c5133([0x45,0x43]),[_0x4c5133([0x75,0x73,0x65])]:_0x4c5133([0x73,0x69,0x67]),[_0x4c5133([0x63,0x72,0x76])]:_0x4c5133([0x50,0x2d,0x32,0x35,0x36]),[_0x4c5133([0x78])]:_0x4c5133([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]),[_0x4c5133([0x79])]:_0x4c5133([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]),[_0x4c5133([0x61,0x6c,0x67])]:_0x4c5133([0x45,0x53,0x32,0x35,0x36])},_0x180234=_0x41f8b0[_0x4c5133([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c5133([0x67,0x65,0x74])](_0x4c5133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x388d0(){let _0xba358f,_0x51ae2d=null,_0x25cfb9=null;try{if(_0x180234==_0x4c5133([0x47,0x50,0x4c]))return _0x4c5133([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xba358f=_0x4bded7(),!_0xba358f)return _0x4c5133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xba358f[_0x4c5133([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25cfb9=_0x200690(_0xba358f[_0x4c5133([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xba358f[_0x4c5133([0x6a,0x74,0x69])])),await _0x111b40()?_0x330ce1()?_0x3ff1d3()?_0x4c5133([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b5c22()?(_0xba358f[_0x4c5133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5133([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51ae2d=_0xb926ea(_0x4c5133([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xba358f[_0x4c5133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5133([0x74,0x72,0x69,0x61,0x6c])&&(_0x51ae2d=_0xb926ea(_0x4c5133([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x436a23()):_0x4c5133([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5133([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c5133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3f2b19){return _0x4c5133([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ff1d3(){const _0x3848a=[_0x4c5133([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c5133([0x74,0x72,0x69,0x61,0x6c])][_0x4c5133([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba358f[_0x4c5133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x239d69/0x3e8:0xe10*_0x3f6736;return _0xba358f[_0x4c5133([0x65,0x78,0x70])]<_0x3848a;}function _0x330ce1(){const _0x2fe98e=_0xba358f[_0x4c5133([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2fe98e&&(!!_0x2fe98e[_0x4c5133([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5133([0x2a]))||!!_0x2fe98e[_0x4c5133([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5133([0x55,0x50,0x4c,0x43])));}function _0x3b5c22(){const _0x3bc68e=_0xba358f[_0x4c5133([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3bc68e||0x0==_0x3bc68e[_0x4c5133([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51aac3}=new URL(window[_0x4c5133([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3bc68e[_0x4c5133([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51aac3))return!0x0;const _0x5d11eb=_0x51aac3[_0x4c5133([0x73,0x70,0x6c,0x69,0x74])](_0x4c5133([0x2e]));return _0x3bc68e[_0x4c5133([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bc0eb=>_0x5bc0eb[_0x4c5133([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5133([0x2a])))[_0x4c5133([0x6d,0x61,0x70])](_0x2c12bc=>_0x2c12bc[_0x4c5133([0x73,0x70,0x6c,0x69,0x74])](_0x4c5133([0x2e])))[_0x4c5133([0x73,0x6f,0x6d,0x65])](_0x5110ff=>_0x5d11eb[_0x4c5133([0x65,0x76,0x65,0x72,0x79])]((_0x14b002,_0x2a9abe)=>_0x5110ff[_0x2a9abe]===_0x14b002||_0x5110ff[_0x2a9abe]===_0x4c5133([0x2a])));}function _0x436a23(){return _0x51ae2d&&_0x25cfb9?new window[(_0x4c5133([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4db5f6,_0x2e451a)=>{_0x51ae2d[_0x4c5133([0x74,0x68,0x65,0x6e])](_0x4db5f6,_0x2e451a),_0x25cfb9[_0x4c5133([0x74,0x68,0x65,0x6e])](_0x49182a=>{_0x49182a!=_0x4c5133([0x56,0x61,0x6c,0x69,0x64])&&_0x4db5f6(_0x49182a);},_0x2e451a);}):_0x51ae2d||_0x25cfb9||_0x4c5133([0x56,0x61,0x6c,0x69,0x64]);}}function _0x200690(_0x4850e5,_0x9d2528){return new window[(_0x4c5133([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xed3486=>{if(_0x4b1d6())return _0xed3486(_0x4c5133([0x56,0x61,0x6c,0x69,0x64]));_0x556655(),_0x41f8b0[_0x4c5133([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c5133([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27db47=!0x1;const _0x1618e7=_0xe1e5f1();function _0x3f6701(_0x390745){return!!_0x390745&&(typeof _0x390745===_0x4c5133([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x390745===_0x4c5133([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x390745[_0x4c5133([0x74,0x68,0x65,0x6e])]===_0x4c5133([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x390745[_0x4c5133([0x63,0x61,0x74,0x63,0x68])]===_0x4c5133([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e8f8f(_0x410685){_0xdcc1b7(_0x410685)[_0x4c5133([0x74,0x68,0x65,0x6e])](_0xd7502c=>{if(!_0xd7502c||_0xd7502c[_0x4c5133([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c5133([0x6f,0x6b]))return _0x4c5133([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x251800(_0x19508d(_0x1618e7+_0x9d2528))!=_0xd7502c[_0x4c5133([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c5133([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5133([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5133([0x74,0x68,0x65,0x6e])](_0x443abb=>(_0x2d0aee(),_0x443abb),()=>{const _0x5bf613=_0x2c18c6();return null==_0x5bf613?(_0x2d0aee(),_0x4c5133([0x56,0x61,0x6c,0x69,0x64])):_0x4c5133(_0x239d69-_0x5bf613>(0xa191a4f^_0x4e0e37)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5133([0x74,0x68,0x65,0x6e])](_0xed3486)[_0x4c5133([0x63,0x61,0x74,0x63,0x68])](()=>{_0xed3486(_0x4c5133([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3def73=0x2e2370cf^_0x4e0e37;function _0x2d0aee(){const _0x13ee74=_0x4c5133([0x6c,0x6c,0x63,0x74,0x2d])+_0x251800(_0x19508d(_0x4850e5)),_0x237bd=_0x257dca(_0x251800(window[_0x4c5133([0x4d,0x61,0x74,0x68])][_0x4c5133([0x63,0x65,0x69,0x6c])](_0x239d69/_0x3def73)));window[_0x4c5133([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5133([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13ee74,_0x237bd);}function _0x2c18c6(){const _0x4ac607=_0x4c5133([0x6c,0x6c,0x63,0x74,0x2d])+_0x251800(_0x19508d(_0x4850e5)),_0xda89c6=window[_0x4c5133([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5133([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ac607);return _0xda89c6?window[_0x4c5133([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x257dca(_0xda89c6),0x10)*_0x3def73:null;}function _0xdcc1b7(_0x3af38d){return new window[(_0x4c5133([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x505cfe,_0x574b1c)=>{_0x3af38d[_0x4c5133([0x74,0x68,0x65,0x6e])](_0x505cfe,_0x574b1c),window[_0x4c5133([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x574b1c,0x2e144a8f^_0x4e0e37);});}}_0x41f8b0[_0x4c5133([0x6f,0x6e])](_0x4c5133([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3aa4e1,_0x5b2379)=>{if(_0x5b2379[0x0]!=_0x4850e5)return _0xed3486(_0x4c5133([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b2379[0x1]={..._0x5b2379[0x1],[_0x4c5133([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1618e7};},{[_0x4c5133([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5133([0x68,0x69,0x67,0x68])}),_0x41f8b0[_0x4c5133([0x6f,0x6e])](_0x4c5133([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5161d8=>{_0x3f6701(_0x5161d8[_0x4c5133([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27db47=!0x0,_0x4e8f8f(_0x5161d8[_0x4c5133([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c5133([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5133([0x6c,0x6f,0x77])}),_0x901e9b[_0x4c5133([0x74,0x68,0x65,0x6e])](()=>{_0x27db47||_0xed3486(_0x4c5133([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b1d6(){return _0x41f8b0[_0x4c5133([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5133([0x76,0x69,0x65,0x77])][_0x4c5133([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c5133([0x61,0x75,0x74,0x6f]);}function _0x556655(){_0x41f8b0[_0x4c5133([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5133([0x76,0x69,0x65,0x77])][_0x4c5133([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c5133([0x61,0x75,0x74,0x6f]);}}function _0xb926ea(_0x3d2cb4){const _0x244d66=[new window[(_0x4c5133([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50ea33=>setTimeout(_0x50ea33,0x2e1ca083^_0x4e0e37)),_0x901e9b[_0x4c5133([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c5133([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d844b=>{let _0x7c1ee3=0x0;_0x41f8b0[_0x4c5133([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5133([0x6f,0x6e])](_0x4c5133([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b1b9b,_0x53e099)=>{_0x53e099[0x0][_0x4c5133([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7c1ee3++,_0x7c1ee3==(0x2e159fb7^_0x4e0e37)&&(_0x3d844b(),_0x1b1b9b[_0x4c5133([0x6f,0x66,0x66])]());});}))];return window[_0x4c5133([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c5133([0x72,0x61,0x63,0x65])](_0x244d66)[_0x4c5133([0x74,0x68,0x65,0x6e])](()=>_0x3d2cb4);}async function _0x1467f8(){await _0x901e9b,_0x41f8b0[_0x4c5133([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5133([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x244fb5,_0x41f8b0[_0x4c5133([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5133([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x244fb5,_0x41f8b0[_0x4c5133([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c5133([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5374e8(_0x4f19c1){const _0x1fae67=_0x4dd453();_0x41f8b0[_0x1fae67]=_0x4c5133([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f19c1,_0x4f19c1!=_0x4c5133([0x56,0x61,0x6c,0x69,0x64])&&_0x1467f8();}function _0x4dd453(){const _0x783fc1=window[_0x4c5133([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c5133([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c5133([0x6e,0x6f,0x77])]())[_0x4c5133([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c5133([0x2e]),'');let _0x388640=_0x4c5133([0x4d]);for(let _0x5f2c29=0x0;_0x5f2c29<_0x783fc1[_0x4c5133([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f2c29+=0x2){let _0x865a91=window[_0x4c5133([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x783fc1[_0x4c5133([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f2c29,_0x5f2c29+0x2));_0x865a91>=_0x5595d8[_0x4c5133([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x865a91-=_0x5595d8[_0x4c5133([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x388640+=_0x5595d8[_0x865a91];}return _0x388640;}function _0x4bded7(){const _0x48f3fb=_0x180234[_0x4c5133([0x73,0x70,0x6c,0x69,0x74])](_0x4c5133([0x2e]));if(0x3!=_0x48f3fb[_0x4c5133([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56ccbf(_0x48f3fb[0x1]);function _0x56ccbf(_0x524747){const _0x2b023b=_0x146e95(_0x524747);return _0x2b023b&&_0x27a09c()?_0x2b023b:null;function _0x27a09c(){const _0x1294e0=_0x2b023b[_0x4c5133([0x6a,0x74,0x69])],_0x5865e0=window[_0x4c5133([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1294e0[_0x4c5133([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1294e0[_0x4c5133([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa8da5d={..._0x2b023b,[_0x4c5133([0x6a,0x74,0x69])]:_0x1294e0[_0x4c5133([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1294e0[_0x4c5133([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa8da5d[_0x4c5133([0x76,0x63])],_0x19508d(_0xa8da5d)==_0x5865e0;}}}async function _0x111b40(){let _0x304f2a=!0x0;try{const _0x4b752b=_0x180234[_0x4c5133([0x73,0x70,0x6c,0x69,0x74])](_0x4c5133([0x2e])),[_0x3df47c,_0x481877,_0x67b81e]=_0x4b752b;return _0x437664(_0x3df47c),await _0x55bada(_0x3df47c,_0x481877,_0x67b81e),_0x304f2a;}catch(_0x280777){return!0x1;}function _0x437664(_0xcd60a5){const _0x199767=_0x146e95(_0xcd60a5);_0x199767&&_0x199767[_0x4c5133([0x61,0x6c,0x67])]==_0x4c5133([0x45,0x53,0x32,0x35,0x36])||(_0x304f2a=!0x1);}async function _0x55bada(_0x4e0119,_0x4c07db,_0x475872){const _0x136c81=window[_0x4c5133([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c5133([0x66,0x72,0x6f,0x6d])](_0x3ebe6d(_0x475872),_0x478095=>_0x478095[_0x4c5133([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x176d82=new window[(_0x4c5133([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c5133([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e0119+_0x4c5133([0x2e])+_0x4c07db),_0x595dc8=window[_0x4c5133([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c5133([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x595dc8)return;const _0x3e703a=await _0x595dc8[_0x4c5133([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c5133([0x6a,0x77,0x6b]),_0x2e0278,{[_0x4c5133([0x6e,0x61,0x6d,0x65])]:_0x4c5133([0x45,0x43,0x44,0x53,0x41]),[_0x4c5133([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c5133([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c5133([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x595dc8[_0x4c5133([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c5133([0x6e,0x61,0x6d,0x65])]:_0x4c5133([0x45,0x43,0x44,0x53,0x41]),[_0x4c5133([0x68,0x61,0x73,0x68])]:{[_0x4c5133([0x6e,0x61,0x6d,0x65])]:_0x4c5133([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e703a,_0x136c81,_0x176d82)||(_0x304f2a=!0x1);}}function _0x146e95(_0x3f8f9b){return _0x3f8f9b[_0x4c5133([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c5133([0x65,0x79]))?JSON[_0x4c5133([0x70,0x61,0x72,0x73,0x65])](_0x3ebe6d(_0x3f8f9b)):null;}function _0x3ebe6d(_0x464693){return window[_0x4c5133([0x61,0x74,0x6f,0x62])](_0x464693[_0x4c5133([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c5133([0x2b]))[_0x4c5133([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c5133([0x2f])));}function _0x19508d(_0x1c252e){let _0x38164b=0x1505;function _0x1b31b6(_0xed6c47){for(let _0x582897=0x0;_0x582897<_0xed6c47[_0x4c5133([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x582897++){const _0x59c27e=_0xed6c47[_0x4c5133([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x582897);_0x38164b=(_0x38164b<<0x5)+_0x38164b+_0x59c27e,_0x38164b&=_0x38164b;}}function _0x42f875(_0x59c149){Array[_0x4c5133([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59c149)?_0x59c149[_0x4c5133([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42f875):_0x59c149&&typeof _0x59c149==_0x4c5133([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c5133([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59c149)[_0x4c5133([0x73,0x6f,0x72,0x74])]()[_0x4c5133([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe38fdc,_0x428203])=>{_0x1b31b6(_0xe38fdc),_0x42f875(_0x428203);}):_0x1b31b6(window[_0x4c5133([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59c149));}return _0x42f875(_0x1c252e),_0x38164b>>>0x0;}function _0x251800(_0x41a7ca){return _0x41a7ca[_0x4c5133([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c5133([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c5133([0x30]));}function _0x257dca(_0x4d4653){return _0x4d4653[_0x4c5133([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c5133([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c5133([0x6a,0x6f,0x69,0x6e])]('');}function _0x244fb5(){}function _0x4c5133(_0x582e57){return _0x582e57['map'](_0xa9af70=>String['fromCharCode'](_0xa9af70))['join']('');}_0x5374e8(await _0x388d0());}(this);}['_initSchema'](){const _0x26f2cd=this['editor']['model']['schema'];_0x26f2cd['isRegistered']('imageBlock')&&_0x26f2cd['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x26f2cd['isRegistered']('imageInline')&&_0x26f2cd['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2f4169=this['editor'];_0x2f4169['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2f4169['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4a876f=>_0x4a876f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x913405=_0x2f4169['commands']['get']('replaceImageSource');_0x913405&&this['listenTo'](_0x913405,'cleanupImage',(_0x11331f,[_0x20a448,_0x2f593d])=>{_0x20a448['removeAttribute']('uploadcareImageId',_0x2f593d);});}['_initConfig'](){const _0x4746d3=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1c03bc=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3ed14c(_0x3d5f48['document'],'uc-config',{..._0x4746d3,'pubkey':_0x1c03bc,'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']=_0x174d70=>{if('closeMax'==_0x174d70)return'#uc-icon-arrow-down';},_0x3d5f48['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3ed14c(_0x3d5f48['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x3d5f48['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x52d0b4=this['editor']['commands']['get']('insertImage');_0x52d0b4&&this['listenTo'](_0x52d0b4,'execute',()=>{const _0x50af4e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x50af4e&&_0x50af4e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x50af4e);});});const _0x4bfb1b=this['editor']['commands']['get']('uploadcareImageReplace');_0x4bfb1b&&this['listenTo'](_0x4bfb1b,'execute',()=>{const _0x51f811=this['editor']['model']['document']['selection']['getSelectedElement']();_0x51f811&&_0x51f811['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x51f811);});});}}class u extends _0x3d2826{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x330775){super(_0x330775),_0x330775['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x55d23b['defineComponents'](_0x55d23b);}}class ta extends _0x5f12d9{constructor(_0x535549){super(_0x535549);const t=_0x535549['t'],_0x348a1d=this['bindTemplate'],_0x2fc8f4=new _0xca1122();_0x2fc8f4['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':[_0x2fc8f4,{'text':_0x348a1d['to']('imageUploadProgress',_0x36dac6=>t('Loading\x20image...')+'\x20('+(_0x36dac6||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 _0x5f12d9{constructor(_0x142e30){super(_0x142e30);const t=_0x142e30['t'];this['set']('errorType',null);const _0x2498fd=new _0x29ef0c(_0x142e30);_0x2498fd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2498fd['withText']=!0x0,_0x2498fd['class']='ck-button-action',_0x2498fd['on']('execute',()=>{this['fire']('retry');}),_0x2498fd['bind']('isVisible')['to'](this,'errorType',_0x5410e0=>'NotFound'!==_0x5410e0);const _0x58e60f=new at();_0x58e60f['content']=et,_0x58e60f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1ccb86=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':[_0x58e60f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1ccb86['to']('errorType',_0x366693=>t('NotFound'!==_0x366693?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2498fd]},{'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 _0x5f12d9{constructor(_0x47b566,_0x5acffe){super(_0x47b566);const _0x500ffe=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5acffe,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x500ffe['to']('imageSrc')}});}}class Z extends G{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2785c8,_0x14c76d,_0x44cc59){super(_0x2785c8),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x2785c8),this['_errorView']=new rt(_0x2785c8),this['_editingView']=new tt(_0x2785c8,_0x44cc59),this['_focusableView']=new _0x5f12d9(_0x2785c8),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x14c76d),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'],_0x3762ad=>{this['_addUploadcareImageEditorListeners'](_0x3762ad);});}),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'](_0x1fff62,_0x1d9fb7){const _0x3fd342='uc-cloud-image-editor',_0x38fc46=_0x1fff62['querySelector'](_0x3fd342);if(_0x38fc46)return _0x1d9fb7(_0x38fc46);const _0x2ac243=new MutationObserver(_0x2341cb=>{const _0x5c877e=_0x2341cb['filter'](_0x3ec71e=>_0x3ec71e['target']===_0x1fff62&&_0x3ec71e['addedNodes']['length']>0x0&&_0x3ec71e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3fd342);_0x5c877e['length']&&(_0x2ac243['disconnect'](),_0x1d9fb7(_0x5c877e[0x0]['addedNodes'][0x0]));});_0x2ac243['observe'](_0x1fff62,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x120ea2){_0x120ea2['addEventListener']('apply',_0x313568=>{this['fire']('apply',{'imageSrc':_0x313568['detail']['cdnUrl']});}),_0x120ea2['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class A extends/* #__PURE__ -- @preserve */
25
- _0x4274e6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2f51a2,_0xcd35ca,_0x6001a5){super(),this['_editor']=_0x2f51a2,this['_dialog']=_0xcd35ca,this['_imageElement']=_0x6001a5,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 _0x134d39=this['_imageElement'],_0x153bda=_0x134d39['getAttribute']('uploadcareImageId'),_0xf6fb56=_0x134d39['getAttribute']('src');if(_0x153bda)await this['_loadImageInfo'](_0x153bda,_0xf6fb56);else{if(this['_imageCache']['has'](_0xf6fb56)){const _0x5e06a3=this['_imageCache']['get'](_0xf6fb56);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e06a3['url'],this['imageDimension']=_0x5e06a3['dimension'],this['imageId']=_0x5e06a3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4501f2}=this['_editor'],t=_0x4501f2['t'],_0x13d1b1=new Z(_0x4501f2,this['imageStatus'],this['_attributes']);_0x13d1b1['bind']('status')['to'](this,'imageStatus'),_0x13d1b1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x13d1b1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x13d1b1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x13d1b1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3337e5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x13d1b1,'position':_0x172821['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x13d1b1['focus']();},'onHide':()=>{_0x13d1b1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4132ed=>!R(_0x4132ed,_0x13d1b1['element'])}});}['_loadImageInfo'](_0x3c5433,_0x10e876){return C['getInfo'](_0x3c5433,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x182eb2=>{const {width:_0x377498,height:_0xae27da}=_0x182eb2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10e876,this['imageDimension']={'width':_0x377498,'height':_0xae27da},this['imageId']=_0x3c5433;})['catch'](_0x1c7f96=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1c7f96['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4877b6,_0x1ce0aa){return this['_getImageAsFile'](_0x4877b6)['then'](_0x51a975=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1ce0aa['signal'],'file':_0x51a975,'onProgress':_0x326252=>{_0x326252&&_0x326252['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x326252['value']));}}))['then'](_0x5f4b4c=>{const {width:_0x578b43,height:_0x48a770}=_0x5f4b4c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5f4b4c['cdnUrl'],this['imageDimension']={'width':_0x578b43,'height':_0x48a770},this['imageId']=_0x5f4b4c['uuid'],this['imageUploadProgress']=null;const _0x4a463a=_0x4877b6['getAttribute']('src');this['_imageCache']['set'](_0x4a463a,{'id':_0x5f4b4c['uuid'],'url':_0x5f4b4c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x57332e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57332e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x571531,_0x4641c7){_0x571531['on']('apply',(_0x177bef,_0x1de0fd)=>{this['_replaceImage'](_0x4641c7,_0x1de0fd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x571531['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x571531['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2e2fdc,_0x2322d7,_0x43ff4e){const _0x3e794d=this['_editor'],{width:_0x40804b,height:_0x277959}=F(_0x2322d7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x556fca,imageSources:_0x43a08f}=E(_0x2322d7,_0x40804b);_0x3e794d['model']['change'](_0x1b53ac=>{if('$graveyard'===_0x2e2fdc['root']['rootName']){_0x3e794d['execute']('insertImage',{'imageType':_0x2e2fdc['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2e2fdc['getAttributes']()),'uploadcareImageId':_0x43ff4e,'src':_0x556fca,'sources':_0x43a08f,'width':_0x40804b,'height':_0x277959}});const _0x60a921=_0x2e2fdc['getChildren']();_0x2e2fdc=_0x3e794d['model']['document']['selection']['getSelectedElement']();for(const _0x1e4fb2 of _0x60a921)_0x1b53ac['append'](_0x1b53ac['cloneElement'](_0x1e4fb2),_0x2e2fdc);}else _0x1b53ac['setSelection'](_0x2e2fdc,'on'),_0x3e794d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2e2fdc['getAttributes']()),'uploadcareImageId':_0x43ff4e,'src':_0x556fca,'sources':_0x43a08f,'width':_0x40804b,'height':_0x277959},_0x2e2fdc);_0x1b53ac['setSelection'](_0x2e2fdc,'on');});}async['_getImageAsFile'](_0x3e6023){const _0x5aa936=_0x3d5f48['window'],_0x4fd8ca=_0x3d5f48['document']['location']['href'],_0x5085ec=new _0x5aa936['URL'](_0x3e6023['getAttribute']('src'),_0x4fd8ca);if('data:'===_0x5085ec['protocol']){const _0x13ecd7=_0x5085ec['href']['split'](','),_0x2e76ef=_0x13ecd7[0x0]['match'](/:(.*?);/)[0x1],_0x47e628=_0x2e76ef['split']('/')[0x1],_0x2776e6=_0x5aa936['atob'](_0x13ecd7[_0x13ecd7['length']-0x1]);let _0x1c77e8=_0x2776e6['length'];const _0x26c4b0=new _0x5aa936['Uint8Array'](_0x1c77e8);for(;_0x1c77e8--;)_0x26c4b0[_0x1c77e8]=_0x2776e6['charCodeAt'](_0x1c77e8);return new _0x5aa936['File']([_0x26c4b0],'image.'+_0x47e628,{'type':_0x2e76ef});}const _0x2be5e5=_0x5085ec['href']['split']('/'),_0xe1303f=_0x2be5e5[_0x2be5e5['length']-0x1],_0x28bd53=_0xe1303f['split']('.')[0x1];return _0x5aa936['fetch'](_0x5085ec['href'])['then'](_0x205efc=>_0x205efc['clone']()['blob']())['then'](_0x13e865=>new _0x5aa936['File']([_0x13e865],_0xe1303f,{'type':'image/'+_0x28bd53}));}}class z extends _0xa7c68c{['imageEditController'];static get['requires'](){return[_0x199bf6];}['_isEditable'];constructor(_0x55dbc4){super(_0x55dbc4),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x33cec5){const _0x59709a=V(_0x33cec5);return _0x140122=>!(!_0x140122||!_0x140122['is']('element','imageBlock')&&!_0x140122['is']('element','imageInline'))&&(!!_0x140122['hasAttribute']('uploadcareImageId')||!!_0x140122['hasAttribute']('src')&&_0x59709a(_0x140122['getAttribute']('src')));}(_0x55dbc4['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1bc339=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1bc339);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x19ef3f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x19ef3f&&(_0x19ef3f['is']('element','imageBlock')||_0x19ef3f['is']('element','imageInline'))&&(this['imageEditController']=new A(this['editor'],this['editor']['plugins']['get'](_0x199bf6),_0x19ef3f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0xa7c68c{['refresh'](){const _0x20b248=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x20b248&&(_0x20b248['is']('element','imageBlock')||_0x20b248['is']('element','imageInline')));}['execute'](_0x1fdb6a){const _0x271ef0=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2a904c=>{_0x2a904c['setAttributes'](_0x1fdb6a,_0x271ef0),_0x2a904c['removeAttribute']('srcset',_0x271ef0),_0x2a904c['removeAttribute']('sizes',_0x271ef0);});}}class g extends _0x3d2826{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x35e0a6,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c3137}=this;_0x5c3137['commands']['add']('uploadcareImageEdit',new z(_0x5c3137)),_0x5c3137['commands']['add']('uploadcareImageReplace',new O(_0x5c3137));}}class j extends _0x3d2826{['_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 _0x3e31c0=this['editor'];_0x3e31c0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2ec7b2=>{const _0x27b98d=_0x3e31c0['commands']['get']('uploadcareImageEdit'),_0x786f82=new _0x29ef0c(_0x2ec7b2),t=_0x2ec7b2['t'];return _0x786f82['set']({'icon':_0x3337e5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x786f82['bind']('isEnabled')['to'](_0x27b98d),_0x786f82['bind']('isOn')['to'](_0x27b98d,'isActive'),this['listenTo'](_0x786f82,'execute',()=>{_0x3e31c0['execute']('uploadcareImageEdit'),_0x3e31c0['editing']['view']['focus']();}),_0x786f82;}),this['_initConfig']();}['_initConfig'](){const _0x3265b8=_0x3ed14c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3265b8),this['listenTo'](this['editor'],'destroy',()=>{_0x3265b8['remove']();});}}class P extends _0x3d2826{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 _0x510bda,Command as _0x29f821}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x44ce61,IconGooglePhotos as _0x586e39,IconGoogleDrive as _0x720729,IconFacebook as _0x384c4e,IconDropbox as _0x4ed869,IconUploadcareLink as _0x1d73e2,IconUploadcareImageUpload as _0xdd8124,IconError as et,IconUploadcareImageEdit as _0x17de08}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x337eee,MenuBarMenuListItemButtonView as _0x4ab264,View as _0x5dd053,FocusCycler as _0x4688d9,Dialog as _0x971214,DialogViewPosition as _0x42b264,SpinnerView as _0x258d43,IconView as at,Notification as _0x54db13}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xfc14d3,DomEmitterMixin as _0x5ee508,global as _0x5b6665,getAncestors as _0x6b3053,ObservableMixin as _0x315153,createElement as _0xee2fdc,uid as _0x4fcd3f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x182f2a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3af6fd,info as _0x21ba82}from'@uploadcare/upload-client';import*as _0x52fb9d from'@uploadcare/file-uploader';var o=function(_0x1794c8){return _0x1794c8['Local']='local',_0x1794c8['URL']='url',_0x1794c8['Dropbox']='dropbox',_0x1794c8['GDrive']='gdrive',_0x1794c8['Facebook']='facebook',_0x1794c8['GPhotos']='gphotos',_0x1794c8['OneDrive']='onedrive',_0x1794c8;}({});function _(_0x3433fb,_0x156e95,_0x41a57f){const t=_0x3433fb['t'],_0x3e974c=_0x3433fb['t'];switch(_0x156e95){case o['Local']:return{'text':_0x3e974c('Insert'===_0x41a57f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3e974c('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x41a57f?_0x3e974c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3e974c('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x156e95;}}class e extends _0x510bda{['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 _0x4f2f9c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f33fe;for(const _0x3e0a7e in _0x4f2f9c){const _0x5ac762=_0x3e0a7e,_0x12f9ca=_0x4f2f9c[_0x5ac762];if('uploadcareLicenseKeyValid'==_0x12f9ca||'uploadcareLicenseKeyInvalid'==_0x12f9ca||'uploadcareLicenseKeyExpired'==_0x12f9ca||'uploadcareLicenseKeyDomainLimit'==_0x12f9ca||'uploadcareLicenseKeyNotAllowed'==_0x12f9ca||'uploadcareLicenseKeyEvaluationLimit'==_0x12f9ca||'uploadcareLicenseKeyTrialLimit'==_0x12f9ca||'uploadcareLicenseKeyUsageLimit'==_0x12f9ca){delete _0x4f2f9c[_0x5ac762],_0x5f33fe=_0x12f9ca,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3e8ca7}=this,_0x1cd6ee=_0x3e8ca7['commands']['get']('uploadcare');if(!_0x1cd6ee)return;const _0x5995e9=this['_normalizeConfigSourceList'](_0x3e8ca7['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x453dd0,_0x24f6cc)=>{const _0x18d914=this['_getIntegrationKey'](_0x24f6cc['type']);return _0x453dd0[_0x18d914]||(_0x453dd0[_0x18d914]=[]),_0x453dd0[_0x18d914]['push'](_0x24f6cc),_0x453dd0;},{});_0x3e8ca7['plugins']['has']('ImageInsertUI')&&_0x3e8ca7['commands']['get']('uploadcare')&&Object['entries'](_0x5995e9)['forEach'](([_0x293ca9,_0x1f598a])=>{_0x3e8ca7['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x293ca9,'observable':()=>_0x1cd6ee,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1f598a),'formViewCreator':()=>this['_createDropdownButtons'](_0x1f598a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1f598a),'override':'assetManager'!==_0x293ca9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x89e382){const {locale:_0x114a99}=this['editor'];return _0x89e382['map'](_0x49df0d=>{const _0x266eed=_(_0x114a99,_0x49df0d,'Insert');switch(_0x49df0d){case o['Local']:return{'icon':_0xdd8124,'type':o['Local'],..._0x266eed};case o['URL']:return{'icon':_0x1d73e2,'type':o['URL'],..._0x266eed};case o['Dropbox']:return{'icon':_0x4ed869,'type':o['Dropbox'],..._0x266eed};case o['Facebook']:return{'icon':_0x384c4e,'type':o['Facebook'],..._0x266eed};case o['GDrive']:return{'icon':_0x720729,'type':o['GDrive'],..._0x266eed};case o['GPhotos']:return{'icon':_0x586e39,'type':o['GPhotos'],..._0x266eed};case o['OneDrive']:return{'icon':_0x44ce61,'type':o['OneDrive'],..._0x266eed};}});}['_getIntegrationKey'](_0x151fb6){switch(_0x151fb6){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3307fd,_0x22d86c){const _0x3e410b=this['editor'],_0x4c8bf5=new _0x3307fd(_0x3e410b['locale']),_0x3d1e0e=_0x3e410b['commands']['get']('uploadcare');return _0x4c8bf5['bind']('isEnabled')['to'](_0x3d1e0e),_0x4c8bf5['on']('execute',()=>{_0x3d1e0e['execute'](_0x22d86c);}),_0x4c8bf5;}['_createToolbarButton'](_0x2a192b){const {locale:_0x386e59}=this['editor'],_0x3c92e0=this['editor']['plugins']['get']('ImageInsertUI'),_0x34758a=_0x2a192b[0x0],_0x2e2a7f=this['_createButton'](_0x337eee,_0x34758a['type']);return _0x2e2a7f['icon']=_0x34758a['icon'],_0x2e2a7f['bind']('label')['to'](_0x3c92e0,'isImageSelected',_0x425350=>_(_0x386e59,_0x34758a['type'],_0x425350?'Replace':'Insert')['text']),_0x2e2a7f['tooltip']=!0x0,_0x2e2a7f;}['_createDropdownButtons'](_0x3cc573){const {locale:_0x1c1f87}=this['editor'],_0x3745de=this['editor']['plugins']['get']('ImageInsertUI');return _0x3cc573['map'](_0x3825a7=>{const _0x218ccb=this['_createButton'](_0x337eee,_0x3825a7['type']);return _0x218ccb['withText']=!0x0,_0x218ccb['icon']=_0x3825a7['icon'],_0x218ccb['bind']('label')['to'](_0x3745de,'isImageSelected',_0x1298ee=>_(_0x1c1f87,_0x3825a7['type'],_0x1298ee?'Replace':'Insert')['text']),_0x218ccb;});}['_createMenuBarButtons'](_0x5939a6){return _0x5939a6['map'](_0x291a88=>{const _0x34bfbd=this['_createButton'](_0x4ab264,_0x291a88['type']);return _0x34bfbd['icon']=_0x291a88['icon'],_0x34bfbd['label']=_0x291a88['shortText'],_0x34bfbd;});}}class q extends _0x5dd053{['focusTracker'];['focusCycler'];constructor(_0x433ce0){super(_0x433ce0),this['focusTracker']=new _0xfc14d3(),this['focusCycler']=new _0x4688d9({'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(_0x70a1ec){super(_0x70a1ec),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(_0x606c28,_0x115105){const _0x13552b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1a89c3=>_0x1a89c3<=_0x115105)['map'](_0x46c039=>_0x606c28['replace'](/\/$/,'')+'/-/resize/'+_0x46c039+'x/\x20'+_0x46c039+'w');return{'imageFallbackUrl':_0x606c28,'imageSources':[{'srcset':_0x13552b['join'](',\x20'),'sizes':'(max-width:\x20'+_0x115105+'px)\x20100vw,\x20'+_0x115105+'px','type':'image/webp'}]};}function A(_0xbc5349,_0x2be112,_0x32ffff){const _0x2e92ff=_0xbc5349['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2e92ff?parseInt(_0x2e92ff[0x1],0xa):_0x2be112,'height':_0x2e92ff?parseInt(_0x2e92ff[0x2],0xa):_0x32ffff};}function m(_0x566687,_0x6a9b72){const _0x17bfd7=Object['create'](_0x5ee508),_0x4ffa05=_0x566687['plugins']['get']('ImageUtils'),_0x3e2ce5=_0x566687['editing']['mapper']['toViewElement'](_0x6a9b72),_0x4ae164=_0x4ffa05['findViewImgElement'](_0x3e2ce5),_0x5c0184=_0x566687['editing']['view']['domConverter']['viewToDom'](_0x4ae164),_0x57b66a=_0x6a9b72['getAttribute']('width'),_0x1f2172=_0x6a9b72['getAttribute']('height'),_0x5a2483='image-processing';_0x566687['editing']['view']['change'](_0x3bc811=>{_0x3bc811['addClass'](_0x5a2483,_0x3e2ce5),_0x3bc811['setStyle']('aspect-ratio',_0x57b66a+'/'+_0x1f2172,_0x4ae164);}),_0x17bfd7['listenTo'](_0x5c0184,'load',()=>{_0x17bfd7['stopListening'](_0x5c0184,'load'),_0x566687['editing']['view']['change'](_0x8b658=>{_0x8b658['removeClass'](_0x5a2483,_0x3e2ce5),_0x8b658['removeStyle']('aspect-ratio',_0x4ae164);});});}function R(_0x33c831){if(Array['isArray'](_0x33c831)){const _0x5ea3cb=_0x33c831['map'](R);return _0x17ab26=>_0x5ea3cb['some'](_0x8ab0bc=>_0x8ab0bc(_0x17ab26));}if('origin'==_0x33c831){const _0x3481e3=_0x5b6665['window']['location']['origin'];return _0x1f9364=>new URL(_0x1f9364,_0x5b6665['document']['baseURI'])['origin']==_0x3481e3;}return'function'==typeof _0x33c831?_0x33c831:_0x33c831 instanceof RegExp?_0x1326a0=>!(!_0x1326a0['match'](_0x33c831)&&!_0x1326a0['replace'](/^https?:\/\//,'')['match'](_0x33c831)):()=>!0x1;}function F(_0x4f3f20,_0x5a754a){return _0x6b3053(_0x4f3f20['target'])['includes'](_0x5a754a);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x315153(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2f2ad1,_0x225200,_0x1b3c21){super(),this['_editor']=_0x2f2ad1,this['_editing']=_0x225200,this['_dialog']=_0x2f2ad1['plugins']['get'](_0x971214),this['_api']=_0x225200['ctxElement']['getAPI'](),this['_type']=_0x1b3c21,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:_0x5211ca,model:_0x1d4af1}=this['_editor'],_0xe7aa85=_0x1d4af1['document']['selection']['getSelectedElement'](),_0x4b3516=_0xe7aa85&&(_0xe7aa85['is']('element','imageBlock')||_0xe7aa85['is']('element','imageInline'));this['_formView']=new S(_0x5211ca),this['_dialog']['show']({'id':'uploadCare','icon':_0xdd8124,'title':_(_0x5211ca,this['_type'],_0x4b3516?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x42b264['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1f0801=>!F(_0x1f0801,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3993c3}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x340cf5=>{const _0x30f7ff=_0x3993c3['length'];for(const _0x1733a6 of _0x3993c3){const _0x13ebdc=_0x1733a6===_0x3993c3[_0x30f7ff-0x1],{cdnUrl:_0x2acf60,fileInfo:_0x39b4b4}=_0x1733a6;if(!_0x2acf60||!_0x39b4b4)continue;const {width:_0x58ae87,height:_0x223bf5}=_0x39b4b4['imageInfo'],_0x1c3e6d=A(_0x2acf60,_0x58ae87,_0x223bf5),_0x1ff431=E(_0x2acf60,_0x1c3e6d['width']),_0x419041={'id':_0x39b4b4['uuid'],'type':'image','attributes':{'imageDimension':_0x1c3e6d,..._0x1ff431}};this['_insertAsset'](_0x419041,_0x13ebdc,_0x340cf5);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x548867=>{'idle'===_0x548867['detail']['status']&&!_0x548867['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3c5965,_0x350ebe,_0x4854ec){const _0x4dc340=this['_editor']['model']['document']['selection'],_0x24127b=_0x4dc340['getSelectedElement'](),_0x20079c=!(!_0x24127b||!_0x24127b['is']('element','imageInline'));_0x4854ec['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3c5965,_0x20079c),_0x350ebe||_0x4854ec['setSelection'](_0x4dc340['getLastPosition']());}['_insertImage'](_0x1128a1,_0xe08ff5){const _0x51fef1=this['_editor'],{imageDimension:_0x3e8478,imageFallbackUrl:_0x5f3b4c,imageSources:_0x23c036}=_0x1128a1['attributes'];_0x51fef1['execute']('insertImage',{'imageType':_0xe08ff5?'imageInline':null,'source':{'uploadcareImageId':_0x1128a1['id'],'src':_0x5f3b4c,'sources':_0x23c036,..._0x3e8478}});}}class n extends _0x29f821{['_editing'];['_controller']=null;static get['requires'](){return[_0x971214,i];}constructor(_0x8dc416){super(_0x8dc416),this['_editing']=_0x8dc416['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x12bb32){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x12bb32);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x5c99d4,publicKey:_0x5276be,signal:_0x484776,onProgress:_0x21e47b}){return _0x3af6fd(_0x5c99d4,{'publicKey':_0x5276be,'store':'auto','signal':_0x484776,'onProgress':_0x21e47b});}static['getInfo'](_0x59e733,_0xa2ac56){return _0x21ba82(_0x59e733,_0xa2ac56);}}class p extends _0x510bda{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x182f2a,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x107afd=this['editor'];if(!!!_0x107afd['config']['get']('uploadcare'))return;_0x107afd['plugins']['get'](_0x182f2a)['createUploadAdapter']=_0x380b65=>new x(_0x380b65,_0x107afd),_0x107afd['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x31af32,{imageElement:_0x1821ed,data:_0x544040})=>{_0x107afd['model']['change'](_0x298264=>{_0x298264['setAttribute']('uploadcareImageId',_0x544040['uploadcareImageId'],_0x1821ed);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2b23a2,_0x2f5302){this['loader']=_0x2b23a2,this['editor']=_0x2f5302,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4bf5cb=this['editor']['config']['get']('uploadcare.pubkey'),_0x4b91f4=await this['loader']['file'];return C['upload']({'file':_0x4b91f4,'publicKey':_0x4bf5cb,'signal':this['controller']['signal'],'onProgress':_0x279cf8=>{_0x279cf8&&_0x279cf8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x279cf8['value']);}})['then'](async _0x1ea5e0=>{const {imageFallbackUrl:_0xce24c7,imageSources:_0x36a6be}=E(_0x1ea5e0['cdnUrl'],_0x1ea5e0['imageInfo']['width']);return{'uploadcareImageId':_0x1ea5e0['uuid'],'default':_0xce24c7,'sources':_0x36a6be};})['catch'](()=>{const _0xf3b3e=t('Cannot\x20upload\x20file:')+('\x20'+_0x4b91f4['name']+'.');return Promise['reject'](_0xf3b3e);});}['abort'](){this['controller']['abort']();}}class i extends _0x510bda{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x971214];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x186539=this['editor'];_0x186539['commands']['add']('uploadcare',new n(_0x186539));}['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 _0x1c2f82=_0x5b6665['document']['querySelector']('input[uploadcare-file-input]');_0x1c2f82&&_0x1c2f82['remove']();}),async function(_0xecb13b){const _0x652357=_0x373924([0x36,0x53,0x5a,0x56,0x76,0x79,0x69,0x43,0x62,0x4e,0x51,0x54,0x4f,0x70,0x64,0x33,0x6e,0x57,0x61,0x46,0x31,0x7a,0x4b,0x4c,0x49,0x34,0x6d,0x73,0x48,0x6f,0x67,0x77,0x39,0x45,0x6a,0x78,0x66,0x37,0x41,0x52,0x63,0x65,0x32,0x58,0x4a,0x44,0x6b,0x47,0x6c,0x35,0x50,0x75,0x30,0x38,0x71,0x42,0x72,0x4d,0x74,0x59,0x68,0x55]),_0x9dd09e=0x1949f838,_0x465469=0x194e9c28^_0x9dd09e,_0x2f110e=window[_0x373924([0x44,0x61,0x74,0x65])][_0x373924([0x6e,0x6f,0x77])](),_0x123359=_0xecb13b[_0x373924([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17f4f0=new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43ce87=>{_0x123359[_0x373924([0x6f,0x6e,0x63,0x65])](_0x373924([0x72,0x65,0x61,0x64,0x79]),_0x43ce87);}),_0x9d14a0={[_0x373924([0x6b,0x74,0x79])]:_0x373924([0x45,0x43]),[_0x373924([0x75,0x73,0x65])]:_0x373924([0x73,0x69,0x67]),[_0x373924([0x63,0x72,0x76])]:_0x373924([0x50,0x2d,0x32,0x35,0x36]),[_0x373924([0x78])]:_0x373924([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]),[_0x373924([0x79])]:_0x373924([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]),[_0x373924([0x61,0x6c,0x67])]:_0x373924([0x45,0x53,0x32,0x35,0x36])},_0x15d915=_0x123359[_0x373924([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x373924([0x67,0x65,0x74])](_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8397fa(){let _0x179da1,_0x192981=null,_0xfd7f88=null;try{if(_0x15d915==_0x373924([0x47,0x50,0x4c]))return _0x373924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x179da1=_0x537151(),!_0x179da1)return _0x373924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x179da1[_0x373924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xfd7f88=_0x5a0321(_0x179da1[_0x373924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x179da1[_0x373924([0x6a,0x74,0x69])])),await _0x364525()?_0x4015f2()?_0x173e44()?_0x373924([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23f9d5()?(_0x179da1[_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x373924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x192981=_0x1d17a9(_0x373924([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x179da1[_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x373924([0x74,0x72,0x69,0x61,0x6c])&&(_0x192981=_0x1d17a9(_0x373924([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1986bc()):_0x373924([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x373924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x373924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x262a74){return _0x373924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x173e44(){const _0x44ccd1=[_0x373924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x373924([0x74,0x72,0x69,0x61,0x6c])][_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x179da1[_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f110e/0x3e8:0xe10*_0x465469;return _0x179da1[_0x373924([0x65,0x78,0x70])]<_0x44ccd1;}function _0x4015f2(){const _0x402df2=_0x179da1[_0x373924([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x402df2&&(!!_0x402df2[_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373924([0x2a]))||!!_0x402df2[_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373924([0x55,0x50,0x4c,0x43])));}function _0x23f9d5(){const _0xf26187=_0x179da1[_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf26187||0x0==_0xf26187[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d666d}=new URL(window[_0x373924([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf26187[_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d666d))return!0x0;const _0x45d759=_0x3d666d[_0x373924([0x73,0x70,0x6c,0x69,0x74])](_0x373924([0x2e]));return _0xf26187[_0x373924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18fbe2=>_0x18fbe2[_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373924([0x2a])))[_0x373924([0x6d,0x61,0x70])](_0x49bdaf=>_0x49bdaf[_0x373924([0x73,0x70,0x6c,0x69,0x74])](_0x373924([0x2e])))[_0x373924([0x73,0x6f,0x6d,0x65])](_0x295179=>_0x45d759[_0x373924([0x65,0x76,0x65,0x72,0x79])]((_0x5662ef,_0x25fdf2)=>_0x295179[_0x25fdf2]===_0x5662ef||_0x295179[_0x25fdf2]===_0x373924([0x2a])));}function _0x1986bc(){return _0x192981&&_0xfd7f88?new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9d56f9,_0x48709d)=>{_0x192981[_0x373924([0x74,0x68,0x65,0x6e])](_0x9d56f9,_0x48709d),_0xfd7f88[_0x373924([0x74,0x68,0x65,0x6e])](_0x21a86f=>{_0x21a86f!=_0x373924([0x56,0x61,0x6c,0x69,0x64])&&_0x9d56f9(_0x21a86f);},_0x48709d);}):_0x192981||_0xfd7f88||_0x373924([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a0321(_0x29aaeb,_0xe766c8){return new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4472ee=>{if(_0x579032())return _0x4472ee(_0x373924([0x56,0x61,0x6c,0x69,0x64]));_0x5e3fdc(),_0x123359[_0x373924([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x373924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a21f3=!0x1;const _0xced271=_0x4fcd3f();function _0x2be313(_0x192d0d){return!!_0x192d0d&&(typeof _0x192d0d===_0x373924([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x192d0d===_0x373924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x192d0d[_0x373924([0x74,0x68,0x65,0x6e])]===_0x373924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x192d0d[_0x373924([0x63,0x61,0x74,0x63,0x68])]===_0x373924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4344e4(_0x321f7a){_0x2cfd10(_0x321f7a)[_0x373924([0x74,0x68,0x65,0x6e])](_0x3b210e=>{if(!_0x3b210e||_0x3b210e[_0x373924([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x373924([0x6f,0x6b]))return _0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd7eec8(_0x113eac(_0xced271+_0xe766c8))!=_0x3b210e[_0x373924([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x373924([0x56,0x61,0x6c,0x69,0x64]);})[_0x373924([0x74,0x68,0x65,0x6e])](_0x4300fa=>(_0x237cd9(),_0x4300fa),()=>{const _0x1c461b=_0x1640b4();return null==_0x1c461b?(_0x237cd9(),_0x373924([0x56,0x61,0x6c,0x69,0x64])):_0x373924(_0x2f110e-_0x1c461b>(0x3d457c38^_0x9dd09e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x373924([0x74,0x68,0x65,0x6e])](_0x4472ee)[_0x373924([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4472ee(_0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d9734=0x197f16b8^_0x9dd09e;function _0x237cd9(){const _0x335e30=_0x373924([0x6c,0x6c,0x63,0x74,0x2d])+_0xd7eec8(_0x113eac(_0x29aaeb)),_0x6d18af=_0x19322b(_0xd7eec8(window[_0x373924([0x4d,0x61,0x74,0x68])][_0x373924([0x63,0x65,0x69,0x6c])](_0x2f110e/_0x4d9734)));window[_0x373924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x373924([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x335e30,_0x6d18af);}function _0x1640b4(){const _0x2fa593=_0x373924([0x6c,0x6c,0x63,0x74,0x2d])+_0xd7eec8(_0x113eac(_0x29aaeb)),_0x2dd44c=window[_0x373924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x373924([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fa593);return _0x2dd44c?window[_0x373924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19322b(_0x2dd44c),0x10)*_0x4d9734:null;}function _0x2cfd10(_0x58a850){return new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bf619,_0x1e53bd)=>{_0x58a850[_0x373924([0x74,0x68,0x65,0x6e])](_0x4bf619,_0x1e53bd),window[_0x373924([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e53bd,0x19482cf8^_0x9dd09e);});}}_0x123359[_0x373924([0x6f,0x6e])](_0x373924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x530369,_0x470487)=>{if(_0x470487[0x0]!=_0x29aaeb)return _0x4472ee(_0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x470487[0x1]={..._0x470487[0x1],[_0x373924([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xced271};},{[_0x373924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x373924([0x68,0x69,0x67,0x68])}),_0x123359[_0x373924([0x6f,0x6e])](_0x373924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b3fd4=>{_0x2be313(_0x2b3fd4[_0x373924([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a21f3=!0x0,_0x4344e4(_0x2b3fd4[_0x373924([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x373924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x373924([0x6c,0x6f,0x77])}),_0x17f4f0[_0x373924([0x74,0x68,0x65,0x6e])](()=>{_0x4a21f3||_0x4472ee(_0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x579032(){return _0x123359[_0x373924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x373924([0x76,0x69,0x65,0x77])][_0x373924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x373924([0x61,0x75,0x74,0x6f]);}function _0x5e3fdc(){_0x123359[_0x373924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x373924([0x76,0x69,0x65,0x77])][_0x373924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x373924([0x61,0x75,0x74,0x6f]);}}function _0x1d17a9(_0x44e41c){const _0x338af1=[new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x510430=>setTimeout(_0x510430,0x1940c6f4^_0x9dd09e)),_0x17f4f0[_0x373924([0x74,0x68,0x65,0x6e])](()=>new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x124403=>{let _0x326676=0x0;_0x123359[_0x373924([0x6d,0x6f,0x64,0x65,0x6c])][_0x373924([0x6f,0x6e])](_0x373924([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3194e1,_0x139613)=>{_0x139613[0x0][_0x373924([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x326676++,_0x326676==(0x1949f9c0^_0x9dd09e)&&(_0x124403(),_0x3194e1[_0x373924([0x6f,0x66,0x66])]());});}))];return window[_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x373924([0x72,0x61,0x63,0x65])](_0x338af1)[_0x373924([0x74,0x68,0x65,0x6e])](()=>_0x44e41c);}async function _0x9f82dc(){await _0x17f4f0,_0x123359[_0x373924([0x6d,0x6f,0x64,0x65,0x6c])][_0x373924([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xecbaa4,_0x123359[_0x373924([0x6d,0x6f,0x64,0x65,0x6c])][_0x373924([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xecbaa4,_0x123359[_0x373924([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x373924([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4cd3e4(_0x2bf4d0){const _0x4b9462=_0x242f9d();_0x123359[_0x4b9462]=_0x373924([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2bf4d0,_0x2bf4d0!=_0x373924([0x56,0x61,0x6c,0x69,0x64])&&_0x9f82dc();}function _0x242f9d(){const _0x4ad06e=window[_0x373924([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x373924([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x373924([0x6e,0x6f,0x77])]())[_0x373924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x373924([0x2e]),'');let _0x23d1af=_0x373924([0x53]);for(let _0x20ff7c=0x0;_0x20ff7c<_0x4ad06e[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20ff7c+=0x2){let _0x4d71dc=window[_0x373924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ad06e[_0x373924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20ff7c,_0x20ff7c+0x2));_0x4d71dc>=_0x652357[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d71dc-=_0x652357[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23d1af+=_0x652357[_0x4d71dc];}return _0x23d1af;}function _0x537151(){const _0x11f2db=_0x15d915[_0x373924([0x73,0x70,0x6c,0x69,0x74])](_0x373924([0x2e]));if(0x3!=_0x11f2db[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd519a5(_0x11f2db[0x1]);function _0xd519a5(_0x42aef3){const _0x3344dd=_0x1128ed(_0x42aef3);return _0x3344dd&&_0x4f638d()?_0x3344dd:null;function _0x4f638d(){const _0x30b740=_0x3344dd[_0x373924([0x6a,0x74,0x69])],_0x2cab89=window[_0x373924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30b740[_0x373924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30b740[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57dda9={..._0x3344dd,[_0x373924([0x6a,0x74,0x69])]:_0x30b740[_0x373924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30b740[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57dda9[_0x373924([0x76,0x63])],_0x113eac(_0x57dda9)==_0x2cab89;}}}async function _0x364525(){let _0xc53c27=!0x0;try{const _0x4cec69=_0x15d915[_0x373924([0x73,0x70,0x6c,0x69,0x74])](_0x373924([0x2e])),[_0x556be6,_0xc3a8f4,_0x476a9b]=_0x4cec69;return _0x558d05(_0x556be6),await _0x280a29(_0x556be6,_0xc3a8f4,_0x476a9b),_0xc53c27;}catch(_0x5643ac){return!0x1;}function _0x558d05(_0x4283b3){const _0x5b316d=_0x1128ed(_0x4283b3);_0x5b316d&&_0x5b316d[_0x373924([0x61,0x6c,0x67])]==_0x373924([0x45,0x53,0x32,0x35,0x36])||(_0xc53c27=!0x1);}async function _0x280a29(_0xaae517,_0x3d0c82,_0x4e7ac2){const _0x27f647=window[_0x373924([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x373924([0x66,0x72,0x6f,0x6d])](_0xf84a6(_0x4e7ac2),_0x5e1cc2=>_0x5e1cc2[_0x373924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f9e21=new window[(_0x373924([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x373924([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xaae517+_0x373924([0x2e])+_0x3d0c82),_0x4f60f3=window[_0x373924([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x373924([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f60f3)return;const _0x5cf398=await _0x4f60f3[_0x373924([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x373924([0x6a,0x77,0x6b]),_0x9d14a0,{[_0x373924([0x6e,0x61,0x6d,0x65])]:_0x373924([0x45,0x43,0x44,0x53,0x41]),[_0x373924([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x373924([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x373924([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f60f3[_0x373924([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x373924([0x6e,0x61,0x6d,0x65])]:_0x373924([0x45,0x43,0x44,0x53,0x41]),[_0x373924([0x68,0x61,0x73,0x68])]:{[_0x373924([0x6e,0x61,0x6d,0x65])]:_0x373924([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cf398,_0x27f647,_0x3f9e21)||(_0xc53c27=!0x1);}}function _0x1128ed(_0x24abfa){return _0x24abfa[_0x373924([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x373924([0x65,0x79]))?JSON[_0x373924([0x70,0x61,0x72,0x73,0x65])](_0xf84a6(_0x24abfa)):null;}function _0xf84a6(_0x2ac5ec){return window[_0x373924([0x61,0x74,0x6f,0x62])](_0x2ac5ec[_0x373924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x373924([0x2b]))[_0x373924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x373924([0x2f])));}function _0x113eac(_0x4c43a1){let _0x2905bb=0x1505;function _0x96a139(_0xaa9bf8){for(let _0x438e20=0x0;_0x438e20<_0xaa9bf8[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x438e20++){const _0x5a76d9=_0xaa9bf8[_0x373924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x438e20);_0x2905bb=(_0x2905bb<<0x5)+_0x2905bb+_0x5a76d9,_0x2905bb&=_0x2905bb;}}function _0x249a87(_0x44d8b8){Array[_0x373924([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x44d8b8)?_0x44d8b8[_0x373924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x249a87):_0x44d8b8&&typeof _0x44d8b8==_0x373924([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x373924([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x44d8b8)[_0x373924([0x73,0x6f,0x72,0x74])]()[_0x373924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x91fb15,_0x4971f7])=>{_0x96a139(_0x91fb15),_0x249a87(_0x4971f7);}):_0x96a139(window[_0x373924([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x44d8b8));}return _0x249a87(_0x4c43a1),_0x2905bb>>>0x0;}function _0xd7eec8(_0x28942e){return _0x28942e[_0x373924([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x373924([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x373924([0x30]));}function _0x19322b(_0x3ddd65){return _0x3ddd65[_0x373924([0x73,0x70,0x6c,0x69,0x74])]('')[_0x373924([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x373924([0x6a,0x6f,0x69,0x6e])]('');}function _0xecbaa4(){}function _0x373924(_0x3eb1f7){return _0x3eb1f7['map'](_0x49f884=>String['fromCharCode'](_0x49f884))['join']('');}_0x4cd3e4(await _0x8397fa());}(this);}['_initSchema'](){const _0x4d0a86=this['editor']['model']['schema'];_0x4d0a86['isRegistered']('imageBlock')&&_0x4d0a86['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4d0a86['isRegistered']('imageInline')&&_0x4d0a86['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2db5d5=this['editor'];_0x2db5d5['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2db5d5['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x25b445=>_0x25b445['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x12885d=_0x2db5d5['commands']['get']('replaceImageSource');_0x12885d&&this['listenTo'](_0x12885d,'cleanupImage',(_0x21d9ea,[_0x430976,_0x4d9f45])=>{_0x430976['removeAttribute']('uploadcareImageId',_0x4d9f45);});}['_initConfig'](){const _0x4f76d5=this['editor']['config']['get']('uploadcare.uploader')||{},_0xcbf3d2=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xee2fdc(_0x5b6665['document'],'uc-config',{..._0x4f76d5,'pubkey':_0xcbf3d2,'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']=_0x3b3a80=>{if('closeMax'==_0x3b3a80)return'#uc-icon-arrow-down';},_0x5b6665['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xee2fdc(_0x5b6665['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x5b6665['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2555ac=this['editor']['commands']['get']('insertImage');_0x2555ac&&this['listenTo'](_0x2555ac,'execute',()=>{const _0x125439=this['editor']['model']['document']['selection']['getSelectedElement']();_0x125439&&_0x125439['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x125439);});});const _0x469c75=this['editor']['commands']['get']('uploadcareImageReplace');_0x469c75&&this['listenTo'](_0x469c75,'execute',()=>{const _0xd8d14f=this['editor']['model']['document']['selection']['getSelectedElement']();_0xd8d14f&&_0xd8d14f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xd8d14f);});});}}class u extends _0x510bda{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3948e8){super(_0x3948e8),_0x3948e8['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x52fb9d['defineComponents'](_0x52fb9d);}}class ta extends _0x5dd053{constructor(_0x2c183d){super(_0x2c183d);const t=_0x2c183d['t'],_0x48e2c0=this['bindTemplate'],_0x2b8715=new _0x258d43();_0x2b8715['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':[_0x2b8715,{'text':_0x48e2c0['to']('imageUploadProgress',_0x5683e4=>t('Loading\x20image...')+'\x20('+(_0x5683e4||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 _0x5dd053{constructor(_0x55bba9){super(_0x55bba9);const t=_0x55bba9['t'];this['set']('errorType',null);const _0x367cb8=new _0x337eee(_0x55bba9);_0x367cb8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x367cb8['withText']=!0x0,_0x367cb8['class']='ck-button-action',_0x367cb8['on']('execute',()=>{this['fire']('retry');}),_0x367cb8['bind']('isVisible')['to'](this,'errorType',_0x41daad=>'NotFound'!==_0x41daad);const _0x552757=new at();_0x552757['content']=et,_0x552757['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f51c8=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':[_0x552757,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f51c8['to']('errorType',_0x25968a=>t('NotFound'!==_0x25968a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x367cb8]},{'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 _0x5dd053{constructor(_0x3dbd40,_0x391641){super(_0x3dbd40);const _0x140229=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x391641,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x140229['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2f915e,_0x309a68,_0x648525){super(_0x2f915e),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x2f915e),this['_errorView']=new rt(_0x2f915e),this['_editingView']=new tt(_0x2f915e,_0x648525),this['_focusableView']=new _0x5dd053(_0x2f915e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x309a68),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'],_0x301f92=>{this['_addUploadcareImageEditorListeners'](_0x301f92);});}),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'](_0x1c0069,_0x1a41b2){const _0x45b1e7='uc-cloud-image-editor',_0x3bfef5=_0x1c0069['querySelector'](_0x45b1e7);if(_0x3bfef5)return _0x1a41b2(_0x3bfef5);const _0xe4e020=new MutationObserver(_0x1cde24=>{const _0x3be671=_0x1cde24['filter'](_0x432d5e=>_0x432d5e['target']===_0x1c0069&&_0x432d5e['addedNodes']['length']>0x0&&_0x432d5e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x45b1e7);_0x3be671['length']&&(_0xe4e020['disconnect'](),_0x1a41b2(_0x3be671[0x0]['addedNodes'][0x0]));});_0xe4e020['observe'](_0x1c0069,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x64818){_0x64818['addEventListener']('apply',_0x5afd39=>{this['fire']('apply',{'imageSrc':_0x5afd39['detail']['cdnUrl']});}),_0x64818['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
+ _0x315153(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x22d7a2,_0x5a908c,_0x4f7eba){super(),this['_editor']=_0x22d7a2,this['_dialog']=_0x5a908c,this['_imageElement']=_0x4f7eba,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 _0x8d26e=this['_imageElement'],_0x154956=_0x8d26e['getAttribute']('uploadcareImageId'),_0x1fdd74=_0x8d26e['getAttribute']('src');if(_0x154956)await this['_loadImageInfo'](_0x154956,_0x1fdd74);else{if(this['_imageCache']['has'](_0x1fdd74)){const _0x42c188=this['_imageCache']['get'](_0x1fdd74);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42c188['url'],this['imageDimension']=_0x42c188['dimension'],this['imageId']=_0x42c188['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x29ac17}=this['_editor'],t=_0x29ac17['t'],_0x540bfe=new Z(_0x29ac17,this['imageStatus'],this['_attributes']);_0x540bfe['bind']('status')['to'](this,'imageStatus'),_0x540bfe['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x540bfe['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x540bfe['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x540bfe,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x17de08,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x540bfe,'position':_0x42b264['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x540bfe['focus']();},'onHide':()=>{_0x540bfe['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xe1b064=>!F(_0xe1b064,_0x540bfe['element'])}});}['_loadImageInfo'](_0x35caea,_0x125975){return C['getInfo'](_0x35caea,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2e6c7b=>{const {width:_0x10b6ee,height:_0x1ef47c}=_0x2e6c7b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x125975,this['imageDimension']={'width':_0x10b6ee,'height':_0x1ef47c},this['imageId']=_0x35caea;})['catch'](_0x39aeed=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39aeed['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x37202a,_0x1e747c){return this['_getImageAsFile'](_0x37202a)['then'](_0x4933c0=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1e747c['signal'],'file':_0x4933c0,'onProgress':_0x37dbdd=>{_0x37dbdd&&_0x37dbdd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x37dbdd['value']));}}))['then'](_0x4166e3=>{const {width:_0x181eda,height:_0x41de0a}=_0x4166e3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4166e3['cdnUrl'],this['imageDimension']={'width':_0x181eda,'height':_0x41de0a},this['imageId']=_0x4166e3['uuid'],this['imageUploadProgress']=null;const _0xc7e55b=_0x37202a['getAttribute']('src');this['_imageCache']['set'](_0xc7e55b,{'id':_0x4166e3['uuid'],'url':_0x4166e3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x22479f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22479f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3aa11f,_0x190962){_0x3aa11f['on']('apply',(_0x124e4b,_0x5b6581)=>{this['_replaceImage'](_0x190962,_0x5b6581['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3aa11f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3aa11f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x102249,_0x1cdaef,_0x10bbad){const _0x207324=this['_editor'],{width:_0x1bc626,height:_0xc32a76}=A(_0x1cdaef,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x25a045,imageSources:_0x508ef8}=E(_0x1cdaef,_0x1bc626);_0x207324['model']['change'](_0x5f21ae=>{if('$graveyard'===_0x102249['root']['rootName']){_0x207324['execute']('insertImage',{'imageType':_0x102249['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x102249['getAttributes']()),'uploadcareImageId':_0x10bbad,'src':_0x25a045,'sources':_0x508ef8,'width':_0x1bc626,'height':_0xc32a76}});const _0x334e39=_0x102249['getChildren']();_0x102249=_0x207324['model']['document']['selection']['getSelectedElement']();for(const _0x53e954 of _0x334e39)_0x5f21ae['append'](_0x5f21ae['cloneElement'](_0x53e954),_0x102249);}else _0x5f21ae['setSelection'](_0x102249,'on'),_0x207324['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x102249['getAttributes']()),'uploadcareImageId':_0x10bbad,'src':_0x25a045,'sources':_0x508ef8,'width':_0x1bc626,'height':_0xc32a76},_0x102249);_0x5f21ae['setSelection'](_0x102249,'on');});}async['_getImageAsFile'](_0xb3d214){const _0x12b1f9=_0x5b6665['window'],_0x5e41df=_0x5b6665['document']['location']['href'],_0x522d84=new _0x12b1f9['URL'](_0xb3d214['getAttribute']('src'),_0x5e41df);if('data:'===_0x522d84['protocol']){const _0x1a1997=_0x522d84['href']['split'](','),_0x361e1f=_0x1a1997[0x0]['match'](/:(.*?);/)[0x1],_0x448636=_0x361e1f['split']('/')[0x1],_0x5a1afb=_0x12b1f9['atob'](_0x1a1997[_0x1a1997['length']-0x1]);let _0x2cb3d6=_0x5a1afb['length'];const _0x32e70e=new _0x12b1f9['Uint8Array'](_0x2cb3d6);for(;_0x2cb3d6--;)_0x32e70e[_0x2cb3d6]=_0x5a1afb['charCodeAt'](_0x2cb3d6);return new _0x12b1f9['File']([_0x32e70e],'image.'+_0x448636,{'type':_0x361e1f});}const _0x1af14e=_0x522d84['href']['split']('/'),_0x44e971=_0x1af14e[_0x1af14e['length']-0x1],_0x45cad5=_0x44e971['split']('.')[0x1];return _0x12b1f9['fetch'](_0x522d84['href'])['then'](_0x4c2073=>_0x4c2073['clone']()['blob']())['then'](_0x11647=>new _0x12b1f9['File']([_0x11647],_0x44e971,{'type':'image/'+_0x45cad5}));}}class V extends _0x29f821{['imageEditController'];static get['requires'](){return[_0x971214];}['_isEditable'];constructor(_0x5003d3){super(_0x5003d3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x23f404){const _0x397962=R(_0x23f404);return _0x22842f=>!(!_0x22842f||!_0x22842f['is']('element','imageBlock')&&!_0x22842f['is']('element','imageInline'))&&(!!_0x22842f['hasAttribute']('uploadcareImageId')||!!_0x22842f['hasAttribute']('src')&&_0x397962(_0x22842f['getAttribute']('src')));}(_0x5003d3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x39803f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x39803f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4e8139=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4e8139&&(_0x4e8139['is']('element','imageBlock')||_0x4e8139['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0x971214),_0x4e8139),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x29f821{['refresh'](){const _0x3fc471=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3fc471&&(_0x3fc471['is']('element','imageBlock')||_0x3fc471['is']('element','imageInline')));}['execute'](_0x390a14){const _0x667b4f=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3d661e=>{_0x3d661e['setAttributes'](_0x390a14,_0x667b4f),_0x3d661e['removeAttribute']('srcset',_0x667b4f),_0x3d661e['removeAttribute']('sizes',_0x667b4f);});}}class g extends _0x510bda{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x54db13,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52c07b}=this;_0x52c07b['commands']['add']('uploadcareImageEdit',new V(_0x52c07b)),_0x52c07b['commands']['add']('uploadcareImageReplace',new X(_0x52c07b));}}class j extends _0x510bda{['_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 _0x43eaa0=this['editor'];_0x43eaa0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x257f15=>{const _0x56907b=_0x43eaa0['commands']['get']('uploadcareImageEdit'),_0x296ded=new _0x337eee(_0x257f15),t=_0x257f15['t'];return _0x296ded['set']({'icon':_0x17de08,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x296ded['bind']('isEnabled')['to'](_0x56907b),_0x296ded['bind']('isOn')['to'](_0x56907b,'isActive'),this['listenTo'](_0x296ded,'execute',()=>{_0x43eaa0['execute']('uploadcareImageEdit'),_0x43eaa0['editing']['view']['focus']();}),_0x296ded;}),this['_initConfig']();}['_initConfig'](){const _0x2f070f=_0xee2fdc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2f070f),this['listenTo'](this['editor'],'destroy',()=>{_0x2f070f['remove']();});}}class P extends _0x510bda{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':_0x22ce48=>0x1!=_0x22ce48}};
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':_0x42a69d=>0x1!=_0x42a69d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x25b4cd=>{const {af:{dictionary:_0xd3d4d6,getPluralForm:_0x263013}}={'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':_0xb9f3cf=>0x1!=_0xb9f3cf}};_0x25b4cd['af']||={'dictionary':{},'getPluralForm':null},_0x25b4cd['af']['dictionary']=Object['assign'](_0x25b4cd['af']['dictionary'],_0xd3d4d6),_0x25b4cd['af']['getPluralForm']=_0x263013;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1b5574=>{const {af:{dictionary:_0x596940,getPluralForm:_0x1ef16f}}={'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':_0x1dcb32=>0x1!=_0x1dcb32}};_0x1b5574['af']||={'dictionary':{},'getPluralForm':null},_0x1b5574['af']['dictionary']=Object['assign'](_0x1b5574['af']['dictionary'],_0x596940),_0x1b5574['af']['getPluralForm']=_0x1ef16f;})(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':_0x1d8224=>0x0==_0x1d8224?0x0:0x1==_0x1d8224?0x1:0x2==_0x1d8224?0x2:_0x1d8224%0x64>=0x3&&_0x1d8224%0x64<=0xa?0x3:_0x1d8224%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':_0x265f71=>0x0==_0x265f71?0x0:0x1==_0x265f71?0x1:0x2==_0x265f71?0x2:_0x265f71%0x64>=0x3&&_0x265f71%0x64<=0xa?0x3:_0x265f71%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c8929=>{const {ar:{dictionary:_0x354e4f,getPluralForm:_0x1fb393}}={'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':_0x3e61c3=>0x0==_0x3e61c3?0x0:0x1==_0x3e61c3?0x1:0x2==_0x3e61c3?0x2:_0x3e61c3%0x64>=0x3&&_0x3e61c3%0x64<=0xa?0x3:_0x3e61c3%0x64>=0xb?0x4:0x5}};_0x4c8929['ar']||={'dictionary':{},'getPluralForm':null},_0x4c8929['ar']['dictionary']=Object['assign'](_0x4c8929['ar']['dictionary'],_0x354e4f),_0x4c8929['ar']['getPluralForm']=_0x1fb393;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x34f301=>{const {ar:{dictionary:_0x4a091f,getPluralForm:_0x394487}}={'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':_0x343ce7=>0x0==_0x343ce7?0x0:0x1==_0x343ce7?0x1:0x2==_0x343ce7?0x2:_0x343ce7%0x64>=0x3&&_0x343ce7%0x64<=0xa?0x3:_0x343ce7%0x64>=0xb?0x4:0x5}};_0x34f301['ar']||={'dictionary':{},'getPluralForm':null},_0x34f301['ar']['dictionary']=Object['assign'](_0x34f301['ar']['dictionary'],_0x4a091f),_0x34f301['ar']['getPluralForm']=_0x394487;})(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':_0x28e5cb=>0x1!=_0x28e5cb}};
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':_0x133627=>0x1!=_0x133627}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a4d49=>{const {ast:{dictionary:_0x3fcd7e,getPluralForm:_0x5e9f28}}={'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':_0x4c91e3=>0x1!=_0x4c91e3}};_0x4a4d49['ast']||={'dictionary':{},'getPluralForm':null},_0x4a4d49['ast']['dictionary']=Object['assign'](_0x4a4d49['ast']['dictionary'],_0x3fcd7e),_0x4a4d49['ast']['getPluralForm']=_0x5e9f28;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2b5f38=>{const {ast:{dictionary:_0x5523e2,getPluralForm:_0x3d966f}}={'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':_0xc5853a=>0x1!=_0xc5853a}};_0x2b5f38['ast']||={'dictionary':{},'getPluralForm':null},_0x2b5f38['ast']['dictionary']=Object['assign'](_0x2b5f38['ast']['dictionary'],_0x5523e2),_0x2b5f38['ast']['getPluralForm']=_0x3d966f;})(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':_0x59513d=>0x1!=_0x59513d}};
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':_0x518413=>0x1!=_0x518413}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ab1d3=>{const {az:{dictionary:_0x85768d,getPluralForm:_0xb301a6}}={'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':_0x5c2efc=>0x1!=_0x5c2efc}};_0x1ab1d3['az']||={'dictionary':{},'getPluralForm':null},_0x1ab1d3['az']['dictionary']=Object['assign'](_0x1ab1d3['az']['dictionary'],_0x85768d),_0x1ab1d3['az']['getPluralForm']=_0xb301a6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4a0e82=>{const {az:{dictionary:_0x5bbf24,getPluralForm:_0x12425d}}={'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':_0x13cb51=>0x1!=_0x13cb51}};_0x4a0e82['az']||={'dictionary':{},'getPluralForm':null},_0x4a0e82['az']['dictionary']=Object['assign'](_0x4a0e82['az']['dictionary'],_0x5bbf24),_0x4a0e82['az']['getPluralForm']=_0x12425d;})(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':_0x54fd9d=>0x1!=_0x54fd9d}};
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':_0x8bb437=>0x1!=_0x8bb437}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5031b1=>{const {bg:{dictionary:_0x37c5cf,getPluralForm:_0xee8e7d}}={'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':_0x4c1464=>0x1!=_0x4c1464}};_0x5031b1['bg']||={'dictionary':{},'getPluralForm':null},_0x5031b1['bg']['dictionary']=Object['assign'](_0x5031b1['bg']['dictionary'],_0x37c5cf),_0x5031b1['bg']['getPluralForm']=_0xee8e7d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x482f48=>{const {bg:{dictionary:_0x56d1ab,getPluralForm:_0x472546}}={'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':_0x3f4dc8=>0x1!=_0x3f4dc8}};_0x482f48['bg']||={'dictionary':{},'getPluralForm':null},_0x482f48['bg']['dictionary']=Object['assign'](_0x482f48['bg']['dictionary'],_0x56d1ab),_0x482f48['bg']['getPluralForm']=_0x472546;})(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':_0x5ebc45=>0x1!=_0x5ebc45}};
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':_0xe2600e=>0x1!=_0xe2600e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57d1ec=>{const {bn:{dictionary:_0x314e91,getPluralForm:_0x332a54}}={'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':_0x4fbe96=>0x1!=_0x4fbe96}};_0x57d1ec['bn']||={'dictionary':{},'getPluralForm':null},_0x57d1ec['bn']['dictionary']=Object['assign'](_0x57d1ec['bn']['dictionary'],_0x314e91),_0x57d1ec['bn']['getPluralForm']=_0x332a54;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x27338f=>{const {bn:{dictionary:_0x22c3cc,getPluralForm:_0x5773b3}}={'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':_0x55ac16=>0x1!=_0x55ac16}};_0x27338f['bn']||={'dictionary':{},'getPluralForm':null},_0x27338f['bn']['dictionary']=Object['assign'](_0x27338f['bn']['dictionary'],_0x22c3cc),_0x27338f['bn']['getPluralForm']=_0x5773b3;})(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':_0x1e0cbc=>_0x1e0cbc%0xa==0x1&&_0x1e0cbc%0x64!=0xb?0x0:_0x1e0cbc%0xa>=0x2&&_0x1e0cbc%0xa<=0x4&&(_0x1e0cbc%0x64<0xa||_0x1e0cbc%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':_0x32b371=>_0x32b371%0xa==0x1&&_0x32b371%0x64!=0xb?0x0:_0x32b371%0xa>=0x2&&_0x32b371%0xa<=0x4&&(_0x32b371%0x64<0xa||_0x32b371%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x319400=>{const {bs:{dictionary:_0x2f09ff,getPluralForm:_0x4f71c1}}={'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':_0x25fe76=>_0x25fe76%0xa==0x1&&_0x25fe76%0x64!=0xb?0x0:_0x25fe76%0xa>=0x2&&_0x25fe76%0xa<=0x4&&(_0x25fe76%0x64<0xa||_0x25fe76%0x64>=0x14)?0x1:0x2}};_0x319400['bs']||={'dictionary':{},'getPluralForm':null},_0x319400['bs']['dictionary']=Object['assign'](_0x319400['bs']['dictionary'],_0x2f09ff),_0x319400['bs']['getPluralForm']=_0x4f71c1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4fc1fb=>{const {bs:{dictionary:_0xb275e9,getPluralForm:_0x3f2b7e}}={'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':_0x19a817=>_0x19a817%0xa==0x1&&_0x19a817%0x64!=0xb?0x0:_0x19a817%0xa>=0x2&&_0x19a817%0xa<=0x4&&(_0x19a817%0x64<0xa||_0x19a817%0x64>=0x14)?0x1:0x2}};_0x4fc1fb['bs']||={'dictionary':{},'getPluralForm':null},_0x4fc1fb['bs']['dictionary']=Object['assign'](_0x4fc1fb['bs']['dictionary'],_0xb275e9),_0x4fc1fb['bs']['getPluralForm']=_0x3f2b7e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x8ca7f9=>0x1!=_0x8ca7f9}};
23
+ export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x4d2215=>0x1!=_0x4d2215}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e9a1c=>{const {ca:{dictionary:_0x2a2ad4,getPluralForm:_0xfe25fc}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x448197=>0x1!=_0x448197}};_0x5e9a1c['ca']||={'dictionary':{},'getPluralForm':null},_0x5e9a1c['ca']['dictionary']=Object['assign'](_0x5e9a1c['ca']['dictionary'],_0x2a2ad4),_0x5e9a1c['ca']['getPluralForm']=_0xfe25fc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x253613=>{const {ca:{dictionary:_0x3dcfe1,getPluralForm:_0x3953de}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x4d7381=>0x1!=_0x4d7381}};_0x253613['ca']||={'dictionary':{},'getPluralForm':null},_0x253613['ca']['dictionary']=Object['assign'](_0x253613['ca']['dictionary'],_0x3dcfe1),_0x253613['ca']['getPluralForm']=_0x3953de;})(window['CKEDITOR_TRANSLATIONS']||={});