@univerjs-pro/sheets-chart-ui 0.9.2-nightly.202507171607 → 0.9.2-nightly.202507181608

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 (50) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.css +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ko-KR.js +1 -1
  34. package/lib/locale/ru-RU.js +1 -1
  35. package/lib/locale/vi-VN.js +1 -1
  36. package/lib/locale/zh-CN.js +1 -1
  37. package/lib/locale/zh-TW.js +1 -1
  38. package/lib/umd/facade.js +1 -1
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +14 -14
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x18f253=_0x1753;(function(_0x45b168,_0x173a5b){const _0x297281=_0x1753,_0xe6dd46=_0x45b168();while(!![]){try{const _0x241a9b=parseInt(_0x297281(0x1b4))/0x1+parseInt(_0x297281(0x199))/0x2+parseInt(_0x297281(0x1bd))/0x3+-parseInt(_0x297281(0x18f))/0x4*(parseInt(_0x297281(0x1e7))/0x5)+-parseInt(_0x297281(0x190))/0x6*(-parseInt(_0x297281(0x1b0))/0x7)+-parseInt(_0x297281(0x1cf))/0x8*(parseInt(_0x297281(0x1be))/0x9)+parseInt(_0x297281(0x1cd))/0xa;if(_0x241a9b===_0x173a5b)break;else _0xe6dd46['push'](_0xe6dd46['shift']());}catch(_0x588a7e){_0xe6dd46['push'](_0xe6dd46['shift']());}}}(_0x542f,0x9c28f));var L=Object['defineProperty'],U=(_0x14c3b1,_0x4859f3,_0x2417ef)=>_0x4859f3 in _0x14c3b1?L(_0x14c3b1,_0x4859f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2417ef}):_0x14c3b1[_0x4859f3]=_0x2417ef,o=(_0x17c991,_0x47d866,_0x4947bf)=>U(_0x17c991,typeof _0x47d866!=_0x18f253(0x1b9)?_0x47d866+'':_0x47d866,_0x4947bf);Object[_0x18f253(0x17b)](exports,Symbol['toStringTag'],{'value':_0x18f253(0x1b6)});const d=require('@univerjs-pro/engine-chart'),u=require('@univerjs-pro/sheets-chart'),M=require('@univerjs-pro/sheets-chart-ui'),S=require('@univerjs/core'),j=require('@univerjs/sheets-drawing-ui'),b=require('@univerjs/sheets/facade'),m=require('@univerjs/core/facade'),Y=require('@univerjs/engine-formula'),E=require('@univerjs/engine-render'),T=require('@univerjs/sheets-ui'),s=(_0x339215,_0x4d22f5,_0x59aebb)=>{_0x59aebb!==void 0x0&&u['setProperty'](_0x339215,_0x4d22f5,_0x59aebb);},f=(_0x122c67,_0x3eaef9,_0x837976,_0x1b22cd={})=>{const _0x1ed267=_0x18f253,_0x459141={},_0x578d7b={};if(_0x1b22cd[_0x1ed267(0x233)]){const _0x1e60d2=_0x1b22cd[_0x1ed267(0x233)];s(_0x459141,_0x1ed267(0x187),_0x1e60d2[_0x1ed267(0x245)]),s(_0x459141,'titles.title.font',_0x1e60d2[_0x1ed267(0x1f9)]),s(_0x459141,_0x1ed267(0x213),_0x1e60d2['fontSize']),s(_0x459141,_0x1ed267(0x19c),_0x1e60d2['fontColor']),s(_0x459141,_0x1ed267(0x17c),_0x1e60d2['fontStyle']),s(_0x459141,_0x1ed267(0x221),_0x1e60d2[_0x1ed267(0x1ac)]),s(_0x459141,_0x1ed267(0x1da),_0x1e60d2[_0x1ed267(0x209)]),s(_0x459141,'titles.titlePosition',_0x1e60d2[_0x1ed267(0x18e)]);}if(_0x1b22cd[_0x1ed267(0x23a)]){const _0x5a101f=_0x1b22cd['legend'];s(_0x459141,'legend.position',_0x5a101f['position']),s(_0x459141,_0x1ed267(0x188),_0x5a101f[_0x1ed267(0x1cb)]),s(_0x459141,_0x1ed267(0x1ff),_0x5a101f['fontSize']),s(_0x459141,'legend.label.color',_0x5a101f[_0x1ed267(0x242)]),s(_0x459141,_0x1ed267(0x1d8),_0x5a101f['bold']),s(_0x459141,_0x1ed267(0x1c0),_0x5a101f[_0x1ed267(0x1aa)]);}if(_0x1b22cd[_0x1ed267(0x235)]){const _0x20ca31=_0x1b22cd[_0x1ed267(0x235)];s(_0x459141,_0x1ed267(0x1a2),_0x20ca31['doughnutHole']),s(_0x459141,_0x1ed267(0x1ae),_0x20ca31['borderColor']),s(_0x459141,_0x1ed267(0x21f),_0x20ca31[_0x1ed267(0x1b8)]),s(_0x459141,'pie.isHalfPie',_0x20ca31[_0x1ed267(0x198)]),s(_0x459141,_0x1ed267(0x197),_0x20ca31[_0x1ed267(0x244)]),s(_0x459141,_0x1ed267(0x1ec),_0x20ca31[_0x1ed267(0x17a)]);}if(_0x1b22cd[_0x1ed267(0x1f5)]){const _0xdc3014=_0x1b22cd[_0x1ed267(0x1f5)];s(_0x459141,_0x1ed267(0x247),_0xdc3014['indicatorLabelColor']),s(_0x459141,_0x1ed267(0x19f),_0xdc3014[_0x1ed267(0x236)]),s(_0x459141,'tooltip.indicatorLineColor',_0xdc3014[_0x1ed267(0x186)]),s(_0x459141,_0x1ed267(0x21a),_0xdc3014[_0x1ed267(0x1e4)]);}if(_0x1b22cd[_0x1ed267(0x19e)]&&(s(_0x459141,_0x1ed267(0x1d0),_0x1b22cd[_0x1ed267(0x19e)]['border']),s(_0x459141,'allSeriesStyle.label',_0x1b22cd[_0x1ed267(0x19e)][_0x1ed267(0x1c1)]),s(_0x459141,_0x1ed267(0x249),_0x1b22cd[_0x1ed267(0x19e)][_0x1ed267(0x22a)]),s(_0x459141,_0x1ed267(0x229),_0x1b22cd[_0x1ed267(0x19e)][_0x1ed267(0x24b)]),s(_0x459141,_0x1ed267(0x21b),_0x1b22cd[_0x1ed267(0x19e)]['color'])),_0x1b22cd[_0x1ed267(0x232)]&&s(_0x459141,_0x1ed267(0x193),_0x1b22cd[_0x1ed267(0x232)][_0x1ed267(0x1a8)]),_0x1b22cd[_0x1ed267(0x243)]&&s(_0x459141,_0x1ed267(0x243),_0x1b22cd[_0x1ed267(0x243)]),_0x1b22cd[_0x1ed267(0x1e8)]&&s(_0x459141,_0x1ed267(0x1e8),_0x1b22cd[_0x1ed267(0x1e8)]),_0x1b22cd[_0x1ed267(0x1a7)]&&s(_0x459141,_0x1ed267(0x1a7),_0x1b22cd[_0x1ed267(0x1a7)]),_0x1b22cd[_0x1ed267(0x23b)]&&s(_0x459141,_0x1ed267(0x23b),_0x1b22cd[_0x1ed267(0x23b)]),_0x1b22cd[_0x1ed267(0x18d)]&&s(_0x459141,_0x1ed267(0x18d),_0x1b22cd[_0x1ed267(0x18d)]),_0x1b22cd[_0x1ed267(0x1b7)]&&s(_0x459141,_0x1ed267(0x1b7),_0x1b22cd['radar']),_0x1b22cd[_0x1ed267(0x1f7)]){const _0x181453=_0x1b22cd['xAxisTitle'];s(_0x459141,_0x1ed267(0x18c),_0x181453[_0x1ed267(0x245)]),s(_0x459141,_0x1ed267(0x189),_0x181453[_0x1ed267(0x1f9)]),s(_0x459141,_0x1ed267(0x1bc),_0x181453[_0x1ed267(0x1fc)]),s(_0x459141,_0x1ed267(0x1d5),_0x181453[_0x1ed267(0x1ce)]),s(_0x459141,_0x1ed267(0x228),_0x181453[_0x1ed267(0x20f)]),s(_0x459141,_0x1ed267(0x196),_0x181453['bold']),s(_0x459141,_0x1ed267(0x1b1),_0x181453['axisAlignment']);}if(_0x1b22cd[_0x1ed267(0x230)]){const _0x1d89bc=_0x1b22cd[_0x1ed267(0x230)];s(_0x459141,_0x1ed267(0x203),_0x1d89bc[_0x1ed267(0x245)]),s(_0x459141,'titles.yAxisTitle.font',_0x1d89bc['font']),s(_0x459141,'titles.yAxisTitle.fontSize',_0x1d89bc[_0x1ed267(0x1fc)]),s(_0x459141,'titles.yAxisTitle.color',_0x1d89bc[_0x1ed267(0x1ce)]),s(_0x459141,'titles.yAxisTitle.family',_0x1d89bc[_0x1ed267(0x20f)]),s(_0x459141,_0x1ed267(0x226),_0x1d89bc[_0x1ed267(0x1ac)]),s(_0x459141,_0x1ed267(0x23f),_0x1d89bc[_0x1ed267(0x1e9)]);}if(_0x1b22cd[_0x1ed267(0x1f6)]){const _0x39736c=_0x1b22cd['rightYAxisTitle'];s(_0x459141,_0x1ed267(0x195),_0x39736c[_0x1ed267(0x245)]),s(_0x459141,_0x1ed267(0x192),_0x39736c[_0x1ed267(0x1f9)]),s(_0x459141,_0x1ed267(0x20c),_0x39736c[_0x1ed267(0x1fc)]),s(_0x459141,_0x1ed267(0x1a0),_0x39736c[_0x1ed267(0x1ce)]),s(_0x459141,_0x1ed267(0x22f),_0x39736c[_0x1ed267(0x20f)]),s(_0x459141,_0x1ed267(0x1ef),_0x39736c[_0x1ed267(0x1ac)]),s(_0x459141,'rightYAxis.label.axisTitleAlign',_0x39736c[_0x1ed267(0x1e9)]);}_0x1b22cd['xAxis']&&s(_0x459141,'xAxis',_0x1b22cd['xAxis']),_0x1b22cd['yAxis']&&s(_0x459141,_0x1ed267(0x211),_0x1b22cd[_0x1ed267(0x211)]),_0x1b22cd[_0x1ed267(0x18a)]&&s(_0x459141,_0x1ed267(0x22a),_0x1b22cd[_0x1ed267(0x18a)]),_0x1b22cd[_0x1ed267(0x21e)]&&s(_0x459141,'seriesStyleMap',_0x1b22cd['seriesStyleMap']);const _0x4a4f58={'unitId':_0x122c67,'chartModelId':_0x3eaef9};let _0x50c3c2=!0x1;if(_0x837976!==void 0x0&&(_0x4a4f58[_0x1ed267(0x1d9)]=_0x837976,_0x50c3c2=!0x0),Object['keys'](_0x459141)[_0x1ed267(0x22d)]>0x0&&(_0x4a4f58['style']=_0x459141,_0x50c3c2=!0x0),Object[_0x1ed267(0x180)](_0x578d7b)[_0x1ed267(0x22d)]>0x0&&(_0x4a4f58[_0x1ed267(0x205)]=_0x578d7b,_0x50c3c2=!0x0),_0x50c3c2)return _0x4a4f58;};class c extends m['FBase']{constructor(_0x131e3b,_0x483b98,_0x10d9cc,_0x1f4a17,_0x66be62){const _0x20049e=_0x18f253;super(),o(this,_0x20049e(0x1b5)),o(this,_0x20049e(0x1b2)),o(this,_0x20049e(0x1df)),o(this,_0x20049e(0x185)),o(this,_0x20049e(0x1d6)),o(this,_0x20049e(0x22c)),o(this,'sourceSheetName'),o(this,'x'),o(this,'y'),o(this,_0x20049e(0x1de)),o(this,'height'),o(this,_0x20049e(0x1d9)),o(this,_0x20049e(0x248)),o(this,_0x20049e(0x202)),(this['unitId']=_0x131e3b,this[_0x20049e(0x185)]=_0x483b98,this[_0x20049e(0x1b5)]=_0x10d9cc,this[_0x20049e(0x1b2)]=_0x1f4a17,_0x66be62&&(this[_0x20049e(0x1d6)]=_0x66be62));}['getChartType'](){const _0x179f5a=_0x18f253;return this[_0x179f5a(0x1d9)];}[_0x18f253(0x1ea)](_0x500b85){const _0x12dfc4=_0x18f253;if(typeof _0x500b85=='string'){const _0x5ef795=Y[_0x12dfc4(0x1b3)](_0x500b85);_0x5ef795[_0x12dfc4(0x1e3)]&&(this[_0x12dfc4(0x1eb)]=_0x5ef795[_0x12dfc4(0x1e3)]),this['range']=_0x5ef795[_0x12dfc4(0x22c)];}else this[_0x12dfc4(0x22c)]=_0x500b85;return this;}[_0x18f253(0x1dd)](){const _0x3b260b=_0x18f253;return this[_0x3b260b(0x22c)]=void 0x0,this[_0x3b260b(0x1eb)]=void 0x0,this;}[_0x18f253(0x207)](_0x1e2926,_0x2284c8,_0x15fbae,_0x2b0549){const _0x23ff23=_0x18f253,_0x34d5b3=this['_injector'][_0x23ff23(0x1bf)](E[_0x23ff23(0x234)])[_0x23ff23(0x20a)](this[_0x23ff23(0x1df)]);if(!_0x34d5b3)throw new Error(_0x23ff23(0x24d));const _0x465095=_0x34d5b3[_0x23ff23(0x1f1)](T[_0x23ff23(0x1d2)]),_0x22b862=_0x34d5b3[_0x23ff23(0x1f1)](T[_0x23ff23(0x224)]),{transform:_0x5185c2}=T[_0x23ff23(0x194)](this['unitId'],this[_0x23ff23(0x185)],{'row':_0x1e2926,'column':_0x2284c8,'rowOffset':_0x15fbae,'columnOffset':_0x2b0549},0x1,0x1,_0x465095,_0x22b862),_0x4ac5d0=_0x5185c2[_0x23ff23(0x1d1)],_0x9d378f=_0x5185c2[_0x23ff23(0x19a)];return this['x']=_0x9d378f,this['y']=_0x4ac5d0,this;}[_0x18f253(0x218)](_0x1da46e,_0x32a68b){return this['x']=_0x1da46e,this['y']=_0x32a68b,this;}[_0x18f253(0x1d3)](_0x311d81){const _0x330244=_0x18f253;return this[_0x330244(0x1d9)]=_0x311d81,this;}[_0x18f253(0x1c2)](_0x252b2a){const _0x201edb=_0x18f253;return this[_0x201edb(0x1de)]=_0x252b2a,this;}[_0x18f253(0x17e)](_0x382d96){const _0x45e9ab=_0x18f253;return this[_0x45e9ab(0x241)]=_0x382d96,this;}[_0x18f253(0x1fb)](_0x165578,_0x2c7ebf){const _0x5d9d0e=_0x18f253;return this['options']||(this[_0x5d9d0e(0x248)]={}),_0x165578===''?(this[_0x5d9d0e(0x248)]={...this[_0x5d9d0e(0x248)],..._0x2c7ebf},this):(u[_0x5d9d0e(0x1c4)](this[_0x5d9d0e(0x248)],_0x165578,_0x2c7ebf),this);}[_0x18f253(0x1c3)](_0x10ab33){const _0x5b0b9e=_0x18f253;return this[_0x5b0b9e(0x202)]=_0x10ab33,this;}[_0x18f253(0x1f4)](_0x57e037){const _0x15cf77=_0x18f253;return this['setOptions'](_0x15cf77(0x243),_0x57e037),this;}[_0x18f253(0x1c9)](_0xd4cf2){const _0x31d893=_0x18f253;var _0x3b479c;const _0x23dfe5=((_0x3b479c=this[_0x31d893(0x248)])==null?void 0x0:_0x3b479c[_0x31d893(0x1f7)])||{};return _0x23dfe5[_0x31d893(0x245)]=_0xd4cf2,this[_0x31d893(0x1fb)](_0x31d893(0x1f7),_0x23dfe5),this;}[_0x18f253(0x225)](_0x2f5fda){const _0x2444ca=_0x18f253;var _0x554107;const _0xca7982=((_0x554107=this[_0x2444ca(0x248)])==null?void 0x0:_0x554107[_0x2444ca(0x230)])||{};return _0xca7982[_0x2444ca(0x245)]=_0x2f5fda,this['setOptions']('yAxisTitle',_0xca7982),this;}['setRightYAxisTitle'](_0x4a9bc3){const _0x203a47=_0x18f253;var _0x739af3;const _0x4e346e=((_0x739af3=this[_0x203a47(0x248)])==null?void 0x0:_0x739af3['rightYAxisTitle'])||{};return _0x4e346e['content']=_0x4a9bc3,this[_0x203a47(0x1fb)]('rightYAxisTitle',_0x4e346e),this;}[_0x18f253(0x1f0)](_0x4efd56){const _0x273bdb=_0x18f253;var _0x5656d1;const _0x315a7f=((_0x5656d1=this[_0x273bdb(0x248)])==null?void 0x0:_0x5656d1[_0x273bdb(0x1f7)])||{};return this['setOptions'](_0x273bdb(0x1f7),{..._0x315a7f,..._0x4efd56}),this;}['setYAxisTextStyle'](_0x207eb9){const _0x4bb808=_0x18f253;var _0x107a86;const _0x10e3c6=((_0x107a86=this[_0x4bb808(0x248)])==null?void 0x0:_0x107a86[_0x4bb808(0x230)])||{};return this[_0x4bb808(0x1fb)](_0x4bb808(0x230),{..._0x10e3c6,..._0x207eb9}),this;}[_0x18f253(0x1af)](_0x3ebd84){const _0x163024=_0x18f253;var _0x27f6d5;const _0x340e0f=((_0x27f6d5=this[_0x163024(0x248)])==null?void 0x0:_0x27f6d5[_0x163024(0x1f6)])||{};return this[_0x163024(0x1fb)](_0x163024(0x1f6),{..._0x340e0f,..._0x3ebd84}),this;}[_0x18f253(0x216)](_0x4e6b89){const _0x6ed41=_0x18f253;return this[_0x6ed41(0x1fb)](_0x6ed41(0x18d),_0x4e6b89),this;}[_0x18f253(0x239)](_0x28997c){const _0x1ea05a=_0x18f253;return this[_0x1ea05a(0x1fb)](_0x1ea05a(0x1f5),_0x28997c),this;}['setAllSeriesStyle'](_0x209b5e){const _0x3e17db=_0x18f253;return this['setOptions'](_0x3e17db(0x19e),_0x209b5e),this;}[_0x18f253(0x1e0)](_0x46d9d7,_0x2bee0a){const _0x596dd2=_0x18f253;return this[_0x596dd2(0x1fb)]('seriesStyleMap',{[_0x46d9d7]:_0x2bee0a}),this;}[_0x18f253(0x1f3)](){const _0x38e2ad=_0x18f253;var _0x338a5e;let _0x383aca=this[_0x38e2ad(0x185)];if(this[_0x38e2ad(0x1eb)]){const _0x29e287=(_0x338a5e=this[_0x38e2ad(0x1b5)]['getSheetBySheetName'](this[_0x38e2ad(0x1eb)]))==null?void 0x0:_0x338a5e[_0x38e2ad(0x1ba)]();if(!_0x29e287)throw new Error(_0x38e2ad(0x1a6)+this[_0x38e2ad(0x1eb)]+_0x38e2ad(0x23e));_0x383aca=_0x29e287;}return{'unitId':this[_0x38e2ad(0x1df)],'subUnitId':_0x383aca,'chartId':this['chartId'],'range':this[_0x38e2ad(0x22c)],'x':this['x'],'y':this['y'],'width':this[_0x38e2ad(0x1de)],'height':this[_0x38e2ad(0x241)],'chartType':this[_0x38e2ad(0x1d9)],'options':this[_0x38e2ad(0x248)],'isRowDirection':this['transposeRowsAndColumns']};}}class A{constructor(_0x4f688e,_0x4e853a,_0x4bbaf4,_0x32d23b){const _0x5bec0a=_0x18f253;o(this,'unitId'),o(this,_0x5bec0a(0x185)),o(this,_0x5bec0a(0x1d6)),o(this,_0x5bec0a(0x1b2)),(this[_0x5bec0a(0x1df)]=_0x4f688e,this['subUnitId']=_0x4e853a,this[_0x5bec0a(0x1d6)]=_0x4bbaf4,this[_0x5bec0a(0x1b2)]=_0x32d23b);}[_0x18f253(0x1a4)](){const _0x16c27b=_0x18f253;return this[_0x16c27b(0x1d6)];}['getRange'](){const _0x233143=_0x18f253,_0x14cd84=this[_0x233143(0x1b2)]['get'](u[_0x233143(0x1ad)])[_0x233143(0x184)](this[_0x233143(0x1d6)]);if(_0x14cd84)return _0x14cd84[_0x233143(0x220)][_0x233143(0x246)]();}['updateRange'](_0xa1668b){const _0x3ef6a7=_0x18f253;return this[_0x3ef6a7(0x1b2)][_0x3ef6a7(0x1bf)](S[_0x3ef6a7(0x219)])[_0x3ef6a7(0x24c)](u['ChartUpdateSourceCommand']['id'],{'unitId':this[_0x3ef6a7(0x1df)],'chartModelId':this[_0x3ef6a7(0x1d6)],'range':_0xa1668b});}[_0x18f253(0x1dc)](){const _0x1331a2=_0x18f253;var _0x1ae58f;const _0x2bdab1=this[_0x1331a2(0x1b2)]['get'](u[_0x1331a2(0x1ad)])[_0x1331a2(0x184)](this[_0x1331a2(0x1d6)]);if(_0x2bdab1)return(_0x1ae58f=_0x2bdab1[_0x1331a2(0x1e2)])==null?void 0x0:_0x1ae58f['series'];}[_0x18f253(0x24f)](){const _0x309b2a=_0x18f253;var _0x46cbf5;const _0x538a13=this[_0x309b2a(0x1b2)][_0x309b2a(0x1bf)](u[_0x309b2a(0x1ad)])[_0x309b2a(0x184)](this[_0x309b2a(0x1d6)]);if(_0x538a13)return(_0x46cbf5=_0x538a13[_0x309b2a(0x1e2)])==null?void 0x0:_0x46cbf5[_0x309b2a(0x17d)];}['modify'](){const _0x1bc221=_0x18f253,_0x352764=this[_0x1bc221(0x1b2)][_0x1bc221(0x1bf)](S[_0x1bc221(0x22b)])['getCurrentUnitForType'](S[_0x1bc221(0x181)][_0x1bc221(0x214)]);return new c(this[_0x1bc221(0x1df)],this[_0x1bc221(0x185)],_0x352764,this[_0x1bc221(0x1b2)],this[_0x1bc221(0x1d6)]);}}class H extends b[_0x18f253(0x24a)]{async[_0x18f253(0x238)](_0x4fcb5d){const _0x5d93cf=_0x18f253;var _0x175510,_0x5814a6,_0x2fd727;const _0x3f3e7f=_0x4fcb5d[_0x5d93cf(0x1df)]||this[_0x5d93cf(0x1a3)]()[_0x5d93cf(0x24e)](),_0x5f09d6=_0x4fcb5d['subUnitId']||this[_0x5d93cf(0x1ba)](),_0x4a85d4=_0x4fcb5d['chartId']||S['generateRandomId'](),_0x326343=_0x4fcb5d[_0x5d93cf(0x1d9)],_0x41603b=_0x4fcb5d[_0x5d93cf(0x22c)],_0x2f4b70={'x':_0x4fcb5d['x'],'y':_0x4fcb5d['y']},_0x1d43e3=_0x4fcb5d['width'],_0x4c9b70=_0x4fcb5d[_0x5d93cf(0x241)],_0x36263f=(_0x175510=_0x4fcb5d[_0x5d93cf(0x248)])==null?void 0x0:_0x175510[_0x5d93cf(0x1e8)],_0x5e89c3=(_0x5814a6=_0x4fcb5d[_0x5d93cf(0x248)])==null?void 0x0:_0x5814a6[_0x5d93cf(0x1a7)],_0x1ec331=f(_0x3f3e7f,_0x4a85d4,_0x326343,_0x4fcb5d[_0x5d93cf(0x248)]),_0x6c3ab9=(_0x2fd727=_0x4fcb5d[_0x5d93cf(0x223)])!=null?_0x2fd727:!0x0;if(!_0x41603b)throw new Error(_0x5d93cf(0x1c6));return await this[_0x5d93cf(0x1cc)][_0x5d93cf(0x24c)](M[_0x5d93cf(0x208)]['id'],{'unitId':_0x3f3e7f,'subUnitId':_0x5f09d6,'chartId':_0x4a85d4,'chartType':_0x326343,'range':_0x41603b,'position':_0x2f4b70,'width':_0x1d43e3,'height':_0x4c9b70,'backgroundColor':_0x36263f,'borderColor':_0x5e89c3,'config':_0x1ec331,'isRowDirection':_0x6c3ab9}),new A(_0x3f3e7f,_0x5f09d6,_0x4a85d4,this[_0x5d93cf(0x1b2)]);}['updateChart'](_0x187b99){const _0xeb84d1=_0x18f253,{unitId:_0x3afbf4,chartId:_0x10d2dd,chartType:_0x347737,options:_0x537bcf}=_0x187b99,_0x59af73=f(_0x3afbf4,_0x10d2dd,_0x347737,_0x537bcf);this[_0xeb84d1(0x1cc)][_0xeb84d1(0x24c)](u[_0xeb84d1(0x21c)]['id'],_0x59af73);}[_0x18f253(0x1e1)](_0x31b3c9){const _0x1363b0=_0x18f253;if(_0x31b3c9)return new c(_0x31b3c9[_0x1363b0(0x1df)],_0x31b3c9[_0x1363b0(0x185)],this[_0x1363b0(0x1b5)],this['_injector'],_0x31b3c9['chartId']);const _0x1526c2=this[_0x1363b0(0x1a3)]()[_0x1363b0(0x24e)](),_0xfb98db=this[_0x1363b0(0x1ba)]();return new c(_0x1526c2,_0xfb98db,this[_0x1363b0(0x1b5)],this['_injector']);}[_0x18f253(0x1a9)](){const _0x2b9368=_0x18f253,_0xfcdbc0=this['_injector']['get'](u[_0x2b9368(0x1ad)]),_0xcaa707=this['getWorkbook']()[_0x2b9368(0x24e)]();return _0xfcdbc0[_0x2b9368(0x18b)](_0xcaa707,this['getSheetId']())[_0x2b9368(0x191)](_0x119b14=>new A(_0xcaa707,this['getSheetId'](),_0x119b14['id'],this[_0x2b9368(0x1b2)]));}[_0x18f253(0x1e5)](_0x494bfc){const _0x209c94=_0x18f253,_0x39bfa9=_0x494bfc[_0x209c94(0x1df)],_0x415981=_0x494bfc[_0x209c94(0x185)],_0x2340f1=_0x494bfc[_0x209c94(0x1d6)],_0x458085={'unitId':_0x39bfa9,'drawings':[{'unitId':_0x39bfa9,'subUnitId':_0x415981,'drawingId':_0x2340f1,'drawingType':S['DrawingTypeEnum']['DRAWING_CHART']}]};return this['_commandService'][_0x209c94(0x24c)](j[_0x209c94(0x1fd)]['id'],_0x458085);}[_0x18f253(0x20b)](_0x137e6f,_0x4dd1af){const _0x1a0047=_0x18f253;this[_0x1a0047(0x1b2)][_0x1a0047(0x1bf)](d[_0x1a0047(0x1e6)])['registerTheme'](_0x137e6f,_0x4dd1af);}}b[_0x18f253(0x24a)][_0x18f253(0x1c8)](H);class z extends m['FEnum']{get[_0x18f253(0x1c5)](){return d['ChartTypeBits'];}get[_0x18f253(0x23c)](){const _0x3e0c74=_0x18f253;return d[_0x3e0c74(0x23c)];}get[_0x18f253(0x217)](){const _0x411302=_0x18f253;return d[_0x411302(0x217)];}get[_0x18f253(0x20d)](){const _0x219e0f=_0x18f253;return d[_0x219e0f(0x20d)];}get['ChartBorderDashType'](){const _0x9b8fb1=_0x18f253;return d[_0x9b8fb1(0x19d)];}get['LinePointShape'](){const _0x5bf656=_0x18f253;return d[_0x5bf656(0x222)];}get['TitlePositionEnum'](){const _0x1685e6=_0x18f253;return d[_0x1685e6(0x22e)];}get[_0x18f253(0x1a1)](){const _0x659387=_0x18f253;return d[_0x659387(0x1a1)];}}m[_0x18f253(0x182)][_0x18f253(0x1c8)](z);class I extends c{constructor(_0x1a1caf,_0x341625,_0x27f345,_0xa80ac,_0x3396da){const _0x167bf9=_0x18f253;super(_0x1a1caf,_0x341625,_0x27f345,_0xa80ac,_0x3396da),o(this,_0x167bf9(0x1a8)),o(this,_0x167bf9(0x200)),o(this,_0x167bf9(0x204)),o(this,'dataPointSize');}[_0x18f253(0x19b)](_0x20c12d){const _0x36795d=_0x18f253;return this[_0x36795d(0x1a8)]=_0x20c12d,this;}[_0x18f253(0x231)](_0x416bf3){const _0x190da8=_0x18f253;return this[_0x190da8(0x200)]=_0x416bf3,this;}[_0x18f253(0x23d)](_0x4f3571){const _0x4fb75f=_0x18f253;return this[_0x4fb75f(0x204)]=_0x4f3571,this;}[_0x18f253(0x227)](_0x2ed629){return this['dataPointSize']=_0x2ed629,this;}['build'](){const _0x23c48c=_0x18f253,_0x54010c=super[_0x23c48c(0x1f3)]();_0x54010c[_0x23c48c(0x1d9)]=d[_0x23c48c(0x183)][_0x23c48c(0x1ed)];const _0x25dec5=_0x54010c[_0x23c48c(0x248)]||{};return s(_0x25dec5,'area.lineStyle',this['lineStyle']),s(_0x25dec5,_0x23c48c(0x1fa),this[_0x23c48c(0x200)]),s(_0x25dec5,_0x23c48c(0x1bb),this['dataPointColor']),s(_0x25dec5,_0x23c48c(0x237),this[_0x23c48c(0x1ab)]),_0x54010c[_0x23c48c(0x248)]=_0x25dec5,_0x54010c;}}function _0x1753(_0x3cb049,_0x22146b){const _0x542f54=_0x542f();return _0x1753=function(_0x1753ba,_0x5f53f6){_0x1753ba=_0x1753ba-0x17a;let _0x127d9b=_0x542f54[_0x1753ba];return _0x127d9b;},_0x1753(_0x3cb049,_0x22146b);}class F extends c{[_0x18f253(0x21d)](){const _0x4331e0=_0x18f253;return new I(this[_0x4331e0(0x1df)],this[_0x4331e0(0x185)],this[_0x4331e0(0x1b5)],this[_0x4331e0(0x1b2)],this[_0x4331e0(0x1d6)]);}}c['extend'](F);class k extends c{constructor(_0x1ba367,_0x10ba54,_0x47393d,_0x48d29f,_0x5a1deb){const _0x160a60=_0x18f253;super(_0x1ba367,_0x10ba54,_0x47393d,_0x48d29f,_0x5a1deb),o(this,'doughnutHole'),o(this,_0x160a60(0x1a7)),o(this,'hasPaddingAngle'),o(this,_0x160a60(0x198)),o(this,_0x160a60(0x244)),o(this,_0x160a60(0x17a));}['setDoughnutHole'](_0xb273d3){const _0x175efb=_0x18f253;return this[_0x175efb(0x20e)]=_0xb273d3,this;}[_0x18f253(0x240)](_0x2159db){return this['borderColor']=_0x2159db,this;}['setHasPaddingAngle'](_0x113346){return this['hasPaddingAngle']=_0x113346,this;}[_0x18f253(0x206)](_0x13435f){return this['isHalfPie']=_0x13435f,this;}[_0x18f253(0x1f8)](_0x166bfc){const _0xe56976=_0x18f253;return this[_0xe56976(0x244)]=_0x166bfc,this;}[_0x18f253(0x1a5)](_0x26bd04){const _0x505f17=_0x18f253;return this[_0x505f17(0x17a)]=_0x26bd04,this;}['build'](){const _0x3cf2f8=_0x18f253,_0x5193f7=super['build']();_0x5193f7['chartType']=d[_0x3cf2f8(0x183)][_0x3cf2f8(0x201)];const _0x4969e9=_0x5193f7[_0x3cf2f8(0x248)]||{};return s(_0x4969e9,'pie.doughnutHole',this['doughnutHole']),s(_0x4969e9,_0x3cf2f8(0x1ae),this[_0x3cf2f8(0x1a7)]),s(_0x4969e9,_0x3cf2f8(0x21f),this[_0x3cf2f8(0x1b8)]),s(_0x4969e9,_0x3cf2f8(0x1d4),this[_0x3cf2f8(0x198)]),s(_0x4969e9,_0x3cf2f8(0x197),this[_0x3cf2f8(0x244)]),s(_0x4969e9,_0x3cf2f8(0x1ec),this['showLabelLine']),_0x5193f7[_0x3cf2f8(0x248)]=_0x4969e9,_0x5193f7;}}class O extends c{['asPieChart'](){const _0x3a7774=_0x18f253;return new k(this[_0x3a7774(0x1df)],this[_0x3a7774(0x185)],this[_0x3a7774(0x1b5)],this[_0x3a7774(0x1b2)],this['chartId']);}}function _0x542f(){const _0xdeaff8=['symbol','getSheetId','allSeriesStyle.point.color','titles.xAxisTitle.fontSize','3690060XJlUMH','364113YAMaez','get','legend.label.italic','label','setWidth','setTransposeRowsAndColumns','setProperty','ChartType','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','radar.shape','extend','setXAxisTitle','setFill','selectMode','_commandService','2549870hmzAIL','fontColor','104lXwnAR','allSeriesStyle.border','top','ISheetSelectionRenderService','setChartType','pie.isHalfPie','titles.xAxisTitle.color','chartId','FChart','legend.label.bold','chartType','titles.title.align','RadarChartBuilder','getSeriesData','clearRange','width','unitId','setSeriesStyle','newChart','config','sheetName','indicatorLabelTextColor','removeChart','ChartThemeService','100EunXXO','backgroundColor','axisAlignment','addRange','sourceSheetName','pie.showLabelLine','Line','setShape','titles.rightYAxisTitle.bold','setXAxisTextStyle','with','radar.fill','build','setTheme','axisPointer','rightYAxisTitle','xAxisTitle','setRosePie','font','allSeriesStyle.point.shape','setOptions','fontSize','RemoveSheetDrawingCommand','Radar','legend.label.fontSize','dataPointShape','Pie','transposeRowsAndColumns','titles.yAxisTitle.content','dataPointColor','context','setIsHalfPie','setPosition','InsertChartCommand','titleAlignment','getRenderById','registerChartTheme','titles.rightYAxisTitle.fontSize','AxisAlignEnum','doughnutHole','fontStyle','fill','yAxis','LineChartBuilder','titles.title.fontSize','UNIVER_SHEET','shape','setInvalidValueStrategy','SelectModeEnum','setAbsolutePosition','ICommandService','tooltip.indicatorLabelTextColor','allSeriesStyle.color','ChartUpdateConfigCommand','asLineChart','seriesStyleMap','pie.hasPaddingAngle','dataSource','titles.title.bold','LinePointShape','isRowDirection','SheetSkeletonManagerService','setYAxisTitle','titles.yAxisTitle.bold','setDataPointSize','titles.xAxisTitle.family','allSeriesStyle.point','rightYAxis','IUniverInstanceService','range','length','TitlePositionEnum','titles.rightYAxisTitle.family','yAxisTitle','setDataPointShape','area','title','IRenderManagerService','pie','indicatorLineType','allSeriesStyle.point.size','insertChart','setAxisPointerStyle','legend','gradientFill','LegendPositionEnum','setDataPointColor','\x20not\x20found','yAxis.label.axisTitleAlign','setBorderColor','height','color','theme','rosePie','content','getRangeInfo','tooltip.indicatorLabelColor','options','allSeriesStyle.rightYAxis','FWorksheet','point','executeCommand','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','getUnitId','getCategoryData','showLabelLine','defineProperty','titles.title.family','category','setHeight','asRadarChart','keys','UniverInstanceType','FEnum','ChartTypeBits','getChartModel','subUnitId','indicatorLineColor','titles.title.content','legend.selectMode','titles.xAxisTitle.font','yRightAxis','getUnitChartModels','titles.xAxisTitle.content','invalidValueType','position','242180liqOvg','12FEwvfc','map','titles.rightYAxisTitle.font','area.lineStyle','convertPositionCellToSheetOverGrid','titles.rightYAxisTitle.content','titles.xAxisTitle.bold','pie.rosePie','isHalfPie','1064064VPGmYh','left','setLineStyle','titles.title.color','ChartBorderDashType','allSeriesStyle','tooltip.indicatorLineType','titles.rightYAxisTitle.color','RadarShape','pie.doughnutHole','getWorkbook','getChartId','setShowLabelLine','Sheet\x20','borderColor','lineStyle','getCharts','italic','dataPointSize','bold','SheetsChartService','pie.borderColor','setRightYAxisTextStyle','895027VdHoaW','xAxis.label.axisTitleAlign','_injector','deserializeRangeWithSheet','103711TANFDC','_workbook','Module','radar','hasPaddingAngle'];_0x542f=function(){return _0xdeaff8;};return _0x542f();}c['extend'](O);class R extends c{constructor(_0x3775ea,_0x26609,_0x43ea1d,_0xb3511f,_0x19a964){const _0x2025bd=_0x18f253;super(_0x3775ea,_0x26609,_0x43ea1d,_0xb3511f,_0x19a964),o(this,_0x2025bd(0x215)),o(this,_0x2025bd(0x210));}[_0x18f253(0x1ee)](_0x5eddef){const _0xe8e3e6=_0x18f253;return this[_0xe8e3e6(0x215)]=_0x5eddef,this;}[_0x18f253(0x1ca)](_0x6dd8be){const _0x3bd1f6=_0x18f253;return this[_0x3bd1f6(0x210)]=_0x6dd8be,this;}[_0x18f253(0x1f3)](){const _0x45b994=_0x18f253,_0xa05080=super[_0x45b994(0x1f3)]();_0xa05080['chartType']=d['ChartTypeBits'][_0x45b994(0x1fe)];const _0x57e4b5=_0xa05080[_0x45b994(0x248)]||{};return s(_0x57e4b5,_0x45b994(0x1c7),this[_0x45b994(0x215)]),s(_0x57e4b5,_0x45b994(0x1f2),this[_0x45b994(0x210)]),_0xa05080[_0x45b994(0x248)]=_0x57e4b5,_0xa05080;}}class B extends c{[_0x18f253(0x17f)](){const _0x418f48=_0x18f253;return new R(this[_0x418f48(0x1df)],this[_0x418f48(0x185)],this[_0x418f48(0x1b5)],this[_0x418f48(0x1b2)],this[_0x418f48(0x1d6)]);}}c[_0x18f253(0x1c8)](B),exports[_0x18f253(0x1d7)]=A,exports['FChartBuilderBase']=c,exports[_0x18f253(0x212)]=I,exports['PieChartBuilder']=k,exports[_0x18f253(0x1db)]=R;
1
+ 'use strict';const _0x2551b8=_0x5e19;(function(_0x1abd22,_0x4ee37a){const _0x44eeba=_0x5e19,_0x2fbabd=_0x1abd22();while(!![]){try{const _0x138e1d=-parseInt(_0x44eeba(0x1cc))/0x1+parseInt(_0x44eeba(0x197))/0x2+-parseInt(_0x44eeba(0x18b))/0x3*(-parseInt(_0x44eeba(0x243))/0x4)+parseInt(_0x44eeba(0x1a2))/0x5*(-parseInt(_0x44eeba(0x239))/0x6)+-parseInt(_0x44eeba(0x1da))/0x7*(parseInt(_0x44eeba(0x1f7))/0x8)+parseInt(_0x44eeba(0x200))/0x9*(parseInt(_0x44eeba(0x22e))/0xa)+parseInt(_0x44eeba(0x19d))/0xb;if(_0x138e1d===_0x4ee37a)break;else _0x2fbabd['push'](_0x2fbabd['shift']());}catch(_0x3b8ac1){_0x2fbabd['push'](_0x2fbabd['shift']());}}}(_0x2855,0x464e9));function _0x5e19(_0x2cb897,_0x3b52ae){const _0x2855c8=_0x2855();return _0x5e19=function(_0x5e19a8,_0x278b3f){_0x5e19a8=_0x5e19a8-0x16f;let _0x227f6b=_0x2855c8[_0x5e19a8];return _0x227f6b;},_0x5e19(_0x2cb897,_0x3b52ae);}function _0x2855(){const _0x4a282c=['titles.title.bold','titles.title.content','showLabelLine','range','borderColor','setYAxisTitle','_workbook','titles.xAxisTitle.family','setXAxisTextStyle','ChartTypeBits','Pie','dataPointShape','length','titles.rightYAxisTitle.family','legend.label.italic','rightYAxisTitle','lineStyle','yAxisTitle','yAxis.label.axisTitleAlign','allSeriesStyle.color','axisPointer','label','3AgIjbl','fontSize','setShape','color','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','dataPointSize','registerChartTheme','radar','string','setAxisPointerStyle','titles.title.family','context','656010vhcvQt','height','chartId','setChartType','convertPositionCellToSheetOverGrid','titles.yAxisTitle.font','3385866VlHiEk','UniverInstanceType','extend','titles.title.color','symbol','2617355iDNdCj','setXAxisTitle','legend','defineProperty','dataPointColor','fontStyle','selectMode','legend.label.bold','position','ChartThemeService','getRangeInfo','config','titles.xAxisTitle.fontSize','subUnitId','LegendPositionEnum','setHeight','theme','setIsHalfPie','setDataPointColor','getWorkbook','pie.hasPaddingAngle','ISheetSelectionRenderService','titles.rightYAxisTitle.font','backgroundColor','titles.yAxisTitle.bold','invalidValueType','allSeriesStyle','rightYAxis','setSeriesStyle','rosePie','tooltip.indicatorLineType','fontColor','width','tooltip.indicatorLabelTextColor','allSeriesStyle.point.shape','pie.isHalfPie','seriesStyleMap','axisAlignment','allSeriesStyle.point.size','getCategoryData','Line','pie.borderColor','404649WagiQj','xAxis','sheetName','get','getSheetId','legend.position','setProperty','area','bold','clearRange','setLineStyle','IUniverInstanceService','getUnitId','modify','350QItQXC','setDataPointShape','pie.rosePie','LinePointShape','setRosePie','SheetSkeletonManagerService','indicatorLabelColor','updateRange','title','area.lineStyle','setInvalidValueStrategy','transposeRowsAndColumns','xAxisTitle','asLineChart','shape','top','sourceSheetName','gradientFill','allSeriesStyle.point.color','isHalfPie','unitId','allSeriesStyle.border','allSeriesStyle.rightYAxis','tooltip.indicatorLineColor','titles.title.align','tooltip.indicatorLabelColor','titles.yAxisTitle.family','legend.selectMode','titles.xAxisTitle.color','30896GCptjF','getSheetBySheetName','FWorksheet','getCharts','getCurrentUnitForType','titles.yAxisTitle.fontSize','ChartUpdateConfigCommand','_injector','doughnutHole','4032207QcUnkF','setRightYAxisTitle','TitlePositionEnum','AxisAlignEnum','category','RadarShape','FChartBuilderBase','setYAxisTextStyle','options','setBorderColor','yAxis','PieChartBuilder','titles.title.fontSize','pie.doughnutHole','pie','ChartBorderDashType','getChartModel','yRightAxis','toStringTag','titleAlignment','series','build','radar.shape','chartType','legend.label.fontSize','updateChart','ChartUpdateSourceCommand','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','setOptions','allSeriesStyle.label','setWidth','DRAWING_CHART','dataSource','setPosition','titles.rightYAxisTitle.color','setHasPaddingAngle','setDoughnutHole','insertChart','Radar','style','addRange','setShowLabelLine','indicatorLineColor','border','executeCommand','isRowDirection','10DmvfRG','hasPaddingAngle','SheetsChartService','_commandService','FEnum','asRadarChart','titles.rightYAxisTitle.fontSize','setRightYAxisTextStyle','titles.yAxisTitle.color','LineChartBuilder','newChart','6ddpBvn','content','FBase','keys','InsertChartCommand','with','deserializeRangeWithSheet','UNIVER_SHEET','pie.showLabelLine','italic','1301452eaDUIZ','getSeriesData','removeChart','titles.title.font','setAllSeriesStyle','font','getRange','fill'];_0x2855=function(){return _0x4a282c;};return _0x2855();}var L=Object[_0x2551b8(0x1a5)],U=(_0x53d5c9,_0x289cbe,_0x5b2304)=>_0x289cbe in _0x53d5c9?L(_0x53d5c9,_0x289cbe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b2304}):_0x53d5c9[_0x289cbe]=_0x5b2304,o=(_0x459edd,_0x1cbbe3,_0x3c4428)=>U(_0x459edd,typeof _0x1cbbe3!=_0x2551b8(0x1a1)?_0x1cbbe3+'':_0x1cbbe3,_0x3c4428);Object[_0x2551b8(0x1a5)](exports,Symbol[_0x2551b8(0x212)],{'value':'Module'});const d=require('@univerjs-pro/engine-chart'),u=require('@univerjs-pro/sheets-chart'),M=require('@univerjs-pro/sheets-chart-ui'),S=require('@univerjs/core'),j=require('@univerjs/sheets-drawing-ui'),b=require('@univerjs/sheets/facade'),m=require('@univerjs/core/facade'),Y=require('@univerjs/engine-formula'),E=require('@univerjs/engine-render'),T=require('@univerjs/sheets-ui'),s=(_0x4505da,_0xa6e01f,_0x20d751)=>{const _0x5ac6c1=_0x2551b8;_0x20d751!==void 0x0&&u[_0x5ac6c1(0x1d2)](_0x4505da,_0xa6e01f,_0x20d751);},f=(_0x5cbd46,_0x4dfbe4,_0x4dc8ee,_0x1f628b={})=>{const _0x592fac=_0x2551b8,_0x53f93a={},_0x36172b={};if(_0x1f628b[_0x592fac(0x1e2)]){const _0x21ff69=_0x1f628b[_0x592fac(0x1e2)];s(_0x53f93a,_0x592fac(0x176),_0x21ff69[_0x592fac(0x23a)]),s(_0x53f93a,_0x592fac(0x170),_0x21ff69[_0x592fac(0x172)]),s(_0x53f93a,_0x592fac(0x20c),_0x21ff69[_0x592fac(0x18c)]),s(_0x53f93a,_0x592fac(0x1a0),_0x21ff69[_0x592fac(0x1c1)]),s(_0x53f93a,_0x592fac(0x195),_0x21ff69[_0x592fac(0x1a7)]),s(_0x53f93a,_0x592fac(0x175),_0x21ff69[_0x592fac(0x1d4)]),s(_0x53f93a,_0x592fac(0x1f2),_0x21ff69[_0x592fac(0x213)]),s(_0x53f93a,'titles.titlePosition',_0x21ff69[_0x592fac(0x1aa)]);}if(_0x1f628b[_0x592fac(0x1a4)]){const _0x4ba26a=_0x1f628b['legend'];s(_0x53f93a,_0x592fac(0x1d1),_0x4ba26a[_0x592fac(0x1aa)]),s(_0x53f93a,_0x592fac(0x1f5),_0x4ba26a[_0x592fac(0x1a8)]),s(_0x53f93a,_0x592fac(0x218),_0x4ba26a[_0x592fac(0x18c)]),s(_0x53f93a,'legend.label.color',_0x4ba26a['color']),s(_0x53f93a,_0x592fac(0x1a9),_0x4ba26a['bold']),s(_0x53f93a,_0x592fac(0x183),_0x4ba26a[_0x592fac(0x242)]);}if(_0x1f628b[_0x592fac(0x20e)]){const _0x25e415=_0x1f628b['pie'];s(_0x53f93a,_0x592fac(0x20d),_0x25e415[_0x592fac(0x1ff)]),s(_0x53f93a,_0x592fac(0x1cb),_0x25e415['borderColor']),s(_0x53f93a,'pie.hasPaddingAngle',_0x25e415[_0x592fac(0x22f)]),s(_0x53f93a,_0x592fac(0x1c5),_0x25e415[_0x592fac(0x1ed)]),s(_0x53f93a,_0x592fac(0x1dc),_0x25e415[_0x592fac(0x1bf)]),s(_0x53f93a,_0x592fac(0x241),_0x25e415[_0x592fac(0x177)]);}if(_0x1f628b[_0x592fac(0x189)]){const _0x4add2d=_0x1f628b[_0x592fac(0x189)];s(_0x53f93a,_0x592fac(0x1f3),_0x4add2d[_0x592fac(0x1e0)]),s(_0x53f93a,_0x592fac(0x1c0),_0x4add2d['indicatorLineType']),s(_0x53f93a,_0x592fac(0x1f1),_0x4add2d[_0x592fac(0x22a)]),s(_0x53f93a,_0x592fac(0x1c3),_0x4add2d['indicatorLabelTextColor']);}if(_0x1f628b[_0x592fac(0x1bc)]&&(s(_0x53f93a,_0x592fac(0x1ef),_0x1f628b[_0x592fac(0x1bc)][_0x592fac(0x22b)]),s(_0x53f93a,_0x592fac(0x21d),_0x1f628b[_0x592fac(0x1bc)][_0x592fac(0x18a)]),s(_0x53f93a,_0x592fac(0x1f0),_0x1f628b[_0x592fac(0x1bc)][_0x592fac(0x1bd)]),s(_0x53f93a,'allSeriesStyle.point',_0x1f628b[_0x592fac(0x1bc)]['point']),s(_0x53f93a,_0x592fac(0x188),_0x1f628b[_0x592fac(0x1bc)][_0x592fac(0x18e)])),_0x1f628b[_0x592fac(0x1d3)]&&s(_0x53f93a,_0x592fac(0x1e3),_0x1f628b['area'][_0x592fac(0x185)]),_0x1f628b[_0x592fac(0x1b2)]&&s(_0x53f93a,'theme',_0x1f628b['theme']),_0x1f628b[_0x592fac(0x1b9)]&&s(_0x53f93a,_0x592fac(0x1b9),_0x1f628b[_0x592fac(0x1b9)]),_0x1f628b[_0x592fac(0x179)]&&s(_0x53f93a,_0x592fac(0x179),_0x1f628b[_0x592fac(0x179)]),_0x1f628b[_0x592fac(0x1eb)]&&s(_0x53f93a,_0x592fac(0x1eb),_0x1f628b[_0x592fac(0x1eb)]),_0x1f628b['invalidValueType']&&s(_0x53f93a,_0x592fac(0x1bb),_0x1f628b[_0x592fac(0x1bb)]),_0x1f628b['radar']&&s(_0x53f93a,_0x592fac(0x192),_0x1f628b[_0x592fac(0x192)]),_0x1f628b['xAxisTitle']){const _0x3891d9=_0x1f628b[_0x592fac(0x1e6)];s(_0x53f93a,'titles.xAxisTitle.content',_0x3891d9[_0x592fac(0x23a)]),s(_0x53f93a,'titles.xAxisTitle.font',_0x3891d9[_0x592fac(0x172)]),s(_0x53f93a,_0x592fac(0x1ae),_0x3891d9[_0x592fac(0x18c)]),s(_0x53f93a,_0x592fac(0x1f6),_0x3891d9[_0x592fac(0x1c1)]),s(_0x53f93a,_0x592fac(0x17c),_0x3891d9[_0x592fac(0x1a7)]),s(_0x53f93a,'titles.xAxisTitle.bold',_0x3891d9[_0x592fac(0x1d4)]),s(_0x53f93a,'xAxis.label.axisTitleAlign',_0x3891d9[_0x592fac(0x1c7)]);}if(_0x1f628b['yAxisTitle']){const _0x4aea54=_0x1f628b[_0x592fac(0x186)];s(_0x53f93a,'titles.yAxisTitle.content',_0x4aea54[_0x592fac(0x23a)]),s(_0x53f93a,_0x592fac(0x19c),_0x4aea54[_0x592fac(0x172)]),s(_0x53f93a,_0x592fac(0x1fc),_0x4aea54[_0x592fac(0x18c)]),s(_0x53f93a,_0x592fac(0x236),_0x4aea54[_0x592fac(0x1c1)]),s(_0x53f93a,_0x592fac(0x1f4),_0x4aea54[_0x592fac(0x1a7)]),s(_0x53f93a,_0x592fac(0x1ba),_0x4aea54[_0x592fac(0x1d4)]),s(_0x53f93a,_0x592fac(0x187),_0x4aea54[_0x592fac(0x1c7)]);}if(_0x1f628b[_0x592fac(0x184)]){const _0x4a23b9=_0x1f628b[_0x592fac(0x184)];s(_0x53f93a,'titles.rightYAxisTitle.content',_0x4a23b9[_0x592fac(0x23a)]),s(_0x53f93a,_0x592fac(0x1b8),_0x4a23b9[_0x592fac(0x172)]),s(_0x53f93a,_0x592fac(0x234),_0x4a23b9['fontSize']),s(_0x53f93a,_0x592fac(0x222),_0x4a23b9[_0x592fac(0x1c1)]),s(_0x53f93a,_0x592fac(0x182),_0x4a23b9[_0x592fac(0x1a7)]),s(_0x53f93a,'titles.rightYAxisTitle.bold',_0x4a23b9['bold']),s(_0x53f93a,'rightYAxis.label.axisTitleAlign',_0x4a23b9[_0x592fac(0x1c7)]);}_0x1f628b[_0x592fac(0x1cd)]&&s(_0x53f93a,_0x592fac(0x1cd),_0x1f628b[_0x592fac(0x1cd)]),_0x1f628b[_0x592fac(0x20a)]&&s(_0x53f93a,_0x592fac(0x20a),_0x1f628b[_0x592fac(0x20a)]),_0x1f628b[_0x592fac(0x211)]&&s(_0x53f93a,'rightYAxis',_0x1f628b[_0x592fac(0x211)]),_0x1f628b['seriesStyleMap']&&s(_0x53f93a,'seriesStyleMap',_0x1f628b[_0x592fac(0x1c6)]);const _0x452ba9={'unitId':_0x5cbd46,'chartModelId':_0x4dfbe4};let _0x2987b3=!0x1;if(_0x4dc8ee!==void 0x0&&(_0x452ba9[_0x592fac(0x217)]=_0x4dc8ee,_0x2987b3=!0x0),Object[_0x592fac(0x23c)](_0x53f93a)['length']>0x0&&(_0x452ba9[_0x592fac(0x227)]=_0x53f93a,_0x2987b3=!0x0),Object[_0x592fac(0x23c)](_0x36172b)[_0x592fac(0x181)]>0x0&&(_0x452ba9[_0x592fac(0x196)]=_0x36172b,_0x2987b3=!0x0),_0x2987b3)return _0x452ba9;};class c extends m[_0x2551b8(0x23b)]{constructor(_0x2ab65e,_0x491c71,_0x46f8b2,_0x4db2b9,_0x417a42){const _0x3e7659=_0x2551b8;super(),o(this,_0x3e7659(0x17b)),o(this,_0x3e7659(0x1fe)),o(this,'unitId'),o(this,_0x3e7659(0x1af)),o(this,_0x3e7659(0x199)),o(this,'range'),o(this,_0x3e7659(0x1ea)),o(this,'x'),o(this,'y'),o(this,_0x3e7659(0x1c2)),o(this,_0x3e7659(0x198)),o(this,_0x3e7659(0x217)),o(this,'options'),o(this,_0x3e7659(0x1e5)),(this[_0x3e7659(0x1ee)]=_0x2ab65e,this['subUnitId']=_0x491c71,this[_0x3e7659(0x17b)]=_0x46f8b2,this[_0x3e7659(0x1fe)]=_0x4db2b9,_0x417a42&&(this[_0x3e7659(0x199)]=_0x417a42));}['getChartType'](){const _0x499901=_0x2551b8;return this[_0x499901(0x217)];}[_0x2551b8(0x228)](_0x1136d7){const _0x511db8=_0x2551b8;if(typeof _0x1136d7==_0x511db8(0x193)){const _0xc1721a=Y[_0x511db8(0x23f)](_0x1136d7);_0xc1721a[_0x511db8(0x1ce)]&&(this[_0x511db8(0x1ea)]=_0xc1721a[_0x511db8(0x1ce)]),this[_0x511db8(0x178)]=_0xc1721a[_0x511db8(0x178)];}else this[_0x511db8(0x178)]=_0x1136d7;return this;}[_0x2551b8(0x1d5)](){const _0x95618e=_0x2551b8;return this[_0x95618e(0x178)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x2551b8(0x221)](_0x7a778f,_0x5d3dff,_0x37756f,_0x312656){const _0x16a9fd=_0x2551b8,_0x90f5f0=this[_0x16a9fd(0x1fe)][_0x16a9fd(0x1cf)](E['IRenderManagerService'])['getRenderById'](this['unitId']);if(!_0x90f5f0)throw new Error(_0x16a9fd(0x21b));const _0x2c63d6=_0x90f5f0['with'](T[_0x16a9fd(0x1b7)]),_0x1df485=_0x90f5f0[_0x16a9fd(0x23e)](T[_0x16a9fd(0x1df)]),{transform:_0x66ddab}=T[_0x16a9fd(0x19b)](this[_0x16a9fd(0x1ee)],this[_0x16a9fd(0x1af)],{'row':_0x7a778f,'column':_0x5d3dff,'rowOffset':_0x37756f,'columnOffset':_0x312656},0x1,0x1,_0x2c63d6,_0x1df485),_0x1ebbbb=_0x66ddab[_0x16a9fd(0x1e9)],_0x3533c6=_0x66ddab['left'];return this['x']=_0x3533c6,this['y']=_0x1ebbbb,this;}['setAbsolutePosition'](_0x5ee80e,_0x19ce9d){return this['x']=_0x5ee80e,this['y']=_0x19ce9d,this;}[_0x2551b8(0x19a)](_0x4abb0e){const _0x56a041=_0x2551b8;return this[_0x56a041(0x217)]=_0x4abb0e,this;}[_0x2551b8(0x21e)](_0x284681){return this['width']=_0x284681,this;}[_0x2551b8(0x1b1)](_0x40a198){return this['height']=_0x40a198,this;}['setOptions'](_0x47ad49,_0x4f3a35){const _0x4e11b7=_0x2551b8;return this[_0x4e11b7(0x208)]||(this[_0x4e11b7(0x208)]={}),_0x47ad49===''?(this[_0x4e11b7(0x208)]={...this[_0x4e11b7(0x208)],..._0x4f3a35},this):(u[_0x4e11b7(0x1d2)](this[_0x4e11b7(0x208)],_0x47ad49,_0x4f3a35),this);}['setTransposeRowsAndColumns'](_0x2bb75f){return this['transposeRowsAndColumns']=_0x2bb75f,this;}['setTheme'](_0x590a15){const _0x515d88=_0x2551b8;return this['setOptions'](_0x515d88(0x1b2),_0x590a15),this;}[_0x2551b8(0x1a3)](_0x72e924){const _0x77028c=_0x2551b8;var _0x1841d1;const _0x131528=((_0x1841d1=this[_0x77028c(0x208)])==null?void 0x0:_0x1841d1[_0x77028c(0x1e6)])||{};return _0x131528[_0x77028c(0x23a)]=_0x72e924,this[_0x77028c(0x21c)](_0x77028c(0x1e6),_0x131528),this;}[_0x2551b8(0x17a)](_0x21041c){const _0x23db2f=_0x2551b8;var _0x30c792;const _0x51239b=((_0x30c792=this[_0x23db2f(0x208)])==null?void 0x0:_0x30c792[_0x23db2f(0x186)])||{};return _0x51239b[_0x23db2f(0x23a)]=_0x21041c,this[_0x23db2f(0x21c)](_0x23db2f(0x186),_0x51239b),this;}[_0x2551b8(0x201)](_0x2e23f2){const _0x5bc919=_0x2551b8;var _0x17f81d;const _0x2b9989=((_0x17f81d=this[_0x5bc919(0x208)])==null?void 0x0:_0x17f81d[_0x5bc919(0x184)])||{};return _0x2b9989[_0x5bc919(0x23a)]=_0x2e23f2,this['setOptions']('rightYAxisTitle',_0x2b9989),this;}[_0x2551b8(0x17d)](_0x256c8d){const _0x14fe87=_0x2551b8;var _0x5520a5;const _0x2c25c9=((_0x5520a5=this[_0x14fe87(0x208)])==null?void 0x0:_0x5520a5[_0x14fe87(0x1e6)])||{};return this[_0x14fe87(0x21c)](_0x14fe87(0x1e6),{..._0x2c25c9,..._0x256c8d}),this;}[_0x2551b8(0x207)](_0x5e8254){const _0x11121f=_0x2551b8;var _0x2321ec;const _0x61fd88=((_0x2321ec=this['options'])==null?void 0x0:_0x2321ec['yAxisTitle'])||{};return this[_0x11121f(0x21c)](_0x11121f(0x186),{..._0x61fd88,..._0x5e8254}),this;}[_0x2551b8(0x235)](_0x10022a){const _0x56496c=_0x2551b8;var _0x199a54;const _0x274347=((_0x199a54=this[_0x56496c(0x208)])==null?void 0x0:_0x199a54[_0x56496c(0x184)])||{};return this[_0x56496c(0x21c)](_0x56496c(0x184),{..._0x274347,..._0x10022a}),this;}[_0x2551b8(0x1e4)](_0x1ad9a8){const _0x5b0217=_0x2551b8;return this[_0x5b0217(0x21c)]('invalidValueType',_0x1ad9a8),this;}[_0x2551b8(0x194)](_0x4e7d89){const _0x72ce13=_0x2551b8;return this[_0x72ce13(0x21c)](_0x72ce13(0x189),_0x4e7d89),this;}[_0x2551b8(0x171)](_0x15b0d8){const _0x4b545c=_0x2551b8;return this[_0x4b545c(0x21c)](_0x4b545c(0x1bc),_0x15b0d8),this;}[_0x2551b8(0x1be)](_0x1afe60,_0xdd3351){const _0x43d4a8=_0x2551b8;return this[_0x43d4a8(0x21c)](_0x43d4a8(0x1c6),{[_0x1afe60]:_0xdd3351}),this;}[_0x2551b8(0x215)](){const _0x14b9b8=_0x2551b8;var _0x28babe;let _0x2ba694=this['subUnitId'];if(this[_0x14b9b8(0x1ea)]){const _0x6c548f=(_0x28babe=this[_0x14b9b8(0x17b)][_0x14b9b8(0x1f8)](this['sourceSheetName']))==null?void 0x0:_0x28babe[_0x14b9b8(0x1d0)]();if(!_0x6c548f)throw new Error('Sheet\x20'+this['sourceSheetName']+'\x20not\x20found');_0x2ba694=_0x6c548f;}return{'unitId':this[_0x14b9b8(0x1ee)],'subUnitId':_0x2ba694,'chartId':this['chartId'],'range':this[_0x14b9b8(0x178)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0x14b9b8(0x198)],'chartType':this[_0x14b9b8(0x217)],'options':this[_0x14b9b8(0x208)],'isRowDirection':this[_0x14b9b8(0x1e5)]};}}class A{constructor(_0x50058a,_0x2d037f,_0x5aa623,_0x1b943a){const _0x147174=_0x2551b8;o(this,_0x147174(0x1ee)),o(this,_0x147174(0x1af)),o(this,'chartId'),o(this,_0x147174(0x1fe)),(this['unitId']=_0x50058a,this[_0x147174(0x1af)]=_0x2d037f,this[_0x147174(0x199)]=_0x5aa623,this[_0x147174(0x1fe)]=_0x1b943a);}['getChartId'](){return this['chartId'];}[_0x2551b8(0x173)](){const _0x56e010=_0x2551b8,_0x25ff78=this[_0x56e010(0x1fe)][_0x56e010(0x1cf)](u['SheetsChartService'])[_0x56e010(0x210)](this[_0x56e010(0x199)]);if(_0x25ff78)return _0x25ff78[_0x56e010(0x220)][_0x56e010(0x1ac)]();}[_0x2551b8(0x1e1)](_0xf10b27){const _0x4b9c80=_0x2551b8;return this[_0x4b9c80(0x1fe)][_0x4b9c80(0x1cf)](S['ICommandService'])[_0x4b9c80(0x22c)](u[_0x4b9c80(0x21a)]['id'],{'unitId':this['unitId'],'chartModelId':this[_0x4b9c80(0x199)],'range':_0xf10b27});}[_0x2551b8(0x244)](){const _0x204d70=_0x2551b8;var _0x282981;const _0x57d62e=this['_injector'][_0x204d70(0x1cf)](u[_0x204d70(0x230)])['getChartModel'](this['chartId']);if(_0x57d62e)return(_0x282981=_0x57d62e[_0x204d70(0x1ad)])==null?void 0x0:_0x282981[_0x204d70(0x214)];}[_0x2551b8(0x1c9)](){const _0x5be5bf=_0x2551b8;var _0x1affd8;const _0xfe8572=this[_0x5be5bf(0x1fe)][_0x5be5bf(0x1cf)](u[_0x5be5bf(0x230)])[_0x5be5bf(0x210)](this['chartId']);if(_0xfe8572)return(_0x1affd8=_0xfe8572[_0x5be5bf(0x1ad)])==null?void 0x0:_0x1affd8[_0x5be5bf(0x204)];}[_0x2551b8(0x1d9)](){const _0x886532=_0x2551b8,_0x424925=this[_0x886532(0x1fe)][_0x886532(0x1cf)](S[_0x886532(0x1d7)])[_0x886532(0x1fb)](S[_0x886532(0x19e)][_0x886532(0x240)]);return new c(this[_0x886532(0x1ee)],this['subUnitId'],_0x424925,this['_injector'],this[_0x886532(0x199)]);}}class H extends b[_0x2551b8(0x1f9)]{async[_0x2551b8(0x225)](_0x29d11c){const _0x3f7c14=_0x2551b8;var _0x56033d,_0xcb3060,_0x267872;const _0x2cdb25=_0x29d11c[_0x3f7c14(0x1ee)]||this[_0x3f7c14(0x1b5)]()[_0x3f7c14(0x1d8)](),_0x248910=_0x29d11c[_0x3f7c14(0x1af)]||this['getSheetId'](),_0x30004d=_0x29d11c[_0x3f7c14(0x199)]||S['generateRandomId'](),_0x2103d8=_0x29d11c[_0x3f7c14(0x217)],_0x2baf30=_0x29d11c[_0x3f7c14(0x178)],_0x568443={'x':_0x29d11c['x'],'y':_0x29d11c['y']},_0x1e42b7=_0x29d11c[_0x3f7c14(0x1c2)],_0x1e1001=_0x29d11c['height'],_0x249135=(_0x56033d=_0x29d11c[_0x3f7c14(0x208)])==null?void 0x0:_0x56033d[_0x3f7c14(0x1b9)],_0x5a3084=(_0xcb3060=_0x29d11c[_0x3f7c14(0x208)])==null?void 0x0:_0xcb3060[_0x3f7c14(0x179)],_0x3951c9=f(_0x2cdb25,_0x30004d,_0x2103d8,_0x29d11c[_0x3f7c14(0x208)]),_0x5cac69=(_0x267872=_0x29d11c[_0x3f7c14(0x22d)])!=null?_0x267872:!0x0;if(!_0x2baf30)throw new Error(_0x3f7c14(0x18f));return await this[_0x3f7c14(0x231)][_0x3f7c14(0x22c)](M[_0x3f7c14(0x23d)]['id'],{'unitId':_0x2cdb25,'subUnitId':_0x248910,'chartId':_0x30004d,'chartType':_0x2103d8,'range':_0x2baf30,'position':_0x568443,'width':_0x1e42b7,'height':_0x1e1001,'backgroundColor':_0x249135,'borderColor':_0x5a3084,'config':_0x3951c9,'isRowDirection':_0x5cac69}),new A(_0x2cdb25,_0x248910,_0x30004d,this[_0x3f7c14(0x1fe)]);}[_0x2551b8(0x219)](_0x3e4e39){const _0x36bf38=_0x2551b8,{unitId:_0x3189d7,chartId:_0x521c61,chartType:_0x3ce495,options:_0x2f1afc}=_0x3e4e39,_0x5cbf6e=f(_0x3189d7,_0x521c61,_0x3ce495,_0x2f1afc);this[_0x36bf38(0x231)][_0x36bf38(0x22c)](u[_0x36bf38(0x1fd)]['id'],_0x5cbf6e);}[_0x2551b8(0x238)](_0x564706){const _0x1d513a=_0x2551b8;if(_0x564706)return new c(_0x564706[_0x1d513a(0x1ee)],_0x564706[_0x1d513a(0x1af)],this['_workbook'],this[_0x1d513a(0x1fe)],_0x564706['chartId']);const _0x4c8077=this['getWorkbook']()[_0x1d513a(0x1d8)](),_0x1ab9e5=this[_0x1d513a(0x1d0)]();return new c(_0x4c8077,_0x1ab9e5,this[_0x1d513a(0x17b)],this[_0x1d513a(0x1fe)]);}[_0x2551b8(0x1fa)](){const _0x20d17c=_0x2551b8,_0x1f5c16=this[_0x20d17c(0x1fe)][_0x20d17c(0x1cf)](u[_0x20d17c(0x230)]),_0x45ce5d=this[_0x20d17c(0x1b5)]()[_0x20d17c(0x1d8)]();return _0x1f5c16['getUnitChartModels'](_0x45ce5d,this['getSheetId']())['map'](_0x1146db=>new A(_0x45ce5d,this[_0x20d17c(0x1d0)](),_0x1146db['id'],this[_0x20d17c(0x1fe)]));}[_0x2551b8(0x16f)](_0x367188){const _0x14d574=_0x2551b8,_0x233446=_0x367188['unitId'],_0x4946d0=_0x367188[_0x14d574(0x1af)],_0x42841d=_0x367188['chartId'],_0x50642a={'unitId':_0x233446,'drawings':[{'unitId':_0x233446,'subUnitId':_0x4946d0,'drawingId':_0x42841d,'drawingType':S['DrawingTypeEnum'][_0x14d574(0x21f)]}]};return this['_commandService'][_0x14d574(0x22c)](j['RemoveSheetDrawingCommand']['id'],_0x50642a);}[_0x2551b8(0x191)](_0x8b0d25,_0x295242){const _0x99ad46=_0x2551b8;this[_0x99ad46(0x1fe)][_0x99ad46(0x1cf)](d[_0x99ad46(0x1ab)])['registerTheme'](_0x8b0d25,_0x295242);}}b[_0x2551b8(0x1f9)][_0x2551b8(0x19f)](H);class z extends m[_0x2551b8(0x232)]{get['ChartType'](){const _0x337200=_0x2551b8;return d[_0x337200(0x17e)];}get[_0x2551b8(0x1b0)](){return d['LegendPositionEnum'];}get['SelectModeEnum'](){return d['SelectModeEnum'];}get['AxisAlignEnum'](){const _0x388498=_0x2551b8;return d[_0x388498(0x203)];}get[_0x2551b8(0x20f)](){const _0x110b82=_0x2551b8;return d[_0x110b82(0x20f)];}get[_0x2551b8(0x1dd)](){return d['LinePointShape'];}get[_0x2551b8(0x202)](){const _0x141421=_0x2551b8;return d[_0x141421(0x202)];}get[_0x2551b8(0x205)](){const _0x46dff8=_0x2551b8;return d[_0x46dff8(0x205)];}}m['FEnum'][_0x2551b8(0x19f)](z);class I extends c{constructor(_0x30dc9e,_0x159d6d,_0x13ab12,_0x1cd11d,_0x25fdda){const _0x42cdc8=_0x2551b8;super(_0x30dc9e,_0x159d6d,_0x13ab12,_0x1cd11d,_0x25fdda),o(this,_0x42cdc8(0x185)),o(this,_0x42cdc8(0x180)),o(this,_0x42cdc8(0x1a6)),o(this,_0x42cdc8(0x190));}[_0x2551b8(0x1d6)](_0x401123){const _0xbc799d=_0x2551b8;return this[_0xbc799d(0x185)]=_0x401123,this;}[_0x2551b8(0x1db)](_0x23ea27){return this['dataPointShape']=_0x23ea27,this;}[_0x2551b8(0x1b4)](_0x22b923){return this['dataPointColor']=_0x22b923,this;}['setDataPointSize'](_0x3f764f){const _0x37b98a=_0x2551b8;return this[_0x37b98a(0x190)]=_0x3f764f,this;}[_0x2551b8(0x215)](){const _0x17d83e=_0x2551b8,_0x552c20=super['build']();_0x552c20[_0x17d83e(0x217)]=d[_0x17d83e(0x17e)][_0x17d83e(0x1ca)];const _0x21463f=_0x552c20['options']||{};return s(_0x21463f,_0x17d83e(0x1e3),this[_0x17d83e(0x185)]),s(_0x21463f,_0x17d83e(0x1c4),this[_0x17d83e(0x180)]),s(_0x21463f,_0x17d83e(0x1ec),this[_0x17d83e(0x1a6)]),s(_0x21463f,_0x17d83e(0x1c8),this['dataPointSize']),_0x552c20[_0x17d83e(0x208)]=_0x21463f,_0x552c20;}}class F extends c{[_0x2551b8(0x1e7)](){const _0x5da342=_0x2551b8;return new I(this['unitId'],this['subUnitId'],this[_0x5da342(0x17b)],this[_0x5da342(0x1fe)],this[_0x5da342(0x199)]);}}c['extend'](F);class k extends c{constructor(_0x44cfb5,_0x16eb64,_0x125044,_0x299571,_0x50b1ce){const _0x587c2f=_0x2551b8;super(_0x44cfb5,_0x16eb64,_0x125044,_0x299571,_0x50b1ce),o(this,_0x587c2f(0x1ff)),o(this,'borderColor'),o(this,_0x587c2f(0x22f)),o(this,_0x587c2f(0x1ed)),o(this,_0x587c2f(0x1bf)),o(this,_0x587c2f(0x177));}[_0x2551b8(0x224)](_0x22e531){const _0x4305fd=_0x2551b8;return this[_0x4305fd(0x1ff)]=_0x22e531,this;}[_0x2551b8(0x209)](_0x4ee355){const _0x21bfba=_0x2551b8;return this[_0x21bfba(0x179)]=_0x4ee355,this;}[_0x2551b8(0x223)](_0x11ff7){return this['hasPaddingAngle']=_0x11ff7,this;}[_0x2551b8(0x1b3)](_0xe589d1){const _0x27dede=_0x2551b8;return this[_0x27dede(0x1ed)]=_0xe589d1,this;}[_0x2551b8(0x1de)](_0x1cedf7){const _0x1a27e6=_0x2551b8;return this[_0x1a27e6(0x1bf)]=_0x1cedf7,this;}[_0x2551b8(0x229)](_0x1cc816){const _0x194fe3=_0x2551b8;return this[_0x194fe3(0x177)]=_0x1cc816,this;}[_0x2551b8(0x215)](){const _0x2766a9=_0x2551b8,_0x571816=super['build']();_0x571816[_0x2766a9(0x217)]=d['ChartTypeBits'][_0x2766a9(0x17f)];const _0x4b078b=_0x571816[_0x2766a9(0x208)]||{};return s(_0x4b078b,'pie.doughnutHole',this[_0x2766a9(0x1ff)]),s(_0x4b078b,_0x2766a9(0x1cb),this[_0x2766a9(0x179)]),s(_0x4b078b,_0x2766a9(0x1b6),this['hasPaddingAngle']),s(_0x4b078b,_0x2766a9(0x1c5),this[_0x2766a9(0x1ed)]),s(_0x4b078b,_0x2766a9(0x1dc),this[_0x2766a9(0x1bf)]),s(_0x4b078b,_0x2766a9(0x241),this[_0x2766a9(0x177)]),_0x571816['options']=_0x4b078b,_0x571816;}}class O extends c{['asPieChart'](){const _0xe0b8a6=_0x2551b8;return new k(this['unitId'],this[_0xe0b8a6(0x1af)],this[_0xe0b8a6(0x17b)],this[_0xe0b8a6(0x1fe)],this[_0xe0b8a6(0x199)]);}}c[_0x2551b8(0x19f)](O);class R extends c{constructor(_0x350324,_0x115569,_0x4e4504,_0x6fd1ea,_0x1960cf){const _0x45664b=_0x2551b8;super(_0x350324,_0x115569,_0x4e4504,_0x6fd1ea,_0x1960cf),o(this,_0x45664b(0x1e8)),o(this,_0x45664b(0x174));}[_0x2551b8(0x18d)](_0x550b0b){const _0x2b3f01=_0x2551b8;return this[_0x2b3f01(0x1e8)]=_0x550b0b,this;}['setFill'](_0x295f47){const _0x195d1d=_0x2551b8;return this[_0x195d1d(0x174)]=_0x295f47,this;}['build'](){const _0x42ffc6=_0x2551b8,_0x44250f=super['build']();_0x44250f[_0x42ffc6(0x217)]=d[_0x42ffc6(0x17e)][_0x42ffc6(0x226)];const _0x571d6d=_0x44250f[_0x42ffc6(0x208)]||{};return s(_0x571d6d,_0x42ffc6(0x216),this[_0x42ffc6(0x1e8)]),s(_0x571d6d,'radar.fill',this['fill']),_0x44250f[_0x42ffc6(0x208)]=_0x571d6d,_0x44250f;}}class B extends c{[_0x2551b8(0x233)](){const _0x4e5f77=_0x2551b8;return new R(this[_0x4e5f77(0x1ee)],this[_0x4e5f77(0x1af)],this[_0x4e5f77(0x17b)],this[_0x4e5f77(0x1fe)],this[_0x4e5f77(0x199)]);}}c['extend'](B),exports['FChart']=A,exports[_0x2551b8(0x206)]=c,exports[_0x2551b8(0x237)]=I,exports[_0x2551b8(0x20b)]=k,exports['RadarChartBuilder']=R;