@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251125.0 → 0.0.0-nightly-20251126.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x50d93f,Command as _0x2950ea}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2ce77a,IconGooglePhotos as _0x3d5996,IconGoogleDrive as _0xbf9145,IconFacebook as _0xef237a,IconDropbox as _0x38769f,IconUploadcareLink as _0x3a1b87,IconUploadcareImageUpload as _0x1a612b,IconError as _0x5368f9,IconUploadcareImageEdit as _0x42d718}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3bda9b,MenuBarMenuListItemButtonView as _0x5d9c4c,View as _0x307b01,FocusCycler as _0x22234b,Dialog as _0x16cd90,DialogViewPosition as _0x2cd43a,SpinnerView as _0x30ccdc,IconView as _0x3b3b25,Notification as _0x3e2f7c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x309b1f,DomEmitterMixin as _0x474d6d,global as _0x2af7a5,getAncestors as _0x48c1f3,ObservableMixin as _0x2fa053,uid as _0x557d61,createElement as _0x50ab71}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x36a1ea}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5a9775,info as _0x3c892d}from'@uploadcare/upload-client';import*as _0x4619a7 from'@uploadcare/file-uploader';var i=function(_0x5fbb85){return _0x5fbb85['Local']='local',_0x5fbb85['URL']='url',_0x5fbb85['Dropbox']='dropbox',_0x5fbb85['GDrive']='gdrive',_0x5fbb85['Facebook']='facebook',_0x5fbb85['GPhotos']='gphotos',_0x5fbb85['OneDrive']='onedrive',_0x5fbb85;}({});function _(_0x293173,_0x35ce50,_0x3ec8a6){const t=_0x293173['t'],_0x57227e=_0x293173['t'];switch(_0x35ce50){case i['Local']:return{'text':_0x57227e('Insert'===_0x3ec8a6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x57227e('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3ec8a6?_0x57227e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x57227e('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x35ce50;}}class e extends _0x50d93f{['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 _0x5ef642=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e2073;for(const _0x1c3331 in _0x5ef642){const _0x214e5c=_0x1c3331,_0x55c615=_0x5ef642[_0x214e5c];if('uploadcareLicenseKeyValid'==_0x55c615||'uploadcareLicenseKeyInvalid'==_0x55c615||'uploadcareLicenseKeyExpired'==_0x55c615||'uploadcareLicenseKeyDomainLimit'==_0x55c615||'uploadcareLicenseKeyNotAllowed'==_0x55c615||'uploadcareLicenseKeyEvaluationLimit'==_0x55c615||'uploadcareLicenseKeyTrialLimit'==_0x55c615||'uploadcareLicenseKeyUsageLimit'==_0x55c615){delete _0x5ef642[_0x214e5c],_0x5e2073=_0x55c615,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5e2073&&_0x5ef642['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5e2073&&_0x5ef642['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5e2073&&_0x5ef642['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5e2073&&_0x5ef642['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5e2073&&_0x5ef642['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5e2073&&_0x5ef642['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5e2073&&_0x5ef642['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x432c0d}=this,_0x37e21e=_0x432c0d['commands']['get']('uploadcare');if(!_0x37e21e)return;const _0x44e431=this['_normalizeConfigSourceList'](_0x432c0d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3d4fb2,_0xc8455)=>{const _0x5c8f7a=this['_getIntegrationKey'](_0xc8455['type']);return _0x3d4fb2[_0x5c8f7a]||(_0x3d4fb2[_0x5c8f7a]=[]),_0x3d4fb2[_0x5c8f7a]['push'](_0xc8455),_0x3d4fb2;},{});_0x432c0d['plugins']['has']('ImageInsertUI')&&_0x432c0d['commands']['get']('uploadcare')&&Object['entries'](_0x44e431)['forEach'](([_0x24ebad,_0x81c8e4])=>{_0x432c0d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x24ebad,'observable':()=>_0x37e21e,'buttonViewCreator':()=>this['_createToolbarButton'](_0x81c8e4),'formViewCreator':()=>this['_createDropdownButtons'](_0x81c8e4),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x81c8e4),'override':'assetManager'!==_0x24ebad});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x21cc8c){const {locale:_0x29a31b}=this['editor'];return _0x21cc8c['map'](_0x28ab9c=>{const _0x1a125e=_(_0x29a31b,_0x28ab9c,'Insert');switch(_0x28ab9c){case i['Local']:return{'icon':_0x1a612b,'type':i['Local'],..._0x1a125e};case i['URL']:return{'icon':_0x3a1b87,'type':i['URL'],..._0x1a125e};case i['Dropbox']:return{'icon':_0x38769f,'type':i['Dropbox'],..._0x1a125e};case i['Facebook']:return{'icon':_0xef237a,'type':i['Facebook'],..._0x1a125e};case i['GDrive']:return{'icon':_0xbf9145,'type':i['GDrive'],..._0x1a125e};case i['GPhotos']:return{'icon':_0x3d5996,'type':i['GPhotos'],..._0x1a125e};case i['OneDrive']:return{'icon':_0x2ce77a,'type':i['OneDrive'],..._0x1a125e};}});}['_getIntegrationKey'](_0x21155f){switch(_0x21155f){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3c8585,_0x284d39){const _0x1e063b=this['editor'],_0x4db24f=new _0x3c8585(_0x1e063b['locale']),_0x4d8d7d=_0x1e063b['commands']['get']('uploadcare');return _0x4db24f['bind']('isEnabled')['to'](_0x4d8d7d),_0x4db24f['on']('execute',()=>{_0x4d8d7d['execute'](_0x284d39);}),_0x4db24f;}['_createToolbarButton'](_0x29be31){const {locale:_0x58abb7}=this['editor'],_0x41dcd0=this['editor']['plugins']['get']('ImageInsertUI'),_0xe263a5=_0x29be31[0x0],_0x158f4b=this['_createButton'](_0x3bda9b,_0xe263a5['type']);return _0x158f4b['icon']=_0xe263a5['icon'],_0x158f4b['bind']('label')['to'](_0x41dcd0,'isImageSelected',_0x1cbd27=>_(_0x58abb7,_0xe263a5['type'],_0x1cbd27?'Replace':'Insert')['text']),_0x158f4b['tooltip']=!0x0,_0x158f4b;}['_createDropdownButtons'](_0x88d161){const {locale:_0x51fedc}=this['editor'],_0x11ac85=this['editor']['plugins']['get']('ImageInsertUI');return _0x88d161['map'](_0x814cb4=>{const _0x1faf30=this['_createButton'](_0x3bda9b,_0x814cb4['type']);return _0x1faf30['withText']=!0x0,_0x1faf30['icon']=_0x814cb4['icon'],_0x1faf30['bind']('label')['to'](_0x11ac85,'isImageSelected',_0x4c5ab8=>_(_0x51fedc,_0x814cb4['type'],_0x4c5ab8?'Replace':'Insert')['text']),_0x1faf30;});}['_createMenuBarButtons'](_0x44b62b){return _0x44b62b['map'](_0x6db479=>{const _0x111784=this['_createButton'](_0x5d9c4c,_0x6db479['type']);return _0x111784['icon']=_0x6db479['icon'],_0x111784['label']=_0x6db479['shortText'],_0x111784;});}}class F extends _0x307b01{['focusTracker'];['focusCycler'];constructor(_0x2fdc97){super(_0x2fdc97),this['focusTracker']=new _0x309b1f(),this['focusCycler']=new _0x22234b({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0xf1e70e,_0x5a272d){super(_0xf1e70e),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-'+_0x5a272d}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x1ac80f,_0x20eb04){const _0x55f1f6=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4d6fc4=>_0x4d6fc4<=_0x20eb04)['map'](_0x2b4983=>_0x1ac80f['replace'](/\/$/,'')+'/-/resize/'+_0x2b4983+'x/\x20'+_0x2b4983+'w');return{'imageFallbackUrl':_0x1ac80f,'imageSources':[{'srcset':_0x55f1f6['join'](',\x20'),'sizes':'(max-width:\x20'+_0x20eb04+'px)\x20100vw,\x20'+_0x20eb04+'px','type':'image/webp'}]};}function S(_0x41ff76,_0x2733b5,_0x51637e){const _0x1be7b3=_0x41ff76['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1be7b3?parseInt(_0x1be7b3[0x1],0xa):_0x2733b5,'height':_0x1be7b3?parseInt(_0x1be7b3[0x2],0xa):_0x51637e};}function p(_0x7cb483,_0xf197ae){const _0x549312=new(_0x474d6d())(),_0x3dc143=_0x7cb483['plugins']['get']('ImageUtils'),_0x5131da=_0x7cb483['editing']['mapper']['toViewElement'](_0xf197ae),_0x52f552=_0x3dc143['findViewImgElement'](_0x5131da),_0x1ecd0d=_0x7cb483['editing']['view']['domConverter']['viewToDom'](_0x52f552),_0x456f01=_0xf197ae['getAttribute']('width'),_0x39b9db=_0xf197ae['getAttribute']('height'),_0x19493d='image-processing';_0x7cb483['editing']['view']['change'](_0x23a210=>{_0x23a210['addClass'](_0x19493d,_0x5131da),_0x23a210['setStyle']('aspect-ratio',_0x456f01+'/'+_0x39b9db,_0x52f552);}),_0x549312['listenTo'](_0x1ecd0d,'load',()=>{_0x549312['stopListening'](_0x1ecd0d,'load'),_0x7cb483['editing']['view']['change'](_0x2abd45=>{_0x2abd45['removeClass'](_0x19493d,_0x5131da),_0x2abd45['removeStyle']('aspect-ratio',_0x52f552);});});}function G(_0xc467e){if(Array['isArray'](_0xc467e)){const _0xf4b487=_0xc467e['map'](G);return _0x560a08=>_0xf4b487['some'](_0x254996=>_0x254996(_0x560a08));}if('origin'==_0xc467e){const _0x4e91c8=_0x2af7a5['window']['location']['origin'];return _0x193af1=>new URL(_0x193af1,_0x2af7a5['document']['baseURI'])['origin']==_0x4e91c8;}return'function'==typeof _0xc467e?_0xc467e:_0xc467e instanceof RegExp?_0x1b919e=>!(!_0x1b919e['match'](_0xc467e)&&!_0x1b919e['replace'](/^https?:\/\//,'')['match'](_0xc467e)):()=>!0x1;}function A(_0x4ba909,_0x3342c1){return _0x48c1f3(_0x4ba909['target'])['includes'](_0x3342c1);}class n extends/* #__PURE__ -- @preserve */
24
- _0x2fa053(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x512beb,_0x40aa83,_0x249421){super(),this['_editor']=_0x512beb,this['_editing']=_0x40aa83,this['_dialog']=_0x512beb['plugins']['get'](_0x16cd90),this['_api']=_0x40aa83['ctxElement']['getAPI'](),this['_type']=_0x249421,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:_0x3ca240,model:_0x2bc95e}=this['_editor'],_0x30fe9a=_0x2bc95e['document']['selection']['getSelectedElement'](),_0x31030e=_0x30fe9a&&(_0x30fe9a['is']('element','imageBlock')||_0x30fe9a['is']('element','imageInline'));this['_formView']=new x(_0x3ca240,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1a612b,'title':_(_0x3ca240,this['_type'],_0x31030e?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2cd43a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xfb1ec3=>!A(_0xfb1ec3,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x47dff8}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2d6aef=>{const _0x302ee9=_0x47dff8['length'];for(const _0x4bb75e of _0x47dff8){const _0x5a408a=_0x4bb75e===_0x47dff8[_0x302ee9-0x1],{cdnUrl:_0x399726,fileInfo:_0x465084}=_0x4bb75e;if(!_0x399726||!_0x465084)continue;const {width:_0xad9b71,height:_0x323044}=_0x465084['imageInfo'],_0x47eed8=S(_0x399726,_0xad9b71,_0x323044),_0x59f543=C(_0x399726,_0x47eed8['width']),_0x3a7939={'id':_0x465084['uuid'],'type':'image','attributes':{'imageDimension':_0x47eed8,..._0x59f543}};this['_insertAsset'](_0x3a7939,_0x5a408a,_0x2d6aef);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2a8355=>{'idle'===_0x2a8355['detail']['status']&&!_0x2a8355['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x243063,_0x59ce69,_0x335f9a){const _0xbf1fd0=this['_editor']['model']['document']['selection'],_0x514f01=_0xbf1fd0['getSelectedElement'](),_0xab07cc=!(!_0x514f01||!_0x514f01['is']('element','imageInline'));_0x335f9a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x243063,_0xab07cc),_0x59ce69||_0x335f9a['setSelection'](_0xbf1fd0['getLastPosition']());}['_insertImage'](_0xa81391,_0x166fad){const _0x412a2e=this['_editor'],{imageDimension:_0x18475b,imageFallbackUrl:_0x527507,imageSources:_0x13ca35}=_0xa81391['attributes'];_0x412a2e['execute']('insertImage',{'imageType':_0x166fad?'imageInline':null,'source':{'uploadcareImageId':_0xa81391['id'],'src':_0x527507,'sources':_0x13ca35,..._0x18475b}});}}class w extends _0x2950ea{['_editing'];['_controller']=null;static get['requires'](){return[_0x16cd90,o];}constructor(_0x128df3){super(_0x128df3),this['_editing']=_0x128df3['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4cd128){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4cd128);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x2b08d1,..._0x43a76e}){return _0x5a9775(_0x2b08d1,_0x43a76e);}static['getInfo'](_0x1092c8,_0x52b38b){return _0x3c892d(_0x1092c8,_0x52b38b);}}class f extends _0x50d93f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x36a1ea,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x38298e=this['editor'];if(!!!_0x38298e['config']['get']('uploadcare'))return;_0x38298e['plugins']['get'](_0x36a1ea)['createUploadAdapter']=_0x564ae7=>new k(_0x564ae7,_0x38298e),_0x38298e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x599c4f,{imageElement:_0xec0316,data:_0x5671de})=>{_0x38298e['model']['change'](_0x382cc8=>{_0x382cc8['setAttribute']('uploadcareImageId',_0x5671de['uploadcareImageId'],_0xec0316);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4897c8,_0xc5cbbc){this['loader']=_0x4897c8,this['editor']=_0xc5cbbc,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x166c23=await this['loader']['file'];return j['upload']({'file':_0x166c23,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1448bb=>{_0x1448bb&&_0x1448bb['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1448bb['value']);}})['then'](async _0x53b15e=>{const {imageFallbackUrl:_0x1b00e7,imageSources:_0x315b57}=C(_0x53b15e['cdnUrl'],_0x53b15e['imageInfo']['width']);return{'uploadcareImageId':_0x53b15e['uuid'],'default':_0x1b00e7,'sources':_0x315b57};})['catch'](()=>{const _0x2faf9a=t('Cannot\x20upload\x20file:')+('\x20'+_0x166c23['name']+'.');return Promise['reject'](_0x2faf9a);});}['abort'](){this['controller']['abort']();}}class o extends _0x50d93f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x16cd90];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4a8877){super(_0x4a8877),this['ucContextId']=_0x557d61();}['init'](){const _0x35ae52=this['editor'];_0x35ae52['commands']['add']('uploadcare',new w(_0x35ae52));}['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 _0x862ab1=_0x2af7a5['document']['querySelector']('input[uploadcare-file-input]');_0x862ab1&&_0x862ab1['remove']();}),async function(_0x43f0f8){const _0x364a12=_0x3fc4af([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x46e2d6=0x535f8c3a,_0x80ed48=0x5358f622^_0x46e2d6,_0x151bc6=window[_0x3fc4af([0x44,0x61,0x74,0x65])][_0x3fc4af([0x6e,0x6f,0x77])](),_0x1fa5a6=_0x43f0f8[_0x3fc4af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17695d=new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f20c7=>{_0x1fa5a6[_0x3fc4af([0x6f,0x6e,0x63,0x65])](_0x3fc4af([0x72,0x65,0x61,0x64,0x79]),_0x4f20c7);}),_0x3f0c15={[_0x3fc4af([0x6b,0x74,0x79])]:_0x3fc4af([0x45,0x43]),[_0x3fc4af([0x75,0x73,0x65])]:_0x3fc4af([0x73,0x69,0x67]),[_0x3fc4af([0x63,0x72,0x76])]:_0x3fc4af([0x50,0x2d,0x32,0x35,0x36]),[_0x3fc4af([0x78])]:_0x3fc4af([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]),[_0x3fc4af([0x79])]:_0x3fc4af([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]),[_0x3fc4af([0x61,0x6c,0x67])]:_0x3fc4af([0x45,0x53,0x32,0x35,0x36])},_0x197228=_0x1fa5a6[_0x3fc4af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fc4af([0x67,0x65,0x74])](_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x379f16(){let _0x52a92f,_0x32fcbc=null,_0x36c0d6=null;try{if(_0x197228==_0x3fc4af([0x47,0x50,0x4c]))return _0x3fc4af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52a92f=_0x51672d(),!_0x52a92f)return _0x3fc4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52a92f[_0x3fc4af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36c0d6=_0x5c86cf(_0x52a92f[_0x3fc4af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52a92f[_0x3fc4af([0x6a,0x74,0x69])])),await _0x2224ac()?_0x580903()?_0x3331e9()?_0x3fc4af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x163818()?(_0x52a92f[_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc4af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32fcbc=_0x5899bc(_0x3fc4af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52a92f[_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc4af([0x74,0x72,0x69,0x61,0x6c])&&(_0x32fcbc=_0x5899bc(_0x3fc4af([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x947e3f()):_0x3fc4af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc4af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fc4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fc4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3331e9(){const _0x55149f=[_0x3fc4af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fc4af([0x74,0x72,0x69,0x61,0x6c])][_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52a92f[_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x151bc6/0x3e8:0xe10*_0x80ed48;return _0x52a92f[_0x3fc4af([0x65,0x78,0x70])]<_0x55149f;}function _0x580903(){const _0x3843a4=_0x52a92f[_0x3fc4af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3843a4&&(!!_0x3843a4[_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc4af([0x2a]))||!!_0x3843a4[_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc4af([0x55,0x50,0x4c,0x43])));}function _0x163818(){const _0x56ffe8=_0x52a92f[_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x56ffe8||0x0==_0x56ffe8[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x11528d}=new URL(window[_0x3fc4af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x56ffe8[_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11528d))return!0x0;const _0x40355a=_0x11528d[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fc4af([0x2e]));return _0x56ffe8[_0x3fc4af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57beea=>_0x57beea[_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc4af([0x2a])))[_0x3fc4af([0x6d,0x61,0x70])](_0x5e95a4=>_0x5e95a4[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fc4af([0x2e])))[_0x3fc4af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1db942=>_0x1db942[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40355a[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc4af([0x6d,0x61,0x70])](_0x294573=>Array(_0x40355a[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x294573[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc4af([0x66,0x69,0x6c,0x6c])](_0x294573[0x0]===_0x3fc4af([0x2a])?_0x3fc4af([0x2a]):'')[_0x3fc4af([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x294573))[_0x3fc4af([0x73,0x6f,0x6d,0x65])](_0x15471f=>_0x40355a[_0x3fc4af([0x65,0x76,0x65,0x72,0x79])]((_0x1a71f0,_0xb7ec22)=>_0x15471f[_0xb7ec22]===_0x1a71f0||_0x15471f[_0xb7ec22]===_0x3fc4af([0x2a])));}function _0x947e3f(){return _0x32fcbc&&_0x36c0d6?new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f253b,_0x1df2b5)=>{_0x32fcbc[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x3f253b,_0x1df2b5),_0x36c0d6[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x47facb=>{_0x47facb!=_0x3fc4af([0x56,0x61,0x6c,0x69,0x64])&&_0x3f253b(_0x47facb);},_0x1df2b5);}):_0x32fcbc||_0x36c0d6||_0x3fc4af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c86cf(_0x562f38,_0x13931){return new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45d32a=>{if(_0x224db9())return _0x45d32a(_0x3fc4af([0x56,0x61,0x6c,0x69,0x64]));_0x5b207a(),_0x1fa5a6[_0x3fc4af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fc4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x30da5c=!0x1;const _0x5dbabe=_0x557d61();function _0x4f612c(_0x281f1e){return!!_0x281f1e&&(typeof _0x281f1e===_0x3fc4af([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x281f1e===_0x3fc4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x281f1e[_0x3fc4af([0x74,0x68,0x65,0x6e])]===_0x3fc4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x281f1e[_0x3fc4af([0x63,0x61,0x74,0x63,0x68])]===_0x3fc4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3834df(_0x11ae7a){_0x194e5a(_0x11ae7a)[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x5040e7=>{if(!_0x5040e7||_0x5040e7[_0x3fc4af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fc4af([0x6f,0x6b]))return _0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19d39c(_0x2ceb51(_0x5dbabe+_0x13931))!=_0x5040e7[_0x3fc4af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc4af([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x54c435=>(_0x37f34b(),_0x54c435),()=>{const _0x1806f0=_0x26a450();return null==_0x1806f0?(_0x37f34b(),_0x3fc4af([0x56,0x61,0x6c,0x69,0x64])):_0x3fc4af(_0x151bc6-_0x1806f0>(0x7753083a^_0x46e2d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x45d32a)[_0x3fc4af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45d32a(_0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c6dc1=0x536962ba^_0x46e2d6;function _0x37f34b(){const _0xab2584=_0x3fc4af([0x6c,0x6c,0x63,0x74,0x2d])+_0x19d39c(_0x2ceb51(_0x562f38)),_0x31a597=_0x21faf1(_0x19d39c(window[_0x3fc4af([0x4d,0x61,0x74,0x68])][_0x3fc4af([0x63,0x65,0x69,0x6c])](_0x151bc6/_0x2c6dc1)));window[_0x3fc4af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc4af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xab2584,_0x31a597);}function _0x26a450(){const _0x38c311=_0x3fc4af([0x6c,0x6c,0x63,0x74,0x2d])+_0x19d39c(_0x2ceb51(_0x562f38)),_0x44d306=window[_0x3fc4af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc4af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38c311);return _0x44d306?window[_0x3fc4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21faf1(_0x44d306),0x10)*_0x2c6dc1:null;}function _0x194e5a(_0x11459d){return new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58283c,_0x5a610f)=>{_0x11459d[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x58283c,_0x5a610f),window[_0x3fc4af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a610f,0x535e58fa^_0x46e2d6);});}}_0x1fa5a6[_0x3fc4af([0x6f,0x6e])](_0x3fc4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x208174,_0x2da919)=>{if(_0x2da919[0x0]!=_0x562f38)return _0x45d32a(_0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2da919[0x1]={..._0x2da919[0x1],[_0x3fc4af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5dbabe};},{[_0x3fc4af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc4af([0x68,0x69,0x67,0x68])}),_0x1fa5a6[_0x3fc4af([0x6f,0x6e])](_0x3fc4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x471543=>{_0x4f612c(_0x471543[_0x3fc4af([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x30da5c=!0x0,_0x3834df(_0x471543[_0x3fc4af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fc4af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc4af([0x6c,0x6f,0x77])}),_0x17695d[_0x3fc4af([0x74,0x68,0x65,0x6e])](()=>{_0x30da5c||_0x45d32a(_0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x224db9(){return _0x1fa5a6[_0x3fc4af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc4af([0x76,0x69,0x65,0x77])][_0x3fc4af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fc4af([0x61,0x75,0x74,0x6f]);}function _0x5b207a(){_0x1fa5a6[_0x3fc4af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc4af([0x76,0x69,0x65,0x77])][_0x3fc4af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fc4af([0x61,0x75,0x74,0x6f]);}}function _0x5899bc(_0x589209){const _0x4e3eb0=[new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x486b29=>setTimeout(_0x486b29,0x5356b2f6^_0x46e2d6)),_0x17695d[_0x3fc4af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cc874=>{let _0x389601=0x0;_0x1fa5a6[_0x3fc4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc4af([0x6f,0x6e])](_0x3fc4af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe36c52,_0x474f1d)=>{_0x474f1d[0x0][_0x3fc4af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x389601++,_0x389601==(0x535f8dc2^_0x46e2d6)&&(_0x3cc874(),_0xe36c52[_0x3fc4af([0x6f,0x66,0x66])]());});}))];return window[_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fc4af([0x72,0x61,0x63,0x65])](_0x4e3eb0)[_0x3fc4af([0x74,0x68,0x65,0x6e])](()=>_0x589209);}async function _0x7c39d6(){await _0x17695d,_0x1fa5a6[_0x3fc4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc4af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x486bea,_0x1fa5a6[_0x3fc4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc4af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x486bea,_0x1fa5a6[_0x3fc4af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fc4af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51f8bf(_0x13c86b){const _0x513ac1=_0x7d6c79();_0x1fa5a6[_0x513ac1]=_0x3fc4af([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x13c86b,_0x13c86b!=_0x3fc4af([0x56,0x61,0x6c,0x69,0x64])&&_0x7c39d6();}function _0x7d6c79(){const _0x43f75a=window[_0x3fc4af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fc4af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fc4af([0x6e,0x6f,0x77])]())[_0x3fc4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fc4af([0x2e]),'');let _0xa3333=_0x3fc4af([0x68]);for(let _0x3585ca=0x0;_0x3585ca<_0x43f75a[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3585ca+=0x2){let _0x36c0fb=window[_0x3fc4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43f75a[_0x3fc4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3585ca,_0x3585ca+0x2));_0x36c0fb>=_0x364a12[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36c0fb-=_0x364a12[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa3333+=_0x364a12[_0x36c0fb];}return _0xa3333;}function _0x51672d(){const _0xeb0baa=_0x197228[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fc4af([0x2e]));if(0x3!=_0xeb0baa[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x220acf(_0xeb0baa[0x1]);function _0x220acf(_0x42e573){const _0x41a4dd=_0x2c6eaa(_0x42e573);return _0x41a4dd&&_0x414bea()?_0x41a4dd:null;function _0x414bea(){const _0x4e1381=_0x41a4dd[_0x3fc4af([0x6a,0x74,0x69])],_0x4b5ec3=window[_0x3fc4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e1381[_0x3fc4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e1381[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16c893={..._0x41a4dd,[_0x3fc4af([0x6a,0x74,0x69])]:_0x4e1381[_0x3fc4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e1381[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16c893[_0x3fc4af([0x76,0x63])],_0x2ceb51(_0x16c893)==_0x4b5ec3;}}}async function _0x2224ac(){let _0x4b1d07=!0x0;try{const _0x288a5d=_0x197228[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fc4af([0x2e])),[_0x45c57d,_0x55087a,_0x2b345e]=_0x288a5d;return _0x41c39b(_0x45c57d),await _0xc21a6c(_0x45c57d,_0x55087a,_0x2b345e),_0x4b1d07;}catch{return!0x1;}function _0x41c39b(_0x13476a){const _0x5d034a=_0x2c6eaa(_0x13476a);_0x5d034a&&_0x5d034a[_0x3fc4af([0x61,0x6c,0x67])]==_0x3fc4af([0x45,0x53,0x32,0x35,0x36])||(_0x4b1d07=!0x1);}async function _0xc21a6c(_0x459012,_0x541c43,_0x41b0a9){const _0xa504e6=window[_0x3fc4af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fc4af([0x66,0x72,0x6f,0x6d])](_0x4e5bde(_0x41b0a9),_0x245182=>_0x245182[_0x3fc4af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1fc8e8=new window[(_0x3fc4af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fc4af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x459012+_0x3fc4af([0x2e])+_0x541c43),_0x3b6a7b=window[_0x3fc4af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fc4af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b6a7b)return;const _0x45fab6=await _0x3b6a7b[_0x3fc4af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fc4af([0x6a,0x77,0x6b]),_0x3f0c15,{[_0x3fc4af([0x6e,0x61,0x6d,0x65])]:_0x3fc4af([0x45,0x43,0x44,0x53,0x41]),[_0x3fc4af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fc4af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fc4af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b6a7b[_0x3fc4af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fc4af([0x6e,0x61,0x6d,0x65])]:_0x3fc4af([0x45,0x43,0x44,0x53,0x41]),[_0x3fc4af([0x68,0x61,0x73,0x68])]:{[_0x3fc4af([0x6e,0x61,0x6d,0x65])]:_0x3fc4af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45fab6,_0xa504e6,_0x1fc8e8)||(_0x4b1d07=!0x1);}}function _0x2c6eaa(_0x545260){return _0x545260[_0x3fc4af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fc4af([0x65,0x79]))?JSON[_0x3fc4af([0x70,0x61,0x72,0x73,0x65])](_0x4e5bde(_0x545260)):null;}function _0x4e5bde(_0x178ffc){return window[_0x3fc4af([0x61,0x74,0x6f,0x62])](_0x178ffc[_0x3fc4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fc4af([0x2b]))[_0x3fc4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fc4af([0x2f])));}function _0x2ceb51(_0x27836f){let _0x26a2c1=0x1505;function _0x5bcf22(_0x478c05){for(let _0x84c76f=0x0;_0x84c76f<_0x478c05[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x84c76f++){const _0x46fc87=_0x478c05[_0x3fc4af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x84c76f);_0x26a2c1=(_0x26a2c1<<0x5)+_0x26a2c1+_0x46fc87,_0x26a2c1&=_0x26a2c1;}}function _0x25970c(_0x130d3e){Array[_0x3fc4af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x130d3e)?_0x130d3e[_0x3fc4af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25970c):_0x130d3e&&typeof _0x130d3e==_0x3fc4af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fc4af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x130d3e)[_0x3fc4af([0x73,0x6f,0x72,0x74])]()[_0x3fc4af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32bc22,_0x3448b5])=>{_0x5bcf22(_0x32bc22),_0x25970c(_0x3448b5);}):_0x5bcf22(window[_0x3fc4af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x130d3e));}return _0x25970c(_0x27836f),_0x26a2c1>>>0x0;}function _0x19d39c(_0x3cd2ae){return _0x3cd2ae[_0x3fc4af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fc4af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fc4af([0x30]));}function _0x21faf1(_0x199447){return _0x199447[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fc4af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fc4af([0x6a,0x6f,0x69,0x6e])]('');}function _0x486bea(){}function _0x3fc4af(_0x2bfca1){return _0x2bfca1['map'](_0x42ef95=>String['fromCharCode'](_0x42ef95))['join']('');}_0x51f8bf(await _0x379f16());}(this);}['_initSchema'](){const _0x21fdd0=this['editor']['model']['schema'];_0x21fdd0['isRegistered']('imageBlock')&&_0x21fdd0['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x21fdd0['isRegistered']('imageInline')&&_0x21fdd0['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xb91b2e=this['editor'];_0xb91b2e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xb91b2e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x398105=>_0x398105['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x39be66=_0xb91b2e['commands']['get']('replaceImageSource');_0x39be66&&this['listenTo'](_0x39be66,'cleanupImage',(_0x5a5ce4,[_0x248a92,_0x53a0e2])=>{_0x248a92['removeAttribute']('uploadcareImageId',_0x53a0e2);});}['_initConfig'](){const _0x4308f0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x39df18=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x50ab71(_0x2af7a5['document'],'uc-config',{..._0x4308f0,'pubkey':_0x39df18,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x2e52ab=>{if('closeMax'==_0x2e52ab)return'#uc-icon-arrow-down';},_0x2af7a5['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x50ab71(_0x2af7a5['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2af7a5['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xc7e99c=this['editor']['commands']['get']('insertImage');_0xc7e99c&&this['listenTo'](_0xc7e99c,'execute',()=>{const _0x62865b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x62865b&&_0x62865b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x62865b);});});const _0x4750ce=this['editor']['commands']['get']('uploadcareImageReplace');_0x4750ce&&this['listenTo'](_0x4750ce,'execute',()=>{const _0x1d7689=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1d7689&&_0x1d7689['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1d7689);});});}}class tt extends _0x50d93f{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x29e18e){super(_0x29e18e),_0x29e18e['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4619a7['defineComponents'](_0x4619a7),this['_defineLocale']();}['_defineLocale'](){const _0x5bc365=this['editor']['config']['get']('uploadcare.locale'),_0x39c437=this['editor']['locale']['contentLanguage'];_0x5bc365&&_0x4619a7['defineLocale'](_0x39c437,_0x5bc365);}}class ii extends _0x307b01{constructor(_0xa73ad2){super(_0xa73ad2);const t=_0xa73ad2['t'],_0x5047ce=this['bindTemplate'],_0x9eec77=new _0x30ccdc();_0x9eec77['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':[_0x9eec77,{'text':_0x5047ce['to']('imageUploadProgress',_0x235ad8=>t('Loading\x20image...')+'\x20('+(_0x235ad8||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x307b01{constructor(_0x2dcdfc){super(_0x2dcdfc);const t=_0x2dcdfc['t'];this['set']('errorType',null);const _0xca19e=new _0x3bda9b(_0x2dcdfc);_0xca19e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xca19e['withText']=!0x0,_0xca19e['class']='ck-button-action',_0xca19e['on']('execute',()=>{this['fire']('retry');}),_0xca19e['bind']('isVisible')['to'](this,'errorType',_0x24f77e=>'NotFound'!==_0x24f77e);const _0x20c816=new _0x3b3b25();_0x20c816['content']=_0x5368f9,_0x20c816['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x399b10=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':[_0x20c816,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x399b10['to']('errorType',_0x245795=>t('NotFound'!==_0x245795?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xca19e]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x307b01{constructor(_0x102a5c,_0x2e1f30){super(_0x102a5c);const _0x21dc5b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2e1f30,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x21dc5b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3c19bf,_0x2d6f28,_0x5f5af0){super(_0x3c19bf),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3c19bf),this['_errorView']=new ti(_0x3c19bf),this['_editingView']=new ei(_0x3c19bf,_0x5f5af0),this['_focusableView']=new _0x307b01(_0x3c19bf),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2d6f28),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'],_0x58197e=>{this['_addUploadcareImageEditorListeners'](_0x58197e);});}),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'](_0x255284,_0x57a712){const _0x117d15='uc-cloud-image-editor',_0x3f7d6d=_0x255284['querySelector'](_0x117d15);if(_0x3f7d6d)return _0x57a712(_0x3f7d6d);const _0x55d1bb=new MutationObserver(_0xd0aedf=>{const _0x908c99=_0xd0aedf['filter'](_0x3ab826=>_0x3ab826['target']===_0x255284&&_0x3ab826['addedNodes']['length']>0x0&&_0x3ab826['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x117d15);_0x908c99['length']&&(_0x55d1bb['disconnect'](),_0x57a712(_0x908c99[0x0]['addedNodes'][0x0]));});_0x55d1bb['observe'](_0x255284,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x55a8af){_0x55a8af['addEventListener']('apply',_0x98b5f8=>{this['fire']('apply',{'imageSrc':_0x98b5f8['detail']['cdnUrl']});}),_0x55a8af['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x2fa053(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2d4415,_0x420b45,_0x5e7da0){super(),this['_editor']=_0x2d4415,this['_dialog']=_0x420b45,this['_imageElement']=_0x5e7da0,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 _0x32acbb=this['_imageElement'],_0x5e8a55=_0x32acbb['getAttribute']('uploadcareImageId'),_0x3dd729=_0x32acbb['getAttribute']('src');if(_0x5e8a55)await this['_loadImageInfo'](_0x5e8a55,_0x3dd729);else{if(this['_imageCache']['has'](_0x3dd729)){const _0x32bf0=this['_imageCache']['get'](_0x3dd729);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32bf0['url'],this['imageDimension']=_0x32bf0['dimension'],this['imageId']=_0x32bf0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1ee96e}=this['_editor'],t=_0x1ee96e['t'],_0x5d37bf=new X(_0x1ee96e,this['imageStatus'],this['_attributes']);_0x5d37bf['bind']('status')['to'](this,'imageStatus'),_0x5d37bf['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5d37bf['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5d37bf['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5d37bf,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x42d718,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5d37bf,'position':_0x2cd43a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5d37bf['focus']();},'onHide':()=>{_0x5d37bf['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x59e26a=>!A(_0x59e26a,_0x5d37bf['element'])}});}['_loadImageInfo'](_0x398c08,_0x13f590){return j['getInfo'](_0x398c08,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2f7fdc=>{const {width:_0x5160b5,height:_0x523b3a}=_0x2f7fdc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13f590,this['imageDimension']={'width':_0x5160b5,'height':_0x523b3a},this['imageId']=_0x398c08;})['catch'](_0x302d3f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x302d3f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x25f0f1,_0x2ad47d){return this['_getImageAsFile'](_0x25f0f1)['then'](_0x503993=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2ad47d['signal'],'file':_0x503993,'onProgress':_0x173d5a=>{_0x173d5a&&_0x173d5a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x173d5a['value']));}}))['then'](_0x1aa3be=>{const {width:_0x1c1ab1,height:_0x3286f2}=_0x1aa3be['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1aa3be['cdnUrl'],this['imageDimension']={'width':_0x1c1ab1,'height':_0x3286f2},this['imageId']=_0x1aa3be['uuid'],this['imageUploadProgress']=null;const _0x543c1a=_0x25f0f1['getAttribute']('src');this['_imageCache']['set'](_0x543c1a,{'id':_0x1aa3be['uuid'],'url':_0x1aa3be['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x27236c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x27236c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x348c65,_0x5009d0){_0x348c65['on']('apply',(_0x508213,_0x13962d)=>{this['_replaceImage'](_0x5009d0,_0x13962d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x348c65['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x348c65['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x30878e,_0x414405,_0x4ec0f4){const _0x55312a=this['_editor'],{width:_0x61f706,height:_0x1505c}=S(_0x414405,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2c6a2c,imageSources:_0x5b596c}=C(_0x414405,_0x61f706);_0x55312a['model']['change'](_0x4988bf=>{if('$graveyard'===_0x30878e['root']['rootName']){_0x55312a['execute']('insertImage',{'imageType':_0x30878e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x30878e['getAttributes']()),'uploadcareImageId':_0x4ec0f4,'src':_0x2c6a2c,'sources':_0x5b596c,'width':_0x61f706,'height':_0x1505c}});const _0x588f0d=_0x30878e['getChildren']();_0x30878e=_0x55312a['model']['document']['selection']['getSelectedElement']();for(const _0x2d13c9 of _0x588f0d)_0x4988bf['append'](_0x4988bf['cloneElement'](_0x2d13c9),_0x30878e);}else _0x4988bf['setSelection'](_0x30878e,'on'),_0x55312a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x30878e['getAttributes']()),'uploadcareImageId':_0x4ec0f4,'src':_0x2c6a2c,'sources':_0x5b596c,'width':_0x61f706,'height':_0x1505c},_0x30878e);_0x4988bf['setSelection'](_0x30878e,'on');});}async['_getImageAsFile'](_0x5307fc){const _0x207d7b=_0x2af7a5['window'],_0x16cf94=_0x2af7a5['document']['location']['href'],_0x2ec2fb=new _0x207d7b['URL'](_0x5307fc['getAttribute']('src'),_0x16cf94);if('data:'===_0x2ec2fb['protocol']){const _0x1d7de0=_0x2ec2fb['href']['split'](','),_0x7ad304=_0x1d7de0[0x0]['match'](/:(.*?);/)[0x1],_0x48d665=_0x7ad304['split']('/')[0x1],_0x1d3329=_0x207d7b['atob'](_0x1d7de0[_0x1d7de0['length']-0x1]);let _0x1f3226=_0x1d3329['length'];const _0x1ab830=new _0x207d7b['Uint8Array'](_0x1f3226);for(;_0x1f3226--;)_0x1ab830[_0x1f3226]=_0x1d3329['charCodeAt'](_0x1f3226);return new _0x207d7b['File']([_0x1ab830],'image.'+_0x48d665,{'type':_0x7ad304});}const _0x5a1ff=_0x2ec2fb['href']['split']('/'),_0x30d2f7=_0x5a1ff[_0x5a1ff['length']-0x1],_0x115e72=_0x30d2f7['split']('.')[0x1];return _0x207d7b['fetch'](_0x2ec2fb['href'])['then'](_0x5e00c4=>_0x5e00c4['clone']()['blob']())['then'](_0x55edc9=>new _0x207d7b['File']([_0x55edc9],_0x30d2f7,{'type':'image/'+_0x115e72}));}}class O extends _0x2950ea{['imageEditController'];static get['requires'](){return[_0x16cd90];}['_isEditable'];constructor(_0x2d83fa){super(_0x2d83fa),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x12a50d){const _0x814bd6=G(_0x12a50d);return _0x57be87=>!(!_0x57be87||!_0x57be87['is']('element','imageBlock')&&!_0x57be87['is']('element','imageInline'))&&(!!_0x57be87['hasAttribute']('uploadcareImageId')||!!_0x57be87['hasAttribute']('src')&&_0x814bd6(_0x57be87['getAttribute']('src')));}(_0x2d83fa['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x14b179=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x14b179);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x53a66d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x53a66d&&(_0x53a66d['is']('element','imageBlock')||_0x53a66d['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x16cd90),_0x53a66d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2950ea{['refresh'](){const _0x5250cd=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5250cd&&(_0x5250cd['is']('element','imageBlock')||_0x5250cd['is']('element','imageInline')));}['execute'](_0x53aba1){const _0x74e4f3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x55bfd7=>{_0x55bfd7['setAttributes'](_0x53aba1,_0x74e4f3),_0x55bfd7['removeAttribute']('srcset',_0x74e4f3),_0x55bfd7['removeAttribute']('sizes',_0x74e4f3);});}}class m extends _0x50d93f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3e2f7c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1d9cec}=this;_0x1d9cec['commands']['add']('uploadcareImageEdit',new O(_0x1d9cec)),_0x1d9cec['commands']['add']('uploadcareImageReplace',new R(_0x1d9cec));}}class g extends _0x50d93f{['_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 _0x51c2db=this['editor'];_0x51c2db['ui']['componentFactory']['add']('uploadcareImageEdit',_0x333c85=>{const _0x37d0de=_0x51c2db['commands']['get']('uploadcareImageEdit'),_0x55f890=new _0x3bda9b(_0x333c85),t=_0x333c85['t'];return _0x55f890['set']({'icon':_0x42d718,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x55f890['bind']('isEnabled')['to'](_0x37d0de),_0x55f890['bind']('isOn')['to'](_0x37d0de,'isActive'),this['listenTo'](_0x55f890,'execute',()=>{_0x51c2db['execute']('uploadcareImageEdit'),_0x51c2db['editing']['view']['focus']();}),_0x55f890;}),this['_initConfig']();}['_initConfig'](){const _0x9fe196=_0x50ab71(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x9fe196),this['listenTo'](this['editor'],'destroy',()=>{_0x9fe196['remove']();});}}class et extends _0x50d93f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x9edcba,Command as _0x29c7ff}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x234ec2,IconGooglePhotos as _0x197806,IconGoogleDrive as _0x361a87,IconFacebook as _0x9bdb1f,IconDropbox as _0x15e84f,IconUploadcareLink as _0xc4de25,IconUploadcareImageUpload as _0x3b887d,IconError as _0x559812,IconUploadcareImageEdit as _0x5ee898}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x570821,MenuBarMenuListItemButtonView as _0x13a2c9,View as _0x130440,FocusCycler as _0x12a9ca,Dialog as _0xadced8,DialogViewPosition as _0x333918,SpinnerView as _0xca99f9,IconView as _0x3a5aaf,Notification as _0x284348}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2183e0,DomEmitterMixin as _0x4c5504,global as _0x206eec,getAncestors as _0x2b9835,ObservableMixin as _0xc15507,uid as _0x4c6026,createElement as _0x3bf56a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2c0cb1}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x21c228,info as _0x6faec4}from'@uploadcare/upload-client';import*as _0x5b0283 from'@uploadcare/file-uploader';var i=function(_0x15e9e1){return _0x15e9e1['Local']='local',_0x15e9e1['URL']='url',_0x15e9e1['Dropbox']='dropbox',_0x15e9e1['GDrive']='gdrive',_0x15e9e1['Facebook']='facebook',_0x15e9e1['GPhotos']='gphotos',_0x15e9e1['OneDrive']='onedrive',_0x15e9e1;}({});function _(_0x11ce6d,_0x21face,_0xc1f1c1){const t=_0x11ce6d['t'],_0x4dda94=_0x11ce6d['t'];switch(_0x21face){case i['Local']:return{'text':_0x4dda94('Insert'===_0xc1f1c1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4dda94('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xc1f1c1?_0x4dda94('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4dda94('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x21face;}}class e extends _0x9edcba{['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 _0x77f7b2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e0bed;for(const _0x1eb0b5 in _0x77f7b2){const _0x192a26=_0x1eb0b5,_0x17df52=_0x77f7b2[_0x192a26];if('uploadcareLicenseKeyValid'==_0x17df52||'uploadcareLicenseKeyInvalid'==_0x17df52||'uploadcareLicenseKeyExpired'==_0x17df52||'uploadcareLicenseKeyDomainLimit'==_0x17df52||'uploadcareLicenseKeyNotAllowed'==_0x17df52||'uploadcareLicenseKeyEvaluationLimit'==_0x17df52||'uploadcareLicenseKeyTrialLimit'==_0x17df52||'uploadcareLicenseKeyUsageLimit'==_0x17df52){delete _0x77f7b2[_0x192a26],_0x3e0bed=_0x17df52,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5ec2d0}=this,_0x139aa8=_0x5ec2d0['commands']['get']('uploadcare');if(!_0x139aa8)return;const _0x3a9ff7=this['_normalizeConfigSourceList'](_0x5ec2d0['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2ba288,_0x4a4e4e)=>{const _0x56d218=this['_getIntegrationKey'](_0x4a4e4e['type']);return _0x2ba288[_0x56d218]||(_0x2ba288[_0x56d218]=[]),_0x2ba288[_0x56d218]['push'](_0x4a4e4e),_0x2ba288;},{});_0x5ec2d0['plugins']['has']('ImageInsertUI')&&_0x5ec2d0['commands']['get']('uploadcare')&&Object['entries'](_0x3a9ff7)['forEach'](([_0x184f1b,_0x161bdd])=>{_0x5ec2d0['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x184f1b,'observable':()=>_0x139aa8,'buttonViewCreator':()=>this['_createToolbarButton'](_0x161bdd),'formViewCreator':()=>this['_createDropdownButtons'](_0x161bdd),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x161bdd),'override':'assetManager'!==_0x184f1b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3cf272){const {locale:_0x47ca47}=this['editor'];return _0x3cf272['map'](_0x379ae9=>{const _0x235f99=_(_0x47ca47,_0x379ae9,'Insert');switch(_0x379ae9){case i['Local']:return{'icon':_0x3b887d,'type':i['Local'],..._0x235f99};case i['URL']:return{'icon':_0xc4de25,'type':i['URL'],..._0x235f99};case i['Dropbox']:return{'icon':_0x15e84f,'type':i['Dropbox'],..._0x235f99};case i['Facebook']:return{'icon':_0x9bdb1f,'type':i['Facebook'],..._0x235f99};case i['GDrive']:return{'icon':_0x361a87,'type':i['GDrive'],..._0x235f99};case i['GPhotos']:return{'icon':_0x197806,'type':i['GPhotos'],..._0x235f99};case i['OneDrive']:return{'icon':_0x234ec2,'type':i['OneDrive'],..._0x235f99};}});}['_getIntegrationKey'](_0x45fa4b){switch(_0x45fa4b){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5a77bf,_0x28d1ac){const _0x55c2a5=this['editor'],_0x611b86=new _0x5a77bf(_0x55c2a5['locale']),_0x3a8485=_0x55c2a5['commands']['get']('uploadcare');return _0x611b86['bind']('isEnabled')['to'](_0x3a8485),_0x611b86['on']('execute',()=>{_0x3a8485['execute'](_0x28d1ac);}),_0x611b86;}['_createToolbarButton'](_0x3c1e90){const {locale:_0x198e35}=this['editor'],_0x468bb4=this['editor']['plugins']['get']('ImageInsertUI'),_0x463267=_0x3c1e90[0x0],_0x5b5a8a=this['_createButton'](_0x570821,_0x463267['type']);return _0x5b5a8a['icon']=_0x463267['icon'],_0x5b5a8a['bind']('label')['to'](_0x468bb4,'isImageSelected',_0x2f8265=>_(_0x198e35,_0x463267['type'],_0x2f8265?'Replace':'Insert')['text']),_0x5b5a8a['tooltip']=!0x0,_0x5b5a8a;}['_createDropdownButtons'](_0xb2ab37){const {locale:_0x4d9933}=this['editor'],_0x1d0c22=this['editor']['plugins']['get']('ImageInsertUI');return _0xb2ab37['map'](_0x32c976=>{const _0x4a7131=this['_createButton'](_0x570821,_0x32c976['type']);return _0x4a7131['withText']=!0x0,_0x4a7131['icon']=_0x32c976['icon'],_0x4a7131['bind']('label')['to'](_0x1d0c22,'isImageSelected',_0x38a9c9=>_(_0x4d9933,_0x32c976['type'],_0x38a9c9?'Replace':'Insert')['text']),_0x4a7131;});}['_createMenuBarButtons'](_0x556a93){return _0x556a93['map'](_0xceacac=>{const _0x2c6af5=this['_createButton'](_0x13a2c9,_0xceacac['type']);return _0x2c6af5['icon']=_0xceacac['icon'],_0x2c6af5['label']=_0xceacac['shortText'],_0x2c6af5;});}}class F extends _0x130440{['focusTracker'];['focusCycler'];constructor(_0x54bf3e){super(_0x54bf3e),this['focusTracker']=new _0x2183e0(),this['focusCycler']=new _0x12a9ca({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x34ba71,_0xbc084f){super(_0x34ba71),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-'+_0xbc084f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x258035,_0x561e90){const _0x300999=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x35855f=>_0x35855f<=_0x561e90)['map'](_0x10f2fd=>_0x258035['replace'](/\/$/,'')+'/-/resize/'+_0x10f2fd+'x/\x20'+_0x10f2fd+'w');return{'imageFallbackUrl':_0x258035,'imageSources':[{'srcset':_0x300999['join'](',\x20'),'sizes':'(max-width:\x20'+_0x561e90+'px)\x20100vw,\x20'+_0x561e90+'px','type':'image/webp'}]};}function S(_0x4141b8,_0x582616,_0x4bd4cd){const _0xc8f95=_0x4141b8['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xc8f95?parseInt(_0xc8f95[0x1],0xa):_0x582616,'height':_0xc8f95?parseInt(_0xc8f95[0x2],0xa):_0x4bd4cd};}function p(_0x3a323b,_0x3cd8f6){const _0x2baa9e=new(_0x4c5504())(),_0x74391c=_0x3a323b['plugins']['get']('ImageUtils'),_0x3efdfe=_0x3a323b['editing']['mapper']['toViewElement'](_0x3cd8f6),_0x857966=_0x74391c['findViewImgElement'](_0x3efdfe),_0x2c18d5=_0x3a323b['editing']['view']['domConverter']['viewToDom'](_0x857966),_0x4fff67=_0x3cd8f6['getAttribute']('width'),_0x176a8c=_0x3cd8f6['getAttribute']('height'),_0x1489ff='image-processing';_0x3a323b['editing']['view']['change'](_0x26d45f=>{_0x26d45f['addClass'](_0x1489ff,_0x3efdfe),_0x26d45f['setStyle']('aspect-ratio',_0x4fff67+'/'+_0x176a8c,_0x857966);}),_0x2baa9e['listenTo'](_0x2c18d5,'load',()=>{_0x2baa9e['stopListening'](_0x2c18d5,'load'),_0x3a323b['editing']['view']['change'](_0x1fd7d3=>{_0x1fd7d3['removeClass'](_0x1489ff,_0x3efdfe),_0x1fd7d3['removeStyle']('aspect-ratio',_0x857966);});});}function G(_0x44a076){if(Array['isArray'](_0x44a076)){const _0x237344=_0x44a076['map'](G);return _0x463667=>_0x237344['some'](_0x3e82ef=>_0x3e82ef(_0x463667));}if('origin'==_0x44a076){const _0x5200c6=_0x206eec['window']['location']['origin'];return _0x38306d=>new URL(_0x38306d,_0x206eec['document']['baseURI'])['origin']==_0x5200c6;}return'function'==typeof _0x44a076?_0x44a076:_0x44a076 instanceof RegExp?_0x142ac6=>!(!_0x142ac6['match'](_0x44a076)&&!_0x142ac6['replace'](/^https?:\/\//,'')['match'](_0x44a076)):()=>!0x1;}function A(_0x30a96d,_0x4f33a5){return _0x2b9835(_0x30a96d['target'])['includes'](_0x4f33a5);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xc15507(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2199dc,_0x215c08,_0x29c298){super(),this['_editor']=_0x2199dc,this['_editing']=_0x215c08,this['_dialog']=_0x2199dc['plugins']['get'](_0xadced8),this['_api']=_0x215c08['ctxElement']['getAPI'](),this['_type']=_0x29c298,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:_0x2eddec,model:_0x4fd0e0}=this['_editor'],_0x50b9fc=_0x4fd0e0['document']['selection']['getSelectedElement'](),_0x77d2bd=_0x50b9fc&&(_0x50b9fc['is']('element','imageBlock')||_0x50b9fc['is']('element','imageInline'));this['_formView']=new x(_0x2eddec,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3b887d,'title':_(_0x2eddec,this['_type'],_0x77d2bd?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x333918['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28b382=>!A(_0x28b382,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5f4966}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x301778=>{const _0x378c89=_0x5f4966['length'];for(const _0x3fd3ba of _0x5f4966){const _0xece680=_0x3fd3ba===_0x5f4966[_0x378c89-0x1],{cdnUrl:_0x5e1cd4,fileInfo:_0x507ee2}=_0x3fd3ba;if(!_0x5e1cd4||!_0x507ee2)continue;const {width:_0x4d759f,height:_0x239397}=_0x507ee2['imageInfo'],_0x56ec8e=S(_0x5e1cd4,_0x4d759f,_0x239397),_0x38c0bb=C(_0x5e1cd4,_0x56ec8e['width']),_0x56a4ea={'id':_0x507ee2['uuid'],'type':'image','attributes':{'imageDimension':_0x56ec8e,..._0x38c0bb}};this['_insertAsset'](_0x56a4ea,_0xece680,_0x301778);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x59d5f2=>{'idle'===_0x59d5f2['detail']['status']&&!_0x59d5f2['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x35eeb8,_0x155478,_0x354255){const _0x153123=this['_editor']['model']['document']['selection'],_0x586796=_0x153123['getSelectedElement'](),_0xd45383=!(!_0x586796||!_0x586796['is']('element','imageInline'));_0x354255['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x35eeb8,_0xd45383),_0x155478||_0x354255['setSelection'](_0x153123['getLastPosition']());}['_insertImage'](_0x9cfc06,_0x568cf6){const _0x593537=this['_editor'],{imageDimension:_0x5ec548,imageFallbackUrl:_0x4fd20a,imageSources:_0x52aced}=_0x9cfc06['attributes'];_0x593537['execute']('insertImage',{'imageType':_0x568cf6?'imageInline':null,'source':{'uploadcareImageId':_0x9cfc06['id'],'src':_0x4fd20a,'sources':_0x52aced,..._0x5ec548}});}}class w extends _0x29c7ff{['_editing'];['_controller']=null;static get['requires'](){return[_0xadced8,o];}constructor(_0x4f08da){super(_0x4f08da),this['_editing']=_0x4f08da['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x547b48){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x547b48);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5dada4,..._0x1dd5c2}){return _0x21c228(_0x5dada4,_0x1dd5c2);}static['getInfo'](_0x5aa8b2,_0x387c3f){return _0x6faec4(_0x5aa8b2,_0x387c3f);}}class f extends _0x9edcba{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2c0cb1,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x7cf5fb=this['editor'];if(!!!_0x7cf5fb['config']['get']('uploadcare'))return;_0x7cf5fb['plugins']['get'](_0x2c0cb1)['createUploadAdapter']=_0x15ed57=>new k(_0x15ed57,_0x7cf5fb),_0x7cf5fb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x78c94f,{imageElement:_0x20358e,data:_0x4335b7})=>{_0x7cf5fb['model']['change'](_0x67f6fa=>{_0x67f6fa['setAttribute']('uploadcareImageId',_0x4335b7['uploadcareImageId'],_0x20358e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1effd6,_0x5b2208){this['loader']=_0x1effd6,this['editor']=_0x5b2208,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x550264=await this['loader']['file'];return j['upload']({'file':_0x550264,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x5d1865=>{_0x5d1865&&_0x5d1865['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5d1865['value']);}})['then'](async _0x3028e5=>{const {imageFallbackUrl:_0x37677e,imageSources:_0x16c395}=C(_0x3028e5['cdnUrl'],_0x3028e5['imageInfo']['width']);return{'uploadcareImageId':_0x3028e5['uuid'],'default':_0x37677e,'sources':_0x16c395};})['catch'](()=>{const _0x249e50=t('Cannot\x20upload\x20file:')+('\x20'+_0x550264['name']+'.');return Promise['reject'](_0x249e50);});}['abort'](){this['controller']['abort']();}}class o extends _0x9edcba{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xadced8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1a1bdc){super(_0x1a1bdc),this['ucContextId']=_0x4c6026();}['init'](){const _0x33c1a9=this['editor'];_0x33c1a9['commands']['add']('uploadcare',new w(_0x33c1a9));}['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 _0x40aca8=_0x206eec['document']['querySelector']('input[uploadcare-file-input]');_0x40aca8&&_0x40aca8['remove']();}),async function(_0x3e3def){const _0x52213f=_0x31cfb9([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1612f3=0x535f8c3a,_0x20de88=0x5358f60a^_0x1612f3,_0x16e63b=window[_0x31cfb9([0x44,0x61,0x74,0x65])][_0x31cfb9([0x6e,0x6f,0x77])](),_0x556efe=_0x3e3def[_0x31cfb9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x235b50=new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3db636=>{_0x556efe[_0x31cfb9([0x6f,0x6e,0x63,0x65])](_0x31cfb9([0x72,0x65,0x61,0x64,0x79]),_0x3db636);}),_0x2cb5ef={[_0x31cfb9([0x6b,0x74,0x79])]:_0x31cfb9([0x45,0x43]),[_0x31cfb9([0x75,0x73,0x65])]:_0x31cfb9([0x73,0x69,0x67]),[_0x31cfb9([0x63,0x72,0x76])]:_0x31cfb9([0x50,0x2d,0x32,0x35,0x36]),[_0x31cfb9([0x78])]:_0x31cfb9([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]),[_0x31cfb9([0x79])]:_0x31cfb9([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]),[_0x31cfb9([0x61,0x6c,0x67])]:_0x31cfb9([0x45,0x53,0x32,0x35,0x36])},_0x37dc6f=_0x556efe[_0x31cfb9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31cfb9([0x67,0x65,0x74])](_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3436b9(){let _0x27bebd,_0x3c2903=null,_0x1dfa46=null;try{if(_0x37dc6f==_0x31cfb9([0x47,0x50,0x4c]))return _0x31cfb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27bebd=_0x2fb6ce(),!_0x27bebd)return _0x31cfb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27bebd[_0x31cfb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1dfa46=_0x12fd5b(_0x27bebd[_0x31cfb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27bebd[_0x31cfb9([0x6a,0x74,0x69])])),await _0x567b68()?_0x551b92()?_0x5e7ccf()?_0x31cfb9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1819fd()?(_0x27bebd[_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31cfb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c2903=_0x4f46c3(_0x31cfb9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27bebd[_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31cfb9([0x74,0x72,0x69,0x61,0x6c])&&(_0x3c2903=_0x4f46c3(_0x31cfb9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38363e()):_0x31cfb9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31cfb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31cfb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31cfb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e7ccf(){const _0x1c3315=[_0x31cfb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31cfb9([0x74,0x72,0x69,0x61,0x6c])][_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27bebd[_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16e63b/0x3e8:0xe10*_0x20de88;return _0x27bebd[_0x31cfb9([0x65,0x78,0x70])]<_0x1c3315;}function _0x551b92(){const _0x79bf3=_0x27bebd[_0x31cfb9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x79bf3&&(!!_0x79bf3[_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31cfb9([0x2a]))||!!_0x79bf3[_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31cfb9([0x55,0x50,0x4c,0x43])));}function _0x1819fd(){const _0x164a61=_0x27bebd[_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x164a61||0x0==_0x164a61[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8f3e93}=new URL(window[_0x31cfb9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x164a61[_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8f3e93))return!0x0;const _0x37b93b=_0x8f3e93[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])](_0x31cfb9([0x2e]));return _0x164a61[_0x31cfb9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8445a5=>_0x8445a5[_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31cfb9([0x2a])))[_0x31cfb9([0x6d,0x61,0x70])](_0x1ba428=>_0x1ba428[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])](_0x31cfb9([0x2e])))[_0x31cfb9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13f2ff=>_0x13f2ff[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x37b93b[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31cfb9([0x6d,0x61,0x70])](_0x2193dd=>Array(_0x37b93b[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2193dd[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31cfb9([0x66,0x69,0x6c,0x6c])](_0x2193dd[0x0]===_0x31cfb9([0x2a])?_0x31cfb9([0x2a]):'')[_0x31cfb9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2193dd))[_0x31cfb9([0x73,0x6f,0x6d,0x65])](_0x5e0fa4=>_0x37b93b[_0x31cfb9([0x65,0x76,0x65,0x72,0x79])]((_0x4f9a92,_0x43b4dc)=>_0x5e0fa4[_0x43b4dc]===_0x4f9a92||_0x5e0fa4[_0x43b4dc]===_0x31cfb9([0x2a])));}function _0x38363e(){return _0x3c2903&&_0x1dfa46?new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdd389e,_0x1f6ef9)=>{_0x3c2903[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0xdd389e,_0x1f6ef9),_0x1dfa46[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x219662=>{_0x219662!=_0x31cfb9([0x56,0x61,0x6c,0x69,0x64])&&_0xdd389e(_0x219662);},_0x1f6ef9);}):_0x3c2903||_0x1dfa46||_0x31cfb9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12fd5b(_0x210fa0,_0xc49382){return new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c7ac5=>{if(_0x55e129())return _0x4c7ac5(_0x31cfb9([0x56,0x61,0x6c,0x69,0x64]));_0x2844d8(),_0x556efe[_0x31cfb9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31cfb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x261d65=!0x1;const _0x5d2be6=_0x4c6026();function _0x1f31bd(_0x191672){return!!_0x191672&&(typeof _0x191672===_0x31cfb9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x191672===_0x31cfb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x191672[_0x31cfb9([0x74,0x68,0x65,0x6e])]===_0x31cfb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x191672[_0x31cfb9([0x63,0x61,0x74,0x63,0x68])]===_0x31cfb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x469d61(_0x327e9b){_0xf8d9eb(_0x327e9b)[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x578007=>{if(!_0x578007||_0x578007[_0x31cfb9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31cfb9([0x6f,0x6b]))return _0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33a1ab(_0x44c779(_0x5d2be6+_0xc49382))!=_0x578007[_0x31cfb9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31cfb9([0x56,0x61,0x6c,0x69,0x64]);})[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x59ccd8=>(_0x8ab0f5(),_0x59ccd8),()=>{const _0x2cbfc8=_0x1e6baa();return null==_0x2cbfc8?(_0x8ab0f5(),_0x31cfb9([0x56,0x61,0x6c,0x69,0x64])):_0x31cfb9(_0x16e63b-_0x2cbfc8>(0x7753083a^_0x1612f3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x4c7ac5)[_0x31cfb9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c7ac5(_0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f6a1a=0x536962ba^_0x1612f3;function _0x8ab0f5(){const _0x462896=_0x31cfb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x33a1ab(_0x44c779(_0x210fa0)),_0xa6426c=_0x3a9c26(_0x33a1ab(window[_0x31cfb9([0x4d,0x61,0x74,0x68])][_0x31cfb9([0x63,0x65,0x69,0x6c])](_0x16e63b/_0x2f6a1a)));window[_0x31cfb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31cfb9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x462896,_0xa6426c);}function _0x1e6baa(){const _0x1c6004=_0x31cfb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x33a1ab(_0x44c779(_0x210fa0)),_0x1be098=window[_0x31cfb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31cfb9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c6004);return _0x1be098?window[_0x31cfb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a9c26(_0x1be098),0x10)*_0x2f6a1a:null;}function _0xf8d9eb(_0x277539){return new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x542f66,_0x5bffcd)=>{_0x277539[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x542f66,_0x5bffcd),window[_0x31cfb9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5bffcd,0x535e58fa^_0x1612f3);});}}_0x556efe[_0x31cfb9([0x6f,0x6e])](_0x31cfb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e64d9,_0x34d3b8)=>{if(_0x34d3b8[0x0]!=_0x210fa0)return _0x4c7ac5(_0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34d3b8[0x1]={..._0x34d3b8[0x1],[_0x31cfb9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d2be6};},{[_0x31cfb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31cfb9([0x68,0x69,0x67,0x68])}),_0x556efe[_0x31cfb9([0x6f,0x6e])](_0x31cfb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a0c39=>{_0x1f31bd(_0x2a0c39[_0x31cfb9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x261d65=!0x0,_0x469d61(_0x2a0c39[_0x31cfb9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31cfb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31cfb9([0x6c,0x6f,0x77])}),_0x235b50[_0x31cfb9([0x74,0x68,0x65,0x6e])](()=>{_0x261d65||_0x4c7ac5(_0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x55e129(){return _0x556efe[_0x31cfb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31cfb9([0x76,0x69,0x65,0x77])][_0x31cfb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31cfb9([0x61,0x75,0x74,0x6f]);}function _0x2844d8(){_0x556efe[_0x31cfb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31cfb9([0x76,0x69,0x65,0x77])][_0x31cfb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31cfb9([0x61,0x75,0x74,0x6f]);}}function _0x4f46c3(_0x1da464){const _0x1971c8=[new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x400de2=>setTimeout(_0x400de2,0x5356b2f6^_0x1612f3)),_0x235b50[_0x31cfb9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x210bec=>{let _0x3048ed=0x0;_0x556efe[_0x31cfb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x31cfb9([0x6f,0x6e])](_0x31cfb9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44a5d0,_0x333ec9)=>{_0x333ec9[0x0][_0x31cfb9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3048ed++,_0x3048ed==(0x535f8dc2^_0x1612f3)&&(_0x210bec(),_0x44a5d0[_0x31cfb9([0x6f,0x66,0x66])]());});}))];return window[_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31cfb9([0x72,0x61,0x63,0x65])](_0x1971c8)[_0x31cfb9([0x74,0x68,0x65,0x6e])](()=>_0x1da464);}async function _0xc4712e(){await _0x235b50,_0x556efe[_0x31cfb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x31cfb9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d0894,_0x556efe[_0x31cfb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x31cfb9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d0894,_0x556efe[_0x31cfb9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31cfb9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29f4e8(_0x2701fa){const _0x56f25a=_0x4eb6e2();_0x556efe[_0x56f25a]=_0x31cfb9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2701fa,_0x2701fa!=_0x31cfb9([0x56,0x61,0x6c,0x69,0x64])&&_0xc4712e();}function _0x4eb6e2(){const _0x90a60e=window[_0x31cfb9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31cfb9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31cfb9([0x6e,0x6f,0x77])]())[_0x31cfb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31cfb9([0x2e]),'');let _0x540667=_0x31cfb9([0x68]);for(let _0x26c4d7=0x0;_0x26c4d7<_0x90a60e[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26c4d7+=0x2){let _0x5e0b0a=window[_0x31cfb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x90a60e[_0x31cfb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26c4d7,_0x26c4d7+0x2));_0x5e0b0a>=_0x52213f[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e0b0a-=_0x52213f[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x540667+=_0x52213f[_0x5e0b0a];}return _0x540667;}function _0x2fb6ce(){const _0x49d63d=_0x37dc6f[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])](_0x31cfb9([0x2e]));if(0x3!=_0x49d63d[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x262e5e(_0x49d63d[0x1]);function _0x262e5e(_0xd0dc03){const _0xd2e8d4=_0xadaaf6(_0xd0dc03);return _0xd2e8d4&&_0x129a85()?_0xd2e8d4:null;function _0x129a85(){const _0xef8314=_0xd2e8d4[_0x31cfb9([0x6a,0x74,0x69])],_0x421ee4=window[_0x31cfb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xef8314[_0x31cfb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xef8314[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2bfb9f={..._0xd2e8d4,[_0x31cfb9([0x6a,0x74,0x69])]:_0xef8314[_0x31cfb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xef8314[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2bfb9f[_0x31cfb9([0x76,0x63])],_0x44c779(_0x2bfb9f)==_0x421ee4;}}}async function _0x567b68(){let _0x17acb7=!0x0;try{const _0x2505fe=_0x37dc6f[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])](_0x31cfb9([0x2e])),[_0x200073,_0x2b3d85,_0x2da1e7]=_0x2505fe;return _0x4dece8(_0x200073),await _0x338981(_0x200073,_0x2b3d85,_0x2da1e7),_0x17acb7;}catch{return!0x1;}function _0x4dece8(_0x25e366){const _0x52e032=_0xadaaf6(_0x25e366);_0x52e032&&_0x52e032[_0x31cfb9([0x61,0x6c,0x67])]==_0x31cfb9([0x45,0x53,0x32,0x35,0x36])||(_0x17acb7=!0x1);}async function _0x338981(_0x51a0e7,_0x55ea06,_0x458237){const _0x2b461d=window[_0x31cfb9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31cfb9([0x66,0x72,0x6f,0x6d])](_0x307dfd(_0x458237),_0x522098=>_0x522098[_0x31cfb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5df8a2=new window[(_0x31cfb9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31cfb9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51a0e7+_0x31cfb9([0x2e])+_0x55ea06),_0x1e2cf2=window[_0x31cfb9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31cfb9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e2cf2)return;const _0x3ed9bf=await _0x1e2cf2[_0x31cfb9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31cfb9([0x6a,0x77,0x6b]),_0x2cb5ef,{[_0x31cfb9([0x6e,0x61,0x6d,0x65])]:_0x31cfb9([0x45,0x43,0x44,0x53,0x41]),[_0x31cfb9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31cfb9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31cfb9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e2cf2[_0x31cfb9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31cfb9([0x6e,0x61,0x6d,0x65])]:_0x31cfb9([0x45,0x43,0x44,0x53,0x41]),[_0x31cfb9([0x68,0x61,0x73,0x68])]:{[_0x31cfb9([0x6e,0x61,0x6d,0x65])]:_0x31cfb9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ed9bf,_0x2b461d,_0x5df8a2)||(_0x17acb7=!0x1);}}function _0xadaaf6(_0x36ee82){return _0x36ee82[_0x31cfb9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31cfb9([0x65,0x79]))?JSON[_0x31cfb9([0x70,0x61,0x72,0x73,0x65])](_0x307dfd(_0x36ee82)):null;}function _0x307dfd(_0x5c3208){return window[_0x31cfb9([0x61,0x74,0x6f,0x62])](_0x5c3208[_0x31cfb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31cfb9([0x2b]))[_0x31cfb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31cfb9([0x2f])));}function _0x44c779(_0x290bef){let _0x46d2a1=0x1505;function _0x5ddf92(_0x5cdc70){for(let _0x67afdf=0x0;_0x67afdf<_0x5cdc70[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x67afdf++){const _0x15ef5f=_0x5cdc70[_0x31cfb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x67afdf);_0x46d2a1=(_0x46d2a1<<0x5)+_0x46d2a1+_0x15ef5f,_0x46d2a1&=_0x46d2a1;}}function _0x54b26f(_0x21c2c0){Array[_0x31cfb9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x21c2c0)?_0x21c2c0[_0x31cfb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54b26f):_0x21c2c0&&typeof _0x21c2c0==_0x31cfb9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31cfb9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x21c2c0)[_0x31cfb9([0x73,0x6f,0x72,0x74])]()[_0x31cfb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x999988,_0x2c16ad])=>{_0x5ddf92(_0x999988),_0x54b26f(_0x2c16ad);}):_0x5ddf92(window[_0x31cfb9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x21c2c0));}return _0x54b26f(_0x290bef),_0x46d2a1>>>0x0;}function _0x33a1ab(_0x32ac97){return _0x32ac97[_0x31cfb9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31cfb9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31cfb9([0x30]));}function _0x3a9c26(_0x386936){return _0x386936[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31cfb9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31cfb9([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d0894(){}function _0x31cfb9(_0x9360ed){return _0x9360ed['map'](_0x3aca29=>String['fromCharCode'](_0x3aca29))['join']('');}_0x29f4e8(await _0x3436b9());}(this);}['_initSchema'](){const _0x1f317e=this['editor']['model']['schema'];_0x1f317e['isRegistered']('imageBlock')&&_0x1f317e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1f317e['isRegistered']('imageInline')&&_0x1f317e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x55cb92=this['editor'];_0x55cb92['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x55cb92['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x25ee45=>_0x25ee45['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x32e76c=_0x55cb92['commands']['get']('replaceImageSource');_0x32e76c&&this['listenTo'](_0x32e76c,'cleanupImage',(_0x33cd58,[_0x35261f,_0x455204])=>{_0x35261f['removeAttribute']('uploadcareImageId',_0x455204);});}['_initConfig'](){const _0x413519=this['editor']['config']['get']('uploadcare.uploader')||{},_0x598d3f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3bf56a(_0x206eec['document'],'uc-config',{..._0x413519,'pubkey':_0x598d3f,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x574445=>{if('closeMax'==_0x574445)return'#uc-icon-arrow-down';},_0x206eec['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3bf56a(_0x206eec['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x206eec['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3de974=this['editor']['commands']['get']('insertImage');_0x3de974&&this['listenTo'](_0x3de974,'execute',()=>{const _0xe2a946=this['editor']['model']['document']['selection']['getSelectedElement']();_0xe2a946&&_0xe2a946['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xe2a946);});});const _0x2c21f2=this['editor']['commands']['get']('uploadcareImageReplace');_0x2c21f2&&this['listenTo'](_0x2c21f2,'execute',()=>{const _0x58c252=this['editor']['model']['document']['selection']['getSelectedElement']();_0x58c252&&_0x58c252['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x58c252);});});}}class tt extends _0x9edcba{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x30b2d7){super(_0x30b2d7),_0x30b2d7['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5b0283['defineComponents'](_0x5b0283),this['_defineLocale']();}['_defineLocale'](){const _0x1a78f0=this['editor']['config']['get']('uploadcare.locale'),_0x4d13d9=this['editor']['locale']['contentLanguage'];_0x1a78f0&&_0x5b0283['defineLocale'](_0x4d13d9,_0x1a78f0);}}class ii extends _0x130440{constructor(_0x2f18ce){super(_0x2f18ce);const t=_0x2f18ce['t'],_0x131466=this['bindTemplate'],_0x40fd42=new _0xca99f9();_0x40fd42['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':[_0x40fd42,{'text':_0x131466['to']('imageUploadProgress',_0x12b983=>t('Loading\x20image...')+'\x20('+(_0x12b983||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x130440{constructor(_0x3c3950){super(_0x3c3950);const t=_0x3c3950['t'];this['set']('errorType',null);const _0x248aea=new _0x570821(_0x3c3950);_0x248aea['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x248aea['withText']=!0x0,_0x248aea['class']='ck-button-action',_0x248aea['on']('execute',()=>{this['fire']('retry');}),_0x248aea['bind']('isVisible')['to'](this,'errorType',_0xf182d8=>'NotFound'!==_0xf182d8);const _0x393607=new _0x3a5aaf();_0x393607['content']=_0x559812,_0x393607['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2f2d79=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':[_0x393607,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2f2d79['to']('errorType',_0x51efdf=>t('NotFound'!==_0x51efdf?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x248aea]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x130440{constructor(_0x40de58,_0x44d936){super(_0x40de58);const _0x18b19b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x44d936,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x18b19b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2df95f,_0x15b31d,_0xe52137){super(_0x2df95f),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x2df95f),this['_errorView']=new ti(_0x2df95f),this['_editingView']=new ei(_0x2df95f,_0xe52137),this['_focusableView']=new _0x130440(_0x2df95f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x15b31d),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'],_0x5bd950=>{this['_addUploadcareImageEditorListeners'](_0x5bd950);});}),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'](_0x2452b3,_0x49875e){const _0x50cbe2='uc-cloud-image-editor',_0x25887a=_0x2452b3['querySelector'](_0x50cbe2);if(_0x25887a)return _0x49875e(_0x25887a);const _0x51b15f=new MutationObserver(_0x607542=>{const _0x4e9296=_0x607542['filter'](_0x3cbad5=>_0x3cbad5['target']===_0x2452b3&&_0x3cbad5['addedNodes']['length']>0x0&&_0x3cbad5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x50cbe2);_0x4e9296['length']&&(_0x51b15f['disconnect'](),_0x49875e(_0x4e9296[0x0]['addedNodes'][0x0]));});_0x51b15f['observe'](_0x2452b3,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5fff9e){_0x5fff9e['addEventListener']('apply',_0x4b2f62=>{this['fire']('apply',{'imageSrc':_0x4b2f62['detail']['cdnUrl']});}),_0x5fff9e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xc15507(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5d4ee3,_0x200f73,_0x19a8b5){super(),this['_editor']=_0x5d4ee3,this['_dialog']=_0x200f73,this['_imageElement']=_0x19a8b5,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 _0x221716=this['_imageElement'],_0x4f47f5=_0x221716['getAttribute']('uploadcareImageId'),_0x1fcf7e=_0x221716['getAttribute']('src');if(_0x4f47f5)await this['_loadImageInfo'](_0x4f47f5,_0x1fcf7e);else{if(this['_imageCache']['has'](_0x1fcf7e)){const _0x133b19=this['_imageCache']['get'](_0x1fcf7e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x133b19['url'],this['imageDimension']=_0x133b19['dimension'],this['imageId']=_0x133b19['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x433fbb}=this['_editor'],t=_0x433fbb['t'],_0x324f44=new X(_0x433fbb,this['imageStatus'],this['_attributes']);_0x324f44['bind']('status')['to'](this,'imageStatus'),_0x324f44['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x324f44['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x324f44['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x324f44,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5ee898,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x324f44,'position':_0x333918['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x324f44['focus']();},'onHide':()=>{_0x324f44['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xa7c6be=>!A(_0xa7c6be,_0x324f44['element'])}});}['_loadImageInfo'](_0x366541,_0x5682fe){return j['getInfo'](_0x366541,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x573226=>{const {width:_0x4e3048,height:_0xae803b}=_0x573226['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5682fe,this['imageDimension']={'width':_0x4e3048,'height':_0xae803b},this['imageId']=_0x366541;})['catch'](_0x469bde=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x469bde['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x6509e2,_0x3163c0){return this['_getImageAsFile'](_0x6509e2)['then'](_0x174f21=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3163c0['signal'],'file':_0x174f21,'onProgress':_0x392df9=>{_0x392df9&&_0x392df9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x392df9['value']));}}))['then'](_0x317b15=>{const {width:_0x149473,height:_0x16775a}=_0x317b15['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x317b15['cdnUrl'],this['imageDimension']={'width':_0x149473,'height':_0x16775a},this['imageId']=_0x317b15['uuid'],this['imageUploadProgress']=null;const _0x2b4edd=_0x6509e2['getAttribute']('src');this['_imageCache']['set'](_0x2b4edd,{'id':_0x317b15['uuid'],'url':_0x317b15['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x16d397=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x16d397['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xe9270e,_0x111fd1){_0xe9270e['on']('apply',(_0x356cfc,_0x1b4571)=>{this['_replaceImage'](_0x111fd1,_0x1b4571['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xe9270e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xe9270e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x522a,_0x109dad,_0x15cf88){const _0x3c5f44=this['_editor'],{width:_0x12ba0d,height:_0x8f21c1}=S(_0x109dad,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5d985b,imageSources:_0x1e6782}=C(_0x109dad,_0x12ba0d);_0x3c5f44['model']['change'](_0x404dbd=>{if('$graveyard'===_0x522a['root']['rootName']){_0x3c5f44['execute']('insertImage',{'imageType':_0x522a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x522a['getAttributes']()),'uploadcareImageId':_0x15cf88,'src':_0x5d985b,'sources':_0x1e6782,'width':_0x12ba0d,'height':_0x8f21c1}});const _0x1a012f=_0x522a['getChildren']();_0x522a=_0x3c5f44['model']['document']['selection']['getSelectedElement']();for(const _0xfe1f09 of _0x1a012f)_0x404dbd['append'](_0x404dbd['cloneElement'](_0xfe1f09),_0x522a);}else _0x404dbd['setSelection'](_0x522a,'on'),_0x3c5f44['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x522a['getAttributes']()),'uploadcareImageId':_0x15cf88,'src':_0x5d985b,'sources':_0x1e6782,'width':_0x12ba0d,'height':_0x8f21c1},_0x522a);_0x404dbd['setSelection'](_0x522a,'on');});}async['_getImageAsFile'](_0x37cdf2){const _0x5fe9b9=_0x206eec['window'],_0x5ee3bd=_0x206eec['document']['location']['href'],_0x3322c1=new _0x5fe9b9['URL'](_0x37cdf2['getAttribute']('src'),_0x5ee3bd);if('data:'===_0x3322c1['protocol']){const _0x44318e=_0x3322c1['href']['split'](','),_0x3908fc=_0x44318e[0x0]['match'](/:(.*?);/)[0x1],_0xd2bac6=_0x3908fc['split']('/')[0x1],_0x34229b=_0x5fe9b9['atob'](_0x44318e[_0x44318e['length']-0x1]);let _0x5206f9=_0x34229b['length'];const _0x8cb423=new _0x5fe9b9['Uint8Array'](_0x5206f9);for(;_0x5206f9--;)_0x8cb423[_0x5206f9]=_0x34229b['charCodeAt'](_0x5206f9);return new _0x5fe9b9['File']([_0x8cb423],'image.'+_0xd2bac6,{'type':_0x3908fc});}const _0x1520f6=_0x3322c1['href']['split']('/'),_0x4160b0=_0x1520f6[_0x1520f6['length']-0x1],_0x576385=_0x4160b0['split']('.')[0x1];return _0x5fe9b9['fetch'](_0x3322c1['href'])['then'](_0x4ba7b0=>_0x4ba7b0['clone']()['blob']())['then'](_0x6c41a=>new _0x5fe9b9['File']([_0x6c41a],_0x4160b0,{'type':'image/'+_0x576385}));}}class O extends _0x29c7ff{['imageEditController'];static get['requires'](){return[_0xadced8];}['_isEditable'];constructor(_0x144a2f){super(_0x144a2f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x33e792){const _0x5c3fda=G(_0x33e792);return _0x57d8f9=>!(!_0x57d8f9||!_0x57d8f9['is']('element','imageBlock')&&!_0x57d8f9['is']('element','imageInline'))&&(!!_0x57d8f9['hasAttribute']('uploadcareImageId')||!!_0x57d8f9['hasAttribute']('src')&&_0x5c3fda(_0x57d8f9['getAttribute']('src')));}(_0x144a2f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x169cde=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x169cde);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x543258=this['editor']['model']['document']['selection']['getSelectedElement']();_0x543258&&(_0x543258['is']('element','imageBlock')||_0x543258['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0xadced8),_0x543258),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x29c7ff{['refresh'](){const _0x46f02=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x46f02&&(_0x46f02['is']('element','imageBlock')||_0x46f02['is']('element','imageInline')));}['execute'](_0xf5e54b){const _0x4df41b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x567164=>{_0x567164['setAttributes'](_0xf5e54b,_0x4df41b),_0x567164['removeAttribute']('srcset',_0x4df41b),_0x567164['removeAttribute']('sizes',_0x4df41b);});}}class m extends _0x9edcba{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x284348,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3a275d}=this;_0x3a275d['commands']['add']('uploadcareImageEdit',new O(_0x3a275d)),_0x3a275d['commands']['add']('uploadcareImageReplace',new R(_0x3a275d));}}class g extends _0x9edcba{['_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 _0x3428a1=this['editor'];_0x3428a1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1e80e4=>{const _0x11507b=_0x3428a1['commands']['get']('uploadcareImageEdit'),_0x1bedfd=new _0x570821(_0x1e80e4),t=_0x1e80e4['t'];return _0x1bedfd['set']({'icon':_0x5ee898,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1bedfd['bind']('isEnabled')['to'](_0x11507b),_0x1bedfd['bind']('isOn')['to'](_0x11507b,'isActive'),this['listenTo'](_0x1bedfd,'execute',()=>{_0x3428a1['execute']('uploadcareImageEdit'),_0x3428a1['editing']['view']['focus']();}),_0x1bedfd;}),this['_initConfig']();}['_initConfig'](){const _0xc695d0=_0x3bf56a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc695d0),this['listenTo'](this['editor'],'destroy',()=>{_0xc695d0['remove']();});}}class et extends _0x9edcba{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x37b59f=>0x1!=_0x37b59f}};
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':_0x318695=>0x1!=_0x318695}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5f4ff4=>{const {af:{dictionary:_0x3a65c7,getPluralForm:_0x249b03}}={'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':_0x3e2f86=>0x1!=_0x3e2f86}};_0x5f4ff4['af']||={'dictionary':{},'getPluralForm':null},_0x5f4ff4['af']['dictionary']=Object['assign'](_0x5f4ff4['af']['dictionary'],_0x3a65c7),_0x5f4ff4['af']['getPluralForm']=_0x249b03;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2f8811=>{const {af:{dictionary:_0x59d2a5,getPluralForm:_0x79ff69}}={'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':_0x471a18=>0x1!=_0x471a18}};_0x2f8811['af']||={'dictionary':{},'getPluralForm':null},_0x2f8811['af']['dictionary']=Object['assign'](_0x2f8811['af']['dictionary'],_0x59d2a5),_0x2f8811['af']['getPluralForm']=_0x79ff69;})(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':_0x144220=>0x0==_0x144220?0x0:0x1==_0x144220?0x1:0x2==_0x144220?0x2:_0x144220%0x64>=0x3&&_0x144220%0x64<=0xa?0x3:_0x144220%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':_0x3c1c29=>0x0==_0x3c1c29?0x0:0x1==_0x3c1c29?0x1:0x2==_0x3c1c29?0x2:_0x3c1c29%0x64>=0x3&&_0x3c1c29%0x64<=0xa?0x3:_0x3c1c29%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11151d=>{const {ar:{dictionary:_0x389e3a,getPluralForm:_0x59f34d}}={'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':_0x827547=>0x0==_0x827547?0x0:0x1==_0x827547?0x1:0x2==_0x827547?0x2:_0x827547%0x64>=0x3&&_0x827547%0x64<=0xa?0x3:_0x827547%0x64>=0xb?0x4:0x5}};_0x11151d['ar']||={'dictionary':{},'getPluralForm':null},_0x11151d['ar']['dictionary']=Object['assign'](_0x11151d['ar']['dictionary'],_0x389e3a),_0x11151d['ar']['getPluralForm']=_0x59f34d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5ebf97=>{const {ar:{dictionary:_0x34e8f8,getPluralForm:_0x4f8b82}}={'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':_0x5694d3=>0x0==_0x5694d3?0x0:0x1==_0x5694d3?0x1:0x2==_0x5694d3?0x2:_0x5694d3%0x64>=0x3&&_0x5694d3%0x64<=0xa?0x3:_0x5694d3%0x64>=0xb?0x4:0x5}};_0x5ebf97['ar']||={'dictionary':{},'getPluralForm':null},_0x5ebf97['ar']['dictionary']=Object['assign'](_0x5ebf97['ar']['dictionary'],_0x34e8f8),_0x5ebf97['ar']['getPluralForm']=_0x4f8b82;})(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':_0x2eb84b=>0x1!=_0x2eb84b}};
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':_0x32fa60=>0x1!=_0x32fa60}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3b3b40=>{const {ast:{dictionary:_0x480302,getPluralForm:_0x2a3f21}}={'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':_0x5692fc=>0x1!=_0x5692fc}};_0x3b3b40['ast']||={'dictionary':{},'getPluralForm':null},_0x3b3b40['ast']['dictionary']=Object['assign'](_0x3b3b40['ast']['dictionary'],_0x480302),_0x3b3b40['ast']['getPluralForm']=_0x2a3f21;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x176e91=>{const {ast:{dictionary:_0x4eb8a6,getPluralForm:_0x1612eb}}={'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':_0x4ae321=>0x1!=_0x4ae321}};_0x176e91['ast']||={'dictionary':{},'getPluralForm':null},_0x176e91['ast']['dictionary']=Object['assign'](_0x176e91['ast']['dictionary'],_0x4eb8a6),_0x176e91['ast']['getPluralForm']=_0x1612eb;})(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':_0x665649=>0x1!=_0x665649}};
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':_0x30582c=>0x1!=_0x30582c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3e4be0=>{const {az:{dictionary:_0x4ddcd2,getPluralForm:_0x2f11e0}}={'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':_0x418574=>0x1!=_0x418574}};_0x3e4be0['az']||={'dictionary':{},'getPluralForm':null},_0x3e4be0['az']['dictionary']=Object['assign'](_0x3e4be0['az']['dictionary'],_0x4ddcd2),_0x3e4be0['az']['getPluralForm']=_0x2f11e0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x206606=>{const {az:{dictionary:_0x3dcc58,getPluralForm:_0x5e33c6}}={'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':_0x21af0b=>0x1!=_0x21af0b}};_0x206606['az']||={'dictionary':{},'getPluralForm':null},_0x206606['az']['dictionary']=Object['assign'](_0x206606['az']['dictionary'],_0x3dcc58),_0x206606['az']['getPluralForm']=_0x5e33c6;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xb19083=>_0xb19083%0xa==0x1&&_0xb19083%0x64!=0xb?0x0:_0xb19083%0xa>=0x2&&_0xb19083%0xa<=0x4&&(_0xb19083%0x64<0xa||_0xb19083%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5c048b=>_0x5c048b%0xa==0x1&&_0x5c048b%0x64!=0xb?0x0:_0x5c048b%0xa>=0x2&&_0x5c048b%0xa<=0x4&&(_0x5c048b%0x64<0xa||_0x5c048b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa39ab3=>{const {be:{dictionary:_0x4a7a89,getPluralForm:_0x573433}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4b7894=>_0x4b7894%0xa==0x1&&_0x4b7894%0x64!=0xb?0x0:_0x4b7894%0xa>=0x2&&_0x4b7894%0xa<=0x4&&(_0x4b7894%0x64<0xa||_0x4b7894%0x64>=0x14)?0x1:0x2}};_0xa39ab3['be']||={'dictionary':{},'getPluralForm':null},_0xa39ab3['be']['dictionary']=Object['assign'](_0xa39ab3['be']['dictionary'],_0x4a7a89),_0xa39ab3['be']['getPluralForm']=_0x573433;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4c3a4b=>{const {be:{dictionary:_0x386243,getPluralForm:_0x1326bd}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x21261f=>_0x21261f%0xa==0x1&&_0x21261f%0x64!=0xb?0x0:_0x21261f%0xa>=0x2&&_0x21261f%0xa<=0x4&&(_0x21261f%0x64<0xa||_0x21261f%0x64>=0x14)?0x1:0x2}};_0x4c3a4b['be']||={'dictionary':{},'getPluralForm':null},_0x4c3a4b['be']['dictionary']=Object['assign'](_0x4c3a4b['be']['dictionary'],_0x386243),_0x4c3a4b['be']['getPluralForm']=_0x1326bd;})(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':_0x3223e5=>0x1!=_0x3223e5}};
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':_0x49aa69=>0x1!=_0x49aa69}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4ad914=>{const {bg:{dictionary:_0x302d8c,getPluralForm:_0xb19ff0}}={'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':_0x338cb5=>0x1!=_0x338cb5}};_0x4ad914['bg']||={'dictionary':{},'getPluralForm':null},_0x4ad914['bg']['dictionary']=Object['assign'](_0x4ad914['bg']['dictionary'],_0x302d8c),_0x4ad914['bg']['getPluralForm']=_0xb19ff0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x15f74a=>{const {bg:{dictionary:_0x179fda,getPluralForm:_0x2d22b1}}={'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':_0x1a5dfe=>0x1!=_0x1a5dfe}};_0x15f74a['bg']||={'dictionary':{},'getPluralForm':null},_0x15f74a['bg']['dictionary']=Object['assign'](_0x15f74a['bg']['dictionary'],_0x179fda),_0x15f74a['bg']['getPluralForm']=_0x2d22b1;})(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':_0x3e5024=>0x1!=_0x3e5024}};
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':_0x2ed49e=>0x1!=_0x2ed49e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x368503=>{const {bn:{dictionary:_0x3098c5,getPluralForm:_0x592346}}={'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':_0x5d39f7=>0x1!=_0x5d39f7}};_0x368503['bn']||={'dictionary':{},'getPluralForm':null},_0x368503['bn']['dictionary']=Object['assign'](_0x368503['bn']['dictionary'],_0x3098c5),_0x368503['bn']['getPluralForm']=_0x592346;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14088c=>{const {bn:{dictionary:_0x385ccb,getPluralForm:_0x52f789}}={'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':_0x5004c5=>0x1!=_0x5004c5}};_0x14088c['bn']||={'dictionary':{},'getPluralForm':null},_0x14088c['bn']['dictionary']=Object['assign'](_0x14088c['bn']['dictionary'],_0x385ccb),_0x14088c['bn']['getPluralForm']=_0x52f789;})(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':_0x347c3f=>_0x347c3f%0xa==0x1&&_0x347c3f%0x64!=0xb?0x0:_0x347c3f%0xa>=0x2&&_0x347c3f%0xa<=0x4&&(_0x347c3f%0x64<0xa||_0x347c3f%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':_0x1e992d=>_0x1e992d%0xa==0x1&&_0x1e992d%0x64!=0xb?0x0:_0x1e992d%0xa>=0x2&&_0x1e992d%0xa<=0x4&&(_0x1e992d%0x64<0xa||_0x1e992d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3866ac=>{const {bs:{dictionary:_0x26120e,getPluralForm:_0xcb8601}}={'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':_0x36a1e1=>_0x36a1e1%0xa==0x1&&_0x36a1e1%0x64!=0xb?0x0:_0x36a1e1%0xa>=0x2&&_0x36a1e1%0xa<=0x4&&(_0x36a1e1%0x64<0xa||_0x36a1e1%0x64>=0x14)?0x1:0x2}};_0x3866ac['bs']||={'dictionary':{},'getPluralForm':null},_0x3866ac['bs']['dictionary']=Object['assign'](_0x3866ac['bs']['dictionary'],_0x26120e),_0x3866ac['bs']['getPluralForm']=_0xcb8601;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8b1741=>{const {bs:{dictionary:_0x10cecd,getPluralForm:_0x13fdad}}={'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':_0x34b881=>_0x34b881%0xa==0x1&&_0x34b881%0x64!=0xb?0x0:_0x34b881%0xa>=0x2&&_0x34b881%0xa<=0x4&&(_0x34b881%0x64<0xa||_0x34b881%0x64>=0x14)?0x1:0x2}};_0x8b1741['bs']||={'dictionary':{},'getPluralForm':null},_0x8b1741['bs']['dictionary']=Object['assign'](_0x8b1741['bs']['dictionary'],_0x10cecd),_0x8b1741['bs']['getPluralForm']=_0x13fdad;})(window['CKEDITOR_TRANSLATIONS']||={});