@ckeditor/ckeditor5-uploadcare 47.6.0-alpha.8 → 47.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xbfd9b4,Command as _0x37075e}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x53b57d,IconGooglePhotos as _0x11f273,IconGoogleDrive as _0xf46cc3,IconFacebook as _0x45aac0,IconDropbox as _0x3a2cdb,IconUploadcareLink as _0x126fc0,IconUploadcareImageUpload as _0x4eada6,IconError as _0x13f308,IconUploadcareImageEdit as _0xdcd0f8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3c379a,MenuBarMenuListItemButtonView as _0x4e0c23,View as _0x30d767,FocusCycler as _0x43b65c,Dialog as _0x358cb7,DialogViewPosition as _0x5c90a6,SpinnerView as _0x2707c5,IconView as _0x71f27,Notification as _0x2992e8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x121a1c,DomEmitterMixin as _0x483bd9,global as _0x59ea05,getAncestors as _0x518b5e,ObservableMixin as _0x37de11,uid as _0x2a2359,createElement as _0x7f4c94}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x563b73}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4b0994,info as _0x32b776}from'@uploadcare/upload-client';import*as _0x16e53d from'@uploadcare/file-uploader';var i=function(_0x113a54){return _0x113a54['Local']='local',_0x113a54['URL']='url',_0x113a54['Dropbox']='dropbox',_0x113a54['GDrive']='gdrive',_0x113a54['Facebook']='facebook',_0x113a54['GPhotos']='gphotos',_0x113a54['OneDrive']='onedrive',_0x113a54;}({});function _(_0x3d8bec,_0x18c2a0,_0x58b058){const t=_0x3d8bec['t'],_0x333c0c=_0x3d8bec['t'];switch(_0x18c2a0){case i['Local']:return{'text':_0x333c0c('Insert'===_0x58b058?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x333c0c('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x58b058?_0x333c0c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x333c0c('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x58b058?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x58b058?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x58b058?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x58b058?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x58b058?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x18c2a0;}}class e extends _0xbfd9b4{['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 _0x3c124b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b3bf1;for(const _0x4a989c in _0x3c124b){const _0xa7480e=_0x4a989c,_0x325832=_0x3c124b[_0xa7480e];if('uploadcareLicenseKeyValid'==_0x325832||'uploadcareLicenseKeyInvalid'==_0x325832||'uploadcareLicenseKeyExpired'==_0x325832||'uploadcareLicenseKeyDomainLimit'==_0x325832||'uploadcareLicenseKeyNotAllowed'==_0x325832||'uploadcareLicenseKeyEvaluationLimit'==_0x325832||'uploadcareLicenseKeyUsageLimit'==_0x325832){delete _0x3c124b[_0xa7480e],_0x2b3bf1=_0x325832,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2b3bf1&&_0x3c124b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2b3bf1&&_0x3c124b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2b3bf1&&_0x3c124b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2b3bf1&&_0x3c124b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2b3bf1&&_0x3c124b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2b3bf1&&_0x3c124b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3dfbdb}=this,_0x989b13=_0x3dfbdb['commands']['get']('uploadcare');if(!_0x989b13)return;const _0x3422a5=this['_normalizeConfigSourceList'](_0x3dfbdb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x132753,_0x49b9cd)=>{const _0x35818f=this['_getIntegrationKey'](_0x49b9cd['type']);return _0x132753[_0x35818f]||(_0x132753[_0x35818f]=[]),_0x132753[_0x35818f]['push'](_0x49b9cd),_0x132753;},{});_0x3dfbdb['plugins']['has']('ImageInsertUI')&&_0x3dfbdb['commands']['get']('uploadcare')&&Object['entries'](_0x3422a5)['forEach'](([_0x1b0867,_0x57ae72])=>{_0x3dfbdb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1b0867,'observable':()=>_0x989b13,'buttonViewCreator':()=>this['_createToolbarButton'](_0x57ae72),'formViewCreator':()=>this['_createDropdownButtons'](_0x57ae72),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x57ae72),'override':'assetManager'!==_0x1b0867});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x249f40){const {locale:_0x369f69}=this['editor'];return _0x249f40['map'](_0x5a28d5=>{const _0x29c764=_(_0x369f69,_0x5a28d5,'Insert');switch(_0x5a28d5){case i['Local']:return{'icon':_0x4eada6,'type':i['Local'],..._0x29c764};case i['URL']:return{'icon':_0x126fc0,'type':i['URL'],..._0x29c764};case i['Dropbox']:return{'icon':_0x3a2cdb,'type':i['Dropbox'],..._0x29c764};case i['Facebook']:return{'icon':_0x45aac0,'type':i['Facebook'],..._0x29c764};case i['GDrive']:return{'icon':_0xf46cc3,'type':i['GDrive'],..._0x29c764};case i['GPhotos']:return{'icon':_0x11f273,'type':i['GPhotos'],..._0x29c764};case i['OneDrive']:return{'icon':_0x53b57d,'type':i['OneDrive'],..._0x29c764};}});}['_getIntegrationKey'](_0x5981ba){switch(_0x5981ba){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x17433b,_0x1f7469){const _0x2a3e2=this['editor'],_0x8ba822=new _0x17433b(_0x2a3e2['locale']),_0x2628d3=_0x2a3e2['commands']['get']('uploadcare');return _0x8ba822['bind']('isEnabled')['to'](_0x2628d3),_0x8ba822['on']('execute',()=>{_0x2628d3['execute'](_0x1f7469);}),_0x8ba822;}['_createToolbarButton'](_0x443c16){const {locale:_0x44ce25}=this['editor'],_0x47b579=this['editor']['plugins']['get']('ImageInsertUI'),_0x164882=_0x443c16[0x0],_0x373367=this['_createButton'](_0x3c379a,_0x164882['type']);return _0x373367['icon']=_0x164882['icon'],_0x373367['bind']('label')['to'](_0x47b579,'isImageSelected',_0x14a909=>_(_0x44ce25,_0x164882['type'],_0x14a909?'Replace':'Insert')['text']),_0x373367['tooltip']=!0x0,_0x373367;}['_createDropdownButtons'](_0x401495){const {locale:_0x4a211f}=this['editor'],_0x525c59=this['editor']['plugins']['get']('ImageInsertUI');return _0x401495['map'](_0x5e8ed8=>{const _0x1f10da=this['_createButton'](_0x3c379a,_0x5e8ed8['type']);return _0x1f10da['withText']=!0x0,_0x1f10da['icon']=_0x5e8ed8['icon'],_0x1f10da['bind']('label')['to'](_0x525c59,'isImageSelected',_0x5b0b0c=>_(_0x4a211f,_0x5e8ed8['type'],_0x5b0b0c?'Replace':'Insert')['text']),_0x1f10da;});}['_createMenuBarButtons'](_0x2059b9){return _0x2059b9['map'](_0xdca072=>{const _0x446878=this['_createButton'](_0x4e0c23,_0xdca072['type']);return _0x446878['icon']=_0xdca072['icon'],_0x446878['label']=_0xdca072['shortText'],_0x446878;});}}class F extends _0x30d767{['focusTracker'];['focusCycler'];constructor(_0xc21426){super(_0xc21426),this['focusTracker']=new _0x121a1c(),this['focusCycler']=new _0x43b65c({'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(_0x5606c7,_0x117d94){super(_0x5606c7),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-'+_0x117d94}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x24dc5c,_0xbe1b35){const _0x37d379=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4ab9ca=>_0x4ab9ca<=_0xbe1b35)['map'](_0x2f9233=>_0x24dc5c['replace'](/\/$/,'')+'/-/resize/'+_0x2f9233+'x/\x20'+_0x2f9233+'w');return{'imageFallbackUrl':_0x24dc5c,'imageSources':[{'srcset':_0x37d379['join'](',\x20'),'sizes':'(max-width:\x20'+_0xbe1b35+'px)\x20100vw,\x20'+_0xbe1b35+'px','type':'image/webp'}]};}function S(_0x5a6cc5,_0x148a01,_0x2554c5){const _0x4330a6=_0x5a6cc5['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4330a6?parseInt(_0x4330a6[0x1],0xa):_0x148a01,'height':_0x4330a6?parseInt(_0x4330a6[0x2],0xa):_0x2554c5};}function p(_0x24f504,_0x3a2976){const _0x15a1ee=new(_0x483bd9())(),_0x5ca506=_0x24f504['plugins']['get']('ImageUtils'),_0x3f72a5=_0x24f504['editing']['mapper']['toViewElement'](_0x3a2976),_0x11ea78=_0x5ca506['findViewImgElement'](_0x3f72a5),_0x149808=_0x24f504['editing']['view']['domConverter']['viewToDom'](_0x11ea78),_0x2e1ddb=_0x3a2976['getAttribute']('width'),_0x3f6db5=_0x3a2976['getAttribute']('height'),_0x3df9a5='image-processing';_0x24f504['editing']['view']['change'](_0x28c128=>{_0x28c128['addClass'](_0x3df9a5,_0x3f72a5),_0x28c128['setStyle']('aspect-ratio',_0x2e1ddb+'/'+_0x3f6db5,_0x11ea78);}),_0x15a1ee['listenTo'](_0x149808,'load',()=>{_0x15a1ee['stopListening'](_0x149808,'load'),_0x24f504['editing']['view']['change'](_0x372d21=>{_0x372d21['removeClass'](_0x3df9a5,_0x3f72a5),_0x372d21['removeStyle']('aspect-ratio',_0x11ea78);});});}function G(_0x395ba6){if(Array['isArray'](_0x395ba6)){const _0x203f34=_0x395ba6['map'](G);return _0x3a2200=>_0x203f34['some'](_0x50ef3f=>_0x50ef3f(_0x3a2200));}if('origin'==_0x395ba6){const _0x5b5ea3=_0x59ea05['window']['location']['origin'];return _0x5be7c7=>new URL(_0x5be7c7,_0x59ea05['document']['baseURI'])['origin']==_0x5b5ea3;}return'function'==typeof _0x395ba6?_0x395ba6:_0x395ba6 instanceof RegExp?_0xd93f79=>!(!_0xd93f79['match'](_0x395ba6)&&!_0xd93f79['replace'](/^https?:\/\//,'')['match'](_0x395ba6)):()=>!0x1;}function A(_0x17eb86,_0x82a32a){return _0x518b5e(_0x17eb86['target'])['includes'](_0x82a32a);}class n extends/* #__PURE__ -- @preserve */
24
- _0x37de11(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x44dac8,_0x4bebf1,_0x137c63){super(),this['_editor']=_0x44dac8,this['_editing']=_0x4bebf1,this['_dialog']=_0x44dac8['plugins']['get'](_0x358cb7),this['_api']=_0x4bebf1['ctxElement']['getAPI'](),this['_type']=_0x137c63,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:_0x43ec84,model:_0x33738d}=this['_editor'],_0x390838=_0x33738d['document']['selection']['getSelectedElement'](),_0x7bf579=_0x390838&&(_0x390838['is']('element','imageBlock')||_0x390838['is']('element','imageInline'));this['_formView']=new x(_0x43ec84,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4eada6,'title':_(_0x43ec84,this['_type'],_0x7bf579?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5c90a6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x172cc1=>!A(_0x172cc1,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2c8a76}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5c264a=>{const _0x51f3be=_0x2c8a76['length'];for(const _0x20771a of _0x2c8a76){const _0x51780a=_0x20771a===_0x2c8a76[_0x51f3be-0x1],{cdnUrl:_0x18e874,fileInfo:_0x1f3bad}=_0x20771a;if(!_0x18e874||!_0x1f3bad)continue;const {width:_0x41e490,height:_0x539f61}=_0x1f3bad['imageInfo'],_0x445017=S(_0x18e874,_0x41e490,_0x539f61),_0xaea150=C(_0x18e874,_0x445017['width']),_0x139595={'id':_0x1f3bad['uuid'],'type':'image','attributes':{'imageDimension':_0x445017,..._0xaea150}};this['_insertAsset'](_0x139595,_0x51780a,_0x5c264a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xc342ae=>{'idle'===_0xc342ae['detail']['status']&&!_0xc342ae['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x187d7f,_0x57ed76,_0x48f036){const _0xa69fbd=this['_editor']['model']['document']['selection'],_0x4748ac=_0xa69fbd['getSelectedElement'](),_0x334cca=!(!_0x4748ac||!_0x4748ac['is']('element','imageInline'));_0x48f036['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x187d7f,_0x334cca),_0x57ed76||_0x48f036['setSelection'](_0xa69fbd['getLastPosition']());}['_insertImage'](_0x244ad4,_0x216e30){const _0x5905e3=this['_editor'],{imageDimension:_0x484040,imageFallbackUrl:_0xde2a5b,imageSources:_0x42ab2d}=_0x244ad4['attributes'];_0x5905e3['execute']('insertImage',{'imageType':_0x216e30?'imageInline':null,'source':{'uploadcareImageId':_0x244ad4['id'],'src':_0xde2a5b,'sources':_0x42ab2d,..._0x484040}});}}class w extends _0x37075e{['_editing'];['_controller']=null;static get['requires'](){return[_0x358cb7,o];}constructor(_0x144f23){super(_0x144f23),this['_editing']=_0x144f23['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x58b214){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x58b214);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5a9463,..._0x5ee540}){return _0x4b0994(_0x5a9463,_0x5ee540);}static['getInfo'](_0x36afcd,_0x13eb74){return _0x32b776(_0x36afcd,_0x13eb74);}}class f extends _0xbfd9b4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x563b73,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x566320=this['editor'];if(!!!_0x566320['config']['get']('uploadcare'))return;_0x566320['plugins']['get'](_0x563b73)['createUploadAdapter']=_0x2e744b=>new k(_0x2e744b,_0x566320),_0x566320['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x353492,{imageElement:_0x46d3fe,data:_0x232db9})=>{_0x566320['model']['change'](_0x911027=>{_0x911027['setAttribute']('uploadcareImageId',_0x232db9['uploadcareImageId'],_0x46d3fe);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3dcdc5,_0x4907c2){this['loader']=_0x3dcdc5,this['editor']=_0x4907c2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x500e1b=await this['loader']['file'];return j['upload']({'file':_0x500e1b,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x55bf42=>{_0x55bf42&&_0x55bf42['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x55bf42['value']);}})['then'](async _0x2e1216=>{const {imageFallbackUrl:_0x1ce98c,imageSources:_0x359e0b}=C(_0x2e1216['cdnUrl'],_0x2e1216['imageInfo']['width']);return{'uploadcareImageId':_0x2e1216['uuid'],'default':_0x1ce98c,'sources':_0x359e0b};})['catch'](()=>{const _0x304009=t('Cannot\x20upload\x20file:')+('\x20'+_0x500e1b['name']+'.');return Promise['reject'](_0x304009);});}['abort'](){this['controller']['abort']();}}class o extends _0xbfd9b4{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x358cb7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x146021){super(_0x146021),this['ucContextId']=_0x2a2359();}['init'](){const _0x1c5dbc=this['editor'];_0x1c5dbc['commands']['add']('uploadcare',new w(_0x1c5dbc));}['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 _0xd71037=_0x59ea05['document']['querySelector']('input[uploadcare-file-input]');_0xd71037&&_0xd71037['remove']();}),async function(_0x14510e){const _0x1676b0=_0x1cdfae([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x32f82c=0x535f8c3a,_0x5c19ab=0x53580f5a^_0x32f82c,_0x34bc33=window[_0x1cdfae([0x44,0x61,0x74,0x65])][_0x1cdfae([0x6e,0x6f,0x77])](),_0x4e8c0a=_0x14510e[_0x1cdfae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d9a50=new window[(_0x1cdfae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25ef5a=>{_0x4e8c0a[_0x1cdfae([0x6f,0x6e,0x63,0x65])](_0x1cdfae([0x72,0x65,0x61,0x64,0x79]),_0x25ef5a);}),_0x2820a3={[_0x1cdfae([0x6b,0x74,0x79])]:_0x1cdfae([0x45,0x43]),[_0x1cdfae([0x75,0x73,0x65])]:_0x1cdfae([0x73,0x69,0x67]),[_0x1cdfae([0x63,0x72,0x76])]:_0x1cdfae([0x50,0x2d,0x32,0x35,0x36]),[_0x1cdfae([0x78])]:_0x1cdfae([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]),[_0x1cdfae([0x79])]:_0x1cdfae([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]),[_0x1cdfae([0x61,0x6c,0x67])]:_0x1cdfae([0x45,0x53,0x32,0x35,0x36])},_0xeca3fe=_0x4e8c0a[_0x1cdfae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cdfae([0x67,0x65,0x74])](_0x1cdfae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4825c8(){let _0x229bf2,_0x357cb3=null,_0x5ce379=null;try{if(_0xeca3fe==_0x1cdfae([0x47,0x50,0x4c]))return _0x1cdfae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x229bf2=_0x35b990(),!_0x229bf2)return _0x1cdfae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x229bf2[_0x1cdfae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ce379=_0x4ba417(_0x229bf2[_0x1cdfae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x229bf2[_0x1cdfae([0x6a,0x74,0x69])])),await _0x209486()?_0x285739()?_0x2de634()?_0x1cdfae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x543f48()?(_0x229bf2[_0x1cdfae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cdfae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x357cb3=_0x56bc08(_0x1cdfae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34622e()):_0x1cdfae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cdfae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cdfae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1cdfae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2de634(){const _0x38652b=[_0x1cdfae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cdfae([0x74,0x72,0x69,0x61,0x6c])][_0x1cdfae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229bf2[_0x1cdfae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34bc33/0x3e8:0xe10*_0x5c19ab;return _0x229bf2[_0x1cdfae([0x65,0x78,0x70])]<_0x38652b;}function _0x285739(){const _0x232b50=_0x229bf2[_0x1cdfae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x232b50&&(!!_0x232b50[_0x1cdfae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cdfae([0x2a]))||!!_0x232b50[_0x1cdfae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cdfae([0x55,0x50,0x4c,0x43])));}function _0x543f48(){const _0x10c1b4=_0x229bf2[_0x1cdfae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10c1b4||0x0==_0x10c1b4[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x24e3a3}=new URL(window[_0x1cdfae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x10c1b4[_0x1cdfae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24e3a3))return!0x0;const _0x3117c3=_0x24e3a3[_0x1cdfae([0x73,0x70,0x6c,0x69,0x74])](_0x1cdfae([0x2e]));return _0x10c1b4[_0x1cdfae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bd3c6=>_0x5bd3c6[_0x1cdfae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cdfae([0x2a])))[_0x1cdfae([0x6d,0x61,0x70])](_0x553fef=>_0x553fef[_0x1cdfae([0x73,0x70,0x6c,0x69,0x74])](_0x1cdfae([0x2e])))[_0x1cdfae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19b241=>_0x19b241[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3117c3[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cdfae([0x6d,0x61,0x70])](_0x2f1ff4=>Array(_0x3117c3[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f1ff4[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cdfae([0x66,0x69,0x6c,0x6c])](_0x2f1ff4[0x0]===_0x1cdfae([0x2a])?_0x1cdfae([0x2a]):'')[_0x1cdfae([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f1ff4))[_0x1cdfae([0x73,0x6f,0x6d,0x65])](_0x1e3498=>_0x3117c3[_0x1cdfae([0x65,0x76,0x65,0x72,0x79])]((_0x559594,_0x5245c5)=>_0x1e3498[_0x5245c5]===_0x559594||_0x1e3498[_0x5245c5]===_0x1cdfae([0x2a])));}function _0x34622e(){return _0x357cb3&&_0x5ce379?new window[(_0x1cdfae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x511d46,_0x29038c)=>{_0x357cb3[_0x1cdfae([0x74,0x68,0x65,0x6e])](_0x511d46,_0x29038c),_0x5ce379[_0x1cdfae([0x74,0x68,0x65,0x6e])](_0x5f0589=>{_0x5f0589!=_0x1cdfae([0x56,0x61,0x6c,0x69,0x64])&&_0x511d46(_0x5f0589);},_0x29038c);}):_0x357cb3||_0x5ce379||_0x1cdfae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ba417(_0x9d5beb,_0x41db32){return new window[(_0x1cdfae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11d5c3=>{if(_0xe1dec4())return _0x11d5c3(_0x1cdfae([0x56,0x61,0x6c,0x69,0x64]));_0x56d188(),_0x4e8c0a[_0x1cdfae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cdfae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ffd4e=!0x1;const _0x16e96b=_0x2a2359();function _0x300bce(_0x15afcd){return!!_0x15afcd&&(typeof _0x15afcd===_0x1cdfae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15afcd===_0x1cdfae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15afcd[_0x1cdfae([0x74,0x68,0x65,0x6e])]===_0x1cdfae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15afcd[_0x1cdfae([0x63,0x61,0x74,0x63,0x68])]===_0x1cdfae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40847d(_0x2c77e8){_0x51a404(_0x2c77e8)[_0x1cdfae([0x74,0x68,0x65,0x6e])](_0x5a7df5=>{if(!_0x5a7df5||_0x5a7df5[_0x1cdfae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cdfae([0x6f,0x6b]))return _0x1cdfae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b30b4(_0x3b3f19(_0x16e96b+_0x41db32))!=_0x5a7df5[_0x1cdfae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cdfae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cdfae([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cdfae([0x74,0x68,0x65,0x6e])](_0x315677=>(_0x98059(),_0x315677),()=>{const _0x3c9d33=_0x383689();return null==_0x3c9d33?(_0x98059(),_0x1cdfae([0x56,0x61,0x6c,0x69,0x64])):_0x1cdfae(_0x34bc33-_0x3c9d33>(0x7753083a^_0x32f82c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cdfae([0x74,0x68,0x65,0x6e])](_0x11d5c3)[_0x1cdfae([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11d5c3(_0x1cdfae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36be64=0x536962ba^_0x32f82c;function _0x98059(){const _0x835853=_0x1cdfae([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b30b4(_0x3b3f19(_0x9d5beb)),_0x2ea351=_0x26b693(_0x5b30b4(window[_0x1cdfae([0x4d,0x61,0x74,0x68])][_0x1cdfae([0x63,0x65,0x69,0x6c])](_0x34bc33/_0x36be64)));window[_0x1cdfae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cdfae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x835853,_0x2ea351);}function _0x383689(){const _0x50abb8=_0x1cdfae([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b30b4(_0x3b3f19(_0x9d5beb)),_0x2bccfe=window[_0x1cdfae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cdfae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50abb8);return _0x2bccfe?window[_0x1cdfae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26b693(_0x2bccfe),0x10)*_0x36be64:null;}function _0x51a404(_0x59f0b1){return new window[(_0x1cdfae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ea646,_0x2c42f7)=>{_0x59f0b1[_0x1cdfae([0x74,0x68,0x65,0x6e])](_0x3ea646,_0x2c42f7),window[_0x1cdfae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c42f7,0x535e58fa^_0x32f82c);});}}_0x4e8c0a[_0x1cdfae([0x6f,0x6e])](_0x1cdfae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34a941,_0x5bca99)=>{if(_0x5bca99[0x0]!=_0x9d5beb)return _0x11d5c3(_0x1cdfae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bca99[0x1]={..._0x5bca99[0x1],[_0x1cdfae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16e96b};},{[_0x1cdfae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cdfae([0x68,0x69,0x67,0x68])}),_0x4e8c0a[_0x1cdfae([0x6f,0x6e])](_0x1cdfae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c4c08=>{_0x300bce(_0x5c4c08[_0x1cdfae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ffd4e=!0x0,_0x40847d(_0x5c4c08[_0x1cdfae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cdfae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cdfae([0x6c,0x6f,0x77])}),_0x1d9a50[_0x1cdfae([0x74,0x68,0x65,0x6e])](()=>{_0x3ffd4e||_0x11d5c3(_0x1cdfae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe1dec4(){return _0x4e8c0a[_0x1cdfae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cdfae([0x76,0x69,0x65,0x77])][_0x1cdfae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cdfae([0x61,0x75,0x74,0x6f]);}function _0x56d188(){_0x4e8c0a[_0x1cdfae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cdfae([0x76,0x69,0x65,0x77])][_0x1cdfae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cdfae([0x61,0x75,0x74,0x6f]);}}function _0x56bc08(_0x36a933){const _0x25daaf=[new window[(_0x1cdfae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35893f=>setTimeout(_0x35893f,0x5356b2f6^_0x32f82c)),_0x1d9a50[_0x1cdfae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cdfae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x239540=>{let _0x3c4745=0x0;_0x4e8c0a[_0x1cdfae([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cdfae([0x6f,0x6e])](_0x1cdfae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49df28,_0x14e1c6)=>{_0x14e1c6[0x0][_0x1cdfae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c4745++,_0x3c4745==(0x535f89d2^_0x32f82c)&&(_0x239540(),_0x49df28[_0x1cdfae([0x6f,0x66,0x66])]());});}))];return window[_0x1cdfae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cdfae([0x72,0x61,0x63,0x65])](_0x25daaf)[_0x1cdfae([0x74,0x68,0x65,0x6e])](()=>_0x36a933);}async function _0xf98672(){await _0x1d9a50,_0x4e8c0a[_0x1cdfae([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cdfae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc501a9,_0x4e8c0a[_0x1cdfae([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cdfae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc501a9,_0x4e8c0a[_0x1cdfae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cdfae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f5e09(_0x18b749){const _0x54484c=_0x170d7a();_0x4e8c0a[_0x54484c]=_0x1cdfae([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18b749,_0x18b749!=_0x1cdfae([0x56,0x61,0x6c,0x69,0x64])&&_0xf98672();}function _0x170d7a(){const _0x134351=window[_0x1cdfae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cdfae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cdfae([0x6e,0x6f,0x77])]())[_0x1cdfae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cdfae([0x2e]),'');let _0x58a1ff=_0x1cdfae([0x68]);for(let _0x5cbcf9=0x0;_0x5cbcf9<_0x134351[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cbcf9+=0x2){let _0x4709ba=window[_0x1cdfae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x134351[_0x1cdfae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cbcf9,_0x5cbcf9+0x2));_0x4709ba>=_0x1676b0[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4709ba-=_0x1676b0[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58a1ff+=_0x1676b0[_0x4709ba];}return _0x58a1ff;}function _0x35b990(){const _0x2af976=_0xeca3fe[_0x1cdfae([0x73,0x70,0x6c,0x69,0x74])](_0x1cdfae([0x2e]));if(0x3!=_0x2af976[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x462e2f(_0x2af976[0x1]);function _0x462e2f(_0x212a84){const _0x25e175=_0x5e4291(_0x212a84);return _0x25e175&&_0x414156()?_0x25e175:null;function _0x414156(){const _0x1e2817=_0x25e175[_0x1cdfae([0x6a,0x74,0x69])],_0x49e00f=window[_0x1cdfae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e2817[_0x1cdfae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e2817[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x146945={..._0x25e175,[_0x1cdfae([0x6a,0x74,0x69])]:_0x1e2817[_0x1cdfae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e2817[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x146945[_0x1cdfae([0x76,0x63])],_0x3b3f19(_0x146945)==_0x49e00f;}}}async function _0x209486(){let _0x4c79f8=!0x0;try{const _0x55d28b=_0xeca3fe[_0x1cdfae([0x73,0x70,0x6c,0x69,0x74])](_0x1cdfae([0x2e])),[_0x2984ab,_0x31568f,_0x47df9e]=_0x55d28b;return _0x286386(_0x2984ab),await _0x3371bc(_0x2984ab,_0x31568f,_0x47df9e),_0x4c79f8;}catch{return!0x1;}function _0x286386(_0x5788a5){const _0xa233f4=_0x5e4291(_0x5788a5);_0xa233f4&&_0xa233f4[_0x1cdfae([0x61,0x6c,0x67])]==_0x1cdfae([0x45,0x53,0x32,0x35,0x36])||(_0x4c79f8=!0x1);}async function _0x3371bc(_0x4aa437,_0xdd6aa2,_0x41bae5){const _0x4880df=window[_0x1cdfae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cdfae([0x66,0x72,0x6f,0x6d])](_0x2aeefc(_0x41bae5),_0x29a856=>_0x29a856[_0x1cdfae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5973da=new window[(_0x1cdfae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cdfae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4aa437+_0x1cdfae([0x2e])+_0xdd6aa2),_0x46659c=window[_0x1cdfae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cdfae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x46659c)return;const _0x2744e6=await _0x46659c[_0x1cdfae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cdfae([0x6a,0x77,0x6b]),_0x2820a3,{[_0x1cdfae([0x6e,0x61,0x6d,0x65])]:_0x1cdfae([0x45,0x43,0x44,0x53,0x41]),[_0x1cdfae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cdfae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cdfae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x46659c[_0x1cdfae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cdfae([0x6e,0x61,0x6d,0x65])]:_0x1cdfae([0x45,0x43,0x44,0x53,0x41]),[_0x1cdfae([0x68,0x61,0x73,0x68])]:{[_0x1cdfae([0x6e,0x61,0x6d,0x65])]:_0x1cdfae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2744e6,_0x4880df,_0x5973da)||(_0x4c79f8=!0x1);}}function _0x5e4291(_0x4f646a){return _0x4f646a[_0x1cdfae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cdfae([0x65,0x79]))?JSON[_0x1cdfae([0x70,0x61,0x72,0x73,0x65])](_0x2aeefc(_0x4f646a)):null;}function _0x2aeefc(_0x37e30b){return window[_0x1cdfae([0x61,0x74,0x6f,0x62])](_0x37e30b[_0x1cdfae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cdfae([0x2b]))[_0x1cdfae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cdfae([0x2f])));}function _0x3b3f19(_0x4226e9){let _0x146751=0x1505;function _0x3d03c7(_0x4067ab){for(let _0x1e87b3=0x0;_0x1e87b3<_0x4067ab[_0x1cdfae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e87b3++){const _0x30fdb9=_0x4067ab[_0x1cdfae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e87b3);_0x146751=(_0x146751<<0x5)+_0x146751+_0x30fdb9,_0x146751&=_0x146751;}}function _0x420588(_0x1ca89a){Array[_0x1cdfae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ca89a)?_0x1ca89a[_0x1cdfae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x420588):_0x1ca89a&&typeof _0x1ca89a==_0x1cdfae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cdfae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ca89a)[_0x1cdfae([0x73,0x6f,0x72,0x74])]()[_0x1cdfae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5624ca,_0x11973f])=>{_0x3d03c7(_0x5624ca),_0x420588(_0x11973f);}):_0x3d03c7(window[_0x1cdfae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ca89a));}return _0x420588(_0x4226e9),_0x146751>>>0x0;}function _0x5b30b4(_0x46e6a7){return _0x46e6a7[_0x1cdfae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cdfae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cdfae([0x30]));}function _0x26b693(_0x298429){return _0x298429[_0x1cdfae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cdfae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cdfae([0x6a,0x6f,0x69,0x6e])]('');}function _0xc501a9(){}function _0x1cdfae(_0x282640){return _0x282640['map'](_0xfd757d=>String['fromCharCode'](_0xfd757d))['join']('');}_0x3f5e09(await _0x4825c8());}(this);}['_initSchema'](){const _0x3552d7=this['editor']['model']['schema'];_0x3552d7['isRegistered']('imageBlock')&&_0x3552d7['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3552d7['isRegistered']('imageInline')&&_0x3552d7['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x31fc17=this['editor'];_0x31fc17['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x31fc17['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x480c21=>_0x480c21['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3e2d1c=_0x31fc17['commands']['get']('replaceImageSource');_0x3e2d1c&&this['listenTo'](_0x3e2d1c,'cleanupImage',(_0x14dcc3,[_0x16c627,_0x55e47b])=>{_0x16c627['removeAttribute']('uploadcareImageId',_0x55e47b);});}['_initConfig'](){const _0x26c6f0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5378ed=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x7f4c94(_0x59ea05['document'],'uc-config',{..._0x26c6f0,'pubkey':_0x5378ed,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x516a79=>{if('closeMax'==_0x516a79)return'#uc-icon-arrow-down';},_0x59ea05['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x7f4c94(_0x59ea05['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x59ea05['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1ebb51=this['editor']['commands']['get']('insertImage');_0x1ebb51&&this['listenTo'](_0x1ebb51,'execute',()=>{const _0x2966c0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2966c0&&_0x2966c0['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2966c0);});});const _0x1b7f5a=this['editor']['commands']['get']('uploadcareImageReplace');_0x1b7f5a&&this['listenTo'](_0x1b7f5a,'execute',()=>{const _0x2c29f9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2c29f9&&_0x2c29f9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2c29f9);});});}}class tt extends _0xbfd9b4{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f5e1e){super(_0x1f5e1e),_0x1f5e1e['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x16e53d['defineComponents'](_0x16e53d),this['_defineLocale']();}['_defineLocale'](){const _0x362be6=this['editor']['config']['get']('uploadcare.locale'),_0x2a0fb6=this['editor']['locale']['contentLanguage'];_0x362be6&&_0x16e53d['defineLocale'](_0x2a0fb6,_0x362be6);}}class ii extends _0x30d767{constructor(_0x321176){super(_0x321176);const t=_0x321176['t'],_0x7901c1=this['bindTemplate'],_0x41913f=new _0x2707c5();_0x41913f['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':[_0x41913f,{'text':_0x7901c1['to']('imageUploadProgress',_0x1adffe=>t('Loading\x20image...')+'\x20('+(_0x1adffe||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 _0x30d767{constructor(_0x147d57){super(_0x147d57);const t=_0x147d57['t'];this['set']('errorType',null);const _0x5669b6=new _0x3c379a(_0x147d57);_0x5669b6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5669b6['withText']=!0x0,_0x5669b6['class']='ck-button-action',_0x5669b6['on']('execute',()=>{this['fire']('retry');}),_0x5669b6['bind']('isVisible')['to'](this,'errorType',_0x569eb6=>'NotFound'!==_0x569eb6);const _0x4fdaf2=new _0x71f27();_0x4fdaf2['content']=_0x13f308,_0x4fdaf2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xa6e7cf=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':[_0x4fdaf2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xa6e7cf['to']('errorType',_0x5c17b7=>t('NotFound'!==_0x5c17b7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5669b6]},{'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 _0x30d767{constructor(_0x4479fc,_0x3f06c9){super(_0x4479fc);const _0x3cb5ae=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3f06c9,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3cb5ae['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1bf0ba,_0x143f68,_0x586c85){super(_0x1bf0ba),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1bf0ba),this['_errorView']=new ti(_0x1bf0ba),this['_editingView']=new ei(_0x1bf0ba,_0x586c85),this['_focusableView']=new _0x30d767(_0x1bf0ba),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x143f68),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'],_0x33563b=>{this['_addUploadcareImageEditorListeners'](_0x33563b);});}),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'](_0x39e4ce,_0x30e080){const _0x2ae5f0='uc-cloud-image-editor',_0x4cc0aa=_0x39e4ce['querySelector'](_0x2ae5f0);if(_0x4cc0aa)return _0x30e080(_0x4cc0aa);const _0x200ef4=new MutationObserver(_0x3baa84=>{const _0x3ee288=_0x3baa84['filter'](_0x18b931=>_0x18b931['target']===_0x39e4ce&&_0x18b931['addedNodes']['length']>0x0&&_0x18b931['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2ae5f0);_0x3ee288['length']&&(_0x200ef4['disconnect'](),_0x30e080(_0x3ee288[0x0]['addedNodes'][0x0]));});_0x200ef4['observe'](_0x39e4ce,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x51d095){_0x51d095['addEventListener']('apply',_0x17ea55=>{this['fire']('apply',{'imageSrc':_0x17ea55['detail']['cdnUrl']});}),_0x51d095['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x37de11(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x7ce20a,_0x5a31a3,_0x4713f){super(),this['_editor']=_0x7ce20a,this['_dialog']=_0x5a31a3,this['_imageElement']=_0x4713f,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 _0x35e4b2=this['_imageElement'],_0x54f059=_0x35e4b2['getAttribute']('uploadcareImageId'),_0x32af1c=_0x35e4b2['getAttribute']('src');if(_0x54f059)await this['_loadImageInfo'](_0x54f059,_0x32af1c);else{if(this['_imageCache']['has'](_0x32af1c)){const _0x37fd13=this['_imageCache']['get'](_0x32af1c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x37fd13['url'],this['imageDimension']=_0x37fd13['dimension'],this['imageId']=_0x37fd13['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3e481e}=this['_editor'],t=_0x3e481e['t'],_0x299834=new X(_0x3e481e,this['imageStatus'],this['_attributes']);_0x299834['bind']('status')['to'](this,'imageStatus'),_0x299834['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x299834['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x299834['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x299834,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xdcd0f8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x299834,'position':_0x5c90a6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x299834['focus']();},'onHide':()=>{_0x299834['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2a884d=>!A(_0x2a884d,_0x299834['element'])}});}['_loadImageInfo'](_0x3e10fc,_0x8f6057){return j['getInfo'](_0x3e10fc,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1141f4=>{const {width:_0x597794,height:_0x321c0d}=_0x1141f4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8f6057,this['imageDimension']={'width':_0x597794,'height':_0x321c0d},this['imageId']=_0x3e10fc;})['catch'](_0xb14efc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb14efc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3b63c7,_0x26e213){return this['_getImageAsFile'](_0x3b63c7)['then'](_0x49f92f=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x26e213['signal'],'file':_0x49f92f,'onProgress':_0x40ecb4=>{_0x40ecb4&&_0x40ecb4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x40ecb4['value']));}}))['then'](_0x54c1bc=>{const {width:_0x258296,height:_0x281380}=_0x54c1bc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54c1bc['cdnUrl'],this['imageDimension']={'width':_0x258296,'height':_0x281380},this['imageId']=_0x54c1bc['uuid'],this['imageUploadProgress']=null;const _0x59c8f6=_0x3b63c7['getAttribute']('src');this['_imageCache']['set'](_0x59c8f6,{'id':_0x54c1bc['uuid'],'url':_0x54c1bc['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x53905b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x53905b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x25301d,_0xce1fcc){_0x25301d['on']('apply',(_0x137898,_0x3e8c87)=>{this['_replaceImage'](_0xce1fcc,_0x3e8c87['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x25301d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x25301d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2ffc0,_0x18c1f7,_0x1ed034){const _0x407b8e=this['_editor'],{width:_0x23d118,height:_0x2160d8}=S(_0x18c1f7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3f4ea3,imageSources:_0x517ba7}=C(_0x18c1f7,_0x23d118);_0x407b8e['model']['change'](_0x17fc18=>{if('$graveyard'===_0x2ffc0['root']['rootName']){_0x407b8e['execute']('insertImage',{'imageType':_0x2ffc0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2ffc0['getAttributes']()),'uploadcareImageId':_0x1ed034,'src':_0x3f4ea3,'sources':_0x517ba7,'width':_0x23d118,'height':_0x2160d8}});const _0xd835d3=_0x2ffc0['getChildren']();_0x2ffc0=_0x407b8e['model']['document']['selection']['getSelectedElement']();for(const _0x481a96 of _0xd835d3)_0x17fc18['append'](_0x17fc18['cloneElement'](_0x481a96),_0x2ffc0);}else _0x17fc18['setSelection'](_0x2ffc0,'on'),_0x407b8e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2ffc0['getAttributes']()),'uploadcareImageId':_0x1ed034,'src':_0x3f4ea3,'sources':_0x517ba7,'width':_0x23d118,'height':_0x2160d8},_0x2ffc0);_0x17fc18['setSelection'](_0x2ffc0,'on');});}async['_getImageAsFile'](_0x36e9b0){const _0xadef46=_0x59ea05['window'],_0xaeff77=_0x59ea05['document']['location']['href'],_0x5351d0=new _0xadef46['URL'](_0x36e9b0['getAttribute']('src'),_0xaeff77);if('data:'===_0x5351d0['protocol']){const _0x1fe204=_0x5351d0['href']['split'](','),_0x1e9a9e=_0x1fe204[0x0]['match'](/:(.*?);/)[0x1],_0x4964fd=_0x1e9a9e['split']('/')[0x1],_0x4aec40=_0xadef46['atob'](_0x1fe204[_0x1fe204['length']-0x1]);let _0x2db2d3=_0x4aec40['length'];const _0x45cbeb=new _0xadef46['Uint8Array'](_0x2db2d3);for(;_0x2db2d3--;)_0x45cbeb[_0x2db2d3]=_0x4aec40['charCodeAt'](_0x2db2d3);return new _0xadef46['File']([_0x45cbeb],'image.'+_0x4964fd,{'type':_0x1e9a9e});}const _0x3facea=_0x5351d0['href']['split']('/'),_0x572300=_0x3facea[_0x3facea['length']-0x1],_0x9cca41=_0x572300['split']('.')[0x1];return _0xadef46['fetch'](_0x5351d0['href'])['then'](_0x4895e9=>_0x4895e9['clone']()['blob']())['then'](_0x42e4d3=>new _0xadef46['File']([_0x42e4d3],_0x572300,{'type':'image/'+_0x9cca41}));}}class O extends _0x37075e{['imageEditController'];static get['requires'](){return[_0x358cb7];}['_isEditable'];constructor(_0x2ad6a7){super(_0x2ad6a7),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x36f31e){const _0x59f16a=G(_0x36f31e);return _0x533f10=>!(!_0x533f10||!_0x533f10['is']('element','imageBlock')&&!_0x533f10['is']('element','imageInline'))&&(!!_0x533f10['hasAttribute']('uploadcareImageId')||!!_0x533f10['hasAttribute']('src')&&_0x59f16a(_0x533f10['getAttribute']('src')));}(_0x2ad6a7['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xe32470=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xe32470);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x137437=this['editor']['model']['document']['selection']['getSelectedElement']();_0x137437&&(_0x137437['is']('element','imageBlock')||_0x137437['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x358cb7),_0x137437),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x37075e{['refresh'](){const _0x3fdea2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3fdea2&&(_0x3fdea2['is']('element','imageBlock')||_0x3fdea2['is']('element','imageInline')));}['execute'](_0x4aba7d){const _0x3e5617=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4b0b9c=>{_0x4b0b9c['setAttributes'](_0x4aba7d,_0x3e5617),_0x4b0b9c['removeAttribute']('srcset',_0x3e5617),_0x4b0b9c['removeAttribute']('sizes',_0x3e5617);});}}class m extends _0xbfd9b4{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x2992e8,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x289bb0}=this;_0x289bb0['commands']['add']('uploadcareImageEdit',new O(_0x289bb0)),_0x289bb0['commands']['add']('uploadcareImageReplace',new R(_0x289bb0));}}class g extends _0xbfd9b4{['_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 _0x44fdf6=this['editor'];_0x44fdf6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5dacf6=>{const _0x416a60=_0x44fdf6['commands']['get']('uploadcareImageEdit'),_0x175164=new _0x3c379a(_0x5dacf6),t=_0x5dacf6['t'];return _0x175164['set']({'icon':_0xdcd0f8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x175164['bind']('isEnabled')['to'](_0x416a60),_0x175164['bind']('isOn')['to'](_0x416a60,'isActive'),this['listenTo'](_0x175164,'execute',()=>{_0x44fdf6['execute']('uploadcareImageEdit'),_0x44fdf6['editing']['view']['focus']();}),_0x175164;}),this['_initConfig']();}['_initConfig'](){const _0x3ac21d=_0x7f4c94(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3ac21d),this['listenTo'](this['editor'],'destroy',()=>{_0x3ac21d['remove']();});}}class et extends _0xbfd9b4{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x2d8fd2,Command as _0x361ebe}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x25f0a9,IconGooglePhotos as _0x37c4db,IconGoogleDrive as _0xdec08f,IconFacebook as _0xc44502,IconDropbox as _0xa8879f,IconUploadcareLink as _0x550586,IconUploadcareImageUpload as _0x160512,IconError as _0x404929,IconUploadcareImageEdit as _0x1364f2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5db41e,MenuBarMenuListItemButtonView as _0x58f233,View as _0x2936d5,FocusCycler as _0x3ac2a8,Dialog as _0x36ce1e,DialogViewPosition as _0xd008b3,SpinnerView as _0x16a0ee,IconView as _0x4160a7,Notification as _0x48be5a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x6a6955,DomEmitterMixin as _0x5b21d1,global as _0x310d51,getAncestors as _0x10b755,ObservableMixin as _0x484431,uid as _0x2e908f,createElement as _0x2d4bdb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x50c303}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x208097,info as _0x293ba6}from'@uploadcare/upload-client';import*as _0x588e15 from'@uploadcare/file-uploader';var i=function(_0x5ad64c){return _0x5ad64c['Local']='local',_0x5ad64c['URL']='url',_0x5ad64c['Dropbox']='dropbox',_0x5ad64c['GDrive']='gdrive',_0x5ad64c['Facebook']='facebook',_0x5ad64c['GPhotos']='gphotos',_0x5ad64c['OneDrive']='onedrive',_0x5ad64c;}({});function _(_0x566be4,_0x3e68da,_0x4f1031){const t=_0x566be4['t'],_0x1ef167=_0x566be4['t'];switch(_0x3e68da){case i['Local']:return{'text':_0x1ef167('Insert'===_0x4f1031?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1ef167('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4f1031?_0x1ef167('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1ef167('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4f1031?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4f1031?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4f1031?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4f1031?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4f1031?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3e68da;}}class e extends _0x2d8fd2{['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 _0x3cd2a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x423b83;for(const _0x314068 in _0x3cd2a9){const _0x5229ef=_0x314068,_0xaeaf5f=_0x3cd2a9[_0x5229ef];if('uploadcareLicenseKeyValid'==_0xaeaf5f||'uploadcareLicenseKeyInvalid'==_0xaeaf5f||'uploadcareLicenseKeyExpired'==_0xaeaf5f||'uploadcareLicenseKeyDomainLimit'==_0xaeaf5f||'uploadcareLicenseKeyNotAllowed'==_0xaeaf5f||'uploadcareLicenseKeyEvaluationLimit'==_0xaeaf5f||'uploadcareLicenseKeyUsageLimit'==_0xaeaf5f){delete _0x3cd2a9[_0x5229ef],_0x423b83=_0xaeaf5f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x423b83&&_0x3cd2a9['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x423b83&&_0x3cd2a9['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x423b83&&_0x3cd2a9['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x423b83&&_0x3cd2a9['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x423b83&&_0x3cd2a9['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x423b83&&_0x3cd2a9['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2383de}=this,_0x5ee45d=_0x2383de['commands']['get']('uploadcare');if(!_0x5ee45d)return;const _0x52cb24=this['_normalizeConfigSourceList'](_0x2383de['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x10eb6e,_0x9b4180)=>{const _0x1c9748=this['_getIntegrationKey'](_0x9b4180['type']);return _0x10eb6e[_0x1c9748]||(_0x10eb6e[_0x1c9748]=[]),_0x10eb6e[_0x1c9748]['push'](_0x9b4180),_0x10eb6e;},{});_0x2383de['plugins']['has']('ImageInsertUI')&&_0x2383de['commands']['get']('uploadcare')&&Object['entries'](_0x52cb24)['forEach'](([_0x3e1b36,_0xd371dd])=>{_0x2383de['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3e1b36,'observable':()=>_0x5ee45d,'buttonViewCreator':()=>this['_createToolbarButton'](_0xd371dd),'formViewCreator':()=>this['_createDropdownButtons'](_0xd371dd),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xd371dd),'override':'assetManager'!==_0x3e1b36});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x16f9a0){const {locale:_0x3feebd}=this['editor'];return _0x16f9a0['map'](_0x11e476=>{const _0x3de4ff=_(_0x3feebd,_0x11e476,'Insert');switch(_0x11e476){case i['Local']:return{'icon':_0x160512,'type':i['Local'],..._0x3de4ff};case i['URL']:return{'icon':_0x550586,'type':i['URL'],..._0x3de4ff};case i['Dropbox']:return{'icon':_0xa8879f,'type':i['Dropbox'],..._0x3de4ff};case i['Facebook']:return{'icon':_0xc44502,'type':i['Facebook'],..._0x3de4ff};case i['GDrive']:return{'icon':_0xdec08f,'type':i['GDrive'],..._0x3de4ff};case i['GPhotos']:return{'icon':_0x37c4db,'type':i['GPhotos'],..._0x3de4ff};case i['OneDrive']:return{'icon':_0x25f0a9,'type':i['OneDrive'],..._0x3de4ff};}});}['_getIntegrationKey'](_0x2e053a){switch(_0x2e053a){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x16c186,_0x5a1c75){const _0x21b4a5=this['editor'],_0x22fb31=new _0x16c186(_0x21b4a5['locale']),_0xdcad03=_0x21b4a5['commands']['get']('uploadcare');return _0x22fb31['bind']('isEnabled')['to'](_0xdcad03),_0x22fb31['on']('execute',()=>{_0xdcad03['execute'](_0x5a1c75);}),_0x22fb31;}['_createToolbarButton'](_0x38f095){const {locale:_0x220d70}=this['editor'],_0x2ea2e1=this['editor']['plugins']['get']('ImageInsertUI'),_0x1fc0f4=_0x38f095[0x0],_0x2906aa=this['_createButton'](_0x5db41e,_0x1fc0f4['type']);return _0x2906aa['icon']=_0x1fc0f4['icon'],_0x2906aa['bind']('label')['to'](_0x2ea2e1,'isImageSelected',_0x34c2f0=>_(_0x220d70,_0x1fc0f4['type'],_0x34c2f0?'Replace':'Insert')['text']),_0x2906aa['tooltip']=!0x0,_0x2906aa;}['_createDropdownButtons'](_0x3eb1eb){const {locale:_0x2c59ef}=this['editor'],_0x5b5955=this['editor']['plugins']['get']('ImageInsertUI');return _0x3eb1eb['map'](_0x3ded0c=>{const _0x983f12=this['_createButton'](_0x5db41e,_0x3ded0c['type']);return _0x983f12['withText']=!0x0,_0x983f12['icon']=_0x3ded0c['icon'],_0x983f12['bind']('label')['to'](_0x5b5955,'isImageSelected',_0x71baf2=>_(_0x2c59ef,_0x3ded0c['type'],_0x71baf2?'Replace':'Insert')['text']),_0x983f12;});}['_createMenuBarButtons'](_0x4521c7){return _0x4521c7['map'](_0x262b6c=>{const _0x3f5629=this['_createButton'](_0x58f233,_0x262b6c['type']);return _0x3f5629['icon']=_0x262b6c['icon'],_0x3f5629['label']=_0x262b6c['shortText'],_0x3f5629;});}}class F extends _0x2936d5{['focusTracker'];['focusCycler'];constructor(_0x222f93){super(_0x222f93),this['focusTracker']=new _0x6a6955(),this['focusCycler']=new _0x3ac2a8({'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(_0x3d504b,_0x505620){super(_0x3d504b),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-'+_0x505620}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x537889,_0x1022f3){const _0x36f2b7=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x291b9b=>_0x291b9b<=_0x1022f3)['map'](_0x78d719=>_0x537889['replace'](/\/$/,'')+'/-/resize/'+_0x78d719+'x/\x20'+_0x78d719+'w');return{'imageFallbackUrl':_0x537889,'imageSources':[{'srcset':_0x36f2b7['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1022f3+'px)\x20100vw,\x20'+_0x1022f3+'px','type':'image/webp'}]};}function S(_0x92f934,_0x37653b,_0x2563f4){const _0x3a4071=_0x92f934['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3a4071?parseInt(_0x3a4071[0x1],0xa):_0x37653b,'height':_0x3a4071?parseInt(_0x3a4071[0x2],0xa):_0x2563f4};}function p(_0x33e220,_0x262e6d){const _0x404fbd=new(_0x5b21d1())(),_0x3d2ca0=_0x33e220['plugins']['get']('ImageUtils'),_0x23eda2=_0x33e220['editing']['mapper']['toViewElement'](_0x262e6d),_0x422506=_0x3d2ca0['findViewImgElement'](_0x23eda2),_0x469b15=_0x33e220['editing']['view']['domConverter']['viewToDom'](_0x422506),_0x8ab7e2=_0x262e6d['getAttribute']('width'),_0x1e19e4=_0x262e6d['getAttribute']('height'),_0x1b4ead='image-processing';_0x33e220['editing']['view']['change'](_0x1abfdf=>{_0x1abfdf['addClass'](_0x1b4ead,_0x23eda2),_0x1abfdf['setStyle']('aspect-ratio',_0x8ab7e2+'/'+_0x1e19e4,_0x422506);}),_0x404fbd['listenTo'](_0x469b15,'load',()=>{_0x404fbd['stopListening'](_0x469b15,'load'),_0x33e220['editing']['view']['change'](_0x296f00=>{_0x296f00['removeClass'](_0x1b4ead,_0x23eda2),_0x296f00['removeStyle']('aspect-ratio',_0x422506);});});}function G(_0x498b5b){if(Array['isArray'](_0x498b5b)){const _0x598cd3=_0x498b5b['map'](G);return _0x11b447=>_0x598cd3['some'](_0x131dbc=>_0x131dbc(_0x11b447));}if('origin'==_0x498b5b){const _0x27b4ee=_0x310d51['window']['location']['origin'];return _0xf20127=>new URL(_0xf20127,_0x310d51['document']['baseURI'])['origin']==_0x27b4ee;}return'function'==typeof _0x498b5b?_0x498b5b:_0x498b5b instanceof RegExp?_0x1677e9=>!(!_0x1677e9['match'](_0x498b5b)&&!_0x1677e9['replace'](/^https?:\/\//,'')['match'](_0x498b5b)):()=>!0x1;}function A(_0x194b60,_0x3a8ed5){return _0x10b755(_0x194b60['target'])['includes'](_0x3a8ed5);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x484431(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xcae886,_0x1550de,_0x3f67d1){super(),this['_editor']=_0xcae886,this['_editing']=_0x1550de,this['_dialog']=_0xcae886['plugins']['get'](_0x36ce1e),this['_api']=_0x1550de['ctxElement']['getAPI'](),this['_type']=_0x3f67d1,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:_0x61b3f0,model:_0x227955}=this['_editor'],_0x40a5b5=_0x227955['document']['selection']['getSelectedElement'](),_0x314357=_0x40a5b5&&(_0x40a5b5['is']('element','imageBlock')||_0x40a5b5['is']('element','imageInline'));this['_formView']=new x(_0x61b3f0,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x160512,'title':_(_0x61b3f0,this['_type'],_0x314357?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xd008b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x52b3e3=>!A(_0x52b3e3,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x384259}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1eb2ab=>{const _0x184261=_0x384259['length'];for(const _0x2f9570 of _0x384259){const _0x3329f6=_0x2f9570===_0x384259[_0x184261-0x1],{cdnUrl:_0x29f1b0,fileInfo:_0xb6e3f}=_0x2f9570;if(!_0x29f1b0||!_0xb6e3f)continue;const {width:_0x34900a,height:_0x2cf2f9}=_0xb6e3f['imageInfo'],_0x3f6917=S(_0x29f1b0,_0x34900a,_0x2cf2f9),_0x110c86=C(_0x29f1b0,_0x3f6917['width']),_0x3ebdfe={'id':_0xb6e3f['uuid'],'type':'image','attributes':{'imageDimension':_0x3f6917,..._0x110c86}};this['_insertAsset'](_0x3ebdfe,_0x3329f6,_0x1eb2ab);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x12a115=>{'idle'===_0x12a115['detail']['status']&&!_0x12a115['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x374207,_0xd426ad,_0x10d9f7){const _0xbc663=this['_editor']['model']['document']['selection'],_0x1fc00b=_0xbc663['getSelectedElement'](),_0x491df0=!(!_0x1fc00b||!_0x1fc00b['is']('element','imageInline'));_0x10d9f7['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x374207,_0x491df0),_0xd426ad||_0x10d9f7['setSelection'](_0xbc663['getLastPosition']());}['_insertImage'](_0x1c2b3b,_0xb7d1e4){const _0x277d9c=this['_editor'],{imageDimension:_0x171717,imageFallbackUrl:_0x5c4546,imageSources:_0x2c98ba}=_0x1c2b3b['attributes'];_0x277d9c['execute']('insertImage',{'imageType':_0xb7d1e4?'imageInline':null,'source':{'uploadcareImageId':_0x1c2b3b['id'],'src':_0x5c4546,'sources':_0x2c98ba,..._0x171717}});}}class w extends _0x361ebe{['_editing'];['_controller']=null;static get['requires'](){return[_0x36ce1e,o];}constructor(_0x3a0f72){super(_0x3a0f72),this['_editing']=_0x3a0f72['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x52d6c0){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x52d6c0);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1cbc53,..._0x51a069}){return _0x208097(_0x1cbc53,_0x51a069);}static['getInfo'](_0x44b3b9,_0x217226){return _0x293ba6(_0x44b3b9,_0x217226);}}class f extends _0x2d8fd2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x50c303,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5f5362=this['editor'];if(!!!_0x5f5362['config']['get']('uploadcare'))return;_0x5f5362['plugins']['get'](_0x50c303)['createUploadAdapter']=_0x18bd0e=>new k(_0x18bd0e,_0x5f5362),_0x5f5362['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1a37e8,{imageElement:_0x21ae8b,data:_0x5d205c})=>{_0x5f5362['model']['change'](_0x4c51e0=>{_0x4c51e0['setAttribute']('uploadcareImageId',_0x5d205c['uploadcareImageId'],_0x21ae8b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x16d49a,_0x144a3d){this['loader']=_0x16d49a,this['editor']=_0x144a3d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x33b0ab=await this['loader']['file'];return j['upload']({'file':_0x33b0ab,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3a4879=>{_0x3a4879&&_0x3a4879['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3a4879['value']);}})['then'](async _0x275b17=>{const {imageFallbackUrl:_0x51000a,imageSources:_0x58c5f6}=C(_0x275b17['cdnUrl'],_0x275b17['imageInfo']['width']);return{'uploadcareImageId':_0x275b17['uuid'],'default':_0x51000a,'sources':_0x58c5f6};})['catch'](()=>{const _0x589662=t('Cannot\x20upload\x20file:')+('\x20'+_0x33b0ab['name']+'.');return Promise['reject'](_0x589662);});}['abort'](){this['controller']['abort']();}}class o extends _0x2d8fd2{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x36ce1e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x10207a){super(_0x10207a),this['ucContextId']=_0x2e908f();}['init'](){const _0x526054=this['editor'];_0x526054['commands']['add']('uploadcare',new w(_0x526054));}['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 _0x170083=_0x310d51['document']['querySelector']('input[uploadcare-file-input]');_0x170083&&_0x170083['remove']();}),async function(_0x5bf6d8){const _0x256bf6=_0x5a3d49([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x203511=0x535f8c3a,_0x51a0fa=0x53580f5a^_0x203511,_0x120285=window[_0x5a3d49([0x44,0x61,0x74,0x65])][_0x5a3d49([0x6e,0x6f,0x77])](),_0x3b02e6=_0x5bf6d8[_0x5a3d49([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb15394=new window[(_0x5a3d49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dfe87=>{_0x3b02e6[_0x5a3d49([0x6f,0x6e,0x63,0x65])](_0x5a3d49([0x72,0x65,0x61,0x64,0x79]),_0x1dfe87);}),_0x579ea6={[_0x5a3d49([0x6b,0x74,0x79])]:_0x5a3d49([0x45,0x43]),[_0x5a3d49([0x75,0x73,0x65])]:_0x5a3d49([0x73,0x69,0x67]),[_0x5a3d49([0x63,0x72,0x76])]:_0x5a3d49([0x50,0x2d,0x32,0x35,0x36]),[_0x5a3d49([0x78])]:_0x5a3d49([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]),[_0x5a3d49([0x79])]:_0x5a3d49([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]),[_0x5a3d49([0x61,0x6c,0x67])]:_0x5a3d49([0x45,0x53,0x32,0x35,0x36])},_0xbfd294=_0x3b02e6[_0x5a3d49([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a3d49([0x67,0x65,0x74])](_0x5a3d49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51a8f6(){let _0x3194c5,_0x184f77=null,_0x31c4a5=null;try{if(_0xbfd294==_0x5a3d49([0x47,0x50,0x4c]))return _0x5a3d49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3194c5=_0x454b6f(),!_0x3194c5)return _0x5a3d49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3194c5[_0x5a3d49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31c4a5=_0x5a9036(_0x3194c5[_0x5a3d49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3194c5[_0x5a3d49([0x6a,0x74,0x69])])),await _0x496897()?_0xbee62d()?_0x5c87f0()?_0x5a3d49([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x240507()?(_0x3194c5[_0x5a3d49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a3d49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x184f77=_0x15a40b(_0x5a3d49([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42f2c1()):_0x5a3d49([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a3d49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a3d49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a3d49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c87f0(){const _0x926859=[_0x5a3d49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a3d49([0x74,0x72,0x69,0x61,0x6c])][_0x5a3d49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3194c5[_0x5a3d49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x120285/0x3e8:0xe10*_0x51a0fa;return _0x3194c5[_0x5a3d49([0x65,0x78,0x70])]<_0x926859;}function _0xbee62d(){const _0x2129a9=_0x3194c5[_0x5a3d49([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2129a9&&(!!_0x2129a9[_0x5a3d49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3d49([0x2a]))||!!_0x2129a9[_0x5a3d49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3d49([0x55,0x50,0x4c,0x43])));}function _0x240507(){const _0xc3b9fb=_0x3194c5[_0x5a3d49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc3b9fb||0x0==_0xc3b9fb[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3769c5}=new URL(window[_0x5a3d49([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xc3b9fb[_0x5a3d49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3769c5))return!0x0;const _0x326fac=_0x3769c5[_0x5a3d49([0x73,0x70,0x6c,0x69,0x74])](_0x5a3d49([0x2e]));return _0xc3b9fb[_0x5a3d49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x974c92=>_0x974c92[_0x5a3d49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3d49([0x2a])))[_0x5a3d49([0x6d,0x61,0x70])](_0x9f30a8=>_0x9f30a8[_0x5a3d49([0x73,0x70,0x6c,0x69,0x74])](_0x5a3d49([0x2e])))[_0x5a3d49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x280169=>_0x280169[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x326fac[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a3d49([0x6d,0x61,0x70])](_0x5ea7f1=>Array(_0x326fac[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ea7f1[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a3d49([0x66,0x69,0x6c,0x6c])](_0x5ea7f1[0x0]===_0x5a3d49([0x2a])?_0x5a3d49([0x2a]):'')[_0x5a3d49([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ea7f1))[_0x5a3d49([0x73,0x6f,0x6d,0x65])](_0x5e6581=>_0x326fac[_0x5a3d49([0x65,0x76,0x65,0x72,0x79])]((_0x112baf,_0x326661)=>_0x5e6581[_0x326661]===_0x112baf||_0x5e6581[_0x326661]===_0x5a3d49([0x2a])));}function _0x42f2c1(){return _0x184f77&&_0x31c4a5?new window[(_0x5a3d49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b18c4,_0x3c1459)=>{_0x184f77[_0x5a3d49([0x74,0x68,0x65,0x6e])](_0x5b18c4,_0x3c1459),_0x31c4a5[_0x5a3d49([0x74,0x68,0x65,0x6e])](_0x3fee44=>{_0x3fee44!=_0x5a3d49([0x56,0x61,0x6c,0x69,0x64])&&_0x5b18c4(_0x3fee44);},_0x3c1459);}):_0x184f77||_0x31c4a5||_0x5a3d49([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a9036(_0x157cb2,_0x130584){return new window[(_0x5a3d49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3789d2=>{if(_0x335e4d())return _0x3789d2(_0x5a3d49([0x56,0x61,0x6c,0x69,0x64]));_0x3df462(),_0x3b02e6[_0x5a3d49([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a3d49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b4e07=!0x1;const _0x2598b7=_0x2e908f();function _0x29e67b(_0xcbb2ee){return!!_0xcbb2ee&&(typeof _0xcbb2ee===_0x5a3d49([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcbb2ee===_0x5a3d49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcbb2ee[_0x5a3d49([0x74,0x68,0x65,0x6e])]===_0x5a3d49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcbb2ee[_0x5a3d49([0x63,0x61,0x74,0x63,0x68])]===_0x5a3d49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x504b9e(_0x10f08d){_0x341e95(_0x10f08d)[_0x5a3d49([0x74,0x68,0x65,0x6e])](_0x2001b2=>{if(!_0x2001b2||_0x2001b2[_0x5a3d49([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a3d49([0x6f,0x6b]))return _0x5a3d49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x463a56(_0x2fe415(_0x2598b7+_0x130584))!=_0x2001b2[_0x5a3d49([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a3d49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a3d49([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a3d49([0x74,0x68,0x65,0x6e])](_0x3508e9=>(_0x1fe48d(),_0x3508e9),()=>{const _0x90a0d7=_0x46550b();return null==_0x90a0d7?(_0x1fe48d(),_0x5a3d49([0x56,0x61,0x6c,0x69,0x64])):_0x5a3d49(_0x120285-_0x90a0d7>(0x7753083a^_0x203511)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a3d49([0x74,0x68,0x65,0x6e])](_0x3789d2)[_0x5a3d49([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3789d2(_0x5a3d49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43ac8a=0x536962ba^_0x203511;function _0x1fe48d(){const _0x4bf330=_0x5a3d49([0x6c,0x6c,0x63,0x74,0x2d])+_0x463a56(_0x2fe415(_0x157cb2)),_0x39a78e=_0x5d25b8(_0x463a56(window[_0x5a3d49([0x4d,0x61,0x74,0x68])][_0x5a3d49([0x63,0x65,0x69,0x6c])](_0x120285/_0x43ac8a)));window[_0x5a3d49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a3d49([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bf330,_0x39a78e);}function _0x46550b(){const _0x29b883=_0x5a3d49([0x6c,0x6c,0x63,0x74,0x2d])+_0x463a56(_0x2fe415(_0x157cb2)),_0xa91ede=window[_0x5a3d49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a3d49([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29b883);return _0xa91ede?window[_0x5a3d49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d25b8(_0xa91ede),0x10)*_0x43ac8a:null;}function _0x341e95(_0x7ca2d2){return new window[(_0x5a3d49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e9c2b,_0x3f85be)=>{_0x7ca2d2[_0x5a3d49([0x74,0x68,0x65,0x6e])](_0x2e9c2b,_0x3f85be),window[_0x5a3d49([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f85be,0x535e58fa^_0x203511);});}}_0x3b02e6[_0x5a3d49([0x6f,0x6e])](_0x5a3d49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b4afe,_0x4cbeca)=>{if(_0x4cbeca[0x0]!=_0x157cb2)return _0x3789d2(_0x5a3d49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4cbeca[0x1]={..._0x4cbeca[0x1],[_0x5a3d49([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2598b7};},{[_0x5a3d49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a3d49([0x68,0x69,0x67,0x68])}),_0x3b02e6[_0x5a3d49([0x6f,0x6e])](_0x5a3d49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x300668=>{_0x29e67b(_0x300668[_0x5a3d49([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b4e07=!0x0,_0x504b9e(_0x300668[_0x5a3d49([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a3d49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a3d49([0x6c,0x6f,0x77])}),_0xb15394[_0x5a3d49([0x74,0x68,0x65,0x6e])](()=>{_0x3b4e07||_0x3789d2(_0x5a3d49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x335e4d(){return _0x3b02e6[_0x5a3d49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a3d49([0x76,0x69,0x65,0x77])][_0x5a3d49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a3d49([0x61,0x75,0x74,0x6f]);}function _0x3df462(){_0x3b02e6[_0x5a3d49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a3d49([0x76,0x69,0x65,0x77])][_0x5a3d49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a3d49([0x61,0x75,0x74,0x6f]);}}function _0x15a40b(_0x1e2f9a){const _0x4f5cfd=[new window[(_0x5a3d49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f10eb=>setTimeout(_0x4f10eb,0x5356b2f6^_0x203511)),_0xb15394[_0x5a3d49([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a3d49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc0a301=>{let _0x144561=0x0;_0x3b02e6[_0x5a3d49([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a3d49([0x6f,0x6e])](_0x5a3d49([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x198a06,_0x281da4)=>{_0x281da4[0x0][_0x5a3d49([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x144561++,_0x144561==(0x535f89d2^_0x203511)&&(_0xc0a301(),_0x198a06[_0x5a3d49([0x6f,0x66,0x66])]());});}))];return window[_0x5a3d49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a3d49([0x72,0x61,0x63,0x65])](_0x4f5cfd)[_0x5a3d49([0x74,0x68,0x65,0x6e])](()=>_0x1e2f9a);}async function _0x47287a(){await _0xb15394,_0x3b02e6[_0x5a3d49([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a3d49([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc2c2fb,_0x3b02e6[_0x5a3d49([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a3d49([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc2c2fb,_0x3b02e6[_0x5a3d49([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a3d49([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x321ced(_0x3e1d03){const _0x57b857=_0x5e76b7();_0x3b02e6[_0x57b857]=_0x5a3d49([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e1d03,_0x3e1d03!=_0x5a3d49([0x56,0x61,0x6c,0x69,0x64])&&_0x47287a();}function _0x5e76b7(){const _0x460e54=window[_0x5a3d49([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a3d49([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a3d49([0x6e,0x6f,0x77])]())[_0x5a3d49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a3d49([0x2e]),'');let _0x230c95=_0x5a3d49([0x68]);for(let _0x3c931d=0x0;_0x3c931d<_0x460e54[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c931d+=0x2){let _0x2cb462=window[_0x5a3d49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x460e54[_0x5a3d49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c931d,_0x3c931d+0x2));_0x2cb462>=_0x256bf6[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cb462-=_0x256bf6[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x230c95+=_0x256bf6[_0x2cb462];}return _0x230c95;}function _0x454b6f(){const _0x41377f=_0xbfd294[_0x5a3d49([0x73,0x70,0x6c,0x69,0x74])](_0x5a3d49([0x2e]));if(0x3!=_0x41377f[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8e1915(_0x41377f[0x1]);function _0x8e1915(_0x7d686a){const _0x2763e6=_0x438196(_0x7d686a);return _0x2763e6&&_0x549e01()?_0x2763e6:null;function _0x549e01(){const _0x4230f8=_0x2763e6[_0x5a3d49([0x6a,0x74,0x69])],_0x387e51=window[_0x5a3d49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4230f8[_0x5a3d49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4230f8[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16f145={..._0x2763e6,[_0x5a3d49([0x6a,0x74,0x69])]:_0x4230f8[_0x5a3d49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4230f8[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16f145[_0x5a3d49([0x76,0x63])],_0x2fe415(_0x16f145)==_0x387e51;}}}async function _0x496897(){let _0x1b083d=!0x0;try{const _0x2f6ce4=_0xbfd294[_0x5a3d49([0x73,0x70,0x6c,0x69,0x74])](_0x5a3d49([0x2e])),[_0x572878,_0x88f7ea,_0x42cd0c]=_0x2f6ce4;return _0x5d4f2b(_0x572878),await _0x43f0ce(_0x572878,_0x88f7ea,_0x42cd0c),_0x1b083d;}catch{return!0x1;}function _0x5d4f2b(_0x4ff3fc){const _0x542b62=_0x438196(_0x4ff3fc);_0x542b62&&_0x542b62[_0x5a3d49([0x61,0x6c,0x67])]==_0x5a3d49([0x45,0x53,0x32,0x35,0x36])||(_0x1b083d=!0x1);}async function _0x43f0ce(_0x225f4f,_0x5c40c0,_0x5d3f88){const _0x405e4c=window[_0x5a3d49([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a3d49([0x66,0x72,0x6f,0x6d])](_0x31dc7a(_0x5d3f88),_0x4cbd14=>_0x4cbd14[_0x5a3d49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c0541=new window[(_0x5a3d49([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a3d49([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x225f4f+_0x5a3d49([0x2e])+_0x5c40c0),_0x1d6f9b=window[_0x5a3d49([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a3d49([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d6f9b)return;const _0x31cd6e=await _0x1d6f9b[_0x5a3d49([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a3d49([0x6a,0x77,0x6b]),_0x579ea6,{[_0x5a3d49([0x6e,0x61,0x6d,0x65])]:_0x5a3d49([0x45,0x43,0x44,0x53,0x41]),[_0x5a3d49([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a3d49([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a3d49([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d6f9b[_0x5a3d49([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a3d49([0x6e,0x61,0x6d,0x65])]:_0x5a3d49([0x45,0x43,0x44,0x53,0x41]),[_0x5a3d49([0x68,0x61,0x73,0x68])]:{[_0x5a3d49([0x6e,0x61,0x6d,0x65])]:_0x5a3d49([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31cd6e,_0x405e4c,_0x4c0541)||(_0x1b083d=!0x1);}}function _0x438196(_0x238965){return _0x238965[_0x5a3d49([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a3d49([0x65,0x79]))?JSON[_0x5a3d49([0x70,0x61,0x72,0x73,0x65])](_0x31dc7a(_0x238965)):null;}function _0x31dc7a(_0x35c3d2){return window[_0x5a3d49([0x61,0x74,0x6f,0x62])](_0x35c3d2[_0x5a3d49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a3d49([0x2b]))[_0x5a3d49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a3d49([0x2f])));}function _0x2fe415(_0x563ea3){let _0xaeacc=0x1505;function _0x3dd0c8(_0x2a7872){for(let _0x248c3b=0x0;_0x248c3b<_0x2a7872[_0x5a3d49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x248c3b++){const _0x37da92=_0x2a7872[_0x5a3d49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x248c3b);_0xaeacc=(_0xaeacc<<0x5)+_0xaeacc+_0x37da92,_0xaeacc&=_0xaeacc;}}function _0x1b2e97(_0x792ec6){Array[_0x5a3d49([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x792ec6)?_0x792ec6[_0x5a3d49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b2e97):_0x792ec6&&typeof _0x792ec6==_0x5a3d49([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a3d49([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x792ec6)[_0x5a3d49([0x73,0x6f,0x72,0x74])]()[_0x5a3d49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27fdfb,_0x5068ce])=>{_0x3dd0c8(_0x27fdfb),_0x1b2e97(_0x5068ce);}):_0x3dd0c8(window[_0x5a3d49([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x792ec6));}return _0x1b2e97(_0x563ea3),_0xaeacc>>>0x0;}function _0x463a56(_0x463e67){return _0x463e67[_0x5a3d49([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a3d49([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a3d49([0x30]));}function _0x5d25b8(_0x353951){return _0x353951[_0x5a3d49([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a3d49([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a3d49([0x6a,0x6f,0x69,0x6e])]('');}function _0xc2c2fb(){}function _0x5a3d49(_0x4712a9){return _0x4712a9['map'](_0xab65ae=>String['fromCharCode'](_0xab65ae))['join']('');}_0x321ced(await _0x51a8f6());}(this);}['_initSchema'](){const _0x4076f0=this['editor']['model']['schema'];_0x4076f0['isRegistered']('imageBlock')&&_0x4076f0['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4076f0['isRegistered']('imageInline')&&_0x4076f0['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x230dcc=this['editor'];_0x230dcc['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x230dcc['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x432d28=>_0x432d28['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x202bf4=_0x230dcc['commands']['get']('replaceImageSource');_0x202bf4&&this['listenTo'](_0x202bf4,'cleanupImage',(_0xc2877,[_0x4bb426,_0x34a503])=>{_0x4bb426['removeAttribute']('uploadcareImageId',_0x34a503);});}['_initConfig'](){const _0x57ca5f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x34b312=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2d4bdb(_0x310d51['document'],'uc-config',{..._0x57ca5f,'pubkey':_0x34b312,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x57e6d0=>{if('closeMax'==_0x57e6d0)return'#uc-icon-arrow-down';},_0x310d51['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2d4bdb(_0x310d51['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x310d51['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3808b8=this['editor']['commands']['get']('insertImage');_0x3808b8&&this['listenTo'](_0x3808b8,'execute',()=>{const _0x5cde07=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5cde07&&_0x5cde07['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5cde07);});});const _0x35db75=this['editor']['commands']['get']('uploadcareImageReplace');_0x35db75&&this['listenTo'](_0x35db75,'execute',()=>{const _0x4131f7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4131f7&&_0x4131f7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4131f7);});});}}class tt extends _0x2d8fd2{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3ee2ff){super(_0x3ee2ff),_0x3ee2ff['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x588e15['defineComponents'](_0x588e15),this['_defineLocale']();}['_defineLocale'](){const _0x517736=this['editor']['config']['get']('uploadcare.locale'),_0x1420d2=this['editor']['locale']['contentLanguage'];_0x517736&&_0x588e15['defineLocale'](_0x1420d2,_0x517736);}}class ii extends _0x2936d5{constructor(_0x51e0fc){super(_0x51e0fc);const t=_0x51e0fc['t'],_0x2fec07=this['bindTemplate'],_0x26002d=new _0x16a0ee();_0x26002d['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':[_0x26002d,{'text':_0x2fec07['to']('imageUploadProgress',_0x24ee76=>t('Loading\x20image...')+'\x20('+(_0x24ee76||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 _0x2936d5{constructor(_0x44fed2){super(_0x44fed2);const t=_0x44fed2['t'];this['set']('errorType',null);const _0x21392e=new _0x5db41e(_0x44fed2);_0x21392e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x21392e['withText']=!0x0,_0x21392e['class']='ck-button-action',_0x21392e['on']('execute',()=>{this['fire']('retry');}),_0x21392e['bind']('isVisible')['to'](this,'errorType',_0x4167ee=>'NotFound'!==_0x4167ee);const _0x4e2359=new _0x4160a7();_0x4e2359['content']=_0x404929,_0x4e2359['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x316eb0=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':[_0x4e2359,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x316eb0['to']('errorType',_0x277a27=>t('NotFound'!==_0x277a27?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x21392e]},{'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 _0x2936d5{constructor(_0xb78458,_0x2cb54a){super(_0xb78458);const _0x5d4a99=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2cb54a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5d4a99['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4455ca,_0x2f851f,_0xcc9aad){super(_0x4455ca),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4455ca),this['_errorView']=new ti(_0x4455ca),this['_editingView']=new ei(_0x4455ca,_0xcc9aad),this['_focusableView']=new _0x2936d5(_0x4455ca),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2f851f),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'],_0x3d6043=>{this['_addUploadcareImageEditorListeners'](_0x3d6043);});}),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'](_0x239c2d,_0x412955){const _0x4ba1cf='uc-cloud-image-editor',_0x4618be=_0x239c2d['querySelector'](_0x4ba1cf);if(_0x4618be)return _0x412955(_0x4618be);const _0x5277a9=new MutationObserver(_0x48e490=>{const _0x75557f=_0x48e490['filter'](_0x4d09bb=>_0x4d09bb['target']===_0x239c2d&&_0x4d09bb['addedNodes']['length']>0x0&&_0x4d09bb['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4ba1cf);_0x75557f['length']&&(_0x5277a9['disconnect'](),_0x412955(_0x75557f[0x0]['addedNodes'][0x0]));});_0x5277a9['observe'](_0x239c2d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3d9d7d){_0x3d9d7d['addEventListener']('apply',_0x1762d3=>{this['fire']('apply',{'imageSrc':_0x1762d3['detail']['cdnUrl']});}),_0x3d9d7d['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x484431(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1d4b6a,_0x206abc,_0x55a586){super(),this['_editor']=_0x1d4b6a,this['_dialog']=_0x206abc,this['_imageElement']=_0x55a586,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 _0x2b8348=this['_imageElement'],_0x1ba6a3=_0x2b8348['getAttribute']('uploadcareImageId'),_0x1c9fc7=_0x2b8348['getAttribute']('src');if(_0x1ba6a3)await this['_loadImageInfo'](_0x1ba6a3,_0x1c9fc7);else{if(this['_imageCache']['has'](_0x1c9fc7)){const _0x7255a4=this['_imageCache']['get'](_0x1c9fc7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x7255a4['url'],this['imageDimension']=_0x7255a4['dimension'],this['imageId']=_0x7255a4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4d0713}=this['_editor'],t=_0x4d0713['t'],_0x398f48=new X(_0x4d0713,this['imageStatus'],this['_attributes']);_0x398f48['bind']('status')['to'](this,'imageStatus'),_0x398f48['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x398f48['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x398f48['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x398f48,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1364f2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x398f48,'position':_0xd008b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x398f48['focus']();},'onHide':()=>{_0x398f48['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2c4b9b=>!A(_0x2c4b9b,_0x398f48['element'])}});}['_loadImageInfo'](_0x548960,_0x5c0ece){return j['getInfo'](_0x548960,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2ce2b6=>{const {width:_0x1fea90,height:_0x1da219}=_0x2ce2b6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c0ece,this['imageDimension']={'width':_0x1fea90,'height':_0x1da219},this['imageId']=_0x548960;})['catch'](_0x4c3f7f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4c3f7f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x10adb3,_0x5848b4){return this['_getImageAsFile'](_0x10adb3)['then'](_0x2f3697=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5848b4['signal'],'file':_0x2f3697,'onProgress':_0x1fb598=>{_0x1fb598&&_0x1fb598['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1fb598['value']));}}))['then'](_0x305c29=>{const {width:_0x4fb80a,height:_0x5a1da6}=_0x305c29['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x305c29['cdnUrl'],this['imageDimension']={'width':_0x4fb80a,'height':_0x5a1da6},this['imageId']=_0x305c29['uuid'],this['imageUploadProgress']=null;const _0x1b5680=_0x10adb3['getAttribute']('src');this['_imageCache']['set'](_0x1b5680,{'id':_0x305c29['uuid'],'url':_0x305c29['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2be6a6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2be6a6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x58c7cf,_0x4c75fc){_0x58c7cf['on']('apply',(_0x1a2697,_0x9b8c8)=>{this['_replaceImage'](_0x4c75fc,_0x9b8c8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x58c7cf['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x58c7cf['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x42bae6,_0xe71b80,_0x216863){const _0x1b8978=this['_editor'],{width:_0x57b613,height:_0x3db725}=S(_0xe71b80,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x217650,imageSources:_0x58cc7d}=C(_0xe71b80,_0x57b613);_0x1b8978['model']['change'](_0x56a172=>{if('$graveyard'===_0x42bae6['root']['rootName']){_0x1b8978['execute']('insertImage',{'imageType':_0x42bae6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x42bae6['getAttributes']()),'uploadcareImageId':_0x216863,'src':_0x217650,'sources':_0x58cc7d,'width':_0x57b613,'height':_0x3db725}});const _0x1d152e=_0x42bae6['getChildren']();_0x42bae6=_0x1b8978['model']['document']['selection']['getSelectedElement']();for(const _0x5a4a73 of _0x1d152e)_0x56a172['append'](_0x56a172['cloneElement'](_0x5a4a73),_0x42bae6);}else _0x56a172['setSelection'](_0x42bae6,'on'),_0x1b8978['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x42bae6['getAttributes']()),'uploadcareImageId':_0x216863,'src':_0x217650,'sources':_0x58cc7d,'width':_0x57b613,'height':_0x3db725},_0x42bae6);_0x56a172['setSelection'](_0x42bae6,'on');});}async['_getImageAsFile'](_0x1a9eb0){const _0x36c0a7=_0x310d51['window'],_0xa33269=_0x310d51['document']['location']['href'],_0x4170ed=new _0x36c0a7['URL'](_0x1a9eb0['getAttribute']('src'),_0xa33269);if('data:'===_0x4170ed['protocol']){const _0x1ef4e5=_0x4170ed['href']['split'](','),_0x39ba50=_0x1ef4e5[0x0]['match'](/:(.*?);/)[0x1],_0x2d3b6a=_0x39ba50['split']('/')[0x1],_0x12267f=_0x36c0a7['atob'](_0x1ef4e5[_0x1ef4e5['length']-0x1]);let _0x508eb3=_0x12267f['length'];const _0x5f44fc=new _0x36c0a7['Uint8Array'](_0x508eb3);for(;_0x508eb3--;)_0x5f44fc[_0x508eb3]=_0x12267f['charCodeAt'](_0x508eb3);return new _0x36c0a7['File']([_0x5f44fc],'image.'+_0x2d3b6a,{'type':_0x39ba50});}const _0x3ee96e=_0x4170ed['href']['split']('/'),_0xe4df9a=_0x3ee96e[_0x3ee96e['length']-0x1],_0x587d02=_0xe4df9a['split']('.')[0x1];return _0x36c0a7['fetch'](_0x4170ed['href'])['then'](_0x5ede58=>_0x5ede58['clone']()['blob']())['then'](_0x40df78=>new _0x36c0a7['File']([_0x40df78],_0xe4df9a,{'type':'image/'+_0x587d02}));}}class O extends _0x361ebe{['imageEditController'];static get['requires'](){return[_0x36ce1e];}['_isEditable'];constructor(_0xcd680d){super(_0xcd680d),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x585672){const _0x470b11=G(_0x585672);return _0x1a2a77=>!(!_0x1a2a77||!_0x1a2a77['is']('element','imageBlock')&&!_0x1a2a77['is']('element','imageInline'))&&(!!_0x1a2a77['hasAttribute']('uploadcareImageId')||!!_0x1a2a77['hasAttribute']('src')&&_0x470b11(_0x1a2a77['getAttribute']('src')));}(_0xcd680d['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x58597f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x58597f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3d35bd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d35bd&&(_0x3d35bd['is']('element','imageBlock')||_0x3d35bd['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x36ce1e),_0x3d35bd),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x361ebe{['refresh'](){const _0x2c42ab=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2c42ab&&(_0x2c42ab['is']('element','imageBlock')||_0x2c42ab['is']('element','imageInline')));}['execute'](_0x513737){const _0x1aaa9f=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x392a70=>{_0x392a70['setAttributes'](_0x513737,_0x1aaa9f),_0x392a70['removeAttribute']('srcset',_0x1aaa9f),_0x392a70['removeAttribute']('sizes',_0x1aaa9f);});}}class m extends _0x2d8fd2{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x48be5a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x481ed8}=this;_0x481ed8['commands']['add']('uploadcareImageEdit',new O(_0x481ed8)),_0x481ed8['commands']['add']('uploadcareImageReplace',new R(_0x481ed8));}}class g extends _0x2d8fd2{['_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 _0x463df1=this['editor'];_0x463df1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x56d1f1=>{const _0x4a0b68=_0x463df1['commands']['get']('uploadcareImageEdit'),_0x2878a7=new _0x5db41e(_0x56d1f1),t=_0x56d1f1['t'];return _0x2878a7['set']({'icon':_0x1364f2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2878a7['bind']('isEnabled')['to'](_0x4a0b68),_0x2878a7['bind']('isOn')['to'](_0x4a0b68,'isActive'),this['listenTo'](_0x2878a7,'execute',()=>{_0x463df1['execute']('uploadcareImageEdit'),_0x463df1['editing']['view']['focus']();}),_0x2878a7;}),this['_initConfig']();}['_initConfig'](){const _0x187245=_0x2d4bdb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x187245),this['listenTo'](this['editor'],'destroy',()=>{_0x187245['remove']();});}}class et extends _0x2d8fd2{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5150fa=>0x1!=_0x5150fa}};
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':_0x24a5ff=>0x1!=_0x24a5ff}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xaba587=>{const {af:{dictionary:_0x3ab1bf,getPluralForm:_0x208e41}}={'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':_0x347333=>0x1!=_0x347333}};_0xaba587['af']||={'dictionary':{},'getPluralForm':null},_0xaba587['af']['dictionary']=Object['assign'](_0xaba587['af']['dictionary'],_0x3ab1bf),_0xaba587['af']['getPluralForm']=_0x208e41;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x276a88=>{const {af:{dictionary:_0x171396,getPluralForm:_0x1cb124}}={'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':_0x445443=>0x1!=_0x445443}};_0x276a88['af']||={'dictionary':{},'getPluralForm':null},_0x276a88['af']['dictionary']=Object['assign'](_0x276a88['af']['dictionary'],_0x171396),_0x276a88['af']['getPluralForm']=_0x1cb124;})(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':_0x4b38bb=>0x0==_0x4b38bb?0x0:0x1==_0x4b38bb?0x1:0x2==_0x4b38bb?0x2:_0x4b38bb%0x64>=0x3&&_0x4b38bb%0x64<=0xa?0x3:_0x4b38bb%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':_0x5a866e=>0x0==_0x5a866e?0x0:0x1==_0x5a866e?0x1:0x2==_0x5a866e?0x2:_0x5a866e%0x64>=0x3&&_0x5a866e%0x64<=0xa?0x3:_0x5a866e%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x28c627=>{const {ar:{dictionary:_0x20d6dd,getPluralForm:_0xbba8ad}}={'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':_0x11f6f8=>0x0==_0x11f6f8?0x0:0x1==_0x11f6f8?0x1:0x2==_0x11f6f8?0x2:_0x11f6f8%0x64>=0x3&&_0x11f6f8%0x64<=0xa?0x3:_0x11f6f8%0x64>=0xb?0x4:0x5}};_0x28c627['ar']||={'dictionary':{},'getPluralForm':null},_0x28c627['ar']['dictionary']=Object['assign'](_0x28c627['ar']['dictionary'],_0x20d6dd),_0x28c627['ar']['getPluralForm']=_0xbba8ad;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4e1d8d=>{const {ar:{dictionary:_0x29e0de,getPluralForm:_0x2fff90}}={'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':_0xcbb007=>0x0==_0xcbb007?0x0:0x1==_0xcbb007?0x1:0x2==_0xcbb007?0x2:_0xcbb007%0x64>=0x3&&_0xcbb007%0x64<=0xa?0x3:_0xcbb007%0x64>=0xb?0x4:0x5}};_0x4e1d8d['ar']||={'dictionary':{},'getPluralForm':null},_0x4e1d8d['ar']['dictionary']=Object['assign'](_0x4e1d8d['ar']['dictionary'],_0x29e0de),_0x4e1d8d['ar']['getPluralForm']=_0x2fff90;})(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':_0x3030e5=>0x1!=_0x3030e5}};
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':_0x53b24f=>0x1!=_0x53b24f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22d103=>{const {ast:{dictionary:_0x3a4798,getPluralForm:_0x3ed03d}}={'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':_0x8ba616=>0x1!=_0x8ba616}};_0x22d103['ast']||={'dictionary':{},'getPluralForm':null},_0x22d103['ast']['dictionary']=Object['assign'](_0x22d103['ast']['dictionary'],_0x3a4798),_0x22d103['ast']['getPluralForm']=_0x3ed03d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4a2a31=>{const {ast:{dictionary:_0xc26e93,getPluralForm:_0x5a2f6e}}={'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':_0xf64d6c=>0x1!=_0xf64d6c}};_0x4a2a31['ast']||={'dictionary':{},'getPluralForm':null},_0x4a2a31['ast']['dictionary']=Object['assign'](_0x4a2a31['ast']['dictionary'],_0xc26e93),_0x4a2a31['ast']['getPluralForm']=_0x5a2f6e;})(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':_0x3170d6=>0x1!=_0x3170d6}};
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':_0x1e201d=>0x1!=_0x1e201d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3a9757=>{const {az:{dictionary:_0x5ed2e1,getPluralForm:_0x515c9a}}={'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':_0x4b69c4=>0x1!=_0x4b69c4}};_0x3a9757['az']||={'dictionary':{},'getPluralForm':null},_0x3a9757['az']['dictionary']=Object['assign'](_0x3a9757['az']['dictionary'],_0x5ed2e1),_0x3a9757['az']['getPluralForm']=_0x515c9a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x187ab8=>{const {az:{dictionary:_0x44870e,getPluralForm:_0x199ee7}}={'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':_0x551f19=>0x1!=_0x551f19}};_0x187ab8['az']||={'dictionary':{},'getPluralForm':null},_0x187ab8['az']['dictionary']=Object['assign'](_0x187ab8['az']['dictionary'],_0x44870e),_0x187ab8['az']['getPluralForm']=_0x199ee7;})(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':_0x434579=>_0x434579%0xa==0x1&&_0x434579%0x64!=0xb?0x0:_0x434579%0xa>=0x2&&_0x434579%0xa<=0x4&&(_0x434579%0x64<0xa||_0x434579%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':_0x5b276e=>_0x5b276e%0xa==0x1&&_0x5b276e%0x64!=0xb?0x0:_0x5b276e%0xa>=0x2&&_0x5b276e%0xa<=0x4&&(_0x5b276e%0x64<0xa||_0x5b276e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x507891=>{const {be:{dictionary:_0x16cbc7,getPluralForm:_0x363a0c}}={'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':_0x14e9c9=>_0x14e9c9%0xa==0x1&&_0x14e9c9%0x64!=0xb?0x0:_0x14e9c9%0xa>=0x2&&_0x14e9c9%0xa<=0x4&&(_0x14e9c9%0x64<0xa||_0x14e9c9%0x64>=0x14)?0x1:0x2}};_0x507891['be']||={'dictionary':{},'getPluralForm':null},_0x507891['be']['dictionary']=Object['assign'](_0x507891['be']['dictionary'],_0x16cbc7),_0x507891['be']['getPluralForm']=_0x363a0c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5a812c=>{const {be:{dictionary:_0x2a3c50,getPluralForm:_0x94537c}}={'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':_0x4606a7=>_0x4606a7%0xa==0x1&&_0x4606a7%0x64!=0xb?0x0:_0x4606a7%0xa>=0x2&&_0x4606a7%0xa<=0x4&&(_0x4606a7%0x64<0xa||_0x4606a7%0x64>=0x14)?0x1:0x2}};_0x5a812c['be']||={'dictionary':{},'getPluralForm':null},_0x5a812c['be']['dictionary']=Object['assign'](_0x5a812c['be']['dictionary'],_0x2a3c50),_0x5a812c['be']['getPluralForm']=_0x94537c;})(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':_0x37b683=>0x1!=_0x37b683}};
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':_0x21d69f=>0x1!=_0x21d69f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3d63c9=>{const {bg:{dictionary:_0x4a579c,getPluralForm:_0x39e325}}={'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':_0x514136=>0x1!=_0x514136}};_0x3d63c9['bg']||={'dictionary':{},'getPluralForm':null},_0x3d63c9['bg']['dictionary']=Object['assign'](_0x3d63c9['bg']['dictionary'],_0x4a579c),_0x3d63c9['bg']['getPluralForm']=_0x39e325;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x87e585=>{const {bg:{dictionary:_0x13fbb3,getPluralForm:_0x25ac97}}={'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':_0x4ebc25=>0x1!=_0x4ebc25}};_0x87e585['bg']||={'dictionary':{},'getPluralForm':null},_0x87e585['bg']['dictionary']=Object['assign'](_0x87e585['bg']['dictionary'],_0x13fbb3),_0x87e585['bg']['getPluralForm']=_0x25ac97;})(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':_0x340329=>0x1!=_0x340329}};
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':_0x51db87=>0x1!=_0x51db87}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3a7aa7=>{const {bn:{dictionary:_0x6cac99,getPluralForm:_0x10b820}}={'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':_0x3f3f43=>0x1!=_0x3f3f43}};_0x3a7aa7['bn']||={'dictionary':{},'getPluralForm':null},_0x3a7aa7['bn']['dictionary']=Object['assign'](_0x3a7aa7['bn']['dictionary'],_0x6cac99),_0x3a7aa7['bn']['getPluralForm']=_0x10b820;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x42cb2e=>{const {bn:{dictionary:_0x27232c,getPluralForm:_0x29e342}}={'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':_0x554a15=>0x1!=_0x554a15}};_0x42cb2e['bn']||={'dictionary':{},'getPluralForm':null},_0x42cb2e['bn']['dictionary']=Object['assign'](_0x42cb2e['bn']['dictionary'],_0x27232c),_0x42cb2e['bn']['getPluralForm']=_0x29e342;})(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':_0x9ec655=>_0x9ec655%0xa==0x1&&_0x9ec655%0x64!=0xb?0x0:_0x9ec655%0xa>=0x2&&_0x9ec655%0xa<=0x4&&(_0x9ec655%0x64<0xa||_0x9ec655%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':_0x198795=>_0x198795%0xa==0x1&&_0x198795%0x64!=0xb?0x0:_0x198795%0xa>=0x2&&_0x198795%0xa<=0x4&&(_0x198795%0x64<0xa||_0x198795%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x222e7d=>{const {bs:{dictionary:_0x2b73ae,getPluralForm:_0x4577cd}}={'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':_0x225a56=>_0x225a56%0xa==0x1&&_0x225a56%0x64!=0xb?0x0:_0x225a56%0xa>=0x2&&_0x225a56%0xa<=0x4&&(_0x225a56%0x64<0xa||_0x225a56%0x64>=0x14)?0x1:0x2}};_0x222e7d['bs']||={'dictionary':{},'getPluralForm':null},_0x222e7d['bs']['dictionary']=Object['assign'](_0x222e7d['bs']['dictionary'],_0x2b73ae),_0x222e7d['bs']['getPluralForm']=_0x4577cd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xdc5f68=>{const {bs:{dictionary:_0x34a9af,getPluralForm:_0x41812d}}={'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':_0x3699c9=>_0x3699c9%0xa==0x1&&_0x3699c9%0x64!=0xb?0x0:_0x3699c9%0xa>=0x2&&_0x3699c9%0xa<=0x4&&(_0x3699c9%0x64<0xa||_0x3699c9%0x64>=0x14)?0x1:0x2}};_0xdc5f68['bs']||={'dictionary':{},'getPluralForm':null},_0xdc5f68['bs']['dictionary']=Object['assign'](_0xdc5f68['bs']['dictionary'],_0x34a9af),_0xdc5f68['bs']['getPluralForm']=_0x41812d;})(window['CKEDITOR_TRANSLATIONS']||={});