@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251024.0 → 0.0.0-nightly-20251026.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 (175) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.d.ts +1 -1
  151. package/src/index.js +1 -1
  152. package/src/ui/uploadcarecontroller.js +2 -2
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.d.ts +54 -1
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  168. package/src/uploadcareimageedit.js +1 -1
  169. package/src/uploadcareui.js +1 -1
  170. package/src/uploadcareuploadadapter.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/dialogfocusmanagerview.js +1 -1
  173. package/src/utils/editingutils.js +1 -1
  174. package/src/utils/isancestor.js +1 -1
  175. 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 _0x23c6bd,Command as _0x5b7d58}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3e235f,IconGooglePhotos as _0xbd1acc,IconGoogleDrive as _0x15369f,IconFacebook as _0x1debb0,IconDropbox as _0x37f806,IconUploadcareLink as _0x2234e5,IconUploadcareImageUpload as _0x486b01,IconError as _0x5be35b,IconUploadcareImageEdit as _0x861744}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4fc422,MenuBarMenuListItemButtonView as _0x450170,View as _0x2a84ca,FocusCycler as _0x50ab80,Dialog as _0x1ce961,DialogViewPosition as _0x188eae,SpinnerView as _0x5efd71,IconView as _0x81a55f,Notification as _0xa9c4f2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x498422,DomEmitterMixin as _0xc7a66,global as _0xd8b1b9,getAncestors as _0xee87b3,ObservableMixin as _0x161fc5,uid as _0x132d62,createElement as _0x28166f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x50df8d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x12b49d,info as _0x4d5a01}from'@uploadcare/upload-client';import*as _0x4960a6 from'@uploadcare/file-uploader';var i=function(_0x3ae7a5){return _0x3ae7a5['Local']='local',_0x3ae7a5['URL']='url',_0x3ae7a5['Dropbox']='dropbox',_0x3ae7a5['GDrive']='gdrive',_0x3ae7a5['Facebook']='facebook',_0x3ae7a5['GPhotos']='gphotos',_0x3ae7a5['OneDrive']='onedrive',_0x3ae7a5;}({});function _(_0x1c2961,_0xd6141c,_0x4b6547){const t=_0x1c2961['t'],_0x2fe15e=_0x1c2961['t'];switch(_0xd6141c){case i['Local']:return{'text':_0x2fe15e('Insert'===_0x4b6547?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2fe15e('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4b6547?_0x2fe15e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2fe15e('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4b6547?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4b6547?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4b6547?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4b6547?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4b6547?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd6141c;}}class e extends _0x23c6bd{['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 _0x4a45c8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x53cfc9;for(const _0x5d90fb in _0x4a45c8){const _0x3349cd=_0x5d90fb,_0x559be8=_0x4a45c8[_0x3349cd];if('uploadcareLicenseKeyValid'==_0x559be8||'uploadcareLicenseKeyInvalid'==_0x559be8||'uploadcareLicenseKeyExpired'==_0x559be8||'uploadcareLicenseKeyDomainLimit'==_0x559be8||'uploadcareLicenseKeyNotAllowed'==_0x559be8||'uploadcareLicenseKeyEvaluationLimit'==_0x559be8||'uploadcareLicenseKeyTrialLimit'==_0x559be8||'uploadcareLicenseKeyUsageLimit'==_0x559be8){delete _0x4a45c8[_0x3349cd],_0x53cfc9=_0x559be8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x53cfc9&&_0x4a45c8['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x53cfc9&&_0x4a45c8['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x53cfc9&&_0x4a45c8['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x53cfc9&&_0x4a45c8['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x53cfc9&&_0x4a45c8['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x53cfc9&&_0x4a45c8['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x53cfc9&&_0x4a45c8['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2ad057}=this,_0x404033=_0x2ad057['commands']['get']('uploadcare');if(!_0x404033)return;const _0x5bb3ff=this['_normalizeConfigSourceList'](_0x2ad057['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3954d7,_0x25bc8d)=>{const _0x3f58fc=this['_getIntegrationKey'](_0x25bc8d['type']);return _0x3954d7[_0x3f58fc]||(_0x3954d7[_0x3f58fc]=[]),_0x3954d7[_0x3f58fc]['push'](_0x25bc8d),_0x3954d7;},{});_0x2ad057['plugins']['has']('ImageInsertUI')&&_0x2ad057['commands']['get']('uploadcare')&&Object['entries'](_0x5bb3ff)['forEach'](([_0x179498,_0x1c469f])=>{_0x2ad057['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x179498,'observable':()=>_0x404033,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1c469f),'formViewCreator':()=>this['_createDropdownButtons'](_0x1c469f),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1c469f),'override':'assetManager'!==_0x179498});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5c2ce7){const {locale:_0x5c5ba3}=this['editor'];return _0x5c2ce7['map'](_0x37f172=>{const _0x4b180d=_(_0x5c5ba3,_0x37f172,'Insert');switch(_0x37f172){case i['Local']:return{'icon':_0x486b01,'type':i['Local'],..._0x4b180d};case i['URL']:return{'icon':_0x2234e5,'type':i['URL'],..._0x4b180d};case i['Dropbox']:return{'icon':_0x37f806,'type':i['Dropbox'],..._0x4b180d};case i['Facebook']:return{'icon':_0x1debb0,'type':i['Facebook'],..._0x4b180d};case i['GDrive']:return{'icon':_0x15369f,'type':i['GDrive'],..._0x4b180d};case i['GPhotos']:return{'icon':_0xbd1acc,'type':i['GPhotos'],..._0x4b180d};case i['OneDrive']:return{'icon':_0x3e235f,'type':i['OneDrive'],..._0x4b180d};}});}['_getIntegrationKey'](_0x280b7b){switch(_0x280b7b){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x6fbb2d,_0x276ee5){const _0x3330e1=this['editor'],_0x3a9ef6=new _0x6fbb2d(_0x3330e1['locale']),_0x23c1cf=_0x3330e1['commands']['get']('uploadcare');return _0x3a9ef6['bind']('isEnabled')['to'](_0x23c1cf),_0x3a9ef6['on']('execute',()=>{_0x23c1cf['execute'](_0x276ee5);}),_0x3a9ef6;}['_createToolbarButton'](_0x200ce1){const {locale:_0xee52c5}=this['editor'],_0x44b3dd=this['editor']['plugins']['get']('ImageInsertUI'),_0x4bc689=_0x200ce1[0x0],_0x902710=this['_createButton'](_0x4fc422,_0x4bc689['type']);return _0x902710['icon']=_0x4bc689['icon'],_0x902710['bind']('label')['to'](_0x44b3dd,'isImageSelected',_0x656130=>_(_0xee52c5,_0x4bc689['type'],_0x656130?'Replace':'Insert')['text']),_0x902710['tooltip']=!0x0,_0x902710;}['_createDropdownButtons'](_0x4391b5){const {locale:_0x3efd18}=this['editor'],_0x24ccd0=this['editor']['plugins']['get']('ImageInsertUI');return _0x4391b5['map'](_0x5700a6=>{const _0x376636=this['_createButton'](_0x4fc422,_0x5700a6['type']);return _0x376636['withText']=!0x0,_0x376636['icon']=_0x5700a6['icon'],_0x376636['bind']('label')['to'](_0x24ccd0,'isImageSelected',_0x4d8c38=>_(_0x3efd18,_0x5700a6['type'],_0x4d8c38?'Replace':'Insert')['text']),_0x376636;});}['_createMenuBarButtons'](_0x41d616){return _0x41d616['map'](_0x1ac616=>{const _0x18c572=this['_createButton'](_0x450170,_0x1ac616['type']);return _0x18c572['icon']=_0x1ac616['icon'],_0x18c572['label']=_0x1ac616['shortText'],_0x18c572;});}}class F extends _0x2a84ca{['focusTracker'];['focusCycler'];constructor(_0x46b28c){super(_0x46b28c),this['focusTracker']=new _0x498422(),this['focusCycler']=new _0x50ab80({'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(_0x27264f,_0x365e70){super(_0x27264f),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-'+_0x365e70}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x489155,_0x51822f){const _0x4b2996=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x270038=>_0x270038<=_0x51822f)['map'](_0x96897a=>_0x489155['replace'](/\/$/,'')+'/-/resize/'+_0x96897a+'x/\x20'+_0x96897a+'w');return{'imageFallbackUrl':_0x489155,'imageSources':[{'srcset':_0x4b2996['join'](',\x20'),'sizes':'(max-width:\x20'+_0x51822f+'px)\x20100vw,\x20'+_0x51822f+'px','type':'image/webp'}]};}function S(_0x2d2155,_0x5bbd0d,_0x7ba62d){const _0x324bd8=_0x2d2155['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x324bd8?parseInt(_0x324bd8[0x1],0xa):_0x5bbd0d,'height':_0x324bd8?parseInt(_0x324bd8[0x2],0xa):_0x7ba62d};}function p(_0x937ad5,_0x3ab9a2){const _0x5d3719=new(_0xc7a66())(),_0x238cda=_0x937ad5['plugins']['get']('ImageUtils'),_0x219332=_0x937ad5['editing']['mapper']['toViewElement'](_0x3ab9a2),_0x59518b=_0x238cda['findViewImgElement'](_0x219332),_0x4e3721=_0x937ad5['editing']['view']['domConverter']['viewToDom'](_0x59518b),_0x15d256=_0x3ab9a2['getAttribute']('width'),_0xaafd5d=_0x3ab9a2['getAttribute']('height'),_0xdcceec='image-processing';_0x937ad5['editing']['view']['change'](_0x53b202=>{_0x53b202['addClass'](_0xdcceec,_0x219332),_0x53b202['setStyle']('aspect-ratio',_0x15d256+'/'+_0xaafd5d,_0x59518b);}),_0x5d3719['listenTo'](_0x4e3721,'load',()=>{_0x5d3719['stopListening'](_0x4e3721,'load'),_0x937ad5['editing']['view']['change'](_0x4a0444=>{_0x4a0444['removeClass'](_0xdcceec,_0x219332),_0x4a0444['removeStyle']('aspect-ratio',_0x59518b);});});}function G(_0x1587cd){if(Array['isArray'](_0x1587cd)){const _0x248806=_0x1587cd['map'](G);return _0x10918b=>_0x248806['some'](_0x51f294=>_0x51f294(_0x10918b));}if('origin'==_0x1587cd){const _0x3ab32a=_0xd8b1b9['window']['location']['origin'];return _0x4d86ec=>new URL(_0x4d86ec,_0xd8b1b9['document']['baseURI'])['origin']==_0x3ab32a;}return'function'==typeof _0x1587cd?_0x1587cd:_0x1587cd instanceof RegExp?_0x2c0b23=>!(!_0x2c0b23['match'](_0x1587cd)&&!_0x2c0b23['replace'](/^https?:\/\//,'')['match'](_0x1587cd)):()=>!0x1;}function A(_0x474204,_0x2b2414){return _0xee87b3(_0x474204['target'])['includes'](_0x2b2414);}class n extends/* #__PURE__ -- @preserve */
24
- _0x161fc5(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x513964,_0x4b0979,_0x33fc51){super(),this['_editor']=_0x513964,this['_editing']=_0x4b0979,this['_dialog']=_0x513964['plugins']['get'](_0x1ce961),this['_api']=_0x4b0979['ctxElement']['getAPI'](),this['_type']=_0x33fc51,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:_0x23dfeb,model:_0x28a00f}=this['_editor'],_0x1ba7dc=_0x28a00f['document']['selection']['getSelectedElement'](),_0x379758=_0x1ba7dc&&(_0x1ba7dc['is']('element','imageBlock')||_0x1ba7dc['is']('element','imageInline'));this['_formView']=new x(_0x23dfeb,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x486b01,'title':_(_0x23dfeb,this['_type'],_0x379758?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x188eae['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x18f1a7=>!A(_0x18f1a7,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2b4149}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x36dcad=>{const _0x113560=_0x2b4149['length'];for(const _0x3f2505 of _0x2b4149){const _0x2859fa=_0x3f2505===_0x2b4149[_0x113560-0x1],{cdnUrl:_0x46059b,fileInfo:_0x52df69}=_0x3f2505;if(!_0x46059b||!_0x52df69)continue;const {width:_0x25eadc,height:_0x5ab89b}=_0x52df69['imageInfo'],_0x53d6b5=S(_0x46059b,_0x25eadc,_0x5ab89b),_0x29e667=C(_0x46059b,_0x53d6b5['width']),_0x369db8={'id':_0x52df69['uuid'],'type':'image','attributes':{'imageDimension':_0x53d6b5,..._0x29e667}};this['_insertAsset'](_0x369db8,_0x2859fa,_0x36dcad);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2d1983=>{'idle'===_0x2d1983['detail']['status']&&!_0x2d1983['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2cbde3,_0x3e3f3a,_0x33ec14){const _0x1cdae2=this['_editor']['model']['document']['selection'],_0x5b607d=_0x1cdae2['getSelectedElement'](),_0x40c8e9=!(!_0x5b607d||!_0x5b607d['is']('element','imageInline'));_0x33ec14['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2cbde3,_0x40c8e9),_0x3e3f3a||_0x33ec14['setSelection'](_0x1cdae2['getLastPosition']());}['_insertImage'](_0xae7759,_0x8ab15c){const _0x405ffc=this['_editor'],{imageDimension:_0x47d380,imageFallbackUrl:_0x13bf2a,imageSources:_0x2e6fe8}=_0xae7759['attributes'];_0x405ffc['execute']('insertImage',{'imageType':_0x8ab15c?'imageInline':null,'source':{'uploadcareImageId':_0xae7759['id'],'src':_0x13bf2a,'sources':_0x2e6fe8,..._0x47d380}});}}class w extends _0x5b7d58{['_editing'];['_controller']=null;static get['requires'](){return[_0x1ce961,o];}constructor(_0x382dc9){super(_0x382dc9),this['_editing']=_0x382dc9['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x348604){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x348604);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x590a6c,..._0x1d3fe1}){return _0x12b49d(_0x590a6c,_0x1d3fe1);}static['getInfo'](_0x3b9a58,_0x17a833){return _0x4d5a01(_0x3b9a58,_0x17a833);}}class f extends _0x23c6bd{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x50df8d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x34c49a=this['editor'];if(!!!_0x34c49a['config']['get']('uploadcare'))return;_0x34c49a['plugins']['get'](_0x50df8d)['createUploadAdapter']=_0x5f382d=>new k(_0x5f382d,_0x34c49a),_0x34c49a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xd5f3d0,{imageElement:_0x398a50,data:_0x3efcd7})=>{_0x34c49a['model']['change'](_0x40280b=>{_0x40280b['setAttribute']('uploadcareImageId',_0x3efcd7['uploadcareImageId'],_0x398a50);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x12d530,_0x30b760){this['loader']=_0x12d530,this['editor']=_0x30b760,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x581f94=await this['loader']['file'];return j['upload']({'file':_0x581f94,'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':_0x50be5f=>{_0x50be5f&&_0x50be5f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x50be5f['value']);}})['then'](async _0x70653c=>{const {imageFallbackUrl:_0x5d34be,imageSources:_0x7f5e6a}=C(_0x70653c['cdnUrl'],_0x70653c['imageInfo']['width']);return{'uploadcareImageId':_0x70653c['uuid'],'default':_0x5d34be,'sources':_0x7f5e6a};})['catch'](()=>{const _0x51897c=t('Cannot\x20upload\x20file:')+('\x20'+_0x581f94['name']+'.');return Promise['reject'](_0x51897c);});}['abort'](){this['controller']['abort']();}}class o extends _0x23c6bd{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1ce961];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x53cb36){super(_0x53cb36),this['ucContextId']=_0x132d62();}['init'](){const _0x5629c1=this['editor'];_0x5629c1['commands']['add']('uploadcare',new w(_0x5629c1));}['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 _0x54c91d=_0xd8b1b9['document']['querySelector']('input[uploadcare-file-input]');_0x54c91d&&_0x54c91d['remove']();}),async function(_0x3b7780){const _0x19220c=_0x67a106([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]),_0x715faf=0x535f8c3a,_0x5c7b0e=0x5358fb22^_0x715faf,_0x5f4fb8=window[_0x67a106([0x44,0x61,0x74,0x65])][_0x67a106([0x6e,0x6f,0x77])](),_0x457dc9=_0x3b7780[_0x67a106([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd256ad=new window[(_0x67a106([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13aab0=>{_0x457dc9[_0x67a106([0x6f,0x6e,0x63,0x65])](_0x67a106([0x72,0x65,0x61,0x64,0x79]),_0x13aab0);}),_0x26df83={[_0x67a106([0x6b,0x74,0x79])]:_0x67a106([0x45,0x43]),[_0x67a106([0x75,0x73,0x65])]:_0x67a106([0x73,0x69,0x67]),[_0x67a106([0x63,0x72,0x76])]:_0x67a106([0x50,0x2d,0x32,0x35,0x36]),[_0x67a106([0x78])]:_0x67a106([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]),[_0x67a106([0x79])]:_0x67a106([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]),[_0x67a106([0x61,0x6c,0x67])]:_0x67a106([0x45,0x53,0x32,0x35,0x36])},_0x4036e6=_0x457dc9[_0x67a106([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x67a106([0x67,0x65,0x74])](_0x67a106([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e807a(){let _0x651ec,_0x4eb200=null,_0x1fcfb1=null;try{if(_0x4036e6==_0x67a106([0x47,0x50,0x4c]))return _0x67a106([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x651ec=_0x13ce23(),!_0x651ec)return _0x67a106([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x651ec[_0x67a106([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1fcfb1=_0x2e848a(_0x651ec[_0x67a106([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x651ec[_0x67a106([0x6a,0x74,0x69])])),await _0x582987()?_0x329cd8()?_0x3ca55f()?_0x67a106([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x45341e()?(_0x651ec[_0x67a106([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x67a106([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4eb200=_0x902a3a(_0x67a106([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x651ec[_0x67a106([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x67a106([0x74,0x72,0x69,0x61,0x6c])&&(_0x4eb200=_0x902a3a(_0x67a106([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41663e()):_0x67a106([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x67a106([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x67a106([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x67a106([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ca55f(){const _0x405984=[_0x67a106([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x67a106([0x74,0x72,0x69,0x61,0x6c])][_0x67a106([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x651ec[_0x67a106([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f4fb8/0x3e8:0xe10*_0x5c7b0e;return _0x651ec[_0x67a106([0x65,0x78,0x70])]<_0x405984;}function _0x329cd8(){const _0x341ce4=_0x651ec[_0x67a106([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x341ce4&&(!!_0x341ce4[_0x67a106([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x67a106([0x2a]))||!!_0x341ce4[_0x67a106([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x67a106([0x55,0x50,0x4c,0x43])));}function _0x45341e(){const _0x480cc2=_0x651ec[_0x67a106([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x480cc2||0x0==_0x480cc2[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x251298}=new URL(window[_0x67a106([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x480cc2[_0x67a106([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x251298))return!0x0;const _0x24da96=_0x251298[_0x67a106([0x73,0x70,0x6c,0x69,0x74])](_0x67a106([0x2e]));return _0x480cc2[_0x67a106([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc3c5d7=>_0xc3c5d7[_0x67a106([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x67a106([0x2a])))[_0x67a106([0x6d,0x61,0x70])](_0x43456d=>_0x43456d[_0x67a106([0x73,0x70,0x6c,0x69,0x74])](_0x67a106([0x2e])))[_0x67a106([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4094de=>_0x4094de[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24da96[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x67a106([0x6d,0x61,0x70])](_0x40da91=>Array(_0x24da96[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x40da91[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x67a106([0x66,0x69,0x6c,0x6c])](_0x40da91[0x0]===_0x67a106([0x2a])?_0x67a106([0x2a]):'')[_0x67a106([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x40da91))[_0x67a106([0x73,0x6f,0x6d,0x65])](_0x1303cd=>_0x24da96[_0x67a106([0x65,0x76,0x65,0x72,0x79])]((_0x3aca12,_0x1a561d)=>_0x1303cd[_0x1a561d]===_0x3aca12||_0x1303cd[_0x1a561d]===_0x67a106([0x2a])));}function _0x41663e(){return _0x4eb200&&_0x1fcfb1?new window[(_0x67a106([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x480089,_0x4aa650)=>{_0x4eb200[_0x67a106([0x74,0x68,0x65,0x6e])](_0x480089,_0x4aa650),_0x1fcfb1[_0x67a106([0x74,0x68,0x65,0x6e])](_0x527b1b=>{_0x527b1b!=_0x67a106([0x56,0x61,0x6c,0x69,0x64])&&_0x480089(_0x527b1b);},_0x4aa650);}):_0x4eb200||_0x1fcfb1||_0x67a106([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e848a(_0x582380,_0x4887ce){return new window[(_0x67a106([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x549bac=>{if(_0x457755())return _0x549bac(_0x67a106([0x56,0x61,0x6c,0x69,0x64]));_0x2cc48b(),_0x457dc9[_0x67a106([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x67a106([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c3ec7=!0x1;const _0x52496c=_0x132d62();function _0x5d5850(_0x2c5d75){return!!_0x2c5d75&&(typeof _0x2c5d75===_0x67a106([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c5d75===_0x67a106([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c5d75[_0x67a106([0x74,0x68,0x65,0x6e])]===_0x67a106([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c5d75[_0x67a106([0x63,0x61,0x74,0x63,0x68])]===_0x67a106([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f9129(_0x4b5f13){_0x22e677(_0x4b5f13)[_0x67a106([0x74,0x68,0x65,0x6e])](_0x3b2c55=>{if(!_0x3b2c55||_0x3b2c55[_0x67a106([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x67a106([0x6f,0x6b]))return _0x67a106([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x166e07(_0x9372b2(_0x52496c+_0x4887ce))!=_0x3b2c55[_0x67a106([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x67a106([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x67a106([0x56,0x61,0x6c,0x69,0x64]);})[_0x67a106([0x74,0x68,0x65,0x6e])](_0x44170f=>(_0x16c83f(),_0x44170f),()=>{const _0x398344=_0x2b65e9();return null==_0x398344?(_0x16c83f(),_0x67a106([0x56,0x61,0x6c,0x69,0x64])):_0x67a106(_0x5f4fb8-_0x398344>(0x7753083a^_0x715faf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x67a106([0x74,0x68,0x65,0x6e])](_0x549bac)[_0x67a106([0x63,0x61,0x74,0x63,0x68])](()=>{_0x549bac(_0x67a106([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4974ab=0x536962ba^_0x715faf;function _0x16c83f(){const _0x5780e8=_0x67a106([0x6c,0x6c,0x63,0x74,0x2d])+_0x166e07(_0x9372b2(_0x582380)),_0x46df88=_0x277b64(_0x166e07(window[_0x67a106([0x4d,0x61,0x74,0x68])][_0x67a106([0x63,0x65,0x69,0x6c])](_0x5f4fb8/_0x4974ab)));window[_0x67a106([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x67a106([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5780e8,_0x46df88);}function _0x2b65e9(){const _0x5e7c8a=_0x67a106([0x6c,0x6c,0x63,0x74,0x2d])+_0x166e07(_0x9372b2(_0x582380)),_0x2ecdf0=window[_0x67a106([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x67a106([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e7c8a);return _0x2ecdf0?window[_0x67a106([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x277b64(_0x2ecdf0),0x10)*_0x4974ab:null;}function _0x22e677(_0x3b9860){return new window[(_0x67a106([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa78134,_0x506949)=>{_0x3b9860[_0x67a106([0x74,0x68,0x65,0x6e])](_0xa78134,_0x506949),window[_0x67a106([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x506949,0x535e58fa^_0x715faf);});}}_0x457dc9[_0x67a106([0x6f,0x6e])](_0x67a106([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f399d,_0xe871ba)=>{if(_0xe871ba[0x0]!=_0x582380)return _0x549bac(_0x67a106([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe871ba[0x1]={..._0xe871ba[0x1],[_0x67a106([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52496c};},{[_0x67a106([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x67a106([0x68,0x69,0x67,0x68])}),_0x457dc9[_0x67a106([0x6f,0x6e])](_0x67a106([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55c0e0=>{_0x5d5850(_0x55c0e0[_0x67a106([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c3ec7=!0x0,_0x1f9129(_0x55c0e0[_0x67a106([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x67a106([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x67a106([0x6c,0x6f,0x77])}),_0xd256ad[_0x67a106([0x74,0x68,0x65,0x6e])](()=>{_0x2c3ec7||_0x549bac(_0x67a106([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x457755(){return _0x457dc9[_0x67a106([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x67a106([0x76,0x69,0x65,0x77])][_0x67a106([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x67a106([0x61,0x75,0x74,0x6f]);}function _0x2cc48b(){_0x457dc9[_0x67a106([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x67a106([0x76,0x69,0x65,0x77])][_0x67a106([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x67a106([0x61,0x75,0x74,0x6f]);}}function _0x902a3a(_0x4f0ede){const _0x202026=[new window[(_0x67a106([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ea882=>setTimeout(_0x5ea882,0x5356b2f6^_0x715faf)),_0xd256ad[_0x67a106([0x74,0x68,0x65,0x6e])](()=>new window[(_0x67a106([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c41ef=>{let _0x22aefc=0x0;_0x457dc9[_0x67a106([0x6d,0x6f,0x64,0x65,0x6c])][_0x67a106([0x6f,0x6e])](_0x67a106([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f54ea,_0x2f9a33)=>{_0x2f9a33[0x0][_0x67a106([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22aefc++,_0x22aefc==(0x535f8dc2^_0x715faf)&&(_0x2c41ef(),_0x5f54ea[_0x67a106([0x6f,0x66,0x66])]());});}))];return window[_0x67a106([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x67a106([0x72,0x61,0x63,0x65])](_0x202026)[_0x67a106([0x74,0x68,0x65,0x6e])](()=>_0x4f0ede);}async function _0x5f1809(){await _0xd256ad,_0x457dc9[_0x67a106([0x6d,0x6f,0x64,0x65,0x6c])][_0x67a106([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x101579,_0x457dc9[_0x67a106([0x6d,0x6f,0x64,0x65,0x6c])][_0x67a106([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x101579,_0x457dc9[_0x67a106([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x67a106([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37c0a6(_0x567dde){const _0x34774d=_0x33514d();_0x457dc9[_0x34774d]=_0x67a106([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x567dde,_0x567dde!=_0x67a106([0x56,0x61,0x6c,0x69,0x64])&&_0x5f1809();}function _0x33514d(){const _0x1ee2db=window[_0x67a106([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x67a106([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x67a106([0x6e,0x6f,0x77])]())[_0x67a106([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x67a106([0x2e]),'');let _0x14cba3=_0x67a106([0x68]);for(let _0x3b7c79=0x0;_0x3b7c79<_0x1ee2db[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b7c79+=0x2){let _0x40769c=window[_0x67a106([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ee2db[_0x67a106([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b7c79,_0x3b7c79+0x2));_0x40769c>=_0x19220c[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40769c-=_0x19220c[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14cba3+=_0x19220c[_0x40769c];}return _0x14cba3;}function _0x13ce23(){const _0x6586ff=_0x4036e6[_0x67a106([0x73,0x70,0x6c,0x69,0x74])](_0x67a106([0x2e]));if(0x3!=_0x6586ff[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f6c90(_0x6586ff[0x1]);function _0x3f6c90(_0x2a2ae5){const _0x394f68=_0x3f500a(_0x2a2ae5);return _0x394f68&&_0x1cc1f4()?_0x394f68:null;function _0x1cc1f4(){const _0x5e391a=_0x394f68[_0x67a106([0x6a,0x74,0x69])],_0x4e54e4=window[_0x67a106([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e391a[_0x67a106([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e391a[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48a351={..._0x394f68,[_0x67a106([0x6a,0x74,0x69])]:_0x5e391a[_0x67a106([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e391a[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48a351[_0x67a106([0x76,0x63])],_0x9372b2(_0x48a351)==_0x4e54e4;}}}async function _0x582987(){let _0x5c252c=!0x0;try{const _0x1b5b7e=_0x4036e6[_0x67a106([0x73,0x70,0x6c,0x69,0x74])](_0x67a106([0x2e])),[_0x47ba47,_0x521ea5,_0x36e585]=_0x1b5b7e;return _0x5699f8(_0x47ba47),await _0x27ce58(_0x47ba47,_0x521ea5,_0x36e585),_0x5c252c;}catch{return!0x1;}function _0x5699f8(_0x4462d7){const _0x15372f=_0x3f500a(_0x4462d7);_0x15372f&&_0x15372f[_0x67a106([0x61,0x6c,0x67])]==_0x67a106([0x45,0x53,0x32,0x35,0x36])||(_0x5c252c=!0x1);}async function _0x27ce58(_0x99f227,_0x4b73de,_0x40d310){const _0xa39b81=window[_0x67a106([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x67a106([0x66,0x72,0x6f,0x6d])](_0x5c6fef(_0x40d310),_0x2a7491=>_0x2a7491[_0x67a106([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c5c0d=new window[(_0x67a106([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x67a106([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x99f227+_0x67a106([0x2e])+_0x4b73de),_0x192fc6=window[_0x67a106([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x67a106([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x192fc6)return;const _0x48e300=await _0x192fc6[_0x67a106([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x67a106([0x6a,0x77,0x6b]),_0x26df83,{[_0x67a106([0x6e,0x61,0x6d,0x65])]:_0x67a106([0x45,0x43,0x44,0x53,0x41]),[_0x67a106([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x67a106([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x67a106([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x192fc6[_0x67a106([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x67a106([0x6e,0x61,0x6d,0x65])]:_0x67a106([0x45,0x43,0x44,0x53,0x41]),[_0x67a106([0x68,0x61,0x73,0x68])]:{[_0x67a106([0x6e,0x61,0x6d,0x65])]:_0x67a106([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48e300,_0xa39b81,_0x5c5c0d)||(_0x5c252c=!0x1);}}function _0x3f500a(_0x485c3a){return _0x485c3a[_0x67a106([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x67a106([0x65,0x79]))?JSON[_0x67a106([0x70,0x61,0x72,0x73,0x65])](_0x5c6fef(_0x485c3a)):null;}function _0x5c6fef(_0x47c2c5){return window[_0x67a106([0x61,0x74,0x6f,0x62])](_0x47c2c5[_0x67a106([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x67a106([0x2b]))[_0x67a106([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x67a106([0x2f])));}function _0x9372b2(_0x1caa68){let _0x3d1070=0x1505;function _0x4f414b(_0x44dc13){for(let _0x14a3fd=0x0;_0x14a3fd<_0x44dc13[_0x67a106([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14a3fd++){const _0x667979=_0x44dc13[_0x67a106([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14a3fd);_0x3d1070=(_0x3d1070<<0x5)+_0x3d1070+_0x667979,_0x3d1070&=_0x3d1070;}}function _0xd02965(_0x397a7d){Array[_0x67a106([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x397a7d)?_0x397a7d[_0x67a106([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd02965):_0x397a7d&&typeof _0x397a7d==_0x67a106([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x67a106([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x397a7d)[_0x67a106([0x73,0x6f,0x72,0x74])]()[_0x67a106([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c70c1,_0x5d9742])=>{_0x4f414b(_0x4c70c1),_0xd02965(_0x5d9742);}):_0x4f414b(window[_0x67a106([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x397a7d));}return _0xd02965(_0x1caa68),_0x3d1070>>>0x0;}function _0x166e07(_0x24ea74){return _0x24ea74[_0x67a106([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x67a106([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x67a106([0x30]));}function _0x277b64(_0xb2964b){return _0xb2964b[_0x67a106([0x73,0x70,0x6c,0x69,0x74])]('')[_0x67a106([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x67a106([0x6a,0x6f,0x69,0x6e])]('');}function _0x101579(){}function _0x67a106(_0x708d99){return _0x708d99['map'](_0x49054e=>String['fromCharCode'](_0x49054e))['join']('');}_0x37c0a6(await _0x4e807a());}(this);}['_initSchema'](){const _0x305f39=this['editor']['model']['schema'];_0x305f39['isRegistered']('imageBlock')&&_0x305f39['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x305f39['isRegistered']('imageInline')&&_0x305f39['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x19dce4=this['editor'];_0x19dce4['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x19dce4['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x23a0dd=>_0x23a0dd['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x9afa06=_0x19dce4['commands']['get']('replaceImageSource');_0x9afa06&&this['listenTo'](_0x9afa06,'cleanupImage',(_0x4e826e,[_0x20f9f1,_0x177823])=>{_0x20f9f1['removeAttribute']('uploadcareImageId',_0x177823);});}['_initConfig'](){const _0x5132ee=this['editor']['config']['get']('uploadcare.uploader')||{},_0x11922a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x28166f(_0xd8b1b9['document'],'uc-config',{..._0x5132ee,'pubkey':_0x11922a,'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']=_0x5ecd80=>{if('closeMax'==_0x5ecd80)return'#uc-icon-arrow-down';},_0xd8b1b9['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x28166f(_0xd8b1b9['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0xd8b1b9['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x96dd3e=this['editor']['commands']['get']('insertImage');_0x96dd3e&&this['listenTo'](_0x96dd3e,'execute',()=>{const _0x45cd0b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x45cd0b&&_0x45cd0b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x45cd0b);});});const _0x4f7ac2=this['editor']['commands']['get']('uploadcareImageReplace');_0x4f7ac2&&this['listenTo'](_0x4f7ac2,'execute',()=>{const _0x13620e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x13620e&&_0x13620e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x13620e);});});}}class tt extends _0x23c6bd{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x19b32e){super(_0x19b32e),_0x19b32e['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4960a6['defineComponents'](_0x4960a6);}}class ii extends _0x2a84ca{constructor(_0x3294c0){super(_0x3294c0);const t=_0x3294c0['t'],_0xbba753=this['bindTemplate'],_0xa0de2f=new _0x5efd71();_0xa0de2f['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':[_0xa0de2f,{'text':_0xbba753['to']('imageUploadProgress',_0x33211f=>t('Loading\x20image...')+'\x20('+(_0x33211f||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 _0x2a84ca{constructor(_0x27f673){super(_0x27f673);const t=_0x27f673['t'];this['set']('errorType',null);const _0x4deab9=new _0x4fc422(_0x27f673);_0x4deab9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4deab9['withText']=!0x0,_0x4deab9['class']='ck-button-action',_0x4deab9['on']('execute',()=>{this['fire']('retry');}),_0x4deab9['bind']('isVisible')['to'](this,'errorType',_0x148ff0=>'NotFound'!==_0x148ff0);const _0x2ebe06=new _0x81a55f();_0x2ebe06['content']=_0x5be35b,_0x2ebe06['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x21624f=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':[_0x2ebe06,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x21624f['to']('errorType',_0x476002=>t('NotFound'!==_0x476002?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4deab9]},{'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 _0x2a84ca{constructor(_0x5ebe89,_0x2f6a41){super(_0x5ebe89);const _0x556d65=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2f6a41,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x556d65['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5d6630,_0x53ecca,_0xebd8c8){super(_0x5d6630),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5d6630),this['_errorView']=new ti(_0x5d6630),this['_editingView']=new ei(_0x5d6630,_0xebd8c8),this['_focusableView']=new _0x2a84ca(_0x5d6630),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x53ecca),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'],_0x1b30af=>{this['_addUploadcareImageEditorListeners'](_0x1b30af);});}),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'](_0xd63202,_0x138c84){const _0x5bdc7e='uc-cloud-image-editor',_0x2575c8=_0xd63202['querySelector'](_0x5bdc7e);if(_0x2575c8)return _0x138c84(_0x2575c8);const _0x1250d2=new MutationObserver(_0x27574c=>{const _0x45de74=_0x27574c['filter'](_0x165bfd=>_0x165bfd['target']===_0xd63202&&_0x165bfd['addedNodes']['length']>0x0&&_0x165bfd['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5bdc7e);_0x45de74['length']&&(_0x1250d2['disconnect'](),_0x138c84(_0x45de74[0x0]['addedNodes'][0x0]));});_0x1250d2['observe'](_0xd63202,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x17a289){_0x17a289['addEventListener']('apply',_0x54e8e9=>{this['fire']('apply',{'imageSrc':_0x54e8e9['detail']['cdnUrl']});}),_0x17a289['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x161fc5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x36cd03,_0x43287c,_0x55fc35){super(),this['_editor']=_0x36cd03,this['_dialog']=_0x43287c,this['_imageElement']=_0x55fc35,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 _0x5b6674=this['_imageElement'],_0x6995c4=_0x5b6674['getAttribute']('uploadcareImageId'),_0x105513=_0x5b6674['getAttribute']('src');if(_0x6995c4)await this['_loadImageInfo'](_0x6995c4,_0x105513);else{if(this['_imageCache']['has'](_0x105513)){const _0x41da4b=this['_imageCache']['get'](_0x105513);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41da4b['url'],this['imageDimension']=_0x41da4b['dimension'],this['imageId']=_0x41da4b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5e9bec}=this['_editor'],t=_0x5e9bec['t'],_0x25a232=new X(_0x5e9bec,this['imageStatus'],this['_attributes']);_0x25a232['bind']('status')['to'](this,'imageStatus'),_0x25a232['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x25a232['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x25a232['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x25a232,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x861744,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x25a232,'position':_0x188eae['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x25a232['focus']();},'onHide':()=>{_0x25a232['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4b41de=>!A(_0x4b41de,_0x25a232['element'])}});}['_loadImageInfo'](_0x341dba,_0x50832f){return j['getInfo'](_0x341dba,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x363d39=>{const {width:_0x55e7d3,height:_0x1edd16}=_0x363d39['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50832f,this['imageDimension']={'width':_0x55e7d3,'height':_0x1edd16},this['imageId']=_0x341dba;})['catch'](_0x4b549d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4b549d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2c7767,_0x5c5a18){return this['_getImageAsFile'](_0x2c7767)['then'](_0x40161e=>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':_0x5c5a18['signal'],'file':_0x40161e,'onProgress':_0x10802d=>{_0x10802d&&_0x10802d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x10802d['value']));}}))['then'](_0x18df7f=>{const {width:_0x47ed7a,height:_0x160c36}=_0x18df7f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18df7f['cdnUrl'],this['imageDimension']={'width':_0x47ed7a,'height':_0x160c36},this['imageId']=_0x18df7f['uuid'],this['imageUploadProgress']=null;const _0x1bb79c=_0x2c7767['getAttribute']('src');this['_imageCache']['set'](_0x1bb79c,{'id':_0x18df7f['uuid'],'url':_0x18df7f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3fbad7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3fbad7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x24ea35,_0x49553d){_0x24ea35['on']('apply',(_0x132ed6,_0x354103)=>{this['_replaceImage'](_0x49553d,_0x354103['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x24ea35['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x24ea35['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4d7893,_0x29b827,_0x26cc77){const _0xdbc7a8=this['_editor'],{width:_0x1c0ad4,height:_0x1b2684}=S(_0x29b827,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x57767e,imageSources:_0x405f23}=C(_0x29b827,_0x1c0ad4);_0xdbc7a8['model']['change'](_0x3c0381=>{if('$graveyard'===_0x4d7893['root']['rootName']){_0xdbc7a8['execute']('insertImage',{'imageType':_0x4d7893['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4d7893['getAttributes']()),'uploadcareImageId':_0x26cc77,'src':_0x57767e,'sources':_0x405f23,'width':_0x1c0ad4,'height':_0x1b2684}});const _0x2ae09f=_0x4d7893['getChildren']();_0x4d7893=_0xdbc7a8['model']['document']['selection']['getSelectedElement']();for(const _0x133ac8 of _0x2ae09f)_0x3c0381['append'](_0x3c0381['cloneElement'](_0x133ac8),_0x4d7893);}else _0x3c0381['setSelection'](_0x4d7893,'on'),_0xdbc7a8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4d7893['getAttributes']()),'uploadcareImageId':_0x26cc77,'src':_0x57767e,'sources':_0x405f23,'width':_0x1c0ad4,'height':_0x1b2684},_0x4d7893);_0x3c0381['setSelection'](_0x4d7893,'on');});}async['_getImageAsFile'](_0x5582b1){const _0x41e36d=_0xd8b1b9['window'],_0x4528d0=_0xd8b1b9['document']['location']['href'],_0x3cc990=new _0x41e36d['URL'](_0x5582b1['getAttribute']('src'),_0x4528d0);if('data:'===_0x3cc990['protocol']){const _0x39dbe9=_0x3cc990['href']['split'](','),_0xc819de=_0x39dbe9[0x0]['match'](/:(.*?);/)[0x1],_0x3e982f=_0xc819de['split']('/')[0x1],_0x5abab6=_0x41e36d['atob'](_0x39dbe9[_0x39dbe9['length']-0x1]);let _0x4b01cc=_0x5abab6['length'];const _0x4fce2d=new _0x41e36d['Uint8Array'](_0x4b01cc);for(;_0x4b01cc--;)_0x4fce2d[_0x4b01cc]=_0x5abab6['charCodeAt'](_0x4b01cc);return new _0x41e36d['File']([_0x4fce2d],'image.'+_0x3e982f,{'type':_0xc819de});}const _0x29351f=_0x3cc990['href']['split']('/'),_0x297639=_0x29351f[_0x29351f['length']-0x1],_0x1f3831=_0x297639['split']('.')[0x1];return _0x41e36d['fetch'](_0x3cc990['href'])['then'](_0x542d3a=>_0x542d3a['clone']()['blob']())['then'](_0x56e59e=>new _0x41e36d['File']([_0x56e59e],_0x297639,{'type':'image/'+_0x1f3831}));}}class O extends _0x5b7d58{['imageEditController'];static get['requires'](){return[_0x1ce961];}['_isEditable'];constructor(_0x126f9d){super(_0x126f9d),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x15e01f){const _0x3885a8=G(_0x15e01f);return _0x5f1625=>!(!_0x5f1625||!_0x5f1625['is']('element','imageBlock')&&!_0x5f1625['is']('element','imageInline'))&&(!!_0x5f1625['hasAttribute']('uploadcareImageId')||!!_0x5f1625['hasAttribute']('src')&&_0x3885a8(_0x5f1625['getAttribute']('src')));}(_0x126f9d['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x9fda5b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x9fda5b);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4a58d3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a58d3&&(_0x4a58d3['is']('element','imageBlock')||_0x4a58d3['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1ce961),_0x4a58d3),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x5b7d58{['refresh'](){const _0x33684f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x33684f&&(_0x33684f['is']('element','imageBlock')||_0x33684f['is']('element','imageInline')));}['execute'](_0x5be129){const _0x4f954f=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x8125ac=>{_0x8125ac['setAttributes'](_0x5be129,_0x4f954f),_0x8125ac['removeAttribute']('srcset',_0x4f954f),_0x8125ac['removeAttribute']('sizes',_0x4f954f);});}}class m extends _0x23c6bd{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xa9c4f2,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2aff9c}=this;_0x2aff9c['commands']['add']('uploadcareImageEdit',new O(_0x2aff9c)),_0x2aff9c['commands']['add']('uploadcareImageReplace',new R(_0x2aff9c));}}class g extends _0x23c6bd{['_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 _0x3f61ca=this['editor'];_0x3f61ca['ui']['componentFactory']['add']('uploadcareImageEdit',_0xa11818=>{const _0x495edd=_0x3f61ca['commands']['get']('uploadcareImageEdit'),_0x31dc2f=new _0x4fc422(_0xa11818),t=_0xa11818['t'];return _0x31dc2f['set']({'icon':_0x861744,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x31dc2f['bind']('isEnabled')['to'](_0x495edd),_0x31dc2f['bind']('isOn')['to'](_0x495edd,'isActive'),this['listenTo'](_0x31dc2f,'execute',()=>{_0x3f61ca['execute']('uploadcareImageEdit'),_0x3f61ca['editing']['view']['focus']();}),_0x31dc2f;}),this['_initConfig']();}['_initConfig'](){const _0x3d8707=_0x28166f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3d8707),this['listenTo'](this['editor'],'destroy',()=>{_0x3d8707['remove']();});}}class et extends _0x23c6bd{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 _0x24b712,Command as _0xc3341e}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x86b756,IconGooglePhotos as _0x532b1d,IconGoogleDrive as _0x1e8465,IconFacebook as _0x146a60,IconDropbox as _0x75f8cb,IconUploadcareLink as _0x1d5f85,IconUploadcareImageUpload as _0xf9f7b5,IconError as _0x28401c,IconUploadcareImageEdit as _0x3cb0a6}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4f4a59,MenuBarMenuListItemButtonView as _0x32aa34,View as _0x2f1810,FocusCycler as _0x2e7a7c,Dialog as _0x557901,DialogViewPosition as _0x26d80b,SpinnerView as _0x18f59a,IconView as _0x2b7de3,Notification as _0x551eb0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5450be,DomEmitterMixin as _0x3b5c8f,global as _0x4e41ad,getAncestors as _0x3caaa1,ObservableMixin as _0x200730,uid as _0x49e0eb,createElement as _0x5c6661}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x226e7a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x118242,info as _0x1091e7}from'@uploadcare/upload-client';import*as _0x61c9c3 from'@uploadcare/file-uploader';var i=function(_0x4d6f7b){return _0x4d6f7b['Local']='local',_0x4d6f7b['URL']='url',_0x4d6f7b['Dropbox']='dropbox',_0x4d6f7b['GDrive']='gdrive',_0x4d6f7b['Facebook']='facebook',_0x4d6f7b['GPhotos']='gphotos',_0x4d6f7b['OneDrive']='onedrive',_0x4d6f7b;}({});function _(_0x1975d7,_0x23c92c,_0x1d6919){const t=_0x1975d7['t'],_0x58aea0=_0x1975d7['t'];switch(_0x23c92c){case i['Local']:return{'text':_0x58aea0('Insert'===_0x1d6919?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x58aea0('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1d6919?_0x58aea0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x58aea0('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1d6919?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1d6919?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1d6919?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1d6919?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1d6919?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x23c92c;}}class e extends _0x24b712{['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 _0x3e8e4e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4b6617;for(const _0x5afd8b in _0x3e8e4e){const _0x5c8db9=_0x5afd8b,_0x1ab46a=_0x3e8e4e[_0x5c8db9];if('uploadcareLicenseKeyValid'==_0x1ab46a||'uploadcareLicenseKeyInvalid'==_0x1ab46a||'uploadcareLicenseKeyExpired'==_0x1ab46a||'uploadcareLicenseKeyDomainLimit'==_0x1ab46a||'uploadcareLicenseKeyNotAllowed'==_0x1ab46a||'uploadcareLicenseKeyEvaluationLimit'==_0x1ab46a||'uploadcareLicenseKeyTrialLimit'==_0x1ab46a||'uploadcareLicenseKeyUsageLimit'==_0x1ab46a){delete _0x3e8e4e[_0x5c8db9],_0x4b6617=_0x1ab46a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4b6617&&_0x3e8e4e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4b6617&&_0x3e8e4e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4b6617&&_0x3e8e4e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4b6617&&_0x3e8e4e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4b6617&&_0x3e8e4e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4b6617&&_0x3e8e4e['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4b6617&&_0x3e8e4e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x497fe5}=this,_0x5f0c4a=_0x497fe5['commands']['get']('uploadcare');if(!_0x5f0c4a)return;const _0x4187dc=this['_normalizeConfigSourceList'](_0x497fe5['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3d9827,_0x38a93e)=>{const _0x147d3a=this['_getIntegrationKey'](_0x38a93e['type']);return _0x3d9827[_0x147d3a]||(_0x3d9827[_0x147d3a]=[]),_0x3d9827[_0x147d3a]['push'](_0x38a93e),_0x3d9827;},{});_0x497fe5['plugins']['has']('ImageInsertUI')&&_0x497fe5['commands']['get']('uploadcare')&&Object['entries'](_0x4187dc)['forEach'](([_0x14181e,_0xc497e3])=>{_0x497fe5['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x14181e,'observable':()=>_0x5f0c4a,'buttonViewCreator':()=>this['_createToolbarButton'](_0xc497e3),'formViewCreator':()=>this['_createDropdownButtons'](_0xc497e3),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xc497e3),'override':'assetManager'!==_0x14181e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x568659){const {locale:_0xeaace3}=this['editor'];return _0x568659['map'](_0x2beb01=>{const _0x35b65f=_(_0xeaace3,_0x2beb01,'Insert');switch(_0x2beb01){case i['Local']:return{'icon':_0xf9f7b5,'type':i['Local'],..._0x35b65f};case i['URL']:return{'icon':_0x1d5f85,'type':i['URL'],..._0x35b65f};case i['Dropbox']:return{'icon':_0x75f8cb,'type':i['Dropbox'],..._0x35b65f};case i['Facebook']:return{'icon':_0x146a60,'type':i['Facebook'],..._0x35b65f};case i['GDrive']:return{'icon':_0x1e8465,'type':i['GDrive'],..._0x35b65f};case i['GPhotos']:return{'icon':_0x532b1d,'type':i['GPhotos'],..._0x35b65f};case i['OneDrive']:return{'icon':_0x86b756,'type':i['OneDrive'],..._0x35b65f};}});}['_getIntegrationKey'](_0x42a288){switch(_0x42a288){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x328023,_0x4a994d){const _0x2ed5a4=this['editor'],_0x2eb167=new _0x328023(_0x2ed5a4['locale']),_0x30b1db=_0x2ed5a4['commands']['get']('uploadcare');return _0x2eb167['bind']('isEnabled')['to'](_0x30b1db),_0x2eb167['on']('execute',()=>{_0x30b1db['execute'](_0x4a994d);}),_0x2eb167;}['_createToolbarButton'](_0x20dbe3){const {locale:_0x579622}=this['editor'],_0x5db3ef=this['editor']['plugins']['get']('ImageInsertUI'),_0x10c303=_0x20dbe3[0x0],_0x58370f=this['_createButton'](_0x4f4a59,_0x10c303['type']);return _0x58370f['icon']=_0x10c303['icon'],_0x58370f['bind']('label')['to'](_0x5db3ef,'isImageSelected',_0x33dad9=>_(_0x579622,_0x10c303['type'],_0x33dad9?'Replace':'Insert')['text']),_0x58370f['tooltip']=!0x0,_0x58370f;}['_createDropdownButtons'](_0x1af767){const {locale:_0x4e90f0}=this['editor'],_0x3fcdde=this['editor']['plugins']['get']('ImageInsertUI');return _0x1af767['map'](_0x3c9171=>{const _0x46b831=this['_createButton'](_0x4f4a59,_0x3c9171['type']);return _0x46b831['withText']=!0x0,_0x46b831['icon']=_0x3c9171['icon'],_0x46b831['bind']('label')['to'](_0x3fcdde,'isImageSelected',_0x4e9c2d=>_(_0x4e90f0,_0x3c9171['type'],_0x4e9c2d?'Replace':'Insert')['text']),_0x46b831;});}['_createMenuBarButtons'](_0x39d7c7){return _0x39d7c7['map'](_0x66b5a=>{const _0x6586c1=this['_createButton'](_0x32aa34,_0x66b5a['type']);return _0x6586c1['icon']=_0x66b5a['icon'],_0x6586c1['label']=_0x66b5a['shortText'],_0x6586c1;});}}class F extends _0x2f1810{['focusTracker'];['focusCycler'];constructor(_0x433acc){super(_0x433acc),this['focusTracker']=new _0x5450be(),this['focusCycler']=new _0x2e7a7c({'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(_0x5a5e2f,_0x274f59){super(_0x5a5e2f),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-'+_0x274f59}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x230784,_0x46f1ba){const _0x2ec4a7=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3b4db9=>_0x3b4db9<=_0x46f1ba)['map'](_0x322fd4=>_0x230784['replace'](/\/$/,'')+'/-/resize/'+_0x322fd4+'x/\x20'+_0x322fd4+'w');return{'imageFallbackUrl':_0x230784,'imageSources':[{'srcset':_0x2ec4a7['join'](',\x20'),'sizes':'(max-width:\x20'+_0x46f1ba+'px)\x20100vw,\x20'+_0x46f1ba+'px','type':'image/webp'}]};}function S(_0x6124d6,_0x2da90f,_0x3cde13){const _0x120610=_0x6124d6['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x120610?parseInt(_0x120610[0x1],0xa):_0x2da90f,'height':_0x120610?parseInt(_0x120610[0x2],0xa):_0x3cde13};}function p(_0x4cf845,_0x53f717){const _0x2c88d7=new(_0x3b5c8f())(),_0xb8ac2c=_0x4cf845['plugins']['get']('ImageUtils'),_0x2d4b4b=_0x4cf845['editing']['mapper']['toViewElement'](_0x53f717),_0x4143c5=_0xb8ac2c['findViewImgElement'](_0x2d4b4b),_0x357f0d=_0x4cf845['editing']['view']['domConverter']['viewToDom'](_0x4143c5),_0x102bfd=_0x53f717['getAttribute']('width'),_0x26d807=_0x53f717['getAttribute']('height'),_0xb5c5cc='image-processing';_0x4cf845['editing']['view']['change'](_0x4d158d=>{_0x4d158d['addClass'](_0xb5c5cc,_0x2d4b4b),_0x4d158d['setStyle']('aspect-ratio',_0x102bfd+'/'+_0x26d807,_0x4143c5);}),_0x2c88d7['listenTo'](_0x357f0d,'load',()=>{_0x2c88d7['stopListening'](_0x357f0d,'load'),_0x4cf845['editing']['view']['change'](_0x1b1840=>{_0x1b1840['removeClass'](_0xb5c5cc,_0x2d4b4b),_0x1b1840['removeStyle']('aspect-ratio',_0x4143c5);});});}function z(_0x2791a1){if(Array['isArray'](_0x2791a1)){const _0x310784=_0x2791a1['map'](z);return _0x9d605a=>_0x310784['some'](_0x48edbd=>_0x48edbd(_0x9d605a));}if('origin'==_0x2791a1){const _0x29cfe2=_0x4e41ad['window']['location']['origin'];return _0x49f68d=>new URL(_0x49f68d,_0x4e41ad['document']['baseURI'])['origin']==_0x29cfe2;}return'function'==typeof _0x2791a1?_0x2791a1:_0x2791a1 instanceof RegExp?_0x29dc84=>!(!_0x29dc84['match'](_0x2791a1)&&!_0x29dc84['replace'](/^https?:\/\//,'')['match'](_0x2791a1)):()=>!0x1;}function A(_0x5c39f0,_0x524d83){return _0x3caaa1(_0x5c39f0['target'])['includes'](_0x524d83);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x200730(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x186d0f,_0x47462f,_0x314b0d){super(),this['_editor']=_0x186d0f,this['_editing']=_0x47462f,this['_dialog']=_0x186d0f['plugins']['get'](_0x557901),this['_api']=_0x47462f['ctxElement']['getAPI'](),this['_type']=_0x314b0d,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:_0x313dd0,model:_0x46de69}=this['_editor'],_0x30009e=_0x46de69['document']['selection']['getSelectedElement'](),_0x49d3af=_0x30009e&&(_0x30009e['is']('element','imageBlock')||_0x30009e['is']('element','imageInline'));this['_formView']=new x(_0x313dd0,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xf9f7b5,'title':_(_0x313dd0,this['_type'],_0x49d3af?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x26d80b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28fed2=>!A(_0x28fed2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1dc6f7}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2ef316=>{const _0x4c7b63=_0x1dc6f7['length'];for(const _0x47fae6 of _0x1dc6f7){const _0x4edfda=_0x47fae6===_0x1dc6f7[_0x4c7b63-0x1],{cdnUrl:_0x2656eb,fileInfo:_0xb70f75}=_0x47fae6;if(!_0x2656eb||!_0xb70f75)continue;const {width:_0x303b58,height:_0x423f90}=_0xb70f75['imageInfo'],_0x57013c=S(_0x2656eb,_0x303b58,_0x423f90),_0x37e869=C(_0x2656eb,_0x57013c['width']),_0x57cb13={'id':_0xb70f75['uuid'],'type':'image','attributes':{'imageDimension':_0x57013c,..._0x37e869}};this['_insertAsset'](_0x57cb13,_0x4edfda,_0x2ef316);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x49eb84=>{'idle'===_0x49eb84['detail']['status']&&!_0x49eb84['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x405217,_0x3634fb,_0x229e0e){const _0x3504e2=this['_editor']['model']['document']['selection'],_0x351828=_0x3504e2['getSelectedElement'](),_0x1914fe=!(!_0x351828||!_0x351828['is']('element','imageInline'));_0x229e0e['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x405217,_0x1914fe),_0x3634fb||_0x229e0e['setSelection'](_0x3504e2['getLastPosition']());}['_insertImage'](_0x4043f1,_0x52c281){const _0x21218e=this['_editor'],{imageDimension:_0x22d8fb,imageFallbackUrl:_0x389a68,imageSources:_0xe1f37c}=_0x4043f1['attributes'];_0x21218e['execute']('insertImage',{'imageType':_0x52c281?'imageInline':null,'source':{'uploadcareImageId':_0x4043f1['id'],'src':_0x389a68,'sources':_0xe1f37c,..._0x22d8fb}});}}class w extends _0xc3341e{['_editing'];['_controller']=null;static get['requires'](){return[_0x557901,o];}constructor(_0x2410ab){super(_0x2410ab),this['_editing']=_0x2410ab['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x237063){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x237063);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3975df,..._0x5014e4}){return _0x118242(_0x3975df,_0x5014e4);}static['getInfo'](_0x4a90cf,_0x289997){return _0x1091e7(_0x4a90cf,_0x289997);}}class f extends _0x24b712{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x226e7a,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4f744f=this['editor'];if(!!!_0x4f744f['config']['get']('uploadcare'))return;_0x4f744f['plugins']['get'](_0x226e7a)['createUploadAdapter']=_0x359d62=>new k(_0x359d62,_0x4f744f),_0x4f744f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4a2005,{imageElement:_0x2cf13b,data:_0x362f93})=>{_0x4f744f['model']['change'](_0x29c8ff=>{_0x29c8ff['setAttribute']('uploadcareImageId',_0x362f93['uploadcareImageId'],_0x2cf13b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xd761bf,_0x57193f){this['loader']=_0xd761bf,this['editor']=_0x57193f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x196c15=await this['loader']['file'];return j['upload']({'file':_0x196c15,'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':_0x248624=>{_0x248624&&_0x248624['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x248624['value']);}})['then'](async _0x4c2d22=>{const {imageFallbackUrl:_0x3ce552,imageSources:_0x27888a}=C(_0x4c2d22['cdnUrl'],_0x4c2d22['imageInfo']['width']);return{'uploadcareImageId':_0x4c2d22['uuid'],'default':_0x3ce552,'sources':_0x27888a};})['catch'](()=>{const _0xed5a39=t('Cannot\x20upload\x20file:')+('\x20'+_0x196c15['name']+'.');return Promise['reject'](_0xed5a39);});}['abort'](){this['controller']['abort']();}}class o extends _0x24b712{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x557901];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x86551b){super(_0x86551b),this['ucContextId']=_0x49e0eb();}['init'](){const _0x46c369=this['editor'];_0x46c369['commands']['add']('uploadcare',new w(_0x46c369));}['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 _0x546c83=_0x4e41ad['document']['querySelector']('input[uploadcare-file-input]');_0x546c83&&_0x546c83['remove']();}),async function(_0x48779c){const _0x5bfa36=_0x4ef87a([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]),_0x2442a5=0x535f8c3a,_0x41fff2=0x5358fb72^_0x2442a5,_0x58abdf=window[_0x4ef87a([0x44,0x61,0x74,0x65])][_0x4ef87a([0x6e,0x6f,0x77])](),_0x3912fb=_0x48779c[_0x4ef87a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12c533=new window[(_0x4ef87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x471ff5=>{_0x3912fb[_0x4ef87a([0x6f,0x6e,0x63,0x65])](_0x4ef87a([0x72,0x65,0x61,0x64,0x79]),_0x471ff5);}),_0x31187d={[_0x4ef87a([0x6b,0x74,0x79])]:_0x4ef87a([0x45,0x43]),[_0x4ef87a([0x75,0x73,0x65])]:_0x4ef87a([0x73,0x69,0x67]),[_0x4ef87a([0x63,0x72,0x76])]:_0x4ef87a([0x50,0x2d,0x32,0x35,0x36]),[_0x4ef87a([0x78])]:_0x4ef87a([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]),[_0x4ef87a([0x79])]:_0x4ef87a([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]),[_0x4ef87a([0x61,0x6c,0x67])]:_0x4ef87a([0x45,0x53,0x32,0x35,0x36])},_0x537d04=_0x3912fb[_0x4ef87a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ef87a([0x67,0x65,0x74])](_0x4ef87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x491392(){let _0x161307,_0x26bbe3=null,_0x38fa37=null;try{if(_0x537d04==_0x4ef87a([0x47,0x50,0x4c]))return _0x4ef87a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x161307=_0x4c63bd(),!_0x161307)return _0x4ef87a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x161307[_0x4ef87a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38fa37=_0x8022b1(_0x161307[_0x4ef87a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x161307[_0x4ef87a([0x6a,0x74,0x69])])),await _0x1e1232()?_0x1cd4b6()?_0x346795()?_0x4ef87a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4841b4()?(_0x161307[_0x4ef87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ef87a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26bbe3=_0x16b3a2(_0x4ef87a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x161307[_0x4ef87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ef87a([0x74,0x72,0x69,0x61,0x6c])&&(_0x26bbe3=_0x16b3a2(_0x4ef87a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1017c1()):_0x4ef87a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef87a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ef87a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ef87a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x346795(){const _0x4121cd=[_0x4ef87a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ef87a([0x74,0x72,0x69,0x61,0x6c])][_0x4ef87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x161307[_0x4ef87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x58abdf/0x3e8:0xe10*_0x41fff2;return _0x161307[_0x4ef87a([0x65,0x78,0x70])]<_0x4121cd;}function _0x1cd4b6(){const _0x367eba=_0x161307[_0x4ef87a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x367eba&&(!!_0x367eba[_0x4ef87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef87a([0x2a]))||!!_0x367eba[_0x4ef87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef87a([0x55,0x50,0x4c,0x43])));}function _0x4841b4(){const _0x2a01e6=_0x161307[_0x4ef87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a01e6||0x0==_0x2a01e6[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d7745}=new URL(window[_0x4ef87a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2a01e6[_0x4ef87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7745))return!0x0;const _0x3799e7=_0x1d7745[_0x4ef87a([0x73,0x70,0x6c,0x69,0x74])](_0x4ef87a([0x2e]));return _0x2a01e6[_0x4ef87a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dde77=>_0x1dde77[_0x4ef87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef87a([0x2a])))[_0x4ef87a([0x6d,0x61,0x70])](_0x5b23a6=>_0x5b23a6[_0x4ef87a([0x73,0x70,0x6c,0x69,0x74])](_0x4ef87a([0x2e])))[_0x4ef87a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x269122=>_0x269122[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3799e7[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ef87a([0x6d,0x61,0x70])](_0x39199d=>Array(_0x3799e7[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x39199d[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ef87a([0x66,0x69,0x6c,0x6c])](_0x39199d[0x0]===_0x4ef87a([0x2a])?_0x4ef87a([0x2a]):'')[_0x4ef87a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x39199d))[_0x4ef87a([0x73,0x6f,0x6d,0x65])](_0x2013d5=>_0x3799e7[_0x4ef87a([0x65,0x76,0x65,0x72,0x79])]((_0x19d2a0,_0x362463)=>_0x2013d5[_0x362463]===_0x19d2a0||_0x2013d5[_0x362463]===_0x4ef87a([0x2a])));}function _0x1017c1(){return _0x26bbe3&&_0x38fa37?new window[(_0x4ef87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56c002,_0x29ce1b)=>{_0x26bbe3[_0x4ef87a([0x74,0x68,0x65,0x6e])](_0x56c002,_0x29ce1b),_0x38fa37[_0x4ef87a([0x74,0x68,0x65,0x6e])](_0x2c9ec2=>{_0x2c9ec2!=_0x4ef87a([0x56,0x61,0x6c,0x69,0x64])&&_0x56c002(_0x2c9ec2);},_0x29ce1b);}):_0x26bbe3||_0x38fa37||_0x4ef87a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8022b1(_0x395aa3,_0x4b21dd){return new window[(_0x4ef87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30918b=>{if(_0x277941())return _0x30918b(_0x4ef87a([0x56,0x61,0x6c,0x69,0x64]));_0x3f1440(),_0x3912fb[_0x4ef87a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ef87a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x11bd56=!0x1;const _0x57ce51=_0x49e0eb();function _0x449a96(_0x228edc){return!!_0x228edc&&(typeof _0x228edc===_0x4ef87a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x228edc===_0x4ef87a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x228edc[_0x4ef87a([0x74,0x68,0x65,0x6e])]===_0x4ef87a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x228edc[_0x4ef87a([0x63,0x61,0x74,0x63,0x68])]===_0x4ef87a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x321acf(_0x560314){_0x12c713(_0x560314)[_0x4ef87a([0x74,0x68,0x65,0x6e])](_0x5af5b8=>{if(!_0x5af5b8||_0x5af5b8[_0x4ef87a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ef87a([0x6f,0x6b]))return _0x4ef87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x210dc4(_0xe3f15a(_0x57ce51+_0x4b21dd))!=_0x5af5b8[_0x4ef87a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ef87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef87a([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef87a([0x74,0x68,0x65,0x6e])](_0x527b3d=>(_0x176b67(),_0x527b3d),()=>{const _0x119e36=_0x243eac();return null==_0x119e36?(_0x176b67(),_0x4ef87a([0x56,0x61,0x6c,0x69,0x64])):_0x4ef87a(_0x58abdf-_0x119e36>(0x7753083a^_0x2442a5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef87a([0x74,0x68,0x65,0x6e])](_0x30918b)[_0x4ef87a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x30918b(_0x4ef87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44031c=0x536962ba^_0x2442a5;function _0x176b67(){const _0x11a2e5=_0x4ef87a([0x6c,0x6c,0x63,0x74,0x2d])+_0x210dc4(_0xe3f15a(_0x395aa3)),_0x4a9b62=_0x403874(_0x210dc4(window[_0x4ef87a([0x4d,0x61,0x74,0x68])][_0x4ef87a([0x63,0x65,0x69,0x6c])](_0x58abdf/_0x44031c)));window[_0x4ef87a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef87a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11a2e5,_0x4a9b62);}function _0x243eac(){const _0x400238=_0x4ef87a([0x6c,0x6c,0x63,0x74,0x2d])+_0x210dc4(_0xe3f15a(_0x395aa3)),_0x3dd371=window[_0x4ef87a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef87a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x400238);return _0x3dd371?window[_0x4ef87a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x403874(_0x3dd371),0x10)*_0x44031c:null;}function _0x12c713(_0xf342a4){return new window[(_0x4ef87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcef02f,_0x4213ee)=>{_0xf342a4[_0x4ef87a([0x74,0x68,0x65,0x6e])](_0xcef02f,_0x4213ee),window[_0x4ef87a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4213ee,0x535e58fa^_0x2442a5);});}}_0x3912fb[_0x4ef87a([0x6f,0x6e])](_0x4ef87a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x418402,_0x1fc96c)=>{if(_0x1fc96c[0x0]!=_0x395aa3)return _0x30918b(_0x4ef87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fc96c[0x1]={..._0x1fc96c[0x1],[_0x4ef87a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x57ce51};},{[_0x4ef87a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef87a([0x68,0x69,0x67,0x68])}),_0x3912fb[_0x4ef87a([0x6f,0x6e])](_0x4ef87a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5192fb=>{_0x449a96(_0x5192fb[_0x4ef87a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x11bd56=!0x0,_0x321acf(_0x5192fb[_0x4ef87a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ef87a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef87a([0x6c,0x6f,0x77])}),_0x12c533[_0x4ef87a([0x74,0x68,0x65,0x6e])](()=>{_0x11bd56||_0x30918b(_0x4ef87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x277941(){return _0x3912fb[_0x4ef87a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef87a([0x76,0x69,0x65,0x77])][_0x4ef87a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ef87a([0x61,0x75,0x74,0x6f]);}function _0x3f1440(){_0x3912fb[_0x4ef87a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef87a([0x76,0x69,0x65,0x77])][_0x4ef87a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ef87a([0x61,0x75,0x74,0x6f]);}}function _0x16b3a2(_0xf9ffa2){const _0x2e4cf3=[new window[(_0x4ef87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5240dc=>setTimeout(_0x5240dc,0x5356b2f6^_0x2442a5)),_0x12c533[_0x4ef87a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ef87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28b8aa=>{let _0x20b500=0x0;_0x3912fb[_0x4ef87a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef87a([0x6f,0x6e])](_0x4ef87a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a1e5b,_0x388d67)=>{_0x388d67[0x0][_0x4ef87a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x20b500++,_0x20b500==(0x535f8dc2^_0x2442a5)&&(_0x28b8aa(),_0x5a1e5b[_0x4ef87a([0x6f,0x66,0x66])]());});}))];return window[_0x4ef87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ef87a([0x72,0x61,0x63,0x65])](_0x2e4cf3)[_0x4ef87a([0x74,0x68,0x65,0x6e])](()=>_0xf9ffa2);}async function _0x107c83(){await _0x12c533,_0x3912fb[_0x4ef87a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef87a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58b0d5,_0x3912fb[_0x4ef87a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef87a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58b0d5,_0x3912fb[_0x4ef87a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ef87a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f7942(_0x1ea0b6){const _0x436743=_0xa03ab6();_0x3912fb[_0x436743]=_0x4ef87a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ea0b6,_0x1ea0b6!=_0x4ef87a([0x56,0x61,0x6c,0x69,0x64])&&_0x107c83();}function _0xa03ab6(){const _0x21302b=window[_0x4ef87a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ef87a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ef87a([0x6e,0x6f,0x77])]())[_0x4ef87a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ef87a([0x2e]),'');let _0x1c790f=_0x4ef87a([0x68]);for(let _0x1f2312=0x0;_0x1f2312<_0x21302b[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f2312+=0x2){let _0x36b90f=window[_0x4ef87a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21302b[_0x4ef87a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f2312,_0x1f2312+0x2));_0x36b90f>=_0x5bfa36[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36b90f-=_0x5bfa36[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c790f+=_0x5bfa36[_0x36b90f];}return _0x1c790f;}function _0x4c63bd(){const _0x4e9ce6=_0x537d04[_0x4ef87a([0x73,0x70,0x6c,0x69,0x74])](_0x4ef87a([0x2e]));if(0x3!=_0x4e9ce6[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9bdd59(_0x4e9ce6[0x1]);function _0x9bdd59(_0x8acd2e){const _0xaf6f89=_0x1400d0(_0x8acd2e);return _0xaf6f89&&_0x4500fd()?_0xaf6f89:null;function _0x4500fd(){const _0x4fb3a6=_0xaf6f89[_0x4ef87a([0x6a,0x74,0x69])],_0x112812=window[_0x4ef87a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fb3a6[_0x4ef87a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4fb3a6[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x205784={..._0xaf6f89,[_0x4ef87a([0x6a,0x74,0x69])]:_0x4fb3a6[_0x4ef87a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4fb3a6[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x205784[_0x4ef87a([0x76,0x63])],_0xe3f15a(_0x205784)==_0x112812;}}}async function _0x1e1232(){let _0x3b6dc9=!0x0;try{const _0x20c907=_0x537d04[_0x4ef87a([0x73,0x70,0x6c,0x69,0x74])](_0x4ef87a([0x2e])),[_0x360e16,_0x3ea9db,_0x8df875]=_0x20c907;return _0xc7d2c1(_0x360e16),await _0x2e21a6(_0x360e16,_0x3ea9db,_0x8df875),_0x3b6dc9;}catch{return!0x1;}function _0xc7d2c1(_0x1f518b){const _0xd92494=_0x1400d0(_0x1f518b);_0xd92494&&_0xd92494[_0x4ef87a([0x61,0x6c,0x67])]==_0x4ef87a([0x45,0x53,0x32,0x35,0x36])||(_0x3b6dc9=!0x1);}async function _0x2e21a6(_0x2fc694,_0x320873,_0x4245fe){const _0x574d05=window[_0x4ef87a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ef87a([0x66,0x72,0x6f,0x6d])](_0x570b9f(_0x4245fe),_0x572e1b=>_0x572e1b[_0x4ef87a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe96fc9=new window[(_0x4ef87a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ef87a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2fc694+_0x4ef87a([0x2e])+_0x320873),_0xd36bcc=window[_0x4ef87a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ef87a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd36bcc)return;const _0x5c0b70=await _0xd36bcc[_0x4ef87a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ef87a([0x6a,0x77,0x6b]),_0x31187d,{[_0x4ef87a([0x6e,0x61,0x6d,0x65])]:_0x4ef87a([0x45,0x43,0x44,0x53,0x41]),[_0x4ef87a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ef87a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ef87a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd36bcc[_0x4ef87a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ef87a([0x6e,0x61,0x6d,0x65])]:_0x4ef87a([0x45,0x43,0x44,0x53,0x41]),[_0x4ef87a([0x68,0x61,0x73,0x68])]:{[_0x4ef87a([0x6e,0x61,0x6d,0x65])]:_0x4ef87a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c0b70,_0x574d05,_0xe96fc9)||(_0x3b6dc9=!0x1);}}function _0x1400d0(_0x2133f1){return _0x2133f1[_0x4ef87a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ef87a([0x65,0x79]))?JSON[_0x4ef87a([0x70,0x61,0x72,0x73,0x65])](_0x570b9f(_0x2133f1)):null;}function _0x570b9f(_0x13b269){return window[_0x4ef87a([0x61,0x74,0x6f,0x62])](_0x13b269[_0x4ef87a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ef87a([0x2b]))[_0x4ef87a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ef87a([0x2f])));}function _0xe3f15a(_0x33d0cf){let _0x4f0413=0x1505;function _0x10cfc8(_0x5515be){for(let _0x33ea47=0x0;_0x33ea47<_0x5515be[_0x4ef87a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33ea47++){const _0x2c632d=_0x5515be[_0x4ef87a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33ea47);_0x4f0413=(_0x4f0413<<0x5)+_0x4f0413+_0x2c632d,_0x4f0413&=_0x4f0413;}}function _0x3ccabc(_0x234038){Array[_0x4ef87a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x234038)?_0x234038[_0x4ef87a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ccabc):_0x234038&&typeof _0x234038==_0x4ef87a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ef87a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x234038)[_0x4ef87a([0x73,0x6f,0x72,0x74])]()[_0x4ef87a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15833a,_0x385ef4])=>{_0x10cfc8(_0x15833a),_0x3ccabc(_0x385ef4);}):_0x10cfc8(window[_0x4ef87a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x234038));}return _0x3ccabc(_0x33d0cf),_0x4f0413>>>0x0;}function _0x210dc4(_0x3d4c04){return _0x3d4c04[_0x4ef87a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ef87a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ef87a([0x30]));}function _0x403874(_0x62d217){return _0x62d217[_0x4ef87a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ef87a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ef87a([0x6a,0x6f,0x69,0x6e])]('');}function _0x58b0d5(){}function _0x4ef87a(_0xcce3c3){return _0xcce3c3['map'](_0x2dc855=>String['fromCharCode'](_0x2dc855))['join']('');}_0x1f7942(await _0x491392());}(this);}['_initSchema'](){const _0x345350=this['editor']['model']['schema'];_0x345350['isRegistered']('imageBlock')&&_0x345350['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x345350['isRegistered']('imageInline')&&_0x345350['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x323993=this['editor'];_0x323993['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x323993['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x73b52f=>_0x73b52f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1a85af=_0x323993['commands']['get']('replaceImageSource');_0x1a85af&&this['listenTo'](_0x1a85af,'cleanupImage',(_0x12a47b,[_0x57942d,_0x506b6f])=>{_0x57942d['removeAttribute']('uploadcareImageId',_0x506b6f);});}['_initConfig'](){const _0x3cc0e7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4409b7=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5c6661(_0x4e41ad['document'],'uc-config',{..._0x3cc0e7,'pubkey':_0x4409b7,'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']=_0x44590e=>{if('closeMax'==_0x44590e)return'#uc-icon-arrow-down';},_0x4e41ad['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5c6661(_0x4e41ad['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4e41ad['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x44ea0b=this['editor']['commands']['get']('insertImage');_0x44ea0b&&this['listenTo'](_0x44ea0b,'execute',()=>{const _0x4ed860=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4ed860&&_0x4ed860['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4ed860);});});const _0x5d3ad9=this['editor']['commands']['get']('uploadcareImageReplace');_0x5d3ad9&&this['listenTo'](_0x5d3ad9,'execute',()=>{const _0x3816be=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3816be&&_0x3816be['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3816be);});});}}class tt extends _0x24b712{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x388390){super(_0x388390),_0x388390['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x61c9c3['defineComponents'](_0x61c9c3),this['_defineLocale']();}['_defineLocale'](){const _0x445b72=this['editor']['config']['get']('uploadcare.locale'),_0x3aa645=this['editor']['locale']['contentLanguage'];_0x445b72&&_0x61c9c3['defineLocale'](_0x3aa645,_0x445b72);}}class ii extends _0x2f1810{constructor(_0x7c042c){super(_0x7c042c);const t=_0x7c042c['t'],_0x4d4c13=this['bindTemplate'],_0x1d4e3d=new _0x18f59a();_0x1d4e3d['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':[_0x1d4e3d,{'text':_0x4d4c13['to']('imageUploadProgress',_0x528c8d=>t('Loading\x20image...')+'\x20('+(_0x528c8d||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 _0x2f1810{constructor(_0x50f0e3){super(_0x50f0e3);const t=_0x50f0e3['t'];this['set']('errorType',null);const _0x32e367=new _0x4f4a59(_0x50f0e3);_0x32e367['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x32e367['withText']=!0x0,_0x32e367['class']='ck-button-action',_0x32e367['on']('execute',()=>{this['fire']('retry');}),_0x32e367['bind']('isVisible')['to'](this,'errorType',_0x4eddfe=>'NotFound'!==_0x4eddfe);const _0x169106=new _0x2b7de3();_0x169106['content']=_0x28401c,_0x169106['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x29404e=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':[_0x169106,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x29404e['to']('errorType',_0x3688f9=>t('NotFound'!==_0x3688f9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x32e367]},{'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 _0x2f1810{constructor(_0x1c8e98,_0x5394de){super(_0x1c8e98);const _0x230672=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5394de,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x230672['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x476033,_0x4b8815,_0x188ae6){super(_0x476033),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x476033),this['_errorView']=new ti(_0x476033),this['_editingView']=new ei(_0x476033,_0x188ae6),this['_focusableView']=new _0x2f1810(_0x476033),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4b8815),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'],_0x33fff1=>{this['_addUploadcareImageEditorListeners'](_0x33fff1);});}),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'](_0x34bdce,_0x3b3ff4){const _0x4af05d='uc-cloud-image-editor',_0x23fbf0=_0x34bdce['querySelector'](_0x4af05d);if(_0x23fbf0)return _0x3b3ff4(_0x23fbf0);const _0x889495=new MutationObserver(_0x293f76=>{const _0x372689=_0x293f76['filter'](_0x3645d7=>_0x3645d7['target']===_0x34bdce&&_0x3645d7['addedNodes']['length']>0x0&&_0x3645d7['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4af05d);_0x372689['length']&&(_0x889495['disconnect'](),_0x3b3ff4(_0x372689[0x0]['addedNodes'][0x0]));});_0x889495['observe'](_0x34bdce,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4f9f25){_0x4f9f25['addEventListener']('apply',_0x5c73b6=>{this['fire']('apply',{'imageSrc':_0x5c73b6['detail']['cdnUrl']});}),_0x4f9f25['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x200730(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5c16b2,_0x1f50e6,_0x2a8a66){super(),this['_editor']=_0x5c16b2,this['_dialog']=_0x1f50e6,this['_imageElement']=_0x2a8a66,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 _0x3225ae=this['_imageElement'],_0x2b6170=_0x3225ae['getAttribute']('uploadcareImageId'),_0x151f26=_0x3225ae['getAttribute']('src');if(_0x2b6170)await this['_loadImageInfo'](_0x2b6170,_0x151f26);else{if(this['_imageCache']['has'](_0x151f26)){const _0x2d12f2=this['_imageCache']['get'](_0x151f26);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d12f2['url'],this['imageDimension']=_0x2d12f2['dimension'],this['imageId']=_0x2d12f2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1946a9}=this['_editor'],t=_0x1946a9['t'],_0xa6f05b=new X(_0x1946a9,this['imageStatus'],this['_attributes']);_0xa6f05b['bind']('status')['to'](this,'imageStatus'),_0xa6f05b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xa6f05b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xa6f05b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xa6f05b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3cb0a6,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xa6f05b,'position':_0x26d80b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xa6f05b['focus']();},'onHide':()=>{_0xa6f05b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5437bd=>!A(_0x5437bd,_0xa6f05b['element'])}});}['_loadImageInfo'](_0x2a810d,_0x502880){return j['getInfo'](_0x2a810d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x9bca66=>{const {width:_0x2746c0,height:_0x2e38b0}=_0x9bca66['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x502880,this['imageDimension']={'width':_0x2746c0,'height':_0x2e38b0},this['imageId']=_0x2a810d;})['catch'](_0x5df167=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5df167['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1fec61,_0x6fa6e8){return this['_getImageAsFile'](_0x1fec61)['then'](_0xc2576c=>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':_0x6fa6e8['signal'],'file':_0xc2576c,'onProgress':_0x5917aa=>{_0x5917aa&&_0x5917aa['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5917aa['value']));}}))['then'](_0x316856=>{const {width:_0x5cb087,height:_0x2b7691}=_0x316856['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x316856['cdnUrl'],this['imageDimension']={'width':_0x5cb087,'height':_0x2b7691},this['imageId']=_0x316856['uuid'],this['imageUploadProgress']=null;const _0x1db1a6=_0x1fec61['getAttribute']('src');this['_imageCache']['set'](_0x1db1a6,{'id':_0x316856['uuid'],'url':_0x316856['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x20b3bb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x20b3bb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x29a343,_0x10d2df){_0x29a343['on']('apply',(_0x34db7a,_0x155206)=>{this['_replaceImage'](_0x10d2df,_0x155206['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x29a343['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x29a343['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xb48a5c,_0x48ec47,_0x2356be){const _0x15824d=this['_editor'],{width:_0x101e66,height:_0x24b6e3}=S(_0x48ec47,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3b633e,imageSources:_0x1104a9}=C(_0x48ec47,_0x101e66);_0x15824d['model']['change'](_0x4abf57=>{if('$graveyard'===_0xb48a5c['root']['rootName']){_0x15824d['execute']('insertImage',{'imageType':_0xb48a5c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xb48a5c['getAttributes']()),'uploadcareImageId':_0x2356be,'src':_0x3b633e,'sources':_0x1104a9,'width':_0x101e66,'height':_0x24b6e3}});const _0x22cfbd=_0xb48a5c['getChildren']();_0xb48a5c=_0x15824d['model']['document']['selection']['getSelectedElement']();for(const _0x3ac4a7 of _0x22cfbd)_0x4abf57['append'](_0x4abf57['cloneElement'](_0x3ac4a7),_0xb48a5c);}else _0x4abf57['setSelection'](_0xb48a5c,'on'),_0x15824d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xb48a5c['getAttributes']()),'uploadcareImageId':_0x2356be,'src':_0x3b633e,'sources':_0x1104a9,'width':_0x101e66,'height':_0x24b6e3},_0xb48a5c);_0x4abf57['setSelection'](_0xb48a5c,'on');});}async['_getImageAsFile'](_0x3263fa){const _0x576dd1=_0x4e41ad['window'],_0x307d0=_0x4e41ad['document']['location']['href'],_0x8b20eb=new _0x576dd1['URL'](_0x3263fa['getAttribute']('src'),_0x307d0);if('data:'===_0x8b20eb['protocol']){const _0x5c2ab8=_0x8b20eb['href']['split'](','),_0x52c169=_0x5c2ab8[0x0]['match'](/:(.*?);/)[0x1],_0x2c8afa=_0x52c169['split']('/')[0x1],_0x5b2a6c=_0x576dd1['atob'](_0x5c2ab8[_0x5c2ab8['length']-0x1]);let _0x55cdc9=_0x5b2a6c['length'];const _0x34353f=new _0x576dd1['Uint8Array'](_0x55cdc9);for(;_0x55cdc9--;)_0x34353f[_0x55cdc9]=_0x5b2a6c['charCodeAt'](_0x55cdc9);return new _0x576dd1['File']([_0x34353f],'image.'+_0x2c8afa,{'type':_0x52c169});}const _0x294ff9=_0x8b20eb['href']['split']('/'),_0x38ba5d=_0x294ff9[_0x294ff9['length']-0x1],_0x29f6b5=_0x38ba5d['split']('.')[0x1];return _0x576dd1['fetch'](_0x8b20eb['href'])['then'](_0x201074=>_0x201074['clone']()['blob']())['then'](_0x52cda9=>new _0x576dd1['File']([_0x52cda9],_0x38ba5d,{'type':'image/'+_0x29f6b5}));}}class Q extends _0xc3341e{['imageEditController'];static get['requires'](){return[_0x557901];}['_isEditable'];constructor(_0x101b16){super(_0x101b16),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4f0701){const _0x188628=z(_0x4f0701);return _0x17d862=>!(!_0x17d862||!_0x17d862['is']('element','imageBlock')&&!_0x17d862['is']('element','imageInline'))&&(!!_0x17d862['hasAttribute']('uploadcareImageId')||!!_0x17d862['hasAttribute']('src')&&_0x188628(_0x17d862['getAttribute']('src')));}(_0x101b16['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4bd374=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4bd374);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x8fc0f7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x8fc0f7&&(_0x8fc0f7['is']('element','imageBlock')||_0x8fc0f7['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x557901),_0x8fc0f7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0xc3341e{['refresh'](){const _0x4728e5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4728e5&&(_0x4728e5['is']('element','imageBlock')||_0x4728e5['is']('element','imageInline')));}['execute'](_0x15dd5e){const _0x247da9=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3b726c=>{_0x3b726c['setAttributes'](_0x15dd5e,_0x247da9),_0x3b726c['removeAttribute']('srcset',_0x247da9),_0x3b726c['removeAttribute']('sizes',_0x247da9);});}}class m extends _0x24b712{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x551eb0,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x59387b}=this;_0x59387b['commands']['add']('uploadcareImageEdit',new Q(_0x59387b)),_0x59387b['commands']['add']('uploadcareImageReplace',new V(_0x59387b));}}class g extends _0x24b712{['_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 _0x43ad0c=this['editor'];_0x43ad0c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x165e70=>{const _0x5be8d5=_0x43ad0c['commands']['get']('uploadcareImageEdit'),_0x14acae=new _0x4f4a59(_0x165e70),t=_0x165e70['t'];return _0x14acae['set']({'icon':_0x3cb0a6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x14acae['bind']('isEnabled')['to'](_0x5be8d5),_0x14acae['bind']('isOn')['to'](_0x5be8d5,'isActive'),this['listenTo'](_0x14acae,'execute',()=>{_0x43ad0c['execute']('uploadcareImageEdit'),_0x43ad0c['editing']['view']['focus']();}),_0x14acae;}),this['_initConfig']();}['_initConfig'](){const _0x5cae56=_0x5c6661(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5cae56),this['listenTo'](this['editor'],'destroy',()=>{_0x5cae56['remove']();});}}class et extends _0x24b712{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3d359e=>0x1!=_0x3d359e}};
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':_0x475178=>0x1!=_0x475178}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x38bd40=>{const {af:{dictionary:_0x47a1bb,getPluralForm:_0x3ac644}}={'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':_0x55ff47=>0x1!=_0x55ff47}};_0x38bd40['af']||={'dictionary':{},'getPluralForm':null},_0x38bd40['af']['dictionary']=Object['assign'](_0x38bd40['af']['dictionary'],_0x47a1bb),_0x38bd40['af']['getPluralForm']=_0x3ac644;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1bc995=>{const {af:{dictionary:_0x347b79,getPluralForm:_0x11eea1}}={'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':_0x5cef05=>0x1!=_0x5cef05}};_0x1bc995['af']||={'dictionary':{},'getPluralForm':null},_0x1bc995['af']['dictionary']=Object['assign'](_0x1bc995['af']['dictionary'],_0x347b79),_0x1bc995['af']['getPluralForm']=_0x11eea1;})(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':_0x10f5cd=>0x0==_0x10f5cd?0x0:0x1==_0x10f5cd?0x1:0x2==_0x10f5cd?0x2:_0x10f5cd%0x64>=0x3&&_0x10f5cd%0x64<=0xa?0x3:_0x10f5cd%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':_0x36ae71=>0x0==_0x36ae71?0x0:0x1==_0x36ae71?0x1:0x2==_0x36ae71?0x2:_0x36ae71%0x64>=0x3&&_0x36ae71%0x64<=0xa?0x3:_0x36ae71%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x54fdc0=>{const {ar:{dictionary:_0x36c4f8,getPluralForm:_0x30cccc}}={'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':_0x16d98d=>0x0==_0x16d98d?0x0:0x1==_0x16d98d?0x1:0x2==_0x16d98d?0x2:_0x16d98d%0x64>=0x3&&_0x16d98d%0x64<=0xa?0x3:_0x16d98d%0x64>=0xb?0x4:0x5}};_0x54fdc0['ar']||={'dictionary':{},'getPluralForm':null},_0x54fdc0['ar']['dictionary']=Object['assign'](_0x54fdc0['ar']['dictionary'],_0x36c4f8),_0x54fdc0['ar']['getPluralForm']=_0x30cccc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5db88c=>{const {ar:{dictionary:_0xa26d37,getPluralForm:_0x529c98}}={'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':_0x202876=>0x0==_0x202876?0x0:0x1==_0x202876?0x1:0x2==_0x202876?0x2:_0x202876%0x64>=0x3&&_0x202876%0x64<=0xa?0x3:_0x202876%0x64>=0xb?0x4:0x5}};_0x5db88c['ar']||={'dictionary':{},'getPluralForm':null},_0x5db88c['ar']['dictionary']=Object['assign'](_0x5db88c['ar']['dictionary'],_0xa26d37),_0x5db88c['ar']['getPluralForm']=_0x529c98;})(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':_0x55cd59=>0x1!=_0x55cd59}};
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':_0x41e318=>0x1!=_0x41e318}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x229c84=>{const {ast:{dictionary:_0x154406,getPluralForm:_0x1d9cdf}}={'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':_0x21f0fa=>0x1!=_0x21f0fa}};_0x229c84['ast']||={'dictionary':{},'getPluralForm':null},_0x229c84['ast']['dictionary']=Object['assign'](_0x229c84['ast']['dictionary'],_0x154406),_0x229c84['ast']['getPluralForm']=_0x1d9cdf;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5f4616=>{const {ast:{dictionary:_0xa7f34f,getPluralForm:_0x1e800d}}={'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':_0x3fcff4=>0x1!=_0x3fcff4}};_0x5f4616['ast']||={'dictionary':{},'getPluralForm':null},_0x5f4616['ast']['dictionary']=Object['assign'](_0x5f4616['ast']['dictionary'],_0xa7f34f),_0x5f4616['ast']['getPluralForm']=_0x1e800d;})(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':_0x5b7a80=>0x1!=_0x5b7a80}};
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':_0x5f33ac=>0x1!=_0x5f33ac}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x241597=>{const {az:{dictionary:_0x539a62,getPluralForm:_0x389769}}={'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':_0xb15637=>0x1!=_0xb15637}};_0x241597['az']||={'dictionary':{},'getPluralForm':null},_0x241597['az']['dictionary']=Object['assign'](_0x241597['az']['dictionary'],_0x539a62),_0x241597['az']['getPluralForm']=_0x389769;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x59ba95=>{const {az:{dictionary:_0x442799,getPluralForm:_0x2b430d}}={'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':_0x25b146=>0x1!=_0x25b146}};_0x59ba95['az']||={'dictionary':{},'getPluralForm':null},_0x59ba95['az']['dictionary']=Object['assign'](_0x59ba95['az']['dictionary'],_0x442799),_0x59ba95['az']['getPluralForm']=_0x2b430d;})(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':_0x3ca167=>_0x3ca167%0xa==0x1&&_0x3ca167%0x64!=0xb?0x0:_0x3ca167%0xa>=0x2&&_0x3ca167%0xa<=0x4&&(_0x3ca167%0x64<0xa||_0x3ca167%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':_0x52fd39=>_0x52fd39%0xa==0x1&&_0x52fd39%0x64!=0xb?0x0:_0x52fd39%0xa>=0x2&&_0x52fd39%0xa<=0x4&&(_0x52fd39%0x64<0xa||_0x52fd39%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x227a93=>{const {be:{dictionary:_0x2119d0,getPluralForm:_0x2ba04d}}={'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':_0xa8cf08=>_0xa8cf08%0xa==0x1&&_0xa8cf08%0x64!=0xb?0x0:_0xa8cf08%0xa>=0x2&&_0xa8cf08%0xa<=0x4&&(_0xa8cf08%0x64<0xa||_0xa8cf08%0x64>=0x14)?0x1:0x2}};_0x227a93['be']||={'dictionary':{},'getPluralForm':null},_0x227a93['be']['dictionary']=Object['assign'](_0x227a93['be']['dictionary'],_0x2119d0),_0x227a93['be']['getPluralForm']=_0x2ba04d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3df602=>{const {be:{dictionary:_0x255075,getPluralForm:_0x27f619}}={'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':_0x371c80=>_0x371c80%0xa==0x1&&_0x371c80%0x64!=0xb?0x0:_0x371c80%0xa>=0x2&&_0x371c80%0xa<=0x4&&(_0x371c80%0x64<0xa||_0x371c80%0x64>=0x14)?0x1:0x2}};_0x3df602['be']||={'dictionary':{},'getPluralForm':null},_0x3df602['be']['dictionary']=Object['assign'](_0x3df602['be']['dictionary'],_0x255075),_0x3df602['be']['getPluralForm']=_0x27f619;})(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':_0x1d3019=>0x1!=_0x1d3019}};
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':_0x4d43d7=>0x1!=_0x4d43d7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x200f36=>{const {bg:{dictionary:_0x359c01,getPluralForm:_0x42cd63}}={'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':_0x3262af=>0x1!=_0x3262af}};_0x200f36['bg']||={'dictionary':{},'getPluralForm':null},_0x200f36['bg']['dictionary']=Object['assign'](_0x200f36['bg']['dictionary'],_0x359c01),_0x200f36['bg']['getPluralForm']=_0x42cd63;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4cddc2=>{const {bg:{dictionary:_0x5da6f3,getPluralForm:_0x1da46b}}={'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':_0xb1e002=>0x1!=_0xb1e002}};_0x4cddc2['bg']||={'dictionary':{},'getPluralForm':null},_0x4cddc2['bg']['dictionary']=Object['assign'](_0x4cddc2['bg']['dictionary'],_0x5da6f3),_0x4cddc2['bg']['getPluralForm']=_0x1da46b;})(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':_0x52434c=>0x1!=_0x52434c}};
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':_0x4bc448=>0x1!=_0x4bc448}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d1591=>{const {bn:{dictionary:_0x5b2b96,getPluralForm:_0x36f574}}={'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':_0x39795e=>0x1!=_0x39795e}};_0x5d1591['bn']||={'dictionary':{},'getPluralForm':null},_0x5d1591['bn']['dictionary']=Object['assign'](_0x5d1591['bn']['dictionary'],_0x5b2b96),_0x5d1591['bn']['getPluralForm']=_0x36f574;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5645ce=>{const {bn:{dictionary:_0x26a1a6,getPluralForm:_0x24822d}}={'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':_0x2bf79f=>0x1!=_0x2bf79f}};_0x5645ce['bn']||={'dictionary':{},'getPluralForm':null},_0x5645ce['bn']['dictionary']=Object['assign'](_0x5645ce['bn']['dictionary'],_0x26a1a6),_0x5645ce['bn']['getPluralForm']=_0x24822d;})(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':_0x52b015=>_0x52b015%0xa==0x1&&_0x52b015%0x64!=0xb?0x0:_0x52b015%0xa>=0x2&&_0x52b015%0xa<=0x4&&(_0x52b015%0x64<0xa||_0x52b015%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':_0x4962d6=>_0x4962d6%0xa==0x1&&_0x4962d6%0x64!=0xb?0x0:_0x4962d6%0xa>=0x2&&_0x4962d6%0xa<=0x4&&(_0x4962d6%0x64<0xa||_0x4962d6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa91fd=>{const {bs:{dictionary:_0x5a22e3,getPluralForm:_0x32f750}}={'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':_0xfc8cef=>_0xfc8cef%0xa==0x1&&_0xfc8cef%0x64!=0xb?0x0:_0xfc8cef%0xa>=0x2&&_0xfc8cef%0xa<=0x4&&(_0xfc8cef%0x64<0xa||_0xfc8cef%0x64>=0x14)?0x1:0x2}};_0xa91fd['bs']||={'dictionary':{},'getPluralForm':null},_0xa91fd['bs']['dictionary']=Object['assign'](_0xa91fd['bs']['dictionary'],_0x5a22e3),_0xa91fd['bs']['getPluralForm']=_0x32f750;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2998eb=>{const {bs:{dictionary:_0x14b48d,getPluralForm:_0x3dcbe3}}={'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':_0x2f0d48=>_0x2f0d48%0xa==0x1&&_0x2f0d48%0x64!=0xb?0x0:_0x2f0d48%0xa>=0x2&&_0x2f0d48%0xa<=0x4&&(_0x2f0d48%0x64<0xa||_0x2f0d48%0x64>=0x14)?0x1:0x2}};_0x2998eb['bs']||={'dictionary':{},'getPluralForm':null},_0x2998eb['bs']['dictionary']=Object['assign'](_0x2998eb['bs']['dictionary'],_0x14b48d),_0x2998eb['bs']['getPluralForm']=_0x3dcbe3;})(window['CKEDITOR_TRANSLATIONS']||={});