@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250610.0 → 0.0.0-nightly-20250613.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) 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.d.ts +4 -2
  151. package/src/index.js +1 -1
  152. package/src/ui/uploadcarecontroller.js +2 -2
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.d.ts +2 -3
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +2 -3
  167. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  168. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  169. package/src/uploadcareimageedit.js +1 -1
  170. package/src/uploadcareui.js +1 -1
  171. package/src/uploadcareuploadadapter.js +1 -1
  172. package/src/utils/common-translations.js +1 -1
  173. package/src/utils/dialogfocusmanagerview.js +1 -1
  174. package/src/utils/editingutils.js +1 -1
  175. package/src/utils/isancestor.js +1 -1
  176. 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 _0x52d6a3,Command as _0x2c0434}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2039ba,IconGooglePhotos as _0x12020b,IconGoogleDrive as _0x29c367,IconFacebook as _0x1b9eb0,IconDropbox as _0x387ea3,IconUploadcareLink as _0x4b7c90,IconUploadcareImageUpload as _0x224c74,IconError as _0xab1046,IconUploadcareImageEdit as _0x2f31b8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x32ef02,MenuBarMenuListItemButtonView as _0x56c7f3,View as _0x106428,FocusCycler as _0x8b3d8b,Dialog as _0x2810a3,DialogViewPosition as _0xd65444,SpinnerView as _0x2ecad5,IconView as _0x3ec409,Notification as _0x82561b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4054f5,DomEmitterMixin as _0x22639d,global as _0x18ac40,getAncestors as _0x3e84af,ObservableMixin as _0x259f11,createElement as _0x4063cb,uid as _0x5391d4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x481cc0}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x580177,info as _0x4d3133}from'@uploadcare/upload-client';import*as _0x158529 from'@uploadcare/file-uploader';var i=function(_0x1e9a16){return _0x1e9a16['Local']='local',_0x1e9a16['URL']='url',_0x1e9a16['Dropbox']='dropbox',_0x1e9a16['GDrive']='gdrive',_0x1e9a16['Facebook']='facebook',_0x1e9a16['GPhotos']='gphotos',_0x1e9a16['OneDrive']='onedrive',_0x1e9a16;}({});function _(_0x40b67b,_0x589147,_0x281463){const t=_0x40b67b['t'],_0x35731d=_0x40b67b['t'];switch(_0x589147){case i['Local']:return{'text':_0x35731d('Insert'===_0x281463?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x35731d('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x281463?_0x35731d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x35731d('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x281463?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x281463?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x281463?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x281463?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x281463?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x589147;}}class e extends _0x52d6a3{['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 _0x256c9c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f04c5;for(const _0x58a828 in _0x256c9c){const _0x8de1ee=_0x58a828,_0x45d8bc=_0x256c9c[_0x8de1ee];if('uploadcareLicenseKeyValid'==_0x45d8bc||'uploadcareLicenseKeyInvalid'==_0x45d8bc||'uploadcareLicenseKeyExpired'==_0x45d8bc||'uploadcareLicenseKeyDomainLimit'==_0x45d8bc||'uploadcareLicenseKeyNotAllowed'==_0x45d8bc||'uploadcareLicenseKeyEvaluationLimit'==_0x45d8bc||'uploadcareLicenseKeyTrialLimit'==_0x45d8bc||'uploadcareLicenseKeyUsageLimit'==_0x45d8bc){delete _0x256c9c[_0x8de1ee],_0x5f04c5=_0x45d8bc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5f04c5&&_0x256c9c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5f04c5&&_0x256c9c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5f04c5&&_0x256c9c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5f04c5&&_0x256c9c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5f04c5&&_0x256c9c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5f04c5&&_0x256c9c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5f04c5&&_0x256c9c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x302f0f}=this,_0x5906df=_0x302f0f['commands']['get']('uploadcare');if(!_0x5906df)return;const _0x3fbf23=this['_normalizeConfigSourceList'](_0x302f0f['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x46bf6f,_0xe0b6af)=>{const _0x13e292=this['_getIntegrationKey'](_0xe0b6af['type']);return _0x46bf6f[_0x13e292]||(_0x46bf6f[_0x13e292]=[]),_0x46bf6f[_0x13e292]['push'](_0xe0b6af),_0x46bf6f;},{});_0x302f0f['plugins']['has']('ImageInsertUI')&&_0x302f0f['commands']['get']('uploadcare')&&Object['entries'](_0x3fbf23)['forEach'](([_0x2eec0e,_0x4562ec])=>{_0x302f0f['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2eec0e,'observable':()=>_0x5906df,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4562ec),'formViewCreator':()=>this['_createDropdownButtons'](_0x4562ec),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4562ec),'override':'assetManager'!==_0x2eec0e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2ed0bb){const {locale:_0x47c5fa}=this['editor'];return _0x2ed0bb['map'](_0x178432=>{const _0x45cfcc=_(_0x47c5fa,_0x178432,'Insert');switch(_0x178432){case i['Local']:return{'icon':_0x224c74,'type':i['Local'],..._0x45cfcc};case i['URL']:return{'icon':_0x4b7c90,'type':i['URL'],..._0x45cfcc};case i['Dropbox']:return{'icon':_0x387ea3,'type':i['Dropbox'],..._0x45cfcc};case i['Facebook']:return{'icon':_0x1b9eb0,'type':i['Facebook'],..._0x45cfcc};case i['GDrive']:return{'icon':_0x29c367,'type':i['GDrive'],..._0x45cfcc};case i['GPhotos']:return{'icon':_0x12020b,'type':i['GPhotos'],..._0x45cfcc};case i['OneDrive']:return{'icon':_0x2039ba,'type':i['OneDrive'],..._0x45cfcc};}});}['_getIntegrationKey'](_0x777e48){switch(_0x777e48){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x47fdb0,_0x204725){const _0x26cd8f=this['editor'],_0x3ed212=new _0x47fdb0(_0x26cd8f['locale']),_0x12cfaa=_0x26cd8f['commands']['get']('uploadcare');return _0x3ed212['bind']('isEnabled')['to'](_0x12cfaa),_0x3ed212['on']('execute',()=>{_0x12cfaa['execute'](_0x204725);}),_0x3ed212;}['_createToolbarButton'](_0x48aa16){const {locale:_0x3b8990}=this['editor'],_0x417cd7=this['editor']['plugins']['get']('ImageInsertUI'),_0x4bb47b=_0x48aa16[0x0],_0x50aac7=this['_createButton'](_0x32ef02,_0x4bb47b['type']);return _0x50aac7['icon']=_0x4bb47b['icon'],_0x50aac7['bind']('label')['to'](_0x417cd7,'isImageSelected',_0x76138b=>_(_0x3b8990,_0x4bb47b['type'],_0x76138b?'Replace':'Insert')['text']),_0x50aac7['tooltip']=!0x0,_0x50aac7;}['_createDropdownButtons'](_0x36da8e){const {locale:_0x5d92b5}=this['editor'],_0xa82839=this['editor']['plugins']['get']('ImageInsertUI');return _0x36da8e['map'](_0x128635=>{const _0x2d29ae=this['_createButton'](_0x32ef02,_0x128635['type']);return _0x2d29ae['withText']=!0x0,_0x2d29ae['icon']=_0x128635['icon'],_0x2d29ae['bind']('label')['to'](_0xa82839,'isImageSelected',_0x518aad=>_(_0x5d92b5,_0x128635['type'],_0x518aad?'Replace':'Insert')['text']),_0x2d29ae;});}['_createMenuBarButtons'](_0x103792){return _0x103792['map'](_0x2dd1f1=>{const _0x55ae2d=this['_createButton'](_0x56c7f3,_0x2dd1f1['type']);return _0x55ae2d['icon']=_0x2dd1f1['icon'],_0x55ae2d['label']=_0x2dd1f1['shortText'],_0x55ae2d;});}}class F extends _0x106428{['focusTracker'];['focusCycler'];constructor(_0x3d60d3){super(_0x3d60d3),this['focusTracker']=new _0x4054f5(),this['focusCycler']=new _0x8b3d8b({'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(_0xa83cf8){super(_0xa83cf8),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x225b48,_0x340629){const _0x1917cb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x24fdb4=>_0x24fdb4<=_0x340629)['map'](_0x3ca73f=>_0x225b48['replace'](/\/$/,'')+'/-/resize/'+_0x3ca73f+'x/\x20'+_0x3ca73f+'w');return{'imageFallbackUrl':_0x225b48,'imageSources':[{'srcset':_0x1917cb['join'](',\x20'),'sizes':'(max-width:\x20'+_0x340629+'px)\x20100vw,\x20'+_0x340629+'px','type':'image/webp'}]};}function C(_0x32a697,_0x39ad91,_0x5c84f6){const _0x3316e3=_0x32a697['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3316e3?parseInt(_0x3316e3[0x1],0xa):_0x39ad91,'height':_0x3316e3?parseInt(_0x3316e3[0x2],0xa):_0x5c84f6};}function p(_0x464ddc,_0x11be64){const _0xa50bf5=new(_0x22639d())(),_0xf71421=_0x464ddc['plugins']['get']('ImageUtils'),_0x567cf3=_0x464ddc['editing']['mapper']['toViewElement'](_0x11be64),_0x2c154e=_0xf71421['findViewImgElement'](_0x567cf3),_0x405f64=_0x464ddc['editing']['view']['domConverter']['viewToDom'](_0x2c154e),_0x22c042=_0x11be64['getAttribute']('width'),_0x2ffbc4=_0x11be64['getAttribute']('height'),_0x2b8732='image-processing';_0x464ddc['editing']['view']['change'](_0x55826a=>{_0x55826a['addClass'](_0x2b8732,_0x567cf3),_0x55826a['setStyle']('aspect-ratio',_0x22c042+'/'+_0x2ffbc4,_0x2c154e);}),_0xa50bf5['listenTo'](_0x405f64,'load',()=>{_0xa50bf5['stopListening'](_0x405f64,'load'),_0x464ddc['editing']['view']['change'](_0x1e7422=>{_0x1e7422['removeClass'](_0x2b8732,_0x567cf3),_0x1e7422['removeStyle']('aspect-ratio',_0x2c154e);});});}function z(_0x29929c){if(Array['isArray'](_0x29929c)){const _0x1f67a2=_0x29929c['map'](z);return _0x29d91a=>_0x1f67a2['some'](_0x44d4ec=>_0x44d4ec(_0x29d91a));}if('origin'==_0x29929c){const _0x5421d4=_0x18ac40['window']['location']['origin'];return _0x1d5efe=>new URL(_0x1d5efe,_0x18ac40['document']['baseURI'])['origin']==_0x5421d4;}return'function'==typeof _0x29929c?_0x29929c:_0x29929c instanceof RegExp?_0xb45d04=>!(!_0xb45d04['match'](_0x29929c)&&!_0xb45d04['replace'](/^https?:\/\//,'')['match'](_0x29929c)):()=>!0x1;}function S(_0x1b8e58,_0x334474){return _0x3e84af(_0x1b8e58['target'])['includes'](_0x334474);}class n extends/* #__PURE__ -- @preserve */
24
- _0x259f11(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x40646a,_0x1a896a,_0x55d2bd){super(),this['_editor']=_0x40646a,this['_editing']=_0x1a896a,this['_dialog']=_0x40646a['plugins']['get'](_0x2810a3),this['_api']=_0x1a896a['ctxElement']['getAPI'](),this['_type']=_0x55d2bd,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:_0x4cdbea,model:_0x15473f}=this['_editor'],_0x2d9521=_0x15473f['document']['selection']['getSelectedElement'](),_0x429075=_0x2d9521&&(_0x2d9521['is']('element','imageBlock')||_0x2d9521['is']('element','imageInline'));this['_formView']=new x(_0x4cdbea),this['_dialog']['show']({'id':'uploadCare','icon':_0x224c74,'title':_(_0x4cdbea,this['_type'],_0x429075?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xd65444['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1c81cd=>!S(_0x1c81cd,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x568807}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1f02ec=>{const _0x153a66=_0x568807['length'];for(const _0x1239bb of _0x568807){const _0x89bcac=_0x1239bb===_0x568807[_0x153a66-0x1],{cdnUrl:_0x24d35f,fileInfo:_0x21068c}=_0x1239bb;if(!_0x24d35f||!_0x21068c)continue;const {width:_0x29515f,height:_0x2e1c14}=_0x21068c['imageInfo'],_0x4423d9=C(_0x24d35f,_0x29515f,_0x2e1c14),_0x355d9d=k(_0x24d35f,_0x4423d9['width']),_0x2ddd67={'id':_0x21068c['uuid'],'type':'image','attributes':{'imageDimension':_0x4423d9,..._0x355d9d}};this['_insertAsset'](_0x2ddd67,_0x89bcac,_0x1f02ec);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1cadd6=>{'idle'===_0x1cadd6['detail']['status']&&!_0x1cadd6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x12ca77,_0x4bf323,_0x4ef213){const _0x574aec=this['_editor']['model']['document']['selection'],_0x10cc52=_0x574aec['getSelectedElement'](),_0x3cb751=!(!_0x10cc52||!_0x10cc52['is']('element','imageInline'));_0x4ef213['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x12ca77,_0x3cb751),_0x4bf323||_0x4ef213['setSelection'](_0x574aec['getLastPosition']());}['_insertImage'](_0x8d3d10,_0x4472e2){const _0x5104e9=this['_editor'],{imageDimension:_0x539201,imageFallbackUrl:_0x3dce8c,imageSources:_0x25a3a6}=_0x8d3d10['attributes'];_0x5104e9['execute']('insertImage',{'imageType':_0x4472e2?'imageInline':null,'source':{'uploadcareImageId':_0x8d3d10['id'],'src':_0x3dce8c,'sources':_0x25a3a6,..._0x539201}});}}class w extends _0x2c0434{['_editing'];['_controller']=null;static get['requires'](){return[_0x2810a3,o];}constructor(_0x326d4e){super(_0x326d4e),this['_editing']=_0x326d4e['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xcd9ffc){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xcd9ffc);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x31a47b,publicKey:_0x567bf0,signal:_0x21ce30,onProgress:_0x2d3310}){return _0x580177(_0x31a47b,{'publicKey':_0x567bf0,'store':'auto','signal':_0x21ce30,'onProgress':_0x2d3310});}static['getInfo'](_0x27e335,_0x1269c1){return _0x4d3133(_0x27e335,_0x1269c1);}}class f extends _0x52d6a3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x481cc0,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x271d87=this['editor'];if(!!!_0x271d87['config']['get']('uploadcare'))return;_0x271d87['plugins']['get'](_0x481cc0)['createUploadAdapter']=_0x3faf24=>new A(_0x3faf24,_0x271d87),_0x271d87['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3053dc,{imageElement:_0x3b1e27,data:_0x15dc06})=>{_0x271d87['model']['change'](_0x3e0f2b=>{_0x3e0f2b['setAttribute']('uploadcareImageId',_0x15dc06['uploadcareImageId'],_0x3b1e27);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x3a68ce,_0x4d891d){this['loader']=_0x3a68ce,this['editor']=_0x4d891d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1355ff=this['editor']['config']['get']('uploadcare.pubkey'),_0x520c63=await this['loader']['file'];return j['upload']({'file':_0x520c63,'publicKey':_0x1355ff,'signal':this['controller']['signal'],'onProgress':_0x36b134=>{_0x36b134&&_0x36b134['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x36b134['value']);}})['then'](async _0x21fc87=>{const {imageFallbackUrl:_0x58e402,imageSources:_0x2c289a}=k(_0x21fc87['cdnUrl'],_0x21fc87['imageInfo']['width']);return{'uploadcareImageId':_0x21fc87['uuid'],'default':_0x58e402,'sources':_0x2c289a};})['catch'](()=>{const _0x2cc490=t('Cannot\x20upload\x20file:')+('\x20'+_0x520c63['name']+'.');return Promise['reject'](_0x2cc490);});}['abort'](){this['controller']['abort']();}}class o extends _0x52d6a3{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2810a3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x32440d=this['editor'];_0x32440d['commands']['add']('uploadcare',new w(_0x32440d));}['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 _0x2de305=_0x18ac40['document']['querySelector']('input[uploadcare-file-input]');_0x2de305&&_0x2de305['remove']();}),async function(_0x50dee5){const _0x58f04e=_0x1591a0([0x72,0x51,0x69,0x49,0x4e,0x4c,0x43,0x55,0x37,0x75,0x54,0x59,0x32,0x56,0x31,0x68,0x79,0x76,0x50,0x34,0x7a,0x38,0x77,0x71,0x6a,0x46,0x67,0x33,0x4a,0x6b,0x74,0x57,0x78,0x64,0x5a,0x6e,0x70,0x41,0x63,0x4f,0x36,0x62,0x52,0x73,0x61,0x39,0x4d,0x66,0x53,0x6f,0x30,0x35,0x65,0x6c,0x6d,0x58,0x45,0x4b,0x47,0x44,0x48,0x42]),_0x17883b=0x52479035,_0x62f57b=0x5240fa6d^_0x17883b,_0x1cd48d=window[_0x1591a0([0x44,0x61,0x74,0x65])][_0x1591a0([0x6e,0x6f,0x77])](),_0x337717=_0x50dee5[_0x1591a0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56b404=new window[(_0x1591a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x357801=>{_0x337717[_0x1591a0([0x6f,0x6e,0x63,0x65])](_0x1591a0([0x72,0x65,0x61,0x64,0x79]),_0x357801);}),_0x5c2e8d={[_0x1591a0([0x6b,0x74,0x79])]:_0x1591a0([0x45,0x43]),[_0x1591a0([0x75,0x73,0x65])]:_0x1591a0([0x73,0x69,0x67]),[_0x1591a0([0x63,0x72,0x76])]:_0x1591a0([0x50,0x2d,0x32,0x35,0x36]),[_0x1591a0([0x78])]:_0x1591a0([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]),[_0x1591a0([0x79])]:_0x1591a0([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]),[_0x1591a0([0x61,0x6c,0x67])]:_0x1591a0([0x45,0x53,0x32,0x35,0x36])},_0x349a0f=_0x337717[_0x1591a0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1591a0([0x67,0x65,0x74])](_0x1591a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x377676(){let _0x18a7cb,_0x9c578a=null,_0x10997f=null;try{if(_0x349a0f==_0x1591a0([0x47,0x50,0x4c]))return _0x1591a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x18a7cb=_0xf6cb38(),!_0x18a7cb)return _0x1591a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x18a7cb[_0x1591a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10997f=_0x242647(_0x18a7cb[_0x1591a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x18a7cb[_0x1591a0([0x6a,0x74,0x69])])),await _0x20fda6()?_0x2c72f9()?_0x421ffb()?_0x1591a0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe4f075()?(_0x18a7cb[_0x1591a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1591a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9c578a=_0x52a4b3(_0x1591a0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x18a7cb[_0x1591a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1591a0([0x74,0x72,0x69,0x61,0x6c])&&(_0x9c578a=_0x52a4b3(_0x1591a0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x281855()):_0x1591a0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1591a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1591a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1591a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x421ffb(){const _0x47c72c=[_0x1591a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1591a0([0x74,0x72,0x69,0x61,0x6c])][_0x1591a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18a7cb[_0x1591a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1cd48d/0x3e8:0xe10*_0x62f57b;return _0x18a7cb[_0x1591a0([0x65,0x78,0x70])]<_0x47c72c;}function _0x2c72f9(){const _0x2584d6=_0x18a7cb[_0x1591a0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2584d6&&(!!_0x2584d6[_0x1591a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1591a0([0x2a]))||!!_0x2584d6[_0x1591a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1591a0([0x55,0x50,0x4c,0x43])));}function _0xe4f075(){const _0x3f1691=_0x18a7cb[_0x1591a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f1691||0x0==_0x3f1691[_0x1591a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x257add}=new URL(window[_0x1591a0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f1691[_0x1591a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257add))return!0x0;const _0x47263d=_0x257add[_0x1591a0([0x73,0x70,0x6c,0x69,0x74])](_0x1591a0([0x2e]));return _0x3f1691[_0x1591a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bc90b=>_0x5bc90b[_0x1591a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1591a0([0x2a])))[_0x1591a0([0x6d,0x61,0x70])](_0x30f78e=>_0x30f78e[_0x1591a0([0x73,0x70,0x6c,0x69,0x74])](_0x1591a0([0x2e])))[_0x1591a0([0x73,0x6f,0x6d,0x65])](_0x555ea5=>_0x47263d[_0x1591a0([0x65,0x76,0x65,0x72,0x79])]((_0x561ca5,_0x79d1e8)=>_0x555ea5[_0x79d1e8]===_0x561ca5||_0x555ea5[_0x79d1e8]===_0x1591a0([0x2a])));}function _0x281855(){return _0x9c578a&&_0x10997f?new window[(_0x1591a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb4d225,_0x15103c)=>{_0x9c578a[_0x1591a0([0x74,0x68,0x65,0x6e])](_0xb4d225,_0x15103c),_0x10997f[_0x1591a0([0x74,0x68,0x65,0x6e])](_0x3bbf48=>{_0x3bbf48!=_0x1591a0([0x56,0x61,0x6c,0x69,0x64])&&_0xb4d225(_0x3bbf48);},_0x15103c);}):_0x9c578a||_0x10997f||_0x1591a0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x242647(_0x144e7d,_0x217690){return new window[(_0x1591a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25d119=>{if(_0x10e9e4())return _0x25d119(_0x1591a0([0x56,0x61,0x6c,0x69,0x64]));_0x56fb12(),_0x337717[_0x1591a0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1591a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x38fd4a=!0x1;const _0x194d11=_0x5391d4();function _0x4615a6(_0x3fe8a6){return!!_0x3fe8a6&&(typeof _0x3fe8a6===_0x1591a0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3fe8a6===_0x1591a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3fe8a6[_0x1591a0([0x74,0x68,0x65,0x6e])]===_0x1591a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3fe8a6[_0x1591a0([0x63,0x61,0x74,0x63,0x68])]===_0x1591a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21c766(_0x563220){_0x2b0da2(_0x563220)[_0x1591a0([0x74,0x68,0x65,0x6e])](_0x4b425d=>{if(!_0x4b425d||_0x4b425d[_0x1591a0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1591a0([0x6f,0x6b]))return _0x1591a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x37f3c9(_0x3d3e23(_0x194d11+_0x217690))!=_0x4b425d[_0x1591a0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1591a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1591a0([0x56,0x61,0x6c,0x69,0x64]);})[_0x1591a0([0x74,0x68,0x65,0x6e])](_0xc2474e=>(_0x273b1c(),_0xc2474e),()=>{const _0x2b3f04=_0x15ddec();return null==_0x2b3f04?(_0x273b1c(),_0x1591a0([0x56,0x61,0x6c,0x69,0x64])):_0x1591a0(_0x1cd48d-_0x2b3f04>(0x764b1435^_0x17883b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1591a0([0x74,0x68,0x65,0x6e])](_0x25d119)[_0x1591a0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25d119(_0x1591a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c0b07=0x52717eb5^_0x17883b;function _0x273b1c(){const _0x130bdf=_0x1591a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x37f3c9(_0x3d3e23(_0x144e7d)),_0x9d4ddd=_0x176a07(_0x37f3c9(window[_0x1591a0([0x4d,0x61,0x74,0x68])][_0x1591a0([0x63,0x65,0x69,0x6c])](_0x1cd48d/_0x1c0b07)));window[_0x1591a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1591a0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x130bdf,_0x9d4ddd);}function _0x15ddec(){const _0x477591=_0x1591a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x37f3c9(_0x3d3e23(_0x144e7d)),_0x138d97=window[_0x1591a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1591a0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x477591);return _0x138d97?window[_0x1591a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x176a07(_0x138d97),0x10)*_0x1c0b07:null;}function _0x2b0da2(_0x343acc){return new window[(_0x1591a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44c3ee,_0x295c17)=>{_0x343acc[_0x1591a0([0x74,0x68,0x65,0x6e])](_0x44c3ee,_0x295c17),window[_0x1591a0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x295c17,0x524644f5^_0x17883b);});}}_0x337717[_0x1591a0([0x6f,0x6e])](_0x1591a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d6f1f,_0x3fd56b)=>{if(_0x3fd56b[0x0]!=_0x144e7d)return _0x25d119(_0x1591a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3fd56b[0x1]={..._0x3fd56b[0x1],[_0x1591a0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x194d11};},{[_0x1591a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1591a0([0x68,0x69,0x67,0x68])}),_0x337717[_0x1591a0([0x6f,0x6e])](_0x1591a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x304da1=>{_0x4615a6(_0x304da1[_0x1591a0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x38fd4a=!0x0,_0x21c766(_0x304da1[_0x1591a0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1591a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1591a0([0x6c,0x6f,0x77])}),_0x56b404[_0x1591a0([0x74,0x68,0x65,0x6e])](()=>{_0x38fd4a||_0x25d119(_0x1591a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10e9e4(){return _0x337717[_0x1591a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1591a0([0x76,0x69,0x65,0x77])][_0x1591a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1591a0([0x61,0x75,0x74,0x6f]);}function _0x56fb12(){_0x337717[_0x1591a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1591a0([0x76,0x69,0x65,0x77])][_0x1591a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1591a0([0x61,0x75,0x74,0x6f]);}}function _0x52a4b3(_0x3501a6){const _0x498ff7=[new window[(_0x1591a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa57415=>setTimeout(_0xa57415,0x524eaef9^_0x17883b)),_0x56b404[_0x1591a0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1591a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54f742=>{let _0x5ccd12=0x0;_0x337717[_0x1591a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1591a0([0x6f,0x6e])](_0x1591a0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x162f9e,_0x18b361)=>{_0x18b361[0x0][_0x1591a0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ccd12++,_0x5ccd12==(0x524791cd^_0x17883b)&&(_0x54f742(),_0x162f9e[_0x1591a0([0x6f,0x66,0x66])]());});}))];return window[_0x1591a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1591a0([0x72,0x61,0x63,0x65])](_0x498ff7)[_0x1591a0([0x74,0x68,0x65,0x6e])](()=>_0x3501a6);}async function _0x1af09c(){await _0x56b404,_0x337717[_0x1591a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1591a0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf488,_0x337717[_0x1591a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1591a0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf488,_0x337717[_0x1591a0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1591a0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e0777(_0x52a704){const _0x39d5aa=_0x343826();_0x337717[_0x39d5aa]=_0x1591a0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52a704,_0x52a704!=_0x1591a0([0x56,0x61,0x6c,0x69,0x64])&&_0x1af09c();}function _0x343826(){const _0x3137db=window[_0x1591a0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1591a0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1591a0([0x6e,0x6f,0x77])]())[_0x1591a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1591a0([0x2e]),'');let _0x19dfeb=_0x1591a0([0x72]);for(let _0x14be29=0x0;_0x14be29<_0x3137db[_0x1591a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14be29+=0x2){let _0x596fbf=window[_0x1591a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3137db[_0x1591a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14be29,_0x14be29+0x2));_0x596fbf>=_0x58f04e[_0x1591a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x596fbf-=_0x58f04e[_0x1591a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19dfeb+=_0x58f04e[_0x596fbf];}return _0x19dfeb;}function _0xf6cb38(){const _0xd5fff7=_0x349a0f[_0x1591a0([0x73,0x70,0x6c,0x69,0x74])](_0x1591a0([0x2e]));if(0x3!=_0xd5fff7[_0x1591a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x16530a(_0xd5fff7[0x1]);function _0x16530a(_0x20ee74){const _0x342690=_0x258416(_0x20ee74);return _0x342690&&_0x37d174()?_0x342690:null;function _0x37d174(){const _0x4c4515=_0x342690[_0x1591a0([0x6a,0x74,0x69])],_0x5199b6=window[_0x1591a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c4515[_0x1591a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c4515[_0x1591a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45ca92={..._0x342690,[_0x1591a0([0x6a,0x74,0x69])]:_0x4c4515[_0x1591a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c4515[_0x1591a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45ca92[_0x1591a0([0x76,0x63])],_0x3d3e23(_0x45ca92)==_0x5199b6;}}}async function _0x20fda6(){let _0x3e360f=!0x0;try{const _0x4f5de7=_0x349a0f[_0x1591a0([0x73,0x70,0x6c,0x69,0x74])](_0x1591a0([0x2e])),[_0x2e6709,_0x44f75b,_0x5e7449]=_0x4f5de7;return _0x2ccfba(_0x2e6709),await _0x47d441(_0x2e6709,_0x44f75b,_0x5e7449),_0x3e360f;}catch{return!0x1;}function _0x2ccfba(_0x43af1e){const _0x1801aa=_0x258416(_0x43af1e);_0x1801aa&&_0x1801aa[_0x1591a0([0x61,0x6c,0x67])]==_0x1591a0([0x45,0x53,0x32,0x35,0x36])||(_0x3e360f=!0x1);}async function _0x47d441(_0x423fd9,_0x2da648,_0x4b9dbf){const _0x5a79f0=window[_0x1591a0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1591a0([0x66,0x72,0x6f,0x6d])](_0x58a21e(_0x4b9dbf),_0x18717a=>_0x18717a[_0x1591a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54c2f9=new window[(_0x1591a0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1591a0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x423fd9+_0x1591a0([0x2e])+_0x2da648),_0x48fece=window[_0x1591a0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1591a0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48fece)return;const _0x4163a7=await _0x48fece[_0x1591a0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1591a0([0x6a,0x77,0x6b]),_0x5c2e8d,{[_0x1591a0([0x6e,0x61,0x6d,0x65])]:_0x1591a0([0x45,0x43,0x44,0x53,0x41]),[_0x1591a0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1591a0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1591a0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48fece[_0x1591a0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1591a0([0x6e,0x61,0x6d,0x65])]:_0x1591a0([0x45,0x43,0x44,0x53,0x41]),[_0x1591a0([0x68,0x61,0x73,0x68])]:{[_0x1591a0([0x6e,0x61,0x6d,0x65])]:_0x1591a0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4163a7,_0x5a79f0,_0x54c2f9)||(_0x3e360f=!0x1);}}function _0x258416(_0x4d64ad){return _0x4d64ad[_0x1591a0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1591a0([0x65,0x79]))?JSON[_0x1591a0([0x70,0x61,0x72,0x73,0x65])](_0x58a21e(_0x4d64ad)):null;}function _0x58a21e(_0x1d765c){return window[_0x1591a0([0x61,0x74,0x6f,0x62])](_0x1d765c[_0x1591a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1591a0([0x2b]))[_0x1591a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1591a0([0x2f])));}function _0x3d3e23(_0x5bfd9a){let _0x585097=0x1505;function _0x1d46e5(_0x303108){for(let _0x17d289=0x0;_0x17d289<_0x303108[_0x1591a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17d289++){const _0x17e454=_0x303108[_0x1591a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17d289);_0x585097=(_0x585097<<0x5)+_0x585097+_0x17e454,_0x585097&=_0x585097;}}function _0x26c8a8(_0x208ba1){Array[_0x1591a0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x208ba1)?_0x208ba1[_0x1591a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x26c8a8):_0x208ba1&&typeof _0x208ba1==_0x1591a0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1591a0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x208ba1)[_0x1591a0([0x73,0x6f,0x72,0x74])]()[_0x1591a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4627d9,_0x26e49a])=>{_0x1d46e5(_0x4627d9),_0x26c8a8(_0x26e49a);}):_0x1d46e5(window[_0x1591a0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x208ba1));}return _0x26c8a8(_0x5bfd9a),_0x585097>>>0x0;}function _0x37f3c9(_0xf88a72){return _0xf88a72[_0x1591a0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1591a0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1591a0([0x30]));}function _0x176a07(_0x1a29fc){return _0x1a29fc[_0x1591a0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1591a0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1591a0([0x6a,0x6f,0x69,0x6e])]('');}function _0xf488(){}function _0x1591a0(_0x59611b){return _0x59611b['map'](_0x5d2ece=>String['fromCharCode'](_0x5d2ece))['join']('');}_0x5e0777(await _0x377676());}(this);}['_initSchema'](){const _0x2d6ef8=this['editor']['model']['schema'];_0x2d6ef8['isRegistered']('imageBlock')&&_0x2d6ef8['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2d6ef8['isRegistered']('imageInline')&&_0x2d6ef8['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x823912=this['editor'];_0x823912['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x823912['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1dce94=>_0x1dce94['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x433471=_0x823912['commands']['get']('replaceImageSource');_0x433471&&this['listenTo'](_0x433471,'cleanupImage',(_0x43c327,[_0x5daa16,_0x4f7a0a])=>{_0x5daa16['removeAttribute']('uploadcareImageId',_0x4f7a0a);});}['_initConfig'](){const _0x5497ce=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5c3ac4=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4063cb(_0x18ac40['document'],'uc-config',{..._0x5497ce,'pubkey':_0x5c3ac4,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x49671d=>{if('closeMax'==_0x49671d)return'#uc-icon-arrow-down';},_0x18ac40['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4063cb(_0x18ac40['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x18ac40['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3e4718=this['editor']['commands']['get']('insertImage');_0x3e4718&&this['listenTo'](_0x3e4718,'execute',()=>{const _0x465154=this['editor']['model']['document']['selection']['getSelectedElement']();_0x465154&&_0x465154['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x465154);});});const _0x3d1f51=this['editor']['commands']['get']('uploadcareImageReplace');_0x3d1f51&&this['listenTo'](_0x3d1f51,'execute',()=>{const _0x36c024=this['editor']['model']['document']['selection']['getSelectedElement']();_0x36c024&&_0x36c024['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x36c024);});});}}class tt extends _0x52d6a3{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x154df9){super(_0x154df9),_0x154df9['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x158529['defineComponents'](_0x158529);}}class ii extends _0x106428{constructor(_0x30f682){super(_0x30f682);const t=_0x30f682['t'],_0x52677a=this['bindTemplate'],_0x3dca3c=new _0x2ecad5();_0x3dca3c['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':[_0x3dca3c,{'text':_0x52677a['to']('imageUploadProgress',_0x10b083=>t('Loading\x20image...')+'\x20('+(_0x10b083||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 _0x106428{constructor(_0x44adb6){super(_0x44adb6);const t=_0x44adb6['t'];this['set']('errorType',null);const _0x4c2436=new _0x32ef02(_0x44adb6);_0x4c2436['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4c2436['withText']=!0x0,_0x4c2436['class']='ck-button-action',_0x4c2436['on']('execute',()=>{this['fire']('retry');}),_0x4c2436['bind']('isVisible')['to'](this,'errorType',_0x2a14b1=>'NotFound'!==_0x2a14b1);const _0x227f68=new _0x3ec409();_0x227f68['content']=_0xab1046,_0x227f68['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4bc35d=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':[_0x227f68,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4bc35d['to']('errorType',_0x31ca70=>t('NotFound'!==_0x31ca70?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4c2436]},{'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 _0x106428{constructor(_0x2e1577,_0x200732){super(_0x2e1577);const _0x459c57=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x200732,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x459c57['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5c8254,_0x122ca3,_0x20c939){super(_0x5c8254),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5c8254),this['_errorView']=new ti(_0x5c8254),this['_editingView']=new ei(_0x5c8254,_0x20c939),this['_focusableView']=new _0x106428(_0x5c8254),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x122ca3),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'],_0x5807e7=>{this['_addUploadcareImageEditorListeners'](_0x5807e7);});}),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'](_0x36610b,_0x4e646a){const _0x5ed0d0='uc-cloud-image-editor',_0x54e8b2=_0x36610b['querySelector'](_0x5ed0d0);if(_0x54e8b2)return _0x4e646a(_0x54e8b2);const _0x3b05fc=new MutationObserver(_0x5911e2=>{const _0x294b06=_0x5911e2['filter'](_0x2b3ff5=>_0x2b3ff5['target']===_0x36610b&&_0x2b3ff5['addedNodes']['length']>0x0&&_0x2b3ff5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5ed0d0);_0x294b06['length']&&(_0x3b05fc['disconnect'](),_0x4e646a(_0x294b06[0x0]['addedNodes'][0x0]));});_0x3b05fc['observe'](_0x36610b,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4a2e13){_0x4a2e13['addEventListener']('apply',_0x4a812d=>{this['fire']('apply',{'imageSrc':_0x4a812d['detail']['cdnUrl']});}),_0x4a2e13['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x259f11(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x428cbd,_0x27f9aa,_0x2d7434){super(),this['_editor']=_0x428cbd,this['_dialog']=_0x27f9aa,this['_imageElement']=_0x2d7434,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 _0xac13fe=this['_imageElement'],_0x26fd99=_0xac13fe['getAttribute']('uploadcareImageId'),_0x33a2d7=_0xac13fe['getAttribute']('src');if(_0x26fd99)await this['_loadImageInfo'](_0x26fd99,_0x33a2d7);else{if(this['_imageCache']['has'](_0x33a2d7)){const _0x1cd539=this['_imageCache']['get'](_0x33a2d7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cd539['url'],this['imageDimension']=_0x1cd539['dimension'],this['imageId']=_0x1cd539['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1941c3}=this['_editor'],t=_0x1941c3['t'],_0x2fa122=new X(_0x1941c3,this['imageStatus'],this['_attributes']);_0x2fa122['bind']('status')['to'](this,'imageStatus'),_0x2fa122['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2fa122['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2fa122['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2fa122,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2f31b8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2fa122,'position':_0xd65444['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2fa122['focus']();},'onHide':()=>{_0x2fa122['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb69687=>!S(_0xb69687,_0x2fa122['element'])}});}['_loadImageInfo'](_0x3ba26f,_0x289c19){return j['getInfo'](_0x3ba26f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1dc512=>{const {width:_0x89999b,height:_0x4d04f4}=_0x1dc512['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x289c19,this['imageDimension']={'width':_0x89999b,'height':_0x4d04f4},this['imageId']=_0x3ba26f;})['catch'](_0x20cec8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x20cec8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5d051c,_0x346416){return this['_getImageAsFile'](_0x5d051c)['then'](_0x4c0784=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x346416['signal'],'file':_0x4c0784,'onProgress':_0x1b1d74=>{_0x1b1d74&&_0x1b1d74['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1b1d74['value']));}}))['then'](_0x3c5066=>{const {width:_0x5d6d66,height:_0x575d3f}=_0x3c5066['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c5066['cdnUrl'],this['imageDimension']={'width':_0x5d6d66,'height':_0x575d3f},this['imageId']=_0x3c5066['uuid'],this['imageUploadProgress']=null;const _0x13b8fc=_0x5d051c['getAttribute']('src');this['_imageCache']['set'](_0x13b8fc,{'id':_0x3c5066['uuid'],'url':_0x3c5066['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x292bd8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x292bd8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x76495c,_0x1ab5c8){_0x76495c['on']('apply',(_0xf79569,_0x35d00e)=>{this['_replaceImage'](_0x1ab5c8,_0x35d00e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x76495c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x76495c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x18a521,_0x19e661,_0x5e7aeb){const _0x119c3a=this['_editor'],{width:_0x2752fe,height:_0x42a692}=C(_0x19e661,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x53bcac,imageSources:_0xb262b5}=k(_0x19e661,_0x2752fe);_0x119c3a['model']['change'](_0x2d75c6=>{if('$graveyard'===_0x18a521['root']['rootName']){_0x119c3a['execute']('insertImage',{'imageType':_0x18a521['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x18a521['getAttributes']()),'uploadcareImageId':_0x5e7aeb,'src':_0x53bcac,'sources':_0xb262b5,'width':_0x2752fe,'height':_0x42a692}});const _0x583531=_0x18a521['getChildren']();_0x18a521=_0x119c3a['model']['document']['selection']['getSelectedElement']();for(const _0x420bec of _0x583531)_0x2d75c6['append'](_0x2d75c6['cloneElement'](_0x420bec),_0x18a521);}else _0x2d75c6['setSelection'](_0x18a521,'on'),_0x119c3a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x18a521['getAttributes']()),'uploadcareImageId':_0x5e7aeb,'src':_0x53bcac,'sources':_0xb262b5,'width':_0x2752fe,'height':_0x42a692},_0x18a521);_0x2d75c6['setSelection'](_0x18a521,'on');});}async['_getImageAsFile'](_0x53bba3){const _0x245b49=_0x18ac40['window'],_0x5da63d=_0x18ac40['document']['location']['href'],_0xf476d7=new _0x245b49['URL'](_0x53bba3['getAttribute']('src'),_0x5da63d);if('data:'===_0xf476d7['protocol']){const _0x478af9=_0xf476d7['href']['split'](','),_0x215eec=_0x478af9[0x0]['match'](/:(.*?);/)[0x1],_0x63a4cb=_0x215eec['split']('/')[0x1],_0x266ade=_0x245b49['atob'](_0x478af9[_0x478af9['length']-0x1]);let _0x42f5d6=_0x266ade['length'];const _0x382de6=new _0x245b49['Uint8Array'](_0x42f5d6);for(;_0x42f5d6--;)_0x382de6[_0x42f5d6]=_0x266ade['charCodeAt'](_0x42f5d6);return new _0x245b49['File']([_0x382de6],'image.'+_0x63a4cb,{'type':_0x215eec});}const _0x5af539=_0xf476d7['href']['split']('/'),_0x264a0a=_0x5af539[_0x5af539['length']-0x1],_0x355127=_0x264a0a['split']('.')[0x1];return _0x245b49['fetch'](_0xf476d7['href'])['then'](_0x504111=>_0x504111['clone']()['blob']())['then'](_0x519708=>new _0x245b49['File']([_0x519708],_0x264a0a,{'type':'image/'+_0x355127}));}}class Q extends _0x2c0434{['imageEditController'];static get['requires'](){return[_0x2810a3];}['_isEditable'];constructor(_0xeba3d9){super(_0xeba3d9),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2b3acf){const _0x59c428=z(_0x2b3acf);return _0x169515=>!(!_0x169515||!_0x169515['is']('element','imageBlock')&&!_0x169515['is']('element','imageInline'))&&(!!_0x169515['hasAttribute']('uploadcareImageId')||!!_0x169515['hasAttribute']('src')&&_0x59c428(_0x169515['getAttribute']('src')));}(_0xeba3d9['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x201dd5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x201dd5);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x175517=this['editor']['model']['document']['selection']['getSelectedElement']();_0x175517&&(_0x175517['is']('element','imageBlock')||_0x175517['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x2810a3),_0x175517),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x2c0434{['refresh'](){const _0x4cb5d5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4cb5d5&&(_0x4cb5d5['is']('element','imageBlock')||_0x4cb5d5['is']('element','imageInline')));}['execute'](_0x292049){const _0x541c39=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1fe874=>{_0x1fe874['setAttributes'](_0x292049,_0x541c39),_0x1fe874['removeAttribute']('srcset',_0x541c39),_0x1fe874['removeAttribute']('sizes',_0x541c39);});}}class m extends _0x52d6a3{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x82561b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4eccc9}=this;_0x4eccc9['commands']['add']('uploadcareImageEdit',new Q(_0x4eccc9)),_0x4eccc9['commands']['add']('uploadcareImageReplace',new V(_0x4eccc9));}}class g extends _0x52d6a3{['_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 _0x5cf840=this['editor'];_0x5cf840['ui']['componentFactory']['add']('uploadcareImageEdit',_0x531e21=>{const _0x1d2877=_0x5cf840['commands']['get']('uploadcareImageEdit'),_0x2e2814=new _0x32ef02(_0x531e21),t=_0x531e21['t'];return _0x2e2814['set']({'icon':_0x2f31b8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2e2814['bind']('isEnabled')['to'](_0x1d2877),_0x2e2814['bind']('isOn')['to'](_0x1d2877,'isActive'),this['listenTo'](_0x2e2814,'execute',()=>{_0x5cf840['execute']('uploadcareImageEdit'),_0x5cf840['editing']['view']['focus']();}),_0x2e2814;}),this['_initConfig']();}['_initConfig'](){const _0x5ebdf0=_0x4063cb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5ebdf0),this['listenTo'](this['editor'],'destroy',()=>{_0x5ebdf0['remove']();});}}class et extends _0x52d6a3{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,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x21b473,Command as _0x3d433a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5a7d39,IconGooglePhotos as _0x42ede8,IconGoogleDrive as _0x1f2885,IconFacebook as _0x4d5124,IconDropbox as _0x3aae38,IconUploadcareLink as _0x149daa,IconUploadcareImageUpload as _0x34ee68,IconError as _0x76aebe,IconUploadcareImageEdit as _0x2f9451}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x42e5af,MenuBarMenuListItemButtonView as _0x1d10e8,View as _0x5a304e,FocusCycler as _0x33c4b7,Dialog as _0x1cd564,DialogViewPosition as _0x52deb8,SpinnerView as _0x17e214,IconView as _0x51c96d,Notification as _0x2a00e1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3fcc19,DomEmitterMixin as _0x15bd47,global as _0x4e4dd9,getAncestors as _0x2a1433,ObservableMixin as _0x3f1032,createElement as _0x457e58,uid as _0x224e29}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4e730b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x57a22e,info as _0x35e6dc}from'@uploadcare/upload-client';import*as _0x22fb76 from'@uploadcare/file-uploader';var i=function(_0x389fbd){return _0x389fbd['Local']='local',_0x389fbd['URL']='url',_0x389fbd['Dropbox']='dropbox',_0x389fbd['GDrive']='gdrive',_0x389fbd['Facebook']='facebook',_0x389fbd['GPhotos']='gphotos',_0x389fbd['OneDrive']='onedrive',_0x389fbd;}({});function _(_0x389d68,_0x472731,_0x50fff9){const t=_0x389d68['t'],_0x32f8b0=_0x389d68['t'];switch(_0x472731){case i['Local']:return{'text':_0x32f8b0('Insert'===_0x50fff9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x32f8b0('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x50fff9?_0x32f8b0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x32f8b0('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x50fff9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x50fff9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x50fff9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x50fff9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x50fff9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x472731;}}class e extends _0x21b473{['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 _0x20c9a0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6e7d31;for(const _0x5ec056 in _0x20c9a0){const _0x169477=_0x5ec056,_0x2e14a4=_0x20c9a0[_0x169477];if('uploadcareLicenseKeyValid'==_0x2e14a4||'uploadcareLicenseKeyInvalid'==_0x2e14a4||'uploadcareLicenseKeyExpired'==_0x2e14a4||'uploadcareLicenseKeyDomainLimit'==_0x2e14a4||'uploadcareLicenseKeyNotAllowed'==_0x2e14a4||'uploadcareLicenseKeyEvaluationLimit'==_0x2e14a4||'uploadcareLicenseKeyTrialLimit'==_0x2e14a4||'uploadcareLicenseKeyUsageLimit'==_0x2e14a4){delete _0x20c9a0[_0x169477],_0x6e7d31=_0x2e14a4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x6e7d31&&_0x20c9a0['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x6e7d31&&_0x20c9a0['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x6e7d31&&_0x20c9a0['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x6e7d31&&_0x20c9a0['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x6e7d31&&_0x20c9a0['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x6e7d31&&_0x20c9a0['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x6e7d31&&_0x20c9a0['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2b9a39}=this,_0x4a5053=_0x2b9a39['commands']['get']('uploadcare');if(!_0x4a5053)return;const _0xdd2b97=this['_normalizeConfigSourceList'](_0x2b9a39['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xa2af79,_0x325220)=>{const _0x4f1dca=this['_getIntegrationKey'](_0x325220['type']);return _0xa2af79[_0x4f1dca]||(_0xa2af79[_0x4f1dca]=[]),_0xa2af79[_0x4f1dca]['push'](_0x325220),_0xa2af79;},{});_0x2b9a39['plugins']['has']('ImageInsertUI')&&_0x2b9a39['commands']['get']('uploadcare')&&Object['entries'](_0xdd2b97)['forEach'](([_0x285587,_0x48157e])=>{_0x2b9a39['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x285587,'observable':()=>_0x4a5053,'buttonViewCreator':()=>this['_createToolbarButton'](_0x48157e),'formViewCreator':()=>this['_createDropdownButtons'](_0x48157e),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x48157e),'override':'assetManager'!==_0x285587});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1cda65){const {locale:_0x304f84}=this['editor'];return _0x1cda65['map'](_0x14f5dd=>{const _0x4e9529=_(_0x304f84,_0x14f5dd,'Insert');switch(_0x14f5dd){case i['Local']:return{'icon':_0x34ee68,'type':i['Local'],..._0x4e9529};case i['URL']:return{'icon':_0x149daa,'type':i['URL'],..._0x4e9529};case i['Dropbox']:return{'icon':_0x3aae38,'type':i['Dropbox'],..._0x4e9529};case i['Facebook']:return{'icon':_0x4d5124,'type':i['Facebook'],..._0x4e9529};case i['GDrive']:return{'icon':_0x1f2885,'type':i['GDrive'],..._0x4e9529};case i['GPhotos']:return{'icon':_0x42ede8,'type':i['GPhotos'],..._0x4e9529};case i['OneDrive']:return{'icon':_0x5a7d39,'type':i['OneDrive'],..._0x4e9529};}});}['_getIntegrationKey'](_0x24ac26){switch(_0x24ac26){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1fb821,_0x3a1541){const _0x2b67c7=this['editor'],_0x4e3347=new _0x1fb821(_0x2b67c7['locale']),_0x3b0ca4=_0x2b67c7['commands']['get']('uploadcare');return _0x4e3347['bind']('isEnabled')['to'](_0x3b0ca4),_0x4e3347['on']('execute',()=>{_0x3b0ca4['execute'](_0x3a1541);}),_0x4e3347;}['_createToolbarButton'](_0x1bbf4c){const {locale:_0x43e106}=this['editor'],_0x5bb44b=this['editor']['plugins']['get']('ImageInsertUI'),_0x5d37c2=_0x1bbf4c[0x0],_0x5eeeec=this['_createButton'](_0x42e5af,_0x5d37c2['type']);return _0x5eeeec['icon']=_0x5d37c2['icon'],_0x5eeeec['bind']('label')['to'](_0x5bb44b,'isImageSelected',_0x28ccce=>_(_0x43e106,_0x5d37c2['type'],_0x28ccce?'Replace':'Insert')['text']),_0x5eeeec['tooltip']=!0x0,_0x5eeeec;}['_createDropdownButtons'](_0x137668){const {locale:_0x5a92fe}=this['editor'],_0x128952=this['editor']['plugins']['get']('ImageInsertUI');return _0x137668['map'](_0x52c47c=>{const _0x36d8dc=this['_createButton'](_0x42e5af,_0x52c47c['type']);return _0x36d8dc['withText']=!0x0,_0x36d8dc['icon']=_0x52c47c['icon'],_0x36d8dc['bind']('label')['to'](_0x128952,'isImageSelected',_0x3f89be=>_(_0x5a92fe,_0x52c47c['type'],_0x3f89be?'Replace':'Insert')['text']),_0x36d8dc;});}['_createMenuBarButtons'](_0x29b213){return _0x29b213['map'](_0x39207f=>{const _0x95a9fc=this['_createButton'](_0x1d10e8,_0x39207f['type']);return _0x95a9fc['icon']=_0x39207f['icon'],_0x95a9fc['label']=_0x39207f['shortText'],_0x95a9fc;});}}class F extends _0x5a304e{['focusTracker'];['focusCycler'];constructor(_0x1a17e4){super(_0x1a17e4),this['focusTracker']=new _0x3fcc19(),this['focusCycler']=new _0x33c4b7({'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(_0x2632bf){super(_0x2632bf),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x4f442e,_0x1acbb9){const _0x2abe7d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4084b8=>_0x4084b8<=_0x1acbb9)['map'](_0x11f1a9=>_0x4f442e['replace'](/\/$/,'')+'/-/resize/'+_0x11f1a9+'x/\x20'+_0x11f1a9+'w');return{'imageFallbackUrl':_0x4f442e,'imageSources':[{'srcset':_0x2abe7d['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1acbb9+'px)\x20100vw,\x20'+_0x1acbb9+'px','type':'image/webp'}]};}function C(_0xdf8365,_0x21c115,_0x21a9c9){const _0x423d56=_0xdf8365['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x423d56?parseInt(_0x423d56[0x1],0xa):_0x21c115,'height':_0x423d56?parseInt(_0x423d56[0x2],0xa):_0x21a9c9};}function p(_0x570442,_0x13e7ec){const _0x47fa7c=new(_0x15bd47())(),_0x4170ab=_0x570442['plugins']['get']('ImageUtils'),_0x499343=_0x570442['editing']['mapper']['toViewElement'](_0x13e7ec),_0x532897=_0x4170ab['findViewImgElement'](_0x499343),_0x48b688=_0x570442['editing']['view']['domConverter']['viewToDom'](_0x532897),_0x1828a1=_0x13e7ec['getAttribute']('width'),_0x98abcf=_0x13e7ec['getAttribute']('height'),_0x2d3337='image-processing';_0x570442['editing']['view']['change'](_0x294518=>{_0x294518['addClass'](_0x2d3337,_0x499343),_0x294518['setStyle']('aspect-ratio',_0x1828a1+'/'+_0x98abcf,_0x532897);}),_0x47fa7c['listenTo'](_0x48b688,'load',()=>{_0x47fa7c['stopListening'](_0x48b688,'load'),_0x570442['editing']['view']['change'](_0x1d75b3=>{_0x1d75b3['removeClass'](_0x2d3337,_0x499343),_0x1d75b3['removeStyle']('aspect-ratio',_0x532897);});});}function z(_0x5a570c){if(Array['isArray'](_0x5a570c)){const _0x2f434e=_0x5a570c['map'](z);return _0x8c41d4=>_0x2f434e['some'](_0x2a623c=>_0x2a623c(_0x8c41d4));}if('origin'==_0x5a570c){const _0xe0cbb7=_0x4e4dd9['window']['location']['origin'];return _0x305c4d=>new URL(_0x305c4d,_0x4e4dd9['document']['baseURI'])['origin']==_0xe0cbb7;}return'function'==typeof _0x5a570c?_0x5a570c:_0x5a570c instanceof RegExp?_0x40ea68=>!(!_0x40ea68['match'](_0x5a570c)&&!_0x40ea68['replace'](/^https?:\/\//,'')['match'](_0x5a570c)):()=>!0x1;}function S(_0x45025f,_0x58a798){return _0x2a1433(_0x45025f['target'])['includes'](_0x58a798);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x3f1032(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x374e23,_0x3b5c24,_0x5d59a6){super(),this['_editor']=_0x374e23,this['_editing']=_0x3b5c24,this['_dialog']=_0x374e23['plugins']['get'](_0x1cd564),this['_api']=_0x3b5c24['ctxElement']['getAPI'](),this['_type']=_0x5d59a6,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:_0xe4149e,model:_0x19a67e}=this['_editor'],_0x46aec4=_0x19a67e['document']['selection']['getSelectedElement'](),_0x109242=_0x46aec4&&(_0x46aec4['is']('element','imageBlock')||_0x46aec4['is']('element','imageInline'));this['_formView']=new x(_0xe4149e),this['_dialog']['show']({'id':'uploadCare','icon':_0x34ee68,'title':_(_0xe4149e,this['_type'],_0x109242?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x52deb8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4aa306=>!S(_0x4aa306,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x34665a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5a0492=>{const _0x24a3fa=_0x34665a['length'];for(const _0x46ee9f of _0x34665a){const _0x176096=_0x46ee9f===_0x34665a[_0x24a3fa-0x1],{cdnUrl:_0x19261c,fileInfo:_0x4474d3}=_0x46ee9f;if(!_0x19261c||!_0x4474d3)continue;const {width:_0x1d7269,height:_0x1abac9}=_0x4474d3['imageInfo'],_0x301289=C(_0x19261c,_0x1d7269,_0x1abac9),_0x16d9b8=k(_0x19261c,_0x301289['width']),_0x58bd86={'id':_0x4474d3['uuid'],'type':'image','attributes':{'imageDimension':_0x301289,..._0x16d9b8}};this['_insertAsset'](_0x58bd86,_0x176096,_0x5a0492);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x190af0=>{'idle'===_0x190af0['detail']['status']&&!_0x190af0['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5eff62,_0x5d2072,_0x3522f4){const _0x2d920b=this['_editor']['model']['document']['selection'],_0x56ddb4=_0x2d920b['getSelectedElement'](),_0x4882c9=!(!_0x56ddb4||!_0x56ddb4['is']('element','imageInline'));_0x3522f4['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5eff62,_0x4882c9),_0x5d2072||_0x3522f4['setSelection'](_0x2d920b['getLastPosition']());}['_insertImage'](_0x16514d,_0x4eaa7d){const _0xe94740=this['_editor'],{imageDimension:_0x7e2dfb,imageFallbackUrl:_0x1433e0,imageSources:_0x2f8f10}=_0x16514d['attributes'];_0xe94740['execute']('insertImage',{'imageType':_0x4eaa7d?'imageInline':null,'source':{'uploadcareImageId':_0x16514d['id'],'src':_0x1433e0,'sources':_0x2f8f10,..._0x7e2dfb}});}}class w extends _0x3d433a{['_editing'];['_controller']=null;static get['requires'](){return[_0x1cd564,o];}constructor(_0x5591ed){super(_0x5591ed),this['_editing']=_0x5591ed['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4d770f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4d770f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x538b5b,publicKey:_0x794edd,signal:_0x3d890b,onProgress:_0x351e5c}){return _0x57a22e(_0x538b5b,{'publicKey':_0x794edd,'store':'auto','signal':_0x3d890b,'onProgress':_0x351e5c});}static['getInfo'](_0x497626,_0xc99889){return _0x35e6dc(_0x497626,_0xc99889);}}class f extends _0x21b473{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4e730b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xe1ae44=this['editor'];if(!!!_0xe1ae44['config']['get']('uploadcare'))return;_0xe1ae44['plugins']['get'](_0x4e730b)['createUploadAdapter']=_0x5344b6=>new A(_0x5344b6,_0xe1ae44),_0xe1ae44['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x423ed3,{imageElement:_0x1671dd,data:_0xe3b81c})=>{_0xe1ae44['model']['change'](_0x42d694=>{_0x42d694['setAttribute']('uploadcareImageId',_0xe3b81c['uploadcareImageId'],_0x1671dd);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x4ecb4f,_0x5a625a){this['loader']=_0x4ecb4f,this['editor']=_0x5a625a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2c1480=this['editor']['config']['get']('uploadcare.pubkey'),_0x4bb63b=await this['loader']['file'];return j['upload']({'file':_0x4bb63b,'publicKey':_0x2c1480,'signal':this['controller']['signal'],'onProgress':_0x3d703c=>{_0x3d703c&&_0x3d703c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3d703c['value']);}})['then'](async _0x3ec5a7=>{const {imageFallbackUrl:_0x5ec7f6,imageSources:_0x4c9619}=k(_0x3ec5a7['cdnUrl'],_0x3ec5a7['imageInfo']['width']);return{'uploadcareImageId':_0x3ec5a7['uuid'],'default':_0x5ec7f6,'sources':_0x4c9619};})['catch'](()=>{const _0x2a2f28=t('Cannot\x20upload\x20file:')+('\x20'+_0x4bb63b['name']+'.');return Promise['reject'](_0x2a2f28);});}['abort'](){this['controller']['abort']();}}class o extends _0x21b473{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1cd564];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x115db2=this['editor'];_0x115db2['commands']['add']('uploadcare',new w(_0x115db2));}['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 _0x176e38=_0x4e4dd9['document']['querySelector']('input[uploadcare-file-input]');_0x176e38&&_0x176e38['remove']();}),async function(_0x114516){const _0x5205a8=_0xc4733f([0x36,0x64,0x76,0x75,0x43,0x70,0x39,0x4f,0x66,0x38,0x67,0x34,0x37,0x50,0x54,0x4c,0x65,0x74,0x41,0x6f,0x6d,0x4a,0x44,0x7a,0x58,0x47,0x69,0x72,0x61,0x71,0x62,0x6a,0x32,0x4b,0x6b,0x57,0x31,0x49,0x45,0x42,0x68,0x53,0x55,0x51,0x30,0x52,0x6e,0x48,0x35,0x33,0x56,0x77,0x78,0x73,0x6c,0x4d,0x4e,0x63,0x79,0x46,0x59,0x5a]),_0x8b5888=0x179b91bb,_0x3bc140=0x179cfb1b^_0x8b5888,_0x41c6cf=window[_0xc4733f([0x44,0x61,0x74,0x65])][_0xc4733f([0x6e,0x6f,0x77])](),_0x5564ce=_0x114516[_0xc4733f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28d7b2=new window[(_0xc4733f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x483b8c=>{_0x5564ce[_0xc4733f([0x6f,0x6e,0x63,0x65])](_0xc4733f([0x72,0x65,0x61,0x64,0x79]),_0x483b8c);}),_0x27df88={[_0xc4733f([0x6b,0x74,0x79])]:_0xc4733f([0x45,0x43]),[_0xc4733f([0x75,0x73,0x65])]:_0xc4733f([0x73,0x69,0x67]),[_0xc4733f([0x63,0x72,0x76])]:_0xc4733f([0x50,0x2d,0x32,0x35,0x36]),[_0xc4733f([0x78])]:_0xc4733f([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]),[_0xc4733f([0x79])]:_0xc4733f([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]),[_0xc4733f([0x61,0x6c,0x67])]:_0xc4733f([0x45,0x53,0x32,0x35,0x36])},_0x55fcd2=_0x5564ce[_0xc4733f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc4733f([0x67,0x65,0x74])](_0xc4733f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d0c2f(){let _0x5baca3,_0x5db9c0=null,_0xe7eb5c=null;try{if(_0x55fcd2==_0xc4733f([0x47,0x50,0x4c]))return _0xc4733f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5baca3=_0x57405c(),!_0x5baca3)return _0xc4733f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5baca3[_0xc4733f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe7eb5c=_0x2f2e9d(_0x5baca3[_0xc4733f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5baca3[_0xc4733f([0x6a,0x74,0x69])])),await _0x54f9da()?_0x292797()?_0x262810()?_0xc4733f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x479066()?(_0x5baca3[_0xc4733f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc4733f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5db9c0=_0x556d0d(_0xc4733f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5baca3[_0xc4733f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc4733f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5db9c0=_0x556d0d(_0xc4733f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ae00d()):_0xc4733f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc4733f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc4733f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc4733f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x262810(){const _0x430098=[_0xc4733f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc4733f([0x74,0x72,0x69,0x61,0x6c])][_0xc4733f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5baca3[_0xc4733f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41c6cf/0x3e8:0xe10*_0x3bc140;return _0x5baca3[_0xc4733f([0x65,0x78,0x70])]<_0x430098;}function _0x292797(){const _0x3d2866=_0x5baca3[_0xc4733f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d2866&&(!!_0x3d2866[_0xc4733f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc4733f([0x2a]))||!!_0x3d2866[_0xc4733f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc4733f([0x55,0x50,0x4c,0x43])));}function _0x479066(){const _0xcdcabd=_0x5baca3[_0xc4733f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcdcabd||0x0==_0xcdcabd[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd5abc2}=new URL(window[_0xc4733f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xcdcabd[_0xc4733f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd5abc2))return!0x0;const _0x247caa=_0xd5abc2[_0xc4733f([0x73,0x70,0x6c,0x69,0x74])](_0xc4733f([0x2e]));return _0xcdcabd[_0xc4733f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11f03f=>_0x11f03f[_0xc4733f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc4733f([0x2a])))[_0xc4733f([0x6d,0x61,0x70])](_0x35c121=>_0x35c121[_0xc4733f([0x73,0x70,0x6c,0x69,0x74])](_0xc4733f([0x2e])))[_0xc4733f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a20f5=>_0x3a20f5[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x247caa[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc4733f([0x6d,0x61,0x70])](_0x3ab124=>Array(_0x247caa[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ab124[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc4733f([0x66,0x69,0x6c,0x6c])](_0x3ab124[0x0]===_0xc4733f([0x2a])?_0xc4733f([0x2a]):'')[_0xc4733f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ab124))[_0xc4733f([0x73,0x6f,0x6d,0x65])](_0x31d76d=>_0x247caa[_0xc4733f([0x65,0x76,0x65,0x72,0x79])]((_0x4d63f1,_0x3d13ef)=>_0x31d76d[_0x3d13ef]===_0x4d63f1||_0x31d76d[_0x3d13ef]===_0xc4733f([0x2a])));}function _0x4ae00d(){return _0x5db9c0&&_0xe7eb5c?new window[(_0xc4733f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55ff20,_0x267aae)=>{_0x5db9c0[_0xc4733f([0x74,0x68,0x65,0x6e])](_0x55ff20,_0x267aae),_0xe7eb5c[_0xc4733f([0x74,0x68,0x65,0x6e])](_0x22e28f=>{_0x22e28f!=_0xc4733f([0x56,0x61,0x6c,0x69,0x64])&&_0x55ff20(_0x22e28f);},_0x267aae);}):_0x5db9c0||_0xe7eb5c||_0xc4733f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f2e9d(_0x310dd6,_0x280637){return new window[(_0xc4733f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f0378=>{if(_0x3636a1())return _0x3f0378(_0xc4733f([0x56,0x61,0x6c,0x69,0x64]));_0x5e8339(),_0x5564ce[_0xc4733f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc4733f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57bd45=!0x1;const _0x18c50e=_0x224e29();function _0x380257(_0x4180be){return!!_0x4180be&&(typeof _0x4180be===_0xc4733f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4180be===_0xc4733f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4180be[_0xc4733f([0x74,0x68,0x65,0x6e])]===_0xc4733f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4180be[_0xc4733f([0x63,0x61,0x74,0x63,0x68])]===_0xc4733f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f5419(_0x4fe88e){_0x40f561(_0x4fe88e)[_0xc4733f([0x74,0x68,0x65,0x6e])](_0x36daac=>{if(!_0x36daac||_0x36daac[_0xc4733f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc4733f([0x6f,0x6b]))return _0xc4733f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29b85e(_0x15cbe8(_0x18c50e+_0x280637))!=_0x36daac[_0xc4733f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc4733f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc4733f([0x56,0x61,0x6c,0x69,0x64]);})[_0xc4733f([0x74,0x68,0x65,0x6e])](_0x40917b=>(_0x330006(),_0x40917b),()=>{const _0x48c50a=_0x1a322a();return null==_0x48c50a?(_0x330006(),_0xc4733f([0x56,0x61,0x6c,0x69,0x64])):_0xc4733f(_0x41c6cf-_0x48c50a>(0x339715bb^_0x8b5888)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc4733f([0x74,0x68,0x65,0x6e])](_0x3f0378)[_0xc4733f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f0378(_0xc4733f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x380f03=0x17ad7f3b^_0x8b5888;function _0x330006(){const _0x3e086f=_0xc4733f([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b85e(_0x15cbe8(_0x310dd6)),_0x32fd41=_0x5eef99(_0x29b85e(window[_0xc4733f([0x4d,0x61,0x74,0x68])][_0xc4733f([0x63,0x65,0x69,0x6c])](_0x41c6cf/_0x380f03)));window[_0xc4733f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc4733f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e086f,_0x32fd41);}function _0x1a322a(){const _0x274dbf=_0xc4733f([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b85e(_0x15cbe8(_0x310dd6)),_0x2926c8=window[_0xc4733f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc4733f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x274dbf);return _0x2926c8?window[_0xc4733f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5eef99(_0x2926c8),0x10)*_0x380f03:null;}function _0x40f561(_0x3f6ea2){return new window[(_0xc4733f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43384e,_0x4d7419)=>{_0x3f6ea2[_0xc4733f([0x74,0x68,0x65,0x6e])](_0x43384e,_0x4d7419),window[_0xc4733f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d7419,0x179a457b^_0x8b5888);});}}_0x5564ce[_0xc4733f([0x6f,0x6e])](_0xc4733f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x438dbd,_0x18ec2f)=>{if(_0x18ec2f[0x0]!=_0x310dd6)return _0x3f0378(_0xc4733f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18ec2f[0x1]={..._0x18ec2f[0x1],[_0xc4733f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18c50e};},{[_0xc4733f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc4733f([0x68,0x69,0x67,0x68])}),_0x5564ce[_0xc4733f([0x6f,0x6e])](_0xc4733f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x445d4a=>{_0x380257(_0x445d4a[_0xc4733f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57bd45=!0x0,_0x5f5419(_0x445d4a[_0xc4733f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc4733f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc4733f([0x6c,0x6f,0x77])}),_0x28d7b2[_0xc4733f([0x74,0x68,0x65,0x6e])](()=>{_0x57bd45||_0x3f0378(_0xc4733f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3636a1(){return _0x5564ce[_0xc4733f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc4733f([0x76,0x69,0x65,0x77])][_0xc4733f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc4733f([0x61,0x75,0x74,0x6f]);}function _0x5e8339(){_0x5564ce[_0xc4733f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc4733f([0x76,0x69,0x65,0x77])][_0xc4733f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc4733f([0x61,0x75,0x74,0x6f]);}}function _0x556d0d(_0x36c5f0){const _0x341597=[new window[(_0xc4733f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f3820=>setTimeout(_0x5f3820,0x1792af77^_0x8b5888)),_0x28d7b2[_0xc4733f([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc4733f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x273e10=>{let _0xb618ef=0x0;_0x5564ce[_0xc4733f([0x6d,0x6f,0x64,0x65,0x6c])][_0xc4733f([0x6f,0x6e])](_0xc4733f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d4441,_0x126f0d)=>{_0x126f0d[0x0][_0xc4733f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb618ef++,_0xb618ef==(0x179b9043^_0x8b5888)&&(_0x273e10(),_0x1d4441[_0xc4733f([0x6f,0x66,0x66])]());});}))];return window[_0xc4733f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc4733f([0x72,0x61,0x63,0x65])](_0x341597)[_0xc4733f([0x74,0x68,0x65,0x6e])](()=>_0x36c5f0);}async function _0x580528(){await _0x28d7b2,_0x5564ce[_0xc4733f([0x6d,0x6f,0x64,0x65,0x6c])][_0xc4733f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x316722,_0x5564ce[_0xc4733f([0x6d,0x6f,0x64,0x65,0x6c])][_0xc4733f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x316722,_0x5564ce[_0xc4733f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc4733f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x585e4b(_0x35b3f4){const _0x52d24e=_0x149ae5();_0x5564ce[_0x52d24e]=_0xc4733f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x35b3f4,_0x35b3f4!=_0xc4733f([0x56,0x61,0x6c,0x69,0x64])&&_0x580528();}function _0x149ae5(){const _0x5c166f=window[_0xc4733f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc4733f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc4733f([0x6e,0x6f,0x77])]())[_0xc4733f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc4733f([0x2e]),'');let _0x4e9b67=_0xc4733f([0x64]);for(let _0x3c1439=0x0;_0x3c1439<_0x5c166f[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c1439+=0x2){let _0x9fd4a0=window[_0xc4733f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c166f[_0xc4733f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c1439,_0x3c1439+0x2));_0x9fd4a0>=_0x5205a8[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9fd4a0-=_0x5205a8[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e9b67+=_0x5205a8[_0x9fd4a0];}return _0x4e9b67;}function _0x57405c(){const _0x9125d3=_0x55fcd2[_0xc4733f([0x73,0x70,0x6c,0x69,0x74])](_0xc4733f([0x2e]));if(0x3!=_0x9125d3[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28fda5(_0x9125d3[0x1]);function _0x28fda5(_0x230ddf){const _0x5d71a7=_0xf662c4(_0x230ddf);return _0x5d71a7&&_0x575ef3()?_0x5d71a7:null;function _0x575ef3(){const _0xa9c6d1=_0x5d71a7[_0xc4733f([0x6a,0x74,0x69])],_0x544f2e=window[_0xc4733f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa9c6d1[_0xc4733f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa9c6d1[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e572e={..._0x5d71a7,[_0xc4733f([0x6a,0x74,0x69])]:_0xa9c6d1[_0xc4733f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa9c6d1[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e572e[_0xc4733f([0x76,0x63])],_0x15cbe8(_0x5e572e)==_0x544f2e;}}}async function _0x54f9da(){let _0x59dc8c=!0x0;try{const _0x1134be=_0x55fcd2[_0xc4733f([0x73,0x70,0x6c,0x69,0x74])](_0xc4733f([0x2e])),[_0x24c1e9,_0x486fbe,_0x13c34b]=_0x1134be;return _0x267a41(_0x24c1e9),await _0x2e05fb(_0x24c1e9,_0x486fbe,_0x13c34b),_0x59dc8c;}catch{return!0x1;}function _0x267a41(_0x54b279){const _0xb487e5=_0xf662c4(_0x54b279);_0xb487e5&&_0xb487e5[_0xc4733f([0x61,0x6c,0x67])]==_0xc4733f([0x45,0x53,0x32,0x35,0x36])||(_0x59dc8c=!0x1);}async function _0x2e05fb(_0x38ce4a,_0x283fb5,_0x25b945){const _0x207b3e=window[_0xc4733f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc4733f([0x66,0x72,0x6f,0x6d])](_0x5c6f2b(_0x25b945),_0x32b9f0=>_0x32b9f0[_0xc4733f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x559fea=new window[(_0xc4733f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc4733f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38ce4a+_0xc4733f([0x2e])+_0x283fb5),_0x5092b0=window[_0xc4733f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc4733f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5092b0)return;const _0x18c681=await _0x5092b0[_0xc4733f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc4733f([0x6a,0x77,0x6b]),_0x27df88,{[_0xc4733f([0x6e,0x61,0x6d,0x65])]:_0xc4733f([0x45,0x43,0x44,0x53,0x41]),[_0xc4733f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc4733f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc4733f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5092b0[_0xc4733f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc4733f([0x6e,0x61,0x6d,0x65])]:_0xc4733f([0x45,0x43,0x44,0x53,0x41]),[_0xc4733f([0x68,0x61,0x73,0x68])]:{[_0xc4733f([0x6e,0x61,0x6d,0x65])]:_0xc4733f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18c681,_0x207b3e,_0x559fea)||(_0x59dc8c=!0x1);}}function _0xf662c4(_0x1e0ac6){return _0x1e0ac6[_0xc4733f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc4733f([0x65,0x79]))?JSON[_0xc4733f([0x70,0x61,0x72,0x73,0x65])](_0x5c6f2b(_0x1e0ac6)):null;}function _0x5c6f2b(_0x4caa41){return window[_0xc4733f([0x61,0x74,0x6f,0x62])](_0x4caa41[_0xc4733f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc4733f([0x2b]))[_0xc4733f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc4733f([0x2f])));}function _0x15cbe8(_0x100946){let _0x13fb06=0x1505;function _0x298ad0(_0x3045a4){for(let _0x4de22b=0x0;_0x4de22b<_0x3045a4[_0xc4733f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4de22b++){const _0x50f55a=_0x3045a4[_0xc4733f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4de22b);_0x13fb06=(_0x13fb06<<0x5)+_0x13fb06+_0x50f55a,_0x13fb06&=_0x13fb06;}}function _0x425d6f(_0xf8be2b){Array[_0xc4733f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf8be2b)?_0xf8be2b[_0xc4733f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x425d6f):_0xf8be2b&&typeof _0xf8be2b==_0xc4733f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc4733f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf8be2b)[_0xc4733f([0x73,0x6f,0x72,0x74])]()[_0xc4733f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1af919,_0x1e1001])=>{_0x298ad0(_0x1af919),_0x425d6f(_0x1e1001);}):_0x298ad0(window[_0xc4733f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf8be2b));}return _0x425d6f(_0x100946),_0x13fb06>>>0x0;}function _0x29b85e(_0x3e3a3f){return _0x3e3a3f[_0xc4733f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc4733f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc4733f([0x30]));}function _0x5eef99(_0x1bb4d7){return _0x1bb4d7[_0xc4733f([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc4733f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc4733f([0x6a,0x6f,0x69,0x6e])]('');}function _0x316722(){}function _0xc4733f(_0x1a950e){return _0x1a950e['map'](_0x2650a7=>String['fromCharCode'](_0x2650a7))['join']('');}_0x585e4b(await _0x4d0c2f());}(this);}['_initSchema'](){const _0x36bf1e=this['editor']['model']['schema'];_0x36bf1e['isRegistered']('imageBlock')&&_0x36bf1e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x36bf1e['isRegistered']('imageInline')&&_0x36bf1e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x88a7ec=this['editor'];_0x88a7ec['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x88a7ec['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4ff77b=>_0x4ff77b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x51b8dd=_0x88a7ec['commands']['get']('replaceImageSource');_0x51b8dd&&this['listenTo'](_0x51b8dd,'cleanupImage',(_0x34ab55,[_0x3729e5,_0x34ed52])=>{_0x3729e5['removeAttribute']('uploadcareImageId',_0x34ed52);});}['_initConfig'](){const _0xb62062=this['editor']['config']['get']('uploadcare.uploader')||{},_0x169e82=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x457e58(_0x4e4dd9['document'],'uc-config',{..._0xb62062,'pubkey':_0x169e82,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0xe2df17=>{if('closeMax'==_0xe2df17)return'#uc-icon-arrow-down';},_0x4e4dd9['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x457e58(_0x4e4dd9['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4e4dd9['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x16d7b2=this['editor']['commands']['get']('insertImage');_0x16d7b2&&this['listenTo'](_0x16d7b2,'execute',()=>{const _0x4f8ac5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f8ac5&&_0x4f8ac5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4f8ac5);});});const _0x450b96=this['editor']['commands']['get']('uploadcareImageReplace');_0x450b96&&this['listenTo'](_0x450b96,'execute',()=>{const _0x5d1069=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5d1069&&_0x5d1069['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5d1069);});});}}class tt extends _0x21b473{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5c38fd){super(_0x5c38fd),_0x5c38fd['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x22fb76['defineComponents'](_0x22fb76);}}class ii extends _0x5a304e{constructor(_0x112f03){super(_0x112f03);const t=_0x112f03['t'],_0x2f7897=this['bindTemplate'],_0x5904a9=new _0x17e214();_0x5904a9['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':[_0x5904a9,{'text':_0x2f7897['to']('imageUploadProgress',_0x1f133b=>t('Loading\x20image...')+'\x20('+(_0x1f133b||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 _0x5a304e{constructor(_0x20623c){super(_0x20623c);const t=_0x20623c['t'];this['set']('errorType',null);const _0x2a835e=new _0x42e5af(_0x20623c);_0x2a835e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2a835e['withText']=!0x0,_0x2a835e['class']='ck-button-action',_0x2a835e['on']('execute',()=>{this['fire']('retry');}),_0x2a835e['bind']('isVisible')['to'](this,'errorType',_0x478194=>'NotFound'!==_0x478194);const _0xd698c5=new _0x51c96d();_0xd698c5['content']=_0x76aebe,_0xd698c5['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1e54fc=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':[_0xd698c5,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1e54fc['to']('errorType',_0x212ed8=>t('NotFound'!==_0x212ed8?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2a835e]},{'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 _0x5a304e{constructor(_0x423d11,_0x1f6342){super(_0x423d11);const _0x57faa4=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1f6342,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x57faa4['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x363441,_0x328905,_0x5c1f5d){super(_0x363441),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x363441),this['_errorView']=new ti(_0x363441),this['_editingView']=new ei(_0x363441,_0x5c1f5d),this['_focusableView']=new _0x5a304e(_0x363441),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x328905),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'],_0x4d099c=>{this['_addUploadcareImageEditorListeners'](_0x4d099c);});}),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'](_0x294dc4,_0xf30e60){const _0x29fb0d='uc-cloud-image-editor',_0x48f86d=_0x294dc4['querySelector'](_0x29fb0d);if(_0x48f86d)return _0xf30e60(_0x48f86d);const _0x1ea9ba=new MutationObserver(_0x514541=>{const _0x11731c=_0x514541['filter'](_0x55c4a3=>_0x55c4a3['target']===_0x294dc4&&_0x55c4a3['addedNodes']['length']>0x0&&_0x55c4a3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x29fb0d);_0x11731c['length']&&(_0x1ea9ba['disconnect'](),_0xf30e60(_0x11731c[0x0]['addedNodes'][0x0]));});_0x1ea9ba['observe'](_0x294dc4,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x248c0c){_0x248c0c['addEventListener']('apply',_0x59b495=>{this['fire']('apply',{'imageSrc':_0x59b495['detail']['cdnUrl']});}),_0x248c0c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x3f1032(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x32dc2b,_0x474a10,_0x454889){super(),this['_editor']=_0x32dc2b,this['_dialog']=_0x474a10,this['_imageElement']=_0x454889,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 _0x3b820e=this['_imageElement'],_0x5dc84d=_0x3b820e['getAttribute']('uploadcareImageId'),_0x25c2e1=_0x3b820e['getAttribute']('src');if(_0x5dc84d)await this['_loadImageInfo'](_0x5dc84d,_0x25c2e1);else{if(this['_imageCache']['has'](_0x25c2e1)){const _0x5e92ae=this['_imageCache']['get'](_0x25c2e1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e92ae['url'],this['imageDimension']=_0x5e92ae['dimension'],this['imageId']=_0x5e92ae['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x7c0896}=this['_editor'],t=_0x7c0896['t'],_0x1295a6=new X(_0x7c0896,this['imageStatus'],this['_attributes']);_0x1295a6['bind']('status')['to'](this,'imageStatus'),_0x1295a6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1295a6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1295a6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1295a6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2f9451,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1295a6,'position':_0x52deb8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1295a6['focus']();},'onHide':()=>{_0x1295a6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x259b11=>!S(_0x259b11,_0x1295a6['element'])}});}['_loadImageInfo'](_0x206f8d,_0x1a20fb){return j['getInfo'](_0x206f8d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4ffcd2=>{const {width:_0x233dcd,height:_0x4c5e88}=_0x4ffcd2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a20fb,this['imageDimension']={'width':_0x233dcd,'height':_0x4c5e88},this['imageId']=_0x206f8d;})['catch'](_0x1b37d4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1b37d4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xd42fc2,_0x42bd29){return this['_getImageAsFile'](_0xd42fc2)['then'](_0x122a59=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x42bd29['signal'],'file':_0x122a59,'onProgress':_0x3e395d=>{_0x3e395d&&_0x3e395d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3e395d['value']));}}))['then'](_0x381993=>{const {width:_0x7e09e2,height:_0x33c90a}=_0x381993['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x381993['cdnUrl'],this['imageDimension']={'width':_0x7e09e2,'height':_0x33c90a},this['imageId']=_0x381993['uuid'],this['imageUploadProgress']=null;const _0x42d556=_0xd42fc2['getAttribute']('src');this['_imageCache']['set'](_0x42d556,{'id':_0x381993['uuid'],'url':_0x381993['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2bf3db=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2bf3db['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2bdcb5,_0x5b7208){_0x2bdcb5['on']('apply',(_0x545c9b,_0x15ba5c)=>{this['_replaceImage'](_0x5b7208,_0x15ba5c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2bdcb5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2bdcb5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xe5c85a,_0x47ce14,_0x32966d){const _0x47d0b1=this['_editor'],{width:_0x316d4f,height:_0x2c54d8}=C(_0x47ce14,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3b172a,imageSources:_0x3cf4fb}=k(_0x47ce14,_0x316d4f);_0x47d0b1['model']['change'](_0x5bf969=>{if('$graveyard'===_0xe5c85a['root']['rootName']){_0x47d0b1['execute']('insertImage',{'imageType':_0xe5c85a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xe5c85a['getAttributes']()),'uploadcareImageId':_0x32966d,'src':_0x3b172a,'sources':_0x3cf4fb,'width':_0x316d4f,'height':_0x2c54d8}});const _0x2261f9=_0xe5c85a['getChildren']();_0xe5c85a=_0x47d0b1['model']['document']['selection']['getSelectedElement']();for(const _0x60d927 of _0x2261f9)_0x5bf969['append'](_0x5bf969['cloneElement'](_0x60d927),_0xe5c85a);}else _0x5bf969['setSelection'](_0xe5c85a,'on'),_0x47d0b1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xe5c85a['getAttributes']()),'uploadcareImageId':_0x32966d,'src':_0x3b172a,'sources':_0x3cf4fb,'width':_0x316d4f,'height':_0x2c54d8},_0xe5c85a);_0x5bf969['setSelection'](_0xe5c85a,'on');});}async['_getImageAsFile'](_0x351351){const _0x4c6c08=_0x4e4dd9['window'],_0x75a6da=_0x4e4dd9['document']['location']['href'],_0x27a29a=new _0x4c6c08['URL'](_0x351351['getAttribute']('src'),_0x75a6da);if('data:'===_0x27a29a['protocol']){const _0x4e4ced=_0x27a29a['href']['split'](','),_0x177d8c=_0x4e4ced[0x0]['match'](/:(.*?);/)[0x1],_0x498a3a=_0x177d8c['split']('/')[0x1],_0x2e1659=_0x4c6c08['atob'](_0x4e4ced[_0x4e4ced['length']-0x1]);let _0x492225=_0x2e1659['length'];const _0x62d4f8=new _0x4c6c08['Uint8Array'](_0x492225);for(;_0x492225--;)_0x62d4f8[_0x492225]=_0x2e1659['charCodeAt'](_0x492225);return new _0x4c6c08['File']([_0x62d4f8],'image.'+_0x498a3a,{'type':_0x177d8c});}const _0x246b10=_0x27a29a['href']['split']('/'),_0x39ba06=_0x246b10[_0x246b10['length']-0x1],_0x2c99d9=_0x39ba06['split']('.')[0x1];return _0x4c6c08['fetch'](_0x27a29a['href'])['then'](_0x2fa814=>_0x2fa814['clone']()['blob']())['then'](_0xfc37b8=>new _0x4c6c08['File']([_0xfc37b8],_0x39ba06,{'type':'image/'+_0x2c99d9}));}}class Q extends _0x3d433a{['imageEditController'];static get['requires'](){return[_0x1cd564];}['_isEditable'];constructor(_0x5758ad){super(_0x5758ad),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x19bd4c){const _0x323da1=z(_0x19bd4c);return _0x4736f5=>!(!_0x4736f5||!_0x4736f5['is']('element','imageBlock')&&!_0x4736f5['is']('element','imageInline'))&&(!!_0x4736f5['hasAttribute']('uploadcareImageId')||!!_0x4736f5['hasAttribute']('src')&&_0x323da1(_0x4736f5['getAttribute']('src')));}(_0x5758ad['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x36f24e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x36f24e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x52f28e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x52f28e&&(_0x52f28e['is']('element','imageBlock')||_0x52f28e['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x1cd564),_0x52f28e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x3d433a{['refresh'](){const _0x45e984=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x45e984&&(_0x45e984['is']('element','imageBlock')||_0x45e984['is']('element','imageInline')));}['execute'](_0x6d6afe){const _0x40d451=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x417b21=>{_0x417b21['setAttributes'](_0x6d6afe,_0x40d451),_0x417b21['removeAttribute']('srcset',_0x40d451),_0x417b21['removeAttribute']('sizes',_0x40d451);});}}class m extends _0x21b473{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x2a00e1,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1e510f}=this;_0x1e510f['commands']['add']('uploadcareImageEdit',new Q(_0x1e510f)),_0x1e510f['commands']['add']('uploadcareImageReplace',new V(_0x1e510f));}}class g extends _0x21b473{['_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 _0x4b90c7=this['editor'];_0x4b90c7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40d54e=>{const _0x121cd6=_0x4b90c7['commands']['get']('uploadcareImageEdit'),_0xeda4f9=new _0x42e5af(_0x40d54e),t=_0x40d54e['t'];return _0xeda4f9['set']({'icon':_0x2f9451,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xeda4f9['bind']('isEnabled')['to'](_0x121cd6),_0xeda4f9['bind']('isOn')['to'](_0x121cd6,'isActive'),this['listenTo'](_0xeda4f9,'execute',()=>{_0x4b90c7['execute']('uploadcareImageEdit'),_0x4b90c7['editing']['view']['focus']();}),_0xeda4f9;}),this['_initConfig']();}['_initConfig'](){const _0x2183cb=_0x457e58(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2183cb),this['listenTo'](this['editor'],'destroy',()=>{_0x2183cb['remove']();});}}class et extends _0x21b473{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,Q 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':_0x5bf0b4=>0x1!=_0x5bf0b4}};
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':_0x422fcb=>0x1!=_0x422fcb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x229c7a=>{const {af:{dictionary:_0x4a2d73,getPluralForm:_0x4bc945}}={'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':_0x33295c=>0x1!=_0x33295c}};_0x229c7a['af']||={'dictionary':{},'getPluralForm':null},_0x229c7a['af']['dictionary']=Object['assign'](_0x229c7a['af']['dictionary'],_0x4a2d73),_0x229c7a['af']['getPluralForm']=_0x4bc945;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1b059e=>{const {af:{dictionary:_0x2fe560,getPluralForm:_0x280f45}}={'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':_0x22b00e=>0x1!=_0x22b00e}};_0x1b059e['af']||={'dictionary':{},'getPluralForm':null},_0x1b059e['af']['dictionary']=Object['assign'](_0x1b059e['af']['dictionary'],_0x2fe560),_0x1b059e['af']['getPluralForm']=_0x280f45;})(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':_0x168d3f=>0x0==_0x168d3f?0x0:0x1==_0x168d3f?0x1:0x2==_0x168d3f?0x2:_0x168d3f%0x64>=0x3&&_0x168d3f%0x64<=0xa?0x3:_0x168d3f%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':_0x303821=>0x0==_0x303821?0x0:0x1==_0x303821?0x1:0x2==_0x303821?0x2:_0x303821%0x64>=0x3&&_0x303821%0x64<=0xa?0x3:_0x303821%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e5a63=>{const {ar:{dictionary:_0xd9c478,getPluralForm:_0x40f2b3}}={'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':_0x335323=>0x0==_0x335323?0x0:0x1==_0x335323?0x1:0x2==_0x335323?0x2:_0x335323%0x64>=0x3&&_0x335323%0x64<=0xa?0x3:_0x335323%0x64>=0xb?0x4:0x5}};_0x2e5a63['ar']||={'dictionary':{},'getPluralForm':null},_0x2e5a63['ar']['dictionary']=Object['assign'](_0x2e5a63['ar']['dictionary'],_0xd9c478),_0x2e5a63['ar']['getPluralForm']=_0x40f2b3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f2f6c=>{const {ar:{dictionary:_0x17ad81,getPluralForm:_0x3385a6}}={'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':_0x57bae7=>0x0==_0x57bae7?0x0:0x1==_0x57bae7?0x1:0x2==_0x57bae7?0x2:_0x57bae7%0x64>=0x3&&_0x57bae7%0x64<=0xa?0x3:_0x57bae7%0x64>=0xb?0x4:0x5}};_0x4f2f6c['ar']||={'dictionary':{},'getPluralForm':null},_0x4f2f6c['ar']['dictionary']=Object['assign'](_0x4f2f6c['ar']['dictionary'],_0x17ad81),_0x4f2f6c['ar']['getPluralForm']=_0x3385a6;})(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':_0x156b86=>0x1!=_0x156b86}};
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':_0x6df0b2=>0x1!=_0x6df0b2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x50fae9=>{const {ast:{dictionary:_0x5caa22,getPluralForm:_0x4669f1}}={'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':_0x274286=>0x1!=_0x274286}};_0x50fae9['ast']||={'dictionary':{},'getPluralForm':null},_0x50fae9['ast']['dictionary']=Object['assign'](_0x50fae9['ast']['dictionary'],_0x5caa22),_0x50fae9['ast']['getPluralForm']=_0x4669f1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x461ac1=>{const {ast:{dictionary:_0x1c71ae,getPluralForm:_0x4c10c7}}={'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':_0x58e851=>0x1!=_0x58e851}};_0x461ac1['ast']||={'dictionary':{},'getPluralForm':null},_0x461ac1['ast']['dictionary']=Object['assign'](_0x461ac1['ast']['dictionary'],_0x1c71ae),_0x461ac1['ast']['getPluralForm']=_0x4c10c7;})(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':_0x3f4a9e=>0x1!=_0x3f4a9e}};
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':_0x453a42=>0x1!=_0x453a42}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5606b5=>{const {az:{dictionary:_0x50f592,getPluralForm:_0x46e5b9}}={'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':_0x77a72a=>0x1!=_0x77a72a}};_0x5606b5['az']||={'dictionary':{},'getPluralForm':null},_0x5606b5['az']['dictionary']=Object['assign'](_0x5606b5['az']['dictionary'],_0x50f592),_0x5606b5['az']['getPluralForm']=_0x46e5b9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5bdf07=>{const {az:{dictionary:_0x2ee041,getPluralForm:_0x27aceb}}={'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':_0x49318b=>0x1!=_0x49318b}};_0x5bdf07['az']||={'dictionary':{},'getPluralForm':null},_0x5bdf07['az']['dictionary']=Object['assign'](_0x5bdf07['az']['dictionary'],_0x2ee041),_0x5bdf07['az']['getPluralForm']=_0x27aceb;})(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':_0xaba72d=>_0xaba72d%0xa==0x1&&_0xaba72d%0x64!=0xb?0x0:_0xaba72d%0xa>=0x2&&_0xaba72d%0xa<=0x4&&(_0xaba72d%0x64<0xa||_0xaba72d%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':_0x482ca4=>_0x482ca4%0xa==0x1&&_0x482ca4%0x64!=0xb?0x0:_0x482ca4%0xa>=0x2&&_0x482ca4%0xa<=0x4&&(_0x482ca4%0x64<0xa||_0x482ca4%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1b4447=>{const {be:{dictionary:_0x26558d,getPluralForm:_0x4d759f}}={'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':_0xe53f9c=>_0xe53f9c%0xa==0x1&&_0xe53f9c%0x64!=0xb?0x0:_0xe53f9c%0xa>=0x2&&_0xe53f9c%0xa<=0x4&&(_0xe53f9c%0x64<0xa||_0xe53f9c%0x64>=0x14)?0x1:0x2}};_0x1b4447['be']||={'dictionary':{},'getPluralForm':null},_0x1b4447['be']['dictionary']=Object['assign'](_0x1b4447['be']['dictionary'],_0x26558d),_0x1b4447['be']['getPluralForm']=_0x4d759f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x181ec8=>{const {be:{dictionary:_0x53cfde,getPluralForm:_0x3d3827}}={'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':_0x3f18ea=>_0x3f18ea%0xa==0x1&&_0x3f18ea%0x64!=0xb?0x0:_0x3f18ea%0xa>=0x2&&_0x3f18ea%0xa<=0x4&&(_0x3f18ea%0x64<0xa||_0x3f18ea%0x64>=0x14)?0x1:0x2}};_0x181ec8['be']||={'dictionary':{},'getPluralForm':null},_0x181ec8['be']['dictionary']=Object['assign'](_0x181ec8['be']['dictionary'],_0x53cfde),_0x181ec8['be']['getPluralForm']=_0x3d3827;})(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':_0x1afcd0=>0x1!=_0x1afcd0}};
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':_0xd4f9ff=>0x1!=_0xd4f9ff}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f16a6=>{const {bg:{dictionary:_0x4c5cc5,getPluralForm:_0x457208}}={'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':_0x4b1fd7=>0x1!=_0x4b1fd7}};_0x2f16a6['bg']||={'dictionary':{},'getPluralForm':null},_0x2f16a6['bg']['dictionary']=Object['assign'](_0x2f16a6['bg']['dictionary'],_0x4c5cc5),_0x2f16a6['bg']['getPluralForm']=_0x457208;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xf93f=>{const {bg:{dictionary:_0x39236e,getPluralForm:_0xc9548}}={'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':_0x81a714=>0x1!=_0x81a714}};_0xf93f['bg']||={'dictionary':{},'getPluralForm':null},_0xf93f['bg']['dictionary']=Object['assign'](_0xf93f['bg']['dictionary'],_0x39236e),_0xf93f['bg']['getPluralForm']=_0xc9548;})(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':_0x3a52f1=>0x1!=_0x3a52f1}};
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':_0x60caee=>0x1!=_0x60caee}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x32ee49=>{const {bn:{dictionary:_0x548f12,getPluralForm:_0x10cfb4}}={'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':_0x5ce522=>0x1!=_0x5ce522}};_0x32ee49['bn']||={'dictionary':{},'getPluralForm':null},_0x32ee49['bn']['dictionary']=Object['assign'](_0x32ee49['bn']['dictionary'],_0x548f12),_0x32ee49['bn']['getPluralForm']=_0x10cfb4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22d664=>{const {bn:{dictionary:_0x508f38,getPluralForm:_0x1bc958}}={'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':_0x435278=>0x1!=_0x435278}};_0x22d664['bn']||={'dictionary':{},'getPluralForm':null},_0x22d664['bn']['dictionary']=Object['assign'](_0x22d664['bn']['dictionary'],_0x508f38),_0x22d664['bn']['getPluralForm']=_0x1bc958;})(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':_0x2223f9=>_0x2223f9%0xa==0x1&&_0x2223f9%0x64!=0xb?0x0:_0x2223f9%0xa>=0x2&&_0x2223f9%0xa<=0x4&&(_0x2223f9%0x64<0xa||_0x2223f9%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':_0x22168d=>_0x22168d%0xa==0x1&&_0x22168d%0x64!=0xb?0x0:_0x22168d%0xa>=0x2&&_0x22168d%0xa<=0x4&&(_0x22168d%0x64<0xa||_0x22168d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26d2df=>{const {bs:{dictionary:_0x20178e,getPluralForm:_0x7a737f}}={'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':_0x127736=>_0x127736%0xa==0x1&&_0x127736%0x64!=0xb?0x0:_0x127736%0xa>=0x2&&_0x127736%0xa<=0x4&&(_0x127736%0x64<0xa||_0x127736%0x64>=0x14)?0x1:0x2}};_0x26d2df['bs']||={'dictionary':{},'getPluralForm':null},_0x26d2df['bs']['dictionary']=Object['assign'](_0x26d2df['bs']['dictionary'],_0x20178e),_0x26d2df['bs']['getPluralForm']=_0x7a737f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x312f45=>{const {bs:{dictionary:_0x587330,getPluralForm:_0x348563}}={'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':_0x3a9474=>_0x3a9474%0xa==0x1&&_0x3a9474%0x64!=0xb?0x0:_0x3a9474%0xa>=0x2&&_0x3a9474%0xa<=0x4&&(_0x3a9474%0x64<0xa||_0x3a9474%0x64>=0x14)?0x1:0x2}};_0x312f45['bs']||={'dictionary':{},'getPluralForm':null},_0x312f45['bs']['dictionary']=Object['assign'](_0x312f45['bs']['dictionary'],_0x587330),_0x312f45['bs']['getPluralForm']=_0x348563;})(window['CKEDITOR_TRANSLATIONS']||={});