@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260104.0 → 0.0.0-nightly-next-20260104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x48e519,Command as _0x2620ea}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1d3497,IconGooglePhotos as _0x5942b9,IconGoogleDrive as _0x56057f,IconFacebook as _0x31107d,IconDropbox as _0x2f3aa5,IconUploadcareLink as _0x4289ee,IconUploadcareImageUpload as _0x3b224d,IconError as _0x143974,IconUploadcareImageEdit as _0x363f93}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2275cd,MenuBarMenuListItemButtonView as _0x38cd89,View as _0x2ead5a,FocusCycler as _0x3bf21c,Dialog as _0x48ed68,DialogViewPosition as _0x4d01a6,SpinnerView as _0x28eff2,IconView as _0xc2d7c6,Notification as _0x5b008b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x11e2cf,DomEmitterMixin as _0x399fb0,global as _0x5539f7,getAncestors as _0x5da6ed,ObservableMixin as _0x3ac6aa,uid as _0x5d43c3,createElement as _0x166c54}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x37bfad}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x255885,info as _0x4ce01d}from'@uploadcare/upload-client';import*as _0x2783d2 from'@uploadcare/file-uploader';var i=function(_0x577728){return _0x577728['Local']='local',_0x577728['URL']='url',_0x577728['Dropbox']='dropbox',_0x577728['GDrive']='gdrive',_0x577728['Facebook']='facebook',_0x577728['GPhotos']='gphotos',_0x577728['OneDrive']='onedrive',_0x577728;}({});function _(_0x30426a,_0x4b9baa,_0x11ae26){const t=_0x30426a['t'],_0x46aa3c=_0x30426a['t'];switch(_0x4b9baa){case i['Local']:return{'text':_0x46aa3c('Insert'===_0x11ae26?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x46aa3c('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x11ae26?_0x46aa3c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x46aa3c('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x11ae26?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x11ae26?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x11ae26?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x11ae26?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x11ae26?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4b9baa;}}class e extends _0x48e519{['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 _0x31a113=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x85a6cd;for(const _0x11ba53 in _0x31a113){const _0x272edc=_0x11ba53,_0x5da674=_0x31a113[_0x272edc];if('uploadcareLicenseKeyValid'==_0x5da674||'uploadcareLicenseKeyInvalid'==_0x5da674||'uploadcareLicenseKeyExpired'==_0x5da674||'uploadcareLicenseKeyDomainLimit'==_0x5da674||'uploadcareLicenseKeyNotAllowed'==_0x5da674||'uploadcareLicenseKeyEvaluationLimit'==_0x5da674||'uploadcareLicenseKeyTrialLimit'==_0x5da674||'uploadcareLicenseKeyUsageLimit'==_0x5da674){delete _0x31a113[_0x272edc],_0x85a6cd=_0x5da674,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x85a6cd&&_0x31a113['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x85a6cd&&_0x31a113['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x85a6cd&&_0x31a113['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x85a6cd&&_0x31a113['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x85a6cd&&_0x31a113['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x85a6cd&&_0x31a113['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x85a6cd&&_0x31a113['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x312dd1}=this,_0x46e6da=_0x312dd1['commands']['get']('uploadcare');if(!_0x46e6da)return;const _0x5bf5f0=this['_normalizeConfigSourceList'](_0x312dd1['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x34f787,_0xa34169)=>{const _0x2720c3=this['_getIntegrationKey'](_0xa34169['type']);return _0x34f787[_0x2720c3]||(_0x34f787[_0x2720c3]=[]),_0x34f787[_0x2720c3]['push'](_0xa34169),_0x34f787;},{});_0x312dd1['plugins']['has']('ImageInsertUI')&&_0x312dd1['commands']['get']('uploadcare')&&Object['entries'](_0x5bf5f0)['forEach'](([_0x32439a,_0x401063])=>{_0x312dd1['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x32439a,'observable':()=>_0x46e6da,'buttonViewCreator':()=>this['_createToolbarButton'](_0x401063),'formViewCreator':()=>this['_createDropdownButtons'](_0x401063),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x401063),'override':'assetManager'!==_0x32439a});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3d5e47){const {locale:_0x1bbd07}=this['editor'];return _0x3d5e47['map'](_0x748ab3=>{const _0x1ee471=_(_0x1bbd07,_0x748ab3,'Insert');switch(_0x748ab3){case i['Local']:return{'icon':_0x3b224d,'type':i['Local'],..._0x1ee471};case i['URL']:return{'icon':_0x4289ee,'type':i['URL'],..._0x1ee471};case i['Dropbox']:return{'icon':_0x2f3aa5,'type':i['Dropbox'],..._0x1ee471};case i['Facebook']:return{'icon':_0x31107d,'type':i['Facebook'],..._0x1ee471};case i['GDrive']:return{'icon':_0x56057f,'type':i['GDrive'],..._0x1ee471};case i['GPhotos']:return{'icon':_0x5942b9,'type':i['GPhotos'],..._0x1ee471};case i['OneDrive']:return{'icon':_0x1d3497,'type':i['OneDrive'],..._0x1ee471};}});}['_getIntegrationKey'](_0x354897){switch(_0x354897){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2bce45,_0x5957b1){const _0xdd7662=this['editor'],_0x4197cd=new _0x2bce45(_0xdd7662['locale']),_0x4577bd=_0xdd7662['commands']['get']('uploadcare');return _0x4197cd['bind']('isEnabled')['to'](_0x4577bd),_0x4197cd['on']('execute',()=>{_0x4577bd['execute'](_0x5957b1);}),_0x4197cd;}['_createToolbarButton'](_0x1daf53){const {locale:_0x5bf64a}=this['editor'],_0x97ce7b=this['editor']['plugins']['get']('ImageInsertUI'),_0x444cb4=_0x1daf53[0x0],_0x3c9d0b=this['_createButton'](_0x2275cd,_0x444cb4['type']);return _0x3c9d0b['icon']=_0x444cb4['icon'],_0x3c9d0b['bind']('label')['to'](_0x97ce7b,'isImageSelected',_0x516ba1=>_(_0x5bf64a,_0x444cb4['type'],_0x516ba1?'Replace':'Insert')['text']),_0x3c9d0b['tooltip']=!0x0,_0x3c9d0b;}['_createDropdownButtons'](_0x26ac68){const {locale:_0x125b5c}=this['editor'],_0x3b7898=this['editor']['plugins']['get']('ImageInsertUI');return _0x26ac68['map'](_0x39d475=>{const _0x518331=this['_createButton'](_0x2275cd,_0x39d475['type']);return _0x518331['withText']=!0x0,_0x518331['icon']=_0x39d475['icon'],_0x518331['bind']('label')['to'](_0x3b7898,'isImageSelected',_0x210531=>_(_0x125b5c,_0x39d475['type'],_0x210531?'Replace':'Insert')['text']),_0x518331;});}['_createMenuBarButtons'](_0x1efb48){return _0x1efb48['map'](_0x2c7fd5=>{const _0x32f7a2=this['_createButton'](_0x38cd89,_0x2c7fd5['type']);return _0x32f7a2['icon']=_0x2c7fd5['icon'],_0x32f7a2['label']=_0x2c7fd5['shortText'],_0x32f7a2;});}}class F extends _0x2ead5a{['focusTracker'];['focusCycler'];constructor(_0x1b0cec){super(_0x1b0cec),this['focusTracker']=new _0x11e2cf(),this['focusCycler']=new _0x3bf21c({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x21c027,_0x5907ca){super(_0x21c027),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-'+_0x5907ca}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3f44fc,_0x1f2304){const _0x50aa61=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x510f82=>_0x510f82<=_0x1f2304)['map'](_0x564099=>_0x3f44fc['replace'](/\/$/,'')+'/-/resize/'+_0x564099+'x/\x20'+_0x564099+'w');return{'imageFallbackUrl':_0x3f44fc,'imageSources':[{'srcset':_0x50aa61['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1f2304+'px)\x20100vw,\x20'+_0x1f2304+'px','type':'image/webp'}]};}function S(_0x2433e6,_0x2afad9,_0x494212){const _0x2b9a63=_0x2433e6['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2b9a63?parseInt(_0x2b9a63[0x1],0xa):_0x2afad9,'height':_0x2b9a63?parseInt(_0x2b9a63[0x2],0xa):_0x494212};}function p(_0x3266d8,_0x175bb0){const _0x158137=new(_0x399fb0())(),_0x5644a1=_0x3266d8['plugins']['get']('ImageUtils'),_0x29109d=_0x3266d8['editing']['mapper']['toViewElement'](_0x175bb0),_0xa5226b=_0x5644a1['findViewImgElement'](_0x29109d),_0x34ccfc=_0x3266d8['editing']['view']['domConverter']['viewToDom'](_0xa5226b),_0x203e64=_0x175bb0['getAttribute']('width'),_0xf5d9b4=_0x175bb0['getAttribute']('height'),_0x4c6a17='image-processing';_0x3266d8['editing']['view']['change'](_0x4d3ec1=>{_0x4d3ec1['addClass'](_0x4c6a17,_0x29109d),_0x4d3ec1['setStyle']('aspect-ratio',_0x203e64+'/'+_0xf5d9b4,_0xa5226b);}),_0x158137['listenTo'](_0x34ccfc,'load',()=>{_0x158137['stopListening'](_0x34ccfc,'load'),_0x3266d8['editing']['view']['change'](_0x4e6263=>{_0x4e6263['removeClass'](_0x4c6a17,_0x29109d),_0x4e6263['removeStyle']('aspect-ratio',_0xa5226b);});});}function G(_0x37fb4d){if(Array['isArray'](_0x37fb4d)){const _0xbbf127=_0x37fb4d['map'](G);return _0x243c5=>_0xbbf127['some'](_0x2a180e=>_0x2a180e(_0x243c5));}if('origin'==_0x37fb4d){const _0x961040=_0x5539f7['window']['location']['origin'];return _0x4155cd=>new URL(_0x4155cd,_0x5539f7['document']['baseURI'])['origin']==_0x961040;}return'function'==typeof _0x37fb4d?_0x37fb4d:_0x37fb4d instanceof RegExp?_0x53fe3e=>!(!_0x53fe3e['match'](_0x37fb4d)&&!_0x53fe3e['replace'](/^https?:\/\//,'')['match'](_0x37fb4d)):()=>!0x1;}function A(_0x3e37e5,_0x42307b){return _0x5da6ed(_0x3e37e5['target'])['includes'](_0x42307b);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3ac6aa(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x44590c,_0x5cd7b1,_0x76ec6){super(),this['_editor']=_0x44590c,this['_editing']=_0x5cd7b1,this['_dialog']=_0x44590c['plugins']['get'](_0x48ed68),this['_api']=_0x5cd7b1['ctxElement']['getAPI'](),this['_type']=_0x76ec6,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:_0x202be3,model:_0x20157b}=this['_editor'],_0x5b27c0=_0x20157b['document']['selection']['getSelectedElement'](),_0x1ba6ea=_0x5b27c0&&(_0x5b27c0['is']('element','imageBlock')||_0x5b27c0['is']('element','imageInline'));this['_formView']=new x(_0x202be3,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3b224d,'title':_(_0x202be3,this['_type'],_0x1ba6ea?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4d01a6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x212bec=>!A(_0x212bec,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x502c10}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2ff5ac=>{const _0x5f0570=_0x502c10['length'];for(const _0x11aa79 of _0x502c10){const _0x3b56b5=_0x11aa79===_0x502c10[_0x5f0570-0x1],{cdnUrl:_0x432ca3,fileInfo:_0x113907}=_0x11aa79;if(!_0x432ca3||!_0x113907)continue;const {width:_0x174d63,height:_0x2bdc7b}=_0x113907['imageInfo'],_0x428ccb=S(_0x432ca3,_0x174d63,_0x2bdc7b),_0x1585bd=C(_0x432ca3,_0x428ccb['width']),_0x315a46={'id':_0x113907['uuid'],'type':'image','attributes':{'imageDimension':_0x428ccb,..._0x1585bd}};this['_insertAsset'](_0x315a46,_0x3b56b5,_0x2ff5ac);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x32f790=>{'idle'===_0x32f790['detail']['status']&&!_0x32f790['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x576b5b,_0x586b1e,_0x4c4537){const _0xa69d18=this['_editor']['model']['document']['selection'],_0x5766c9=_0xa69d18['getSelectedElement'](),_0x515b9f=!(!_0x5766c9||!_0x5766c9['is']('element','imageInline'));_0x4c4537['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x576b5b,_0x515b9f),_0x586b1e||_0x4c4537['setSelection'](_0xa69d18['getLastPosition']());}['_insertImage'](_0x29f0e7,_0x3a4a60){const _0xd08487=this['_editor'],{imageDimension:_0xc0bf74,imageFallbackUrl:_0x438b21,imageSources:_0x5a234a}=_0x29f0e7['attributes'];_0xd08487['execute']('insertImage',{'imageType':_0x3a4a60?'imageInline':null,'source':{'uploadcareImageId':_0x29f0e7['id'],'src':_0x438b21,'sources':_0x5a234a,..._0xc0bf74}});}}class w extends _0x2620ea{['_editing'];['_controller']=null;static get['requires'](){return[_0x48ed68,o];}constructor(_0x3ba133){super(_0x3ba133),this['_editing']=_0x3ba133['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x192f2e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x192f2e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x23b2e8,..._0x5e95ff}){return _0x255885(_0x23b2e8,_0x5e95ff);}static['getInfo'](_0xd55ad2,_0x32d3bd){return _0x4ce01d(_0xd55ad2,_0x32d3bd);}}class f extends _0x48e519{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x37bfad,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2e0126=this['editor'];if(!!!_0x2e0126['config']['get']('uploadcare'))return;_0x2e0126['plugins']['get'](_0x37bfad)['createUploadAdapter']=_0x1d3861=>new k(_0x1d3861,_0x2e0126),_0x2e0126['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x276447,{imageElement:_0xfa6c97,data:_0x32c323})=>{_0x2e0126['model']['change'](_0x53f4fa=>{_0x53f4fa['setAttribute']('uploadcareImageId',_0x32c323['uploadcareImageId'],_0xfa6c97);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x844a27,_0x127709){this['loader']=_0x844a27,this['editor']=_0x127709,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x29896f=await this['loader']['file'];return j['upload']({'file':_0x29896f,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3ccee2=>{_0x3ccee2&&_0x3ccee2['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3ccee2['value']);}})['then'](async _0x310bf5=>{const {imageFallbackUrl:_0x111489,imageSources:_0x444e87}=C(_0x310bf5['cdnUrl'],_0x310bf5['imageInfo']['width']);return{'uploadcareImageId':_0x310bf5['uuid'],'default':_0x111489,'sources':_0x444e87};})['catch'](()=>{const _0x4fa1ad=t('Cannot\x20upload\x20file:')+('\x20'+_0x29896f['name']+'.');return Promise['reject'](_0x4fa1ad);});}['abort'](){this['controller']['abort']();}}class o extends _0x48e519{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x48ed68];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xd8c17a){super(_0xd8c17a),this['ucContextId']=_0x5d43c3();}['init'](){const _0x57b33c=this['editor'];_0x57b33c['commands']['add']('uploadcare',new w(_0x57b33c));}['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 _0x32e107=_0x5539f7['document']['querySelector']('input[uploadcare-file-input]');_0x32e107&&_0x32e107['remove']();}),async function(_0x725e01){const _0xf61d7d=_0x3334f7([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x163820=0x535f8c3a,_0x2eca51=0x5358f1e2^_0x163820,_0x44c33d=window[_0x3334f7([0x44,0x61,0x74,0x65])][_0x3334f7([0x6e,0x6f,0x77])](),_0x370a22=_0x725e01[_0x3334f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc37b62=new window[(_0x3334f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x254ad5=>{_0x370a22[_0x3334f7([0x6f,0x6e,0x63,0x65])](_0x3334f7([0x72,0x65,0x61,0x64,0x79]),_0x254ad5);}),_0x395e69={[_0x3334f7([0x6b,0x74,0x79])]:_0x3334f7([0x45,0x43]),[_0x3334f7([0x75,0x73,0x65])]:_0x3334f7([0x73,0x69,0x67]),[_0x3334f7([0x63,0x72,0x76])]:_0x3334f7([0x50,0x2d,0x32,0x35,0x36]),[_0x3334f7([0x78])]:_0x3334f7([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]),[_0x3334f7([0x79])]:_0x3334f7([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]),[_0x3334f7([0x61,0x6c,0x67])]:_0x3334f7([0x45,0x53,0x32,0x35,0x36])},_0x516662=_0x370a22[_0x3334f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3334f7([0x67,0x65,0x74])](_0x3334f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a75a1(){let _0x1d5ba9,_0x3699ac=null,_0x511d30=null;try{if(_0x516662==_0x3334f7([0x47,0x50,0x4c]))return _0x3334f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d5ba9=_0x43c5f5(),!_0x1d5ba9)return _0x3334f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d5ba9[_0x3334f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x511d30=_0x359eac(_0x1d5ba9[_0x3334f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d5ba9[_0x3334f7([0x6a,0x74,0x69])])),await _0x4dde1a()?_0x486146()?_0x123671()?_0x3334f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x528516()?(_0x1d5ba9[_0x3334f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3334f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3699ac=_0x1de5c3(_0x3334f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d5ba9[_0x3334f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3334f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x3699ac=_0x1de5c3(_0x3334f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a7bf3()):_0x3334f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3334f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3334f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3334f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x123671(){const _0x262ae8=[_0x3334f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3334f7([0x74,0x72,0x69,0x61,0x6c])][_0x3334f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d5ba9[_0x3334f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44c33d/0x3e8:0xe10*_0x2eca51;return _0x1d5ba9[_0x3334f7([0x65,0x78,0x70])]<_0x262ae8;}function _0x486146(){const _0x574048=_0x1d5ba9[_0x3334f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x574048&&(!!_0x574048[_0x3334f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3334f7([0x2a]))||!!_0x574048[_0x3334f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3334f7([0x55,0x50,0x4c,0x43])));}function _0x528516(){const _0x341825=_0x1d5ba9[_0x3334f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x341825||0x0==_0x341825[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e86ee}=new URL(window[_0x3334f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x341825[_0x3334f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e86ee))return!0x0;const _0x44c41b=_0x4e86ee[_0x3334f7([0x73,0x70,0x6c,0x69,0x74])](_0x3334f7([0x2e]));return _0x341825[_0x3334f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ab055=>_0x1ab055[_0x3334f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3334f7([0x2a])))[_0x3334f7([0x6d,0x61,0x70])](_0x43eaf6=>_0x43eaf6[_0x3334f7([0x73,0x70,0x6c,0x69,0x74])](_0x3334f7([0x2e])))[_0x3334f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52e78f=>_0x52e78f[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44c41b[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3334f7([0x6d,0x61,0x70])](_0x4ea7a6=>Array(_0x44c41b[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ea7a6[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3334f7([0x66,0x69,0x6c,0x6c])](_0x4ea7a6[0x0]===_0x3334f7([0x2a])?_0x3334f7([0x2a]):'')[_0x3334f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ea7a6))[_0x3334f7([0x73,0x6f,0x6d,0x65])](_0x3f5e12=>_0x44c41b[_0x3334f7([0x65,0x76,0x65,0x72,0x79])]((_0x59cd2d,_0x58e861)=>_0x3f5e12[_0x58e861]===_0x59cd2d||_0x3f5e12[_0x58e861]===_0x3334f7([0x2a])));}function _0x3a7bf3(){return _0x3699ac&&_0x511d30?new window[(_0x3334f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28be24,_0x1e40f7)=>{_0x3699ac[_0x3334f7([0x74,0x68,0x65,0x6e])](_0x28be24,_0x1e40f7),_0x511d30[_0x3334f7([0x74,0x68,0x65,0x6e])](_0x366fb1=>{_0x366fb1!=_0x3334f7([0x56,0x61,0x6c,0x69,0x64])&&_0x28be24(_0x366fb1);},_0x1e40f7);}):_0x3699ac||_0x511d30||_0x3334f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x359eac(_0x34f3a5,_0x109143){return new window[(_0x3334f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41deb9=>{if(_0x1e11b2())return _0x41deb9(_0x3334f7([0x56,0x61,0x6c,0x69,0x64]));_0x589c53(),_0x370a22[_0x3334f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3334f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x243049=!0x1;const _0x419068=_0x5d43c3();function _0x5a50ff(_0x568862){return!!_0x568862&&(typeof _0x568862===_0x3334f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x568862===_0x3334f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x568862[_0x3334f7([0x74,0x68,0x65,0x6e])]===_0x3334f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x568862[_0x3334f7([0x63,0x61,0x74,0x63,0x68])]===_0x3334f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb97c17(_0x512934){_0x357031(_0x512934)[_0x3334f7([0x74,0x68,0x65,0x6e])](_0x4674df=>{if(!_0x4674df||_0x4674df[_0x3334f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3334f7([0x6f,0x6b]))return _0x3334f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f6a3c(_0xa0aa29(_0x419068+_0x109143))!=_0x4674df[_0x3334f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3334f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3334f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3334f7([0x74,0x68,0x65,0x6e])](_0x4433d4=>(_0x71a4c7(),_0x4433d4),()=>{const _0x26e4ab=_0x40ebc7();return null==_0x26e4ab?(_0x71a4c7(),_0x3334f7([0x56,0x61,0x6c,0x69,0x64])):_0x3334f7(_0x44c33d-_0x26e4ab>(0x7753083a^_0x163820)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3334f7([0x74,0x68,0x65,0x6e])](_0x41deb9)[_0x3334f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41deb9(_0x3334f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x142559=0x536962ba^_0x163820;function _0x71a4c7(){const _0x10fe7a=_0x3334f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f6a3c(_0xa0aa29(_0x34f3a5)),_0x530959=_0x35f830(_0x2f6a3c(window[_0x3334f7([0x4d,0x61,0x74,0x68])][_0x3334f7([0x63,0x65,0x69,0x6c])](_0x44c33d/_0x142559)));window[_0x3334f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3334f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10fe7a,_0x530959);}function _0x40ebc7(){const _0x50733d=_0x3334f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f6a3c(_0xa0aa29(_0x34f3a5)),_0x5255ce=window[_0x3334f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3334f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50733d);return _0x5255ce?window[_0x3334f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35f830(_0x5255ce),0x10)*_0x142559:null;}function _0x357031(_0x42cdbe){return new window[(_0x3334f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26ee6a,_0x343cca)=>{_0x42cdbe[_0x3334f7([0x74,0x68,0x65,0x6e])](_0x26ee6a,_0x343cca),window[_0x3334f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x343cca,0x535e58fa^_0x163820);});}}_0x370a22[_0x3334f7([0x6f,0x6e])](_0x3334f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e1200,_0x473a83)=>{if(_0x473a83[0x0]!=_0x34f3a5)return _0x41deb9(_0x3334f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x473a83[0x1]={..._0x473a83[0x1],[_0x3334f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x419068};},{[_0x3334f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3334f7([0x68,0x69,0x67,0x68])}),_0x370a22[_0x3334f7([0x6f,0x6e])](_0x3334f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4386b8=>{_0x5a50ff(_0x4386b8[_0x3334f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x243049=!0x0,_0xb97c17(_0x4386b8[_0x3334f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3334f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3334f7([0x6c,0x6f,0x77])}),_0xc37b62[_0x3334f7([0x74,0x68,0x65,0x6e])](()=>{_0x243049||_0x41deb9(_0x3334f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e11b2(){return _0x370a22[_0x3334f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3334f7([0x76,0x69,0x65,0x77])][_0x3334f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3334f7([0x61,0x75,0x74,0x6f]);}function _0x589c53(){_0x370a22[_0x3334f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3334f7([0x76,0x69,0x65,0x77])][_0x3334f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3334f7([0x61,0x75,0x74,0x6f]);}}function _0x1de5c3(_0x5f31f9){const _0x3acfbc=[new window[(_0x3334f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x567395=>setTimeout(_0x567395,0x5356b2f6^_0x163820)),_0xc37b62[_0x3334f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3334f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16641f=>{let _0x483539=0x0;_0x370a22[_0x3334f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3334f7([0x6f,0x6e])](_0x3334f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4eb50d,_0x45aaae)=>{_0x45aaae[0x0][_0x3334f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x483539++,_0x483539==(0x535f89d2^_0x163820)&&(_0x16641f(),_0x4eb50d[_0x3334f7([0x6f,0x66,0x66])]());});}))];return window[_0x3334f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3334f7([0x72,0x61,0x63,0x65])](_0x3acfbc)[_0x3334f7([0x74,0x68,0x65,0x6e])](()=>_0x5f31f9);}async function _0x59f9fd(){await _0xc37b62,_0x370a22[_0x3334f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3334f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f1029,_0x370a22[_0x3334f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3334f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f1029,_0x370a22[_0x3334f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3334f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x557361(_0x2fdb10){const _0x1bf3f6=_0x3c0693();_0x370a22[_0x1bf3f6]=_0x3334f7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fdb10,_0x2fdb10!=_0x3334f7([0x56,0x61,0x6c,0x69,0x64])&&_0x59f9fd();}function _0x3c0693(){const _0x1f6118=window[_0x3334f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3334f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3334f7([0x6e,0x6f,0x77])]())[_0x3334f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3334f7([0x2e]),'');let _0x2ea870=_0x3334f7([0x68]);for(let _0x1e9adc=0x0;_0x1e9adc<_0x1f6118[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e9adc+=0x2){let _0x4ad231=window[_0x3334f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f6118[_0x3334f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e9adc,_0x1e9adc+0x2));_0x4ad231>=_0xf61d7d[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ad231-=_0xf61d7d[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ea870+=_0xf61d7d[_0x4ad231];}return _0x2ea870;}function _0x43c5f5(){const _0x571bf7=_0x516662[_0x3334f7([0x73,0x70,0x6c,0x69,0x74])](_0x3334f7([0x2e]));if(0x3!=_0x571bf7[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1432d9(_0x571bf7[0x1]);function _0x1432d9(_0x31b8d7){const _0xe5b836=_0x57b752(_0x31b8d7);return _0xe5b836&&_0x336c69()?_0xe5b836:null;function _0x336c69(){const _0xa4d5a7=_0xe5b836[_0x3334f7([0x6a,0x74,0x69])],_0x2fc3eb=window[_0x3334f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa4d5a7[_0x3334f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa4d5a7[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53278f={..._0xe5b836,[_0x3334f7([0x6a,0x74,0x69])]:_0xa4d5a7[_0x3334f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa4d5a7[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53278f[_0x3334f7([0x76,0x63])],_0xa0aa29(_0x53278f)==_0x2fc3eb;}}}async function _0x4dde1a(){let _0x1e5878=!0x0;try{const _0x139f0d=_0x516662[_0x3334f7([0x73,0x70,0x6c,0x69,0x74])](_0x3334f7([0x2e])),[_0x496104,_0x230a9f,_0x39aa8c]=_0x139f0d;return _0x199fae(_0x496104),await _0x5f3f35(_0x496104,_0x230a9f,_0x39aa8c),_0x1e5878;}catch{return!0x1;}function _0x199fae(_0x5daa1f){const _0xf1dc00=_0x57b752(_0x5daa1f);_0xf1dc00&&_0xf1dc00[_0x3334f7([0x61,0x6c,0x67])]==_0x3334f7([0x45,0x53,0x32,0x35,0x36])||(_0x1e5878=!0x1);}async function _0x5f3f35(_0x52429a,_0x11053b,_0x257690){const _0x22238c=window[_0x3334f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3334f7([0x66,0x72,0x6f,0x6d])](_0x2f6029(_0x257690),_0x10bcff=>_0x10bcff[_0x3334f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x376d05=new window[(_0x3334f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3334f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52429a+_0x3334f7([0x2e])+_0x11053b),_0x5a9bf7=window[_0x3334f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3334f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a9bf7)return;const _0x1fde57=await _0x5a9bf7[_0x3334f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3334f7([0x6a,0x77,0x6b]),_0x395e69,{[_0x3334f7([0x6e,0x61,0x6d,0x65])]:_0x3334f7([0x45,0x43,0x44,0x53,0x41]),[_0x3334f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3334f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3334f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a9bf7[_0x3334f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3334f7([0x6e,0x61,0x6d,0x65])]:_0x3334f7([0x45,0x43,0x44,0x53,0x41]),[_0x3334f7([0x68,0x61,0x73,0x68])]:{[_0x3334f7([0x6e,0x61,0x6d,0x65])]:_0x3334f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fde57,_0x22238c,_0x376d05)||(_0x1e5878=!0x1);}}function _0x57b752(_0x3f166c){return _0x3f166c[_0x3334f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3334f7([0x65,0x79]))?JSON[_0x3334f7([0x70,0x61,0x72,0x73,0x65])](_0x2f6029(_0x3f166c)):null;}function _0x2f6029(_0x461010){return window[_0x3334f7([0x61,0x74,0x6f,0x62])](_0x461010[_0x3334f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3334f7([0x2b]))[_0x3334f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3334f7([0x2f])));}function _0xa0aa29(_0x3d2d0d){let _0x4f8c28=0x1505;function _0x228e98(_0x47b2c8){for(let _0x53888e=0x0;_0x53888e<_0x47b2c8[_0x3334f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53888e++){const _0xdc9043=_0x47b2c8[_0x3334f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53888e);_0x4f8c28=(_0x4f8c28<<0x5)+_0x4f8c28+_0xdc9043,_0x4f8c28&=_0x4f8c28;}}function _0x1ec856(_0xd0719d){Array[_0x3334f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd0719d)?_0xd0719d[_0x3334f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ec856):_0xd0719d&&typeof _0xd0719d==_0x3334f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3334f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd0719d)[_0x3334f7([0x73,0x6f,0x72,0x74])]()[_0x3334f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x277112,_0x18ff3b])=>{_0x228e98(_0x277112),_0x1ec856(_0x18ff3b);}):_0x228e98(window[_0x3334f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd0719d));}return _0x1ec856(_0x3d2d0d),_0x4f8c28>>>0x0;}function _0x2f6a3c(_0x55dfe3){return _0x55dfe3[_0x3334f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3334f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3334f7([0x30]));}function _0x35f830(_0x1a8085){return _0x1a8085[_0x3334f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3334f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3334f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f1029(){}function _0x3334f7(_0x109094){return _0x109094['map'](_0x2300d1=>String['fromCharCode'](_0x2300d1))['join']('');}_0x557361(await _0x1a75a1());}(this);}['_initSchema'](){const _0x170246=this['editor']['model']['schema'];_0x170246['isRegistered']('imageBlock')&&_0x170246['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x170246['isRegistered']('imageInline')&&_0x170246['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5cbbb9=this['editor'];_0x5cbbb9['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5cbbb9['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x8b3081=>_0x8b3081['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5be9b0=_0x5cbbb9['commands']['get']('replaceImageSource');_0x5be9b0&&this['listenTo'](_0x5be9b0,'cleanupImage',(_0x26761a,[_0x2c560a,_0x182b81])=>{_0x2c560a['removeAttribute']('uploadcareImageId',_0x182b81);});}['_initConfig'](){const _0x49c11f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x52a58a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x166c54(_0x5539f7['document'],'uc-config',{..._0x49c11f,'pubkey':_0x52a58a,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x4dde85=>{if('closeMax'==_0x4dde85)return'#uc-icon-arrow-down';},_0x5539f7['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x166c54(_0x5539f7['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5539f7['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x8933b3=this['editor']['commands']['get']('insertImage');_0x8933b3&&this['listenTo'](_0x8933b3,'execute',()=>{const _0x531c09=this['editor']['model']['document']['selection']['getSelectedElement']();_0x531c09&&_0x531c09['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x531c09);});});const _0x685871=this['editor']['commands']['get']('uploadcareImageReplace');_0x685871&&this['listenTo'](_0x685871,'execute',()=>{const _0x427eb5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x427eb5&&_0x427eb5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x427eb5);});});}}class tt extends _0x48e519{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x38872e){super(_0x38872e),_0x38872e['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2783d2['defineComponents'](_0x2783d2),this['_defineLocale']();}['_defineLocale'](){const _0x534716=this['editor']['config']['get']('uploadcare.locale'),_0x3ed037=this['editor']['locale']['contentLanguage'];_0x534716&&_0x2783d2['defineLocale'](_0x3ed037,_0x534716);}}class ii extends _0x2ead5a{constructor(_0x22ee79){super(_0x22ee79);const t=_0x22ee79['t'],_0x3274d4=this['bindTemplate'],_0x27b944=new _0x28eff2();_0x27b944['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':[_0x27b944,{'text':_0x3274d4['to']('imageUploadProgress',_0x2fa7f4=>t('Loading\x20image...')+'\x20('+(_0x2fa7f4||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x2ead5a{constructor(_0x51b019){super(_0x51b019);const t=_0x51b019['t'];this['set']('errorType',null);const _0x48b81f=new _0x2275cd(_0x51b019);_0x48b81f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x48b81f['withText']=!0x0,_0x48b81f['class']='ck-button-action',_0x48b81f['on']('execute',()=>{this['fire']('retry');}),_0x48b81f['bind']('isVisible')['to'](this,'errorType',_0x2e8fcb=>'NotFound'!==_0x2e8fcb);const _0x323af2=new _0xc2d7c6();_0x323af2['content']=_0x143974,_0x323af2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1dafc5=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':[_0x323af2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1dafc5['to']('errorType',_0x1b9e63=>t('NotFound'!==_0x1b9e63?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x48b81f]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x2ead5a{constructor(_0x3cc423,_0x5a3536){super(_0x3cc423);const _0x24dc68=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5a3536,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x24dc68['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x574f77,_0x6bb7f4,_0x39c393){super(_0x574f77),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x574f77),this['_errorView']=new ti(_0x574f77),this['_editingView']=new ei(_0x574f77,_0x39c393),this['_focusableView']=new _0x2ead5a(_0x574f77),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x6bb7f4),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'],_0x59d59b=>{this['_addUploadcareImageEditorListeners'](_0x59d59b);});}),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'](_0x4b9e71,_0x100e85){const _0x2c1367='uc-cloud-image-editor',_0x9ce36e=_0x4b9e71['querySelector'](_0x2c1367);if(_0x9ce36e)return _0x100e85(_0x9ce36e);const _0x437ff2=new MutationObserver(_0xb46d55=>{const _0x234cbe=_0xb46d55['filter'](_0x111a8c=>_0x111a8c['target']===_0x4b9e71&&_0x111a8c['addedNodes']['length']>0x0&&_0x111a8c['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2c1367);_0x234cbe['length']&&(_0x437ff2['disconnect'](),_0x100e85(_0x234cbe[0x0]['addedNodes'][0x0]));});_0x437ff2['observe'](_0x4b9e71,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x276dbc){_0x276dbc['addEventListener']('apply',_0x41af7c=>{this['fire']('apply',{'imageSrc':_0x41af7c['detail']['cdnUrl']});}),_0x276dbc['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x3ac6aa(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d7e29,_0xfb7ede,_0x1e589c){super(),this['_editor']=_0x3d7e29,this['_dialog']=_0xfb7ede,this['_imageElement']=_0x1e589c,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 _0x30ab98=this['_imageElement'],_0x41ea3b=_0x30ab98['getAttribute']('uploadcareImageId'),_0x44e536=_0x30ab98['getAttribute']('src');if(_0x41ea3b)await this['_loadImageInfo'](_0x41ea3b,_0x44e536);else{if(this['_imageCache']['has'](_0x44e536)){const _0x4e86e4=this['_imageCache']['get'](_0x44e536);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e86e4['url'],this['imageDimension']=_0x4e86e4['dimension'],this['imageId']=_0x4e86e4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4f7f1f}=this['_editor'],t=_0x4f7f1f['t'],_0x465f96=new X(_0x4f7f1f,this['imageStatus'],this['_attributes']);_0x465f96['bind']('status')['to'](this,'imageStatus'),_0x465f96['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x465f96['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x465f96['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x465f96,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x363f93,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x465f96,'position':_0x4d01a6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x465f96['focus']();},'onHide':()=>{_0x465f96['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2ac2d3=>!A(_0x2ac2d3,_0x465f96['element'])}});}['_loadImageInfo'](_0x47cbcf,_0x1387b8){return j['getInfo'](_0x47cbcf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4db56b=>{const {width:_0x5ee2d5,height:_0x18888}=_0x4db56b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1387b8,this['imageDimension']={'width':_0x5ee2d5,'height':_0x18888},this['imageId']=_0x47cbcf;})['catch'](_0x58d81a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x58d81a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5ae173,_0xc907c3){return this['_getImageAsFile'](_0x5ae173)['then'](_0x370f2a=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xc907c3['signal'],'file':_0x370f2a,'onProgress':_0x17998d=>{_0x17998d&&_0x17998d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x17998d['value']));}}))['then'](_0x163ca9=>{const {width:_0x4934eb,height:_0x1c4d03}=_0x163ca9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x163ca9['cdnUrl'],this['imageDimension']={'width':_0x4934eb,'height':_0x1c4d03},this['imageId']=_0x163ca9['uuid'],this['imageUploadProgress']=null;const _0x4ab270=_0x5ae173['getAttribute']('src');this['_imageCache']['set'](_0x4ab270,{'id':_0x163ca9['uuid'],'url':_0x163ca9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb1d52b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb1d52b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x29a239,_0x5a1c7a){_0x29a239['on']('apply',(_0x4d54fb,_0x64713b)=>{this['_replaceImage'](_0x5a1c7a,_0x64713b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x29a239['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x29a239['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x586dd0,_0x305302,_0x280cde){const _0x3259d7=this['_editor'],{width:_0x1e9ff4,height:_0x2da814}=S(_0x305302,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x37367c,imageSources:_0x45d706}=C(_0x305302,_0x1e9ff4);_0x3259d7['model']['change'](_0x56cd96=>{if('$graveyard'===_0x586dd0['root']['rootName']){_0x3259d7['execute']('insertImage',{'imageType':_0x586dd0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x586dd0['getAttributes']()),'uploadcareImageId':_0x280cde,'src':_0x37367c,'sources':_0x45d706,'width':_0x1e9ff4,'height':_0x2da814}});const _0x1ae8d9=_0x586dd0['getChildren']();_0x586dd0=_0x3259d7['model']['document']['selection']['getSelectedElement']();for(const _0x44d7c8 of _0x1ae8d9)_0x56cd96['append'](_0x56cd96['cloneElement'](_0x44d7c8),_0x586dd0);}else _0x56cd96['setSelection'](_0x586dd0,'on'),_0x3259d7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x586dd0['getAttributes']()),'uploadcareImageId':_0x280cde,'src':_0x37367c,'sources':_0x45d706,'width':_0x1e9ff4,'height':_0x2da814},_0x586dd0);_0x56cd96['setSelection'](_0x586dd0,'on');});}async['_getImageAsFile'](_0x12badc){const _0xa5db1c=_0x5539f7['window'],_0x87d504=_0x5539f7['document']['location']['href'],_0x1c17aa=new _0xa5db1c['URL'](_0x12badc['getAttribute']('src'),_0x87d504);if('data:'===_0x1c17aa['protocol']){const _0x21d95c=_0x1c17aa['href']['split'](','),_0x273745=_0x21d95c[0x0]['match'](/:(.*?);/)[0x1],_0x4eb6db=_0x273745['split']('/')[0x1],_0x4a1504=_0xa5db1c['atob'](_0x21d95c[_0x21d95c['length']-0x1]);let _0x444bc6=_0x4a1504['length'];const _0xce4f4e=new _0xa5db1c['Uint8Array'](_0x444bc6);for(;_0x444bc6--;)_0xce4f4e[_0x444bc6]=_0x4a1504['charCodeAt'](_0x444bc6);return new _0xa5db1c['File']([_0xce4f4e],'image.'+_0x4eb6db,{'type':_0x273745});}const _0x28e00d=_0x1c17aa['href']['split']('/'),_0xc83798=_0x28e00d[_0x28e00d['length']-0x1],_0x3e12b7=_0xc83798['split']('.')[0x1];return _0xa5db1c['fetch'](_0x1c17aa['href'])['then'](_0x4dac87=>_0x4dac87['clone']()['blob']())['then'](_0x27350c=>new _0xa5db1c['File']([_0x27350c],_0xc83798,{'type':'image/'+_0x3e12b7}));}}class O extends _0x2620ea{['imageEditController'];static get['requires'](){return[_0x48ed68];}['_isEditable'];constructor(_0x397643){super(_0x397643),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x35bad5){const _0x4f6db2=G(_0x35bad5);return _0x3af185=>!(!_0x3af185||!_0x3af185['is']('element','imageBlock')&&!_0x3af185['is']('element','imageInline'))&&(!!_0x3af185['hasAttribute']('uploadcareImageId')||!!_0x3af185['hasAttribute']('src')&&_0x4f6db2(_0x3af185['getAttribute']('src')));}(_0x397643['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2ca407=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2ca407);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x25772a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x25772a&&(_0x25772a['is']('element','imageBlock')||_0x25772a['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x48ed68),_0x25772a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2620ea{['refresh'](){const _0x525906=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x525906&&(_0x525906['is']('element','imageBlock')||_0x525906['is']('element','imageInline')));}['execute'](_0x2e0c78){const _0x4fa4d8=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x110d03=>{_0x110d03['setAttributes'](_0x2e0c78,_0x4fa4d8),_0x110d03['removeAttribute']('srcset',_0x4fa4d8),_0x110d03['removeAttribute']('sizes',_0x4fa4d8);});}}class m extends _0x48e519{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x5b008b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb1e5be}=this;_0xb1e5be['commands']['add']('uploadcareImageEdit',new O(_0xb1e5be)),_0xb1e5be['commands']['add']('uploadcareImageReplace',new R(_0xb1e5be));}}class g extends _0x48e519{['_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 _0x1df322=this['editor'];_0x1df322['ui']['componentFactory']['add']('uploadcareImageEdit',_0x15f617=>{const _0x18fa6b=_0x1df322['commands']['get']('uploadcareImageEdit'),_0x2141e4=new _0x2275cd(_0x15f617),t=_0x15f617['t'];return _0x2141e4['set']({'icon':_0x363f93,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2141e4['bind']('isEnabled')['to'](_0x18fa6b),_0x2141e4['bind']('isOn')['to'](_0x18fa6b,'isActive'),this['listenTo'](_0x2141e4,'execute',()=>{_0x1df322['execute']('uploadcareImageEdit'),_0x1df322['editing']['view']['focus']();}),_0x2141e4;}),this['_initConfig']();}['_initConfig'](){const _0x32eb73=_0x166c54(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x32eb73),this['listenTo'](this['editor'],'destroy',()=>{_0x32eb73['remove']();});}}class et extends _0x48e519{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x1eb42f,Command as _0x1b6628}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x311341,IconGooglePhotos as _0x3757d8,IconGoogleDrive as _0x4ccfa7,IconFacebook as _0x4e9d98,IconDropbox as _0x1980a9,IconUploadcareLink as _0x43a45c,IconUploadcareImageUpload as _0x305e34,IconError as _0xf4a164,IconUploadcareImageEdit as _0x2b5f05}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1b73cf,MenuBarMenuListItemButtonView as _0xb62d23,View as _0x330511,FocusCycler as _0x216d75,Dialog as _0x20eb2c,DialogViewPosition as _0x2915d5,SpinnerView as _0x320917,IconView as _0x50fb93,Notification as _0x16ed00}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3794c3,DomEmitterMixin as _0x4ceaca,global as _0x57318e,getAncestors as _0x15f677,ObservableMixin as _0x10cec6,uid as _0x3d9af7,createElement as _0x3a69f0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2f0a80}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4c6983,info as _0x56a9cc}from'@uploadcare/upload-client';import*as _0x2dab71 from'@uploadcare/file-uploader';var i=function(_0x59bc8f){return _0x59bc8f['Local']='local',_0x59bc8f['URL']='url',_0x59bc8f['Dropbox']='dropbox',_0x59bc8f['GDrive']='gdrive',_0x59bc8f['Facebook']='facebook',_0x59bc8f['GPhotos']='gphotos',_0x59bc8f['OneDrive']='onedrive',_0x59bc8f;}({});function _(_0x264cb4,_0x54f072,_0x4ca5c0){const t=_0x264cb4['t'],_0x2d46c9=_0x264cb4['t'];switch(_0x54f072){case i['Local']:return{'text':_0x2d46c9('Insert'===_0x4ca5c0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2d46c9('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4ca5c0?_0x2d46c9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2d46c9('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4ca5c0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4ca5c0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4ca5c0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4ca5c0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4ca5c0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x54f072;}}class e extends _0x1eb42f{['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 _0x2e14b1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x56fa2c;for(const _0x2859ea in _0x2e14b1){const _0x334b04=_0x2859ea,_0x1361a1=_0x2e14b1[_0x334b04];if('uploadcareLicenseKeyValid'==_0x1361a1||'uploadcareLicenseKeyInvalid'==_0x1361a1||'uploadcareLicenseKeyExpired'==_0x1361a1||'uploadcareLicenseKeyDomainLimit'==_0x1361a1||'uploadcareLicenseKeyNotAllowed'==_0x1361a1||'uploadcareLicenseKeyEvaluationLimit'==_0x1361a1||'uploadcareLicenseKeyTrialLimit'==_0x1361a1||'uploadcareLicenseKeyUsageLimit'==_0x1361a1){delete _0x2e14b1[_0x334b04],_0x56fa2c=_0x1361a1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x56fa2c&&_0x2e14b1['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x56fa2c&&_0x2e14b1['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x56fa2c&&_0x2e14b1['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x56fa2c&&_0x2e14b1['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x56fa2c&&_0x2e14b1['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x56fa2c&&_0x2e14b1['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x56fa2c&&_0x2e14b1['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x52d4fe}=this,_0x37e39d=_0x52d4fe['commands']['get']('uploadcare');if(!_0x37e39d)return;const _0x354efc=this['_normalizeConfigSourceList'](_0x52d4fe['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x28401e,_0x1e1960)=>{const _0x4d2075=this['_getIntegrationKey'](_0x1e1960['type']);return _0x28401e[_0x4d2075]||(_0x28401e[_0x4d2075]=[]),_0x28401e[_0x4d2075]['push'](_0x1e1960),_0x28401e;},{});_0x52d4fe['plugins']['has']('ImageInsertUI')&&_0x52d4fe['commands']['get']('uploadcare')&&Object['entries'](_0x354efc)['forEach'](([_0x176fc7,_0x35e9ff])=>{_0x52d4fe['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x176fc7,'observable':()=>_0x37e39d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x35e9ff),'formViewCreator':()=>this['_createDropdownButtons'](_0x35e9ff),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x35e9ff),'override':'assetManager'!==_0x176fc7});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4bc6ef){const {locale:_0xdece64}=this['editor'];return _0x4bc6ef['map'](_0x5ef73f=>{const _0x42459d=_(_0xdece64,_0x5ef73f,'Insert');switch(_0x5ef73f){case i['Local']:return{'icon':_0x305e34,'type':i['Local'],..._0x42459d};case i['URL']:return{'icon':_0x43a45c,'type':i['URL'],..._0x42459d};case i['Dropbox']:return{'icon':_0x1980a9,'type':i['Dropbox'],..._0x42459d};case i['Facebook']:return{'icon':_0x4e9d98,'type':i['Facebook'],..._0x42459d};case i['GDrive']:return{'icon':_0x4ccfa7,'type':i['GDrive'],..._0x42459d};case i['GPhotos']:return{'icon':_0x3757d8,'type':i['GPhotos'],..._0x42459d};case i['OneDrive']:return{'icon':_0x311341,'type':i['OneDrive'],..._0x42459d};}});}['_getIntegrationKey'](_0x54120e){switch(_0x54120e){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x33710d,_0x48e0cd){const _0x2a68b0=this['editor'],_0x325e8b=new _0x33710d(_0x2a68b0['locale']),_0x4b138e=_0x2a68b0['commands']['get']('uploadcare');return _0x325e8b['bind']('isEnabled')['to'](_0x4b138e),_0x325e8b['on']('execute',()=>{_0x4b138e['execute'](_0x48e0cd);}),_0x325e8b;}['_createToolbarButton'](_0x415451){const {locale:_0x33dfd2}=this['editor'],_0x568603=this['editor']['plugins']['get']('ImageInsertUI'),_0x35806e=_0x415451[0x0],_0x373fe7=this['_createButton'](_0x1b73cf,_0x35806e['type']);return _0x373fe7['icon']=_0x35806e['icon'],_0x373fe7['bind']('label')['to'](_0x568603,'isImageSelected',_0x1b2611=>_(_0x33dfd2,_0x35806e['type'],_0x1b2611?'Replace':'Insert')['text']),_0x373fe7['tooltip']=!0x0,_0x373fe7;}['_createDropdownButtons'](_0x473456){const {locale:_0x56d7e2}=this['editor'],_0x2acbbb=this['editor']['plugins']['get']('ImageInsertUI');return _0x473456['map'](_0x38d843=>{const _0x5a6377=this['_createButton'](_0x1b73cf,_0x38d843['type']);return _0x5a6377['withText']=!0x0,_0x5a6377['icon']=_0x38d843['icon'],_0x5a6377['bind']('label')['to'](_0x2acbbb,'isImageSelected',_0x4c0799=>_(_0x56d7e2,_0x38d843['type'],_0x4c0799?'Replace':'Insert')['text']),_0x5a6377;});}['_createMenuBarButtons'](_0xd774f3){return _0xd774f3['map'](_0x161b21=>{const _0x3776dd=this['_createButton'](_0xb62d23,_0x161b21['type']);return _0x3776dd['icon']=_0x161b21['icon'],_0x3776dd['label']=_0x161b21['shortText'],_0x3776dd;});}}class F extends _0x330511{['focusTracker'];['focusCycler'];constructor(_0x2b7148){super(_0x2b7148),this['focusTracker']=new _0x3794c3(),this['focusCycler']=new _0x216d75({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x9a9302,_0x3c7eec){super(_0x9a9302),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-'+_0x3c7eec}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x38e586,_0x54dd20){const _0x4eef9e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x12e5e8=>_0x12e5e8<=_0x54dd20)['map'](_0x2d67df=>_0x38e586['replace'](/\/$/,'')+'/-/resize/'+_0x2d67df+'x/\x20'+_0x2d67df+'w');return{'imageFallbackUrl':_0x38e586,'imageSources':[{'srcset':_0x4eef9e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x54dd20+'px)\x20100vw,\x20'+_0x54dd20+'px','type':'image/webp'}]};}function S(_0x3faaa8,_0x311b0f,_0x540c2f){const _0x5da988=_0x3faaa8['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5da988?parseInt(_0x5da988[0x1],0xa):_0x311b0f,'height':_0x5da988?parseInt(_0x5da988[0x2],0xa):_0x540c2f};}function p(_0x3fa2d2,_0x5f358b){const _0x8ce34c=new(_0x4ceaca())(),_0x21eab7=_0x3fa2d2['plugins']['get']('ImageUtils'),_0x4f38c7=_0x3fa2d2['editing']['mapper']['toViewElement'](_0x5f358b),_0x4530d2=_0x21eab7['findViewImgElement'](_0x4f38c7),_0x185f85=_0x3fa2d2['editing']['view']['domConverter']['viewToDom'](_0x4530d2),_0x52aed5=_0x5f358b['getAttribute']('width'),_0xb861ab=_0x5f358b['getAttribute']('height'),_0xf1ba92='image-processing';_0x3fa2d2['editing']['view']['change'](_0x482689=>{_0x482689['addClass'](_0xf1ba92,_0x4f38c7),_0x482689['setStyle']('aspect-ratio',_0x52aed5+'/'+_0xb861ab,_0x4530d2);}),_0x8ce34c['listenTo'](_0x185f85,'load',()=>{_0x8ce34c['stopListening'](_0x185f85,'load'),_0x3fa2d2['editing']['view']['change'](_0x21507a=>{_0x21507a['removeClass'](_0xf1ba92,_0x4f38c7),_0x21507a['removeStyle']('aspect-ratio',_0x4530d2);});});}function G(_0x219ad4){if(Array['isArray'](_0x219ad4)){const _0x18b8d8=_0x219ad4['map'](G);return _0x44af1f=>_0x18b8d8['some'](_0x2b7c6f=>_0x2b7c6f(_0x44af1f));}if('origin'==_0x219ad4){const _0x3330a6=_0x57318e['window']['location']['origin'];return _0x426379=>new URL(_0x426379,_0x57318e['document']['baseURI'])['origin']==_0x3330a6;}return'function'==typeof _0x219ad4?_0x219ad4:_0x219ad4 instanceof RegExp?_0x46f64c=>!(!_0x46f64c['match'](_0x219ad4)&&!_0x46f64c['replace'](/^https?:\/\//,'')['match'](_0x219ad4)):()=>!0x1;}function A(_0x4a533a,_0x14df0a){return _0x15f677(_0x4a533a['target'])['includes'](_0x14df0a);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x10cec6(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1f615e,_0x2cb7e9,_0x8d741){super(),this['_editor']=_0x1f615e,this['_editing']=_0x2cb7e9,this['_dialog']=_0x1f615e['plugins']['get'](_0x20eb2c),this['_api']=_0x2cb7e9['ctxElement']['getAPI'](),this['_type']=_0x8d741,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:_0x5f17ec,model:_0x446a3a}=this['_editor'],_0xed2c1e=_0x446a3a['document']['selection']['getSelectedElement'](),_0x441da7=_0xed2c1e&&(_0xed2c1e['is']('element','imageBlock')||_0xed2c1e['is']('element','imageInline'));this['_formView']=new x(_0x5f17ec,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x305e34,'title':_(_0x5f17ec,this['_type'],_0x441da7?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2915d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x448292=>!A(_0x448292,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x221999}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x415ab1=>{const _0x2817da=_0x221999['length'];for(const _0x2d39fc of _0x221999){const _0x362b3d=_0x2d39fc===_0x221999[_0x2817da-0x1],{cdnUrl:_0x798aed,fileInfo:_0x2ff1dc}=_0x2d39fc;if(!_0x798aed||!_0x2ff1dc)continue;const {width:_0x5dd0dd,height:_0x574ea5}=_0x2ff1dc['imageInfo'],_0x1c60de=S(_0x798aed,_0x5dd0dd,_0x574ea5),_0x135c3e=C(_0x798aed,_0x1c60de['width']),_0x1a6199={'id':_0x2ff1dc['uuid'],'type':'image','attributes':{'imageDimension':_0x1c60de,..._0x135c3e}};this['_insertAsset'](_0x1a6199,_0x362b3d,_0x415ab1);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x41c351=>{'idle'===_0x41c351['detail']['status']&&!_0x41c351['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x21fc85,_0x28c35d,_0x1e0ec5){const _0x704e6d=this['_editor']['model']['document']['selection'],_0x5edd76=_0x704e6d['getSelectedElement'](),_0x50af4e=!(!_0x5edd76||!_0x5edd76['is']('element','imageInline'));_0x1e0ec5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x21fc85,_0x50af4e),_0x28c35d||_0x1e0ec5['setSelection'](_0x704e6d['getLastPosition']());}['_insertImage'](_0x216bc6,_0x3a231e){const _0x5c4134=this['_editor'],{imageDimension:_0x3f0f3a,imageFallbackUrl:_0x311b83,imageSources:_0x541ef3}=_0x216bc6['attributes'];_0x5c4134['execute']('insertImage',{'imageType':_0x3a231e?'imageInline':null,'source':{'uploadcareImageId':_0x216bc6['id'],'src':_0x311b83,'sources':_0x541ef3,..._0x3f0f3a}});}}class w extends _0x1b6628{['_editing'];['_controller']=null;static get['requires'](){return[_0x20eb2c,o];}constructor(_0x3fbb20){super(_0x3fbb20),this['_editing']=_0x3fbb20['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2fadba){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2fadba);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x463aaf,..._0x2c4fc3}){return _0x4c6983(_0x463aaf,_0x2c4fc3);}static['getInfo'](_0x5b1011,_0xcccb5d){return _0x56a9cc(_0x5b1011,_0xcccb5d);}}class f extends _0x1eb42f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2f0a80,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3770b0=this['editor'];if(!!!_0x3770b0['config']['get']('uploadcare'))return;_0x3770b0['plugins']['get'](_0x2f0a80)['createUploadAdapter']=_0x256eb8=>new k(_0x256eb8,_0x3770b0),_0x3770b0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2389e4,{imageElement:_0x25696c,data:_0x4b6f38})=>{_0x3770b0['model']['change'](_0x35f9e6=>{_0x35f9e6['setAttribute']('uploadcareImageId',_0x4b6f38['uploadcareImageId'],_0x25696c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x40ea5b,_0x9abb3){this['loader']=_0x40ea5b,this['editor']=_0x9abb3,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5dee3e=await this['loader']['file'];return j['upload']({'file':_0x5dee3e,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x4b81ef=>{_0x4b81ef&&_0x4b81ef['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4b81ef['value']);}})['then'](async _0x1709ac=>{const {imageFallbackUrl:_0x10e5de,imageSources:_0x2a044d}=C(_0x1709ac['cdnUrl'],_0x1709ac['imageInfo']['width']);return{'uploadcareImageId':_0x1709ac['uuid'],'default':_0x10e5de,'sources':_0x2a044d};})['catch'](()=>{const _0x55d9e4=t('Cannot\x20upload\x20file:')+('\x20'+_0x5dee3e['name']+'.');return Promise['reject'](_0x55d9e4);});}['abort'](){this['controller']['abort']();}}class o extends _0x1eb42f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x20eb2c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x489d94){super(_0x489d94),this['ucContextId']=_0x3d9af7();}['init'](){const _0x51b95a=this['editor'];_0x51b95a['commands']['add']('uploadcare',new w(_0x51b95a));}['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 _0x35346e=_0x57318e['document']['querySelector']('input[uploadcare-file-input]');_0x35346e&&_0x35346e['remove']();}),async function(_0x10b974){const _0x31552c=_0x3e0e4c([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x227379=0x535f8c3a,_0x155cfd=0x5358f1e2^_0x227379,_0x11069a=window[_0x3e0e4c([0x44,0x61,0x74,0x65])][_0x3e0e4c([0x6e,0x6f,0x77])](),_0x2756ac=_0x10b974[_0x3e0e4c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3af322=new window[(_0x3e0e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e1b86=>{_0x2756ac[_0x3e0e4c([0x6f,0x6e,0x63,0x65])](_0x3e0e4c([0x72,0x65,0x61,0x64,0x79]),_0x4e1b86);}),_0x5d7148={[_0x3e0e4c([0x6b,0x74,0x79])]:_0x3e0e4c([0x45,0x43]),[_0x3e0e4c([0x75,0x73,0x65])]:_0x3e0e4c([0x73,0x69,0x67]),[_0x3e0e4c([0x63,0x72,0x76])]:_0x3e0e4c([0x50,0x2d,0x32,0x35,0x36]),[_0x3e0e4c([0x78])]:_0x3e0e4c([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]),[_0x3e0e4c([0x79])]:_0x3e0e4c([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]),[_0x3e0e4c([0x61,0x6c,0x67])]:_0x3e0e4c([0x45,0x53,0x32,0x35,0x36])},_0x29166a=_0x2756ac[_0x3e0e4c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e0e4c([0x67,0x65,0x74])](_0x3e0e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b6bde(){let _0x30452c,_0xade206=null,_0x2a8497=null;try{if(_0x29166a==_0x3e0e4c([0x47,0x50,0x4c]))return _0x3e0e4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30452c=_0x1d56b0(),!_0x30452c)return _0x3e0e4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30452c[_0x3e0e4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a8497=_0x385cf0(_0x30452c[_0x3e0e4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30452c[_0x3e0e4c([0x6a,0x74,0x69])])),await _0x11bf42()?_0x2ae1c7()?_0x5c1e73()?_0x3e0e4c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cc64a()?(_0x30452c[_0x3e0e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e0e4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xade206=_0x27ab21(_0x3e0e4c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30452c[_0x3e0e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e0e4c([0x74,0x72,0x69,0x61,0x6c])&&(_0xade206=_0x27ab21(_0x3e0e4c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33e558()):_0x3e0e4c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e0e4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e0e4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e0e4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c1e73(){const _0x3e82c4=[_0x3e0e4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e0e4c([0x74,0x72,0x69,0x61,0x6c])][_0x3e0e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30452c[_0x3e0e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11069a/0x3e8:0xe10*_0x155cfd;return _0x30452c[_0x3e0e4c([0x65,0x78,0x70])]<_0x3e82c4;}function _0x2ae1c7(){const _0x308175=_0x30452c[_0x3e0e4c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x308175&&(!!_0x308175[_0x3e0e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0e4c([0x2a]))||!!_0x308175[_0x3e0e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0e4c([0x55,0x50,0x4c,0x43])));}function _0x4cc64a(){const _0x3f14c6=_0x30452c[_0x3e0e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f14c6||0x0==_0x3f14c6[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c14c5}=new URL(window[_0x3e0e4c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f14c6[_0x3e0e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c14c5))return!0x0;const _0x9df8eb=_0x3c14c5[_0x3e0e4c([0x73,0x70,0x6c,0x69,0x74])](_0x3e0e4c([0x2e]));return _0x3f14c6[_0x3e0e4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e81ab=>_0x1e81ab[_0x3e0e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0e4c([0x2a])))[_0x3e0e4c([0x6d,0x61,0x70])](_0x434386=>_0x434386[_0x3e0e4c([0x73,0x70,0x6c,0x69,0x74])](_0x3e0e4c([0x2e])))[_0x3e0e4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa5e813=>_0xa5e813[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x9df8eb[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e0e4c([0x6d,0x61,0x70])](_0x18d20e=>Array(_0x9df8eb[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18d20e[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e0e4c([0x66,0x69,0x6c,0x6c])](_0x18d20e[0x0]===_0x3e0e4c([0x2a])?_0x3e0e4c([0x2a]):'')[_0x3e0e4c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18d20e))[_0x3e0e4c([0x73,0x6f,0x6d,0x65])](_0x495fd9=>_0x9df8eb[_0x3e0e4c([0x65,0x76,0x65,0x72,0x79])]((_0x32c5a5,_0x39ae5c)=>_0x495fd9[_0x39ae5c]===_0x32c5a5||_0x495fd9[_0x39ae5c]===_0x3e0e4c([0x2a])));}function _0x33e558(){return _0xade206&&_0x2a8497?new window[(_0x3e0e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x424122,_0x552f4a)=>{_0xade206[_0x3e0e4c([0x74,0x68,0x65,0x6e])](_0x424122,_0x552f4a),_0x2a8497[_0x3e0e4c([0x74,0x68,0x65,0x6e])](_0xc1da62=>{_0xc1da62!=_0x3e0e4c([0x56,0x61,0x6c,0x69,0x64])&&_0x424122(_0xc1da62);},_0x552f4a);}):_0xade206||_0x2a8497||_0x3e0e4c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x385cf0(_0x1ed73e,_0x17a49c){return new window[(_0x3e0e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2049b0=>{if(_0x423897())return _0x2049b0(_0x3e0e4c([0x56,0x61,0x6c,0x69,0x64]));_0x37563(),_0x2756ac[_0x3e0e4c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e0e4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50d8a1=!0x1;const _0x136b7b=_0x3d9af7();function _0x401090(_0x3b4ecb){return!!_0x3b4ecb&&(typeof _0x3b4ecb===_0x3e0e4c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b4ecb===_0x3e0e4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b4ecb[_0x3e0e4c([0x74,0x68,0x65,0x6e])]===_0x3e0e4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b4ecb[_0x3e0e4c([0x63,0x61,0x74,0x63,0x68])]===_0x3e0e4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46fdca(_0x347873){_0x4a5978(_0x347873)[_0x3e0e4c([0x74,0x68,0x65,0x6e])](_0x559b5b=>{if(!_0x559b5b||_0x559b5b[_0x3e0e4c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e0e4c([0x6f,0x6b]))return _0x3e0e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ffdac(_0xa23695(_0x136b7b+_0x17a49c))!=_0x559b5b[_0x3e0e4c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e0e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e0e4c([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e0e4c([0x74,0x68,0x65,0x6e])](_0x53b6b5=>(_0x6b04c(),_0x53b6b5),()=>{const _0x356229=_0x55fce4();return null==_0x356229?(_0x6b04c(),_0x3e0e4c([0x56,0x61,0x6c,0x69,0x64])):_0x3e0e4c(_0x11069a-_0x356229>(0x7753083a^_0x227379)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e0e4c([0x74,0x68,0x65,0x6e])](_0x2049b0)[_0x3e0e4c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2049b0(_0x3e0e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x412fa9=0x536962ba^_0x227379;function _0x6b04c(){const _0x14810f=_0x3e0e4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ffdac(_0xa23695(_0x1ed73e)),_0x8b7683=_0x83358f(_0x4ffdac(window[_0x3e0e4c([0x4d,0x61,0x74,0x68])][_0x3e0e4c([0x63,0x65,0x69,0x6c])](_0x11069a/_0x412fa9)));window[_0x3e0e4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e0e4c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14810f,_0x8b7683);}function _0x55fce4(){const _0x22ca6b=_0x3e0e4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ffdac(_0xa23695(_0x1ed73e)),_0x17c8ff=window[_0x3e0e4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e0e4c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22ca6b);return _0x17c8ff?window[_0x3e0e4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x83358f(_0x17c8ff),0x10)*_0x412fa9:null;}function _0x4a5978(_0x2da891){return new window[(_0x3e0e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49fb5b,_0x456f7c)=>{_0x2da891[_0x3e0e4c([0x74,0x68,0x65,0x6e])](_0x49fb5b,_0x456f7c),window[_0x3e0e4c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x456f7c,0x535e58fa^_0x227379);});}}_0x2756ac[_0x3e0e4c([0x6f,0x6e])](_0x3e0e4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b980b,_0x5a7a17)=>{if(_0x5a7a17[0x0]!=_0x1ed73e)return _0x2049b0(_0x3e0e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a7a17[0x1]={..._0x5a7a17[0x1],[_0x3e0e4c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x136b7b};},{[_0x3e0e4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e0e4c([0x68,0x69,0x67,0x68])}),_0x2756ac[_0x3e0e4c([0x6f,0x6e])](_0x3e0e4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a389c=>{_0x401090(_0x1a389c[_0x3e0e4c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50d8a1=!0x0,_0x46fdca(_0x1a389c[_0x3e0e4c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e0e4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e0e4c([0x6c,0x6f,0x77])}),_0x3af322[_0x3e0e4c([0x74,0x68,0x65,0x6e])](()=>{_0x50d8a1||_0x2049b0(_0x3e0e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x423897(){return _0x2756ac[_0x3e0e4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e0e4c([0x76,0x69,0x65,0x77])][_0x3e0e4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e0e4c([0x61,0x75,0x74,0x6f]);}function _0x37563(){_0x2756ac[_0x3e0e4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e0e4c([0x76,0x69,0x65,0x77])][_0x3e0e4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e0e4c([0x61,0x75,0x74,0x6f]);}}function _0x27ab21(_0x5cac3b){const _0x320d70=[new window[(_0x3e0e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x129493=>setTimeout(_0x129493,0x5356b2f6^_0x227379)),_0x3af322[_0x3e0e4c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e0e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4454b7=>{let _0x393f4f=0x0;_0x2756ac[_0x3e0e4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0e4c([0x6f,0x6e])](_0x3e0e4c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x229144,_0x40d74d)=>{_0x40d74d[0x0][_0x3e0e4c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x393f4f++,_0x393f4f==(0x535f89d2^_0x227379)&&(_0x4454b7(),_0x229144[_0x3e0e4c([0x6f,0x66,0x66])]());});}))];return window[_0x3e0e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e0e4c([0x72,0x61,0x63,0x65])](_0x320d70)[_0x3e0e4c([0x74,0x68,0x65,0x6e])](()=>_0x5cac3b);}async function _0xf4ba9e(){await _0x3af322,_0x2756ac[_0x3e0e4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0e4c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ce51d,_0x2756ac[_0x3e0e4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0e4c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ce51d,_0x2756ac[_0x3e0e4c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e0e4c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1bd750(_0x3b3751){const _0x816670=_0x4e5f11();_0x2756ac[_0x816670]=_0x3e0e4c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b3751,_0x3b3751!=_0x3e0e4c([0x56,0x61,0x6c,0x69,0x64])&&_0xf4ba9e();}function _0x4e5f11(){const _0x165215=window[_0x3e0e4c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e0e4c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e0e4c([0x6e,0x6f,0x77])]())[_0x3e0e4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e0e4c([0x2e]),'');let _0x57cc0d=_0x3e0e4c([0x68]);for(let _0x1e85b7=0x0;_0x1e85b7<_0x165215[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e85b7+=0x2){let _0x3ccdce=window[_0x3e0e4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x165215[_0x3e0e4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e85b7,_0x1e85b7+0x2));_0x3ccdce>=_0x31552c[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ccdce-=_0x31552c[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57cc0d+=_0x31552c[_0x3ccdce];}return _0x57cc0d;}function _0x1d56b0(){const _0x28be67=_0x29166a[_0x3e0e4c([0x73,0x70,0x6c,0x69,0x74])](_0x3e0e4c([0x2e]));if(0x3!=_0x28be67[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1aee47(_0x28be67[0x1]);function _0x1aee47(_0x389cdc){const _0x3bd48c=_0x1f5c6b(_0x389cdc);return _0x3bd48c&&_0x1deb2d()?_0x3bd48c:null;function _0x1deb2d(){const _0x14c89d=_0x3bd48c[_0x3e0e4c([0x6a,0x74,0x69])],_0x36290a=window[_0x3e0e4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14c89d[_0x3e0e4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14c89d[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x871c29={..._0x3bd48c,[_0x3e0e4c([0x6a,0x74,0x69])]:_0x14c89d[_0x3e0e4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14c89d[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x871c29[_0x3e0e4c([0x76,0x63])],_0xa23695(_0x871c29)==_0x36290a;}}}async function _0x11bf42(){let _0x4ebdce=!0x0;try{const _0x4c5d51=_0x29166a[_0x3e0e4c([0x73,0x70,0x6c,0x69,0x74])](_0x3e0e4c([0x2e])),[_0x3efcd4,_0x3b81ef,_0x12db52]=_0x4c5d51;return _0xe06feb(_0x3efcd4),await _0x328586(_0x3efcd4,_0x3b81ef,_0x12db52),_0x4ebdce;}catch{return!0x1;}function _0xe06feb(_0xf6cd57){const _0x29b6d3=_0x1f5c6b(_0xf6cd57);_0x29b6d3&&_0x29b6d3[_0x3e0e4c([0x61,0x6c,0x67])]==_0x3e0e4c([0x45,0x53,0x32,0x35,0x36])||(_0x4ebdce=!0x1);}async function _0x328586(_0x563d67,_0x23abbc,_0x416329){const _0x72e9f3=window[_0x3e0e4c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e0e4c([0x66,0x72,0x6f,0x6d])](_0x565dc9(_0x416329),_0x33d416=>_0x33d416[_0x3e0e4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a76b3=new window[(_0x3e0e4c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e0e4c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x563d67+_0x3e0e4c([0x2e])+_0x23abbc),_0x125516=window[_0x3e0e4c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e0e4c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x125516)return;const _0x51e393=await _0x125516[_0x3e0e4c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e0e4c([0x6a,0x77,0x6b]),_0x5d7148,{[_0x3e0e4c([0x6e,0x61,0x6d,0x65])]:_0x3e0e4c([0x45,0x43,0x44,0x53,0x41]),[_0x3e0e4c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e0e4c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e0e4c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x125516[_0x3e0e4c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e0e4c([0x6e,0x61,0x6d,0x65])]:_0x3e0e4c([0x45,0x43,0x44,0x53,0x41]),[_0x3e0e4c([0x68,0x61,0x73,0x68])]:{[_0x3e0e4c([0x6e,0x61,0x6d,0x65])]:_0x3e0e4c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51e393,_0x72e9f3,_0x5a76b3)||(_0x4ebdce=!0x1);}}function _0x1f5c6b(_0xbfb6d0){return _0xbfb6d0[_0x3e0e4c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e0e4c([0x65,0x79]))?JSON[_0x3e0e4c([0x70,0x61,0x72,0x73,0x65])](_0x565dc9(_0xbfb6d0)):null;}function _0x565dc9(_0x4c2072){return window[_0x3e0e4c([0x61,0x74,0x6f,0x62])](_0x4c2072[_0x3e0e4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e0e4c([0x2b]))[_0x3e0e4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e0e4c([0x2f])));}function _0xa23695(_0x171680){let _0x40a07d=0x1505;function _0x3731ca(_0x56d005){for(let _0x3f71ad=0x0;_0x3f71ad<_0x56d005[_0x3e0e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f71ad++){const _0x4514da=_0x56d005[_0x3e0e4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f71ad);_0x40a07d=(_0x40a07d<<0x5)+_0x40a07d+_0x4514da,_0x40a07d&=_0x40a07d;}}function _0x383c0f(_0x2dea4b){Array[_0x3e0e4c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2dea4b)?_0x2dea4b[_0x3e0e4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x383c0f):_0x2dea4b&&typeof _0x2dea4b==_0x3e0e4c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e0e4c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2dea4b)[_0x3e0e4c([0x73,0x6f,0x72,0x74])]()[_0x3e0e4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e19ba,_0x2c926e])=>{_0x3731ca(_0x1e19ba),_0x383c0f(_0x2c926e);}):_0x3731ca(window[_0x3e0e4c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2dea4b));}return _0x383c0f(_0x171680),_0x40a07d>>>0x0;}function _0x4ffdac(_0x480fa0){return _0x480fa0[_0x3e0e4c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e0e4c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e0e4c([0x30]));}function _0x83358f(_0x29ace8){return _0x29ace8[_0x3e0e4c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e0e4c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e0e4c([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ce51d(){}function _0x3e0e4c(_0x2d3a89){return _0x2d3a89['map'](_0x18e5f5=>String['fromCharCode'](_0x18e5f5))['join']('');}_0x1bd750(await _0x3b6bde());}(this);}['_initSchema'](){const _0x183292=this['editor']['model']['schema'];_0x183292['isRegistered']('imageBlock')&&_0x183292['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x183292['isRegistered']('imageInline')&&_0x183292['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x11cf93=this['editor'];_0x11cf93['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x11cf93['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x34a45d=>_0x34a45d['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1fe940=_0x11cf93['commands']['get']('replaceImageSource');_0x1fe940&&this['listenTo'](_0x1fe940,'cleanupImage',(_0x5cb2f4,[_0x100fa8,_0x621ddd])=>{_0x100fa8['removeAttribute']('uploadcareImageId',_0x621ddd);});}['_initConfig'](){const _0x414087=this['editor']['config']['get']('uploadcare.uploader')||{},_0x428fa3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3a69f0(_0x57318e['document'],'uc-config',{..._0x414087,'pubkey':_0x428fa3,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x31d869=>{if('closeMax'==_0x31d869)return'#uc-icon-arrow-down';},_0x57318e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3a69f0(_0x57318e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x57318e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x39f294=this['editor']['commands']['get']('insertImage');_0x39f294&&this['listenTo'](_0x39f294,'execute',()=>{const _0x57b62e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x57b62e&&_0x57b62e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x57b62e);});});const _0x5614c0=this['editor']['commands']['get']('uploadcareImageReplace');_0x5614c0&&this['listenTo'](_0x5614c0,'execute',()=>{const _0x44e8b9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x44e8b9&&_0x44e8b9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x44e8b9);});});}}class tt extends _0x1eb42f{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x419003){super(_0x419003),_0x419003['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2dab71['defineComponents'](_0x2dab71),this['_defineLocale']();}['_defineLocale'](){const _0x287e8a=this['editor']['config']['get']('uploadcare.locale'),_0x570655=this['editor']['locale']['contentLanguage'];_0x287e8a&&_0x2dab71['defineLocale'](_0x570655,_0x287e8a);}}class ii extends _0x330511{constructor(_0x2bb23a){super(_0x2bb23a);const t=_0x2bb23a['t'],_0x503cd4=this['bindTemplate'],_0x54a569=new _0x320917();_0x54a569['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':[_0x54a569,{'text':_0x503cd4['to']('imageUploadProgress',_0x2c65f1=>t('Loading\x20image...')+'\x20('+(_0x2c65f1||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x330511{constructor(_0x10b1b3){super(_0x10b1b3);const t=_0x10b1b3['t'];this['set']('errorType',null);const _0x12de28=new _0x1b73cf(_0x10b1b3);_0x12de28['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x12de28['withText']=!0x0,_0x12de28['class']='ck-button-action',_0x12de28['on']('execute',()=>{this['fire']('retry');}),_0x12de28['bind']('isVisible')['to'](this,'errorType',_0x4f81b8=>'NotFound'!==_0x4f81b8);const _0x2bcef8=new _0x50fb93();_0x2bcef8['content']=_0xf4a164,_0x2bcef8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2b4b57=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':[_0x2bcef8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2b4b57['to']('errorType',_0xfb3b0d=>t('NotFound'!==_0xfb3b0d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x12de28]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x330511{constructor(_0x19bc2c,_0x21ead9){super(_0x19bc2c);const _0x3ff633=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x21ead9,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3ff633['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x34ea07,_0x194562,_0x3c42ea){super(_0x34ea07),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x34ea07),this['_errorView']=new ti(_0x34ea07),this['_editingView']=new ei(_0x34ea07,_0x3c42ea),this['_focusableView']=new _0x330511(_0x34ea07),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x194562),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'],_0xcc7b30=>{this['_addUploadcareImageEditorListeners'](_0xcc7b30);});}),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'](_0x3b286e,_0x349e3b){const _0x413327='uc-cloud-image-editor',_0x18e418=_0x3b286e['querySelector'](_0x413327);if(_0x18e418)return _0x349e3b(_0x18e418);const _0x47f32b=new MutationObserver(_0x2e774d=>{const _0x208c30=_0x2e774d['filter'](_0x2392a5=>_0x2392a5['target']===_0x3b286e&&_0x2392a5['addedNodes']['length']>0x0&&_0x2392a5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x413327);_0x208c30['length']&&(_0x47f32b['disconnect'](),_0x349e3b(_0x208c30[0x0]['addedNodes'][0x0]));});_0x47f32b['observe'](_0x3b286e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x41b201){_0x41b201['addEventListener']('apply',_0x3d4549=>{this['fire']('apply',{'imageSrc':_0x3d4549['detail']['cdnUrl']});}),_0x41b201['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x10cec6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x16ab30,_0x2ad631,_0xdeb706){super(),this['_editor']=_0x16ab30,this['_dialog']=_0x2ad631,this['_imageElement']=_0xdeb706,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 _0x3595af=this['_imageElement'],_0x487fc5=_0x3595af['getAttribute']('uploadcareImageId'),_0x2eb5c6=_0x3595af['getAttribute']('src');if(_0x487fc5)await this['_loadImageInfo'](_0x487fc5,_0x2eb5c6);else{if(this['_imageCache']['has'](_0x2eb5c6)){const _0x4c41ba=this['_imageCache']['get'](_0x2eb5c6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c41ba['url'],this['imageDimension']=_0x4c41ba['dimension'],this['imageId']=_0x4c41ba['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x282ca5}=this['_editor'],t=_0x282ca5['t'],_0x1697e7=new X(_0x282ca5,this['imageStatus'],this['_attributes']);_0x1697e7['bind']('status')['to'](this,'imageStatus'),_0x1697e7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1697e7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1697e7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1697e7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b5f05,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1697e7,'position':_0x2915d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1697e7['focus']();},'onHide':()=>{_0x1697e7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5b3420=>!A(_0x5b3420,_0x1697e7['element'])}});}['_loadImageInfo'](_0x512f63,_0x226506){return j['getInfo'](_0x512f63,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x16045b=>{const {width:_0x1b38b2,height:_0x3e65dd}=_0x16045b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x226506,this['imageDimension']={'width':_0x1b38b2,'height':_0x3e65dd},this['imageId']=_0x512f63;})['catch'](_0xf34f8b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xf34f8b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5c6938,_0x4a43ab){return this['_getImageAsFile'](_0x5c6938)['then'](_0x47b2b5=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4a43ab['signal'],'file':_0x47b2b5,'onProgress':_0x5175d7=>{_0x5175d7&&_0x5175d7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5175d7['value']));}}))['then'](_0x2175e9=>{const {width:_0x128e2e,height:_0x1aedb8}=_0x2175e9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2175e9['cdnUrl'],this['imageDimension']={'width':_0x128e2e,'height':_0x1aedb8},this['imageId']=_0x2175e9['uuid'],this['imageUploadProgress']=null;const _0x157753=_0x5c6938['getAttribute']('src');this['_imageCache']['set'](_0x157753,{'id':_0x2175e9['uuid'],'url':_0x2175e9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x539500=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x539500['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3cae50,_0x11c791){_0x3cae50['on']('apply',(_0x26884e,_0x35f271)=>{this['_replaceImage'](_0x11c791,_0x35f271['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3cae50['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3cae50['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x565ca7,_0x1f1358,_0xb36250){const _0x10ad18=this['_editor'],{width:_0x309ec8,height:_0xb4028e}=S(_0x1f1358,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1d0d09,imageSources:_0x2bc547}=C(_0x1f1358,_0x309ec8);_0x10ad18['model']['change'](_0x2f5718=>{if('$graveyard'===_0x565ca7['root']['rootName']){_0x10ad18['execute']('insertImage',{'imageType':_0x565ca7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x565ca7['getAttributes']()),'uploadcareImageId':_0xb36250,'src':_0x1d0d09,'sources':_0x2bc547,'width':_0x309ec8,'height':_0xb4028e}});const _0x49488c=_0x565ca7['getChildren']();_0x565ca7=_0x10ad18['model']['document']['selection']['getSelectedElement']();for(const _0x2b16e3 of _0x49488c)_0x2f5718['append'](_0x2f5718['cloneElement'](_0x2b16e3),_0x565ca7);}else _0x2f5718['setSelection'](_0x565ca7,'on'),_0x10ad18['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x565ca7['getAttributes']()),'uploadcareImageId':_0xb36250,'src':_0x1d0d09,'sources':_0x2bc547,'width':_0x309ec8,'height':_0xb4028e},_0x565ca7);_0x2f5718['setSelection'](_0x565ca7,'on');});}async['_getImageAsFile'](_0x47516f){const _0x394f13=_0x57318e['window'],_0x14b71d=_0x57318e['document']['location']['href'],_0xd957df=new _0x394f13['URL'](_0x47516f['getAttribute']('src'),_0x14b71d);if('data:'===_0xd957df['protocol']){const _0x5f04db=_0xd957df['href']['split'](','),_0x11b58d=_0x5f04db[0x0]['match'](/:(.*?);/)[0x1],_0x2c4edc=_0x11b58d['split']('/')[0x1],_0x4eb355=_0x394f13['atob'](_0x5f04db[_0x5f04db['length']-0x1]);let _0x3d62e5=_0x4eb355['length'];const _0x2e58a7=new _0x394f13['Uint8Array'](_0x3d62e5);for(;_0x3d62e5--;)_0x2e58a7[_0x3d62e5]=_0x4eb355['charCodeAt'](_0x3d62e5);return new _0x394f13['File']([_0x2e58a7],'image.'+_0x2c4edc,{'type':_0x11b58d});}const _0x3480af=_0xd957df['href']['split']('/'),_0x1d9bdb=_0x3480af[_0x3480af['length']-0x1],_0x3d8439=_0x1d9bdb['split']('.')[0x1];return _0x394f13['fetch'](_0xd957df['href'])['then'](_0x468c26=>_0x468c26['clone']()['blob']())['then'](_0x4d6660=>new _0x394f13['File']([_0x4d6660],_0x1d9bdb,{'type':'image/'+_0x3d8439}));}}class O extends _0x1b6628{['imageEditController'];static get['requires'](){return[_0x20eb2c];}['_isEditable'];constructor(_0x1a823b){super(_0x1a823b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x51a780){const _0x18d312=G(_0x51a780);return _0x4b941b=>!(!_0x4b941b||!_0x4b941b['is']('element','imageBlock')&&!_0x4b941b['is']('element','imageInline'))&&(!!_0x4b941b['hasAttribute']('uploadcareImageId')||!!_0x4b941b['hasAttribute']('src')&&_0x18d312(_0x4b941b['getAttribute']('src')));}(_0x1a823b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x276a79=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x276a79);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x510ce0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x510ce0&&(_0x510ce0['is']('element','imageBlock')||_0x510ce0['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x20eb2c),_0x510ce0),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x1b6628{['refresh'](){const _0x3f653a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3f653a&&(_0x3f653a['is']('element','imageBlock')||_0x3f653a['is']('element','imageInline')));}['execute'](_0x18f2c5){const _0x33080a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x170998=>{_0x170998['setAttributes'](_0x18f2c5,_0x33080a),_0x170998['removeAttribute']('srcset',_0x33080a),_0x170998['removeAttribute']('sizes',_0x33080a);});}}class m extends _0x1eb42f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x16ed00,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x165d00}=this;_0x165d00['commands']['add']('uploadcareImageEdit',new O(_0x165d00)),_0x165d00['commands']['add']('uploadcareImageReplace',new R(_0x165d00));}}class g extends _0x1eb42f{['_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 _0x40196c=this['editor'];_0x40196c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4c524e=>{const _0x5d66a7=_0x40196c['commands']['get']('uploadcareImageEdit'),_0x5c07b2=new _0x1b73cf(_0x4c524e),t=_0x4c524e['t'];return _0x5c07b2['set']({'icon':_0x2b5f05,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5c07b2['bind']('isEnabled')['to'](_0x5d66a7),_0x5c07b2['bind']('isOn')['to'](_0x5d66a7,'isActive'),this['listenTo'](_0x5c07b2,'execute',()=>{_0x40196c['execute']('uploadcareImageEdit'),_0x40196c['editing']['view']['focus']();}),_0x5c07b2;}),this['_initConfig']();}['_initConfig'](){const _0x3644af=_0x3a69f0(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3644af),this['listenTo'](this['editor'],'destroy',()=>{_0x3644af['remove']();});}}class et extends _0x1eb42f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x9661e9=>0x1!=_0x9661e9}};
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':_0x1ca838=>0x1!=_0x1ca838}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1bab88=>{const {af:{dictionary:_0x239ec8,getPluralForm:_0x33332d}}={'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':_0x526f75=>0x1!=_0x526f75}};_0x1bab88['af']||={'dictionary':{},'getPluralForm':null},_0x1bab88['af']['dictionary']=Object['assign'](_0x1bab88['af']['dictionary'],_0x239ec8),_0x1bab88['af']['getPluralForm']=_0x33332d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1edba7=>{const {af:{dictionary:_0x137e7d,getPluralForm:_0x4f19e7}}={'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':_0x1334eb=>0x1!=_0x1334eb}};_0x1edba7['af']||={'dictionary':{},'getPluralForm':null},_0x1edba7['af']['dictionary']=Object['assign'](_0x1edba7['af']['dictionary'],_0x137e7d),_0x1edba7['af']['getPluralForm']=_0x4f19e7;})(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':_0x3cc291=>0x0==_0x3cc291?0x0:0x1==_0x3cc291?0x1:0x2==_0x3cc291?0x2:_0x3cc291%0x64>=0x3&&_0x3cc291%0x64<=0xa?0x3:_0x3cc291%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':_0x16ff7e=>0x0==_0x16ff7e?0x0:0x1==_0x16ff7e?0x1:0x2==_0x16ff7e?0x2:_0x16ff7e%0x64>=0x3&&_0x16ff7e%0x64<=0xa?0x3:_0x16ff7e%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21e52e=>{const {ar:{dictionary:_0x79f2d2,getPluralForm:_0x37301a}}={'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':_0xd493af=>0x0==_0xd493af?0x0:0x1==_0xd493af?0x1:0x2==_0xd493af?0x2:_0xd493af%0x64>=0x3&&_0xd493af%0x64<=0xa?0x3:_0xd493af%0x64>=0xb?0x4:0x5}};_0x21e52e['ar']||={'dictionary':{},'getPluralForm':null},_0x21e52e['ar']['dictionary']=Object['assign'](_0x21e52e['ar']['dictionary'],_0x79f2d2),_0x21e52e['ar']['getPluralForm']=_0x37301a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x21fcc2=>{const {ar:{dictionary:_0x3ae643,getPluralForm:_0xd110fa}}={'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':_0x38d414=>0x0==_0x38d414?0x0:0x1==_0x38d414?0x1:0x2==_0x38d414?0x2:_0x38d414%0x64>=0x3&&_0x38d414%0x64<=0xa?0x3:_0x38d414%0x64>=0xb?0x4:0x5}};_0x21fcc2['ar']||={'dictionary':{},'getPluralForm':null},_0x21fcc2['ar']['dictionary']=Object['assign'](_0x21fcc2['ar']['dictionary'],_0x3ae643),_0x21fcc2['ar']['getPluralForm']=_0xd110fa;})(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':_0x326edb=>0x1!=_0x326edb}};
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':_0x32e7b4=>0x1!=_0x32e7b4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c8547=>{const {ast:{dictionary:_0x12a04f,getPluralForm:_0x5c50bc}}={'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':_0x12c036=>0x1!=_0x12c036}};_0x2c8547['ast']||={'dictionary':{},'getPluralForm':null},_0x2c8547['ast']['dictionary']=Object['assign'](_0x2c8547['ast']['dictionary'],_0x12a04f),_0x2c8547['ast']['getPluralForm']=_0x5c50bc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d06db=>{const {ast:{dictionary:_0x11ebaa,getPluralForm:_0x4fe955}}={'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':_0x551aa8=>0x1!=_0x551aa8}};_0x3d06db['ast']||={'dictionary':{},'getPluralForm':null},_0x3d06db['ast']['dictionary']=Object['assign'](_0x3d06db['ast']['dictionary'],_0x11ebaa),_0x3d06db['ast']['getPluralForm']=_0x4fe955;})(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':_0x13d2df=>0x1!=_0x13d2df}};
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':_0x494ce5=>0x1!=_0x494ce5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x27ea79=>{const {az:{dictionary:_0x302344,getPluralForm:_0xffb3b6}}={'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':_0xd9cde9=>0x1!=_0xd9cde9}};_0x27ea79['az']||={'dictionary':{},'getPluralForm':null},_0x27ea79['az']['dictionary']=Object['assign'](_0x27ea79['az']['dictionary'],_0x302344),_0x27ea79['az']['getPluralForm']=_0xffb3b6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d36e4=>{const {az:{dictionary:_0x1f2c0e,getPluralForm:_0x53cb90}}={'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':_0x4a447=>0x1!=_0x4a447}};_0x5d36e4['az']||={'dictionary':{},'getPluralForm':null},_0x5d36e4['az']['dictionary']=Object['assign'](_0x5d36e4['az']['dictionary'],_0x1f2c0e),_0x5d36e4['az']['getPluralForm']=_0x53cb90;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5d4c30=>_0x5d4c30%0xa==0x1&&_0x5d4c30%0x64!=0xb?0x0:_0x5d4c30%0xa>=0x2&&_0x5d4c30%0xa<=0x4&&(_0x5d4c30%0x64<0xa||_0x5d4c30%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2cb64f=>_0x2cb64f%0xa==0x1&&_0x2cb64f%0x64!=0xb?0x0:_0x2cb64f%0xa>=0x2&&_0x2cb64f%0xa<=0x4&&(_0x2cb64f%0x64<0xa||_0x2cb64f%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x7c2a2=>{const {be:{dictionary:_0x168dd1,getPluralForm:_0x2211e8}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5841f9=>_0x5841f9%0xa==0x1&&_0x5841f9%0x64!=0xb?0x0:_0x5841f9%0xa>=0x2&&_0x5841f9%0xa<=0x4&&(_0x5841f9%0x64<0xa||_0x5841f9%0x64>=0x14)?0x1:0x2}};_0x7c2a2['be']||={'dictionary':{},'getPluralForm':null},_0x7c2a2['be']['dictionary']=Object['assign'](_0x7c2a2['be']['dictionary'],_0x168dd1),_0x7c2a2['be']['getPluralForm']=_0x2211e8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x36ec09=>{const {be:{dictionary:_0x446737,getPluralForm:_0x105be4}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5a3b3d=>_0x5a3b3d%0xa==0x1&&_0x5a3b3d%0x64!=0xb?0x0:_0x5a3b3d%0xa>=0x2&&_0x5a3b3d%0xa<=0x4&&(_0x5a3b3d%0x64<0xa||_0x5a3b3d%0x64>=0x14)?0x1:0x2}};_0x36ec09['be']||={'dictionary':{},'getPluralForm':null},_0x36ec09['be']['dictionary']=Object['assign'](_0x36ec09['be']['dictionary'],_0x446737),_0x36ec09['be']['getPluralForm']=_0x105be4;})(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':_0x5cda04=>0x1!=_0x5cda04}};
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':_0x136de2=>0x1!=_0x136de2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x10d2f0=>{const {bg:{dictionary:_0x5ca18d,getPluralForm:_0x9aca7d}}={'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':_0x4eafcd=>0x1!=_0x4eafcd}};_0x10d2f0['bg']||={'dictionary':{},'getPluralForm':null},_0x10d2f0['bg']['dictionary']=Object['assign'](_0x10d2f0['bg']['dictionary'],_0x5ca18d),_0x10d2f0['bg']['getPluralForm']=_0x9aca7d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3cbff4=>{const {bg:{dictionary:_0x180368,getPluralForm:_0x263be6}}={'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':_0x589620=>0x1!=_0x589620}};_0x3cbff4['bg']||={'dictionary':{},'getPluralForm':null},_0x3cbff4['bg']['dictionary']=Object['assign'](_0x3cbff4['bg']['dictionary'],_0x180368),_0x3cbff4['bg']['getPluralForm']=_0x263be6;})(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':_0x874b33=>0x1!=_0x874b33}};
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':_0x354802=>0x1!=_0x354802}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa2c4c2=>{const {bn:{dictionary:_0xd42d3b,getPluralForm:_0xc8c3dc}}={'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':_0x1472b0=>0x1!=_0x1472b0}};_0xa2c4c2['bn']||={'dictionary':{},'getPluralForm':null},_0xa2c4c2['bn']['dictionary']=Object['assign'](_0xa2c4c2['bn']['dictionary'],_0xd42d3b),_0xa2c4c2['bn']['getPluralForm']=_0xc8c3dc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x287a23=>{const {bn:{dictionary:_0x3530c5,getPluralForm:_0x554c45}}={'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':_0x2ead94=>0x1!=_0x2ead94}};_0x287a23['bn']||={'dictionary':{},'getPluralForm':null},_0x287a23['bn']['dictionary']=Object['assign'](_0x287a23['bn']['dictionary'],_0x3530c5),_0x287a23['bn']['getPluralForm']=_0x554c45;})(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':_0x35d719=>_0x35d719%0xa==0x1&&_0x35d719%0x64!=0xb?0x0:_0x35d719%0xa>=0x2&&_0x35d719%0xa<=0x4&&(_0x35d719%0x64<0xa||_0x35d719%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':_0x54259b=>_0x54259b%0xa==0x1&&_0x54259b%0x64!=0xb?0x0:_0x54259b%0xa>=0x2&&_0x54259b%0xa<=0x4&&(_0x54259b%0x64<0xa||_0x54259b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x141152=>{const {bs:{dictionary:_0x40ffdf,getPluralForm:_0x29bdf6}}={'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':_0x157bf8=>_0x157bf8%0xa==0x1&&_0x157bf8%0x64!=0xb?0x0:_0x157bf8%0xa>=0x2&&_0x157bf8%0xa<=0x4&&(_0x157bf8%0x64<0xa||_0x157bf8%0x64>=0x14)?0x1:0x2}};_0x141152['bs']||={'dictionary':{},'getPluralForm':null},_0x141152['bs']['dictionary']=Object['assign'](_0x141152['bs']['dictionary'],_0x40ffdf),_0x141152['bs']['getPluralForm']=_0x29bdf6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5943a0=>{const {bs:{dictionary:_0x73c510,getPluralForm:_0x180294}}={'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':_0x178d43=>_0x178d43%0xa==0x1&&_0x178d43%0x64!=0xb?0x0:_0x178d43%0xa>=0x2&&_0x178d43%0xa<=0x4&&(_0x178d43%0x64<0xa||_0x178d43%0x64>=0x14)?0x1:0x2}};_0x5943a0['bs']||={'dictionary':{},'getPluralForm':null},_0x5943a0['bs']['dictionary']=Object['assign'](_0x5943a0['bs']['dictionary'],_0x73c510),_0x5943a0['bs']['getPluralForm']=_0x180294;})(window['CKEDITOR_TRANSLATIONS']||={});