@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250601.0 → 0.0.0-nightly-20250603.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 _0x4ad29f,Command as _0x2285e4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x599c0d,IconGooglePhotos as _0x2457a1,IconGoogleDrive as _0x3bfbc6,IconFacebook as _0x5e558d,IconDropbox as _0x5369ed,IconUploadcareLink as _0x434256,IconUploadcareImageUpload as _0x52b24b,IconError as et,IconUploadcareImageEdit as _0x2627e7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5116cb,MenuBarMenuListItemButtonView as _0xb910d7,View as _0xfd6e23,FocusCycler as _0x2782ab,Dialog as _0x574305,DialogViewPosition as _0x32531e,SpinnerView as _0x2c1b66,IconView as at,Notification as _0x92cdb3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2a8817,DomEmitterMixin as _0x27133f,global as _0x3b63c4,getAncestors as _0xde7661,ObservableMixin as _0x59c1bb,createElement as _0x2acd36,uid as _0x53a8bd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x622e41}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x19b39e,info as _0x5958fe}from'@uploadcare/upload-client';import*as _0x118224 from'@uploadcare/file-uploader';var o=function(_0x286c32){return _0x286c32['Local']='local',_0x286c32['URL']='url',_0x286c32['Dropbox']='dropbox',_0x286c32['GDrive']='gdrive',_0x286c32['Facebook']='facebook',_0x286c32['GPhotos']='gphotos',_0x286c32['OneDrive']='onedrive',_0x286c32;}({});function _(_0x199d23,_0x5427cc,_0x13969f){const t=_0x199d23['t'],_0x394dac=_0x199d23['t'];switch(_0x5427cc){case o['Local']:return{'text':_0x394dac('Insert'===_0x13969f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x394dac('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x13969f?_0x394dac('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x394dac('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x13969f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x13969f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x13969f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x13969f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x13969f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5427cc;}}class e extends _0x4ad29f{['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 _0x169ce0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xfc24a7;for(const _0x2283e1 in _0x169ce0){const _0x4fe5e2=_0x2283e1,_0x75a05c=_0x169ce0[_0x4fe5e2];if('uploadcareLicenseKeyValid'==_0x75a05c||'uploadcareLicenseKeyInvalid'==_0x75a05c||'uploadcareLicenseKeyExpired'==_0x75a05c||'uploadcareLicenseKeyDomainLimit'==_0x75a05c||'uploadcareLicenseKeyNotAllowed'==_0x75a05c||'uploadcareLicenseKeyEvaluationLimit'==_0x75a05c||'uploadcareLicenseKeyTrialLimit'==_0x75a05c||'uploadcareLicenseKeyUsageLimit'==_0x75a05c){delete _0x169ce0[_0x4fe5e2],_0xfc24a7=_0x75a05c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xfc24a7&&_0x169ce0['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xfc24a7&&_0x169ce0['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xfc24a7&&_0x169ce0['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xfc24a7&&_0x169ce0['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xfc24a7&&_0x169ce0['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xfc24a7&&_0x169ce0['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xfc24a7&&_0x169ce0['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x21e13a}=this,_0x525697=_0x21e13a['commands']['get']('uploadcare');if(!_0x525697)return;const _0x506444=this['_normalizeConfigSourceList'](_0x21e13a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4e8050,_0x35a8ef)=>{const _0x12eea1=this['_getIntegrationKey'](_0x35a8ef['type']);return _0x4e8050[_0x12eea1]||(_0x4e8050[_0x12eea1]=[]),_0x4e8050[_0x12eea1]['push'](_0x35a8ef),_0x4e8050;},{});_0x21e13a['plugins']['has']('ImageInsertUI')&&_0x21e13a['commands']['get']('uploadcare')&&Object['entries'](_0x506444)['forEach'](([_0x5c202d,_0x1c9339])=>{_0x21e13a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5c202d,'observable':()=>_0x525697,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1c9339),'formViewCreator':()=>this['_createDropdownButtons'](_0x1c9339),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1c9339),'override':'assetManager'!==_0x5c202d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5c5700){const {locale:_0x2ab365}=this['editor'];return _0x5c5700['map'](_0x45dc4d=>{const _0x23ee16=_(_0x2ab365,_0x45dc4d,'Insert');switch(_0x45dc4d){case o['Local']:return{'icon':_0x52b24b,'type':o['Local'],..._0x23ee16};case o['URL']:return{'icon':_0x434256,'type':o['URL'],..._0x23ee16};case o['Dropbox']:return{'icon':_0x5369ed,'type':o['Dropbox'],..._0x23ee16};case o['Facebook']:return{'icon':_0x5e558d,'type':o['Facebook'],..._0x23ee16};case o['GDrive']:return{'icon':_0x3bfbc6,'type':o['GDrive'],..._0x23ee16};case o['GPhotos']:return{'icon':_0x2457a1,'type':o['GPhotos'],..._0x23ee16};case o['OneDrive']:return{'icon':_0x599c0d,'type':o['OneDrive'],..._0x23ee16};}});}['_getIntegrationKey'](_0x1e7336){switch(_0x1e7336){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x25bd5d,_0x5030c0){const _0x541283=this['editor'],_0x5e819a=new _0x25bd5d(_0x541283['locale']),_0x560e70=_0x541283['commands']['get']('uploadcare');return _0x5e819a['bind']('isEnabled')['to'](_0x560e70),_0x5e819a['on']('execute',()=>{_0x560e70['execute'](_0x5030c0);}),_0x5e819a;}['_createToolbarButton'](_0x12aa65){const {locale:_0x3107b0}=this['editor'],_0x2e5267=this['editor']['plugins']['get']('ImageInsertUI'),_0x238855=_0x12aa65[0x0],_0x45d0d1=this['_createButton'](_0x5116cb,_0x238855['type']);return _0x45d0d1['icon']=_0x238855['icon'],_0x45d0d1['bind']('label')['to'](_0x2e5267,'isImageSelected',_0x46d82d=>_(_0x3107b0,_0x238855['type'],_0x46d82d?'Replace':'Insert')['text']),_0x45d0d1['tooltip']=!0x0,_0x45d0d1;}['_createDropdownButtons'](_0x17aac4){const {locale:_0x5ccbcd}=this['editor'],_0x33856d=this['editor']['plugins']['get']('ImageInsertUI');return _0x17aac4['map'](_0x144ca4=>{const _0x2be8c2=this['_createButton'](_0x5116cb,_0x144ca4['type']);return _0x2be8c2['withText']=!0x0,_0x2be8c2['icon']=_0x144ca4['icon'],_0x2be8c2['bind']('label')['to'](_0x33856d,'isImageSelected',_0x25e61a=>_(_0x5ccbcd,_0x144ca4['type'],_0x25e61a?'Replace':'Insert')['text']),_0x2be8c2;});}['_createMenuBarButtons'](_0x1f28af){return _0x1f28af['map'](_0x35c314=>{const _0x50bedc=this['_createButton'](_0xb910d7,_0x35c314['type']);return _0x50bedc['icon']=_0x35c314['icon'],_0x50bedc['label']=_0x35c314['shortText'],_0x50bedc;});}}class q extends _0xfd6e23{['focusTracker'];['focusCycler'];constructor(_0x18300b){super(_0x18300b),this['focusTracker']=new _0x2a8817(),this['focusCycler']=new _0x2782ab({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x2e9488){super(_0x2e9488),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x12c0c2,_0x556438){const _0x198409=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2e953c=>_0x2e953c<=_0x556438)['map'](_0x2c663b=>_0x12c0c2['replace'](/\/$/,'')+'/-/resize/'+_0x2c663b+'x/\x20'+_0x2c663b+'w');return{'imageFallbackUrl':_0x12c0c2,'imageSources':[{'srcset':_0x198409['join'](',\x20'),'sizes':'(max-width:\x20'+_0x556438+'px)\x20100vw,\x20'+_0x556438+'px','type':'image/webp'}]};}function A(_0x28ca49,_0x1cffce,_0x2b6642){const _0x283499=_0x28ca49['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x283499?parseInt(_0x283499[0x1],0xa):_0x1cffce,'height':_0x283499?parseInt(_0x283499[0x2],0xa):_0x2b6642};}function m(_0x55b469,_0x54afbc){const _0x2bf34c=Object['create'](_0x27133f),_0x4bf38b=_0x55b469['plugins']['get']('ImageUtils'),_0xbd6f7c=_0x55b469['editing']['mapper']['toViewElement'](_0x54afbc),_0x4c2e4f=_0x4bf38b['findViewImgElement'](_0xbd6f7c),_0x5488ec=_0x55b469['editing']['view']['domConverter']['viewToDom'](_0x4c2e4f),_0xabc530=_0x54afbc['getAttribute']('width'),_0x1d34e4=_0x54afbc['getAttribute']('height'),_0x36defa='image-processing';_0x55b469['editing']['view']['change'](_0x52be99=>{_0x52be99['addClass'](_0x36defa,_0xbd6f7c),_0x52be99['setStyle']('aspect-ratio',_0xabc530+'/'+_0x1d34e4,_0x4c2e4f);}),_0x2bf34c['listenTo'](_0x5488ec,'load',()=>{_0x2bf34c['stopListening'](_0x5488ec,'load'),_0x55b469['editing']['view']['change'](_0x843dbb=>{_0x843dbb['removeClass'](_0x36defa,_0xbd6f7c),_0x843dbb['removeStyle']('aspect-ratio',_0x4c2e4f);});});}function V(_0x204c81){if(Array['isArray'](_0x204c81)){const _0x2155b2=_0x204c81['map'](V);return _0x17886f=>_0x2155b2['some'](_0x5f037b=>_0x5f037b(_0x17886f));}if('origin'==_0x204c81){const _0x6fb98a=_0x3b63c4['window']['location']['origin'];return _0x2a858c=>new URL(_0x2a858c,_0x3b63c4['document']['baseURI'])['origin']==_0x6fb98a;}return'function'==typeof _0x204c81?_0x204c81:_0x204c81 instanceof RegExp?_0x4f6105=>!(!_0x4f6105['match'](_0x204c81)&&!_0x4f6105['replace'](/^https?:\/\//,'')['match'](_0x204c81)):()=>!0x1;}function F(_0x28dc8a,_0x50d114){return _0xde7661(_0x28dc8a['target'])['includes'](_0x50d114);}class l extends/* #__PURE__ -- @preserve */
24
- _0x59c1bb(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2b4566,_0x3cabc5,_0x86f519){super(),this['_editor']=_0x2b4566,this['_editing']=_0x3cabc5,this['_dialog']=_0x2b4566['plugins']['get'](_0x574305),this['_api']=_0x3cabc5['ctxElement']['getAPI'](),this['_type']=_0x86f519,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:_0x45a41d,model:_0xb29596}=this['_editor'],_0x530ac3=_0xb29596['document']['selection']['getSelectedElement'](),_0x3330cb=_0x530ac3&&(_0x530ac3['is']('element','imageBlock')||_0x530ac3['is']('element','imageInline'));this['_formView']=new S(_0x45a41d),this['_dialog']['show']({'id':'uploadCare','icon':_0x52b24b,'title':_(_0x45a41d,this['_type'],_0x3330cb?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x32531e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x45e4e7=>!F(_0x45e4e7,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x15dc88}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x553dc7=>{const _0x483307=_0x15dc88['length'];for(const _0x507f44 of _0x15dc88){const _0x5da845=_0x507f44===_0x15dc88[_0x483307-0x1],{cdnUrl:_0x16bf9d,fileInfo:_0x335737}=_0x507f44;if(!_0x16bf9d||!_0x335737)continue;const {width:_0x1f851c,height:_0x509fc4}=_0x335737['imageInfo'],_0x2e1788=A(_0x16bf9d,_0x1f851c,_0x509fc4),_0x24928b=E(_0x16bf9d,_0x2e1788['width']),_0x348938={'id':_0x335737['uuid'],'type':'image','attributes':{'imageDimension':_0x2e1788,..._0x24928b}};this['_insertAsset'](_0x348938,_0x5da845,_0x553dc7);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4dff59=>{'idle'===_0x4dff59['detail']['status']&&!_0x4dff59['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x58e08c,_0x27d4ab,_0x225897){const _0x56fe1e=this['_editor']['model']['document']['selection'],_0x2ee7e7=_0x56fe1e['getSelectedElement'](),_0x8cfb4d=!(!_0x2ee7e7||!_0x2ee7e7['is']('element','imageInline'));_0x225897['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x58e08c,_0x8cfb4d),_0x27d4ab||_0x225897['setSelection'](_0x56fe1e['getLastPosition']());}['_insertImage'](_0x3af82b,_0x355ae8){const _0x2c113e=this['_editor'],{imageDimension:_0x352eb5,imageFallbackUrl:_0x1f7010,imageSources:_0x3168be}=_0x3af82b['attributes'];_0x2c113e['execute']('insertImage',{'imageType':_0x355ae8?'imageInline':null,'source':{'uploadcareImageId':_0x3af82b['id'],'src':_0x1f7010,'sources':_0x3168be,..._0x352eb5}});}}class n extends _0x2285e4{['_editing'];['_controller']=null;static get['requires'](){return[_0x574305,i];}constructor(_0x314305){super(_0x314305),this['_editing']=_0x314305['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x37dc7f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x37dc7f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x2716ad,publicKey:_0x2aba03,signal:_0x1d03ac,onProgress:_0x44c960}){return _0x19b39e(_0x2716ad,{'publicKey':_0x2aba03,'store':'auto','signal':_0x1d03ac,'onProgress':_0x44c960});}static['getInfo'](_0x14df09,_0x2b74d9){return _0x5958fe(_0x14df09,_0x2b74d9);}}class p extends _0x4ad29f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x622e41,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3352e8=this['editor'];if(!!!_0x3352e8['config']['get']('uploadcare'))return;_0x3352e8['plugins']['get'](_0x622e41)['createUploadAdapter']=_0x4b36f7=>new x(_0x4b36f7,_0x3352e8),_0x3352e8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x31675e,{imageElement:_0x13b4fc,data:_0x55af71})=>{_0x3352e8['model']['change'](_0x4d096a=>{_0x4d096a['setAttribute']('uploadcareImageId',_0x55af71['uploadcareImageId'],_0x13b4fc);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x22f4d0,_0x1f4a67){this['loader']=_0x22f4d0,this['editor']=_0x1f4a67,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x47dbab=this['editor']['config']['get']('uploadcare.pubkey'),_0x19b068=await this['loader']['file'];return C['upload']({'file':_0x19b068,'publicKey':_0x47dbab,'signal':this['controller']['signal'],'onProgress':_0x3e9a6f=>{_0x3e9a6f&&_0x3e9a6f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3e9a6f['value']);}})['then'](async _0x1a1efe=>{const {imageFallbackUrl:_0x3c7d72,imageSources:_0x353d77}=E(_0x1a1efe['cdnUrl'],_0x1a1efe['imageInfo']['width']);return{'uploadcareImageId':_0x1a1efe['uuid'],'default':_0x3c7d72,'sources':_0x353d77};})['catch'](()=>{const _0x41c73c=t('Cannot\x20upload\x20file:')+('\x20'+_0x19b068['name']+'.');return Promise['reject'](_0x41c73c);});}['abort'](){this['controller']['abort']();}}class i extends _0x4ad29f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x574305];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x13e17a=this['editor'];_0x13e17a['commands']['add']('uploadcare',new n(_0x13e17a));}['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 _0x4a34f4=_0x3b63c4['document']['querySelector']('input[uploadcare-file-input]');_0x4a34f4&&_0x4a34f4['remove']();}),async function(_0x225363){const _0x1a201a=_0x1f54a7([0x64,0x31,0x4a,0x53,0x49,0x51,0x4e,0x33,0x66,0x6e,0x6d,0x4b,0x4d,0x48,0x30,0x63,0x78,0x5a,0x6a,0x74,0x36,0x79,0x65,0x67,0x32,0x34,0x42,0x68,0x7a,0x39,0x50,0x6f,0x54,0x73,0x69,0x46,0x43,0x41,0x47,0x71,0x72,0x58,0x4f,0x6b,0x77,0x35,0x55,0x45,0x56,0x62,0x75,0x59,0x52,0x70,0x37,0x6c,0x76,0x57,0x61,0x38,0x44,0x4c]),_0x33235c=0x701b58b9,_0x43541b=0x701c3139^_0x33235c,_0x1b591c=window[_0x1f54a7([0x44,0x61,0x74,0x65])][_0x1f54a7([0x6e,0x6f,0x77])](),_0x3a3e3d=_0x225363[_0x1f54a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x327a52=new window[(_0x1f54a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a1fde=>{_0x3a3e3d[_0x1f54a7([0x6f,0x6e,0x63,0x65])](_0x1f54a7([0x72,0x65,0x61,0x64,0x79]),_0x1a1fde);}),_0x4e1b0a={[_0x1f54a7([0x6b,0x74,0x79])]:_0x1f54a7([0x45,0x43]),[_0x1f54a7([0x75,0x73,0x65])]:_0x1f54a7([0x73,0x69,0x67]),[_0x1f54a7([0x63,0x72,0x76])]:_0x1f54a7([0x50,0x2d,0x32,0x35,0x36]),[_0x1f54a7([0x78])]:_0x1f54a7([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]),[_0x1f54a7([0x79])]:_0x1f54a7([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]),[_0x1f54a7([0x61,0x6c,0x67])]:_0x1f54a7([0x45,0x53,0x32,0x35,0x36])},_0x6fbfda=_0x3a3e3d[_0x1f54a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f54a7([0x67,0x65,0x74])](_0x1f54a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x48ee84(){let _0x402b88,_0x1710bf=null,_0x4f8ea0=null;try{if(_0x6fbfda==_0x1f54a7([0x47,0x50,0x4c]))return _0x1f54a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x402b88=_0x1682c7(),!_0x402b88)return _0x1f54a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x402b88[_0x1f54a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f8ea0=_0x53e3b2(_0x402b88[_0x1f54a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x402b88[_0x1f54a7([0x6a,0x74,0x69])])),await _0x4586c8()?_0x4ef550()?_0x416f16()?_0x1f54a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x41da9f()?(_0x402b88[_0x1f54a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f54a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1710bf=_0xf5b496(_0x1f54a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x402b88[_0x1f54a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f54a7([0x74,0x72,0x69,0x61,0x6c])&&(_0x1710bf=_0xf5b496(_0x1f54a7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x151c81()):_0x1f54a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f54a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f54a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f54a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x416f16(){const _0x49e31b=[_0x1f54a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f54a7([0x74,0x72,0x69,0x61,0x6c])][_0x1f54a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x402b88[_0x1f54a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b591c/0x3e8:0xe10*_0x43541b;return _0x402b88[_0x1f54a7([0x65,0x78,0x70])]<_0x49e31b;}function _0x4ef550(){const _0x5da7d3=_0x402b88[_0x1f54a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5da7d3&&(!!_0x5da7d3[_0x1f54a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f54a7([0x2a]))||!!_0x5da7d3[_0x1f54a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f54a7([0x55,0x50,0x4c,0x43])));}function _0x41da9f(){const _0x502931=_0x402b88[_0x1f54a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x502931||0x0==_0x502931[_0x1f54a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3a3443}=new URL(window[_0x1f54a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x502931[_0x1f54a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a3443))return!0x0;const _0x308056=_0x3a3443[_0x1f54a7([0x73,0x70,0x6c,0x69,0x74])](_0x1f54a7([0x2e]));return _0x502931[_0x1f54a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6ed72c=>_0x6ed72c[_0x1f54a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f54a7([0x2a])))[_0x1f54a7([0x6d,0x61,0x70])](_0xb3d9e8=>_0xb3d9e8[_0x1f54a7([0x73,0x70,0x6c,0x69,0x74])](_0x1f54a7([0x2e])))[_0x1f54a7([0x73,0x6f,0x6d,0x65])](_0x573db1=>_0x308056[_0x1f54a7([0x65,0x76,0x65,0x72,0x79])]((_0xe82f56,_0x344d0c)=>_0x573db1[_0x344d0c]===_0xe82f56||_0x573db1[_0x344d0c]===_0x1f54a7([0x2a])));}function _0x151c81(){return _0x1710bf&&_0x4f8ea0?new window[(_0x1f54a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x143f52,_0x499b10)=>{_0x1710bf[_0x1f54a7([0x74,0x68,0x65,0x6e])](_0x143f52,_0x499b10),_0x4f8ea0[_0x1f54a7([0x74,0x68,0x65,0x6e])](_0x347e40=>{_0x347e40!=_0x1f54a7([0x56,0x61,0x6c,0x69,0x64])&&_0x143f52(_0x347e40);},_0x499b10);}):_0x1710bf||_0x4f8ea0||_0x1f54a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53e3b2(_0x39bdf9,_0x29fbfe){return new window[(_0x1f54a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x310fe9=>{if(_0x2a12c0())return _0x310fe9(_0x1f54a7([0x56,0x61,0x6c,0x69,0x64]));_0x21edeb(),_0x3a3e3d[_0x1f54a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f54a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x606ed9=!0x1;const _0xfcbd7b=_0x53a8bd();function _0x5ec07e(_0x1f9afc){return!!_0x1f9afc&&(typeof _0x1f9afc===_0x1f54a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f9afc===_0x1f54a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f9afc[_0x1f54a7([0x74,0x68,0x65,0x6e])]===_0x1f54a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f9afc[_0x1f54a7([0x63,0x61,0x74,0x63,0x68])]===_0x1f54a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3057cd(_0x1aec74){_0xc43596(_0x1aec74)[_0x1f54a7([0x74,0x68,0x65,0x6e])](_0x43e061=>{if(!_0x43e061||_0x43e061[_0x1f54a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f54a7([0x6f,0x6b]))return _0x1f54a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4502ce(_0x1ccf07(_0xfcbd7b+_0x29fbfe))!=_0x43e061[_0x1f54a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f54a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f54a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f54a7([0x74,0x68,0x65,0x6e])](_0x294463=>(_0x4c3ae7(),_0x294463),()=>{const _0x33f978=_0x348753();return null==_0x33f978?(_0x4c3ae7(),_0x1f54a7([0x56,0x61,0x6c,0x69,0x64])):_0x1f54a7(_0x1b591c-_0x33f978>(0x5417dcb9^_0x33235c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f54a7([0x74,0x68,0x65,0x6e])](_0x310fe9)[_0x1f54a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x310fe9(_0x1f54a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x393169=0x702db639^_0x33235c;function _0x4c3ae7(){const _0x5a4b08=_0x1f54a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4502ce(_0x1ccf07(_0x39bdf9)),_0x5d5679=_0x7f789e(_0x4502ce(window[_0x1f54a7([0x4d,0x61,0x74,0x68])][_0x1f54a7([0x63,0x65,0x69,0x6c])](_0x1b591c/_0x393169)));window[_0x1f54a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f54a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a4b08,_0x5d5679);}function _0x348753(){const _0x5cfbec=_0x1f54a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4502ce(_0x1ccf07(_0x39bdf9)),_0x19e396=window[_0x1f54a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f54a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cfbec);return _0x19e396?window[_0x1f54a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7f789e(_0x19e396),0x10)*_0x393169:null;}function _0xc43596(_0x14c058){return new window[(_0x1f54a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ed07b,_0x40a853)=>{_0x14c058[_0x1f54a7([0x74,0x68,0x65,0x6e])](_0x4ed07b,_0x40a853),window[_0x1f54a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40a853,0x701a8c79^_0x33235c);});}}_0x3a3e3d[_0x1f54a7([0x6f,0x6e])](_0x1f54a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x46b5ff,_0x3ec3af)=>{if(_0x3ec3af[0x0]!=_0x39bdf9)return _0x310fe9(_0x1f54a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ec3af[0x1]={..._0x3ec3af[0x1],[_0x1f54a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfcbd7b};},{[_0x1f54a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f54a7([0x68,0x69,0x67,0x68])}),_0x3a3e3d[_0x1f54a7([0x6f,0x6e])](_0x1f54a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42617a=>{_0x5ec07e(_0x42617a[_0x1f54a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x606ed9=!0x0,_0x3057cd(_0x42617a[_0x1f54a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f54a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f54a7([0x6c,0x6f,0x77])}),_0x327a52[_0x1f54a7([0x74,0x68,0x65,0x6e])](()=>{_0x606ed9||_0x310fe9(_0x1f54a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a12c0(){return _0x3a3e3d[_0x1f54a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f54a7([0x76,0x69,0x65,0x77])][_0x1f54a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f54a7([0x61,0x75,0x74,0x6f]);}function _0x21edeb(){_0x3a3e3d[_0x1f54a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f54a7([0x76,0x69,0x65,0x77])][_0x1f54a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f54a7([0x61,0x75,0x74,0x6f]);}}function _0xf5b496(_0x411390){const _0x1e0539=[new window[(_0x1f54a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e9450=>setTimeout(_0x4e9450,0x70126675^_0x33235c)),_0x327a52[_0x1f54a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f54a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1abcc0=>{let _0x2ac1f2=0x0;_0x3a3e3d[_0x1f54a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f54a7([0x6f,0x6e])](_0x1f54a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2af8fc,_0x36570a)=>{_0x36570a[0x0][_0x1f54a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ac1f2++,_0x2ac1f2==(0x701b5941^_0x33235c)&&(_0x1abcc0(),_0x2af8fc[_0x1f54a7([0x6f,0x66,0x66])]());});}))];return window[_0x1f54a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f54a7([0x72,0x61,0x63,0x65])](_0x1e0539)[_0x1f54a7([0x74,0x68,0x65,0x6e])](()=>_0x411390);}async function _0x357438(){await _0x327a52,_0x3a3e3d[_0x1f54a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f54a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27983d,_0x3a3e3d[_0x1f54a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f54a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27983d,_0x3a3e3d[_0x1f54a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f54a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d3b51(_0x5a6005){const _0x5ec810=_0x1e34e4();_0x3a3e3d[_0x5ec810]=_0x1f54a7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a6005,_0x5a6005!=_0x1f54a7([0x56,0x61,0x6c,0x69,0x64])&&_0x357438();}function _0x1e34e4(){const _0x54367f=window[_0x1f54a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f54a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f54a7([0x6e,0x6f,0x77])]())[_0x1f54a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f54a7([0x2e]),'');let _0x477583=_0x1f54a7([0x64]);for(let _0x343cc3=0x0;_0x343cc3<_0x54367f[_0x1f54a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x343cc3+=0x2){let _0x44e457=window[_0x1f54a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54367f[_0x1f54a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x343cc3,_0x343cc3+0x2));_0x44e457>=_0x1a201a[_0x1f54a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44e457-=_0x1a201a[_0x1f54a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x477583+=_0x1a201a[_0x44e457];}return _0x477583;}function _0x1682c7(){const _0x2af280=_0x6fbfda[_0x1f54a7([0x73,0x70,0x6c,0x69,0x74])](_0x1f54a7([0x2e]));if(0x3!=_0x2af280[_0x1f54a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e79fe(_0x2af280[0x1]);function _0x2e79fe(_0xf46b1c){const _0x2109f2=_0x2b2975(_0xf46b1c);return _0x2109f2&&_0x25bc05()?_0x2109f2:null;function _0x25bc05(){const _0x1ddccd=_0x2109f2[_0x1f54a7([0x6a,0x74,0x69])],_0x43977e=window[_0x1f54a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ddccd[_0x1f54a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ddccd[_0x1f54a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x214e50={..._0x2109f2,[_0x1f54a7([0x6a,0x74,0x69])]:_0x1ddccd[_0x1f54a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ddccd[_0x1f54a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x214e50[_0x1f54a7([0x76,0x63])],_0x1ccf07(_0x214e50)==_0x43977e;}}}async function _0x4586c8(){let _0xade7d6=!0x0;try{const _0x159b2d=_0x6fbfda[_0x1f54a7([0x73,0x70,0x6c,0x69,0x74])](_0x1f54a7([0x2e])),[_0x37d55e,_0x5b6f6e,_0x5b0b5b]=_0x159b2d;return _0x522ef3(_0x37d55e),await _0x21199b(_0x37d55e,_0x5b6f6e,_0x5b0b5b),_0xade7d6;}catch{return!0x1;}function _0x522ef3(_0x4d8ef5){const _0x2325c2=_0x2b2975(_0x4d8ef5);_0x2325c2&&_0x2325c2[_0x1f54a7([0x61,0x6c,0x67])]==_0x1f54a7([0x45,0x53,0x32,0x35,0x36])||(_0xade7d6=!0x1);}async function _0x21199b(_0x3c0315,_0x7d4901,_0x551299){const _0x21873c=window[_0x1f54a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f54a7([0x66,0x72,0x6f,0x6d])](_0x45df00(_0x551299),_0x18d675=>_0x18d675[_0x1f54a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8bcaf2=new window[(_0x1f54a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f54a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c0315+_0x1f54a7([0x2e])+_0x7d4901),_0x1b31db=window[_0x1f54a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f54a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b31db)return;const _0x377ebb=await _0x1b31db[_0x1f54a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f54a7([0x6a,0x77,0x6b]),_0x4e1b0a,{[_0x1f54a7([0x6e,0x61,0x6d,0x65])]:_0x1f54a7([0x45,0x43,0x44,0x53,0x41]),[_0x1f54a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f54a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f54a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b31db[_0x1f54a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f54a7([0x6e,0x61,0x6d,0x65])]:_0x1f54a7([0x45,0x43,0x44,0x53,0x41]),[_0x1f54a7([0x68,0x61,0x73,0x68])]:{[_0x1f54a7([0x6e,0x61,0x6d,0x65])]:_0x1f54a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x377ebb,_0x21873c,_0x8bcaf2)||(_0xade7d6=!0x1);}}function _0x2b2975(_0x4d5991){return _0x4d5991[_0x1f54a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f54a7([0x65,0x79]))?JSON[_0x1f54a7([0x70,0x61,0x72,0x73,0x65])](_0x45df00(_0x4d5991)):null;}function _0x45df00(_0x373f9a){return window[_0x1f54a7([0x61,0x74,0x6f,0x62])](_0x373f9a[_0x1f54a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f54a7([0x2b]))[_0x1f54a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f54a7([0x2f])));}function _0x1ccf07(_0x4e9e59){let _0x5e979b=0x1505;function _0x36755d(_0x504417){for(let _0x434478=0x0;_0x434478<_0x504417[_0x1f54a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x434478++){const _0x4a1298=_0x504417[_0x1f54a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x434478);_0x5e979b=(_0x5e979b<<0x5)+_0x5e979b+_0x4a1298,_0x5e979b&=_0x5e979b;}}function _0x1adc98(_0x19e6f4){Array[_0x1f54a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19e6f4)?_0x19e6f4[_0x1f54a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1adc98):_0x19e6f4&&typeof _0x19e6f4==_0x1f54a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f54a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19e6f4)[_0x1f54a7([0x73,0x6f,0x72,0x74])]()[_0x1f54a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x207196,_0x33716c])=>{_0x36755d(_0x207196),_0x1adc98(_0x33716c);}):_0x36755d(window[_0x1f54a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19e6f4));}return _0x1adc98(_0x4e9e59),_0x5e979b>>>0x0;}function _0x4502ce(_0x24817c){return _0x24817c[_0x1f54a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f54a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f54a7([0x30]));}function _0x7f789e(_0x41537){return _0x41537[_0x1f54a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f54a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f54a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x27983d(){}function _0x1f54a7(_0x3ae9f0){return _0x3ae9f0['map'](_0x4e2215=>String['fromCharCode'](_0x4e2215))['join']('');}_0x4d3b51(await _0x48ee84());}(this);}['_initSchema'](){const _0x57a625=this['editor']['model']['schema'];_0x57a625['isRegistered']('imageBlock')&&_0x57a625['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x57a625['isRegistered']('imageInline')&&_0x57a625['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x513366=this['editor'];_0x513366['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x513366['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x567d1b=>_0x567d1b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x39ec38=_0x513366['commands']['get']('replaceImageSource');_0x39ec38&&this['listenTo'](_0x39ec38,'cleanupImage',(_0xccfe29,[_0x45e4f8,_0x222add])=>{_0x45e4f8['removeAttribute']('uploadcareImageId',_0x222add);});}['_initConfig'](){const _0x2705f8=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2eed33=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2acd36(_0x3b63c4['document'],'uc-config',{..._0x2705f8,'pubkey':_0x2eed33,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x42b766=>{if('closeMax'==_0x42b766)return'#uc-icon-arrow-down';},_0x3b63c4['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2acd36(_0x3b63c4['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x3b63c4['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x543864=this['editor']['commands']['get']('insertImage');_0x543864&&this['listenTo'](_0x543864,'execute',()=>{const _0x1033b4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1033b4&&_0x1033b4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1033b4);});});const _0x53a316=this['editor']['commands']['get']('uploadcareImageReplace');_0x53a316&&this['listenTo'](_0x53a316,'execute',()=>{const _0x2defe2=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2defe2&&_0x2defe2['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2defe2);});});}}class u extends _0x4ad29f{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x419894){super(_0x419894),_0x419894['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x118224['defineComponents'](_0x118224);}}class ta extends _0xfd6e23{constructor(_0x3f5f14){super(_0x3f5f14);const t=_0x3f5f14['t'],_0x2e5bc8=this['bindTemplate'],_0x224622=new _0x2c1b66();_0x224622['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':[_0x224622,{'text':_0x2e5bc8['to']('imageUploadProgress',_0x37d6dd=>t('Loading\x20image...')+'\x20('+(_0x37d6dd||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0xfd6e23{constructor(_0x135381){super(_0x135381);const t=_0x135381['t'];this['set']('errorType',null);const _0x580386=new _0x5116cb(_0x135381);_0x580386['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x580386['withText']=!0x0,_0x580386['class']='ck-button-action',_0x580386['on']('execute',()=>{this['fire']('retry');}),_0x580386['bind']('isVisible')['to'](this,'errorType',_0x292706=>'NotFound'!==_0x292706);const _0x51c269=new at();_0x51c269['content']=et,_0x51c269['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x51b7c3=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':[_0x51c269,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x51b7c3['to']('errorType',_0x27438c=>t('NotFound'!==_0x27438c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x580386]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0xfd6e23{constructor(_0x25a43f,_0x323138){super(_0x25a43f);const _0x4ba9db=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x323138,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4ba9db['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1fa2a0,_0x3bc338,_0x5c9bad){super(_0x1fa2a0),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x1fa2a0),this['_errorView']=new rt(_0x1fa2a0),this['_editingView']=new tt(_0x1fa2a0,_0x5c9bad),this['_focusableView']=new _0xfd6e23(_0x1fa2a0),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3bc338),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'],_0x39e60b=>{this['_addUploadcareImageEditorListeners'](_0x39e60b);});}),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'](_0x13397b,_0x494404){const _0x304b13='uc-cloud-image-editor',_0x5550cc=_0x13397b['querySelector'](_0x304b13);if(_0x5550cc)return _0x494404(_0x5550cc);const _0x166faf=new MutationObserver(_0x1b9d9f=>{const _0xd1d5d1=_0x1b9d9f['filter'](_0x1a6c54=>_0x1a6c54['target']===_0x13397b&&_0x1a6c54['addedNodes']['length']>0x0&&_0x1a6c54['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x304b13);_0xd1d5d1['length']&&(_0x166faf['disconnect'](),_0x494404(_0xd1d5d1[0x0]['addedNodes'][0x0]));});_0x166faf['observe'](_0x13397b,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x297f45){_0x297f45['addEventListener']('apply',_0x2198e2=>{this['fire']('apply',{'imageSrc':_0x2198e2['detail']['cdnUrl']});}),_0x297f45['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x59c1bb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x28d4e2,_0x292a0d,_0x43f367){super(),this['_editor']=_0x28d4e2,this['_dialog']=_0x292a0d,this['_imageElement']=_0x43f367,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 _0x1eeb0c=this['_imageElement'],_0x72f8b=_0x1eeb0c['getAttribute']('uploadcareImageId'),_0x585a2d=_0x1eeb0c['getAttribute']('src');if(_0x72f8b)await this['_loadImageInfo'](_0x72f8b,_0x585a2d);else{if(this['_imageCache']['has'](_0x585a2d)){const _0x55d614=this['_imageCache']['get'](_0x585a2d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x55d614['url'],this['imageDimension']=_0x55d614['dimension'],this['imageId']=_0x55d614['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x176e7a}=this['_editor'],t=_0x176e7a['t'],_0x391212=new Z(_0x176e7a,this['imageStatus'],this['_attributes']);_0x391212['bind']('status')['to'](this,'imageStatus'),_0x391212['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x391212['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x391212['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x391212,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2627e7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x391212,'position':_0x32531e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x391212['focus']();},'onHide':()=>{_0x391212['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x48d98c=>!F(_0x48d98c,_0x391212['element'])}});}['_loadImageInfo'](_0x11ebef,_0x2d3960){return C['getInfo'](_0x11ebef,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x48af4f=>{const {width:_0x20e3d5,height:_0x4c24ff}=_0x48af4f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d3960,this['imageDimension']={'width':_0x20e3d5,'height':_0x4c24ff},this['imageId']=_0x11ebef;})['catch'](_0x33c3ca=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x33c3ca['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x343f7c,_0x438ead){return this['_getImageAsFile'](_0x343f7c)['then'](_0x4ec6e5=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x438ead['signal'],'file':_0x4ec6e5,'onProgress':_0x752208=>{_0x752208&&_0x752208['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x752208['value']));}}))['then'](_0x1c26d4=>{const {width:_0x38f75b,height:_0x58ab1f}=_0x1c26d4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1c26d4['cdnUrl'],this['imageDimension']={'width':_0x38f75b,'height':_0x58ab1f},this['imageId']=_0x1c26d4['uuid'],this['imageUploadProgress']=null;const _0x73fbe8=_0x343f7c['getAttribute']('src');this['_imageCache']['set'](_0x73fbe8,{'id':_0x1c26d4['uuid'],'url':_0x1c26d4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3c65e7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3c65e7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x218369,_0x4b55aa){_0x218369['on']('apply',(_0x1bcaf5,_0x8c8a5a)=>{this['_replaceImage'](_0x4b55aa,_0x8c8a5a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x218369['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x218369['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2f45c0,_0x54e0d1,_0x368a12){const _0x50c245=this['_editor'],{width:_0x2f1cab,height:_0xa59f2}=A(_0x54e0d1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1b8864,imageSources:_0x3c892e}=E(_0x54e0d1,_0x2f1cab);_0x50c245['model']['change'](_0x3f178c=>{if('$graveyard'===_0x2f45c0['root']['rootName']){_0x50c245['execute']('insertImage',{'imageType':_0x2f45c0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2f45c0['getAttributes']()),'uploadcareImageId':_0x368a12,'src':_0x1b8864,'sources':_0x3c892e,'width':_0x2f1cab,'height':_0xa59f2}});const _0xf01976=_0x2f45c0['getChildren']();_0x2f45c0=_0x50c245['model']['document']['selection']['getSelectedElement']();for(const _0x52ea9c of _0xf01976)_0x3f178c['append'](_0x3f178c['cloneElement'](_0x52ea9c),_0x2f45c0);}else _0x3f178c['setSelection'](_0x2f45c0,'on'),_0x50c245['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2f45c0['getAttributes']()),'uploadcareImageId':_0x368a12,'src':_0x1b8864,'sources':_0x3c892e,'width':_0x2f1cab,'height':_0xa59f2},_0x2f45c0);_0x3f178c['setSelection'](_0x2f45c0,'on');});}async['_getImageAsFile'](_0x286bba){const _0x546450=_0x3b63c4['window'],_0x474e10=_0x3b63c4['document']['location']['href'],_0x278c45=new _0x546450['URL'](_0x286bba['getAttribute']('src'),_0x474e10);if('data:'===_0x278c45['protocol']){const _0xd2f73=_0x278c45['href']['split'](','),_0x3c3d44=_0xd2f73[0x0]['match'](/:(.*?);/)[0x1],_0x14188d=_0x3c3d44['split']('/')[0x1],_0x2ade98=_0x546450['atob'](_0xd2f73[_0xd2f73['length']-0x1]);let _0x4d5f86=_0x2ade98['length'];const _0x4f5722=new _0x546450['Uint8Array'](_0x4d5f86);for(;_0x4d5f86--;)_0x4f5722[_0x4d5f86]=_0x2ade98['charCodeAt'](_0x4d5f86);return new _0x546450['File']([_0x4f5722],'image.'+_0x14188d,{'type':_0x3c3d44});}const _0x3eda08=_0x278c45['href']['split']('/'),_0x35e661=_0x3eda08[_0x3eda08['length']-0x1],_0x3d23e9=_0x35e661['split']('.')[0x1];return _0x546450['fetch'](_0x278c45['href'])['then'](_0x40810f=>_0x40810f['clone']()['blob']())['then'](_0x4f3ff9=>new _0x546450['File']([_0x4f3ff9],_0x35e661,{'type':'image/'+_0x3d23e9}));}}class J extends _0x2285e4{['imageEditController'];static get['requires'](){return[_0x574305];}['_isEditable'];constructor(_0x1fe4a1){super(_0x1fe4a1),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2f8049){const _0x1f4810=V(_0x2f8049);return _0x52de07=>!(!_0x52de07||!_0x52de07['is']('element','imageBlock')&&!_0x52de07['is']('element','imageInline'))&&(!!_0x52de07['hasAttribute']('uploadcareImageId')||!!_0x52de07['hasAttribute']('src')&&_0x1f4810(_0x52de07['getAttribute']('src')));}(_0x1fe4a1['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x595dcf=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x595dcf);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3ccd64=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3ccd64&&(_0x3ccd64['is']('element','imageBlock')||_0x3ccd64['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x574305),_0x3ccd64),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2285e4{['refresh'](){const _0x15b611=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x15b611&&(_0x15b611['is']('element','imageBlock')||_0x15b611['is']('element','imageInline')));}['execute'](_0x3c606b){const _0x3acb98=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1986c7=>{_0x1986c7['setAttributes'](_0x3c606b,_0x3acb98),_0x1986c7['removeAttribute']('srcset',_0x3acb98),_0x1986c7['removeAttribute']('sizes',_0x3acb98);});}}class g extends _0x4ad29f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x92cdb3,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x59b6d2}=this;_0x59b6d2['commands']['add']('uploadcareImageEdit',new J(_0x59b6d2)),_0x59b6d2['commands']['add']('uploadcareImageReplace',new O(_0x59b6d2));}}class j extends _0x4ad29f{['_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 _0x1e8cb7=this['editor'];_0x1e8cb7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4c35cc=>{const _0x2a5710=_0x1e8cb7['commands']['get']('uploadcareImageEdit'),_0x57fe4d=new _0x5116cb(_0x4c35cc),t=_0x4c35cc['t'];return _0x57fe4d['set']({'icon':_0x2627e7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x57fe4d['bind']('isEnabled')['to'](_0x2a5710),_0x57fe4d['bind']('isOn')['to'](_0x2a5710,'isActive'),this['listenTo'](_0x57fe4d,'execute',()=>{_0x1e8cb7['execute']('uploadcareImageEdit'),_0x1e8cb7['editing']['view']['focus']();}),_0x57fe4d;}),this['_initConfig']();}['_initConfig'](){const _0x583da7=_0x2acd36(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x583da7),this['listenTo'](this['editor'],'destroy',()=>{_0x583da7['remove']();});}}class P extends _0x4ad29f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x4bda56,Command as _0x369733}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x26a710,IconGooglePhotos as _0x4afea3,IconGoogleDrive as _0x15a6dd,IconFacebook as _0x3f9f1f,IconDropbox as _0xadf2f8,IconUploadcareLink as _0x54e13c,IconUploadcareImageUpload as _0x4be118,IconError as et,IconUploadcareImageEdit as _0xe186a9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5dcc59,MenuBarMenuListItemButtonView as _0x432539,View as _0x20d412,FocusCycler as _0x4635c5,Dialog as _0x141f67,DialogViewPosition as _0x3f2300,SpinnerView as _0x542705,IconView as at,Notification as _0x75bfea}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2de1ed,DomEmitterMixin as _0x1b3ee3,global as _0x13b178,getAncestors as _0x5fd865,ObservableMixin as _0xb312d,createElement as _0x559cdd,uid as _0x5676c0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1101da}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xb6545a,info as _0x47a407}from'@uploadcare/upload-client';import*as _0x5b8b2f from'@uploadcare/file-uploader';var o=function(_0x3e436c){return _0x3e436c['Local']='local',_0x3e436c['URL']='url',_0x3e436c['Dropbox']='dropbox',_0x3e436c['GDrive']='gdrive',_0x3e436c['Facebook']='facebook',_0x3e436c['GPhotos']='gphotos',_0x3e436c['OneDrive']='onedrive',_0x3e436c;}({});function _(_0x2cb9e4,_0x53f7d1,_0x354d9b){const t=_0x2cb9e4['t'],_0xe438e2=_0x2cb9e4['t'];switch(_0x53f7d1){case o['Local']:return{'text':_0xe438e2('Insert'===_0x354d9b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xe438e2('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x354d9b?_0xe438e2('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xe438e2('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x354d9b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x354d9b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x354d9b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x354d9b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x354d9b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x53f7d1;}}class e extends _0x4bda56{['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 _0x4c961d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5cf11a;for(const _0x544ebc in _0x4c961d){const _0x4fd321=_0x544ebc,_0x55bbbb=_0x4c961d[_0x4fd321];if('uploadcareLicenseKeyValid'==_0x55bbbb||'uploadcareLicenseKeyInvalid'==_0x55bbbb||'uploadcareLicenseKeyExpired'==_0x55bbbb||'uploadcareLicenseKeyDomainLimit'==_0x55bbbb||'uploadcareLicenseKeyNotAllowed'==_0x55bbbb||'uploadcareLicenseKeyEvaluationLimit'==_0x55bbbb||'uploadcareLicenseKeyTrialLimit'==_0x55bbbb||'uploadcareLicenseKeyUsageLimit'==_0x55bbbb){delete _0x4c961d[_0x4fd321],_0x5cf11a=_0x55bbbb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5cf11a&&_0x4c961d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5cf11a&&_0x4c961d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5cf11a&&_0x4c961d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5cf11a&&_0x4c961d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5cf11a&&_0x4c961d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5cf11a&&_0x4c961d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5cf11a&&_0x4c961d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5836f7}=this,_0x2a7d0e=_0x5836f7['commands']['get']('uploadcare');if(!_0x2a7d0e)return;const _0x1ff5f3=this['_normalizeConfigSourceList'](_0x5836f7['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3b68f9,_0x4771d2)=>{const _0x191fef=this['_getIntegrationKey'](_0x4771d2['type']);return _0x3b68f9[_0x191fef]||(_0x3b68f9[_0x191fef]=[]),_0x3b68f9[_0x191fef]['push'](_0x4771d2),_0x3b68f9;},{});_0x5836f7['plugins']['has']('ImageInsertUI')&&_0x5836f7['commands']['get']('uploadcare')&&Object['entries'](_0x1ff5f3)['forEach'](([_0x26635b,_0x1b4fe3])=>{_0x5836f7['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x26635b,'observable':()=>_0x2a7d0e,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1b4fe3),'formViewCreator':()=>this['_createDropdownButtons'](_0x1b4fe3),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1b4fe3),'override':'assetManager'!==_0x26635b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x18d68e){const {locale:_0x10c5aa}=this['editor'];return _0x18d68e['map'](_0x54b25c=>{const _0x519929=_(_0x10c5aa,_0x54b25c,'Insert');switch(_0x54b25c){case o['Local']:return{'icon':_0x4be118,'type':o['Local'],..._0x519929};case o['URL']:return{'icon':_0x54e13c,'type':o['URL'],..._0x519929};case o['Dropbox']:return{'icon':_0xadf2f8,'type':o['Dropbox'],..._0x519929};case o['Facebook']:return{'icon':_0x3f9f1f,'type':o['Facebook'],..._0x519929};case o['GDrive']:return{'icon':_0x15a6dd,'type':o['GDrive'],..._0x519929};case o['GPhotos']:return{'icon':_0x4afea3,'type':o['GPhotos'],..._0x519929};case o['OneDrive']:return{'icon':_0x26a710,'type':o['OneDrive'],..._0x519929};}});}['_getIntegrationKey'](_0x4219ad){switch(_0x4219ad){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x402c07,_0x5b6f03){const _0x3a7078=this['editor'],_0xf8f8f3=new _0x402c07(_0x3a7078['locale']),_0x1d6be7=_0x3a7078['commands']['get']('uploadcare');return _0xf8f8f3['bind']('isEnabled')['to'](_0x1d6be7),_0xf8f8f3['on']('execute',()=>{_0x1d6be7['execute'](_0x5b6f03);}),_0xf8f8f3;}['_createToolbarButton'](_0x2834e1){const {locale:_0x2f4bb3}=this['editor'],_0x565358=this['editor']['plugins']['get']('ImageInsertUI'),_0x5951de=_0x2834e1[0x0],_0x5b321c=this['_createButton'](_0x5dcc59,_0x5951de['type']);return _0x5b321c['icon']=_0x5951de['icon'],_0x5b321c['bind']('label')['to'](_0x565358,'isImageSelected',_0x15642c=>_(_0x2f4bb3,_0x5951de['type'],_0x15642c?'Replace':'Insert')['text']),_0x5b321c['tooltip']=!0x0,_0x5b321c;}['_createDropdownButtons'](_0x162e78){const {locale:_0xdebcae}=this['editor'],_0x1d3973=this['editor']['plugins']['get']('ImageInsertUI');return _0x162e78['map'](_0x6c5ed1=>{const _0x1a64dd=this['_createButton'](_0x5dcc59,_0x6c5ed1['type']);return _0x1a64dd['withText']=!0x0,_0x1a64dd['icon']=_0x6c5ed1['icon'],_0x1a64dd['bind']('label')['to'](_0x1d3973,'isImageSelected',_0x16eb06=>_(_0xdebcae,_0x6c5ed1['type'],_0x16eb06?'Replace':'Insert')['text']),_0x1a64dd;});}['_createMenuBarButtons'](_0x5919b7){return _0x5919b7['map'](_0x19346e=>{const _0x44f04b=this['_createButton'](_0x432539,_0x19346e['type']);return _0x44f04b['icon']=_0x19346e['icon'],_0x44f04b['label']=_0x19346e['shortText'],_0x44f04b;});}}class q extends _0x20d412{['focusTracker'];['focusCycler'];constructor(_0xab1350){super(_0xab1350),this['focusTracker']=new _0x2de1ed(),this['focusCycler']=new _0x4635c5({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x2f2352){super(_0x2f2352),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x38b28b,_0x13494a){const _0x508c2c=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4e90ab=>_0x4e90ab<=_0x13494a)['map'](_0x69fd=>_0x38b28b['replace'](/\/$/,'')+'/-/resize/'+_0x69fd+'x/\x20'+_0x69fd+'w');return{'imageFallbackUrl':_0x38b28b,'imageSources':[{'srcset':_0x508c2c['join'](',\x20'),'sizes':'(max-width:\x20'+_0x13494a+'px)\x20100vw,\x20'+_0x13494a+'px','type':'image/webp'}]};}function A(_0x3d6bf3,_0x49b8ea,_0x2d19a1){const _0x1e1d63=_0x3d6bf3['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1e1d63?parseInt(_0x1e1d63[0x1],0xa):_0x49b8ea,'height':_0x1e1d63?parseInt(_0x1e1d63[0x2],0xa):_0x2d19a1};}function m(_0x55e07f,_0x51b37f){const _0x201d9c=new(_0x1b3ee3())(),_0x23eb15=_0x55e07f['plugins']['get']('ImageUtils'),_0x5d0d39=_0x55e07f['editing']['mapper']['toViewElement'](_0x51b37f),_0x8b15aa=_0x23eb15['findViewImgElement'](_0x5d0d39),_0x527976=_0x55e07f['editing']['view']['domConverter']['viewToDom'](_0x8b15aa),_0x4f7e4a=_0x51b37f['getAttribute']('width'),_0x25a216=_0x51b37f['getAttribute']('height'),_0xd982be='image-processing';_0x55e07f['editing']['view']['change'](_0x411afa=>{_0x411afa['addClass'](_0xd982be,_0x5d0d39),_0x411afa['setStyle']('aspect-ratio',_0x4f7e4a+'/'+_0x25a216,_0x8b15aa);}),_0x201d9c['listenTo'](_0x527976,'load',()=>{_0x201d9c['stopListening'](_0x527976,'load'),_0x55e07f['editing']['view']['change'](_0x1d3893=>{_0x1d3893['removeClass'](_0xd982be,_0x5d0d39),_0x1d3893['removeStyle']('aspect-ratio',_0x8b15aa);});});}function V(_0x3efaa5){if(Array['isArray'](_0x3efaa5)){const _0x278b41=_0x3efaa5['map'](V);return _0x3c1995=>_0x278b41['some'](_0x38b929=>_0x38b929(_0x3c1995));}if('origin'==_0x3efaa5){const _0x818d41=_0x13b178['window']['location']['origin'];return _0x54c2e2=>new URL(_0x54c2e2,_0x13b178['document']['baseURI'])['origin']==_0x818d41;}return'function'==typeof _0x3efaa5?_0x3efaa5:_0x3efaa5 instanceof RegExp?_0x58444b=>!(!_0x58444b['match'](_0x3efaa5)&&!_0x58444b['replace'](/^https?:\/\//,'')['match'](_0x3efaa5)):()=>!0x1;}function F(_0x205cdc,_0x22578d){return _0x5fd865(_0x205cdc['target'])['includes'](_0x22578d);}class l extends/* #__PURE__ -- @preserve */
24
+ _0xb312d(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2fb422,_0x321023,_0x20bf17){super(),this['_editor']=_0x2fb422,this['_editing']=_0x321023,this['_dialog']=_0x2fb422['plugins']['get'](_0x141f67),this['_api']=_0x321023['ctxElement']['getAPI'](),this['_type']=_0x20bf17,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:_0x5abe87,model:_0x17a34e}=this['_editor'],_0x49833b=_0x17a34e['document']['selection']['getSelectedElement'](),_0x348882=_0x49833b&&(_0x49833b['is']('element','imageBlock')||_0x49833b['is']('element','imageInline'));this['_formView']=new S(_0x5abe87),this['_dialog']['show']({'id':'uploadCare','icon':_0x4be118,'title':_(_0x5abe87,this['_type'],_0x348882?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3f2300['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5d455a=>!F(_0x5d455a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5c1ee3}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x86172f=>{const _0x48035=_0x5c1ee3['length'];for(const _0x4f8a32 of _0x5c1ee3){const _0x1957fb=_0x4f8a32===_0x5c1ee3[_0x48035-0x1],{cdnUrl:_0x196291,fileInfo:_0x1a55fe}=_0x4f8a32;if(!_0x196291||!_0x1a55fe)continue;const {width:_0xea67b9,height:_0xe8f6b7}=_0x1a55fe['imageInfo'],_0x4501da=A(_0x196291,_0xea67b9,_0xe8f6b7),_0x3aeb11=E(_0x196291,_0x4501da['width']),_0x3b0c2b={'id':_0x1a55fe['uuid'],'type':'image','attributes':{'imageDimension':_0x4501da,..._0x3aeb11}};this['_insertAsset'](_0x3b0c2b,_0x1957fb,_0x86172f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5719e1=>{'idle'===_0x5719e1['detail']['status']&&!_0x5719e1['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x517731,_0x30698b,_0x17a745){const _0x382a8f=this['_editor']['model']['document']['selection'],_0x31b1cb=_0x382a8f['getSelectedElement'](),_0x23e38f=!(!_0x31b1cb||!_0x31b1cb['is']('element','imageInline'));_0x17a745['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x517731,_0x23e38f),_0x30698b||_0x17a745['setSelection'](_0x382a8f['getLastPosition']());}['_insertImage'](_0x4ba0a4,_0x2b2eed){const _0x131078=this['_editor'],{imageDimension:_0x1d06eb,imageFallbackUrl:_0x180a45,imageSources:_0x39aca5}=_0x4ba0a4['attributes'];_0x131078['execute']('insertImage',{'imageType':_0x2b2eed?'imageInline':null,'source':{'uploadcareImageId':_0x4ba0a4['id'],'src':_0x180a45,'sources':_0x39aca5,..._0x1d06eb}});}}class n extends _0x369733{['_editing'];['_controller']=null;static get['requires'](){return[_0x141f67,i];}constructor(_0x2f6db7){super(_0x2f6db7),this['_editing']=_0x2f6db7['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1b9d44){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x1b9d44);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x57584b,publicKey:_0x59c840,signal:_0x45d567,onProgress:_0x3e68bb}){return _0xb6545a(_0x57584b,{'publicKey':_0x59c840,'store':'auto','signal':_0x45d567,'onProgress':_0x3e68bb});}static['getInfo'](_0x396c56,_0x436bf0){return _0x47a407(_0x396c56,_0x436bf0);}}class p extends _0x4bda56{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1101da,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x45cb1d=this['editor'];if(!!!_0x45cb1d['config']['get']('uploadcare'))return;_0x45cb1d['plugins']['get'](_0x1101da)['createUploadAdapter']=_0x5e9458=>new x(_0x5e9458,_0x45cb1d),_0x45cb1d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1a433e,{imageElement:_0x30d658,data:_0x49db98})=>{_0x45cb1d['model']['change'](_0x2c5448=>{_0x2c5448['setAttribute']('uploadcareImageId',_0x49db98['uploadcareImageId'],_0x30d658);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x5ac44a,_0x1c4e0e){this['loader']=_0x5ac44a,this['editor']=_0x1c4e0e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xdb5e7e=this['editor']['config']['get']('uploadcare.pubkey'),_0x5570de=await this['loader']['file'];return C['upload']({'file':_0x5570de,'publicKey':_0xdb5e7e,'signal':this['controller']['signal'],'onProgress':_0x1e54dc=>{_0x1e54dc&&_0x1e54dc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1e54dc['value']);}})['then'](async _0x39bfca=>{const {imageFallbackUrl:_0x46d3b2,imageSources:_0x30157a}=E(_0x39bfca['cdnUrl'],_0x39bfca['imageInfo']['width']);return{'uploadcareImageId':_0x39bfca['uuid'],'default':_0x46d3b2,'sources':_0x30157a};})['catch'](()=>{const _0x21b336=t('Cannot\x20upload\x20file:')+('\x20'+_0x5570de['name']+'.');return Promise['reject'](_0x21b336);});}['abort'](){this['controller']['abort']();}}class i extends _0x4bda56{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x141f67];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x2ec936=this['editor'];_0x2ec936['commands']['add']('uploadcare',new n(_0x2ec936));}['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 _0x5c814d=_0x13b178['document']['querySelector']('input[uploadcare-file-input]');_0x5c814d&&_0x5c814d['remove']();}),async function(_0xff330a){const _0x1ceafc=_0x19327d([0x6b,0x30,0x73,0x5a,0x31,0x50,0x32,0x67,0x57,0x7a,0x48,0x39,0x4b,0x64,0x45,0x6f,0x41,0x38,0x43,0x74,0x69,0x33,0x70,0x72,0x4e,0x4d,0x6d,0x53,0x4c,0x78,0x52,0x55,0x71,0x4f,0x61,0x46,0x58,0x65,0x66,0x49,0x59,0x79,0x6c,0x42,0x44,0x75,0x63,0x4a,0x37,0x47,0x34,0x51,0x68,0x76,0x6e,0x35,0x54,0x6a,0x77,0x36,0x62,0x56]),_0x19b9eb=0x2d73c39f,_0x57fb83=0x2d74aa2f^_0x19b9eb,_0x128ac9=window[_0x19327d([0x44,0x61,0x74,0x65])][_0x19327d([0x6e,0x6f,0x77])](),_0x22f82c=_0xff330a[_0x19327d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x265f37=new window[(_0x19327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2307f4=>{_0x22f82c[_0x19327d([0x6f,0x6e,0x63,0x65])](_0x19327d([0x72,0x65,0x61,0x64,0x79]),_0x2307f4);}),_0x519ebc={[_0x19327d([0x6b,0x74,0x79])]:_0x19327d([0x45,0x43]),[_0x19327d([0x75,0x73,0x65])]:_0x19327d([0x73,0x69,0x67]),[_0x19327d([0x63,0x72,0x76])]:_0x19327d([0x50,0x2d,0x32,0x35,0x36]),[_0x19327d([0x78])]:_0x19327d([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]),[_0x19327d([0x79])]:_0x19327d([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]),[_0x19327d([0x61,0x6c,0x67])]:_0x19327d([0x45,0x53,0x32,0x35,0x36])},_0x34c9da=_0x22f82c[_0x19327d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x19327d([0x67,0x65,0x74])](_0x19327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2488b8(){let _0xc21fac,_0x186591=null,_0x3a7917=null;try{if(_0x34c9da==_0x19327d([0x47,0x50,0x4c]))return _0x19327d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc21fac=_0x507ee3(),!_0xc21fac)return _0x19327d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc21fac[_0x19327d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3a7917=_0x2c7025(_0xc21fac[_0x19327d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc21fac[_0x19327d([0x6a,0x74,0x69])])),await _0x1d22cc()?_0x152e3e()?_0x4e130c()?_0x19327d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5820bd()?(_0xc21fac[_0x19327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19327d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x186591=_0x284b52(_0x19327d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc21fac[_0x19327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19327d([0x74,0x72,0x69,0x61,0x6c])&&(_0x186591=_0x284b52(_0x19327d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4edd8()):_0x19327d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x19327d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x19327d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x19327d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e130c(){const _0x159af0=[_0x19327d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x19327d([0x74,0x72,0x69,0x61,0x6c])][_0x19327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc21fac[_0x19327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x128ac9/0x3e8:0xe10*_0x57fb83;return _0xc21fac[_0x19327d([0x65,0x78,0x70])]<_0x159af0;}function _0x152e3e(){const _0x1c6d4=_0xc21fac[_0x19327d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c6d4&&(!!_0x1c6d4[_0x19327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19327d([0x2a]))||!!_0x1c6d4[_0x19327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19327d([0x55,0x50,0x4c,0x43])));}function _0x5820bd(){const _0x475eb0=_0xc21fac[_0x19327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x475eb0||0x0==_0x475eb0[_0x19327d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x56a4dd}=new URL(window[_0x19327d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x475eb0[_0x19327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a4dd))return!0x0;const _0xc64069=_0x56a4dd[_0x19327d([0x73,0x70,0x6c,0x69,0x74])](_0x19327d([0x2e]));return _0x475eb0[_0x19327d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b255f=>_0x2b255f[_0x19327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19327d([0x2a])))[_0x19327d([0x6d,0x61,0x70])](_0x5e82ab=>_0x5e82ab[_0x19327d([0x73,0x70,0x6c,0x69,0x74])](_0x19327d([0x2e])))[_0x19327d([0x73,0x6f,0x6d,0x65])](_0xdaf54b=>_0xc64069[_0x19327d([0x65,0x76,0x65,0x72,0x79])]((_0xb27f74,_0x21ec92)=>_0xdaf54b[_0x21ec92]===_0xb27f74||_0xdaf54b[_0x21ec92]===_0x19327d([0x2a])));}function _0x4edd8(){return _0x186591&&_0x3a7917?new window[(_0x19327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4643a8,_0x546964)=>{_0x186591[_0x19327d([0x74,0x68,0x65,0x6e])](_0x4643a8,_0x546964),_0x3a7917[_0x19327d([0x74,0x68,0x65,0x6e])](_0x22ded4=>{_0x22ded4!=_0x19327d([0x56,0x61,0x6c,0x69,0x64])&&_0x4643a8(_0x22ded4);},_0x546964);}):_0x186591||_0x3a7917||_0x19327d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c7025(_0x51c4f9,_0x3ed978){return new window[(_0x19327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b0778=>{if(_0x24ce74())return _0x3b0778(_0x19327d([0x56,0x61,0x6c,0x69,0x64]));_0x15519a(),_0x22f82c[_0x19327d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x19327d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x476706=!0x1;const _0x23a484=_0x5676c0();function _0x2e6688(_0x4abdcb){return!!_0x4abdcb&&(typeof _0x4abdcb===_0x19327d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4abdcb===_0x19327d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4abdcb[_0x19327d([0x74,0x68,0x65,0x6e])]===_0x19327d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4abdcb[_0x19327d([0x63,0x61,0x74,0x63,0x68])]===_0x19327d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d938b(_0x1e373e){_0x1dec8f(_0x1e373e)[_0x19327d([0x74,0x68,0x65,0x6e])](_0x58cb68=>{if(!_0x58cb68||_0x58cb68[_0x19327d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x19327d([0x6f,0x6b]))return _0x19327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x539bc9(_0xc8ebf4(_0x23a484+_0x3ed978))!=_0x58cb68[_0x19327d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x19327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x19327d([0x56,0x61,0x6c,0x69,0x64]);})[_0x19327d([0x74,0x68,0x65,0x6e])](_0x34bd63=>(_0x51bbf4(),_0x34bd63),()=>{const _0x584184=_0x9be23e();return null==_0x584184?(_0x51bbf4(),_0x19327d([0x56,0x61,0x6c,0x69,0x64])):_0x19327d(_0x128ac9-_0x584184>(0x97f479f^_0x19b9eb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x19327d([0x74,0x68,0x65,0x6e])](_0x3b0778)[_0x19327d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b0778(_0x19327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf71c1a=0x2d452d1f^_0x19b9eb;function _0x51bbf4(){const _0x2f6a8c=_0x19327d([0x6c,0x6c,0x63,0x74,0x2d])+_0x539bc9(_0xc8ebf4(_0x51c4f9)),_0x331c6a=_0x222ae1(_0x539bc9(window[_0x19327d([0x4d,0x61,0x74,0x68])][_0x19327d([0x63,0x65,0x69,0x6c])](_0x128ac9/_0xf71c1a)));window[_0x19327d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19327d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f6a8c,_0x331c6a);}function _0x9be23e(){const _0x179ccc=_0x19327d([0x6c,0x6c,0x63,0x74,0x2d])+_0x539bc9(_0xc8ebf4(_0x51c4f9)),_0x2f7bb4=window[_0x19327d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19327d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x179ccc);return _0x2f7bb4?window[_0x19327d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x222ae1(_0x2f7bb4),0x10)*_0xf71c1a:null;}function _0x1dec8f(_0x5a780b){return new window[(_0x19327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x488387,_0x2b2ea3)=>{_0x5a780b[_0x19327d([0x74,0x68,0x65,0x6e])](_0x488387,_0x2b2ea3),window[_0x19327d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b2ea3,0x2d72175f^_0x19b9eb);});}}_0x22f82c[_0x19327d([0x6f,0x6e])](_0x19327d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb44b2c,_0x111501)=>{if(_0x111501[0x0]!=_0x51c4f9)return _0x3b0778(_0x19327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x111501[0x1]={..._0x111501[0x1],[_0x19327d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x23a484};},{[_0x19327d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19327d([0x68,0x69,0x67,0x68])}),_0x22f82c[_0x19327d([0x6f,0x6e])](_0x19327d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ea0d9=>{_0x2e6688(_0x2ea0d9[_0x19327d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x476706=!0x0,_0x1d938b(_0x2ea0d9[_0x19327d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x19327d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19327d([0x6c,0x6f,0x77])}),_0x265f37[_0x19327d([0x74,0x68,0x65,0x6e])](()=>{_0x476706||_0x3b0778(_0x19327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24ce74(){return _0x22f82c[_0x19327d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19327d([0x76,0x69,0x65,0x77])][_0x19327d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x19327d([0x61,0x75,0x74,0x6f]);}function _0x15519a(){_0x22f82c[_0x19327d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19327d([0x76,0x69,0x65,0x77])][_0x19327d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x19327d([0x61,0x75,0x74,0x6f]);}}function _0x284b52(_0x27f344){const _0xe1f372=[new window[(_0x19327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51e0ca=>setTimeout(_0x51e0ca,0x2d7afd53^_0x19b9eb)),_0x265f37[_0x19327d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x19327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aadc6=>{let _0x2ae8ee=0x0;_0x22f82c[_0x19327d([0x6d,0x6f,0x64,0x65,0x6c])][_0x19327d([0x6f,0x6e])](_0x19327d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x280e78,_0xa11a97)=>{_0xa11a97[0x0][_0x19327d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ae8ee++,_0x2ae8ee==(0x2d73c267^_0x19b9eb)&&(_0x5aadc6(),_0x280e78[_0x19327d([0x6f,0x66,0x66])]());});}))];return window[_0x19327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x19327d([0x72,0x61,0x63,0x65])](_0xe1f372)[_0x19327d([0x74,0x68,0x65,0x6e])](()=>_0x27f344);}async function _0x2ec0d2(){await _0x265f37,_0x22f82c[_0x19327d([0x6d,0x6f,0x64,0x65,0x6c])][_0x19327d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x92bfc1,_0x22f82c[_0x19327d([0x6d,0x6f,0x64,0x65,0x6c])][_0x19327d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x92bfc1,_0x22f82c[_0x19327d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x19327d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x818bbd(_0x20e50f){const _0x4da670=_0x4f9122();_0x22f82c[_0x4da670]=_0x19327d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20e50f,_0x20e50f!=_0x19327d([0x56,0x61,0x6c,0x69,0x64])&&_0x2ec0d2();}function _0x4f9122(){const _0x855c2f=window[_0x19327d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x19327d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x19327d([0x6e,0x6f,0x77])]())[_0x19327d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x19327d([0x2e]),'');let _0x1d19b6=_0x19327d([0x6b]);for(let _0x2454a5=0x0;_0x2454a5<_0x855c2f[_0x19327d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2454a5+=0x2){let _0x10d1f6=window[_0x19327d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x855c2f[_0x19327d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2454a5,_0x2454a5+0x2));_0x10d1f6>=_0x1ceafc[_0x19327d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10d1f6-=_0x1ceafc[_0x19327d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d19b6+=_0x1ceafc[_0x10d1f6];}return _0x1d19b6;}function _0x507ee3(){const _0x20488c=_0x34c9da[_0x19327d([0x73,0x70,0x6c,0x69,0x74])](_0x19327d([0x2e]));if(0x3!=_0x20488c[_0x19327d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2d98f9(_0x20488c[0x1]);function _0x2d98f9(_0x4174c5){const _0x1ef7f8=_0x1257b1(_0x4174c5);return _0x1ef7f8&&_0x388da7()?_0x1ef7f8:null;function _0x388da7(){const _0x41bdcf=_0x1ef7f8[_0x19327d([0x6a,0x74,0x69])],_0x918f3f=window[_0x19327d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41bdcf[_0x19327d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41bdcf[_0x19327d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xdd3572={..._0x1ef7f8,[_0x19327d([0x6a,0x74,0x69])]:_0x41bdcf[_0x19327d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41bdcf[_0x19327d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xdd3572[_0x19327d([0x76,0x63])],_0xc8ebf4(_0xdd3572)==_0x918f3f;}}}async function _0x1d22cc(){let _0x45a1ca=!0x0;try{const _0x2b76a5=_0x34c9da[_0x19327d([0x73,0x70,0x6c,0x69,0x74])](_0x19327d([0x2e])),[_0x39e848,_0x331c2c,_0x509d91]=_0x2b76a5;return _0x24e169(_0x39e848),await _0x3ae226(_0x39e848,_0x331c2c,_0x509d91),_0x45a1ca;}catch{return!0x1;}function _0x24e169(_0x1bdbe0){const _0x1d4118=_0x1257b1(_0x1bdbe0);_0x1d4118&&_0x1d4118[_0x19327d([0x61,0x6c,0x67])]==_0x19327d([0x45,0x53,0x32,0x35,0x36])||(_0x45a1ca=!0x1);}async function _0x3ae226(_0x1f086c,_0x555aff,_0x1bdf32){const _0x4bf632=window[_0x19327d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x19327d([0x66,0x72,0x6f,0x6d])](_0xfd88ea(_0x1bdf32),_0x33827f=>_0x33827f[_0x19327d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x375c22=new window[(_0x19327d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x19327d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f086c+_0x19327d([0x2e])+_0x555aff),_0x5bdfe3=window[_0x19327d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x19327d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bdfe3)return;const _0x17a620=await _0x5bdfe3[_0x19327d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x19327d([0x6a,0x77,0x6b]),_0x519ebc,{[_0x19327d([0x6e,0x61,0x6d,0x65])]:_0x19327d([0x45,0x43,0x44,0x53,0x41]),[_0x19327d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x19327d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x19327d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bdfe3[_0x19327d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x19327d([0x6e,0x61,0x6d,0x65])]:_0x19327d([0x45,0x43,0x44,0x53,0x41]),[_0x19327d([0x68,0x61,0x73,0x68])]:{[_0x19327d([0x6e,0x61,0x6d,0x65])]:_0x19327d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17a620,_0x4bf632,_0x375c22)||(_0x45a1ca=!0x1);}}function _0x1257b1(_0x57f3c5){return _0x57f3c5[_0x19327d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x19327d([0x65,0x79]))?JSON[_0x19327d([0x70,0x61,0x72,0x73,0x65])](_0xfd88ea(_0x57f3c5)):null;}function _0xfd88ea(_0x426909){return window[_0x19327d([0x61,0x74,0x6f,0x62])](_0x426909[_0x19327d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x19327d([0x2b]))[_0x19327d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x19327d([0x2f])));}function _0xc8ebf4(_0x23ece5){let _0x5960fd=0x1505;function _0xd0d7b8(_0x2cd0d3){for(let _0x19c64a=0x0;_0x19c64a<_0x2cd0d3[_0x19327d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19c64a++){const _0x63cf22=_0x2cd0d3[_0x19327d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19c64a);_0x5960fd=(_0x5960fd<<0x5)+_0x5960fd+_0x63cf22,_0x5960fd&=_0x5960fd;}}function _0xe399b7(_0x4015c9){Array[_0x19327d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4015c9)?_0x4015c9[_0x19327d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe399b7):_0x4015c9&&typeof _0x4015c9==_0x19327d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x19327d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4015c9)[_0x19327d([0x73,0x6f,0x72,0x74])]()[_0x19327d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5deab9,_0x3a0a0e])=>{_0xd0d7b8(_0x5deab9),_0xe399b7(_0x3a0a0e);}):_0xd0d7b8(window[_0x19327d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4015c9));}return _0xe399b7(_0x23ece5),_0x5960fd>>>0x0;}function _0x539bc9(_0x26736d){return _0x26736d[_0x19327d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x19327d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x19327d([0x30]));}function _0x222ae1(_0x13df2a){return _0x13df2a[_0x19327d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x19327d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x19327d([0x6a,0x6f,0x69,0x6e])]('');}function _0x92bfc1(){}function _0x19327d(_0x2a5260){return _0x2a5260['map'](_0x4153ff=>String['fromCharCode'](_0x4153ff))['join']('');}_0x818bbd(await _0x2488b8());}(this);}['_initSchema'](){const _0x3b89a2=this['editor']['model']['schema'];_0x3b89a2['isRegistered']('imageBlock')&&_0x3b89a2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3b89a2['isRegistered']('imageInline')&&_0x3b89a2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x24416d=this['editor'];_0x24416d['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x24416d['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x426643=>_0x426643['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x575ba3=_0x24416d['commands']['get']('replaceImageSource');_0x575ba3&&this['listenTo'](_0x575ba3,'cleanupImage',(_0x47c4cc,[_0x365bd0,_0x32a8e3])=>{_0x365bd0['removeAttribute']('uploadcareImageId',_0x32a8e3);});}['_initConfig'](){const _0x48eb58=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1502af=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x559cdd(_0x13b178['document'],'uc-config',{..._0x48eb58,'pubkey':_0x1502af,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x39e4e8=>{if('closeMax'==_0x39e4e8)return'#uc-icon-arrow-down';},_0x13b178['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x559cdd(_0x13b178['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x13b178['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5ad363=this['editor']['commands']['get']('insertImage');_0x5ad363&&this['listenTo'](_0x5ad363,'execute',()=>{const _0x90cbf7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x90cbf7&&_0x90cbf7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x90cbf7);});});const _0x320d3d=this['editor']['commands']['get']('uploadcareImageReplace');_0x320d3d&&this['listenTo'](_0x320d3d,'execute',()=>{const _0x427568=this['editor']['model']['document']['selection']['getSelectedElement']();_0x427568&&_0x427568['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x427568);});});}}class u extends _0x4bda56{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xa39db8){super(_0xa39db8),_0xa39db8['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x5b8b2f['defineComponents'](_0x5b8b2f);}}class ta extends _0x20d412{constructor(_0x50b945){super(_0x50b945);const t=_0x50b945['t'],_0x549b79=this['bindTemplate'],_0x30dab2=new _0x542705();_0x30dab2['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':[_0x30dab2,{'text':_0x549b79['to']('imageUploadProgress',_0x27260d=>t('Loading\x20image...')+'\x20('+(_0x27260d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x20d412{constructor(_0x47efd2){super(_0x47efd2);const t=_0x47efd2['t'];this['set']('errorType',null);const _0x4a9993=new _0x5dcc59(_0x47efd2);_0x4a9993['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4a9993['withText']=!0x0,_0x4a9993['class']='ck-button-action',_0x4a9993['on']('execute',()=>{this['fire']('retry');}),_0x4a9993['bind']('isVisible')['to'](this,'errorType',_0x13b565=>'NotFound'!==_0x13b565);const _0x169be6=new at();_0x169be6['content']=et,_0x169be6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3786c4=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':[_0x169be6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3786c4['to']('errorType',_0x34e14e=>t('NotFound'!==_0x34e14e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4a9993]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x20d412{constructor(_0x329139,_0x557b01){super(_0x329139);const _0x5e702f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x557b01,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5e702f['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3d2c2f,_0x394d45,_0x203b46){super(_0x3d2c2f),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x3d2c2f),this['_errorView']=new rt(_0x3d2c2f),this['_editingView']=new tt(_0x3d2c2f,_0x203b46),this['_focusableView']=new _0x20d412(_0x3d2c2f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x394d45),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'],_0x3db1fe=>{this['_addUploadcareImageEditorListeners'](_0x3db1fe);});}),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'](_0x2b4702,_0xaf101){const _0x1d18a6='uc-cloud-image-editor',_0x2ed63b=_0x2b4702['querySelector'](_0x1d18a6);if(_0x2ed63b)return _0xaf101(_0x2ed63b);const _0x518ee6=new MutationObserver(_0x5aa3ea=>{const _0x238034=_0x5aa3ea['filter'](_0xcc239c=>_0xcc239c['target']===_0x2b4702&&_0xcc239c['addedNodes']['length']>0x0&&_0xcc239c['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1d18a6);_0x238034['length']&&(_0x518ee6['disconnect'](),_0xaf101(_0x238034[0x0]['addedNodes'][0x0]));});_0x518ee6['observe'](_0x2b4702,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x7c23e9){_0x7c23e9['addEventListener']('apply',_0x108039=>{this['fire']('apply',{'imageSrc':_0x108039['detail']['cdnUrl']});}),_0x7c23e9['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0xb312d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x39eb07,_0x3eff71,_0x59815c){super(),this['_editor']=_0x39eb07,this['_dialog']=_0x3eff71,this['_imageElement']=_0x59815c,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 _0x18118c=this['_imageElement'],_0x3832e6=_0x18118c['getAttribute']('uploadcareImageId'),_0x44dbfc=_0x18118c['getAttribute']('src');if(_0x3832e6)await this['_loadImageInfo'](_0x3832e6,_0x44dbfc);else{if(this['_imageCache']['has'](_0x44dbfc)){const _0x1a0bdb=this['_imageCache']['get'](_0x44dbfc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a0bdb['url'],this['imageDimension']=_0x1a0bdb['dimension'],this['imageId']=_0x1a0bdb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2b1b18}=this['_editor'],t=_0x2b1b18['t'],_0x1a7087=new Z(_0x2b1b18,this['imageStatus'],this['_attributes']);_0x1a7087['bind']('status')['to'](this,'imageStatus'),_0x1a7087['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a7087['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a7087['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a7087,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xe186a9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a7087,'position':_0x3f2300['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a7087['focus']();},'onHide':()=>{_0x1a7087['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x421a63=>!F(_0x421a63,_0x1a7087['element'])}});}['_loadImageInfo'](_0x361b6d,_0x11cfc9){return C['getInfo'](_0x361b6d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x321eaf=>{const {width:_0x3bc86e,height:_0x31ce5a}=_0x321eaf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x11cfc9,this['imageDimension']={'width':_0x3bc86e,'height':_0x31ce5a},this['imageId']=_0x361b6d;})['catch'](_0x368d8e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x368d8e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3882c2,_0x28215d){return this['_getImageAsFile'](_0x3882c2)['then'](_0x5edb28=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x28215d['signal'],'file':_0x5edb28,'onProgress':_0x591153=>{_0x591153&&_0x591153['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x591153['value']));}}))['then'](_0x4a05b0=>{const {width:_0x1218d3,height:_0x15fcad}=_0x4a05b0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a05b0['cdnUrl'],this['imageDimension']={'width':_0x1218d3,'height':_0x15fcad},this['imageId']=_0x4a05b0['uuid'],this['imageUploadProgress']=null;const _0x56fd09=_0x3882c2['getAttribute']('src');this['_imageCache']['set'](_0x56fd09,{'id':_0x4a05b0['uuid'],'url':_0x4a05b0['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x25db4a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x25db4a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x583b90,_0x52aaec){_0x583b90['on']('apply',(_0x475ada,_0x412175)=>{this['_replaceImage'](_0x52aaec,_0x412175['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x583b90['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x583b90['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5232d9,_0x80c932,_0x329280){const _0x1df107=this['_editor'],{width:_0x16dd18,height:_0x34b747}=A(_0x80c932,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4fc6b4,imageSources:_0x24ea34}=E(_0x80c932,_0x16dd18);_0x1df107['model']['change'](_0x619434=>{if('$graveyard'===_0x5232d9['root']['rootName']){_0x1df107['execute']('insertImage',{'imageType':_0x5232d9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5232d9['getAttributes']()),'uploadcareImageId':_0x329280,'src':_0x4fc6b4,'sources':_0x24ea34,'width':_0x16dd18,'height':_0x34b747}});const _0x96122d=_0x5232d9['getChildren']();_0x5232d9=_0x1df107['model']['document']['selection']['getSelectedElement']();for(const _0x3c563f of _0x96122d)_0x619434['append'](_0x619434['cloneElement'](_0x3c563f),_0x5232d9);}else _0x619434['setSelection'](_0x5232d9,'on'),_0x1df107['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5232d9['getAttributes']()),'uploadcareImageId':_0x329280,'src':_0x4fc6b4,'sources':_0x24ea34,'width':_0x16dd18,'height':_0x34b747},_0x5232d9);_0x619434['setSelection'](_0x5232d9,'on');});}async['_getImageAsFile'](_0x50cf7c){const _0x29e55e=_0x13b178['window'],_0x5ae705=_0x13b178['document']['location']['href'],_0x5e1d35=new _0x29e55e['URL'](_0x50cf7c['getAttribute']('src'),_0x5ae705);if('data:'===_0x5e1d35['protocol']){const _0x49ea0a=_0x5e1d35['href']['split'](','),_0x55e848=_0x49ea0a[0x0]['match'](/:(.*?);/)[0x1],_0x1d5cda=_0x55e848['split']('/')[0x1],_0x3c7630=_0x29e55e['atob'](_0x49ea0a[_0x49ea0a['length']-0x1]);let _0x3e0b99=_0x3c7630['length'];const _0x2ee2fb=new _0x29e55e['Uint8Array'](_0x3e0b99);for(;_0x3e0b99--;)_0x2ee2fb[_0x3e0b99]=_0x3c7630['charCodeAt'](_0x3e0b99);return new _0x29e55e['File']([_0x2ee2fb],'image.'+_0x1d5cda,{'type':_0x55e848});}const _0x22ac51=_0x5e1d35['href']['split']('/'),_0x570b7e=_0x22ac51[_0x22ac51['length']-0x1],_0x5f034e=_0x570b7e['split']('.')[0x1];return _0x29e55e['fetch'](_0x5e1d35['href'])['then'](_0x28d07c=>_0x28d07c['clone']()['blob']())['then'](_0x38fffa=>new _0x29e55e['File']([_0x38fffa],_0x570b7e,{'type':'image/'+_0x5f034e}));}}class J extends _0x369733{['imageEditController'];static get['requires'](){return[_0x141f67];}['_isEditable'];constructor(_0x43d68d){super(_0x43d68d),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xaf0ae8){const _0x34bd66=V(_0xaf0ae8);return _0x26e983=>!(!_0x26e983||!_0x26e983['is']('element','imageBlock')&&!_0x26e983['is']('element','imageInline'))&&(!!_0x26e983['hasAttribute']('uploadcareImageId')||!!_0x26e983['hasAttribute']('src')&&_0x34bd66(_0x26e983['getAttribute']('src')));}(_0x43d68d['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1c2e00=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1c2e00);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5c1ccf=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5c1ccf&&(_0x5c1ccf['is']('element','imageBlock')||_0x5c1ccf['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x141f67),_0x5c1ccf),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x369733{['refresh'](){const _0x225fcb=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x225fcb&&(_0x225fcb['is']('element','imageBlock')||_0x225fcb['is']('element','imageInline')));}['execute'](_0x3ae582){const _0x38cb0d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x240a0b=>{_0x240a0b['setAttributes'](_0x3ae582,_0x38cb0d),_0x240a0b['removeAttribute']('srcset',_0x38cb0d),_0x240a0b['removeAttribute']('sizes',_0x38cb0d);});}}class g extends _0x4bda56{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x75bfea,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5799c7}=this;_0x5799c7['commands']['add']('uploadcareImageEdit',new J(_0x5799c7)),_0x5799c7['commands']['add']('uploadcareImageReplace',new O(_0x5799c7));}}class j extends _0x4bda56{['_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 _0x55f12c=this['editor'];_0x55f12c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5ce0ee=>{const _0x22422f=_0x55f12c['commands']['get']('uploadcareImageEdit'),_0x4fd3c4=new _0x5dcc59(_0x5ce0ee),t=_0x5ce0ee['t'];return _0x4fd3c4['set']({'icon':_0xe186a9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4fd3c4['bind']('isEnabled')['to'](_0x22422f),_0x4fd3c4['bind']('isOn')['to'](_0x22422f,'isActive'),this['listenTo'](_0x4fd3c4,'execute',()=>{_0x55f12c['execute']('uploadcareImageEdit'),_0x55f12c['editing']['view']['focus']();}),_0x4fd3c4;}),this['_initConfig']();}['_initConfig'](){const _0x6c739a=_0x559cdd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x6c739a),this['listenTo'](this['editor'],'destroy',()=>{_0x6c739a['remove']();});}}class P extends _0x4bda56{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x6790b9=>0x1!=_0x6790b9}};
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':_0x3024e6=>0x1!=_0x3024e6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f73e6=>{const {af:{dictionary:_0x289aed,getPluralForm:_0x3e1891}}={'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':_0x4ce3a4=>0x1!=_0x4ce3a4}};_0x1f73e6['af']||={'dictionary':{},'getPluralForm':null},_0x1f73e6['af']['dictionary']=Object['assign'](_0x1f73e6['af']['dictionary'],_0x289aed),_0x1f73e6['af']['getPluralForm']=_0x3e1891;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x41b74b=>{const {af:{dictionary:_0xed635c,getPluralForm:_0x261d66}}={'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':_0x3c8403=>0x1!=_0x3c8403}};_0x41b74b['af']||={'dictionary':{},'getPluralForm':null},_0x41b74b['af']['dictionary']=Object['assign'](_0x41b74b['af']['dictionary'],_0xed635c),_0x41b74b['af']['getPluralForm']=_0x261d66;})(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':_0xed923c=>0x0==_0xed923c?0x0:0x1==_0xed923c?0x1:0x2==_0xed923c?0x2:_0xed923c%0x64>=0x3&&_0xed923c%0x64<=0xa?0x3:_0xed923c%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':_0xc53adb=>0x0==_0xc53adb?0x0:0x1==_0xc53adb?0x1:0x2==_0xc53adb?0x2:_0xc53adb%0x64>=0x3&&_0xc53adb%0x64<=0xa?0x3:_0xc53adb%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x384004=>{const {ar:{dictionary:_0x1a0d75,getPluralForm:_0x3e5ee}}={'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':_0x146ebb=>0x0==_0x146ebb?0x0:0x1==_0x146ebb?0x1:0x2==_0x146ebb?0x2:_0x146ebb%0x64>=0x3&&_0x146ebb%0x64<=0xa?0x3:_0x146ebb%0x64>=0xb?0x4:0x5}};_0x384004['ar']||={'dictionary':{},'getPluralForm':null},_0x384004['ar']['dictionary']=Object['assign'](_0x384004['ar']['dictionary'],_0x1a0d75),_0x384004['ar']['getPluralForm']=_0x3e5ee;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa36e95=>{const {ar:{dictionary:_0x524284,getPluralForm:_0x23dcff}}={'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':_0x5d085d=>0x0==_0x5d085d?0x0:0x1==_0x5d085d?0x1:0x2==_0x5d085d?0x2:_0x5d085d%0x64>=0x3&&_0x5d085d%0x64<=0xa?0x3:_0x5d085d%0x64>=0xb?0x4:0x5}};_0xa36e95['ar']||={'dictionary':{},'getPluralForm':null},_0xa36e95['ar']['dictionary']=Object['assign'](_0xa36e95['ar']['dictionary'],_0x524284),_0xa36e95['ar']['getPluralForm']=_0x23dcff;})(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':_0x3a178e=>0x1!=_0x3a178e}};
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':_0x720e7e=>0x1!=_0x720e7e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ac5ed=>{const {ast:{dictionary:_0x192a73,getPluralForm:_0x521ad2}}={'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':_0x3e95e9=>0x1!=_0x3e95e9}};_0x5ac5ed['ast']||={'dictionary':{},'getPluralForm':null},_0x5ac5ed['ast']['dictionary']=Object['assign'](_0x5ac5ed['ast']['dictionary'],_0x192a73),_0x5ac5ed['ast']['getPluralForm']=_0x521ad2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5a561f=>{const {ast:{dictionary:_0x5c4b51,getPluralForm:_0x36118c}}={'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':_0x2df785=>0x1!=_0x2df785}};_0x5a561f['ast']||={'dictionary':{},'getPluralForm':null},_0x5a561f['ast']['dictionary']=Object['assign'](_0x5a561f['ast']['dictionary'],_0x5c4b51),_0x5a561f['ast']['getPluralForm']=_0x36118c;})(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':_0x1f45a2=>0x1!=_0x1f45a2}};
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':_0x6b4be2=>0x1!=_0x6b4be2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f2383=>{const {az:{dictionary:_0xb3e926,getPluralForm:_0x1b73a2}}={'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':_0x55126a=>0x1!=_0x55126a}};_0x1f2383['az']||={'dictionary':{},'getPluralForm':null},_0x1f2383['az']['dictionary']=Object['assign'](_0x1f2383['az']['dictionary'],_0xb3e926),_0x1f2383['az']['getPluralForm']=_0x1b73a2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5672e2=>{const {az:{dictionary:_0x37ff11,getPluralForm:_0x247306}}={'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':_0x43ba1f=>0x1!=_0x43ba1f}};_0x5672e2['az']||={'dictionary':{},'getPluralForm':null},_0x5672e2['az']['dictionary']=Object['assign'](_0x5672e2['az']['dictionary'],_0x37ff11),_0x5672e2['az']['getPluralForm']=_0x247306;})(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':_0xefe876=>_0xefe876%0xa==0x1&&_0xefe876%0x64!=0xb?0x0:_0xefe876%0xa>=0x2&&_0xefe876%0xa<=0x4&&(_0xefe876%0x64<0xa||_0xefe876%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':_0x4b05c0=>_0x4b05c0%0xa==0x1&&_0x4b05c0%0x64!=0xb?0x0:_0x4b05c0%0xa>=0x2&&_0x4b05c0%0xa<=0x4&&(_0x4b05c0%0x64<0xa||_0x4b05c0%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x416d1a=>{const {be:{dictionary:_0x4eb233,getPluralForm:_0x4b448e}}={'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':_0x517f3=>_0x517f3%0xa==0x1&&_0x517f3%0x64!=0xb?0x0:_0x517f3%0xa>=0x2&&_0x517f3%0xa<=0x4&&(_0x517f3%0x64<0xa||_0x517f3%0x64>=0x14)?0x1:0x2}};_0x416d1a['be']||={'dictionary':{},'getPluralForm':null},_0x416d1a['be']['dictionary']=Object['assign'](_0x416d1a['be']['dictionary'],_0x4eb233),_0x416d1a['be']['getPluralForm']=_0x4b448e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3dfc37=>{const {be:{dictionary:_0x5d2006,getPluralForm:_0x127848}}={'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':_0x3b9ed0=>_0x3b9ed0%0xa==0x1&&_0x3b9ed0%0x64!=0xb?0x0:_0x3b9ed0%0xa>=0x2&&_0x3b9ed0%0xa<=0x4&&(_0x3b9ed0%0x64<0xa||_0x3b9ed0%0x64>=0x14)?0x1:0x2}};_0x3dfc37['be']||={'dictionary':{},'getPluralForm':null},_0x3dfc37['be']['dictionary']=Object['assign'](_0x3dfc37['be']['dictionary'],_0x5d2006),_0x3dfc37['be']['getPluralForm']=_0x127848;})(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':_0x14553f=>0x1!=_0x14553f}};
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':_0x519f6d=>0x1!=_0x519f6d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x331db7=>{const {bg:{dictionary:_0x58bbc4,getPluralForm:_0x52ed05}}={'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':_0x288150=>0x1!=_0x288150}};_0x331db7['bg']||={'dictionary':{},'getPluralForm':null},_0x331db7['bg']['dictionary']=Object['assign'](_0x331db7['bg']['dictionary'],_0x58bbc4),_0x331db7['bg']['getPluralForm']=_0x52ed05;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4a6b04=>{const {bg:{dictionary:_0xdc26c3,getPluralForm:_0x3433de}}={'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':_0x624a49=>0x1!=_0x624a49}};_0x4a6b04['bg']||={'dictionary':{},'getPluralForm':null},_0x4a6b04['bg']['dictionary']=Object['assign'](_0x4a6b04['bg']['dictionary'],_0xdc26c3),_0x4a6b04['bg']['getPluralForm']=_0x3433de;})(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':_0x48cc1b=>0x1!=_0x48cc1b}};
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':_0x3c0ac4=>0x1!=_0x3c0ac4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x101b10=>{const {bn:{dictionary:_0x41fb1c,getPluralForm:_0x1d6996}}={'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':_0x22c85f=>0x1!=_0x22c85f}};_0x101b10['bn']||={'dictionary':{},'getPluralForm':null},_0x101b10['bn']['dictionary']=Object['assign'](_0x101b10['bn']['dictionary'],_0x41fb1c),_0x101b10['bn']['getPluralForm']=_0x1d6996;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e71fa=>{const {bn:{dictionary:_0x6355dc,getPluralForm:_0x4b4588}}={'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':_0x356c28=>0x1!=_0x356c28}};_0x5e71fa['bn']||={'dictionary':{},'getPluralForm':null},_0x5e71fa['bn']['dictionary']=Object['assign'](_0x5e71fa['bn']['dictionary'],_0x6355dc),_0x5e71fa['bn']['getPluralForm']=_0x4b4588;})(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':_0x5e0ff1=>_0x5e0ff1%0xa==0x1&&_0x5e0ff1%0x64!=0xb?0x0:_0x5e0ff1%0xa>=0x2&&_0x5e0ff1%0xa<=0x4&&(_0x5e0ff1%0x64<0xa||_0x5e0ff1%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':_0x51d719=>_0x51d719%0xa==0x1&&_0x51d719%0x64!=0xb?0x0:_0x51d719%0xa>=0x2&&_0x51d719%0xa<=0x4&&(_0x51d719%0x64<0xa||_0x51d719%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x109e48=>{const {bs:{dictionary:_0x40fdda,getPluralForm:_0x226625}}={'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':_0x108418=>_0x108418%0xa==0x1&&_0x108418%0x64!=0xb?0x0:_0x108418%0xa>=0x2&&_0x108418%0xa<=0x4&&(_0x108418%0x64<0xa||_0x108418%0x64>=0x14)?0x1:0x2}};_0x109e48['bs']||={'dictionary':{},'getPluralForm':null},_0x109e48['bs']['dictionary']=Object['assign'](_0x109e48['bs']['dictionary'],_0x40fdda),_0x109e48['bs']['getPluralForm']=_0x226625;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5ea406=>{const {bs:{dictionary:_0x2e66bd,getPluralForm:_0x57d94e}}={'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':_0x18613e=>_0x18613e%0xa==0x1&&_0x18613e%0x64!=0xb?0x0:_0x18613e%0xa>=0x2&&_0x18613e%0xa<=0x4&&(_0x18613e%0x64<0xa||_0x18613e%0x64>=0x14)?0x1:0x2}};_0x5ea406['bs']||={'dictionary':{},'getPluralForm':null},_0x5ea406['bs']['dictionary']=Object['assign'](_0x5ea406['bs']['dictionary'],_0x2e66bd),_0x5ea406['bs']['getPluralForm']=_0x57d94e;})(window['CKEDITOR_TRANSLATIONS']||={});