@ckeditor/ckeditor5-uploadcare 47.3.0-alpha.2 → 47.3.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1ab169,Command as _0x2b38bc}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x571ac9,IconGooglePhotos as _0x1e34bd,IconGoogleDrive as _0x453dfb,IconFacebook as _0x164a55,IconDropbox as _0x496849,IconUploadcareLink as _0x4e494a,IconUploadcareImageUpload as _0x1aaea6,IconError as _0x4b8c38,IconUploadcareImageEdit as _0x412cf8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1b309e,MenuBarMenuListItemButtonView as _0xa9cdcd,View as _0x26e369,FocusCycler as _0x31ab23,Dialog as _0x31303f,DialogViewPosition as _0x50581c,SpinnerView as _0x37a496,IconView as _0x4c2c58,Notification as _0x5ac6a1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3d8a97,DomEmitterMixin as _0x321eae,global as _0x511b66,getAncestors as _0x59d660,ObservableMixin as _0x28bbb1,uid as _0x2dffa6,createElement as _0x460cb3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xba9dd2}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x33c43b,info as _0x37cdda}from'@uploadcare/upload-client';import*as _0x5e4564 from'@uploadcare/file-uploader';var i=function(_0x4ba969){return _0x4ba969['Local']='local',_0x4ba969['URL']='url',_0x4ba969['Dropbox']='dropbox',_0x4ba969['GDrive']='gdrive',_0x4ba969['Facebook']='facebook',_0x4ba969['GPhotos']='gphotos',_0x4ba969['OneDrive']='onedrive',_0x4ba969;}({});function _(_0x2ac434,_0x2fa0d7,_0x7248ac){const t=_0x2ac434['t'],_0xd0610c=_0x2ac434['t'];switch(_0x2fa0d7){case i['Local']:return{'text':_0xd0610c('Insert'===_0x7248ac?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xd0610c('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x7248ac?_0xd0610c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xd0610c('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x7248ac?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x7248ac?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x7248ac?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x7248ac?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x7248ac?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2fa0d7;}}class e extends _0x1ab169{['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 _0x11c530=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xd1a850;for(const _0x58afe8 in _0x11c530){const _0x1c17bc=_0x58afe8,_0x5304b9=_0x11c530[_0x1c17bc];if('uploadcareLicenseKeyValid'==_0x5304b9||'uploadcareLicenseKeyInvalid'==_0x5304b9||'uploadcareLicenseKeyExpired'==_0x5304b9||'uploadcareLicenseKeyDomainLimit'==_0x5304b9||'uploadcareLicenseKeyNotAllowed'==_0x5304b9||'uploadcareLicenseKeyEvaluationLimit'==_0x5304b9||'uploadcareLicenseKeyTrialLimit'==_0x5304b9||'uploadcareLicenseKeyUsageLimit'==_0x5304b9){delete _0x11c530[_0x1c17bc],_0xd1a850=_0x5304b9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xd1a850&&_0x11c530['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xd1a850&&_0x11c530['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xd1a850&&_0x11c530['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xd1a850&&_0x11c530['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xd1a850&&_0x11c530['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xd1a850&&_0x11c530['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xd1a850&&_0x11c530['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x79c7f3}=this,_0x378b7b=_0x79c7f3['commands']['get']('uploadcare');if(!_0x378b7b)return;const _0xfa70fc=this['_normalizeConfigSourceList'](_0x79c7f3['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2c878b,_0x4758d5)=>{const _0x376ea9=this['_getIntegrationKey'](_0x4758d5['type']);return _0x2c878b[_0x376ea9]||(_0x2c878b[_0x376ea9]=[]),_0x2c878b[_0x376ea9]['push'](_0x4758d5),_0x2c878b;},{});_0x79c7f3['plugins']['has']('ImageInsertUI')&&_0x79c7f3['commands']['get']('uploadcare')&&Object['entries'](_0xfa70fc)['forEach'](([_0xd74582,_0x2df2cd])=>{_0x79c7f3['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xd74582,'observable':()=>_0x378b7b,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2df2cd),'formViewCreator':()=>this['_createDropdownButtons'](_0x2df2cd),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2df2cd),'override':'assetManager'!==_0xd74582});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x112b4c){const {locale:_0x270620}=this['editor'];return _0x112b4c['map'](_0x31a802=>{const _0x301efb=_(_0x270620,_0x31a802,'Insert');switch(_0x31a802){case i['Local']:return{'icon':_0x1aaea6,'type':i['Local'],..._0x301efb};case i['URL']:return{'icon':_0x4e494a,'type':i['URL'],..._0x301efb};case i['Dropbox']:return{'icon':_0x496849,'type':i['Dropbox'],..._0x301efb};case i['Facebook']:return{'icon':_0x164a55,'type':i['Facebook'],..._0x301efb};case i['GDrive']:return{'icon':_0x453dfb,'type':i['GDrive'],..._0x301efb};case i['GPhotos']:return{'icon':_0x1e34bd,'type':i['GPhotos'],..._0x301efb};case i['OneDrive']:return{'icon':_0x571ac9,'type':i['OneDrive'],..._0x301efb};}});}['_getIntegrationKey'](_0x5b7c68){switch(_0x5b7c68){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x190937,_0x114ef2){const _0x2fc926=this['editor'],_0x2d8fa3=new _0x190937(_0x2fc926['locale']),_0x28ddf6=_0x2fc926['commands']['get']('uploadcare');return _0x2d8fa3['bind']('isEnabled')['to'](_0x28ddf6),_0x2d8fa3['on']('execute',()=>{_0x28ddf6['execute'](_0x114ef2);}),_0x2d8fa3;}['_createToolbarButton'](_0x497f64){const {locale:_0xf817b2}=this['editor'],_0xb5676e=this['editor']['plugins']['get']('ImageInsertUI'),_0x57234d=_0x497f64[0x0],_0x992677=this['_createButton'](_0x1b309e,_0x57234d['type']);return _0x992677['icon']=_0x57234d['icon'],_0x992677['bind']('label')['to'](_0xb5676e,'isImageSelected',_0x1f345c=>_(_0xf817b2,_0x57234d['type'],_0x1f345c?'Replace':'Insert')['text']),_0x992677['tooltip']=!0x0,_0x992677;}['_createDropdownButtons'](_0x2a42b5){const {locale:_0x2b16ee}=this['editor'],_0x3f345d=this['editor']['plugins']['get']('ImageInsertUI');return _0x2a42b5['map'](_0x46d9b2=>{const _0x1d5515=this['_createButton'](_0x1b309e,_0x46d9b2['type']);return _0x1d5515['withText']=!0x0,_0x1d5515['icon']=_0x46d9b2['icon'],_0x1d5515['bind']('label')['to'](_0x3f345d,'isImageSelected',_0x48aa5f=>_(_0x2b16ee,_0x46d9b2['type'],_0x48aa5f?'Replace':'Insert')['text']),_0x1d5515;});}['_createMenuBarButtons'](_0x99d231){return _0x99d231['map'](_0x1efb22=>{const _0x1d8514=this['_createButton'](_0xa9cdcd,_0x1efb22['type']);return _0x1d8514['icon']=_0x1efb22['icon'],_0x1d8514['label']=_0x1efb22['shortText'],_0x1d8514;});}}class F extends _0x26e369{['focusTracker'];['focusCycler'];constructor(_0x54d6dd){super(_0x54d6dd),this['focusTracker']=new _0x3d8a97(),this['focusCycler']=new _0x31ab23({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0xdd395e,_0x2b3da5){super(_0xdd395e),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-'+_0x2b3da5}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4247b2,_0xe065d9){const _0x423928=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1b4a45=>_0x1b4a45<=_0xe065d9)['map'](_0x19adb6=>_0x4247b2['replace'](/\/$/,'')+'/-/resize/'+_0x19adb6+'x/\x20'+_0x19adb6+'w');return{'imageFallbackUrl':_0x4247b2,'imageSources':[{'srcset':_0x423928['join'](',\x20'),'sizes':'(max-width:\x20'+_0xe065d9+'px)\x20100vw,\x20'+_0xe065d9+'px','type':'image/webp'}]};}function S(_0x30068b,_0x4b160b,_0x5460af){const _0xfe38b8=_0x30068b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xfe38b8?parseInt(_0xfe38b8[0x1],0xa):_0x4b160b,'height':_0xfe38b8?parseInt(_0xfe38b8[0x2],0xa):_0x5460af};}function p(_0x3b4f3f,_0x331c2b){const _0x288bc4=new(_0x321eae())(),_0x5c4572=_0x3b4f3f['plugins']['get']('ImageUtils'),_0x39296b=_0x3b4f3f['editing']['mapper']['toViewElement'](_0x331c2b),_0x11c71e=_0x5c4572['findViewImgElement'](_0x39296b),_0x1798aa=_0x3b4f3f['editing']['view']['domConverter']['viewToDom'](_0x11c71e),_0x1541bf=_0x331c2b['getAttribute']('width'),_0x223d59=_0x331c2b['getAttribute']('height'),_0x180e78='image-processing';_0x3b4f3f['editing']['view']['change'](_0x1bcb3b=>{_0x1bcb3b['addClass'](_0x180e78,_0x39296b),_0x1bcb3b['setStyle']('aspect-ratio',_0x1541bf+'/'+_0x223d59,_0x11c71e);}),_0x288bc4['listenTo'](_0x1798aa,'load',()=>{_0x288bc4['stopListening'](_0x1798aa,'load'),_0x3b4f3f['editing']['view']['change'](_0x5161d8=>{_0x5161d8['removeClass'](_0x180e78,_0x39296b),_0x5161d8['removeStyle']('aspect-ratio',_0x11c71e);});});}function G(_0x431859){if(Array['isArray'](_0x431859)){const _0x45d7ac=_0x431859['map'](G);return _0x1fe7b0=>_0x45d7ac['some'](_0xf32718=>_0xf32718(_0x1fe7b0));}if('origin'==_0x431859){const _0x310796=_0x511b66['window']['location']['origin'];return _0x3dfdc7=>new URL(_0x3dfdc7,_0x511b66['document']['baseURI'])['origin']==_0x310796;}return'function'==typeof _0x431859?_0x431859:_0x431859 instanceof RegExp?_0x2cf4b2=>!(!_0x2cf4b2['match'](_0x431859)&&!_0x2cf4b2['replace'](/^https?:\/\//,'')['match'](_0x431859)):()=>!0x1;}function A(_0xbc0632,_0x412969){return _0x59d660(_0xbc0632['target'])['includes'](_0x412969);}class n extends/* #__PURE__ -- @preserve */
24
- _0x28bbb1(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x166cca,_0x6685b3,_0xc7bc5c){super(),this['_editor']=_0x166cca,this['_editing']=_0x6685b3,this['_dialog']=_0x166cca['plugins']['get'](_0x31303f),this['_api']=_0x6685b3['ctxElement']['getAPI'](),this['_type']=_0xc7bc5c,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:_0x4ef9ef,model:_0x1b45fc}=this['_editor'],_0xd9212e=_0x1b45fc['document']['selection']['getSelectedElement'](),_0x338683=_0xd9212e&&(_0xd9212e['is']('element','imageBlock')||_0xd9212e['is']('element','imageInline'));this['_formView']=new x(_0x4ef9ef,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1aaea6,'title':_(_0x4ef9ef,this['_type'],_0x338683?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x50581c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2659be=>!A(_0x2659be,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x32b3da}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xab9e5f=>{const _0x2341a0=_0x32b3da['length'];for(const _0x57b8d2 of _0x32b3da){const _0x5a957c=_0x57b8d2===_0x32b3da[_0x2341a0-0x1],{cdnUrl:_0x31e56b,fileInfo:_0x30b1c0}=_0x57b8d2;if(!_0x31e56b||!_0x30b1c0)continue;const {width:_0x306f84,height:_0x11f97e}=_0x30b1c0['imageInfo'],_0x4f6f6e=S(_0x31e56b,_0x306f84,_0x11f97e),_0x46fef5=C(_0x31e56b,_0x4f6f6e['width']),_0x4e4638={'id':_0x30b1c0['uuid'],'type':'image','attributes':{'imageDimension':_0x4f6f6e,..._0x46fef5}};this['_insertAsset'](_0x4e4638,_0x5a957c,_0xab9e5f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5b7274=>{'idle'===_0x5b7274['detail']['status']&&!_0x5b7274['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4e012c,_0x3d01f5,_0x4da6c3){const _0x23862b=this['_editor']['model']['document']['selection'],_0x2f45bb=_0x23862b['getSelectedElement'](),_0x51a0f8=!(!_0x2f45bb||!_0x2f45bb['is']('element','imageInline'));_0x4da6c3['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4e012c,_0x51a0f8),_0x3d01f5||_0x4da6c3['setSelection'](_0x23862b['getLastPosition']());}['_insertImage'](_0x320e08,_0x2fcea1){const _0x2f5f35=this['_editor'],{imageDimension:_0x5d1f95,imageFallbackUrl:_0x2fa477,imageSources:_0xb256b0}=_0x320e08['attributes'];_0x2f5f35['execute']('insertImage',{'imageType':_0x2fcea1?'imageInline':null,'source':{'uploadcareImageId':_0x320e08['id'],'src':_0x2fa477,'sources':_0xb256b0,..._0x5d1f95}});}}class w extends _0x2b38bc{['_editing'];['_controller']=null;static get['requires'](){return[_0x31303f,o];}constructor(_0x15552d){super(_0x15552d),this['_editing']=_0x15552d['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x291886){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x291886);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x523b12,..._0xbc0399}){return _0x33c43b(_0x523b12,_0xbc0399);}static['getInfo'](_0x4f337d,_0x5dfc43){return _0x37cdda(_0x4f337d,_0x5dfc43);}}class f extends _0x1ab169{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xba9dd2,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x230b21=this['editor'];if(!!!_0x230b21['config']['get']('uploadcare'))return;_0x230b21['plugins']['get'](_0xba9dd2)['createUploadAdapter']=_0x2fc321=>new k(_0x2fc321,_0x230b21),_0x230b21['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x116ca1,{imageElement:_0x52f407,data:_0x5d14ab})=>{_0x230b21['model']['change'](_0x2a2061=>{_0x2a2061['setAttribute']('uploadcareImageId',_0x5d14ab['uploadcareImageId'],_0x52f407);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4eced3,_0x2ea319){this['loader']=_0x4eced3,this['editor']=_0x2ea319,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3574e4=await this['loader']['file'];return j['upload']({'file':_0x3574e4,'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':_0xbc42d9=>{_0xbc42d9&&_0xbc42d9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xbc42d9['value']);}})['then'](async _0x12840d=>{const {imageFallbackUrl:_0x1510c4,imageSources:_0x4ae514}=C(_0x12840d['cdnUrl'],_0x12840d['imageInfo']['width']);return{'uploadcareImageId':_0x12840d['uuid'],'default':_0x1510c4,'sources':_0x4ae514};})['catch'](()=>{const _0x245f06=t('Cannot\x20upload\x20file:')+('\x20'+_0x3574e4['name']+'.');return Promise['reject'](_0x245f06);});}['abort'](){this['controller']['abort']();}}class o extends _0x1ab169{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x31303f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x2a68df){super(_0x2a68df),this['ucContextId']=_0x2dffa6();}['init'](){const _0x160451=this['editor'];_0x160451['commands']['add']('uploadcare',new w(_0x160451));}['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 _0x3289d3=_0x511b66['document']['querySelector']('input[uploadcare-file-input]');_0x3289d3&&_0x3289d3['remove']();}),async function(_0x31c89d){const _0x352ec6=_0x1e3f1d([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]),_0x417fdd=0x535f8c3a,_0x51bb75=0x5358f65a^_0x417fdd,_0x4093c8=window[_0x1e3f1d([0x44,0x61,0x74,0x65])][_0x1e3f1d([0x6e,0x6f,0x77])](),_0xd4a780=_0x31c89d[_0x1e3f1d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b80b7=new window[(_0x1e3f1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x286a92=>{_0xd4a780[_0x1e3f1d([0x6f,0x6e,0x63,0x65])](_0x1e3f1d([0x72,0x65,0x61,0x64,0x79]),_0x286a92);}),_0x57dfdf={[_0x1e3f1d([0x6b,0x74,0x79])]:_0x1e3f1d([0x45,0x43]),[_0x1e3f1d([0x75,0x73,0x65])]:_0x1e3f1d([0x73,0x69,0x67]),[_0x1e3f1d([0x63,0x72,0x76])]:_0x1e3f1d([0x50,0x2d,0x32,0x35,0x36]),[_0x1e3f1d([0x78])]:_0x1e3f1d([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]),[_0x1e3f1d([0x79])]:_0x1e3f1d([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]),[_0x1e3f1d([0x61,0x6c,0x67])]:_0x1e3f1d([0x45,0x53,0x32,0x35,0x36])},_0x4c73f3=_0xd4a780[_0x1e3f1d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e3f1d([0x67,0x65,0x74])](_0x1e3f1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x345d91(){let _0x1a73a5,_0x4f9ce2=null,_0x46f7c6=null;try{if(_0x4c73f3==_0x1e3f1d([0x47,0x50,0x4c]))return _0x1e3f1d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a73a5=_0x414757(),!_0x1a73a5)return _0x1e3f1d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a73a5[_0x1e3f1d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46f7c6=_0x5cbe03(_0x1a73a5[_0x1e3f1d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a73a5[_0x1e3f1d([0x6a,0x74,0x69])])),await _0xcfa28d()?_0x449862()?_0x2d2ae7()?_0x1e3f1d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbd636b()?(_0x1a73a5[_0x1e3f1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e3f1d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f9ce2=_0x4460e4(_0x1e3f1d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a73a5[_0x1e3f1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e3f1d([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f9ce2=_0x4460e4(_0x1e3f1d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ad932()):_0x1e3f1d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e3f1d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e3f1d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e3f1d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d2ae7(){const _0x107015=[_0x1e3f1d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e3f1d([0x74,0x72,0x69,0x61,0x6c])][_0x1e3f1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a73a5[_0x1e3f1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4093c8/0x3e8:0xe10*_0x51bb75;return _0x1a73a5[_0x1e3f1d([0x65,0x78,0x70])]<_0x107015;}function _0x449862(){const _0xb1432e=_0x1a73a5[_0x1e3f1d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xb1432e&&(!!_0xb1432e[_0x1e3f1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e3f1d([0x2a]))||!!_0xb1432e[_0x1e3f1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e3f1d([0x55,0x50,0x4c,0x43])));}function _0xbd636b(){const _0x9dd269=_0x1a73a5[_0x1e3f1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x9dd269||0x0==_0x9dd269[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x55ea40}=new URL(window[_0x1e3f1d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x9dd269[_0x1e3f1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55ea40))return!0x0;const _0x36a60e=_0x55ea40[_0x1e3f1d([0x73,0x70,0x6c,0x69,0x74])](_0x1e3f1d([0x2e]));return _0x9dd269[_0x1e3f1d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16d77c=>_0x16d77c[_0x1e3f1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e3f1d([0x2a])))[_0x1e3f1d([0x6d,0x61,0x70])](_0x49e2f3=>_0x49e2f3[_0x1e3f1d([0x73,0x70,0x6c,0x69,0x74])](_0x1e3f1d([0x2e])))[_0x1e3f1d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c0ba4=>_0x5c0ba4[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36a60e[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e3f1d([0x6d,0x61,0x70])](_0x23e657=>Array(_0x36a60e[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23e657[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e3f1d([0x66,0x69,0x6c,0x6c])](_0x23e657[0x0]===_0x1e3f1d([0x2a])?_0x1e3f1d([0x2a]):'')[_0x1e3f1d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23e657))[_0x1e3f1d([0x73,0x6f,0x6d,0x65])](_0x595fab=>_0x36a60e[_0x1e3f1d([0x65,0x76,0x65,0x72,0x79])]((_0xea022c,_0x7ceaa9)=>_0x595fab[_0x7ceaa9]===_0xea022c||_0x595fab[_0x7ceaa9]===_0x1e3f1d([0x2a])));}function _0x1ad932(){return _0x4f9ce2&&_0x46f7c6?new window[(_0x1e3f1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52959c,_0x46d776)=>{_0x4f9ce2[_0x1e3f1d([0x74,0x68,0x65,0x6e])](_0x52959c,_0x46d776),_0x46f7c6[_0x1e3f1d([0x74,0x68,0x65,0x6e])](_0x7dc80e=>{_0x7dc80e!=_0x1e3f1d([0x56,0x61,0x6c,0x69,0x64])&&_0x52959c(_0x7dc80e);},_0x46d776);}):_0x4f9ce2||_0x46f7c6||_0x1e3f1d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5cbe03(_0x2a8983,_0xc788e9){return new window[(_0x1e3f1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15e97c=>{if(_0x3d2047())return _0x15e97c(_0x1e3f1d([0x56,0x61,0x6c,0x69,0x64]));_0x72d6c0(),_0xd4a780[_0x1e3f1d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e3f1d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2de1ed=!0x1;const _0x498776=_0x2dffa6();function _0x59c007(_0x529efd){return!!_0x529efd&&(typeof _0x529efd===_0x1e3f1d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x529efd===_0x1e3f1d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x529efd[_0x1e3f1d([0x74,0x68,0x65,0x6e])]===_0x1e3f1d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x529efd[_0x1e3f1d([0x63,0x61,0x74,0x63,0x68])]===_0x1e3f1d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x552e3e(_0xd75490){_0x5ba98f(_0xd75490)[_0x1e3f1d([0x74,0x68,0x65,0x6e])](_0x34c13d=>{if(!_0x34c13d||_0x34c13d[_0x1e3f1d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e3f1d([0x6f,0x6b]))return _0x1e3f1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29e219(_0x27bd6b(_0x498776+_0xc788e9))!=_0x34c13d[_0x1e3f1d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e3f1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e3f1d([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e3f1d([0x74,0x68,0x65,0x6e])](_0x314ce6=>(_0x4a8ce6(),_0x314ce6),()=>{const _0xea3f6e=_0x13f7be();return null==_0xea3f6e?(_0x4a8ce6(),_0x1e3f1d([0x56,0x61,0x6c,0x69,0x64])):_0x1e3f1d(_0x4093c8-_0xea3f6e>(0x7753083a^_0x417fdd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e3f1d([0x74,0x68,0x65,0x6e])](_0x15e97c)[_0x1e3f1d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x15e97c(_0x1e3f1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12d3fe=0x536962ba^_0x417fdd;function _0x4a8ce6(){const _0x4386d5=_0x1e3f1d([0x6c,0x6c,0x63,0x74,0x2d])+_0x29e219(_0x27bd6b(_0x2a8983)),_0x491360=_0x5d2ae8(_0x29e219(window[_0x1e3f1d([0x4d,0x61,0x74,0x68])][_0x1e3f1d([0x63,0x65,0x69,0x6c])](_0x4093c8/_0x12d3fe)));window[_0x1e3f1d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e3f1d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4386d5,_0x491360);}function _0x13f7be(){const _0x3cb71a=_0x1e3f1d([0x6c,0x6c,0x63,0x74,0x2d])+_0x29e219(_0x27bd6b(_0x2a8983)),_0x350bab=window[_0x1e3f1d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e3f1d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cb71a);return _0x350bab?window[_0x1e3f1d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d2ae8(_0x350bab),0x10)*_0x12d3fe:null;}function _0x5ba98f(_0x42031b){return new window[(_0x1e3f1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13d591,_0x2029e0)=>{_0x42031b[_0x1e3f1d([0x74,0x68,0x65,0x6e])](_0x13d591,_0x2029e0),window[_0x1e3f1d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2029e0,0x535e58fa^_0x417fdd);});}}_0xd4a780[_0x1e3f1d([0x6f,0x6e])](_0x1e3f1d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50b874,_0x4cb32d)=>{if(_0x4cb32d[0x0]!=_0x2a8983)return _0x15e97c(_0x1e3f1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4cb32d[0x1]={..._0x4cb32d[0x1],[_0x1e3f1d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x498776};},{[_0x1e3f1d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e3f1d([0x68,0x69,0x67,0x68])}),_0xd4a780[_0x1e3f1d([0x6f,0x6e])](_0x1e3f1d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d05a4=>{_0x59c007(_0x4d05a4[_0x1e3f1d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2de1ed=!0x0,_0x552e3e(_0x4d05a4[_0x1e3f1d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e3f1d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e3f1d([0x6c,0x6f,0x77])}),_0x1b80b7[_0x1e3f1d([0x74,0x68,0x65,0x6e])](()=>{_0x2de1ed||_0x15e97c(_0x1e3f1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d2047(){return _0xd4a780[_0x1e3f1d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e3f1d([0x76,0x69,0x65,0x77])][_0x1e3f1d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e3f1d([0x61,0x75,0x74,0x6f]);}function _0x72d6c0(){_0xd4a780[_0x1e3f1d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e3f1d([0x76,0x69,0x65,0x77])][_0x1e3f1d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e3f1d([0x61,0x75,0x74,0x6f]);}}function _0x4460e4(_0x1d5bf1){const _0x1da185=[new window[(_0x1e3f1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x197bc7=>setTimeout(_0x197bc7,0x5356b2f6^_0x417fdd)),_0x1b80b7[_0x1e3f1d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e3f1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20b3bc=>{let _0x3610e9=0x0;_0xd4a780[_0x1e3f1d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e3f1d([0x6f,0x6e])](_0x1e3f1d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bf295,_0x1ffc74)=>{_0x1ffc74[0x0][_0x1e3f1d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3610e9++,_0x3610e9==(0x535f8dc2^_0x417fdd)&&(_0x20b3bc(),_0x1bf295[_0x1e3f1d([0x6f,0x66,0x66])]());});}))];return window[_0x1e3f1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e3f1d([0x72,0x61,0x63,0x65])](_0x1da185)[_0x1e3f1d([0x74,0x68,0x65,0x6e])](()=>_0x1d5bf1);}async function _0x4b5e31(){await _0x1b80b7,_0xd4a780[_0x1e3f1d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e3f1d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xad211f,_0xd4a780[_0x1e3f1d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e3f1d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xad211f,_0xd4a780[_0x1e3f1d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e3f1d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xba7156(_0x1956cd){const _0x5d8ee5=_0x50a175();_0xd4a780[_0x5d8ee5]=_0x1e3f1d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1956cd,_0x1956cd!=_0x1e3f1d([0x56,0x61,0x6c,0x69,0x64])&&_0x4b5e31();}function _0x50a175(){const _0x5e4cbb=window[_0x1e3f1d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e3f1d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e3f1d([0x6e,0x6f,0x77])]())[_0x1e3f1d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e3f1d([0x2e]),'');let _0xe0a0a3=_0x1e3f1d([0x68]);for(let _0x1e4671=0x0;_0x1e4671<_0x5e4cbb[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e4671+=0x2){let _0x208955=window[_0x1e3f1d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e4cbb[_0x1e3f1d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e4671,_0x1e4671+0x2));_0x208955>=_0x352ec6[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x208955-=_0x352ec6[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe0a0a3+=_0x352ec6[_0x208955];}return _0xe0a0a3;}function _0x414757(){const _0x427442=_0x4c73f3[_0x1e3f1d([0x73,0x70,0x6c,0x69,0x74])](_0x1e3f1d([0x2e]));if(0x3!=_0x427442[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x108c19(_0x427442[0x1]);function _0x108c19(_0x5ba4b6){const _0x534d06=_0x45cb41(_0x5ba4b6);return _0x534d06&&_0x595fb9()?_0x534d06:null;function _0x595fb9(){const _0x4530d2=_0x534d06[_0x1e3f1d([0x6a,0x74,0x69])],_0x3dc84a=window[_0x1e3f1d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4530d2[_0x1e3f1d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4530d2[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x198cf2={..._0x534d06,[_0x1e3f1d([0x6a,0x74,0x69])]:_0x4530d2[_0x1e3f1d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4530d2[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x198cf2[_0x1e3f1d([0x76,0x63])],_0x27bd6b(_0x198cf2)==_0x3dc84a;}}}async function _0xcfa28d(){let _0x321ac3=!0x0;try{const _0x354cfd=_0x4c73f3[_0x1e3f1d([0x73,0x70,0x6c,0x69,0x74])](_0x1e3f1d([0x2e])),[_0x337b0e,_0x1ebb79,_0x33fe6e]=_0x354cfd;return _0x41256e(_0x337b0e),await _0x2a6ced(_0x337b0e,_0x1ebb79,_0x33fe6e),_0x321ac3;}catch{return!0x1;}function _0x41256e(_0xaa85b2){const _0x18e67e=_0x45cb41(_0xaa85b2);_0x18e67e&&_0x18e67e[_0x1e3f1d([0x61,0x6c,0x67])]==_0x1e3f1d([0x45,0x53,0x32,0x35,0x36])||(_0x321ac3=!0x1);}async function _0x2a6ced(_0x4d0dba,_0x472e03,_0x1cf4b9){const _0x207c76=window[_0x1e3f1d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e3f1d([0x66,0x72,0x6f,0x6d])](_0x59c20f(_0x1cf4b9),_0x388ef2=>_0x388ef2[_0x1e3f1d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe20223=new window[(_0x1e3f1d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e3f1d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d0dba+_0x1e3f1d([0x2e])+_0x472e03),_0x475dd9=window[_0x1e3f1d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e3f1d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x475dd9)return;const _0x55a835=await _0x475dd9[_0x1e3f1d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e3f1d([0x6a,0x77,0x6b]),_0x57dfdf,{[_0x1e3f1d([0x6e,0x61,0x6d,0x65])]:_0x1e3f1d([0x45,0x43,0x44,0x53,0x41]),[_0x1e3f1d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e3f1d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e3f1d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x475dd9[_0x1e3f1d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e3f1d([0x6e,0x61,0x6d,0x65])]:_0x1e3f1d([0x45,0x43,0x44,0x53,0x41]),[_0x1e3f1d([0x68,0x61,0x73,0x68])]:{[_0x1e3f1d([0x6e,0x61,0x6d,0x65])]:_0x1e3f1d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55a835,_0x207c76,_0xe20223)||(_0x321ac3=!0x1);}}function _0x45cb41(_0x330600){return _0x330600[_0x1e3f1d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e3f1d([0x65,0x79]))?JSON[_0x1e3f1d([0x70,0x61,0x72,0x73,0x65])](_0x59c20f(_0x330600)):null;}function _0x59c20f(_0x4e999f){return window[_0x1e3f1d([0x61,0x74,0x6f,0x62])](_0x4e999f[_0x1e3f1d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e3f1d([0x2b]))[_0x1e3f1d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e3f1d([0x2f])));}function _0x27bd6b(_0x11c3d0){let _0x58a8d8=0x1505;function _0x3cc2e0(_0x29f3fc){for(let _0x39e28b=0x0;_0x39e28b<_0x29f3fc[_0x1e3f1d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39e28b++){const _0x1ccdc6=_0x29f3fc[_0x1e3f1d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39e28b);_0x58a8d8=(_0x58a8d8<<0x5)+_0x58a8d8+_0x1ccdc6,_0x58a8d8&=_0x58a8d8;}}function _0x1293b1(_0x1244ed){Array[_0x1e3f1d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1244ed)?_0x1244ed[_0x1e3f1d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1293b1):_0x1244ed&&typeof _0x1244ed==_0x1e3f1d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e3f1d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1244ed)[_0x1e3f1d([0x73,0x6f,0x72,0x74])]()[_0x1e3f1d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf3c880,_0x1aa15e])=>{_0x3cc2e0(_0xf3c880),_0x1293b1(_0x1aa15e);}):_0x3cc2e0(window[_0x1e3f1d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1244ed));}return _0x1293b1(_0x11c3d0),_0x58a8d8>>>0x0;}function _0x29e219(_0x4a4eab){return _0x4a4eab[_0x1e3f1d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e3f1d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e3f1d([0x30]));}function _0x5d2ae8(_0x43cdad){return _0x43cdad[_0x1e3f1d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e3f1d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e3f1d([0x6a,0x6f,0x69,0x6e])]('');}function _0xad211f(){}function _0x1e3f1d(_0x3d8967){return _0x3d8967['map'](_0x45122d=>String['fromCharCode'](_0x45122d))['join']('');}_0xba7156(await _0x345d91());}(this);}['_initSchema'](){const _0x3e6df2=this['editor']['model']['schema'];_0x3e6df2['isRegistered']('imageBlock')&&_0x3e6df2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3e6df2['isRegistered']('imageInline')&&_0x3e6df2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x458254=this['editor'];_0x458254['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x458254['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x276226=>_0x276226['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x48094f=_0x458254['commands']['get']('replaceImageSource');_0x48094f&&this['listenTo'](_0x48094f,'cleanupImage',(_0x335d0a,[_0x57bc56,_0xdb9344])=>{_0x57bc56['removeAttribute']('uploadcareImageId',_0xdb9344);});}['_initConfig'](){const _0x5ed7f7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x22a7ff=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x460cb3(_0x511b66['document'],'uc-config',{..._0x5ed7f7,'pubkey':_0x22a7ff,'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']=_0x479f50=>{if('closeMax'==_0x479f50)return'#uc-icon-arrow-down';},_0x511b66['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x460cb3(_0x511b66['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x511b66['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x7d4187=this['editor']['commands']['get']('insertImage');_0x7d4187&&this['listenTo'](_0x7d4187,'execute',()=>{const _0x231ba5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x231ba5&&_0x231ba5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x231ba5);});});const _0x1deeb3=this['editor']['commands']['get']('uploadcareImageReplace');_0x1deeb3&&this['listenTo'](_0x1deeb3,'execute',()=>{const _0x36d5c6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x36d5c6&&_0x36d5c6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x36d5c6);});});}}class tt extends _0x1ab169{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59d598){super(_0x59d598),_0x59d598['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5e4564['defineComponents'](_0x5e4564),this['_defineLocale']();}['_defineLocale'](){const _0x30ed85=this['editor']['config']['get']('uploadcare.locale'),_0x33c69b=this['editor']['locale']['contentLanguage'];_0x30ed85&&_0x5e4564['defineLocale'](_0x33c69b,_0x30ed85);}}class ii extends _0x26e369{constructor(_0x58b45f){super(_0x58b45f);const t=_0x58b45f['t'],_0x1123f0=this['bindTemplate'],_0x216baf=new _0x37a496();_0x216baf['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':[_0x216baf,{'text':_0x1123f0['to']('imageUploadProgress',_0x36674d=>t('Loading\x20image...')+'\x20('+(_0x36674d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x26e369{constructor(_0x51bb63){super(_0x51bb63);const t=_0x51bb63['t'];this['set']('errorType',null);const _0x1bb499=new _0x1b309e(_0x51bb63);_0x1bb499['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1bb499['withText']=!0x0,_0x1bb499['class']='ck-button-action',_0x1bb499['on']('execute',()=>{this['fire']('retry');}),_0x1bb499['bind']('isVisible')['to'](this,'errorType',_0xa0ecf7=>'NotFound'!==_0xa0ecf7);const _0x156f02=new _0x4c2c58();_0x156f02['content']=_0x4b8c38,_0x156f02['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x372e60=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':[_0x156f02,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x372e60['to']('errorType',_0x5871ae=>t('NotFound'!==_0x5871ae?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1bb499]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x26e369{constructor(_0xa890,_0x50bba6){super(_0xa890);const _0x9cca11=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x50bba6,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x9cca11['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x50b95a,_0x50fa9f,_0x43c056){super(_0x50b95a),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x50b95a),this['_errorView']=new ti(_0x50b95a),this['_editingView']=new ei(_0x50b95a,_0x43c056),this['_focusableView']=new _0x26e369(_0x50b95a),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x50fa9f),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'],_0xf21f86=>{this['_addUploadcareImageEditorListeners'](_0xf21f86);});}),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'](_0x104437,_0x4c2fbf){const _0x24cb68='uc-cloud-image-editor',_0x34e50e=_0x104437['querySelector'](_0x24cb68);if(_0x34e50e)return _0x4c2fbf(_0x34e50e);const _0x1b739c=new MutationObserver(_0x15b104=>{const _0x98555b=_0x15b104['filter'](_0x3a7b38=>_0x3a7b38['target']===_0x104437&&_0x3a7b38['addedNodes']['length']>0x0&&_0x3a7b38['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x24cb68);_0x98555b['length']&&(_0x1b739c['disconnect'](),_0x4c2fbf(_0x98555b[0x0]['addedNodes'][0x0]));});_0x1b739c['observe'](_0x104437,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1467f5){_0x1467f5['addEventListener']('apply',_0x5e81c1=>{this['fire']('apply',{'imageSrc':_0x5e81c1['detail']['cdnUrl']});}),_0x1467f5['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x28bbb1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x432f83,_0x75bd08,_0x22c873){super(),this['_editor']=_0x432f83,this['_dialog']=_0x75bd08,this['_imageElement']=_0x22c873,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 _0x80abce=this['_imageElement'],_0x3e2f59=_0x80abce['getAttribute']('uploadcareImageId'),_0xcab6a8=_0x80abce['getAttribute']('src');if(_0x3e2f59)await this['_loadImageInfo'](_0x3e2f59,_0xcab6a8);else{if(this['_imageCache']['has'](_0xcab6a8)){const _0x531b64=this['_imageCache']['get'](_0xcab6a8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x531b64['url'],this['imageDimension']=_0x531b64['dimension'],this['imageId']=_0x531b64['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4dce18}=this['_editor'],t=_0x4dce18['t'],_0x5c11b5=new X(_0x4dce18,this['imageStatus'],this['_attributes']);_0x5c11b5['bind']('status')['to'](this,'imageStatus'),_0x5c11b5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5c11b5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5c11b5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5c11b5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x412cf8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5c11b5,'position':_0x50581c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5c11b5['focus']();},'onHide':()=>{_0x5c11b5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x378b98=>!A(_0x378b98,_0x5c11b5['element'])}});}['_loadImageInfo'](_0x11efeb,_0x85c791){return j['getInfo'](_0x11efeb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xc129f7=>{const {width:_0x409390,height:_0x4cd3cb}=_0xc129f7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x85c791,this['imageDimension']={'width':_0x409390,'height':_0x4cd3cb},this['imageId']=_0x11efeb;})['catch'](_0x5993be=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5993be['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x92facf,_0x1a5eac){return this['_getImageAsFile'](_0x92facf)['then'](_0x321262=>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':_0x1a5eac['signal'],'file':_0x321262,'onProgress':_0x551c19=>{_0x551c19&&_0x551c19['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x551c19['value']));}}))['then'](_0x5c9fde=>{const {width:_0x17c13d,height:_0x4b5c1b}=_0x5c9fde['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c9fde['cdnUrl'],this['imageDimension']={'width':_0x17c13d,'height':_0x4b5c1b},this['imageId']=_0x5c9fde['uuid'],this['imageUploadProgress']=null;const _0x2d86b4=_0x92facf['getAttribute']('src');this['_imageCache']['set'](_0x2d86b4,{'id':_0x5c9fde['uuid'],'url':_0x5c9fde['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x41b6a0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x41b6a0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x25a363,_0x170617){_0x25a363['on']('apply',(_0x463e38,_0x5c40e6)=>{this['_replaceImage'](_0x170617,_0x5c40e6['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x25a363['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x25a363['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1b534a,_0x1195b2,_0x1e72d0){const _0x152d3f=this['_editor'],{width:_0x1c07fb,height:_0x154d8d}=S(_0x1195b2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xe0b551,imageSources:_0x1aff3c}=C(_0x1195b2,_0x1c07fb);_0x152d3f['model']['change'](_0x49e881=>{if('$graveyard'===_0x1b534a['root']['rootName']){_0x152d3f['execute']('insertImage',{'imageType':_0x1b534a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1b534a['getAttributes']()),'uploadcareImageId':_0x1e72d0,'src':_0xe0b551,'sources':_0x1aff3c,'width':_0x1c07fb,'height':_0x154d8d}});const _0x88f166=_0x1b534a['getChildren']();_0x1b534a=_0x152d3f['model']['document']['selection']['getSelectedElement']();for(const _0x55b83f of _0x88f166)_0x49e881['append'](_0x49e881['cloneElement'](_0x55b83f),_0x1b534a);}else _0x49e881['setSelection'](_0x1b534a,'on'),_0x152d3f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1b534a['getAttributes']()),'uploadcareImageId':_0x1e72d0,'src':_0xe0b551,'sources':_0x1aff3c,'width':_0x1c07fb,'height':_0x154d8d},_0x1b534a);_0x49e881['setSelection'](_0x1b534a,'on');});}async['_getImageAsFile'](_0x35439f){const _0x582838=_0x511b66['window'],_0x2d1ea4=_0x511b66['document']['location']['href'],_0x23a780=new _0x582838['URL'](_0x35439f['getAttribute']('src'),_0x2d1ea4);if('data:'===_0x23a780['protocol']){const _0x4dc754=_0x23a780['href']['split'](','),_0x349447=_0x4dc754[0x0]['match'](/:(.*?);/)[0x1],_0xc392f2=_0x349447['split']('/')[0x1],_0x5b0c6e=_0x582838['atob'](_0x4dc754[_0x4dc754['length']-0x1]);let _0x28b41a=_0x5b0c6e['length'];const _0x189ea6=new _0x582838['Uint8Array'](_0x28b41a);for(;_0x28b41a--;)_0x189ea6[_0x28b41a]=_0x5b0c6e['charCodeAt'](_0x28b41a);return new _0x582838['File']([_0x189ea6],'image.'+_0xc392f2,{'type':_0x349447});}const _0x6cf587=_0x23a780['href']['split']('/'),_0x145ab1=_0x6cf587[_0x6cf587['length']-0x1],_0x53a416=_0x145ab1['split']('.')[0x1];return _0x582838['fetch'](_0x23a780['href'])['then'](_0x37ea7e=>_0x37ea7e['clone']()['blob']())['then'](_0x3ef688=>new _0x582838['File']([_0x3ef688],_0x145ab1,{'type':'image/'+_0x53a416}));}}class O extends _0x2b38bc{['imageEditController'];static get['requires'](){return[_0x31303f];}['_isEditable'];constructor(_0x2d450d){super(_0x2d450d),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xe1a0d6){const _0x4c5ee5=G(_0xe1a0d6);return _0x25fab2=>!(!_0x25fab2||!_0x25fab2['is']('element','imageBlock')&&!_0x25fab2['is']('element','imageInline'))&&(!!_0x25fab2['hasAttribute']('uploadcareImageId')||!!_0x25fab2['hasAttribute']('src')&&_0x4c5ee5(_0x25fab2['getAttribute']('src')));}(_0x2d450d['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3b3202=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3b3202);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5a1b2f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5a1b2f&&(_0x5a1b2f['is']('element','imageBlock')||_0x5a1b2f['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x31303f),_0x5a1b2f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2b38bc{['refresh'](){const _0x1c99b3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1c99b3&&(_0x1c99b3['is']('element','imageBlock')||_0x1c99b3['is']('element','imageInline')));}['execute'](_0x2d6ed1){const _0x4cfe60=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x41ff54=>{_0x41ff54['setAttributes'](_0x2d6ed1,_0x4cfe60),_0x41ff54['removeAttribute']('srcset',_0x4cfe60),_0x41ff54['removeAttribute']('sizes',_0x4cfe60);});}}class m extends _0x1ab169{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x5ac6a1,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f38e0}=this;_0x4f38e0['commands']['add']('uploadcareImageEdit',new O(_0x4f38e0)),_0x4f38e0['commands']['add']('uploadcareImageReplace',new R(_0x4f38e0));}}class g extends _0x1ab169{['_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 _0x3469ae=this['editor'];_0x3469ae['ui']['componentFactory']['add']('uploadcareImageEdit',_0x398959=>{const _0x4f0a0e=_0x3469ae['commands']['get']('uploadcareImageEdit'),_0x5165d1=new _0x1b309e(_0x398959),t=_0x398959['t'];return _0x5165d1['set']({'icon':_0x412cf8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5165d1['bind']('isEnabled')['to'](_0x4f0a0e),_0x5165d1['bind']('isOn')['to'](_0x4f0a0e,'isActive'),this['listenTo'](_0x5165d1,'execute',()=>{_0x3469ae['execute']('uploadcareImageEdit'),_0x3469ae['editing']['view']['focus']();}),_0x5165d1;}),this['_initConfig']();}['_initConfig'](){const _0x2c45c3=_0x460cb3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2c45c3),this['listenTo'](this['editor'],'destroy',()=>{_0x2c45c3['remove']();});}}class et extends _0x1ab169{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x18110a,Command as _0x3c77fd}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x592dfa,IconGooglePhotos as _0x2db7bc,IconGoogleDrive as _0x338da4,IconFacebook as _0x2c9bdb,IconDropbox as _0xc0e14d,IconUploadcareLink as _0x514b7a,IconUploadcareImageUpload as _0x1b462d,IconError as _0x3c9387,IconUploadcareImageEdit as _0x5abb25}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x19cf23,MenuBarMenuListItemButtonView as _0xb4dac4,View as _0x242f3a,FocusCycler as _0x34d88b,Dialog as _0x376964,DialogViewPosition as _0x5ebf6b,SpinnerView as _0x41b901,IconView as _0x3b1020,Notification as _0x3e7bce}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x139c13,DomEmitterMixin as _0x5aa97e,global as _0x2ec278,getAncestors as _0x55d019,ObservableMixin as _0x4572f5,uid as _0x3a9229,createElement as _0x33465e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xe957f}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x556e2c,info as _0x52d514}from'@uploadcare/upload-client';import*as _0x2a07b6 from'@uploadcare/file-uploader';var i=function(_0x363e33){return _0x363e33['Local']='local',_0x363e33['URL']='url',_0x363e33['Dropbox']='dropbox',_0x363e33['GDrive']='gdrive',_0x363e33['Facebook']='facebook',_0x363e33['GPhotos']='gphotos',_0x363e33['OneDrive']='onedrive',_0x363e33;}({});function _(_0x331d8d,_0x3012e,_0x5dd017){const t=_0x331d8d['t'],_0x4093de=_0x331d8d['t'];switch(_0x3012e){case i['Local']:return{'text':_0x4093de('Insert'===_0x5dd017?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4093de('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x5dd017?_0x4093de('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4093de('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x5dd017?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x5dd017?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x5dd017?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x5dd017?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x5dd017?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3012e;}}class e extends _0x18110a{['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 _0x2d82e5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x157a95;for(const _0x343873 in _0x2d82e5){const _0x594265=_0x343873,_0x49a93f=_0x2d82e5[_0x594265];if('uploadcareLicenseKeyValid'==_0x49a93f||'uploadcareLicenseKeyInvalid'==_0x49a93f||'uploadcareLicenseKeyExpired'==_0x49a93f||'uploadcareLicenseKeyDomainLimit'==_0x49a93f||'uploadcareLicenseKeyNotAllowed'==_0x49a93f||'uploadcareLicenseKeyEvaluationLimit'==_0x49a93f||'uploadcareLicenseKeyTrialLimit'==_0x49a93f||'uploadcareLicenseKeyUsageLimit'==_0x49a93f){delete _0x2d82e5[_0x594265],_0x157a95=_0x49a93f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x157a95&&_0x2d82e5['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x157a95&&_0x2d82e5['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x157a95&&_0x2d82e5['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x157a95&&_0x2d82e5['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x157a95&&_0x2d82e5['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x157a95&&_0x2d82e5['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x157a95&&_0x2d82e5['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x255d68}=this,_0x3a3d60=_0x255d68['commands']['get']('uploadcare');if(!_0x3a3d60)return;const _0x24054d=this['_normalizeConfigSourceList'](_0x255d68['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4f39e,_0x63f5f9)=>{const _0x35d825=this['_getIntegrationKey'](_0x63f5f9['type']);return _0x4f39e[_0x35d825]||(_0x4f39e[_0x35d825]=[]),_0x4f39e[_0x35d825]['push'](_0x63f5f9),_0x4f39e;},{});_0x255d68['plugins']['has']('ImageInsertUI')&&_0x255d68['commands']['get']('uploadcare')&&Object['entries'](_0x24054d)['forEach'](([_0x5f8edd,_0x5b5b5a])=>{_0x255d68['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5f8edd,'observable':()=>_0x3a3d60,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5b5b5a),'formViewCreator':()=>this['_createDropdownButtons'](_0x5b5b5a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5b5b5a),'override':'assetManager'!==_0x5f8edd});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x419046){const {locale:_0x2147e0}=this['editor'];return _0x419046['map'](_0x57d04b=>{const _0x2d182e=_(_0x2147e0,_0x57d04b,'Insert');switch(_0x57d04b){case i['Local']:return{'icon':_0x1b462d,'type':i['Local'],..._0x2d182e};case i['URL']:return{'icon':_0x514b7a,'type':i['URL'],..._0x2d182e};case i['Dropbox']:return{'icon':_0xc0e14d,'type':i['Dropbox'],..._0x2d182e};case i['Facebook']:return{'icon':_0x2c9bdb,'type':i['Facebook'],..._0x2d182e};case i['GDrive']:return{'icon':_0x338da4,'type':i['GDrive'],..._0x2d182e};case i['GPhotos']:return{'icon':_0x2db7bc,'type':i['GPhotos'],..._0x2d182e};case i['OneDrive']:return{'icon':_0x592dfa,'type':i['OneDrive'],..._0x2d182e};}});}['_getIntegrationKey'](_0x2ac827){switch(_0x2ac827){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x471de1,_0x4ca5a9){const _0x1ceb35=this['editor'],_0x3e9aa5=new _0x471de1(_0x1ceb35['locale']),_0x31e352=_0x1ceb35['commands']['get']('uploadcare');return _0x3e9aa5['bind']('isEnabled')['to'](_0x31e352),_0x3e9aa5['on']('execute',()=>{_0x31e352['execute'](_0x4ca5a9);}),_0x3e9aa5;}['_createToolbarButton'](_0x319496){const {locale:_0x27b363}=this['editor'],_0xfb19a0=this['editor']['plugins']['get']('ImageInsertUI'),_0x4ce24c=_0x319496[0x0],_0x288b92=this['_createButton'](_0x19cf23,_0x4ce24c['type']);return _0x288b92['icon']=_0x4ce24c['icon'],_0x288b92['bind']('label')['to'](_0xfb19a0,'isImageSelected',_0x8ae378=>_(_0x27b363,_0x4ce24c['type'],_0x8ae378?'Replace':'Insert')['text']),_0x288b92['tooltip']=!0x0,_0x288b92;}['_createDropdownButtons'](_0xfcbd53){const {locale:_0x4c32c3}=this['editor'],_0x2c24fe=this['editor']['plugins']['get']('ImageInsertUI');return _0xfcbd53['map'](_0x36fa86=>{const _0xa37852=this['_createButton'](_0x19cf23,_0x36fa86['type']);return _0xa37852['withText']=!0x0,_0xa37852['icon']=_0x36fa86['icon'],_0xa37852['bind']('label')['to'](_0x2c24fe,'isImageSelected',_0xc6a5d0=>_(_0x4c32c3,_0x36fa86['type'],_0xc6a5d0?'Replace':'Insert')['text']),_0xa37852;});}['_createMenuBarButtons'](_0xe03e28){return _0xe03e28['map'](_0x27a85b=>{const _0x2006fe=this['_createButton'](_0xb4dac4,_0x27a85b['type']);return _0x2006fe['icon']=_0x27a85b['icon'],_0x2006fe['label']=_0x27a85b['shortText'],_0x2006fe;});}}class W extends _0x242f3a{['focusTracker'];['focusCycler'];constructor(_0xff8b1f){super(_0xff8b1f),this['focusTracker']=new _0x139c13(),this['focusCycler']=new _0x34d88b({'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 R extends W{constructor(_0xd6a62f,_0x18d8dd){super(_0xd6a62f),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-'+_0x18d8dd}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x14569d,_0x34b937){const _0x19aaf3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x22abec=>_0x22abec<=_0x34b937)['map'](_0x27fcfa=>_0x14569d['replace'](/\/$/,'')+'/-/resize/'+_0x27fcfa+'x/\x20'+_0x27fcfa+'w');return{'imageFallbackUrl':_0x14569d,'imageSources':[{'srcset':_0x19aaf3['join'](',\x20'),'sizes':'(max-width:\x20'+_0x34b937+'px)\x20100vw,\x20'+_0x34b937+'px','type':'image/webp'}]};}function V(_0x440c2f,_0x5eb7b3,_0x4aaeec){const _0x424d9a=_0x440c2f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x424d9a?parseInt(_0x424d9a[0x1],0xa):_0x5eb7b3,'height':_0x424d9a?parseInt(_0x424d9a[0x2],0xa):_0x4aaeec};}function p(_0x4ebe22,_0x14a0a8){const _0x3925b7=new(_0x5aa97e())(),_0x5313de=_0x4ebe22['plugins']['get']('ImageUtils'),_0x555526=_0x4ebe22['editing']['mapper']['toViewElement'](_0x14a0a8),_0x45d060=_0x5313de['findViewImgElement'](_0x555526),_0x42ceec=_0x4ebe22['editing']['view']['domConverter']['viewToDom'](_0x45d060),_0x5c01e2=_0x14a0a8['getAttribute']('width'),_0x1f2d5a=_0x14a0a8['getAttribute']('height'),_0x353d32='image-processing';_0x4ebe22['editing']['view']['change'](_0x472469=>{_0x472469['addClass'](_0x353d32,_0x555526),_0x472469['setStyle']('aspect-ratio',_0x5c01e2+'/'+_0x1f2d5a,_0x45d060);}),_0x3925b7['listenTo'](_0x42ceec,'load',()=>{_0x3925b7['stopListening'](_0x42ceec,'load'),_0x4ebe22['editing']['view']['change'](_0x13c109=>{_0x13c109['removeClass'](_0x353d32,_0x555526),_0x13c109['removeStyle']('aspect-ratio',_0x45d060);});});}function z(_0x2a38b0){if(Array['isArray'](_0x2a38b0)){const _0x5528ac=_0x2a38b0['map'](z);return _0x1bf106=>_0x5528ac['some'](_0x953293=>_0x953293(_0x1bf106));}if('origin'==_0x2a38b0){const _0xb27315=_0x2ec278['window']['location']['origin'];return _0x5c9cf0=>new URL(_0x5c9cf0,_0x2ec278['document']['baseURI'])['origin']==_0xb27315;}return'function'==typeof _0x2a38b0?_0x2a38b0:_0x2a38b0 instanceof RegExp?_0x2ace3a=>!(!_0x2ace3a['match'](_0x2a38b0)&&!_0x2ace3a['replace'](/^https?:\/\//,'')['match'](_0x2a38b0)):()=>!0x1;}function Q(_0xd4780d,_0x4f549f){return _0x55d019(_0xd4780d['target'])['includes'](_0x4f549f);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x4572f5(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1f2b1c,_0x566937,_0x59ea72){super(),this['_editor']=_0x1f2b1c,this['_editing']=_0x566937,this['_dialog']=_0x1f2b1c['plugins']['get'](_0x376964),this['_api']=_0x566937['ctxElement']['getAPI'](),this['_type']=_0x59ea72,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:_0x14d9b5,model:_0x3c57ff}=this['_editor'],_0x541c7e=_0x3c57ff['document']['selection']['getSelectedElement'](),_0x248fc3=_0x541c7e&&(_0x541c7e['is']('element','imageBlock')||_0x541c7e['is']('element','imageInline'));this['_formView']=new R(_0x14d9b5,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1b462d,'title':_(_0x14d9b5,this['_type'],_0x248fc3?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5ebf6b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4101bb=>!Q(_0x4101bb,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x313bbf}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3a6a5b=>{const _0x3887b3=_0x313bbf['length'];for(const _0x3e07ad of _0x313bbf){const _0x2f47e0=_0x3e07ad===_0x313bbf[_0x3887b3-0x1],{cdnUrl:_0x206190,fileInfo:_0x3d8c25}=_0x3e07ad;if(!_0x206190||!_0x3d8c25)continue;const {width:_0x8922ab,height:_0x2fd61f}=_0x3d8c25['imageInfo'],_0x2685d5=V(_0x206190,_0x8922ab,_0x2fd61f),_0x17141a=C(_0x206190,_0x2685d5['width']),_0x1c48d1={'id':_0x3d8c25['uuid'],'type':'image','attributes':{'imageDimension':_0x2685d5,..._0x17141a}};this['_insertAsset'](_0x1c48d1,_0x2f47e0,_0x3a6a5b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x37a93c=>{'idle'===_0x37a93c['detail']['status']&&!_0x37a93c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x16b6cb,_0x5203f8,_0x378bc8){const _0x244771=this['_editor']['model']['document']['selection'],_0xf3377d=_0x244771['getSelectedElement'](),_0x2ec52d=!(!_0xf3377d||!_0xf3377d['is']('element','imageInline'));_0x378bc8['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x16b6cb,_0x2ec52d),_0x5203f8||_0x378bc8['setSelection'](_0x244771['getLastPosition']());}['_insertImage'](_0x53c8f4,_0x27ee48){const _0x16c63f=this['_editor'],{imageDimension:_0x48cd84,imageFallbackUrl:_0x3129ca,imageSources:_0x9ee65f}=_0x53c8f4['attributes'];_0x16c63f['execute']('insertImage',{'imageType':_0x27ee48?'imageInline':null,'source':{'uploadcareImageId':_0x53c8f4['id'],'src':_0x3129ca,'sources':_0x9ee65f,..._0x48cd84}});}}class w extends _0x3c77fd{['_editing'];['_controller']=null;static get['requires'](){return[_0x376964,o];}constructor(_0x33b048){super(_0x33b048),this['_editing']=_0x33b048['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x56135b){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x56135b);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0xd80bee,..._0x53577d}){return _0x556e2c(_0xd80bee,_0x53577d);}static['getInfo'](_0x1c1206,_0x27675b){return _0x52d514(_0x1c1206,_0x27675b);}}class f extends _0x18110a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xe957f,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1f2ec4=this['editor'];if(!!!_0x1f2ec4['config']['get']('uploadcare'))return;_0x1f2ec4['plugins']['get'](_0xe957f)['createUploadAdapter']=_0x28d0e4=>new k(_0x28d0e4,_0x1f2ec4),_0x1f2ec4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2a22f4,{imageElement:_0x187f19,data:_0xd40363})=>{_0x1f2ec4['model']['change'](_0x12c443=>{_0x12c443['setAttribute']('uploadcareImageId',_0xd40363['uploadcareImageId'],_0x187f19);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3947d3,_0x24ef77){this['loader']=_0x3947d3,this['editor']=_0x24ef77,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4167fd=await this['loader']['file'];return j['upload']({'file':_0x4167fd,'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':_0x215b85=>{_0x215b85&&_0x215b85['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x215b85['value']);}})['then'](async _0x39d978=>{const {imageFallbackUrl:_0x4ca414,imageSources:_0x142615}=C(_0x39d978['cdnUrl'],_0x39d978['imageInfo']['width']);return{'uploadcareImageId':_0x39d978['uuid'],'default':_0x4ca414,'sources':_0x142615};})['catch'](()=>{const _0x119254=t('Cannot\x20upload\x20file:')+('\x20'+_0x4167fd['name']+'.');return Promise['reject'](_0x119254);});}['abort'](){this['controller']['abort']();}}class o extends _0x18110a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x376964];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x417631){super(_0x417631),this['ucContextId']=_0x3a9229();}['init'](){const _0x1b74a8=this['editor'];_0x1b74a8['commands']['add']('uploadcare',new w(_0x1b74a8));}['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 _0x5cd4ca=_0x2ec278['document']['querySelector']('input[uploadcare-file-input]');_0x5cd4ca&&_0x5cd4ca['remove']();}),async function(_0x36c4d7){const _0x5185ae=_0x5520f0([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]),_0x472525=0x535f8c3a,_0x4b4fd5=0x5358f6aa^_0x472525,_0x52f8d4=window[_0x5520f0([0x44,0x61,0x74,0x65])][_0x5520f0([0x6e,0x6f,0x77])](),_0x1332df=_0x36c4d7[_0x5520f0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2faf29=new window[(_0x5520f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5787a1=>{_0x1332df[_0x5520f0([0x6f,0x6e,0x63,0x65])](_0x5520f0([0x72,0x65,0x61,0x64,0x79]),_0x5787a1);}),_0x3eb84c={[_0x5520f0([0x6b,0x74,0x79])]:_0x5520f0([0x45,0x43]),[_0x5520f0([0x75,0x73,0x65])]:_0x5520f0([0x73,0x69,0x67]),[_0x5520f0([0x63,0x72,0x76])]:_0x5520f0([0x50,0x2d,0x32,0x35,0x36]),[_0x5520f0([0x78])]:_0x5520f0([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]),[_0x5520f0([0x79])]:_0x5520f0([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]),[_0x5520f0([0x61,0x6c,0x67])]:_0x5520f0([0x45,0x53,0x32,0x35,0x36])},_0x380515=_0x1332df[_0x5520f0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5520f0([0x67,0x65,0x74])](_0x5520f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4886cc(){let _0x583ab7,_0x59b5d5=null,_0x1723bf=null;try{if(_0x380515==_0x5520f0([0x47,0x50,0x4c]))return _0x5520f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x583ab7=_0x29b9e1(),!_0x583ab7)return _0x5520f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x583ab7[_0x5520f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1723bf=_0x5f38b1(_0x583ab7[_0x5520f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x583ab7[_0x5520f0([0x6a,0x74,0x69])])),await _0x2532fc()?_0x31d88c()?_0x1d72f4()?_0x5520f0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48b384()?(_0x583ab7[_0x5520f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5520f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59b5d5=_0x37ec75(_0x5520f0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x583ab7[_0x5520f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5520f0([0x74,0x72,0x69,0x61,0x6c])&&(_0x59b5d5=_0x37ec75(_0x5520f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c36f6()):_0x5520f0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5520f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5520f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5520f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d72f4(){const _0x229a11=[_0x5520f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5520f0([0x74,0x72,0x69,0x61,0x6c])][_0x5520f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x583ab7[_0x5520f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x52f8d4/0x3e8:0xe10*_0x4b4fd5;return _0x583ab7[_0x5520f0([0x65,0x78,0x70])]<_0x229a11;}function _0x31d88c(){const _0x99203a=_0x583ab7[_0x5520f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x99203a&&(!!_0x99203a[_0x5520f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5520f0([0x2a]))||!!_0x99203a[_0x5520f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5520f0([0x55,0x50,0x4c,0x43])));}function _0x48b384(){const _0x53c8c7=_0x583ab7[_0x5520f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53c8c7||0x0==_0x53c8c7[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48c329}=new URL(window[_0x5520f0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x53c8c7[_0x5520f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48c329))return!0x0;const _0x28bc15=_0x48c329[_0x5520f0([0x73,0x70,0x6c,0x69,0x74])](_0x5520f0([0x2e]));return _0x53c8c7[_0x5520f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x375d88=>_0x375d88[_0x5520f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5520f0([0x2a])))[_0x5520f0([0x6d,0x61,0x70])](_0x27a189=>_0x27a189[_0x5520f0([0x73,0x70,0x6c,0x69,0x74])](_0x5520f0([0x2e])))[_0x5520f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x560c31=>_0x560c31[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28bc15[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5520f0([0x6d,0x61,0x70])](_0x30908b=>Array(_0x28bc15[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30908b[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5520f0([0x66,0x69,0x6c,0x6c])](_0x30908b[0x0]===_0x5520f0([0x2a])?_0x5520f0([0x2a]):'')[_0x5520f0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30908b))[_0x5520f0([0x73,0x6f,0x6d,0x65])](_0x13aab0=>_0x28bc15[_0x5520f0([0x65,0x76,0x65,0x72,0x79])]((_0x1a5b6b,_0x7df5b3)=>_0x13aab0[_0x7df5b3]===_0x1a5b6b||_0x13aab0[_0x7df5b3]===_0x5520f0([0x2a])));}function _0x2c36f6(){return _0x59b5d5&&_0x1723bf?new window[(_0x5520f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8ed898,_0x85be78)=>{_0x59b5d5[_0x5520f0([0x74,0x68,0x65,0x6e])](_0x8ed898,_0x85be78),_0x1723bf[_0x5520f0([0x74,0x68,0x65,0x6e])](_0x49b2ea=>{_0x49b2ea!=_0x5520f0([0x56,0x61,0x6c,0x69,0x64])&&_0x8ed898(_0x49b2ea);},_0x85be78);}):_0x59b5d5||_0x1723bf||_0x5520f0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5f38b1(_0x31b49a,_0x5a4ed4){return new window[(_0x5520f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d5540=>{if(_0xdfbc96())return _0x1d5540(_0x5520f0([0x56,0x61,0x6c,0x69,0x64]));_0x29090a(),_0x1332df[_0x5520f0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5520f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b38e1=!0x1;const _0x54f066=_0x3a9229();function _0x4a1cbf(_0x1d76f0){return!!_0x1d76f0&&(typeof _0x1d76f0===_0x5520f0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d76f0===_0x5520f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d76f0[_0x5520f0([0x74,0x68,0x65,0x6e])]===_0x5520f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d76f0[_0x5520f0([0x63,0x61,0x74,0x63,0x68])]===_0x5520f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2121af(_0x572b6f){_0xa5bd05(_0x572b6f)[_0x5520f0([0x74,0x68,0x65,0x6e])](_0x1ba972=>{if(!_0x1ba972||_0x1ba972[_0x5520f0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5520f0([0x6f,0x6b]))return _0x5520f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d95ad(_0x343dad(_0x54f066+_0x5a4ed4))!=_0x1ba972[_0x5520f0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5520f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5520f0([0x56,0x61,0x6c,0x69,0x64]);})[_0x5520f0([0x74,0x68,0x65,0x6e])](_0x3fba2e=>(_0x118f0d(),_0x3fba2e),()=>{const _0xaab422=_0x42326b();return null==_0xaab422?(_0x118f0d(),_0x5520f0([0x56,0x61,0x6c,0x69,0x64])):_0x5520f0(_0x52f8d4-_0xaab422>(0x7753083a^_0x472525)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5520f0([0x74,0x68,0x65,0x6e])](_0x1d5540)[_0x5520f0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d5540(_0x5520f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2cd7a2=0x536962ba^_0x472525;function _0x118f0d(){const _0x473a8d=_0x5520f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d95ad(_0x343dad(_0x31b49a)),_0x4886e2=_0x4b10d1(_0x3d95ad(window[_0x5520f0([0x4d,0x61,0x74,0x68])][_0x5520f0([0x63,0x65,0x69,0x6c])](_0x52f8d4/_0x2cd7a2)));window[_0x5520f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5520f0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x473a8d,_0x4886e2);}function _0x42326b(){const _0x210c4a=_0x5520f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d95ad(_0x343dad(_0x31b49a)),_0x18ee51=window[_0x5520f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5520f0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x210c4a);return _0x18ee51?window[_0x5520f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b10d1(_0x18ee51),0x10)*_0x2cd7a2:null;}function _0xa5bd05(_0x4d411b){return new window[(_0x5520f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f0e63,_0x24a740)=>{_0x4d411b[_0x5520f0([0x74,0x68,0x65,0x6e])](_0x5f0e63,_0x24a740),window[_0x5520f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24a740,0x535e58fa^_0x472525);});}}_0x1332df[_0x5520f0([0x6f,0x6e])](_0x5520f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ac714,_0x37e5c7)=>{if(_0x37e5c7[0x0]!=_0x31b49a)return _0x1d5540(_0x5520f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37e5c7[0x1]={..._0x37e5c7[0x1],[_0x5520f0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x54f066};},{[_0x5520f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5520f0([0x68,0x69,0x67,0x68])}),_0x1332df[_0x5520f0([0x6f,0x6e])](_0x5520f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37847f=>{_0x4a1cbf(_0x37847f[_0x5520f0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b38e1=!0x0,_0x2121af(_0x37847f[_0x5520f0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5520f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5520f0([0x6c,0x6f,0x77])}),_0x2faf29[_0x5520f0([0x74,0x68,0x65,0x6e])](()=>{_0x3b38e1||_0x1d5540(_0x5520f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xdfbc96(){return _0x1332df[_0x5520f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5520f0([0x76,0x69,0x65,0x77])][_0x5520f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5520f0([0x61,0x75,0x74,0x6f]);}function _0x29090a(){_0x1332df[_0x5520f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5520f0([0x76,0x69,0x65,0x77])][_0x5520f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5520f0([0x61,0x75,0x74,0x6f]);}}function _0x37ec75(_0x318475){const _0x5969d8=[new window[(_0x5520f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x313c55=>setTimeout(_0x313c55,0x5356b2f6^_0x472525)),_0x2faf29[_0x5520f0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5520f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6d4342=>{let _0x310a7c=0x0;_0x1332df[_0x5520f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5520f0([0x6f,0x6e])](_0x5520f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f5a92,_0x533084)=>{_0x533084[0x0][_0x5520f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x310a7c++,_0x310a7c==(0x535f8dc2^_0x472525)&&(_0x6d4342(),_0x2f5a92[_0x5520f0([0x6f,0x66,0x66])]());});}))];return window[_0x5520f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5520f0([0x72,0x61,0x63,0x65])](_0x5969d8)[_0x5520f0([0x74,0x68,0x65,0x6e])](()=>_0x318475);}async function _0x23b5eb(){await _0x2faf29,_0x1332df[_0x5520f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5520f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20f02a,_0x1332df[_0x5520f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5520f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20f02a,_0x1332df[_0x5520f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5520f0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a515b(_0x1c4f7b){const _0x436a57=_0x371c63();_0x1332df[_0x436a57]=_0x5520f0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c4f7b,_0x1c4f7b!=_0x5520f0([0x56,0x61,0x6c,0x69,0x64])&&_0x23b5eb();}function _0x371c63(){const _0x5c06b6=window[_0x5520f0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5520f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5520f0([0x6e,0x6f,0x77])]())[_0x5520f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5520f0([0x2e]),'');let _0x4d9702=_0x5520f0([0x68]);for(let _0x15158d=0x0;_0x15158d<_0x5c06b6[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15158d+=0x2){let _0x565b33=window[_0x5520f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c06b6[_0x5520f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15158d,_0x15158d+0x2));_0x565b33>=_0x5185ae[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x565b33-=_0x5185ae[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d9702+=_0x5185ae[_0x565b33];}return _0x4d9702;}function _0x29b9e1(){const _0x30caa0=_0x380515[_0x5520f0([0x73,0x70,0x6c,0x69,0x74])](_0x5520f0([0x2e]));if(0x3!=_0x30caa0[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x216276(_0x30caa0[0x1]);function _0x216276(_0x3a1928){const _0x36020b=_0x173b86(_0x3a1928);return _0x36020b&&_0x20185f()?_0x36020b:null;function _0x20185f(){const _0x489a48=_0x36020b[_0x5520f0([0x6a,0x74,0x69])],_0x13aa22=window[_0x5520f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x489a48[_0x5520f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x489a48[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2cda8b={..._0x36020b,[_0x5520f0([0x6a,0x74,0x69])]:_0x489a48[_0x5520f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x489a48[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2cda8b[_0x5520f0([0x76,0x63])],_0x343dad(_0x2cda8b)==_0x13aa22;}}}async function _0x2532fc(){let _0x2cf9ef=!0x0;try{const _0x2376d7=_0x380515[_0x5520f0([0x73,0x70,0x6c,0x69,0x74])](_0x5520f0([0x2e])),[_0x537a87,_0x60f8d7,_0x4b08bb]=_0x2376d7;return _0x7640eb(_0x537a87),await _0x3f3c73(_0x537a87,_0x60f8d7,_0x4b08bb),_0x2cf9ef;}catch{return!0x1;}function _0x7640eb(_0x2744b5){const _0x5e3aec=_0x173b86(_0x2744b5);_0x5e3aec&&_0x5e3aec[_0x5520f0([0x61,0x6c,0x67])]==_0x5520f0([0x45,0x53,0x32,0x35,0x36])||(_0x2cf9ef=!0x1);}async function _0x3f3c73(_0x524054,_0x1e71dc,_0x22be7d){const _0x5e859c=window[_0x5520f0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5520f0([0x66,0x72,0x6f,0x6d])](_0x115c84(_0x22be7d),_0x1985e6=>_0x1985e6[_0x5520f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x197c92=new window[(_0x5520f0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5520f0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x524054+_0x5520f0([0x2e])+_0x1e71dc),_0x31dfd3=window[_0x5520f0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5520f0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31dfd3)return;const _0x3b6a8e=await _0x31dfd3[_0x5520f0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5520f0([0x6a,0x77,0x6b]),_0x3eb84c,{[_0x5520f0([0x6e,0x61,0x6d,0x65])]:_0x5520f0([0x45,0x43,0x44,0x53,0x41]),[_0x5520f0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5520f0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5520f0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31dfd3[_0x5520f0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5520f0([0x6e,0x61,0x6d,0x65])]:_0x5520f0([0x45,0x43,0x44,0x53,0x41]),[_0x5520f0([0x68,0x61,0x73,0x68])]:{[_0x5520f0([0x6e,0x61,0x6d,0x65])]:_0x5520f0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b6a8e,_0x5e859c,_0x197c92)||(_0x2cf9ef=!0x1);}}function _0x173b86(_0x51ad14){return _0x51ad14[_0x5520f0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5520f0([0x65,0x79]))?JSON[_0x5520f0([0x70,0x61,0x72,0x73,0x65])](_0x115c84(_0x51ad14)):null;}function _0x115c84(_0x2b591f){return window[_0x5520f0([0x61,0x74,0x6f,0x62])](_0x2b591f[_0x5520f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5520f0([0x2b]))[_0x5520f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5520f0([0x2f])));}function _0x343dad(_0x47633f){let _0x2f6a58=0x1505;function _0x1bb66a(_0x58a4d9){for(let _0x1cbfe3=0x0;_0x1cbfe3<_0x58a4d9[_0x5520f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cbfe3++){const _0x5c5fef=_0x58a4d9[_0x5520f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cbfe3);_0x2f6a58=(_0x2f6a58<<0x5)+_0x2f6a58+_0x5c5fef,_0x2f6a58&=_0x2f6a58;}}function _0x5534c5(_0x22b579){Array[_0x5520f0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22b579)?_0x22b579[_0x5520f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5534c5):_0x22b579&&typeof _0x22b579==_0x5520f0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5520f0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22b579)[_0x5520f0([0x73,0x6f,0x72,0x74])]()[_0x5520f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e4939,_0x1add6a])=>{_0x1bb66a(_0x5e4939),_0x5534c5(_0x1add6a);}):_0x1bb66a(window[_0x5520f0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22b579));}return _0x5534c5(_0x47633f),_0x2f6a58>>>0x0;}function _0x3d95ad(_0x2d3f5f){return _0x2d3f5f[_0x5520f0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5520f0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5520f0([0x30]));}function _0x4b10d1(_0xb2bc4e){return _0xb2bc4e[_0x5520f0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5520f0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5520f0([0x6a,0x6f,0x69,0x6e])]('');}function _0x20f02a(){}function _0x5520f0(_0x3169c8){return _0x3169c8['map'](_0x4f87f6=>String['fromCharCode'](_0x4f87f6))['join']('');}_0x5a515b(await _0x4886cc());}(this);}['_initSchema'](){const _0x3c8f95=this['editor']['model']['schema'];_0x3c8f95['isRegistered']('imageBlock')&&_0x3c8f95['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3c8f95['isRegistered']('imageInline')&&_0x3c8f95['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x48ecd6=this['editor'];_0x48ecd6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x48ecd6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x551f42=>_0x551f42['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x57480a=_0x48ecd6['commands']['get']('replaceImageSource');_0x57480a&&this['listenTo'](_0x57480a,'cleanupImage',(_0x3d6ea6,[_0x5a8ee8,_0x326026])=>{_0x5a8ee8['removeAttribute']('uploadcareImageId',_0x326026);});}['_initConfig'](){const _0x5cd356=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5bf9e9=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x33465e(_0x2ec278['document'],'uc-config',{..._0x5cd356,'pubkey':_0x5bf9e9,'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']=_0x5d8e24=>{if('closeMax'==_0x5d8e24)return'#uc-icon-arrow-down';},_0x2ec278['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x33465e(_0x2ec278['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2ec278['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xc3dcf4=this['editor']['commands']['get']('insertImage');_0xc3dcf4&&this['listenTo'](_0xc3dcf4,'execute',()=>{const _0x23fa31=this['editor']['model']['document']['selection']['getSelectedElement']();_0x23fa31&&_0x23fa31['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x23fa31);});});const _0x248255=this['editor']['commands']['get']('uploadcareImageReplace');_0x248255&&this['listenTo'](_0x248255,'execute',()=>{const _0x3d5b47=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d5b47&&_0x3d5b47['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3d5b47);});});}}class tt extends _0x18110a{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x323041){super(_0x323041),_0x323041['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2a07b6['defineComponents'](_0x2a07b6),this['_defineLocale']();}['_defineLocale'](){const _0xca0154=this['editor']['config']['get']('uploadcare.locale'),_0x266676=this['editor']['locale']['contentLanguage'];_0xca0154&&_0x2a07b6['defineLocale'](_0x266676,_0xca0154);}}class ii extends _0x242f3a{constructor(_0x2cf73d){super(_0x2cf73d);const t=_0x2cf73d['t'],_0x21890e=this['bindTemplate'],_0x3ddc5c=new _0x41b901();_0x3ddc5c['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':[_0x3ddc5c,{'text':_0x21890e['to']('imageUploadProgress',_0x499b6d=>t('Loading\x20image...')+'\x20('+(_0x499b6d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x242f3a{constructor(_0x456afb){super(_0x456afb);const t=_0x456afb['t'];this['set']('errorType',null);const _0x5c048b=new _0x19cf23(_0x456afb);_0x5c048b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c048b['withText']=!0x0,_0x5c048b['class']='ck-button-action',_0x5c048b['on']('execute',()=>{this['fire']('retry');}),_0x5c048b['bind']('isVisible')['to'](this,'errorType',_0x1a8bb3=>'NotFound'!==_0x1a8bb3);const _0x5acd06=new _0x3b1020();_0x5acd06['content']=_0x3c9387,_0x5acd06['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x19f844=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':[_0x5acd06,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x19f844['to']('errorType',_0x28f4d5=>t('NotFound'!==_0x28f4d5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c048b]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x242f3a{constructor(_0x4190ed,_0x239d8b){super(_0x4190ed);const _0x44b1b8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x239d8b,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x44b1b8['to']('imageSrc')}});}}class X extends W{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1c745b,_0x746dff,_0x1e9206){super(_0x1c745b),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1c745b),this['_errorView']=new ti(_0x1c745b),this['_editingView']=new ei(_0x1c745b,_0x1e9206),this['_focusableView']=new _0x242f3a(_0x1c745b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x746dff),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'],_0x494b7a=>{this['_addUploadcareImageEditorListeners'](_0x494b7a);});}),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'](_0x728d58,_0x5859e9){const _0x423628='uc-cloud-image-editor',_0x107aca=_0x728d58['querySelector'](_0x423628);if(_0x107aca)return _0x5859e9(_0x107aca);const _0x113613=new MutationObserver(_0x492536=>{const _0x347339=_0x492536['filter'](_0x2ce56a=>_0x2ce56a['target']===_0x728d58&&_0x2ce56a['addedNodes']['length']>0x0&&_0x2ce56a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x423628);_0x347339['length']&&(_0x113613['disconnect'](),_0x5859e9(_0x347339[0x0]['addedNodes'][0x0]));});_0x113613['observe'](_0x728d58,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5c3730){_0x5c3730['addEventListener']('apply',_0x25fdbe=>{this['fire']('apply',{'imageSrc':_0x25fdbe['detail']['cdnUrl']});}),_0x5c3730['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x4572f5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x20ae51,_0x39afdf,_0x4efb7e){super(),this['_editor']=_0x20ae51,this['_dialog']=_0x39afdf,this['_imageElement']=_0x4efb7e,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 _0x56f71c=this['_imageElement'],_0xd6b2d=_0x56f71c['getAttribute']('uploadcareImageId'),_0x2b809e=_0x56f71c['getAttribute']('src');if(_0xd6b2d)await this['_loadImageInfo'](_0xd6b2d,_0x2b809e);else{if(this['_imageCache']['has'](_0x2b809e)){const _0x2561e0=this['_imageCache']['get'](_0x2b809e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2561e0['url'],this['imageDimension']=_0x2561e0['dimension'],this['imageId']=_0x2561e0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x25bcf2}=this['_editor'],t=_0x25bcf2['t'],_0xe572c=new X(_0x25bcf2,this['imageStatus'],this['_attributes']);_0xe572c['bind']('status')['to'](this,'imageStatus'),_0xe572c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xe572c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xe572c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xe572c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5abb25,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xe572c,'position':_0x5ebf6b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xe572c['focus']();},'onHide':()=>{_0xe572c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58b3a9=>!Q(_0x58b3a9,_0xe572c['element'])}});}['_loadImageInfo'](_0xfc1b5,_0x310247){return j['getInfo'](_0xfc1b5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3f34eb=>{const {width:_0x23fbe7,height:_0x1d2e5d}=_0x3f34eb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x310247,this['imageDimension']={'width':_0x23fbe7,'height':_0x1d2e5d},this['imageId']=_0xfc1b5;})['catch'](_0x4714d3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4714d3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4335ea,_0x220a1f){return this['_getImageAsFile'](_0x4335ea)['then'](_0x17863f=>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':_0x220a1f['signal'],'file':_0x17863f,'onProgress':_0x114517=>{_0x114517&&_0x114517['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x114517['value']));}}))['then'](_0x1fd1a9=>{const {width:_0x5e6a95,height:_0x141336}=_0x1fd1a9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fd1a9['cdnUrl'],this['imageDimension']={'width':_0x5e6a95,'height':_0x141336},this['imageId']=_0x1fd1a9['uuid'],this['imageUploadProgress']=null;const _0x171b80=_0x4335ea['getAttribute']('src');this['_imageCache']['set'](_0x171b80,{'id':_0x1fd1a9['uuid'],'url':_0x1fd1a9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x549c6e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x549c6e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5f1a6e,_0x428a52){_0x5f1a6e['on']('apply',(_0x40ebd,_0x17e08)=>{this['_replaceImage'](_0x428a52,_0x17e08['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5f1a6e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5f1a6e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2323e4,_0x4d5998,_0xf7d6dc){const _0x3e9485=this['_editor'],{width:_0x2a2561,height:_0x30b194}=V(_0x4d5998,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x41abf,imageSources:_0x31ccf8}=C(_0x4d5998,_0x2a2561);_0x3e9485['model']['change'](_0x544b5e=>{if('$graveyard'===_0x2323e4['root']['rootName']){_0x3e9485['execute']('insertImage',{'imageType':_0x2323e4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2323e4['getAttributes']()),'uploadcareImageId':_0xf7d6dc,'src':_0x41abf,'sources':_0x31ccf8,'width':_0x2a2561,'height':_0x30b194}});const _0x57ad28=_0x2323e4['getChildren']();_0x2323e4=_0x3e9485['model']['document']['selection']['getSelectedElement']();for(const _0x24cf6e of _0x57ad28)_0x544b5e['append'](_0x544b5e['cloneElement'](_0x24cf6e),_0x2323e4);}else _0x544b5e['setSelection'](_0x2323e4,'on'),_0x3e9485['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2323e4['getAttributes']()),'uploadcareImageId':_0xf7d6dc,'src':_0x41abf,'sources':_0x31ccf8,'width':_0x2a2561,'height':_0x30b194},_0x2323e4);_0x544b5e['setSelection'](_0x2323e4,'on');});}async['_getImageAsFile'](_0x32299d){const _0x30cb12=_0x2ec278['window'],_0x62f36f=_0x2ec278['document']['location']['href'],_0x66b7ce=new _0x30cb12['URL'](_0x32299d['getAttribute']('src'),_0x62f36f);if('data:'===_0x66b7ce['protocol']){const _0x216b51=_0x66b7ce['href']['split'](','),_0x484d30=_0x216b51[0x0]['match'](/:(.*?);/)[0x1],_0x56b235=_0x484d30['split']('/')[0x1],_0x51eba5=_0x30cb12['atob'](_0x216b51[_0x216b51['length']-0x1]);let _0x11c8a3=_0x51eba5['length'];const _0x4cd123=new _0x30cb12['Uint8Array'](_0x11c8a3);for(;_0x11c8a3--;)_0x4cd123[_0x11c8a3]=_0x51eba5['charCodeAt'](_0x11c8a3);return new _0x30cb12['File']([_0x4cd123],'image.'+_0x56b235,{'type':_0x484d30});}const _0x30ba0f=_0x66b7ce['href']['split']('/'),_0x389ce5=_0x30ba0f[_0x30ba0f['length']-0x1],_0x4fe371=_0x389ce5['split']('.')[0x1];return _0x30cb12['fetch'](_0x66b7ce['href'])['then'](_0xdce604=>_0xdce604['clone']()['blob']())['then'](_0x4bc52e=>new _0x30cb12['File']([_0x4bc52e],_0x389ce5,{'type':'image/'+_0x4fe371}));}}class N extends _0x3c77fd{['imageEditController'];static get['requires'](){return[_0x376964];}['_isEditable'];constructor(_0x10b0f4){super(_0x10b0f4),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3b9b05){const _0x2db499=z(_0x3b9b05);return _0x4ef893=>!(!_0x4ef893||!_0x4ef893['is']('element','imageBlock')&&!_0x4ef893['is']('element','imageInline'))&&(!!_0x4ef893['hasAttribute']('uploadcareImageId')||!!_0x4ef893['hasAttribute']('src')&&_0x2db499(_0x4ef893['getAttribute']('src')));}(_0x10b0f4['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3e7cca=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3e7cca);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2043f1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2043f1&&(_0x2043f1['is']('element','imageBlock')||_0x2043f1['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x376964),_0x2043f1),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3c77fd{['refresh'](){const _0x2782ef=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2782ef&&(_0x2782ef['is']('element','imageBlock')||_0x2782ef['is']('element','imageInline')));}['execute'](_0x12d821){const _0xcf6281=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1506e5=>{_0x1506e5['setAttributes'](_0x12d821,_0xcf6281),_0x1506e5['removeAttribute']('srcset',_0xcf6281),_0x1506e5['removeAttribute']('sizes',_0xcf6281);});}}class m extends _0x18110a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3e7bce,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x107074}=this;_0x107074['commands']['add']('uploadcareImageEdit',new N(_0x107074)),_0x107074['commands']['add']('uploadcareImageReplace',new O(_0x107074));}}class g extends _0x18110a{['_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 _0x1229c8=this['editor'];_0x1229c8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x151e12=>{const _0x3be2c5=_0x1229c8['commands']['get']('uploadcareImageEdit'),_0x57833e=new _0x19cf23(_0x151e12),t=_0x151e12['t'];return _0x57833e['set']({'icon':_0x5abb25,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x57833e['bind']('isEnabled')['to'](_0x3be2c5),_0x57833e['bind']('isOn')['to'](_0x3be2c5,'isActive'),this['listenTo'](_0x57833e,'execute',()=>{_0x1229c8['execute']('uploadcareImageEdit'),_0x1229c8['editing']['view']['focus']();}),_0x57833e;}),this['_initConfig']();}['_initConfig'](){const _0x431155=_0x33465e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x431155),this['listenTo'](this['editor'],'destroy',()=>{_0x431155['remove']();});}}class et extends _0x18110a{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x469e7b=>0x1!=_0x469e7b}};
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':_0x2f8221=>0x1!=_0x2f8221}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x226da2=>{const {af:{dictionary:_0x5004cb,getPluralForm:_0x4a03a9}}={'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':_0x1a4d20=>0x1!=_0x1a4d20}};_0x226da2['af']||={'dictionary':{},'getPluralForm':null},_0x226da2['af']['dictionary']=Object['assign'](_0x226da2['af']['dictionary'],_0x5004cb),_0x226da2['af']['getPluralForm']=_0x4a03a9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4630ac=>{const {af:{dictionary:_0x2f7c55,getPluralForm:_0x1afdd5}}={'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':_0x45353f=>0x1!=_0x45353f}};_0x4630ac['af']||={'dictionary':{},'getPluralForm':null},_0x4630ac['af']['dictionary']=Object['assign'](_0x4630ac['af']['dictionary'],_0x2f7c55),_0x4630ac['af']['getPluralForm']=_0x1afdd5;})(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':_0x38099a=>0x0==_0x38099a?0x0:0x1==_0x38099a?0x1:0x2==_0x38099a?0x2:_0x38099a%0x64>=0x3&&_0x38099a%0x64<=0xa?0x3:_0x38099a%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':_0xcd30d0=>0x0==_0xcd30d0?0x0:0x1==_0xcd30d0?0x1:0x2==_0xcd30d0?0x2:_0xcd30d0%0x64>=0x3&&_0xcd30d0%0x64<=0xa?0x3:_0xcd30d0%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c0aac=>{const {ar:{dictionary:_0x4a7e19,getPluralForm:_0x2a485c}}={'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':_0x5380b6=>0x0==_0x5380b6?0x0:0x1==_0x5380b6?0x1:0x2==_0x5380b6?0x2:_0x5380b6%0x64>=0x3&&_0x5380b6%0x64<=0xa?0x3:_0x5380b6%0x64>=0xb?0x4:0x5}};_0x3c0aac['ar']||={'dictionary':{},'getPluralForm':null},_0x3c0aac['ar']['dictionary']=Object['assign'](_0x3c0aac['ar']['dictionary'],_0x4a7e19),_0x3c0aac['ar']['getPluralForm']=_0x2a485c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xb5eddb=>{const {ar:{dictionary:_0x4eaab5,getPluralForm:_0xf1b748}}={'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':_0x2eae1f=>0x0==_0x2eae1f?0x0:0x1==_0x2eae1f?0x1:0x2==_0x2eae1f?0x2:_0x2eae1f%0x64>=0x3&&_0x2eae1f%0x64<=0xa?0x3:_0x2eae1f%0x64>=0xb?0x4:0x5}};_0xb5eddb['ar']||={'dictionary':{},'getPluralForm':null},_0xb5eddb['ar']['dictionary']=Object['assign'](_0xb5eddb['ar']['dictionary'],_0x4eaab5),_0xb5eddb['ar']['getPluralForm']=_0xf1b748;})(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':_0x463205=>0x1!=_0x463205}};
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':_0xa704e7=>0x1!=_0xa704e7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x143953=>{const {ast:{dictionary:_0x41b3e4,getPluralForm:_0x431cf0}}={'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':_0x33c712=>0x1!=_0x33c712}};_0x143953['ast']||={'dictionary':{},'getPluralForm':null},_0x143953['ast']['dictionary']=Object['assign'](_0x143953['ast']['dictionary'],_0x41b3e4),_0x143953['ast']['getPluralForm']=_0x431cf0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d0b7a=>{const {ast:{dictionary:_0x30d5d4,getPluralForm:_0x2cda76}}={'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':_0x167f21=>0x1!=_0x167f21}};_0x3d0b7a['ast']||={'dictionary':{},'getPluralForm':null},_0x3d0b7a['ast']['dictionary']=Object['assign'](_0x3d0b7a['ast']['dictionary'],_0x30d5d4),_0x3d0b7a['ast']['getPluralForm']=_0x2cda76;})(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':_0x3d3c7a=>0x1!=_0x3d3c7a}};
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':_0x140f1a=>0x1!=_0x140f1a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c83ef=>{const {az:{dictionary:_0x346337,getPluralForm:_0x54c0f7}}={'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':_0x27c786=>0x1!=_0x27c786}};_0x3c83ef['az']||={'dictionary':{},'getPluralForm':null},_0x3c83ef['az']['dictionary']=Object['assign'](_0x3c83ef['az']['dictionary'],_0x346337),_0x3c83ef['az']['getPluralForm']=_0x54c0f7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12efaa=>{const {az:{dictionary:_0x180cc2,getPluralForm:_0x49823d}}={'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':_0x2595ca=>0x1!=_0x2595ca}};_0x12efaa['az']||={'dictionary':{},'getPluralForm':null},_0x12efaa['az']['dictionary']=Object['assign'](_0x12efaa['az']['dictionary'],_0x180cc2),_0x12efaa['az']['getPluralForm']=_0x49823d;})(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':_0x3a4b7e=>_0x3a4b7e%0xa==0x1&&_0x3a4b7e%0x64!=0xb?0x0:_0x3a4b7e%0xa>=0x2&&_0x3a4b7e%0xa<=0x4&&(_0x3a4b7e%0x64<0xa||_0x3a4b7e%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':_0x4ea23d=>_0x4ea23d%0xa==0x1&&_0x4ea23d%0x64!=0xb?0x0:_0x4ea23d%0xa>=0x2&&_0x4ea23d%0xa<=0x4&&(_0x4ea23d%0x64<0xa||_0x4ea23d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4dc244=>{const {be:{dictionary:_0x2928c0,getPluralForm:_0x2a863f}}={'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':_0x25fec3=>_0x25fec3%0xa==0x1&&_0x25fec3%0x64!=0xb?0x0:_0x25fec3%0xa>=0x2&&_0x25fec3%0xa<=0x4&&(_0x25fec3%0x64<0xa||_0x25fec3%0x64>=0x14)?0x1:0x2}};_0x4dc244['be']||={'dictionary':{},'getPluralForm':null},_0x4dc244['be']['dictionary']=Object['assign'](_0x4dc244['be']['dictionary'],_0x2928c0),_0x4dc244['be']['getPluralForm']=_0x2a863f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x587cda=>{const {be:{dictionary:_0x1ac9b5,getPluralForm:_0x121ba3}}={'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':_0x5f8a47=>_0x5f8a47%0xa==0x1&&_0x5f8a47%0x64!=0xb?0x0:_0x5f8a47%0xa>=0x2&&_0x5f8a47%0xa<=0x4&&(_0x5f8a47%0x64<0xa||_0x5f8a47%0x64>=0x14)?0x1:0x2}};_0x587cda['be']||={'dictionary':{},'getPluralForm':null},_0x587cda['be']['dictionary']=Object['assign'](_0x587cda['be']['dictionary'],_0x1ac9b5),_0x587cda['be']['getPluralForm']=_0x121ba3;})(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':_0x371a01=>0x1!=_0x371a01}};
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':_0x1b8d35=>0x1!=_0x1b8d35}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x375b66=>{const {bg:{dictionary:_0x2bef1f,getPluralForm:_0x38e6fc}}={'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':_0x2811a9=>0x1!=_0x2811a9}};_0x375b66['bg']||={'dictionary':{},'getPluralForm':null},_0x375b66['bg']['dictionary']=Object['assign'](_0x375b66['bg']['dictionary'],_0x2bef1f),_0x375b66['bg']['getPluralForm']=_0x38e6fc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x36abbb=>{const {bg:{dictionary:_0x433dcf,getPluralForm:_0x39da99}}={'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':_0x38c3d4=>0x1!=_0x38c3d4}};_0x36abbb['bg']||={'dictionary':{},'getPluralForm':null},_0x36abbb['bg']['dictionary']=Object['assign'](_0x36abbb['bg']['dictionary'],_0x433dcf),_0x36abbb['bg']['getPluralForm']=_0x39da99;})(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':_0x5cec20=>0x1!=_0x5cec20}};
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':_0x288519=>0x1!=_0x288519}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x58c68c=>{const {bn:{dictionary:_0x53eb4e,getPluralForm:_0x4064d8}}={'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':_0xafcd5d=>0x1!=_0xafcd5d}};_0x58c68c['bn']||={'dictionary':{},'getPluralForm':null},_0x58c68c['bn']['dictionary']=Object['assign'](_0x58c68c['bn']['dictionary'],_0x53eb4e),_0x58c68c['bn']['getPluralForm']=_0x4064d8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c8365=>{const {bn:{dictionary:_0x3a43ae,getPluralForm:_0x20921d}}={'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':_0x239596=>0x1!=_0x239596}};_0x1c8365['bn']||={'dictionary':{},'getPluralForm':null},_0x1c8365['bn']['dictionary']=Object['assign'](_0x1c8365['bn']['dictionary'],_0x3a43ae),_0x1c8365['bn']['getPluralForm']=_0x20921d;})(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':_0x43d0e5=>_0x43d0e5%0xa==0x1&&_0x43d0e5%0x64!=0xb?0x0:_0x43d0e5%0xa>=0x2&&_0x43d0e5%0xa<=0x4&&(_0x43d0e5%0x64<0xa||_0x43d0e5%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':_0x36e7da=>_0x36e7da%0xa==0x1&&_0x36e7da%0x64!=0xb?0x0:_0x36e7da%0xa>=0x2&&_0x36e7da%0xa<=0x4&&(_0x36e7da%0x64<0xa||_0x36e7da%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x134718=>{const {bs:{dictionary:_0x4b87b7,getPluralForm:_0x53d8ef}}={'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':_0x368641=>_0x368641%0xa==0x1&&_0x368641%0x64!=0xb?0x0:_0x368641%0xa>=0x2&&_0x368641%0xa<=0x4&&(_0x368641%0x64<0xa||_0x368641%0x64>=0x14)?0x1:0x2}};_0x134718['bs']||={'dictionary':{},'getPluralForm':null},_0x134718['bs']['dictionary']=Object['assign'](_0x134718['bs']['dictionary'],_0x4b87b7),_0x134718['bs']['getPluralForm']=_0x53d8ef;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x10ac11=>{const {bs:{dictionary:_0x2fbd52,getPluralForm:_0x273d93}}={'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':_0x399f8=>_0x399f8%0xa==0x1&&_0x399f8%0x64!=0xb?0x0:_0x399f8%0xa>=0x2&&_0x399f8%0xa<=0x4&&(_0x399f8%0x64<0xa||_0x399f8%0x64>=0x14)?0x1:0x2}};_0x10ac11['bs']||={'dictionary':{},'getPluralForm':null},_0x10ac11['bs']['dictionary']=Object['assign'](_0x10ac11['bs']['dictionary'],_0x2fbd52),_0x10ac11['bs']['getPluralForm']=_0x273d93;})(window['CKEDITOR_TRANSLATIONS']||={});