@ckeditor/ckeditor5-uploadcare 48.0.0-alpha.3 → 48.0.0-alpha.5

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 (148) hide show
  1. package/dist/index.js +3 -3
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3f0f54,Command as _0x9fb5fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x31e8ef,IconGooglePhotos as _0x31d13b,IconGoogleDrive as _0x2a74ef,IconFacebook as _0x1e030c,IconDropbox as _0x3e6656,IconUploadcareLink as _0x21633b,IconUploadcareImageUpload as _0x35e69,IconError as _0x3b733d,IconUploadcareImageEdit as _0x587da1}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xd90ab4,MenuBarMenuListItemButtonView as _0x892d82,View as _0x49d17e,FocusCycler as _0x458733,Dialog as _0x163884,DialogViewPosition as _0x468cbb,SpinnerView as _0x3ef835,IconView as _0xbe1ad,Notification as _0x18366e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x480aa3,DomEmitterMixin as _0x43265f,global as _0x38573e,getAncestors as _0x29fa64,ObservableMixin as _0x431206,uid as _0x36e641,createElement as _0x58fa27}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ImageUploadEditing as _0x31b02c,ImageUploadProgress as _0x23c378,PictureEditing as _0x20dd41,ImageUtils as _0x2b41a6,ImageEditing as _0x5e3c38}from'@ckeditor/ckeditor5-image/dist/index.js';import{FileRepository as _0x173bf1}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5d3321,info as _0x4f7f3b}from'@uploadcare/upload-client';import*as _0x4a530a from'@uploadcare/file-uploader';var D=function(_0x71a18c){return _0x71a18c['Local']='local',_0x71a18c['URL']='url',_0x71a18c['Dropbox']='dropbox',_0x71a18c['GDrive']='gdrive',_0x71a18c['Facebook']='facebook',_0x71a18c['GPhotos']='gphotos',_0x71a18c['OneDrive']='onedrive',_0x71a18c;}({});function F(_0x2ebb4e,_0x21ea3c,_0x1f128d){const t=_0x2ebb4e['t'],_0x384b28=_0x2ebb4e['t'];switch(_0x21ea3c){case D['Local']:return{'text':_0x384b28('Insert'===_0x1f128d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x384b28('From\x20computer')};case D['URL']:return{'text':'Insert'===_0x1f128d?_0x384b28('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x384b28('Via\x20URL')};case D['Dropbox']:return{'text':t('Insert'===_0x1f128d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case D['Facebook']:return{'text':t('Insert'===_0x1f128d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case D['GDrive']:return{'text':t('Insert'===_0x1f128d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case D['GPhotos']:return{'text':t('Insert'===_0x1f128d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case D['OneDrive']:return{'text':t('Insert'===_0x1f128d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x21ea3c;}}class $ extends _0x3f0f54{['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 _0x539ea1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2cda9;for(const _0x2c07b4 in _0x539ea1){const _0x50426e=_0x2c07b4,_0x56e858=_0x539ea1[_0x50426e];if('uploadcareLicenseKeyValid'==_0x56e858||'uploadcareLicenseKeyInvalid'==_0x56e858||'uploadcareLicenseKeyExpired'==_0x56e858||'uploadcareLicenseKeyDomainLimit'==_0x56e858||'uploadcareLicenseKeyNotAllowed'==_0x56e858||'uploadcareLicenseKeyEvaluationLimit'==_0x56e858||'uploadcareLicenseKeyUsageLimit'==_0x56e858){delete _0x539ea1[_0x50426e],_0x2cda9=_0x56e858,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2cda9&&_0x539ea1['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2cda9&&_0x539ea1['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2cda9&&_0x539ea1['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2cda9&&_0x539ea1['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2cda9&&_0x539ea1['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2cda9&&_0x539ea1['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3ca95f}=this,_0x178e34=_0x3ca95f['commands']['get']('uploadcare');if(!_0x178e34)return;const _0x1e9f6a=this['_normalizeConfigSourceList'](_0x3ca95f['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x38cef3,_0x3bca36)=>{const _0x2246dc=this['_getIntegrationKey'](_0x3bca36['type']);return _0x38cef3[_0x2246dc]||(_0x38cef3[_0x2246dc]=[]),_0x38cef3[_0x2246dc]['push'](_0x3bca36),_0x38cef3;},{});_0x3ca95f['plugins']['has']('ImageInsertUI')&&_0x3ca95f['commands']['get']('uploadcare')&&Object['entries'](_0x1e9f6a)['forEach'](([_0x744f88,_0xb54ba8])=>{_0x3ca95f['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x744f88,'observable':()=>_0x178e34,'buttonViewCreator':()=>this['_createToolbarButton'](_0xb54ba8),'formViewCreator':()=>this['_createDropdownButtons'](_0xb54ba8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xb54ba8),'override':'assetManager'!==_0x744f88});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xb26d67){const {locale:_0x55f3af}=this['editor'];return _0xb26d67['map'](_0x2c739f=>{const _0x315171=F(_0x55f3af,_0x2c739f,'Insert');switch(_0x2c739f){case D['Local']:return{'icon':_0x35e69,'type':D['Local'],..._0x315171};case D['URL']:return{'icon':_0x21633b,'type':D['URL'],..._0x315171};case D['Dropbox']:return{'icon':_0x3e6656,'type':D['Dropbox'],..._0x315171};case D['Facebook']:return{'icon':_0x1e030c,'type':D['Facebook'],..._0x315171};case D['GDrive']:return{'icon':_0x2a74ef,'type':D['GDrive'],..._0x315171};case D['GPhotos']:return{'icon':_0x31d13b,'type':D['GPhotos'],..._0x315171};case D['OneDrive']:return{'icon':_0x31e8ef,'type':D['OneDrive'],..._0x315171};}});}['_getIntegrationKey'](_0xd93652){switch(_0xd93652){case D['Local']:return'upload';case D['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x16bd02,_0x895d4a){const _0x3098b4=this['editor'],_0x42625f=new _0x16bd02(_0x3098b4['locale']),_0x3993b7=_0x3098b4['commands']['get']('uploadcare');return _0x42625f['bind']('isEnabled')['to'](_0x3993b7),_0x42625f['on']('execute',()=>{_0x3993b7['execute'](_0x895d4a);}),_0x42625f;}['_createToolbarButton'](_0x3a5db1){const {locale:_0xfcd7b8}=this['editor'],_0x57e315=this['editor']['plugins']['get']('ImageInsertUI'),_0x5003cd=_0x3a5db1[0x0],_0x4b1ef2=this['_createButton'](_0xd90ab4,_0x5003cd['type']);return _0x4b1ef2['icon']=_0x5003cd['icon'],_0x4b1ef2['bind']('label')['to'](_0x57e315,'isImageSelected',_0x360d63=>F(_0xfcd7b8,_0x5003cd['type'],_0x360d63?'Replace':'Insert')['text']),_0x4b1ef2['tooltip']=!0x0,_0x4b1ef2;}['_createDropdownButtons'](_0x2cd09f){const {locale:_0x5e6aa9}=this['editor'],_0x15022c=this['editor']['plugins']['get']('ImageInsertUI');return _0x2cd09f['map'](_0x2a2f02=>{const _0x1b21dd=this['_createButton'](_0xd90ab4,_0x2a2f02['type']);return _0x1b21dd['withText']=!0x0,_0x1b21dd['icon']=_0x2a2f02['icon'],_0x1b21dd['bind']('label')['to'](_0x15022c,'isImageSelected',_0xa2046f=>F(_0x5e6aa9,_0x2a2f02['type'],_0xa2046f?'Replace':'Insert')['text']),_0x1b21dd;});}['_createMenuBarButtons'](_0x56c415){return _0x56c415['map'](_0x62e99d=>{const _0x1ac82b=this['_createButton'](_0x892d82,_0x62e99d['type']);return _0x1ac82b['icon']=_0x62e99d['icon'],_0x1ac82b['label']=_0x62e99d['shortText'],_0x1ac82b;});}}class B extends _0x49d17e{['focusTracker'];['focusCycler'];constructor(_0xf68d57){super(_0xf68d57),this['focusTracker']=new _0x480aa3(),this['focusCycler']=new _0x458733({'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 V extends B{constructor(_0xfc224d,_0x3b78f8){super(_0xfc224d),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-'+_0x3b78f8}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function j(_0x21e183,_0x117edf){const _0x326583=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x374414=>_0x374414<=_0x117edf)['map'](_0x228e6b=>_0x21e183['replace'](/\/$/,'')+'/-/resize/'+_0x228e6b+'x/\x20'+_0x228e6b+'w');return{'imageFallbackUrl':_0x21e183,'imageSources':[{'srcset':_0x326583['join'](',\x20'),'sizes':'(max-width:\x20'+_0x117edf+'px)\x20100vw,\x20'+_0x117edf+'px','type':'image/webp'}]};}function M(_0x37125f,_0x1c3c2d,_0x2c517d){const _0x3b04d7=_0x37125f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3b04d7?parseInt(_0x3b04d7[0x1],0xa):_0x1c3c2d,'height':_0x3b04d7?parseInt(_0x3b04d7[0x2],0xa):_0x2c517d};}function q(_0x1b814c,_0x1ddd9c){const _0x13c8b0=new(_0x43265f())(),_0x53f34=_0x1b814c['plugins']['get']('ImageUtils'),_0x35428b=_0x1b814c['editing']['mapper']['toViewElement'](_0x1ddd9c),_0xf7dcd7=_0x53f34['findViewImgElement'](_0x35428b),_0x3e74e7=_0x1b814c['editing']['view']['domConverter']['viewToDom'](_0xf7dcd7),_0x36d0fc=_0x1ddd9c['getAttribute']('width'),_0xe30ab1=_0x1ddd9c['getAttribute']('height'),_0x571b73='image-processing';_0x1b814c['editing']['view']['change'](_0x361def=>{_0x361def['addClass'](_0x571b73,_0x35428b),_0x361def['setStyle']('aspect-ratio',_0x36d0fc+'/'+_0xe30ab1,_0xf7dcd7);}),_0x13c8b0['listenTo'](_0x3e74e7,'load',()=>{_0x13c8b0['stopListening'](_0x3e74e7,'load'),_0x1b814c['editing']['view']['change'](_0x4e9f59=>{_0x4e9f59['removeClass'](_0x571b73,_0x35428b),_0x4e9f59['removeStyle']('aspect-ratio',_0xf7dcd7);});});}function W(_0x4b0fc4){if(Array['isArray'](_0x4b0fc4)){const _0x8eaeb7=_0x4b0fc4['map'](W);return _0x2a5018=>_0x8eaeb7['some'](_0x2ac78f=>_0x2ac78f(_0x2a5018));}if('origin'==_0x4b0fc4){const _0x30cef4=_0x38573e['window']['location']['origin'];return _0x516139=>new URL(_0x516139,_0x38573e['document']['baseURI'])['origin']==_0x30cef4;}return'function'==typeof _0x4b0fc4?_0x4b0fc4:_0x4b0fc4 instanceof RegExp?_0x403b2b=>!(!_0x403b2b['match'](_0x4b0fc4)&&!_0x403b2b['replace'](/^https?:\/\//,'')['match'](_0x4b0fc4)):()=>!0x1;}function G(_0x45f364,_0x792b6f){return _0x29fa64(_0x45f364['target'])['includes'](_0x792b6f);}class z extends/* #__PURE__ -- @preserve */
24
- _0x431206(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3969a,_0x47f5d9,_0x472960){super(),this['_editor']=_0x3969a,this['_editing']=_0x47f5d9,this['_dialog']=_0x3969a['plugins']['get'](_0x163884),this['_api']=_0x47f5d9['ctxElement']['getAPI'](),this['_type']=_0x472960,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:_0x1670ca,model:_0x3c4a8a}=this['_editor'],_0x29e0cb=_0x3c4a8a['document']['selection']['getSelectedElement'](),_0x5cf429=_0x29e0cb&&(_0x29e0cb['is']('element','imageBlock')||_0x29e0cb['is']('element','imageInline'));this['_formView']=new V(_0x1670ca,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x35e69,'title':F(_0x1670ca,this['_type'],_0x5cf429?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x468cbb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3bac3d=>!G(_0x3bac3d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x11c406}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x17123e=>{const _0x499aa4=_0x11c406['length'];for(const _0x4eba9d of _0x11c406){const _0x55d8cb=_0x4eba9d===_0x11c406[_0x499aa4-0x1],{cdnUrl:_0x3cd823,fileInfo:_0x4234fa}=_0x4eba9d;if(!_0x3cd823||!_0x4234fa)continue;const {width:_0x24a185,height:_0x3ae9ae}=_0x4234fa['imageInfo'],_0x8a8819=M(_0x3cd823,_0x24a185,_0x3ae9ae),_0x1bd05a=j(_0x3cd823,_0x8a8819['width']),_0x53be32={'id':_0x4234fa['uuid'],'type':'image','attributes':{'imageDimension':_0x8a8819,..._0x1bd05a}};this['_insertAsset'](_0x53be32,_0x55d8cb,_0x17123e);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x596765=>{'idle'===_0x596765['detail']['status']&&!_0x596765['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===D['Local']?this['_api']['setCurrentActivity'](D['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x49dfb5,_0x1a0ee6,_0x4c285d){const _0x2a5a6b=this['_editor']['model']['document']['selection'],_0x5b2c2e=_0x2a5a6b['getSelectedElement'](),_0x37c9b4=!(!_0x5b2c2e||!_0x5b2c2e['is']('element','imageInline'));_0x4c285d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x49dfb5,_0x37c9b4),_0x1a0ee6||_0x4c285d['setSelection'](_0x2a5a6b['getLastPosition']());}['_insertImage'](_0x3cf7c0,_0x914be6){const _0x1937ee=this['_editor'],{imageDimension:_0x494a6f,imageFallbackUrl:_0x43c83f,imageSources:_0x345850}=_0x3cf7c0['attributes'];_0x1937ee['execute']('insertImage',{'imageType':_0x914be6?'imageInline':null,'source':{'uploadcareImageId':_0x3cf7c0['id'],'src':_0x43c83f,'sources':_0x345850,..._0x494a6f}});}}class H extends _0x9fb5fc{['_editing'];['_controller']=null;static get['requires'](){return[_0x163884,X];}constructor(_0x4f3143){super(_0x4f3143),this['_editing']=_0x4f3143['plugins']['get'](X);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3dbf3d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new z(this['editor'],this['_editing'],_0x3dbf3d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class J{static['upload']({file:_0x1ae552,..._0x1dbcfe}){return _0x5d3321(_0x1ae552,_0x1dbcfe);}static['getInfo'](_0x2911cd,_0x56520c){return _0x4f7f3b(_0x2911cd,_0x56520c);}}class Z extends _0x3f0f54{static get['requires'](){return[_0x31b02c,_0x23c378,_0x173bf1,X];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4b04f2=this['editor'];if(!!!_0x4b04f2['config']['get']('uploadcare'))return;_0x4b04f2['plugins']['get'](_0x173bf1)['createUploadAdapter']=_0x7ebc42=>new Q(_0x7ebc42,_0x4b04f2),_0x4b04f2['plugins']['get'](_0x31b02c)['on']('uploadComplete',(_0x412b7d,{imageElement:_0xdfe5fa,data:_0x4e0a96})=>{_0x4b04f2['model']['change'](_0x5ac053=>{_0x5ac053['setAttribute']('uploadcareImageId',_0x4e0a96['uploadcareImageId'],_0xdfe5fa);});});}}class Q{['loader'];['editor'];['controller'];constructor(_0x264338,_0x5b053b){this['loader']=_0x264338,this['editor']=_0x5b053b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5846ef=await this['loader']['file'];return J['upload']({'file':_0x5846ef,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2ade51=>{_0x2ade51&&_0x2ade51['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2ade51['value']);}})['then'](async _0x5f543d=>{const {imageFallbackUrl:_0x27c736,imageSources:_0x4a8af8}=j(_0x5f543d['cdnUrl'],_0x5f543d['imageInfo']['width']);return{'uploadcareImageId':_0x5f543d['uuid'],'default':_0x27c736,'sources':_0x4a8af8};})['catch'](()=>{const _0x49cfc3=t('Cannot\x20upload\x20file:')+('\x20'+_0x5846ef['name']+'.');return Promise['reject'](_0x49cfc3);});}['abort'](){this['controller']['abort']();}}class X extends _0x3f0f54{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0x20dd41,Z,_0x163884];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x43a606){super(_0x43a606),this['ucContextId']=_0x36e641();}['init'](){const _0x4aa1db=this['editor'];_0x4aa1db['commands']['add']('uploadcare',new H(_0x4aa1db));}['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 _0x27f16a=_0x38573e['document']['querySelector']('input[uploadcare-file-input]');_0x27f16a&&_0x27f16a['remove']();}),async function(_0x4d2f82){const _0x2db227=_0x8fae51([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5d3318=0x535f8c3a,_0x3ee04e=0x5358092a^_0x5d3318,_0x3070e8=window[_0x8fae51([0x44,0x61,0x74,0x65])][_0x8fae51([0x6e,0x6f,0x77])](),_0x37abb9=_0x4d2f82[_0x8fae51([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40c6e1=new window[(_0x8fae51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c1b72=>{_0x37abb9[_0x8fae51([0x6f,0x6e,0x63,0x65])](_0x8fae51([0x72,0x65,0x61,0x64,0x79]),_0x1c1b72);}),_0x41f8e1={[_0x8fae51([0x6b,0x74,0x79])]:_0x8fae51([0x45,0x43]),[_0x8fae51([0x75,0x73,0x65])]:_0x8fae51([0x73,0x69,0x67]),[_0x8fae51([0x63,0x72,0x76])]:_0x8fae51([0x50,0x2d,0x32,0x35,0x36]),[_0x8fae51([0x78])]:_0x8fae51([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]),[_0x8fae51([0x79])]:_0x8fae51([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]),[_0x8fae51([0x61,0x6c,0x67])]:_0x8fae51([0x45,0x53,0x32,0x35,0x36])},_0x20297a=_0x37abb9[_0x8fae51([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8fae51([0x67,0x65,0x74])](_0x8fae51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39c801(){let _0x29bf18,_0x3b248c=null,_0x3f9d36=null;try{if(_0x20297a==_0x8fae51([0x47,0x50,0x4c]))return _0x8fae51([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29bf18=_0x130b83(),!_0x29bf18)return _0x8fae51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29bf18[_0x8fae51([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f9d36=_0x36a10a(_0x29bf18[_0x8fae51([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29bf18[_0x8fae51([0x6a,0x74,0x69])])),await _0x3a1ff2()?_0x2f679e()?_0x1832e2()?_0x8fae51([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x443124()?(_0x29bf18[_0x8fae51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8fae51([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b248c=_0x54d08d(_0x8fae51([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1508ac()):_0x8fae51([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8fae51([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8fae51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8fae51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1832e2(){const _0x187756=[_0x8fae51([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8fae51([0x74,0x72,0x69,0x61,0x6c])][_0x8fae51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29bf18[_0x8fae51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3070e8/0x3e8:0xe10*_0x3ee04e;return _0x29bf18[_0x8fae51([0x65,0x78,0x70])]<_0x187756;}function _0x2f679e(){const _0x403b46=_0x29bf18[_0x8fae51([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x403b46&&(!!_0x403b46[_0x8fae51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8fae51([0x2a]))||!!_0x403b46[_0x8fae51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8fae51([0x55,0x50,0x4c,0x43])));}function _0x443124(){const _0x5d32ee=_0x29bf18[_0x8fae51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d32ee||0x0==_0x5d32ee[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30db02}=new URL(window[_0x8fae51([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5d32ee[_0x8fae51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30db02))return!0x0;const _0x4bb5fd=_0x30db02[_0x8fae51([0x73,0x70,0x6c,0x69,0x74])](_0x8fae51([0x2e]));return _0x5d32ee[_0x8fae51([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ed583=>_0x3ed583[_0x8fae51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8fae51([0x2a])))[_0x8fae51([0x6d,0x61,0x70])](_0x376f5c=>_0x376f5c[_0x8fae51([0x73,0x70,0x6c,0x69,0x74])](_0x8fae51([0x2e])))[_0x8fae51([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53dcf5=>_0x53dcf5[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4bb5fd[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8fae51([0x6d,0x61,0x70])](_0x272106=>Array(_0x4bb5fd[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x272106[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8fae51([0x66,0x69,0x6c,0x6c])](_0x272106[0x0]===_0x8fae51([0x2a])?_0x8fae51([0x2a]):'')[_0x8fae51([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x272106))[_0x8fae51([0x73,0x6f,0x6d,0x65])](_0x2903a7=>_0x4bb5fd[_0x8fae51([0x65,0x76,0x65,0x72,0x79])]((_0x14f648,_0x2bc4d6)=>_0x2903a7[_0x2bc4d6]===_0x14f648||_0x2903a7[_0x2bc4d6]===_0x8fae51([0x2a])));}function _0x1508ac(){return _0x3b248c&&_0x3f9d36?new window[(_0x8fae51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c165c,_0x5aaa70)=>{_0x3b248c[_0x8fae51([0x74,0x68,0x65,0x6e])](_0x5c165c,_0x5aaa70),_0x3f9d36[_0x8fae51([0x74,0x68,0x65,0x6e])](_0x10a902=>{_0x10a902!=_0x8fae51([0x56,0x61,0x6c,0x69,0x64])&&_0x5c165c(_0x10a902);},_0x5aaa70);}):_0x3b248c||_0x3f9d36||_0x8fae51([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36a10a(_0x17ff89,_0x42c297){return new window[(_0x8fae51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3df9a8=>{if(_0x34f27a())return _0x3df9a8(_0x8fae51([0x56,0x61,0x6c,0x69,0x64]));_0x1f0e59(),_0x37abb9[_0x8fae51([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8fae51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24d3d2=!0x1;const _0x5b5711=_0x36e641();function _0x448901(_0x3c8ee7){return!!_0x3c8ee7&&(typeof _0x3c8ee7===_0x8fae51([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c8ee7===_0x8fae51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c8ee7[_0x8fae51([0x74,0x68,0x65,0x6e])]===_0x8fae51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c8ee7[_0x8fae51([0x63,0x61,0x74,0x63,0x68])]===_0x8fae51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53d65c(_0x3a58e7){_0x467f4b(_0x3a58e7)[_0x8fae51([0x74,0x68,0x65,0x6e])](_0x327293=>{if(!_0x327293||_0x327293[_0x8fae51([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8fae51([0x6f,0x6b]))return _0x8fae51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x163a08(_0x1ebb32(_0x5b5711+_0x42c297))!=_0x327293[_0x8fae51([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8fae51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8fae51([0x56,0x61,0x6c,0x69,0x64]);})[_0x8fae51([0x74,0x68,0x65,0x6e])](_0x408621=>(_0x3f436f(),_0x408621),()=>{const _0x3bdde1=_0x29d54e();return null==_0x3bdde1?(_0x3f436f(),_0x8fae51([0x56,0x61,0x6c,0x69,0x64])):_0x8fae51(_0x3070e8-_0x3bdde1>(0x7753083a^_0x5d3318)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8fae51([0x74,0x68,0x65,0x6e])](_0x3df9a8)[_0x8fae51([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3df9a8(_0x8fae51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd6b1d3=0x536962ba^_0x5d3318;function _0x3f436f(){const _0x24d648=_0x8fae51([0x6c,0x6c,0x63,0x74,0x2d])+_0x163a08(_0x1ebb32(_0x17ff89)),_0x1b88e0=_0x4fe6cb(_0x163a08(window[_0x8fae51([0x4d,0x61,0x74,0x68])][_0x8fae51([0x63,0x65,0x69,0x6c])](_0x3070e8/_0xd6b1d3)));window[_0x8fae51([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8fae51([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24d648,_0x1b88e0);}function _0x29d54e(){const _0x417a2d=_0x8fae51([0x6c,0x6c,0x63,0x74,0x2d])+_0x163a08(_0x1ebb32(_0x17ff89)),_0x28dccd=window[_0x8fae51([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8fae51([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x417a2d);return _0x28dccd?window[_0x8fae51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fe6cb(_0x28dccd),0x10)*_0xd6b1d3:null;}function _0x467f4b(_0x553a6f){return new window[(_0x8fae51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ac5bc,_0x2ee032)=>{_0x553a6f[_0x8fae51([0x74,0x68,0x65,0x6e])](_0x4ac5bc,_0x2ee032),window[_0x8fae51([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ee032,0x535e58fa^_0x5d3318);});}}_0x37abb9[_0x8fae51([0x6f,0x6e])](_0x8fae51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49586b,_0x531df5)=>{if(_0x531df5[0x0]!=_0x17ff89)return _0x3df9a8(_0x8fae51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x531df5[0x1]={..._0x531df5[0x1],[_0x8fae51([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b5711};},{[_0x8fae51([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8fae51([0x68,0x69,0x67,0x68])}),_0x37abb9[_0x8fae51([0x6f,0x6e])](_0x8fae51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f402a=>{_0x448901(_0x1f402a[_0x8fae51([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24d3d2=!0x0,_0x53d65c(_0x1f402a[_0x8fae51([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8fae51([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8fae51([0x6c,0x6f,0x77])}),_0x40c6e1[_0x8fae51([0x74,0x68,0x65,0x6e])](()=>{_0x24d3d2||_0x3df9a8(_0x8fae51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34f27a(){return _0x37abb9[_0x8fae51([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8fae51([0x76,0x69,0x65,0x77])][_0x8fae51([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8fae51([0x61,0x75,0x74,0x6f]);}function _0x1f0e59(){_0x37abb9[_0x8fae51([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8fae51([0x76,0x69,0x65,0x77])][_0x8fae51([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8fae51([0x61,0x75,0x74,0x6f]);}}function _0x54d08d(_0x560be1){const _0x4fa8f0=[new window[(_0x8fae51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x360334=>setTimeout(_0x360334,0x5356b2f6^_0x5d3318)),_0x40c6e1[_0x8fae51([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8fae51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13307b=>{let _0x274555=0x0;_0x37abb9[_0x8fae51([0x6d,0x6f,0x64,0x65,0x6c])][_0x8fae51([0x6f,0x6e])](_0x8fae51([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a0c39,_0x316b9a)=>{_0x316b9a[0x0][_0x8fae51([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x274555++,_0x274555==(0x535f89d2^_0x5d3318)&&(_0x13307b(),_0x2a0c39[_0x8fae51([0x6f,0x66,0x66])]());});}))];return window[_0x8fae51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8fae51([0x72,0x61,0x63,0x65])](_0x4fa8f0)[_0x8fae51([0x74,0x68,0x65,0x6e])](()=>_0x560be1);}async function _0x49dca9(){await _0x40c6e1,_0x37abb9[_0x8fae51([0x6d,0x6f,0x64,0x65,0x6c])][_0x8fae51([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c2787,_0x37abb9[_0x8fae51([0x6d,0x6f,0x64,0x65,0x6c])][_0x8fae51([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c2787,_0x37abb9[_0x8fae51([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8fae51([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x365641(_0x2cb7bb){const _0x1c5ed3=_0x1a5311();_0x37abb9[_0x1c5ed3]=_0x8fae51([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2cb7bb,_0x2cb7bb!=_0x8fae51([0x56,0x61,0x6c,0x69,0x64])&&_0x49dca9();}function _0x1a5311(){const _0x5a52f5=window[_0x8fae51([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8fae51([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8fae51([0x6e,0x6f,0x77])]())[_0x8fae51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8fae51([0x2e]),'');let _0x42b5f7=_0x8fae51([0x68]);for(let _0x20ea64=0x0;_0x20ea64<_0x5a52f5[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20ea64+=0x2){let _0x5ef311=window[_0x8fae51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a52f5[_0x8fae51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20ea64,_0x20ea64+0x2));_0x5ef311>=_0x2db227[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ef311-=_0x2db227[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42b5f7+=_0x2db227[_0x5ef311];}return _0x42b5f7;}function _0x130b83(){const _0x1cfcc7=_0x20297a[_0x8fae51([0x73,0x70,0x6c,0x69,0x74])](_0x8fae51([0x2e]));if(0x3!=_0x1cfcc7[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb25a86(_0x1cfcc7[0x1]);function _0xb25a86(_0x4c0441){const _0x1f8611=_0x1a4208(_0x4c0441);return _0x1f8611&&_0x44dd27()?_0x1f8611:null;function _0x44dd27(){const _0x2fd59f=_0x1f8611[_0x8fae51([0x6a,0x74,0x69])],_0x94c7b8=window[_0x8fae51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fd59f[_0x8fae51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fd59f[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x500cf5={..._0x1f8611,[_0x8fae51([0x6a,0x74,0x69])]:_0x2fd59f[_0x8fae51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2fd59f[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x500cf5[_0x8fae51([0x76,0x63])],_0x1ebb32(_0x500cf5)==_0x94c7b8;}}}async function _0x3a1ff2(){let _0x2b8900=!0x0;try{const _0x32761d=_0x20297a[_0x8fae51([0x73,0x70,0x6c,0x69,0x74])](_0x8fae51([0x2e])),[_0x18c8c5,_0x476e62,_0x47b750]=_0x32761d;return _0xe0d0db(_0x18c8c5),await _0x566b28(_0x18c8c5,_0x476e62,_0x47b750),_0x2b8900;}catch{return!0x1;}function _0xe0d0db(_0x437515){const _0x2bdbdb=_0x1a4208(_0x437515);_0x2bdbdb&&_0x2bdbdb[_0x8fae51([0x61,0x6c,0x67])]==_0x8fae51([0x45,0x53,0x32,0x35,0x36])||(_0x2b8900=!0x1);}async function _0x566b28(_0x303dac,_0x242451,_0x4edd61){const _0x5df975=window[_0x8fae51([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8fae51([0x66,0x72,0x6f,0x6d])](_0x35593c(_0x4edd61),_0x345554=>_0x345554[_0x8fae51([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23111b=new window[(_0x8fae51([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8fae51([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x303dac+_0x8fae51([0x2e])+_0x242451),_0x55c330=window[_0x8fae51([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8fae51([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55c330)return;const _0x4885f9=await _0x55c330[_0x8fae51([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8fae51([0x6a,0x77,0x6b]),_0x41f8e1,{[_0x8fae51([0x6e,0x61,0x6d,0x65])]:_0x8fae51([0x45,0x43,0x44,0x53,0x41]),[_0x8fae51([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8fae51([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8fae51([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55c330[_0x8fae51([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8fae51([0x6e,0x61,0x6d,0x65])]:_0x8fae51([0x45,0x43,0x44,0x53,0x41]),[_0x8fae51([0x68,0x61,0x73,0x68])]:{[_0x8fae51([0x6e,0x61,0x6d,0x65])]:_0x8fae51([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4885f9,_0x5df975,_0x23111b)||(_0x2b8900=!0x1);}}function _0x1a4208(_0x32bc0e){return _0x32bc0e[_0x8fae51([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8fae51([0x65,0x79]))?JSON[_0x8fae51([0x70,0x61,0x72,0x73,0x65])](_0x35593c(_0x32bc0e)):null;}function _0x35593c(_0x43aba4){return window[_0x8fae51([0x61,0x74,0x6f,0x62])](_0x43aba4[_0x8fae51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8fae51([0x2b]))[_0x8fae51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8fae51([0x2f])));}function _0x1ebb32(_0x1106df){let _0x1482dc=0x1505;function _0x51766c(_0x383c2c){for(let _0x590b68=0x0;_0x590b68<_0x383c2c[_0x8fae51([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x590b68++){const _0x3f36fd=_0x383c2c[_0x8fae51([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x590b68);_0x1482dc=(_0x1482dc<<0x5)+_0x1482dc+_0x3f36fd,_0x1482dc&=_0x1482dc;}}function _0x55c363(_0x1c7d7a){Array[_0x8fae51([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c7d7a)?_0x1c7d7a[_0x8fae51([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55c363):_0x1c7d7a&&typeof _0x1c7d7a==_0x8fae51([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8fae51([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c7d7a)[_0x8fae51([0x73,0x6f,0x72,0x74])]()[_0x8fae51([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c392d,_0x18b546])=>{_0x51766c(_0x5c392d),_0x55c363(_0x18b546);}):_0x51766c(window[_0x8fae51([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c7d7a));}return _0x55c363(_0x1106df),_0x1482dc>>>0x0;}function _0x163a08(_0x5a18db){return _0x5a18db[_0x8fae51([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8fae51([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8fae51([0x30]));}function _0x4fe6cb(_0x2a3124){return _0x2a3124[_0x8fae51([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8fae51([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8fae51([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c2787(){}function _0x8fae51(_0x24c0d5){return _0x24c0d5['map'](_0x3ce794=>String['fromCharCode'](_0x3ce794))['join']('');}_0x365641(await _0x39c801());}(this);}['_initSchema'](){const _0x6471a6=this['editor']['model']['schema'];_0x6471a6['isRegistered']('imageBlock')&&_0x6471a6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x6471a6['isRegistered']('imageInline')&&_0x6471a6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5acef6=this['editor'];_0x5acef6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5acef6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x54e330=>_0x54e330['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x12315a=_0x5acef6['commands']['get']('replaceImageSource');_0x12315a&&this['listenTo'](_0x12315a,'cleanupImage',(_0x151d4a,[_0xd7a6a2,_0x4c2daa])=>{_0xd7a6a2['removeAttribute']('uploadcareImageId',_0x4c2daa);});}['_initConfig'](){const _0x1a50c6=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2c0caa=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x58fa27(_0x38573e['document'],'uc-config',{..._0x1a50c6,'pubkey':_0x2c0caa,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x26ea90=>{if('closeMax'==_0x26ea90)return'#uc-icon-arrow-down';},_0x38573e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x58fa27(_0x38573e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x38573e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x88cf24=this['editor']['commands']['get']('insertImage');_0x88cf24&&this['listenTo'](_0x88cf24,'execute',()=>{const _0x5b8e76=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5b8e76&&_0x5b8e76['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x5b8e76);});});const _0x785c82=this['editor']['commands']['get']('uploadcareImageReplace');_0x785c82&&this['listenTo'](_0x785c82,'execute',()=>{const _0x218f3f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x218f3f&&_0x218f3f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x218f3f);});});}}class Y extends _0x3f0f54{static get['requires'](){return[X,$];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3c0122){super(_0x3c0122),_0x3c0122['config']['define']('uploadcare.uploader.sourceList',[D['Local'],D['URL']]),_0x4a530a['defineComponents'](_0x4a530a),this['_defineLocale']();}['_defineLocale'](){const _0x5e32ba=this['editor']['config']['get']('uploadcare.locale'),_0x55736c=this['editor']['locale']['contentLanguage'];_0x5e32ba&&_0x4a530a['defineLocale'](_0x55736c,_0x5e32ba);}}class tt extends _0x49d17e{constructor(_0x339707){super(_0x339707);const t=_0x339707['t'],_0x357d9d=this['bindTemplate'],_0x1eded9=new _0x3ef835();_0x1eded9['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':[_0x1eded9,{'text':_0x357d9d['to']('imageUploadProgress',_0x2400b8=>t('Loading\x20image...')+'\x20('+(_0x2400b8||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 et extends _0x49d17e{constructor(_0x5ab011){super(_0x5ab011);const t=_0x5ab011['t'];this['set']('errorType',null);const _0xe36837=new _0xd90ab4(_0x5ab011);_0xe36837['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xe36837['withText']=!0x0,_0xe36837['class']='ck-button-action',_0xe36837['on']('execute',()=>{this['fire']('retry');}),_0xe36837['bind']('isVisible')['to'](this,'errorType',_0x246f9e=>'NotFound'!==_0x246f9e);const _0x12c4ed=new _0xbe1ad();_0x12c4ed['content']=_0x3b733d,_0x12c4ed['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xee5fe0=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':[_0x12c4ed,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xee5fe0['to']('errorType',_0x27e3d1=>t('NotFound'!==_0x27e3d1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xe36837]},{'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 it extends _0x49d17e{constructor(_0x211f16,_0x5cadec){super(_0x211f16);const _0xc7c075=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5cadec,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xc7c075['to']('imageSrc')}});}}class st extends B{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4768ac,_0x2e3583,_0x5a12c9){super(_0x4768ac),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x4768ac),this['_errorView']=new et(_0x4768ac),this['_editingView']=new it(_0x4768ac,_0x5a12c9),this['_focusableView']=new _0x49d17e(_0x4768ac),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2e3583),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'],_0x331281=>{this['_addUploadcareImageEditorListeners'](_0x331281);});}),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'](_0x3f109c,_0x56c683){const _0x5cf18c='uc-cloud-image-editor',_0x82b832=_0x3f109c['querySelector'](_0x5cf18c);if(_0x82b832)return _0x56c683(_0x82b832);const _0x24459f=new MutationObserver(_0x4fcbef=>{const _0x36cc0a=_0x4fcbef['filter'](_0x456466=>_0x456466['target']===_0x3f109c&&_0x456466['addedNodes']['length']>0x0&&_0x456466['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5cf18c);_0x36cc0a['length']&&(_0x24459f['disconnect'](),_0x56c683(_0x36cc0a[0x0]['addedNodes'][0x0]));});_0x24459f['observe'](_0x3f109c,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x22fb20){_0x22fb20['addEventListener']('apply',_0x3f2518=>{this['fire']('apply',{'imageSrc':_0x3f2518['detail']['cdnUrl']});}),_0x22fb20['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class nt extends/* #__PURE__ -- @preserve */
25
- _0x431206(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4b23d8,_0x419d17,_0x24f715){super(),this['_editor']=_0x4b23d8,this['_dialog']=_0x419d17,this['_imageElement']=_0x24f715,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 _0xbdf344=this['_imageElement'],_0x4af1f8=_0xbdf344['getAttribute']('uploadcareImageId'),_0x3c8d2d=_0xbdf344['getAttribute']('src');if(_0x4af1f8)await this['_loadImageInfo'](_0x4af1f8,_0x3c8d2d);else{if(this['_imageCache']['has'](_0x3c8d2d)){const _0x3136f7=this['_imageCache']['get'](_0x3c8d2d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3136f7['url'],this['imageDimension']=_0x3136f7['dimension'],this['imageId']=_0x3136f7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5cdbe2}=this['_editor'],t=_0x5cdbe2['t'],_0x374eea=new st(_0x5cdbe2,this['imageStatus'],this['_attributes']);_0x374eea['bind']('status')['to'](this,'imageStatus'),_0x374eea['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x374eea['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x374eea['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x374eea,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x587da1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x374eea,'position':_0x468cbb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x374eea['focus']();},'onHide':()=>{_0x374eea['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3e40cd=>!G(_0x3e40cd,_0x374eea['element'])}});}['_loadImageInfo'](_0x5c46d,_0x18c606){return J['getInfo'](_0x5c46d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2ac146=>{const {width:_0x5711ba,height:_0x43bb37}=_0x2ac146['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18c606,this['imageDimension']={'width':_0x5711ba,'height':_0x43bb37},this['imageId']=_0x5c46d;})['catch'](_0xffb306=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xffb306['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2feef3,_0x348184){return this['_getImageAsFile'](_0x2feef3)['then'](_0x177eb5=>J['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x348184['signal'],'file':_0x177eb5,'onProgress':_0x18b29c=>{_0x18b29c&&_0x18b29c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x18b29c['value']));}}))['then'](_0x447be2=>{const {width:_0x281674,height:_0x328420}=_0x447be2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x447be2['cdnUrl'],this['imageDimension']={'width':_0x281674,'height':_0x328420},this['imageId']=_0x447be2['uuid'],this['imageUploadProgress']=null;const _0x571d5b=_0x2feef3['getAttribute']('src');this['_imageCache']['set'](_0x571d5b,{'id':_0x447be2['uuid'],'url':_0x447be2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3aed58=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3aed58['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x243362,_0x54eb47){_0x243362['on']('apply',(_0x10bcea,_0x59984b)=>{this['_replaceImage'](_0x54eb47,_0x59984b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x243362['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x243362['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xc7a4a2,_0x3b3848,_0x5373bd){const _0x3e1c37=this['_editor'],{width:_0x45a519,height:_0x461714}=M(_0x3b3848,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2d1b7f,imageSources:_0x39f134}=j(_0x3b3848,_0x45a519);_0x3e1c37['model']['change'](_0x1b2e13=>{if('$graveyard'===_0xc7a4a2['root']['rootName']){_0x3e1c37['execute']('insertImage',{'imageType':_0xc7a4a2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xc7a4a2['getAttributes']()),'uploadcareImageId':_0x5373bd,'src':_0x2d1b7f,'sources':_0x39f134,'width':_0x45a519,'height':_0x461714}});const _0x36fb32=_0xc7a4a2['getChildren']();_0xc7a4a2=_0x3e1c37['model']['document']['selection']['getSelectedElement']();for(const _0x3d7d7f of _0x36fb32)_0x1b2e13['append'](_0x1b2e13['cloneElement'](_0x3d7d7f),_0xc7a4a2);}else _0x1b2e13['setSelection'](_0xc7a4a2,'on'),_0x3e1c37['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xc7a4a2['getAttributes']()),'uploadcareImageId':_0x5373bd,'src':_0x2d1b7f,'sources':_0x39f134,'width':_0x45a519,'height':_0x461714},_0xc7a4a2);_0x1b2e13['setSelection'](_0xc7a4a2,'on');});}async['_getImageAsFile'](_0x5031b8){const _0x222d4a=_0x38573e['window'],_0x195019=_0x38573e['document']['location']['href'],_0x449553=new _0x222d4a['URL'](_0x5031b8['getAttribute']('src'),_0x195019);if('data:'===_0x449553['protocol']){const _0x3e9385=_0x449553['href']['split'](','),_0xdddb42=_0x3e9385[0x0]['match'](/:(.*?);/)[0x1],_0x40ab75=_0xdddb42['split']('/')[0x1],_0x4511a1=_0x222d4a['atob'](_0x3e9385[_0x3e9385['length']-0x1]);let _0x1b2fc4=_0x4511a1['length'];const _0x431c51=new _0x222d4a['Uint8Array'](_0x1b2fc4);for(;_0x1b2fc4--;)_0x431c51[_0x1b2fc4]=_0x4511a1['charCodeAt'](_0x1b2fc4);return new _0x222d4a['File']([_0x431c51],'image.'+_0x40ab75,{'type':_0xdddb42});}const _0x167923=_0x449553['href']['split']('/'),_0x19cf15=_0x167923[_0x167923['length']-0x1],_0x551afa=_0x19cf15['split']('.')[0x1];return _0x222d4a['fetch'](_0x449553['href'])['then'](_0x28d0e0=>_0x28d0e0['clone']()['blob']())['then'](_0xc0c67f=>new _0x222d4a['File']([_0xc0c67f],_0x19cf15,{'type':'image/'+_0x551afa}));}}class rt extends _0x9fb5fc{['imageEditController'];static get['requires'](){return[_0x163884];}['_isEditable'];constructor(_0x5d0f43){super(_0x5d0f43),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2f00ae){const _0x3bf2a6=W(_0x2f00ae);return _0x18d5d9=>!(!_0x18d5d9||!_0x18d5d9['is']('element','imageBlock')&&!_0x18d5d9['is']('element','imageInline'))&&(!!_0x18d5d9['hasAttribute']('uploadcareImageId')||!!_0x18d5d9['hasAttribute']('src')&&_0x3bf2a6(_0x18d5d9['getAttribute']('src')));}(_0x5d0f43['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xaf50fe=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xaf50fe);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5db995=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5db995&&(_0x5db995['is']('element','imageBlock')||_0x5db995['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x163884),_0x5db995),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class at extends _0x9fb5fc{['refresh'](){const _0x316e9c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x316e9c&&(_0x316e9c['is']('element','imageBlock')||_0x316e9c['is']('element','imageInline')));}['execute'](_0x44b135){const _0x2c2b0b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1854d6=>{_0x1854d6['setAttributes'](_0x44b135,_0x2c2b0b),_0x1854d6['removeAttribute']('srcset',_0x2c2b0b),_0x1854d6['removeAttribute']('sizes',_0x2c2b0b);});}}class ot extends _0x3f0f54{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[X,_0x18366e,_0x2b41a6,_0x5e3c38];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c00c8}=this;_0x4c00c8['commands']['add']('uploadcareImageEdit',new rt(_0x4c00c8)),_0x4c00c8['commands']['add']('uploadcareImageReplace',new at(_0x4c00c8));}}class ct extends _0x3f0f54{['_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 _0x160e97=this['editor'];_0x160e97['ui']['componentFactory']['add']('uploadcareImageEdit',_0x599484=>{const _0x19eb50=_0x160e97['commands']['get']('uploadcareImageEdit'),_0x203844=new _0xd90ab4(_0x599484),t=_0x599484['t'];return _0x203844['set']({'icon':_0x587da1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x203844['bind']('isEnabled')['to'](_0x19eb50),_0x203844['bind']('isOn')['to'](_0x19eb50,'isActive'),this['listenTo'](_0x203844,'execute',()=>{_0x160e97['execute']('uploadcareImageEdit'),_0x160e97['editing']['view']['focus']();}),_0x203844;}),this['_initConfig']();}['_initConfig'](){const _0x3dff59=_0x58fa27(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3dff59),this['listenTo'](this['editor'],'destroy',()=>{_0x3dff59['remove']();});}}class lt extends _0x3f0f54{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[ot,ct];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Y as Uploadcare,H as UploadcareCommand,X as UploadcareEditing,lt as UploadcareImageEdit,rt as UploadcareImageEditCommand,ot as UploadcareImageEditEditing,ct as UploadcareImageEditUI,$ as UploadcareUI,Z as UploadcareUploadAdapter};
23
+ import{Plugin as _0x16ae28,Command as _0x585727}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3bf8b6,IconGooglePhotos as _0x2a87fc,IconGoogleDrive as _0x4096fa,IconFacebook as _0xb5ba72,IconDropbox as _0x45f326,IconUploadcareLink as _0x4118f8,IconUploadcareImageUpload as _0x49ca52,IconError as _0x325d08,IconUploadcareImageEdit as _0x2915c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x54ba68,MenuBarMenuListItemButtonView as _0x2ac8ae,View as _0xcc56c0,FocusCycler as _0x1cf7fd,Dialog as _0x3c82e2,DialogViewPosition as _0x1a6285,SpinnerView as _0x10f46f,IconView as _0x26dddd,Notification as _0x4003d7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x562639,DomEmitterMixin as _0x5debc8,global as _0x485d39,getAncestors as _0x339450,ObservableMixin as _0x262fdd,uid as _0x484999,createElement as _0x350c77}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ImageUploadEditing as _0x440dc2,ImageUploadProgress as _0x91a180,PictureEditing as _0x3981bc,ImageUtils as _0xc2ffa1,ImageEditing as _0x3369a4}from'@ckeditor/ckeditor5-image/dist/index.js';import{FileRepository as _0x487fc0}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x10f260,info as _0x500839}from'@uploadcare/upload-client';import*as _0x1f903f from'@uploadcare/file-uploader';var D=function(_0x3284dc){return _0x3284dc['Local']='local',_0x3284dc['URL']='url',_0x3284dc['Dropbox']='dropbox',_0x3284dc['GDrive']='gdrive',_0x3284dc['Facebook']='facebook',_0x3284dc['GPhotos']='gphotos',_0x3284dc['OneDrive']='onedrive',_0x3284dc;}({});function F(_0xe7bfbd,_0x21117d,_0x436b3e){const t=_0xe7bfbd['t'],_0x5d4b81=_0xe7bfbd['t'];switch(_0x21117d){case D['Local']:return{'text':_0x5d4b81('Insert'===_0x436b3e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5d4b81('From\x20computer')};case D['URL']:return{'text':'Insert'===_0x436b3e?_0x5d4b81('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5d4b81('Via\x20URL')};case D['Dropbox']:return{'text':t('Insert'===_0x436b3e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case D['Facebook']:return{'text':t('Insert'===_0x436b3e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case D['GDrive']:return{'text':t('Insert'===_0x436b3e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case D['GPhotos']:return{'text':t('Insert'===_0x436b3e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case D['OneDrive']:return{'text':t('Insert'===_0x436b3e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x21117d;}}class $ extends _0x16ae28{['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 _0x1144a6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d9eff;for(const _0x1fd17c in _0x1144a6){const _0x3575f5=_0x1fd17c,_0x1e7f4e=_0x1144a6[_0x3575f5];if('uploadcareLicenseKeyValid'==_0x1e7f4e||'uploadcareLicenseKeyInvalid'==_0x1e7f4e||'uploadcareLicenseKeyExpired'==_0x1e7f4e||'uploadcareLicenseKeyDomainLimit'==_0x1e7f4e||'uploadcareLicenseKeyNotAllowed'==_0x1e7f4e||'uploadcareLicenseKeyEvaluationLimit'==_0x1e7f4e||'uploadcareLicenseKeyUsageLimit'==_0x1e7f4e){delete _0x1144a6[_0x3575f5],_0x1d9eff=_0x1e7f4e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1d9eff&&_0x1144a6['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1d9eff&&_0x1144a6['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1d9eff&&_0x1144a6['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1d9eff&&_0x1144a6['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1d9eff&&_0x1144a6['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1d9eff&&_0x1144a6['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4571d3}=this,_0x3788b4=_0x4571d3['commands']['get']('uploadcare');if(!_0x3788b4)return;const _0x4e8b95=this['_normalizeConfigSourceList'](_0x4571d3['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x593519,_0x3b5a65)=>{const _0x5c9aba=this['_getIntegrationKey'](_0x3b5a65['type']);return _0x593519[_0x5c9aba]||(_0x593519[_0x5c9aba]=[]),_0x593519[_0x5c9aba]['push'](_0x3b5a65),_0x593519;},{});_0x4571d3['plugins']['has']('ImageInsertUI')&&_0x4571d3['commands']['get']('uploadcare')&&Object['entries'](_0x4e8b95)['forEach'](([_0x19af31,_0x1afe6c])=>{_0x4571d3['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x19af31,'observable':()=>_0x3788b4,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1afe6c),'formViewCreator':()=>this['_createDropdownButtons'](_0x1afe6c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1afe6c),'override':'assetManager'!==_0x19af31});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x182a42){const {locale:_0x458808}=this['editor'];return _0x182a42['map'](_0x2b2a14=>{const _0x466a57=F(_0x458808,_0x2b2a14,'Insert');switch(_0x2b2a14){case D['Local']:return{'icon':_0x49ca52,'type':D['Local'],..._0x466a57};case D['URL']:return{'icon':_0x4118f8,'type':D['URL'],..._0x466a57};case D['Dropbox']:return{'icon':_0x45f326,'type':D['Dropbox'],..._0x466a57};case D['Facebook']:return{'icon':_0xb5ba72,'type':D['Facebook'],..._0x466a57};case D['GDrive']:return{'icon':_0x4096fa,'type':D['GDrive'],..._0x466a57};case D['GPhotos']:return{'icon':_0x2a87fc,'type':D['GPhotos'],..._0x466a57};case D['OneDrive']:return{'icon':_0x3bf8b6,'type':D['OneDrive'],..._0x466a57};}});}['_getIntegrationKey'](_0x4ef3bc){switch(_0x4ef3bc){case D['Local']:return'upload';case D['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x11ea43,_0x1aeb18){const _0xd9c8c0=this['editor'],_0x3e032a=new _0x11ea43(_0xd9c8c0['locale']),_0xe3395e=_0xd9c8c0['commands']['get']('uploadcare');return _0x3e032a['bind']('isEnabled')['to'](_0xe3395e),_0x3e032a['on']('execute',()=>{_0xe3395e['execute'](_0x1aeb18);}),_0x3e032a;}['_createToolbarButton'](_0x3bd11c){const {locale:_0x3925fc}=this['editor'],_0x233604=this['editor']['plugins']['get']('ImageInsertUI'),_0x1c42cc=_0x3bd11c[0x0],_0x24d59b=this['_createButton'](_0x54ba68,_0x1c42cc['type']);return _0x24d59b['icon']=_0x1c42cc['icon'],_0x24d59b['bind']('label')['to'](_0x233604,'isImageSelected',_0x1fedb6=>F(_0x3925fc,_0x1c42cc['type'],_0x1fedb6?'Replace':'Insert')['text']),_0x24d59b['tooltip']=!0x0,_0x24d59b;}['_createDropdownButtons'](_0x5d76a1){const {locale:_0x3b5e31}=this['editor'],_0x96fa3b=this['editor']['plugins']['get']('ImageInsertUI');return _0x5d76a1['map'](_0x3a4d65=>{const _0x517604=this['_createButton'](_0x54ba68,_0x3a4d65['type']);return _0x517604['withText']=!0x0,_0x517604['icon']=_0x3a4d65['icon'],_0x517604['bind']('label')['to'](_0x96fa3b,'isImageSelected',_0x57d356=>F(_0x3b5e31,_0x3a4d65['type'],_0x57d356?'Replace':'Insert')['text']),_0x517604;});}['_createMenuBarButtons'](_0x1d8ab3){return _0x1d8ab3['map'](_0xab88f8=>{const _0x39d7f0=this['_createButton'](_0x2ac8ae,_0xab88f8['type']);return _0x39d7f0['icon']=_0xab88f8['icon'],_0x39d7f0['label']=_0xab88f8['shortText'],_0x39d7f0;});}}class B extends _0xcc56c0{['focusTracker'];['focusCycler'];constructor(_0x59ccca){super(_0x59ccca),this['focusTracker']=new _0x562639(),this['focusCycler']=new _0x1cf7fd({'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 V extends B{constructor(_0x3282a7,_0x337e24){super(_0x3282a7),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-'+_0x337e24}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function j(_0x4d9d3d,_0x536200){const _0x43e09e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x190b01=>_0x190b01<=_0x536200)['map'](_0x248d04=>_0x4d9d3d['replace'](/\/$/,'')+'/-/resize/'+_0x248d04+'x/\x20'+_0x248d04+'w');return{'imageFallbackUrl':_0x4d9d3d,'imageSources':[{'srcset':_0x43e09e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x536200+'px)\x20100vw,\x20'+_0x536200+'px','type':'image/webp'}]};}function M(_0x458a8c,_0x261619,_0x3f34ca){const _0x58ec03=_0x458a8c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x58ec03?parseInt(_0x58ec03[0x1],0xa):_0x261619,'height':_0x58ec03?parseInt(_0x58ec03[0x2],0xa):_0x3f34ca};}function q(_0x45435a,_0xa458c3){const _0x58c67f=new(_0x5debc8())(),_0x146599=_0x45435a['plugins']['get']('ImageUtils'),_0x457f12=_0x45435a['editing']['mapper']['toViewElement'](_0xa458c3),_0x4efd39=_0x146599['findViewImgElement'](_0x457f12),_0x64a4b7=_0x45435a['editing']['view']['domConverter']['viewToDom'](_0x4efd39),_0x124f21=_0xa458c3['getAttribute']('width'),_0x10daee=_0xa458c3['getAttribute']('height'),_0x4f554a='image-processing';_0x45435a['editing']['view']['change'](_0x24b4a4=>{_0x24b4a4['addClass'](_0x4f554a,_0x457f12),_0x24b4a4['setStyle']('aspect-ratio',_0x124f21+'/'+_0x10daee,_0x4efd39);}),_0x58c67f['listenTo'](_0x64a4b7,'load',()=>{_0x58c67f['stopListening'](_0x64a4b7,'load'),_0x45435a['editing']['view']['change'](_0x29eec6=>{_0x29eec6['removeClass'](_0x4f554a,_0x457f12),_0x29eec6['removeStyle']('aspect-ratio',_0x4efd39);});});}function W(_0x1ea289){if(Array['isArray'](_0x1ea289)){const _0x3b0ef6=_0x1ea289['map'](W);return _0x1fcf7=>_0x3b0ef6['some'](_0x54f33f=>_0x54f33f(_0x1fcf7));}if('origin'==_0x1ea289){const _0x556fec=_0x485d39['window']['location']['origin'];return _0x1c15ef=>new URL(_0x1c15ef,_0x485d39['document']['baseURI'])['origin']==_0x556fec;}return'function'==typeof _0x1ea289?_0x1ea289:_0x1ea289 instanceof RegExp?_0x1bcd09=>!(!_0x1bcd09['match'](_0x1ea289)&&!_0x1bcd09['replace'](/^https?:\/\//,'')['match'](_0x1ea289)):()=>!0x1;}function G(_0x4604d2,_0x14c204){return _0x339450(_0x4604d2['target'])['includes'](_0x14c204);}class z extends/* #__PURE__ -- @preserve */
24
+ _0x262fdd(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x890a8a,_0x229601,_0x325ddd){super(),this['_editor']=_0x890a8a,this['_editing']=_0x229601,this['_dialog']=_0x890a8a['plugins']['get'](_0x3c82e2),this['_api']=_0x229601['ctxElement']['getAPI'](),this['_type']=_0x325ddd,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:_0x586fd9,model:_0x171e64}=this['_editor'],_0x4954e8=_0x171e64['document']['selection']['getSelectedElement'](),_0x1333fc=_0x4954e8&&(_0x4954e8['is']('element','imageBlock')||_0x4954e8['is']('element','imageInline'));this['_formView']=new V(_0x586fd9,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x49ca52,'title':F(_0x586fd9,this['_type'],_0x1333fc?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1a6285['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x418735=>!G(_0x418735,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x323e88}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x726663=>{const _0x7fd317=_0x323e88['length'];for(const _0x27fb59 of _0x323e88){const _0x37fe2c=_0x27fb59===_0x323e88[_0x7fd317-0x1],{cdnUrl:_0x5173fb,fileInfo:_0x286d1c}=_0x27fb59;if(!_0x5173fb||!_0x286d1c)continue;const {width:_0xe40a14,height:_0x5dfe9b}=_0x286d1c['imageInfo'],_0x53661d=M(_0x5173fb,_0xe40a14,_0x5dfe9b),_0x3fb413=j(_0x5173fb,_0x53661d['width']),_0x1b7100={'id':_0x286d1c['uuid'],'type':'image','attributes':{'imageDimension':_0x53661d,..._0x3fb413}};this['_insertAsset'](_0x1b7100,_0x37fe2c,_0x726663);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x7f385b=>{'idle'===_0x7f385b['detail']['status']&&!_0x7f385b['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===D['Local']?this['_api']['setCurrentActivity'](D['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1a5004,_0x5cef6b,_0x208da4){const _0x50c089=this['_editor']['model']['document']['selection'],_0x450e71=_0x50c089['getSelectedElement'](),_0x2c6289=!(!_0x450e71||!_0x450e71['is']('element','imageInline'));_0x208da4['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1a5004,_0x2c6289),_0x5cef6b||_0x208da4['setSelection'](_0x50c089['getLastPosition']());}['_insertImage'](_0x3b8789,_0x424196){const _0x281c77=this['_editor'],{imageDimension:_0x4d3a3e,imageFallbackUrl:_0x4f08cd,imageSources:_0x56add9}=_0x3b8789['attributes'];_0x281c77['execute']('insertImage',{'imageType':_0x424196?'imageInline':null,'source':{'uploadcareImageId':_0x3b8789['id'],'src':_0x4f08cd,'sources':_0x56add9,..._0x4d3a3e}});}}class H extends _0x585727{['_editing'];['_controller']=null;static get['requires'](){return[_0x3c82e2,X];}constructor(_0x5decd5){super(_0x5decd5),this['_editing']=_0x5decd5['plugins']['get'](X);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xf466d9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new z(this['editor'],this['_editing'],_0xf466d9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class J{static['upload']({file:_0x1a4533,..._0xd26018}){return _0x10f260(_0x1a4533,_0xd26018);}static['getInfo'](_0x15526b,_0x500929){return _0x500839(_0x15526b,_0x500929);}}class Z extends _0x16ae28{static get['requires'](){return[_0x440dc2,_0x91a180,_0x487fc0,X];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xadb77d=this['editor'];if(!!!_0xadb77d['config']['get']('uploadcare'))return;_0xadb77d['plugins']['get'](_0x487fc0)['createUploadAdapter']=_0x3fc06e=>new Q(_0x3fc06e,_0xadb77d),_0xadb77d['plugins']['get'](_0x440dc2)['on']('uploadComplete',(_0x996bcf,{imageElement:_0xc295a4,data:_0x5678e4})=>{_0xadb77d['model']['change'](_0x4522f9=>{_0x4522f9['setAttribute']('uploadcareImageId',_0x5678e4['uploadcareImageId'],_0xc295a4);});});}}class Q{['loader'];['editor'];['controller'];constructor(_0x50781f,_0x2ff192){this['loader']=_0x50781f,this['editor']=_0x2ff192,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x43d08b=await this['loader']['file'];return J['upload']({'file':_0x43d08b,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3d02e9=>{_0x3d02e9&&_0x3d02e9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3d02e9['value']);}})['then'](async _0x3fa4dc=>{const {imageFallbackUrl:_0x5b4fd5,imageSources:_0x45f292}=j(_0x3fa4dc['cdnUrl'],_0x3fa4dc['imageInfo']['width']);return{'uploadcareImageId':_0x3fa4dc['uuid'],'default':_0x5b4fd5,'sources':_0x45f292};})['catch'](()=>{const _0x187c79=t('Cannot\x20upload\x20file:')+('\x20'+_0x43d08b['name']+'.');return Promise['reject'](_0x187c79);});}['abort'](){this['controller']['abort']();}}class X extends _0x16ae28{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0x3981bc,Z,_0x3c82e2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x457b61){super(_0x457b61),this['ucContextId']=_0x484999();}['init'](){const _0x42d2ad=this['editor'];_0x42d2ad['commands']['add']('uploadcare',new H(_0x42d2ad));}['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 _0x153aa4=_0x485d39['document']['querySelector']('input[uploadcare-file-input]');_0x153aa4&&_0x153aa4['remove']();}),async function(_0x2c26e6){const _0x2d5a62=_0x41e68f([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x27748a=0x535f8c3a,_0x431826=0x5358097a^_0x27748a,_0x5b2b26=window[_0x41e68f([0x44,0x61,0x74,0x65])][_0x41e68f([0x6e,0x6f,0x77])](),_0x42e210=_0x2c26e6[_0x41e68f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x53fa0b=new window[(_0x41e68f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16b0c9=>{_0x42e210[_0x41e68f([0x6f,0x6e,0x63,0x65])](_0x41e68f([0x72,0x65,0x61,0x64,0x79]),_0x16b0c9);}),_0x19953e={[_0x41e68f([0x6b,0x74,0x79])]:_0x41e68f([0x45,0x43]),[_0x41e68f([0x75,0x73,0x65])]:_0x41e68f([0x73,0x69,0x67]),[_0x41e68f([0x63,0x72,0x76])]:_0x41e68f([0x50,0x2d,0x32,0x35,0x36]),[_0x41e68f([0x78])]:_0x41e68f([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]),[_0x41e68f([0x79])]:_0x41e68f([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]),[_0x41e68f([0x61,0x6c,0x67])]:_0x41e68f([0x45,0x53,0x32,0x35,0x36])},_0x18e3c8=_0x42e210[_0x41e68f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41e68f([0x67,0x65,0x74])](_0x41e68f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25d47c(){let _0x277041,_0x213ac6=null,_0x370f79=null;try{if(_0x18e3c8==_0x41e68f([0x47,0x50,0x4c]))return _0x41e68f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x277041=_0x456716(),!_0x277041)return _0x41e68f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x277041[_0x41e68f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x370f79=_0x5b5344(_0x277041[_0x41e68f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x277041[_0x41e68f([0x6a,0x74,0x69])])),await _0x200efe()?_0x5887f3()?_0x6f6d29()?_0x41e68f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x159aa0()?(_0x277041[_0x41e68f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41e68f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x213ac6=_0x155437(_0x41e68f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42f3b7()):_0x41e68f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41e68f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41e68f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x41e68f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x6f6d29(){const _0x52d72d=[_0x41e68f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41e68f([0x74,0x72,0x69,0x61,0x6c])][_0x41e68f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x277041[_0x41e68f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b2b26/0x3e8:0xe10*_0x431826;return _0x277041[_0x41e68f([0x65,0x78,0x70])]<_0x52d72d;}function _0x5887f3(){const _0x429dc3=_0x277041[_0x41e68f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x429dc3&&(!!_0x429dc3[_0x41e68f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e68f([0x2a]))||!!_0x429dc3[_0x41e68f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e68f([0x55,0x50,0x4c,0x43])));}function _0x159aa0(){const _0x157a4c=_0x277041[_0x41e68f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x157a4c||0x0==_0x157a4c[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdcad78}=new URL(window[_0x41e68f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x157a4c[_0x41e68f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdcad78))return!0x0;const _0x332023=_0xdcad78[_0x41e68f([0x73,0x70,0x6c,0x69,0x74])](_0x41e68f([0x2e]));return _0x157a4c[_0x41e68f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6381b=>_0x6381b[_0x41e68f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e68f([0x2a])))[_0x41e68f([0x6d,0x61,0x70])](_0x473865=>_0x473865[_0x41e68f([0x73,0x70,0x6c,0x69,0x74])](_0x41e68f([0x2e])))[_0x41e68f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45f6af=>_0x45f6af[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x332023[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41e68f([0x6d,0x61,0x70])](_0x58ebf5=>Array(_0x332023[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58ebf5[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41e68f([0x66,0x69,0x6c,0x6c])](_0x58ebf5[0x0]===_0x41e68f([0x2a])?_0x41e68f([0x2a]):'')[_0x41e68f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58ebf5))[_0x41e68f([0x73,0x6f,0x6d,0x65])](_0x399b0f=>_0x332023[_0x41e68f([0x65,0x76,0x65,0x72,0x79])]((_0x2459c6,_0x4adabc)=>_0x399b0f[_0x4adabc]===_0x2459c6||_0x399b0f[_0x4adabc]===_0x41e68f([0x2a])));}function _0x42f3b7(){return _0x213ac6&&_0x370f79?new window[(_0x41e68f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf0a07,_0x34cf87)=>{_0x213ac6[_0x41e68f([0x74,0x68,0x65,0x6e])](_0xf0a07,_0x34cf87),_0x370f79[_0x41e68f([0x74,0x68,0x65,0x6e])](_0x19227b=>{_0x19227b!=_0x41e68f([0x56,0x61,0x6c,0x69,0x64])&&_0xf0a07(_0x19227b);},_0x34cf87);}):_0x213ac6||_0x370f79||_0x41e68f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b5344(_0x4557e8,_0x3d1d13){return new window[(_0x41e68f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd65df4=>{if(_0x57e382())return _0xd65df4(_0x41e68f([0x56,0x61,0x6c,0x69,0x64]));_0xbf152e(),_0x42e210[_0x41e68f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41e68f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x153a81=!0x1;const _0x642dbd=_0x484999();function _0x1ecc73(_0x258192){return!!_0x258192&&(typeof _0x258192===_0x41e68f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x258192===_0x41e68f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x258192[_0x41e68f([0x74,0x68,0x65,0x6e])]===_0x41e68f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x258192[_0x41e68f([0x63,0x61,0x74,0x63,0x68])]===_0x41e68f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c5c25(_0x59e0e0){_0x423403(_0x59e0e0)[_0x41e68f([0x74,0x68,0x65,0x6e])](_0x4eb455=>{if(!_0x4eb455||_0x4eb455[_0x41e68f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41e68f([0x6f,0x6b]))return _0x41e68f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x37f503(_0x1bae25(_0x642dbd+_0x3d1d13))!=_0x4eb455[_0x41e68f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41e68f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41e68f([0x56,0x61,0x6c,0x69,0x64]);})[_0x41e68f([0x74,0x68,0x65,0x6e])](_0x1545f0=>(_0x294d92(),_0x1545f0),()=>{const _0x44e432=_0x1be4bf();return null==_0x44e432?(_0x294d92(),_0x41e68f([0x56,0x61,0x6c,0x69,0x64])):_0x41e68f(_0x5b2b26-_0x44e432>(0x7753083a^_0x27748a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41e68f([0x74,0x68,0x65,0x6e])](_0xd65df4)[_0x41e68f([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd65df4(_0x41e68f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4952ac=0x536962ba^_0x27748a;function _0x294d92(){const _0x4f8040=_0x41e68f([0x6c,0x6c,0x63,0x74,0x2d])+_0x37f503(_0x1bae25(_0x4557e8)),_0x461c5d=_0x3a5b8b(_0x37f503(window[_0x41e68f([0x4d,0x61,0x74,0x68])][_0x41e68f([0x63,0x65,0x69,0x6c])](_0x5b2b26/_0x4952ac)));window[_0x41e68f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41e68f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f8040,_0x461c5d);}function _0x1be4bf(){const _0xec8940=_0x41e68f([0x6c,0x6c,0x63,0x74,0x2d])+_0x37f503(_0x1bae25(_0x4557e8)),_0xcb601=window[_0x41e68f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41e68f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xec8940);return _0xcb601?window[_0x41e68f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a5b8b(_0xcb601),0x10)*_0x4952ac:null;}function _0x423403(_0x3f3083){return new window[(_0x41e68f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10e2cb,_0x21237f)=>{_0x3f3083[_0x41e68f([0x74,0x68,0x65,0x6e])](_0x10e2cb,_0x21237f),window[_0x41e68f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21237f,0x535e58fa^_0x27748a);});}}_0x42e210[_0x41e68f([0x6f,0x6e])](_0x41e68f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5dd3b0,_0x16957a)=>{if(_0x16957a[0x0]!=_0x4557e8)return _0xd65df4(_0x41e68f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x16957a[0x1]={..._0x16957a[0x1],[_0x41e68f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x642dbd};},{[_0x41e68f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41e68f([0x68,0x69,0x67,0x68])}),_0x42e210[_0x41e68f([0x6f,0x6e])](_0x41e68f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x545330=>{_0x1ecc73(_0x545330[_0x41e68f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x153a81=!0x0,_0x2c5c25(_0x545330[_0x41e68f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41e68f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41e68f([0x6c,0x6f,0x77])}),_0x53fa0b[_0x41e68f([0x74,0x68,0x65,0x6e])](()=>{_0x153a81||_0xd65df4(_0x41e68f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57e382(){return _0x42e210[_0x41e68f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41e68f([0x76,0x69,0x65,0x77])][_0x41e68f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41e68f([0x61,0x75,0x74,0x6f]);}function _0xbf152e(){_0x42e210[_0x41e68f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41e68f([0x76,0x69,0x65,0x77])][_0x41e68f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41e68f([0x61,0x75,0x74,0x6f]);}}function _0x155437(_0x138ecd){const _0x2ae5a6=[new window[(_0x41e68f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33f3ab=>setTimeout(_0x33f3ab,0x5356b2f6^_0x27748a)),_0x53fa0b[_0x41e68f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41e68f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107b49=>{let _0x2cb0e0=0x0;_0x42e210[_0x41e68f([0x6d,0x6f,0x64,0x65,0x6c])][_0x41e68f([0x6f,0x6e])](_0x41e68f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58fa7c,_0x1160c5)=>{_0x1160c5[0x0][_0x41e68f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2cb0e0++,_0x2cb0e0==(0x535f89d2^_0x27748a)&&(_0x107b49(),_0x58fa7c[_0x41e68f([0x6f,0x66,0x66])]());});}))];return window[_0x41e68f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41e68f([0x72,0x61,0x63,0x65])](_0x2ae5a6)[_0x41e68f([0x74,0x68,0x65,0x6e])](()=>_0x138ecd);}async function _0x312c3d(){await _0x53fa0b,_0x42e210[_0x41e68f([0x6d,0x6f,0x64,0x65,0x6c])][_0x41e68f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x201019,_0x42e210[_0x41e68f([0x6d,0x6f,0x64,0x65,0x6c])][_0x41e68f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x201019,_0x42e210[_0x41e68f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41e68f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x332bc9(_0x578066){const _0x482b2a=_0x7261b3();_0x42e210[_0x482b2a]=_0x41e68f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x578066,_0x578066!=_0x41e68f([0x56,0x61,0x6c,0x69,0x64])&&_0x312c3d();}function _0x7261b3(){const _0x54603f=window[_0x41e68f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41e68f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41e68f([0x6e,0x6f,0x77])]())[_0x41e68f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41e68f([0x2e]),'');let _0x2e8a85=_0x41e68f([0x68]);for(let _0x1f3d67=0x0;_0x1f3d67<_0x54603f[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f3d67+=0x2){let _0x4805d6=window[_0x41e68f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54603f[_0x41e68f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f3d67,_0x1f3d67+0x2));_0x4805d6>=_0x2d5a62[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4805d6-=_0x2d5a62[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e8a85+=_0x2d5a62[_0x4805d6];}return _0x2e8a85;}function _0x456716(){const _0x1f10a7=_0x18e3c8[_0x41e68f([0x73,0x70,0x6c,0x69,0x74])](_0x41e68f([0x2e]));if(0x3!=_0x1f10a7[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ca4bd(_0x1f10a7[0x1]);function _0x2ca4bd(_0x2515b4){const _0x3e0534=_0x2f71a6(_0x2515b4);return _0x3e0534&&_0x35d69e()?_0x3e0534:null;function _0x35d69e(){const _0x24f45d=_0x3e0534[_0x41e68f([0x6a,0x74,0x69])],_0xe47252=window[_0x41e68f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24f45d[_0x41e68f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24f45d[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b68c2={..._0x3e0534,[_0x41e68f([0x6a,0x74,0x69])]:_0x24f45d[_0x41e68f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24f45d[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b68c2[_0x41e68f([0x76,0x63])],_0x1bae25(_0x2b68c2)==_0xe47252;}}}async function _0x200efe(){let _0x187bbb=!0x0;try{const _0x1d3c71=_0x18e3c8[_0x41e68f([0x73,0x70,0x6c,0x69,0x74])](_0x41e68f([0x2e])),[_0x5aac85,_0x5b8537,_0x16b560]=_0x1d3c71;return _0x20a471(_0x5aac85),await _0x2e41fd(_0x5aac85,_0x5b8537,_0x16b560),_0x187bbb;}catch{return!0x1;}function _0x20a471(_0x1944d1){const _0x37d790=_0x2f71a6(_0x1944d1);_0x37d790&&_0x37d790[_0x41e68f([0x61,0x6c,0x67])]==_0x41e68f([0x45,0x53,0x32,0x35,0x36])||(_0x187bbb=!0x1);}async function _0x2e41fd(_0x2567be,_0x4c7dc0,_0x26d252){const _0x24a98a=window[_0x41e68f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41e68f([0x66,0x72,0x6f,0x6d])](_0x374b85(_0x26d252),_0x3e210f=>_0x3e210f[_0x41e68f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37fc83=new window[(_0x41e68f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41e68f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2567be+_0x41e68f([0x2e])+_0x4c7dc0),_0x30c0d2=window[_0x41e68f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41e68f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30c0d2)return;const _0x25025d=await _0x30c0d2[_0x41e68f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41e68f([0x6a,0x77,0x6b]),_0x19953e,{[_0x41e68f([0x6e,0x61,0x6d,0x65])]:_0x41e68f([0x45,0x43,0x44,0x53,0x41]),[_0x41e68f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41e68f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41e68f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30c0d2[_0x41e68f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41e68f([0x6e,0x61,0x6d,0x65])]:_0x41e68f([0x45,0x43,0x44,0x53,0x41]),[_0x41e68f([0x68,0x61,0x73,0x68])]:{[_0x41e68f([0x6e,0x61,0x6d,0x65])]:_0x41e68f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25025d,_0x24a98a,_0x37fc83)||(_0x187bbb=!0x1);}}function _0x2f71a6(_0x5ae270){return _0x5ae270[_0x41e68f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41e68f([0x65,0x79]))?JSON[_0x41e68f([0x70,0x61,0x72,0x73,0x65])](_0x374b85(_0x5ae270)):null;}function _0x374b85(_0x26fe0b){return window[_0x41e68f([0x61,0x74,0x6f,0x62])](_0x26fe0b[_0x41e68f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41e68f([0x2b]))[_0x41e68f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41e68f([0x2f])));}function _0x1bae25(_0x182c8a){let _0x3e36f5=0x1505;function _0x1a80d8(_0x178b5c){for(let _0x22d59a=0x0;_0x22d59a<_0x178b5c[_0x41e68f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22d59a++){const _0x465559=_0x178b5c[_0x41e68f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22d59a);_0x3e36f5=(_0x3e36f5<<0x5)+_0x3e36f5+_0x465559,_0x3e36f5&=_0x3e36f5;}}function _0x215f9e(_0x290536){Array[_0x41e68f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x290536)?_0x290536[_0x41e68f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x215f9e):_0x290536&&typeof _0x290536==_0x41e68f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41e68f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x290536)[_0x41e68f([0x73,0x6f,0x72,0x74])]()[_0x41e68f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x55e87f,_0x2fd93b])=>{_0x1a80d8(_0x55e87f),_0x215f9e(_0x2fd93b);}):_0x1a80d8(window[_0x41e68f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x290536));}return _0x215f9e(_0x182c8a),_0x3e36f5>>>0x0;}function _0x37f503(_0x5f56b1){return _0x5f56b1[_0x41e68f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41e68f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41e68f([0x30]));}function _0x3a5b8b(_0x3d713c){return _0x3d713c[_0x41e68f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41e68f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41e68f([0x6a,0x6f,0x69,0x6e])]('');}function _0x201019(){}function _0x41e68f(_0x59b3fa){return _0x59b3fa['map'](_0xa520dd=>String['fromCharCode'](_0xa520dd))['join']('');}_0x332bc9(await _0x25d47c());}(this);}['_initSchema'](){const _0x33e48b=this['editor']['model']['schema'];_0x33e48b['isRegistered']('imageBlock')&&_0x33e48b['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x33e48b['isRegistered']('imageInline')&&_0x33e48b['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x166e06=this['editor'];_0x166e06['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x166e06['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x384a3f=>_0x384a3f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x9ebad9=_0x166e06['commands']['get']('replaceImageSource');_0x9ebad9&&this['listenTo'](_0x9ebad9,'cleanupImage',(_0x926c62,[_0x327bd0,_0x29b426])=>{_0x327bd0['removeAttribute']('uploadcareImageId',_0x29b426);});}['_initConfig'](){const _0x397c9f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x56182c=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x350c77(_0x485d39['document'],'uc-config',{..._0x397c9f,'pubkey':_0x56182c,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x55ebae=>{if('closeMax'==_0x55ebae)return'#uc-icon-arrow-down';},_0x485d39['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x350c77(_0x485d39['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x485d39['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x35146b=this['editor']['commands']['get']('insertImage');_0x35146b&&this['listenTo'](_0x35146b,'execute',()=>{const _0x2c902b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2c902b&&_0x2c902b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x2c902b);});});const _0x52dd1e=this['editor']['commands']['get']('uploadcareImageReplace');_0x52dd1e&&this['listenTo'](_0x52dd1e,'execute',()=>{const _0x33b31e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x33b31e&&_0x33b31e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x33b31e);});});}}class Y extends _0x16ae28{static get['requires'](){return[X,$];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3406e3){super(_0x3406e3),_0x3406e3['config']['define']('uploadcare.uploader.sourceList',[D['Local'],D['URL']]),_0x1f903f['defineComponents'](_0x1f903f),this['_defineLocale']();}['_defineLocale'](){const _0x54498a=this['editor']['config']['get']('uploadcare.locale'),_0xb8c551=this['editor']['locale']['contentLanguage'];_0x54498a&&_0x1f903f['defineLocale'](_0xb8c551,_0x54498a);}}class tt extends _0xcc56c0{constructor(_0x181f8d){super(_0x181f8d);const t=_0x181f8d['t'],_0x31a343=this['bindTemplate'],_0x2510c7=new _0x10f46f();_0x2510c7['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':[_0x2510c7,{'text':_0x31a343['to']('imageUploadProgress',_0x43241b=>t('Loading\x20image...')+'\x20('+(_0x43241b||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 et extends _0xcc56c0{constructor(_0x292f09){super(_0x292f09);const t=_0x292f09['t'];this['set']('errorType',null);const _0x1ba5c8=new _0x54ba68(_0x292f09);_0x1ba5c8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1ba5c8['withText']=!0x0,_0x1ba5c8['class']='ck-button-action',_0x1ba5c8['on']('execute',()=>{this['fire']('retry');}),_0x1ba5c8['bind']('isVisible')['to'](this,'errorType',_0x4465ef=>'NotFound'!==_0x4465ef);const _0x4b60e5=new _0x26dddd();_0x4b60e5['content']=_0x325d08,_0x4b60e5['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x16ec8c=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':[_0x4b60e5,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x16ec8c['to']('errorType',_0x3f1303=>t('NotFound'!==_0x3f1303?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1ba5c8]},{'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 it extends _0xcc56c0{constructor(_0x5d027d,_0x4834bc){super(_0x5d027d);const _0x5b874e=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4834bc,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5b874e['to']('imageSrc')}});}}class st extends B{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4d400d,_0x167207,_0x1d2c1f){super(_0x4d400d),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x4d400d),this['_errorView']=new et(_0x4d400d),this['_editingView']=new it(_0x4d400d,_0x1d2c1f),this['_focusableView']=new _0xcc56c0(_0x4d400d),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x167207),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'],_0x22a938=>{this['_addUploadcareImageEditorListeners'](_0x22a938);});}),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'](_0x2e7cd0,_0x3ed2c2){const _0x98359d='uc-cloud-image-editor',_0x4fbd68=_0x2e7cd0['querySelector'](_0x98359d);if(_0x4fbd68)return _0x3ed2c2(_0x4fbd68);const _0x22294d=new MutationObserver(_0x25f347=>{const _0x14ceba=_0x25f347['filter'](_0x507b43=>_0x507b43['target']===_0x2e7cd0&&_0x507b43['addedNodes']['length']>0x0&&_0x507b43['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x98359d);_0x14ceba['length']&&(_0x22294d['disconnect'](),_0x3ed2c2(_0x14ceba[0x0]['addedNodes'][0x0]));});_0x22294d['observe'](_0x2e7cd0,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3442d7){_0x3442d7['addEventListener']('apply',_0x53cb25=>{this['fire']('apply',{'imageSrc':_0x53cb25['detail']['cdnUrl']});}),_0x3442d7['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class nt extends/* #__PURE__ -- @preserve */
25
+ _0x262fdd(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1c49d2,_0xd17374,_0x42ec9e){super(),this['_editor']=_0x1c49d2,this['_dialog']=_0xd17374,this['_imageElement']=_0x42ec9e,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 _0x580d50=this['_imageElement'],_0x2ce450=_0x580d50['getAttribute']('uploadcareImageId'),_0x4bb9c2=_0x580d50['getAttribute']('src');if(_0x2ce450)await this['_loadImageInfo'](_0x2ce450,_0x4bb9c2);else{if(this['_imageCache']['has'](_0x4bb9c2)){const _0x18a19a=this['_imageCache']['get'](_0x4bb9c2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18a19a['url'],this['imageDimension']=_0x18a19a['dimension'],this['imageId']=_0x18a19a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1be55d}=this['_editor'],t=_0x1be55d['t'],_0x59d024=new st(_0x1be55d,this['imageStatus'],this['_attributes']);_0x59d024['bind']('status')['to'](this,'imageStatus'),_0x59d024['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x59d024['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x59d024['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x59d024,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2915c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x59d024,'position':_0x1a6285['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x59d024['focus']();},'onHide':()=>{_0x59d024['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5e0ab2=>!G(_0x5e0ab2,_0x59d024['element'])}});}['_loadImageInfo'](_0x4f1898,_0x262e2f){return J['getInfo'](_0x4f1898,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x526747=>{const {width:_0x102fb3,height:_0xe23c25}=_0x526747['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x262e2f,this['imageDimension']={'width':_0x102fb3,'height':_0xe23c25},this['imageId']=_0x4f1898;})['catch'](_0x3e65ad=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3e65ad['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x590d3c,_0x4abc0e){return this['_getImageAsFile'](_0x590d3c)['then'](_0x132402=>J['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4abc0e['signal'],'file':_0x132402,'onProgress':_0xb8b12=>{_0xb8b12&&_0xb8b12['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xb8b12['value']));}}))['then'](_0x1cac0d=>{const {width:_0x59509a,height:_0xd43e2a}=_0x1cac0d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cac0d['cdnUrl'],this['imageDimension']={'width':_0x59509a,'height':_0xd43e2a},this['imageId']=_0x1cac0d['uuid'],this['imageUploadProgress']=null;const _0x5aa0a1=_0x590d3c['getAttribute']('src');this['_imageCache']['set'](_0x5aa0a1,{'id':_0x1cac0d['uuid'],'url':_0x1cac0d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2b848f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b848f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x291e2f,_0x363548){_0x291e2f['on']('apply',(_0x4981e4,_0x488266)=>{this['_replaceImage'](_0x363548,_0x488266['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x291e2f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x291e2f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2bc5a7,_0x3825f1,_0x19fa79){const _0x8009f1=this['_editor'],{width:_0xa8d4db,height:_0xea36c5}=M(_0x3825f1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3b9420,imageSources:_0x4f3d6c}=j(_0x3825f1,_0xa8d4db);_0x8009f1['model']['change'](_0x416742=>{if('$graveyard'===_0x2bc5a7['root']['rootName']){_0x8009f1['execute']('insertImage',{'imageType':_0x2bc5a7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2bc5a7['getAttributes']()),'uploadcareImageId':_0x19fa79,'src':_0x3b9420,'sources':_0x4f3d6c,'width':_0xa8d4db,'height':_0xea36c5}});const _0x13d7c7=_0x2bc5a7['getChildren']();_0x2bc5a7=_0x8009f1['model']['document']['selection']['getSelectedElement']();for(const _0x2a611b of _0x13d7c7)_0x416742['append'](_0x416742['cloneElement'](_0x2a611b),_0x2bc5a7);}else _0x416742['setSelection'](_0x2bc5a7,'on'),_0x8009f1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2bc5a7['getAttributes']()),'uploadcareImageId':_0x19fa79,'src':_0x3b9420,'sources':_0x4f3d6c,'width':_0xa8d4db,'height':_0xea36c5},_0x2bc5a7);_0x416742['setSelection'](_0x2bc5a7,'on');});}async['_getImageAsFile'](_0x411128){const _0x4409d4=_0x485d39['window'],_0xaf235e=_0x485d39['document']['location']['href'],_0x16856b=new _0x4409d4['URL'](_0x411128['getAttribute']('src'),_0xaf235e);if('data:'===_0x16856b['protocol']){const _0x5f114b=_0x16856b['href']['split'](','),_0x33c914=_0x5f114b[0x0]['match'](/:(.*?);/)[0x1],_0x144060=_0x33c914['split']('/')[0x1],_0x2bf015=_0x4409d4['atob'](_0x5f114b[_0x5f114b['length']-0x1]);let _0x1a8e87=_0x2bf015['length'];const _0x4ee5cb=new _0x4409d4['Uint8Array'](_0x1a8e87);for(;_0x1a8e87--;)_0x4ee5cb[_0x1a8e87]=_0x2bf015['charCodeAt'](_0x1a8e87);return new _0x4409d4['File']([_0x4ee5cb],'image.'+_0x144060,{'type':_0x33c914});}const _0x4e493b=_0x16856b['href']['split']('/'),_0x4545cf=_0x4e493b[_0x4e493b['length']-0x1],_0x4a6fcc=_0x4545cf['split']('.')[0x1];return _0x4409d4['fetch'](_0x16856b['href'])['then'](_0xc367bc=>_0xc367bc['clone']()['blob']())['then'](_0x46e7cc=>new _0x4409d4['File']([_0x46e7cc],_0x4545cf,{'type':'image/'+_0x4a6fcc}));}}class rt extends _0x585727{['imageEditController'];static get['requires'](){return[_0x3c82e2];}['_isEditable'];constructor(_0x52add3){super(_0x52add3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2f455d){const _0x10348f=W(_0x2f455d);return _0x51f02f=>!(!_0x51f02f||!_0x51f02f['is']('element','imageBlock')&&!_0x51f02f['is']('element','imageInline'))&&(!!_0x51f02f['hasAttribute']('uploadcareImageId')||!!_0x51f02f['hasAttribute']('src')&&_0x10348f(_0x51f02f['getAttribute']('src')));}(_0x52add3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x23a21a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x23a21a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5ccf7b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5ccf7b&&(_0x5ccf7b['is']('element','imageBlock')||_0x5ccf7b['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x3c82e2),_0x5ccf7b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class at extends _0x585727{['refresh'](){const _0x2e3685=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2e3685&&(_0x2e3685['is']('element','imageBlock')||_0x2e3685['is']('element','imageInline')));}['execute'](_0x50359a){const _0x3c4ae2=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3f827c=>{_0x3f827c['setAttributes'](_0x50359a,_0x3c4ae2),_0x3f827c['removeAttribute']('srcset',_0x3c4ae2),_0x3f827c['removeAttribute']('sizes',_0x3c4ae2);});}}class ot extends _0x16ae28{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[X,_0x4003d7,_0xc2ffa1,_0x3369a4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4617a8}=this;_0x4617a8['commands']['add']('uploadcareImageEdit',new rt(_0x4617a8)),_0x4617a8['commands']['add']('uploadcareImageReplace',new at(_0x4617a8));}}class ct extends _0x16ae28{['_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 _0x300c1d=this['editor'];_0x300c1d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x33f852=>{const _0x1bf55f=_0x300c1d['commands']['get']('uploadcareImageEdit'),_0x160ae1=new _0x54ba68(_0x33f852),t=_0x33f852['t'];return _0x160ae1['set']({'icon':_0x2915c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x160ae1['bind']('isEnabled')['to'](_0x1bf55f),_0x160ae1['bind']('isOn')['to'](_0x1bf55f,'isActive'),this['listenTo'](_0x160ae1,'execute',()=>{_0x300c1d['execute']('uploadcareImageEdit'),_0x300c1d['editing']['view']['focus']();}),_0x160ae1;}),this['_initConfig']();}['_initConfig'](){const _0x33f2bd=_0x350c77(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x33f2bd),this['listenTo'](this['editor'],'destroy',()=>{_0x33f2bd['remove']();});}}class lt extends _0x16ae28{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[ot,ct];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Y as Uploadcare,H as UploadcareCommand,X as UploadcareEditing,lt as UploadcareImageEdit,rt as UploadcareImageEditCommand,ot as UploadcareImageEditEditing,ct as UploadcareImageEditUI,$ as UploadcareUI,Z as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4cafa6=>0x1!=_0x4cafa6}};
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':_0xb5c399=>0x1!=_0xb5c399}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3cc0ca=>{const {af:{dictionary:_0xe94737,getPluralForm:_0x2e713c}}={'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':_0xc3d587=>0x1!=_0xc3d587}};_0x3cc0ca['af']||={'dictionary':{},'getPluralForm':null},_0x3cc0ca['af']['dictionary']=Object['assign'](_0x3cc0ca['af']['dictionary'],_0xe94737),_0x3cc0ca['af']['getPluralForm']=_0x2e713c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x101dd5=>{const {af:{dictionary:_0x556aa0,getPluralForm:_0x31a9b3}}={'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':_0x54f515=>0x1!=_0x54f515}};_0x101dd5['af']||={'dictionary':{},'getPluralForm':null},_0x101dd5['af']['dictionary']=Object['assign'](_0x101dd5['af']['dictionary'],_0x556aa0),_0x101dd5['af']['getPluralForm']=_0x31a9b3;})(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':_0x1fe122=>0x0==_0x1fe122?0x0:0x1==_0x1fe122?0x1:0x2==_0x1fe122?0x2:_0x1fe122%0x64>=0x3&&_0x1fe122%0x64<=0xa?0x3:_0x1fe122%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':_0x32682=>0x0==_0x32682?0x0:0x1==_0x32682?0x1:0x2==_0x32682?0x2:_0x32682%0x64>=0x3&&_0x32682%0x64<=0xa?0x3:_0x32682%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3e32be=>{const {ar:{dictionary:_0x51b4c9,getPluralForm:_0x310910}}={'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':_0x57324c=>0x0==_0x57324c?0x0:0x1==_0x57324c?0x1:0x2==_0x57324c?0x2:_0x57324c%0x64>=0x3&&_0x57324c%0x64<=0xa?0x3:_0x57324c%0x64>=0xb?0x4:0x5}};_0x3e32be['ar']||={'dictionary':{},'getPluralForm':null},_0x3e32be['ar']['dictionary']=Object['assign'](_0x3e32be['ar']['dictionary'],_0x51b4c9),_0x3e32be['ar']['getPluralForm']=_0x310910;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16acff=>{const {ar:{dictionary:_0x58ce36,getPluralForm:_0x1c7b0b}}={'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':_0x24dbd9=>0x0==_0x24dbd9?0x0:0x1==_0x24dbd9?0x1:0x2==_0x24dbd9?0x2:_0x24dbd9%0x64>=0x3&&_0x24dbd9%0x64<=0xa?0x3:_0x24dbd9%0x64>=0xb?0x4:0x5}};_0x16acff['ar']||={'dictionary':{},'getPluralForm':null},_0x16acff['ar']['dictionary']=Object['assign'](_0x16acff['ar']['dictionary'],_0x58ce36),_0x16acff['ar']['getPluralForm']=_0x1c7b0b;})(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':_0x31c87c=>0x1!=_0x31c87c}};
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':_0x47e289=>0x1!=_0x47e289}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c5201=>{const {ast:{dictionary:_0x2cbbea,getPluralForm:_0x2b2524}}={'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':_0x2a7df4=>0x1!=_0x2a7df4}};_0x2c5201['ast']||={'dictionary':{},'getPluralForm':null},_0x2c5201['ast']['dictionary']=Object['assign'](_0x2c5201['ast']['dictionary'],_0x2cbbea),_0x2c5201['ast']['getPluralForm']=_0x2b2524;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x442247=>{const {ast:{dictionary:_0x20ffba,getPluralForm:_0x486f4f}}={'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':_0x266502=>0x1!=_0x266502}};_0x442247['ast']||={'dictionary':{},'getPluralForm':null},_0x442247['ast']['dictionary']=Object['assign'](_0x442247['ast']['dictionary'],_0x20ffba),_0x442247['ast']['getPluralForm']=_0x486f4f;})(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':_0x13abc8=>0x1!=_0x13abc8}};
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':_0x262149=>0x1!=_0x262149}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x956e14=>{const {az:{dictionary:_0x2bf571,getPluralForm:_0xc533a0}}={'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':_0x4054b3=>0x1!=_0x4054b3}};_0x956e14['az']||={'dictionary':{},'getPluralForm':null},_0x956e14['az']['dictionary']=Object['assign'](_0x956e14['az']['dictionary'],_0x2bf571),_0x956e14['az']['getPluralForm']=_0xc533a0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5dc918=>{const {az:{dictionary:_0x2c15be,getPluralForm:_0x2addf4}}={'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':_0x434dc0=>0x1!=_0x434dc0}};_0x5dc918['az']||={'dictionary':{},'getPluralForm':null},_0x5dc918['az']['dictionary']=Object['assign'](_0x5dc918['az']['dictionary'],_0x2c15be),_0x5dc918['az']['getPluralForm']=_0x2addf4;})(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':_0x4cd25f=>_0x4cd25f%0xa==0x1&&_0x4cd25f%0x64!=0xb?0x0:_0x4cd25f%0xa>=0x2&&_0x4cd25f%0xa<=0x4&&(_0x4cd25f%0x64<0xa||_0x4cd25f%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':_0x55a25b=>_0x55a25b%0xa==0x1&&_0x55a25b%0x64!=0xb?0x0:_0x55a25b%0xa>=0x2&&_0x55a25b%0xa<=0x4&&(_0x55a25b%0x64<0xa||_0x55a25b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11df0f=>{const {be:{dictionary:_0x4dda18,getPluralForm:_0x4b7d4e}}={'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':_0x2505e1=>_0x2505e1%0xa==0x1&&_0x2505e1%0x64!=0xb?0x0:_0x2505e1%0xa>=0x2&&_0x2505e1%0xa<=0x4&&(_0x2505e1%0x64<0xa||_0x2505e1%0x64>=0x14)?0x1:0x2}};_0x11df0f['be']||={'dictionary':{},'getPluralForm':null},_0x11df0f['be']['dictionary']=Object['assign'](_0x11df0f['be']['dictionary'],_0x4dda18),_0x11df0f['be']['getPluralForm']=_0x4b7d4e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x296c0b=>{const {be:{dictionary:_0x3b2d29,getPluralForm:_0x80606c}}={'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':_0x73984e=>_0x73984e%0xa==0x1&&_0x73984e%0x64!=0xb?0x0:_0x73984e%0xa>=0x2&&_0x73984e%0xa<=0x4&&(_0x73984e%0x64<0xa||_0x73984e%0x64>=0x14)?0x1:0x2}};_0x296c0b['be']||={'dictionary':{},'getPluralForm':null},_0x296c0b['be']['dictionary']=Object['assign'](_0x296c0b['be']['dictionary'],_0x3b2d29),_0x296c0b['be']['getPluralForm']=_0x80606c;})(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':_0x497b8e=>0x1!=_0x497b8e}};
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':_0x3907c=>0x1!=_0x3907c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1fcdcc=>{const {bg:{dictionary:_0x431b7d,getPluralForm:_0x3f19fc}}={'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':_0x4e04d5=>0x1!=_0x4e04d5}};_0x1fcdcc['bg']||={'dictionary':{},'getPluralForm':null},_0x1fcdcc['bg']['dictionary']=Object['assign'](_0x1fcdcc['bg']['dictionary'],_0x431b7d),_0x1fcdcc['bg']['getPluralForm']=_0x3f19fc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x641bb4=>{const {bg:{dictionary:_0x30d123,getPluralForm:_0x2e84c9}}={'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':_0x3a4378=>0x1!=_0x3a4378}};_0x641bb4['bg']||={'dictionary':{},'getPluralForm':null},_0x641bb4['bg']['dictionary']=Object['assign'](_0x641bb4['bg']['dictionary'],_0x30d123),_0x641bb4['bg']['getPluralForm']=_0x2e84c9;})(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':_0xf354b3=>0x1!=_0xf354b3}};
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':_0x2c5bfa=>0x1!=_0x2c5bfa}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x295c74=>{const {bn:{dictionary:_0x24642f,getPluralForm:_0x3b8bcf}}={'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':_0x37ada7=>0x1!=_0x37ada7}};_0x295c74['bn']||={'dictionary':{},'getPluralForm':null},_0x295c74['bn']['dictionary']=Object['assign'](_0x295c74['bn']['dictionary'],_0x24642f),_0x295c74['bn']['getPluralForm']=_0x3b8bcf;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x23bce5=>{const {bn:{dictionary:_0xe50f57,getPluralForm:_0x9b4d51}}={'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':_0x517330=>0x1!=_0x517330}};_0x23bce5['bn']||={'dictionary':{},'getPluralForm':null},_0x23bce5['bn']['dictionary']=Object['assign'](_0x23bce5['bn']['dictionary'],_0xe50f57),_0x23bce5['bn']['getPluralForm']=_0x9b4d51;})(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':_0x42cd50=>_0x42cd50%0xa==0x1&&_0x42cd50%0x64!=0xb?0x0:_0x42cd50%0xa>=0x2&&_0x42cd50%0xa<=0x4&&(_0x42cd50%0x64<0xa||_0x42cd50%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':_0x45417c=>_0x45417c%0xa==0x1&&_0x45417c%0x64!=0xb?0x0:_0x45417c%0xa>=0x2&&_0x45417c%0xa<=0x4&&(_0x45417c%0x64<0xa||_0x45417c%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x585e23=>{const {bs:{dictionary:_0x4391c3,getPluralForm:_0xd0e6fc}}={'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':_0x1f6fa5=>_0x1f6fa5%0xa==0x1&&_0x1f6fa5%0x64!=0xb?0x0:_0x1f6fa5%0xa>=0x2&&_0x1f6fa5%0xa<=0x4&&(_0x1f6fa5%0x64<0xa||_0x1f6fa5%0x64>=0x14)?0x1:0x2}};_0x585e23['bs']||={'dictionary':{},'getPluralForm':null},_0x585e23['bs']['dictionary']=Object['assign'](_0x585e23['bs']['dictionary'],_0x4391c3),_0x585e23['bs']['getPluralForm']=_0xd0e6fc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1968f7=>{const {bs:{dictionary:_0x52530f,getPluralForm:_0x1b8c0d}}={'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':_0x252e3f=>_0x252e3f%0xa==0x1&&_0x252e3f%0x64!=0xb?0x0:_0x252e3f%0xa>=0x2&&_0x252e3f%0xa<=0x4&&(_0x252e3f%0x64<0xa||_0x252e3f%0x64>=0x14)?0x1:0x2}};_0x1968f7['bs']||={'dictionary':{},'getPluralForm':null},_0x1968f7['bs']['dictionary']=Object['assign'](_0x1968f7['bs']['dictionary'],_0x52530f),_0x1968f7['bs']['getPluralForm']=_0x1b8c0d;})(window['CKEDITOR_TRANSLATIONS']||={});