@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250317.0 → 0.0.0-nightly-20250319.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 (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. 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 _0x4b63c5,Command as _0x308931}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x25782e,IconGooglePhotos as _0x2f3d19,IconGoogleDrive as _0x1914bc,IconFacebook as _0x2ec2ea,IconDropbox as _0x5ade91,IconUploadcareLink as _0x2fd278,IconUploadcareImageUpload as _0xedadc0,IconError as et,IconUploadcareImageEdit as _0x1836d9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x179972,MenuBarMenuListItemButtonView as _0x1171dc,View as _0x1d1dd6,FocusCycler as _0x1523d5,Dialog as _0x7d6eed,DialogViewPosition as _0x1f13c1,SpinnerView as _0x17b935,IconView as at,Notification as _0x553e93}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x43a31b,DomEmitterMixin as _0x1beb6e,global as _0x3980ff,getAncestors as _0x44c058,ObservableMixin as _0x3f5276,createElement as _0x39dcbe,uid as _0x23d685}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xc66eb8}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x59da8d,info as _0x11f668}from'@uploadcare/upload-client';import*as _0x124de4 from'@uploadcare/file-uploader';var o=function(_0x5b10ca){return _0x5b10ca['Local']='local',_0x5b10ca['URL']='url',_0x5b10ca['Dropbox']='dropbox',_0x5b10ca['GDrive']='gdrive',_0x5b10ca['Facebook']='facebook',_0x5b10ca['GPhotos']='gphotos',_0x5b10ca['OneDrive']='onedrive',_0x5b10ca;}({});function _(_0x361a0d,_0x112ade,_0x5ae999){const t=_0x361a0d['t'],_0x47dbef=_0x361a0d['t'];switch(_0x112ade){case o['Local']:return{'text':_0x47dbef('Insert'===_0x5ae999?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x47dbef('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x5ae999?_0x47dbef('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x47dbef('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x5ae999?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x5ae999?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x5ae999?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x5ae999?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x5ae999?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x112ade;}}class e extends _0x4b63c5{['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 _0x21e953=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f8528;for(const _0x1d7f4f in _0x21e953){const _0x4a5a34=_0x1d7f4f,_0x53d475=_0x21e953[_0x4a5a34];if('uploadcareLicenseKeyValid'==_0x53d475||'uploadcareLicenseKeyInvalid'==_0x53d475||'uploadcareLicenseKeyExpired'==_0x53d475||'uploadcareLicenseKeyDomainLimit'==_0x53d475||'uploadcareLicenseKeyNotAllowed'==_0x53d475||'uploadcareLicenseKeyEvaluationLimit'==_0x53d475||'uploadcareLicenseKeyTrialLimit'==_0x53d475||'uploadcareLicenseKeyUsageLimit'==_0x53d475){delete _0x21e953[_0x4a5a34],_0x2f8528=_0x53d475,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2f8528&&_0x21e953['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2f8528&&_0x21e953['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2f8528&&_0x21e953['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2f8528&&_0x21e953['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2f8528&&_0x21e953['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2f8528&&_0x21e953['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2f8528&&_0x21e953['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xe6171c}=this,_0x364cd8=_0xe6171c['commands']['get']('uploadcare');if(!_0x364cd8)return;const _0x516222=this['_normalizeConfigSourceList'](_0xe6171c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x49efad,_0x236071)=>{const _0x1cd757=this['_getIntegrationKey'](_0x236071['type']);return _0x49efad[_0x1cd757]||(_0x49efad[_0x1cd757]=[]),_0x49efad[_0x1cd757]['push'](_0x236071),_0x49efad;},{});_0xe6171c['plugins']['has']('ImageInsertUI')&&_0xe6171c['commands']['get']('uploadcare')&&Object['entries'](_0x516222)['forEach'](([_0x308e58,_0x2f5594])=>{_0xe6171c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x308e58,'observable':()=>_0x364cd8,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2f5594),'formViewCreator':()=>this['_createDropdownButtons'](_0x2f5594),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2f5594),'override':'assetManager'!==_0x308e58});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5266ee){const {locale:_0x4ea000}=this['editor'];return _0x5266ee['map'](_0x3b75e8=>{const _0xdd0304=_(_0x4ea000,_0x3b75e8,'Insert');switch(_0x3b75e8){case o['Local']:return{'icon':_0xedadc0,'type':o['Local'],..._0xdd0304};case o['URL']:return{'icon':_0x2fd278,'type':o['URL'],..._0xdd0304};case o['Dropbox']:return{'icon':_0x5ade91,'type':o['Dropbox'],..._0xdd0304};case o['Facebook']:return{'icon':_0x2ec2ea,'type':o['Facebook'],..._0xdd0304};case o['GDrive']:return{'icon':_0x1914bc,'type':o['GDrive'],..._0xdd0304};case o['GPhotos']:return{'icon':_0x2f3d19,'type':o['GPhotos'],..._0xdd0304};case o['OneDrive']:return{'icon':_0x25782e,'type':o['OneDrive'],..._0xdd0304};}});}['_getIntegrationKey'](_0x24bb3b){switch(_0x24bb3b){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x46bd4d,_0x7f06f9){const _0xd84cab=this['editor'],_0x17d7ff=new _0x46bd4d(_0xd84cab['locale']),_0x324f58=_0xd84cab['commands']['get']('uploadcare');return _0x17d7ff['bind']('isEnabled')['to'](_0x324f58),_0x17d7ff['on']('execute',()=>{_0x324f58['execute'](_0x7f06f9);}),_0x17d7ff;}['_createToolbarButton'](_0x2dda5c){const {locale:_0x3c5950}=this['editor'],_0x175619=this['editor']['plugins']['get']('ImageInsertUI'),_0x2cef3d=_0x2dda5c[0x0],_0x4bb34e=this['_createButton'](_0x179972,_0x2cef3d['type']);return _0x4bb34e['icon']=_0x2cef3d['icon'],_0x4bb34e['bind']('label')['to'](_0x175619,'isImageSelected',_0x277e71=>_(_0x3c5950,_0x2cef3d['type'],_0x277e71?'Replace':'Insert')['text']),_0x4bb34e['tooltip']=!0x0,_0x4bb34e;}['_createDropdownButtons'](_0x18d64a){const {locale:_0x3cadab}=this['editor'],_0x41b1a1=this['editor']['plugins']['get']('ImageInsertUI');return _0x18d64a['map'](_0x25f2b4=>{const _0x49b6c9=this['_createButton'](_0x179972,_0x25f2b4['type']);return _0x49b6c9['withText']=!0x0,_0x49b6c9['icon']=_0x25f2b4['icon'],_0x49b6c9['bind']('label')['to'](_0x41b1a1,'isImageSelected',_0x1b3a25=>_(_0x3cadab,_0x25f2b4['type'],_0x1b3a25?'Replace':'Insert')['text']),_0x49b6c9;});}['_createMenuBarButtons'](_0x564b5e){return _0x564b5e['map'](_0x3d57a9=>{const _0x51f6f9=this['_createButton'](_0x1171dc,_0x3d57a9['type']);return _0x51f6f9['icon']=_0x3d57a9['icon'],_0x51f6f9['label']=_0x3d57a9['shortText'],_0x51f6f9;});}}class G extends _0x1d1dd6{['focusTracker'];['focusCycler'];constructor(_0x3b7710){super(_0x3b7710),this['focusTracker']=new _0x43a31b(),this['focusCycler']=new _0x1523d5({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends G{constructor(_0xc35ee7){super(_0xc35ee7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x558828,_0x33638b){const _0x91e122=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x45b60b=>_0x45b60b<=_0x33638b)['map'](_0x472a8c=>_0x558828['replace'](/\/$/,'')+'/-/resize/'+_0x472a8c+'x/\x20'+_0x472a8c+'w');return{'imageFallbackUrl':_0x558828,'imageSources':[{'srcset':_0x91e122['join'](',\x20'),'sizes':'(max-width:\x20'+_0x33638b+'px)\x20100vw,\x20'+_0x33638b+'px','type':'image/webp'}]};}function F(_0x54ffe8,_0x4481b9,_0x250fee){const _0x457caf=_0x54ffe8['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x457caf?parseInt(_0x457caf[0x1],0xa):_0x4481b9,'height':_0x457caf?parseInt(_0x457caf[0x2],0xa):_0x250fee};}function m(_0x3982b9,_0x526281){const _0xab43cc=Object['create'](_0x1beb6e),_0x5cea00=_0x3982b9['plugins']['get']('ImageUtils'),_0x55bf06=_0x3982b9['editing']['mapper']['toViewElement'](_0x526281),_0x5389ae=_0x5cea00['findViewImgElement'](_0x55bf06),_0x2de208=_0x3982b9['editing']['view']['domConverter']['viewToDom'](_0x5389ae),_0xda5f8e=_0x526281['getAttribute']('width'),_0x40b72d=_0x526281['getAttribute']('height'),_0x49f5c6='image-processing';_0x3982b9['editing']['view']['change'](_0x3cdbe1=>{_0x3cdbe1['addClass'](_0x49f5c6,_0x55bf06),_0x3cdbe1['setStyle']('aspect-ratio',_0xda5f8e+'/'+_0x40b72d,_0x5389ae);}),_0xab43cc['listenTo'](_0x2de208,'load',()=>{_0xab43cc['stopListening'](_0x2de208,'load'),_0x3982b9['editing']['view']['change'](_0x3a83e6=>{_0x3a83e6['removeClass'](_0x49f5c6,_0x55bf06),_0x3a83e6['removeStyle']('aspect-ratio',_0x5389ae);});});}function V(_0x5430e6){if(Array['isArray'](_0x5430e6)){const _0x1ff28f=_0x5430e6['map'](V);return _0x37157e=>_0x1ff28f['some'](_0x34f6ad=>_0x34f6ad(_0x37157e));}if('origin'==_0x5430e6){const _0x4165dc=_0x3980ff['window']['location']['origin'];return _0x1bc966=>new URL(_0x1bc966,_0x3980ff['document']['baseURI'])['origin']==_0x4165dc;}return'function'==typeof _0x5430e6?_0x5430e6:_0x5430e6 instanceof RegExp?_0x573462=>!(!_0x573462['match'](_0x5430e6)&&!_0x573462['replace'](/^https?:\/\//,'')['match'](_0x5430e6)):()=>!0x1;}function R(_0x16b2bb,_0x44d19f){return _0x44c058(_0x16b2bb['target'])['includes'](_0x44d19f);}class l extends/* #__PURE__ -- @preserve */
24
- _0x3f5276(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x25cb94,_0x57b0b0,_0x261534){super(),this['_editor']=_0x25cb94,this['_editing']=_0x57b0b0,this['_dialog']=_0x25cb94['plugins']['get'](_0x7d6eed),this['_api']=_0x57b0b0['ctxElement']['getAPI'](),this['_type']=_0x261534,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:_0x92815a,model:_0x3caa52}=this['_editor'],_0x402c5b=_0x3caa52['document']['selection']['getSelectedElement'](),_0x14f81f=_0x402c5b&&(_0x402c5b['is']('element','imageBlock')||_0x402c5b['is']('element','imageInline'));this['_formView']=new S(_0x92815a),this['_dialog']['show']({'id':'uploadCare','icon':_0xedadc0,'title':_(_0x92815a,this['_type'],_0x14f81f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1f13c1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3e4b66=>!R(_0x3e4b66,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1526c7}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1f754a=>{const _0x4817ea=_0x1526c7['length'];for(const _0x2971ee of _0x1526c7){const _0x506443=_0x2971ee===_0x1526c7[_0x4817ea-0x1],{cdnUrl:_0x176929,fileInfo:_0x4e672f}=_0x2971ee;if(!_0x176929||!_0x4e672f)continue;const {width:_0x4960dc,height:_0x5cb1f5}=_0x4e672f['imageInfo'],_0x33aab0=F(_0x176929,_0x4960dc,_0x5cb1f5),_0x1c7136=E(_0x176929,_0x33aab0['width']),_0x49b607={'id':_0x4e672f['uuid'],'type':'image','attributes':{'imageDimension':_0x33aab0,..._0x1c7136}};this['_insertAsset'](_0x49b607,_0x506443,_0x1f754a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x416c92=>{'idle'===_0x416c92['detail']['status']&&!_0x416c92['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x50f05d,_0xf22048,_0x555e1c){const _0x28ccf8=this['_editor']['model']['document']['selection'],_0x3c7c77=_0x28ccf8['getSelectedElement'](),_0x55d43b=!(!_0x3c7c77||!_0x3c7c77['is']('element','imageInline'));_0x555e1c['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x50f05d,_0x55d43b),_0xf22048||_0x555e1c['setSelection'](_0x28ccf8['getLastPosition']());}['_insertImage'](_0x18c362,_0x458278){const _0x1c9b70=this['_editor'],{imageDimension:_0x2139e1,imageFallbackUrl:_0x2ecdab,imageSources:_0x4758e4}=_0x18c362['attributes'];_0x1c9b70['execute']('insertImage',{'imageType':_0x458278?'imageInline':null,'source':{'uploadcareImageId':_0x18c362['id'],'src':_0x2ecdab,'sources':_0x4758e4,..._0x2139e1}});}}class n extends _0x308931{['_editing'];['_controller']=null;static get['requires'](){return[_0x7d6eed,i];}constructor(_0x117a0d){super(_0x117a0d),this['_editing']=_0x117a0d['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x39f36e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x39f36e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x35ce1b,publicKey:_0x326eaa,signal:_0x3944f3,onProgress:_0x1eea2f}){return _0x59da8d(_0x35ce1b,{'publicKey':_0x326eaa,'store':'auto','signal':_0x3944f3,'onProgress':_0x1eea2f});}static['getInfo'](_0x317a21,_0x5011ea){return _0x11f668(_0x317a21,_0x5011ea);}}class p extends _0x4b63c5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xc66eb8,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1914e4=this['editor'];if(!!!_0x1914e4['config']['get']('uploadcare'))return;_0x1914e4['plugins']['get'](_0xc66eb8)['createUploadAdapter']=_0x867bbf=>new x(_0x867bbf,_0x1914e4),_0x1914e4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5dd68e,{imageElement:_0x9ac47e,data:_0x5d99de})=>{_0x1914e4['model']['change'](_0x353f2c=>{_0x353f2c['setAttribute']('uploadcareImageId',_0x5d99de['uploadcareImageId'],_0x9ac47e);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1df0da,_0x9d8148){this['loader']=_0x1df0da,this['editor']=_0x9d8148,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x460908=this['editor']['config']['get']('uploadcare.pubkey'),_0x33daa1=await this['loader']['file'];return C['upload']({'file':_0x33daa1,'publicKey':_0x460908,'signal':this['controller']['signal'],'onProgress':_0x56a7a3=>{_0x56a7a3&&_0x56a7a3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x56a7a3['value']);}})['then'](async _0x11a002=>{const {imageFallbackUrl:_0x50f062,imageSources:_0x2541c0}=E(_0x11a002['cdnUrl'],_0x11a002['imageInfo']['width']);return{'uploadcareImageId':_0x11a002['uuid'],'default':_0x50f062,'sources':_0x2541c0};})['catch'](()=>{const _0xf34408=t('Cannot\x20upload\x20file:')+('\x20'+_0x33daa1['name']+'.');return Promise['reject'](_0xf34408);});}['abort'](){this['controller']['abort']();}}class i extends _0x4b63c5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x7d6eed];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x8459e8=this['editor'];_0x8459e8['commands']['add']('uploadcare',new n(_0x8459e8));}['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 _0xad213e=_0x3980ff['document']['querySelector']('input[uploadcare-file-input]');_0xad213e&&_0xad213e['remove']();}),async function(_0x571602){const _0x502c54=_0x378fe([0x61,0x76,0x38,0x51,0x70,0x79,0x64,0x6e,0x6a,0x34,0x59,0x6b,0x54,0x31,0x47,0x4e,0x39,0x78,0x5a,0x58,0x63,0x4a,0x55,0x52,0x42,0x4d,0x30,0x35,0x72,0x4f,0x69,0x71,0x45,0x77,0x37,0x73,0x6c,0x33,0x75,0x36,0x48,0x62,0x6f,0x57,0x44,0x74,0x67,0x49,0x56,0x32,0x53,0x43,0x41,0x4c,0x46,0x4b,0x7a,0x68,0x50,0x6d,0x65,0x66]),_0x7d9fbe=0x1853b237,_0x42f443=0x1854d057^_0x7d9fbe,_0x554f52=window[_0x378fe([0x44,0x61,0x74,0x65])][_0x378fe([0x6e,0x6f,0x77])](),_0x5224ef=_0x571602[_0x378fe([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xeaa3e=new window[(_0x378fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b9183=>{_0x5224ef[_0x378fe([0x6f,0x6e,0x63,0x65])](_0x378fe([0x72,0x65,0x61,0x64,0x79]),_0x1b9183);}),_0x4c98ce={[_0x378fe([0x6b,0x74,0x79])]:_0x378fe([0x45,0x43]),[_0x378fe([0x75,0x73,0x65])]:_0x378fe([0x73,0x69,0x67]),[_0x378fe([0x63,0x72,0x76])]:_0x378fe([0x50,0x2d,0x32,0x35,0x36]),[_0x378fe([0x78])]:_0x378fe([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]),[_0x378fe([0x79])]:_0x378fe([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]),[_0x378fe([0x61,0x6c,0x67])]:_0x378fe([0x45,0x53,0x32,0x35,0x36])},_0x9b935e=_0x5224ef[_0x378fe([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x378fe([0x67,0x65,0x74])](_0x378fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x426d67(){let _0x3ad5a3,_0x9d557e=null,_0x1d2504=null;try{if(_0x9b935e==_0x378fe([0x47,0x50,0x4c]))return _0x378fe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ad5a3=_0x2858e6(),!_0x3ad5a3)return _0x378fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ad5a3[_0x378fe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d2504=_0x2778a0(_0x3ad5a3[_0x378fe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ad5a3[_0x378fe([0x6a,0x74,0x69])])),await _0x34f060()?_0x2c885d()?_0x263e86()?_0x378fe([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2cfc71()?(_0x3ad5a3[_0x378fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x378fe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9d557e=_0x218511(_0x378fe([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ad5a3[_0x378fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x378fe([0x74,0x72,0x69,0x61,0x6c])&&(_0x9d557e=_0x218511(_0x378fe([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c05fb()):_0x378fe([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x378fe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x378fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4a396e){return _0x378fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x263e86(){const _0x390886=[_0x378fe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x378fe([0x74,0x72,0x69,0x61,0x6c])][_0x378fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ad5a3[_0x378fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x554f52/0x3e8:0xe10*_0x42f443;return _0x3ad5a3[_0x378fe([0x65,0x78,0x70])]<_0x390886;}function _0x2c885d(){const _0x52e90b=_0x3ad5a3[_0x378fe([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52e90b&&(!!_0x52e90b[_0x378fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378fe([0x2a]))||!!_0x52e90b[_0x378fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378fe([0x55,0x50,0x4c,0x43])));}function _0x2cfc71(){const _0x30fd15=_0x3ad5a3[_0x378fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30fd15||0x0==_0x30fd15[_0x378fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27334c}=new URL(window[_0x378fe([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30fd15[_0x378fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27334c))return!0x0;const _0x582339=_0x27334c[_0x378fe([0x73,0x70,0x6c,0x69,0x74])](_0x378fe([0x2e]));return _0x30fd15[_0x378fe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ba2e0=>_0x1ba2e0[_0x378fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378fe([0x2a])))[_0x378fe([0x6d,0x61,0x70])](_0x4eacda=>_0x4eacda[_0x378fe([0x73,0x70,0x6c,0x69,0x74])](_0x378fe([0x2e])))[_0x378fe([0x73,0x6f,0x6d,0x65])](_0x32d16f=>_0x582339[_0x378fe([0x65,0x76,0x65,0x72,0x79])]((_0x2618b9,_0x11e9d4)=>_0x32d16f[_0x11e9d4]===_0x2618b9||_0x32d16f[_0x11e9d4]===_0x378fe([0x2a])));}function _0x4c05fb(){return _0x9d557e&&_0x1d2504?new window[(_0x378fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3393aa,_0x2c0124)=>{_0x9d557e[_0x378fe([0x74,0x68,0x65,0x6e])](_0x3393aa,_0x2c0124),_0x1d2504[_0x378fe([0x74,0x68,0x65,0x6e])](_0x111f9c=>{_0x111f9c!=_0x378fe([0x56,0x61,0x6c,0x69,0x64])&&_0x3393aa(_0x111f9c);},_0x2c0124);}):_0x9d557e||_0x1d2504||_0x378fe([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2778a0(_0x2a581d,_0xcfcaa1){return new window[(_0x378fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xadfcb1=>{if(_0x448964())return _0xadfcb1(_0x378fe([0x56,0x61,0x6c,0x69,0x64]));_0x232188(),_0x5224ef[_0x378fe([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x378fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2764bb=!0x1;const _0x25a267=_0x23d685();function _0x4969c5(_0x1f61a2){return!!_0x1f61a2&&(typeof _0x1f61a2===_0x378fe([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f61a2===_0x378fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f61a2[_0x378fe([0x74,0x68,0x65,0x6e])]===_0x378fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f61a2[_0x378fe([0x63,0x61,0x74,0x63,0x68])]===_0x378fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2dc59f(_0x31d6f0){_0x2564af(_0x31d6f0)[_0x378fe([0x74,0x68,0x65,0x6e])](_0x50722b=>{if(!_0x50722b||_0x50722b[_0x378fe([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x378fe([0x6f,0x6b]))return _0x378fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x125ca8(_0x3e6130(_0x25a267+_0xcfcaa1))!=_0x50722b[_0x378fe([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x378fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x378fe([0x56,0x61,0x6c,0x69,0x64]);})[_0x378fe([0x74,0x68,0x65,0x6e])](_0xc280ee=>(_0x5762cb(),_0xc280ee),()=>{const _0xc9db2f=_0x5d5aee();return null==_0xc9db2f?(_0x5762cb(),_0x378fe([0x56,0x61,0x6c,0x69,0x64])):_0x378fe(_0x554f52-_0xc9db2f>(0x3c5f3637^_0x7d9fbe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x378fe([0x74,0x68,0x65,0x6e])](_0xadfcb1)[_0x378fe([0x63,0x61,0x74,0x63,0x68])](()=>{_0xadfcb1(_0x378fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24f773=0x18655cb7^_0x7d9fbe;function _0x5762cb(){const _0x581264=_0x378fe([0x6c,0x6c,0x63,0x74,0x2d])+_0x125ca8(_0x3e6130(_0x2a581d)),_0x38c304=_0xe065dd(_0x125ca8(window[_0x378fe([0x4d,0x61,0x74,0x68])][_0x378fe([0x63,0x65,0x69,0x6c])](_0x554f52/_0x24f773)));window[_0x378fe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x378fe([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x581264,_0x38c304);}function _0x5d5aee(){const _0x3b501f=_0x378fe([0x6c,0x6c,0x63,0x74,0x2d])+_0x125ca8(_0x3e6130(_0x2a581d)),_0x11d611=window[_0x378fe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x378fe([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b501f);return _0x11d611?window[_0x378fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe065dd(_0x11d611),0x10)*_0x24f773:null;}function _0x2564af(_0x3f5f0d){return new window[(_0x378fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x422c68,_0x19c25d)=>{_0x3f5f0d[_0x378fe([0x74,0x68,0x65,0x6e])](_0x422c68,_0x19c25d),window[_0x378fe([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19c25d,0x185266f7^_0x7d9fbe);});}}_0x5224ef[_0x378fe([0x6f,0x6e])](_0x378fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x273bf5,_0x41cf4f)=>{if(_0x41cf4f[0x0]!=_0x2a581d)return _0xadfcb1(_0x378fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41cf4f[0x1]={..._0x41cf4f[0x1],[_0x378fe([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25a267};},{[_0x378fe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x378fe([0x68,0x69,0x67,0x68])}),_0x5224ef[_0x378fe([0x6f,0x6e])](_0x378fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x80a10c=>{_0x4969c5(_0x80a10c[_0x378fe([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2764bb=!0x0,_0x2dc59f(_0x80a10c[_0x378fe([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x378fe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x378fe([0x6c,0x6f,0x77])}),_0xeaa3e[_0x378fe([0x74,0x68,0x65,0x6e])](()=>{_0x2764bb||_0xadfcb1(_0x378fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x448964(){return _0x5224ef[_0x378fe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x378fe([0x76,0x69,0x65,0x77])][_0x378fe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x378fe([0x61,0x75,0x74,0x6f]);}function _0x232188(){_0x5224ef[_0x378fe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x378fe([0x76,0x69,0x65,0x77])][_0x378fe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x378fe([0x61,0x75,0x74,0x6f]);}}function _0x218511(_0x149598){const _0x1dc38a=[new window[(_0x378fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53b91b=>setTimeout(_0x53b91b,0x185a8cfb^_0x7d9fbe)),_0xeaa3e[_0x378fe([0x74,0x68,0x65,0x6e])](()=>new window[(_0x378fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1239b6=>{let _0x4ec6d4=0x0;_0x5224ef[_0x378fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x378fe([0x6f,0x6e])](_0x378fe([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22a2f5,_0x358bf7)=>{_0x358bf7[0x0][_0x378fe([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ec6d4++,_0x4ec6d4==(0x1853b3cf^_0x7d9fbe)&&(_0x1239b6(),_0x22a2f5[_0x378fe([0x6f,0x66,0x66])]());});}))];return window[_0x378fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x378fe([0x72,0x61,0x63,0x65])](_0x1dc38a)[_0x378fe([0x74,0x68,0x65,0x6e])](()=>_0x149598);}async function _0x3f5b2d(){await _0xeaa3e,_0x5224ef[_0x378fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x378fe([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x504886,_0x5224ef[_0x378fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x378fe([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x504886,_0x5224ef[_0x378fe([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x378fe([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa5c950(_0x1dc239){const _0x1c6fd2=_0x1d3e38();_0x5224ef[_0x1c6fd2]=_0x378fe([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1dc239,_0x1dc239!=_0x378fe([0x56,0x61,0x6c,0x69,0x64])&&_0x3f5b2d();}function _0x1d3e38(){const _0xbfc3de=window[_0x378fe([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x378fe([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x378fe([0x6e,0x6f,0x77])]())[_0x378fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x378fe([0x2e]),'');let _0x5f4bbf=_0x378fe([0x61]);for(let _0x18bb94=0x0;_0x18bb94<_0xbfc3de[_0x378fe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18bb94+=0x2){let _0x553471=window[_0x378fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbfc3de[_0x378fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18bb94,_0x18bb94+0x2));_0x553471>=_0x502c54[_0x378fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x553471-=_0x502c54[_0x378fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f4bbf+=_0x502c54[_0x553471];}return _0x5f4bbf;}function _0x2858e6(){const _0x1b313f=_0x9b935e[_0x378fe([0x73,0x70,0x6c,0x69,0x74])](_0x378fe([0x2e]));if(0x3!=_0x1b313f[_0x378fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x322867(_0x1b313f[0x1]);function _0x322867(_0x442ae1){const _0x5412ff=_0x55362c(_0x442ae1);return _0x5412ff&&_0x29f5d8()?_0x5412ff:null;function _0x29f5d8(){const _0xb57511=_0x5412ff[_0x378fe([0x6a,0x74,0x69])],_0x26935c=window[_0x378fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb57511[_0x378fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb57511[_0x378fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c92c7={..._0x5412ff,[_0x378fe([0x6a,0x74,0x69])]:_0xb57511[_0x378fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb57511[_0x378fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c92c7[_0x378fe([0x76,0x63])],_0x3e6130(_0x2c92c7)==_0x26935c;}}}async function _0x34f060(){let _0x17ce67=!0x0;try{const _0x9f84de=_0x9b935e[_0x378fe([0x73,0x70,0x6c,0x69,0x74])](_0x378fe([0x2e])),[_0x4db850,_0x3f8e10,_0x53a60f]=_0x9f84de;return _0x5bac73(_0x4db850),await _0x5c7dd6(_0x4db850,_0x3f8e10,_0x53a60f),_0x17ce67;}catch(_0x416a3e){return!0x1;}function _0x5bac73(_0x490932){const _0x2a3363=_0x55362c(_0x490932);_0x2a3363&&_0x2a3363[_0x378fe([0x61,0x6c,0x67])]==_0x378fe([0x45,0x53,0x32,0x35,0x36])||(_0x17ce67=!0x1);}async function _0x5c7dd6(_0x7ca0b4,_0x5a1b46,_0xd3828f){const _0x197591=window[_0x378fe([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x378fe([0x66,0x72,0x6f,0x6d])](_0x606099(_0xd3828f),_0x461a52=>_0x461a52[_0x378fe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4fd6c2=new window[(_0x378fe([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x378fe([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7ca0b4+_0x378fe([0x2e])+_0x5a1b46),_0x1edfb0=window[_0x378fe([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x378fe([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1edfb0)return;const _0x513caa=await _0x1edfb0[_0x378fe([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x378fe([0x6a,0x77,0x6b]),_0x4c98ce,{[_0x378fe([0x6e,0x61,0x6d,0x65])]:_0x378fe([0x45,0x43,0x44,0x53,0x41]),[_0x378fe([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x378fe([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x378fe([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1edfb0[_0x378fe([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x378fe([0x6e,0x61,0x6d,0x65])]:_0x378fe([0x45,0x43,0x44,0x53,0x41]),[_0x378fe([0x68,0x61,0x73,0x68])]:{[_0x378fe([0x6e,0x61,0x6d,0x65])]:_0x378fe([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x513caa,_0x197591,_0x4fd6c2)||(_0x17ce67=!0x1);}}function _0x55362c(_0x175107){return _0x175107[_0x378fe([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x378fe([0x65,0x79]))?JSON[_0x378fe([0x70,0x61,0x72,0x73,0x65])](_0x606099(_0x175107)):null;}function _0x606099(_0x1dedf7){return window[_0x378fe([0x61,0x74,0x6f,0x62])](_0x1dedf7[_0x378fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x378fe([0x2b]))[_0x378fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x378fe([0x2f])));}function _0x3e6130(_0x5a8dd5){let _0xeec3bc=0x1505;function _0x34abab(_0x46e71b){for(let _0x596c07=0x0;_0x596c07<_0x46e71b[_0x378fe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x596c07++){const _0x1e9ac4=_0x46e71b[_0x378fe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x596c07);_0xeec3bc=(_0xeec3bc<<0x5)+_0xeec3bc+_0x1e9ac4,_0xeec3bc&=_0xeec3bc;}}function _0x5dd651(_0x4e99ec){Array[_0x378fe([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e99ec)?_0x4e99ec[_0x378fe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5dd651):_0x4e99ec&&typeof _0x4e99ec==_0x378fe([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x378fe([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e99ec)[_0x378fe([0x73,0x6f,0x72,0x74])]()[_0x378fe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b76cd,_0x464790])=>{_0x34abab(_0x5b76cd),_0x5dd651(_0x464790);}):_0x34abab(window[_0x378fe([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e99ec));}return _0x5dd651(_0x5a8dd5),_0xeec3bc>>>0x0;}function _0x125ca8(_0x202545){return _0x202545[_0x378fe([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x378fe([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x378fe([0x30]));}function _0xe065dd(_0x29eb22){return _0x29eb22[_0x378fe([0x73,0x70,0x6c,0x69,0x74])]('')[_0x378fe([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x378fe([0x6a,0x6f,0x69,0x6e])]('');}function _0x504886(){}function _0x378fe(_0x51a5eb){return _0x51a5eb['map'](_0x331fd6=>String['fromCharCode'](_0x331fd6))['join']('');}_0xa5c950(await _0x426d67());}(this);}['_initSchema'](){const _0x2b7597=this['editor']['model']['schema'];_0x2b7597['isRegistered']('imageBlock')&&_0x2b7597['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2b7597['isRegistered']('imageInline')&&_0x2b7597['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1b8068=this['editor'];_0x1b8068['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1b8068['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5eca96=>_0x5eca96['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x39039d=_0x1b8068['commands']['get']('replaceImageSource');_0x39039d&&this['listenTo'](_0x39039d,'cleanupImage',(_0x55efbc,[_0x34144d,_0x195333])=>{_0x34144d['removeAttribute']('uploadcareImageId',_0x195333);});}['_initConfig'](){const _0x4b458c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1de3a8=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x39dcbe(_0x3980ff['document'],'uc-config',{..._0x4b458c,'pubkey':_0x1de3a8,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x5f0d51=>{if('closeMax'==_0x5f0d51)return'#uc-icon-arrow-down';},_0x3980ff['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x39dcbe(_0x3980ff['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x3980ff['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x42ea91=this['editor']['commands']['get']('insertImage');_0x42ea91&&this['listenTo'](_0x42ea91,'execute',()=>{const _0xf4e0b3=this['editor']['model']['document']['selection']['getSelectedElement']();_0xf4e0b3&&_0xf4e0b3['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xf4e0b3);});});const _0x580bd0=this['editor']['commands']['get']('uploadcareImageReplace');_0x580bd0&&this['listenTo'](_0x580bd0,'execute',()=>{const _0x4f0daa=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f0daa&&_0x4f0daa['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4f0daa);});});}}class u extends _0x4b63c5{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x30b84d){super(_0x30b84d),_0x30b84d['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x124de4['defineComponents'](_0x124de4);}}class ta extends _0x1d1dd6{constructor(_0x1dad6a){super(_0x1dad6a);const t=_0x1dad6a['t'],_0x1ee000=this['bindTemplate'],_0x4a62c6=new _0x17b935();_0x4a62c6['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':[_0x4a62c6,{'text':_0x1ee000['to']('imageUploadProgress',_0x323df1=>t('Loading\x20image...')+'\x20('+(_0x323df1||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x1d1dd6{constructor(_0x1f6498){super(_0x1f6498);const t=_0x1f6498['t'];this['set']('errorType',null);const _0x327636=new _0x179972(_0x1f6498);_0x327636['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x327636['withText']=!0x0,_0x327636['class']='ck-button-action',_0x327636['on']('execute',()=>{this['fire']('retry');}),_0x327636['bind']('isVisible')['to'](this,'errorType',_0x5ea27c=>'NotFound'!==_0x5ea27c);const _0x1b2411=new at();_0x1b2411['content']=et,_0x1b2411['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x522674=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':[_0x1b2411,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x522674['to']('errorType',_0xcb0870=>t('NotFound'!==_0xcb0870?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x327636]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x1d1dd6{constructor(_0x4ef42f,_0x2234a4){super(_0x4ef42f);const _0x51ca02=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2234a4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x51ca02['to']('imageSrc')}});}}class Z extends G{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5c7858,_0x5dba31,_0x250275){super(_0x5c7858),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x5c7858),this['_errorView']=new rt(_0x5c7858),this['_editingView']=new tt(_0x5c7858,_0x250275),this['_focusableView']=new _0x1d1dd6(_0x5c7858),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5dba31),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'],_0x35a5ff=>{this['_addUploadcareImageEditorListeners'](_0x35a5ff);});}),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'](_0x30322d,_0x254b98){const _0x5efb23='uc-cloud-image-editor',_0x590cdc=_0x30322d['querySelector'](_0x5efb23);if(_0x590cdc)return _0x254b98(_0x590cdc);const _0x36f99a=new MutationObserver(_0x24b00f=>{const _0x39b1f6=_0x24b00f['filter'](_0x4d15df=>_0x4d15df['target']===_0x30322d&&_0x4d15df['addedNodes']['length']>0x0&&_0x4d15df['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5efb23);_0x39b1f6['length']&&(_0x36f99a['disconnect'](),_0x254b98(_0x39b1f6[0x0]['addedNodes'][0x0]));});_0x36f99a['observe'](_0x30322d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x51cd69){_0x51cd69['addEventListener']('apply',_0x30e2ad=>{this['fire']('apply',{'imageSrc':_0x30e2ad['detail']['cdnUrl']});}),_0x51cd69['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class A extends/* #__PURE__ -- @preserve */
25
- _0x3f5276(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x519f1b,_0x3a4f0f,_0xd5cd04){super(),this['_editor']=_0x519f1b,this['_dialog']=_0x3a4f0f,this['_imageElement']=_0xd5cd04,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 _0xb1a3f=this['_imageElement'],_0x4f07f8=_0xb1a3f['getAttribute']('uploadcareImageId'),_0x264d83=_0xb1a3f['getAttribute']('src');if(_0x4f07f8)await this['_loadImageInfo'](_0x4f07f8,_0x264d83);else{if(this['_imageCache']['has'](_0x264d83)){const _0x5b6c09=this['_imageCache']['get'](_0x264d83);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5b6c09['url'],this['imageDimension']=_0x5b6c09['dimension'],this['imageId']=_0x5b6c09['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x274427}=this['_editor'],t=_0x274427['t'],_0x4b98af=new Z(_0x274427,this['imageStatus'],this['_attributes']);_0x4b98af['bind']('status')['to'](this,'imageStatus'),_0x4b98af['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4b98af['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4b98af['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4b98af,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1836d9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4b98af,'position':_0x1f13c1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4b98af['focus']();},'onHide':()=>{_0x4b98af['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x56dd7b=>!R(_0x56dd7b,_0x4b98af['element'])}});}['_loadImageInfo'](_0x433843,_0x16870a){return C['getInfo'](_0x433843,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3c5dd=>{const {width:_0x55bea0,height:_0x21e8cf}=_0x3c5dd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x16870a,this['imageDimension']={'width':_0x55bea0,'height':_0x21e8cf},this['imageId']=_0x433843;})['catch'](_0x7aa53d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x7aa53d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4bd670,_0x559ba7){return this['_getImageAsFile'](_0x4bd670)['then'](_0x478c1f=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x559ba7['signal'],'file':_0x478c1f,'onProgress':_0x414bfe=>{_0x414bfe&&_0x414bfe['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x414bfe['value']));}}))['then'](_0x3bf2ee=>{const {width:_0x3ed875,height:_0xb2efe7}=_0x3bf2ee['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3bf2ee['cdnUrl'],this['imageDimension']={'width':_0x3ed875,'height':_0xb2efe7},this['imageId']=_0x3bf2ee['uuid'],this['imageUploadProgress']=null;const _0x485a1b=_0x4bd670['getAttribute']('src');this['_imageCache']['set'](_0x485a1b,{'id':_0x3bf2ee['uuid'],'url':_0x3bf2ee['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1c0130=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1c0130['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x102251,_0x4ca769){_0x102251['on']('apply',(_0x365efa,_0x58745e)=>{this['_replaceImage'](_0x4ca769,_0x58745e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x102251['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x102251['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4ecb44,_0x273e90,_0x4ce743){const _0x175676=this['_editor'],{width:_0x3157ca,height:_0x283457}=F(_0x273e90,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4dfa6b,imageSources:_0x3caa16}=E(_0x273e90,_0x3157ca);_0x175676['model']['change'](_0x3103b4=>{if('$graveyard'===_0x4ecb44['root']['rootName']){_0x175676['execute']('insertImage',{'imageType':_0x4ecb44['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4ecb44['getAttributes']()),'uploadcareImageId':_0x4ce743,'src':_0x4dfa6b,'sources':_0x3caa16,'width':_0x3157ca,'height':_0x283457}});const _0x2f1ac4=_0x4ecb44['getChildren']();_0x4ecb44=_0x175676['model']['document']['selection']['getSelectedElement']();for(const _0x5b5b04 of _0x2f1ac4)_0x3103b4['append'](_0x3103b4['cloneElement'](_0x5b5b04),_0x4ecb44);}else _0x3103b4['setSelection'](_0x4ecb44,'on'),_0x175676['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4ecb44['getAttributes']()),'uploadcareImageId':_0x4ce743,'src':_0x4dfa6b,'sources':_0x3caa16,'width':_0x3157ca,'height':_0x283457},_0x4ecb44);_0x3103b4['setSelection'](_0x4ecb44,'on');});}async['_getImageAsFile'](_0x321f56){const _0x4893ff=_0x3980ff['window'],_0x5ce89e=_0x3980ff['document']['location']['href'],_0x1e7425=new _0x4893ff['URL'](_0x321f56['getAttribute']('src'),_0x5ce89e);if('data:'===_0x1e7425['protocol']){const _0x42f115=_0x1e7425['href']['split'](','),_0x522610=_0x42f115[0x0]['match'](/:(.*?);/)[0x1],_0x7e8e77=_0x522610['split']('/')[0x1],_0x16c0e4=_0x4893ff['atob'](_0x42f115[_0x42f115['length']-0x1]);let _0x577827=_0x16c0e4['length'];const _0xa85429=new _0x4893ff['Uint8Array'](_0x577827);for(;_0x577827--;)_0xa85429[_0x577827]=_0x16c0e4['charCodeAt'](_0x577827);return new _0x4893ff['File']([_0xa85429],'image.'+_0x7e8e77,{'type':_0x522610});}const _0x33b8b4=_0x1e7425['href']['split']('/'),_0x377b3d=_0x33b8b4[_0x33b8b4['length']-0x1],_0x15f5a5=_0x377b3d['split']('.')[0x1];return _0x4893ff['fetch'](_0x1e7425['href'])['then'](_0x37f725=>_0x37f725['clone']()['blob']())['then'](_0x131b23=>new _0x4893ff['File']([_0x131b23],_0x377b3d,{'type':'image/'+_0x15f5a5}));}}class z extends _0x308931{['imageEditController'];static get['requires'](){return[_0x7d6eed];}['_isEditable'];constructor(_0x350893){super(_0x350893),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2fafcb){const _0x1a611f=V(_0x2fafcb);return _0x32bed4=>!(!_0x32bed4||!_0x32bed4['is']('element','imageBlock')&&!_0x32bed4['is']('element','imageInline'))&&(!!_0x32bed4['hasAttribute']('uploadcareImageId')||!!_0x32bed4['hasAttribute']('src')&&_0x1a611f(_0x32bed4['getAttribute']('src')));}(_0x350893['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1050bd=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1050bd);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5a6b74=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5a6b74&&(_0x5a6b74['is']('element','imageBlock')||_0x5a6b74['is']('element','imageInline'))&&(this['imageEditController']=new A(this['editor'],this['editor']['plugins']['get'](_0x7d6eed),_0x5a6b74),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x308931{['refresh'](){const _0x2c4267=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2c4267&&(_0x2c4267['is']('element','imageBlock')||_0x2c4267['is']('element','imageInline')));}['execute'](_0x5394bb){const _0x5c7718=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x243fdd=>{_0x243fdd['setAttributes'](_0x5394bb,_0x5c7718),_0x243fdd['removeAttribute']('srcset',_0x5c7718),_0x243fdd['removeAttribute']('sizes',_0x5c7718);});}}class g extends _0x4b63c5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x553e93,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f97f9}=this;_0x3f97f9['commands']['add']('uploadcareImageEdit',new z(_0x3f97f9)),_0x3f97f9['commands']['add']('uploadcareImageReplace',new O(_0x3f97f9));}}class j extends _0x4b63c5{['_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 _0x4fa332=this['editor'];_0x4fa332['ui']['componentFactory']['add']('uploadcareImageEdit',_0xf14cb7=>{const _0x485745=_0x4fa332['commands']['get']('uploadcareImageEdit'),_0x5a918e=new _0x179972(_0xf14cb7),t=_0xf14cb7['t'];return _0x5a918e['set']({'icon':_0x1836d9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5a918e['bind']('isEnabled')['to'](_0x485745),_0x5a918e['bind']('isOn')['to'](_0x485745,'isActive'),this['listenTo'](_0x5a918e,'execute',()=>{_0x4fa332['execute']('uploadcareImageEdit'),_0x4fa332['editing']['view']['focus']();}),_0x5a918e;}),this['_initConfig']();}['_initConfig'](){const _0x5643c=_0x39dcbe(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5643c),this['listenTo'](this['editor'],'destroy',()=>{_0x5643c['remove']();});}}class P extends _0x4b63c5{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x4f7166,Command as _0x2ca77c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3d14b5,IconGooglePhotos as _0x31b713,IconGoogleDrive as _0x1da66a,IconFacebook as _0x581732,IconDropbox as _0x4e03d4,IconUploadcareLink as _0x3a4f2a,IconUploadcareImageUpload as _0x48a872,IconError as et,IconUploadcareImageEdit as _0x50aa2f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xe8f4c3,MenuBarMenuListItemButtonView as _0xef246b,View as _0x11e024,FocusCycler as _0x2a08b9,Dialog as _0x24d3e1,DialogViewPosition as _0x5504d5,SpinnerView as _0xe21f89,IconView as at,Notification as _0x55de86}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x39dd11,DomEmitterMixin as _0x43b187,global as _0x4a962c,getAncestors as _0x292381,ObservableMixin as _0x187acf,createElement as _0x45f08f,uid as _0x476316}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1004a3}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3a2605,info as _0x2dd811}from'@uploadcare/upload-client';import*as _0x534462 from'@uploadcare/file-uploader';var o=function(_0x3d76fe){return _0x3d76fe['Local']='local',_0x3d76fe['URL']='url',_0x3d76fe['Dropbox']='dropbox',_0x3d76fe['GDrive']='gdrive',_0x3d76fe['Facebook']='facebook',_0x3d76fe['GPhotos']='gphotos',_0x3d76fe['OneDrive']='onedrive',_0x3d76fe;}({});function _(_0x264504,_0x27645f,_0x123793){const t=_0x264504['t'],_0x5a9441=_0x264504['t'];switch(_0x27645f){case o['Local']:return{'text':_0x5a9441('Insert'===_0x123793?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5a9441('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x123793?_0x5a9441('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5a9441('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x123793?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x27645f;}}class e extends _0x4f7166{['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 _0xe48771=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42a20a;for(const _0x4b9a94 in _0xe48771){const _0x4f4952=_0x4b9a94,_0x2f498e=_0xe48771[_0x4f4952];if('uploadcareLicenseKeyValid'==_0x2f498e||'uploadcareLicenseKeyInvalid'==_0x2f498e||'uploadcareLicenseKeyExpired'==_0x2f498e||'uploadcareLicenseKeyDomainLimit'==_0x2f498e||'uploadcareLicenseKeyNotAllowed'==_0x2f498e||'uploadcareLicenseKeyEvaluationLimit'==_0x2f498e||'uploadcareLicenseKeyTrialLimit'==_0x2f498e||'uploadcareLicenseKeyUsageLimit'==_0x2f498e){delete _0xe48771[_0x4f4952],_0x42a20a=_0x2f498e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x42a20a&&_0xe48771['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x42a20a&&_0xe48771['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x42a20a&&_0xe48771['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x42a20a&&_0xe48771['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x42a20a&&_0xe48771['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x42a20a&&_0xe48771['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x42a20a&&_0xe48771['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5db055}=this,_0x9e4c4a=_0x5db055['commands']['get']('uploadcare');if(!_0x9e4c4a)return;const _0x22c8da=this['_normalizeConfigSourceList'](_0x5db055['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x628277,_0x3c1849)=>{const _0x9c3345=this['_getIntegrationKey'](_0x3c1849['type']);return _0x628277[_0x9c3345]||(_0x628277[_0x9c3345]=[]),_0x628277[_0x9c3345]['push'](_0x3c1849),_0x628277;},{});_0x5db055['plugins']['has']('ImageInsertUI')&&_0x5db055['commands']['get']('uploadcare')&&Object['entries'](_0x22c8da)['forEach'](([_0x4a2be8,_0x4ba010])=>{_0x5db055['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4a2be8,'observable':()=>_0x9e4c4a,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4ba010),'formViewCreator':()=>this['_createDropdownButtons'](_0x4ba010),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4ba010),'override':'assetManager'!==_0x4a2be8});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x208b38){const {locale:_0x348643}=this['editor'];return _0x208b38['map'](_0xe1ac04=>{const _0x2bb92f=_(_0x348643,_0xe1ac04,'Insert');switch(_0xe1ac04){case o['Local']:return{'icon':_0x48a872,'type':o['Local'],..._0x2bb92f};case o['URL']:return{'icon':_0x3a4f2a,'type':o['URL'],..._0x2bb92f};case o['Dropbox']:return{'icon':_0x4e03d4,'type':o['Dropbox'],..._0x2bb92f};case o['Facebook']:return{'icon':_0x581732,'type':o['Facebook'],..._0x2bb92f};case o['GDrive']:return{'icon':_0x1da66a,'type':o['GDrive'],..._0x2bb92f};case o['GPhotos']:return{'icon':_0x31b713,'type':o['GPhotos'],..._0x2bb92f};case o['OneDrive']:return{'icon':_0x3d14b5,'type':o['OneDrive'],..._0x2bb92f};}});}['_getIntegrationKey'](_0x3052cf){switch(_0x3052cf){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x7203ee,_0x1896ac){const _0x256992=this['editor'],_0x109020=new _0x7203ee(_0x256992['locale']),_0x2101cd=_0x256992['commands']['get']('uploadcare');return _0x109020['bind']('isEnabled')['to'](_0x2101cd),_0x109020['on']('execute',()=>{_0x2101cd['execute'](_0x1896ac);}),_0x109020;}['_createToolbarButton'](_0xa7175f){const {locale:_0x4ca399}=this['editor'],_0x391e27=this['editor']['plugins']['get']('ImageInsertUI'),_0x571dcb=_0xa7175f[0x0],_0x26fb9b=this['_createButton'](_0xe8f4c3,_0x571dcb['type']);return _0x26fb9b['icon']=_0x571dcb['icon'],_0x26fb9b['bind']('label')['to'](_0x391e27,'isImageSelected',_0x390fff=>_(_0x4ca399,_0x571dcb['type'],_0x390fff?'Replace':'Insert')['text']),_0x26fb9b['tooltip']=!0x0,_0x26fb9b;}['_createDropdownButtons'](_0x427e32){const {locale:_0x348fe5}=this['editor'],_0x15c1cd=this['editor']['plugins']['get']('ImageInsertUI');return _0x427e32['map'](_0x116738=>{const _0x2e8e59=this['_createButton'](_0xe8f4c3,_0x116738['type']);return _0x2e8e59['withText']=!0x0,_0x2e8e59['icon']=_0x116738['icon'],_0x2e8e59['bind']('label')['to'](_0x15c1cd,'isImageSelected',_0x188677=>_(_0x348fe5,_0x116738['type'],_0x188677?'Replace':'Insert')['text']),_0x2e8e59;});}['_createMenuBarButtons'](_0x34efe8){return _0x34efe8['map'](_0x314bc5=>{const _0x47beca=this['_createButton'](_0xef246b,_0x314bc5['type']);return _0x47beca['icon']=_0x314bc5['icon'],_0x47beca['label']=_0x314bc5['shortText'],_0x47beca;});}}class q extends _0x11e024{['focusTracker'];['focusCycler'];constructor(_0x318d94){super(_0x318d94),this['focusTracker']=new _0x39dd11(),this['focusCycler']=new _0x2a08b9({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x2d72bc){super(_0x2d72bc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x325322,_0x726a7){const _0x1e5dc2=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5cf785=>_0x5cf785<=_0x726a7)['map'](_0x18f308=>_0x325322['replace'](/\/$/,'')+'/-/resize/'+_0x18f308+'x/\x20'+_0x18f308+'w');return{'imageFallbackUrl':_0x325322,'imageSources':[{'srcset':_0x1e5dc2['join'](',\x20'),'sizes':'(max-width:\x20'+_0x726a7+'px)\x20100vw,\x20'+_0x726a7+'px','type':'image/webp'}]};}function A(_0x4f6aea,_0x278364,_0x459f01){const _0x4cc4b2=_0x4f6aea['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4cc4b2?parseInt(_0x4cc4b2[0x1],0xa):_0x278364,'height':_0x4cc4b2?parseInt(_0x4cc4b2[0x2],0xa):_0x459f01};}function m(_0xe4df9c,_0x1c27a0){const _0x39c6d5=Object['create'](_0x43b187),_0x31b103=_0xe4df9c['plugins']['get']('ImageUtils'),_0x3ce7e7=_0xe4df9c['editing']['mapper']['toViewElement'](_0x1c27a0),_0x5acff1=_0x31b103['findViewImgElement'](_0x3ce7e7),_0x98d862=_0xe4df9c['editing']['view']['domConverter']['viewToDom'](_0x5acff1),_0x24f4cb=_0x1c27a0['getAttribute']('width'),_0x261c14=_0x1c27a0['getAttribute']('height'),_0x151777='image-processing';_0xe4df9c['editing']['view']['change'](_0x5d019d=>{_0x5d019d['addClass'](_0x151777,_0x3ce7e7),_0x5d019d['setStyle']('aspect-ratio',_0x24f4cb+'/'+_0x261c14,_0x5acff1);}),_0x39c6d5['listenTo'](_0x98d862,'load',()=>{_0x39c6d5['stopListening'](_0x98d862,'load'),_0xe4df9c['editing']['view']['change'](_0x51af13=>{_0x51af13['removeClass'](_0x151777,_0x3ce7e7),_0x51af13['removeStyle']('aspect-ratio',_0x5acff1);});});}function V(_0x799ca0){if(Array['isArray'](_0x799ca0)){const _0x1c7a26=_0x799ca0['map'](V);return _0x40072f=>_0x1c7a26['some'](_0x368783=>_0x368783(_0x40072f));}if('origin'==_0x799ca0){const _0x3203c6=_0x4a962c['window']['location']['origin'];return _0x585e9f=>new URL(_0x585e9f,_0x4a962c['document']['baseURI'])['origin']==_0x3203c6;}return'function'==typeof _0x799ca0?_0x799ca0:_0x799ca0 instanceof RegExp?_0x23fce8=>!(!_0x23fce8['match'](_0x799ca0)&&!_0x23fce8['replace'](/^https?:\/\//,'')['match'](_0x799ca0)):()=>!0x1;}function F(_0x2dc178,_0x103af9){return _0x292381(_0x2dc178['target'])['includes'](_0x103af9);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x187acf(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2ec345,_0x1264d2,_0x16737e){super(),this['_editor']=_0x2ec345,this['_editing']=_0x1264d2,this['_dialog']=_0x2ec345['plugins']['get'](_0x24d3e1),this['_api']=_0x1264d2['ctxElement']['getAPI'](),this['_type']=_0x16737e,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:_0x311fc1,model:_0x334d3b}=this['_editor'],_0x4c453b=_0x334d3b['document']['selection']['getSelectedElement'](),_0x31b3cf=_0x4c453b&&(_0x4c453b['is']('element','imageBlock')||_0x4c453b['is']('element','imageInline'));this['_formView']=new S(_0x311fc1),this['_dialog']['show']({'id':'uploadCare','icon':_0x48a872,'title':_(_0x311fc1,this['_type'],_0x31b3cf?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5504d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb88a38=>!F(_0xb88a38,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x51a3b6}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4653a3=>{const _0x106e5d=_0x51a3b6['length'];for(const _0x113c04 of _0x51a3b6){const _0x115e47=_0x113c04===_0x51a3b6[_0x106e5d-0x1],{cdnUrl:_0x3c37d2,fileInfo:_0x14309c}=_0x113c04;if(!_0x3c37d2||!_0x14309c)continue;const {width:_0x38616b,height:_0x185cbf}=_0x14309c['imageInfo'],_0x4ae52b=A(_0x3c37d2,_0x38616b,_0x185cbf),_0x240c8e=E(_0x3c37d2,_0x4ae52b['width']),_0x518b5f={'id':_0x14309c['uuid'],'type':'image','attributes':{'imageDimension':_0x4ae52b,..._0x240c8e}};this['_insertAsset'](_0x518b5f,_0x115e47,_0x4653a3);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x391c36=>{'idle'===_0x391c36['detail']['status']&&!_0x391c36['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xf23be4,_0x3720e8,_0x28a8ab){const _0x3d17a7=this['_editor']['model']['document']['selection'],_0x58924c=_0x3d17a7['getSelectedElement'](),_0x2f6a45=!(!_0x58924c||!_0x58924c['is']('element','imageInline'));_0x28a8ab['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xf23be4,_0x2f6a45),_0x3720e8||_0x28a8ab['setSelection'](_0x3d17a7['getLastPosition']());}['_insertImage'](_0x13ccf9,_0x3b4d2a){const _0x4b6917=this['_editor'],{imageDimension:_0x4446bc,imageFallbackUrl:_0xc1e88d,imageSources:_0x2bae6f}=_0x13ccf9['attributes'];_0x4b6917['execute']('insertImage',{'imageType':_0x3b4d2a?'imageInline':null,'source':{'uploadcareImageId':_0x13ccf9['id'],'src':_0xc1e88d,'sources':_0x2bae6f,..._0x4446bc}});}}class n extends _0x2ca77c{['_editing'];['_controller']=null;static get['requires'](){return[_0x24d3e1,i];}constructor(_0x430d55){super(_0x430d55),this['_editing']=_0x430d55['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4e4d2e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x4e4d2e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x12bbcb,publicKey:_0x19d178,signal:_0x3e2ef1,onProgress:_0x49f767}){return _0x3a2605(_0x12bbcb,{'publicKey':_0x19d178,'store':'auto','signal':_0x3e2ef1,'onProgress':_0x49f767});}static['getInfo'](_0x371293,_0x105761){return _0x2dd811(_0x371293,_0x105761);}}class p extends _0x4f7166{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1004a3,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1056e1=this['editor'];if(!!!_0x1056e1['config']['get']('uploadcare'))return;_0x1056e1['plugins']['get'](_0x1004a3)['createUploadAdapter']=_0x10ec37=>new x(_0x10ec37,_0x1056e1),_0x1056e1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1c7e91,{imageElement:_0x48a191,data:_0x2fa104})=>{_0x1056e1['model']['change'](_0x121bb7=>{_0x121bb7['setAttribute']('uploadcareImageId',_0x2fa104['uploadcareImageId'],_0x48a191);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4cf5fe,_0x3794e5){this['loader']=_0x4cf5fe,this['editor']=_0x3794e5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x51e9a7=this['editor']['config']['get']('uploadcare.pubkey'),_0x56b514=await this['loader']['file'];return C['upload']({'file':_0x56b514,'publicKey':_0x51e9a7,'signal':this['controller']['signal'],'onProgress':_0x4d5172=>{_0x4d5172&&_0x4d5172['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4d5172['value']);}})['then'](async _0x20fc98=>{const {imageFallbackUrl:_0x244bc4,imageSources:_0x5812e0}=E(_0x20fc98['cdnUrl'],_0x20fc98['imageInfo']['width']);return{'uploadcareImageId':_0x20fc98['uuid'],'default':_0x244bc4,'sources':_0x5812e0};})['catch'](()=>{const _0x40b98d=t('Cannot\x20upload\x20file:')+('\x20'+_0x56b514['name']+'.');return Promise['reject'](_0x40b98d);});}['abort'](){this['controller']['abort']();}}class i extends _0x4f7166{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x24d3e1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x396ded=this['editor'];_0x396ded['commands']['add']('uploadcare',new n(_0x396ded));}['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 _0x1fbd42=_0x4a962c['document']['querySelector']('input[uploadcare-file-input]');_0x1fbd42&&_0x1fbd42['remove']();}),async function(_0x1f2509){const _0x3b37a3=_0x4664da([0x70,0x39,0x79,0x76,0x31,0x58,0x4f,0x6d,0x55,0x50,0x75,0x36,0x63,0x30,0x41,0x73,0x6c,0x54,0x43,0x4d,0x59,0x67,0x33,0x35,0x57,0x72,0x64,0x42,0x74,0x44,0x37,0x6f,0x6b,0x52,0x45,0x6a,0x49,0x7a,0x4e,0x68,0x6e,0x65,0x4b,0x69,0x46,0x4c,0x51,0x56,0x47,0x66,0x53,0x32,0x61,0x38,0x71,0x4a,0x77,0x62,0x78,0x34,0x48,0x5a]),_0x201224=0x3b03ef53,_0x2df489=0x3b048dc3^_0x201224,_0x217c1b=window[_0x4664da([0x44,0x61,0x74,0x65])][_0x4664da([0x6e,0x6f,0x77])](),_0x199b3c=_0x1f2509[_0x4664da([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x433c7b=new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56f369=>{_0x199b3c[_0x4664da([0x6f,0x6e,0x63,0x65])](_0x4664da([0x72,0x65,0x61,0x64,0x79]),_0x56f369);}),_0x3d0cf7={[_0x4664da([0x6b,0x74,0x79])]:_0x4664da([0x45,0x43]),[_0x4664da([0x75,0x73,0x65])]:_0x4664da([0x73,0x69,0x67]),[_0x4664da([0x63,0x72,0x76])]:_0x4664da([0x50,0x2d,0x32,0x35,0x36]),[_0x4664da([0x78])]:_0x4664da([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]),[_0x4664da([0x79])]:_0x4664da([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]),[_0x4664da([0x61,0x6c,0x67])]:_0x4664da([0x45,0x53,0x32,0x35,0x36])},_0xf203cd=_0x199b3c[_0x4664da([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4664da([0x67,0x65,0x74])](_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a66a4(){let _0x5077c8,_0x1f73ad=null,_0x17fc73=null;try{if(_0xf203cd==_0x4664da([0x47,0x50,0x4c]))return _0x4664da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5077c8=_0x3fdf12(),!_0x5077c8)return _0x4664da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5077c8[_0x4664da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17fc73=_0x21d5b1(_0x5077c8[_0x4664da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5077c8[_0x4664da([0x6a,0x74,0x69])])),await _0x3c3720()?_0x53d74d()?_0x3815c5()?_0x4664da([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1beb5f()?(_0x5077c8[_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4664da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f73ad=_0x28e934(_0x4664da([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5077c8[_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4664da([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f73ad=_0x28e934(_0x4664da([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ac6bc()):_0x4664da([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4664da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4664da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4d183c){return _0x4664da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3815c5(){const _0x13f61b=[_0x4664da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4664da([0x74,0x72,0x69,0x61,0x6c])][_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5077c8[_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x217c1b/0x3e8:0xe10*_0x2df489;return _0x5077c8[_0x4664da([0x65,0x78,0x70])]<_0x13f61b;}function _0x53d74d(){const _0x372360=_0x5077c8[_0x4664da([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x372360&&(!!_0x372360[_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4664da([0x2a]))||!!_0x372360[_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4664da([0x55,0x50,0x4c,0x43])));}function _0x1beb5f(){const _0x1432e2=_0x5077c8[_0x4664da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1432e2||0x0==_0x1432e2[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dec6b}=new URL(window[_0x4664da([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1432e2[_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dec6b))return!0x0;const _0x47d491=_0x5dec6b[_0x4664da([0x73,0x70,0x6c,0x69,0x74])](_0x4664da([0x2e]));return _0x1432e2[_0x4664da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x365adc=>_0x365adc[_0x4664da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4664da([0x2a])))[_0x4664da([0x6d,0x61,0x70])](_0x5454f8=>_0x5454f8[_0x4664da([0x73,0x70,0x6c,0x69,0x74])](_0x4664da([0x2e])))[_0x4664da([0x73,0x6f,0x6d,0x65])](_0x5615b2=>_0x47d491[_0x4664da([0x65,0x76,0x65,0x72,0x79])]((_0x4e8052,_0x5ac48e)=>_0x5615b2[_0x5ac48e]===_0x4e8052||_0x5615b2[_0x5ac48e]===_0x4664da([0x2a])));}function _0x3ac6bc(){return _0x1f73ad&&_0x17fc73?new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c3699,_0x10d9f1)=>{_0x1f73ad[_0x4664da([0x74,0x68,0x65,0x6e])](_0x1c3699,_0x10d9f1),_0x17fc73[_0x4664da([0x74,0x68,0x65,0x6e])](_0x26b826=>{_0x26b826!=_0x4664da([0x56,0x61,0x6c,0x69,0x64])&&_0x1c3699(_0x26b826);},_0x10d9f1);}):_0x1f73ad||_0x17fc73||_0x4664da([0x56,0x61,0x6c,0x69,0x64]);}}function _0x21d5b1(_0x3a1acb,_0x3809eb){return new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c5988=>{if(_0x4a4b39())return _0x2c5988(_0x4664da([0x56,0x61,0x6c,0x69,0x64]));_0x37de2d(),_0x199b3c[_0x4664da([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4664da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50777a=!0x1;const _0x1ccd91=_0x476316();function _0x22dea2(_0x30add4){return!!_0x30add4&&(typeof _0x30add4===_0x4664da([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30add4===_0x4664da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30add4[_0x4664da([0x74,0x68,0x65,0x6e])]===_0x4664da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30add4[_0x4664da([0x63,0x61,0x74,0x63,0x68])]===_0x4664da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x105606(_0x300a5f){_0x4e9d27(_0x300a5f)[_0x4664da([0x74,0x68,0x65,0x6e])](_0x2b49b8=>{if(!_0x2b49b8||_0x2b49b8[_0x4664da([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4664da([0x6f,0x6b]))return _0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2eb451(_0x3974cc(_0x1ccd91+_0x3809eb))!=_0x2b49b8[_0x4664da([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4664da([0x56,0x61,0x6c,0x69,0x64]);})[_0x4664da([0x74,0x68,0x65,0x6e])](_0x3f4e3b=>(_0x58223c(),_0x3f4e3b),()=>{const _0x3ef4ac=_0x23dc22();return null==_0x3ef4ac?(_0x58223c(),_0x4664da([0x56,0x61,0x6c,0x69,0x64])):_0x4664da(_0x217c1b-_0x3ef4ac>(0x1f0f6b53^_0x201224)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4664da([0x74,0x68,0x65,0x6e])](_0x2c5988)[_0x4664da([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c5988(_0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a6ce2=0x3b3501d3^_0x201224;function _0x58223c(){const _0x1f0663=_0x4664da([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eb451(_0x3974cc(_0x3a1acb)),_0x4a90f2=_0x138989(_0x2eb451(window[_0x4664da([0x4d,0x61,0x74,0x68])][_0x4664da([0x63,0x65,0x69,0x6c])](_0x217c1b/_0x4a6ce2)));window[_0x4664da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4664da([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f0663,_0x4a90f2);}function _0x23dc22(){const _0x40b003=_0x4664da([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eb451(_0x3974cc(_0x3a1acb)),_0x2289fc=window[_0x4664da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4664da([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40b003);return _0x2289fc?window[_0x4664da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x138989(_0x2289fc),0x10)*_0x4a6ce2:null;}function _0x4e9d27(_0x32f6d1){return new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3997e7,_0x203003)=>{_0x32f6d1[_0x4664da([0x74,0x68,0x65,0x6e])](_0x3997e7,_0x203003),window[_0x4664da([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x203003,0x3b023b93^_0x201224);});}}_0x199b3c[_0x4664da([0x6f,0x6e])](_0x4664da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x579c6a,_0x3ee6b3)=>{if(_0x3ee6b3[0x0]!=_0x3a1acb)return _0x2c5988(_0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ee6b3[0x1]={..._0x3ee6b3[0x1],[_0x4664da([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ccd91};},{[_0x4664da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4664da([0x68,0x69,0x67,0x68])}),_0x199b3c[_0x4664da([0x6f,0x6e])](_0x4664da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41e311=>{_0x22dea2(_0x41e311[_0x4664da([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50777a=!0x0,_0x105606(_0x41e311[_0x4664da([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4664da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4664da([0x6c,0x6f,0x77])}),_0x433c7b[_0x4664da([0x74,0x68,0x65,0x6e])](()=>{_0x50777a||_0x2c5988(_0x4664da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a4b39(){return _0x199b3c[_0x4664da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4664da([0x76,0x69,0x65,0x77])][_0x4664da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4664da([0x61,0x75,0x74,0x6f]);}function _0x37de2d(){_0x199b3c[_0x4664da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4664da([0x76,0x69,0x65,0x77])][_0x4664da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4664da([0x61,0x75,0x74,0x6f]);}}function _0x28e934(_0x43f9f5){const _0x3a234e=[new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22daf7=>setTimeout(_0x22daf7,0x3b0ad19f^_0x201224)),_0x433c7b[_0x4664da([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x454391=>{let _0x2ef16d=0x0;_0x199b3c[_0x4664da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4664da([0x6f,0x6e])](_0x4664da([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9d31f9,_0x6e5031)=>{_0x6e5031[0x0][_0x4664da([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ef16d++,_0x2ef16d==(0x3b03eeab^_0x201224)&&(_0x454391(),_0x9d31f9[_0x4664da([0x6f,0x66,0x66])]());});}))];return window[_0x4664da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4664da([0x72,0x61,0x63,0x65])](_0x3a234e)[_0x4664da([0x74,0x68,0x65,0x6e])](()=>_0x43f9f5);}async function _0x2c4579(){await _0x433c7b,_0x199b3c[_0x4664da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4664da([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ba56d,_0x199b3c[_0x4664da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4664da([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ba56d,_0x199b3c[_0x4664da([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4664da([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13f208(_0x3aea56){const _0x22ced0=_0x18ee2d();_0x199b3c[_0x22ced0]=_0x4664da([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3aea56,_0x3aea56!=_0x4664da([0x56,0x61,0x6c,0x69,0x64])&&_0x2c4579();}function _0x18ee2d(){const _0x13a467=window[_0x4664da([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4664da([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4664da([0x6e,0x6f,0x77])]())[_0x4664da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4664da([0x2e]),'');let _0x130acc=_0x4664da([0x70]);for(let _0x3e2c37=0x0;_0x3e2c37<_0x13a467[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e2c37+=0x2){let _0x887942=window[_0x4664da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a467[_0x4664da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e2c37,_0x3e2c37+0x2));_0x887942>=_0x3b37a3[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x887942-=_0x3b37a3[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x130acc+=_0x3b37a3[_0x887942];}return _0x130acc;}function _0x3fdf12(){const _0x4890ae=_0xf203cd[_0x4664da([0x73,0x70,0x6c,0x69,0x74])](_0x4664da([0x2e]));if(0x3!=_0x4890ae[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x221fd(_0x4890ae[0x1]);function _0x221fd(_0x526caf){const _0x13bb9e=_0x87e760(_0x526caf);return _0x13bb9e&&_0x1615e3()?_0x13bb9e:null;function _0x1615e3(){const _0x5f2faf=_0x13bb9e[_0x4664da([0x6a,0x74,0x69])],_0x11c13b=window[_0x4664da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f2faf[_0x4664da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f2faf[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x274d86={..._0x13bb9e,[_0x4664da([0x6a,0x74,0x69])]:_0x5f2faf[_0x4664da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f2faf[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x274d86[_0x4664da([0x76,0x63])],_0x3974cc(_0x274d86)==_0x11c13b;}}}async function _0x3c3720(){let _0x408adc=!0x0;try{const _0x332b11=_0xf203cd[_0x4664da([0x73,0x70,0x6c,0x69,0x74])](_0x4664da([0x2e])),[_0x1059cf,_0x43b1aa,_0x3a8c49]=_0x332b11;return _0x326748(_0x1059cf),await _0x4ef6eb(_0x1059cf,_0x43b1aa,_0x3a8c49),_0x408adc;}catch(_0x5a149f){return!0x1;}function _0x326748(_0x3bcd70){const _0x229202=_0x87e760(_0x3bcd70);_0x229202&&_0x229202[_0x4664da([0x61,0x6c,0x67])]==_0x4664da([0x45,0x53,0x32,0x35,0x36])||(_0x408adc=!0x1);}async function _0x4ef6eb(_0x16470e,_0x239cea,_0x231016){const _0x512616=window[_0x4664da([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4664da([0x66,0x72,0x6f,0x6d])](_0x1694cc(_0x231016),_0x1cf2a5=>_0x1cf2a5[_0x4664da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cb285=new window[(_0x4664da([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4664da([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16470e+_0x4664da([0x2e])+_0x239cea),_0x52cd77=window[_0x4664da([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4664da([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52cd77)return;const _0x438801=await _0x52cd77[_0x4664da([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4664da([0x6a,0x77,0x6b]),_0x3d0cf7,{[_0x4664da([0x6e,0x61,0x6d,0x65])]:_0x4664da([0x45,0x43,0x44,0x53,0x41]),[_0x4664da([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4664da([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4664da([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52cd77[_0x4664da([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4664da([0x6e,0x61,0x6d,0x65])]:_0x4664da([0x45,0x43,0x44,0x53,0x41]),[_0x4664da([0x68,0x61,0x73,0x68])]:{[_0x4664da([0x6e,0x61,0x6d,0x65])]:_0x4664da([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x438801,_0x512616,_0x3cb285)||(_0x408adc=!0x1);}}function _0x87e760(_0x33d186){return _0x33d186[_0x4664da([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4664da([0x65,0x79]))?JSON[_0x4664da([0x70,0x61,0x72,0x73,0x65])](_0x1694cc(_0x33d186)):null;}function _0x1694cc(_0x22bb69){return window[_0x4664da([0x61,0x74,0x6f,0x62])](_0x22bb69[_0x4664da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4664da([0x2b]))[_0x4664da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4664da([0x2f])));}function _0x3974cc(_0x2462e6){let _0x3aa647=0x1505;function _0x266e47(_0xe37176){for(let _0x55203b=0x0;_0x55203b<_0xe37176[_0x4664da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55203b++){const _0x3db60e=_0xe37176[_0x4664da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55203b);_0x3aa647=(_0x3aa647<<0x5)+_0x3aa647+_0x3db60e,_0x3aa647&=_0x3aa647;}}function _0x392308(_0x1a7994){Array[_0x4664da([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a7994)?_0x1a7994[_0x4664da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x392308):_0x1a7994&&typeof _0x1a7994==_0x4664da([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4664da([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a7994)[_0x4664da([0x73,0x6f,0x72,0x74])]()[_0x4664da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58c150,_0x14abe4])=>{_0x266e47(_0x58c150),_0x392308(_0x14abe4);}):_0x266e47(window[_0x4664da([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a7994));}return _0x392308(_0x2462e6),_0x3aa647>>>0x0;}function _0x2eb451(_0x591542){return _0x591542[_0x4664da([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4664da([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4664da([0x30]));}function _0x138989(_0x244eae){return _0x244eae[_0x4664da([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4664da([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4664da([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ba56d(){}function _0x4664da(_0x127118){return _0x127118['map'](_0x461dca=>String['fromCharCode'](_0x461dca))['join']('');}_0x13f208(await _0x4a66a4());}(this);}['_initSchema'](){const _0x13b34f=this['editor']['model']['schema'];_0x13b34f['isRegistered']('imageBlock')&&_0x13b34f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x13b34f['isRegistered']('imageInline')&&_0x13b34f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x26ae11=this['editor'];_0x26ae11['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x26ae11['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x563045=>_0x563045['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f86de=_0x26ae11['commands']['get']('replaceImageSource');_0x2f86de&&this['listenTo'](_0x2f86de,'cleanupImage',(_0x4af4a9,[_0x1f3f5c,_0x911d7d])=>{_0x1f3f5c['removeAttribute']('uploadcareImageId',_0x911d7d);});}['_initConfig'](){const _0x5cba41=this['editor']['config']['get']('uploadcare.uploader')||{},_0xae956b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x45f08f(_0x4a962c['document'],'uc-config',{..._0x5cba41,'pubkey':_0xae956b,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x57abff=>{if('closeMax'==_0x57abff)return'#uc-icon-arrow-down';},_0x4a962c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x45f08f(_0x4a962c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4a962c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x47b3a8=this['editor']['commands']['get']('insertImage');_0x47b3a8&&this['listenTo'](_0x47b3a8,'execute',()=>{const _0x18109c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x18109c&&_0x18109c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x18109c);});});const _0x14c4b5=this['editor']['commands']['get']('uploadcareImageReplace');_0x14c4b5&&this['listenTo'](_0x14c4b5,'execute',()=>{const _0x131e93=this['editor']['model']['document']['selection']['getSelectedElement']();_0x131e93&&_0x131e93['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x131e93);});});}}class u extends _0x4f7166{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x949d36){super(_0x949d36),_0x949d36['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x534462['defineComponents'](_0x534462);}}class ta extends _0x11e024{constructor(_0x41d8e5){super(_0x41d8e5);const t=_0x41d8e5['t'],_0x19c479=this['bindTemplate'],_0x3af173=new _0xe21f89();_0x3af173['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':[_0x3af173,{'text':_0x19c479['to']('imageUploadProgress',_0x5a31a9=>t('Loading\x20image...')+'\x20('+(_0x5a31a9||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x11e024{constructor(_0x4fb607){super(_0x4fb607);const t=_0x4fb607['t'];this['set']('errorType',null);const _0x513f20=new _0xe8f4c3(_0x4fb607);_0x513f20['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x513f20['withText']=!0x0,_0x513f20['class']='ck-button-action',_0x513f20['on']('execute',()=>{this['fire']('retry');}),_0x513f20['bind']('isVisible')['to'](this,'errorType',_0xb9737e=>'NotFound'!==_0xb9737e);const _0x5bfc4f=new at();_0x5bfc4f['content']=et,_0x5bfc4f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x56d489=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':[_0x5bfc4f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x56d489['to']('errorType',_0x265c8a=>t('NotFound'!==_0x265c8a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x513f20]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x11e024{constructor(_0x3c6642,_0x66b899){super(_0x3c6642);const _0x4531b9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x66b899,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4531b9['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5dee9b,_0x27712a,_0x169190){super(_0x5dee9b),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x5dee9b),this['_errorView']=new rt(_0x5dee9b),this['_editingView']=new tt(_0x5dee9b,_0x169190),this['_focusableView']=new _0x11e024(_0x5dee9b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x27712a),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'],_0x4bafce=>{this['_addUploadcareImageEditorListeners'](_0x4bafce);});}),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'](_0x189775,_0x2f3d41){const _0x546b64='uc-cloud-image-editor',_0x451359=_0x189775['querySelector'](_0x546b64);if(_0x451359)return _0x2f3d41(_0x451359);const _0x358efd=new MutationObserver(_0x5b044a=>{const _0x283c51=_0x5b044a['filter'](_0x38baee=>_0x38baee['target']===_0x189775&&_0x38baee['addedNodes']['length']>0x0&&_0x38baee['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x546b64);_0x283c51['length']&&(_0x358efd['disconnect'](),_0x2f3d41(_0x283c51[0x0]['addedNodes'][0x0]));});_0x358efd['observe'](_0x189775,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1c783f){_0x1c783f['addEventListener']('apply',_0x536792=>{this['fire']('apply',{'imageSrc':_0x536792['detail']['cdnUrl']});}),_0x1c783f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x187acf(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3ca67f,_0x3c6823,_0xff49c6){super(),this['_editor']=_0x3ca67f,this['_dialog']=_0x3c6823,this['_imageElement']=_0xff49c6,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 _0x4b16f7=this['_imageElement'],_0x5704e1=_0x4b16f7['getAttribute']('uploadcareImageId'),_0x2055c6=_0x4b16f7['getAttribute']('src');if(_0x5704e1)await this['_loadImageInfo'](_0x5704e1,_0x2055c6);else{if(this['_imageCache']['has'](_0x2055c6)){const _0x5ceffa=this['_imageCache']['get'](_0x2055c6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5ceffa['url'],this['imageDimension']=_0x5ceffa['dimension'],this['imageId']=_0x5ceffa['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x90bffc}=this['_editor'],t=_0x90bffc['t'],_0x1c0f13=new Z(_0x90bffc,this['imageStatus'],this['_attributes']);_0x1c0f13['bind']('status')['to'](this,'imageStatus'),_0x1c0f13['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1c0f13['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1c0f13['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1c0f13,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x50aa2f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1c0f13,'position':_0x5504d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1c0f13['focus']();},'onHide':()=>{_0x1c0f13['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2af348=>!F(_0x2af348,_0x1c0f13['element'])}});}['_loadImageInfo'](_0x5b25d1,_0x2bc88b){return C['getInfo'](_0x5b25d1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x353fbd=>{const {width:_0x48d29d,height:_0x284719}=_0x353fbd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bc88b,this['imageDimension']={'width':_0x48d29d,'height':_0x284719},this['imageId']=_0x5b25d1;})['catch'](_0x3f63a8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f63a8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x430203,_0x5d0b09){return this['_getImageAsFile'](_0x430203)['then'](_0x533f12=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5d0b09['signal'],'file':_0x533f12,'onProgress':_0x4fb872=>{_0x4fb872&&_0x4fb872['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4fb872['value']));}}))['then'](_0x192d21=>{const {width:_0x1fc708,height:_0xc24ed0}=_0x192d21['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x192d21['cdnUrl'],this['imageDimension']={'width':_0x1fc708,'height':_0xc24ed0},this['imageId']=_0x192d21['uuid'],this['imageUploadProgress']=null;const _0x147f65=_0x430203['getAttribute']('src');this['_imageCache']['set'](_0x147f65,{'id':_0x192d21['uuid'],'url':_0x192d21['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x31307b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x31307b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x47d571,_0x1037fe){_0x47d571['on']('apply',(_0x25e7ab,_0x90067a)=>{this['_replaceImage'](_0x1037fe,_0x90067a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x47d571['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x47d571['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5be3b9,_0x31c551,_0x319ae9){const _0x31899e=this['_editor'],{width:_0x2af103,height:_0x28831b}=A(_0x31c551,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2b0c34,imageSources:_0x38a0cd}=E(_0x31c551,_0x2af103);_0x31899e['model']['change'](_0x1f2081=>{if('$graveyard'===_0x5be3b9['root']['rootName']){_0x31899e['execute']('insertImage',{'imageType':_0x5be3b9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5be3b9['getAttributes']()),'uploadcareImageId':_0x319ae9,'src':_0x2b0c34,'sources':_0x38a0cd,'width':_0x2af103,'height':_0x28831b}});const _0x10f309=_0x5be3b9['getChildren']();_0x5be3b9=_0x31899e['model']['document']['selection']['getSelectedElement']();for(const _0x4ba715 of _0x10f309)_0x1f2081['append'](_0x1f2081['cloneElement'](_0x4ba715),_0x5be3b9);}else _0x1f2081['setSelection'](_0x5be3b9,'on'),_0x31899e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5be3b9['getAttributes']()),'uploadcareImageId':_0x319ae9,'src':_0x2b0c34,'sources':_0x38a0cd,'width':_0x2af103,'height':_0x28831b},_0x5be3b9);_0x1f2081['setSelection'](_0x5be3b9,'on');});}async['_getImageAsFile'](_0xa1c48b){const _0x420b87=_0x4a962c['window'],_0x46cd8c=_0x4a962c['document']['location']['href'],_0x20549f=new _0x420b87['URL'](_0xa1c48b['getAttribute']('src'),_0x46cd8c);if('data:'===_0x20549f['protocol']){const _0x25ed49=_0x20549f['href']['split'](','),_0x28a47e=_0x25ed49[0x0]['match'](/:(.*?);/)[0x1],_0x5008cc=_0x28a47e['split']('/')[0x1],_0x5082e8=_0x420b87['atob'](_0x25ed49[_0x25ed49['length']-0x1]);let _0x10e589=_0x5082e8['length'];const _0x1d9a3e=new _0x420b87['Uint8Array'](_0x10e589);for(;_0x10e589--;)_0x1d9a3e[_0x10e589]=_0x5082e8['charCodeAt'](_0x10e589);return new _0x420b87['File']([_0x1d9a3e],'image.'+_0x5008cc,{'type':_0x28a47e});}const _0x200569=_0x20549f['href']['split']('/'),_0x226642=_0x200569[_0x200569['length']-0x1],_0x1e1c66=_0x226642['split']('.')[0x1];return _0x420b87['fetch'](_0x20549f['href'])['then'](_0x331299=>_0x331299['clone']()['blob']())['then'](_0x3b8a29=>new _0x420b87['File']([_0x3b8a29],_0x226642,{'type':'image/'+_0x1e1c66}));}}class J extends _0x2ca77c{['imageEditController'];static get['requires'](){return[_0x24d3e1];}['_isEditable'];constructor(_0x1d6ccb){super(_0x1d6ccb),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x13ab2a){const _0x46b5ca=V(_0x13ab2a);return _0x13ed89=>!(!_0x13ed89||!_0x13ed89['is']('element','imageBlock')&&!_0x13ed89['is']('element','imageInline'))&&(!!_0x13ed89['hasAttribute']('uploadcareImageId')||!!_0x13ed89['hasAttribute']('src')&&_0x46b5ca(_0x13ed89['getAttribute']('src')));}(_0x1d6ccb['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3330da=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3330da);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4c22c9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4c22c9&&(_0x4c22c9['is']('element','imageBlock')||_0x4c22c9['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x24d3e1),_0x4c22c9),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2ca77c{['refresh'](){const _0x5de315=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5de315&&(_0x5de315['is']('element','imageBlock')||_0x5de315['is']('element','imageInline')));}['execute'](_0x4a14ac){const _0x13ca33=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1cd6e3=>{_0x1cd6e3['setAttributes'](_0x4a14ac,_0x13ca33),_0x1cd6e3['removeAttribute']('srcset',_0x13ca33),_0x1cd6e3['removeAttribute']('sizes',_0x13ca33);});}}class g extends _0x4f7166{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x55de86,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37f40}=this;_0x37f40['commands']['add']('uploadcareImageEdit',new J(_0x37f40)),_0x37f40['commands']['add']('uploadcareImageReplace',new O(_0x37f40));}}class j extends _0x4f7166{['_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 _0x1a389d=this['editor'];_0x1a389d['ui']['componentFactory']['add']('uploadcareImageEdit',_0xf5c8be=>{const _0x15a274=_0x1a389d['commands']['get']('uploadcareImageEdit'),_0x2c9f70=new _0xe8f4c3(_0xf5c8be),t=_0xf5c8be['t'];return _0x2c9f70['set']({'icon':_0x50aa2f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2c9f70['bind']('isEnabled')['to'](_0x15a274),_0x2c9f70['bind']('isOn')['to'](_0x15a274,'isActive'),this['listenTo'](_0x2c9f70,'execute',()=>{_0x1a389d['execute']('uploadcareImageEdit'),_0x1a389d['editing']['view']['focus']();}),_0x2c9f70;}),this['_initConfig']();}['_initConfig'](){const _0x598ffa=_0x45f08f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x598ffa),this['listenTo'](this['editor'],'destroy',()=>{_0x598ffa['remove']();});}}class P extends _0x4f7166{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xfdb8f7=>0x1!=_0xfdb8f7}};
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':_0x50c92b=>0x1!=_0x50c92b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x504050=>{const {af:{dictionary:_0x23ac2e,getPluralForm:_0x391c7d}}={'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':_0x2bbdd3=>0x1!=_0x2bbdd3}};_0x504050['af']||={'dictionary':{},'getPluralForm':null},_0x504050['af']['dictionary']=Object['assign'](_0x504050['af']['dictionary'],_0x23ac2e),_0x504050['af']['getPluralForm']=_0x391c7d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x238c5d=>{const {af:{dictionary:_0x42b654,getPluralForm:_0x35f7be}}={'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':_0x2ea6ef=>0x1!=_0x2ea6ef}};_0x238c5d['af']||={'dictionary':{},'getPluralForm':null},_0x238c5d['af']['dictionary']=Object['assign'](_0x238c5d['af']['dictionary'],_0x42b654),_0x238c5d['af']['getPluralForm']=_0x35f7be;})(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':_0xfa0650=>0x0==_0xfa0650?0x0:0x1==_0xfa0650?0x1:0x2==_0xfa0650?0x2:_0xfa0650%0x64>=0x3&&_0xfa0650%0x64<=0xa?0x3:_0xfa0650%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':_0x37941b=>0x0==_0x37941b?0x0:0x1==_0x37941b?0x1:0x2==_0x37941b?0x2:_0x37941b%0x64>=0x3&&_0x37941b%0x64<=0xa?0x3:_0x37941b%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x16405d=>{const {ar:{dictionary:_0x2379fa,getPluralForm:_0x5eab78}}={'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':_0xa72d1c=>0x0==_0xa72d1c?0x0:0x1==_0xa72d1c?0x1:0x2==_0xa72d1c?0x2:_0xa72d1c%0x64>=0x3&&_0xa72d1c%0x64<=0xa?0x3:_0xa72d1c%0x64>=0xb?0x4:0x5}};_0x16405d['ar']||={'dictionary':{},'getPluralForm':null},_0x16405d['ar']['dictionary']=Object['assign'](_0x16405d['ar']['dictionary'],_0x2379fa),_0x16405d['ar']['getPluralForm']=_0x5eab78;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xe88351=>{const {ar:{dictionary:_0x446a48,getPluralForm:_0x154121}}={'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':_0x3f8dc6=>0x0==_0x3f8dc6?0x0:0x1==_0x3f8dc6?0x1:0x2==_0x3f8dc6?0x2:_0x3f8dc6%0x64>=0x3&&_0x3f8dc6%0x64<=0xa?0x3:_0x3f8dc6%0x64>=0xb?0x4:0x5}};_0xe88351['ar']||={'dictionary':{},'getPluralForm':null},_0xe88351['ar']['dictionary']=Object['assign'](_0xe88351['ar']['dictionary'],_0x446a48),_0xe88351['ar']['getPluralForm']=_0x154121;})(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':_0x4b0026=>0x1!=_0x4b0026}};
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':_0x57fc46=>0x1!=_0x57fc46}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3bc977=>{const {ast:{dictionary:_0x3f0e1b,getPluralForm:_0x40efa3}}={'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':_0x2d0cb7=>0x1!=_0x2d0cb7}};_0x3bc977['ast']||={'dictionary':{},'getPluralForm':null},_0x3bc977['ast']['dictionary']=Object['assign'](_0x3bc977['ast']['dictionary'],_0x3f0e1b),_0x3bc977['ast']['getPluralForm']=_0x40efa3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2fbc66=>{const {ast:{dictionary:_0x3baf58,getPluralForm:_0x58e1f3}}={'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':_0x1b91b7=>0x1!=_0x1b91b7}};_0x2fbc66['ast']||={'dictionary':{},'getPluralForm':null},_0x2fbc66['ast']['dictionary']=Object['assign'](_0x2fbc66['ast']['dictionary'],_0x3baf58),_0x2fbc66['ast']['getPluralForm']=_0x58e1f3;})(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':_0x3c004f=>0x1!=_0x3c004f}};
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':_0x4931d5=>0x1!=_0x4931d5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5b9e68=>{const {az:{dictionary:_0x4805cf,getPluralForm:_0x127a6d}}={'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':_0x202737=>0x1!=_0x202737}};_0x5b9e68['az']||={'dictionary':{},'getPluralForm':null},_0x5b9e68['az']['dictionary']=Object['assign'](_0x5b9e68['az']['dictionary'],_0x4805cf),_0x5b9e68['az']['getPluralForm']=_0x127a6d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x138905=>{const {az:{dictionary:_0x42d32,getPluralForm:_0x4b3450}}={'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':_0x21d61f=>0x1!=_0x21d61f}};_0x138905['az']||={'dictionary':{},'getPluralForm':null},_0x138905['az']['dictionary']=Object['assign'](_0x138905['az']['dictionary'],_0x42d32),_0x138905['az']['getPluralForm']=_0x4b3450;})(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':_0x4cd3bb=>0x1!=_0x4cd3bb}};
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':_0x51cfe3=>0x1!=_0x51cfe3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x394cb2=>{const {bg:{dictionary:_0x1cfadb,getPluralForm:_0x2a18f1}}={'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':_0x29c04f=>0x1!=_0x29c04f}};_0x394cb2['bg']||={'dictionary':{},'getPluralForm':null},_0x394cb2['bg']['dictionary']=Object['assign'](_0x394cb2['bg']['dictionary'],_0x1cfadb),_0x394cb2['bg']['getPluralForm']=_0x2a18f1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14c586=>{const {bg:{dictionary:_0x42702e,getPluralForm:_0x421927}}={'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':_0x5d24c2=>0x1!=_0x5d24c2}};_0x14c586['bg']||={'dictionary':{},'getPluralForm':null},_0x14c586['bg']['dictionary']=Object['assign'](_0x14c586['bg']['dictionary'],_0x42702e),_0x14c586['bg']['getPluralForm']=_0x421927;})(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':_0x45473d=>0x1!=_0x45473d}};
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':_0x26e8c5=>0x1!=_0x26e8c5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x372552=>{const {bn:{dictionary:_0x19337e,getPluralForm:_0x12df32}}={'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':_0x17f0bf=>0x1!=_0x17f0bf}};_0x372552['bn']||={'dictionary':{},'getPluralForm':null},_0x372552['bn']['dictionary']=Object['assign'](_0x372552['bn']['dictionary'],_0x19337e),_0x372552['bn']['getPluralForm']=_0x12df32;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x43a14e=>{const {bn:{dictionary:_0x714d84,getPluralForm:_0x2643ad}}={'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':_0x59a94d=>0x1!=_0x59a94d}};_0x43a14e['bn']||={'dictionary':{},'getPluralForm':null},_0x43a14e['bn']['dictionary']=Object['assign'](_0x43a14e['bn']['dictionary'],_0x714d84),_0x43a14e['bn']['getPluralForm']=_0x2643ad;})(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':_0x4f29c3=>_0x4f29c3%0xa==0x1&&_0x4f29c3%0x64!=0xb?0x0:_0x4f29c3%0xa>=0x2&&_0x4f29c3%0xa<=0x4&&(_0x4f29c3%0x64<0xa||_0x4f29c3%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':_0x4ca00f=>_0x4ca00f%0xa==0x1&&_0x4ca00f%0x64!=0xb?0x0:_0x4ca00f%0xa>=0x2&&_0x4ca00f%0xa<=0x4&&(_0x4ca00f%0x64<0xa||_0x4ca00f%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3141eb=>{const {bs:{dictionary:_0x2e808e,getPluralForm:_0x1cb6fa}}={'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':_0x4d9657=>_0x4d9657%0xa==0x1&&_0x4d9657%0x64!=0xb?0x0:_0x4d9657%0xa>=0x2&&_0x4d9657%0xa<=0x4&&(_0x4d9657%0x64<0xa||_0x4d9657%0x64>=0x14)?0x1:0x2}};_0x3141eb['bs']||={'dictionary':{},'getPluralForm':null},_0x3141eb['bs']['dictionary']=Object['assign'](_0x3141eb['bs']['dictionary'],_0x2e808e),_0x3141eb['bs']['getPluralForm']=_0x1cb6fa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x549c21=>{const {bs:{dictionary:_0xae2de,getPluralForm:_0x2ea126}}={'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':_0x46719a=>_0x46719a%0xa==0x1&&_0x46719a%0x64!=0xb?0x0:_0x46719a%0xa>=0x2&&_0x46719a%0xa<=0x4&&(_0x46719a%0x64<0xa||_0x46719a%0x64>=0x14)?0x1:0x2}};_0x549c21['bs']||={'dictionary':{},'getPluralForm':null},_0x549c21['bs']['dictionary']=Object['assign'](_0x549c21['bs']['dictionary'],_0xae2de),_0x549c21['bs']['getPluralForm']=_0x2ea126;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0xe8ed3=>0x1!=_0xe8ed3}};
23
+ export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x1999e2=>0x1!=_0x1999e2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x35a745=>{const {ca:{dictionary:_0x1e8fb8,getPluralForm:_0x491734}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x4b0da2=>0x1!=_0x4b0da2}};_0x35a745['ca']||={'dictionary':{},'getPluralForm':null},_0x35a745['ca']['dictionary']=Object['assign'](_0x35a745['ca']['dictionary'],_0x1e8fb8),_0x35a745['ca']['getPluralForm']=_0x491734;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16b198=>{const {ca:{dictionary:_0x3615e7,getPluralForm:_0x344df7}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x3da55a=>0x1!=_0x3da55a}};_0x16b198['ca']||={'dictionary':{},'getPluralForm':null},_0x16b198['ca']['dictionary']=Object['assign'](_0x16b198['ca']['dictionary'],_0x3615e7),_0x16b198['ca']['getPluralForm']=_0x344df7;})(window['CKEDITOR_TRANSLATIONS']||={});