@univerjs-pro/sheets-chart 1.0.2 → 1.0.3

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 (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x12c231=_0x439d;(function(_0x26f895,_0x4cfec2){const _0x21f7cf=_0x439d,_0x4c07fa=_0x26f895();while(!![]){try{const _0x43b974=parseInt(_0x21f7cf(0x119))/0x1+parseInt(_0x21f7cf(0xf3))/0x2*(-parseInt(_0x21f7cf(0xff))/0x3)+parseInt(_0x21f7cf(0x101))/0x4+parseInt(_0x21f7cf(0x11c))/0x5+parseInt(_0x21f7cf(0x11e))/0x6*(-parseInt(_0x21f7cf(0x12d))/0x7)+-parseInt(_0x21f7cf(0x133))/0x8+parseInt(_0x21f7cf(0x134))/0x9*(-parseInt(_0x21f7cf(0x122))/0xa);if(_0x43b974===_0x4cfec2)break;else _0x4c07fa['push'](_0x4c07fa['shift']());}catch(_0x36a502){_0x4c07fa['push'](_0x4c07fa['shift']());}}}(_0x2bc2,0x1dd6e),Object[_0x12c231(0x12c)](exports,Symbol[_0x12c231(0x115)],{'value':'Module'}));let e=require('@univerjs-pro/engine-chart'),t=require('@univerjs-pro/engine-chart/facade'),n=require('@univerjs-pro/sheets-chart'),r=require('@univerjs/core'),i=require('@univerjs/sheets/facade'),a=require('@univerjs/core/facade');var o=class extends t['FChart']{constructor(_0x391849,_0x1655a6,_0x13885c,_0x597c14){const _0x45c424=_0x12c231;super(_0x13885c,()=>new n['SheetChartConfigAdapter']({'unitId':_0x391849,'subUnitId':_0x1655a6,'chartId':_0x13885c,'injector':_0x597c14}),(_0x40046f,_0x4735b7,_0x2c4974)=>(0x0,t['createChartBuilder'])({'info':_0x40046f,'description':_0x4735b7,'type':_0x2c4974,'normalizeSource':_0x318d82=>_0x318d82,'extension':({setInfo:_0x3a4896})=>({'setPosition'(_0x1a0e4e){const _0x514391=_0x439d;return _0x3a4896(_0x514391(0x10f),_0x1a0e4e),this;}})}),_0x597c14),this[_0x45c424(0xf1)]=_0x391849,this[_0x45c424(0xfb)]=_0x1655a6,this[_0x45c424(0x106)]=_0x13885c;}[_0x12c231(0x11f)](){const _0x281e6f=_0x12c231;let _0x343b17=this['_injector'][_0x281e6f(0x112)](n[_0x281e6f(0x102)])[_0x281e6f(0x126)](this['chartId']);return _0x343b17&&!Array['isArray'](_0x343b17)?_0x343b17:void 0x0;}[_0x12c231(0x105)](_0x753d0d){const _0x171a73=_0x12c231;return this[_0x171a73(0xfc)]()[_0x171a73(0xf6)]({'layout':{'anchor':_0x753d0d}}),this;}async[_0x12c231(0x121)](_0x57f609){const _0x593c38=_0x12c231;this[_0x593c38(0xfc)]()[_0x593c38(0x121)](_0x57f609);}[_0x12c231(0x114)](_0x522254){const _0x1cbaa4=_0x12c231;return this[_0x1cbaa4(0xfc)]()['commit']({'plotVisibleOnly':_0x522254}),this;}['getPlotVisibleOnly'](){const _0x4f9319=_0x12c231;return this[_0x4f9319(0xfc)]()[_0x4f9319(0xf9)]();}[_0x12c231(0xfc)](){const _0x4ff35b=_0x12c231;return new n[(_0x4ff35b(0x12f))]({'unitId':this[_0x4ff35b(0xf1)],'subUnitId':this['subUnitId'],'chartId':this['chartId'],'injector':this[_0x4ff35b(0xf2)]});}},s=class extends i[_0x12c231(0x129)]{[_0x12c231(0x11d)](_0x45e1a6){const _0x1cb16b=_0x12c231;return(0x0,t['createChartBuilder'])({'type':_0x45e1a6,'injector':this[_0x1cb16b(0xf2)],'commitError':'Insert\x20the\x20Sheet\x20chart\x20before\x20updating\x20it.','normalizeSource':_0x47580c=>_0x47580c,'createInfo':()=>({'anchor':void 0x0}),'extension':({setInfo:_0xeb9f7c})=>({'setPosition'(_0x282cfe){const _0x1de099=_0x1cb16b;return _0xeb9f7c(_0x1de099(0x10f),_0x282cfe),this;}})});}async[_0x12c231(0x12a)](_0x45ed82){const _0x32572d=_0x12c231;var _0x14bdac,_0x51eb03,_0x597eb6;let {config:_0x445cee,dataSource:_0x450784,anchor:_0x3fd8ba,position:_0x5d6322,size:_0x1c1604}=_0x45ed82,_0x344115={..._0x445cee,'source':_0x450784,'anchor':_0x3fd8ba,'position':_0x5d6322,'size':_0x1c1604},_0x25305d=(0x0,e[_0x32572d(0x118)])(_0x344115['type']),_0x1f1d23=this[_0x32572d(0xf7)](_0x25305d),_0x52e517=[],_0x115c09=(0x0,n[_0x32572d(0x130)])(_0x344115['source'],_0x1f1d23,_0x52e517);if(!_0x115c09||_0x52e517['some'](_0x4c8e40=>_0x4c8e40[_0x32572d(0x10b)]===n[_0x32572d(0x10d)][_0x32572d(0x117)]))throw Error(_0x52e517[_0x32572d(0x113)](_0x333640=>_0x333640[_0x32572d(0xf5)])[_0x32572d(0x103)](';\x20')||_0x32572d(0x10c));let _0x5026be=(0x0,r[_0x32572d(0x11b)])(),_0x57c1e4=(0x0,e[_0x32572d(0x120)])(_0x344115,{'series':(0x0,n[_0x32572d(0xfa)])(_0x115c09,_0x1f1d23,((_0x14bdac=_0x344115[_0x32572d(0x125)])==null?void 0x0:_0x14bdac[_0x32572d(0x124)])??0x0)}),_0x53d099=(0x0,n[_0x32572d(0x135)])({'unitId':_0x1f1d23[_0x32572d(0xf1)],'subUnitId':_0x1f1d23[_0x32572d(0xfb)],'injector':this['getInject']()},_0x344115,_0x52e517),_0x4c36f2={'unitId':_0x1f1d23[_0x32572d(0xf1)],'subUnitId':_0x1f1d23[_0x32572d(0xfb)],'chartId':_0x5026be,'chartType':_0x25305d,'source':_0x115c09[_0x32572d(0x104)]===n[_0x32572d(0xf0)][_0x32572d(0x131)]?_0x115c09['rangeInfo']:_0x115c09[_0x32572d(0xfe)],'position':_0x53d099,'width':(_0x51eb03=_0x344115[_0x32572d(0xfd)])==null?void 0x0:_0x51eb03[_0x32572d(0xee)],'height':(_0x597eb6=_0x344115[_0x32572d(0xfd)])==null?void 0x0:_0x597eb6['height'],'theme':_0x344115[_0x32572d(0x100)]??void 0x0,'config':{'unitId':_0x1f1d23[_0x32572d(0xf1)],'chartModelId':_0x5026be,'style':_0x57c1e4[_0x32572d(0x10a)],'context':_0x57c1e4['context'],'dataAggregation':_0x57c1e4[_0x32572d(0x11a)]}};if(!await this[_0x32572d(0xef)]()[_0x32572d(0x112)](r['ICommandService'])[_0x32572d(0x110)](n[_0x32572d(0x10e)]['id'],_0x4c36f2))throw Error(_0x32572d(0x136));return this[_0x32572d(0xf2)][_0x32572d(0x127)](o,_0x1f1d23[_0x32572d(0xf1)],_0x1f1d23[_0x32572d(0xfb)],_0x5026be,this['_injector']);}[_0x12c231(0x123)](_0x5339de){const _0x372084=_0x12c231;let {unitId:_0xcefa45,subUnitId:_0x394fc9}=this[_0x372084(0xf7)](),_0x41163a=this['getInject']()[_0x372084(0x112)](n[_0x372084(0x102)]);return _0x41163a[_0x372084(0x116)](_0x5339de)&&_0x41163a[_0x372084(0x107)](_0xcefa45,_0x5339de)===_0x394fc9?this[_0x372084(0xf2)]['createInstance'](o,_0xcefa45,_0x394fc9,_0x5339de,this[_0x372084(0xf2)]):null;}['getCharts'](){const _0x5f8100=_0x12c231;let {unitId:_0xc5e0a8,subUnitId:_0x298e98}=this['_chartSourceContext']();return this[_0x5f8100(0xef)]()[_0x5f8100(0x112)](n[_0x5f8100(0x102)])[_0x5f8100(0xf4)](_0xc5e0a8,_0x298e98)['filter'](Boolean)['map'](_0x1247bc=>this[_0x5f8100(0xf2)][_0x5f8100(0x127)](o,_0xc5e0a8,_0x298e98,_0x1247bc['id'],this[_0x5f8100(0xf2)]));}['_chartSourceContext'](_0x54caba){const _0x9b57c3=_0x12c231;let _0x122ef2=this[_0x9b57c3(0x12b)](),_0x314370=this[_0x9b57c3(0xef)]()[_0x9b57c3(0x112)](n[_0x9b57c3(0x102)]);return{'unitId':_0x122ef2[_0x9b57c3(0x132)](),'subUnitId':this[_0x9b57c3(0x108)](),'workbook':_0x122ef2,'localeService':this[_0x9b57c3(0xf2)][_0x9b57c3(0x112)](r[_0x9b57c3(0x111)]),..._0x54caba===void 0x0?{}:{'inferInitialChartSource':_0x4437a4=>_0x314370[_0x9b57c3(0x128)](_0x4437a4,_0x54caba)}};}};i[_0x12c231(0x129)][_0x12c231(0x12e)](s);var c=class extends a[_0x12c231(0xf8)]{get['ChartSourceOrientation'](){const _0x339cc=_0x12c231;return n[_0x339cc(0x109)];}};function _0x439d(_0x490884,_0x52f972){_0x490884=_0x490884-0xee;const _0x2bc258=_0x2bc2();let _0x439dad=_0x2bc258[_0x490884];return _0x439dad;}a[_0x12c231(0xf8)][_0x12c231(0x12e)](c),exports['FSheetChart']=o;function _0x2bc2(){const _0x58ca02=['1206515ObYbQC','newChart','6TaewOF','getRange','toChartModelConfig','setHeader','160CMSXrM','getChart','categoryIndex','mapping','getChartSourceSpec','createInstance','inferInitialChartSource','FWorksheet','insertChart','getWorkbook','defineProperty','211267iQLrhZ','extend','SheetChartConfigAdapter','resolveSourceSpec','Range','getUnitId','257608lDqdQC','138258slINAO','resolveInitialChartPosition','Failed\x20to\x20create\x20Sheet\x20chart.','width','getInject','ChartSourceKind','unitId','_injector','16034EUsiYG','getUnitChartModels','message','commitHost','_chartSourceContext','FEnum','getPlotVisibleOnly','resolveSourceSeries','subUnitId','_createSheetAdapter','size','ranges','12WfXgnX','theme','302588syrXIs','SheetsChartService','join','kind','setPosition','chartId','getSubUnitId','getSheetId','ChartSourceOrientation','style','severity','Invalid\x20Sheet\x20chart\x20source.','ChartDiagnosticSeverity','InsertChartCommand','anchor','executeCommand','LocaleService','get','map','setPlotVisibleOnly','toStringTag','getChartModel','Error','chartTypeToBits','145514SwNPTE','dataAggregation','generateRandomId'];_0x2bc2=function(){return _0x58ca02;};return _0x2bc2();}
1
+ const _0x417f77=_0x4f7b;(function(_0x32faea,_0x374d8d){const _0x2c945d=_0x4f7b,_0x47aff2=_0x32faea();while(!![]){try{const _0x2ad124=parseInt(_0x2c945d(0x158))/0x1+-parseInt(_0x2c945d(0x178))/0x2+parseInt(_0x2c945d(0x16b))/0x3+-parseInt(_0x2c945d(0x182))/0x4+parseInt(_0x2c945d(0x18e))/0x5+parseInt(_0x2c945d(0x15a))/0x6+-parseInt(_0x2c945d(0x17d))/0x7;if(_0x2ad124===_0x374d8d)break;else _0x47aff2['push'](_0x47aff2['shift']());}catch(_0x43fec9){_0x47aff2['push'](_0x47aff2['shift']());}}}(_0x40cd,0xe0a0a),Object[_0x417f77(0x16f)](exports,Symbol['toStringTag'],{'value':_0x417f77(0x14d)}));let e=require('@univerjs-pro/engine-chart'),t=require('@univerjs-pro/engine-chart/facade'),n=require('@univerjs-pro/sheets-chart'),r=require('@univerjs/core'),i=require('@univerjs/sheets/facade'),a=require('@univerjs/core/facade');var o=class extends t[_0x417f77(0x164)]{constructor(_0x2dcef9,_0x5d481e,_0x57a0f6,_0x5b8f8f){const _0x40ec45=_0x417f77;super(_0x57a0f6,()=>new n[(_0x40ec45(0x18a))]({'unitId':_0x2dcef9,'subUnitId':_0x5d481e,'chartId':_0x57a0f6,'injector':_0x5b8f8f}),(_0x4ffe45,_0xc202d2,_0x3022dc)=>(0x0,t[_0x40ec45(0x154)])({'info':_0x4ffe45,'description':_0xc202d2,'type':_0x3022dc,'normalizeSource':_0x3ae1ea=>_0x3ae1ea,'extension':({setInfo:_0x5c94a0})=>({'setPosition'(_0x27c3d1){const _0x2a47e8=_0x40ec45;return _0x5c94a0(_0x2a47e8(0x16e),_0x27c3d1),this;}})}),_0x5b8f8f),this[_0x40ec45(0x157)]=_0x2dcef9,this[_0x40ec45(0x17e)]=_0x5d481e,this[_0x40ec45(0x16a)]=_0x57a0f6;}['getRange'](){const _0xbe8613=_0x417f77;let _0x3920e5=this['_injector'][_0xbe8613(0x161)](n[_0xbe8613(0x183)])[_0xbe8613(0x184)](this[_0xbe8613(0x16a)]);return _0x3920e5&&!Array[_0xbe8613(0x17b)](_0x3920e5)?_0x3920e5:void 0x0;}[_0x417f77(0x14c)](_0x1a15a9){const _0xa0a508=_0x417f77;return this[_0xa0a508(0x167)]()[_0xa0a508(0x189)]({'layout':{'anchor':_0x1a15a9}}),this;}async[_0x417f77(0x152)](_0x1ecab9){const _0x28345a=_0x417f77;this[_0x28345a(0x167)]()[_0x28345a(0x152)](_0x1ecab9);}[_0x417f77(0x180)](_0x2dbfea){const _0x9146a4=_0x417f77;return this[_0x9146a4(0x167)]()['commit']({'plotVisibleOnly':_0x2dbfea}),this;}[_0x417f77(0x188)](){const _0x12a24f=_0x417f77;return this[_0x12a24f(0x167)]()['getPlotVisibleOnly']();}[_0x417f77(0x167)](){const _0x979e07=_0x417f77;return new n[(_0x979e07(0x18a))]({'unitId':this['unitId'],'subUnitId':this[_0x979e07(0x17e)],'chartId':this['chartId'],'injector':this[_0x979e07(0x165)]});}},s=class extends i[_0x417f77(0x171)]{[_0x417f77(0x175)](_0x34c56b){const _0xa7b876=_0x417f77;return(0x0,t[_0xa7b876(0x154)])({'type':_0x34c56b,'injector':this[_0xa7b876(0x165)],'commitError':'Insert\x20the\x20Sheet\x20chart\x20before\x20updating\x20it.','normalizeSource':_0x274800=>_0x274800,'createInfo':()=>({'anchor':void 0x0}),'extension':({setInfo:_0x4ecb5c})=>({'setPosition'(_0x51352a){return _0x4ecb5c('anchor',_0x51352a),this;}})});}async['insertChart'](_0x468cdd){const _0x20857f=_0x417f77;var _0x588e71,_0x11e282,_0x54236a;let {config:_0x582a7d,dataSource:_0x2f4f90,anchor:_0x4ac7e8,position:_0x25a27e,size:_0x4b6779}=_0x468cdd,_0x773bbc={..._0x582a7d,'source':_0x2f4f90,'anchor':_0x4ac7e8,'position':_0x25a27e,'size':_0x4b6779},_0x20bff8=(0x0,e['chartTypeToBits'])(_0x773bbc[_0x20857f(0x149)]),_0x10d89a=this['_chartSourceContext'](_0x20bff8),_0x26f055=[],_0x25b2b9=(0x0,n['resolveSourceSpec'])(_0x773bbc[_0x20857f(0x15f)],_0x10d89a,_0x26f055);if(!_0x25b2b9||_0x26f055[_0x20857f(0x168)](_0x1c00d7=>_0x1c00d7[_0x20857f(0x179)]===n[_0x20857f(0x160)][_0x20857f(0x185)]))throw Error(_0x26f055['map'](_0x3cec4a=>_0x3cec4a[_0x20857f(0x169)])[_0x20857f(0x170)](';\x20')||_0x20857f(0x15d));let _0x86fa42=(0x0,r[_0x20857f(0x186)])(),_0x46c571=(0x0,e[_0x20857f(0x17f)])(_0x773bbc,{'series':(0x0,n['resolveSourceSeries'])(_0x25b2b9,_0x10d89a,((_0x588e71=_0x773bbc[_0x20857f(0x163)])==null?void 0x0:_0x588e71[_0x20857f(0x150)])??0x0)}),_0x3b401b=(0x0,n[_0x20857f(0x151)])({'unitId':_0x10d89a['unitId'],'subUnitId':_0x10d89a[_0x20857f(0x17e)],'injector':this[_0x20857f(0x14b)]()},_0x773bbc,_0x26f055),_0x137e2d={'unitId':_0x10d89a['unitId'],'subUnitId':_0x10d89a[_0x20857f(0x17e)],'chartId':_0x86fa42,'chartType':_0x20bff8,'source':_0x25b2b9[_0x20857f(0x173)]===n[_0x20857f(0x172)][_0x20857f(0x156)]?_0x25b2b9[_0x20857f(0x16c)]:_0x25b2b9['ranges'],'position':_0x3b401b,'width':(_0x11e282=_0x773bbc['size'])==null?void 0x0:_0x11e282[_0x20857f(0x166)],'height':(_0x54236a=_0x773bbc['size'])==null?void 0x0:_0x54236a[_0x20857f(0x162)],'theme':_0x773bbc[_0x20857f(0x16d)]??void 0x0,'config':{'unitId':_0x10d89a[_0x20857f(0x157)],'chartModelId':_0x86fa42,'style':_0x46c571[_0x20857f(0x14e)],'context':_0x46c571[_0x20857f(0x18d)],'dataAggregation':_0x46c571[_0x20857f(0x187)]}};if(!await this['getInject']()[_0x20857f(0x161)](r['ICommandService'])[_0x20857f(0x15e)](n['InsertChartCommand']['id'],_0x137e2d))throw Error('Failed\x20to\x20create\x20Sheet\x20chart.');return this[_0x20857f(0x165)]['createInstance'](o,_0x10d89a[_0x20857f(0x157)],_0x10d89a[_0x20857f(0x17e)],_0x86fa42,this['_injector']);}[_0x417f77(0x15c)](_0x5d8f30){const _0x2ea97d=_0x417f77;let {unitId:_0x642167,subUnitId:_0x2eaafc}=this['_chartSourceContext'](),_0x1c7622=this[_0x2ea97d(0x14b)]()[_0x2ea97d(0x161)](n[_0x2ea97d(0x183)]);return _0x1c7622['getChartModel'](_0x5d8f30)&&_0x1c7622[_0x2ea97d(0x177)](_0x642167,_0x5d8f30)===_0x2eaafc?this[_0x2ea97d(0x165)]['createInstance'](o,_0x642167,_0x2eaafc,_0x5d8f30,this['_injector']):null;}[_0x417f77(0x176)](){const _0x50be8d=_0x417f77;let {unitId:_0x2933b0,subUnitId:_0x27d706}=this[_0x50be8d(0x18b)]();return this[_0x50be8d(0x14b)]()['get'](n['SheetsChartService'])[_0x50be8d(0x159)](_0x2933b0,_0x27d706)[_0x50be8d(0x153)](Boolean)['map'](_0x468274=>this[_0x50be8d(0x165)][_0x50be8d(0x17c)](o,_0x2933b0,_0x27d706,_0x468274['id'],this['_injector']));}['_chartSourceContext'](_0xc28aec){const _0x4f0cff=_0x417f77;let _0x38b190=this['getWorkbook'](),_0x459a69=this['getInject']()[_0x4f0cff(0x161)](n[_0x4f0cff(0x183)]);return{'unitId':_0x38b190[_0x4f0cff(0x14f)](),'subUnitId':this[_0x4f0cff(0x15b)](),'workbook':_0x38b190,'localeService':this[_0x4f0cff(0x165)][_0x4f0cff(0x161)](r[_0x4f0cff(0x18c)]),..._0xc28aec===void 0x0?{}:{'inferInitialChartSource':_0x56fd3a=>_0x459a69[_0x4f0cff(0x17a)](_0x56fd3a,_0xc28aec)}};}};i['FWorksheet'][_0x417f77(0x155)](s);var c=class extends a['FEnum']{get[_0x417f77(0x14a)](){const _0x403b80=_0x417f77;return n[_0x403b80(0x14a)];}};a[_0x417f77(0x181)][_0x417f77(0x155)](c),exports[_0x417f77(0x174)]=o;function _0x4f7b(_0x2a4ae0,_0x57f536){_0x2a4ae0=_0x2a4ae0-0x149;const _0x40cd83=_0x40cd();let _0x4f7b83=_0x40cd83[_0x2a4ae0];return _0x4f7b83;}function _0x40cd(){const _0x341a7e=['kind','FSheetChart','newChart','getCharts','getSubUnitId','45326afvFsl','severity','inferInitialChartSource','isArray','createInstance','2075682MFEICG','subUnitId','toChartModelConfig','setPlotVisibleOnly','FEnum','7000052FPAMqK','SheetsChartService','getChartSourceSpec','Error','generateRandomId','dataAggregation','getPlotVisibleOnly','commitHost','SheetChartConfigAdapter','_chartSourceContext','LocaleService','context','8529535gJGPzf','type','ChartSourceOrientation','getInject','setPosition','Module','style','getUnitId','categoryIndex','resolveInitialChartPosition','setHeader','filter','createChartBuilder','extend','Range','unitId','200464PDsiQL','getUnitChartModels','476190PDzUPO','getSheetId','getChart','Invalid\x20Sheet\x20chart\x20source.','executeCommand','source','ChartDiagnosticSeverity','get','height','mapping','FChart','_injector','width','_createSheetAdapter','some','message','chartId','3010620NYUwHC','rangeInfo','theme','anchor','defineProperty','join','FWorksheet','ChartSourceKind'];_0x40cd=function(){return _0x341a7e;};return _0x40cd();}