@univerjs-pro/sheets-chart-ui 1.0.4 → 1.1.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 (86) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/locale/en-US.d.ts +11 -0
  62. package/lib/types/services/chart-render.service.d.ts +2 -2
  63. package/lib/types/services/sheet-chart-host.d.ts +4 -1
  64. package/lib/types/services/sheet-chart-pointer-events.d.ts +16 -0
  65. package/lib/types/services/sheets-chart-host-provider.service.d.ts +2 -3
  66. package/lib/umd/index.js +1 -1
  67. package/lib/umd/locale/ar-SA.js +1 -1
  68. package/lib/umd/locale/ca-ES.js +1 -1
  69. package/lib/umd/locale/de-DE.js +1 -1
  70. package/lib/umd/locale/en-US.js +1 -1
  71. package/lib/umd/locale/es-ES.js +1 -1
  72. package/lib/umd/locale/fa-IR.js +1 -1
  73. package/lib/umd/locale/fr-FR.js +1 -1
  74. package/lib/umd/locale/id-ID.js +1 -1
  75. package/lib/umd/locale/it-IT.js +1 -1
  76. package/lib/umd/locale/ja-JP.js +1 -1
  77. package/lib/umd/locale/ko-KR.js +1 -1
  78. package/lib/umd/locale/pl-PL.js +1 -1
  79. package/lib/umd/locale/pt-BR.js +1 -1
  80. package/lib/umd/locale/ru-RU.js +1 -1
  81. package/lib/umd/locale/sk-SK.js +1 -1
  82. package/lib/umd/locale/vi-VN.js +1 -1
  83. package/lib/umd/locale/zh-CN.js +1 -1
  84. package/lib/umd/locale/zh-HK.js +1 -1
  85. package/lib/umd/locale/zh-TW.js +1 -1
  86. package/package.json +21 -21
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3410(_0x14827f,_0x4b8816){_0x14827f=_0x14827f-0x95;const _0x57188c=_0x5718();let _0x341068=_0x57188c[_0x14827f];return _0x341068;}(function(_0x45a818,_0x2946b5){const _0x521739=_0x3410,_0x107dde=_0x45a818();while(!![]){try{const _0x416270=parseInt(_0x521739(0x305))/0x1*(parseInt(_0x521739(0x258))/0x2)+parseInt(_0x521739(0x299))/0x3+-parseInt(_0x521739(0xf0))/0x4*(-parseInt(_0x521739(0x2a4))/0x5)+parseInt(_0x521739(0x3de))/0x6+parseInt(_0x521739(0xd8))/0x7+-parseInt(_0x521739(0x401))/0x8+-parseInt(_0x521739(0xda))/0x9;if(_0x416270===_0x2946b5)break;else _0x107dde['push'](_0x107dde['shift']());}catch(_0x4d4513){_0x107dde['push'](_0x107dde['shift']());}}}(_0x5718,0xa85e8),function(_0x268542,_0x10476b){const _0x2392c3=_0x3410;typeof exports=='object'&&typeof module<'u'?_0x10476b(exports,require('@univerjs/core'),require('@univerjs-pro/sheets-chart'),require('@univerjs/drawing'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/sheets'),require('@univerjs/engine-formula'),require('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license')):typeof define==_0x2392c3(0x24b)&&define[_0x2392c3(0xbf)]?define(['exports',_0x2392c3(0x3af),'@univerjs-pro/sheets-chart','@univerjs/drawing',_0x2392c3(0x40f),'@univerjs/sheets-drawing-ui',_0x2392c3(0x10f),_0x2392c3(0x329),_0x2392c3(0x373),'@univerjs-pro/chart-ui',_0x2392c3(0x189),_0x2392c3(0x3b3),_0x2392c3(0x3b4),_0x2392c3(0x23b),_0x2392c3(0x332),_0x2392c3(0x473),_0x2392c3(0x17b),_0x2392c3(0x397),_0x2392c3(0x387),_0x2392c3(0x44d)],_0x10476b):(_0x268542=typeof globalThis<'u'?globalThis:_0x268542||self,_0x10476b(_0x268542['UniverProSheetsChartUi']={},_0x268542[_0x2392c3(0x30a)],_0x268542[_0x2392c3(0x3ce)],_0x268542[_0x2392c3(0xb1)],_0x268542['UniverSheetsDrawing'],_0x268542[_0x2392c3(0x36f)],_0x268542[_0x2392c3(0xdc)],_0x268542[_0x2392c3(0x10e)],_0x268542['rxjs'],_0x268542[_0x2392c3(0x2a5)],_0x268542[_0x2392c3(0x10b)],_0x268542[_0x2392c3(0x11b)],_0x268542[_0x2392c3(0x409)],_0x268542[_0x2392c3(0x2e5)],_0x268542['UniverEngineRender'],_0x268542[_0x2392c3(0x3d9)],_0x268542['UniverDesign'],_0x268542[_0x2392c3(0x165)],_0x268542[_0x2392c3(0x3d9)],_0x268542['UniverProLicense']));}(this,function(_0x5cf52d,_0xe0fba2,_0x201ec2,_0x3543bc,_0x42712d,_0x102b65,_0x270231,_0x4fef69,_0x1a141d,_0x1e42e6,_0x4a5d1e,_0x2e7a19,_0x488a9e,_0x3a7d4d,_0x120bdc,_0xd79b15,_0x5c25d9,_0x1dbfa7,_0xc43640,_0x45eba4){const _0x351b7e=_0x3410;Object[_0x351b7e(0x3ea)](_0x5cf52d,Symbol[_0x351b7e(0x227)],{'value':_0x351b7e(0xc3)});let _0x577343={'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x2e4)],'id':_0x351b7e(0x141),'handler'(){return!0x0;}},_0x55aca2=_0x351b7e(0x1ec),_0x241941={'enableChartElementFloatMenu':!0x0},_0x16f198={'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x2e4)],'id':_0x351b7e(0x1ba),'handler'(){return!0x0;}};function _0x5660b0(_0x785f6a){const _0x5cd423=_0x351b7e;let _0x57cc4c=_0x785f6a[_0x5cd423(0x1aa)](_0x42712d['ISheetDrawingService'])[_0x5cd423(0x26f)]();if(_0x57cc4c['length']!==0x1)return null;let _0x40c93d=_0x57cc4c[0x0];return _0x40c93d['drawingType']===_0xe0fba2[_0x5cd423(0x371)][_0x5cd423(0x1af)]?_0x40c93d:null;}function _0x3d0f91(_0x1a5dc3,_0x2630d1){const _0x5d2f47=_0x351b7e;let _0x39483c=document[_0x5d2f47(0x448)]('a');_0x39483c[_0x5d2f47(0x3fc)]=_0x1a5dc3,_0x39483c[_0x5d2f47(0xf3)]=_0x2630d1,_0x39483c[_0x5d2f47(0x30e)]();}let _0x2d01e3={'id':_0x351b7e(0x3fe),'type':_0xe0fba2['CommandType']['COMMAND'],'handler':(_0x5c98ae,_0x2c4bca)=>{const _0x4454a7=_0x351b7e;let _0x16164e=_0x5660b0(_0x5c98ae);return _0x16164e?_0x5c98ae[_0x4454a7(0x1aa)](_0xe0fba2[_0x4454a7(0x370)])[_0x4454a7(0x463)](_0x577343['id'],{'unitId':_0x16164e['unitId'],'subUnitId':_0x16164e[_0x4454a7(0x2b0)],'drawingId':_0x16164e[_0x4454a7(0xa3)],..._0x2c4bca!=null&&_0x2c4bca[_0x4454a7(0x1df)]?{'route':_0x2c4bca[_0x4454a7(0x1df)]}:{}}):!0x1;}},_0x483f56={'id':_0x351b7e(0x2b1),'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x3d7)],'handler':_0x279ec6=>_0x5660b0(_0x279ec6)?_0x279ec6[_0x351b7e(0x1aa)](_0xe0fba2[_0x351b7e(0x370)])[_0x351b7e(0x463)](_0x270231['SheetCopyCommand']['id']):!0x1},_0x18c810={'id':'sheet.command.chart.export-focused-image','type':_0xe0fba2['CommandType'][_0x351b7e(0x3d7)],'handler':async _0x2b4732=>{const _0x1fd7bd=_0x351b7e;let _0x5784bd=_0x5660b0(_0x2b4732);if(!_0x5784bd)return!0x1;let _0x4e8097=await _0x2b4732['get'](_0x1e42e6[_0x1fd7bd(0x394)])['exportImage']({'unitId':_0x5784bd[_0x1fd7bd(0x12d)],'subUnitId':_0x5784bd[_0x1fd7bd(0x2b0)],'getId':()=>_0x5784bd[_0x1fd7bd(0xa3)]});return _0x4e8097?(_0x3d0f91(_0x4e8097,_0x5784bd[_0x1fd7bd(0xa3)]+'.png'),!0x0):!0x1;}},_0x55d99b={'id':_0x351b7e(0x388),'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x3d7)],'handler':_0x22c1a2=>{const _0x5140d4=_0x351b7e;let _0x1d2539=_0x5660b0(_0x22c1a2);return _0x1d2539?_0x22c1a2[_0x5140d4(0x1aa)](_0xe0fba2[_0x5140d4(0x370)])[_0x5140d4(0x463)](_0x42712d['RemoveSheetDrawingCommand']['id'],{'unitId':_0x1d2539['unitId'],'drawings':[{'unitId':_0x1d2539[_0x5140d4(0x12d)],'subUnitId':_0x1d2539[_0x5140d4(0x2b0)],'drawingId':_0x1d2539[_0x5140d4(0xa3)],'drawingType':_0xe0fba2[_0x5140d4(0x371)]['DRAWING_CHART']}]}):!0x1;}},_0x3b438b={'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x3d7)],'id':_0x351b7e(0x129),'handler':async(_0x48d780,_0x46d506)=>{const _0x30a74f=_0x351b7e;let _0x5bc154=(0x0,_0x2e7a19[_0x30a74f(0x1f3)])(_0x48d780['get'](_0xe0fba2[_0x30a74f(0x238)]));if(!_0x5bc154)return!0x1;let _0x3233bf=_0x48d780[_0x30a74f(0x1aa)](_0x2e7a19['SheetsSelectionsService'])[_0x30a74f(0x229)]();if(!_0x3233bf)return!0x1;let {range:_0xc7f2d7}=_0x3233bf,_0x105dd4=_0x48d780['get'](_0xe0fba2[_0x30a74f(0x370)]),{unitId:_0x2a64cd,subUnitId:_0x380d2d}=_0x5bc154,{pieSecondaryPlotType:_0x59418d,value:_0x36f3c9}=_0x46d506,_0x46cd7d=_0x59418d!==void 0x0;if(_0x46cd7d&&(_0x36f3c9!==_0x4a5d1e['ChartTypeBits'][_0x30a74f(0x228)]||_0x59418d!==_0x4a5d1e[_0x30a74f(0x134)][_0x30a74f(0x228)]&&_0x59418d!==_0x4a5d1e[_0x30a74f(0x134)][_0x30a74f(0x43d)]))return!0x1;let _0x6f4fc5=_0x46cd7d?(0x0,_0xe0fba2['generateRandomId'])():void 0x0;return _0x105dd4[_0x30a74f(0x463)](_0x201ec2['InsertChartCommand']['id'],{'unitId':_0x2a64cd,'subUnitId':_0x380d2d,'chartType':_0x36f3c9,..._0x6f4fc5&&_0x59418d?{'chartId':_0x6f4fc5,'config':{'unitId':_0x2a64cd,'chartModelId':_0x6f4fc5,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x59418d}}}}}}:{},'source':{'rangeInfo':{'unitId':_0xc7f2d7['unitId']??_0x2a64cd,'subUnitId':_0xc7f2d7[_0x30a74f(0x361)]??_0x380d2d,'range':_0xc7f2d7}}});}};function _0x32dc36(_0x45cd35,_0x4dfcdb){const _0x5adf7a=_0x351b7e;if(_0x45cd35==null)return'';if(Array[_0x5adf7a(0xde)](_0x45cd35)){var _0x1536a2;let _0x305596=(_0x1536a2=_0x45cd35[0x0])==null?void 0x0:_0x1536a2['range'];return _0x305596?_0xf681e0(_0x305596,_0x4dfcdb):'';}return _0xf681e0(_0x45cd35['rangeInfo'],_0x4dfcdb);}function _0xf681e0(_0x13634b,_0x220a39){const _0x459942=_0x351b7e;var _0x2e22e6;let {unitId:_0xa289aa,subUnitId:_0x52bd0c,range:_0x2d9330}=_0x13634b,_0x537241=(_0x2e22e6=_0x220a39[_0x459942(0x3d5)](_0xa289aa))==null?void 0x0:_0x2e22e6[_0x459942(0x45f)](_0x52bd0c);if(!_0x537241)return'';let _0x53c3cd=_0x537241[_0x459942(0x374)]();return(0x0,_0x488a9e[_0x459942(0x190)])(_0x53c3cd,_0x2d9330);}let _0x32093c=_0x1e42e6[_0x351b7e(0x1c2)][_0x351b7e(0xfc)](_0x2307a0=>({'id':'id'in _0x2307a0?_0x2307a0['id']:void 0x0,'labelId':_0x2307a0[_0x351b7e(0x1ed)],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x2307a0?_0x2307a0[_0x351b7e(0x159)]:void 0x0,'value':_0x2307a0[_0x351b7e(0x40b)],'icon':_0x2307a0[_0x351b7e(0x32d)]}));function _0x5e6ad4(_0x20f1e3=_0x32093c){return _0x20f1e3['map'](({id:_0x424d99,icon:_0x2448ce,value:_0x17c678})=>{const _0x400d09=_0x3410;let _0x14120b=(0x0,_0x1e42e6['resolveChartCreationIntent'])(_0x424d99??String(_0x17c678)),_0x2e1931=_0x14120b?{'value':_0x14120b[_0x400d09(0x153)],..._0x14120b[_0x400d09(0x159)]?{'pieSecondaryPlotType':_0x14120b['pieSecondaryPlotType']}:{}}:{'value':_0x17c678};return{'icon':_0x2448ce,'value':_0x424d99??_0x17c678,'params':_0x2e1931};});}let _0x446ceb=(_0x5dec50,_0x5b6c23)=>{const _0x22f76a=_0x351b7e;if(_0x5b6c23[_0x22f76a(0x1fd)]===0x1&&_0x5b6c23[0x0]==='all')return _0x5dec50;if(_0x5b6c23[_0x22f76a(0x1fd)]>0x1){let _0x47a022=new Set();for(let _0x5c7f75 of _0x5b6c23)_0x47a022['add'](Number(_0x5c7f75));return _0x5dec50['filter'](_0x463c1b=>_0x47a022[_0x22f76a(0x309)](_0x463c1b['value']));}return[];};function _0x3a6f3e(_0x39f91b){const _0x806016=_0x351b7e;let _0x50db66=_0x39f91b[_0x806016(0x1aa)](_0xe0fba2['IUniverInstanceService']),_0x261be5=(0x0,_0x201ec2[_0x806016(0x155)])(_0x39f91b),_0x1a2143=_0x446ceb(_0x32093c[_0x806016(0x10d)](),_0x261be5),_0x29af79=_0x5e6ad4(_0x1a2143)[_0x806016(0xfc)]((_0x976d1f,_0x24e40b)=>({'icon':_0x976d1f[_0x806016(0x1c9)],'value':_0x976d1f['value'],'params':_0x976d1f[_0x806016(0x1e0)],'label':_0x806016(0x144)+_0x1a2143[_0x24e40b]['labelId']}));return{'id':_0x3b438b['id'],'type':_0x4fef69[_0x806016(0x34c)][_0x806016(0x296)],'selectionsCommandId':_0x3b438b['id'],'selections':_0x29af79,'icon':'ChartIcon','tooltip':'sheets-chart-ui.common.insertChart','activated$':(0x0,_0x270231[_0x806016(0x21d)])(_0x50db66,!0x1,()=>new _0x1a141d['Observable'](_0x58bc28=>{const _0x5f681e=_0x806016;_0x58bc28[_0x5f681e(0xf2)](!0x1);})),'hidden$':(0x0,_0x4fef69[_0x806016(0x130)])(_0x39f91b,_0xe0fba2['UniverInstanceType']['UNIVER_SHEET']),'disabled$':(0x0,_0x270231[_0x806016(0x297)])(_0x39f91b)};}function _0x133c92(_0x90f8b3){const _0x1d3823=_0x351b7e;let _0x5ca0fc=_0x90f8b3[_0x1d3823(0x1aa)](_0x42712d[_0x1d3823(0x22b)]);return _0x5ca0fc[_0x1d3823(0x1ff)][_0x1d3823(0x1a6)]((0x0,_0x1a141d[_0x1d3823(0x128)])(_0x5ca0fc[_0x1d3823(0x26f)]()),(0x0,_0x1a141d['map'])(()=>_0x5660b0(_0x90f8b3)==null));}function _0x41ebd6(_0x156f10){const _0x5acad7=_0x351b7e;return{'id':_0x2d01e3['id'],'commandId':_0x2d01e3['id'],'type':_0x4fef69[_0x5acad7(0x34c)][_0x5acad7(0x122)],'title':_0x156f10['get'](_0xe0fba2[_0x5acad7(0x3f9)])['t'](_0x5acad7(0x402)),'icon':_0x5acad7(0x23a),'hidden$':_0x133c92(_0x156f10)};}function _0x2993c7(_0x3113c9){const _0xcccabd=_0x351b7e;return{'id':_0x483f56['id'],'commandId':_0x483f56['id'],'type':_0x4fef69[_0xcccabd(0x34c)]['BUTTON'],'title':_0x3113c9['get'](_0xe0fba2[_0xcccabd(0x3f9)])['t'](_0xcccabd(0x436)),'icon':_0xcccabd(0x2d1),'hidden$':_0x133c92(_0x3113c9)};}function _0xb716ad(_0x429437){const _0x553d6c=_0x351b7e;return{'id':_0x18c810['id'],'commandId':_0x18c810['id'],'type':_0x4fef69[_0x553d6c(0x34c)]['BUTTON'],'title':_0x429437[_0x553d6c(0x1aa)](_0xe0fba2[_0x553d6c(0x3f9)])['t']('sheets-chart-ui.common.exportImage'),'icon':'DownloadImageIcon','hidden$':_0x133c92(_0x429437)};}function _0x7bec39(_0x30a617){const _0x37b888=_0x351b7e;return{'id':_0x55d99b['id'],'commandId':_0x55d99b['id'],'type':_0x4fef69[_0x37b888(0x34c)][_0x37b888(0x122)],'title':_0x30a617[_0x37b888(0x1aa)](_0xe0fba2[_0x37b888(0x3f9)])['t']('sheets-chart-ui.common.deleteChart'),'icon':_0x37b888(0x209),'hidden$':_0x133c92(_0x30a617)};}let _0x497f50={[_0x4fef69[_0x351b7e(0x3b0)]['MEDIA']]:{[_0x3b438b['id']]:{'order':0x4,'menuItemFactory':_0x3a6f3e}},[_0x4fef69['ContextMenuPosition'][_0x351b7e(0x3e4)]]:{[_0x4fef69[_0x351b7e(0x198)]['OTHERS']]:{[_0x2d01e3['id']]:{'order':0x0,'menuItemFactory':_0x41ebd6},[_0x483f56['id']]:{'order':0x1,'menuItemFactory':_0x2993c7},[_0x18c810['id']]:{'order':0x3,'menuItemFactory':_0xb716ad},[_0x55d99b['id']]:{'order':0x4,'menuItemFactory':_0x7bec39}}}};function _0x361d90(_0x5b81f0){const _0x50fb75=_0x351b7e;return _0x5b81f0===_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0x2dd)]||_0x5b81f0===_0x4a5d1e[_0x50fb75(0x43f)]['Radar']||_0x5b81f0===_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0xed)]||_0x4a5d1e[_0x50fb75(0x310)][_0x50fb75(0x26a)](_0x5b81f0,_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0x427)])||_0x4a5d1e[_0x50fb75(0x310)][_0x50fb75(0x26a)](_0x5b81f0,_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0x201)])||_0x4a5d1e[_0x50fb75(0x310)]['baseOn'](_0x5b81f0,_0x4a5d1e[_0x50fb75(0x43f)]['Area'])||_0x4a5d1e['chartBitsUtils'][_0x50fb75(0x26a)](_0x5b81f0,_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0x16b)]);}function _0x277b9d(_0x40ed16){const _0x18bb19=_0x351b7e;return _0x361d90(_0x40ed16)||_0x4a5d1e['chartBitsUtils'][_0x18bb19(0x26a)](_0x40ed16,_0x4a5d1e[_0x18bb19(0x43f)][_0x18bb19(0x228)])||_0x4a5d1e['chartBitsUtils'][_0x18bb19(0x26a)](_0x40ed16,_0x4a5d1e[_0x18bb19(0x43f)]['Pareto'])||_0x4a5d1e[_0x18bb19(0x310)][_0x18bb19(0x26a)](_0x40ed16,_0x4a5d1e[_0x18bb19(0x43f)][_0x18bb19(0x1ac)]);}function _0xb6de24(_0x184d5a,_0x1f5393){const _0x2a70a9=_0x351b7e;let _0x2fee26=(0x0,_0x1e42e6[_0x2a70a9(0x233)])(_0x184d5a,_0x1f5393),_0x256ade=_0x2fee26?(0x0,_0x1e42e6[_0x2a70a9(0x32e)])(_0x2fee26[_0x2a70a9(0x1b3)]):void 0x0;if(_0x2fee26&&_0x256ade)return{..._0x2fee26,'route':_0x256ade,'showFloatMenu':_0x277b9d(_0x184d5a['chartType'])&&_0x2fee26['showFloatMenu']};}function _0x48abfd(_0x1ea9f6){'@babel/helpers - typeof';const _0x3f842b=_0x351b7e;return _0x48abfd=typeof Symbol==_0x3f842b(0x24b)&&typeof Symbol[_0x3f842b(0x111)]==_0x3f842b(0xfa)?function(_0x2e8d83){return typeof _0x2e8d83;}:function(_0x2c9607){const _0x454e15=_0x3f842b;return _0x2c9607&&typeof Symbol==_0x454e15(0x24b)&&_0x2c9607[_0x454e15(0x461)]===Symbol&&_0x2c9607!==Symbol[_0x454e15(0x116)]?_0x454e15(0xfa):typeof _0x2c9607;},_0x48abfd(_0x1ea9f6);}function _0x33c0e6(_0x4453f2,_0x104937){const _0x1e3215=_0x351b7e;if(_0x48abfd(_0x4453f2)!=_0x1e3215(0x164)||!_0x4453f2)return _0x4453f2;var _0x38c35d=_0x4453f2[Symbol[_0x1e3215(0x252)]];if(_0x38c35d!==void 0x0){var _0x23b06a=_0x38c35d[_0x1e3215(0x406)](_0x4453f2,_0x104937||_0x1e3215(0x311));if(_0x48abfd(_0x23b06a)!=_0x1e3215(0x164))return _0x23b06a;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x104937===_0x1e3215(0x39d)?String:Number)(_0x4453f2);}function _0x3cdcf5(_0x4be9a1){const _0x37efbd=_0x351b7e;var _0x44dd19=_0x33c0e6(_0x4be9a1,_0x37efbd(0x39d));return _0x48abfd(_0x44dd19)==_0x37efbd(0xfa)?_0x44dd19:_0x44dd19+'';}function _0x2d50c7(_0x23b5be,_0x488a21,_0x362054){const _0x441a41=_0x351b7e;return(_0x488a21=_0x3cdcf5(_0x488a21))in _0x23b5be?Object[_0x441a41(0x3ea)](_0x23b5be,_0x488a21,{'value':_0x362054,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x23b5be[_0x488a21]=_0x362054,_0x23b5be;}var _0x5d1456=class extends _0xe0fba2['Disposable']{constructor(_0x45fae8,_0x2ebe9e){const _0x18ccdb=_0x351b7e;super(),this[_0x18ccdb(0x17d)]=_0x45fae8,this['_onChange']=_0x2ebe9e,_0x2d50c7(this,_0x18ccdb(0x213),null),_0x2d50c7(this,'_geometry',void 0x0),this['_geometry']=this[_0x18ccdb(0x2ab)](),this['disposeWithMe'](_0x45fae8[_0x18ccdb(0x1d5)][_0x18ccdb(0x21a)](()=>{const _0x2148d8=_0x18ccdb;this[_0x2148d8(0x213)]===null&&(this['_frame']=requestAnimationFrame(()=>this['flush']()));}));}[_0x351b7e(0x172)](){const _0x4a8169=_0x351b7e;if(this[_0x4a8169(0x338)](),this[_0x4a8169(0x3f5)])return;let _0x5683df=this[_0x4a8169(0x2ab)](),_0x4fa3d3=this[_0x4a8169(0x1f2)],_0x389d77=_0x5683df[_0x4a8169(0x2aa)]!==_0x4fa3d3[_0x4a8169(0x2aa)]||_0x5683df[_0x4a8169(0x196)]!==_0x4fa3d3[_0x4a8169(0x196)];(_0x389d77||_0x5683df['left']!==_0x4fa3d3[_0x4a8169(0x150)]||_0x5683df[_0x4a8169(0x195)]!==_0x4fa3d3['top'])&&(this['_geometry']=_0x5683df,this['_onChange'](_0x389d77));}[_0x351b7e(0x338)](){const _0x325afb=_0x351b7e;this[_0x325afb(0x213)]!==null&&(cancelAnimationFrame(this[_0x325afb(0x213)]),this[_0x325afb(0x213)]=null);}[_0x351b7e(0x183)](){const _0x128cbd=_0x351b7e;this[_0x128cbd(0x338)](),super[_0x128cbd(0x183)]();}[_0x351b7e(0x2ab)](){const _0x5a2f38=_0x351b7e;let {left:_0x38b0f5,top:_0x6cd397,width:_0x21162f,height:_0x531137}=this[_0x5a2f38(0x17d)];return{'left':_0x38b0f5,'top':_0x6cd397,'width':_0x21162f,'height':_0x531137};}};function _0x5f5d9d(_0x3c13c6,_0x301cfd=0x1){const _0xc79113=_0x351b7e;return{'width':Math['max'](_0x301cfd,_0x3c13c6[_0xc79113(0x2aa)]),'height':Math[_0xc79113(0xdb)](_0x301cfd,_0x3c13c6[_0xc79113(0x196)])};}function _0x1c189c(_0x59d111,_0x42c9bc={},_0x1c2b6c={'left':0x0,'top':0x0}){const _0x4d15fb=_0x351b7e;let _0x11be46=_0x42c9bc[_0x4d15fb(0x224)]??0x1,_0x440f2a=_0x42c9bc['scaleY']??0x1,_0x43ff7b=_0x1e42e6[_0x4d15fb(0xee)][_0x4d15fb(0x19f)]({'logicalOuterRect':{'left':_0x1c2b6c[_0x4d15fb(0x150)]>0x0?-_0x1c2b6c['left']:0x0,'top':_0x1c2b6c[_0x4d15fb(0x195)]>0x0?-_0x1c2b6c[_0x4d15fb(0x195)]:0x0,..._0x5f5d9d(_0x59d111)},'scale':{'scaleX':_0x11be46,'scaleY':_0x440f2a},'hostStyle':{},'contentMode':_0x1e42e6[_0x4d15fb(0x31e)][_0x4d15fb(0x3c2)]});return{'left':_0x43ff7b[_0x4d15fb(0x45b)][_0x4d15fb(0x150)],'top':_0x43ff7b['logicalOuterRect'][_0x4d15fb(0x195)],'width':_0x43ff7b['logicalOuterRect'][_0x4d15fb(0x2aa)],'height':_0x43ff7b[_0x4d15fb(0x45b)][_0x4d15fb(0x196)],'scaleX':_0x11be46,'scaleY':_0x440f2a};}function _0x3e7afe(_0x58e066){const _0x33222a=_0x351b7e;switch(_0x58e066[_0x33222a(0x441)]){case _0x4a5d1e[_0x33222a(0x38b)][_0x33222a(0x23d)]:return _0x58e066[_0x33222a(0x204)];case _0x4a5d1e[_0x33222a(0x38b)][_0x33222a(0x459)]:return _0x58e066[_0x33222a(0x13a)];default:return;}}var _0x582d7a=class extends _0x120bdc[_0x351b7e(0x237)]{constructor(_0x1dd810,_0x5654f9,_0x3a94ed,_0x2bf2e6=()=>!0x1,_0x31dee5=()=>{}){const _0x39f318=_0x351b7e;super(_0x1dd810,{..._0x5654f9,'evented':_0x5654f9[_0x39f318(0x292)]??!0x0}),this['_getImage']=_0x3a94ed,this[_0x39f318(0x43e)]=_0x2bf2e6,this[_0x39f318(0x2fe)]=_0x31dee5,_0x2d50c7(this,_0x39f318(0x1f8),null),_0x2d50c7(this,_0x39f318(0x291),null),_0x2d50c7(this,_0x39f318(0x244),null),_0x2d50c7(this,_0x39f318(0x331),null),this['setObjectType'](_0x120bdc[_0x39f318(0x27e)][_0x39f318(0x403)]);}[_0x351b7e(0x183)](){const _0x370458=_0x351b7e;this['_clearPendingUrlImage'](),this[_0x370458(0x1f8)]=null,this[_0x370458(0x291)]=null,this['_requestedUrl']=null,this['_disposeImage'](),super[_0x370458(0x183)]();}['render'](_0x56fd62,_0x2ebb8d){const _0x495420=_0x351b7e;if(!this[_0x495420(0x3a6)])return this[_0x495420(0x135)](!0x1),this;if(this[_0x495420(0x43e)]()){let _0x41b3f7=this[_0x495420(0xb0)]();return _0x41b3f7&&this[_0x495420(0x458)](_0x41b3f7),this[_0x495420(0x135)](!0x1),this;}if(!this[_0x495420(0x399)])return this;let {width:_0x1db37a,height:_0x1bad35,left:_0x29f129,top:_0x225c94}=this[_0x495420(0x340)]();if(this[_0x495420(0x13e)](_0x2ebb8d)){let {top:_0x46240d,left:_0x130f8a,bottom:_0x3cfae4,right:_0x3183bb}=_0x2ebb8d[_0x495420(0x274)];if(_0x1db37a+this[_0x495420(0x3eb)]+_0x29f129<_0x130f8a||_0x3183bb<_0x29f129||_0x1bad35+this[_0x495420(0x3eb)]+_0x225c94<_0x46240d||_0x3cfae4<_0x225c94)return this;}let _0x4f6093=this[_0x495420(0x399)]['getMatrix']();_0x56fd62[_0x495420(0x1ad)]();let _0x4be633=_0x29f129+_0x1db37a/0x2,_0x46f492=_0x225c94+_0x1bad35/0x2;return _0x56fd62[_0x495420(0x399)](_0x4f6093[0x0],_0x4f6093[0x1],_0x4f6093[0x2],_0x4f6093[0x3],_0x4be633,_0x46f492),this['opacity']!==0x1&&(_0x56fd62[_0x495420(0xbb)]=this[_0x495420(0x158)]),this[_0x495420(0x3f1)](_0x56fd62,void 0x0,_0x1db37a,_0x1bad35),_0x56fd62[_0x495420(0x28e)](),this[_0x495420(0x135)](!0x1),this;}[_0x351b7e(0x3f1)](_0x12b9e5,_0x4f3226,_0x56b0b3=this['width'],_0xda7b06=this[_0x351b7e(0x196)]){const _0x62a884=_0x351b7e;this[_0x62a884(0x455)](_0x12b9e5,_0x56b0b3,_0xda7b06,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x62a884(0x344)](_0x12b9e5,_0x56b0b3,_0xda7b06),this[_0x62a884(0x455)](_0x12b9e5,_0x56b0b3,_0xda7b06,{'fill':void 0x0});}[_0x351b7e(0x455)](_0x259ca1,_0x1be6fb,_0x1e973f,_0x49f3c2){const _0x2764d3=_0x351b7e;_0x259ca1[_0x2764d3(0x1ad)](),_0x259ca1[_0x2764d3(0x2a8)](-_0x1be6fb/0x2,-_0x1e973f/0x2),_0x120bdc[_0x2764d3(0x237)][_0x2764d3(0x2b6)](_0x259ca1,_0xbc7abb(this,_0x1be6fb,_0x1e973f,_0x49f3c2)),_0x259ca1[_0x2764d3(0x28e)]();}[_0x351b7e(0xa6)](_0x170a98){const _0x54baf8=_0x351b7e;let {left:_0xdb5bb0,top:_0x38c6a7,width:_0x556860,height:_0x1e07f2}=this['getRealBound'](),_0x49bb5f=_0xdb5bb0+_0x556860/0x2,_0x3b45c8=_0x38c6a7+_0x1e07f2/0x2,_0x4a4cb8=this['transform'][_0x54baf8(0x1d2)](),_0x3a469b=new _0x120bdc['Transform']([_0x4a4cb8[0x0],_0x4a4cb8[0x1],_0x4a4cb8[0x2],_0x4a4cb8[0x3],_0x49bb5f,_0x3b45c8]),_0x4fc838=this['getParent'](),_0x47c648=(this[_0x54baf8(0x203)]&&(_0x4fc838==null?void 0x0:_0x4fc838[_0x54baf8(0x2a0)])===_0x120bdc[_0x54baf8(0x221)][_0x54baf8(0xe6)]?_0x4fc838['ancestorTransform'][_0x54baf8(0x25e)](_0x3a469b):_0x3a469b)[_0x54baf8(0x2c0)]()[_0x54baf8(0x99)](_0x170a98),_0x28ad3e=_0x556860/0x2,_0x3d66de=_0x1e07f2/0x2;return _0x47c648['x']>=-_0x28ad3e-this[_0x54baf8(0x3eb)]/0x2&&_0x47c648['x']<=_0x28ad3e+this[_0x54baf8(0x3eb)]/0x2&&_0x47c648['y']>=-_0x3d66de-this[_0x54baf8(0x3eb)]/0x2&&_0x47c648['y']<=_0x3d66de+this['strokeWidth']/0x2;}['_drawChartImage'](_0x372c28,_0xb6a525,_0x32483b){const _0x3d580f=_0x351b7e;let _0x25233d=this[_0x3d580f(0xb0)](),_0x2e24a5=_0x25233d?this[_0x3d580f(0x458)](_0x25233d):void 0x0;if(!_0x2e24a5)return;let {width:_0x4b4c7b,height:_0x4996e8}=_0x5f5d9d({'width':_0xb6a525,'height':_0x32483b},0x0);_0x4b4c7b!==0x0&&_0x4996e8!==0x0&&(_0x372c28[_0x3d580f(0x1ad)](),_0x372c28[_0x3d580f(0x2a8)](-_0xb6a525/0x2,-_0x32483b/0x2),_0x1ad018(_0x372c28,_0x4b4c7b,_0x4996e8,this[_0x3d580f(0xcc)]),_0x372c28[_0x3d580f(0x23c)](),_0x372c28[_0x3d580f(0x326)](_0x2e24a5,0x0,0x0,_0x4b4c7b,_0x4996e8),_0x372c28['restore']());}[_0x351b7e(0x458)](_0x454aec){const _0x54a08a=_0x351b7e;var _0x458a00;let _0x21f223=_0x3e7afe(_0x454aec);if(_0x21f223)return _0x21f223;if(_0x454aec['type']===_0x4a5d1e['ChartImageSourceType'][_0x54a08a(0x2d2)]&&(this[_0x54a08a(0x244)]!==_0x454aec[_0x54a08a(0x1a3)]&&(this[_0x54a08a(0x244)]=_0x454aec['url'],this[_0x54a08a(0x223)](),this[_0x54a08a(0x291)]!==_0x454aec[_0x54a08a(0x1a3)]&&this[_0x54a08a(0x1b7)](_0x454aec[_0x54a08a(0x1a3)])),(_0x458a00=this[_0x54a08a(0x1f8)])!=null&&_0x458a00['complete']&&this[_0x54a08a(0x1f8)][_0x54a08a(0x42a)]>0x0&&this[_0x54a08a(0x1f8)][_0x54a08a(0x3bb)]>0x0))return this['_urlImage'];}[_0x351b7e(0x1b7)](_0x2ac4e2){const _0x404571=_0x351b7e;let _0x387897=document[_0x404571(0x448)]('img');this[_0x404571(0x331)]=_0x387897,_0x387897['crossOrigin']=_0x404571(0x27a),_0x387897['onload']=()=>{const _0x289826=_0x404571;this[_0x289826(0x244)]===_0x2ac4e2&&this[_0x289826(0x331)]===_0x387897&&(_0x387897['naturalWidth']>0x0&&_0x387897[_0x289826(0x3bb)]>0x0&&(this[_0x289826(0x291)]=_0x2ac4e2,this[_0x289826(0x1f8)]=_0x387897),this[_0x289826(0x223)](),this[_0x289826(0x135)](!0x0));},_0x387897[_0x404571(0x182)]=()=>{const _0x20cf64=_0x404571;this['_pendingUrlImage']===_0x387897&&this[_0x20cf64(0x223)]();},_0x387897['src']=_0x2ac4e2;}[_0x351b7e(0x223)](){const _0x1f658e=_0x351b7e;this['_pendingUrlImage']&&=(this['_pendingUrlImage'][_0x1f658e(0x3b7)]=null,this[_0x1f658e(0x331)][_0x1f658e(0x182)]=null,null);}};function _0xbc7abb(_0x50c64d,_0x378090,_0x3c70ee,_0x62c24e){const _0x14d337=_0x351b7e;let _0x31b80e=Object['create'](_0x50c64d);return Object[_0x14d337(0x3ea)](_0x31b80e,_0x14d337(0x2aa),{'value':_0x378090}),Object['defineProperty'](_0x31b80e,_0x14d337(0x196),{'value':_0x3c70ee}),Object[_0x14d337(0xc8)](_0x62c24e)[_0x14d337(0x120)](_0xebea9c=>{const _0x5fcb39=_0x14d337;Object[_0x5fcb39(0x3ea)](_0x31b80e,_0xebea9c,{'value':_0x62c24e[_0xebea9c]});}),_0x31b80e;}function _0x1ad018(_0x5a3cb6,_0x38bd17,_0xab4079,_0x26e652){const _0x1a1120=_0x351b7e;let _0x2deb00=Math['min'](_0x26e652||0x0,_0x38bd17/0x2,_0xab4079/0x2);if(_0x5a3cb6[_0x1a1120(0x1ab)](),!_0x2deb00){_0x5a3cb6[_0x1a1120(0x3ad)](0x0,0x0,_0x38bd17,_0xab4079),_0x5a3cb6[_0x1a1120(0xc1)]();return;}_0x5a3cb6[_0x1a1120(0x184)](_0x2deb00,0x0),_0x5a3cb6['lineTo'](_0x38bd17-_0x2deb00,0x0),_0x5a3cb6['arc'](_0x38bd17-_0x2deb00,_0x2deb00,_0x2deb00,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a3cb6[_0x1a1120(0x44c)](_0x38bd17,_0xab4079-_0x2deb00),_0x5a3cb6['arc'](_0x38bd17-_0x2deb00,_0xab4079-_0x2deb00,_0x2deb00,0x0,Math['PI']/0x2,!0x1),_0x5a3cb6['lineTo'](_0x2deb00,_0xab4079),_0x5a3cb6[_0x1a1120(0x365)](_0x2deb00,_0xab4079-_0x2deb00,_0x2deb00,Math['PI']/0x2,Math['PI'],!0x1),_0x5a3cb6[_0x1a1120(0x44c)](0x0,_0x2deb00),_0x5a3cb6['arc'](_0x2deb00,_0x2deb00,_0x2deb00,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a3cb6[_0x1a1120(0xc1)]();}function _0x20324d(_0x1615c4){const _0x37cb06=_0x351b7e;(_0x1615c4==null?void 0x0:_0x1615c4[_0x37cb06(0x441)])===_0x4a5d1e[_0x37cb06(0x38b)]['ImageBitmap']&&_0x1615c4[_0x37cb06(0x13a)][_0x37cb06(0x39f)]();}function _0x500ff9(_0x47634f){const _0x2515eb=_0x351b7e;return _0x47634f[_0x2515eb(0x12d)]+_0x2515eb(0x131)+_0x47634f[_0x2515eb(0x2b0)]+'#-#'+_0x47634f[_0x2515eb(0x2ff)];}var _0x5736e0=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(..._0x5bce96){super(..._0x5bce96),_0x2d50c7(this,'_entries',new Map());}[_0x351b7e(0x246)](_0x34023e){const _0xed152d=_0x351b7e;let _0xe85359=_0x500ff9(_0x34023e),_0x48d641=this['_entries'][_0xed152d(0x1aa)](_0xe85359)??{'version':0x0};return _0x48d641['version']+=0x1,this[_0xed152d(0x312)]['set'](_0xe85359,_0x48d641),_0x48d641[_0xed152d(0x2df)];}[_0x351b7e(0x307)](_0x4d62ad,_0x55d6a0){const _0x735cfa=_0x351b7e;var _0x447803;return((_0x447803=this['_entries'][_0x735cfa(0x1aa)](_0x500ff9(_0x4d62ad)))==null?void 0x0:_0x447803['version'])===_0x55d6a0;}[_0x351b7e(0x28f)](_0x4ffd80,_0x59f8c6,_0x299ee5){const _0x482437=_0x351b7e;if(!this[_0x482437(0x307)](_0x4ffd80,_0x299ee5))return _0x20324d(_0x59f8c6),!0x1;let _0x37948b=_0x500ff9(_0x4ffd80),_0x42d595=this[_0x482437(0x312)][_0x482437(0x1aa)](_0x37948b)??{'version':_0x299ee5},_0x523277=_0x42d595[_0x482437(0x2ed)];return _0x42d595['image']=_0x59f8c6,_0x42d595['version']=_0x299ee5,this[_0x482437(0x312)]['set'](_0x37948b,_0x42d595),_0x523277!==_0x59f8c6&&_0x20324d(_0x523277),!0x0;}['getImage'](_0x20e1de){const _0x3aff33=_0x351b7e;var _0x36fec0;return(_0x36fec0=this['_entries'][_0x3aff33(0x1aa)](_0x500ff9(_0x20e1de)))==null?void 0x0:_0x36fec0[_0x3aff33(0x2ed)];}[_0x351b7e(0xe9)](_0x439209){const _0xcbf03=_0x351b7e;let _0x339cd4=_0x500ff9(_0x439209),_0x21b512=this[_0xcbf03(0x312)][_0xcbf03(0x1aa)](_0x339cd4);_0x21b512&&(_0x20324d(_0x21b512[_0xcbf03(0x2ed)]),this[_0xcbf03(0x312)][_0xcbf03(0x437)](_0x339cd4));}['clearChart'](_0x56f6dc){const _0x317109=_0x351b7e;for(let [_0x42687c,_0x55f650]of this[_0x317109(0x312)])_0x42687c['endsWith'](_0x317109(0x131)+_0x56f6dc)&&(_0x20324d(_0x55f650[_0x317109(0x2ed)]),this[_0x317109(0x312)][_0x317109(0x437)](_0x42687c));}['dispose'](){const _0x950cc3=_0x351b7e;this['_entries'][_0x950cc3(0x120)](_0x454a4f=>_0x20324d(_0x454a4f[_0x950cc3(0x2ed)])),this[_0x950cc3(0x312)][_0x950cc3(0x3c3)](),super[_0x950cc3(0x183)]();}};function _0x1cef92(_0x25c86a,_0x533a9f=0x7d0){let _0x14650b=null,_0x2bce99=null,_0x24f51e=!0x1,_0x54f82=()=>{},_0x1089c2=()=>{_0x14650b!=null&&(clearInterval(_0x14650b),_0x14650b=null),_0x2bce99!=null&&(clearTimeout(_0x2bce99),_0x2bce99=null);};return{'promise':new Promise((_0x228434,_0x47e34a)=>{_0x54f82=_0x47e34a;let _0x302004=()=>{let _0x1dbfe5=document['getElementById'](_0x25c86a);_0x1dbfe5&&!_0x24f51e&&(_0x24f51e=!0x0,_0x1089c2(),_0x228434(_0x1dbfe5));};_0x302004(),!_0x24f51e&&(_0x14650b=setInterval(_0x302004,16.666666666666668),_0x2bce99=setTimeout(()=>{const _0x95e6b0=_0x3410;_0x24f51e||(_0x24f51e=!0x0,_0x1089c2(),_0x47e34a(Error(_0x95e6b0(0x396)+_0x25c86a+'\x22.')));},_0x533a9f));}),'cancel':()=>{const _0x20a779=_0x3410;_0x24f51e||(_0x24f51e=!0x0,_0x1089c2(),_0x54f82(Error(_0x20a779(0x2b8)+_0x25c86a+'\x22.')));}};}var _0x17a1bf=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x52b830,_0xc1c5c,_0x56789f,_0x35adda,_0x17a68d,_0x31f18f,_0x180692){const _0x563e24=_0x351b7e;super(),this['chartId']=_0x52b830,this[_0x563e24(0x36b)]=_0xc1c5c,this['_getPlacement']=_0x56789f,this[_0x563e24(0x146)]=_0x35adda,this[_0x563e24(0x423)]=_0x17a68d,this[_0x563e24(0x168)]=_0x31f18f,this[_0x563e24(0x17f)]=_0x180692,_0x2d50c7(this,'mode',_0x4a5d1e['ChartRenderMode'][_0x563e24(0x2ba)]),_0x2d50c7(this,_0x563e24(0x20d),null),_0x2d50c7(this,_0x563e24(0x9c),!0x1),_0x2d50c7(this,'_pendingToken',null),_0x2d50c7(this,_0x563e24(0x287),null),_0x2d50c7(this,_0x563e24(0xf7),null),_0x2d50c7(this,_0x563e24(0x2b4),{}),_0x2d50c7(this,_0x563e24(0x2da),null),_0x2d50c7(this,'_dataUpdateAnimationDuration',null);}[_0x351b7e(0xea)](){return this['_managed'];}['markUnmanaged'](){const _0x2ecd07=_0x351b7e;this[_0x2ecd07(0x9c)]=!0x1;}[_0x351b7e(0x16c)](){const _0x4f4fd5=_0x351b7e;let _0x5cebab=this[_0x4f4fd5(0x43b)]();return _0x5cebab?{'width':_0x5cebab['width'],'height':_0x5cebab[_0x4f4fd5(0x196)]}:null;}[_0x351b7e(0x136)](_0x439a8e){const _0x4b8619=_0x351b7e;this['_hostStyle']=_0x439a8e,this['_setHostStyle'](_0x439a8e),this[_0x4b8619(0xef)]();}async['ensureHandle'](){const _0x3f2c19=_0x351b7e;if(this['_disposed']||this[_0x3f2c19(0x423)]())throw Error(_0x3f2c19(0x3ed));let _0x78849c=this[_0x3f2c19(0x36b)](),_0x157e65=(_0x78849c==null?void 0x0:_0x78849c[_0x3f2c19(0x22c)])??this[_0x3f2c19(0x2ff)],_0x25b66e=document['getElementById'](_0x157e65);if(this[_0x3f2c19(0x20d)]&&_0x25b66e!=null&&_0x25b66e[_0x3f2c19(0x301)](this['_domFrame']['mountNode']))return{'mountNode':this['_domFrame'][_0x3f2c19(0x249)],'dispose':()=>{const _0x37586d=_0x3f2c19;this[_0x37586d(0x183)](),_0x78849c==null||_0x78849c[_0x37586d(0x183)][_0x37586d(0x183)]();}};if(this[_0x3f2c19(0x287)])return this[_0x3f2c19(0x287)];let _0x4777fb=this[_0x3f2c19(0x42f)]();return this[_0x3f2c19(0x287)]=_0x4777fb,_0x4777fb[_0x3f2c19(0x17a)](()=>{const _0x4c4cb2=_0x3f2c19;this[_0x4c4cb2(0x287)]===_0x4777fb&&(this[_0x4c4cb2(0x287)]=null);},()=>{const _0x3eae3d=_0x3f2c19;this[_0x3eae3d(0x287)]===_0x4777fb&&(this[_0x3eae3d(0x287)]=null);}),_0x4777fb;}async['ensureMount'](){const _0x10afd3=_0x351b7e;try{return(await this[_0x10afd3(0x2f6)]())['mountNode'];}catch{return null;}}['checkMounted'](){const _0x274e27=_0x351b7e;let _0xa2d840=this['_getFloatDomInfo'](),_0x47a039=(_0xa2d840==null?void 0x0:_0xa2d840[_0x274e27(0x22c)])??this[_0x274e27(0x2ff)],_0x18667d=document[_0x274e27(0x236)](_0x47a039);return!!(this[_0x274e27(0x20d)]&&_0x18667d!=null&&_0x18667d[_0x274e27(0x301)](this[_0x274e27(0x20d)][_0x274e27(0x249)]));}[_0x351b7e(0xf1)](){const _0x5d7958=_0x351b7e;if(!this[_0x5d7958(0x20d)])return;let _0x3989a4=this[_0x5d7958(0x43b)]();_0x3989a4&&this['_domFrame'][_0x5d7958(0x355)](this[_0x5d7958(0x386)](_0x3989a4),this[_0x5d7958(0x27b)]());}[_0x351b7e(0x2f7)](){const _0x18faf6=_0x351b7e;this[_0x18faf6(0x168)]();}['markNotReady'](){const _0x4c1952=_0x351b7e;this[_0x4c1952(0x17f)]();}[_0x351b7e(0x3ca)](_0x33229e){const _0x39448b=_0x351b7e;this[_0x39448b(0x2d7)]=_0x33229e;let _0x5251ef=this['_getFloatDomInfo'](),_0xae7f4b=document[_0x39448b(0x236)]((_0x5251ef==null?void 0x0:_0x5251ef[_0x39448b(0x22c)])??this[_0x39448b(0x2ff)]);_0xae7f4b&&this[_0x39448b(0x2d0)](_0xae7f4b);}[_0x351b7e(0x183)](){const _0x23ff22=_0x351b7e;var _0x3ac400;this[_0x23ff22(0x3f5)]||(this['markNotReady'](),this['_pendingToken']=null,this[_0x23ff22(0x287)]=null,this[_0x23ff22(0x11e)](),this[_0x23ff22(0x9c)]=!0x1,this['_dataUpdateAnimationDuration']=null,(_0x3ac400=this[_0x23ff22(0x20d)])==null||_0x3ac400['dispose'](),this[_0x23ff22(0x20d)]=null,this[_0x23ff22(0x34a)](),super[_0x23ff22(0x183)]());}async[_0x351b7e(0x42f)](){const _0x4cb02b=_0x351b7e;let _0x501032=this[_0x4cb02b(0x36b)]();if(!_0x501032)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x18bef2=_0x501032[_0x4cb02b(0x22c)]??this['chartId'],_0x54225e=_0x1cef92(_0x18bef2),_0x3ccf29=Symbol(this[_0x4cb02b(0x2ff)]);this[_0x4cb02b(0x113)]=_0x3ccf29,this[_0x4cb02b(0xf7)]=_0x54225e;try{let _0x1748e6=await _0x54225e[_0x4cb02b(0x15a)],_0x4136bf=this['_getFloatDomInfo'](),_0x59930a=(_0x4136bf==null?void 0x0:_0x4136bf[_0x4cb02b(0x22c)])??this[_0x4cb02b(0x2ff)];if(this['_disposed']||this[_0x4cb02b(0x423)]()||this[_0x4cb02b(0x113)]!==_0x3ccf29||!_0x4136bf||_0x59930a!==_0x18bef2||document['getElementById'](_0x18bef2)!==_0x1748e6||!_0x1748e6['isConnected'])throw Error(_0x4cb02b(0x3ed));let _0x5e3d85=this[_0x4cb02b(0x43b)]();if(!_0x5e3d85)throw Error(_0x4cb02b(0x3ed));let _0x16f67f=new _0x1e42e6['ChartDomFrame'](_0x1748e6);return _0x16f67f[_0x4cb02b(0x355)](this[_0x4cb02b(0x386)](_0x5e3d85),this['_frameStyle']()),this[_0x4cb02b(0x20c)](_0x1748e6),this[_0x4cb02b(0x20d)]=_0x16f67f,this[_0x4cb02b(0x9c)]=!0x0,{'mountNode':_0x16f67f[_0x4cb02b(0x249)],'dispose':()=>{const _0x3693ce=_0x4cb02b;this[_0x3693ce(0x183)](),_0x501032[_0x3693ce(0x183)][_0x3693ce(0x183)]();}};}finally{this['_waiter']===_0x54225e&&(this[_0x4cb02b(0xf7)]=null),this[_0x4cb02b(0x113)]===_0x3ccf29&&(this[_0x4cb02b(0x113)]=null);}}[_0x351b7e(0x11e)](){const _0xaa5ef0=_0x351b7e;let _0x47fc9d=this['_waiter'];_0x47fc9d&&(_0x47fc9d[_0xaa5ef0(0x321)](),this[_0xaa5ef0(0xf7)]=null);}['_applyHostStyle'](){const _0x3b3868=_0x351b7e;let _0x2f686b=this[_0x3b3868(0x43b)]();this[_0x3b3868(0x20d)]&&_0x2f686b&&this['_domFrame']['update'](this[_0x3b3868(0x386)](_0x2f686b),this[_0x3b3868(0x27b)]());}[_0x351b7e(0x386)](_0x56d71a){const _0x3256eb=_0x351b7e;return _0x1e42e6['ChartFrameLayout']['resolve']({'logicalOuterRect':{'left':_0x56d71a['left'],'top':_0x56d71a[_0x3256eb(0x195)],'width':_0x56d71a['width'],'height':_0x56d71a[_0x3256eb(0x196)]},'scale':{'scaleX':_0x56d71a[_0x3256eb(0x224)],'scaleY':_0x56d71a['scaleY']},'hostStyle':this[_0x3256eb(0x27b)](),'contentMode':_0x1e42e6[_0x3256eb(0x31e)][_0x3256eb(0x3c2)]});}['_frameStyle'](){const _0x365853=_0x351b7e;return{...this[_0x365853(0x2b4)],'radius':_0x1e42e6['CHART_HOST_BORDER_RADIUS']};}['_activateHostWrapper'](_0x1cba5c){const _0x1bccf3=_0x351b7e;let _0x573bec=_0x1cba5c[_0x1bccf3(0x33f)];_0x573bec&&(this['_savedWrapperStyle']||={'zIndex':_0x573bec[_0x1bccf3(0x12c)]['zIndex'],'pointerEvents':_0x573bec['style'][_0x1bccf3(0x3e6)]},_0x573bec[_0x1bccf3(0x12c)]['zIndex']=_0x1bccf3(0x39c),this[_0x1bccf3(0x2d0)](_0x1cba5c));}[_0x351b7e(0x2d0)](_0x5e2c01){const _0x268d80=_0x351b7e;let _0x3999bb=_0x5e2c01[_0x268d80(0x33f)];if(!_0x3999bb)return;let _0x46ba24=this[_0x268d80(0x2d7)];if(_0x46ba24!=null){_0x5e2c01[_0x268d80(0x13c)][_0x268d80(0x28c)]='true',_0x5e2c01[_0x268d80(0x13c)][_0x268d80(0x1b1)]=String(_0x46ba24),_0x3999bb['style']['pointerEvents']=_0x268d80(0x11f);return;}delete _0x5e2c01['dataset'][_0x268d80(0x28c)],delete _0x5e2c01[_0x268d80(0x13c)][_0x268d80(0x1b1)],_0x3999bb[_0x268d80(0x12c)][_0x268d80(0x3e6)]='auto';}[_0x351b7e(0x34a)](){const _0x1f8aa9=_0x351b7e;if(!this['_savedWrapperStyle'])return;let _0x599a5b=this['_getFloatDomInfo'](),_0x83b8e7=(_0x599a5b==null?void 0x0:_0x599a5b[_0x1f8aa9(0x22c)])??this[_0x1f8aa9(0x2ff)],_0xb2ec8c=document[_0x1f8aa9(0x236)](_0x83b8e7);_0xb2ec8c==null||delete _0xb2ec8c[_0x1f8aa9(0x13c)]['sheetChartDataAnimation'],_0xb2ec8c==null||delete _0xb2ec8c[_0x1f8aa9(0x13c)][_0x1f8aa9(0x1b1)];let _0x4704f1=_0xb2ec8c==null?void 0x0:_0xb2ec8c[_0x1f8aa9(0x33f)];_0x4704f1&&(_0x4704f1[_0x1f8aa9(0x12c)]['zIndex']=this[_0x1f8aa9(0x2da)][_0x1f8aa9(0x3ac)],_0x4704f1[_0x1f8aa9(0x12c)][_0x1f8aa9(0x3e6)]=this[_0x1f8aa9(0x2da)][_0x1f8aa9(0x3e6)]),this['_savedWrapperStyle']=null;}},_0x1605d2=class extends _0x4a5d1e[_0x351b7e(0xe5)]{constructor(_0x58f5ff,_0x5aaf47,_0x28a88b,_0x3cf730,_0x42b9ee,_0x569540){const _0x35da5b=_0x351b7e;super(_0x58f5ff),this[_0x35da5b(0x216)]=_0x5aaf47,this[_0x35da5b(0x146)]=_0x28a88b,this[_0x35da5b(0x470)]=_0x3cf730,this[_0x35da5b(0x2c1)]=_0x42b9ee,this[_0x35da5b(0x29f)]=_0x569540;}[_0x351b7e(0x16c)](){let _0x156b67=this['_getOuterRect']();return _0x156b67?_0x5f5d9d(_0x156b67):null;}[_0x351b7e(0x136)](_0x136e15){this['_setHostStyle'](_0x136e15);}[_0x351b7e(0x246)](){const _0x3634f8=_0x351b7e;return this['_snapshotStore'][_0x3634f8(0x246)](this[_0x3634f8(0x470)]);}[_0x351b7e(0x225)](_0x354374,_0x5e9324){const _0x1dfc24=_0x351b7e;return this[_0x1dfc24(0x2c1)][_0x1dfc24(0x28f)](this['_snapshotKey'],_0x354374,_0x5e9324);}[_0x351b7e(0x438)](){const _0xbf2c33=_0x351b7e;this[_0xbf2c33(0x29f)]();}[_0x351b7e(0x1c6)](){const _0x2832f8=_0x351b7e;this[_0x2832f8(0x2c1)][_0x2832f8(0x246)](this[_0x2832f8(0x470)]);}};function _0x40aea1(_0x250043,_0x2e73c4){return function(_0x3392e5,_0x4c320e){_0x2e73c4(_0x3392e5,_0x4c320e,_0x250043);};}function _0x5a0cd2(_0x4089e0,_0xf78075,_0x44001c,_0x256af6){const _0x1d7cf3=_0x351b7e;var _0x1af8a4=arguments[_0x1d7cf3(0x1fd)],_0x8b6c47=_0x1af8a4<0x3?_0xf78075:_0x256af6===null?_0x256af6=Object[_0x1d7cf3(0x3c6)](_0xf78075,_0x44001c):_0x256af6,_0x38ffab;if(typeof Reflect==_0x1d7cf3(0x164)&&typeof Reflect[_0x1d7cf3(0x389)]==_0x1d7cf3(0x24b))_0x8b6c47=Reflect[_0x1d7cf3(0x389)](_0x4089e0,_0xf78075,_0x44001c,_0x256af6);else{for(var _0x14924b=_0x4089e0['length']-0x1;_0x14924b>=0x0;_0x14924b--)(_0x38ffab=_0x4089e0[_0x14924b])&&(_0x8b6c47=(_0x1af8a4<0x3?_0x38ffab(_0x8b6c47):_0x1af8a4>0x3?_0x38ffab(_0xf78075,_0x44001c,_0x8b6c47):_0x38ffab(_0xf78075,_0x44001c))||_0x8b6c47);}return _0x1af8a4>0x3&&_0x8b6c47&&Object[_0x1d7cf3(0x3ea)](_0xf78075,_0x44001c,_0x8b6c47),_0x8b6c47;}let _0xcaa8a=0.5;function _0x3847c2(_0x462c21){const _0x41c06c=_0x351b7e;let _0x5837bd=Math[_0x41c06c(0xdb)](_0x462c21['endX']-_0x462c21[_0x41c06c(0x261)],0x0),_0x5938f7=Math[_0x41c06c(0xdb)](_0x462c21['endY']-_0x462c21['startY'],0x0),_0x415c34=_0x462c21[_0x41c06c(0x2e0)][_0x41c06c(0x150)]&&_0x462c21[_0x41c06c(0x2aa)]-_0x5837bd>_0xcaa8a,_0x42174c=_0x462c21['absolute'][_0x41c06c(0x195)]&&_0x462c21[_0x41c06c(0x196)]-_0x5938f7>_0xcaa8a;return!_0x415c34&&!_0x42174c?_0x462c21:{..._0x462c21,'absolute':{'left':!_0x415c34&&_0x462c21['absolute'][_0x41c06c(0x150)],'top':!_0x42174c&&_0x462c21['absolute']['top']}};}function _0x4da893(_0x4dce5b){const _0x591912=_0x351b7e;if(!Object[_0x591912(0x116)]['hasOwnProperty'][_0x591912(0x406)](_0x4dce5b,_0x591912(0x298)))return _0x4dce5b;let {border:_0x1c4da9,..._0x28d01e}=_0x4dce5b;return{..._0x28d01e,'stroke':(_0x1c4da9==null?void 0x0:_0x1c4da9[_0x591912(0xc5)])??'transparent','strokeWidth':(_0x1c4da9==null?void 0x0:_0x1c4da9[_0x591912(0x2aa)])??0x0};}let _0x1a5ddf=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x248de1,_0x4ecd8e,_0x3802d3,_0x4f91df,_0xcf2895){const _0x50fb73=_0x351b7e;super(),this['_sheetCanvasFloatDomManagerService']=_0x248de1,this[_0x50fb73(0x465)]=_0x4ecd8e,this[_0x50fb73(0x1b2)]=_0x3802d3,this['_canvasFloatDomService']=_0x4f91df,this[_0x50fb73(0x9d)]=_0xcf2895,_0x2d50c7(this,_0x50fb73(0x416),new Map()),_0x2d50c7(this,_0x50fb73(0x160),new Set()),_0x2d50c7(this,_0x50fb73(0x1c0),new _0x1a141d['Subject']()),_0x2d50c7(this,'removeHost$',this['_removeHost$'][_0x50fb73(0x3fb)]()),this[_0x50fb73(0x3f2)](this[_0x50fb73(0x2f2)][_0x50fb73(0x2fc)][_0x50fb73(0x1b5)](_0x224b59=>{const _0x3d85d1=_0x50fb73;let _0x16cc1a=this['_chartHostMap']['get'](_0x224b59['id']);_0x16cc1a!=null&&_0x16cc1a[_0x3d85d1(0xea)]()&&(_0x16cc1a[_0x3d85d1(0x119)](),this[_0x3d85d1(0x1c0)][_0x3d85d1(0xf2)](_0x224b59['id']));}));}[_0x351b7e(0x169)](_0x40d1c5){const _0x2e564b=_0x351b7e;if(_0x40d1c5==null)return;let _0x343ce6=this[_0x2e564b(0x465)][_0x2e564b(0x38e)](_0x40d1c5),_0x4a5074=_0x343ce6==null?void 0x0:_0x343ce6[_0x2e564b(0x37b)];return _0x343ce6==null||_0x4a5074==null?null:{'scene':_0x4a5074,'transformer':_0x4a5074['getTransformerByCreate'](),'renderUnit':_0x343ce6,'canvas':_0x343ce6[_0x2e564b(0x3c0)][_0x2e564b(0x2ae)]()};}[_0x351b7e(0xaa)](_0x19af00,_0x57ca74){const _0x457dba=_0x351b7e;let _0x50d0b3=this[_0x457dba(0x2f2)],_0x132666=_0x57ca74||_0x457dba(0x2b2),_0x31e21b=_0x50d0b3[_0x457dba(0xcb)](_0x19af00);if(_0x31e21b){let {unitId:_0x35189a,subUnitId:_0x2c7135}=_0x31e21b;_0x50d0b3[_0x457dba(0x1b4)](_0x35189a,_0x2c7135,_0x19af00,{'stroke':_0x132666});}}[_0x351b7e(0x2ef)](_0x2c4f58,_0x231258){const _0x2782fd=_0x351b7e;let _0x36ab62=this[_0x2782fd(0x2f2)],_0x4847f3=_0x36ab62[_0x2782fd(0xcb)](_0x2c4f58);if(_0x4847f3){let {unitId:_0x53ecbd,subUnitId:_0x54257a}=_0x4847f3;_0x36ab62[_0x2782fd(0x1b4)](_0x53ecbd,_0x54257a,_0x2c4f58,_0x4da893(_0x231258));}}['getHostSize'](_0x554524){let _0x2b6b5a=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x554524);return _0x2b6b5a?_0x2b6b5a['rect']:null;}[_0x351b7e(0xa1)](_0x2ad538){const _0x40511c=_0x351b7e;let _0x2c36ef=this[_0x40511c(0x2f2)][_0x40511c(0xcb)](_0x2ad538),_0x58bceb=document['getElementById']((_0x2c36ef==null?void 0x0:_0x2c36ef[_0x40511c(0x22c)])??_0x2ad538);return(_0x58bceb==null?void 0x0:_0x58bceb[_0x40511c(0x452)]())??null;}[_0x351b7e(0x3ca)](_0x8f6001,_0x20df01){const _0x4947f9=_0x351b7e;var _0x35f560;(_0x35f560=this[_0x4947f9(0x416)][_0x4947f9(0x1aa)](_0x8f6001))==null||_0x35f560[_0x4947f9(0x3ca)](_0x20df01);}[_0x351b7e(0x123)](_0x96ac7a){const _0x1315c1=_0x351b7e;var _0xb96c46;return((_0xb96c46=this[_0x1315c1(0x416)][_0x1315c1(0x1aa)](_0x96ac7a))==null?void 0x0:_0xb96c46[_0x1315c1(0x29d)]())??!0x1;}[_0x351b7e(0x40e)](_0x4da4a4){const _0x37226e=_0x351b7e;var _0x2b581e;(_0x2b581e=this['_chartHostMap'][_0x37226e(0x1aa)](_0x4da4a4))==null||_0x2b581e[_0x37226e(0xf1)]();}['removeHost'](_0x5d3162){const _0x5aa24d=_0x351b7e;let _0x48c278=this['_chartHostMap']['get'](_0x5d3162);_0x48c278&&(_0x48c278['dispose'](),this[_0x5aa24d(0x3a5)][_0x5aa24d(0x1d6)](_0x5d3162,{'eventPassThrough':!0x0})),this[_0x5aa24d(0x416)][_0x5aa24d(0x437)](_0x5d3162);}async[_0x351b7e(0x3d2)](_0x1ec4c1,_0x1eb72f){const _0x5f28cf=_0x351b7e;if(_0x1eb72f===_0x4a5d1e[_0x5f28cf(0x31c)]['Image'])return this[_0x5f28cf(0x219)](_0x1ec4c1);if(_0x1eb72f===_0x4a5d1e[_0x5f28cf(0x31c)][_0x5f28cf(0x2ba)])return this[_0x5f28cf(0x266)](_0x1ec4c1);let _0x5f23ef=this[_0x5f28cf(0x266)](_0x1ec4c1);if(!_0x5f23ef)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x5f23ef[_0x5f28cf(0x2f6)]();}[_0x351b7e(0x445)](_0x4b7186){const _0x1d91cb=_0x351b7e;var _0x1f71da;return this[_0x1d91cb(0x160)][_0x1d91cb(0x309)](_0x4b7186)?(_0x1f71da=this[_0x1d91cb(0x416)][_0x1d91cb(0x1aa)](_0x4b7186))!=null&&_0x1f71da[_0x1d91cb(0x29d)]()?!0x0:(this[_0x1d91cb(0x160)][_0x1d91cb(0x437)](_0x4b7186),this[_0x1d91cb(0x34b)](_0x4b7186),!0x1):!0x1;}[_0x351b7e(0x317)](_0x115af6){const _0x2c5113=_0x351b7e;this[_0x2c5113(0x160)][_0x2c5113(0x437)](_0x115af6)&&(this['_restoreFloatDomPositionStream'](_0x115af6),this[_0x2c5113(0x456)](_0x115af6));}[_0x351b7e(0x1c6)](_0x24e77d){const _0x253826=_0x351b7e;let _0x3deae7=this[_0x253826(0x368)](_0x24e77d);_0x3deae7&&this[_0x253826(0x1b2)]['nextVersion'](_0x3deae7);}[_0x351b7e(0x219)](_0x5cd8e4){const _0x26de17=_0x351b7e;let _0x150032=this[_0x26de17(0x368)](_0x5cd8e4);return!_0x150032||!this['getHostSize'](_0x5cd8e4)?null:new _0x1605d2(_0x5cd8e4,()=>this[_0x26de17(0x275)](_0x5cd8e4),_0x48b0be=>this['setHostStyle'](_0x5cd8e4,_0x48b0be),_0x150032,this[_0x26de17(0x1b2)],()=>this[_0x26de17(0x456)](_0x5cd8e4));}[_0x351b7e(0x266)](_0x2168db){const _0x34dbe1=_0x351b7e;var _0x3e7a79;if(!this['getHostSize'](_0x2168db))return null;this[_0x34dbe1(0x3a5)][_0x34dbe1(0x1d6)](_0x2168db,{'eventPassThrough':((_0x3e7a79=this[_0x34dbe1(0x9d)][_0x34dbe1(0x267)])==null?void 0x0:_0x3e7a79['id'])!==_0x2168db,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x5accd7=this['_chartHostMap'][_0x34dbe1(0x1aa)](_0x2168db);if(_0x5accd7)return _0x5accd7;let _0x27da8f=new _0x17a1bf(_0x2168db,()=>this[_0x34dbe1(0x2f2)][_0x34dbe1(0xcb)](_0x2168db),()=>this[_0x34dbe1(0x434)](_0x2168db),_0x4f72a1=>this[_0x34dbe1(0x2ef)](_0x2168db,_0x4f72a1),()=>this[_0x34dbe1(0x3f5)],()=>this[_0x34dbe1(0x383)](_0x2168db),()=>this[_0x34dbe1(0x317)](_0x2168db));return this[_0x34dbe1(0x416)][_0x34dbe1(0xac)](_0x2168db,_0x27da8f),_0x27da8f;}['_markHostReady'](_0x3044a9){const _0x486586=_0x351b7e;this[_0x486586(0x160)]['has'](_0x3044a9)||(this[_0x486586(0x160)][_0x486586(0x429)](_0x3044a9),this[_0x486586(0x206)](_0x3044a9),this['_requestChartCanvasRender'](_0x3044a9));}['_alignFloatDomPositionWithSceneRender'](_0x394ecb){const _0x2d91a8=_0x351b7e;var _0x311895;let _0x2f5270=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x394ecb),_0x1fe4e8=_0x2f5270?(_0x311895=this[_0x2d91a8(0x465)]['getRenderUnitById'](_0x2f5270[_0x2d91a8(0x12d)]))==null?void 0x0:_0x311895['scene']:null;if(!_0x2f5270||!_0x1fe4e8)return;let _0x3ee553=(0x0,_0x1a141d['merge'])(_0x2f5270[_0x2d91a8(0x127)]['pipe']((0x0,_0x1a141d[_0x2d91a8(0x451)])(0x1)),_0x1fe4e8[_0x2d91a8(0x3ba)][_0x2d91a8(0x1a6)]((0x0,_0x1a141d[_0x2d91a8(0x339)])(_0x2f5270[_0x2d91a8(0x127)]),(0x0,_0x1a141d[_0x2d91a8(0xfc)])(([,_0x5ae5e3])=>_0x5ae5e3)))[_0x2d91a8(0x1a6)]((0x0,_0x1a141d[_0x2d91a8(0x3cd)])(),(0x0,_0x1a141d[_0x2d91a8(0xfc)])(_0x3847c2));this['_canvasFloatDomService'][_0x2d91a8(0x1d6)](_0x394ecb,{'position$':_0x3ee553});}[_0x351b7e(0x34b)](_0x4027c8){const _0x447979=_0x351b7e;let _0x7046d2=this[_0x447979(0x2f2)]['getFloatDomInfo'](_0x4027c8);_0x7046d2&&this[_0x447979(0x3a5)][_0x447979(0x1d6)](_0x4027c8,{'position$':_0x7046d2[_0x447979(0x127)]});}[_0x351b7e(0x368)](_0x242fd4){const _0x2f53ab=_0x351b7e;let _0xb4d45e=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x242fd4);return _0xb4d45e?{'unitId':_0xb4d45e['unitId'],'subUnitId':_0xb4d45e[_0x2f53ab(0x2b0)],'chartId':_0x242fd4}:null;}[_0x351b7e(0x456)](_0x1da6f2){const _0x20716e=_0x351b7e;var _0x50d512,_0x3dbaea,_0x5d2e2d;let _0x447f0c=this[_0x20716e(0x2f2)][_0x20716e(0xcb)](_0x1da6f2);if(!_0x447f0c)return;let _0x134a71=(_0x50d512=this['_renderManagerService'][_0x20716e(0x38e)](_0x447f0c[_0x20716e(0x12d)]))==null?void 0x0:_0x50d512[_0x20716e(0x37b)],_0x47881d=(_0x134a71==null||(_0x3dbaea=_0x134a71[_0x20716e(0x162)])==null?void 0x0:_0x3dbaea[_0x20716e(0x406)](_0x134a71,(0x0,_0x3543bc[_0x20716e(0x469)])({'unitId':_0x447f0c['unitId'],'subUnitId':_0x447f0c['subUnitId'],'drawingId':_0x1da6f2})))??(_0x134a71==null?void 0x0:_0x134a71[_0x20716e(0x468)]((0x0,_0x3543bc[_0x20716e(0x469)])({'unitId':_0x447f0c[_0x20716e(0x12d)],'subUnitId':_0x447f0c[_0x20716e(0x2b0)],'drawingId':_0x1da6f2})))??null;_0x47881d==null||(_0x5d2e2d=_0x47881d[_0x20716e(0x135)])==null||_0x5d2e2d[_0x20716e(0x406)](_0x47881d,!0x0),_0x134a71==null||_0x134a71[_0x20716e(0x135)](!0x0);}[_0x351b7e(0x434)](_0x5d0fcf){const _0xec3a5b=_0x351b7e;let _0x17955c=this[_0xec3a5b(0x2f2)][_0xec3a5b(0xcb)](_0x5d0fcf);if(!_0x17955c)return null;let _0x48f810=this[_0xec3a5b(0x169)](_0x17955c[_0xec3a5b(0x12d)]),_0x100039=_0x48f810==null?void 0x0:_0x48f810[_0xec3a5b(0x37b)],_0x240d03=document[_0xec3a5b(0x236)](_0x17955c['domId']??_0x5d0fcf);return _0x1c189c(_0x17955c[_0xec3a5b(0x3ad)],{'scaleX':(_0x100039==null?void 0x0:_0x100039['scaleX'])??0x1,'scaleY':(_0x100039==null?void 0x0:_0x100039['scaleY'])??0x1},_0x240d03?{'left':_0x240d03[_0xec3a5b(0xb4)],'top':_0x240d03['offsetTop']}:void 0x0);}[_0x351b7e(0x183)](){const _0x584dbc=_0x351b7e;this[_0x584dbc(0x3f5)]||(Array[_0x584dbc(0xd0)](this[_0x584dbc(0x416)][_0x584dbc(0xc8)]())[_0x584dbc(0x120)](_0x2dbe84=>this[_0x584dbc(0x39e)](_0x2dbe84)),this[_0x584dbc(0x160)]['clear'](),this[_0x584dbc(0x1c0)]['complete'](),super[_0x584dbc(0x183)]());}};_0x1a5ddf=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x102b65[_0x351b7e(0x30d)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x120bdc[_0x351b7e(0x1d7)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x5736e0)),_0x40aea1(0x3,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69[_0x351b7e(0x24a)])),_0x40aea1(0x4,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x3bd)]))],_0x1a5ddf);let _0x57a861=(0x0,_0xe0fba2[_0x351b7e(0x316)])('sheets-chart-ui.host.provider'),_0x10f944=_0x4a5d1e['ChartRenderMode'][_0x351b7e(0x41e)];var _0x34a8a7=class extends _0x4a5d1e[_0x351b7e(0xe5)]{constructor(_0x43dc6e,_0x3a6fd9){const _0x9c6326=_0x351b7e;super(_0x43dc6e),this[_0x9c6326(0x17d)]=_0x3a6fd9,_0x2d50c7(this,_0x9c6326(0x293),0x0),_0x2d50c7(this,_0x9c6326(0x2c8),void 0x0),_0x2d50c7(this,_0x9c6326(0x12c),{});}[_0x351b7e(0x16c)](){const _0xc670a9=_0x351b7e;return this[_0xc670a9(0x17d)];}[_0x351b7e(0x136)](_0x10f506){const _0x4da6b7=_0x351b7e;this[_0x4da6b7(0x12c)]=_0x10f506;}[_0x351b7e(0x246)](){const _0x2fc3e3=_0x351b7e;return++this[_0x2fc3e3(0x293)];}[_0x351b7e(0x225)](_0x44b1bf,_0x1d073c){const _0x40d1c8=_0x351b7e;return _0x1d073c===this[_0x40d1c8(0x293)]?(_0x20324d(this[_0x40d1c8(0x2c8)]),this[_0x40d1c8(0x2c8)]=_0x44b1bf,!0x0):(_0x20324d(_0x44b1bf),!0x1);}[_0x351b7e(0x438)](){}[_0x351b7e(0x1c6)](){this['_version']+=0x1;}[_0x351b7e(0x26e)](){const _0x5d4676=_0x351b7e;let _0x193f6f=this[_0x5d4676(0x2c8)];return this[_0x5d4676(0x2c8)]=void 0x0,_0x193f6f;}['dispose'](){const _0x1af8b7=_0x351b7e;_0x20324d(this[_0x1af8b7(0x2c8)]),this[_0x1af8b7(0x2c8)]=void 0x0,super[_0x1af8b7(0x183)]();}};function _0x371a1c(_0x465f2a,_0x1f36fb,_0x2fb8e1){const _0x52357a=_0x351b7e;let _0x2670a5=_0x465f2a[_0x52357a(0x3b8)](_0x1f36fb),_0x5a74d4={..._0x465f2a[_0x52357a(0x12c)],'runtime':{..._0x2670a5,'layoutInset':0x8,..._0x2fb8e1===void 0x0?{}:{'addWatermark':_0x2fb8e1}},'direction':_0x1f36fb};return(0x0,_0x4a5d1e[_0x52357a(0x408)])(_0x5a74d4,_0x465f2a[_0x52357a(0x153)]);}let _0x591b5a=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x4961ec,_0x56f38e,_0x54cd7b,_0x25339d,_0x1f80ab,_0x41b837,_0x20d9d3,_0x4e060a,_0xfb3cf2,_0xf652a6,_0x5cf17f,_0x2d2a88,_0x55fd64){const _0x37b047=_0x351b7e;super(),this[_0x37b047(0x1d3)]=_0x4961ec,this[_0x37b047(0x2f2)]=_0x56f38e,this[_0x37b047(0x9d)]=_0x54cd7b,this['_drawingManagerService']=_0x25339d,this[_0x37b047(0x115)]=_0x1f80ab,this[_0x37b047(0x465)]=_0x41b837,this['_localeService']=_0x20d9d3,this[_0x37b047(0x1f0)]=_0x4e060a,this[_0x37b047(0x156)]=_0xfb3cf2,this[_0x37b047(0x280)]=_0xf652a6,this[_0x37b047(0xfe)]=_0x5cf17f,this[_0x37b047(0x1b2)]=_0x2d2a88,this[_0x37b047(0xb6)]=_0x55fd64,_0x2d50c7(this,_0x37b047(0x3ab),new Map()),_0x2d50c7(this,_0x37b047(0x400),new Map()),_0x2d50c7(this,_0x37b047(0x240),new Map()),_0x2d50c7(this,_0x37b047(0x263),new Map()),_0x2d50c7(this,_0x37b047(0x460),new Map()),_0x2d50c7(this,_0x37b047(0x145),new Map()),_0x2d50c7(this,_0x37b047(0x1d4),new Map()),_0x2d50c7(this,_0x37b047(0xfd),void 0x0),_0x2d50c7(this,'_addWatermark',void 0x0),_0x2d50c7(this,_0x37b047(0x271),new Map()),_0x2d50c7(this,'_dataUpdateAnimationChartIds',new Set()),_0x2d50c7(this,_0x37b047(0xa8),new Map()),_0x2d50c7(this,_0x37b047(0x1d8),null),_0x2d50c7(this,_0x37b047(0x430),null);let _0x1816dc=(0x0,_0x201ec2['getAllowedChartTypes'])(this['_injector']),_0x552460=this[_0x37b047(0xfe)]['getConfig'](_0x201ec2[_0x37b047(0x372)]);this[_0x37b047(0xfd)]=(_0x552460==null?void 0x0:_0x552460[_0x37b047(0x1fe)])??_0x10f944,this[_0x37b047(0x1de)]=_0x1816dc[_0x37b047(0x1fd)]!==0x1||_0x1816dc[0x0]!==_0x37b047(0x2af),this['_registerChartImageRenderObjectFactory'](),this['_initActiveChartModelListener'](),this['_initDrawingDeactivationListener'](),this[_0x37b047(0x421)](),this[_0x37b047(0x2f4)]();}[_0x351b7e(0x25d)](_0x1159b4){const _0x11dd48=_0x351b7e;let _0x2d8423=this[_0x11dd48(0x368)](_0x1159b4);return _0x2d8423?this[_0x11dd48(0x1b2)][_0x11dd48(0x1eb)](_0x2d8423):void 0x0;}[_0x351b7e(0x1e6)](_0x4e7f96){const _0x3d6893=_0x351b7e;var _0x4c115b;return((_0x4c115b=this[_0x3d6893(0x9d)][_0x3d6893(0x267)])==null?void 0x0:_0x4c115b['id'])===_0x4e7f96?_0x4a5d1e[_0x3d6893(0x31c)]['Dom']:this[_0x3d6893(0xfd)];}['_getChartSnapshotKey'](_0x3cd486){const _0x530b5c=_0x351b7e;let _0x38da37=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x3cd486);return _0x38da37?{'unitId':_0x38da37[_0x530b5c(0x12d)],'subUnitId':_0x38da37[_0x530b5c(0x2b0)],'chartId':_0x3cd486}:null;}[_0x351b7e(0x2b3)](){const _0x1d7021=_0x351b7e;this[_0x1d7021(0xfd)]===_0x4a5d1e[_0x1d7021(0x31c)][_0x1d7021(0x41e)]&&this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService']['registerRenderObjectFactory'](_0xe0fba2[_0x1d7021(0x371)][_0x1d7021(0x1af)],({key:_0x506d64,config:_0x181d38,unitId:_0x3af9bb,subUnitId:_0x3100b4,drawingId:_0x34f2d3})=>new _0x582d7a(_0x506d64,_0x181d38,()=>this[_0x1d7021(0x1b2)][_0x1d7021(0x1eb)]({'unitId':_0x3af9bb,'subUnitId':_0x3100b4,'chartId':_0x34f2d3}),()=>this[_0x1d7021(0x1d3)]['isDomReady'](_0x34f2d3))));}[_0x351b7e(0x2b9)](){const _0x189da7=_0x351b7e;this[_0x189da7(0x3f2)](this[_0x189da7(0x9d)][_0x189da7(0x1a8)][_0x189da7(0x1b5)](_0x58b810=>{const _0x167a74=_0x189da7;let _0x3547b9=(_0x58b810==null?void 0x0:_0x58b810['id'])??null,_0xb79c9d=this['_activeChartId'];_0xb79c9d!==_0x3547b9&&(_0xb79c9d&&(this[_0x167a74(0x1d3)]['markHostNotReady'](_0xb79c9d),this[_0x167a74(0x12f)](_0xb79c9d),this['_disposeChartDomInstance'](_0xb79c9d)),this[_0x167a74(0x1d8)]=_0x3547b9,_0x3547b9&&(this[_0x167a74(0x40a)](_0x3547b9),this['_chartHostProvider'][_0x167a74(0x317)](_0x3547b9),this[_0x167a74(0x1e1)](_0x3547b9),this['_rerenderLatest'](_0x3547b9)));}));}[_0x351b7e(0x194)](){const _0x6c036f=_0x351b7e;this['disposeWithMe'](this[_0x6c036f(0x3ef)][_0x6c036f(0x30f)][_0x6c036f(0x1b5)](_0x5eac84=>{const _0x3be7e3=_0x6c036f;var _0x411901;let _0x501b74=(_0x411901=this[_0x3be7e3(0x9d)][_0x3be7e3(0x267)])==null?void 0x0:_0x411901['id'];_0x501b74&&_0x5eac84['some'](_0x4c9584=>_0x4c9584['children'][_0x3be7e3(0x3e8)](_0x2b7cc6=>_0x2b7cc6[_0x3be7e3(0xa3)]===_0x501b74))&&this['_chartModelService'][_0x3be7e3(0x410)](null);})),this[_0x6c036f(0x3f2)](this['_drawingManagerService'][_0x6c036f(0x22d)]['subscribe'](_0x5e690e=>{const _0x1e3947=_0x6c036f;var _0x229d58;let _0x54cf8b=(_0x229d58=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x229d58['id'];_0x54cf8b&&_0x5e690e[_0x1e3947(0x3e8)](_0x2fe051=>_0x2fe051['parent']['drawingId']===_0x54cf8b||_0x2fe051[_0x1e3947(0x166)][_0x1e3947(0x3e8)](_0x33a1a8=>_0x33a1a8[_0x1e3947(0xa3)]===_0x54cf8b))&&this[_0x1e3947(0x9d)][_0x1e3947(0x410)](null);}));}['_initActiveRuntimeLayerListener'](){const _0x55eb95=_0x351b7e;this['disposeWithMe'](this[_0x55eb95(0x3ef)][_0x55eb95(0x34d)][_0x55eb95(0x1b5)](_0x59dc31=>{const _0x460067=_0x55eb95;var _0x12755f;let _0x401f0e=(_0x12755f=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x12755f['id'];if(!_0x401f0e){_0x59dc31[_0x460067(0x36c)][_0x460067(0x120)](_0x4b92ce=>{const _0x58ab1d=_0x460067;this[_0x58ab1d(0x9d)][_0x58ab1d(0x96)](_0x4b92ce)&&this[_0x58ab1d(0x12f)](_0x4b92ce);});return;}let _0x3d42c4=this[_0x460067(0x2f2)][_0x460067(0xcb)](_0x401f0e);(_0x3d42c4==null?void 0x0:_0x3d42c4[_0x460067(0x12d)])===_0x59dc31[_0x460067(0x12d)]&&_0x3d42c4['subUnitId']===_0x59dc31[_0x460067(0x2b0)]&&this[_0x460067(0x1e1)](_0x401f0e);})),this[_0x55eb95(0x3f2)](this[_0x55eb95(0x3ef)][_0x55eb95(0x2db)]['subscribe'](_0x35d4df=>{const _0x247cff=_0x55eb95;var _0x3a3db6;let _0x48fd1c=(_0x3a3db6=this[_0x247cff(0x9d)][_0x247cff(0x267)])==null?void 0x0:_0x3a3db6['id'];if(!_0x48fd1c)return;let _0x20af23=this[_0x247cff(0x2f2)][_0x247cff(0xcb)](_0x48fd1c);_0x20af23&&_0x35d4df[_0x247cff(0x3e8)](_0x573e95=>_0x573e95[_0x247cff(0x12d)]===_0x20af23['unitId']&&_0x573e95[_0x247cff(0x2b0)]===_0x20af23[_0x247cff(0x2b0)])&&this[_0x247cff(0x1e1)](_0x48fd1c);})),this['disposeWithMe'](this[_0x55eb95(0x9d)][_0x55eb95(0x208)]['subscribe'](_0x1a34d7=>{const _0xde656e=_0x55eb95;var _0x4bcea2;this[_0xde656e(0x105)](_0x1a34d7),this[_0xde656e(0x9b)](_0x1a34d7),this[_0xde656e(0x400)][_0xde656e(0x437)](_0x1a34d7),this[_0xde656e(0x40a)](_0x1a34d7),this[_0xde656e(0x271)][_0xde656e(0x437)](_0x1a34d7),this['_chartSnapshotStoreService'][_0xde656e(0xd6)](_0x1a34d7),this[_0xde656e(0x2d6)](_0x1a34d7),this[_0xde656e(0x1d3)][_0xde656e(0x317)](_0x1a34d7),((_0x4bcea2=this[_0xde656e(0x9d)][_0xde656e(0x267)])==null?void 0x0:_0x4bcea2['id'])===_0x1a34d7?this[_0xde656e(0x9d)][_0xde656e(0x410)](null):this[_0xde656e(0x12f)](_0x1a34d7),this[_0xde656e(0x220)](_0x1a34d7);}));}[_0x351b7e(0x1a2)](_0x109534){const _0x3f6b59=_0x351b7e;let _0x1627bb=this['_lastRenderInputMap'][_0x3f6b59(0x1aa)](_0x109534);_0x1627bb&&this[_0x3f6b59(0x1e5)](_0x109534,_0x1627bb[_0x3f6b59(0x262)],_0x1627bb[_0x3f6b59(0x12c)]);}[_0x351b7e(0x46f)](_0x4fee32){const _0x2a862d=_0x351b7e;let _0x30dbf1=this['_chartInstanceMap'][_0x2a862d(0x1aa)](_0x4fee32);(_0x30dbf1==null?void 0x0:_0x30dbf1[_0x2a862d(0x100)])==='dom'&&(this[_0x2a862d(0x9b)](_0x4fee32),_0x30dbf1['dispose'](),this[_0x2a862d(0x3ab)][_0x2a862d(0x437)](_0x4fee32)),this['_chartHostProvider'][_0x2a862d(0x317)](_0x4fee32),this[_0x2a862d(0x1d3)]['removeHost'](_0x4fee32);}[_0x351b7e(0x220)](_0x41a244){const _0x44670c=_0x351b7e;let _0x4ede06=this['_chartInstanceMap']['get'](_0x41a244);_0x4ede06&&(this[_0x44670c(0x9b)](_0x41a244),_0x4ede06[_0x44670c(0x183)](),this['_chartInstanceMap'][_0x44670c(0x437)](_0x41a244)),this['_chartHostProvider']['markHostNotReady'](_0x41a244),this[_0x44670c(0x1d3)][_0x44670c(0x39e)](_0x41a244);}[_0x351b7e(0x2d6)](_0x3e66ed){const _0x38995f=_0x351b7e;var _0x3b9730,_0x43c98d;(_0x3b9730=this[_0x38995f(0xb6)][_0x38995f(0x234)](_0x4a5d1e[_0x38995f(0xc0)]))==null||(_0x43c98d=_0x3b9730[_0x38995f(0x1e2)])==null||_0x43c98d['call'](_0x3b9730,_0x3e66ed);}[_0x351b7e(0x294)](_0x2aafea,_0x439696){const _0x12e764=_0x351b7e;let _0x9cb616=this[_0x12e764(0x3ef)]['getDrawingData'](_0x2aafea,_0x439696);Object['values'](_0x9cb616??{})[_0x12e764(0x120)](_0x50ef92=>{const _0x4ddfa1=_0x12e764;_0x50ef92[_0x4ddfa1(0x405)]===_0xe0fba2[_0x4ddfa1(0x371)][_0x4ddfa1(0x1af)]&&this[_0x4ddfa1(0x2d6)](_0x50ef92[_0x4ddfa1(0xa3)]);});}[_0x351b7e(0x2bc)](_0x3f33e4,_0x4bb301){const _0x17251d=_0x351b7e;var _0x1cf8b8;return((_0x1cf8b8=_0x3f33e4['getObjectIncludeInGroup'])==null?void 0x0:_0x1cf8b8[_0x17251d(0x406)](_0x3f33e4,_0x4bb301))??_0x3f33e4[_0x17251d(0x468)](_0x4bb301)??null;}[_0x351b7e(0x1ee)](_0x3c1959){const _0x54d0a9=_0x351b7e;var _0x4c6814;let _0x1a9ba1=this[_0x54d0a9(0x2f2)][_0x54d0a9(0xcb)](_0x3c1959);if(!_0x1a9ba1)return null;let _0x482c39=(_0x4c6814=this['_renderManagerService'][_0x54d0a9(0x38e)](_0x1a9ba1[_0x54d0a9(0x12d)]))==null?void 0x0:_0x4c6814['scene'];if(!_0x482c39)return null;let _0x4b121f=this[_0x54d0a9(0x2bc)](_0x482c39,(0x0,_0x3543bc[_0x54d0a9(0x469)])({'unitId':_0x1a9ba1[_0x54d0a9(0x12d)],'subUnitId':_0x1a9ba1[_0x54d0a9(0x2b0)],'drawingId':_0x3c1959}));return _0x4b121f?{'info':_0x1a9ba1,'scene':_0x482c39,'chartObject':_0x4b121f}:null;}['_setChartRuntimeZIndex'](_0x4394cc,_0x2d4f75){const _0x339c91=_0x351b7e;var _0x47d2c3,_0x328e5c,_0x3f87bc,_0x2a90cd;let _0x57f406=this['_getChartRenderObjectContext'](_0x4394cc);_0x57f406&&((_0x47d2c3=(_0x328e5c=_0x57f406[_0x339c91(0xba)])[_0x339c91(0x314)])==null||_0x47d2c3[_0x339c91(0x406)](_0x328e5c,{'zIndex':_0x2d4f75}),(_0x3f87bc=(_0x2a90cd=_0x57f406['chartObject'])[_0x339c91(0x135)])==null||_0x3f87bc[_0x339c91(0x406)](_0x2a90cd,!0x0),_0x57f406[_0x339c91(0x37b)][_0x339c91(0x135)](!0x0));}[_0x351b7e(0x1e1)](_0x432059){const _0x196ebf=_0x351b7e;let _0x4f48e7=this[_0x196ebf(0x2f2)][_0x196ebf(0xcb)](_0x432059);if(!_0x4f48e7)return;let _0xd2a764=this['_drawingManagerService'][_0x196ebf(0x243)](_0x4f48e7[_0x196ebf(0x12d)],_0x4f48e7['subUnitId']);this[_0x196ebf(0x109)](_0x432059,_0xd2a764[_0x196ebf(0x1fd)]);}[_0x351b7e(0x12f)](_0x3dba5e){const _0x2cb7b0=_0x351b7e;let _0x131444=this[_0x2cb7b0(0x2f2)][_0x2cb7b0(0xcb)](_0x3dba5e);if(!_0x131444)return;let _0x4423c3=this['_drawingManagerService']['getDrawingOrder'](_0x131444[_0x2cb7b0(0x12d)],_0x131444['subUnitId']),_0x31333a=_0x4423c3[_0x2cb7b0(0xa5)](_0x3dba5e);this[_0x2cb7b0(0x109)](_0x3dba5e,_0x31333a===-0x1?Math[_0x2cb7b0(0xdb)](_0x4423c3[_0x2cb7b0(0x1fd)]-0x1,0x0):_0x31333a);}[_0x351b7e(0xa9)](_0x484caf,_0xb45e5b){const _0x43ebe8=_0x351b7e;let _0x5ef914=this['_sheetCanvasFloatDomManagerService'][_0x43ebe8(0xcb)](_0x484caf);if(_0xb45e5b[_0x43ebe8(0x2aa)]!==void 0x0&&_0xb45e5b[_0x43ebe8(0x196)]!==void 0x0&&_0x5ef914){var _0x5c290b;let {subUnitId:_0x3ecdfd}=_0x5ef914,_0x181114=(_0x5c290b=this['_univerInstanceService'][_0x43ebe8(0x2a3)](_0xe0fba2['UniverInstanceType'][_0x43ebe8(0x3fd)]))==null?void 0x0:_0x5c290b[_0x43ebe8(0x26c)]();if((_0x181114==null?void 0x0:_0x181114[_0x43ebe8(0x1a0)]())===_0x3ecdfd){let {width:_0x4f1841,height:_0x424855}=_0xb45e5b,_0x54874e=this[_0x43ebe8(0x9d)][_0x43ebe8(0x96)](_0x484caf),_0xe22099=_0x54874e==null?void 0x0:_0x54874e[_0x43ebe8(0x12c)];(Math[_0x43ebe8(0x35d)](_0x4f1841-((_0xe22099==null?void 0x0:_0xe22099[_0x43ebe8(0x2aa)])||0x0))>0x1||Math[_0x43ebe8(0x35d)](_0x424855-((_0xe22099==null?void 0x0:_0xe22099[_0x43ebe8(0x196)])||0x0))>0x1)&&(_0x54874e==null||_0x54874e[_0x43ebe8(0x457)]({..._0xe22099,'width':_0x4f1841,'height':_0x424855}));}}}[_0x351b7e(0x179)](_0x38e0df,_0x889517,_0x4549e3=0x0){const _0x108e87=_0x351b7e;let _0x1cf9a1=this[_0x108e87(0x145)]['get'](_0x38e0df);_0x1cf9a1||(_0x1cf9a1=(0x0,_0xe0fba2['debounce'])(_0x396838=>{this['_resizeChart'](_0x38e0df,_0x396838);},_0x4549e3),this[_0x108e87(0x145)][_0x108e87(0xac)](_0x38e0df,_0x1cf9a1)),_0x1cf9a1(_0x889517);}['handleActiveSubUnitChange'](){const _0x7f8fe2=_0x351b7e;let _0x1661f0=this[_0x7f8fe2(0x460)],_0x385ea1=_0x3bef42=>{const _0x25b696=_0x7f8fe2;if(!_0x1661f0[_0x25b696(0x309)](_0x3bef42)){let _0x29c3ed=(0x0,_0xe0fba2[_0x25b696(0x3dd)])((_0x169b42,_0x1c74fa,_0x41f3ec,_0x995ac1)=>{const _0x49ed8e=_0x25b696;var _0x2108bf,_0x5ba6d1;if(!_0x41f3ec)return;(_0x2108bf=_0x41f3ec[_0x49ed8e(0x254)])==null||_0x2108bf[_0x49ed8e(0x2e6)]['forEach']((_0x1cc678,_0x4ed764)=>{const _0x10ca30=_0x49ed8e;_0x1cc678[_0x10ca30(0x138)]||=this[_0x10ca30(0xf8)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x4ed764+0x1);}),_0x41f3ec[_0x49ed8e(0x139)]['forEach']((_0x255c33,_0x4286e1)=>{const _0x676e2f=_0x49ed8e;_0x255c33['name']||=this[_0x676e2f(0xf8)]['t'](_0x676e2f(0xce))+'\x20'+(_0x4286e1+0x1);});let _0x13ef5b=this[_0x49ed8e(0x2a7)](_0x169b42,_0x995ac1),_0x8faa3d=(_0x5ba6d1=this[_0x49ed8e(0x115)][_0x49ed8e(0x2a3)](_0xe0fba2[_0x49ed8e(0x282)]['UNIVER_SHEET']))==null?void 0x0:_0x5ba6d1[_0x49ed8e(0x26c)]();(_0x8faa3d==null?void 0x0:_0x8faa3d[_0x49ed8e(0x1a0)]())===_0x1c74fa&&this[_0x49ed8e(0x1e5)](_0x169b42['id'],_0x41f3ec,_0x13ef5b);},0x11);_0x1661f0[_0x25b696(0xac)](_0x3bef42,_0x29c3ed);}return _0x1661f0[_0x25b696(0x1aa)](_0x3bef42);};this[_0x7f8fe2(0x3f2)](this[_0x7f8fe2(0x115)]['focused$'][_0x7f8fe2(0x1b5)](_0x1140bc=>{const _0x2f43fb=_0x7f8fe2;let _0x11ba68=this[_0x2f43fb(0x115)][_0x2f43fb(0x2a3)](_0xe0fba2[_0x2f43fb(0x282)][_0x2f43fb(0x3fd)]);if(_0x1140bc&&_0x11ba68&&_0x11ba68['getUnitId']()===_0x1140bc){var _0x3c14f7;let _0x14b1d8=_0x11ba68[_0x2f43fb(0x26c)]()[_0x2f43fb(0x1a0)]();this[_0x2f43fb(0x430)]&&(this[_0x2f43fb(0x430)][_0x2f43fb(0x12d)]!==_0x1140bc||this['_lastActiveSheet'][_0x2f43fb(0x2b0)]!==_0x14b1d8)&&this[_0x2f43fb(0x294)](this[_0x2f43fb(0x430)][_0x2f43fb(0x12d)],this[_0x2f43fb(0x430)][_0x2f43fb(0x2b0)]),this['_lastActiveSheet']={'unitId':_0x1140bc,'subUnitId':_0x14b1d8};let _0x2e9811=this['_drawingManagerService'][_0x2f43fb(0x328)](_0x1140bc,_0x14b1d8);if(!((_0x3c14f7=this['_renderManagerService'][_0x2f43fb(0x38e)](_0x1140bc))!=null&&_0x3c14f7[_0x2f43fb(0x161)](_0x270231[_0x2f43fb(0xb3)])[_0x2f43fb(0x37e)](_0x14b1d8)))return;if(_0x2e9811)for(let _0x5aab40 in _0x2e9811){let {drawingId:_0x8e0325}=_0x2e9811[_0x5aab40],_0xdea0f7=this[_0x2f43fb(0x9d)][_0x2f43fb(0x96)](_0x8e0325);_0xdea0f7&&_0x385ea1(_0xdea0f7['id'])(_0xdea0f7,_0x14b1d8,_0xdea0f7[_0x2f43fb(0x262)],this[_0x2f43fb(0xf8)][_0x2f43fb(0xd7)]());}}})),this[_0x7f8fe2(0x3f2)](this[_0x7f8fe2(0x280)][_0x7f8fe2(0x454)][_0x7f8fe2(0x1b5)](()=>{const _0x150bd3=_0x7f8fe2;var _0x4edc4a;let _0x29381c=this[_0x150bd3(0x115)][_0x150bd3(0x2a3)](_0xe0fba2[_0x150bd3(0x282)][_0x150bd3(0x3fd)]);if(!_0x29381c)return;let _0x17a0b3=_0x29381c[_0x150bd3(0x367)](),_0x1972c7=_0x29381c['getActiveSheet']()[_0x150bd3(0x1a0)](),_0x2bd439=this[_0x150bd3(0x3ef)]['getDrawingData'](_0x17a0b3,_0x1972c7);if((_0x4edc4a=this[_0x150bd3(0x465)]['getRenderUnitById'](_0x17a0b3))!=null&&_0x4edc4a[_0x150bd3(0x161)](_0x270231[_0x150bd3(0xb3)])['getSkeleton'](_0x1972c7)&&_0x2bd439)for(let _0x2b403f in _0x2bd439){let {drawingId:_0x93d9ce}=_0x2bd439[_0x2b403f],_0x6f7706=this[_0x150bd3(0x9d)][_0x150bd3(0x96)](_0x93d9ce);_0x6f7706&&_0x385ea1(_0x6f7706['id'])(_0x6f7706,_0x1972c7,_0x6f7706[_0x150bd3(0x262)],this[_0x150bd3(0xf8)][_0x150bd3(0xd7)]());}})),this[_0x7f8fe2(0x3f2)](this[_0x7f8fe2(0x3ef)][_0x7f8fe2(0x2db)][_0x7f8fe2(0x1b5)](_0x5088de=>{const _0x441cdc=_0x7f8fe2;_0x5088de[_0x441cdc(0x120)](_0xc781e8=>{const _0x1ef22a=_0x441cdc;var _0x2c475b;let {drawingId:_0x4cd4a5,unitId:_0x270fd2,subUnitId:_0x4dcb16}=_0xc781e8,_0x251311=this[_0x1ef22a(0x465)][_0x1ef22a(0x38e)](_0x270fd2);if((_0x251311==null?void 0x0:_0x251311[_0x1ef22a(0x441)])!==_0xe0fba2[_0x1ef22a(0x282)][_0x1ef22a(0x3fd)]||!_0x251311[_0x1ef22a(0x161)](_0x270231[_0x1ef22a(0xb3)])[_0x1ef22a(0x37e)](_0x4dcb16))return;let {drawingType:_0x46b7cf}=this[_0x1ef22a(0x3ef)]['getDrawingByParam'](_0xc781e8);if(_0x46b7cf!==_0xe0fba2[_0x1ef22a(0x371)]['DRAWING_CHART'])return;let _0x4fc13c=this[_0x1ef22a(0x2f2)]['getFloatDomInfo'](_0x4cd4a5);this[_0x1ef22a(0x105)](_0x4cd4a5);let _0x426fd9=new _0xe0fba2[(_0x1ef22a(0x304))]();this[_0x1ef22a(0x1d4)][_0x1ef22a(0xac)](_0x4cd4a5,_0x426fd9);let _0x1706a7=(_0x4fc13c==null?void 0x0:_0x4fc13c[_0x1ef22a(0x22c)])??_0x4cd4a5,_0x2039db=_0x4fc13c==null?void 0x0:_0x4fc13c['rect'],_0x54e4ee=(_0x2c475b=this['_renderManagerService']['getRenderUnitById'](_0x270fd2))==null?void 0x0:_0x2c475b[_0x1ef22a(0x37b)];if(_0x2039db){let _0x19f8af=new _0x5d1456(_0x2039db,_0x153b57=>{const _0x4a171b=_0x1ef22a;var _0x575885;let _0x3123d1=this[_0x4a171b(0x115)][_0x4a171b(0x2a3)](_0xe0fba2['UniverInstanceType']['UNIVER_SHEET']);if((_0x3123d1==null?void 0x0:_0x3123d1[_0x4a171b(0x367)]())===_0x270fd2&&((_0x575885=_0x3123d1[_0x4a171b(0x26c)]())==null?void 0x0:_0x575885[_0x4a171b(0x1a0)]())===_0x4dcb16&&(this[_0x4a171b(0x1d3)][_0x4a171b(0x40e)](_0x4cd4a5),_0x153b57)){var _0x24be7a;(_0x24be7a=this[_0x4a171b(0x3ab)][_0x4a171b(0x1aa)](_0x4cd4a5))==null||_0x24be7a['resize'](),this[_0x4a171b(0x179)](_0x4cd4a5,{'width':_0x2039db[_0x4a171b(0x2aa)],'height':_0x2039db[_0x4a171b(0x196)]},0x64);}});_0x426fd9[_0x1ef22a(0x3f2)](_0x19f8af),_0x426fd9[_0x1ef22a(0x3f2)](this[_0x1ef22a(0x115)][_0x1ef22a(0xd2)][_0x1ef22a(0x1b5)](()=>_0x19f8af[_0x1ef22a(0x338)]())),_0x54e4ee&&_0x426fd9['disposeWithMe'](_0x54e4ee['getTransformerByCreate']()[_0x1ef22a(0x348)][_0x1ef22a(0x1b5)](({objects:_0x2b1cee})=>{const _0x4b7b2c=_0x1ef22a;if(_0x2b1cee['has'](_0x2039db[_0x4b7b2c(0x3e5)])){var _0x32452b;_0x19f8af['flush'](),(_0x32452b=this[_0x4b7b2c(0x145)]['get'](_0x4cd4a5))==null||_0x32452b['flush']();}}));}_0x54e4ee&&_0x426fd9[_0x1ef22a(0x3f2)](_0x54e4ee['onTransformChange$'][_0x1ef22a(0x21a)](_0x46819b=>{const _0x11771b=_0x1ef22a;var _0x1457fe;_0x46819b['type']===_0x120bdc['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x11771b(0x38c)]&&(_0x1457fe=document[_0x11771b(0x236)](_0x1706a7))!=null&&_0x1457fe['querySelector'](_0x11771b(0x212))&&this[_0x11771b(0x1d3)][_0x11771b(0x40e)](_0x4cd4a5);}));let _0x4da1b2=this['_chartModelService'][_0x1ef22a(0x96)](_0x4cd4a5);_0x4da1b2&&_0x426fd9['disposeWithMe']((0x0,_0x1a141d['combineLatest'])([_0x4da1b2[_0x1ef22a(0x1d0)],_0x4da1b2[_0x1ef22a(0xf9)],this[_0x1ef22a(0xf8)]['direction$']])[_0x1ef22a(0x1b5)](([_0xe8e8ff,_0x599c40,_0x1e7673])=>{_0x385ea1(_0x4da1b2['id'])(_0x4da1b2,_0x4dcb16,_0xe8e8ff,_0x1e7673);}));});})),this['disposeWithMe']((0x0,_0x1a141d[_0x7f8fe2(0xb7)])([this[_0x7f8fe2(0x3ef)][_0x7f8fe2(0x2fc)]])[_0x7f8fe2(0x1b5)](([_0x29c329])=>{_0x29c329['forEach'](_0x525f18=>{const _0x2a0a38=_0x3410;var _0x269327;let {drawingId:_0x3aa8fa}=_0x525f18;this[_0x2a0a38(0x105)](_0x3aa8fa),((_0x269327=this[_0x2a0a38(0x9d)][_0x2a0a38(0x267)])==null?void 0x0:_0x269327['id'])===_0x3aa8fa&&this[_0x2a0a38(0x9d)][_0x2a0a38(0x410)](null),this[_0x2a0a38(0x9b)](_0x3aa8fa),this[_0x2a0a38(0x1d3)][_0x2a0a38(0x317)](_0x3aa8fa),this[_0x2a0a38(0x12f)](_0x3aa8fa),this[_0x2a0a38(0x220)](_0x3aa8fa),this[_0x2a0a38(0x1b2)][_0x2a0a38(0xd6)](_0x3aa8fa),this['_clearChartRuntimeCache'](_0x3aa8fa),this[_0x2a0a38(0x271)][_0x2a0a38(0x437)](_0x3aa8fa),this[_0x2a0a38(0x263)][_0x2a0a38(0x437)](_0x3aa8fa);});}));}['setElementEditMode'](_0x25704c,_0x33ca21){const _0x3cf95c=_0x351b7e;var _0x379bf5;_0x33ca21?this[_0x3cf95c(0x263)][_0x3cf95c(0xac)](_0x25704c,!0x0):this[_0x3cf95c(0x263)][_0x3cf95c(0x437)](_0x25704c),(_0x379bf5=this[_0x3cf95c(0x3ab)][_0x3cf95c(0x1aa)](_0x25704c))==null||_0x379bf5[_0x3cf95c(0x22f)](_0x33ca21);}async[_0x351b7e(0x3db)](_0x51c9fe,_0x4531db){const _0x2cb0fc=_0x351b7e;var _0x1e9465;let _0x19e7ef=this[_0x2cb0fc(0x271)][_0x2cb0fc(0x1aa)](_0x51c9fe),_0x3f93b2=(_0x1e9465=this[_0x2cb0fc(0x2f2)][_0x2cb0fc(0xcb)](_0x51c9fe))==null?void 0x0:_0x1e9465[_0x2cb0fc(0x3ad)];if(_0x19e7ef&&_0x3f93b2)return(await this[_0x2cb0fc(0xb6)]['exportImage']({'chartId':_0x51c9fe,'config':_0x19e7ef[_0x2cb0fc(0x262)],'style':_0x19e7ef[_0x2cb0fc(0x12c)],'width':_0x3f93b2['width'],'height':_0x3f93b2[_0x2cb0fc(0x196)]},_0x4531db))[_0x2cb0fc(0x247)];if((_0x4531db==null?void 0x0:_0x4531db[_0x2cb0fc(0x285)])===_0x4a5d1e['ChartImageExportFormat']['SVG'])return;let _0x557a4e=this[_0x2cb0fc(0x324)](_0x51c9fe);return _0x557a4e?(0x0,_0x4a5d1e[_0x2cb0fc(0xe3)])(_0x557a4e):void 0x0;}['on'](_0x565c90,_0x460d94,_0xae5ffd){const _0x48754f=_0x351b7e;let _0xa3be5e=this[_0x48754f(0x400)]['get'](_0x565c90);_0xa3be5e||(_0xa3be5e=new Map(),this[_0x48754f(0x400)]['set'](_0x565c90,_0xa3be5e));let _0x59cbe9=_0xa3be5e['get'](_0x460d94);_0x59cbe9||(_0x59cbe9=new Set(),_0xa3be5e[_0x48754f(0xac)](_0x460d94,_0x59cbe9)),_0x59cbe9[_0x48754f(0x429)](_0xae5ffd);let _0x3d73a5=this[_0x48754f(0x3ab)][_0x48754f(0x1aa)](_0x565c90);return _0x3d73a5&&this[_0x48754f(0x289)](_0x565c90,_0x3d73a5,_0x460d94,_0xae5ffd),{'dispose':()=>{const _0x101d7f=_0x48754f;var _0x4b5b2d;(_0x4b5b2d=this[_0x101d7f(0x400)]['get'](_0x565c90))==null||(_0x4b5b2d=_0x4b5b2d['get'](_0x460d94))==null||_0x4b5b2d['delete'](_0xae5ffd),this[_0x101d7f(0x2f3)](_0x565c90,_0x460d94,_0xae5ffd);}};}[_0x351b7e(0x324)](_0x24a750){const _0x5efe4d=_0x351b7e;let _0x5a769e=this[_0x5efe4d(0x115)]['getCurrentUnitOfType'](_0xe0fba2[_0x5efe4d(0x282)][_0x5efe4d(0x3fd)]),_0x3ad21c=_0x5a769e==null?void 0x0:_0x5a769e[_0x5efe4d(0x26c)](),_0x583ea3=_0x5a769e==null?void 0x0:_0x5a769e[_0x5efe4d(0x367)](),_0x4bff29=_0x3ad21c==null?void 0x0:_0x3ad21c[_0x5efe4d(0x1a0)]();if(_0x583ea3&&_0x4bff29)return this[_0x5efe4d(0x1b2)][_0x5efe4d(0x1eb)]({'unitId':_0x583ea3,'subUnitId':_0x4bff29,'chartId':_0x24a750});}[_0x351b7e(0x3dc)](_0x6a3e98,_0x1bc357){const _0x35e7a9=_0x351b7e;let _0x1d1d45=this[_0x35e7a9(0x400)][_0x35e7a9(0x1aa)](_0x6a3e98);_0x1d1d45&&_0x1d1d45['forEach']((_0x18705c,_0x5ad764)=>{const _0xcae657=_0x35e7a9;_0x18705c[_0xcae657(0x120)](_0x2ceb19=>this[_0xcae657(0x289)](_0x6a3e98,_0x1bc357,_0x5ad764,_0x2ceb19));});}[_0x351b7e(0x289)](_0x2fc728,_0x31cd95,_0x137074,_0x9d7a1c){const _0x16c528=_0x351b7e;let _0x4746b9=this[_0x16c528(0x240)][_0x16c528(0x1aa)](_0x2fc728);_0x4746b9||(_0x4746b9=new Map(),this[_0x16c528(0x240)][_0x16c528(0xac)](_0x2fc728,_0x4746b9));let _0x405de3=_0x4746b9['get'](_0x137074);_0x405de3||(_0x405de3=new Map(),_0x4746b9[_0x16c528(0xac)](_0x137074,_0x405de3)),!_0x405de3['has'](_0x9d7a1c)&&_0x405de3[_0x16c528(0xac)](_0x9d7a1c,_0x31cd95['on'](_0x137074,_0x9d7a1c));}[_0x351b7e(0x2f3)](_0x300587,_0x2e875e,_0x354cc1){const _0x585749=_0x351b7e;var _0x3ffa54,_0x2cf26e;let _0x2a8403=(_0x3ffa54=this['_chartEventSubscriptions']['get'](_0x300587))==null?void 0x0:_0x3ffa54[_0x585749(0x1aa)](_0x2e875e);_0x2a8403==null||(_0x2cf26e=_0x2a8403['get'](_0x354cc1))==null||_0x2cf26e[_0x585749(0x183)](),_0x2a8403==null||_0x2a8403['delete'](_0x354cc1);}[_0x351b7e(0x9b)](_0xd00970){const _0x2e033d=_0x351b7e;let _0x262e62=this[_0x2e033d(0x240)]['get'](_0xd00970);_0x262e62==null||_0x262e62['forEach'](_0x19408c=>{const _0x1b12bb=_0x2e033d;_0x19408c[_0x1b12bb(0x120)](_0x26355f=>_0x26355f[_0x1b12bb(0x183)]()),_0x19408c[_0x1b12bb(0x3c3)]();}),this[_0x2e033d(0x240)][_0x2e033d(0x437)](_0xd00970);}[_0x351b7e(0x2a7)](_0x55f0d5,_0x434398){const _0xde470c=_0x351b7e;return _0x371a1c(_0x55f0d5,_0x434398,this[_0xde470c(0x1de)]);}['checkChartCanRender'](_0x3e02a4){const _0x30e344=_0x351b7e;return this[_0x30e344(0x471)](_0x3e02a4)==null;}['_getChartRenderSkipReason'](_0x4bd57f){const _0x237af1=_0x351b7e;var _0x584a44;let _0x34b414=this[_0x237af1(0x2f2)][_0x237af1(0xcb)](_0x4bd57f);if(!_0x34b414)return _0x237af1(0x9a);let {subUnitId:_0x289af6}=_0x34b414,_0x4baf5e=(_0x584a44=this[_0x237af1(0x115)][_0x237af1(0x2a3)](_0xe0fba2['UniverInstanceType'][_0x237af1(0x3fd)]))==null?void 0x0:_0x584a44[_0x237af1(0x26c)]();if(!_0x4baf5e)return'missing-active-sheet';if(_0x4baf5e['getSheetId']()!==_0x289af6)return _0x237af1(0x265);}async[_0x351b7e(0x1e5)](_0x2a2c71,_0x136135,_0x4f8b3e,_0x42bb18={}){const _0x390fdc=_0x351b7e;let _0x2ba08c=this['_renderModelManager'][_0x390fdc(0x234)](_0x4a5d1e['EChartRenderEngineName']);if(!_0x2ba08c)return;let _0x517398=this['_lastRenderInputMap'][_0x390fdc(0x1aa)](_0x2a2c71);if(this['_lastRenderInputMap'][_0x390fdc(0xac)](_0x2a2c71,{'config':_0x136135,'style':_0x4f8b3e}),this[_0x390fdc(0x471)](_0x2a2c71))return;let {canAnimate:_0x4e19b3,renderMode:_0xd96022,shouldStartTransientAnimation:_0x22207b,transientAnimationActive:_0x1f7683}=this[_0x390fdc(0x3c1)](_0x2a2c71,_0x517398!=null,_0x42bb18[_0x390fdc(0x3b6)]===!0x0);if(_0xd96022===_0x4a5d1e[_0x390fdc(0x31c)][_0x390fdc(0x41e)])this[_0x390fdc(0x46f)](_0x2a2c71);else{var _0xa467a;this['_chartHostProvider'][_0x390fdc(0x1c6)](_0x2a2c71),((_0xa467a=this[_0x390fdc(0x9d)][_0x390fdc(0x267)])==null?void 0x0:_0xa467a['id'])===_0x2a2c71&&this['_applyActiveChartRuntimeZIndex'](_0x2a2c71);}let _0x3ab934=_0xd96022===_0x4a5d1e['ChartRenderMode'][_0x390fdc(0x41e)]?_0x4a5d1e[_0x390fdc(0x31c)][_0x390fdc(0x41e)]:_0x4a5d1e[_0x390fdc(0x31c)]['Dom'],_0x3ea98a=await this[_0x390fdc(0x1d3)]['ensureHost'](_0x2a2c71,_0x3ab934);if(!_0x3ea98a){_0x22207b&&this[_0x390fdc(0x40a)](_0x2a2c71);return;}this[_0x390fdc(0x1d3)][_0x390fdc(0x3ca)](_0x2a2c71,_0x1f7683?_0x4a5d1e[_0x390fdc(0x2d9)]:null);let _0x5bcefd=this[_0x390fdc(0x385)](_0x2a2c71,_0x3ab934,_0x2ba08c);_0x5bcefd[_0x390fdc(0x276)](_0x3ea98a);try{let _0x21ecb4={'chartId':_0x2a2c71,'config':_0x136135,'style':_0x4f8b3e};_0x4e19b3&&_0x517398&&_0x5bcefd[_0x390fdc(0x35f)]?await _0x5bcefd[_0x390fdc(0x35f)]({'chartId':_0x2a2c71,'config':_0x517398[_0x390fdc(0x262)],'style':_0x517398[_0x390fdc(0x12c)]},_0x21ecb4,{'duration':_0x4a5d1e[_0x390fdc(0x2d9)]}):await _0x5bcefd[_0x390fdc(0x1e5)](_0x21ecb4),await this[_0x390fdc(0xb5)](_0x2a2c71,_0xd96022,_0x5bcefd),_0x4e19b3&&_0x1f7683&&this[_0x390fdc(0x2be)](_0x2a2c71);}catch(_0x194b0c){if(_0x22207b&&this[_0x390fdc(0x40a)](_0x2a2c71),_0xd96022!==_0x4a5d1e[_0x390fdc(0x31c)][_0x390fdc(0x41e)])throw _0x194b0c;}}async[_0x351b7e(0xb5)](_0x4c922f,_0x325dc3,_0x35b94e){const _0x35e144=_0x351b7e;var _0x3e57a1;if(_0x325dc3!==_0x4a5d1e['ChartRenderMode'][_0x35e144(0x2ba)]||((_0x3e57a1=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x3e57a1['id'])!==_0x4c922f)return;let _0x1e3c2c=await this[_0x35e144(0x1d3)][_0x35e144(0x3d2)](_0x4c922f,_0x4a5d1e[_0x35e144(0x31c)]['Image']);if(!_0x1e3c2c)return;let _0x46a500=_0x1e3c2c[_0x35e144(0x246)]();try{let _0x25d6a0=await _0x35b94e[_0x35e144(0x379)]();_0x25d6a0&&_0x1e3c2c['commitSnapshot']({'type':_0x4a5d1e['ChartImageSourceType'][_0x35e144(0x2d2)],'url':_0x25d6a0},_0x46a500)&&_0x1e3c2c['requestPaint']();}catch{}}[_0x351b7e(0x3c1)](_0x4a63fa,_0x428aca,_0x3788d4){const _0x36ccfa=_0x351b7e;let _0x1ee1a7=this[_0x36ccfa(0x1e6)](_0x4a63fa),_0x15d0f9=_0x1ee1a7===_0x4a5d1e[_0x36ccfa(0x31c)][_0x36ccfa(0x2ba)]&&_0x3788d4&&_0x428aca&&this[_0x36ccfa(0x1bc)](_0x4a63fa),_0x3d0dfd=this[_0x36ccfa(0xaf)][_0x36ccfa(0x309)](_0x4a63fa);return{'canAnimate':_0x15d0f9,'renderMode':_0x3d0dfd?_0x4a5d1e['ChartRenderMode'][_0x36ccfa(0x2ba)]:_0x1ee1a7,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x3d0dfd};}[_0x351b7e(0x1bc)](_0x2ffebb){const _0x19554f=_0x351b7e;var _0x2bd950,_0x4183ef,_0x180230,_0x2a0638;if(typeof document>'u'||typeof window>'u'||document[_0x19554f(0x323)]===_0x19554f(0x19c)||(_0x2bd950=(_0x4183ef=window)[_0x19554f(0x2c2)])!=null&&(_0x2bd950=_0x2bd950[_0x19554f(0x406)](_0x4183ef,_0x19554f(0x474)))!=null&&_0x2bd950[_0x19554f(0x449)]||(_0x180230=(_0x2a0638=window)[_0x19554f(0x2c2)])!=null&&(_0x180230=_0x180230[_0x19554f(0x406)](_0x2a0638,_0x19554f(0x1d1)))!=null&&_0x180230[_0x19554f(0x449)])return!0x1;let _0x3f6131=this[_0x19554f(0x1d3)][_0x19554f(0xa1)](_0x2ffebb);return _0x3f6131!=null&&_0x3f6131[_0x19554f(0x2aa)]>0x0&&_0x3f6131[_0x19554f(0x196)]>0x0&&_0x3f6131[_0x19554f(0x19a)]>0x0&&_0x3f6131[_0x19554f(0x2c9)]>0x0&&_0x3f6131[_0x19554f(0x150)]<window[_0x19554f(0x260)]&&_0x3f6131['top']<window[_0x19554f(0x20a)];}[_0x351b7e(0x453)](_0x4a5f20){const _0x4067e3=_0x351b7e;let _0x33c97d=this[_0x4067e3(0xa8)][_0x4067e3(0x1aa)](_0x4a5f20);_0x33c97d&&(clearTimeout(_0x33c97d),this[_0x4067e3(0xa8)][_0x4067e3(0x437)](_0x4a5f20)),this[_0x4067e3(0xaf)][_0x4067e3(0x429)](_0x4a5f20),this[_0x4067e3(0x1d3)][_0x4067e3(0x3ca)](_0x4a5f20,_0x4a5d1e['CHART_DATA_UPDATE_ANIMATION_DURATION']);}[_0x351b7e(0x2be)](_0x3ee847){const _0x3269d1=_0x351b7e;let _0x3b1ef0=this[_0x3269d1(0xa8)][_0x3269d1(0x1aa)](_0x3ee847);_0x3b1ef0&&clearTimeout(_0x3b1ef0);let _0x236dd6=setTimeout(()=>{const _0x353019=_0x3269d1;this[_0x353019(0xa8)][_0x353019(0x437)](_0x3ee847),this[_0x353019(0xaf)][_0x353019(0x437)](_0x3ee847)&&(this[_0x353019(0x1d3)][_0x353019(0x3ca)](_0x3ee847,null),this[_0x353019(0x46f)](_0x3ee847),this[_0x353019(0x1a2)](_0x3ee847));},_0x4a5d1e[_0x3269d1(0x2d9)]);this[_0x3269d1(0xa8)][_0x3269d1(0xac)](_0x3ee847,_0x236dd6);}[_0x351b7e(0x40a)](_0x1bfae8){const _0x16f180=_0x351b7e;let _0x14e863=this[_0x16f180(0xa8)]['get'](_0x1bfae8);_0x14e863&&(clearTimeout(_0x14e863),this[_0x16f180(0xa8)][_0x16f180(0x437)](_0x1bfae8)),this['_dataUpdateAnimationChartIds']['delete'](_0x1bfae8),this['_chartHostProvider']['setDataUpdateAnimation'](_0x1bfae8,null);}async[_0x351b7e(0x1e7)](_0x4d170b,_0xad045e,_0x564114){const _0x2df7dc=_0x351b7e;let _0x3b2ca1=this[_0x2df7dc(0x3ef)][_0x2df7dc(0x328)](_0x4d170b,_0xad045e),_0x5ab6a6=this[_0x2df7dc(0x3ef)]['getDrawingOrder'](_0x4d170b,_0xad045e),_0x446240=Object['values'](_0x3b2ca1??{})[_0x2df7dc(0x286)](_0x1ceab0=>_0x1ceab0['drawingType']===_0xe0fba2[_0x2df7dc(0x371)][_0x2df7dc(0x1af)]&&_0x1ceab0[_0x2df7dc(0x19c)]!==!0x0);await Promise[_0x2df7dc(0x342)](_0x446240[_0x2df7dc(0xfc)](async _0x3e389a=>{const _0x565fce=_0x2df7dc;let _0x4d8499=await this[_0x565fce(0x186)](_0x3e389a,_0x5ab6a6);_0x4d8499&&(_0x564114[_0x565fce(0xd9)](_0x4d8499,_0x120bdc['DRAWING_OBJECT_LAYER_INDEX']),_0x3e389a[_0x565fce(0x3a4)]&&(0x0,_0x3a7d4d['insertGroupObject'])({'drawingId':_0x3e389a[_0x565fce(0x3a4)],'unitId':_0x4d170b,'subUnitId':_0xad045e},_0x4d8499,_0x564114,this['_drawingManagerService']));}));}async[_0x351b7e(0x186)](_0x4df914,_0x39f9fa){const _0x2c478c=_0x351b7e;let _0x193033=this[_0x2c478c(0x9d)][_0x2c478c(0x96)](_0x4df914[_0x2c478c(0xa3)]),_0x4279b9=this[_0x2c478c(0xb6)]['getRenderModel'](_0x4a5d1e[_0x2c478c(0xc0)]),_0x16d83e=_0x4df914[_0x2c478c(0x399)],_0x12aed2=_0x193033==null?void 0x0:_0x193033[_0x2c478c(0x262)];if(!_0x193033||!_0x4279b9||!_0x16d83e||!_0x12aed2||_0x16d83e[_0x2c478c(0x2aa)]==null||_0x16d83e[_0x2c478c(0x196)]==null)return null;let _0x5b1b0a=new _0x34a8a7(_0x4df914[_0x2c478c(0xa3)],{'width':_0x16d83e[_0x2c478c(0x2aa)],'height':_0x16d83e['height']}),_0x1dc255=_0x4279b9[_0x2c478c(0xbc)](_0x4a5d1e[_0x2c478c(0x31c)][_0x2c478c(0x41e)],this[_0x2c478c(0x176)]());_0x1dc255[_0x2c478c(0x276)](_0x5b1b0a);let _0xdab1d4;try{await _0x1dc255[_0x2c478c(0x1e5)]({'chartId':_0x4df914[_0x2c478c(0xa3)],'config':_0x12aed2,'style':this[_0x2c478c(0x2a7)](_0x193033,this[_0x2c478c(0xf8)][_0x2c478c(0xd7)]())});}catch(_0x19797d){console[_0x2c478c(0x1b9)](_0x2c478c(0x3f8),_0x19797d);}finally{_0xdab1d4=_0x5b1b0a['takeSnapshot'](),_0x1dc255[_0x2c478c(0x183)](),_0x5b1b0a['dispose']();}let _0x49e55e=this[_0x2c478c(0x1b2)][_0x2c478c(0x1eb)]({'unitId':_0x4df914[_0x2c478c(0x12d)],'subUnitId':_0x4df914[_0x2c478c(0x2b0)],'chartId':_0x4df914[_0x2c478c(0xa3)]}),_0x198360=_0xdab1d4??_0x49e55e;if(!_0x198360)return null;let _0x586549=_0x39f9fa['indexOf'](_0x4df914[_0x2c478c(0xa3)]);return new _0x582d7a((0x0,_0x3543bc[_0x2c478c(0x469)])(_0x4df914),{..._0x16d83e,..._0x102b65[_0x2c478c(0x45e)],..._0x4da893(_0x5b1b0a[_0x2c478c(0x12c)]),'visible':!0x0,'zIndex':_0x586549===-0x1?Math[_0x2c478c(0xdb)](_0x39f9fa['length']-0x1,0x0):_0x586549},()=>_0x198360,void 0x0,_0xdab1d4?()=>_0x20324d(_0xdab1d4):void 0x0);}['_getOrCreateChartRenderInstance'](_0x171d0b,_0xd83db5,_0x400be2){const _0x2ce32d=_0x351b7e;let _0x2a8413=this[_0x2ce32d(0x3ab)]['get'](_0x171d0b);if((_0x2a8413==null?void 0x0:_0x2a8413['mode'])===_0xd83db5)return _0x2a8413;_0x2a8413&&(this['_disposeChartEventSubscriptions'](_0x171d0b),_0x2a8413[_0x2ce32d(0x183)](),this[_0x2ce32d(0x3ab)]['delete'](_0x171d0b));let _0x189ab0=_0x400be2[_0x2ce32d(0xbc)](_0xd83db5,this[_0x2ce32d(0x176)]());return this[_0x2ce32d(0x3ab)][_0x2ce32d(0xac)](_0x171d0b,_0x189ab0),_0x189ab0[_0x2ce32d(0x22f)](this[_0x2ce32d(0x263)][_0x2ce32d(0x1aa)](_0x171d0b)===!0x0),this[_0x2ce32d(0x3dc)](_0x171d0b,_0x189ab0),_0x189ab0;}['_createChartRenderInstanceContext'](){const _0x43e9a7=_0x351b7e;return{'resolveHostStyle':({style:_0x1cf53d})=>(0x0,_0x4a5d1e[_0x43e9a7(0x333)])({'style':_0x1cf53d,'getRenderColor':_0x24a07a=>this[_0x43e9a7(0x156)][_0x43e9a7(0x315)](_0x24a07a)}),'resolveRenderBackgroundColor':({style:_0x18eb65})=>this['_chartThemeService'][_0x43e9a7(0x315)]((0x0,_0x4a5d1e[_0x43e9a7(0xae)])(_0x18eb65))};}[_0x351b7e(0x105)](_0x45c9f6){const _0x422bf4=_0x351b7e;var _0x5de00e,_0x12edf9,_0x46bfc8;(_0x5de00e=this['_chartChangeSubscriptions'][_0x422bf4(0x1aa)](_0x45c9f6))==null||_0x5de00e[_0x422bf4(0x183)](),this[_0x422bf4(0x1d4)][_0x422bf4(0x437)](_0x45c9f6),(_0x12edf9=this[_0x422bf4(0x460)]['get'](_0x45c9f6))==null||_0x12edf9[_0x422bf4(0x321)](),this[_0x422bf4(0x460)][_0x422bf4(0x437)](_0x45c9f6),(_0x46bfc8=this[_0x422bf4(0x145)][_0x422bf4(0x1aa)](_0x45c9f6))==null||_0x46bfc8[_0x422bf4(0x321)](),this[_0x422bf4(0x145)][_0x422bf4(0x437)](_0x45c9f6);}['_cancelDebouncedCallbacks'](){const _0x5a6890=_0x351b7e;this[_0x5a6890(0x460)][_0x5a6890(0x120)](_0xc1563d=>_0xc1563d[_0x5a6890(0x321)]()),this[_0x5a6890(0x460)]['clear'](),this[_0x5a6890(0x145)][_0x5a6890(0x120)](_0x157701=>_0x157701[_0x5a6890(0x321)]()),this[_0x5a6890(0x145)][_0x5a6890(0x3c3)]();}[_0x351b7e(0x183)](){const _0x1ef51a=_0x351b7e;this['_chartChangeSubscriptions'][_0x1ef51a(0x120)](_0x33291f=>_0x33291f[_0x1ef51a(0x183)]()),this[_0x1ef51a(0x1d4)][_0x1ef51a(0x3c3)](),this[_0x1ef51a(0xa8)][_0x1ef51a(0x120)](_0x5f4262=>clearTimeout(_0x5f4262)),this['_dataUpdateAnimationTimers'][_0x1ef51a(0x3c3)](),this[_0x1ef51a(0xaf)][_0x1ef51a(0x3c3)](),Array['from'](this[_0x1ef51a(0x3ab)][_0x1ef51a(0xc8)]())[_0x1ef51a(0x120)](_0x4cfe61=>this['_disposeChartRenderInstance'](_0x4cfe61)),this['_chartEventHandlers'][_0x1ef51a(0x3c3)](),this[_0x1ef51a(0x263)]['clear'](),this[_0x1ef51a(0x375)](),this[_0x1ef51a(0x271)][_0x1ef51a(0x3c3)](),this[_0x1ef51a(0x1d8)]=null,this[_0x1ef51a(0x430)]=null,super[_0x1ef51a(0x183)]();}};_0x591b5a=_0x5a0cd2([_0x40aea1(0x0,_0x57a861),_0x40aea1(0x1,(0x0,_0xe0fba2['Inject'])(_0x102b65[_0x351b7e(0x30d)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x3,_0x3543bc[_0x351b7e(0x101)]),_0x40aea1(0x4,_0xe0fba2[_0x351b7e(0x238)]),_0x40aea1(0x5,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x120bdc[_0x351b7e(0x1d7)])),_0x40aea1(0x6,(0x0,_0xe0fba2['Inject'])(_0xe0fba2[_0x351b7e(0x3f9)])),_0x40aea1(0x7,(0x0,_0xe0fba2['Inject'])(_0xe0fba2[_0x351b7e(0x44b)])),_0x40aea1(0x8,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4a5d1e[_0x351b7e(0x3d0)])),_0x40aea1(0x9,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x3bc)])),_0x40aea1(0xa,_0xe0fba2[_0x351b7e(0x42c)]),_0x40aea1(0xb,(0x0,_0xe0fba2['Inject'])(_0x5736e0)),_0x40aea1(0xc,_0x4a5d1e['IChartRenderModelManagerService'])],_0x591b5a);let _0x5d8988=(0x0,_0xe0fba2['createIdentifier'])(_0x351b7e(0x3f0)),_0x434bb3=class extends _0x1e42e6[_0x351b7e(0x435)]{constructor(_0x845f51,_0x2caf87,_0xfb7600,_0x3ea9d2,_0x575c4e){const _0x14c859=_0x351b7e;super(_0x575c4e),this['_chartModelService']=_0x845f51,this['_sheetsChartService']=_0x2caf87,this[_0x14c859(0x2d4)]=_0xfb7600,this[_0x14c859(0x115)]=_0x3ea9d2,_0x2d50c7(this,_0x14c859(0x3ff),!0x1),_0x2d50c7(this,_0x14c859(0x426),new _0x1a141d['BehaviorSubject'](!0x1)),_0x2d50c7(this,_0x14c859(0x41f),new _0x1a141d[(_0x14c859(0x197))](null)),_0x2d50c7(this,_0x14c859(0x32b),this[_0x14c859(0x426)][_0x14c859(0x3fb)]()),_0x2d50c7(this,_0x14c859(0x424),this['_panelRoute$'][_0x14c859(0x3fb)]());}get[_0x351b7e(0x369)](){const _0x764ab2=_0x351b7e;return this[_0x764ab2(0x9d)]['activeChartModel']??null;}get[_0x351b7e(0x215)](){const _0x3e261d=_0x351b7e;return this['_chartEditorOpen$'][_0x3e261d(0x3ec)]();}get['rangeSelectMode'](){return this['_rangeSelectMode'];}[_0x351b7e(0x35a)](_0x432c06){const _0x1ad0b4=_0x351b7e;this[_0x1ad0b4(0x3ff)]=_0x432c06;}[_0x351b7e(0x284)](_0xff8c52){const _0x24c1dd=_0x351b7e;this[_0x24c1dd(0x426)][_0x24c1dd(0x3ec)]()!==_0xff8c52&&this['_chartEditorOpen$'][_0x24c1dd(0xf2)](_0xff8c52);}[_0x351b7e(0xbd)](_0x12a64b){const _0x23059f=_0x351b7e;var _0xf18d4b;return this[_0x23059f(0x215)]&&((_0xf18d4b=this[_0x23059f(0x9d)][_0x23059f(0x267)])==null?void 0x0:_0xf18d4b['id'])===_0x12a64b;}[_0x351b7e(0x217)](_0x25e29f,_0x78b35f){const _0x47317d=_0x351b7e;this[_0x47317d(0x41f)]['next']({'chartId':_0x25e29f,'route':_0x78b35f});}[_0x351b7e(0x2fb)](){const _0x37cfa6=_0x351b7e;this[_0x37cfa6(0x41f)][_0x37cfa6(0xf2)](null);}[_0x351b7e(0x106)](_0x4d7657){const _0x23c3f1=_0x351b7e;let _0x2d7eca=this['_chartModelService'][_0x23c3f1(0x267)];_0x2d7eca&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x2d7eca['id'],'range':_0x4d7657});}[_0x351b7e(0xeb)](_0x479931){const _0x25c19b=_0x351b7e;let _0x5621b6=this[_0x25c19b(0x9d)][_0x25c19b(0x267)];if(!_0x5621b6)return;let _0x3644c1=this[_0x25c19b(0x3b1)][_0x25c19b(0x29a)](_0x5621b6['id']);if(!_0x3644c1||Array[_0x25c19b(0xde)](_0x3644c1))return;let _0x361265={..._0x3644c1,'isRowDirection':_0x479931===_0x4a5d1e[_0x25c19b(0x38a)]['Row']};this[_0x25c19b(0x1c1)]({'chartModelId':_0x5621b6['id'],'range':_0x361265});}[_0x351b7e(0x27f)](_0x1600a7){const _0x1c7449=_0x351b7e;var _0xfaf54d;this['_commandService'][_0x1c7449(0x463)](_0x201ec2[_0x1c7449(0x398)]['id'],{..._0x1600a7,'unitId':((_0xfaf54d=this[_0x1c7449(0x115)]['getFocusedUnit']())==null?void 0x0:_0xfaf54d[_0x1c7449(0x367)]())??''});}['_executeChartUpdateSourceConfig'](_0x53ab3d){const _0x52e9dc=_0x351b7e;var _0x21bc78;this[_0x52e9dc(0x2d4)]['executeCommand'](_0x201ec2['ChartUpdateSourceCommand']['id'],{..._0x53ab3d,'unitId':((_0x21bc78=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x21bc78[_0x52e9dc(0x367)]())??''});}[_0x351b7e(0x183)](){const _0x5deab8=_0x351b7e;this[_0x5deab8(0x426)]['complete'](),this[_0x5deab8(0x41f)][_0x5deab8(0x1f7)](),super[_0x5deab8(0x183)]();}};_0x434bb3=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2['ChartModelService'])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x36a)])),_0x40aea1(0x2,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0x3,_0xe0fba2[_0x351b7e(0x238)]),_0x40aea1(0x4,(0x0,_0xe0fba2['Inject'])(_0x1e42e6[_0x351b7e(0x124)]))],_0x434bb3);var _0x5d7bff;let _0x54e319={'axis':{..._0x1e42e6[_0x351b7e(0xa2)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x1e42e6[_0x351b7e(0x1c5)],'heatmap':_0x1e42e6['DEFAULT_CHART_HEATMAP_VALUES'],'indicatorLine':_0x1e42e6[_0x351b7e(0x3e3)],'legend':_0x1e42e6[_0x351b7e(0x133)],'lineAndArea':_0x1e42e6[_0x351b7e(0x1f6)],'pareto':_0x1e42e6[_0x351b7e(0x395)],'pie':_0x1e42e6[_0x351b7e(0x1e8)],'relation':{..._0x1e42e6[_0x351b7e(0x3be)],'useValueAsSymbolSize':!0x0},'radar':_0x1e42e6['DEFAULT_CHART_RADAR_VALUES'],'series':{..._0x1e42e6[_0x351b7e(0x3da)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x5d7bff=_0x4a5d1e['RTLChartStyle'][_0x351b7e(0xff)])==null?void 0x0:_0x5d7bff['rightYAxis'])??!0x1}},'style':_0x1e42e6['DEFAULT_CHART_STYLE_VALUES'],'titles':_0x1e42e6['DEFAULT_CHART_TITLE_VALUES'],'trendline':_0x1e42e6[_0x351b7e(0x341)],'waterfallStyle':_0x1e42e6['DEFAULT_CHART_WATERFALL_STYLE_VALUES'],'wordCloud':_0x1e42e6[_0x351b7e(0x3e7)]},_0x1f6281=_0x20e9a9=>_0x20e9a9[_0x351b7e(0x2a3)](_0xe0fba2[_0x351b7e(0x282)][_0x351b7e(0x3fd)])['getUnitId'](),_0x1d8c70=_0x575719=>{const _0x1f9ae7=_0x351b7e;var _0x4c92d4;return(_0x4c92d4=_0x575719[_0x1f9ae7(0x2a3)](_0xe0fba2[_0x1f9ae7(0x282)]['UNIVER_SHEET'])[_0x1f9ae7(0x26c)]())==null?void 0x0:_0x4c92d4['getSheetId']();},_0xa29d2c=()=>{const _0x46aa32=_0x351b7e;var _0x4413f5;let _0x1d0545=(0x0,_0x4fef69['useDependency'])(_0x5d8988),_0x152d93=(0x0,_0x4fef69[_0x46aa32(0x2dc)])(_0x201ec2[_0x46aa32(0x3bd)]),_0x31ffb2=(0x0,_0x4fef69[_0x46aa32(0x2dc)])(_0xe0fba2[_0x46aa32(0x3f9)]),_0x2713b3=(0x0,_0x4fef69['useDependency'])(_0xe0fba2[_0x46aa32(0x44b)]),_0x1696c1=(0x0,_0x201ec2[_0x46aa32(0x155)])(_0x2713b3),_0x4eef32=(0x0,_0xd79b15['useMemo'])(()=>{const _0x5ad92f=_0x46aa32;let _0xcd83a1=_0x446ceb(_0x32093c[_0x5ad92f(0x10d)](),_0x1696c1);return(0x0,_0x1e42e6[_0x5ad92f(0x272)])(_0xcd83a1[_0x5ad92f(0xfc)](_0xf01f88=>({'id':_0xf01f88['id'],'label':_0x31ffb2['t'](_0x5ad92f(0x144)+_0xf01f88[_0x5ad92f(0x1ed)]),'pieSecondaryPlotType':_0xf01f88[_0x5ad92f(0x159)],'value':_0xf01f88['value']})));},[_0x1696c1,_0x31ffb2]),_0x2acbce=(0x0,_0x4fef69[_0x46aa32(0x1e3)])(_0x152d93[_0x46aa32(0x1a8)],_0x152d93[_0x46aa32(0x267)]),_0x34de58=(0x0,_0x4fef69['useObservable'])(_0x2acbce==null?void 0x0:_0x2acbce[_0x46aa32(0x357)],_0x2acbce==null?void 0x0:_0x2acbce[_0x46aa32(0x1be)]),_0x31b1d2=(0x0,_0x4fef69[_0x46aa32(0x1e3)])(_0x2acbce==null?void 0x0:_0x2acbce['dataSource$'],_0x2acbce==null?void 0x0:_0x2acbce[_0x46aa32(0x349)]),_0x5298cf=(0x0,_0x4fef69[_0x46aa32(0x1e3)])(_0x31b1d2==null?void 0x0:_0x31b1d2[_0x46aa32(0x1d9)],_0x31b1d2==null?void 0x0:_0x31b1d2[_0x46aa32(0x283)]()),_0x15d06c=Array[_0x46aa32(0xde)](_0x5298cf),_0x33be7a=_0x5298cf&&!_0x15d06c&&_0x5298cf[_0x46aa32(0x14a)]?_0x4a5d1e['DataOrientation'][_0x46aa32(0x21f)]:_0x4a5d1e[_0x46aa32(0x38a)][_0x46aa32(0x201)],_0x10e1e5=_0x15d06c?(_0x4413f5=_0x5298cf[0x0])==null?void 0x0:_0x4413f5[_0x46aa32(0x2e1)]:_0x5298cf==null?void 0x0:_0x5298cf[_0x46aa32(0x255)];return(0x0,_0xc43640[_0x46aa32(0x1ea)])(_0x46aa32(0x264),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':[(0x0,_0xc43640[_0x46aa32(0x3aa)])(_0x1e42e6[_0x46aa32(0x29e)],{'chartTypeOptions':_0x4eef32,'dataSourceControl':(0x0,_0xc43640[_0x46aa32(0x3aa)])(_0x52fec3,{'dataRange':_0x5298cf,'primaryRange':_0x10e1e5}),'categoryToggleLabel':_0x31ffb2['t'](_0x46aa32(0x170),_0x33be7a===_0x4a5d1e['DataOrientation'][_0x46aa32(0x21f)]?_0x33be7a+'\x20'+(((_0x10e1e5==null?void 0x0:_0x10e1e5['range'][_0x46aa32(0x171)])??0x0)+0x1):_0x33be7a+'\x20'+(0x0,_0xe0fba2[_0x46aa32(0x140)])((_0x10e1e5==null?void 0x0:_0x10e1e5[_0x46aa32(0x2e1)][_0x46aa32(0x1da)])??0x0)),'orientationControl':_0x15d06c?void 0x0:(0x0,_0xc43640[_0x46aa32(0x3aa)])(_0x5c25d9[_0x46aa32(0x1dd)],{'size':_0x46aa32(0x364),'onClick':()=>_0x1d0545['setOrientation'](_0x33be7a===_0x4a5d1e[_0x46aa32(0x38a)][_0x46aa32(0x21f)]?_0x4a5d1e['DataOrientation']['Column']:_0x4a5d1e[_0x46aa32(0x38a)][_0x46aa32(0x21f)]),'children':_0x31ffb2['t'](_0x46aa32(0x279))})}),(0x0,_0xc43640[_0x46aa32(0x3aa)])(_0x5c25d9[_0x46aa32(0x466)],{'checked':(_0x34de58==null?void 0x0:_0x34de58[_0x46aa32(0x107)])===!0x1,'disabled':!_0x2acbce,'onChange':_0x345c8e=>{const _0x1d1b47=_0x46aa32;_0x2acbce&&_0x1d0545[_0x1d1b47(0x27f)]({'chartModelId':_0x2acbce['id'],'context':{'plotVisibleOnly':!_0x345c8e}});},'children':_0x31ffb2['t']('sheets-chart-ui.common.showHiddenData')})]});};function _0x52fec3(_0x10e3c1){const _0x29a219=_0x351b7e;let {dataRange:_0x2e3fc9,primaryRange:_0x35756a}=_0x10e3c1,_0x3bd853=(0x0,_0x4fef69['useDependency'])(_0x5d8988),_0x2357ca=(0x0,_0x4fef69[_0x29a219(0x2dc)])(_0xe0fba2[_0x29a219(0x3f9)]),_0x35abed=(0x0,_0x4fef69[_0x29a219(0x2dc)])(_0xe0fba2[_0x29a219(0x238)]),_0x43269f=(0x0,_0x4fef69['useDependency'])(_0xe0fba2[_0x29a219(0x19d)]),[_0x7710dd,_0x378a63]=(0x0,_0xd79b15[_0x29a219(0x14d)])(!0x1),[_0x46dc06,_0x394cd7]=(0x0,_0xd79b15[_0x29a219(0x14d)])(!0x1),[_0x1d75cb,_0x23f1e3]=(0x0,_0xd79b15[_0x29a219(0x14d)])(),_0x20f6ae=_0x1f6281(_0x35abed),_0x121a52=_0x1d8c70(_0x35abed),_0x410f09=_0x2e3fc9?_0x32dc36(_0x2e3fc9,_0x35abed):'',_0x47cf36=(0x0,_0xd79b15[_0x29a219(0xe1)])(_0x410f09),_0x4e7efa=(0x0,_0xd79b15[_0x29a219(0xe1)])(void 0x0),_0x84e032=(0x0,_0xd79b15[_0x29a219(0xe1)])(null);(0x0,_0xd79b15[_0x29a219(0xf4)])(()=>{const _0x7b6736=_0x29a219;_0x3bd853['setRangeSelectMode'](_0x7710dd),_0x43269f[_0x7b6736(0x103)](_0xe0fba2[_0x7b6736(0x14f)],_0x7710dd);},[_0x43269f,_0x7710dd,_0x3bd853]),(0x0,_0xd79b15[_0x29a219(0xf4)])(()=>()=>{const _0x3d1d82=_0x29a219;_0x3bd853[_0x3d1d82(0x35a)](!0x1),_0x43269f[_0x3d1d82(0x103)](_0xe0fba2[_0x3d1d82(0x14f)],!0x1);},[_0x43269f,_0x3bd853]);let _0x18ba2e=(0x0,_0xd79b15[_0x29a219(0x15f)])(_0x379e50=>{const _0x1be886=_0x29a219;var _0x339dd6;if(_0x32dc36(_0x2e3fc9,_0x35abed)===_0x379e50)return _0x23f1e3(void 0x0),!0x0;let _0x1d38f3=_0x379e50[_0x1be886(0x22e)](_0x488a9e[_0x1be886(0x10c)][_0x1be886(0x3a1)]);if(!_0x379e50[_0x1be886(0x391)]()||_0x1d38f3[_0x1be886(0x1fd)]!==0x1||!((_0x339dd6=_0x84e032[_0x1be886(0x12e)])!=null&&_0x339dd6['verify']()))return _0x23f1e3(_0x2357ca['t'](_0x1be886(0x18d))),!0x1;let {unitId:_0x2a8617,sheetName:_0xfd2975,range:_0xd955f0}=(0x0,_0x488a9e[_0x1be886(0x269)])(_0x1d38f3[0x0]),_0xa37b1d=_0x2a8617||_0x20f6ae,_0x5156b9=_0x35abed[_0x1be886(0x3d5)](_0xa37b1d),_0x233577=(_0x35756a==null?void 0x0:_0x35756a[_0x1be886(0x12d)])===_0xa37b1d?_0x35756a[_0x1be886(0x2b0)]:_0x121a52,_0x50c7f4=_0xfd2975?_0x5156b9==null?void 0x0:_0x5156b9[_0x1be886(0x23e)](_0xfd2975):_0x5156b9==null?void 0x0:_0x5156b9[_0x1be886(0x45f)](_0x233577??'');return!_0x5156b9||!_0x50c7f4||!(0x0,_0xe0fba2[_0x1be886(0x268)])(_0xd955f0,_0x50c7f4)?(_0x23f1e3(_0x2357ca['t'](_0x1be886(0x18d))),!0x1):(_0x23f1e3(void 0x0),_0x3bd853['setDataRange']({'rangeInfo':{'range':_0xd955f0,'unitId':_0xa37b1d,'subUnitId':_0x50c7f4[_0x1be886(0x1a0)]()}}),!0x0);},[_0x2e3fc9,_0x2357ca,_0x35756a,_0x3bd853,_0x121a52,_0x20f6ae,_0x35abed]),_0x144836=(0x0,_0xd79b15[_0x29a219(0x2ce)])(()=>({'keyCodes':[{'keyCode':_0x4fef69['KeyCode']['ENTER'],'nativeTextEditorBehavior':_0x4fef69['NativeTextEditorShortcutBehavior']['OVERRIDE_NATIVE']}],'handler':_0x33f62d=>{const _0x1f6bd1=_0x29a219;_0x33f62d===_0x4fef69[_0x1f6bd1(0x354)][_0x1f6bd1(0x2bf)]&&_0x18ba2e(_0x47cf36['current'])&&(_0x4e7efa[_0x1f6bd1(0x12e)]=_0x47cf36[_0x1f6bd1(0x12e)]);}}),[_0x18ba2e]);return(0x0,_0xc43640['jsx'])(_0x29a219(0x264),{'className':_0x29a219(0x242),'children':(0x0,_0xc43640[_0x29a219(0x1ea)])(_0x29a219(0x264),{'children':[(0x0,_0xc43640[_0x29a219(0x3aa)])(_0x1e42e6['ChartEditBlockTitle'],{'title':_0x2357ca['t'](_0x29a219(0x1e9))}),(0x0,_0xc43640[_0x29a219(0x3aa)])(_0x1dbfa7[_0x29a219(0x46d)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x20f6ae,'subUnitId':_0x121a52,'initialValue':_0x410f09,'keyboardEventConfig':_0x144836,'selectorRef':_0x84e032,'onChange':(_0x31160a,_0x1abb44)=>{const _0x328a0b=_0x29a219;_0x47cf36[_0x328a0b(0x12e)]=_0x1abb44,_0x46dc06&&_0x4e7efa[_0x328a0b(0x12e)]!==_0x1abb44&&_0x18ba2e(_0x1abb44)&&(_0x4e7efa[_0x328a0b(0x12e)]=_0x1abb44);},'onFocusChange':(_0x187b1f,_0x1ea951)=>{const _0x1a0c8e=_0x29a219;if(_0x1ea951!==void 0x0&&(_0x47cf36[_0x1a0c8e(0x12e)]=_0x1ea951),_0x46dc06||_0x378a63(_0x187b1f),_0x187b1f)_0x4e7efa[_0x1a0c8e(0x12e)]=_0x47cf36[_0x1a0c8e(0x12e)];else{let _0x3f2eef=_0x4e7efa[_0x1a0c8e(0x12e)];_0x4e7efa['current']=void 0x0,_0x3f2eef!==void 0x0&&_0x47cf36[_0x1a0c8e(0x12e)]!==_0x3f2eef&&_0x18ba2e(_0x47cf36['current']);}},'onRangeSelectorDialogVisibleChange':_0x319731=>{_0x394cd7(_0x319731),_0x378a63(_0x319731);}}),_0x1d75cb?(0x0,_0xc43640['jsx'])('div',{'className':_0x29a219(0x433),'children':_0x1d75cb}):null]})});}function _0xdc7540(_0x3f836b){const _0x58cfcc=_0x351b7e;return(0x0,_0xc43640[_0x58cfcc(0x1ea)])(_0x1e42e6['ChartSectionAccordionItem'],{'id':_0x3f836b['id'],'children':[(0x0,_0xc43640['jsx'])(_0x1e42e6['ChartSectionAccordionTrigger'],{'children':_0x3f836b[_0x58cfcc(0x138)]}),(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x58cfcc(0x25c)],{'children':_0x3f836b[_0x58cfcc(0x166)]})]});}let _0x3e5160=_0x359779=>{const _0x1a2046=_0x351b7e;let _0x4c1a71=(0x0,_0x4fef69[_0x1a2046(0x2dc)])(_0xe0fba2['LocaleService']),_0x3284e6=(0x0,_0x4fef69['useDependency'])(_0x5d8988),_0xd285f0=(0x0,_0x4fef69[_0x1a2046(0x2dc)])(_0x201ec2[_0x1a2046(0x3bd)]),_0x58345e=(0x0,_0x4fef69['useObservable'])(_0xd285f0[_0x1a2046(0x1a8)],_0xd285f0[_0x1a2046(0x267)]),_0x335a66=(0x0,_0x4fef69[_0x1a2046(0x1e3)])(_0x3284e6[_0x1a2046(0x424)],null),_0x3e64db=_0x335a66&&_0x335a66['chartId']===(_0x58345e==null?void 0x0:_0x58345e['id'])?_0x335a66[_0x1a2046(0x1df)]:null,_0x4315f7=(0x0,_0x1e42e6[_0x1a2046(0x327)])(),_0x2fc498=(0x0,_0x1e42e6[_0x1a2046(0x15e)])(),[_0x26eef4,_0x12f5ad]=(0x0,_0xd79b15[_0x1a2046(0x14d)])(null);(0x0,_0xd79b15['useEffect'])(()=>{const _0x37de89=_0x1a2046;_0x3e64db!=null&&_0x3e64db[_0x37de89(0x26d)]&&_0x12f5ad(_0x3e64db[_0x37de89(0x26d)]);},[_0x3e64db]);let _0x575a8a=_0x4a5d1e['chartBitsUtils'][_0x1a2046(0x26a)](_0x4315f7,_0x4a5d1e['ChartTypeBits'][_0x1a2046(0x228)]),_0x3d2aeb=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x359)],_0x13ae9b=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x415)],_0x4fc9d9=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x232)],_0x49221a=_0x4a5d1e['chartBitsUtils'][_0x1a2046(0x26a)](_0x4315f7,_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x175)]),_0x36dd8e=_0x4315f7===_0x4a5d1e['ChartTypeBits']['Relation'],_0xe5a6ba=_0x4315f7===_0x4a5d1e['ChartTypeBits'][_0x1a2046(0x1ac)],_0x5ac85b=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x46b)],_0x5e79f2=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)]['Heatmap'],_0x586580,_0x127b8c;switch(_0x4315f7){case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x18c)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x18c)],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0x1e4));break;case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0xb2)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0xb2)],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0x250));break;case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x308)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x308)],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0xfb));break;case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x177)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x177)],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0x13b));break;case _0x4a5d1e[_0x1a2046(0x43f)]['Gauge']:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0xca)],_0x127b8c=_0x4c1a71['t']('sheets-chart-ui.section.gauge');break;case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x104)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)]['Chord'],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0x41d));}let _0x5a7b7b=(0x0,_0x1e42e6[_0x1a2046(0x14b)])(_0x4315f7,_0x1e42e6['ChartEditorCapability'][_0x1a2046(0x34f)])&&!_0x49221a&&!_0x5ac85b;return(0x0,_0xc43640[_0x1a2046(0x1ea)])(_0x1e42e6[_0x1a2046(0x222)],{'value':_0x26eef4,'onChange':_0x12f5ad,'children':[(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0xc4)],'label':_0x4c1a71['t'](_0x1a2046(0x1b0)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x3a8)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x12c)]})}),(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0xc2)],'label':_0x4c1a71['t'](_0x1a2046(0x302)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x335)],{'commitMode':_0x1a2046(0x151),'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x41c)],'selectedTitleKey':_0x3e64db==null?void 0x0:_0x3e64db[_0x1a2046(0x33a)]})}),_0x5a7b7b&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['Series'],'label':_0x4c1a71['t']('sheets-chart-ui.common.series'),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x343)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x139)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)],'selectedSeriesId':_0x3e64db==null?void 0x0:_0x3e64db['seriesId']})}),_0xe5a6ba&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['WaterfallSeries'],'label':_0x4c1a71['t'](_0x1a2046(0x29c)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x1fc)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x1a7)],'getDefaultBucketName':({seriesName:_0x3d8480,target:_0x1db22d})=>_0x1db22d===_0x4a5d1e[_0x1a2046(0x1bf)][_0x1a2046(0x157)]?_0x4c1a71['t'](_0x1a2046(0x11d)):_0x3d8480?_0x3d8480+'-('+_0x4c1a71['t'](_0x1db22d===_0x4a5d1e[_0x1a2046(0x1bf)][_0x1a2046(0xd5)]?_0x1a2046(0x163):_0x1a2046(0x12b))+')':'','NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)],'selectedSeriesId':_0x3e64db==null?void 0x0:_0x3e64db[_0x1a2046(0x118)]})}),_0x5ac85b&&(0x0,_0xc43640[_0x1a2046(0x1ea)])(_0xc43640[_0x1a2046(0x464)],{'children':[(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['ParetoBarSeries'],'label':_0x4c1a71['t'](_0x1a2046(0x15d)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x3cb)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x378)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)],'showDataPointEditor':!0x0,'target':'barStyle'})}),(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x356)],'label':_0x4c1a71['t'](_0x1a2046(0x18b)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6['ChartParetoSeriesSection'],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x378)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)],'showDataPointEditor':!0x1,'target':_0x1a2046(0x347)})})]}),_0x575a8a&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x1a9)],'label':_0x4c1a71['t'](_0x1a2046(0x35c)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x2c7)],{'defaultValues':_0x359779[_0x1a2046(0x362)]['pie'],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)]})}),_0x13ae9b&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x415)],'label':_0x4c1a71['t'](_0x1a2046(0x467)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x319)],{'defaultValues':_0x359779['defaultValues'][_0x1a2046(0x439)]})}),_0x3d2aeb&&(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x359)],'label':_0x4c1a71['t'](_0x1a2046(0x44a)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x419)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0xa4)]})}),_0x4fc9d9&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6['ChartEditPanelSection']['Funnel'],'label':_0x4c1a71['t'](_0x1a2046(0x2b7)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0xf6)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x11c)],'gapControl':'select'})}),_0x5e79f2&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x1c3)],'label':_0x4c1a71['t'](_0x1a2046(0xec)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6['ChartHeatmapStyleSection'],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x3f6)]})}),_0x36dd8e&&(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x2e9)],'label':_0x4c1a71['t'](_0x1a2046(0xc7)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x19e)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x31b)]})}),(0x0,_0x1e42e6[_0x1a2046(0x143)])(_0x4315f7)&&(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['LineAndArea'],'label':_0x4c1a71['t'](_0x1a2046(0x1a1)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x16e)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x393)],'lineStyleControl':'segmented'})}),(0x0,_0x1e42e6[_0x1a2046(0x14b)])(_0x4315f7,_0x1e42e6[_0x1a2046(0x202)][_0x1a2046(0x1cc)])&&(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x1cc)],'label':_0x4c1a71['t']('sheets-chart-ui.common.legend'),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x273)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x3d3)]})}),(0x0,_0x1e42e6[_0x1a2046(0x14b)])(_0x4315f7,_0x1e42e6[_0x1a2046(0x202)][_0x1a2046(0x352)])&&(0x0,_0xc43640['jsxs'])(_0xc43640[_0x1a2046(0x464)],{'children':[(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6['ChartEditPanelSection'][_0x1a2046(0x45d)],'label':_0x4c1a71['t'](_0x1a2046(0x24e)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x440)],{'axis':'x','defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x39a)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)]})}),(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x256)],'label':_0x4c1a71['t'](_0x1a2046(0x154)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6['ChartAxisSection'],{'axis':'y','defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x39a)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)]})}),_0x2fc498&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6['ChartEditPanelSection'][_0x1a2046(0x42b)],'label':_0x4c1a71['t'](_0x1a2046(0x239)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x440)],{'axis':_0x1a2046(0x25b),'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x39a)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)]})}),(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x30b)],'label':_0x4c1a71['t'](_0x1a2046(0x411)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x345)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x39a)]})})]}),(0x0,_0x1e42e6[_0x1a2046(0x14b)])(_0x4315f7,_0x1e42e6[_0x1a2046(0x202)][_0x1a2046(0x295)])&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x295)],'label':_0x4c1a71['t'](_0x1a2046(0x187)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x173)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x2f5)]})}),(0x0,_0x4a5d1e[_0x1a2046(0x425)])(_0x4315f7)&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['Trendline'],'label':_0x4c1a71['t'](_0x1a2046(0x28a)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0xc9)],{'defaultValues':_0x359779['defaultValues'][_0x1a2046(0x3e2)]})}),_0x586580&&_0x127b8c&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x586580,'label':_0x127b8c,'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x3fa)],{})})]});};function _0x3889b5(_0x3a47ad){const _0x251acb=_0x351b7e;let {className:_0x54fbe6}=_0x3a47ad,[_0x5de59c,_0x3b40f1]=(0x0,_0xd79b15[_0x251acb(0x14d)])(_0x1e42e6[_0x251acb(0x428)][_0x251acb(0x2c4)]),_0x269e60=(0x0,_0x4fef69[_0x251acb(0x2dc)])(_0xe0fba2[_0x251acb(0x44b)]),_0x2a1301=(0x0,_0x4fef69[_0x251acb(0x2dc)])(_0xe0fba2[_0x251acb(0x3f9)]),_0x5843a4=(0x0,_0x4fef69[_0x251acb(0x2dc)])(_0x5d8988),_0x474eda=(0x0,_0x4fef69[_0x251acb(0x2dc)])(_0x201ec2['ChartModelService']),_0x43d250=(0x0,_0x4fef69['useDependency'])(_0x201ec2[_0x251acb(0x36a)]),_0xdb2164=(0x0,_0x4fef69[_0x251acb(0x1e3)])(_0x474eda['activeChartModel$'],_0x474eda[_0x251acb(0x267)]),_0x1b14ad=(0x0,_0x4fef69['useObservable'])(_0x5843a4[_0x251acb(0x424)],null),_0x1568d5=(0x0,_0xd79b15['useMemo'])(()=>{const _0x59f9c0=_0x251acb;var _0x21b393;if(!_0xdb2164)return null;let _0x28af8e=_0x43d250[_0x59f9c0(0x29a)](_0xdb2164['id']);if(!_0x28af8e)return null;let _0x1dc059=Array[_0x59f9c0(0xde)](_0x28af8e)?(_0x21b393=_0x28af8e[0x0])==null?void 0x0:_0x21b393[_0x59f9c0(0x2e1)]:_0x28af8e[_0x59f9c0(0x255)];return _0x1dc059?new _0x1e42e6['ChartHostAdapter'](_0xdb2164,new _0x201ec2[(_0x59f9c0(0x200))]({'unitId':_0x1dc059['unitId'],'subUnitId':_0x1dc059['subUnitId'],'chartId':_0xdb2164['id'],'injector':_0x269e60})):null;},[_0xdb2164,_0x269e60,_0x43d250]);if((0x0,_0xd79b15[_0x251acb(0xf4)])(()=>{const _0x59278f=_0x251acb;var _0x232f1d,_0x56315b;_0xdb2164&&(_0x1b14ad==null?void 0x0:_0x1b14ad[_0x59278f(0x2ff)])===_0xdb2164['id']&&(((_0x232f1d=_0x1b14ad[_0x59278f(0x1df)])==null?void 0x0:_0x232f1d[_0x59278f(0x24c)])===_0x1e42e6[_0x59278f(0x428)][_0x59278f(0xcd)]&&_0x3b40f1(_0x1e42e6[_0x59278f(0x428)][_0x59278f(0xcd)]),((_0x56315b=_0x1b14ad['route'])==null?void 0x0:_0x56315b['tab'])===_0x1e42e6[_0x59278f(0x428)]['Data']&&_0x3b40f1(_0x1e42e6[_0x59278f(0x428)]['Data']));},[_0xdb2164,_0x1b14ad]),!_0x1568d5)return null;let _0x56d76c=(0x0,_0xc43640[_0x251acb(0x3aa)])(_0x251acb(0x264),{'className':_0x251acb(0x382)+(_0x5de59c===_0x1e42e6[_0x251acb(0x428)]['Style']?_0x251acb(0xdd):_0x251acb(0x278))+_0x251acb(0x2d8)+(_0x54fbe6??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0xc43640[_0x251acb(0x3aa)])(_0x1e42e6['ChartEditorTabs'],{'ariaLabel':_0x2a1301['t'](_0x251acb(0x37f)),'activeTab':_0x5de59c,'onTabChange':_0x3b40f1,'tabListClassName':_0x251acb(0x40d),'panelClassName':_0x5de59c===_0x1e42e6[_0x251acb(0x428)]['Style']?_0x251acb(0x33e):void 0x0,'tabs':[{'id':_0x1e42e6[_0x251acb(0x428)][_0x251acb(0x2c4)],'panelId':_0x4bda69,'title':_0x2a1301['t'](_0x251acb(0x2a9)),'content':(0x0,_0xc43640['jsx'])(_0xa29d2c,{})},{'id':_0x1e42e6[_0x251acb(0x428)]['Style'],'panelId':_0x25508e,'title':_0x2a1301['t'](_0x251acb(0x11a)),'content':(0x0,_0xc43640[_0x251acb(0x3aa)])(_0x3e5160,{'defaultValues':_0x54e319})}]})});return(0x0,_0xc43640[_0x251acb(0x3aa)])(_0x1e42e6[_0x251acb(0x420)],{'chartUIService':_0x5843a4,'hostAdapter':_0x1568d5,'children':_0x56d76c});}let _0x3d7cdd=_0x351b7e(0x1ef),_0x4bda69=_0x351b7e(0xa0),_0x25508e=_0x351b7e(0x26b);function _0x29ca6f(_0x28c4b4){const _0x1eba88=_0x351b7e;return _0x28c4b4[_0x1eba88(0x1fd)]===0x1&&_0x4c59e6(_0x28c4b4[0x0]);}function _0x4c59e6(_0x58c3d4){const _0x43f4bb=_0x351b7e;return(_0x58c3d4==null?void 0x0:_0x58c3d4[_0x43f4bb(0x405)])===_0xe0fba2[_0x43f4bb(0x371)][_0x43f4bb(0x1af)]&&!_0x58c3d4[_0x43f4bb(0x3a4)];}let _0x313dc5=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x4807f3,_0xdf4274,_0x407d45,_0x387195,_0x34e883,_0x1b252b,_0x34db8a,_0x5b47f8,_0x458a8b,_0x22e011,_0x4d77fd,_0x543b3a,_0x28b896,_0x5b9e70,_0x3a4cf0){const _0x641cf=_0x351b7e;var _0x5637bf;super(),this[_0x641cf(0x3ef)]=_0x4807f3,this[_0x641cf(0x115)]=_0xdf4274,this[_0x641cf(0x9d)]=_0x407d45,this[_0x641cf(0x3b1)]=_0x387195,this[_0x641cf(0x2ea)]=_0x34e883,this[_0x641cf(0x178)]=_0x1b252b,this[_0x641cf(0x259)]=_0x34db8a,this[_0x641cf(0x230)]=_0x5b47f8,this[_0x641cf(0x2f2)]=_0x458a8b,this[_0x641cf(0x31a)]=_0x22e011,this[_0x641cf(0x2d4)]=_0x4d77fd,this['_sheetsChartUIService']=_0x543b3a,this['_contextService']=_0x28b896,this[_0x641cf(0xf8)]=_0x5b9e70,_0x2d50c7(this,_0x641cf(0xe4),null),_0x2d50c7(this,_0x641cf(0x174),void 0x0),this[_0x641cf(0x174)]=((_0x5637bf=_0x3a4cf0[_0x641cf(0x325)]('sheets-chart-ui.config'))==null?void 0x0:_0x5637bf[_0x641cf(0x353)])===!0x0,this[_0x641cf(0x112)](),this[_0x641cf(0x3f2)](this[_0x641cf(0x115)][_0x641cf(0x447)](_0xe0fba2[_0x641cf(0x282)]['UNIVER_SHEET'])[_0x641cf(0x1b5)](_0xf2f532=>{const _0x5ce9c6=_0x641cf;var _0x4e9b12;_0xf2f532||(_0x4e9b12=this[_0x5ce9c6(0xe4)])==null||_0x4e9b12[_0x5ce9c6(0x183)]();})),this[_0x641cf(0x3f2)]((0x0,_0xe0fba2['toDisposable'])(this[_0x641cf(0x178)][_0x641cf(0x248)]['subscribe'](async({drawing:_0x6edd9a})=>{const _0x48d379=_0x641cf;await this[_0x48d379(0x3ee)](_0x6edd9a);})));}[_0x351b7e(0x2f9)](){const _0x274da9=_0x351b7e;this[_0x274da9(0xe4)]=this[_0x274da9(0x259)][_0x274da9(0x3c5)]({'id':_0x3d7cdd,'header':{'title':this[_0x274da9(0xf8)]['t'](_0x274da9(0x37f))},'width':0x154,'children':{'label':_0x3d7cdd},'onClose':()=>{const _0x548dc4=_0x274da9;this[_0x548dc4(0xe4)]=null,this[_0x548dc4(0x313)](),this[_0x548dc4(0x9d)][_0x548dc4(0x267)]&&this[_0x548dc4(0x9d)][_0x548dc4(0x410)](null),this[_0x548dc4(0x3ef)][_0x548dc4(0x390)](null),this[_0x548dc4(0x404)][_0x548dc4(0x103)](_0xe0fba2[_0x548dc4(0x36e)],!0x1);}});}['hidePanel'](){const _0x228dfe=_0x351b7e;let _0x29c6a9=this['_sidebarDisposable'];this['_sidebarDisposable']=null,this[_0x228dfe(0x313)](),this[_0x228dfe(0x9d)][_0x228dfe(0x267)]&&this[_0x228dfe(0x9d)][_0x228dfe(0x410)](null),_0x29c6a9==null||_0x29c6a9['dispose']();}[_0x351b7e(0x3c7)](){const _0x4b614c=_0x351b7e;let _0x322bda=this['_univerInstanceService'][_0x4b614c(0x2a3)](_0xe0fba2[_0x4b614c(0x282)][_0x4b614c(0x3fd)]);this[_0x4b614c(0x3f2)](this['_sidebarService'][_0x4b614c(0x97)][_0x4b614c(0x1b5)](_0xefd95d=>{const _0x5c3601=_0x4b614c;_0xefd95d['id']===_0x5c3601(0x1ef)&&(_0xefd95d[_0x5c3601(0x3a6)]||this['_sidebarService'][_0x5c3601(0x97)][_0x5c3601(0xf2)]({'visible':!0x1}));})),this[_0x4b614c(0x3f2)]((0x0,_0x1a141d[_0x4b614c(0xb7)])([this[_0x4b614c(0x9d)]['activeChartModel$'],this[_0x4b614c(0x442)][_0x4b614c(0x32b)]])['pipe']((0x0,_0x1a141d['map'])(([_0x5375bb,_0x8cfcfa])=>_0x8cfcfa?(_0x5375bb==null?void 0x0:_0x5375bb['id'])??null:null),(0x0,_0x1a141d[_0x4b614c(0x3cd)])(),(0x0,_0x1a141d['startWith'])(null),(0x0,_0x1a141d[_0x4b614c(0x207)])())[_0x4b614c(0x1b5)](([_0x2808ab,_0x13642e])=>{const _0x4cceb8=_0x4b614c;this[_0x4cceb8(0x42d)](_0x2808ab,_0x13642e);})),this['disposeWithMe'](this['_chartModelService'][_0x4b614c(0x1a8)][_0x4b614c(0x1b5)](_0x1d43ef=>{const _0x2f49b3=_0x4b614c;!_0x1d43ef&&this[_0x2f49b3(0xe4)]&&this['hidePanel']();})),this[_0x4b614c(0x3f2)](this['_commandService']['onCommandExecuted'](_0x2e3d02=>{const _0x45b624=_0x4b614c;if(_0x2e3d02['id']===_0x577343['id']){let _0x5e2b99=_0x2e3d02[_0x45b624(0x1e0)];if(!_0x4c59e6(this[_0x45b624(0x3ef)][_0x45b624(0x257)]({'unitId':_0x5e2b99[_0x45b624(0x12d)],'subUnitId':_0x5e2b99[_0x45b624(0x2b0)],'drawingId':_0x5e2b99[_0x45b624(0xa3)]})))return;this['openChartPanelById'](_0x5e2b99['drawingId'],_0x5e2b99[_0x45b624(0x1df)]);}if(_0x2e3d02['id']===_0x16f198['id']&&this[_0x45b624(0x417)](),_0x2e3d02['id']===_0x201ec2['RemoveSheetsChartMutation']['id']){var _0x54807c;_0x2e3d02['params'][_0x45b624(0x2ff)]===((_0x54807c=this[_0x45b624(0x9d)]['activeChartModel'])==null?void 0x0:_0x54807c['id'])&&this[_0x45b624(0x417)](),this['_contextService'][_0x45b624(0x33c)](_0xe0fba2[_0x45b624(0x36e)])&&(this[_0x45b624(0x404)][_0x45b624(0x103)](_0xe0fba2[_0x45b624(0x36e)],!0x1),this[_0x45b624(0x3ef)][_0x45b624(0x390)](null));}})),this['disposeWithMe'](this[_0x4b614c(0x2f2)][_0x4b614c(0x2fc)][_0x4b614c(0x1b5)](({id:_0x4d65e1})=>{const _0x34c864=_0x4b614c;this[_0x34c864(0x442)][_0x34c864(0xbd)](_0x4d65e1)&&this[_0x34c864(0x417)]();})),this[_0x4b614c(0x3f2)](this['_sheetCanvasFloatDomManagerService']['transformChange$'][_0x4b614c(0x1b5)](({id:_0x699053})=>{const _0x22a61f=_0x4b614c;this[_0x22a61f(0x442)][_0x22a61f(0xbd)](_0x699053)&&(this['_sheetsChartUIService'][_0x22a61f(0x2fb)](),this[_0x22a61f(0x2ea)][_0x22a61f(0x22f)](_0x699053,!0x1),this[_0x22a61f(0x21e)](_0x699053)&&this[_0x22a61f(0x2ea)][_0x22a61f(0x22f)](_0x699053,!0x0));})),this[_0x4b614c(0x3f2)](this['_drawingManagerService']['focus$'][_0x4b614c(0x1b5)](_0x5f38fa=>{const _0x745029=_0x4b614c;let _0x38a020=_0x5f38fa[0x0];if(!this[_0x745029(0x442)][_0x745029(0x3a0)]){if(_0x29ca6f(_0x5f38fa)){var _0x3d234d;let _0x27fd6b=this['_chartModelService'][_0x745029(0x96)](_0x38a020[_0x745029(0xa3)]);_0x27fd6b&&this[_0x745029(0x13d)](_0x27fd6b['id'])&&((_0x3d234d=this[_0x745029(0x9d)][_0x745029(0x267)])==null?void 0x0:_0x3d234d['id'])!==_0x27fd6b['id']&&this[_0x745029(0x9d)][_0x745029(0x410)](_0x27fd6b);return;}this[_0x745029(0x9d)]['activeChartModel']&&this['_chartModelService'][_0x745029(0x410)](null),!_0x38a020&&!this[_0x745029(0x442)][_0x745029(0x3a0)]&&this[_0x745029(0x417)]();}})),_0x322bda&&(this[_0x4b614c(0x3f2)](_0x322bda['sheetDisposed$'][_0x4b614c(0x1b5)](()=>{this['hidePanel']();})),this[_0x4b614c(0x3f2)](_0x322bda['activeSheet$'][_0x4b614c(0x1b5)](()=>{const _0x235673=_0x4b614c;this[_0x235673(0x417)]();})));}async[_0x351b7e(0x3ee)](_0x3f36e6){const _0x3694f5=_0x351b7e;this['_sheetsChartUIService'][_0x3694f5(0x215)]||_0x4c59e6(_0x3f36e6)&&this['_isOwnedChart'](_0x3f36e6[_0x3694f5(0xa3)])&&await this['_openEditPanelByDoubleClick'](_0x3f36e6[_0x3694f5(0x12d)],_0x3f36e6[_0x3694f5(0x2b0)],_0x3f36e6[_0x3694f5(0xa3)]);}async[_0x351b7e(0x37d)](_0x1f21b5,_0x57290e,_0x172ea9){const _0x52ec0a=_0x351b7e;this[_0x52ec0a(0x9d)]['getChartModel'](_0x172ea9)&&this['_isOwnedChart'](_0x172ea9)&&await this[_0x52ec0a(0x2d4)][_0x52ec0a(0x463)](_0x577343['id'],{'unitId':_0x1f21b5,'subUnitId':_0x57290e,'drawingId':_0x172ea9});}[_0x351b7e(0x446)](_0x4e14c1,_0x4f9897){const _0x316e1c=_0x351b7e;let _0x2cd04e=this[_0x316e1c(0x9d)][_0x316e1c(0x96)](_0x4e14c1);_0x2cd04e&&this['_isOwnedChart'](_0x4e14c1)&&(this[_0x316e1c(0x9d)][_0x316e1c(0x410)](_0x2cd04e),this['_openPanel'](),this[_0x316e1c(0xd1)](_0x4e14c1,_0x4f9897??null));}[_0x351b7e(0xd1)](_0x27b004,_0x2ef1a4){const _0x340050=_0x351b7e;this[_0x340050(0x442)][_0x340050(0x284)](!0x0),this[_0x340050(0x442)][_0x340050(0x217)](_0x27b004,_0x2ef1a4);}[_0x351b7e(0x313)](){const _0x515f4f=_0x351b7e;this[_0x515f4f(0x442)][_0x515f4f(0x284)](!0x1);}[_0x351b7e(0x42d)](_0x35bf5d,_0x2d1bbb){const _0x3e4673=_0x351b7e;_0x35bf5d!==_0x2d1bbb&&(_0x35bf5d&&this['_chartRenderService'][_0x3e4673(0x22f)](_0x35bf5d,!0x1),this[_0x3e4673(0x442)][_0x3e4673(0x2fb)](),_0x2d1bbb&&(this[_0x3e4673(0x442)][_0x3e4673(0x217)](_0x2d1bbb,null),this[_0x3e4673(0x2ea)][_0x3e4673(0x22f)](_0x2d1bbb,this[_0x3e4673(0x21e)](_0x2d1bbb))));}[_0x351b7e(0x112)](){const _0x41dbb4=_0x351b7e;this[_0x41dbb4(0x230)][_0x41dbb4(0x34e)](_0x497f50),this[_0x41dbb4(0x31a)][_0x41dbb4(0x199)](_0xe0fba2[_0x41dbb4(0x371)][_0x41dbb4(0x1af)],this[_0x41dbb4(0x1f9)]['bind'](this));}[_0x351b7e(0x21e)](_0x853576){const _0x585de3=_0x351b7e;let _0x580658=this[_0x585de3(0x9d)][_0x585de3(0x96)](_0x853576);return!this[_0x585de3(0x174)]||!_0x580658||!this['_isOwnedChart'](_0x853576)?!0x1:_0x277b9d(_0x580658[_0x585de3(0x153)]);}[_0x351b7e(0x1f9)](_0x26a87b,_0x2586ab,_0x2aab0c,_0x4cdc93){const _0x35f6c4=_0x351b7e;if(!this[_0x35f6c4(0x9d)][_0x35f6c4(0x96)](_0x2aab0c))return[];let _0xaa5c32=[{'label':this[_0x35f6c4(0xf8)]['t'](_0x35f6c4(0x402)),'index':0x0,'commandId':_0x577343['id'],'commandParams':{'unitId':_0x26a87b,'subUnitId':_0x2586ab,'drawingId':_0x2aab0c},'disable':_0x4cdc93!==_0xe0fba2[_0x35f6c4(0x371)][_0x35f6c4(0x1af)]}];return this[_0x35f6c4(0x13d)](_0x2aab0c)?[..._0xaa5c32,{'label':this[_0x35f6c4(0xf8)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x42712d[_0x35f6c4(0x363)]['id'],'commandParams':{'unitId':_0x26a87b,'drawings':[{'unitId':_0x26a87b,'subUnitId':_0x2586ab,'drawingId':_0x2aab0c,'drawingType':_0x4cdc93}]},'disable':!0x1},{'label':this[_0x35f6c4(0xf8)]['t'](_0x35f6c4(0x413)),'index':0x2,'commandId':_0x16f198['id'],'commandParams':{'unitId':_0x26a87b,'subUnitId':_0x2586ab,'drawingId':_0x2aab0c},'disable':!0x1}]:_0xaa5c32;}['_isOwnedChart'](_0x347a0f){const _0x265043=_0x351b7e;return this[_0x265043(0x3b1)][_0x265043(0x29a)](_0x347a0f)!==void 0x0;}};_0x313dc5=_0x5a0cd2([_0x40aea1(0x0,_0x3543bc[_0x351b7e(0x101)]),_0x40aea1(0x1,_0xe0fba2['IUniverInstanceService']),_0x40aea1(0x2,(0x0,_0xe0fba2['Inject'])(_0x201ec2['ChartModelService'])),_0x40aea1(0x3,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x36a)])),_0x40aea1(0x4,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x591b5a)),_0x40aea1(0x5,(0x0,_0xe0fba2['Inject'])(_0x102b65[_0x351b7e(0x1bb)])),_0x40aea1(0x6,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69['ISidebarService'])),_0x40aea1(0x7,_0x4fef69[_0x351b7e(0x41a)]),_0x40aea1(0x8,(0x0,_0xe0fba2['Inject'])(_0x102b65[_0x351b7e(0x30d)])),_0x40aea1(0x9,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x270231['SheetCanvasPopManagerService'])),_0x40aea1(0xa,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0xb,_0x5d8988),_0x40aea1(0xc,_0xe0fba2[_0x351b7e(0x19d)]),_0x40aea1(0xd,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x3f9)])),_0x40aea1(0xe,_0xe0fba2[_0x351b7e(0x42c)])],_0x313dc5);var _0x47d7f2='@univerjs-pro/sheets-chart-ui',_0x3b3a89=_0x351b7e(0x46c);let _0x1eb24a=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x23e081,_0x295cba){const _0x3f47ad=_0x351b7e;super(),this[_0x3f47ad(0x300)]=_0x23e081,this[_0x3f47ad(0x9d)]=_0x295cba,this[_0x3f47ad(0x1cd)]();}[_0x351b7e(0x1cd)](){const _0x30fdc0=_0x351b7e;this[_0x30fdc0(0x3f2)](this[_0x30fdc0(0x300)]['removeHost$'][_0x30fdc0(0x1b5)](_0x5c3c42=>{const _0x311e62=_0x30fdc0;this[_0x311e62(0x9d)][_0x311e62(0x3f7)](_0x5c3c42);}));}};_0x1eb24a=_0x5a0cd2([_0x40aea1(0x0,_0x57a861),_0x40aea1(0x1,(0x0,_0xe0fba2['Inject'])(_0x201ec2[_0x351b7e(0x3bd)]))],_0x1eb24a);let _0x3d0520=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x13c31f,_0x4b9392,_0x1de41d,_0x141155,_0x10becb,_0x1cc3f6){const _0xfa1925=_0x351b7e;super(),this[_0xfa1925(0x9d)]=_0x13c31f,this['_chartRenderService']=_0x4b9392,this['_localeService']=_0x1de41d,this[_0xfa1925(0x46e)]=_0x141155,this[_0xfa1925(0x2d4)]=_0x10becb,this[_0xfa1925(0xe7)]=_0x1cc3f6,_0x2d50c7(this,_0xfa1925(0x32f),new Map()),_0x2d50c7(this,'_pendingDataUpdateChartIds',new Set()),this['_init'](),this['_listenChartUpdateMutations'](),this[_0xfa1925(0x15c)]();}[_0x351b7e(0x15c)](){const _0x21bf0c=_0x351b7e;this[_0x21bf0c(0x3f2)](this['_sheetPrintInterceptorService'][_0x21bf0c(0x245)][_0x21bf0c(0xb8)](this[_0x21bf0c(0xe7)][_0x21bf0c(0x245)][_0x21bf0c(0x31d)]()[_0x21bf0c(0x2e3)],{'handler':(_0x310b98,_0x5d3618,_0x26130a)=>{const _0x51de31=_0x21bf0c;let _0x4f625b=this['_chartRenderService'][_0x51de31(0x1e7)](_0x5d3618[_0x51de31(0x12d)],_0x5d3618[_0x51de31(0x2b0)],_0x5d3618[_0x51de31(0x37b)]);return _0x5d3618[_0x51de31(0x102)][_0x51de31(0x429)](_0x4f625b),_0x26130a(_0x310b98);}}));}[_0x351b7e(0x1cd)](){const _0x3b9964=_0x351b7e;this['disposeWithMe'](this[_0x3b9964(0x9d)][_0x3b9964(0x3cc)][_0x3b9964(0x1b5)](_0x1e95f1=>{const _0x2418d1=_0x3b9964;if(_0x1e95f1){let _0x518817=new _0xe0fba2[(_0x2418d1(0x30c))]();_0x518817['add'](_0x1e95f1[_0x2418d1(0xad)][_0x2418d1(0x1a6)]((0x0,_0x1a141d['switchMap'])(_0x4dfe46=>_0x4dfe46[_0x2418d1(0x1f1)]['pipe']((0x0,_0x1a141d[_0x2418d1(0x2cb)])(0x1))))[_0x2418d1(0x1b5)](()=>{const _0x55c95d=_0x2418d1;this[_0x55c95d(0x218)]['add'](_0x1e95f1['id']);})),_0x518817[_0x2418d1(0x429)](_0x1e95f1[_0x2418d1(0x1d0)][_0x2418d1(0x1a6)]((0x0,_0x1a141d[_0x2418d1(0x2d3)])(_0x1e95f1[_0x2418d1(0xf9)]),(0x0,_0x1a141d[_0x2418d1(0x2d3)])(this[_0x2418d1(0xf8)][_0x2418d1(0x45a)]),(0x0,_0x1a141d['debounceTime'])(0x64))[_0x2418d1(0x1b5)](([[_0x6bdc34,_0x767ea1],_0x5d084a])=>{const _0x2ab653=_0x2418d1;var _0x2f8ecb;if(!_0x6bdc34)return;(_0x2f8ecb=_0x6bdc34['category'])==null||_0x2f8ecb[_0x2ab653(0x2e6)]['forEach']((_0x39ed00,_0x1a99cd)=>{const _0x190395=_0x2ab653;_0x39ed00[_0x190395(0x138)]||=this[_0x190395(0xf8)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x1a99cd+0x1);}),_0x6bdc34[_0x2ab653(0x139)]['forEach']((_0x2d6cec,_0x269af5)=>{const _0x33e597=_0x2ab653;_0x2d6cec[_0x33e597(0x3e9)]||=this['_localeService']['t'](_0x33e597(0xce))+'\x20'+(_0x269af5+0x1);});let _0x1233f8=this[_0x2ab653(0x2ea)][_0x2ab653(0x2a7)](_0x1e95f1,_0x5d084a),_0x4a8491=this[_0x2ab653(0x218)]['delete'](_0x1e95f1['id']);this[_0x2ab653(0x2ea)][_0x2ab653(0x1e5)](_0x1e95f1['id'],_0x6bdc34,_0x1233f8,{'animateDataUpdate':_0x4a8491});})),_0x1e95f1[_0x2418d1(0x376)](()=>{const _0x4faca7=_0x2418d1;this[_0x4faca7(0x218)]['delete'](_0x1e95f1['id']),_0x518817[_0x4faca7(0x183)]();});}}));}[_0x351b7e(0x31f)](){const _0x49f823=_0x351b7e;this[_0x49f823(0x3f2)](this[_0x49f823(0x2d4)][_0x49f823(0x288)](_0x43118f=>{const _0x479ec4=_0x49f823;if(_0x43118f['id']!==_0x201ec2[_0x479ec4(0x2b5)]['id'])return;let _0x307b1a=_0x43118f[_0x479ec4(0x1e0)];_0x307b1a!=null&&_0x307b1a[_0x479ec4(0x14c)]&&Promise[_0x479ec4(0x19f)]()[_0x479ec4(0x17a)](()=>this['_renderAfterChartUpdateMutation'](_0x307b1a));}));}[_0x351b7e(0x1db)](_0x228007){const _0x198fe7=_0x351b7e;let _0x51437c=this['_chartModelService'][_0x198fe7(0x96)](_0x228007[_0x198fe7(0x14c)]);if(!_0x51437c||_0x51437c[_0x198fe7(0x153)]!==_0x4a5d1e[_0x198fe7(0x43f)][_0x198fe7(0x415)])return;let _0xf697c4=_0x51437c['config'];if(!_0xf697c4){this['_renderWhenConfigReady'](_0x51437c);return;}this[_0x198fe7(0x114)](_0x51437c,_0xf697c4);}[_0x351b7e(0x2fd)](_0x481191){const _0x47cbcc=_0x351b7e;if(this[_0x47cbcc(0x32f)]['get'](_0x481191['id']))return;let _0xd5d80d=_0x481191['config$'][_0x47cbcc(0x1a6)]((0x0,_0x1a141d[_0x47cbcc(0x286)])(_0x378bf3=>_0x378bf3!=null),(0x0,_0x1a141d['take'])(0x1))[_0x47cbcc(0x1b5)](_0x4d9c1e=>{const _0x55a715=_0x47cbcc;this[_0x55a715(0x32f)][_0x55a715(0x437)](_0x481191['id']),this['_renderChartModel'](_0x481191,_0x4d9c1e);});this[_0x47cbcc(0x32f)][_0x47cbcc(0xac)](_0x481191['id'],_0xd5d80d),_0x481191['onDispose'](()=>{const _0x27104d=_0x47cbcc;_0xd5d80d['unsubscribe'](),this['_pendingMutationConfigRenders'][_0x27104d(0x437)](_0x481191['id']);});}['_renderChartModel'](_0x17c6a1,_0x3757fd){const _0x217981=_0x351b7e;let _0x5ca7c6=this[_0x217981(0x2ea)]['createRuntimeChartStyle'](_0x17c6a1,this[_0x217981(0xf8)][_0x217981(0xd7)]());this['_chartRenderService'][_0x217981(0x1e5)](_0x17c6a1['id'],_0x3757fd,_0x5ca7c6);}};_0x3d0520=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x591b5a)),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2['LocaleService'])),_0x40aea1(0x3,_0x5d8988),_0x40aea1(0x4,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0x5,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x270231[_0x351b7e(0x422)]))],_0x3d0520);function _0x595a30(_0x21f5db,_0xb1b0c2){const _0x416e79=_0x351b7e;return _0x21f5db[_0x416e79(0x12d)]!==_0xb1b0c2['unitId']||_0x21f5db[_0x416e79(0x2b0)]!==_0xb1b0c2[_0x416e79(0x33b)]?_0x21f5db:{..._0x21f5db,'subUnitId':_0xb1b0c2[_0x416e79(0x3b2)]};}function _0x41ade8(_0x3bf89a,_0x1f75d3){const _0x15036c=_0x351b7e;return(_0x3bf89a==null?void 0x0:_0x3bf89a['type'])===_0x4a5d1e[_0x15036c(0x2f1)][_0x15036c(0x3a3)]?{..._0x3bf89a,'source':_0x595a30(_0x3bf89a[_0x15036c(0x2f0)],_0x1f75d3)}:_0x3bf89a;}function _0x9ffb6b(_0x427d69,_0x5e8d8c){const _0x58c83d=_0x351b7e;let {rangeInfo:_0x1159dd}=_0x427d69;return Array[_0x58c83d(0xde)](_0x1159dd)?{..._0x427d69,'rangeInfo':_0x1159dd[_0x58c83d(0xfc)](_0x15cff7=>({..._0x15cff7,..._0x15cff7[_0x58c83d(0x42e)]?{'header':_0x41ade8(_0x15cff7['header'],_0x5e8d8c)}:{},'range':_0x595a30(_0x15cff7[_0x58c83d(0x2e1)],_0x5e8d8c)}))}:{..._0x427d69,'rangeInfo':{..._0x1159dd,..._0x1159dd['header']?{'header':{..._0x1159dd['header'],..._0x1159dd[_0x58c83d(0x42e)]['titles']?{'titles':_0x1578aa(_0x1159dd[_0x58c83d(0x42e)][_0x58c83d(0x41c)],_0x5e8d8c)}:{}}}:{},'rangeInfo':_0x595a30(_0x1159dd[_0x58c83d(0x255)],_0x5e8d8c)}};}function _0x1578aa(_0x5a7c15,_0x560d7b){const _0x48c388=_0x351b7e;return _0x5a7c15[_0x48c388(0x441)]===_0x4a5d1e[_0x48c388(0x2f1)][_0x48c388(0x1c7)]?{..._0x5a7c15,'values':{..._0x5a7c15[_0x48c388(0x231)]}}:_0x5a7c15[_0x48c388(0x441)]===_0x4a5d1e[_0x48c388(0x2f1)][_0x48c388(0x148)]?{..._0x5a7c15,'values':Object[_0x48c388(0x205)](Object['entries'](_0x5a7c15[_0x48c388(0x231)])[_0x48c388(0xfc)](([_0x2fb03f,_0x3e064d])=>[_0x2fb03f,_0x3e064d&&_0x595a30(_0x3e064d,_0x560d7b)]))}:{..._0x5a7c15,'values':Object[_0x48c388(0x205)](Object[_0x48c388(0xbe)](_0x5a7c15[_0x48c388(0x231)])['map'](([_0x18aab2,_0x305fb1])=>[_0x18aab2,_0x305fb1&&_0x41ade8(_0x305fb1,_0x560d7b)]))};}function _0x50a5c2(_0x55e27f,_0x56ac4f,_0x40dfd6,_0x90e8f7){const _0x37c2e8=_0x351b7e;let _0x27e14f=(0x0,_0x3543bc['getOrCreateDrawingCopyPlan'])(_0x55e27f,_0x56ac4f,_0x40dfd6),_0x1bb517=[];for(let _0x1a3380 of _0x56ac4f){let _0x131b29=_0x27e14f[_0x37c2e8(0x1ca)]['get'](_0x1a3380[_0x37c2e8(0xa3)]),_0x54a5ee=_0x90e8f7(_0x1a3380);_0x131b29&&_0x54a5ee&&_0x1bb517['push']({'targetChartId':_0x131b29,'source':_0x9ffb6b(_0x54a5ee,_0x40dfd6)});}return _0x1bb517;}let _0x24189e=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x4fe0d2,_0x55b5cd,_0x145b54,_0x2c0d9c,_0x138ec2){const _0x3bacc6=_0x351b7e;super(),this[_0x3bacc6(0x115)]=_0x4fe0d2,this[_0x3bacc6(0x18a)]=_0x55b5cd,this[_0x3bacc6(0x443)]=_0x145b54,this[_0x3bacc6(0x9d)]=_0x2c0d9c,this[_0x3bacc6(0x3b1)]=_0x138ec2,this[_0x3bacc6(0x43a)]();}['_initSheetChange'](){const _0x308f5a=_0x351b7e;this[_0x308f5a(0x3f2)](this[_0x308f5a(0x18a)][_0x308f5a(0x2e2)]({'getMutations':_0x47b06f=>{const _0x3c0201=_0x308f5a;if(_0x47b06f['id']===_0x2e7a19['RemoveSheetCommand']['id']){let _0x4cad13=(0x0,_0x2e7a19[_0x3c0201(0x1f3)])(this[_0x3c0201(0x115)],_0x47b06f[_0x3c0201(0x1e0)]);if(!_0x4cad13)return{'redos':[],'undos':[]};let {unitId:_0x30936e,subUnitId:_0x1245a0}=_0x4cad13,_0x12a56b=this[_0x3c0201(0x443)][_0x3c0201(0x328)](_0x30936e,_0x1245a0),_0xcd2eaf=Object[_0x3c0201(0x231)](_0x12a56b)[_0x3c0201(0x286)](_0x119698=>_0x119698[_0x3c0201(0x405)]===_0xe0fba2['DrawingTypeEnum']['DRAWING_CHART']);if(_0xcd2eaf['length']===0x0)return{'redos':[],'undos':[]};let _0x39d973=[],_0x1b4331=[];for(let _0x19f1b1=0x0;_0x19f1b1<_0xcd2eaf['length'];_0x19f1b1++){let _0x24848e=_0xcd2eaf[_0x19f1b1],_0x2dcb74=this[_0x3c0201(0x9d)][_0x3c0201(0x96)](_0x24848e[_0x3c0201(0xa3)]);if(!_0x2dcb74)continue;let _0x34ffa6=this['_sheetsChartService']['getChartSourceSpec'](_0x2dcb74['id']);if(!_0x34ffa6)continue;let {chartType:_0xa8102f,context:_0x2b5b43,style:_0x312804,dataAggregation:_0x1a3912}=_0x2dcb74[_0x3c0201(0x185)]();_0x39d973['push']({'id':_0x201ec2['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x30936e,'subUnitId':_0x1245a0,'chartId':_0x24848e['drawingId']}}),_0x1b4331['push']({'id':_0x201ec2[_0x3c0201(0x24d)]['id'],'params':{'unitId':_0x30936e,'subUnitId':_0x1245a0,'chartId':_0x24848e['drawingId'],'chartType':_0xa8102f,...(0x0,_0x201ec2[_0x3c0201(0x2ac)])(_0x34ffa6),'context':_0x2b5b43,'style':_0x312804,'dataAggregation':_0x1a3912}});}return{'redos':_0x39d973,'undos':_0x1b4331};}if(_0x47b06f['id']===_0x2e7a19[_0x3c0201(0xe8)]['id']){let {unitId:_0xa3a055,subUnitId:_0x2cbef9,targetSubUnitId:_0x36c633,copyContext:_0xbbfd8c}=_0x47b06f[_0x3c0201(0x1e0)];if(!_0xa3a055||!_0x2cbef9||!_0x36c633)return{'redos':[],'undos':[]};let _0x5dd858=this[_0x3c0201(0x443)][_0x3c0201(0x328)](_0xa3a055,_0x2cbef9),_0x52189c=Object[_0x3c0201(0x231)](_0x5dd858)[_0x3c0201(0x286)](_0x1b9516=>_0x1b9516[_0x3c0201(0x405)]===_0xe0fba2['DrawingTypeEnum'][_0x3c0201(0x1af)]);if(_0x52189c[_0x3c0201(0x1fd)]===0x0)return{'redos':[],'undos':[]};let _0x54688f=_0x50a5c2(_0xbbfd8c,_0x52189c,{'unitId':_0xa3a055,'sourceSubUnitId':_0x2cbef9,'targetSubUnitId':_0x36c633},_0x2c97d0=>{const _0x1d6446=_0x3c0201;let _0x57b135=this[_0x1d6446(0x9d)][_0x1d6446(0x96)](_0x2c97d0[_0x1d6446(0xa3)]);if(!_0x57b135)return;let _0x2c92c0=this[_0x1d6446(0x3b1)]['getChartSourceSpec'](_0x57b135['id']);if(!_0x2c92c0)return;let {chartType:_0x14525d,context:_0x1ccc30,style:_0x5a9fba,dataAggregation:_0x4198b5}=_0x57b135[_0x1d6446(0x185)]();return{'rangeInfo':_0x2c92c0,'chartType':_0x14525d,'context':_0x1ccc30,'style':_0x5a9fba,'dataAggregation':_0x4198b5};}),_0x303fe7=[],_0x13991c=[];for(let {targetChartId:_0x1e0a08,source:_0x417787}of _0x54688f){let {rangeInfo:_0x40a61d,chartType:_0x40220c,context:_0x2fe1f0,style:_0x116621,dataAggregation:_0x238993}=_0x417787;_0x303fe7[_0x3c0201(0x3d8)]({'id':_0x201ec2[_0x3c0201(0x24d)]['id'],'params':{'unitId':_0xa3a055,'subUnitId':_0x36c633,'chartId':_0x1e0a08,'chartType':_0x40220c,...(0x0,_0x201ec2['toInsertChartMutationSource'])(_0x40a61d),'context':_0x2fe1f0,'style':_0x116621,'dataAggregation':_0x238993}}),_0x13991c[_0x3c0201(0x3d8)]({'id':_0x201ec2[_0x3c0201(0x2bb)]['id'],'params':{'unitId':_0xa3a055,'subUnitId':_0x36c633,'chartId':_0x1e0a08}});}return{'redos':_0x303fe7,'undos':_0x13991c};}return{'redos':[],'undos':[]};}}));}};_0x24189e=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x238)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x2e7a19[_0x351b7e(0x241)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x42712d['ISheetDrawingService'])),_0x40aea1(0x3,(0x0,_0xe0fba2['Inject'])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x4,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x36a)]))],_0x24189e);let _0x41a5ae=_0x15bae2=>_0x15bae2[_0x351b7e(0x2a3)](_0xe0fba2[_0x351b7e(0x282)][_0x351b7e(0x3fd)])['getUnitId'](),_0x1cc955=_0x410df9=>{const _0x18575f=_0x351b7e;var _0x10f86a;return(_0x10f86a=_0x410df9[_0x18575f(0x2a3)](_0xe0fba2[_0x18575f(0x282)][_0x18575f(0x3fd)])['getActiveSheet']())==null?void 0x0:_0x10f86a[_0x18575f(0x1a0)]();};function _0x119e72(){const _0x54c27c=_0x351b7e;var _0x29848d;let _0x9e88d1=(0x0,_0x4fef69[_0x54c27c(0x2dc)])(_0x5d8988),_0x2f04af=(0x0,_0x4fef69[_0x54c27c(0x2dc)])(_0x201ec2[_0x54c27c(0x3bd)]),_0x41be1b=(0x0,_0x4fef69[_0x54c27c(0x2dc)])(_0x201ec2['SheetsChartService']),_0x45ad38=(0x0,_0x4fef69[_0x54c27c(0x2dc)])(_0xe0fba2[_0x54c27c(0x3f9)]),_0x5be962=(0x0,_0x4fef69['useDependency'])(_0xe0fba2[_0x54c27c(0x44b)]),_0x23210f=(0x0,_0x201ec2['getAllowedChartTypes'])(_0x5be962),_0x5b2b42=(0x0,_0xd79b15[_0x54c27c(0x2ce)])(()=>{const _0x41351b=_0x54c27c;let _0x3899fe=_0x446ceb(_0x32093c[_0x41351b(0x10d)](),_0x23210f);return(0x0,_0x1e42e6[_0x41351b(0x272)])(_0x3899fe[_0x41351b(0xfc)](_0x37b58d=>({'id':_0x37b58d['id'],'label':_0x45ad38['t'](_0x41351b(0x144)+_0x37b58d['labelId']),'pieSecondaryPlotType':_0x37b58d[_0x41351b(0x159)],'value':_0x37b58d[_0x41351b(0x40b)]})));},[_0x23210f,_0x45ad38]),_0x580239=(0x0,_0x4fef69[_0x54c27c(0x1e3)])(_0x2f04af[_0x54c27c(0x1a8)],_0x2f04af[_0x54c27c(0x267)]),_0x351ed7=_0x580239?_0x41be1b['getChartDataSource'](_0x580239['id']):void 0x0,_0x297c3c=(0x0,_0x4fef69[_0x54c27c(0x1e3)])(_0x351ed7==null?void 0x0:_0x351ed7[_0x54c27c(0x1d9)],_0x351ed7==null?void 0x0:_0x351ed7[_0x54c27c(0x283)]()),_0x42d9e5=Array['isArray'](_0x297c3c),_0x21c41c=_0x297c3c&&!_0x42d9e5&&_0x297c3c[_0x54c27c(0x14a)]?_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x21f)]:_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x201)],_0x32bf80=_0x42d9e5?(_0x29848d=_0x297c3c[0x0])==null?void 0x0:_0x29848d['range']:_0x297c3c==null?void 0x0:_0x297c3c[_0x54c27c(0x255)];return(0x0,_0xc43640[_0x54c27c(0x3aa)])(_0x54c27c(0x264),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x54c27c(0x29e)],{'chartTypeOptions':_0x5b2b42,'dataSourceControl':(0x0,_0xc43640[_0x54c27c(0x3aa)])(_0x4746f9,{'dataRange':_0x297c3c,'primaryRange':_0x32bf80}),'categoryToggleLabel':_0x45ad38['t'](_0x54c27c(0x170),_0x21c41c===_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x21f)]?_0x21c41c+'\x20'+(((_0x32bf80==null?void 0x0:_0x32bf80[_0x54c27c(0x2e1)][_0x54c27c(0x171)])??0x0)+0x1):_0x21c41c+'\x20'+(0x0,_0xe0fba2[_0x54c27c(0x140)])((_0x32bf80==null?void 0x0:_0x32bf80['range'][_0x54c27c(0x1da)])??0x0)),'orientationControl':_0x42d9e5?void 0x0:(0x0,_0xc43640[_0x54c27c(0x3aa)])(_0x5c25d9[_0x54c27c(0x1dd)],{'size':_0x54c27c(0x364),'onClick':()=>_0x9e88d1[_0x54c27c(0xeb)](_0x21c41c===_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x21f)]?_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x201)]:_0x4a5d1e[_0x54c27c(0x38a)]['Row']),'children':_0x45ad38['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x4746f9(_0x39797a){const _0x213513=_0x351b7e;let {dataRange:_0x30ee97,primaryRange:_0x524eae}=_0x39797a,_0x1606ab=(0x0,_0x4fef69[_0x213513(0x2dc)])(_0x5d8988),_0x19cefe=(0x0,_0x4fef69[_0x213513(0x2dc)])(_0xe0fba2[_0x213513(0x3f9)]),_0x3ac144=(0x0,_0x4fef69['useDependency'])(_0xe0fba2['IUniverInstanceService']),[_0x2d2907,_0x19ceb0]=(0x0,_0xd79b15[_0x213513(0x14d)])(!0x1),[_0x2d4fa5,_0x377305]=(0x0,_0xd79b15['useState'])(!0x1),_0x6b0920=_0x41a5ae(_0x3ac144),_0x4a82c7=_0x1cc955(_0x3ac144);(0x0,_0xd79b15[_0x213513(0xf4)])(()=>{const _0x3a2401=_0x213513;_0x1606ab[_0x3a2401(0x35a)](_0x2d2907);},[_0x2d2907,_0x1606ab]);let _0x4c02c3=(0x0,_0xd79b15[_0x213513(0x2ce)])(()=>(0x0,_0xe0fba2[_0x213513(0x3dd)])(async _0x9522e=>{const _0x22d233=_0x213513;var _0x54ca4b;if(_0x32dc36(_0x30ee97,_0x3ac144)===_0x9522e)return;let _0x3fc66d=_0x9522e['split'](',')[_0x22d233(0x286)](Boolean)[_0x22d233(0xfc)](_0x488a9e[_0x22d233(0x269)])[0x0];if(!_0x3fc66d)return;let {unitId:_0x5bc8a3,sheetName:_0x2f4cd9,range:_0x35916a}=_0x3fc66d,_0x19ab1e=_0x5bc8a3||_0x6b0920,_0x397b77=((_0x54ca4b=_0x3ac144['getUnit'](_0x19ab1e)[_0x22d233(0x23e)](_0x2f4cd9))==null?void 0x0:_0x54ca4b[_0x22d233(0x1a0)]())||(_0x524eae==null?void 0x0:_0x524eae[_0x22d233(0x2b0)])||_0x4a82c7;_0x397b77&&_0x1606ab['setDataRange']({'rangeInfo':{'range':_0x35916a,'unitId':_0x19ab1e,'subUnitId':_0x397b77}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x30ee97,_0x524eae,_0x1606ab,_0x4a82c7,_0x6b0920,_0x3ac144]);return(0x0,_0xd79b15[_0x213513(0xf4)])(()=>()=>_0x4c02c3[_0x213513(0x321)](),[_0x4c02c3]),(0x0,_0xc43640[_0x213513(0x3aa)])(_0x213513(0x264),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':(0x0,_0xc43640['jsxs'])(_0x213513(0x264),{'children':[(0x0,_0xc43640[_0x213513(0x3aa)])(_0x1e42e6[_0x213513(0x2e7)],{'title':_0x19cefe['t'](_0x213513(0x1e9))}),(0x0,_0xc43640['jsx'])(_0x1dbfa7[_0x213513(0x152)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x6b0920,'subUnitId':_0x4a82c7,'initialValue':_0x30ee97?_0x32dc36(_0x30ee97,_0x3ac144):'','onChange':(_0x538016,_0x29d252)=>_0x4c02c3(_0x29d252),'onFocusChange':_0x5a4fe3=>{_0x2d4fa5||_0x19ceb0(_0x5a4fe3);},'onRangeSelectorDialogVisibleChange':_0x1db02f=>{_0x377305(_0x1db02f),_0x19ceb0(_0x1db02f);}})]})});}function _0x5f0ff0(){const _0x14c0dd=_0x351b7e;let [_0x382c8a,_0x533f4e]=(0x0,_0xd79b15[_0x14c0dd(0x14d)])(_0x1e42e6['ChartEditPanelTab'][_0x14c0dd(0x2c4)]),_0x561d4c=(0x0,_0x4fef69[_0x14c0dd(0x2dc)])(_0xe0fba2[_0x14c0dd(0x44b)]),_0x4372fe=(0x0,_0x4fef69[_0x14c0dd(0x2dc)])(_0xe0fba2[_0x14c0dd(0x3f9)]),_0x38b7cf=(0x0,_0x4fef69['useDependency'])(_0x5d8988),_0x110077=(0x0,_0x4fef69[_0x14c0dd(0x2dc)])(_0x201ec2[_0x14c0dd(0x3bd)]),_0x1cd9ff=(0x0,_0x4fef69[_0x14c0dd(0x2dc)])(_0x201ec2['SheetsChartService']),_0x21585d=(0x0,_0x4fef69[_0x14c0dd(0x1e3)])(_0x110077[_0x14c0dd(0x1a8)],_0x110077[_0x14c0dd(0x267)]),_0x552c63=(0x0,_0x4fef69['useObservable'])(_0x38b7cf[_0x14c0dd(0x424)],null),_0x5276b1=(0x0,_0xd79b15['useMemo'])(()=>{const _0x3a54a2=_0x14c0dd;var _0x4718ff;if(!_0x21585d)return null;let _0x1cb92d=_0x1cd9ff['getChartSourceSpec'](_0x21585d['id']);if(!_0x1cb92d)return null;let _0x3e98d5=Array[_0x3a54a2(0xde)](_0x1cb92d)?(_0x4718ff=_0x1cb92d[0x0])==null?void 0x0:_0x4718ff['range']:_0x1cb92d['rangeInfo'];return _0x3e98d5?new _0x1e42e6[(_0x3a54a2(0x253))](_0x21585d,new _0x201ec2[(_0x3a54a2(0x200))]({'unitId':_0x3e98d5[_0x3a54a2(0x12d)],'subUnitId':_0x3e98d5[_0x3a54a2(0x2b0)],'chartId':_0x21585d['id'],'injector':_0x561d4c})):null;},[_0x21585d,_0x561d4c,_0x1cd9ff]);if((0x0,_0xd79b15[_0x14c0dd(0xf4)])(()=>{const _0x329569=_0x14c0dd;var _0x3f10ba,_0x2d30b1;_0x21585d&&(_0x552c63==null?void 0x0:_0x552c63[_0x329569(0x2ff)])===_0x21585d['id']&&(((_0x3f10ba=_0x552c63[_0x329569(0x1df)])==null?void 0x0:_0x3f10ba['tab'])===_0x1e42e6[_0x329569(0x428)]['Style']&&_0x533f4e(_0x1e42e6[_0x329569(0x428)]['Style']),((_0x2d30b1=_0x552c63[_0x329569(0x1df)])==null?void 0x0:_0x2d30b1[_0x329569(0x24c)])===_0x1e42e6['ChartEditPanelTab'][_0x329569(0x2c4)]&&_0x533f4e(_0x1e42e6[_0x329569(0x428)][_0x329569(0x2c4)]));},[_0x21585d,_0x552c63]),!_0x5276b1)return null;let _0x1a8d5b=(0x0,_0xc43640['jsx'])(_0x14c0dd(0x264),{'className':'univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','children':(0x0,_0xc43640[_0x14c0dd(0x3aa)])(_0x1e42e6[_0x14c0dd(0x210)],{'ariaLabel':_0x4372fe['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x382c8a,'onTabChange':_0x533f4e,'tabListClassName':_0x14c0dd(0x43c),'panelClassName':_0x382c8a===_0x1e42e6[_0x14c0dd(0x428)][_0x14c0dd(0xcd)]?_0x14c0dd(0x1bd):'univer-overflow-visible','tabs':[{'id':_0x1e42e6['ChartEditPanelTab'][_0x14c0dd(0x2c4)],'panelId':_0x14c0dd(0x3ae),'title':_0x4372fe['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0xc43640[_0x14c0dd(0x3aa)])(_0x119e72,{})},{'id':_0x1e42e6[_0x14c0dd(0x428)][_0x14c0dd(0xcd)],'panelId':_0x14c0dd(0x35e),'title':_0x4372fe['t'](_0x14c0dd(0x11a)),'content':(0x0,_0xc43640['jsx'])(_0x3e5160,{'defaultValues':_0x54e319})}]})});return(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x14c0dd(0x19b)],{'chartUIService':_0x38b7cf,'hostAdapter':_0x5276b1,'children':_0x1a8d5b});}let _0x2e5479=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x4d7844){const _0x36e9c5=_0x351b7e;super(),this['disposeWithMe'](_0x4d7844[_0x36e9c5(0x29b)](_0x3d7cdd,_0x5f0ff0));}};_0x2e5479=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2['Inject'])(_0x4fef69['ComponentManager']))],_0x2e5479);let _0x49abb4=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x1d3457,_0x2a5eb5,_0x14a3f1,_0x322c88,_0x1b733e,_0x5a628f,_0x33a624,_0x598011,_0x371e81){const _0x24e75f=_0x351b7e;super(),this['_drawingManagerService']=_0x1d3457,this[_0x24e75f(0x9d)]=_0x2a5eb5,this[_0x24e75f(0x259)]=_0x14a3f1,this['_menuManagerService']=_0x322c88,this['_sheetCanvasPopManagerService']=_0x1b733e,this[_0x24e75f(0x2d4)]=_0x5a628f,this[_0x24e75f(0x442)]=_0x33a624,this[_0x24e75f(0x404)]=_0x598011,this[_0x24e75f(0xf8)]=_0x371e81,_0x2d50c7(this,_0x24e75f(0xe4),null),_0x2d50c7(this,_0x24e75f(0x38f),!0x1),this['_initMenus']();}[_0x351b7e(0x183)](){const _0x43b4cf=_0x351b7e;this[_0x43b4cf(0x417)](),super[_0x43b4cf(0x183)]();}[_0x351b7e(0x3c7)](){const _0x2b3ec8=_0x351b7e;this['_panelInitialized']||(this[_0x2b3ec8(0x38f)]=!0x0,this[_0x2b3ec8(0x3f2)](this[_0x2b3ec8(0x2d4)][_0x2b3ec8(0x288)](_0x51a9c0=>{const _0x18d67b=_0x2b3ec8;if(_0x51a9c0['id']!==_0x577343['id'])return;let _0x3d9478=_0x51a9c0[_0x18d67b(0x1e0)];this[_0x18d67b(0x446)](_0x3d9478[_0x18d67b(0xa3)],_0x3d9478[_0x18d67b(0x1df)]);})));}[_0x351b7e(0x446)](_0x26ac0a,_0x1de945){const _0x27715d=_0x351b7e;let _0xf87529=this['_chartModelService'][_0x27715d(0x96)](_0x26ac0a);_0xf87529&&(this[_0x27715d(0x9d)][_0x27715d(0x410)](_0xf87529),this[_0x27715d(0x2f9)](),this[_0x27715d(0x442)]['setChartEditorOpen'](!0x0),this[_0x27715d(0x442)][_0x27715d(0x217)](_0x26ac0a,_0x1de945??null));}[_0x351b7e(0x417)](){const _0x1f396a=_0x351b7e;let _0x519c87=this[_0x1f396a(0xe4)];this[_0x1f396a(0xe4)]=null,this[_0x1f396a(0x3df)](),_0x519c87==null||_0x519c87['dispose']();}['_initMenus'](){const _0x293e66=_0x351b7e;this[_0x293e66(0x230)][_0x293e66(0x34e)]({[_0x4fef69[_0x293e66(0x3b0)]['MEDIA']]:{[_0x3b438b['id']]:{'order':0x4,'menuItemFactory':_0x3a6f3e}}}),this[_0x293e66(0x31a)][_0x293e66(0x199)](_0xe0fba2['DrawingTypeEnum'][_0x293e66(0x1af)],(_0x381e66,_0x5e793b,_0x3ce1e4,_0x2f1d55)=>[{'label':this[_0x293e66(0xf8)]['t']('sheets-chart-ui.common.editChart'),'index':0x0,'commandId':_0x577343['id'],'commandParams':{'unitId':_0x381e66,'subUnitId':_0x5e793b,'drawingId':_0x3ce1e4},'disable':_0x2f1d55!==_0xe0fba2[_0x293e66(0x371)][_0x293e66(0x1af)]},{'label':this['_localeService']['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x42712d['RemoveSheetDrawingCommand']['id'],'commandParams':{'unitId':_0x381e66,'drawings':[{'unitId':_0x381e66,'subUnitId':_0x5e793b,'drawingId':_0x3ce1e4,'drawingType':_0x2f1d55}]},'disable':!0x1}],_0x293e66(0x45c));}[_0x351b7e(0x2f9)](){const _0x1ecf8d=_0x351b7e;this[_0x1ecf8d(0xe4)]=this[_0x1ecf8d(0x259)][_0x1ecf8d(0x3c5)]({'id':_0x3d7cdd,'header':{'title':this[_0x1ecf8d(0xf8)]['t'](_0x1ecf8d(0x37f))},'children':{'label':_0x3d7cdd},'onClose':()=>{const _0x2f4624=_0x1ecf8d;this[_0x2f4624(0xe4)]=null,this[_0x2f4624(0x3df)]();}});}['_clearPanelState'](){const _0x1509d9=_0x351b7e;this['_sheetsChartUIService'][_0x1509d9(0x284)](!0x1),this[_0x1509d9(0x442)][_0x1509d9(0x2fb)](),this[_0x1509d9(0x9d)]['activeChartModel']&&this[_0x1509d9(0x9d)][_0x1509d9(0x410)](null),this['_drawingManagerService']['focusDrawing'](null),this['_contextService'][_0x1509d9(0x103)](_0xe0fba2[_0x1509d9(0x36e)],!0x1);}};_0x49abb4=_0x5a0cd2([_0x40aea1(0x0,_0x3543bc[_0x351b7e(0x101)]),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69[_0x351b7e(0x3a9)])),_0x40aea1(0x3,_0x4fef69[_0x351b7e(0x41a)]),_0x40aea1(0x4,(0x0,_0xe0fba2['Inject'])(_0x270231[_0x351b7e(0x1b6)])),_0x40aea1(0x5,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0x6,_0x5d8988),_0x40aea1(0x7,_0xe0fba2[_0x351b7e(0x19d)]),_0x40aea1(0x8,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2['LocaleService']))],_0x49abb4);let _0x2654df=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x45fac8,_0x4512de,_0x1b0568,_0x2955cc,_0x76cb59){const _0x241aaa=_0x351b7e;super(),this[_0x241aaa(0x2c5)]=_0x45fac8,this[_0x241aaa(0x98)]=_0x4512de,this[_0x241aaa(0x443)]=_0x1b0568,this[_0x241aaa(0x9d)]=_0x2955cc,this['_sheetsChartService']=_0x76cb59,_0x2d50c7(this,_0x241aaa(0x191),void 0x0),this[_0x241aaa(0x2ec)]();}get[_0x351b7e(0x2fa)](){const _0x28e00a=_0x351b7e;return this[_0x28e00a(0x443)][_0x28e00a(0x26f)]();}['_initCopyPaste'](){const _0x50d630=_0x351b7e;this['disposeWithMe'](this[_0x50d630(0x98)]['addClipboardHook']({'id':_0x201ec2[_0x50d630(0x121)],'onBeforeCopyFocusedObject':(_0x44085c,_0x21dbb9,_0x283623)=>{const _0x5f15b2=_0x50d630;this[_0x5f15b2(0x191)]=null;let _0x2b82d2=this[_0x5f15b2(0x2fa)][_0x5f15b2(0x286)](_0xe52783=>this[_0x5f15b2(0x13d)](_0xe52783));return _0x2b82d2['length']!==0x0&&(this['_copyInfo']={'unitId':_0x44085c,'subUnitId':_0x21dbb9,'copyType':_0x283623,'drawings':_0x2b82d2},!0x0);},'onBeforeCopy':(_0x56a52c,_0x4152de,_0x173e4d,_0x537940)=>{this['_copyInfo']=null,this['_createCopyInfoByRange'](_0x56a52c,_0x4152de,_0x173e4d,_0x537940);},'onPasteCells':(_0x597d59,_0xd429dc,_0x8dd969,_0x425006)=>{const _0xbe99b4=_0x50d630;if(!_0x425006[_0xbe99b4(0x1f5)]||!_0x597d59||!this[_0xbe99b4(0x191)])return{'redos':[],'undos':[]};let {pasteType:_0x4e22e2}=_0x425006;return _0x4e22e2===_0x270231[_0xbe99b4(0x1f4)]['DEFAULT_PASTE']?this['_generatePasteMutations'](_0xd429dc,this['_copyInfo'][_0xbe99b4(0x3f4)]===_0x270231[_0xbe99b4(0x33d)][_0xbe99b4(0x2ad)]):{'redos':[],'undos':[]};}}));}['_createCopyInfoByRange'](_0xa16d3d,_0x174444,_0x5af534,_0x15223c){const _0xa1a824=_0x351b7e;let _0xef40e0=this[_0xa1a824(0x2c5)]['getSkeleton'](_0xa16d3d,_0x174444);if(!_0xef40e0)return;let _0x54922c=(0x0,_0x2e7a19[_0xa1a824(0xe0)])(_0xef40e0,_0x5af534);if(!_0x54922c)return;let {startX:_0x1c4a51,endX:_0x16a426,startY:_0x149a46,endY:_0x3b9c69}=_0x54922c,_0x5e3010=this[_0xa1a824(0x443)][_0xa1a824(0x328)](_0xa16d3d,_0x174444),_0x1bd84e=[];for(let [_0x55f997,_0x2c5292]of Object[_0xa1a824(0xbe)](_0x5e3010)){if(!this[_0xa1a824(0x13d)](_0x2c5292))continue;let {transform:_0x2a2dbc}=_0x2c5292;if(!_0x2a2dbc)continue;let {left:_0x20d6f9=0x0,top:_0x1f4eae=0x0,width:_0xdea720=0x0,height:_0x579e77=0x0}=_0x2a2dbc;_0x1c4a51<=_0x20d6f9&&_0x16a426>=_0x20d6f9+_0xdea720&&_0x149a46<=_0x1f4eae&&_0x3b9c69>=_0x1f4eae+_0x579e77&&_0x1bd84e[_0xa1a824(0x3d8)](_0x2c5292);}_0x1bd84e[_0xa1a824(0x1fd)]>0x0&&(this[_0xa1a824(0x191)]={'unitId':_0xa16d3d,'subUnitId':_0x174444,'copyType':_0x15223c,'copyRange':_0x5af534,'drawings':_0x1bd84e});}[_0x351b7e(0x13d)](_0x268cd2){const _0x5aed32=_0x351b7e;return _0x268cd2[_0x5aed32(0x405)]===_0xe0fba2[_0x5aed32(0x371)]['DRAWING_CHART']&&this[_0x5aed32(0x3b1)][_0x5aed32(0x192)](_0x268cd2[_0x5aed32(0x12d)],_0x268cd2['drawingId'])===_0x268cd2[_0x5aed32(0x2b0)];}[_0x351b7e(0x1cf)](_0x33febb,_0x46b759){const _0x174b83=_0x351b7e;let {unitId:_0x5cabec,subUnitId:_0x344c49,range:_0x4fb11}=_0x33febb,_0x46ae26=this[_0x174b83(0x2c5)][_0x174b83(0x37e)](_0x5cabec,_0x344c49);if(!_0x46ae26)return{'redos':[],'undos':[]};let _0x3b9675=(0x0,_0x2e7a19['discreteRangeToRange'])(_0x4fb11),{unitId:_0x509364,subUnitId:_0x48609c,copyRange:_0x4e3f83,drawings:_0x553a33}=this[_0x174b83(0x191)],_0x109206=this[_0x174b83(0x2c5)][_0x174b83(0x37e)](_0x509364,_0x48609c);if(!_0x109206)return{'redos':[],'undos':[]};let _0x310d56=[],_0x927b59=[];for(let _0x41a6f3 of _0x553a33){let {drawingId:_0xb4c4d5,transform:_0x5424be,sheetTransform:_0xed37a0}=_0x41a6f3,_0x29df93=this[_0x174b83(0x9d)][_0x174b83(0x96)](_0xb4c4d5);if(!_0x29df93||!_0x5424be||!_0xed37a0)continue;let _0x2a5b88=this[_0x174b83(0x320)]({'transform':_0x5424be,'sheetTransform':_0xed37a0},{'skeleton':_0x109206,'range':_0x4e3f83},{'skeleton':_0x46ae26,'range':_0x3b9675});if(_0x46b759){let {redos:_0x307a71,undos:_0x1fb2ff}=this[_0x174b83(0x384)]({'fromUnitId':_0x509364,'fromSubUnitId':_0x48609c,'toUnitId':_0x5cabec,'toSubUnitId':_0x344c49,'drawing':_0x41a6f3,'newTransforms':_0x2a5b88},_0x29df93);_0x310d56[_0x174b83(0x3d8)](..._0x307a71),_0x927b59[_0x174b83(0x3d8)](..._0x1fb2ff);continue;}let {redos:_0x3fd09f,undos:_0x53753d}=this[_0x174b83(0x318)]({'toUnitId':_0x5cabec,'toSubUnitId':_0x344c49,'drawing':_0x41a6f3,'newTransforms':_0x2a5b88},_0x29df93);_0x310d56[_0x174b83(0x3d8)](..._0x3fd09f),_0x927b59[_0x174b83(0x3d8)](..._0x53753d);}return{'redos':_0x310d56,'undos':_0x927b59};}[_0x351b7e(0x384)](_0x1299b8,_0x4ccc14){const _0x106edb=_0x351b7e;let {fromUnitId:_0x3d37c2,fromSubUnitId:_0x448782,toUnitId:_0x50a41d,toSubUnitId:_0x1b0831,drawing:_0x64dd13,newTransforms:_0x23a900}=_0x1299b8,_0x26c606={..._0x64dd13,'unitId':_0x50a41d,'subUnitId':_0x1b0831,'transform':_0x23a900['transform'],'sheetTransform':_0x23a900[_0x106edb(0xab)]};if(_0x50a41d===_0x3d37c2&&_0x1b0831===_0x448782){let {redo:_0x4d25c3,undo:_0x3f158f,objects:_0x38b90a}=this[_0x106edb(0x443)][_0x106edb(0x18e)]([_0x26c606]);return{'redos':[{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x28d)],'op':_0x4d25c3,'objects':_0x38b90a}}],'undos':[{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x28d)],'op':_0x3f158f,'objects':_0x38b90a}}]};}{let _0x431b33=this[_0x106edb(0x443)][_0x106edb(0x17c)]([_0x64dd13]),_0x7a24d3=this[_0x106edb(0x443)][_0x106edb(0x95)]([_0x26c606]),_0x43750a=this[_0x106edb(0x3b1)][_0x106edb(0x29a)](_0x4ccc14['id']);if(!_0x43750a)return{'redos':[],'undos':[]};let {chartType:_0x57f714,context:_0x26ee3e,style:_0x12a4cf,dataAggregation:_0x16f070}=_0x4ccc14[_0x106edb(0x185)]();return{'redos':[{'id':_0x42712d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3d37c2,'subUnitId':_0x448782,'type':_0x42712d['DrawingApplyType']['REMOVE'],'op':_0x431b33[_0x106edb(0x322)],'objects':_0x431b33[_0x106edb(0x214)]}},{'id':_0x201ec2['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x3d37c2,'subUnitId':_0x448782,'chartId':_0x64dd13['drawingId']}},{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x46a)],'op':_0x7a24d3[_0x106edb(0x322)],'objects':_0x7a24d3[_0x106edb(0x214)]}},{'id':_0x201ec2['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'chartId':_0x64dd13[_0x106edb(0xa3)],'chartType':_0x57f714,...(0x0,_0x201ec2['toInsertChartMutationSource'])(_0x43750a),'context':_0x26ee3e,'style':_0x12a4cf,'dataAggregation':_0x16f070}}],'undos':[{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x3d37c2,'subUnitId':_0x448782,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x46a)],'op':_0x431b33[_0x106edb(0x235)],'objects':_0x431b33[_0x106edb(0x214)]}},{'id':_0x201ec2[_0x106edb(0x24d)]['id'],'params':{'unitId':_0x3d37c2,'subUnitId':_0x448782,'chartId':_0x64dd13[_0x106edb(0xa3)],'chartType':_0x57f714,...(0x0,_0x201ec2['toInsertChartMutationSource'])(_0x43750a),'context':_0x26ee3e,'style':_0x12a4cf,'dataAggregation':_0x16f070}},{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x167)],'op':_0x7a24d3[_0x106edb(0x235)],'objects':_0x7a24d3[_0x106edb(0x214)]}},{'id':_0x201ec2[_0x106edb(0x2bb)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'chartId':_0x64dd13[_0x106edb(0xa3)]}}]};}}[_0x351b7e(0x318)](_0x22a799,_0x9ef554){const _0xdcd927=_0x351b7e;let {toUnitId:_0x2066a8,toSubUnitId:_0x3dd243,drawing:_0x4da59b,newTransforms:_0x409862}=_0x22a799,_0x39e71f=(0x0,_0xe0fba2[_0xdcd927(0x27d)])(),_0xc6bcb2={..._0x4da59b,'unitId':_0x2066a8,'subUnitId':_0x3dd243,'drawingId':_0x39e71f,'transform':_0x409862['transform'],'sheetTransform':_0x409862[_0xdcd927(0xab)]},{redo:_0x12033d,undo:_0x34923d,objects:_0x51eb5c}=this['_sheetDrawingService'][_0xdcd927(0x95)]([_0xc6bcb2]),_0x1cdd49=this[_0xdcd927(0x3b1)][_0xdcd927(0x29a)](_0x9ef554['id']);if(!_0x1cdd49)return{'redos':[],'undos':[]};let {chartType:_0x2470e8,context:_0x5bd0cf,style:_0x4d3ba0,dataAggregation:_0x2f5773}=_0x9ef554['serialize']();return{'redos':[{'id':_0x42712d[_0xdcd927(0x27c)]['id'],'params':{'unitId':_0x2066a8,'subUnitId':_0x3dd243,'type':_0x42712d['DrawingApplyType'][_0xdcd927(0x46a)],'op':_0x12033d,'objects':_0x51eb5c}},{'id':_0x201ec2['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x2066a8,'subUnitId':_0x3dd243,'chartId':_0x39e71f,'chartType':_0x2470e8,...(0x0,_0x201ec2[_0xdcd927(0x2ac)])(_0x1cdd49),'context':_0x5bd0cf,'style':_0x4d3ba0,'dataAggregation':_0x2f5773}}],'undos':[{'id':_0x42712d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2066a8,'subUnitId':_0x3dd243,'type':_0x42712d[_0xdcd927(0x306)][_0xdcd927(0x167)],'op':_0x34923d,'objects':_0x51eb5c}},{'id':_0x201ec2['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x2066a8,'subUnitId':_0x3dd243,'chartId':_0x39e71f}}]};}[_0x351b7e(0x320)](_0x320ba2,_0x332f2b,_0x44ff2d){const _0xb0887e=_0x351b7e;let {range:_0x435706,skeleton:_0x1f67c6}=_0x332f2b,{range:_0x321e06,skeleton:_0x447963}=_0x44ff2d,{transform:_0x3c6560,sheetTransform:_0x3146e4}=_0x320ba2,_0x21b695={..._0x3c6560};if(_0x435706){let _0x99a08a=(0x0,_0x2e7a19[_0xb0887e(0xe0)])(_0x1f67c6,_0x435706),_0x48347f=(0x0,_0x2e7a19[_0xb0887e(0xe0)])(_0x447963,_0x321e06);if(_0x99a08a&&_0x48347f){let _0xb98669=_0x48347f[_0xb0887e(0x261)]-_0x99a08a['startX'],_0x3d86ed=_0x48347f[_0xb0887e(0x137)]-_0x99a08a[_0xb0887e(0x137)];_0x21b695[_0xb0887e(0x150)]=(_0x21b695[_0xb0887e(0x150)]??0x0)+_0xb98669,_0x21b695[_0xb0887e(0x195)]=(_0x21b695[_0xb0887e(0x195)]??0x0)+_0x3d86ed;}}else{let _0x590308=(0x0,_0x2e7a19['attachRangeWithCoord'])(_0x447963,_0x321e06);_0x21b695['left']=_0x590308==null?void 0x0:_0x590308[_0xb0887e(0x261)],_0x21b695[_0xb0887e(0x195)]=_0x590308==null?void 0x0:_0x590308['startY'];}return{'transform':_0x21b695,'sheetTransform':(0x0,_0x42712d[_0xb0887e(0x303)])(_0x21b695,_0x447963)??_0x3146e4};}};_0x2654df=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x2e7a19[_0x351b7e(0x10a)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x270231[_0x351b7e(0x475)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x42712d[_0x351b7e(0x22b)])),_0x40aea1(0x3,(0x0,_0xe0fba2['Inject'])(_0x201ec2['ChartModelService'])),_0x40aea1(0x4,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x36a)]))],_0x2654df);let _0xa422fb=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0xadab52,_0x573bb3,_0x142339,_0x4e62d9){const _0x3361a6=_0x351b7e;super(),this[_0x3361a6(0x2d4)]=_0xadab52,this[_0x3361a6(0xf8)]=_0x573bb3,this[_0x3361a6(0x23f)]=_0x142339,this[_0x3361a6(0x3b1)]=_0x4e62d9,this['_initPermission']();}['_initPermission'](){const _0x2f8a3b=_0x351b7e;this[_0x2f8a3b(0x3f2)](this[_0x2f8a3b(0x2d4)]['beforeCommandExecuted'](_0x5af403=>{const _0x259173=_0x2f8a3b;let _0x46ebfc,_0x314e76;if(_0x5af403['id']===_0x201ec2[_0x259173(0x16f)]['id']){let _0x128904=_0x5af403[_0x259173(0x1e0)];_0x46ebfc=_0x128904['unitId'],_0x314e76=_0x128904['subUnitId'];}else{if(_0x5af403['id']===_0x201ec2[_0x259173(0x398)]['id']||_0x5af403['id']===_0x201ec2[_0x259173(0xe2)]['id']){let _0x4ed4bf=_0x5af403[_0x259173(0x1e0)];_0x46ebfc=_0x4ed4bf[_0x259173(0x12d)],_0x314e76=this['_sheetsChartService']['getSubUnitId'](_0x4ed4bf[_0x259173(0x12d)],_0x4ed4bf['chartModelId']);}}_0x46ebfc&&_0x314e76&&(this[_0x259173(0x23f)][_0x259173(0x281)]({'workbookTypes':[_0x2e7a19[_0x259173(0x117)]],'worksheetTypes':[_0x2e7a19[_0x259173(0x25f)]]},_0x46ebfc,_0x314e76)||this[_0x259173(0x23f)][_0x259173(0x2a6)](this[_0x259173(0xf8)]['t'](_0x259173(0x381))));}));}};_0xa422fb=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x370)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x3f9)])),_0x40aea1(0x2,(0x0,_0xe0fba2['Inject'])(_0x2e7a19['SheetPermissionCheckController'])),_0x40aea1(0x3,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2['SheetsChartService']))],_0xa422fb);let _0x107397=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x5c6717,_0x28681e){const _0x429435=_0x351b7e;super(),this['_renderService']=_0x28681e,this[_0x429435(0x3f2)](_0x5c6717[_0x429435(0x29b)](this));}[_0x351b7e(0x2bd)](_0x2ebec7){const _0x371f4b=_0x351b7e;return _0x371f4b(0x12d)in _0x2ebec7&&_0x371f4b(0x2b0)in _0x2ebec7;}['exportImage'](_0x4d8963,_0x204d5e){const _0x13c45d=_0x351b7e;return this[_0x13c45d(0x431)][_0x13c45d(0x3db)](_0x4d8963['getId'](),_0x204d5e);}};_0x107397=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2['Inject'])(_0x1e42e6[_0x351b7e(0x394)])),_0x40aea1(0x1,(0x0,_0xe0fba2['Inject'])(_0x591b5a))],_0x107397);let _0x2b5a1c=class extends _0xe0fba2[_0x351b7e(0x392)]{constructor(_0x2914a7=_0x241941,_0x29b985,_0x21bac0,_0x51771b){const _0x23b427=_0x351b7e;super(),this[_0x23b427(0x2cd)]=_0x2914a7,this[_0x23b427(0x1f0)]=_0x29b985,this[_0x23b427(0xfe)]=_0x21bac0,this[_0x23b427(0x2d4)]=_0x51771b;let {..._0x1eca99}=(0x0,_0xe0fba2[_0x23b427(0x16a)])({},_0x241941,this['_config']);this[_0x23b427(0xfe)][_0x23b427(0x360)](_0x55aca2,_0x1eca99),this[_0x23b427(0x2c3)]();}[_0x351b7e(0x125)](){const _0x57bdc4=_0x351b7e;let _0x179906=[[_0x2e5479],[_0x5d8988,{'useClass':_0x434bb3}],[_0x57a861,{'useClass':_0x1a5ddf}],[_0x5736e0],[_0x591b5a],[_0x107397],[_0x49abb4],[_0x1eb24a],[_0x3d0520],[_0x2654df],[_0x24189e],[_0xa422fb]],_0x36fff2=[[_0x2e5479],[_0x49abb4],[_0x3d0520],[_0x1eb24a],[_0x107397],[_0x5d8988],[_0x2654df],[_0x24189e],[_0xa422fb]];_0x179906['forEach'](_0x516136=>this[_0x57bdc4(0x1f0)][_0x57bdc4(0x429)](_0x516136)),(0x0,_0xe0fba2[_0x57bdc4(0x37c)])(this[_0x57bdc4(0x1f0)],_0x36fff2);}[_0x351b7e(0x3e1)](){const _0x31351c=_0x351b7e;var _0x2c6749;(_0x2c6749=this[_0x31351c(0x1f0)][_0x31351c(0x1aa)](_0x49abb4))==null||_0x2c6749[_0x31351c(0x3c7)]();}[_0x351b7e(0x2c3)](){const _0x4f7069=_0x351b7e;[_0x3b438b,_0x577343][_0x4f7069(0x120)](_0x5103e9=>this[_0x4f7069(0x3f2)](this[_0x4f7069(0x2d4)]['registerCommand'](_0x5103e9)));}};_0x2d50c7(_0x2b5a1c,_0x351b7e(0x441),_0xe0fba2[_0x351b7e(0x282)][_0x351b7e(0x3fd)]),_0x2d50c7(_0x2b5a1c,_0x351b7e(0x3a2),'UniverSheetsChartUIPlugin'),_0x2d50c7(_0x2b5a1c,_0x351b7e(0x13f),_0x47d7f2),_0x2d50c7(_0x2b5a1c,_0x351b7e(0x2df),_0x3b3a89),_0x2b5a1c=_0x5a0cd2([(0x0,_0xe0fba2[_0x351b7e(0xdf)])(_0x45eba4[_0x351b7e(0x32a)],_0x3543bc['UniverDrawingPlugin'],_0x120bdc[_0x351b7e(0x290)],_0x2e7a19['UniverSheetsPlugin'],_0x42712d[_0x351b7e(0x3b5)],_0x1e42e6[_0x351b7e(0x450)],_0x201ec2[_0x351b7e(0x3d1)],_0x102b65['UniverSheetsDrawingMobileUIPlugin'],_0x270231['UniverSheetsMobileUIPlugin'],_0x4fef69[_0x351b7e(0x432)]),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2['Injector'])),_0x40aea1(0x2,_0xe0fba2[_0x351b7e(0x42c)]),_0x40aea1(0x3,_0xe0fba2[_0x351b7e(0x370)])],_0x2b5a1c);let _0x5559b2={'scaleX':0x1,'scaleY':0x1};function _0x50e347(_0x17674c){let _0x30c22c=_0x17674c['nativeEvent'];return _0x30c22c instanceof MouseEvent?_0x30c22c:void 0x0;}function _0x3276a5(_0x3b4867){const _0x3348a9=_0x351b7e;let _0x9f6568=_0x3b4867[_0x3348a9(0x3d4)],_0x724cd1=_0x9f6568==null?void 0x0:_0x9f6568[_0x3348a9(0x1b3)];return _0x724cd1 instanceof Element?_0x724cd1:void 0x0;}function _0x11a3d5(_0x29476f){const _0xbcbd37=_0x351b7e;var _0x4e161d;return(_0x4e161d=_0x3276a5(_0x29476f))==null?void 0x0:_0x4e161d[_0xbcbd37(0x452)]();}function _0x52f231(_0x29aaca){const _0x4b8dee=_0x351b7e;return _0x29aaca[_0x4b8dee(0x2aa)]||_0x29aaca[_0x4b8dee(0x19a)]-_0x29aaca[_0x4b8dee(0x150)];}function _0x2ab28a(_0x54ea8d){const _0x9dc23=_0x351b7e;return _0x54ea8d[_0x9dc23(0x196)]||_0x54ea8d[_0x9dc23(0x2c9)]-_0x54ea8d['top'];}function _0x2dbec1(_0x24fd42,_0x4f15ff){const _0x140fe9=_0x351b7e;let _0x3d48bb=_0x24fd42[_0x140fe9(0x1cb)]||(_0x24fd42 instanceof HTMLElement?_0x24fd42['offsetWidth']:0x0),_0x15aabc=_0x24fd42[_0x140fe9(0x142)]||(_0x24fd42 instanceof HTMLElement?_0x24fd42[_0x140fe9(0x126)]:0x0),_0x1bd868=_0x52f231(_0x4f15ff),_0x592d4b=_0x2ab28a(_0x4f15ff);return{'scaleX':_0x3d48bb>0x0&&_0x1bd868>0x0?_0x1bd868/_0x3d48bb:_0x5559b2[_0x140fe9(0x224)],'scaleY':_0x15aabc>0x0&&_0x592d4b>0x0?_0x592d4b/_0x15aabc:_0x5559b2[_0x140fe9(0x17e)]};}function _0x4b8630(_0x2da331,_0x476243,_0x38afc8){const _0x8537ef=_0x351b7e;return{'left':_0x2da331[_0x8537ef(0x150)]+_0x476243['left']*_0x38afc8[_0x8537ef(0x224)],'right':_0x2da331[_0x8537ef(0x150)]+_0x476243[_0x8537ef(0x19a)]*_0x38afc8[_0x8537ef(0x224)],'top':_0x2da331[_0x8537ef(0x195)]+_0x476243[_0x8537ef(0x195)]*_0x38afc8['scaleY'],'bottom':_0x2da331[_0x8537ef(0x195)]+_0x476243[_0x8537ef(0x2c9)]*_0x38afc8[_0x8537ef(0x17e)]};}function _0x2ffd81(_0x2046d8){const _0x29882a=_0x351b7e;let _0x374a7e=_0x3276a5(_0x2046d8),_0x1dec87=_0x2046d8[_0x29882a(0x2cf)][_0x29882a(0x181)];if(_0x374a7e&&_0x1dec87){let _0xaee01=_0x374a7e[_0x29882a(0x452)]();return()=>{const _0x290f65=_0x29882a;let _0x18d151=_0x374a7e[_0x290f65(0x452)]();return(_0x374a7e[_0x290f65(0x366)]||_0x52f231(_0x18d151)>0x0||_0x2ab28a(_0x18d151)>0x0)&&(_0xaee01=_0x18d151),_0x4b8630(_0xaee01,_0x1dec87,_0x2dbec1(_0x374a7e,_0xaee01));};}return()=>{const _0x219971=_0x29882a;let _0x437906=_0x11a3d5(_0x2046d8);if(_0x437906&&_0x1dec87)return _0x4b8630(_0x437906,_0x1dec87,_0x374a7e?_0x2dbec1(_0x374a7e,_0x437906):_0x5559b2);let _0x4f9a05=_0x50e347(_0x2046d8),_0x25eaf7=_0x374a7e&&_0x437906?_0x2dbec1(_0x374a7e,_0x437906):_0x5559b2,_0x37a50d=(_0x4f9a05==null?void 0x0:_0x4f9a05['clientX'])??(_0x437906?_0x437906[_0x219971(0x150)]+_0x2046d8[_0x219971(0x2de)]['x']*_0x25eaf7[_0x219971(0x224)]:_0x2046d8['localPoint']['x']),_0x4b4932=(_0x4f9a05==null?void 0x0:_0x4f9a05[_0x219971(0x3b9)])??(_0x437906?_0x437906[_0x219971(0x195)]+_0x2046d8[_0x219971(0x2de)]['y']*_0x25eaf7[_0x219971(0x17e)]:_0x2046d8[_0x219971(0x2de)]['y']);return{'left':_0x37a50d,'right':_0x37a50d+0x1,'top':_0x4b4932,'bottom':_0x4b4932+0x1};};}function _0x4f9bee(_0x1d4da9){const _0x5db29b=_0x351b7e;return typeof _0x1d4da9==_0x5db29b(0x226)&&Number[_0x5db29b(0xd4)](_0x1d4da9);}function _0x2f2562(_0x37e4d9){const _0x5f0e31=_0x351b7e;if(!_0x37e4d9||typeof _0x37e4d9!=_0x5f0e31(0x164))return!0x0;let {startX:_0x43a0c5,endX:_0x301fa8,startY:_0x4c3707,endY:_0x5b5e1b}=_0x37e4d9;return!_0x4f9bee(_0x43a0c5)||!_0x4f9bee(_0x301fa8)||!_0x4f9bee(_0x4c3707)||!_0x4f9bee(_0x5b5e1b)||_0x301fa8-_0x43a0c5>0x2&&_0x5b5e1b-_0x4c3707>0x2;}function _0x567c3a(_0x4eeee8){const _0x24efab=_0x351b7e;return _0x4eeee8['right']<=_0x4eeee8[_0x24efab(0x150)]||_0x4eeee8[_0x24efab(0x2c9)]<=_0x4eeee8[_0x24efab(0x195)]?!0x1:typeof window>'u'||_0x4eeee8[_0x24efab(0x19a)]>0x0&&_0x4eeee8['bottom']>0x0&&_0x4eeee8[_0x24efab(0x150)]<window[_0x24efab(0x260)]&&_0x4eeee8[_0x24efab(0x195)]<window[_0x24efab(0x20a)];}function _0x5821b7(_0x3f242d){const _0x11ea15=_0x351b7e;var _0x33b999;return _0x3f242d==null||(_0x33b999=_0x3f242d[_0x11ea15(0x3ec)])==null?void 0x0:_0x33b999[_0x11ea15(0x406)](_0x3f242d);}function _0x6db41f(_0x5b0329,_0x5d9291,_0xf7ea58){const _0x18d18e=_0x351b7e;let _0x4d4530=_0x2ffd81(_0x5b0329),_0x4373e1=_0x5821b7(_0x5d9291),_0x3fe06f=_0x4d4530(),_0x52f6c2=new _0x1a141d[(_0x18d18e(0x197))](_0x3fe06f),_0x4f0fa3=new _0xe0fba2[(_0x18d18e(0x30c))](),_0xc64465=!0x1,_0x237d1e=!0x1,_0x58205f=_0x581c60=>_0x2f2562(_0x4373e1)&&_0x567c3a(_0x581c60),_0x3619b6=()=>{_0x237d1e||_0xc64465||(_0x237d1e=!0x0,queueMicrotask(()=>{if(_0x237d1e=!0x1,!_0xc64465){let _0x105884=_0x4d4530();if(!_0x58205f(_0x105884)){_0xf7ea58();return;}_0x52f6c2['next'](_0x105884);}}));};return _0x5d9291&&_0x4f0fa3[_0x18d18e(0x429)](_0x5d9291['subscribe'](_0x3cb52e=>{_0x4373e1=_0x3cb52e,_0x3619b6();})),typeof window<'u'&&_0x4f0fa3[_0x18d18e(0x429)]((0x0,_0x1a141d['merge'])((0x0,_0x1a141d[_0x18d18e(0x188)])(window,_0x18d18e(0x2e8),{'capture':!0x0}),(0x0,_0x1a141d[_0x18d18e(0x188)])(window,'resize'))[_0x18d18e(0x1a6)]((0x0,_0x1a141d[_0x18d18e(0x36d)])(0x10))['subscribe'](_0x3619b6)),{'initialRect':_0x3fe06f,'anchorRect$':_0x52f6c2[_0x18d18e(0x3fb)](),'visible':_0x58205f(_0x3fe06f),'dispose':()=>{const _0x26d324=_0x18d18e;_0xc64465=!0x0,_0x4f0fa3['dispose'](),_0x52f6c2[_0x26d324(0x1f7)]();}};}let _0x17cbb4=_0x351b7e(0x16d),_0x1da5a6=class extends _0xe0fba2['Disposable']{constructor(_0x30302a,_0xb3ca27,_0x579a77,_0x2a2c64,_0x1b6f43,_0x50c8c3,_0x35c72f,_0x1205a0,_0x5e20eb){const _0x11ff8c=_0x351b7e;super(),this[_0x11ff8c(0x9d)]=_0x30302a,this[_0x11ff8c(0x2ea)]=_0xb3ca27,this[_0x11ff8c(0x1d3)]=_0x579a77,this[_0x11ff8c(0x31a)]=_0x2a2c64,this['_sheetCanvasFloatDomManagerService']=_0x1b6f43,this[_0x11ff8c(0x46e)]=_0x50c8c3,this[_0x11ff8c(0x251)]=_0x35c72f,this['_commandService']=_0x1205a0,this[_0x11ff8c(0x1f0)]=_0x5e20eb,_0x2d50c7(this,_0x11ff8c(0x377),null),_0x2d50c7(this,_0x11ff8c(0x462),null),_0x2d50c7(this,'_popupSessionKey',null),this[_0x11ff8c(0x3e0)](),this[_0x11ff8c(0xa7)]();}[_0x351b7e(0x183)](){const _0x409676=_0x351b7e;this['_closePopup'](),super[_0x409676(0x183)]();}[_0x351b7e(0x3e0)](){const _0x346308=_0x351b7e;let _0x3c8245=(0x0,_0x1e42e6[_0x346308(0x350)])({'chartUIService':this[_0x346308(0x46e)],'getHostAdapter':_0x1ede8d=>{const _0x1f3807=_0x346308;let _0x5b472b=this[_0x1f3807(0x9d)][_0x1f3807(0x96)](_0x1ede8d[_0x1f3807(0x2ff)]);if(_0x5b472b&&_0x1ede8d['subUnitId'])return new _0x1e42e6['ChartHostAdapter'](_0x5b472b,new _0x201ec2[(_0x1f3807(0x200))]({'unitId':_0x1ede8d['unitId'],'subUnitId':_0x1ede8d[_0x1f3807(0x2b0)],'chartId':_0x1ede8d['chartId'],'injector':this[_0x1f3807(0x1f0)]}));},'close':()=>this[_0x346308(0x44f)](),'openFullPanel':_0x9c0bbd=>{const _0x1e0897=_0x346308;let {unitId:_0x336d5c,subUnitId:_0x1ce544,drawingId:_0x579d1e,chartId:_0xfb0a85}=_0x9c0bbd,_0x176dd3=(0x0,_0x1e42e6['resolveChartEditPanelRoute'])(_0x9c0bbd[_0x1e0897(0x1b3)]);this[_0x1e0897(0x2d4)][_0x1e0897(0x463)](_0x577343['id'],{'unitId':_0x336d5c,'subUnitId':_0x1ce544??'','drawingId':_0x579d1e??_0xfb0a85,..._0x176dd3?{'route':_0x176dd3}:{}});}});this[_0x346308(0x3f2)](this['_adapterRegistry'][_0x346308(0x29b)](_0x17cbb4,_0x3c8245));}['_subscribeChartEvents'](){const _0x2b56b6=_0x351b7e;this[_0x2b56b6(0x3f2)](this['_chartModelService'][_0x2b56b6(0x3cc)]['subscribe'](_0x4ab7bc=>{const _0x51c8a3=_0x2b56b6;let _0x17e59e=new _0xe0fba2[(_0x51c8a3(0x30c))]();_0x17e59e[_0x51c8a3(0x429)](this[_0x51c8a3(0x2ea)]['on'](_0x4ab7bc['id'],_0x51c8a3(0x30e),_0x37047c=>{this['_openFloatMenu'](_0x4ab7bc['id'],_0x37047c);})),_0x17e59e[_0x51c8a3(0x429)](this[_0x51c8a3(0x2ea)]['on'](_0x4ab7bc['id'],_0x51c8a3(0x2a2),()=>{const _0x34e9f2=_0x51c8a3;this[_0x34e9f2(0x37d)](_0x4ab7bc['id']);})),_0x4ab7bc[_0x51c8a3(0x376)](()=>{const _0x1f0df9=_0x51c8a3;_0x17e59e['dispose'](),this[_0x1f0df9(0x3bf)](_0x4ab7bc['id']);}),this[_0x51c8a3(0x3f2)](_0x17e59e);})),this[_0x2b56b6(0x3f2)]((0x0,_0x1a141d[_0x2b56b6(0xb7)])([this[_0x2b56b6(0x9d)][_0x2b56b6(0x1a8)],this[_0x2b56b6(0x46e)][_0x2b56b6(0x32b)]])[_0x2b56b6(0x1b5)](([_0x49b015,_0x2b1c9a])=>{const _0x31a01f=_0x2b56b6;(!_0x2b1c9a||this['_popupChartId']&&(_0x49b015==null?void 0x0:_0x49b015['id'])!==this['_popupChartId'])&&this[_0x31a01f(0x44f)]();})),this[_0x2b56b6(0x3f2)](this[_0x2b56b6(0x2f2)]['transformChange$'][_0x2b56b6(0x1b5)](({id:_0x30d2d4})=>{const _0x516813=_0x2b56b6;this[_0x516813(0x3bf)](_0x30d2d4);})),this[_0x2b56b6(0x3f2)](this[_0x2b56b6(0x2f2)][_0x2b56b6(0x2fc)]['subscribe'](({id:_0x2de9c5})=>{this['_clearSelectedTarget'](_0x2de9c5);})),this[_0x2b56b6(0x3f2)](this[_0x2b56b6(0x1d3)][_0x2b56b6(0x337)][_0x2b56b6(0x1b5)](_0x3f8d67=>{const _0x568714=_0x2b56b6;this[_0x568714(0x3bf)](_0x3f8d67);}));}[_0x351b7e(0x37d)](_0x3eed59){const _0x1415a2=_0x351b7e;if(this['_chartUIService']['chartEditorOpen'])return;let _0x3db96b=this[_0x1415a2(0x9d)][_0x1415a2(0x96)](_0x3eed59),_0x4cbef6=this[_0x1415a2(0x2f2)][_0x1415a2(0xcb)](_0x3eed59);_0x3db96b&&_0x4cbef6&&this[_0x1415a2(0x2d4)][_0x1415a2(0x463)](_0x577343['id'],{'unitId':_0x4cbef6['unitId'],'subUnitId':_0x4cbef6[_0x1415a2(0x2b0)]??'','drawingId':_0x3eed59});}[_0x351b7e(0x20b)](_0x57be06,_0x13a349){const _0x15ae66=_0x351b7e;if(!this[_0x15ae66(0x46e)][_0x15ae66(0xbd)](_0x57be06))return;let _0x399c4b=this[_0x15ae66(0x9d)]['getChartModel'](_0x57be06),_0x222d46=_0x399c4b?_0xb6de24(_0x399c4b,_0x13a349[_0x15ae66(0x2cf)]):void 0x0;if(!_0x222d46){this[_0x15ae66(0x46e)][_0x15ae66(0x2fb)](),this[_0x15ae66(0x44f)]();return;}let _0x203cd1=this[_0x15ae66(0x2f2)][_0x15ae66(0xcb)](_0x57be06);if(!_0x399c4b||!_0x203cd1){this[_0x15ae66(0x46e)][_0x15ae66(0x2fb)](),this[_0x15ae66(0x44f)]();return;}let _0x4da060=JSON['stringify']([_0x203cd1[_0x15ae66(0x12d)],_0x203cd1[_0x15ae66(0x2b0)],_0x57be06,_0x222d46[_0x15ae66(0x1b3)]]);if(this[_0x15ae66(0x377)]&&this[_0x15ae66(0x193)]===_0x4da060||(this[_0x15ae66(0x46e)][_0x15ae66(0x217)](_0x57be06,_0x222d46[_0x15ae66(0x1df)]),this[_0x15ae66(0x44f)](),!_0x222d46[_0x15ae66(0xb9)]))return;let _0x60e066=_0x6db41f(_0x13a349,_0x203cd1[_0x15ae66(0x127)],()=>this[_0x15ae66(0x418)](_0x57be06));if(!_0x60e066['visible']){_0x60e066[_0x15ae66(0x183)]();return;}let _0x4640ee=this['_sheetCanvasPopManagerService'][_0x15ae66(0x14e)](_0x60e066[_0x15ae66(0x412)],_0x60e066['anchorRect$'],{'componentKey':_0x1e42e6[_0x15ae66(0x32c)],'constrainToCanvas':!0x0,'direction':_0x15ae66(0x277),'offset':[0x0,0x8],'extraProps':{'unitId':_0x203cd1['unitId'],'subUnitId':_0x203cd1[_0x15ae66(0x2b0)],'chartId':_0x57be06,'drawingId':_0x57be06,'element':_0x13a349[_0x15ae66(0x2cf)],'target':_0x222d46[_0x15ae66(0x1b3)],'adapterKey':_0x17cbb4}},_0x203cd1[_0x15ae66(0x12d)],_0x203cd1['subUnitId'])??null;if(!_0x4640ee){_0x60e066[_0x15ae66(0x183)]();return;}let _0x3c043d=new _0xe0fba2[(_0x15ae66(0x30c))]();_0x3c043d[_0x15ae66(0x429)](_0x4640ee),_0x3c043d['add'](_0x60e066),this[_0x15ae66(0x377)]=_0x3c043d,this[_0x15ae66(0x462)]=_0x57be06,this[_0x15ae66(0x193)]=_0x4da060;}[_0x351b7e(0x44f)](){const _0x4d8544=_0x351b7e;var _0x3b93d2;(_0x3b93d2=this[_0x4d8544(0x377)])==null||_0x3b93d2[_0x4d8544(0x183)](),this['_popupDisposable']=null,this[_0x4d8544(0x462)]=null,this[_0x4d8544(0x193)]=null;}[_0x351b7e(0x3bf)](_0x4905ba){const _0x5ce6f0=_0x351b7e;(this[_0x5ce6f0(0x46e)]['isElementEditModeActive'](_0x4905ba)||this[_0x5ce6f0(0x462)]===_0x4905ba)&&(this[_0x5ce6f0(0x46e)][_0x5ce6f0(0x2fb)](),this['_popupChartId']===_0x4905ba&&this[_0x5ce6f0(0x44f)]());}[_0x351b7e(0x418)](_0x21ba4d){const _0x239b52=_0x351b7e;this[_0x239b52(0x3bf)](_0x21ba4d),this[_0x239b52(0x46e)][_0x239b52(0xbd)](_0x21ba4d)&&(this[_0x239b52(0x2ea)][_0x239b52(0x22f)](_0x21ba4d,!0x1),this[_0x239b52(0x2ea)][_0x239b52(0x22f)](_0x21ba4d,!0x0));}};_0x1da5a6=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2['Inject'])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x1,(0x0,_0xe0fba2['Inject'])(_0x591b5a)),_0x40aea1(0x2,_0x57a861),_0x40aea1(0x3,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x270231[_0x351b7e(0x1b6)])),_0x40aea1(0x4,(0x0,_0xe0fba2['Inject'])(_0x102b65[_0x351b7e(0x30d)])),_0x40aea1(0x5,_0x5d8988),_0x40aea1(0x6,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x1e42e6[_0x351b7e(0x21b)])),_0x40aea1(0x7,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0x8,(0x0,_0xe0fba2['Inject'])(_0xe0fba2[_0x351b7e(0x44b)]))],_0x1da5a6);function _0x47e4dc({ref:_0xab9532,..._0x58d065}){const _0x2bbd95=_0x351b7e;let {preserveStrokeWidth:_0x41b7a9,icon:_0x5c6734,id:_0x4f358f,className:_0x1976f0,extend:_0x54bd3a,..._0x3696b9}=_0x58d065,_0x27beff=(_0x2bbd95(0x3d6)+_0x4f358f+'\x20'+(_0x1976f0||''))['trim'](),_0x41a13c='_'+(0x0,_0xd79b15[_0x2bbd95(0x37a)])(),_0x18cec4=(0x0,_0xd79b15[_0x2bbd95(0xe1)])(null);return(0x0,_0xd79b15[_0x2bbd95(0x9f)])(_0xab9532,()=>_0x18cec4[_0x2bbd95(0x12e)]),(0x0,_0xd79b15[_0x2bbd95(0x20e)])(()=>{const _0x4f5f8b=_0x2bbd95;if(_0x41b7a9&&_0x18cec4[_0x4f5f8b(0x12e)]&&_0x18cec4[_0x4f5f8b(0x12e)][_0x4f5f8b(0x1fb)]===_0x5c6734[_0x4f5f8b(0x39b)])return _0x19928e(_0x18cec4['current']);},[_0x41b7a9,_0x5c6734]),_0x24b9a4(_0x5c6734,''+_0x4f358f,{'defIds':_0x5c6734[_0x2bbd95(0x2cc)],'idSuffix':_0x41a13c},{'ref':_0x18cec4,'className':_0x27beff,..._0x3696b9},_0x54bd3a);}function _0x24b9a4(_0x87b4c6,_0x25dfe9,_0x1b6ac0,_0x3abb2e,_0x4f7fe8){const _0x1316ac=_0x351b7e;return(0x0,_0xd79b15[_0x1316ac(0x448)])(_0x87b4c6['tag'],{'key':_0x25dfe9,..._0x147bf2(_0x87b4c6,_0x1b6ac0,_0x4f7fe8),..._0x3abb2e},(_0x3f9b7d(_0x87b4c6,_0x1b6ac0)['children']||[])[_0x1316ac(0xfc)]((_0x3fa2a5,_0x2e4509)=>_0x24b9a4(_0x3fa2a5,_0x25dfe9+'-'+_0x87b4c6['tag']+'-'+_0x2e4509,_0x1b6ac0,void 0x0,_0x4f7fe8)));}function _0x147bf2(_0x302c09,_0x9a321b,_0x38116b){const _0x4674cf=_0x351b7e;let _0x5544e7={..._0x302c09['attrs']};_0x38116b!=null&&_0x38116b['colorChannel1']&&_0x5544e7['fill']===_0x4674cf(0x3a7)&&(_0x5544e7[_0x4674cf(0x41b)]=_0x38116b[_0x4674cf(0x3a7)]),_0x38116b!=null&&_0x38116b[_0x4674cf(0x3a7)]&&_0x5544e7[_0x4674cf(0x1ae)]===_0x4674cf(0x3a7)&&(_0x5544e7[_0x4674cf(0x1ae)]=_0x38116b[_0x4674cf(0x3a7)]),_0x302c09['tag']===_0x4674cf(0x147)&&_0x5544e7['id']&&(_0x5544e7['id']+=_0x9a321b['idSuffix']),Object[_0x4674cf(0xbe)](_0x5544e7)[_0x4674cf(0x120)](([_0x22d279,_0xc2289])=>{const _0x1a7e47=_0x4674cf;_0x22d279==='mask'&&typeof _0xc2289==_0x1a7e47(0x39d)&&(_0x5544e7[_0x22d279]=_0xc2289[_0x1a7e47(0x1ce)](/url\(#(.*)\)/,'url(#$1'+_0x9a321b[_0x1a7e47(0x28b)]+')'));});let {defIds:_0x42b384}=_0x9a321b;return!_0x42b384||_0x42b384['length']===0x0?_0x5544e7:(_0x302c09[_0x4674cf(0x39b)]===_0x4674cf(0x2c6)&&_0x5544e7[_0x4674cf(0x330)]&&(_0x5544e7[_0x4674cf(0x330)]+=_0x9a321b[_0x4674cf(0x28b)]),Object[_0x4674cf(0xbe)](_0x5544e7)['forEach'](([_0x1077f5,_0x122f5c])=>{const _0x2a5fb6=_0x4674cf;typeof _0x122f5c==_0x2a5fb6(0x39d)&&(_0x5544e7[_0x1077f5]=_0x122f5c[_0x2a5fb6(0x1ce)](/url\(#(.*)\)/,_0x2a5fb6(0x346)+_0x9a321b[_0x2a5fb6(0x28b)]+')'));}),_0x5544e7);}function _0x3f9b7d(_0x4af645,_0x354c7c){const _0x2fb5b7=_0x351b7e;var _0x31ae3f;let {defIds:_0x2cb09c}=_0x354c7c;return!_0x2cb09c||_0x2cb09c[_0x2fb5b7(0x1fd)]===0x0?_0x4af645:_0x4af645[_0x2fb5b7(0x39b)]===_0x2fb5b7(0x414)&&(_0x31ae3f=_0x4af645[_0x2fb5b7(0x166)])!=null&&_0x31ae3f[_0x2fb5b7(0x1fd)]?{..._0x4af645,'children':_0x4af645['children']['map'](_0x4bd333=>typeof _0x4bd333['attrs']['id']==_0x2fb5b7(0x39d)&&_0x2cb09c&&_0x2cb09c['includes'](_0x4bd333['attrs']['id'])?{..._0x4bd333,'attrs':{..._0x4bd333[_0x2fb5b7(0x2d5)],'id':_0x4bd333[_0x2fb5b7(0x2d5)]['id']+_0x354c7c[_0x2fb5b7(0x28b)]}}:_0x4bd333)}:_0x4af645;}function _0x19928e(_0x19b445){const _0x27953e=_0x351b7e;let _0x2129f9=_0x19b445['viewBox']['baseVal'],_0xf45725=Math[_0x27953e(0xdb)](_0x2129f9[_0x27953e(0x2aa)],_0x2129f9['height']);if(!Number[_0x27953e(0xd4)](_0xf45725)||_0xf45725<=0x0||_0x2129f9['width']<=0x0||_0x2129f9['height']<=0x0)return()=>void 0x0;let _0x5d9adf=0x10/_0xf45725,_0x19f93e=Array[_0x27953e(0xd0)](_0x19b445[_0x27953e(0x1b8)](_0x27953e(0x20f)))[_0x27953e(0x336)](_0x4902b8=>{const _0x5285f5=_0x27953e;let _0x5bb777=getComputedStyle(_0x4902b8),_0x20014d=Number[_0x5285f5(0x380)](_0x5bb777[_0x5285f5(0x3eb)]);return _0x5bb777['stroke']===_0x5285f5(0x11f)||Number['parseFloat'](_0x5bb777['strokeOpacity'])===0x0||_0x5bb777[_0x5285f5(0x40c)]===_0x5285f5(0x3c4)||!Number[_0x5285f5(0xd4)](_0x20014d)||_0x20014d<=0x0?[]:[{'element':_0x4902b8,'hadStyleAttribute':_0x4902b8[_0x5285f5(0x1c4)](_0x5285f5(0x12c)),'originalStrokeWidth':_0x20014d,'strokeWidth':_0x125c34(_0x4902b8[_0x5285f5(0x12c)],_0x5285f5(0x3cf))}];})[_0x27953e(0xfc)](_0x35d561=>({'appliedStrokeWidth':null,'element':_0x35d561[_0x27953e(0x149)],'hadStyleAttribute':_0x35d561['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x35d561[_0x27953e(0xf5)],'strokeWidth':_0x35d561['strokeWidth']}));if(_0x19f93e[_0x27953e(0x1fd)]===0x0)return()=>void 0x0;let _0x3300d5=(_0x2574b7,_0x3fba0d)=>{const _0x4f744a=_0x27953e;if(_0x2129f9[_0x4f744a(0x2aa)]<=0x0||_0x2129f9[_0x4f744a(0x196)]<=0x0||_0x2574b7<=0x0||_0x3fba0d<=0x0)return;let _0x52c785=Math[_0x4f744a(0x2ee)](_0x2574b7/_0x2129f9[_0x4f744a(0x2aa)],_0x3fba0d/_0x2129f9['height']);!Number['isFinite'](_0x52c785)||_0x52c785<=0x0||_0x19f93e[_0x4f744a(0x120)](_0x167d3b=>{const _0x590fbf=_0x4f744a;if(_0x167d3b[_0x590fbf(0x407)])return;if(_0x167d3b['appliedStrokeWidth']!==null&&(_0x167d3b['element'][_0x590fbf(0x12c)][_0x590fbf(0x21c)](_0x590fbf(0x3cf))!==_0x167d3b[_0x590fbf(0x180)]||_0x167d3b[_0x590fbf(0x149)][_0x590fbf(0x12c)][_0x590fbf(0x132)](_0x590fbf(0x3cf))!==_0x167d3b[_0x590fbf(0x3eb)][_0x590fbf(0x1a4)])){_0x167d3b[_0x590fbf(0x180)]=null,_0x167d3b[_0x590fbf(0x407)]=!0x0;return;}let _0x1b52c5=_0x167d3b[_0x590fbf(0xf5)]*_0x5d9adf/_0x52c785,_0x19924a=Number(_0x1b52c5[_0x590fbf(0x3f3)](0xc))+'px';_0x167d3b[_0x590fbf(0x149)][_0x590fbf(0x12c)][_0x590fbf(0x211)]('stroke-width',_0x19924a,_0x167d3b[_0x590fbf(0x3eb)]['priority']),_0x167d3b[_0x590fbf(0x180)]=_0x19924a;});},_0x432a2c=_0x19b445[_0x27953e(0x452)]();_0x3300d5(_0x432a2c['width'],_0x432a2c[_0x27953e(0x196)]);let _0x280fcb=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x3d3efa=>{const _0x2eb933=_0x27953e;if(_0x3d3efa[_0x2eb933(0x3e8)](_0x173bd5=>_0x173bd5[_0x2eb933(0x1b3)]===_0x19b445)){let _0x30e466=_0x19b445[_0x2eb933(0x452)]();_0x3300d5(_0x30e466[_0x2eb933(0x2aa)],_0x30e466[_0x2eb933(0x196)]);}});return _0x280fcb==null||_0x280fcb['observe'](_0x19b445),()=>{const _0x3ba8d2=_0x27953e;_0x280fcb==null||_0x280fcb[_0x3ba8d2(0x44e)](),_0x19f93e[_0x3ba8d2(0x120)](_0x2ebd6e=>{const _0x3c057e=_0x3ba8d2;_0x2ebd6e[_0x3c057e(0x180)]!==null&&(_0xad6a86(_0x2ebd6e[_0x3c057e(0x149)][_0x3c057e(0x12c)],_0x3c057e(0x3cf),_0x2ebd6e['appliedStrokeWidth'],_0x2ebd6e[_0x3c057e(0x3eb)]['priority'],_0x2ebd6e[_0x3c057e(0x3eb)]),!_0x2ebd6e[_0x3c057e(0x18f)]&&_0x2ebd6e[_0x3c057e(0x149)]['style']['length']===0x0&&_0x2ebd6e['element'][_0x3c057e(0x2a1)]('style'));});};}function _0x125c34(_0x59450e,_0x3e92c7){const _0x23907e=_0x351b7e;return{'priority':_0x59450e[_0x23907e(0x132)](_0x3e92c7),'value':_0x59450e[_0x23907e(0x21c)](_0x3e92c7)};}function _0xad6a86(_0x488329,_0x56863f,_0x2d7271,_0x3ceba0,_0x545018){const _0x43ac52=_0x351b7e;_0x488329[_0x43ac52(0x21c)](_0x56863f)===_0x2d7271&&_0x488329[_0x43ac52(0x132)](_0x56863f)===_0x3ceba0&&(_0x545018[_0x43ac52(0x40b)]?_0x488329[_0x43ac52(0x211)](_0x56863f,_0x545018[_0x43ac52(0x40b)],_0x545018['priority']):_0x488329['removeProperty'](_0x56863f));}_0x47e4dc[_0x351b7e(0xd3)]='UniverIcon';let _0x39c549={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x351b7e(0x11f),'viewBox':_0x351b7e(0xc6),'width':'1em','height':'1em'},'children':[{'tag':_0x351b7e(0x2eb),'attrs':{'fill':'currentColor','d':_0x351b7e(0x3c8)}}]},_0x38cf74=(0x0,_0xd79b15[_0x351b7e(0x108)])(function(_0x48f6f5,_0x34af7f){const _0x23ff80=_0x351b7e;return(0x0,_0xd79b15['createElement'])(_0x47e4dc,Object[_0x23ff80(0x38d)]({},_0x48f6f5,{'id':_0x23ff80(0x25a),'ref':_0x34af7f,'icon':_0x39c549}));});_0x38cf74[_0x351b7e(0xd3)]=_0x351b7e(0x23a);let _0xb2b40a=class extends _0xe0fba2['Disposable']{constructor(_0x18a8a1,_0x2dd1c3){const _0x14ef29=_0x351b7e;super(),this[_0x14ef29(0x334)]=_0x18a8a1,this[_0x14ef29(0x110)]=_0x2dd1c3,this['_registerIcons'](),this['_registerComponents']();}[_0x351b7e(0xcf)](){const _0x2689db=_0x351b7e;this[_0x2689db(0x3f2)](this[_0x2689db(0x110)]['register']({'PenIcon':_0x38cf74}));}[_0x351b7e(0x1c8)](){const _0x179f35=_0x351b7e;[[_0x3d7cdd,_0x3889b5]][_0x179f35(0x120)](([_0x3503c1,_0x589b61])=>{const _0x18330c=_0x179f35;this['disposeWithMe'](this[_0x18330c(0x334)]['register'](_0x3503c1,_0x589b61));});}};_0xb2b40a=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69['ComponentManager'])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69[_0x351b7e(0x444)]))],_0xb2b40a);let _0x34651e=class extends _0xe0fba2[_0x351b7e(0x392)]{constructor(_0x404779=_0x241941,_0x4c0978,_0x336493,_0x19a192){const _0x896e21=_0x351b7e;super(),this[_0x896e21(0x2cd)]=_0x404779,this[_0x896e21(0x1f0)]=_0x4c0978,this['_configService']=_0x336493,this['_commandService']=_0x19a192,_0x2d50c7(this,_0x896e21(0x24f),void 0x0);let {..._0x67a61c}=(0x0,_0xe0fba2[_0x896e21(0x16a)])({},_0x241941,this[_0x896e21(0x2cd)]);this[_0x896e21(0x24f)]=_0x67a61c,this[_0x896e21(0xfe)]['setConfig'](_0x55aca2,_0x67a61c),this['_initCommands']();}[_0x351b7e(0x125)](){const _0x57b3a6=_0x351b7e;this[_0x57b3a6(0x1f0)]['add']([_0xb2b40a]),this[_0x57b3a6(0x1f0)][_0x57b3a6(0x1aa)](_0xb2b40a);let _0x3d4364=this[_0x57b3a6(0x1f0)],_0x174932=[[_0x5d8988,{'useClass':_0x434bb3}],[_0x57a861,{'useClass':_0x1a5ddf}],[_0x5736e0],[_0x591b5a],[_0x107397],[_0x313dc5],[_0x1eb24a],[_0x3d0520],[_0x2654df],[_0x24189e],[_0xa422fb]],_0x53fc50=[[_0x313dc5],[_0x3d0520],[_0x1eb24a],[_0x107397],[_0x5d8988],[_0x2654df],[_0x24189e],[_0xa422fb]];this[_0x57b3a6(0x24f)][_0x57b3a6(0x353)]&&(_0x174932[_0x57b3a6(0x3d8)]([_0x1da5a6]),_0x53fc50[_0x57b3a6(0x3d8)]([_0x1da5a6])),_0x174932['forEach'](_0x1aa08a=>_0x3d4364['add'](_0x1aa08a)),(0x0,_0xe0fba2[_0x57b3a6(0x37c)])(this[_0x57b3a6(0x1f0)],_0x53fc50);}[_0x351b7e(0x3e1)](){const _0x3e9cca=_0x351b7e;var _0x2614d8;(_0x2614d8=this[_0x3e9cca(0x1f0)]['get'](_0x313dc5))==null||_0x2614d8[_0x3e9cca(0x3c7)]();}['_initCommands'](){const _0x2db706=_0x351b7e;[_0x3b438b,_0x2d01e3,_0x483f56,_0x18c810,_0x55d99b,_0x577343,_0x16f198][_0x2db706(0x120)](_0x57911d=>this[_0x2db706(0x3f2)](this[_0x2db706(0x2d4)][_0x2db706(0x351)](_0x57911d)));}};_0x2d50c7(_0x34651e,_0x351b7e(0x441),_0xe0fba2[_0x351b7e(0x282)]['UNIVER_SHEET']),_0x2d50c7(_0x34651e,'pluginName','UniverSheetsChartUIPlugin'),_0x2d50c7(_0x34651e,'packageName',_0x47d7f2),_0x2d50c7(_0x34651e,_0x351b7e(0x2df),_0x3b3a89),_0x34651e=_0x5a0cd2([(0x0,_0xe0fba2[_0x351b7e(0xdf)])(_0x45eba4[_0x351b7e(0x32a)],_0x3543bc[_0x351b7e(0x35b)],_0x120bdc[_0x351b7e(0x290)],_0x2e7a19[_0x351b7e(0x12a)],_0x42712d[_0x351b7e(0x3b5)],_0x1e42e6['UniverChartUIPlugin'],_0x201ec2['UniverSheetsChartPlugin'],_0x102b65[_0x351b7e(0x15b)],_0x270231[_0x351b7e(0x2ca)]),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2['Injector'])),_0x40aea1(0x2,_0xe0fba2[_0x351b7e(0x42c)]),_0x40aea1(0x3,_0xe0fba2[_0x351b7e(0x370)])],_0x34651e),_0x5cf52d['ChartOpenPanelOperation']=_0x577343,Object['defineProperty'](_0x5cf52d,_0x351b7e(0x358),{'enumerable':!0x0,'get':function(){return _0x591b5a;}}),_0x5cf52d[_0x351b7e(0x472)]=_0x5d8988,_0x5cf52d[_0x351b7e(0x270)]=_0x55aca2,Object[_0x351b7e(0x3ea)](_0x5cf52d,'SheetsChartUIController',{'enumerable':!0x0,'get':function(){return _0x313dc5;}}),_0x5cf52d['SheetsChartUIMenuSchema']=_0x497f50,Object[_0x351b7e(0x3ea)](_0x5cf52d,_0x351b7e(0x3c9),{'enumerable':!0x0,'get':function(){return _0x434bb3;}}),Object[_0x351b7e(0x3ea)](_0x5cf52d,_0x351b7e(0x1fa),{'enumerable':!0x0,'get':function(){return _0x2b5a1c;}}),Object['defineProperty'](_0x5cf52d,'UniverSheetsChartUIPlugin',{'enumerable':!0x0,'get':function(){return _0x34651e;}}),_0x5cf52d[_0x351b7e(0x1dc)]=_0x6db41f;}));function _0x5718(){const _0x3be1af=['useDependency','Combination','localPoint','version','absolute','range','interceptCommand','PRINTING_COMPONENT_COLLECT','OPERATION','UniverDrawingUi','items','ChartEditBlockTitle','scroll','Relation','_chartRenderService','path','_initCopyPaste','image','min','setHostStyle','source','ChartSourceHeaderTitleType','_sheetCanvasFloatDomManagerService','_disposeChartEventSubscription','handleActiveSubUnitChange','indicatorLine','ensureHandle','markReady','Inject','_openPanel','_focusedDrawings','clearPanelRoute','remove$','_renderWhenConfigReady','_disposeImage','chartId','_chartHostProviderService','contains','sheets-chart-ui.common.chartAndAxisTitles','transformToDrawingPosition','Disposable','2411dcOjyH','DrawingApplyType','isLatest','Treemap','has','UniverCore','GridlinesAndTicks','DisposableCollection','SheetCanvasFloatDomManagerService','click','featurePluginGroupUpdate$','chartBitsUtils','default','_entries','_deactivateEditPanelState','setProps','getRenderColor','createIdentifier','markHostNotReady','_generateCopyPasteMutations','ChartWordCloudStyleSection','_sheetCanvasPopManagerService','relation','ChartRenderMode','getInterceptPoints','ChartFrameContentMode','_listenChartUpdateMutations','_updateTransform','cancel','redo','visibilityState','_getCurrentSnapshotImage','getConfig','drawImage','useChartEditorChartType','getDrawingData','@univerjs/ui','UniverLicensePlugin','chartEditorOpen$','CHART_ELEMENT_FLOAT_MENU_COMPONENT','iconName','resolveChartEditPanelRoute','_pendingMutationConfigRenders','xlink:href','_pendingUrlImage','@univerjs/engine-render','resolveDefaultChartHostFrameStyle','_componentManager','ChartTitlesSection','flatMap','removeHost$','cancelPending','withLatestFrom','titleKey','sourceSubUnitId','getContextValue','COPY_TYPE','-univer-mx-4','parentElement','getRealBound','DEFAULT_CHART_TRENDLINE_VALUES','allSettled','ChartSeriesSection','_drawChartImage','ChartGridlinesAndTicksSection','url(#$1','cumulativeLineStyle','changeEnd$','dataSource','_restoreHostWrapper','_restoreFloatDomPositionStream','MenuItemType','featurePluginOrderUpdate$','mergeMenu','GeneralSeries','createChartElementFloatMenuAdapter','registerCommand','Axes','enableChartElementFloatMenu','KeyCode','update','ParetoLineSeries','context$','ChartRenderService','Radar','setRangeSelectMode','UniverDrawingPlugin','sheets-chart-ui.section.pie','abs','mobile-sheet-chart-style-panel','renderTransition','setConfig','sheetId','defaultValues','RemoveSheetDrawingCommand','small','arc','isConnected','getUnitId','_getChartSnapshotKey','activeRuntimeModel','SheetsChartService','_getFloatDomInfo','drawingIds','throttleTime','FOCUSING_COMMON_DRAWINGS','UniverSheetsDrawingUi','ICommandService','DrawingTypeEnum','SHEETS_CHART_PLUGIN_CONFIG_KEY','rxjs','getName','_cancelDebouncedCallbacks','onDispose','_popupDisposable','pareto','exportImg','useId','scene','touchDependencies','_openEditPanelByDoubleClick','getSkeleton','sheets-chart-ui.common.editChart','parseFloat','sheets-chart-ui.permission.editErr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_markHostReady','_generateCutPasteMutations','_getOrCreateChartRenderInstance','_resolveLayout','react/jsx-runtime','sheet.command.chart.delete-focused-chart','decorate','DataOrientation','ChartImageSourceType','scale','assign','getRenderUnitById','_panelInitialized','focusDrawing','trim','Plugin','lineAndArea','ChartImageExportService','DEFAULT_CHART_PARETO_VALUES','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','@univerjs/sheets-formula-ui','ChartUpdateConfigCommand','transform','axis','tag','1000','string','removeHost','close','rangeSelectMode','COMMA','pluginName','Reference','groupId','_canvasFloatDomService','visible','colorChannel1','ChartStyleSection','ISidebarService','jsx','_chartInstanceMap','zIndex','rect','mobile-sheet-chart-setup-panel','@univerjs/core','RibbonInsertGroup','_sheetsChartService','targetSubUnitId','@univerjs/sheets','@univerjs/engine-formula','UniverSheetsDrawingPlugin','animateDataUpdate','onload','getRuntimeContext','clientY','afterRender$','naturalHeight','ThemeService','ChartModelService','DEFAULT_CHART_RELATION_VALUES','_clearSelectedTarget','engine','_prepareDataUpdateRender','Overlay','clear','non-scaling-stroke','open','getOwnPropertyDescriptor','initPanel','M12.666\x202.70571C11.7769\x201.76476\x2010.3295\x201.76476\x209.4404\x202.70571L3.37843\x209.12427C3.31779\x209.18848\x203.27756\x209.26409\x203.24979\x209.3439C3.24809\x209.3493\x203.24299\x209.3529\x203.24129\x209.3583L2.02912\x2013.2097C1.96112\x2013.4251\x202.01439\x2013.6633\x202.16626\x2013.8236C2.27393\x2013.9382\x202.41901\x2014\x202.56692\x2014C2.62699\x2014\x202.68762\x2013.9898\x202.74599\x2013.9688L6.3825\x2012.6846C6.3876\x2012.6828\x206.391\x2012.678\x206.39553\x2012.6762C6.47147\x2012.6474\x206.54287\x2012.6042\x206.60351\x2012.54L12.666\x206.12202C13.5558\x205.18048\x2013.5558\x203.64725\x2012.666\x202.70571ZM8.62832\x205.26209L9.04031\x205.69836C9.03918\x205.69956\x209.03748\x205.70016\x209.03634\x205.70136L4.99182\x209.9836L4.58096\x209.54853L8.62832\x205.26209ZM3.46287\x2012.4512L4.02673\x2010.6593L5.15446\x2011.8535L3.46287\x2012.4512ZM6.20342\x2011.2672L5.79256\x2010.8321L9.83709\x206.54988C9.83822\x206.54868\x209.83879\x206.54688\x209.83992\x206.54568L10.2513\x206.98135L6.20342\x2011.2672ZM11.8647\x205.27349L11.0532\x206.13282L9.42963\x204.41356L10.2411\x203.55423C10.6888\x203.08016\x2011.417\x203.08076\x2011.8642\x203.55423C12.3124\x204.0283\x2012.3124\x204.79942\x2011.8647\x205.27349Z','SheetsChartUIService','setDataUpdateAnimation','ChartParetoSeriesSection','chartModelAdded$','distinctUntilChanged','UniverProSheetsChart','stroke-width','ChartThemeService','UniverSheetsChartPlugin','ensureHost','legend','nativeEvent','getUnit','univerjs-icon\x20univerjs-icon-','COMMAND','push','React','DEFAULT_CHART_SERIES_VALUES','exportImage','_bindChartEventHandlers','debounce','6991086jKgFtF','_clearPanelState','_registerAdapter','onRendered','trendline','DEFAULT_CHART_INDICATOR_LINE_VALUES','DRAWING','oKey','pointerEvents','DEFAULT_CHART_WORD_CLOUD_VALUES','some','name','defineProperty','strokeWidth','getValue','Fail\x20to\x20create\x20float\x20dom','_handleDrawingDoubleClick','_drawingManagerService','sheets-chart.ui.service','_draw','disposeWithMe','toFixed','copyType','_disposed','heatmap','removeChartModel','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','LocaleService','ChartTypeSpecificStyleSection','asObservable','href','UNIVER_SHEET','sheet.command.chart.open-focused-panel','_rangeSelectMode','_chartEventHandlers','3389432yiOPAl','sheets-chart-ui.common.openChartPanel','CHART','_contextService','drawingType','call','isReleased','resolveChartRuntimeStyle','UniverEngineFormula','_deactivateDataUpdateAnimation','value','vectorEffect','univer-shrink-0','syncHostLayout','@univerjs/sheets-drawing','setActiveChartModel','sheets-chart-ui.section.gridlinesAndTicks','initialRect','sheets-chart-ui.common.hideChartPanel','defs','WordCloud','_chartHostMap','hidePanel','_clearHiddenSelectedTarget','ChartRadarStyleSection','IMenuManagerService','fill','titles','sheets-chart-ui.section.chord','Image','_panelRoute$','ChartEditorProvider','_initActiveRuntimeLayerListener','SheetPrintInterceptorService','_isProviderDisposed','panelRoute$','chartTypeCanUseTrendLine','_chartEditorOpen$','Line','ChartEditPanelTab','add','naturalWidth','RightVerticalAxis','IConfigService','_syncActiveEditChart','header','_createHost','_lastActiveSheet','_renderService','UniverMobileUIPlugin','univer-my-1\x20univer-text-xs\x20univer-text-red-500','_getHostPlacement','ChartUIService','sheets-chart-ui.common.copy','delete','requestPaint','wordCloud','_initSheetChange','_getPlacement','univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','Bar','_shouldSuppressRender','ChartTypeBits','ChartAxisSection','type','_sheetsChartUIService','_sheetDrawingService','IconManager','isDomReady','openChartPanelById','getCurrentTypeOfUnit$','createElement','matches','sheets-chart-ui.section.radar','Injector','lineTo','@univerjs-pro/license','disconnect','_closePopup','UniverChartMobileUIPlugin','take','getBoundingClientRect','_activateDataUpdateAnimation','darkMode$','_drawChartFrame','_requestChartCanvasRender','assignStyle','_getDrawable','ImageBitmap','direction$','logicalOuterRect','sheets-chart-ui.common.chart','HorizontalAxis','SHEET_CHART_RENDER_OBJECT_CONFIG','getSheetBySheetId','_renderDebounceMap','constructor','_popupChartId','executeCommand','Fragment','_renderManagerService','Checkbox','sheets-chart-ui.section.wordCloud','getObject','getDrawingShapeKeyByDrawingSearch','INSERT','Pareto','1.0.4','RangeSelector','_chartUIService','_disposeChartDomInstance','_snapshotKey','_getChartRenderSkipReason','ISheetsChartUIService','react','(prefers-reduced-motion:\x20reduce)','ISheetClipboardService','getBatchAddOp','getChartModel','sidebarOptions$','_sheetClipboardService','applyPoint','missing-float-dom','_disposeChartEventSubscriptions','_managed','_chartModelService','CommandType','useImperativeHandle','sheet-chart-setup-panel','getHostClientRect','DEFAULT_CHART_AXIS_VALUES','drawingId','radar','indexOf','isHit','_subscribeChartEvents','_dataUpdateAnimationTimers','_resizeChart','setBorder','sheetTransform','set','dataSource$','resolveChartStyleBackgroundColor','_dataUpdateAnimationChartIds','_getImage','UniverDrawing','Histogram','SheetSkeletonManagerService','offsetLeft','_cacheActiveDomChartSnapshot','_renderModelManager','combineLatest','intercept','showFloatMenu','chartObject','globalAlpha','createChartInstance','isElementEditModeActive','entries','amd','EChartRenderEngineName','closePath','ChartAndAxisTitles','Module','ChartStyle','color','0\x200\x2016\x2016','sheets-chart-ui.section.relation','keys','ChartTrendlineSection','Gauge','getFloatDomInfo','radius','Style','sheets-chart-ui.chord.target','_registerIcons','from','_activateEditPanelState','focused$','displayName','isFinite','Positive','clearChart','getDirection','6205717AxyarO','addObject','17438175BsGsgL','max','UniverSheetsUi','univer-overflow-visible','isArray','DependentOn','attachRangeWithCoord','useRef','ChartUpdateSourceCommand','chartImageSourceToDataUrl','_sidebarDisposable','ImageChartHost','GROUP','_sheetPrintInterceptorService','CopySheetCommand','clearImage','isManaged','setOrientation','sheets-chart-ui.common.heatmap','Boxplot','ChartFrameLayout','_applyHostStyle','4aXoOsy','syncLayout','next','download','useEffect','originalStrokeWidth','ChartFunnelStyleSection','_waiter','_localeService','style$','symbol','sheets-chart-ui.section.treemap','map','_chartRenderMode','_configService','allSeriesStyle','mode','IDrawingManagerService','resourceCollector','setContextValue','Chord','_disposeChartChangeListeners','setDataRange','plotVisibleOnly','forwardRef','_setChartRuntimeZIndex','SheetSkeletonService','UniverProEngineChart','matchToken','concat','UniverUi','@univerjs/sheets-ui','_iconManager','iterator','_initMenus','_pendingToken','_renderChartModel','_univerInstanceService','prototype','WorkbookEditablePermission','seriesId','markUnmanaged','sheets-chart-ui.common.customize','UniverSheets','funnel','sheets-chart-ui.waterfall.subtotal','_cancelHostWait','none','forEach','SHEETS_CHART_PLUGIN_NAME','BUTTON','checkHost','ChartViewStateRegistry','onStarting','offsetHeight','position$','startWith','sheet.command.menu-insert-chart','UniverSheetsPlugin','sheets-chart-ui.waterfall.negative','style','unitId','current','_resetChartRuntimeZIndex','getMenuHiddenObservable','#-#','getPropertyPriority','DEFAULT_CHART_LEGEND_VALUES','PieSecondaryPlotType','makeDirty','setStyle','startY','label','series','imageBitmap','sheets-chart-ui.section.sunburst','dataset','_isOwnedChart','isRender','packageName','numberToABC','sheet.operation.open-chart-panel','clientHeight','chartTypeSupportsLineAndAreaStyle','sheets-chart-ui.chartTypes.','_debounceHandleMap','_setHostStyle','mask','References','element','isRowDirection','chartTypeSupportsCapability','chartModelId','useState','attachPopupToDynamicAbsolutePosition','FOCUSING_PANEL_EDITOR','left','blur','MobileRangeSelector','chartType','sheets-chart-ui.common.verticalAxis','getAllowedChartTypes','_chartThemeService','Subtotal','opacity','pieSecondaryPlotType','promise','UniverSheetsDrawingUIPlugin','_initPrinting','sheets-chart-ui.section.paretoBar','useChartEditorHasRightAxis','useCallback','_activeDomReadyChartIds','with','getObjectIncludeInGroup','sheets-chart-ui.waterfall.positive','object','UniverSheetsFormulaUi','children','REMOVE','_markReady','_getSceneAndTransformerByDrawingSearch','merge','Scatter','getRect','sheets-chart-element-float-menu','ChartLineAndAreaSection','InsertChartCommand','sheets-chart-ui.common.useAsCategoryLabels','startRow','flush','ChartIndicatorLineSection','_isChartElementEditEnabled','Bubble','_createChartRenderInstanceContext','Sunburst','_sheetDrawingHitTestService','_debounceHandle','then','@univerjs/design','getBatchRemoveOp','_rect','scaleY','_markNotReady','appliedStrokeWidth','bounds','onerror','dispose','moveTo','serialize','_createPrintingChartObject','sheets-chart-ui.section.indicatorLine','fromEvent','@univerjs-pro/engine-chart','_sheetInterceptorService','sheets-chart-ui.section.paretoLine','Candlestick','sheets-chart-ui.common.invalidDataRange','getBatchUpdateOp','hadStyleAttribute','serializeRangeWithSheet','_copyInfo','getSubUnitId','_popupSessionKey','_initDrawingDeactivationListener','top','height','BehaviorSubject','ContextMenuGroup','registerFeatureMenu','right','MobileChartEditorProvider','hidden','IContextService','ChartRelationStyleSection','resolve','getSheetId','sheets-chart-ui.section.lineAndArea','_rerenderLatest','url','priority','ChartEditPanelSection','pipe','waterfallStyle','activeChartModel$','PieStyle','get','beginPath','Waterfall','save','stroke','DRAWING_CHART','sheets-chart-ui.common.chartStyle','sheetChartDataAnimationDuration','_chartSnapshotStoreService','target','updateFloatDomProps','subscribe','SheetCanvasPopManagerService','_loadUrlImage','querySelectorAll','error','sheet.operation.hide-chart-panel','SheetDrawingHitTestService','_canAnimateDataUpdate','-univer-mx-4\x20univer-overflow-visible','context','ChartWaterfallStyleTarget','_removeHost$','_executeChartUpdateSourceConfig','CHART_TYPE_CATALOG','Heatmap','hasAttribute','DEFAULT_CHART_FUNNEL_VALUES','invalidateSnapshot','Literals','_registerComponents','icon','idMap','clientWidth','Legend','_init','replace','_generatePasteMutations','config$','print','getMatrix','_chartHostProvider','_chartChangeSubscriptions','onTransformChange$','updateFloatDom','IRenderManagerService','_activeChartId','rangeInfo$','startColumn','_renderAfterChartUpdateMutation','createChartElementPopupAnchorObserver','Button','_addWatermark','route','params','_applyActiveChartRuntimeZIndex','clearRuntimeCache','useObservable','sheets-chart-ui.section.candlestick','render','_resolveChartRenderMode','renderChartsForPrinting','DEFAULT_CHART_PIE_VALUES','sheets-chart-ui.common.dataRange','jsxs','getImage','sheets-chart-ui.config','labelId','_getChartRenderObjectContext','sheet.chart.edit.panel','_injector','data$','_geometry','getSheetCommandTarget','PREDEFINED_HOOK_NAME','copyId','DEFAULT_CHART_LINE_AND_AREA_VALUES','complete','_urlImage','getChartPopupMenus','UniverSheetsChartMobileUIPlugin','localName','ChartWaterfallStyleSection','length','chartRenderMode','focus$','SheetChartConfigAdapter','Column','ChartEditorCapability','isInGroup','canvas','fromEntries','_alignFloatDomPositionWithSceneRender','pairwise','chartModelRemoved$','DeleteIcon','innerHeight','_openFloatMenu','_activateHostWrapper','_domFrame','useLayoutEffect','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','ChartEditorTabs','setProperty','.chart-host','_frame','objects','chartEditorOpen','_getOuterRect','setPanelRoute','_pendingDataUpdateChartIds','_createImageChartHost','subscribeEvent','ChartElementFloatMenuAdapterRegistry','getPropertyValue','deriveStateFromActiveSheet$','_shouldEnableChartElementEdit','Row','_disposeChartRenderInstance','RENDER_CLASS_TYPE','ChartSectionAccordion','_clearPendingUrlImage','scaleX','commitSnapshot','number','toStringTag','Pie','getCurrentLastSelection','ChartNumberFormatAtom','ISheetDrawingService','domId','featurePluginUngroupUpdate$','split','setElementEditMode','_menuManagerService','values','Funnel','resolveChartElementSelection','getRenderModel','undo','getElementById','Rect','IUniverInstanceService','sheets-chart-ui.common.rightVerticalAxis','PenIcon','@univerjs/drawing-ui','clip','Canvas','getSheetBySheetName','_sheetPermissionCheckController','_chartEventSubscriptions','SheetInterceptorService','univer-flex\x20univer-flex-col\x20univer-gap-3','getDrawingOrder','_requestedUrl','interceptor','nextVersion','dataUrl','onDoubleClick$','mountNode','CanvasFloatDomService','function','tab','InsertSheetsChartMutation','sheets-chart-ui.common.horizontalAxis','_resolvedConfig','sheets-chart-ui.section.histogram','_adapterRegistry','toPrimitive','ChartHostAdapter','category','rangeInfo','VerticalAxis','getDrawingByParam','198VVpEpE','_sidebarService','pen-icon','rightY','ChartSectionAccordionContent','getChartSnapshotImage','multiply','WorksheetEditPermission','innerWidth','startX','config','_chartElementEditMode','div','inactive-sheet','_getOrCreateSheetChartHost','activeChartModel','isValidRange','deserializeRangeWithSheet','baseOn','sheet-chart-style-panel','getActiveSheet','section','takeSnapshot','getFocusDrawings','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','_lastRenderInputMap','buildChartTypeSelectOptions','ChartLegendSection','viewBound','getHostSize','bind','top-center','univer-overflow-hidden','sheets-chart-ui.common.switchRowColumn','anonymous','_frameStyle','SetDrawingApplyMutation','generateRandomId','ObjectType','executeChartUpdateConfig','_themeService','permissionCheckWithoutRange','UniverInstanceType','getRangeInfo','setChartEditorOpen','format','filter','_pendingHost','onCommandExecuted','_bindChartEventHandler','sheets-chart-ui.common.trendline','idSuffix','sheetChartDataAnimation','UPDATE','restore','setImage','UniverRenderEnginePlugin','_url','evented','_version','_clearSheetChartRuntimeCaches','IndicatorLine','SELECTOR','getCurrentRangeDisable$','border','1941093KcRXRA','getChartSourceSpec','register','sheets-chart-ui.section.waterfall','checkMounted','ChartSetupPanel','_requestPaint','classType','removeAttribute','dblclick','getCurrentUnitOfType','567310Xeoslk','UniverProChartUi','blockExecuteWithoutPermission','createRuntimeChartStyle','translate','sheets-chart-ui.common.setup','width','_readGeometry','toInsertChartMutationSource','CUT','getCanvasElement','all','subUnitId','sheet.command.chart.copy-focused-chart','transparent','_registerChartImageRenderObjectFactory','_hostStyle','ChartUpdateConfigMutation','drawWith','sheets-chart-ui.section.funnel','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_initActiveChartModelListener','Dom','RemoveSheetsChartMutation','_getChartRenderObject','supports','_scheduleDataUpdateAnimationEnd','ENTER','invert','_snapshotStore','matchMedia','_initCommands','Data','_sheetSkeletonService','use','ChartPieStyleSection','_image','bottom','UniverSheetsUIPlugin','skip','defIds','_config','useMemo','hit','_applyHostInteractionState','CopyDoubleIcon','Url','combineLatestWith','_commandService','attrs','_clearChartRuntimeCache','_dataUpdateAnimationDuration','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','CHART_DATA_UPDATE_ANIMATION_DURATION','_savedWrapperStyle','add$'];_0x5718=function(){return _0x3be1af;};return _0x5718();}
1
+ function _0x3c84(_0x6203d4,_0x1c9f63){_0x6203d4=_0x6203d4-0xc6;const _0xb7552e=_0xb755();let _0x3c84f5=_0xb7552e[_0x6203d4];return _0x3c84f5;}function _0xb755(){const _0x166434=['_urlImage','initialRect','createChartElementFloatMenuAdapter','ChartSectionAccordionItem','renderChartsForPrinting','trim','getSheetCommandTarget','_chartHostProviderService','844505lCNhae','pairwise','ChartEditorTabs','small','with','_addWatermark','enableChartElementFloatMenu','decorate','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getRect','getPropertyPriority','Literals','_getOrCreateSheetChartHost','_subscribeChartEvents','IRenderManagerService','_iconManager','getTransformerByCreate','transformToDrawingPosition','plotVisibleOnly','ISidebarService','create','imageBitmap','dataSource','_domFrame','indexOf','useDependency','MobileChartEditorProvider','_sheetClipboardService','showFloatMenu','DEFAULT_CHART_WORD_CLOUD_VALUES','IChartRenderModelManagerService','Disposable','Relation','_chartModelService','_themeService','matchMedia','_applyActiveChartRuntimeZIndex','Chord','sheets-chart-ui.section.relation','removeChartModel','event','1000','startRow','_keepChartCapture','ChartGridlinesAndTicksSection','Dom','_drawingManagerService','markUnmanaged','_popupSessionKey','transformer','exportImage','DRAWING_OBJECT_LAYER_INDEX','dataUrl','sheets-chart-ui.common.chartStyle','RemoveSheetDrawingCommand','CopySheetCommand','transform','_menuManagerService','baseVal','LocaleService','useCallback','hidePanel','1.1.0','hasOwnProperty','sheets-chart-ui.chartTypes.','@univerjs-pro/license','@univerjs/ui','changeEnd$','commitSnapshot','bounds','Image','resolveChartElementSelection','seriesId','url','subscribe','sheet.command.chart.open-focused-panel','_dataUpdateAnimationDuration','UniverSheetsChartUIPlugin','source','getImage','ChartEditPanelSection','Style','ChartSectionAccordionContent','rangeInfo$','_snapshotKey','IDrawingManagerService','UNIVER_SHEET','React','matches','targetSubUnitId','indicatorLine','_drawChartFrame','_managed','sheets-chart-ui.section.chord','DEFAULT_CHART_WATERFALL_STYLE_VALUES','getCurrentUnitOfType','sheetId','ChartSourceHeaderTitleType','none','_univerInstanceService','toStringTag','@univerjs/engine-formula','_clearSelectedTarget','resize','_generatePasteMutations','close','@univerjs/sheets','concat','img','RENDER_CLASS_TYPE','updateFloatDomProps','canvas','UniverSheetsChartPlugin','touchDependencies','ChartSectionAccordion','rangeInfo','ensureMount','hasPointerCapture','getDrawingShapeKeyByDrawingSearch','Sunburst','range','mountNode','removeEventListener','onCommandExecuted','ChartThreeDSection','_resolveLayout','_cancelDebouncedCallbacks','position$','196cNoyTC','div','_removeHost$','_getHostPlacement','_componentManager','requestPaint','stroke-width','getRenderColor','_sheetCanvasPopManagerService','_lastActiveSheet','sheets-chart-ui.common.setup','_dataUpdateAnimationChartIds','@univerjs/drawing','bind','_sheetInterceptorService','UPDATE','Injector','ISheetDrawingService','InsertSheetsChartMutation','_getDrawable','startY','ContextMenuPosition','_sidebarService','_commandService','_pendingToken','titles','getUnitId','getBoundingClientRect','ChartRenderMode','update','element','_renderModelManager','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_chartRenderService','supports','mobile-sheet-chart-setup-panel','getCurrentLastSelection','Subtotal','Radar','-univer-mx-4\x20univer-overflow-visible','COPY_TYPE','getChartDataSource','getSheetId','beginPath','IConfigService','top-center','distinctUntilChanged','ChartLineAndAreaSection','call','section','rect','serializeRangeWithSheet','_initCopyPaste','RangeSelector','focused$','withLatestFrom','_pendingUrlImage','Heatmap','startX','WaterfallSeries','getRangeInfo','handleActiveSubUnitChange','_registerAdapter','_syncActiveEditChart','setContextValue','removeHost$','sheets-chart-ui.common.insertChart','_init','sheets-chart-ui.section.funnel','_getCurrentSnapshotImage','ChartSeriesSection','attrs','SetDrawingApplyMutation','localPoint','SheetCanvasFloatDomManagerService','_markNotReady','absolute','isFinite','_renderDebounceMap','innerWidth','onerror','47024IvDoXy','focus$','_savedWrapperStyle','DEFAULT_CHART_HEATMAP_VALUES','_resolvedConfig','_shouldEnableChartElementEdit','non-scaling-stroke','ChartRenderService','getPropertyValue','view','REMOVE','DataOrientation','cumulativeLineStyle','objects','defineProperty','_disposeChartRenderInstance','_pointerEvents','getBatchAddOp','chartEditorOpen','isDomReady','remove','has','sheets-chart-ui.section.histogram','isValidRange','_dataUpdateAnimationTimers','offsetLeft','trendline','Checkbox','getObjectIncludeInGroup','anchorRect$','setDataUpdateAnimation','style','sheet.operation.open-chart-panel','DEFAULT_CHART_TITLE_VALUES','getRenderModel','getDrawingOrder','getChartSnapshotImage','invert','ChartRelationStyleSection','ChartTitlesSection','right','LineAndArea','@univerjs/design','cancelPending','setHostStyle','ICommandService','groupId','_getImage','_waiter','isElementEditModeActive','react','sheets-chart-ui.section.pie','category','chartBitsUtils','@univerjs/sheets-drawing-ui','parentElement','items','_rangeSelectMode','ISheetClipboardService','isRender','getSheetBySheetName','nextVersion','image','attachPopupToDynamicAbsolutePosition','getConfig','axis','isConnected','scroll','replace','activeChartModel','_url','FOCUSING_COMMON_DRAWINGS','ChartSetupPanel','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','drawingId','sheets-chart-ui.section.gauge','_cancelGesture','funnel','Row','createChartInstance','UniverRenderEnginePlugin','SHEETS_CHART_PLUGIN_CONFIG_KEY','_debounceHandle','ChartAxisSection','DEFAULT_CHART_RELATION_VALUES','unitId','SheetInterceptorService','createElement','sheets-chart-ui.common.chartAndAxisTitles','sheets-chart-ui.common.useAsCategoryLabels','setOrientation','_original','_getPlacement','chartTypeSupportsCapability','emitChartEvent','pie','ChartFrameContentMode','IUniverInstanceService','sheets-chart-ui.common.showHiddenData','getRealBound','ChartTypeBits','function','onTransformChange$','react/jsx-runtime','segmented','ChartParetoSeriesSection','unsubscribe','blockExecuteWithoutPermission','undo','References','flatMap','endX','CopyDoubleIcon','_setChartRuntimeZIndex','domId','SheetsChartUIMenuSchema','toDisposable','chartObject','sheets-chart-ui.section.waterfall','_resizeChart','sheets-chart-ui.common.deleteChart','startWith','Data','syncHostLayout','ChartElementFloatMenuAdapterRegistry','4PLGCnq','domLayers','_disposeChartChangeListeners','useState','_popupChartId','ThemeService','setActiveChartModel','ChartIcon','titleKey','getAllowedChartTypes','some','sheets-chart-ui.section.candlestick','anonymous','setElementEditMode','set','_hostStyle','_getFloatDomInfo','_localeService','moveY','1482090cacsaX','interceptor','save','Axes','_markReady','_draw','DownloadImageIcon','fromEvent','checkMounted','DEFAULT_CHART_LEGEND_VALUES','_entries','children','isLatest','url(#$1','UniverChartUIPlugin','remove$','_sheetsChartService','_renderAfterChartUpdateMutation','clientY','ChartModelService','sheets-chart-ui.section.gridlinesAndTicks','_chartHostProvider','_renderChartModel','blur','_resetChartRuntimeZIndex','_image','DeleteIcon','_clearPendingUrlImage','dispose','UniverSheetsDrawingPlugin','_canvasFloatDomService','ChartWaterfallStyleTarget','RTLChartStyle','univer-shrink-0','zIndex','depthAxis','currentColor','max','setConfig','push','_chartHostMap','isInGroup','DEFAULT_CHART_INDICATOR_LINE_VALUES','SheetPermissionCheckController','sheetChartDataAnimationDuration','_focusedDrawings','getRuntimeContext','_restoreHostWrapper','SheetCanvasPopManagerService','chartModelId','ancestorTransform','SVG','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_copyInfo','_handleDrawingDoubleClick','_sheetCanvasFloatDomManagerService','getDrawingByParam','fill','useImperativeHandle','mode','sheetChartDataAnimation','_createPrintingChartObject','applyPoint','useObservable','getParent','defaultValues','numberToABC','addEventListener','scene','@univerjs/sheets-drawing','_createChartRenderInstanceContext','focusDrawing','DEFAULT_CHART_STYLE_VALUES','_applyHostStyle','restore','getDrawingData','classType','openChartPanelById','_isOwnedChart','_initMenus','rangeSelectMode','pieSecondaryPlotType','_sheetPermissionCheckController','0\x200\x2016\x2016','ChartEditBlockTitle','_activeDomReadyChartIds','@univerjs/sheets-ui','lineTo','ensureHost','univer-my-1\x20univer-text-xs\x20univer-text-red-500','_alignFloatDomPositionWithSceneRender','getFocusedUnit','setDataRange','#-#','SheetsChartUIController','DEFAULT_CHART_AXIS_VALUES','PieSecondaryPlotType','4839830YAAANQ','sheets-chart-element-float-menu','sheets-chart-ui.common.series','sheet.chart.edit.panel','SELECTOR','_notifySheetChartsDetached','Fail\x20to\x20create\x20float\x20dom','DEFAULT_PASTE','keys','sheets-chart-ui.common.customize','mergeMenu','generateRandomId','Candlestick','renderTransition','univerjs-icon\x20univerjs-icon-','syncLayout','univer-flex\x20univer-flex-col\x20univer-gap-3','sheets-chart-ui.common.dataRange','values','resolveDefaultChartHostFrameStyle','_getChartRenderObject','(prefers-reduced-motion:\x20reduce)','mask','scaleY','min','symbol','ChartUpdateSourceCommand','_disposeChartEventSubscription','getFloatDomInfo','RibbonInsertGroup','attachRangeWithCoord','forwardRef','click','_readGeometry','getUnit','iterator','UniverProLicense','ChartUpdateConfigCommand','sheet-chart-style-panel','markNotReady','transformChange$','DependentOn','UniverSheetsPlugin','@univerjs/drawing-ui','UniverLicensePlugin','DRAWING_CHART','Scatter','animateDataUpdate','sheets-chart-ui.waterfall.positive','globalAlpha','_chartEditorOpen$','UniverSheets','use','_isChartElementEditEnabled','sheets-chart.ui.service','11smMQnm','useEffect','_getChartRenderSkipReason','Gauge','initPanel','Plugin','sheetDisposed$','ImageBitmap','UniverSheetsChartMobileUIPlugin','strokeOpacity','object','missing-active-sheet','hit','drawWith','_sheetsChartUIService','ParetoLineSeries','Reference','PieStyle','_initActiveChartModelListener','executeChartUpdateConfig','_lastRenderInputMap','_sheetDrawingService','_getChartSnapshotKey','Legend','updateFloatDom','complete','WordCloud','disposeWithMe','GeneralSeries','@univerjs-pro/sheets-chart','_generateCutPasteMutations','viewBound','height','sheets-chart-ui.common.exportImage','setPanelRoute','checkHost','nativeEvent','_setHostStyle','UniverDesign','Button','buildChartTypeSelectOptions','map','GridlinesAndTicks','ChartWordCloudStyleSection','series','_activeChartId','panelRoute$','_configService','UniverProSheetsChart','BUTTON','resolveChartCreationIntent','DEFAULT_CHART_RADAR_VALUES','debounceTime','_pendingMutationConfigRenders','IContextService','_canAnimateDataUpdate','_activateEditPanelState','onStarting','config','auto','drawingType','path','Url','useRef','all','isHit','ChartTypeSpecificStyleSection','_initPermission','makeDirty','allSettled','displayName','EChartRenderEngineName','download','take','next','getChartPopupMenus','UniverUi','_sidebarDisposable','_pendingHost','MEDIA','setBorder','ChartViewStateRegistry','setRangeSelectMode','strokeWidth','sheet.command.menu-insert-chart','UniverSheetsUIPlugin','getHostSize','href','SheetPrintInterceptorService','resolve','data$','_pendingDataUpdateChartIds','setPointerCapture','resolveChartRuntimeStyle','originalStrokeWidth','sheets-chart-ui.waterfall.negative','Boxplot','CHART_TYPE_CATALOG','createIdentifier','DrawingApplyType','clearChart','_cancelHostWait','sheets-chart-ui.common.legend','promise','_adapterRegistry','activeRuntimeModel','RemoveSheetsChartMutation','takeSnapshot','1em','getBatchRemoveOp','resourceCollector','open','_rect','checkChartCanRender','createRuntimeChartStyle','from','Fragment','style$','entries','_drawChartImage','add$','CHART_DATA_UPDATE_ANIMATION_DURATION','_chartEventSubscriptions','ChartLegendSection','sheets-chart-ui.common.editChart','IndicatorLine','pointerEvents','getContextValue','Area','onPointerMove','ChartStyle','registerCommand','sheets-chart-ui.section.paretoLine','_disposeImage','sheets-chart-ui.permission.editErr','RemoveSheetCommand','UniverDrawingPlugin','toFixed','chartType','SheetsChartService','subscribeEvent','GROUP','chartRenderMode','jsx','_gesture','getActiveSheet','resolveChartEditPanelRoute','labelId','_closePopup','getSheetBySheetId','featurePluginOrderUpdate$','arc','_sheetSkeletonService','_popupDisposable','_isProviderDisposed','330403dcFHJP','insertGroupObject','ChartOpenPanelOperation','rightYAxis','scaleX','_injector','pointerId','clearPanelRoute','context','config$','_prepareDataUpdateRender','context$','packageName','src','_chartSnapshotStoreService','beforeCommandExecuted','_sheetPrintInterceptorService','Rect','getCurrentRangeDisable$','WorkbookEditablePermission','univer-overflow-hidden','version','@univerjs/sheets-formula-ui','-univer-mx-4','activeChartModel$','Pareto','clientX','SheetSkeletonManagerService','ChartAndAxisTitles','moveX','then','getSkeleton','UniverDrawing','getValue','isArray','baseOn','tag','_config','Inject','DrawingTypeEnum','ComponentManager','deserializeRangeWithSheet','UniverSheetsUi','_debounceHandleMap','tab','_panelInitialized','sheets-chart-ui.common.openChartPanel','sheets-chart-ui.config','default','360ULkjpk','_initPrinting','_clearHiddenSelectedTarget','Canvas','SheetDrawingHitTestService','InsertChartCommand','INSERT','_chartElementEditMode','Funnel','releasePointerCapture','ChartHostAdapter','toInsertChartMutationSource','radius','Series','_updateTransform','add','left','@univerjs/core','ImageChartHost','parseFloat','asObservable','_chartUIService','_deactivateDataUpdateAnimation','DEFAULT_CHART_TRENDLINE_VALUES','sheets-chart-ui.common.verticalAxis','onload','_initCommands','_getChartRenderObjectContext','chartId','UniverEngineRender','ChartNumberFormatAtom','DRAWING','_requestPaint','_initDrawingDeactivationListener','UniverProEngineChart','_version','evented','_renderManagerService','priority','UniverSheetsDrawingUIPlugin','_disposed','moveTo','SheetSkeletonService','throttleTime','getSubUnitId','_bindChartPointerEvents','Pie','addObject','waterfallStyle','ensureHandle','switchMap','drawImage','_chartChangeSubscriptions','ChartSectionAccordionTrigger','pipe','legend','_deactivateEditPanelState','_rerenderLatest','_markHostReady','length','target','_requestedUrl','useMemo','_cacheActiveDomChartSnapshot','transparent','jsxs','logicalOuterRect','useLayoutEffect','startColumn','_snapshotStore','fromEntries','featurePluginGroupUpdate$','OPERATION','preventDefault','RightVerticalAxis','stroke','_renderService','merge','ENTER','markReady','chartModelRemoved$','chartModelAdded$','ParetoBarSeries','_createHost','getName','setProperty','onDispose','params','rxjs','_getSceneAndTransformerByDrawingSearch','combineLatest','top','WorksheetEditPermission','header','_activateHostWrapper','Bubble','isRowDirection','setStyle','pointercancel','CHART','route','hidden','UniverSheetsFormulaUi','ChartEditorCapability','http://www.w3.org/2000/svg','getElementById','_bindChartEventHandlers','format','ChartImageSourceType','pluginName','xlink:href','_openEditPanelByDoubleClick','sheets-chart-ui.waterfall.subtotal','intercept','getBatchUpdateOp','Transform','8916JCjhiL','cancel','translate','getChartSourceSpec','naturalWidth','copyType','invalidateSnapshot','sheets-chart-ui.chartTypes.line','CHART_ELEMENT_FLOAT_MENU_COMPONENT','getChartModel','UniverCore','executeCommand','chartTypeSupportsLineAndAreaStyle','ChartFrameLayout','_disposeChartEventSubscriptions','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheets-chart-ui.common.horizontalAxis','register','drawingIds','debounce','ChartHeatmapStyleSection','closePath','width','iconName','assign','sheets-chart-ui.common.heatmap','onRendered','_notifyChartRemoved','IMenuManagerService','visible','wordCloud','print','UniverProSheetsChartUi','sheets-chart-ui.section.paretoBar','Module','_panelRoute$','subUnitId','forEach','dataset','_frame','rightY','true','_contextService','_requestChartCanvasRender','delete','clearImage','COMMAND','dblclick','_createCopyInfoByRange','Treemap','_frameStyle','ChartEditorProvider','barStyle','defIds','_chartInstanceMap','serialize','KeyCode','_renderWhenConfigReady','getObject','number','_chartRenderMode','filter','_clearPanelState','ChartWaterfallStyleSection','setObjectType','sheets-chart-ui.section.sunburst','pareto','endsWith','idSuffix','PREDEFINED_HOOK_NAME','_applyHostInteractionState','removeHost','BehaviorSubject','redo','_activateDataUpdateAnimation','offsetWidth','bottom','sheet.operation.hide-chart-panel','abs','SheetsChartUIService','@univerjs/engine-render','MenuItemType','current','get','error','setProps','Waterfall','sheet.command.chart.delete-focused-chart','disconnect','getMatrix','ObjectType','Column','direction$','exports','split','.png','UniverSheetsDrawingUi','PenIcon','_bindChartEventHandler','dataSource$','find','OVERRIDE_NATIVE','_initActiveRuntimeLayerListener','_sheetDrawingHitTestService','value','sourceSubUnitId','Overlay','opacity','sheets-chart-ui.common.rightVerticalAxis','allSeriesStyle','FOCUSING_PANEL_EDITOR','exportImg','render','OTHERS','getId','flush','_loadUrlImage','chartEditorOpen$','_bindPointerEvents','_scheduleDataUpdateAnimationEnd','sheet-chart-setup-panel','DisposableCollection','_listenChartUpdateMutations','_registerComponents','inactive-sheet','sheets-chart-ui.chartTypes.area','SheetCopyCommand','registerFeatureMenu','_restoreFloatDomPositionStream','engine','colorChannel1','CommandType','ChartThemeService','getDirection','svg','DEFAULT_CHART_SERIES_VALUES','2223QBDiOv','color','useId','assignStyle','setChartEditorOpen','querySelector','sheets-chart-ui.chord.target','markHostNotReady','idMap','_chartThemeService','sheetTransform','getInterceptPoints','string','visibilityState','_suppressClick','getRenderUnitById','setImage','contains','appliedStrokeWidth','_releaseGesture','_chartEventHandlers','getFocusDrawings','sheets-chart-ui.common.hideChartPanel','_getOuterRect','_generateCopyPasteMutations','_geometry','_registerChartImageRenderObjectFactory','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','isReleased','_disposeChartDomInstance','type','sheet.command.chart.export-focused-image','_openPanel','clear','SheetChartConfigAdapter','UniverInstanceType','ChartEditPanelTab','_openFloatMenu','multiply','Histogram','label','sheets-chart-ui.common.invalidDataRange','registerRenderObjectFactory','UniverSheetsDrawing'];_0xb755=function(){return _0x166434;};return _0xb755();}(function(_0x4ea111,_0x4f36ff){const _0x25275d=_0x3c84,_0x26aa90=_0x4ea111();while(!![]){try{const _0x32f09d=-parseInt(_0x25275d(0x268))/0x1+-parseInt(_0x25275d(0x49a))/0x2+parseInt(_0x25275d(0x135))/0x3+-parseInt(_0x25275d(0x122))/0x4*(parseInt(_0x25275d(0x3c9))/0x5)+parseInt(_0x25275d(0x30d))/0x6*(-parseInt(_0x25275d(0x449))/0x7)+-parseInt(_0x25275d(0x299))/0x8*(-parseInt(_0x25275d(0x395))/0x9)+-parseInt(_0x25275d(0x196))/0xa*(-parseInt(_0x25275d(0x1cd))/0xb);if(_0x32f09d===_0x4f36ff)break;else _0x26aa90['push'](_0x26aa90['shift']());}catch(_0x4baeab){_0x26aa90['push'](_0x26aa90['shift']());}}}(_0xb755,0x67b00),function(_0x2a7bf9,_0x549345){const _0x276c3a=_0x3c84;typeof exports==_0x276c3a(0x1d7)&&typeof module<'u'?_0x549345(exports,require('@univerjs/core'),require('@univerjs-pro/sheets-chart'),require('@univerjs/drawing'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/sheets'),require('@univerjs/engine-formula'),require('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license')):typeof define==_0x276c3a(0x10a)&&define['amd']?define([_0x276c3a(0x36a),_0x276c3a(0x2aa),_0x276c3a(0x1ea),_0x276c3a(0x455),_0x276c3a(0x17a),_0x276c3a(0xdb),_0x276c3a(0x18b),_0x276c3a(0x40b),_0x276c3a(0x2f1),'@univerjs-pro/chart-ui','@univerjs-pro/engine-chart',_0x276c3a(0x433),_0x276c3a(0x42e),_0x276c3a(0x1c1),_0x276c3a(0x35d),_0x276c3a(0xd7),_0x276c3a(0xcf),_0x276c3a(0x27e),_0x276c3a(0x10c),_0x276c3a(0x40a)],_0x549345):(_0x2a7bf9=typeof globalThis<'u'?globalThis:_0x2a7bf9||self,_0x549345(_0x2a7bf9[_0x276c3a(0x32d)]={},_0x2a7bf9[_0x276c3a(0x317)],_0x2a7bf9[_0x276c3a(0x1fd)],_0x2a7bf9[_0x276c3a(0x288)],_0x2a7bf9[_0x276c3a(0x3c0)],_0x2a7bf9[_0x276c3a(0x36d)],_0x2a7bf9[_0x276c3a(0x292)],_0x2a7bf9[_0x276c3a(0x219)],_0x2a7bf9[_0x276c3a(0x2f1)],_0x2a7bf9['UniverProChartUi'],_0x2a7bf9[_0x276c3a(0x2bb)],_0x2a7bf9[_0x276c3a(0x1c9)],_0x2a7bf9['UniverEngineFormula'],_0x2a7bf9['UniverDrawingUi'],_0x2a7bf9[_0x276c3a(0x2b6)],_0x2a7bf9['React'],_0x2a7bf9[_0x276c3a(0x1f3)],_0x2a7bf9[_0x276c3a(0x2ff)],_0x2a7bf9[_0x276c3a(0x420)],_0x2a7bf9[_0x276c3a(0x1ba)]));}(this,function(_0x44e059,_0x1e7325,_0x5979b3,_0x39bdba,_0x4dac75,_0x398b93,_0x2ef923,_0xced9f3,_0x24f269,_0x339b6e,_0x3611d5,_0x559364,_0x1ee0b1,_0x4015f2,_0x4fef78,_0x5de930,_0x15e416,_0x2aadda,_0x424e81,_0x4eff75){const _0xeb70cf=_0x3c84;Object[_0xeb70cf(0x4a8)](_0x44e059,Symbol[_0xeb70cf(0x42d)],{'value':_0xeb70cf(0x32f)});let _0x48776c={'type':_0x1e7325[_0xeb70cf(0x390)]['OPERATION'],'id':_0xeb70cf(0x4ba),'handler'(){return!0x0;}},_0x3e48e7=_0xeb70cf(0x297),_0x2be8c4={'enableChartElementFloatMenu':!0x0},_0x2f1627={'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x2e1)],'id':_0xeb70cf(0x35a),'handler'(){return!0x0;}};function _0x474ca4(_0x5125a1){const _0x39349c=_0xeb70cf;let _0x3a39df=_0x5125a1[_0x39349c(0x360)](_0x4dac75['ISheetDrawingService'])[_0x39349c(0x3aa)]();if(_0x3a39df[_0x39349c(0x2d4)]!==0x1)return null;let _0x2e1a33=_0x3a39df[0x0];return _0x2e1a33[_0x39349c(0x209)]===_0x1e7325[_0x39349c(0x28f)][_0x39349c(0x1c3)]?_0x2e1a33:null;}function _0x20d613(_0x75663,_0x1aedcc){const _0xe962af=_0xeb70cf;let _0x1a48e4=document[_0xe962af(0xfc)]('a');_0x1a48e4[_0xe962af(0x224)]=_0x75663,_0x1a48e4[_0xe962af(0x215)]=_0x1aedcc,_0x1a48e4[_0xe962af(0x1b6)]();}let _0x512316={'id':_0xeb70cf(0x414),'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x33b)],'handler':(_0x15d238,_0x37b046)=>{const _0x485da9=_0xeb70cf;let _0x91a29c=_0x474ca4(_0x15d238);return _0x91a29c?_0x15d238[_0x485da9(0x360)](_0x1e7325['ICommandService'])['executeCommand'](_0x48776c['id'],{'unitId':_0x91a29c[_0x485da9(0xfa)],'subUnitId':_0x91a29c['subUnitId'],'drawingId':_0x91a29c[_0x485da9(0xef)],..._0x37b046!=null&&_0x37b046[_0x485da9(0x2fd)]?{'route':_0x37b046[_0x485da9(0x2fd)]}:{}}):!0x1;}},_0xe02a20={'id':'sheet.command.chart.copy-focused-chart','type':_0x1e7325[_0xeb70cf(0x390)]['COMMAND'],'handler':_0x1fe7c4=>_0x474ca4(_0x1fe7c4)?_0x1fe7c4[_0xeb70cf(0x360)](_0x1e7325[_0xeb70cf(0xd2)])[_0xeb70cf(0x318)](_0x2ef923[_0xeb70cf(0x38b)]['id']):!0x1},_0x336d65={'id':_0xeb70cf(0x3b4),'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x33b)],'handler':async _0x5afa20=>{const _0x399a8b=_0xeb70cf;let _0x58538e=_0x474ca4(_0x5afa20);if(!_0x58538e)return!0x1;let _0x267ab2=await _0x5afa20[_0x399a8b(0x360)](_0x339b6e['ChartImageExportService'])[_0x399a8b(0x3fb)]({'unitId':_0x58538e[_0x399a8b(0xfa)],'subUnitId':_0x58538e[_0x399a8b(0x331)],'getId':()=>_0x58538e['drawingId']});return _0x267ab2?(_0x20d613(_0x267ab2,_0x58538e[_0x399a8b(0xef)]+_0x399a8b(0x36c)),!0x0):!0x1;}},_0x13aee6={'id':_0xeb70cf(0x364),'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x33b)],'handler':_0x2c887c=>{const _0x10e8d7=_0xeb70cf;let _0x27807c=_0x474ca4(_0x2c887c);return _0x27807c?_0x2c887c[_0x10e8d7(0x360)](_0x1e7325[_0x10e8d7(0xd2)])['executeCommand'](_0x4dac75['RemoveSheetDrawingCommand']['id'],{'unitId':_0x27807c[_0x10e8d7(0xfa)],'drawings':[{'unitId':_0x27807c[_0x10e8d7(0xfa)],'subUnitId':_0x27807c[_0x10e8d7(0x331)],'drawingId':_0x27807c[_0x10e8d7(0xef)],'drawingType':_0x1e7325[_0x10e8d7(0x28f)][_0x10e8d7(0x1c3)]}]}):!0x1;}},_0x5cbb78={'type':_0x1e7325[_0xeb70cf(0x390)]['COMMAND'],'id':_0xeb70cf(0x221),'handler':async(_0x58dfd5,_0x957390)=>{const _0x167744=_0xeb70cf;let _0x8aace2=(0x0,_0x559364[_0x167744(0x3c7)])(_0x58dfd5[_0x167744(0x360)](_0x1e7325[_0x167744(0x106)]));if(!_0x8aace2)return!0x1;let _0x495e43=_0x58dfd5[_0x167744(0x360)](_0x559364['SheetsSelectionsService'])[_0x167744(0x46d)]();if(!_0x495e43)return!0x1;let {range:_0x38fa7b}=_0x495e43,_0x1990c0=_0x58dfd5['get'](_0x1e7325[_0x167744(0xd2)]),{unitId:_0x3a551e,subUnitId:_0x448a36}=_0x8aace2,{pieSecondaryPlotType:_0x57df43,value:_0x19be38}=_0x957390,_0x5b2284=_0x57df43!==void 0x0;if(_0x5b2284&&(_0x19be38!==_0x3611d5[_0x167744(0x109)]['Pie']||_0x57df43!==_0x3611d5['PieSecondaryPlotType'][_0x167744(0x2c7)]&&_0x57df43!==_0x3611d5[_0x167744(0x195)]['Bar']))return!0x1;let _0x23faef=_0x5b2284?(0x0,_0x1e7325[_0x167744(0x1a1)])():void 0x0;return _0x1990c0[_0x167744(0x318)](_0x5979b3[_0x167744(0x29e)]['id'],{'unitId':_0x3a551e,'subUnitId':_0x448a36,'chartType':_0x19be38,..._0x23faef&&_0x57df43?{'chartId':_0x23faef,'config':{'unitId':_0x3a551e,'chartModelId':_0x23faef,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x57df43}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x38fa7b[_0x167744(0xfa)]??_0x3a551e,'subUnitId':_0x38fa7b[_0x167744(0x429)]??_0x448a36,'range':_0x38fa7b}}});}};function _0x39337f(_0x1dfdb4,_0x43d7aa){const _0x3f8c46=_0xeb70cf;if(_0x1dfdb4==null)return'';if(Array['isArray'](_0x1dfdb4)){var _0x19f2f9;let _0x5e232d=(_0x19f2f9=_0x1dfdb4[0x0])==null?void 0x0:_0x19f2f9[_0x3f8c46(0x441)];return _0x5e232d?_0x8e43ae(_0x5e232d,_0x43d7aa):'';}return _0x8e43ae(_0x1dfdb4[_0x3f8c46(0x43c)],_0x43d7aa);}function _0x8e43ae(_0x11928c,_0x2695e1){const _0x2b217c=_0xeb70cf;var _0x2d8f41;let {unitId:_0x231975,subUnitId:_0x3cf1bf,range:_0x407dcb}=_0x11928c,_0x425963=(_0x2d8f41=_0x2695e1[_0x2b217c(0x1b8)](_0x231975))==null?void 0x0:_0x2d8f41[_0x2b217c(0x262)](_0x3cf1bf);if(!_0x425963)return'';let _0x7d0203=_0x425963[_0x2b217c(0x2ed)]();return(0x0,_0x1ee0b1[_0x2b217c(0x47c)])(_0x7d0203,_0x407dcb);}let _0x14f1e3=_0x339b6e[_0xeb70cf(0x22e)][_0xeb70cf(0x1f6)](_0x56c7b1=>({'id':'id'in _0x56c7b1?_0x56c7b1['id']:void 0x0,'labelId':_0x56c7b1[_0xeb70cf(0x260)],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x56c7b1?_0x56c7b1['pieSecondaryPlotType']:void 0x0,'value':_0x56c7b1['value'],'icon':_0x56c7b1[_0xeb70cf(0x324)]}));function _0x46af17(_0x56ec45=_0x14f1e3){return _0x56ec45['map'](({id:_0x10f805,icon:_0x1c6ffb,value:_0x14a4ca})=>{const _0x52400b=_0x3c84;let _0x3a2b33=(0x0,_0x339b6e[_0x52400b(0x1ff)])(_0x10f805??String(_0x14a4ca)),_0x2703df=_0x3a2b33?{'value':_0x3a2b33['chartType'],..._0x3a2b33[_0x52400b(0x186)]?{'pieSecondaryPlotType':_0x3a2b33[_0x52400b(0x186)]}:{}}:{'value':_0x14a4ca};return{'icon':_0x1c6ffb,'value':_0x10f805??_0x14a4ca,'params':_0x2703df};});}let _0x51c8a3=(_0x15e3d3,_0xd98da7)=>{const _0x4f1716=_0xeb70cf;if(_0xd98da7[_0x4f1716(0x2d4)]===0x1&&_0xd98da7[0x0]===_0x4f1716(0x20d))return _0x15e3d3;if(_0xd98da7['length']>0x1){let _0x4e003d=new Set();for(let _0x250f32 of _0xd98da7)_0x4e003d[_0x4f1716(0x2a8)](Number(_0x250f32));return _0x15e3d3[_0x4f1716(0x34a)](_0x14aea4=>_0x4e003d[_0x4f1716(0x4af)](_0x14aea4[_0x4f1716(0x375)]));}return[];};function _0x252a91(_0x48c76d){const _0x13a7d5=_0xeb70cf;let _0x4a668f=_0x48c76d[_0x13a7d5(0x360)](_0x1e7325[_0x13a7d5(0x106)]),_0x62b24e=(0x0,_0x5979b3[_0x13a7d5(0x12b)])(_0x48c76d),_0x472119=_0x51c8a3(_0x14f1e3[_0x13a7d5(0x434)](),_0x62b24e),_0x497817=_0x46af17(_0x472119)[_0x13a7d5(0x1f6)]((_0x479b98,_0x1ff7e1)=>({'icon':_0x479b98['icon'],'value':_0x479b98[_0x13a7d5(0x375)],'params':_0x479b98[_0x13a7d5(0x2f0)],'label':'sheets-chart-ui.chartTypes.'+_0x472119[_0x1ff7e1]['labelId']}));return{'id':_0x5cbb78['id'],'type':_0xced9f3['MenuItemType'][_0x13a7d5(0x19a)],'selectionsCommandId':_0x5cbb78['id'],'selections':_0x497817,'icon':_0x13a7d5(0x129),'tooltip':_0x13a7d5(0x48b),'activated$':(0x0,_0x2ef923['deriveStateFromActiveSheet$'])(_0x4a668f,!0x1,()=>new _0x24f269['Observable'](_0x591dfa=>{const _0x4439fa=_0x13a7d5;_0x591dfa[_0x4439fa(0x217)](!0x1);})),'hidden$':(0x0,_0xced9f3['getMenuHiddenObservable'])(_0x48c76d,_0x1e7325[_0x13a7d5(0x3b8)][_0x13a7d5(0x41f)]),'disabled$':(0x0,_0x2ef923[_0x13a7d5(0x27a)])(_0x48c76d)};}function _0x4c575c(_0x28c56d){const _0x475e44=_0xeb70cf;let _0x4dfe0b=_0x28c56d['get'](_0x4dac75[_0x475e44(0x45a)]);return _0x4dfe0b[_0x475e44(0x49b)][_0x475e44(0x2cf)]((0x0,_0x24f269[_0x475e44(0x11e)])(_0x4dfe0b[_0x475e44(0x3aa)]()),(0x0,_0x24f269[_0x475e44(0x1f6)])(()=>_0x474ca4(_0x28c56d)==null));}function _0x1f5608(_0x11b3e4){const _0x4ee8ba=_0xeb70cf;return{'id':_0x512316['id'],'commandId':_0x512316['id'],'type':_0xced9f3[_0x4ee8ba(0x35e)]['BUTTON'],'title':_0x11b3e4[_0x4ee8ba(0x360)](_0x1e7325[_0x4ee8ba(0x404)])['t'](_0x4ee8ba(0x296)),'icon':'PenIcon','hidden$':_0x4c575c(_0x11b3e4)};}function _0x4fb0f8(_0x4649ba){const _0x1dd4e1=_0xeb70cf;return{'id':_0xe02a20['id'],'commandId':_0xe02a20['id'],'type':_0xced9f3[_0x1dd4e1(0x35e)][_0x1dd4e1(0x1fe)],'title':_0x4649ba[_0x1dd4e1(0x360)](_0x1e7325[_0x1dd4e1(0x404)])['t']('sheets-chart-ui.common.copy'),'icon':_0x1dd4e1(0x115),'hidden$':_0x4c575c(_0x4649ba)};}function _0x1d2a26(_0x5b607a){const _0x43e627=_0xeb70cf;return{'id':_0x336d65['id'],'commandId':_0x336d65['id'],'type':_0xced9f3[_0x43e627(0x35e)][_0x43e627(0x1fe)],'title':_0x5b607a[_0x43e627(0x360)](_0x1e7325[_0x43e627(0x404)])['t'](_0x43e627(0x1ee)),'icon':_0x43e627(0x13b),'hidden$':_0x4c575c(_0x5b607a)};}function _0x1ad486(_0x97815a){const _0x28a1ec=_0xeb70cf;return{'id':_0x13aee6['id'],'commandId':_0x13aee6['id'],'type':_0xced9f3[_0x28a1ec(0x35e)][_0x28a1ec(0x1fe)],'title':_0x97815a[_0x28a1ec(0x360)](_0x1e7325[_0x28a1ec(0x404)])['t'](_0x28a1ec(0x11d)),'icon':_0x28a1ec(0x14f),'hidden$':_0x4c575c(_0x97815a)};}let _0x3350dd={[_0xced9f3[_0xeb70cf(0x1b3)][_0xeb70cf(0x21c)]]:{[_0x5cbb78['id']]:{'order':0x4,'menuItemFactory':_0x252a91}},[_0xced9f3[_0xeb70cf(0x45e)][_0xeb70cf(0x2b8)]]:{[_0xced9f3['ContextMenuGroup'][_0xeb70cf(0x37e)]]:{[_0x512316['id']]:{'order':0x0,'menuItemFactory':_0x1f5608},[_0xe02a20['id']]:{'order':0x1,'menuItemFactory':_0x4fb0f8},[_0x336d65['id']]:{'order':0x3,'menuItemFactory':_0x1d2a26},[_0x13aee6['id']]:{'order':0x4,'menuItemFactory':_0x1ad486}}}};function _0x24003c(_0x31b353){const _0x2b0bd7=_0xeb70cf;return _0x31b353===_0x3611d5['ChartTypeBits']['Combination']||_0x31b353===_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x46f)]||_0x31b353===_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x22d)]||_0x3611d5['chartBitsUtils'][_0x2b0bd7(0x28b)](_0x31b353,_0x3611d5[_0x2b0bd7(0x109)]['Line'])||_0x3611d5[_0x2b0bd7(0xda)]['baseOn'](_0x31b353,_0x3611d5['ChartTypeBits'][_0x2b0bd7(0x368)])||_0x3611d5[_0x2b0bd7(0xda)][_0x2b0bd7(0x28b)](_0x31b353,_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x24d)])||_0x3611d5['chartBitsUtils'][_0x2b0bd7(0x28b)](_0x31b353,_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x1c4)]);}function _0x3a7357(_0x5d8b5e){const _0x3baff1=_0xeb70cf;return _0x24003c(_0x5d8b5e)||_0x3611d5[_0x3baff1(0xda)][_0x3baff1(0x28b)](_0x5d8b5e,_0x3611d5[_0x3baff1(0x109)][_0x3baff1(0x2c7)])||_0x3611d5[_0x3baff1(0xda)][_0x3baff1(0x28b)](_0x5d8b5e,_0x3611d5[_0x3baff1(0x109)][_0x3baff1(0x281)])||_0x3611d5[_0x3baff1(0xda)][_0x3baff1(0x28b)](_0x5d8b5e,_0x3611d5['ChartTypeBits'][_0x3baff1(0x363)]);}function _0x424778(_0x525b8e,_0x3d2ad8){const _0x5a88d8=_0xeb70cf;let _0xd26a0e=(0x0,_0x339b6e[_0x5a88d8(0x410)])(_0x525b8e,_0x3d2ad8),_0x19e923=_0xd26a0e?(0x0,_0x339b6e[_0x5a88d8(0x25f)])(_0xd26a0e['target']):void 0x0;if(_0xd26a0e&&_0x19e923)return{..._0xd26a0e,'route':_0x19e923,'showFloatMenu':_0x3a7357(_0x525b8e[_0x5a88d8(0x257)])&&_0xd26a0e[_0x5a88d8(0x3e5)]};}function _0x47b3fc(_0x24ab3c){'@babel/helpers - typeof';const _0x240ce0=_0xeb70cf;return _0x47b3fc=typeof Symbol==_0x240ce0(0x10a)&&typeof Symbol[_0x240ce0(0x1b9)]==_0x240ce0(0x1af)?function(_0x3e0180){return typeof _0x3e0180;}:function(_0x541b08){return _0x541b08&&typeof Symbol=='function'&&_0x541b08['constructor']===Symbol&&_0x541b08!==Symbol['prototype']?'symbol':typeof _0x541b08;},_0x47b3fc(_0x24ab3c);}function _0xa9e424(_0x19adc9,_0x5e258a){const _0xf5ccb8=_0xeb70cf;if(_0x47b3fc(_0x19adc9)!='object'||!_0x19adc9)return _0x19adc9;var _0x2f704e=_0x19adc9[Symbol['toPrimitive']];if(_0x2f704e!==void 0x0){var _0x580fbf=_0x2f704e[_0xf5ccb8(0x479)](_0x19adc9,_0x5e258a||_0xf5ccb8(0x298));if(_0x47b3fc(_0x580fbf)!=_0xf5ccb8(0x1d7))return _0x580fbf;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5e258a==='string'?String:Number)(_0x19adc9);}function _0x45e879(_0x295637){const _0x330a8f=_0xeb70cf;var _0x54b017=_0xa9e424(_0x295637,'string');return _0x47b3fc(_0x54b017)==_0x330a8f(0x1af)?_0x54b017:_0x54b017+'';}function _0x1b6fbd(_0x3034f4,_0x564b16,_0x5ec35b){const _0x21bcd0=_0xeb70cf;return(_0x564b16=_0x45e879(_0x564b16))in _0x3034f4?Object[_0x21bcd0(0x4a8)](_0x3034f4,_0x564b16,{'value':_0x5ec35b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3034f4[_0x564b16]=_0x5ec35b,_0x3034f4;}var _0x495b73=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x38e6c3,_0x4d4fbb){const _0x10ad46=_0xeb70cf;super(),this[_0x10ad46(0x23d)]=_0x38e6c3,this['_onChange']=_0x4d4fbb,_0x1b6fbd(this,_0x10ad46(0x334),null),_0x1b6fbd(this,_0x10ad46(0x3ae),void 0x0),this['_geometry']=this[_0x10ad46(0x1b7)](),this[_0x10ad46(0x1e8)](_0x38e6c3[_0x10ad46(0x10b)][_0x10ad46(0x259)](()=>{const _0x13fde6=_0x10ad46;this[_0x13fde6(0x334)]===null&&(this[_0x13fde6(0x334)]=requestAnimationFrame(()=>this[_0x13fde6(0x380)]()));}));}[_0xeb70cf(0x380)](){const _0x18eb9d=_0xeb70cf;if(this[_0x18eb9d(0xd0)](),this[_0x18eb9d(0x2c1)])return;let _0x4bb49d=this[_0x18eb9d(0x1b7)](),_0x17f351=this[_0x18eb9d(0x3ae)],_0x1937b5=_0x4bb49d[_0x18eb9d(0x323)]!==_0x17f351[_0x18eb9d(0x323)]||_0x4bb49d['height']!==_0x17f351['height'];(_0x1937b5||_0x4bb49d[_0x18eb9d(0x2a9)]!==_0x17f351['left']||_0x4bb49d[_0x18eb9d(0x2f4)]!==_0x17f351['top'])&&(this[_0x18eb9d(0x3ae)]=_0x4bb49d,this['_onChange'](_0x1937b5));}[_0xeb70cf(0xd0)](){const _0x188462=_0xeb70cf;this[_0x188462(0x334)]!==null&&(cancelAnimationFrame(this['_frame']),this[_0x188462(0x334)]=null);}[_0xeb70cf(0x151)](){const _0x153252=_0xeb70cf;this['cancelPending'](),super[_0x153252(0x151)]();}[_0xeb70cf(0x1b7)](){let {left:_0x50675f,top:_0x1016a3,width:_0x5d6d1e,height:_0x1406e4}=this['_rect'];return{'left':_0x50675f,'top':_0x1016a3,'width':_0x5d6d1e,'height':_0x1406e4};}};function _0x2c2298(_0x403426,_0x59d052=0x1){const _0x4d8747=_0xeb70cf;return{'width':Math[_0x4d8747(0x15a)](_0x59d052,_0x403426[_0x4d8747(0x323)]),'height':Math[_0x4d8747(0x15a)](_0x59d052,_0x403426['height'])};}function _0x5773c3(_0x5cd643,_0x29d934={},_0x281a0d={'left':0x0,'top':0x0}){const _0x248f05=_0xeb70cf;let _0x1ccf12=_0x29d934[_0x248f05(0x26c)]??0x1,_0x4e3065=_0x29d934[_0x248f05(0x1ad)]??0x1,_0x31ffa9=_0x339b6e[_0x248f05(0x31a)][_0x248f05(0x226)]({'logicalOuterRect':{'left':_0x281a0d[_0x248f05(0x2a9)]>0x0?-_0x281a0d[_0x248f05(0x2a9)]:0x0,'top':_0x281a0d[_0x248f05(0x2f4)]>0x0?-_0x281a0d[_0x248f05(0x2f4)]:0x0,..._0x2c2298(_0x5cd643)},'scale':{'scaleX':_0x1ccf12,'scaleY':_0x4e3065},'hostStyle':{},'contentMode':_0x339b6e['ChartFrameContentMode'][_0x248f05(0x377)]});return{'left':_0x31ffa9[_0x248f05(0x2db)][_0x248f05(0x2a9)],'top':_0x31ffa9[_0x248f05(0x2db)]['top'],'width':_0x31ffa9[_0x248f05(0x2db)][_0x248f05(0x323)],'height':_0x31ffa9['logicalOuterRect'][_0x248f05(0x1ed)],'scaleX':_0x1ccf12,'scaleY':_0x4e3065};}function _0x2a40a6(_0x19bc48){const _0x6342f5=_0xeb70cf;switch(_0x19bc48[_0x6342f5(0x3b3)]){case _0x3611d5[_0x6342f5(0x305)][_0x6342f5(0x29c)]:return _0x19bc48[_0x6342f5(0x438)];case _0x3611d5[_0x6342f5(0x305)][_0x6342f5(0x1d4)]:return _0x19bc48['imageBitmap'];default:return;}}var _0x391a42=class extends _0x4fef78['Rect']{constructor(_0x5225c7,_0x12a764,_0x408667,_0x42952c=()=>!0x1,_0x52a116=()=>{}){const _0x5b094d=_0xeb70cf;super(_0x5225c7,{..._0x12a764,'evented':_0x12a764[_0x5b094d(0x2bd)]??!0x0}),this['_getImage']=_0x408667,this['_shouldSuppressRender']=_0x42952c,this['_disposeImage']=_0x52a116,_0x1b6fbd(this,_0x5b094d(0x3c1),null),_0x1b6fbd(this,_0x5b094d(0xeb),null),_0x1b6fbd(this,'_requestedUrl',null),_0x1b6fbd(this,_0x5b094d(0x481),null),this[_0x5b094d(0x34d)](_0x4fef78[_0x5b094d(0x367)][_0x5b094d(0x2fc)]);}[_0xeb70cf(0x151)](){const _0x785f41=_0xeb70cf;this['_clearPendingUrlImage'](),this[_0x785f41(0x3c1)]=null,this[_0x785f41(0xeb)]=null,this['_requestedUrl']=null,this[_0x785f41(0x252)](),super[_0x785f41(0x151)]();}[_0xeb70cf(0x37d)](_0xae7f99,_0x479b7d){const _0x541116=_0xeb70cf;if(!this['visible'])return this[_0x541116(0x211)](!0x1),this;if(this['_shouldSuppressRender']()){let _0x53005e=this[_0x541116(0xd4)]();return _0x53005e&&this['_getDrawable'](_0x53005e),this['makeDirty'](!0x1),this;}if(!this[_0x541116(0x401)])return this;let {width:_0x2908aa,height:_0x21d915,left:_0x2f8780,top:_0x529294}=this[_0x541116(0x108)]();if(this[_0x541116(0xe0)](_0x479b7d)){let {top:_0x568ea4,left:_0x22c845,bottom:_0x291c2,right:_0x5877d8}=_0x479b7d[_0x541116(0x1ec)];if(_0x2908aa+this[_0x541116(0x220)]+_0x2f8780<_0x22c845||_0x5877d8<_0x2f8780||_0x21d915+this[_0x541116(0x220)]+_0x529294<_0x568ea4||_0x291c2<_0x529294)return this;}let _0x572fd5=this[_0x541116(0x401)][_0x541116(0x366)]();_0xae7f99['save']();let _0x26ba18=_0x2f8780+_0x2908aa/0x2,_0x188247=_0x529294+_0x21d915/0x2;return _0xae7f99[_0x541116(0x401)](_0x572fd5[0x0],_0x572fd5[0x1],_0x572fd5[0x2],_0x572fd5[0x3],_0x26ba18,_0x188247),this['opacity']!==0x1&&(_0xae7f99[_0x541116(0x1c7)]=this[_0x541116(0x378)]),this[_0x541116(0x13a)](_0xae7f99,void 0x0,_0x2908aa,_0x21d915),_0xae7f99[_0x541116(0x17f)](),this[_0x541116(0x211)](!0x1),this;}[_0xeb70cf(0x13a)](_0x57a679,_0x11de2e,_0x401fdb=this[_0xeb70cf(0x323)],_0x46e214=this['height']){const _0x2e421d=_0xeb70cf;this[_0x2e421d(0x424)](_0x57a679,_0x401fdb,_0x46e214,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x2e421d(0x244)](_0x57a679,_0x401fdb,_0x46e214),this[_0x2e421d(0x424)](_0x57a679,_0x401fdb,_0x46e214,{'fill':void 0x0});}['_drawChartFrame'](_0x18eb2f,_0x478dbb,_0x27693f,_0x31f14d){const _0x188eef=_0xeb70cf;_0x18eb2f['save'](),_0x18eb2f[_0x188eef(0x30f)](-_0x478dbb/0x2,-_0x27693f/0x2),_0x4fef78[_0x188eef(0x279)][_0x188eef(0x1da)](_0x18eb2f,_0x580525(this,_0x478dbb,_0x27693f,_0x31f14d)),_0x18eb2f['restore']();}[_0xeb70cf(0x20e)](_0x412484){const _0x813441=_0xeb70cf;let {left:_0x14de86,top:_0x41dcaa,width:_0x9367e5,height:_0x26d944}=this['getRealBound'](),_0x201d5b=_0x14de86+_0x9367e5/0x2,_0x33d77f=_0x41dcaa+_0x26d944/0x2,_0x1dc5cb=this[_0x813441(0x401)][_0x813441(0x366)](),_0x128994=new _0x4fef78[(_0x813441(0x30c))]([_0x1dc5cb[0x0],_0x1dc5cb[0x1],_0x1dc5cb[0x2],_0x1dc5cb[0x3],_0x201d5b,_0x33d77f]),_0xc1165d=this[_0x813441(0x175)](),_0x4bc970=(this[_0x813441(0x15e)]&&(_0xc1165d==null?void 0x0:_0xc1165d[_0x813441(0x181)])===_0x4fef78[_0x813441(0x436)][_0x813441(0x25a)]?_0xc1165d[_0x813441(0x167)][_0x813441(0x3bb)](_0x128994):_0x128994)[_0x813441(0xca)]()[_0x813441(0x173)](_0x412484),_0x4b6188=_0x9367e5/0x2,_0x153708=_0x26d944/0x2;return _0x4bc970['x']>=-_0x4b6188-this[_0x813441(0x220)]/0x2&&_0x4bc970['x']<=_0x4b6188+this[_0x813441(0x220)]/0x2&&_0x4bc970['y']>=-_0x153708-this['strokeWidth']/0x2&&_0x4bc970['y']<=_0x153708+this[_0x813441(0x220)]/0x2;}[_0xeb70cf(0x244)](_0x112156,_0x5cc166,_0x20f898){const _0x284d53=_0xeb70cf;let _0x1d1910=this[_0x284d53(0xd4)](),_0x5bb5e2=_0x1d1910?this[_0x284d53(0x45c)](_0x1d1910):void 0x0;if(!_0x5bb5e2)return;let {width:_0x5f4a94,height:_0x1166a9}=_0x2c2298({'width':_0x5cc166,'height':_0x20f898},0x0);_0x5f4a94!==0x0&&_0x1166a9!==0x0&&(_0x112156[_0x284d53(0x137)](),_0x112156[_0x284d53(0x30f)](-_0x5cc166/0x2,-_0x20f898/0x2),_0x599d8e(_0x112156,_0x5f4a94,_0x1166a9,this[_0x284d53(0x2a5)]),_0x112156['clip'](),_0x112156[_0x284d53(0x2cc)](_0x5bb5e2,0x0,0x0,_0x5f4a94,_0x1166a9),_0x112156[_0x284d53(0x17f)]());}['_getDrawable'](_0x3d9118){const _0x559df4=_0xeb70cf;var _0x3ea8f;let _0x292ee1=_0x2a40a6(_0x3d9118);if(_0x292ee1)return _0x292ee1;if(_0x3d9118[_0x559df4(0x3b3)]===_0x3611d5[_0x559df4(0x305)][_0x559df4(0x20b)]&&(this[_0x559df4(0x2d6)]!==_0x3d9118['url']&&(this[_0x559df4(0x2d6)]=_0x3d9118[_0x559df4(0x412)],this['_clearPendingUrlImage'](),this[_0x559df4(0xeb)]!==_0x3d9118[_0x559df4(0x412)]&&this[_0x559df4(0x381)](_0x3d9118[_0x559df4(0x412)])),(_0x3ea8f=this[_0x559df4(0x3c1)])!=null&&_0x3ea8f[_0x559df4(0x1e6)]&&this[_0x559df4(0x3c1)][_0x559df4(0x311)]>0x0&&this['_urlImage']['naturalHeight']>0x0))return this[_0x559df4(0x3c1)];}[_0xeb70cf(0x381)](_0x30a752){const _0x471de3=_0xeb70cf;let _0x11db7f=document[_0x471de3(0xfc)](_0x471de3(0x435));this[_0x471de3(0x481)]=_0x11db7f,_0x11db7f['crossOrigin']=_0x471de3(0x12e),_0x11db7f['onload']=()=>{const _0x38026e=_0x471de3;this[_0x38026e(0x2d6)]===_0x30a752&&this['_pendingUrlImage']===_0x11db7f&&(_0x11db7f[_0x38026e(0x311)]>0x0&&_0x11db7f['naturalHeight']>0x0&&(this['_url']=_0x30a752,this[_0x38026e(0x3c1)]=_0x11db7f),this[_0x38026e(0x150)](),this['makeDirty'](!0x0));},_0x11db7f[_0x471de3(0x499)]=()=>{const _0xad7f79=_0x471de3;this['_pendingUrlImage']===_0x11db7f&&this[_0xad7f79(0x150)]();},_0x11db7f[_0x471de3(0x275)]=_0x30a752;}['_clearPendingUrlImage'](){const _0x5a8f42=_0xeb70cf;this[_0x5a8f42(0x481)]&&=(this[_0x5a8f42(0x481)][_0x5a8f42(0x2b2)]=null,this[_0x5a8f42(0x481)][_0x5a8f42(0x499)]=null,null);}};function _0x580525(_0x3da107,_0x22df25,_0xd98018,_0x19cb42){const _0x8de773=_0xeb70cf;let _0x43c5c0=Object[_0x8de773(0x3dd)](_0x3da107);return Object['defineProperty'](_0x43c5c0,_0x8de773(0x323),{'value':_0x22df25}),Object[_0x8de773(0x4a8)](_0x43c5c0,'height',{'value':_0xd98018}),Object[_0x8de773(0x19e)](_0x19cb42)[_0x8de773(0x332)](_0xdcfd7a=>{const _0xa898=_0x8de773;Object[_0xa898(0x4a8)](_0x43c5c0,_0xdcfd7a,{'value':_0x19cb42[_0xdcfd7a]});}),_0x43c5c0;}function _0x599d8e(_0x2af289,_0x49c877,_0x4a0d92,_0x465ac7){const _0x47f2fd=_0xeb70cf;let _0x3f0cb2=Math[_0x47f2fd(0x1ae)](_0x465ac7||0x0,_0x49c877/0x2,_0x4a0d92/0x2);_0x2af289[_0x47f2fd(0x474)](),_0x3f0cb2?(_0x2af289[_0x47f2fd(0x2c2)](_0x3f0cb2,0x0),_0x2af289[_0x47f2fd(0x18c)](_0x49c877-_0x3f0cb2,0x0),_0x2af289[_0x47f2fd(0x264)](_0x49c877-_0x3f0cb2,_0x3f0cb2,_0x3f0cb2,Math['PI']*0x3/0x2,0x0,!0x1),_0x2af289[_0x47f2fd(0x18c)](_0x49c877,_0x4a0d92-_0x3f0cb2),_0x2af289[_0x47f2fd(0x264)](_0x49c877-_0x3f0cb2,_0x4a0d92-_0x3f0cb2,_0x3f0cb2,0x0,Math['PI']/0x2,!0x1),_0x2af289[_0x47f2fd(0x18c)](_0x3f0cb2,_0x4a0d92),_0x2af289[_0x47f2fd(0x264)](_0x3f0cb2,_0x4a0d92-_0x3f0cb2,_0x3f0cb2,Math['PI']/0x2,Math['PI'],!0x1),_0x2af289[_0x47f2fd(0x18c)](0x0,_0x3f0cb2),_0x2af289[_0x47f2fd(0x264)](_0x3f0cb2,_0x3f0cb2,_0x3f0cb2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2af289[_0x47f2fd(0x322)]()):(_0x2af289['rect'](0x0,0x0,_0x49c877,_0x4a0d92),_0x2af289[_0x47f2fd(0x322)]());}function _0x500cb6(_0x4269fc){const _0x19342f=_0xeb70cf;(_0x4269fc==null?void 0x0:_0x4269fc[_0x19342f(0x3b3)])===_0x3611d5[_0x19342f(0x305)][_0x19342f(0x1d4)]&&_0x4269fc[_0x19342f(0x3de)][_0x19342f(0x432)]();}function _0x5afec7(_0x139748){const _0x4d5174=_0xeb70cf;return _0x139748[_0x4d5174(0xfa)]+_0x4d5174(0x192)+_0x139748[_0x4d5174(0x331)]+_0x4d5174(0x192)+_0x139748[_0x4d5174(0x2b5)];}var _0x36a856=class extends _0x1e7325['Disposable']{constructor(..._0x2e90fc){const _0x378f9d=_0xeb70cf;super(..._0x2e90fc),_0x1b6fbd(this,_0x378f9d(0x13f),new Map());}[_0xeb70cf(0xe2)](_0x3d141a){const _0x5c07a2=_0xeb70cf;let _0x516d82=_0x5afec7(_0x3d141a),_0x2442e5=this[_0x5c07a2(0x13f)][_0x5c07a2(0x360)](_0x516d82)??{'version':0x0};return _0x2442e5[_0x5c07a2(0x27d)]+=0x1,this[_0x5c07a2(0x13f)][_0x5c07a2(0x130)](_0x516d82,_0x2442e5),_0x2442e5[_0x5c07a2(0x27d)];}[_0xeb70cf(0x141)](_0x29e9be,_0xb4a54c){const _0x2d3115=_0xeb70cf;var _0x4a574b;return((_0x4a574b=this[_0x2d3115(0x13f)][_0x2d3115(0x360)](_0x5afec7(_0x29e9be)))==null?void 0x0:_0x4a574b[_0x2d3115(0x27d)])===_0xb4a54c;}[_0xeb70cf(0x3a5)](_0x5ec446,_0x128792,_0x464408){const _0x46f1b5=_0xeb70cf;if(!this[_0x46f1b5(0x141)](_0x5ec446,_0x464408))return _0x500cb6(_0x128792),!0x1;let _0x1646ee=_0x5afec7(_0x5ec446),_0x295863=this[_0x46f1b5(0x13f)][_0x46f1b5(0x360)](_0x1646ee)??{'version':_0x464408},_0x4b7678=_0x295863[_0x46f1b5(0xe3)];return _0x295863['image']=_0x128792,_0x295863[_0x46f1b5(0x27d)]=_0x464408,this[_0x46f1b5(0x13f)][_0x46f1b5(0x130)](_0x1646ee,_0x295863),_0x4b7678!==_0x128792&&_0x500cb6(_0x4b7678),!0x0;}[_0xeb70cf(0x418)](_0x5e106d){const _0x2d4a88=_0xeb70cf;var _0x1640e7;return(_0x1640e7=this['_entries'][_0x2d4a88(0x360)](_0x5afec7(_0x5e106d)))==null?void 0x0:_0x1640e7[_0x2d4a88(0xe3)];}[_0xeb70cf(0x33a)](_0x489205){const _0x28e71a=_0xeb70cf;let _0x2de9c4=_0x5afec7(_0x489205),_0xdf0287=this['_entries'][_0x28e71a(0x360)](_0x2de9c4);_0xdf0287&&(_0x500cb6(_0xdf0287[_0x28e71a(0xe3)]),this['_entries'][_0x28e71a(0x339)](_0x2de9c4));}['clearChart'](_0x5addb5){const _0xf3c156=_0xeb70cf;for(let [_0x5c7aff,_0x99e573]of this[_0xf3c156(0x13f)])_0x5c7aff[_0xf3c156(0x350)](_0xf3c156(0x192)+_0x5addb5)&&(_0x500cb6(_0x99e573[_0xf3c156(0xe3)]),this[_0xf3c156(0x13f)][_0xf3c156(0x339)](_0x5c7aff));}[_0xeb70cf(0x151)](){const _0x177c87=_0xeb70cf;this['_entries'][_0x177c87(0x332)](_0x1f73bc=>_0x500cb6(_0x1f73bc[_0x177c87(0xe3)])),this['_entries'][_0x177c87(0x3b6)](),super[_0x177c87(0x151)]();}};function _0x59809b(_0x18bb33,_0x5afe36=0x7d0){let _0x4427dc=null,_0x545a6f=null,_0x3e17b3=!0x1,_0x133597=()=>{},_0x51b275=()=>{_0x4427dc!=null&&(clearInterval(_0x4427dc),_0x4427dc=null),_0x545a6f!=null&&(clearTimeout(_0x545a6f),_0x545a6f=null);};return{'promise':new Promise((_0x201af8,_0xbb7846)=>{_0x133597=_0xbb7846;let _0x4f3caa=()=>{const _0x76771b=_0x3c84;let _0x10385f=document[_0x76771b(0x302)](_0x18bb33);_0x10385f&&!_0x3e17b3&&(_0x3e17b3=!0x0,_0x51b275(),_0x201af8(_0x10385f));};_0x4f3caa(),!_0x3e17b3&&(_0x4427dc=setInterval(_0x4f3caa,16.666666666666668),_0x545a6f=setTimeout(()=>{_0x3e17b3||(_0x3e17b3=!0x0,_0x51b275(),_0xbb7846(Error('Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x18bb33+'\x22.')));},_0x5afe36));}),'cancel':()=>{const _0x11529a=_0x3c84;_0x3e17b3||(_0x3e17b3=!0x0,_0x51b275(),_0x133597(Error(_0x11529a(0x469)+_0x18bb33+'\x22.')));}};}var _0x2e9297=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x15dc9c,_0x15f4f2,_0x904f6d,_0x1655f6,_0x5cc973,_0x4994de,_0x345540,_0x3b3e7d){const _0x3f5721=_0xeb70cf;super(),this[_0x3f5721(0x2b5)]=_0x15dc9c,this[_0x3f5721(0x132)]=_0x15f4f2,this['_getPlacement']=_0x904f6d,this[_0x3f5721(0x1f2)]=_0x1655f6,this[_0x3f5721(0x267)]=_0x5cc973,this[_0x3f5721(0x139)]=_0x4994de,this[_0x3f5721(0x494)]=_0x345540,this[_0x3f5721(0x383)]=_0x3b3e7d,_0x1b6fbd(this,_0x3f5721(0x170),_0x3611d5['ChartRenderMode']['Dom']),_0x1b6fbd(this,_0x3f5721(0x3e0),null),_0x1b6fbd(this,_0x3f5721(0x425),!0x1),_0x1b6fbd(this,_0x3f5721(0x461),null),_0x1b6fbd(this,_0x3f5721(0x21b),null),_0x1b6fbd(this,_0x3f5721(0xd5),null),_0x1b6fbd(this,_0x3f5721(0x131),{}),_0x1b6fbd(this,_0x3f5721(0x49c),null),_0x1b6fbd(this,'_dataUpdateAnimationDuration',null),_0x1b6fbd(this,_0x3f5721(0x4aa),null);}['isManaged'](){return this['_managed'];}[_0xeb70cf(0x3f8)](){const _0x280e41=_0xeb70cf;this[_0x280e41(0x425)]=!0x1;}[_0xeb70cf(0x3d2)](){const _0x280b6b=_0xeb70cf;let _0x4407e0=this[_0x280b6b(0x101)]();return _0x4407e0?{'width':_0x4407e0[_0x280b6b(0x323)],'height':_0x4407e0[_0x280b6b(0x1ed)]}:null;}[_0xeb70cf(0x2fa)](_0x5266bd){const _0x25b855=_0xeb70cf;this[_0x25b855(0x131)]=_0x5266bd,this[_0x25b855(0x1f2)](_0x5266bd),this[_0x25b855(0x17e)]();}async[_0xeb70cf(0x2ca)](){const _0x3bdd59=_0xeb70cf;if(this['_disposed']||this[_0x3bdd59(0x267)]())throw Error(_0x3bdd59(0x19c));let _0x31701b=this[_0x3bdd59(0x132)](),_0x329b6b=(_0x31701b==null?void 0x0:_0x31701b[_0x3bdd59(0x117)])??this[_0x3bdd59(0x2b5)],_0x40c611=document[_0x3bdd59(0x302)](_0x329b6b);if(this[_0x3bdd59(0x3e0)]&&_0x40c611!=null&&_0x40c611[_0x3bdd59(0x3a6)](this[_0x3bdd59(0x3e0)]['mountNode']))return{'mountNode':this[_0x3bdd59(0x3e0)][_0x3bdd59(0x442)],'dispose':()=>{const _0x26fc68=_0x3bdd59;this[_0x26fc68(0x151)](),_0x31701b==null||_0x31701b[_0x26fc68(0x151)][_0x26fc68(0x151)]();}};if(this['_pendingHost'])return this[_0x3bdd59(0x21b)];let _0x322838=this[_0x3bdd59(0x2ec)]();return this[_0x3bdd59(0x21b)]=_0x322838,_0x322838['then'](()=>{const _0x122b14=_0x3bdd59;this[_0x122b14(0x21b)]===_0x322838&&(this[_0x122b14(0x21b)]=null);},()=>{const _0x8856c2=_0x3bdd59;this['_pendingHost']===_0x322838&&(this[_0x8856c2(0x21b)]=null);}),_0x322838;}async[_0xeb70cf(0x43d)](){const _0x414dd8=_0xeb70cf;try{return(await this[_0x414dd8(0x2ca)]())[_0x414dd8(0x442)];}catch{return null;}}[_0xeb70cf(0x13d)](){const _0x429aed=_0xeb70cf;let _0x2012bc=this['_getFloatDomInfo'](),_0x496830=(_0x2012bc==null?void 0x0:_0x2012bc[_0x429aed(0x117)])??this[_0x429aed(0x2b5)],_0x56f708=document[_0x429aed(0x302)](_0x496830);return!!(this[_0x429aed(0x3e0)]&&_0x56f708!=null&&_0x56f708[_0x429aed(0x3a6)](this[_0x429aed(0x3e0)]['mountNode']));}['syncLayout'](){const _0x1e088b=_0xeb70cf;if(!this[_0x1e088b(0x3e0)])return;let _0x4854f8=this[_0x1e088b(0x101)]();_0x4854f8&&this[_0x1e088b(0x3e0)][_0x1e088b(0x466)](this['_resolveLayout'](_0x4854f8),this['_frameStyle']());}[_0xeb70cf(0x2e8)](){this['_markReady']();}[_0xeb70cf(0x1bd)](){this['_markNotReady']();}[_0xeb70cf(0x4b8)](_0x225d3b){const _0x2e563a=_0xeb70cf;this['_dataUpdateAnimationDuration']=_0x225d3b;let _0x271afb=this[_0x2e563a(0x132)](),_0x278359=document[_0x2e563a(0x302)]((_0x271afb==null?void 0x0:_0x271afb[_0x2e563a(0x117)])??this[_0x2e563a(0x2b5)]);_0x278359&&this[_0x2e563a(0x353)](_0x278359);}[_0xeb70cf(0x151)](){const _0x4daf50=_0xeb70cf;var _0x1ff33c,_0x2356df;this[_0x4daf50(0x2c1)]||(this['markNotReady'](),this[_0x4daf50(0x461)]=null,this[_0x4daf50(0x21b)]=null,this['_cancelHostWait'](),this[_0x4daf50(0x425)]=!0x1,this[_0x4daf50(0x415)]=null,(_0x1ff33c=this[_0x4daf50(0x4aa)])==null||_0x1ff33c['dispose'](),this[_0x4daf50(0x4aa)]=null,(_0x2356df=this['_domFrame'])==null||_0x2356df['dispose'](),this['_domFrame']=null,this[_0x4daf50(0x164)](),super[_0x4daf50(0x151)]());}async['_createHost'](){const _0x6937ce=_0xeb70cf;let _0x465d7d=this[_0x6937ce(0x132)]();if(!_0x465d7d)throw Error(_0x6937ce(0x19c));let _0x47f670=_0x465d7d[_0x6937ce(0x117)]??this[_0x6937ce(0x2b5)],_0x4d707d=_0x59809b(_0x47f670),_0x494874=Symbol(this[_0x6937ce(0x2b5)]);this['_pendingToken']=_0x494874,this[_0x6937ce(0xd5)]=_0x4d707d;try{var _0x1f937e;let _0x5d40ac=await _0x4d707d[_0x6937ce(0x234)],_0x24c52c=this[_0x6937ce(0x132)](),_0x7cf13f=(_0x24c52c==null?void 0x0:_0x24c52c[_0x6937ce(0x117)])??this[_0x6937ce(0x2b5)];if(this[_0x6937ce(0x2c1)]||this['_isProviderDisposed']()||this[_0x6937ce(0x461)]!==_0x494874||!_0x24c52c||_0x7cf13f!==_0x47f670||document['getElementById'](_0x47f670)!==_0x5d40ac||!_0x5d40ac[_0x6937ce(0xe7)])throw Error(_0x6937ce(0x19c));let _0x517ded=this[_0x6937ce(0x101)]();if(!_0x517ded)throw Error(_0x6937ce(0x19c));let _0x304107=new _0x339b6e['ChartDomFrame'](_0x5d40ac);return _0x304107['update'](this[_0x6937ce(0x446)](_0x517ded),this['_frameStyle']()),this[_0x6937ce(0x2f7)](_0x5d40ac),this[_0x6937ce(0x3e0)]=_0x304107,(_0x1f937e=this['_pointerEvents'])==null||_0x1f937e[_0x6937ce(0x151)](),this[_0x6937ce(0x4aa)]=this['_bindPointerEvents'](_0x5d40ac),this[_0x6937ce(0x425)]=!0x0,{'mountNode':_0x304107[_0x6937ce(0x442)],'dispose':()=>{const _0x3890bf=_0x6937ce;this[_0x3890bf(0x151)](),_0x465d7d['dispose'][_0x3890bf(0x151)]();}};}finally{this[_0x6937ce(0xd5)]===_0x4d707d&&(this[_0x6937ce(0xd5)]=null),this[_0x6937ce(0x461)]===_0x494874&&(this[_0x6937ce(0x461)]=null);}}[_0xeb70cf(0x232)](){const _0x12d32d=_0xeb70cf;let _0x20616c=this[_0x12d32d(0xd5)];_0x20616c&&(_0x20616c[_0x12d32d(0x30e)](),this[_0x12d32d(0xd5)]=null);}[_0xeb70cf(0x17e)](){const _0x3d8dd1=_0xeb70cf;let _0x1e9ec8=this[_0x3d8dd1(0x101)]();this[_0x3d8dd1(0x3e0)]&&_0x1e9ec8&&this['_domFrame'][_0x3d8dd1(0x466)](this['_resolveLayout'](_0x1e9ec8),this[_0x3d8dd1(0x33f)]());}['_resolveLayout'](_0x23ab18){const _0x44a88b=_0xeb70cf;return _0x339b6e[_0x44a88b(0x31a)]['resolve']({'logicalOuterRect':{'left':_0x23ab18[_0x44a88b(0x2a9)],'top':_0x23ab18['top'],'width':_0x23ab18[_0x44a88b(0x323)],'height':_0x23ab18['height']},'scale':{'scaleX':_0x23ab18['scaleX'],'scaleY':_0x23ab18['scaleY']},'hostStyle':this[_0x44a88b(0x33f)](),'contentMode':_0x339b6e[_0x44a88b(0x105)][_0x44a88b(0x377)]});}[_0xeb70cf(0x33f)](){return{...this['_hostStyle'],'radius':_0x339b6e['CHART_HOST_BORDER_RADIUS']};}[_0xeb70cf(0x2f7)](_0x2900bd){const _0x576499=_0xeb70cf;let _0x46631b=_0x2900bd['parentElement'];_0x46631b&&(this[_0x576499(0x49c)]||={'zIndex':_0x46631b[_0x576499(0x4b9)][_0x576499(0x157)],'pointerEvents':_0x46631b[_0x576499(0x4b9)]['pointerEvents']},_0x46631b['style']['zIndex']=_0x576499(0x3f2),this[_0x576499(0x353)](_0x2900bd));}[_0xeb70cf(0x353)](_0x5437d5){const _0x4549c3=_0xeb70cf;let _0x28abd5=_0x5437d5[_0x4549c3(0xdc)];if(!_0x28abd5)return;let _0x2fe4d0=this[_0x4549c3(0x415)];_0x2fe4d0==null?(delete _0x5437d5['dataset'][_0x4549c3(0x171)],delete _0x5437d5['dataset'][_0x4549c3(0x161)],_0x28abd5[_0x4549c3(0x4b9)]['pointerEvents']=_0x4549c3(0x208)):(_0x5437d5[_0x4549c3(0x333)][_0x4549c3(0x171)]=_0x4549c3(0x336),_0x5437d5[_0x4549c3(0x333)]['sheetChartDataAnimationDuration']=String(_0x2fe4d0),_0x28abd5[_0x4549c3(0x4b9)][_0x4549c3(0x24b)]=_0x4549c3(0x42b));}['_restoreHostWrapper'](){const _0x1837c9=_0xeb70cf;if(!this['_savedWrapperStyle'])return;let _0x4fba7e=this[_0x1837c9(0x132)](),_0x491c29=(_0x4fba7e==null?void 0x0:_0x4fba7e[_0x1837c9(0x117)])??this[_0x1837c9(0x2b5)],_0x200c13=document[_0x1837c9(0x302)](_0x491c29);_0x200c13==null||delete _0x200c13[_0x1837c9(0x333)][_0x1837c9(0x171)],_0x200c13==null||delete _0x200c13['dataset'][_0x1837c9(0x161)];let _0x4d0987=_0x200c13==null?void 0x0:_0x200c13['parentElement'];_0x4d0987&&(_0x4d0987[_0x1837c9(0x4b9)][_0x1837c9(0x157)]=this['_savedWrapperStyle'][_0x1837c9(0x157)],_0x4d0987['style'][_0x1837c9(0x24b)]=this[_0x1837c9(0x49c)][_0x1837c9(0x24b)]),this[_0x1837c9(0x49c)]=null;}},_0x6845c3=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x563a4f,_0x4c5617,_0x4ce11a,_0x4a75b1){const _0x4fc8dd=_0xeb70cf;super(),this[_0x4fc8dd(0x100)]=_0x4c5617,_0x1b6fbd(this,'_gesture',null),_0x1b6fbd(this,_0x4fc8dd(0x3a3),!0x1);let _0x177b58=_0x46553f=>{const _0x3c7d3e=_0x4fc8dd;this['_suppressClick']&&(_0x46553f[_0x3c7d3e(0x2e2)](),_0x46553f['stopImmediatePropagation']());},_0x580004=_0x4dadbf=>{const _0x17dd12=_0x4fc8dd;let _0x5014e6=this[_0x17dd12(0x25d)];(_0x5014e6==null?void 0x0:_0x5014e6[_0x17dd12(0x3f1)]['pointerId'])===_0x4dadbf[_0x17dd12(0x26e)]&&!_0x5014e6[_0x17dd12(0x2d5)][_0x17dd12(0x43e)](_0x4dadbf['pointerId'])&&this[_0x17dd12(0xf1)]();};_0x563a4f[_0x4fc8dd(0x178)](_0x4fc8dd(0x1b6),_0x177b58,!0x0),_0x563a4f[_0x4fc8dd(0x178)]('dblclick',_0x177b58,!0x0),_0x563a4f[_0x4fc8dd(0x178)]('lostpointercapture',_0x580004),this['disposeWithMe']((0x0,_0x1e7325[_0x4fc8dd(0x119)])(()=>{const _0x19ceb7=_0x4fc8dd;_0x563a4f[_0x19ceb7(0x443)](_0x19ceb7(0x1b6),_0x177b58,!0x0),_0x563a4f[_0x19ceb7(0x443)]('dblclick',_0x177b58,!0x0),_0x563a4f[_0x19ceb7(0x443)]('lostpointercapture',_0x580004),_0x4a75b1(_0x4c5617);})),this[_0x4fc8dd(0x1e8)](_0x4ce11a[_0x4fc8dd(0x413)](()=>{const _0x3dd4b2=_0x4fc8dd;this[_0x3dd4b2(0x25d)]&&(this[_0x3dd4b2(0x3a3)]=!0x0);})),_0x4a75b1({'onPointerDown':_0x33bac9=>{const _0x1b2264=_0x4fc8dd;this[_0x1b2264(0x3a3)]=!0x1,_0x33bac9 instanceof PointerEvent&&_0x33bac9[_0x1b2264(0x2d5)]instanceof Element&&_0x563a4f[_0x1b2264(0x3a6)](_0x33bac9['target'])&&(this['_gesture']={'target':_0x33bac9['target'],'event':_0x33bac9}),_0x4c5617['onPointerDown'](_0x33bac9),this[_0x1b2264(0x3f4)](_0x33bac9);},'onPointerMove':_0x5de82d=>{const _0x5571bc=_0x4fc8dd;_0x4c5617[_0x5571bc(0x24e)](_0x5de82d),this[_0x5571bc(0x3f4)](_0x5de82d);},'onPointerUp':_0x330a7d=>{const _0x11a6ee=_0x4fc8dd;try{_0x4c5617['onPointerUp'](_0x330a7d);}finally{var _0x112177;_0x330a7d instanceof PointerEvent&&((_0x112177=this[_0x11a6ee(0x25d)])==null?void 0x0:_0x112177['event']['pointerId'])===_0x330a7d[_0x11a6ee(0x26e)]&&this[_0x11a6ee(0x3a8)]();}}});}['dispose'](){const _0x4197c8=_0xeb70cf;this['_disposed']||(this[_0x4197c8(0xf1)](),super[_0x4197c8(0x151)]());}[_0xeb70cf(0x3f4)](_0x4e83ee){const _0x25cce7=_0xeb70cf;let _0x56b39a=this[_0x25cce7(0x25d)];_0x4e83ee instanceof PointerEvent&&(_0x56b39a==null?void 0x0:_0x56b39a[_0x25cce7(0x3f1)]['pointerId'])===_0x4e83ee['pointerId']&&(_0x56b39a['event']=_0x4e83ee,_0x56b39a['target']['isConnected']?_0x56b39a['target'][_0x25cce7(0x229)](_0x4e83ee[_0x25cce7(0x26e)]):this[_0x25cce7(0xf1)]());}['_releaseGesture'](){const _0x34f9ae=_0xeb70cf;let _0x4f34c9=this[_0x34f9ae(0x25d)];this[_0x34f9ae(0x25d)]=null,_0x4f34c9!=null&&_0x4f34c9[_0x34f9ae(0x2d5)][_0x34f9ae(0x43e)](_0x4f34c9[_0x34f9ae(0x3f1)][_0x34f9ae(0x26e)])&&_0x4f34c9[_0x34f9ae(0x2d5)][_0x34f9ae(0x2a2)](_0x4f34c9[_0x34f9ae(0x3f1)]['pointerId']);}[_0xeb70cf(0xf1)](){const _0x5eebe7=_0xeb70cf;let _0x21e154=this['_gesture'];this[_0x5eebe7(0x3a8)](),_0x21e154&&this[_0x5eebe7(0x100)]['onPointerUp'](new PointerEvent(_0x5eebe7(0x2fb),_0x21e154['event']));}},_0x584a67=class extends _0x3611d5[_0xeb70cf(0x2ab)]{constructor(_0x420f69,_0x1d1e75,_0x75ea94,_0x4c93f3,_0x22d920,_0x1bb86c){const _0x49988a=_0xeb70cf;super(_0x420f69),this[_0x49988a(0x3ac)]=_0x1d1e75,this[_0x49988a(0x1f2)]=_0x75ea94,this['_snapshotKey']=_0x4c93f3,this[_0x49988a(0x2de)]=_0x22d920,this['_requestPaint']=_0x1bb86c;}[_0xeb70cf(0x3d2)](){const _0x18eb75=_0xeb70cf;let _0x167b4d=this[_0x18eb75(0x3ac)]();return _0x167b4d?_0x2c2298(_0x167b4d):null;}[_0xeb70cf(0x2fa)](_0x228c31){const _0x37917c=_0xeb70cf;this[_0x37917c(0x1f2)](_0x228c31);}['nextVersion'](){const _0x1c5eb6=_0xeb70cf;return this['_snapshotStore'][_0x1c5eb6(0xe2)](this[_0x1c5eb6(0x41d)]);}[_0xeb70cf(0x40d)](_0x3d0383,_0x5c9c79){const _0x448803=_0xeb70cf;return this[_0x448803(0x2de)][_0x448803(0x3a5)](this[_0x448803(0x41d)],_0x3d0383,_0x5c9c79);}[_0xeb70cf(0x44e)](){const _0x306afa=_0xeb70cf;this[_0x306afa(0x2b9)]();}[_0xeb70cf(0x313)](){const _0x3f21a5=_0xeb70cf;this[_0x3f21a5(0x2de)][_0x3f21a5(0xe2)](this['_snapshotKey']);}};function _0x16880b(_0x2fbdc0,_0x53f3a2){return function(_0x5b656f,_0xb11ae3){_0x53f3a2(_0x5b656f,_0xb11ae3,_0x2fbdc0);};}function _0x6243e3(_0x265d51,_0x4c7eed,_0x2624a2,_0x276e7b){const _0xbc269c=_0xeb70cf;var _0x461628=arguments[_0xbc269c(0x2d4)],_0x1daedf=_0x461628<0x3?_0x4c7eed:_0x276e7b===null?_0x276e7b=Object['getOwnPropertyDescriptor'](_0x4c7eed,_0x2624a2):_0x276e7b,_0x4e8ada;if(typeof Reflect==_0xbc269c(0x1d7)&&typeof Reflect[_0xbc269c(0x3d0)]==_0xbc269c(0x10a))_0x1daedf=Reflect[_0xbc269c(0x3d0)](_0x265d51,_0x4c7eed,_0x2624a2,_0x276e7b);else{for(var _0x4464a8=_0x265d51[_0xbc269c(0x2d4)]-0x1;_0x4464a8>=0x0;_0x4464a8--)(_0x4e8ada=_0x265d51[_0x4464a8])&&(_0x1daedf=(_0x461628<0x3?_0x4e8ada(_0x1daedf):_0x461628>0x3?_0x4e8ada(_0x4c7eed,_0x2624a2,_0x1daedf):_0x4e8ada(_0x4c7eed,_0x2624a2))||_0x1daedf);}return _0x461628>0x3&&_0x1daedf&&Object['defineProperty'](_0x4c7eed,_0x2624a2,_0x1daedf),_0x1daedf;}let _0x33a946=0.5;function _0x2ba426(_0x400622){const _0x48196e=_0xeb70cf;let _0x337975=Math[_0x48196e(0x15a)](_0x400622[_0x48196e(0x114)]-_0x400622[_0x48196e(0x483)],0x0),_0x1361b7=Math[_0x48196e(0x15a)](_0x400622['endY']-_0x400622[_0x48196e(0x45d)],0x0),_0x9ddec4=_0x400622['absolute']['left']&&_0x400622[_0x48196e(0x323)]-_0x337975>_0x33a946,_0x331c36=_0x400622['absolute'][_0x48196e(0x2f4)]&&_0x400622[_0x48196e(0x1ed)]-_0x1361b7>_0x33a946;return!_0x9ddec4&&!_0x331c36?_0x400622:{..._0x400622,'absolute':{'left':!_0x9ddec4&&_0x400622[_0x48196e(0x495)][_0x48196e(0x2a9)],'top':!_0x331c36&&_0x400622[_0x48196e(0x495)]['top']}};}function _0x3594ec(_0x931b41){const _0x287036=_0xeb70cf;if(!Object['prototype'][_0x287036(0x408)]['call'](_0x931b41,'border'))return _0x931b41;let {border:_0x5ed49a,..._0x1b05e0}=_0x931b41;return{..._0x1b05e0,'stroke':(_0x5ed49a==null?void 0x0:_0x5ed49a[_0x287036(0x396)])??_0x287036(0x2d9),'strokeWidth':(_0x5ed49a==null?void 0x0:_0x5ed49a[_0x287036(0x323)])??0x0};}let _0x1ca0a5=class extends _0x1e7325['Disposable']{constructor(_0x51a7b6,_0x202bac,_0x159661,_0x3ac75e){const _0x37ade6=_0xeb70cf;super(),this[_0x37ade6(0x16c)]=_0x51a7b6,this[_0x37ade6(0x2be)]=_0x202bac,this[_0x37ade6(0x276)]=_0x159661,this[_0x37ade6(0x153)]=_0x3ac75e,_0x1b6fbd(this,_0x37ade6(0x15d),new Map()),_0x1b6fbd(this,'_activeDomReadyChartIds',new Set()),_0x1b6fbd(this,_0x37ade6(0x44b),new _0x24f269['Subject']()),_0x1b6fbd(this,_0x37ade6(0x48a),this[_0x37ade6(0x44b)][_0x37ade6(0x2ad)]()),this[_0x37ade6(0x1e8)](this[_0x37ade6(0x16c)][_0x37ade6(0x144)][_0x37ade6(0x413)](_0x2b6bc9=>{const _0x3f7b35=_0x37ade6;let _0x42825d=this[_0x3f7b35(0x15d)]['get'](_0x2b6bc9['id']);_0x42825d!=null&&_0x42825d['isManaged']()&&(_0x42825d[_0x3f7b35(0x3f8)](),this[_0x3f7b35(0x44b)][_0x3f7b35(0x217)](_0x2b6bc9['id']));}));}[_0xeb70cf(0x2f2)](_0x1f2790){const _0x53ba3e=_0xeb70cf;if(_0x1f2790==null)return;let _0x45d71e=this[_0x53ba3e(0x2be)][_0x53ba3e(0x3a4)](_0x1f2790),_0x364f0e=_0x45d71e==null?void 0x0:_0x45d71e[_0x53ba3e(0x179)];return _0x45d71e==null||_0x364f0e==null?null:{'scene':_0x364f0e,'transformer':_0x364f0e[_0x53ba3e(0x3d9)](),'renderUnit':_0x45d71e,'canvas':_0x45d71e[_0x53ba3e(0x38e)]['getCanvasElement']()};}[_0xeb70cf(0x21d)](_0xd9d6f0,_0x458c94){const _0x311216=_0xeb70cf;let _0xd335fd=this[_0x311216(0x16c)],_0x9ab1c7=_0x458c94||_0x311216(0x2d9),_0x1705c6=_0xd335fd[_0x311216(0x1b2)](_0xd9d6f0);if(_0x1705c6){let {unitId:_0x24c6ff,subUnitId:_0x405202}=_0x1705c6;_0xd335fd['updateFloatDomProps'](_0x24c6ff,_0x405202,_0xd9d6f0,{'stroke':_0x9ab1c7});}}['setHostStyle'](_0x2be904,_0x25c9a3){const _0x34b7c4=_0xeb70cf;let _0x21f6d3=this[_0x34b7c4(0x16c)],_0x35c37b=_0x21f6d3['getFloatDomInfo'](_0x2be904);if(_0x35c37b){let {unitId:_0x24c5ca,subUnitId:_0xb0dc5b}=_0x35c37b;_0x21f6d3[_0x34b7c4(0x437)](_0x24c5ca,_0xb0dc5b,_0x2be904,_0x3594ec(_0x25c9a3));}}[_0xeb70cf(0x223)](_0xe4a762){const _0x4fc7be=_0xeb70cf;let _0x4da227=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0xe4a762);return _0x4da227?_0x4da227[_0x4fc7be(0x47b)]:null;}['getHostClientRect'](_0x5cbe42){const _0x5d1468=_0xeb70cf;let _0x28fb9d=this[_0x5d1468(0x16c)][_0x5d1468(0x1b2)](_0x5cbe42),_0x24f9a6=document[_0x5d1468(0x302)]((_0x28fb9d==null?void 0x0:_0x28fb9d[_0x5d1468(0x117)])??_0x5cbe42);return(_0x24f9a6==null?void 0x0:_0x24f9a6[_0x5d1468(0x464)]())??null;}[_0xeb70cf(0x4b8)](_0x839d54,_0x55bbf4){const _0x11c296=_0xeb70cf;var _0x2cd167;(_0x2cd167=this[_0x11c296(0x15d)][_0x11c296(0x360)](_0x839d54))==null||_0x2cd167[_0x11c296(0x4b8)](_0x55bbf4);}[_0xeb70cf(0x1f0)](_0x246ca3){const _0x4d529f=_0xeb70cf;var _0xa98817;return((_0xa98817=this[_0x4d529f(0x15d)][_0x4d529f(0x360)](_0x246ca3))==null?void 0x0:_0xa98817['checkMounted']())??!0x1;}[_0xeb70cf(0x120)](_0x3828ca){const _0x26b47f=_0xeb70cf;var _0x5b8cd2;(_0x5b8cd2=this['_chartHostMap'][_0x26b47f(0x360)](_0x3828ca))==null||_0x5b8cd2[_0x26b47f(0x1a5)]();}[_0xeb70cf(0x354)](_0x4009d7){const _0x4b99e7=_0xeb70cf;let _0x4be1c9=this[_0x4b99e7(0x15d)]['get'](_0x4009d7);_0x4be1c9&&(_0x4be1c9[_0x4b99e7(0x151)](),this['_canvasFloatDomService']['updateFloatDom'](_0x4009d7,{'eventPassThrough':!0x0})),this['_chartHostMap']['delete'](_0x4009d7);}async[_0xeb70cf(0x18d)](_0x3aea64,_0x306f84){const _0x50b136=_0xeb70cf;if(_0x306f84===_0x3611d5[_0x50b136(0x465)][_0x50b136(0x40f)])return this['_createImageChartHost'](_0x3aea64);if(_0x306f84===_0x3611d5['ChartRenderMode']['Dom'])return this[_0x50b136(0x3d5)](_0x3aea64);let _0x3c6880=this[_0x50b136(0x3d5)](_0x3aea64);if(!_0x3c6880)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x3c6880[_0x50b136(0x2ca)]();}['isDomReady'](_0x15a1a8){const _0x5338e0=_0xeb70cf;var _0x153115;return this[_0x5338e0(0x18a)][_0x5338e0(0x4af)](_0x15a1a8)?(_0x153115=this['_chartHostMap'][_0x5338e0(0x360)](_0x15a1a8))!=null&&_0x153115[_0x5338e0(0x13d)]()?!0x0:(this[_0x5338e0(0x18a)][_0x5338e0(0x339)](_0x15a1a8),this[_0x5338e0(0x38d)](_0x15a1a8),!0x1):!0x1;}['markHostNotReady'](_0xdeb908){const _0x8bb399=_0xeb70cf;this['_activeDomReadyChartIds'][_0x8bb399(0x339)](_0xdeb908)&&(this[_0x8bb399(0x38d)](_0xdeb908),this[_0x8bb399(0x338)](_0xdeb908));}[_0xeb70cf(0x313)](_0x188a4f){const _0x16ae26=_0xeb70cf;let _0x3b50f7=this[_0x16ae26(0x1e3)](_0x188a4f);_0x3b50f7&&this[_0x16ae26(0x276)][_0x16ae26(0xe2)](_0x3b50f7);}['_createImageChartHost'](_0x34b364){const _0x4eb645=_0xeb70cf;let _0x16fae1=this[_0x4eb645(0x1e3)](_0x34b364);return!_0x16fae1||!this[_0x4eb645(0x223)](_0x34b364)?null:new _0x584a67(_0x34b364,()=>this['getHostSize'](_0x34b364),_0x502d62=>this['setHostStyle'](_0x34b364,_0x502d62),_0x16fae1,this['_chartSnapshotStoreService'],()=>this['_requestChartCanvasRender'](_0x34b364));}[_0xeb70cf(0x3d5)](_0x1b3ea8){const _0xcfb116=_0xeb70cf;if(!this[_0xcfb116(0x223)](_0x1b3ea8))return null;this[_0xcfb116(0x153)]['updateFloatDom'](_0x1b3ea8,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x19b9c6=this[_0xcfb116(0x15d)][_0xcfb116(0x360)](_0x1b3ea8);if(_0x19b9c6)return _0x19b9c6;let _0x30c6d=new _0x2e9297(_0x1b3ea8,()=>this[_0xcfb116(0x16c)]['getFloatDomInfo'](_0x1b3ea8),()=>this[_0xcfb116(0x44c)](_0x1b3ea8),_0x107c9c=>this[_0xcfb116(0xd1)](_0x1b3ea8,_0x107c9c),()=>this[_0xcfb116(0x2c1)],()=>this[_0xcfb116(0x2d3)](_0x1b3ea8),()=>this[_0xcfb116(0x39c)](_0x1b3ea8),_0x3c3ac7=>this[_0xcfb116(0x2c6)](_0x1b3ea8,_0x3c3ac7));return this[_0xcfb116(0x15d)][_0xcfb116(0x130)](_0x1b3ea8,_0x30c6d),_0x30c6d;}[_0xeb70cf(0x2c6)](_0x171e59,_0x28baea){const _0x23ba21=_0xeb70cf;var _0x16af0b;let _0x44420c=this[_0x23ba21(0x16c)][_0x23ba21(0x1b2)](_0x171e59),_0x5e02c5=(_0x16af0b=this[_0x23ba21(0x153)][_0x23ba21(0x123)][_0x23ba21(0x371)](([_0x323fe6])=>_0x323fe6===_0x171e59))==null?void 0x0:_0x16af0b[0x1],_0xa47437=_0x44420c?this['_getSceneAndTransformerByDrawingSearch'](_0x44420c[_0x23ba21(0xfa)]):null;if(!_0x44420c||!_0x5e02c5||!_0xa47437)return(0x0,_0x1e7325['toDisposable'])(()=>{});let _0x532a85=(0x0,_0x39bdba[_0x23ba21(0x43f)])({'unitId':_0x44420c[_0x23ba21(0xfa)],'subUnitId':_0x44420c[_0x23ba21(0x331)],'drawingId':_0x171e59});return new _0x6845c3(_0x28baea,{'onPointerDown':_0x5e02c5['onPointerDown'],'onPointerMove':_0x5e02c5[_0x23ba21(0x24e)],'onPointerUp':_0x5e02c5['onPointerUp']},_0xa47437[_0x23ba21(0x3fa)]['changing$'][_0x23ba21(0x2cf)]((0x0,_0x24f269[_0x23ba21(0x34a)])(_0x5f31ee=>_0x5f31ee[_0x23ba21(0x4a7)]['has'](_0x532a85)&&((_0x5f31ee[_0x23ba21(0x285)]??0x0)!==0x0||(_0x5f31ee[_0x23ba21(0x134)]??0x0)!==0x0))),_0x1ed33f=>this['_canvasFloatDomService'][_0x23ba21(0x1e5)](_0x171e59,_0x1ed33f));}[_0xeb70cf(0x2d3)](_0x5e8427){const _0x3f0d11=_0xeb70cf;this[_0x3f0d11(0x18a)][_0x3f0d11(0x4af)](_0x5e8427)||(this[_0x3f0d11(0x18a)][_0x3f0d11(0x2a8)](_0x5e8427),this[_0x3f0d11(0x18f)](_0x5e8427),this[_0x3f0d11(0x338)](_0x5e8427));}[_0xeb70cf(0x18f)](_0x116f91){const _0x24ae8e=_0xeb70cf;var _0x327054;let _0x554bc5=this[_0x24ae8e(0x16c)][_0x24ae8e(0x1b2)](_0x116f91),_0x5e3cd9=_0x554bc5?(_0x327054=this[_0x24ae8e(0x2be)]['getRenderUnitById'](_0x554bc5[_0x24ae8e(0xfa)]))==null?void 0x0:_0x327054[_0x24ae8e(0x179)]:null;if(!_0x554bc5||!_0x5e3cd9)return;let _0x120c0a=(0x0,_0x24f269[_0x24ae8e(0x2e6)])(_0x554bc5[_0x24ae8e(0x448)][_0x24ae8e(0x2cf)]((0x0,_0x24f269['take'])(0x1)),_0x5e3cd9['afterRender$'][_0x24ae8e(0x2cf)]((0x0,_0x24f269[_0x24ae8e(0x480)])(_0x554bc5['position$']),(0x0,_0x24f269['map'])(([,_0x54d66a])=>_0x54d66a)))[_0x24ae8e(0x2cf)]((0x0,_0x24f269[_0x24ae8e(0x477)])(),(0x0,_0x24f269['map'])(_0x2ba426));this[_0x24ae8e(0x153)]['updateFloatDom'](_0x116f91,{'position$':_0x120c0a});}[_0xeb70cf(0x38d)](_0x2a0ab0){const _0x30dec5=_0xeb70cf;let _0x1c3b8e=this['_sheetCanvasFloatDomManagerService'][_0x30dec5(0x1b2)](_0x2a0ab0);_0x1c3b8e&&this['_canvasFloatDomService'][_0x30dec5(0x1e5)](_0x2a0ab0,{'position$':_0x1c3b8e[_0x30dec5(0x448)]});}[_0xeb70cf(0x1e3)](_0xe30e15){const _0x1c570a=_0xeb70cf;let _0x1305a2=this[_0x1c570a(0x16c)][_0x1c570a(0x1b2)](_0xe30e15);return _0x1305a2?{'unitId':_0x1305a2[_0x1c570a(0xfa)],'subUnitId':_0x1305a2[_0x1c570a(0x331)],'chartId':_0xe30e15}:null;}[_0xeb70cf(0x338)](_0x460ede){const _0x3553aa=_0xeb70cf;var _0x3735dd,_0x362fac,_0x53723d;let _0x10ef8c=this[_0x3553aa(0x16c)][_0x3553aa(0x1b2)](_0x460ede);if(!_0x10ef8c)return;let _0x31de21=(_0x3735dd=this[_0x3553aa(0x2be)][_0x3553aa(0x3a4)](_0x10ef8c[_0x3553aa(0xfa)]))==null?void 0x0:_0x3735dd[_0x3553aa(0x179)],_0x2e2902=(_0x31de21==null||(_0x362fac=_0x31de21[_0x3553aa(0x4b6)])==null?void 0x0:_0x362fac[_0x3553aa(0x479)](_0x31de21,(0x0,_0x39bdba[_0x3553aa(0x43f)])({'unitId':_0x10ef8c[_0x3553aa(0xfa)],'subUnitId':_0x10ef8c[_0x3553aa(0x331)],'drawingId':_0x460ede})))??(_0x31de21==null?void 0x0:_0x31de21[_0x3553aa(0x347)]((0x0,_0x39bdba[_0x3553aa(0x43f)])({'unitId':_0x10ef8c[_0x3553aa(0xfa)],'subUnitId':_0x10ef8c[_0x3553aa(0x331)],'drawingId':_0x460ede})))??null;_0x2e2902==null||(_0x53723d=_0x2e2902[_0x3553aa(0x211)])==null||_0x53723d[_0x3553aa(0x479)](_0x2e2902,!0x0),_0x31de21==null||_0x31de21[_0x3553aa(0x211)](!0x0);}['_getHostPlacement'](_0x25fb3d){const _0x5a0f32=_0xeb70cf;let _0x4e970b=this['_sheetCanvasFloatDomManagerService'][_0x5a0f32(0x1b2)](_0x25fb3d);if(!_0x4e970b)return null;let _0x25bf34=this[_0x5a0f32(0x2f2)](_0x4e970b[_0x5a0f32(0xfa)]),_0x2dccce=_0x25bf34==null?void 0x0:_0x25bf34[_0x5a0f32(0x179)],_0xb72e18=document[_0x5a0f32(0x302)](_0x4e970b[_0x5a0f32(0x117)]??_0x25fb3d);return _0x5773c3(_0x4e970b[_0x5a0f32(0x47b)],{'scaleX':(_0x2dccce==null?void 0x0:_0x2dccce[_0x5a0f32(0x26c)])??0x1,'scaleY':(_0x2dccce==null?void 0x0:_0x2dccce[_0x5a0f32(0x1ad)])??0x1},_0xb72e18?{'left':_0xb72e18[_0x5a0f32(0x4b3)],'top':_0xb72e18['offsetTop']}:void 0x0);}[_0xeb70cf(0x151)](){const _0xaad4ec=_0xeb70cf;this[_0xaad4ec(0x2c1)]||(Array[_0xaad4ec(0x240)](this[_0xaad4ec(0x15d)][_0xaad4ec(0x19e)]())[_0xaad4ec(0x332)](_0x28b2fd=>this['removeHost'](_0x28b2fd)),this[_0xaad4ec(0x18a)][_0xaad4ec(0x3b6)](),this[_0xaad4ec(0x44b)][_0xaad4ec(0x1e6)](),super[_0xaad4ec(0x151)]());}};_0x1ca0a5=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x398b93[_0xeb70cf(0x493)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4fef78[_0xeb70cf(0x3d7)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x36a856)),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3['CanvasFloatDomService']))],_0x1ca0a5);let _0x46b74e=(0x0,_0x1e7325[_0xeb70cf(0x22f)])('sheets-chart-ui.host.provider'),_0x12415b=_0x3611d5[_0xeb70cf(0x465)]['Image'];var _0xda5c6b=class extends _0x3611d5['ImageChartHost']{constructor(_0x3b80c8,_0x2f49b0){const _0x2694a3=_0xeb70cf;super(_0x3b80c8),this[_0x2694a3(0x23d)]=_0x2f49b0,_0x1b6fbd(this,_0x2694a3(0x2bc),0x0),_0x1b6fbd(this,_0x2694a3(0x14e),void 0x0),_0x1b6fbd(this,_0x2694a3(0x4b9),{});}[_0xeb70cf(0x3d2)](){const _0x5aab38=_0xeb70cf;return this[_0x5aab38(0x23d)];}['setStyle'](_0x584b74){this['style']=_0x584b74;}[_0xeb70cf(0xe2)](){const _0x1cefbe=_0xeb70cf;return++this[_0x1cefbe(0x2bc)];}[_0xeb70cf(0x40d)](_0x57fef0,_0x18371d){const _0x5e50d0=_0xeb70cf;return _0x18371d===this[_0x5e50d0(0x2bc)]?(_0x500cb6(this[_0x5e50d0(0x14e)]),this[_0x5e50d0(0x14e)]=_0x57fef0,!0x0):(_0x500cb6(_0x57fef0),!0x1);}[_0xeb70cf(0x44e)](){}[_0xeb70cf(0x313)](){const _0x1c821a=_0xeb70cf;this[_0x1c821a(0x2bc)]+=0x1;}[_0xeb70cf(0x238)](){const _0x4d8773=_0xeb70cf;let _0x882a88=this[_0x4d8773(0x14e)];return this[_0x4d8773(0x14e)]=void 0x0,_0x882a88;}[_0xeb70cf(0x151)](){const _0x3b0b47=_0xeb70cf;_0x500cb6(this[_0x3b0b47(0x14e)]),this[_0x3b0b47(0x14e)]=void 0x0,super['dispose']();}};function _0x1fd4bd(_0x49ab7b,_0xe6fedb,_0x2ae3eb){const _0x53d682=_0xeb70cf;let _0x2c38bf=_0x49ab7b[_0x53d682(0x163)](_0xe6fedb),_0x569e8b={..._0x49ab7b[_0x53d682(0x4b9)],'runtime':{..._0x2c38bf,'layoutInset':0x8,..._0x2ae3eb===void 0x0?{}:{'addWatermark':_0x2ae3eb}},'direction':_0xe6fedb};return(0x0,_0x3611d5[_0x53d682(0x22a)])(_0x569e8b,_0x49ab7b['chartType']);}let _0x114834=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x428ca9,_0x489c49,_0x314190,_0x160cce,_0x5c4367,_0x245787,_0x46d59e,_0x5f269f,_0x50be95,_0x181c73,_0x1c522c,_0xe8474f,_0x403d28){const _0x33ee3c=_0xeb70cf;super(),this['_chartHostProvider']=_0x428ca9,this[_0x33ee3c(0x16c)]=_0x489c49,this[_0x33ee3c(0x3ea)]=_0x314190,this['_drawingManagerService']=_0x160cce,this['_univerInstanceService']=_0x5c4367,this['_renderManagerService']=_0x245787,this[_0x33ee3c(0x133)]=_0x46d59e,this['_injector']=_0x5f269f,this[_0x33ee3c(0x39e)]=_0x50be95,this[_0x33ee3c(0x3eb)]=_0x181c73,this[_0x33ee3c(0x1fc)]=_0x1c522c,this['_chartSnapshotStoreService']=_0xe8474f,this[_0x33ee3c(0x468)]=_0x403d28,_0x1b6fbd(this,_0x33ee3c(0x343),new Map()),_0x1b6fbd(this,_0x33ee3c(0x3a9),new Map()),_0x1b6fbd(this,_0x33ee3c(0x247),new Map()),_0x1b6fbd(this,_0x33ee3c(0x2a0),new Map()),_0x1b6fbd(this,_0x33ee3c(0x497),new Map()),_0x1b6fbd(this,_0x33ee3c(0x293),new Map()),_0x1b6fbd(this,_0x33ee3c(0x2cd),new Map()),_0x1b6fbd(this,'_chartRenderMode',void 0x0),_0x1b6fbd(this,'_addWatermark',void 0x0),_0x1b6fbd(this,_0x33ee3c(0x1e1),new Map()),_0x1b6fbd(this,_0x33ee3c(0x454),new Set()),_0x1b6fbd(this,_0x33ee3c(0x4b2),new Map()),_0x1b6fbd(this,'_activeChartId',null),_0x1b6fbd(this,'_lastActiveSheet',null);let _0x5c9c5d=(0x0,_0x5979b3[_0x33ee3c(0x12b)])(this[_0x33ee3c(0x26d)]),_0x26fbf3=this['_configService'][_0x33ee3c(0xe5)](_0x5979b3[_0x33ee3c(0xf6)]);this[_0x33ee3c(0x349)]=(_0x26fbf3==null?void 0x0:_0x26fbf3[_0x33ee3c(0x25b)])??_0x12415b,this[_0x33ee3c(0x3ce)]=_0x5c9c5d['length']!==0x1||_0x5c9c5d[0x0]!=='all',this[_0x33ee3c(0x3af)](),this['_initActiveChartModelListener'](),this[_0x33ee3c(0x2ba)](),this[_0x33ee3c(0x373)](),this[_0x33ee3c(0x486)]();}[_0xeb70cf(0xc9)](_0x22afe3){const _0x302a4c=_0xeb70cf;let _0x1089d6=this[_0x302a4c(0x1e3)](_0x22afe3);return _0x1089d6?this['_chartSnapshotStoreService'][_0x302a4c(0x418)](_0x1089d6):void 0x0;}['_resolveChartRenderMode'](_0x554a49){const _0xb58375=_0xeb70cf;var _0xfb8976;return((_0xfb8976=this['_chartModelService'][_0xb58375(0xea)])==null?void 0x0:_0xfb8976['id'])===_0x554a49?_0x3611d5[_0xb58375(0x465)][_0xb58375(0x3f6)]:this[_0xb58375(0x349)];}[_0xeb70cf(0x1e3)](_0x5708ba){const _0x2a0338=_0xeb70cf;let _0x25e9ee=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x5708ba);return _0x25e9ee?{'unitId':_0x25e9ee['unitId'],'subUnitId':_0x25e9ee[_0x2a0338(0x331)],'chartId':_0x5708ba}:null;}[_0xeb70cf(0x3af)](){const _0x508224=_0xeb70cf;this[_0x508224(0x349)]===_0x3611d5[_0x508224(0x465)][_0x508224(0x40f)]&&this[_0x508224(0x1e8)](this[_0x508224(0x16c)][_0x508224(0x3bf)](_0x1e7325[_0x508224(0x28f)][_0x508224(0x1c3)],({key:_0xc278ee,config:_0x2fcf6c,unitId:_0x1a3682,subUnitId:_0xd9b994,drawingId:_0x3e687d})=>new _0x391a42(_0xc278ee,_0x2fcf6c,()=>this['_chartSnapshotStoreService']['getImage']({'unitId':_0x1a3682,'subUnitId':_0xd9b994,'chartId':_0x3e687d}),()=>this[_0x508224(0x14a)][_0x508224(0x4ad)](_0x3e687d))));}[_0xeb70cf(0x1df)](){const _0x167953=_0xeb70cf;this[_0x167953(0x1e8)](this[_0x167953(0x3ea)]['activeChartModel$'][_0x167953(0x413)](_0x2c76a3=>{const _0x18c3e5=_0x167953;let _0x389115=(_0x2c76a3==null?void 0x0:_0x2c76a3['id'])??null,_0x446865=this[_0x18c3e5(0x1fa)];_0x446865!==_0x389115&&(_0x446865&&(this[_0x18c3e5(0x14a)]['markHostNotReady'](_0x446865),this[_0x18c3e5(0x14d)](_0x446865),this[_0x18c3e5(0x3b2)](_0x446865)),this['_activeChartId']=_0x389115,_0x389115&&(this[_0x18c3e5(0x2af)](_0x389115),this['_chartHostProvider'][_0x18c3e5(0x39c)](_0x389115),this[_0x18c3e5(0x3ed)](_0x389115),this[_0x18c3e5(0x2d2)](_0x389115)));}));}[_0xeb70cf(0x2ba)](){const _0x24daad=_0xeb70cf;this[_0x24daad(0x1e8)](this['_drawingManagerService'][_0x24daad(0x2e0)]['subscribe'](_0x4204de=>{const _0x30052d=_0x24daad;var _0x2f7de5;let _0x241454=(_0x2f7de5=this[_0x30052d(0x3ea)][_0x30052d(0xea)])==null?void 0x0:_0x2f7de5['id'];_0x241454&&_0x4204de['some'](_0x6488e1=>_0x6488e1[_0x30052d(0x140)][_0x30052d(0x12c)](_0x30aa23=>_0x30aa23[_0x30052d(0xef)]===_0x241454))&&this[_0x30052d(0x3ea)][_0x30052d(0x128)](null);})),this[_0x24daad(0x1e8)](this[_0x24daad(0x3f7)]['featurePluginUngroupUpdate$'][_0x24daad(0x413)](_0xf8ae2c=>{const _0x5c079b=_0x24daad;var _0x4fb1bb;let _0x21958c=(_0x4fb1bb=this[_0x5c079b(0x3ea)][_0x5c079b(0xea)])==null?void 0x0:_0x4fb1bb['id'];_0x21958c&&_0xf8ae2c['some'](_0x1a2571=>_0x1a2571['parent'][_0x5c079b(0xef)]===_0x21958c||_0x1a2571[_0x5c079b(0x140)][_0x5c079b(0x12c)](_0x5a1cf9=>_0x5a1cf9[_0x5c079b(0xef)]===_0x21958c))&&this[_0x5c079b(0x3ea)]['setActiveChartModel'](null);}));}[_0xeb70cf(0x373)](){const _0x555c42=_0xeb70cf;this[_0x555c42(0x1e8)](this[_0x555c42(0x3f7)][_0x555c42(0x263)][_0x555c42(0x413)](_0x2f4a75=>{const _0xd1698c=_0x555c42;var _0x4ce54d;let _0x2d68f2=(_0x4ce54d=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x4ce54d['id'];if(!_0x2d68f2){_0x2f4a75[_0xd1698c(0x31f)]['forEach'](_0x480f8a=>{const _0x141463=_0xd1698c;this['_chartModelService'][_0x141463(0x316)](_0x480f8a)&&this[_0x141463(0x14d)](_0x480f8a);});return;}let _0x322795=this['_sheetCanvasFloatDomManagerService'][_0xd1698c(0x1b2)](_0x2d68f2);(_0x322795==null?void 0x0:_0x322795[_0xd1698c(0xfa)])===_0x2f4a75[_0xd1698c(0xfa)]&&_0x322795[_0xd1698c(0x331)]===_0x2f4a75[_0xd1698c(0x331)]&&this[_0xd1698c(0x3ed)](_0x2d68f2);})),this['disposeWithMe'](this[_0x555c42(0x3f7)][_0x555c42(0x245)][_0x555c42(0x413)](_0x5c360b=>{const _0x2e9dc0=_0x555c42;var _0x2274c3;let _0x365da8=(_0x2274c3=this[_0x2e9dc0(0x3ea)][_0x2e9dc0(0xea)])==null?void 0x0:_0x2274c3['id'];if(!_0x365da8)return;let _0x17780e=this[_0x2e9dc0(0x16c)][_0x2e9dc0(0x1b2)](_0x365da8);_0x17780e&&_0x5c360b[_0x2e9dc0(0x12c)](_0x2701d8=>_0x2701d8[_0x2e9dc0(0xfa)]===_0x17780e[_0x2e9dc0(0xfa)]&&_0x2701d8[_0x2e9dc0(0x331)]===_0x17780e['subUnitId'])&&this['_applyActiveChartRuntimeZIndex'](_0x365da8);})),this[_0x555c42(0x1e8)](this[_0x555c42(0x3ea)][_0x555c42(0x2e9)][_0x555c42(0x413)](_0xcefcc2=>{const _0x567485=_0x555c42;var _0x1081d1;this[_0x567485(0x124)](_0xcefcc2),this[_0x567485(0x31b)](_0xcefcc2),this[_0x567485(0x3a9)]['delete'](_0xcefcc2),this[_0x567485(0x2af)](_0xcefcc2),this[_0x567485(0x1e1)][_0x567485(0x339)](_0xcefcc2),this[_0x567485(0x276)][_0x567485(0x231)](_0xcefcc2),this[_0x567485(0x328)](_0xcefcc2),this['_chartHostProvider'][_0x567485(0x39c)](_0xcefcc2),((_0x1081d1=this[_0x567485(0x3ea)][_0x567485(0xea)])==null?void 0x0:_0x1081d1['id'])===_0xcefcc2?this[_0x567485(0x3ea)][_0x567485(0x128)](null):this[_0x567485(0x14d)](_0xcefcc2),this['_disposeChartRenderInstance'](_0xcefcc2);}));}['_rerenderLatest'](_0x177366){const _0x4dba5d=_0xeb70cf;let _0x366231=this[_0x4dba5d(0x1e1)][_0x4dba5d(0x360)](_0x177366);_0x366231&&this[_0x4dba5d(0x37d)](_0x177366,_0x366231[_0x4dba5d(0x207)],_0x366231[_0x4dba5d(0x4b9)]);}['_disposeChartDomInstance'](_0x3cc044){const _0x15e453=_0xeb70cf;let _0x5c81aa=this[_0x15e453(0x343)][_0x15e453(0x360)](_0x3cc044);(_0x5c81aa==null?void 0x0:_0x5c81aa[_0x15e453(0x170)])==='dom'&&(this[_0x15e453(0x31b)](_0x3cc044),_0x5c81aa['dispose'](),this[_0x15e453(0x343)][_0x15e453(0x339)](_0x3cc044)),this[_0x15e453(0x14a)]['markHostNotReady'](_0x3cc044),this[_0x15e453(0x14a)]['removeHost'](_0x3cc044);}['_disposeChartRenderInstance'](_0x279cfb){const _0x3f0ec7=_0xeb70cf;let _0x1befe7=this[_0x3f0ec7(0x343)][_0x3f0ec7(0x360)](_0x279cfb);_0x1befe7&&(this[_0x3f0ec7(0x31b)](_0x279cfb),_0x1befe7[_0x3f0ec7(0x151)](),this['_chartInstanceMap']['delete'](_0x279cfb)),this[_0x3f0ec7(0x14a)][_0x3f0ec7(0x39c)](_0x279cfb),this[_0x3f0ec7(0x14a)][_0x3f0ec7(0x354)](_0x279cfb);}[_0xeb70cf(0x328)](_0x48c02e){const _0x5b3361=_0xeb70cf;var _0x4c5a38,_0x2a7446;(_0x4c5a38=this[_0x5b3361(0x468)][_0x5b3361(0xc7)](_0x3611d5[_0x5b3361(0x214)]))==null||(_0x2a7446=_0x4c5a38[_0x5b3361(0x103)])==null||_0x2a7446[_0x5b3361(0x479)](_0x4c5a38,{'type':_0x5b3361(0x4ae),'chartId':_0x48c02e});}['_notifySheetChartsDetached'](_0x51dedd,_0x4309ec){const _0x2ac02e=_0xeb70cf;let _0x14c2c4=this[_0x2ac02e(0x3f7)][_0x2ac02e(0x180)](_0x51dedd,_0x4309ec);Object[_0x2ac02e(0x1a8)](_0x14c2c4??{})['forEach'](_0x1c6caf=>{const _0xef7a0=_0x2ac02e;if(_0x1c6caf[_0xef7a0(0x209)]===_0x1e7325['DrawingTypeEnum'][_0xef7a0(0x1c3)]){var _0x1aa9af,_0x567740;(_0x1aa9af=this['_renderModelManager'][_0xef7a0(0xc7)](_0x3611d5[_0xef7a0(0x214)]))==null||(_0x567740=_0x1aa9af[_0xef7a0(0x103)])==null||_0x567740['call'](_0x1aa9af,{'type':'detach','chartId':_0x1c6caf['drawingId']});}});}[_0xeb70cf(0x1aa)](_0x4d7979,_0x4637f5){const _0x424ea4=_0xeb70cf;var _0x1dbf8a;return((_0x1dbf8a=_0x4d7979[_0x424ea4(0x4b6)])==null?void 0x0:_0x1dbf8a[_0x424ea4(0x479)](_0x4d7979,_0x4637f5))??_0x4d7979[_0x424ea4(0x347)](_0x4637f5)??null;}['_getChartRenderObjectContext'](_0x416e29){const _0x1bcfa7=_0xeb70cf;var _0x12915d;let _0x34ab65=this[_0x1bcfa7(0x16c)][_0x1bcfa7(0x1b2)](_0x416e29);if(!_0x34ab65)return null;let _0xfc09df=(_0x12915d=this[_0x1bcfa7(0x2be)]['getRenderUnitById'](_0x34ab65[_0x1bcfa7(0xfa)]))==null?void 0x0:_0x12915d[_0x1bcfa7(0x179)];if(!_0xfc09df)return null;let _0x563ae5=this[_0x1bcfa7(0x1aa)](_0xfc09df,(0x0,_0x39bdba[_0x1bcfa7(0x43f)])({'unitId':_0x34ab65['unitId'],'subUnitId':_0x34ab65[_0x1bcfa7(0x331)],'drawingId':_0x416e29}));return _0x563ae5?{'info':_0x34ab65,'scene':_0xfc09df,'chartObject':_0x563ae5}:null;}[_0xeb70cf(0x116)](_0x5dbc5f,_0x1732cf){const _0x28b15e=_0xeb70cf;var _0x529975,_0x155320,_0x3937d9,_0x582a9a;let _0x5781eb=this[_0x28b15e(0x2b4)](_0x5dbc5f);_0x5781eb&&((_0x529975=(_0x155320=_0x5781eb[_0x28b15e(0x11a)])[_0x28b15e(0x362)])==null||_0x529975[_0x28b15e(0x479)](_0x155320,{'zIndex':_0x1732cf}),(_0x3937d9=(_0x582a9a=_0x5781eb[_0x28b15e(0x11a)])[_0x28b15e(0x211)])==null||_0x3937d9[_0x28b15e(0x479)](_0x582a9a,!0x0),_0x5781eb[_0x28b15e(0x179)]['makeDirty'](!0x0));}[_0xeb70cf(0x3ed)](_0x2369fd){const _0x5ad81a=_0xeb70cf;let _0x3c6520=this['_sheetCanvasFloatDomManagerService'][_0x5ad81a(0x1b2)](_0x2369fd);if(!_0x3c6520)return;let _0x1c8b12=this[_0x5ad81a(0x3f7)][_0x5ad81a(0xc8)](_0x3c6520[_0x5ad81a(0xfa)],_0x3c6520[_0x5ad81a(0x331)]);this[_0x5ad81a(0x116)](_0x2369fd,_0x1c8b12[_0x5ad81a(0x2d4)]);}[_0xeb70cf(0x14d)](_0x376405){const _0x5d258c=_0xeb70cf;let _0x1b6ae0=this[_0x5d258c(0x16c)][_0x5d258c(0x1b2)](_0x376405);if(!_0x1b6ae0)return;let _0x409936=this[_0x5d258c(0x3f7)][_0x5d258c(0xc8)](_0x1b6ae0['unitId'],_0x1b6ae0['subUnitId']),_0x3bfc43=_0x409936[_0x5d258c(0x3e1)](_0x376405);this[_0x5d258c(0x116)](_0x376405,_0x3bfc43===-0x1?Math['max'](_0x409936['length']-0x1,0x0):_0x3bfc43);}[_0xeb70cf(0x11c)](_0x2f7107,_0xe11620){const _0x3e803e=_0xeb70cf;let _0x1adf7f=this[_0x3e803e(0x16c)][_0x3e803e(0x1b2)](_0x2f7107);if(_0xe11620[_0x3e803e(0x323)]!==void 0x0&&_0xe11620[_0x3e803e(0x1ed)]!==void 0x0&&_0x1adf7f){var _0x311d33;let {subUnitId:_0x248c7d}=_0x1adf7f,_0x901f82=(_0x311d33=this['_univerInstanceService'][_0x3e803e(0x428)](_0x1e7325[_0x3e803e(0x3b8)][_0x3e803e(0x41f)]))==null?void 0x0:_0x311d33['getActiveSheet']();if((_0x901f82==null?void 0x0:_0x901f82['getSheetId']())===_0x248c7d){let {width:_0x1221c5,height:_0xe13a03}=_0xe11620,_0x2d8605=this[_0x3e803e(0x3ea)][_0x3e803e(0x316)](_0x2f7107),_0x347349=_0x2d8605==null?void 0x0:_0x2d8605[_0x3e803e(0x4b9)];(Math[_0x3e803e(0x35b)](_0x1221c5-((_0x347349==null?void 0x0:_0x347349[_0x3e803e(0x323)])||0x0))>0x1||Math[_0x3e803e(0x35b)](_0xe13a03-((_0x347349==null?void 0x0:_0x347349[_0x3e803e(0x1ed)])||0x0))>0x1)&&(_0x2d8605==null||_0x2d8605[_0x3e803e(0x398)]({..._0x347349,'width':_0x1221c5,'height':_0xe13a03}));}}}[_0xeb70cf(0xf7)](_0xf4096f,_0x219169,_0x5b3174=0x0){const _0x33fdd2=_0xeb70cf;let _0x3a4002=this[_0x33fdd2(0x293)]['get'](_0xf4096f);_0x3a4002||(_0x3a4002=(0x0,_0x1e7325[_0x33fdd2(0x320)])(_0x32179e=>{const _0x2d1f5c=_0x33fdd2;this[_0x2d1f5c(0x11c)](_0xf4096f,_0x32179e);},_0x5b3174),this[_0x33fdd2(0x293)]['set'](_0xf4096f,_0x3a4002)),_0x3a4002(_0x219169);}[_0xeb70cf(0x486)](){const _0x2fa4e4=_0xeb70cf;let _0x1d0a3a=this[_0x2fa4e4(0x497)],_0x257b4b=_0x41967e=>{const _0x3e299e=_0x2fa4e4;if(!_0x1d0a3a[_0x3e299e(0x4af)](_0x41967e)){let _0x201073=(0x0,_0x1e7325[_0x3e299e(0x320)])((_0x5212ed,_0x5671df,_0x1ef54d,_0x298829)=>{const _0x535559=_0x3e299e;var _0x3d8d51,_0x157ed3;if(!_0x1ef54d)return;(_0x3d8d51=_0x1ef54d['category'])==null||_0x3d8d51[_0x535559(0xdd)]['forEach']((_0x49e173,_0x320b70)=>{const _0x653671=_0x535559;_0x49e173[_0x653671(0x3bd)]||=this['_localeService']['t']('sheets-chart-ui.common.category')+'\x20'+(_0x320b70+0x1);}),_0x1ef54d[_0x535559(0x1f9)][_0x535559(0x332)]((_0x2f519d,_0x2adfef)=>{const _0x2b29ea=_0x535559;_0x2f519d['name']||=this[_0x2b29ea(0x133)]['t'](_0x2b29ea(0x39b))+'\x20'+(_0x2adfef+0x1);});let _0x282c54=this[_0x535559(0x23f)](_0x5212ed,_0x298829),_0x4bbac5=(_0x157ed3=this[_0x535559(0x42c)][_0x535559(0x428)](_0x1e7325[_0x535559(0x3b8)]['UNIVER_SHEET']))==null?void 0x0:_0x157ed3[_0x535559(0x25e)]();(_0x4bbac5==null?void 0x0:_0x4bbac5[_0x535559(0x473)]())===_0x5671df&&this[_0x535559(0x37d)](_0x5212ed['id'],_0x1ef54d,_0x282c54);},0x11);_0x1d0a3a['set'](_0x41967e,_0x201073);}return _0x1d0a3a[_0x3e299e(0x360)](_0x41967e);};this[_0x2fa4e4(0x1e8)](this[_0x2fa4e4(0x42c)]['focused$']['subscribe'](_0x588029=>{const _0x3912ea=_0x2fa4e4;let _0x1e4bfe=this[_0x3912ea(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x3912ea(0x3b8)][_0x3912ea(0x41f)]);if(_0x588029&&_0x1e4bfe&&_0x1e4bfe[_0x3912ea(0x463)]()===_0x588029){var _0x5828ca;let _0x3c5411=_0x1e4bfe['getActiveSheet']()[_0x3912ea(0x473)]();this[_0x3912ea(0x452)]&&(this[_0x3912ea(0x452)][_0x3912ea(0xfa)]!==_0x588029||this[_0x3912ea(0x452)][_0x3912ea(0x331)]!==_0x3c5411)&&this[_0x3912ea(0x19b)](this['_lastActiveSheet'][_0x3912ea(0xfa)],this[_0x3912ea(0x452)][_0x3912ea(0x331)]),this[_0x3912ea(0x452)]={'unitId':_0x588029,'subUnitId':_0x3c5411};let _0x4c4133=this[_0x3912ea(0x3f7)][_0x3912ea(0x180)](_0x588029,_0x3c5411);if(!((_0x5828ca=this[_0x3912ea(0x2be)][_0x3912ea(0x3a4)](_0x588029))!=null&&_0x5828ca[_0x3912ea(0x3cd)](_0x2ef923[_0x3912ea(0x283)])[_0x3912ea(0x287)](_0x3c5411)))return;if(_0x4c4133)for(let _0x552f61 in _0x4c4133){let {drawingId:_0x1de8f7}=_0x4c4133[_0x552f61],_0x58cf6f=this[_0x3912ea(0x3ea)][_0x3912ea(0x316)](_0x1de8f7);_0x58cf6f&&_0x257b4b(_0x58cf6f['id'])(_0x58cf6f,_0x3c5411,_0x58cf6f[_0x3912ea(0x207)],this[_0x3912ea(0x133)][_0x3912ea(0x392)]());}}})),this[_0x2fa4e4(0x1e8)](this['_themeService']['darkMode$'][_0x2fa4e4(0x413)](()=>{const _0x4a2f34=_0x2fa4e4;var _0x4ef0f2;let _0x3864df=this[_0x4a2f34(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x4a2f34(0x3b8)][_0x4a2f34(0x41f)]);if(!_0x3864df)return;let _0x15d9b3=_0x3864df['getUnitId'](),_0x52a345=_0x3864df[_0x4a2f34(0x25e)]()[_0x4a2f34(0x473)](),_0x5eda9c=this[_0x4a2f34(0x3f7)][_0x4a2f34(0x180)](_0x15d9b3,_0x52a345);if((_0x4ef0f2=this[_0x4a2f34(0x2be)][_0x4a2f34(0x3a4)](_0x15d9b3))!=null&&_0x4ef0f2[_0x4a2f34(0x3cd)](_0x2ef923['SheetSkeletonManagerService'])[_0x4a2f34(0x287)](_0x52a345)&&_0x5eda9c)for(let _0x2bfa33 in _0x5eda9c){let {drawingId:_0x3899ee}=_0x5eda9c[_0x2bfa33],_0x2143fd=this['_chartModelService'][_0x4a2f34(0x316)](_0x3899ee);_0x2143fd&&_0x257b4b(_0x2143fd['id'])(_0x2143fd,_0x52a345,_0x2143fd[_0x4a2f34(0x207)],this[_0x4a2f34(0x133)][_0x4a2f34(0x392)]());}})),this[_0x2fa4e4(0x1e8)](this[_0x2fa4e4(0x3f7)][_0x2fa4e4(0x245)]['subscribe'](_0x2c1afe=>{const _0x67e93b=_0x2fa4e4;_0x2c1afe[_0x67e93b(0x332)](_0xafe308=>{const _0x28dfb6=_0x67e93b;var _0x5c1cb5;let {drawingId:_0xff5e8d,unitId:_0x3bbbc8,subUnitId:_0x12eefd}=_0xafe308,_0x2ce6f1=this[_0x28dfb6(0x2be)][_0x28dfb6(0x3a4)](_0x3bbbc8);if((_0x2ce6f1==null?void 0x0:_0x2ce6f1[_0x28dfb6(0x3b3)])!==_0x1e7325[_0x28dfb6(0x3b8)][_0x28dfb6(0x41f)]||!_0x2ce6f1[_0x28dfb6(0x3cd)](_0x2ef923[_0x28dfb6(0x283)])[_0x28dfb6(0x287)](_0x12eefd))return;let {drawingType:_0x597c7d}=this[_0x28dfb6(0x3f7)][_0x28dfb6(0x16d)](_0xafe308);if(_0x597c7d!==_0x1e7325['DrawingTypeEnum']['DRAWING_CHART'])return;let _0x39af5c=this[_0x28dfb6(0x16c)]['getFloatDomInfo'](_0xff5e8d);this[_0x28dfb6(0x124)](_0xff5e8d);let _0x4e070a=new _0x1e7325[(_0x28dfb6(0x3e8))]();this[_0x28dfb6(0x2cd)]['set'](_0xff5e8d,_0x4e070a);let _0x483761=(_0x39af5c==null?void 0x0:_0x39af5c['domId'])??_0xff5e8d,_0x2861f3=_0x39af5c==null?void 0x0:_0x39af5c[_0x28dfb6(0x47b)],_0x42f7e8=(_0x5c1cb5=this[_0x28dfb6(0x2be)]['getRenderUnitById'](_0x3bbbc8))==null?void 0x0:_0x5c1cb5[_0x28dfb6(0x179)];if(_0x2861f3){let _0x308c80=new _0x495b73(_0x2861f3,_0x14bbeb=>{const _0x23f20f=_0x28dfb6;var _0x19429e;let _0x52780c=this[_0x23f20f(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x23f20f(0x3b8)]['UNIVER_SHEET']);if((_0x52780c==null?void 0x0:_0x52780c[_0x23f20f(0x463)]())===_0x3bbbc8&&((_0x19429e=_0x52780c['getActiveSheet']())==null?void 0x0:_0x19429e[_0x23f20f(0x473)]())===_0x12eefd&&(this['_chartHostProvider'][_0x23f20f(0x120)](_0xff5e8d),_0x14bbeb)){var _0x5c0fda;(_0x5c0fda=this[_0x23f20f(0x343)]['get'](_0xff5e8d))==null||_0x5c0fda[_0x23f20f(0x430)](),this[_0x23f20f(0xf7)](_0xff5e8d,{'width':_0x2861f3[_0x23f20f(0x323)],'height':_0x2861f3[_0x23f20f(0x1ed)]},0x64);}});_0x4e070a[_0x28dfb6(0x1e8)](_0x308c80),_0x4e070a['disposeWithMe'](this[_0x28dfb6(0x42c)][_0x28dfb6(0x47f)][_0x28dfb6(0x413)](()=>_0x308c80[_0x28dfb6(0xd0)]())),_0x42f7e8&&_0x4e070a['disposeWithMe'](_0x42f7e8['getTransformerByCreate']()[_0x28dfb6(0x40c)][_0x28dfb6(0x413)](({objects:_0x3ef4a6})=>{const _0xa1c4f7=_0x28dfb6;if(_0x3ef4a6[_0xa1c4f7(0x4af)](_0x2861f3['oKey'])){var _0x2d13e0;_0x308c80['flush'](),(_0x2d13e0=this[_0xa1c4f7(0x293)]['get'](_0xff5e8d))==null||_0x2d13e0['flush']();}}));}_0x42f7e8&&_0x4e070a[_0x28dfb6(0x1e8)](_0x42f7e8[_0x28dfb6(0x10b)][_0x28dfb6(0x259)](_0x5d63c2=>{const _0x51ce7b=_0x28dfb6;var _0x4bb1c0;_0x5d63c2['type']===_0x4fef78[_0x51ce7b(0x3d1)]['scale']&&(_0x4bb1c0=document[_0x51ce7b(0x302)](_0x483761))!=null&&_0x4bb1c0[_0x51ce7b(0x39a)]('.chart-host')&&this[_0x51ce7b(0x14a)][_0x51ce7b(0x120)](_0xff5e8d);}));let _0x2d425e=this[_0x28dfb6(0x3ea)]['getChartModel'](_0xff5e8d);_0x2d425e&&_0x4e070a[_0x28dfb6(0x1e8)]((0x0,_0x24f269[_0x28dfb6(0x2f3)])([_0x2d425e['config$'],_0x2d425e[_0x28dfb6(0x242)],this[_0x28dfb6(0x133)][_0x28dfb6(0x369)]])[_0x28dfb6(0x413)](([_0x51a629,_0x2a6705,_0x4a4cb7])=>{_0x257b4b(_0x2d425e['id'])(_0x2d425e,_0x12eefd,_0x51a629,_0x4a4cb7);}));});})),this[_0x2fa4e4(0x1e8)]((0x0,_0x24f269[_0x2fa4e4(0x2f3)])([this[_0x2fa4e4(0x3f7)][_0x2fa4e4(0x144)]])[_0x2fa4e4(0x413)](([_0xf600fe])=>{const _0xfbccb=_0x2fa4e4;_0xf600fe[_0xfbccb(0x332)](_0x3620a3=>{const _0x3cf3e2=_0xfbccb;var _0x301690;let {drawingId:_0x3c7498}=_0x3620a3;this['_disposeChartChangeListeners'](_0x3c7498),((_0x301690=this[_0x3cf3e2(0x3ea)]['activeChartModel'])==null?void 0x0:_0x301690['id'])===_0x3c7498&&this[_0x3cf3e2(0x3ea)][_0x3cf3e2(0x128)](null),this['_disposeChartEventSubscriptions'](_0x3c7498),this[_0x3cf3e2(0x14a)][_0x3cf3e2(0x39c)](_0x3c7498),this[_0x3cf3e2(0x14d)](_0x3c7498),this[_0x3cf3e2(0x4a9)](_0x3c7498),this[_0x3cf3e2(0x276)][_0x3cf3e2(0x231)](_0x3c7498),this[_0x3cf3e2(0x328)](_0x3c7498),this[_0x3cf3e2(0x1e1)]['delete'](_0x3c7498),this[_0x3cf3e2(0x2a0)][_0x3cf3e2(0x339)](_0x3c7498);});}));}['setElementEditMode'](_0x386b31,_0x5a6c1a){const _0x48e67f=_0xeb70cf;var _0x2b599f;_0x5a6c1a?this['_chartElementEditMode'][_0x48e67f(0x130)](_0x386b31,!0x0):this[_0x48e67f(0x2a0)][_0x48e67f(0x339)](_0x386b31),(_0x2b599f=this[_0x48e67f(0x343)]['get'](_0x386b31))==null||_0x2b599f['setElementEditMode'](_0x5a6c1a);}async[_0xeb70cf(0x3fb)](_0x24bc4a,_0x19e1e5){const _0x5d6315=_0xeb70cf;var _0x194094;let _0x518aba=this[_0x5d6315(0x1e1)][_0x5d6315(0x360)](_0x24bc4a),_0x1c1218=(_0x194094=this[_0x5d6315(0x16c)][_0x5d6315(0x1b2)](_0x24bc4a))==null?void 0x0:_0x194094[_0x5d6315(0x47b)];if(_0x518aba&&_0x1c1218)return(await this['_renderModelManager'][_0x5d6315(0x3fb)]({'chartId':_0x24bc4a,'config':_0x518aba['config'],'style':_0x518aba['style'],'width':_0x1c1218[_0x5d6315(0x323)],'height':_0x1c1218[_0x5d6315(0x1ed)]},_0x19e1e5))[_0x5d6315(0x3fd)];if((_0x19e1e5==null?void 0x0:_0x19e1e5[_0x5d6315(0x304)])===_0x3611d5['ChartImageExportFormat'][_0x5d6315(0x168)])return;let _0x2d63e1=this[_0x5d6315(0x48e)](_0x24bc4a);return _0x2d63e1?(0x0,_0x3611d5['chartImageSourceToDataUrl'])(_0x2d63e1):void 0x0;}['on'](_0xab7b24,_0x1f19be,_0x3e3e66){const _0x18c627=_0xeb70cf;let _0x4273dd=this['_chartEventHandlers'][_0x18c627(0x360)](_0xab7b24);_0x4273dd||(_0x4273dd=new Map(),this[_0x18c627(0x3a9)][_0x18c627(0x130)](_0xab7b24,_0x4273dd));let _0x5ecfda=_0x4273dd[_0x18c627(0x360)](_0x1f19be);_0x5ecfda||(_0x5ecfda=new Set(),_0x4273dd[_0x18c627(0x130)](_0x1f19be,_0x5ecfda)),_0x5ecfda[_0x18c627(0x2a8)](_0x3e3e66);let _0x477e1a=this['_chartInstanceMap'][_0x18c627(0x360)](_0xab7b24);return _0x477e1a&&this[_0x18c627(0x36f)](_0xab7b24,_0x477e1a,_0x1f19be,_0x3e3e66),{'dispose':()=>{const _0x3083d2=_0x18c627;var _0x1d82c7;(_0x1d82c7=this[_0x3083d2(0x3a9)][_0x3083d2(0x360)](_0xab7b24))==null||(_0x1d82c7=_0x1d82c7['get'](_0x1f19be))==null||_0x1d82c7[_0x3083d2(0x339)](_0x3e3e66),this[_0x3083d2(0x1b1)](_0xab7b24,_0x1f19be,_0x3e3e66);}};}[_0xeb70cf(0x48e)](_0x2747ea){const _0x98eccc=_0xeb70cf;let _0x2a85e5=this[_0x98eccc(0x42c)][_0x98eccc(0x428)](_0x1e7325[_0x98eccc(0x3b8)][_0x98eccc(0x41f)]),_0x2b5a0d=_0x2a85e5==null?void 0x0:_0x2a85e5[_0x98eccc(0x25e)](),_0x24f13b=_0x2a85e5==null?void 0x0:_0x2a85e5[_0x98eccc(0x463)](),_0x5ea1af=_0x2b5a0d==null?void 0x0:_0x2b5a0d['getSheetId']();if(_0x24f13b&&_0x5ea1af)return this[_0x98eccc(0x276)][_0x98eccc(0x418)]({'unitId':_0x24f13b,'subUnitId':_0x5ea1af,'chartId':_0x2747ea});}[_0xeb70cf(0x303)](_0x1d89aa,_0x247b05){const _0x3b86e9=_0xeb70cf;let _0x513b75=this[_0x3b86e9(0x3a9)][_0x3b86e9(0x360)](_0x1d89aa);_0x513b75&&_0x513b75[_0x3b86e9(0x332)]((_0x1da3d3,_0x49c0bc)=>{const _0x49be80=_0x3b86e9;_0x1da3d3[_0x49be80(0x332)](_0x6cb220=>this[_0x49be80(0x36f)](_0x1d89aa,_0x247b05,_0x49c0bc,_0x6cb220));});}['_bindChartEventHandler'](_0x1cdd60,_0xfebde3,_0x6d32d1,_0x1ab7c8){const _0x12cfc3=_0xeb70cf;let _0x1f3fa7=this[_0x12cfc3(0x247)][_0x12cfc3(0x360)](_0x1cdd60);_0x1f3fa7||(_0x1f3fa7=new Map(),this[_0x12cfc3(0x247)][_0x12cfc3(0x130)](_0x1cdd60,_0x1f3fa7));let _0xc412fa=_0x1f3fa7['get'](_0x6d32d1);_0xc412fa||(_0xc412fa=new Map(),_0x1f3fa7[_0x12cfc3(0x130)](_0x6d32d1,_0xc412fa)),!_0xc412fa[_0x12cfc3(0x4af)](_0x1ab7c8)&&_0xc412fa[_0x12cfc3(0x130)](_0x1ab7c8,_0xfebde3['on'](_0x6d32d1,_0x1ab7c8));}[_0xeb70cf(0x1b1)](_0xa7c804,_0x1ed6c1,_0x5872a2){const _0x5ed7c2=_0xeb70cf;var _0x4c078e,_0xce3114;let _0x19488f=(_0x4c078e=this[_0x5ed7c2(0x247)][_0x5ed7c2(0x360)](_0xa7c804))==null?void 0x0:_0x4c078e['get'](_0x1ed6c1);_0x19488f==null||(_0xce3114=_0x19488f[_0x5ed7c2(0x360)](_0x5872a2))==null||_0xce3114[_0x5ed7c2(0x151)](),_0x19488f==null||_0x19488f[_0x5ed7c2(0x339)](_0x5872a2);}[_0xeb70cf(0x31b)](_0xe55d35){const _0x35f0df=_0xeb70cf;let _0x1e0d6b=this['_chartEventSubscriptions'][_0x35f0df(0x360)](_0xe55d35);_0x1e0d6b==null||_0x1e0d6b[_0x35f0df(0x332)](_0x5c8fbb=>{const _0x2aaf55=_0x35f0df;_0x5c8fbb[_0x2aaf55(0x332)](_0xa7e05=>_0xa7e05[_0x2aaf55(0x151)]()),_0x5c8fbb['clear']();}),this[_0x35f0df(0x247)]['delete'](_0xe55d35);}[_0xeb70cf(0x23f)](_0x3b9d77,_0x1369ce){const _0x165a63=_0xeb70cf;return _0x1fd4bd(_0x3b9d77,_0x1369ce,this[_0x165a63(0x3ce)]);}[_0xeb70cf(0x23e)](_0x322b82){return this['_getChartRenderSkipReason'](_0x322b82)==null;}[_0xeb70cf(0x1cf)](_0x51ad93){const _0x3e98de=_0xeb70cf;var _0x28f430;let _0x57e439=this[_0x3e98de(0x16c)][_0x3e98de(0x1b2)](_0x51ad93);if(!_0x57e439)return'missing-float-dom';let {subUnitId:_0x59c8eb}=_0x57e439,_0x40f11f=(_0x28f430=this[_0x3e98de(0x42c)]['getCurrentUnitOfType'](_0x1e7325['UniverInstanceType']['UNIVER_SHEET']))==null?void 0x0:_0x28f430['getActiveSheet']();if(!_0x40f11f)return _0x3e98de(0x1d8);if(_0x40f11f[_0x3e98de(0x473)]()!==_0x59c8eb)return _0x3e98de(0x389);}async[_0xeb70cf(0x37d)](_0x519fc0,_0x1ece2f,_0xda1f2d,_0x1b9f2a={}){const _0x19ae38=_0xeb70cf;let _0x34b815=this[_0x19ae38(0x468)][_0x19ae38(0xc7)](_0x3611d5[_0x19ae38(0x214)]);if(!_0x34b815)return;let _0x1a5791=this[_0x19ae38(0x1e1)][_0x19ae38(0x360)](_0x519fc0);if(this[_0x19ae38(0x1e1)][_0x19ae38(0x130)](_0x519fc0,{'config':_0x1ece2f,'style':_0xda1f2d}),this[_0x19ae38(0x1cf)](_0x519fc0))return;let {canAnimate:_0x1c3d8b,renderMode:_0x2cb317,shouldStartTransientAnimation:_0x327bfe,transientAnimationActive:_0x321e7b}=this['_prepareDataUpdateRender'](_0x519fc0,_0x1a5791!=null,_0x1b9f2a[_0x19ae38(0x1c5)]===!0x0);if(_0x2cb317===_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)])this['_disposeChartDomInstance'](_0x519fc0);else{var _0x46fab5;this[_0x19ae38(0x14a)][_0x19ae38(0x313)](_0x519fc0),((_0x46fab5=this[_0x19ae38(0x3ea)]['activeChartModel'])==null?void 0x0:_0x46fab5['id'])===_0x519fc0&&this[_0x19ae38(0x3ed)](_0x519fc0);}let _0x3cdd2b=_0x2cb317===_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)]?_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)]:_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x3f6)],_0x3cf777=await this[_0x19ae38(0x14a)][_0x19ae38(0x18d)](_0x519fc0,_0x3cdd2b);if(!_0x3cf777){_0x327bfe&&this[_0x19ae38(0x2af)](_0x519fc0);return;}this['_chartHostProvider'][_0x19ae38(0x4b8)](_0x519fc0,_0x321e7b?_0x3611d5[_0x19ae38(0x246)]:null);let _0x2579f3=this['_getOrCreateChartRenderInstance'](_0x519fc0,_0x3cdd2b,_0x34b815);_0x2579f3[_0x19ae38(0x456)](_0x3cf777);try{let _0x53de66={'chartId':_0x519fc0,'config':_0x1ece2f,'style':_0xda1f2d};_0x1c3d8b&&_0x1a5791&&_0x2579f3[_0x19ae38(0x1a3)]?await _0x2579f3['renderTransition']({'chartId':_0x519fc0,'config':_0x1a5791[_0x19ae38(0x207)],'style':_0x1a5791[_0x19ae38(0x4b9)]},_0x53de66,{'duration':_0x3611d5[_0x19ae38(0x246)]}):await _0x2579f3[_0x19ae38(0x37d)](_0x53de66),await this[_0x19ae38(0x2d8)](_0x519fc0,_0x2cb317,_0x2579f3),_0x1c3d8b&&_0x321e7b&&this['_scheduleDataUpdateAnimationEnd'](_0x519fc0);}catch(_0x4d13e1){if(_0x327bfe&&this['_deactivateDataUpdateAnimation'](_0x519fc0),_0x2cb317!==_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)])throw _0x4d13e1;}}async['_cacheActiveDomChartSnapshot'](_0x31f5bf,_0x1105ab,_0x3fb30a){const _0x1390ec=_0xeb70cf;var _0x14074e;if(_0x1105ab!==_0x3611d5[_0x1390ec(0x465)][_0x1390ec(0x3f6)]||((_0x14074e=this[_0x1390ec(0x3ea)][_0x1390ec(0xea)])==null?void 0x0:_0x14074e['id'])!==_0x31f5bf)return;let _0x438ce0=await this['_chartHostProvider'][_0x1390ec(0x18d)](_0x31f5bf,_0x3611d5[_0x1390ec(0x465)][_0x1390ec(0x40f)]);if(!_0x438ce0)return;let _0x39efac=_0x438ce0[_0x1390ec(0xe2)]();try{let _0x21db10=await _0x3fb30a[_0x1390ec(0x37c)]();_0x21db10&&_0x438ce0[_0x1390ec(0x40d)]({'type':_0x3611d5[_0x1390ec(0x305)][_0x1390ec(0x20b)],'url':_0x21db10},_0x39efac)&&_0x438ce0[_0x1390ec(0x44e)]();}catch{}}[_0xeb70cf(0x272)](_0x421c1a,_0x5378ac,_0x3721fa){const _0x319d5d=_0xeb70cf;let _0x48310b=this['_resolveChartRenderMode'](_0x421c1a),_0x5b0c87=_0x48310b===_0x3611d5[_0x319d5d(0x465)][_0x319d5d(0x3f6)]&&_0x3721fa&&_0x5378ac&&this[_0x319d5d(0x204)](_0x421c1a),_0xe62fe6=this[_0x319d5d(0x454)][_0x319d5d(0x4af)](_0x421c1a);return{'canAnimate':_0x5b0c87,'renderMode':_0xe62fe6?_0x3611d5[_0x319d5d(0x465)][_0x319d5d(0x3f6)]:_0x48310b,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0xe62fe6};}['_canAnimateDataUpdate'](_0x27779a){const _0x2e7682=_0xeb70cf;var _0x2d239f,_0x5c1246,_0x3a7d66,_0x343cb5;if(typeof document>'u'||typeof window>'u'||document[_0x2e7682(0x3a2)]==='hidden'||(_0x2d239f=(_0x5c1246=window)[_0x2e7682(0x3ec)])!=null&&(_0x2d239f=_0x2d239f[_0x2e7682(0x479)](_0x5c1246,_0x2e7682(0x1ab)))!=null&&_0x2d239f[_0x2e7682(0x421)]||(_0x3a7d66=(_0x343cb5=window)[_0x2e7682(0x3ec)])!=null&&(_0x3a7d66=_0x3a7d66[_0x2e7682(0x479)](_0x343cb5,_0x2e7682(0x32c)))!=null&&_0x3a7d66['matches'])return!0x1;let _0x47ecd9=this['_chartHostProvider']['getHostClientRect'](_0x27779a);return _0x47ecd9!=null&&_0x47ecd9[_0x2e7682(0x323)]>0x0&&_0x47ecd9[_0x2e7682(0x1ed)]>0x0&&_0x47ecd9['right']>0x0&&_0x47ecd9[_0x2e7682(0x359)]>0x0&&_0x47ecd9[_0x2e7682(0x2a9)]<window['innerWidth']&&_0x47ecd9[_0x2e7682(0x2f4)]<window['innerHeight'];}[_0xeb70cf(0x357)](_0x17a288){const _0x2895e5=_0xeb70cf;let _0x64c05f=this['_dataUpdateAnimationTimers'][_0x2895e5(0x360)](_0x17a288);_0x64c05f&&(clearTimeout(_0x64c05f),this['_dataUpdateAnimationTimers'][_0x2895e5(0x339)](_0x17a288)),this['_dataUpdateAnimationChartIds'][_0x2895e5(0x2a8)](_0x17a288),this['_chartHostProvider'][_0x2895e5(0x4b8)](_0x17a288,_0x3611d5['CHART_DATA_UPDATE_ANIMATION_DURATION']);}[_0xeb70cf(0x384)](_0xcb14b1){const _0x3b32e4=_0xeb70cf;let _0x5f4253=this[_0x3b32e4(0x4b2)][_0x3b32e4(0x360)](_0xcb14b1);_0x5f4253&&clearTimeout(_0x5f4253);let _0x584e17=setTimeout(()=>{const _0x4ed208=_0x3b32e4;this[_0x4ed208(0x4b2)]['delete'](_0xcb14b1),this[_0x4ed208(0x454)][_0x4ed208(0x339)](_0xcb14b1)&&(this[_0x4ed208(0x14a)][_0x4ed208(0x4b8)](_0xcb14b1,null),this[_0x4ed208(0x3b2)](_0xcb14b1),this[_0x4ed208(0x2d2)](_0xcb14b1));},_0x3611d5[_0x3b32e4(0x246)]);this[_0x3b32e4(0x4b2)][_0x3b32e4(0x130)](_0xcb14b1,_0x584e17);}[_0xeb70cf(0x2af)](_0x25d69f){const _0x5d73cf=_0xeb70cf;let _0x105ca8=this['_dataUpdateAnimationTimers'][_0x5d73cf(0x360)](_0x25d69f);_0x105ca8&&(clearTimeout(_0x105ca8),this[_0x5d73cf(0x4b2)]['delete'](_0x25d69f)),this[_0x5d73cf(0x454)][_0x5d73cf(0x339)](_0x25d69f),this['_chartHostProvider'][_0x5d73cf(0x4b8)](_0x25d69f,null);}async[_0xeb70cf(0x3c5)](_0xb0b284,_0x205d26,_0xe157a9){const _0x12ea07=_0xeb70cf;let _0x164a3c=this['_drawingManagerService']['getDrawingData'](_0xb0b284,_0x205d26),_0x88a3b4=this['_drawingManagerService']['getDrawingOrder'](_0xb0b284,_0x205d26),_0x28f65d=Object[_0x12ea07(0x1a8)](_0x164a3c??{})['filter'](_0x3ff514=>_0x3ff514['drawingType']===_0x1e7325[_0x12ea07(0x28f)][_0x12ea07(0x1c3)]&&_0x3ff514[_0x12ea07(0x2fe)]!==!0x0);await Promise[_0x12ea07(0x212)](_0x28f65d[_0x12ea07(0x1f6)](async _0x23b1d8=>{const _0x4adc75=_0x12ea07;let _0x230760=await this[_0x4adc75(0x172)](_0x23b1d8,_0x88a3b4);_0x230760&&(_0xe157a9[_0x4adc75(0x2c8)](_0x230760,_0x4fef78[_0x4adc75(0x3fc)]),_0x23b1d8[_0x4adc75(0xd3)]&&(0x0,_0x4015f2[_0x4adc75(0x269)])({'drawingId':_0x23b1d8[_0x4adc75(0xd3)],'unitId':_0xb0b284,'subUnitId':_0x205d26},_0x230760,_0xe157a9,this['_drawingManagerService']));}));}async['_createPrintingChartObject'](_0x179e1b,_0x5439c4){const _0x12dd56=_0xeb70cf;let _0x1d1ef9=this[_0x12dd56(0x3ea)][_0x12dd56(0x316)](_0x179e1b[_0x12dd56(0xef)]),_0x200bfa=this[_0x12dd56(0x468)][_0x12dd56(0xc7)](_0x3611d5[_0x12dd56(0x214)]),_0x584648=_0x179e1b[_0x12dd56(0x401)],_0xfb6beb=_0x1d1ef9==null?void 0x0:_0x1d1ef9['config'];if(!_0x1d1ef9||!_0x200bfa||!_0x584648||!_0xfb6beb||_0x584648[_0x12dd56(0x323)]==null||_0x584648[_0x12dd56(0x1ed)]==null)return null;let _0x2523d9=new _0xda5c6b(_0x179e1b[_0x12dd56(0xef)],{'width':_0x584648[_0x12dd56(0x323)],'height':_0x584648[_0x12dd56(0x1ed)]}),_0x55361d=_0x200bfa[_0x12dd56(0xf4)](_0x3611d5[_0x12dd56(0x465)]['Image'],this[_0x12dd56(0x17b)]());_0x55361d[_0x12dd56(0x456)](_0x2523d9);let _0x679a91;try{await _0x55361d[_0x12dd56(0x37d)]({'chartId':_0x179e1b[_0x12dd56(0xef)],'config':_0xfb6beb,'style':this['createRuntimeChartStyle'](_0x1d1ef9,this[_0x12dd56(0x133)][_0x12dd56(0x392)]())});}catch(_0x49acd2){console[_0x12dd56(0x361)]('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x49acd2);}finally{_0x679a91=_0x2523d9['takeSnapshot'](),_0x55361d[_0x12dd56(0x151)](),_0x2523d9[_0x12dd56(0x151)]();}let _0x519048=this[_0x12dd56(0x276)][_0x12dd56(0x418)]({'unitId':_0x179e1b[_0x12dd56(0xfa)],'subUnitId':_0x179e1b[_0x12dd56(0x331)],'chartId':_0x179e1b['drawingId']}),_0x5ea4e0=_0x679a91??_0x519048;if(!_0x5ea4e0)return null;let _0x2b480a=_0x5439c4['indexOf'](_0x179e1b[_0x12dd56(0xef)]);return new _0x391a42((0x0,_0x39bdba['getDrawingShapeKeyByDrawingSearch'])(_0x179e1b),{..._0x584648,..._0x398b93['SHEET_CHART_RENDER_OBJECT_CONFIG'],..._0x3594ec(_0x2523d9[_0x12dd56(0x4b9)]),'visible':!0x0,'zIndex':_0x2b480a===-0x1?Math[_0x12dd56(0x15a)](_0x5439c4[_0x12dd56(0x2d4)]-0x1,0x0):_0x2b480a},()=>_0x5ea4e0,void 0x0,_0x679a91?()=>_0x500cb6(_0x679a91):void 0x0);}['_getOrCreateChartRenderInstance'](_0x4d88ef,_0x1a9086,_0x2bcdbb){const _0x53830b=_0xeb70cf;let _0x585085=this[_0x53830b(0x343)][_0x53830b(0x360)](_0x4d88ef);if((_0x585085==null?void 0x0:_0x585085[_0x53830b(0x170)])===_0x1a9086)return _0x585085;_0x585085&&(this['_disposeChartEventSubscriptions'](_0x4d88ef),_0x585085[_0x53830b(0x151)](),this['_chartInstanceMap'][_0x53830b(0x339)](_0x4d88ef));let _0x15956=_0x2bcdbb[_0x53830b(0xf4)](_0x1a9086,this[_0x53830b(0x17b)]());return this[_0x53830b(0x343)][_0x53830b(0x130)](_0x4d88ef,_0x15956),_0x15956[_0x53830b(0x12f)](this[_0x53830b(0x2a0)][_0x53830b(0x360)](_0x4d88ef)===!0x0),this[_0x53830b(0x303)](_0x4d88ef,_0x15956),_0x15956;}['_createChartRenderInstanceContext'](){const _0x40a776=_0xeb70cf;return{'resolveHostStyle':({style:_0x58347c})=>(0x0,_0x3611d5[_0x40a776(0x1a9)])({'style':_0x58347c,'getRenderColor':_0x84d42e=>this[_0x40a776(0x39e)][_0x40a776(0x450)](_0x84d42e)}),'resolveRenderBackgroundColor':({style:_0x346027})=>this[_0x40a776(0x39e)]['getRenderColor']((0x0,_0x3611d5['resolveChartStyleBackgroundColor'])(_0x346027))};}[_0xeb70cf(0x124)](_0x589b6c){const _0x2369fe=_0xeb70cf;var _0x2e2c2e,_0x3996c8,_0x4322d9;(_0x2e2c2e=this[_0x2369fe(0x2cd)]['get'](_0x589b6c))==null||_0x2e2c2e[_0x2369fe(0x151)](),this[_0x2369fe(0x2cd)][_0x2369fe(0x339)](_0x589b6c),(_0x3996c8=this[_0x2369fe(0x497)][_0x2369fe(0x360)](_0x589b6c))==null||_0x3996c8[_0x2369fe(0x30e)](),this[_0x2369fe(0x497)][_0x2369fe(0x339)](_0x589b6c),(_0x4322d9=this[_0x2369fe(0x293)]['get'](_0x589b6c))==null||_0x4322d9[_0x2369fe(0x30e)](),this['_debounceHandleMap'][_0x2369fe(0x339)](_0x589b6c);}['_cancelDebouncedCallbacks'](){const _0x13ad3d=_0xeb70cf;this['_renderDebounceMap']['forEach'](_0x4e78d6=>_0x4e78d6[_0x13ad3d(0x30e)]()),this[_0x13ad3d(0x497)][_0x13ad3d(0x3b6)](),this[_0x13ad3d(0x293)][_0x13ad3d(0x332)](_0x347703=>_0x347703[_0x13ad3d(0x30e)]()),this['_debounceHandleMap'][_0x13ad3d(0x3b6)]();}[_0xeb70cf(0x151)](){const _0x1d6e35=_0xeb70cf;this['_chartChangeSubscriptions'][_0x1d6e35(0x332)](_0x58dbe0=>_0x58dbe0[_0x1d6e35(0x151)]()),this[_0x1d6e35(0x2cd)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x4b2)][_0x1d6e35(0x332)](_0x203784=>clearTimeout(_0x203784)),this[_0x1d6e35(0x4b2)][_0x1d6e35(0x3b6)](),this['_dataUpdateAnimationChartIds'][_0x1d6e35(0x3b6)](),Array[_0x1d6e35(0x240)](this[_0x1d6e35(0x343)][_0x1d6e35(0x19e)]())['forEach'](_0x7f2dce=>this[_0x1d6e35(0x4a9)](_0x7f2dce)),this[_0x1d6e35(0x3a9)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x2a0)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x447)](),this[_0x1d6e35(0x1e1)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x1fa)]=null,this[_0x1d6e35(0x452)]=null,super[_0x1d6e35(0x151)]();}};_0x114834=_0x6243e3([_0x16880b(0x0,_0x46b74e),_0x16880b(0x1,(0x0,_0x1e7325['Inject'])(_0x398b93[_0xeb70cf(0x493)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x3,_0x39bdba[_0xeb70cf(0x41e)]),_0x16880b(0x4,_0x1e7325[_0xeb70cf(0x106)]),_0x16880b(0x5,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4fef78[_0xeb70cf(0x3d7)])),_0x16880b(0x6,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x404)])),_0x16880b(0x7,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x459)])),_0x16880b(0x8,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x3611d5[_0xeb70cf(0x391)])),_0x16880b(0x9,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x127)])),_0x16880b(0xa,_0x1e7325['IConfigService']),_0x16880b(0xb,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x36a856)),_0x16880b(0xc,_0x3611d5[_0xeb70cf(0x3e7)])],_0x114834);let _0x19c057=(0x0,_0x1e7325['createIdentifier'])(_0xeb70cf(0x1cc)),_0x46657c=class extends _0x339b6e['ChartUIService']{constructor(_0x402d89,_0x343ddc,_0x57be94,_0xf8fff3,_0x575b10){const _0x54b8d9=_0xeb70cf;super(_0x575b10),this[_0x54b8d9(0x3ea)]=_0x402d89,this['_sheetsChartService']=_0x343ddc,this[_0x54b8d9(0x460)]=_0x57be94,this[_0x54b8d9(0x42c)]=_0xf8fff3,_0x1b6fbd(this,_0x54b8d9(0xde),!0x1),_0x1b6fbd(this,'_chartEditorOpen$',new _0x24f269[(_0x54b8d9(0x355))](!0x1)),_0x1b6fbd(this,_0x54b8d9(0x330),new _0x24f269[(_0x54b8d9(0x355))](null)),_0x1b6fbd(this,_0x54b8d9(0x382),this[_0x54b8d9(0x1c8)][_0x54b8d9(0x2ad)]()),_0x1b6fbd(this,_0x54b8d9(0x1fb),this[_0x54b8d9(0x330)]['asObservable']());}get[_0xeb70cf(0x236)](){const _0x3bfeb2=_0xeb70cf;return this['_chartModelService'][_0x3bfeb2(0xea)]??null;}get[_0xeb70cf(0x4ac)](){const _0x2335db=_0xeb70cf;return this[_0x2335db(0x1c8)][_0x2335db(0x289)]();}get['rangeSelectMode'](){const _0x29a25d=_0xeb70cf;return this[_0x29a25d(0xde)];}['setRangeSelectMode'](_0x21c4a4){this['_rangeSelectMode']=_0x21c4a4;}[_0xeb70cf(0x399)](_0x26fe41){const _0x5b3e19=_0xeb70cf;this[_0x5b3e19(0x1c8)][_0x5b3e19(0x289)]()!==_0x26fe41&&this[_0x5b3e19(0x1c8)][_0x5b3e19(0x217)](_0x26fe41);}[_0xeb70cf(0xd6)](_0x1567e5){const _0x510552=_0xeb70cf;var _0xa19c6c;return this[_0x510552(0x4ac)]&&((_0xa19c6c=this[_0x510552(0x3ea)][_0x510552(0xea)])==null?void 0x0:_0xa19c6c['id'])===_0x1567e5;}['setPanelRoute'](_0x2155d7,_0xf04ad9){const _0x282c19=_0xeb70cf;this[_0x282c19(0x330)][_0x282c19(0x217)]({'chartId':_0x2155d7,'route':_0xf04ad9});}[_0xeb70cf(0x26f)](){const _0x1a06d4=_0xeb70cf;this['_panelRoute$'][_0x1a06d4(0x217)](null);}[_0xeb70cf(0x191)](_0x4511e5){const _0x396c0b=_0xeb70cf;let _0x5de085=this[_0x396c0b(0x3ea)]['activeChartModel'];_0x5de085&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x5de085['id'],'range':_0x4511e5});}[_0xeb70cf(0xff)](_0x17c9cf){const _0x1d1329=_0xeb70cf;let _0x586a07=this['_chartModelService'][_0x1d1329(0xea)];if(!_0x586a07)return;let _0x47bb46=this[_0x1d1329(0x145)][_0x1d1329(0x310)](_0x586a07['id']);if(!_0x47bb46||Array[_0x1d1329(0x28a)](_0x47bb46))return;let _0x15d543={..._0x47bb46,'isRowDirection':_0x17c9cf===_0x3611d5[_0x1d1329(0x4a5)][_0x1d1329(0xf3)]};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x586a07['id'],'range':_0x15d543});}[_0xeb70cf(0x1e0)](_0x5a8cb2){const _0x2e2f62=_0xeb70cf;var _0x5070c1;this['_commandService'][_0x2e2f62(0x318)](_0x5979b3[_0x2e2f62(0x1bb)]['id'],{..._0x5a8cb2,'unitId':((_0x5070c1=this[_0x2e2f62(0x42c)][_0x2e2f62(0x190)]())==null?void 0x0:_0x5070c1['getUnitId']())??''});}['_executeChartUpdateSourceConfig'](_0x56c81a){const _0x5b9d6b=_0xeb70cf;var _0x3bbc28;this[_0x5b9d6b(0x460)][_0x5b9d6b(0x318)](_0x5979b3[_0x5b9d6b(0x1b0)]['id'],{..._0x56c81a,'unitId':((_0x3bbc28=this[_0x5b9d6b(0x42c)][_0x5b9d6b(0x190)]())==null?void 0x0:_0x3bbc28[_0x5b9d6b(0x463)]())??''});}[_0xeb70cf(0x151)](){const _0x1cf2b6=_0xeb70cf;this[_0x1cf2b6(0x1c8)][_0x1cf2b6(0x1e6)](),this[_0x1cf2b6(0x330)][_0x1cf2b6(0x1e6)](),super[_0x1cf2b6(0x151)]();}};_0x46657c=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3['SheetsChartService'])),_0x16880b(0x2,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x3,_0x1e7325[_0xeb70cf(0x106)]),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x339b6e[_0xeb70cf(0x21e)]))],_0x46657c);var _0x390a76;let _0x434889={'axis':{..._0x339b6e[_0xeb70cf(0x194)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x339b6e['DEFAULT_CHART_FUNNEL_VALUES'],'heatmap':_0x339b6e[_0xeb70cf(0x49d)],'indicatorLine':_0x339b6e[_0xeb70cf(0x15f)],'legend':_0x339b6e[_0xeb70cf(0x13e)],'lineAndArea':_0x339b6e['DEFAULT_CHART_LINE_AND_AREA_VALUES'],'pareto':_0x339b6e['DEFAULT_CHART_PARETO_VALUES'],'pie':_0x339b6e['DEFAULT_CHART_PIE_VALUES'],'relation':{..._0x339b6e[_0xeb70cf(0xf9)],'useValueAsSymbolSize':!0x0},'radar':_0x339b6e[_0xeb70cf(0x200)],'series':{..._0x339b6e[_0xeb70cf(0x394)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x390a76=_0x3611d5[_0xeb70cf(0x155)][_0xeb70cf(0x37a)])==null?void 0x0:_0x390a76[_0xeb70cf(0x26b)])??!0x1}},'style':_0x339b6e[_0xeb70cf(0x17d)],'titles':_0x339b6e[_0xeb70cf(0xc6)],'trendline':_0x339b6e[_0xeb70cf(0x2b0)],'waterfallStyle':_0x339b6e[_0xeb70cf(0x427)],'wordCloud':_0x339b6e[_0xeb70cf(0x3e6)]},_0x166c91=_0x32eaa3=>_0x32eaa3[_0xeb70cf(0x428)](_0x1e7325['UniverInstanceType'][_0xeb70cf(0x41f)])[_0xeb70cf(0x463)](),_0x21b304=_0x118f18=>{const _0x30a63a=_0xeb70cf;var _0x643e56;return(_0x643e56=_0x118f18[_0x30a63a(0x428)](_0x1e7325['UniverInstanceType']['UNIVER_SHEET'])[_0x30a63a(0x25e)]())==null?void 0x0:_0x643e56[_0x30a63a(0x473)]();},_0x11a2c2=()=>{const _0x127116=_0xeb70cf;var _0x18d765;let _0x2db9f0=(0x0,_0xced9f3[_0x127116(0x3e2)])(_0x19c057),_0x1cd5a8=(0x0,_0xced9f3[_0x127116(0x3e2)])(_0x5979b3['ChartModelService']),_0x513363=(0x0,_0xced9f3[_0x127116(0x3e2)])(_0x1e7325[_0x127116(0x404)]),_0x5deb07=(0x0,_0xced9f3['useDependency'])(_0x1e7325[_0x127116(0x459)]),_0x5034d7=(0x0,_0x5979b3[_0x127116(0x12b)])(_0x5deb07),_0x71a4bb=(0x0,_0x5de930['useMemo'])(()=>{const _0x31a49c=_0x127116;let _0x2b820a=_0x51c8a3(_0x14f1e3[_0x31a49c(0x434)](),_0x5034d7);return(0x0,_0x339b6e[_0x31a49c(0x1f5)])(_0x2b820a['map'](_0x27ce6c=>({'id':_0x27ce6c['id'],'label':_0x513363['t'](_0x31a49c(0x409)+_0x27ce6c[_0x31a49c(0x260)]),'pieSecondaryPlotType':_0x27ce6c[_0x31a49c(0x186)],'value':_0x27ce6c[_0x31a49c(0x375)]})));},[_0x5034d7,_0x513363]),_0x157669=(0x0,_0xced9f3['useObservable'])(_0x1cd5a8[_0x127116(0x280)],_0x1cd5a8[_0x127116(0xea)]),_0x27127b=(0x0,_0xced9f3[_0x127116(0x174)])(_0x157669==null?void 0x0:_0x157669[_0x127116(0x273)],_0x157669==null?void 0x0:_0x157669[_0x127116(0x270)]),_0x332fae=(0x0,_0xced9f3[_0x127116(0x174)])(_0x157669==null?void 0x0:_0x157669[_0x127116(0x370)],_0x157669==null?void 0x0:_0x157669[_0x127116(0x3df)]),_0x463ee2=(0x0,_0xced9f3[_0x127116(0x174)])(_0x332fae==null?void 0x0:_0x332fae[_0x127116(0x41c)],_0x332fae==null?void 0x0:_0x332fae[_0x127116(0x485)]()),_0x16010c=Array[_0x127116(0x28a)](_0x463ee2),_0x45152f=_0x463ee2&&!_0x16010c&&_0x463ee2[_0x127116(0x2f9)]?_0x3611d5[_0x127116(0x4a5)]['Row']:_0x3611d5[_0x127116(0x4a5)][_0x127116(0x368)],_0x10354d=_0x16010c?(_0x18d765=_0x463ee2[0x0])==null?void 0x0:_0x18d765[_0x127116(0x441)]:_0x463ee2==null?void 0x0:_0x463ee2[_0x127116(0x43c)];return(0x0,_0x424e81['jsxs'])(_0x127116(0x44a),{'className':_0x127116(0x31c),'children':[(0x0,_0x424e81[_0x127116(0x25c)])(_0x339b6e[_0x127116(0xed)],{'chartTypeOptions':_0x71a4bb,'dataSourceControl':(0x0,_0x424e81[_0x127116(0x25c)])(_0x1761b9,{'dataRange':_0x463ee2,'primaryRange':_0x10354d}),'categoryToggleLabel':_0x513363['t'](_0x127116(0xfe),_0x45152f===_0x3611d5[_0x127116(0x4a5)][_0x127116(0xf3)]?_0x45152f+'\x20'+(((_0x10354d==null?void 0x0:_0x10354d[_0x127116(0x441)][_0x127116(0x3f3)])??0x0)+0x1):_0x45152f+'\x20'+(0x0,_0x1e7325[_0x127116(0x177)])((_0x10354d==null?void 0x0:_0x10354d['range'][_0x127116(0x2dd)])??0x0)),'orientationControl':_0x16010c?void 0x0:(0x0,_0x424e81[_0x127116(0x25c)])(_0x15e416[_0x127116(0x1f4)],{'size':'small','onClick':()=>_0x2db9f0['setOrientation'](_0x45152f===_0x3611d5['DataOrientation'][_0x127116(0xf3)]?_0x3611d5[_0x127116(0x4a5)][_0x127116(0x368)]:_0x3611d5[_0x127116(0x4a5)][_0x127116(0xf3)]),'children':_0x513363['t']('sheets-chart-ui.common.switchRowColumn')})}),(0x0,_0x424e81[_0x127116(0x25c)])(_0x15e416[_0x127116(0x4b5)],{'checked':(_0x27127b==null?void 0x0:_0x27127b[_0x127116(0x3db)])===!0x1,'disabled':!_0x157669,'onChange':_0x4edc1c=>{const _0x54e277=_0x127116;_0x157669&&_0x2db9f0[_0x54e277(0x1e0)]({'chartModelId':_0x157669['id'],'context':{'plotVisibleOnly':!_0x4edc1c}});},'children':_0x513363['t'](_0x127116(0x107))})]});};function _0x1761b9(_0xd088ab){const _0x358537=_0xeb70cf;let {dataRange:_0x4aeed5,primaryRange:_0x5719da}=_0xd088ab,_0x30832d=(0x0,_0xced9f3['useDependency'])(_0x19c057),_0x5a72e7=(0x0,_0xced9f3[_0x358537(0x3e2)])(_0x1e7325[_0x358537(0x404)]),_0x1e13b4=(0x0,_0xced9f3[_0x358537(0x3e2)])(_0x1e7325[_0x358537(0x106)]),_0x5438b3=(0x0,_0xced9f3['useDependency'])(_0x1e7325['IContextService']),[_0x3046e6,_0x4c7b9a]=(0x0,_0x5de930[_0x358537(0x125)])(!0x1),[_0x49e405,_0x22119a]=(0x0,_0x5de930[_0x358537(0x125)])(!0x1),[_0x11a3b5,_0x47654f]=(0x0,_0x5de930[_0x358537(0x125)])(),_0x4e7fa2=_0x166c91(_0x1e13b4),_0x323407=_0x21b304(_0x1e13b4),_0x173fdf=_0x4aeed5?_0x39337f(_0x4aeed5,_0x1e13b4):'',_0x1700eb=(0x0,_0x5de930['useRef'])(_0x173fdf),_0x1adf4e=(0x0,_0x5de930['useRef'])(void 0x0),_0x5cabf8=(0x0,_0x5de930[_0x358537(0x20c)])(null);(0x0,_0x5de930[_0x358537(0x1ce)])(()=>{const _0x1009bd=_0x358537;_0x30832d['setRangeSelectMode'](_0x3046e6),_0x5438b3[_0x1009bd(0x489)](_0x1e7325[_0x1009bd(0x37b)],_0x3046e6);},[_0x5438b3,_0x3046e6,_0x30832d]),(0x0,_0x5de930[_0x358537(0x1ce)])(()=>()=>{const _0x3d0b52=_0x358537;_0x30832d[_0x3d0b52(0x21f)](!0x1),_0x5438b3[_0x3d0b52(0x489)](_0x1e7325['FOCUSING_PANEL_EDITOR'],!0x1);},[_0x5438b3,_0x30832d]);let _0x24a5bd=(0x0,_0x5de930[_0x358537(0x405)])(_0x126a77=>{const _0x494253=_0x358537;var _0xe7e106;if(_0x39337f(_0x4aeed5,_0x1e13b4)===_0x126a77)return _0x47654f(void 0x0),!0x0;let _0x5861c6=_0x126a77['split'](_0x1ee0b1['matchToken']['COMMA']);if(!_0x126a77[_0x494253(0x3c6)]()||_0x5861c6[_0x494253(0x2d4)]!==0x1||!((_0xe7e106=_0x5cabf8[_0x494253(0x35f)])!=null&&_0xe7e106['verify']()))return _0x47654f(_0x5a72e7['t'](_0x494253(0x3be))),!0x1;let {unitId:_0x2898f3,sheetName:_0x2e7035,range:_0x27ba73}=(0x0,_0x1ee0b1['deserializeRangeWithSheet'])(_0x5861c6[0x0]),_0x43a644=_0x2898f3||_0x4e7fa2,_0x473ab1=_0x1e13b4[_0x494253(0x1b8)](_0x43a644),_0x31ec3c=(_0x5719da==null?void 0x0:_0x5719da[_0x494253(0xfa)])===_0x43a644?_0x5719da[_0x494253(0x331)]:_0x323407,_0x563bbf=_0x2e7035?_0x473ab1==null?void 0x0:_0x473ab1[_0x494253(0xe1)](_0x2e7035):_0x473ab1==null?void 0x0:_0x473ab1[_0x494253(0x262)](_0x31ec3c??'');return!_0x473ab1||!_0x563bbf||!(0x0,_0x1e7325[_0x494253(0x4b1)])(_0x27ba73,_0x563bbf)?(_0x47654f(_0x5a72e7['t'](_0x494253(0x3be))),!0x1):(_0x47654f(void 0x0),_0x30832d['setDataRange']({'rangeInfo':{'range':_0x27ba73,'unitId':_0x43a644,'subUnitId':_0x563bbf['getSheetId']()}}),!0x0);},[_0x4aeed5,_0x5a72e7,_0x5719da,_0x30832d,_0x323407,_0x4e7fa2,_0x1e13b4]),_0x54014a=(0x0,_0x5de930[_0x358537(0x2d7)])(()=>({'keyCodes':[{'keyCode':_0xced9f3[_0x358537(0x345)][_0x358537(0x2e7)],'nativeTextEditorBehavior':_0xced9f3['NativeTextEditorShortcutBehavior'][_0x358537(0x372)]}],'handler':_0x3fe96b=>{const _0xbaed47=_0x358537;_0x3fe96b===_0xced9f3[_0xbaed47(0x345)]['ENTER']&&_0x24a5bd(_0x1700eb[_0xbaed47(0x35f)])&&(_0x1adf4e[_0xbaed47(0x35f)]=_0x1700eb[_0xbaed47(0x35f)]);}}),[_0x24a5bd]);return(0x0,_0x424e81[_0x358537(0x25c)])(_0x358537(0x44a),{'className':_0x358537(0x1a6),'children':(0x0,_0x424e81[_0x358537(0x2da)])(_0x358537(0x44a),{'children':[(0x0,_0x424e81['jsx'])(_0x339b6e[_0x358537(0x189)],{'title':_0x5a72e7['t'](_0x358537(0x1a7))}),(0x0,_0x424e81[_0x358537(0x25c)])(_0x2aadda[_0x358537(0x47e)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x4e7fa2,'subUnitId':_0x323407,'initialValue':_0x173fdf,'keyboardEventConfig':_0x54014a,'selectorRef':_0x5cabf8,'onChange':(_0x441fbb,_0x3b9339)=>{const _0x1b2764=_0x358537;_0x1700eb[_0x1b2764(0x35f)]=_0x3b9339,_0x49e405&&_0x1adf4e[_0x1b2764(0x35f)]!==_0x3b9339&&_0x24a5bd(_0x3b9339)&&(_0x1adf4e['current']=_0x3b9339);},'onFocusChange':(_0x2cea6d,_0x506f30)=>{const _0x55d7b5=_0x358537;if(_0x506f30!==void 0x0&&(_0x1700eb['current']=_0x506f30),_0x49e405||_0x4c7b9a(_0x2cea6d),_0x2cea6d)_0x1adf4e['current']=_0x1700eb[_0x55d7b5(0x35f)];else{let _0x1b3501=_0x1adf4e[_0x55d7b5(0x35f)];_0x1adf4e[_0x55d7b5(0x35f)]=void 0x0,_0x1b3501!==void 0x0&&_0x1700eb[_0x55d7b5(0x35f)]!==_0x1b3501&&_0x24a5bd(_0x1700eb['current']);}},'onRangeSelectorDialogVisibleChange':_0xfb0ff5=>{_0x22119a(_0xfb0ff5),_0x4c7b9a(_0xfb0ff5);}}),_0x11a3b5?(0x0,_0x424e81[_0x358537(0x25c)])(_0x358537(0x44a),{'className':_0x358537(0x18e),'children':_0x11a3b5}):null]})});}function _0x320cf3(_0x35c9b6){const _0x4264b2=_0xeb70cf;return(0x0,_0x424e81[_0x4264b2(0x2da)])(_0x339b6e[_0x4264b2(0x3c4)],{'id':_0x35c9b6['id'],'children':[(0x0,_0x424e81[_0x4264b2(0x25c)])(_0x339b6e[_0x4264b2(0x2ce)],{'children':_0x35c9b6[_0x4264b2(0x3bd)]}),(0x0,_0x424e81[_0x4264b2(0x25c)])(_0x339b6e[_0x4264b2(0x41b)],{'children':_0x35c9b6[_0x4264b2(0x140)]})]});}let _0x128705=_0x54115f=>{const _0x4bbd9a=_0xeb70cf;let _0x240a41=(0x0,_0xced9f3['useDependency'])(_0x1e7325[_0x4bbd9a(0x404)]),_0x3b83c7=(0x0,_0xced9f3[_0x4bbd9a(0x3e2)])(_0x19c057),_0x5c09ad=(0x0,_0xced9f3[_0x4bbd9a(0x3e2)])(_0x5979b3[_0x4bbd9a(0x148)]),_0x252896=(0x0,_0xced9f3[_0x4bbd9a(0x174)])(_0x5c09ad[_0x4bbd9a(0x280)],_0x5c09ad['activeChartModel']),_0x4e333f=(0x0,_0xced9f3['useObservable'])(_0x3b83c7[_0x4bbd9a(0x1fb)],null),_0x2a2b91=_0x4e333f&&_0x4e333f[_0x4bbd9a(0x2b5)]===(_0x252896==null?void 0x0:_0x252896['id'])?_0x4e333f[_0x4bbd9a(0x2fd)]:null,_0x158937=(0x0,_0x339b6e['useChartEditorChartType'])(),_0x4d4ef7=(0x0,_0x339b6e['useChartEditorHasRightAxis'])(),[_0x1eb416,_0x52246c]=(0x0,_0x5de930[_0x4bbd9a(0x125)])(null);(0x0,_0x5de930[_0x4bbd9a(0x1ce)])(()=>{const _0x2613ef=_0x4bbd9a;_0x2a2b91!=null&&_0x2a2b91[_0x2613ef(0x47a)]&&_0x52246c(_0x2a2b91[_0x2613ef(0x47a)]);},[_0x2a2b91]);let _0x23b01c=_0x3611d5[_0x4bbd9a(0xda)]['baseOn'](_0x158937,_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x2c7)]),_0x20ffa7=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x46f)],_0x52ea64=_0x158937===_0x3611d5['ChartTypeBits'][_0x4bbd9a(0x1e7)],_0x3acc40=_0x158937===_0x3611d5['ChartTypeBits'][_0x4bbd9a(0x2a1)],_0x5d6aab=_0x3611d5['chartBitsUtils'][_0x4bbd9a(0x28b)](_0x158937,_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x2f8)]),_0x4d4f40=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x3e9)],_0x594bf2=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x363)],_0x1f1e18=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x281)],_0x130c39=_0x158937===_0x3611d5['ChartTypeBits'][_0x4bbd9a(0x482)],_0x1a44e1,_0x238026;switch(_0x158937){case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x1a2)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1a2)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x12d));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x3bc)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x3bc)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x4b0));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x33e)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x33e)],_0x238026=_0x240a41['t']('sheets-chart-ui.section.treemap');break;case _0x3611d5['ChartTypeBits'][_0x4bbd9a(0x440)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x440)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x34e));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x1d0)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1d0)],_0x238026=_0x240a41['t'](_0x4bbd9a(0xf0));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x3ee)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x3ee)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x426));}let _0x14a9da=(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e[_0x4bbd9a(0x300)][_0x4bbd9a(0x1e9)])&&!_0x5d6aab&&!_0x1f1e18;return(0x0,_0x424e81[_0x4bbd9a(0x2da)])(_0x339b6e[_0x4bbd9a(0x43b)],{'value':_0x1eb416,'onChange':_0x52246c,'children':[(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x24f)],'label':_0x240a41['t'](_0x4bbd9a(0x3fe)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartStyleSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x4b9)]})}),(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x284)],'label':_0x240a41['t'](_0x4bbd9a(0xfd)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0xcc)],{'commitMode':_0x4bbd9a(0x14c),'defaultValues':_0x54115f['defaultValues']['titles'],'selectedTitleKey':_0x2a2b91==null?void 0x0:_0x2a2b91[_0x4bbd9a(0x12a)]})}),(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x445)],{'section':_0x4bbd9a(0x4a3)}),_0x14a9da&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x2a6)],'label':_0x240a41['t'](_0x4bbd9a(0x198)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0x48f)],{'defaultValues':_0x54115f['defaultValues']['series'],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'selectedSeriesId':_0x2a2b91==null?void 0x0:_0x2a2b91['seriesId']})}),_0x594bf2&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x484)],'label':_0x240a41['t'](_0x4bbd9a(0x11b)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x34c)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x2c9)],'getDefaultBucketName':({seriesName:_0x120a68,target:_0x29b0a3})=>_0x29b0a3===_0x3611d5['ChartWaterfallStyleTarget'][_0x4bbd9a(0x46e)]?_0x240a41['t'](_0x4bbd9a(0x309)):_0x120a68?_0x120a68+'-('+_0x240a41['t'](_0x29b0a3===_0x3611d5[_0x4bbd9a(0x154)]['Positive']?_0x4bbd9a(0x1c6):_0x4bbd9a(0x22c))+')':'','NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'selectedSeriesId':_0x2a2b91==null?void 0x0:_0x2a2b91[_0x4bbd9a(0x411)]})}),_0x1f1e18&&(0x0,_0x424e81[_0x4bbd9a(0x2da)])(_0x424e81[_0x4bbd9a(0x241)],{'children':[(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x2eb)],'label':_0x240a41['t'](_0x4bbd9a(0x32e)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0x10e)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x34f)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'showDataPointEditor':!0x0,'target':_0x4bbd9a(0x341)})}),(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e['ChartEditPanelSection'][_0x4bbd9a(0x1dc)],'label':_0x240a41['t'](_0x4bbd9a(0x251)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x10e)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x34f)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'showDataPointEditor':!0x1,'target':_0x4bbd9a(0x4a6)})})]}),_0x23b01c&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1de)],'label':_0x240a41['t'](_0x4bbd9a(0xd8)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e['ChartPieStyleSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x104)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),_0x52ea64&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1e7)],'label':_0x240a41['t']('sheets-chart-ui.section.wordCloud'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x1f8)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x32b)]})}),_0x20ffa7&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['Radar'],'label':_0x240a41['t']('sheets-chart-ui.section.radar'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartRadarStyleSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)]['radar']})}),_0x3acc40&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['Funnel'],'label':_0x240a41['t'](_0x4bbd9a(0x48d)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e['ChartFunnelStyleSection'],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0xf2)],'gapControl':'select'})}),_0x130c39&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x482)],'label':_0x240a41['t'](_0x4bbd9a(0x326)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x321)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)]['heatmap']})}),_0x4d4f40&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x3e9)],'label':_0x240a41['t'](_0x4bbd9a(0x3ef)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0xcb)],{'defaultValues':_0x54115f['defaultValues']['relation']})}),(0x0,_0x339b6e[_0x4bbd9a(0x319)])(_0x158937)&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e['ChartEditPanelSection'][_0x4bbd9a(0xce)],'label':_0x240a41['t'](_0x3611d5[_0x4bbd9a(0xda)][_0x4bbd9a(0x28b)](_0x158937,_0x3611d5[_0x4bbd9a(0x109)]['Area'])?_0x4bbd9a(0x38a):_0x4bbd9a(0x314)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x478)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)]['lineAndArea'],'lineStyleControl':_0x4bbd9a(0x10d)})}),(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e[_0x4bbd9a(0x300)][_0x4bbd9a(0x1e4)])&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1e4)],'label':_0x240a41['t'](_0x4bbd9a(0x233)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x248)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x2d0)]})}),(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e['ChartEditorCapability'][_0x4bbd9a(0x138)])&&(0x0,_0x424e81[_0x4bbd9a(0x2da)])(_0x424e81[_0x4bbd9a(0x241)],{'children':[(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['HorizontalAxis'],'label':_0x240a41['t'](_0x4bbd9a(0x31d)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0xf8)],{'axis':'x','defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0xe6)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['VerticalAxis'],'label':_0x240a41['t'](_0x4bbd9a(0x2b1)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0xf8)],{'axis':'y','defaultValues':_0x54115f[_0x4bbd9a(0x176)]['axis'],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0x445)],{'section':_0x4bbd9a(0x158)}),_0x4d4ef7&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x2e3)],'label':_0x240a41['t'](_0x4bbd9a(0x379)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0xf8)],{'axis':_0x4bbd9a(0x335),'defaultValues':_0x54115f['defaultValues']['axis'],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1f7)],'label':_0x240a41['t'](_0x4bbd9a(0x149)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x3f5)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0xe6)]})})]}),(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e[_0x4bbd9a(0x300)][_0x4bbd9a(0x24a)])&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['IndicatorLine'],'label':_0x240a41['t']('sheets-chart-ui.section.indicatorLine'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartIndicatorLineSection'],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x423)]})}),(0x0,_0x3611d5['chartTypeCanUseTrendLine'])(_0x158937)&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['Trendline'],'label':_0x240a41['t']('sheets-chart-ui.common.trendline'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartTrendlineSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x4b4)]})}),_0x1a44e1&&_0x238026&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x1a44e1,'label':_0x238026,'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x20f)],{})})]});};function _0x2427fb(_0x426018){const _0x1c5fec=_0xeb70cf;let {className:_0x23c97a}=_0x426018,[_0x4a4f9f,_0x382bda]=(0x0,_0x5de930[_0x1c5fec(0x125)])(_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x11f)]),_0x56b61a=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x1e7325[_0x1c5fec(0x459)]),_0x2cd80d=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x1e7325[_0x1c5fec(0x404)]),_0x5a4806=(0x0,_0xced9f3['useDependency'])(_0x19c057),_0x3618e6=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x5979b3[_0x1c5fec(0x148)]),_0x27ccc1=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x5979b3[_0x1c5fec(0x258)]),_0x595ae1=(0x0,_0xced9f3[_0x1c5fec(0x174)])(_0x3618e6['activeChartModel$'],_0x3618e6[_0x1c5fec(0xea)]),_0x5b035b=(0x0,_0xced9f3['useObservable'])(_0x5a4806[_0x1c5fec(0x1fb)],null),_0x4ea1a3=(0x0,_0x5de930[_0x1c5fec(0x2d7)])(()=>{const _0x3bfa81=_0x1c5fec;var _0x3e8346;if(!_0x595ae1)return null;let _0x4f836e=_0x27ccc1[_0x3bfa81(0x310)](_0x595ae1['id']);if(!_0x4f836e)return null;let _0x30b952=Array[_0x3bfa81(0x28a)](_0x4f836e)?(_0x3e8346=_0x4f836e[0x0])==null?void 0x0:_0x3e8346[_0x3bfa81(0x441)]:_0x4f836e['rangeInfo'];return _0x30b952?new _0x339b6e[(_0x3bfa81(0x2a3))](_0x595ae1,new _0x5979b3['SheetChartConfigAdapter']({'unitId':_0x30b952[_0x3bfa81(0xfa)],'subUnitId':_0x30b952['subUnitId'],'chartId':_0x595ae1['id'],'injector':_0x56b61a})):null;},[_0x595ae1,_0x56b61a,_0x27ccc1]);if((0x0,_0x5de930[_0x1c5fec(0x1ce)])(()=>{const _0x2ea474=_0x1c5fec;var _0x3a41ea,_0x22bf7e;_0x595ae1&&(_0x5b035b==null?void 0x0:_0x5b035b['chartId'])===_0x595ae1['id']&&(((_0x3a41ea=_0x5b035b[_0x2ea474(0x2fd)])==null?void 0x0:_0x3a41ea[_0x2ea474(0x294)])===_0x339b6e['ChartEditPanelTab'][_0x2ea474(0x41a)]&&_0x382bda(_0x339b6e[_0x2ea474(0x3b9)][_0x2ea474(0x41a)]),((_0x22bf7e=_0x5b035b[_0x2ea474(0x2fd)])==null?void 0x0:_0x22bf7e[_0x2ea474(0x294)])===_0x339b6e[_0x2ea474(0x3b9)][_0x2ea474(0x11f)]&&_0x382bda(_0x339b6e[_0x2ea474(0x3b9)][_0x2ea474(0x11f)]));},[_0x595ae1,_0x5b035b]),!_0x4ea1a3)return null;let _0x431ffb=(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x1c5fec(0x44a),{'className':_0x1c5fec(0xee)+(_0x4a4f9f===_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x41a)]?'univer-overflow-visible':_0x1c5fec(0x27c))+_0x1c5fec(0x169)+(_0x23c97a??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x339b6e[_0x1c5fec(0x3cb)],{'ariaLabel':_0x2cd80d['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x4a4f9f,'onTabChange':_0x382bda,'tabListClassName':_0x1c5fec(0x156),'panelClassName':_0x4a4f9f===_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x41a)]?_0x1c5fec(0x27f):void 0x0,'tabs':[{'id':_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x11f)],'panelId':_0x3e560c,'title':_0x2cd80d['t'](_0x1c5fec(0x453)),'content':(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x11a2c2,{})},{'id':_0x339b6e['ChartEditPanelTab']['Style'],'panelId':_0x21b67e,'title':_0x2cd80d['t'](_0x1c5fec(0x19f)),'content':(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x128705,{'defaultValues':_0x434889})}]})});return(0x0,_0x424e81['jsx'])(_0x339b6e[_0x1c5fec(0x340)],{'chartUIService':_0x5a4806,'hostAdapter':_0x4ea1a3,'children':_0x431ffb});}let _0x47b009='sheet.chart.edit.panel',_0x3e560c=_0xeb70cf(0x385),_0x21b67e=_0xeb70cf(0x1bc);function _0x19d02f(_0x36d0e6){const _0x5dec89=_0xeb70cf;return _0x36d0e6[_0x5dec89(0x2d4)]===0x1&&_0x47f235(_0x36d0e6[0x0]);}function _0x47f235(_0x10db7f){const _0x25523a=_0xeb70cf;return(_0x10db7f==null?void 0x0:_0x10db7f['drawingType'])===_0x1e7325['DrawingTypeEnum'][_0x25523a(0x1c3)]&&!_0x10db7f['groupId'];}let _0xdc4924=class extends _0x1e7325['Disposable']{constructor(_0x5240e3,_0xfa4ee2,_0x16b856,_0x22ff8b,_0x195602,_0x578346,_0x1a3729,_0x1e5568,_0x58ce7b,_0x3db016,_0x289b3f,_0x21bb0b,_0x2aa19d,_0x40fcc2,_0x10188b){const _0xcff523=_0xeb70cf;var _0x1dfb81;super(),this[_0xcff523(0x3f7)]=_0x5240e3,this[_0xcff523(0x42c)]=_0xfa4ee2,this[_0xcff523(0x3ea)]=_0x16b856,this[_0xcff523(0x145)]=_0x22ff8b,this[_0xcff523(0x46a)]=_0x195602,this[_0xcff523(0x374)]=_0x578346,this[_0xcff523(0x45f)]=_0x1a3729,this[_0xcff523(0x402)]=_0x1e5568,this[_0xcff523(0x16c)]=_0x58ce7b,this[_0xcff523(0x451)]=_0x3db016,this['_commandService']=_0x289b3f,this[_0xcff523(0x1db)]=_0x21bb0b,this[_0xcff523(0x337)]=_0x2aa19d,this[_0xcff523(0x133)]=_0x40fcc2,_0x1b6fbd(this,'_sidebarDisposable',null),_0x1b6fbd(this,'_isChartElementEditEnabled',void 0x0),this['_isChartElementEditEnabled']=((_0x1dfb81=_0x10188b[_0xcff523(0xe5)](_0xcff523(0x297)))==null?void 0x0:_0x1dfb81['enableChartElementFloatMenu'])===!0x0,this[_0xcff523(0x184)](),this['disposeWithMe'](this[_0xcff523(0x42c)]['getCurrentTypeOfUnit$'](_0x1e7325['UniverInstanceType']['UNIVER_SHEET'])[_0xcff523(0x413)](_0x3ddb17=>{const _0x3b6a87=_0xcff523;var _0x25f17b;_0x3ddb17||(_0x25f17b=this[_0x3b6a87(0x21a)])==null||_0x25f17b['dispose']();})),this[_0xcff523(0x1e8)]((0x0,_0x1e7325['toDisposable'])(this[_0xcff523(0x374)]['onDoubleClick$'][_0xcff523(0x413)](async({drawing:_0x27f8d0})=>{await this['_handleDrawingDoubleClick'](_0x27f8d0);})));}['_openPanel'](){const _0x52d98c=_0xeb70cf;this[_0x52d98c(0x21a)]=this[_0x52d98c(0x45f)]['open']({'id':_0x47b009,'header':{'title':this[_0x52d98c(0x133)]['t'](_0x52d98c(0x249))},'width':0x154,'children':{'label':_0x47b009},'onClose':()=>{const _0x4b72c9=_0x52d98c;this[_0x4b72c9(0x21a)]=null,this[_0x4b72c9(0x2d1)](),this[_0x4b72c9(0x3ea)][_0x4b72c9(0xea)]&&this['_chartModelService'][_0x4b72c9(0x128)](null),this[_0x4b72c9(0x3f7)][_0x4b72c9(0x17c)](null),this[_0x4b72c9(0x337)][_0x4b72c9(0x489)](_0x1e7325['FOCUSING_COMMON_DRAWINGS'],!0x1);}});}[_0xeb70cf(0x406)](){const _0xee3eb=_0xeb70cf;let _0xd15b86=this[_0xee3eb(0x21a)];this[_0xee3eb(0x21a)]=null,this['_deactivateEditPanelState'](),this['_chartModelService'][_0xee3eb(0xea)]&&this[_0xee3eb(0x3ea)][_0xee3eb(0x128)](null),_0xd15b86==null||_0xd15b86[_0xee3eb(0x151)]();}[_0xeb70cf(0x1d1)](){const _0x11de54=_0xeb70cf;let _0xeca506=this[_0x11de54(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x11de54(0x3b8)][_0x11de54(0x41f)]);this[_0x11de54(0x1e8)](this[_0x11de54(0x45f)]['sidebarOptions$'][_0x11de54(0x413)](_0x3029b6=>{const _0x56198c=_0x11de54;_0x3029b6['id']===_0x56198c(0x199)&&(_0x3029b6[_0x56198c(0x32a)]||this[_0x56198c(0x45f)]['sidebarOptions$'][_0x56198c(0x217)]({'visible':!0x1}));})),this[_0x11de54(0x1e8)]((0x0,_0x24f269['combineLatest'])([this[_0x11de54(0x3ea)]['activeChartModel$'],this[_0x11de54(0x1db)]['chartEditorOpen$']])['pipe']((0x0,_0x24f269[_0x11de54(0x1f6)])(([_0x487846,_0x435a09])=>_0x435a09?(_0x487846==null?void 0x0:_0x487846['id'])??null:null),(0x0,_0x24f269[_0x11de54(0x477)])(),(0x0,_0x24f269[_0x11de54(0x11e)])(null),(0x0,_0x24f269[_0x11de54(0x3ca)])())[_0x11de54(0x413)](([_0x6e62f1,_0x1aee28])=>{const _0x18fb11=_0x11de54;this[_0x18fb11(0x488)](_0x6e62f1,_0x1aee28);})),this[_0x11de54(0x1e8)](this[_0x11de54(0x3ea)][_0x11de54(0x280)][_0x11de54(0x413)](_0x2cc560=>{const _0x73020=_0x11de54;!_0x2cc560&&this[_0x73020(0x21a)]&&this[_0x73020(0x406)]();})),this[_0x11de54(0x1e8)](this['_commandService'][_0x11de54(0x444)](_0x233168=>{const _0x271daf=_0x11de54;if(_0x233168['id']===_0x48776c['id']){let _0x280106=_0x233168[_0x271daf(0x2f0)];if(!_0x47f235(this[_0x271daf(0x3f7)]['getDrawingByParam']({'unitId':_0x280106[_0x271daf(0xfa)],'subUnitId':_0x280106['subUnitId'],'drawingId':_0x280106[_0x271daf(0xef)]})))return;this[_0x271daf(0x182)](_0x280106[_0x271daf(0xef)],_0x280106[_0x271daf(0x2fd)]);}if(_0x233168['id']===_0x2f1627['id']&&this[_0x271daf(0x406)](),_0x233168['id']===_0x5979b3[_0x271daf(0x237)]['id']){var _0xede305;_0x233168[_0x271daf(0x2f0)][_0x271daf(0x2b5)]===((_0xede305=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0xede305['id'])&&this['hidePanel'](),this[_0x271daf(0x337)][_0x271daf(0x24c)](_0x1e7325[_0x271daf(0xec)])&&(this[_0x271daf(0x337)]['setContextValue'](_0x1e7325['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x271daf(0x3f7)][_0x271daf(0x17c)](null));}})),this[_0x11de54(0x1e8)](this[_0x11de54(0x16c)][_0x11de54(0x144)][_0x11de54(0x413)](({id:_0x4834b0})=>{const _0xeca385=_0x11de54;this[_0xeca385(0x1db)][_0xeca385(0xd6)](_0x4834b0)&&this['hidePanel']();})),this['disposeWithMe'](this[_0x11de54(0x16c)][_0x11de54(0x1be)][_0x11de54(0x413)](({id:_0x1c9e26})=>{const _0x328c43=_0x11de54;this['_sheetsChartUIService'][_0x328c43(0xd6)](_0x1c9e26)&&(this[_0x328c43(0x1db)][_0x328c43(0x26f)](),this['_chartRenderService'][_0x328c43(0x12f)](_0x1c9e26,!0x1),this[_0x328c43(0x49f)](_0x1c9e26)&&this[_0x328c43(0x46a)]['setElementEditMode'](_0x1c9e26,!0x0));})),this[_0x11de54(0x1e8)](this[_0x11de54(0x3f7)][_0x11de54(0x49b)][_0x11de54(0x413)](_0x3f5faa=>{const _0x5ca0d9=_0x11de54;let _0x357676=_0x3f5faa[0x0];if(!this[_0x5ca0d9(0x1db)][_0x5ca0d9(0x185)]){if(_0x19d02f(_0x3f5faa)){var _0x386025;let _0x2077cb=this[_0x5ca0d9(0x3ea)][_0x5ca0d9(0x316)](_0x357676['drawingId']);_0x2077cb&&this[_0x5ca0d9(0x183)](_0x2077cb['id'])&&((_0x386025=this[_0x5ca0d9(0x3ea)][_0x5ca0d9(0xea)])==null?void 0x0:_0x386025['id'])!==_0x2077cb['id']&&this['_chartModelService'][_0x5ca0d9(0x128)](_0x2077cb);}else this[_0x5ca0d9(0x3ea)][_0x5ca0d9(0xea)]&&this['_chartModelService'][_0x5ca0d9(0x128)](null),!_0x357676&&!this[_0x5ca0d9(0x1db)]['rangeSelectMode']&&this[_0x5ca0d9(0x406)]();}})),_0xeca506&&(this[_0x11de54(0x1e8)](_0xeca506[_0x11de54(0x1d3)][_0x11de54(0x413)](()=>{this['hidePanel']();})),this[_0x11de54(0x1e8)](_0xeca506['activeSheet$']['subscribe'](()=>{this['hidePanel']();})));}async[_0xeb70cf(0x16b)](_0x5432c3){const _0x7c66b9=_0xeb70cf;this[_0x7c66b9(0x1db)][_0x7c66b9(0x4ac)]||_0x47f235(_0x5432c3)&&this[_0x7c66b9(0x183)](_0x5432c3[_0x7c66b9(0xef)])&&await this[_0x7c66b9(0x308)](_0x5432c3[_0x7c66b9(0xfa)],_0x5432c3[_0x7c66b9(0x331)],_0x5432c3['drawingId']);}async[_0xeb70cf(0x308)](_0x5be89a,_0x5b917d,_0xf64a12){const _0xbe3171=_0xeb70cf;this[_0xbe3171(0x3ea)]['getChartModel'](_0xf64a12)&&this['_isOwnedChart'](_0xf64a12)&&await this[_0xbe3171(0x460)][_0xbe3171(0x318)](_0x48776c['id'],{'unitId':_0x5be89a,'subUnitId':_0x5b917d,'drawingId':_0xf64a12});}['openChartPanelById'](_0x5c759b,_0x432b8d){const _0x955128=_0xeb70cf;let _0xfe372=this[_0x955128(0x3ea)][_0x955128(0x316)](_0x5c759b);_0xfe372&&this[_0x955128(0x183)](_0x5c759b)&&(this[_0x955128(0x3ea)]['setActiveChartModel'](_0xfe372),this[_0x955128(0x3b5)](),this['_activateEditPanelState'](_0x5c759b,_0x432b8d??null));}[_0xeb70cf(0x205)](_0x4e7c80,_0x162c45){const _0x1953f3=_0xeb70cf;this['_sheetsChartUIService'][_0x1953f3(0x399)](!0x0),this[_0x1953f3(0x1db)][_0x1953f3(0x1ef)](_0x4e7c80,_0x162c45);}[_0xeb70cf(0x2d1)](){const _0x38f001=_0xeb70cf;this[_0x38f001(0x1db)][_0x38f001(0x399)](!0x1);}['_syncActiveEditChart'](_0x8e34b3,_0x47eda6){const _0x17b2d5=_0xeb70cf;_0x8e34b3!==_0x47eda6&&(_0x8e34b3&&this[_0x17b2d5(0x46a)][_0x17b2d5(0x12f)](_0x8e34b3,!0x1),this[_0x17b2d5(0x1db)]['clearPanelRoute'](),_0x47eda6&&(this['_sheetsChartUIService'][_0x17b2d5(0x1ef)](_0x47eda6,null),this[_0x17b2d5(0x46a)][_0x17b2d5(0x12f)](_0x47eda6,this[_0x17b2d5(0x49f)](_0x47eda6))));}[_0xeb70cf(0x184)](){const _0x5106c7=_0xeb70cf;this[_0x5106c7(0x402)][_0x5106c7(0x1a0)](_0x3350dd),this[_0x5106c7(0x451)]['registerFeatureMenu'](_0x1e7325[_0x5106c7(0x28f)][_0x5106c7(0x1c3)],this[_0x5106c7(0x218)][_0x5106c7(0x456)](this));}[_0xeb70cf(0x49f)](_0x144259){const _0x3d6e71=_0xeb70cf;let _0x15c31b=this['_chartModelService']['getChartModel'](_0x144259);return!this[_0x3d6e71(0x1cb)]||!_0x15c31b||!this[_0x3d6e71(0x183)](_0x144259)?!0x1:_0x3a7357(_0x15c31b[_0x3d6e71(0x257)]);}[_0xeb70cf(0x218)](_0x132282,_0x386caf,_0x5dd760,_0x11dd5b){const _0xed4cee=_0xeb70cf;if(!this['_chartModelService'][_0xed4cee(0x316)](_0x5dd760))return[];let _0xe49e71=[{'label':this[_0xed4cee(0x133)]['t'](_0xed4cee(0x296)),'index':0x0,'commandId':_0x48776c['id'],'commandParams':{'unitId':_0x132282,'subUnitId':_0x386caf,'drawingId':_0x5dd760},'disable':_0x11dd5b!==_0x1e7325['DrawingTypeEnum'][_0xed4cee(0x1c3)]}];return this[_0xed4cee(0x183)](_0x5dd760)?[..._0xe49e71,{'label':this[_0xed4cee(0x133)]['t'](_0xed4cee(0x11d)),'index':0x1,'commandId':_0x4dac75[_0xed4cee(0x3ff)]['id'],'commandParams':{'unitId':_0x132282,'drawings':[{'unitId':_0x132282,'subUnitId':_0x386caf,'drawingId':_0x5dd760,'drawingType':_0x11dd5b}]},'disable':!0x1},{'label':this[_0xed4cee(0x133)]['t'](_0xed4cee(0x3ab)),'index':0x2,'commandId':_0x2f1627['id'],'commandParams':{'unitId':_0x132282,'subUnitId':_0x386caf,'drawingId':_0x5dd760},'disable':!0x1}]:_0xe49e71;}[_0xeb70cf(0x183)](_0x1b80fc){const _0x3385c9=_0xeb70cf;return this[_0x3385c9(0x145)][_0x3385c9(0x310)](_0x1b80fc)!==void 0x0;}};_0xdc4924=_0x6243e3([_0x16880b(0x0,_0x39bdba[_0xeb70cf(0x41e)]),_0x16880b(0x1,_0x1e7325[_0xeb70cf(0x106)]),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3['ChartModelService'])),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x258)])),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834)),_0x16880b(0x5,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x398b93[_0xeb70cf(0x29d)])),_0x16880b(0x6,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3[_0xeb70cf(0x3dc)])),_0x16880b(0x7,_0xced9f3[_0xeb70cf(0x329)]),_0x16880b(0x8,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x398b93[_0xeb70cf(0x493)])),_0x16880b(0x9,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x2ef923[_0xeb70cf(0x165)])),_0x16880b(0xa,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0xb,_0x19c057),_0x16880b(0xc,_0x1e7325['IContextService']),_0x16880b(0xd,(0x0,_0x1e7325['Inject'])(_0x1e7325['LocaleService'])),_0x16880b(0xe,_0x1e7325[_0xeb70cf(0x475)])],_0xdc4924);var _0x2a4915='@univerjs-pro/sheets-chart-ui',_0x362383=_0xeb70cf(0x407);let _0x34efc2=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x526b38,_0x1f152b){const _0x49e204=_0xeb70cf;super(),this[_0x49e204(0x3c8)]=_0x526b38,this[_0x49e204(0x3ea)]=_0x1f152b,this[_0x49e204(0x48c)]();}[_0xeb70cf(0x48c)](){const _0x26d8f3=_0xeb70cf;this['disposeWithMe'](this[_0x26d8f3(0x3c8)][_0x26d8f3(0x48a)][_0x26d8f3(0x413)](_0x2126b6=>{const _0x16a234=_0x26d8f3;this['_chartModelService'][_0x16a234(0x3f0)](_0x2126b6);}));}};_0x34efc2=_0x6243e3([_0x16880b(0x0,_0x46b74e),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)]))],_0x34efc2);let _0x4a438d=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x157c0d,_0x46cc65,_0x8c924f,_0xc02724,_0x13739d,_0x5a281f){const _0x805f42=_0xeb70cf;super(),this[_0x805f42(0x3ea)]=_0x157c0d,this['_chartRenderService']=_0x46cc65,this['_localeService']=_0x8c924f,this[_0x805f42(0x2ae)]=_0xc02724,this[_0x805f42(0x460)]=_0x13739d,this[_0x805f42(0x278)]=_0x5a281f,_0x1b6fbd(this,'_pendingMutationConfigRenders',new Map()),_0x1b6fbd(this,'_pendingDataUpdateChartIds',new Set()),this[_0x805f42(0x48c)](),this['_listenChartUpdateMutations'](),this['_initPrinting']();}[_0xeb70cf(0x29a)](){const _0x4df638=_0xeb70cf;this[_0x4df638(0x1e8)](this['_sheetPrintInterceptorService']['interceptor'][_0x4df638(0x30a)](this[_0x4df638(0x278)][_0x4df638(0x136)][_0x4df638(0x3a0)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x5d2392,_0x31b226,_0x2fabce)=>{const _0x355602=_0x4df638;let _0x365e4a=this[_0x355602(0x46a)][_0x355602(0x3c5)](_0x31b226['unitId'],_0x31b226[_0x355602(0x331)],_0x31b226['scene']);return _0x31b226[_0x355602(0x23b)][_0x355602(0x2a8)](_0x365e4a),_0x2fabce(_0x5d2392);}}));}[_0xeb70cf(0x48c)](){const _0xe89551=_0xeb70cf;this[_0xe89551(0x1e8)](this[_0xe89551(0x3ea)][_0xe89551(0x2ea)][_0xe89551(0x413)](_0x1c3d05=>{const _0x47e68a=_0xe89551;if(_0x1c3d05){let _0x888236=new _0x1e7325[(_0x47e68a(0x386))]();_0x888236['add'](_0x1c3d05['dataSource$'][_0x47e68a(0x2cf)]((0x0,_0x24f269[_0x47e68a(0x2cb)])(_0x172582=>_0x172582[_0x47e68a(0x227)][_0x47e68a(0x2cf)]((0x0,_0x24f269['skip'])(0x1))))[_0x47e68a(0x413)](()=>{const _0x5cde4a=_0x47e68a;this[_0x5cde4a(0x228)][_0x5cde4a(0x2a8)](_0x1c3d05['id']);})),_0x888236['add'](_0x1c3d05[_0x47e68a(0x271)][_0x47e68a(0x2cf)]((0x0,_0x24f269['combineLatestWith'])(_0x1c3d05[_0x47e68a(0x242)]),(0x0,_0x24f269['combineLatestWith'])(this[_0x47e68a(0x133)][_0x47e68a(0x369)]),(0x0,_0x24f269[_0x47e68a(0x201)])(0x64))[_0x47e68a(0x413)](([[_0x24b973,_0xca4ebe],_0x519f92])=>{const _0x5cf9f0=_0x47e68a;var _0x273a5c;if(!_0x24b973)return;(_0x273a5c=_0x24b973[_0x5cf9f0(0xd9)])==null||_0x273a5c['items'][_0x5cf9f0(0x332)]((_0x2c498c,_0x163c1f)=>{const _0x5ee52e=_0x5cf9f0;_0x2c498c['label']||=this[_0x5ee52e(0x133)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x163c1f+0x1);}),_0x24b973[_0x5cf9f0(0x1f9)][_0x5cf9f0(0x332)]((_0x384470,_0xc5eb52)=>{const _0x45d133=_0x5cf9f0;_0x384470['name']||=this[_0x45d133(0x133)]['t'](_0x45d133(0x39b))+'\x20'+(_0xc5eb52+0x1);});let _0x3eadfd=this[_0x5cf9f0(0x46a)][_0x5cf9f0(0x23f)](_0x1c3d05,_0x519f92),_0x31765e=this[_0x5cf9f0(0x228)][_0x5cf9f0(0x339)](_0x1c3d05['id']);this[_0x5cf9f0(0x46a)][_0x5cf9f0(0x37d)](_0x1c3d05['id'],_0x24b973,_0x3eadfd,{'animateDataUpdate':_0x31765e});})),_0x1c3d05[_0x47e68a(0x2ef)](()=>{const _0x106640=_0x47e68a;this['_pendingDataUpdateChartIds'][_0x106640(0x339)](_0x1c3d05['id']),_0x888236[_0x106640(0x151)]();});}}));}[_0xeb70cf(0x387)](){const _0x3343e4=_0xeb70cf;this[_0x3343e4(0x1e8)](this[_0x3343e4(0x460)]['onCommandExecuted'](_0x48e30d=>{const _0x60325=_0x3343e4;if(_0x48e30d['id']!==_0x5979b3['ChartUpdateConfigMutation']['id'])return;let _0x55a229=_0x48e30d[_0x60325(0x2f0)];_0x55a229!=null&&_0x55a229[_0x60325(0x166)]&&Promise[_0x60325(0x226)]()[_0x60325(0x286)](()=>this['_renderAfterChartUpdateMutation'](_0x55a229));}));}[_0xeb70cf(0x146)](_0xf7a0f4){const _0x2c2f8b=_0xeb70cf;let _0x1b0543=this[_0x2c2f8b(0x3ea)][_0x2c2f8b(0x316)](_0xf7a0f4[_0x2c2f8b(0x166)]);if(!_0x1b0543||_0x1b0543[_0x2c2f8b(0x257)]!==_0x3611d5[_0x2c2f8b(0x109)][_0x2c2f8b(0x1e7)])return;let _0x50ee40=_0x1b0543['config'];_0x50ee40?this[_0x2c2f8b(0x14b)](_0x1b0543,_0x50ee40):this[_0x2c2f8b(0x346)](_0x1b0543);}[_0xeb70cf(0x346)](_0x248838){const _0x948d9e=_0xeb70cf;if(this['_pendingMutationConfigRenders'][_0x948d9e(0x360)](_0x248838['id']))return;let _0x58ba8e=_0x248838['config$']['pipe']((0x0,_0x24f269[_0x948d9e(0x34a)])(_0x748394=>_0x748394!=null),(0x0,_0x24f269[_0x948d9e(0x216)])(0x1))['subscribe'](_0x4a7068=>{const _0x5a1c13=_0x948d9e;this[_0x5a1c13(0x202)][_0x5a1c13(0x339)](_0x248838['id']),this[_0x5a1c13(0x14b)](_0x248838,_0x4a7068);});this[_0x948d9e(0x202)][_0x948d9e(0x130)](_0x248838['id'],_0x58ba8e),_0x248838[_0x948d9e(0x2ef)](()=>{const _0x59f38e=_0x948d9e;_0x58ba8e[_0x59f38e(0x10f)](),this[_0x59f38e(0x202)]['delete'](_0x248838['id']);});}[_0xeb70cf(0x14b)](_0x43c543,_0xf4119b){const _0x4f59a6=_0xeb70cf;let _0x194363=this[_0x4f59a6(0x46a)][_0x4f59a6(0x23f)](_0x43c543,this[_0x4f59a6(0x133)][_0x4f59a6(0x392)]());this[_0x4f59a6(0x46a)][_0x4f59a6(0x37d)](_0x43c543['id'],_0xf4119b,_0x194363);}};_0x4a438d=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834)),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325['LocaleService'])),_0x16880b(0x3,_0x19c057),_0x16880b(0x4,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x5,(0x0,_0x1e7325['Inject'])(_0x2ef923[_0xeb70cf(0x225)]))],_0x4a438d);function _0x7df262(_0x59d061,_0x223ef9){const _0x411643=_0xeb70cf;return _0x59d061['unitId']!==_0x223ef9[_0x411643(0xfa)]||_0x59d061[_0x411643(0x331)]!==_0x223ef9[_0x411643(0x376)]?_0x59d061:{..._0x59d061,'subUnitId':_0x223ef9[_0x411643(0x422)]};}function _0x44e0f1(_0x2fe770,_0x523a77){const _0x31e727=_0xeb70cf;return(_0x2fe770==null?void 0x0:_0x2fe770[_0x31e727(0x3b3)])===_0x3611d5[_0x31e727(0x42a)][_0x31e727(0x1dd)]?{..._0x2fe770,'source':_0x7df262(_0x2fe770[_0x31e727(0x417)],_0x523a77)}:_0x2fe770;}function _0xfdf4a2(_0x5aab1a,_0x5392df){const _0x21bf13=_0xeb70cf;let {rangeInfo:_0x179919}=_0x5aab1a;return Array[_0x21bf13(0x28a)](_0x179919)?{..._0x5aab1a,'rangeInfo':_0x179919[_0x21bf13(0x1f6)](_0x2bd86e=>({..._0x2bd86e,..._0x2bd86e[_0x21bf13(0x2f6)]?{'header':_0x44e0f1(_0x2bd86e['header'],_0x5392df)}:{},'range':_0x7df262(_0x2bd86e[_0x21bf13(0x441)],_0x5392df)}))}:{..._0x5aab1a,'rangeInfo':{..._0x179919,..._0x179919[_0x21bf13(0x2f6)]?{'header':{..._0x179919[_0x21bf13(0x2f6)],..._0x179919[_0x21bf13(0x2f6)][_0x21bf13(0x462)]?{'titles':_0x208cf1(_0x179919[_0x21bf13(0x2f6)][_0x21bf13(0x462)],_0x5392df)}:{}}}:{},'rangeInfo':_0x7df262(_0x179919[_0x21bf13(0x43c)],_0x5392df)}};}function _0x208cf1(_0x3bf916,_0x47a80b){const _0x1f80c0=_0xeb70cf;return _0x3bf916[_0x1f80c0(0x3b3)]===_0x3611d5['ChartSourceHeaderTitleType'][_0x1f80c0(0x3d4)]?{..._0x3bf916,'values':{..._0x3bf916['values']}}:_0x3bf916['type']===_0x3611d5[_0x1f80c0(0x42a)][_0x1f80c0(0x112)]?{..._0x3bf916,'values':Object['fromEntries'](Object[_0x1f80c0(0x243)](_0x3bf916['values'])[_0x1f80c0(0x1f6)](([_0x529f32,_0x3fbdad])=>[_0x529f32,_0x3fbdad&&_0x7df262(_0x3fbdad,_0x47a80b)]))}:{..._0x3bf916,'values':Object[_0x1f80c0(0x2df)](Object[_0x1f80c0(0x243)](_0x3bf916[_0x1f80c0(0x1a8)])[_0x1f80c0(0x1f6)](([_0x4fa7d2,_0x59bb9a])=>[_0x4fa7d2,_0x59bb9a&&_0x44e0f1(_0x59bb9a,_0x47a80b)]))};}function _0x4fc16d(_0x5626f2,_0x3937bf,_0x18f4cd,_0x437cfb){const _0x144c04=_0xeb70cf;let _0x5e6ffe=(0x0,_0x39bdba['getOrCreateDrawingCopyPlan'])(_0x5626f2,_0x3937bf,_0x18f4cd),_0x117500=[];for(let _0x48b78c of _0x3937bf){let _0x4901ea=_0x5e6ffe[_0x144c04(0x39d)][_0x144c04(0x360)](_0x48b78c[_0x144c04(0xef)]),_0x869016=_0x437cfb(_0x48b78c);_0x4901ea&&_0x869016&&_0x117500[_0x144c04(0x15c)]({'targetChartId':_0x4901ea,'source':_0xfdf4a2(_0x869016,_0x18f4cd)});}return _0x117500;}let _0x279d6d=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x5d6ae8,_0x460014,_0x139d25,_0x5cd795,_0x1b9c5a){const _0x2ec2d2=_0xeb70cf;super(),this['_univerInstanceService']=_0x5d6ae8,this[_0x2ec2d2(0x457)]=_0x460014,this[_0x2ec2d2(0x1e2)]=_0x139d25,this[_0x2ec2d2(0x3ea)]=_0x5cd795,this[_0x2ec2d2(0x145)]=_0x1b9c5a,this['_initSheetChange']();}['_initSheetChange'](){const _0x2f0eb5=_0xeb70cf;this[_0x2f0eb5(0x1e8)](this[_0x2f0eb5(0x457)]['interceptCommand']({'getMutations':_0x4bf538=>{const _0x23907d=_0x2f0eb5;if(_0x4bf538['id']===_0x559364[_0x23907d(0x254)]['id']){let _0x17466c=(0x0,_0x559364[_0x23907d(0x3c7)])(this[_0x23907d(0x42c)],_0x4bf538[_0x23907d(0x2f0)]);if(!_0x17466c)return{'redos':[],'undos':[]};let {unitId:_0x195107,subUnitId:_0x1ff025}=_0x17466c,_0x34142a=this[_0x23907d(0x1e2)][_0x23907d(0x180)](_0x195107,_0x1ff025),_0x578680=Object['values'](_0x34142a)[_0x23907d(0x34a)](_0x6f714a=>_0x6f714a['drawingType']===_0x1e7325[_0x23907d(0x28f)][_0x23907d(0x1c3)]);if(_0x578680['length']===0x0)return{'redos':[],'undos':[]};let _0x613a8b=[],_0x4ef4d5=[];for(let _0x30e265=0x0;_0x30e265<_0x578680['length'];_0x30e265++){let _0x5047d0=_0x578680[_0x30e265],_0x8b9297=this[_0x23907d(0x3ea)][_0x23907d(0x316)](_0x5047d0[_0x23907d(0xef)]);if(!_0x8b9297)continue;let _0x35b984=this[_0x23907d(0x145)][_0x23907d(0x310)](_0x8b9297['id']);if(!_0x35b984)continue;let {chartType:_0x3746a8,context:_0x5c44c5,style:_0x51b96e,dataAggregation:_0x3c4ea6}=_0x8b9297[_0x23907d(0x344)]();_0x613a8b[_0x23907d(0x15c)]({'id':_0x5979b3[_0x23907d(0x237)]['id'],'params':{'unitId':_0x195107,'subUnitId':_0x1ff025,'chartId':_0x5047d0[_0x23907d(0xef)]}}),_0x4ef4d5[_0x23907d(0x15c)]({'id':_0x5979b3[_0x23907d(0x45b)]['id'],'params':{'unitId':_0x195107,'subUnitId':_0x1ff025,'chartId':_0x5047d0[_0x23907d(0xef)],'chartType':_0x3746a8,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0x35b984),'context':_0x5c44c5,'style':_0x51b96e,'dataAggregation':_0x3c4ea6}});}return{'redos':_0x613a8b,'undos':_0x4ef4d5};}if(_0x4bf538['id']===_0x559364[_0x23907d(0x400)]['id']){let {unitId:_0x3de63d,subUnitId:_0xac66ac,targetSubUnitId:_0x268d17,copyContext:_0x53dd81}=_0x4bf538[_0x23907d(0x2f0)];if(!_0x3de63d||!_0xac66ac||!_0x268d17)return{'redos':[],'undos':[]};let _0x148df5=this[_0x23907d(0x1e2)][_0x23907d(0x180)](_0x3de63d,_0xac66ac),_0x1f7f72=Object[_0x23907d(0x1a8)](_0x148df5)[_0x23907d(0x34a)](_0x1523cd=>_0x1523cd[_0x23907d(0x209)]===_0x1e7325[_0x23907d(0x28f)][_0x23907d(0x1c3)]);if(_0x1f7f72[_0x23907d(0x2d4)]===0x0)return{'redos':[],'undos':[]};let _0x4e6a83=_0x4fc16d(_0x53dd81,_0x1f7f72,{'unitId':_0x3de63d,'sourceSubUnitId':_0xac66ac,'targetSubUnitId':_0x268d17},_0x235ec9=>{const _0x214f1a=_0x23907d;let _0x3c8de1=this['_chartModelService'][_0x214f1a(0x316)](_0x235ec9[_0x214f1a(0xef)]);if(!_0x3c8de1)return;let _0x48d504=this[_0x214f1a(0x145)][_0x214f1a(0x310)](_0x3c8de1['id']);if(!_0x48d504)return;let {chartType:_0x4de3d3,context:_0xbe4b7f,style:_0x176187,dataAggregation:_0x193285}=_0x3c8de1[_0x214f1a(0x344)]();return{'rangeInfo':_0x48d504,'chartType':_0x4de3d3,'context':_0xbe4b7f,'style':_0x176187,'dataAggregation':_0x193285};}),_0x20bbdc=[],_0x2e97ac=[];for(let {targetChartId:_0x394e04,source:_0x1d1225}of _0x4e6a83){let {rangeInfo:_0x10eb70,chartType:_0x3f5c45,context:_0x3f57b7,style:_0x2ffcbd,dataAggregation:_0x159053}=_0x1d1225;_0x20bbdc['push']({'id':_0x5979b3['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x3de63d,'subUnitId':_0x268d17,'chartId':_0x394e04,'chartType':_0x3f5c45,...(0x0,_0x5979b3[_0x23907d(0x2a4)])(_0x10eb70),'context':_0x3f57b7,'style':_0x2ffcbd,'dataAggregation':_0x159053}}),_0x2e97ac[_0x23907d(0x15c)]({'id':_0x5979b3[_0x23907d(0x237)]['id'],'params':{'unitId':_0x3de63d,'subUnitId':_0x268d17,'chartId':_0x394e04}});}return{'redos':_0x20bbdc,'undos':_0x2e97ac};}return{'redos':[],'undos':[]};}}));}};_0x279d6d=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325['IUniverInstanceService'])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x559364[_0xeb70cf(0xfb)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4dac75[_0xeb70cf(0x45a)])),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3['ChartModelService'])),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x258)]))],_0x279d6d);let _0x1ffaa6=_0x1d8010=>_0x1d8010[_0xeb70cf(0x428)](_0x1e7325[_0xeb70cf(0x3b8)][_0xeb70cf(0x41f)])['getUnitId'](),_0x578228=_0x5daae2=>{const _0x4b5e5f=_0xeb70cf;var _0x6c111f;return(_0x6c111f=_0x5daae2['getCurrentUnitOfType'](_0x1e7325[_0x4b5e5f(0x3b8)][_0x4b5e5f(0x41f)])[_0x4b5e5f(0x25e)]())==null?void 0x0:_0x6c111f[_0x4b5e5f(0x473)]();};function _0x3a6035(){const _0x1063ae=_0xeb70cf;var _0x3ab7c6;let _0x1ea2cb=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x19c057),_0x5aaaf7=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x5979b3[_0x1063ae(0x148)]),_0x46d360=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x5979b3[_0x1063ae(0x258)]),_0x319d88=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x1e7325[_0x1063ae(0x404)]),_0x1c5ffe=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x1e7325[_0x1063ae(0x459)]),_0x1a6adb=(0x0,_0x5979b3[_0x1063ae(0x12b)])(_0x1c5ffe),_0xc1b95c=(0x0,_0x5de930[_0x1063ae(0x2d7)])(()=>{const _0x5acac9=_0x1063ae;let _0x418d7f=_0x51c8a3(_0x14f1e3[_0x5acac9(0x434)](),_0x1a6adb);return(0x0,_0x339b6e[_0x5acac9(0x1f5)])(_0x418d7f[_0x5acac9(0x1f6)](_0x4bfcbd=>({'id':_0x4bfcbd['id'],'label':_0x319d88['t'](_0x5acac9(0x409)+_0x4bfcbd[_0x5acac9(0x260)]),'pieSecondaryPlotType':_0x4bfcbd[_0x5acac9(0x186)],'value':_0x4bfcbd[_0x5acac9(0x375)]})));},[_0x1a6adb,_0x319d88]),_0x3fe1b2=(0x0,_0xced9f3[_0x1063ae(0x174)])(_0x5aaaf7[_0x1063ae(0x280)],_0x5aaaf7[_0x1063ae(0xea)]),_0x2d7b0f=_0x3fe1b2?_0x46d360[_0x1063ae(0x472)](_0x3fe1b2['id']):void 0x0,_0x16b386=(0x0,_0xced9f3[_0x1063ae(0x174)])(_0x2d7b0f==null?void 0x0:_0x2d7b0f['rangeInfo$'],_0x2d7b0f==null?void 0x0:_0x2d7b0f[_0x1063ae(0x485)]()),_0x1d84e5=Array[_0x1063ae(0x28a)](_0x16b386),_0x29dd99=_0x16b386&&!_0x1d84e5&&_0x16b386[_0x1063ae(0x2f9)]?_0x3611d5[_0x1063ae(0x4a5)][_0x1063ae(0xf3)]:_0x3611d5[_0x1063ae(0x4a5)][_0x1063ae(0x368)],_0xbefce4=_0x1d84e5?(_0x3ab7c6=_0x16b386[0x0])==null?void 0x0:_0x3ab7c6['range']:_0x16b386==null?void 0x0:_0x16b386['rangeInfo'];return(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x1063ae(0x44a),{'className':_0x1063ae(0x31c),'children':(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x339b6e[_0x1063ae(0xed)],{'chartTypeOptions':_0xc1b95c,'dataSourceControl':(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x2a5920,{'dataRange':_0x16b386,'primaryRange':_0xbefce4}),'categoryToggleLabel':_0x319d88['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x29dd99===_0x3611d5['DataOrientation'][_0x1063ae(0xf3)]?_0x29dd99+'\x20'+(((_0xbefce4==null?void 0x0:_0xbefce4['range'][_0x1063ae(0x3f3)])??0x0)+0x1):_0x29dd99+'\x20'+(0x0,_0x1e7325[_0x1063ae(0x177)])((_0xbefce4==null?void 0x0:_0xbefce4['range']['startColumn'])??0x0)),'orientationControl':_0x1d84e5?void 0x0:(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x15e416[_0x1063ae(0x1f4)],{'size':_0x1063ae(0x3cc),'onClick':()=>_0x1ea2cb[_0x1063ae(0xff)](_0x29dd99===_0x3611d5[_0x1063ae(0x4a5)]['Row']?_0x3611d5['DataOrientation']['Column']:_0x3611d5[_0x1063ae(0x4a5)]['Row']),'children':_0x319d88['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x2a5920(_0xc94835){const _0x557878=_0xeb70cf;let {dataRange:_0x3e5a81,primaryRange:_0x9f8966}=_0xc94835,_0x320faa=(0x0,_0xced9f3[_0x557878(0x3e2)])(_0x19c057),_0x7e6883=(0x0,_0xced9f3[_0x557878(0x3e2)])(_0x1e7325[_0x557878(0x404)]),_0x155318=(0x0,_0xced9f3[_0x557878(0x3e2)])(_0x1e7325[_0x557878(0x106)]),[_0x468a71,_0x3eb1a2]=(0x0,_0x5de930[_0x557878(0x125)])(!0x1),[_0x1b4b23,_0x5494ab]=(0x0,_0x5de930['useState'])(!0x1),_0x35259f=_0x1ffaa6(_0x155318),_0x47f5d6=_0x578228(_0x155318);(0x0,_0x5de930[_0x557878(0x1ce)])(()=>{const _0x583b55=_0x557878;_0x320faa[_0x583b55(0x21f)](_0x468a71);},[_0x468a71,_0x320faa]);let _0x4024c4=(0x0,_0x5de930[_0x557878(0x2d7)])(()=>(0x0,_0x1e7325[_0x557878(0x320)])(async _0x2376d6=>{const _0x5d170d=_0x557878;var _0x3b6ba0;if(_0x39337f(_0x3e5a81,_0x155318)===_0x2376d6)return;let _0x2748c9=_0x2376d6[_0x5d170d(0x36b)](',')[_0x5d170d(0x34a)](Boolean)['map'](_0x1ee0b1[_0x5d170d(0x291)])[0x0];if(!_0x2748c9)return;let {unitId:_0x5d7bc6,sheetName:_0x477fdf,range:_0x2c6464}=_0x2748c9,_0x4263c3=_0x5d7bc6||_0x35259f,_0x156549=((_0x3b6ba0=_0x155318[_0x5d170d(0x1b8)](_0x4263c3)[_0x5d170d(0xe1)](_0x477fdf))==null?void 0x0:_0x3b6ba0[_0x5d170d(0x473)]())||(_0x9f8966==null?void 0x0:_0x9f8966[_0x5d170d(0x331)])||_0x47f5d6;_0x156549&&_0x320faa[_0x5d170d(0x191)]({'rangeInfo':{'range':_0x2c6464,'unitId':_0x4263c3,'subUnitId':_0x156549}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x3e5a81,_0x9f8966,_0x320faa,_0x47f5d6,_0x35259f,_0x155318]);return(0x0,_0x5de930[_0x557878(0x1ce)])(()=>()=>_0x4024c4[_0x557878(0x30e)](),[_0x4024c4]),(0x0,_0x424e81[_0x557878(0x25c)])(_0x557878(0x44a),{'className':_0x557878(0x1a6),'children':(0x0,_0x424e81['jsxs'])(_0x557878(0x44a),{'children':[(0x0,_0x424e81[_0x557878(0x25c)])(_0x339b6e['ChartEditBlockTitle'],{'title':_0x7e6883['t'](_0x557878(0x1a7))}),(0x0,_0x424e81[_0x557878(0x25c)])(_0x2aadda['MobileRangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x35259f,'subUnitId':_0x47f5d6,'initialValue':_0x3e5a81?_0x39337f(_0x3e5a81,_0x155318):'','onChange':(_0x259e8a,_0x337566)=>_0x4024c4(_0x337566),'onFocusChange':_0x5ab670=>{_0x1b4b23||_0x3eb1a2(_0x5ab670);},'onRangeSelectorDialogVisibleChange':_0x13f1d8=>{_0x5494ab(_0x13f1d8),_0x3eb1a2(_0x13f1d8);}})]})});}function _0x21d10e(){const _0x2cc557=_0xeb70cf;let [_0x577019,_0x2a243b]=(0x0,_0x5de930[_0x2cc557(0x125)])(_0x339b6e['ChartEditPanelTab'][_0x2cc557(0x11f)]),_0x4b1040=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x1e7325['Injector']),_0x52e006=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x1e7325[_0x2cc557(0x404)]),_0x84998c=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x19c057),_0x463cd0=(0x0,_0xced9f3['useDependency'])(_0x5979b3[_0x2cc557(0x148)]),_0x2899a1=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x5979b3['SheetsChartService']),_0x3865c8=(0x0,_0xced9f3['useObservable'])(_0x463cd0['activeChartModel$'],_0x463cd0[_0x2cc557(0xea)]),_0x132e9a=(0x0,_0xced9f3[_0x2cc557(0x174)])(_0x84998c[_0x2cc557(0x1fb)],null),_0x26df1c=(0x0,_0x5de930[_0x2cc557(0x2d7)])(()=>{const _0x2626eb=_0x2cc557;var _0x4fa549;if(!_0x3865c8)return null;let _0xb23280=_0x2899a1[_0x2626eb(0x310)](_0x3865c8['id']);if(!_0xb23280)return null;let _0x5baadd=Array[_0x2626eb(0x28a)](_0xb23280)?(_0x4fa549=_0xb23280[0x0])==null?void 0x0:_0x4fa549['range']:_0xb23280[_0x2626eb(0x43c)];return _0x5baadd?new _0x339b6e['ChartHostAdapter'](_0x3865c8,new _0x5979b3[(_0x2626eb(0x3b7))]({'unitId':_0x5baadd[_0x2626eb(0xfa)],'subUnitId':_0x5baadd[_0x2626eb(0x331)],'chartId':_0x3865c8['id'],'injector':_0x4b1040})):null;},[_0x3865c8,_0x4b1040,_0x2899a1]);if((0x0,_0x5de930[_0x2cc557(0x1ce)])(()=>{const _0x322ec8=_0x2cc557;var _0x5a1c7d,_0x49efc1;_0x3865c8&&(_0x132e9a==null?void 0x0:_0x132e9a['chartId'])===_0x3865c8['id']&&(((_0x5a1c7d=_0x132e9a['route'])==null?void 0x0:_0x5a1c7d[_0x322ec8(0x294)])===_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x41a)]&&_0x2a243b(_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x41a)]),((_0x49efc1=_0x132e9a[_0x322ec8(0x2fd)])==null?void 0x0:_0x49efc1[_0x322ec8(0x294)])===_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x11f)]&&_0x2a243b(_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x11f)]));},[_0x3865c8,_0x132e9a]),!_0x26df1c)return null;let _0x561eca=(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x2cc557(0x44a),{'className':_0x2cc557(0x3b0),'children':(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x339b6e[_0x2cc557(0x3cb)],{'ariaLabel':_0x52e006['t'](_0x2cc557(0x249)),'activeTab':_0x577019,'onTabChange':_0x2a243b,'tabListClassName':'univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','panelClassName':_0x577019===_0x339b6e[_0x2cc557(0x3b9)][_0x2cc557(0x41a)]?_0x2cc557(0x470):'univer-overflow-visible','tabs':[{'id':_0x339b6e[_0x2cc557(0x3b9)][_0x2cc557(0x11f)],'panelId':_0x2cc557(0x46c),'title':_0x52e006['t'](_0x2cc557(0x453)),'content':(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x3a6035,{})},{'id':_0x339b6e[_0x2cc557(0x3b9)][_0x2cc557(0x41a)],'panelId':'mobile-sheet-chart-style-panel','title':_0x52e006['t']('sheets-chart-ui.common.customize'),'content':(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x128705,{'defaultValues':_0x434889})}]})});return(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x339b6e[_0x2cc557(0x3e3)],{'chartUIService':_0x84998c,'hostAdapter':_0x26df1c,'children':_0x561eca});}let _0x4b3a56=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x3f8deb){const _0x44858e=_0xeb70cf;super(),this[_0x44858e(0x1e8)](_0x3f8deb[_0x44858e(0x31e)](_0x47b009,_0x21d10e));}};_0x4b3a56=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3[_0xeb70cf(0x290)]))],_0x4b3a56);let _0x7054d1=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x5a240a,_0x12d1af,_0x277fcf,_0x1a73c3,_0x293f12,_0x3e5023,_0x54565b,_0x4c844c,_0x2ad002){const _0x1c22d2=_0xeb70cf;super(),this[_0x1c22d2(0x3f7)]=_0x5a240a,this[_0x1c22d2(0x3ea)]=_0x12d1af,this[_0x1c22d2(0x45f)]=_0x277fcf,this['_menuManagerService']=_0x1a73c3,this[_0x1c22d2(0x451)]=_0x293f12,this[_0x1c22d2(0x460)]=_0x3e5023,this[_0x1c22d2(0x1db)]=_0x54565b,this[_0x1c22d2(0x337)]=_0x4c844c,this[_0x1c22d2(0x133)]=_0x2ad002,_0x1b6fbd(this,_0x1c22d2(0x21a),null),_0x1b6fbd(this,'_panelInitialized',!0x1),this['_initMenus']();}[_0xeb70cf(0x151)](){const _0x18ab22=_0xeb70cf;this[_0x18ab22(0x406)](),super[_0x18ab22(0x151)]();}[_0xeb70cf(0x1d1)](){const _0x17b620=_0xeb70cf;this[_0x17b620(0x295)]||(this[_0x17b620(0x295)]=!0x0,this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x168d45=>{const _0x22dc6a=_0x17b620;if(_0x168d45['id']!==_0x48776c['id'])return;let _0xd56021=_0x168d45['params'];this[_0x22dc6a(0x182)](_0xd56021['drawingId'],_0xd56021['route']);})));}['openChartPanelById'](_0x30bdef,_0x303966){const _0x13b86a=_0xeb70cf;let _0x141b39=this['_chartModelService'][_0x13b86a(0x316)](_0x30bdef);_0x141b39&&(this[_0x13b86a(0x3ea)][_0x13b86a(0x128)](_0x141b39),this[_0x13b86a(0x3b5)](),this[_0x13b86a(0x1db)][_0x13b86a(0x399)](!0x0),this[_0x13b86a(0x1db)][_0x13b86a(0x1ef)](_0x30bdef,_0x303966??null));}[_0xeb70cf(0x406)](){const _0x3cda13=_0xeb70cf;let _0x534bf4=this[_0x3cda13(0x21a)];this[_0x3cda13(0x21a)]=null,this[_0x3cda13(0x34b)](),_0x534bf4==null||_0x534bf4[_0x3cda13(0x151)]();}[_0xeb70cf(0x184)](){const _0x5bf31d=_0xeb70cf;this[_0x5bf31d(0x402)][_0x5bf31d(0x1a0)]({[_0xced9f3[_0x5bf31d(0x1b3)][_0x5bf31d(0x21c)]]:{[_0x5cbb78['id']]:{'order':0x4,'menuItemFactory':_0x252a91}}}),this[_0x5bf31d(0x451)][_0x5bf31d(0x38c)](_0x1e7325[_0x5bf31d(0x28f)][_0x5bf31d(0x1c3)],(_0x12a322,_0xf87317,_0x314e7d,_0x4a7590)=>[{'label':this[_0x5bf31d(0x133)]['t'](_0x5bf31d(0x249)),'index':0x0,'commandId':_0x48776c['id'],'commandParams':{'unitId':_0x12a322,'subUnitId':_0xf87317,'drawingId':_0x314e7d},'disable':_0x4a7590!==_0x1e7325[_0x5bf31d(0x28f)][_0x5bf31d(0x1c3)]},{'label':this[_0x5bf31d(0x133)]['t'](_0x5bf31d(0x11d)),'index':0x1,'commandId':_0x4dac75[_0x5bf31d(0x3ff)]['id'],'commandParams':{'unitId':_0x12a322,'drawings':[{'unitId':_0x12a322,'subUnitId':_0xf87317,'drawingId':_0x314e7d,'drawingType':_0x4a7590}]},'disable':!0x1}],'sheets-chart-ui.common.chart');}[_0xeb70cf(0x3b5)](){const _0x14314d=_0xeb70cf;this[_0x14314d(0x21a)]=this[_0x14314d(0x45f)][_0x14314d(0x23c)]({'id':_0x47b009,'header':{'title':this[_0x14314d(0x133)]['t'](_0x14314d(0x249))},'children':{'label':_0x47b009},'onClose':()=>{const _0x49107c=_0x14314d;this['_sidebarDisposable']=null,this[_0x49107c(0x34b)]();}});}['_clearPanelState'](){const _0x519a2b=_0xeb70cf;this[_0x519a2b(0x1db)]['setChartEditorOpen'](!0x1),this[_0x519a2b(0x1db)][_0x519a2b(0x26f)](),this['_chartModelService']['activeChartModel']&&this[_0x519a2b(0x3ea)][_0x519a2b(0x128)](null),this[_0x519a2b(0x3f7)]['focusDrawing'](null),this[_0x519a2b(0x337)][_0x519a2b(0x489)](_0x1e7325[_0x519a2b(0xec)],!0x1);}};_0x7054d1=_0x6243e3([_0x16880b(0x0,_0x39bdba['IDrawingManagerService']),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3[_0xeb70cf(0x3dc)])),_0x16880b(0x3,_0xced9f3[_0xeb70cf(0x329)]),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x2ef923[_0xeb70cf(0x165)])),_0x16880b(0x5,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x6,_0x19c057),_0x16880b(0x7,_0x1e7325[_0xeb70cf(0x203)]),_0x16880b(0x8,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x404)]))],_0x7054d1);let _0x355040=class extends _0x1e7325['Disposable']{constructor(_0x19697a,_0x36abb2,_0x58d4aa,_0x23ba17,_0xe91132){const _0x6af6f5=_0xeb70cf;super(),this[_0x6af6f5(0x265)]=_0x19697a,this[_0x6af6f5(0x3e4)]=_0x36abb2,this[_0x6af6f5(0x1e2)]=_0x58d4aa,this[_0x6af6f5(0x3ea)]=_0x23ba17,this['_sheetsChartService']=_0xe91132,_0x1b6fbd(this,_0x6af6f5(0x16a),void 0x0),this['_initCopyPaste']();}get[_0xeb70cf(0x162)](){const _0x13d107=_0xeb70cf;return this[_0x13d107(0x1e2)]['getFocusDrawings']();}[_0xeb70cf(0x47d)](){const _0x21465c=_0xeb70cf;this['disposeWithMe'](this[_0x21465c(0x3e4)]['addClipboardHook']({'id':_0x5979b3['SHEETS_CHART_PLUGIN_NAME'],'onBeforeCopyFocusedObject':(_0xddf1eb,_0x42f80a,_0x2b1d33)=>{const _0x3e1943=_0x21465c;this['_copyInfo']=null;let _0x4030ce=this[_0x3e1943(0x162)][_0x3e1943(0x34a)](_0x1b3717=>this[_0x3e1943(0x183)](_0x1b3717));return _0x4030ce['length']!==0x0&&(this[_0x3e1943(0x16a)]={'unitId':_0xddf1eb,'subUnitId':_0x42f80a,'copyType':_0x2b1d33,'drawings':_0x4030ce},!0x0);},'onBeforeCopy':(_0x27497f,_0x3a4478,_0x365de7,_0x25ece5)=>{const _0x5ec59a=_0x21465c;this[_0x5ec59a(0x16a)]=null,this[_0x5ec59a(0x33d)](_0x27497f,_0x3a4478,_0x365de7,_0x25ece5);},'onPasteCells':(_0x3ac623,_0x412bc4,_0x2075ca,_0x28b5b3)=>{const _0x2e7084=_0x21465c;if(!_0x28b5b3['copyId']||!_0x3ac623||!this[_0x2e7084(0x16a)])return{'redos':[],'undos':[]};let {pasteType:_0x512c86}=_0x28b5b3;return _0x512c86===_0x2ef923[_0x2e7084(0x352)][_0x2e7084(0x19d)]?this[_0x2e7084(0x431)](_0x412bc4,this['_copyInfo'][_0x2e7084(0x312)]===_0x2ef923[_0x2e7084(0x471)]['CUT']):{'redos':[],'undos':[]};}}));}[_0xeb70cf(0x33d)](_0x26baff,_0x43bae4,_0x1357c8,_0x3a0ca6){const _0x150689=_0xeb70cf;let _0x453090=this[_0x150689(0x265)]['getSkeleton'](_0x26baff,_0x43bae4);if(!_0x453090)return;let _0x84f374=(0x0,_0x559364[_0x150689(0x1b4)])(_0x453090,_0x1357c8);if(!_0x84f374)return;let {startX:_0x4ceab2,endX:_0xe2f494,startY:_0x1f5467,endY:_0x74e2aa}=_0x84f374,_0x326ce2=this['_sheetDrawingService'][_0x150689(0x180)](_0x26baff,_0x43bae4),_0x1e6c0e=[];for(let [_0x2ed996,_0x47698e]of Object[_0x150689(0x243)](_0x326ce2)){if(!this[_0x150689(0x183)](_0x47698e))continue;let {transform:_0x49a110}=_0x47698e;if(!_0x49a110)continue;let {left:_0x453f07=0x0,top:_0x4cb0c3=0x0,width:_0x21a5af=0x0,height:_0x2c0362=0x0}=_0x49a110;_0x4ceab2<=_0x453f07&&_0xe2f494>=_0x453f07+_0x21a5af&&_0x1f5467<=_0x4cb0c3&&_0x74e2aa>=_0x4cb0c3+_0x2c0362&&_0x1e6c0e[_0x150689(0x15c)](_0x47698e);}_0x1e6c0e[_0x150689(0x2d4)]>0x0&&(this['_copyInfo']={'unitId':_0x26baff,'subUnitId':_0x43bae4,'copyType':_0x3a0ca6,'copyRange':_0x1357c8,'drawings':_0x1e6c0e});}[_0xeb70cf(0x183)](_0xe9e8ce){const _0x509b55=_0xeb70cf;return _0xe9e8ce[_0x509b55(0x209)]===_0x1e7325[_0x509b55(0x28f)][_0x509b55(0x1c3)]&&this[_0x509b55(0x145)][_0x509b55(0x2c5)](_0xe9e8ce[_0x509b55(0xfa)],_0xe9e8ce[_0x509b55(0xef)])===_0xe9e8ce['subUnitId'];}[_0xeb70cf(0x431)](_0xfb6b4f,_0x204b5e){const _0x4895be=_0xeb70cf;let {unitId:_0xde48b5,subUnitId:_0x79d433,range:_0x3006f7}=_0xfb6b4f,_0x305873=this[_0x4895be(0x265)][_0x4895be(0x287)](_0xde48b5,_0x79d433);if(!_0x305873)return{'redos':[],'undos':[]};let _0x2e31f3=(0x0,_0x559364['discreteRangeToRange'])(_0x3006f7),{unitId:_0x2fd38d,subUnitId:_0x162510,copyRange:_0x47b0d6,drawings:_0x1ce546}=this[_0x4895be(0x16a)],_0x1c03f7=this['_sheetSkeletonService'][_0x4895be(0x287)](_0x2fd38d,_0x162510);if(!_0x1c03f7)return{'redos':[],'undos':[]};let _0x3eeb38=[],_0x2ad96f=[];for(let _0xfb4b79 of _0x1ce546){let {drawingId:_0x2d5039,transform:_0x33a66a,sheetTransform:_0x55b407}=_0xfb4b79,_0x2bab9e=this[_0x4895be(0x3ea)]['getChartModel'](_0x2d5039);if(!_0x2bab9e||!_0x33a66a||!_0x55b407)continue;let _0x438fe0=this[_0x4895be(0x2a7)]({'transform':_0x33a66a,'sheetTransform':_0x55b407},{'skeleton':_0x1c03f7,'range':_0x47b0d6},{'skeleton':_0x305873,'range':_0x2e31f3});if(_0x204b5e){let {redos:_0x15ba8f,undos:_0x266c5c}=this[_0x4895be(0x1eb)]({'fromUnitId':_0x2fd38d,'fromSubUnitId':_0x162510,'toUnitId':_0xde48b5,'toSubUnitId':_0x79d433,'drawing':_0xfb4b79,'newTransforms':_0x438fe0},_0x2bab9e);_0x3eeb38['push'](..._0x15ba8f),_0x2ad96f['push'](..._0x266c5c);continue;}let {redos:_0x33c1aa,undos:_0x1af813}=this[_0x4895be(0x3ad)]({'toUnitId':_0xde48b5,'toSubUnitId':_0x79d433,'drawing':_0xfb4b79,'newTransforms':_0x438fe0},_0x2bab9e);_0x3eeb38[_0x4895be(0x15c)](..._0x33c1aa),_0x2ad96f[_0x4895be(0x15c)](..._0x1af813);}return{'redos':_0x3eeb38,'undos':_0x2ad96f};}[_0xeb70cf(0x1eb)](_0x2db6ad,_0x34f636){const _0x1ad1ef=_0xeb70cf;let {fromUnitId:_0x167249,fromSubUnitId:_0x141dc0,toUnitId:_0x7b9ee7,toSubUnitId:_0x3431c4,drawing:_0x4dfb5c,newTransforms:_0x59865c}=_0x2db6ad,_0x125517={..._0x4dfb5c,'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'transform':_0x59865c['transform'],'sheetTransform':_0x59865c['sheetTransform']};if(_0x7b9ee7===_0x167249&&_0x3431c4===_0x141dc0){let {redo:_0x530139,undo:_0x4a3201,objects:_0x4165c8}=this[_0x1ad1ef(0x1e2)][_0x1ad1ef(0x30b)]([_0x125517]);return{'redos':[{'id':_0x4dac75['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75['DrawingApplyType'][_0x1ad1ef(0x458)],'op':_0x530139,'objects':_0x4165c8}}],'undos':[{'id':_0x4dac75['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75['DrawingApplyType'][_0x1ad1ef(0x458)],'op':_0x4a3201,'objects':_0x4165c8}}]};}{let _0x1483f8=this[_0x1ad1ef(0x1e2)][_0x1ad1ef(0x23a)]([_0x4dfb5c]),_0x7e8a05=this[_0x1ad1ef(0x1e2)][_0x1ad1ef(0x4ab)]([_0x125517]),_0x76a40=this[_0x1ad1ef(0x145)][_0x1ad1ef(0x310)](_0x34f636['id']);if(!_0x76a40)return{'redos':[],'undos':[]};let {chartType:_0x91b28f,context:_0x37ba26,style:_0x453194,dataAggregation:_0x52438c}=_0x34f636[_0x1ad1ef(0x344)]();return{'redos':[{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x4a4)],'op':_0x1483f8['redo'],'objects':_0x1483f8[_0x1ad1ef(0x4a7)]}},{'id':_0x5979b3[_0x1ad1ef(0x237)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'chartId':_0x4dfb5c['drawingId']}},{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x29f)],'op':_0x7e8a05[_0x1ad1ef(0x356)],'objects':_0x7e8a05['objects']}},{'id':_0x5979b3[_0x1ad1ef(0x45b)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'chartId':_0x4dfb5c[_0x1ad1ef(0xef)],'chartType':_0x91b28f,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0x76a40),'context':_0x37ba26,'style':_0x453194,'dataAggregation':_0x52438c}}],'undos':[{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x29f)],'op':_0x1483f8[_0x1ad1ef(0x111)],'objects':_0x1483f8['objects']}},{'id':_0x5979b3[_0x1ad1ef(0x45b)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'chartId':_0x4dfb5c[_0x1ad1ef(0xef)],'chartType':_0x91b28f,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0x76a40),'context':_0x37ba26,'style':_0x453194,'dataAggregation':_0x52438c}},{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x4a4)],'op':_0x7e8a05[_0x1ad1ef(0x111)],'objects':_0x7e8a05[_0x1ad1ef(0x4a7)]}},{'id':_0x5979b3[_0x1ad1ef(0x237)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'chartId':_0x4dfb5c[_0x1ad1ef(0xef)]}}]};}}[_0xeb70cf(0x3ad)](_0x39680d,_0x334709){const _0x5def25=_0xeb70cf;let {toUnitId:_0x497be8,toSubUnitId:_0x328414,drawing:_0x2c0bf1,newTransforms:_0x316962}=_0x39680d,_0x5c03dd=(0x0,_0x1e7325['generateRandomId'])(),_0x56b2c0={..._0x2c0bf1,'unitId':_0x497be8,'subUnitId':_0x328414,'drawingId':_0x5c03dd,'transform':_0x316962[_0x5def25(0x401)],'sheetTransform':_0x316962[_0x5def25(0x39f)]},{redo:_0x2de63a,undo:_0x39e963,objects:_0x5bba4c}=this[_0x5def25(0x1e2)][_0x5def25(0x4ab)]([_0x56b2c0]),_0xed78c5=this[_0x5def25(0x145)][_0x5def25(0x310)](_0x334709['id']);if(!_0xed78c5)return{'redos':[],'undos':[]};let {chartType:_0x16003a,context:_0xd4d6be,style:_0x3460a0,dataAggregation:_0x112afa}=_0x334709['serialize']();return{'redos':[{'id':_0x4dac75[_0x5def25(0x491)]['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'type':_0x4dac75['DrawingApplyType'][_0x5def25(0x29f)],'op':_0x2de63a,'objects':_0x5bba4c}},{'id':_0x5979b3['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'chartId':_0x5c03dd,'chartType':_0x16003a,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0xed78c5),'context':_0xd4d6be,'style':_0x3460a0,'dataAggregation':_0x112afa}}],'undos':[{'id':_0x4dac75[_0x5def25(0x491)]['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'type':_0x4dac75['DrawingApplyType'][_0x5def25(0x4a4)],'op':_0x39e963,'objects':_0x5bba4c}},{'id':_0x5979b3[_0x5def25(0x237)]['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'chartId':_0x5c03dd}}]};}[_0xeb70cf(0x2a7)](_0x21a116,_0x48f671,_0x25c57c){const _0x576af1=_0xeb70cf;let {range:_0x23914d,skeleton:_0xf623dd}=_0x48f671,{range:_0x473348,skeleton:_0x403a6e}=_0x25c57c,{transform:_0x39ea7d,sheetTransform:_0x58ea5d}=_0x21a116,_0x50032d={..._0x39ea7d};if(_0x23914d){let _0x463097=(0x0,_0x559364[_0x576af1(0x1b4)])(_0xf623dd,_0x23914d),_0x597b64=(0x0,_0x559364[_0x576af1(0x1b4)])(_0x403a6e,_0x473348);if(_0x463097&&_0x597b64){let _0x3e96c5=_0x597b64['startX']-_0x463097[_0x576af1(0x483)],_0x39c8b8=_0x597b64[_0x576af1(0x45d)]-_0x463097['startY'];_0x50032d[_0x576af1(0x2a9)]=(_0x50032d['left']??0x0)+_0x3e96c5,_0x50032d[_0x576af1(0x2f4)]=(_0x50032d[_0x576af1(0x2f4)]??0x0)+_0x39c8b8;}}else{let _0x5baea4=(0x0,_0x559364['attachRangeWithCoord'])(_0x403a6e,_0x473348);_0x50032d[_0x576af1(0x2a9)]=_0x5baea4==null?void 0x0:_0x5baea4[_0x576af1(0x483)],_0x50032d[_0x576af1(0x2f4)]=_0x5baea4==null?void 0x0:_0x5baea4[_0x576af1(0x45d)];}return{'transform':_0x50032d,'sheetTransform':(0x0,_0x4dac75[_0x576af1(0x3da)])(_0x50032d,_0x403a6e)??_0x58ea5d};}};_0x355040=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x559364[_0xeb70cf(0x2c3)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x2ef923[_0xeb70cf(0xdf)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4dac75[_0xeb70cf(0x45a)])),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x4,(0x0,_0x1e7325['Inject'])(_0x5979b3['SheetsChartService']))],_0x355040);let _0x4273c9=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x1bdae7,_0x441214,_0x1c560c,_0x1ee804){const _0x2f8b10=_0xeb70cf;super(),this[_0x2f8b10(0x460)]=_0x1bdae7,this[_0x2f8b10(0x133)]=_0x441214,this[_0x2f8b10(0x187)]=_0x1c560c,this[_0x2f8b10(0x145)]=_0x1ee804,this[_0x2f8b10(0x210)]();}['_initPermission'](){const _0x81d47f=_0xeb70cf;this[_0x81d47f(0x1e8)](this['_commandService'][_0x81d47f(0x277)](_0xe029c=>{const _0x1ac2a3=_0x81d47f;let _0x4f5fe7,_0x5bc9e1;if(_0xe029c['id']===_0x5979b3[_0x1ac2a3(0x29e)]['id']){let _0xf29861=_0xe029c[_0x1ac2a3(0x2f0)];_0x4f5fe7=_0xf29861[_0x1ac2a3(0xfa)],_0x5bc9e1=_0xf29861[_0x1ac2a3(0x331)];}else{if(_0xe029c['id']===_0x5979b3[_0x1ac2a3(0x1bb)]['id']||_0xe029c['id']===_0x5979b3[_0x1ac2a3(0x1b0)]['id']){let _0x4425ff=_0xe029c[_0x1ac2a3(0x2f0)];_0x4f5fe7=_0x4425ff[_0x1ac2a3(0xfa)],_0x5bc9e1=this['_sheetsChartService']['getSubUnitId'](_0x4425ff[_0x1ac2a3(0xfa)],_0x4425ff[_0x1ac2a3(0x166)]);}}_0x4f5fe7&&_0x5bc9e1&&(this[_0x1ac2a3(0x187)]['permissionCheckWithoutRange']({'workbookTypes':[_0x559364[_0x1ac2a3(0x27b)]],'worksheetTypes':[_0x559364[_0x1ac2a3(0x2f5)]]},_0x4f5fe7,_0x5bc9e1)||this[_0x1ac2a3(0x187)][_0x1ac2a3(0x110)](this[_0x1ac2a3(0x133)]['t'](_0x1ac2a3(0x253))));}));}};_0x4273c9=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0xd2)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x404)])),_0x16880b(0x2,(0x0,_0x1e7325['Inject'])(_0x559364[_0xeb70cf(0x160)])),_0x16880b(0x3,(0x0,_0x1e7325['Inject'])(_0x5979b3[_0xeb70cf(0x258)]))],_0x4273c9);let _0x4ccea8=class extends _0x1e7325['Disposable']{constructor(_0x35c47e,_0x1f76bc){const _0x5e54cd=_0xeb70cf;super(),this['_renderService']=_0x1f76bc,this[_0x5e54cd(0x1e8)](_0x35c47e[_0x5e54cd(0x31e)](this));}[_0xeb70cf(0x46b)](_0x150f00){const _0x5b563a=_0xeb70cf;return _0x5b563a(0xfa)in _0x150f00&&_0x5b563a(0x331)in _0x150f00;}[_0xeb70cf(0x3fb)](_0x52a9ea,_0xa714db){const _0x447a2c=_0xeb70cf;return this[_0x447a2c(0x2e5)][_0x447a2c(0x3fb)](_0x52a9ea[_0x447a2c(0x37f)](),_0xa714db);}};_0x4ccea8=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x339b6e['ChartImageExportService'])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834))],_0x4ccea8);let _0x4dbce9=class extends _0x1e7325[_0xeb70cf(0x1d2)]{constructor(_0x5209f9=_0x2be8c4,_0x25b992,_0x2e0854,_0x1437b0){const _0x1054d4=_0xeb70cf;super(),this['_config']=_0x5209f9,this[_0x1054d4(0x26d)]=_0x25b992,this[_0x1054d4(0x1fc)]=_0x2e0854,this[_0x1054d4(0x460)]=_0x1437b0;let {..._0x44e1aa}=(0x0,_0x1e7325[_0x1054d4(0x2e6)])({},_0x2be8c4,this[_0x1054d4(0x28d)]);this[_0x1054d4(0x1fc)][_0x1054d4(0x15b)](_0x3e48e7,_0x44e1aa),this[_0x1054d4(0x2b3)]();}[_0xeb70cf(0x206)](){const _0x52c579=_0xeb70cf;let _0x283fe0=[[_0x4b3a56],[_0x19c057,{'useClass':_0x46657c}],[_0x46b74e,{'useClass':_0x1ca0a5}],[_0x36a856],[_0x114834],[_0x4ccea8],[_0x7054d1],[_0x34efc2],[_0x4a438d],[_0x355040],[_0x279d6d],[_0x4273c9]],_0x70ccbc=[[_0x4b3a56],[_0x7054d1],[_0x4a438d],[_0x34efc2],[_0x4ccea8],[_0x19c057],[_0x355040],[_0x279d6d],[_0x4273c9]];_0x283fe0[_0x52c579(0x332)](_0x3c5579=>this[_0x52c579(0x26d)]['add'](_0x3c5579)),(0x0,_0x1e7325[_0x52c579(0x43a)])(this[_0x52c579(0x26d)],_0x70ccbc);}[_0xeb70cf(0x327)](){const _0x7f5661=_0xeb70cf;var _0x45d801;(_0x45d801=this[_0x7f5661(0x26d)][_0x7f5661(0x360)](_0x7054d1))==null||_0x45d801[_0x7f5661(0x1d1)]();}[_0xeb70cf(0x2b3)](){const _0x15d5f5=_0xeb70cf;[_0x5cbb78,_0x48776c][_0x15d5f5(0x332)](_0x5353f3=>this[_0x15d5f5(0x1e8)](this[_0x15d5f5(0x460)][_0x15d5f5(0x250)](_0x5353f3)));}};_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x3b3),_0x1e7325[_0xeb70cf(0x3b8)][_0xeb70cf(0x41f)]),_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x306),'UniverSheetsChartUIPlugin'),_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x274),_0x2a4915),_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x27d),_0x362383),_0x4dbce9=_0x6243e3([(0x0,_0x1e7325[_0xeb70cf(0x1bf)])(_0x4eff75[_0xeb70cf(0x1c2)],_0x39bdba[_0xeb70cf(0x255)],_0x4fef78[_0xeb70cf(0xf5)],_0x559364[_0xeb70cf(0x1c0)],_0x4dac75[_0xeb70cf(0x152)],_0x339b6e['UniverChartMobileUIPlugin'],_0x5979b3[_0xeb70cf(0x439)],_0x398b93['UniverSheetsDrawingMobileUIPlugin'],_0x2ef923['UniverSheetsMobileUIPlugin'],_0xced9f3['UniverMobileUIPlugin']),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325['Injector'])),_0x16880b(0x2,_0x1e7325[_0xeb70cf(0x475)]),_0x16880b(0x3,_0x1e7325[_0xeb70cf(0xd2)])],_0x4dbce9);let _0x19eb81={'scaleX':0x1,'scaleY':0x1};function _0x5439de(_0x416684){let _0x3f1e89=_0x416684['nativeEvent'];return _0x3f1e89 instanceof MouseEvent?_0x3f1e89:void 0x0;}function _0x42cd13(_0x503914){const _0x10c841=_0xeb70cf;let _0x2998e4=_0x503914[_0x10c841(0x1f1)],_0x50acfe=_0x2998e4==null?void 0x0:_0x2998e4[_0x10c841(0x2d5)];return _0x50acfe instanceof Element?_0x50acfe:void 0x0;}function _0x11c1dc(_0x37b88b){const _0x4fea26=_0xeb70cf;var _0x359dd7;return(_0x359dd7=_0x42cd13(_0x37b88b))==null?void 0x0:_0x359dd7[_0x4fea26(0x464)]();}function _0x457e78(_0x389ab3){const _0x50a8cd=_0xeb70cf;return _0x389ab3[_0x50a8cd(0x323)]||_0x389ab3[_0x50a8cd(0xcd)]-_0x389ab3[_0x50a8cd(0x2a9)];}function _0x51ea00(_0x1b4037){const _0x3f120c=_0xeb70cf;return _0x1b4037[_0x3f120c(0x1ed)]||_0x1b4037[_0x3f120c(0x359)]-_0x1b4037[_0x3f120c(0x2f4)];}function _0xa5efb(_0x8c3d6b,_0x15067c){const _0x5a6669=_0xeb70cf;let _0x11a5d5=_0x8c3d6b['clientWidth']||(_0x8c3d6b instanceof HTMLElement?_0x8c3d6b[_0x5a6669(0x358)]:0x0),_0x21b6de=_0x8c3d6b['clientHeight']||(_0x8c3d6b instanceof HTMLElement?_0x8c3d6b['offsetHeight']:0x0),_0x2bcb03=_0x457e78(_0x15067c),_0x563059=_0x51ea00(_0x15067c);return{'scaleX':_0x11a5d5>0x0&&_0x2bcb03>0x0?_0x2bcb03/_0x11a5d5:_0x19eb81[_0x5a6669(0x26c)],'scaleY':_0x21b6de>0x0&&_0x563059>0x0?_0x563059/_0x21b6de:_0x19eb81[_0x5a6669(0x1ad)]};}function _0x21d3e6(_0xddddce,_0xc85e6,_0x1d21c7){const _0x25788c=_0xeb70cf;return{'left':_0xddddce['left']+_0xc85e6[_0x25788c(0x2a9)]*_0x1d21c7['scaleX'],'right':_0xddddce[_0x25788c(0x2a9)]+_0xc85e6[_0x25788c(0xcd)]*_0x1d21c7[_0x25788c(0x26c)],'top':_0xddddce[_0x25788c(0x2f4)]+_0xc85e6[_0x25788c(0x2f4)]*_0x1d21c7[_0x25788c(0x1ad)],'bottom':_0xddddce['top']+_0xc85e6[_0x25788c(0x359)]*_0x1d21c7[_0x25788c(0x1ad)]};}function _0x116573(_0x119a2a){const _0x4d050c=_0xeb70cf;let _0x4b3e11=_0x42cd13(_0x119a2a),_0x56d847=_0x119a2a[_0x4d050c(0x1d9)][_0x4d050c(0x40e)];if(_0x4b3e11&&_0x56d847){let _0x4a42e3=_0x4b3e11[_0x4d050c(0x464)]();return()=>{const _0x3d5f57=_0x4d050c;let _0x1af38f=_0x4b3e11['getBoundingClientRect']();return(_0x4b3e11[_0x3d5f57(0xe7)]||_0x457e78(_0x1af38f)>0x0||_0x51ea00(_0x1af38f)>0x0)&&(_0x4a42e3=_0x1af38f),_0x21d3e6(_0x4a42e3,_0x56d847,_0xa5efb(_0x4b3e11,_0x4a42e3));};}return()=>{const _0x3d399e=_0x4d050c;let _0x55650b=_0x11c1dc(_0x119a2a);if(_0x55650b&&_0x56d847)return _0x21d3e6(_0x55650b,_0x56d847,_0x4b3e11?_0xa5efb(_0x4b3e11,_0x55650b):_0x19eb81);let _0x399f2e=_0x5439de(_0x119a2a),_0xd13711=_0x4b3e11&&_0x55650b?_0xa5efb(_0x4b3e11,_0x55650b):_0x19eb81,_0x13727c=(_0x399f2e==null?void 0x0:_0x399f2e[_0x3d399e(0x282)])??(_0x55650b?_0x55650b[_0x3d399e(0x2a9)]+_0x119a2a[_0x3d399e(0x492)]['x']*_0xd13711[_0x3d399e(0x26c)]:_0x119a2a['localPoint']['x']),_0x161444=(_0x399f2e==null?void 0x0:_0x399f2e[_0x3d399e(0x147)])??(_0x55650b?_0x55650b[_0x3d399e(0x2f4)]+_0x119a2a[_0x3d399e(0x492)]['y']*_0xd13711[_0x3d399e(0x1ad)]:_0x119a2a[_0x3d399e(0x492)]['y']);return{'left':_0x13727c,'right':_0x13727c+0x1,'top':_0x161444,'bottom':_0x161444+0x1};};}function _0x1dd9d8(_0x345e76){const _0x1bb92e=_0xeb70cf;return typeof _0x345e76==_0x1bb92e(0x348)&&Number[_0x1bb92e(0x496)](_0x345e76);}function _0x159e72(_0x2a126a){const _0x2210d3=_0xeb70cf;if(!_0x2a126a||typeof _0x2a126a!=_0x2210d3(0x1d7))return!0x0;let {startX:_0x2942f6,endX:_0x23c7a0,startY:_0x464942,endY:_0x58037a}=_0x2a126a;return!_0x1dd9d8(_0x2942f6)||!_0x1dd9d8(_0x23c7a0)||!_0x1dd9d8(_0x464942)||!_0x1dd9d8(_0x58037a)||_0x23c7a0-_0x2942f6>0x2&&_0x58037a-_0x464942>0x2;}function _0x5de0ca(_0x42506e){const _0x4821b1=_0xeb70cf;return _0x42506e['right']<=_0x42506e['left']||_0x42506e[_0x4821b1(0x359)]<=_0x42506e[_0x4821b1(0x2f4)]?!0x1:typeof window>'u'||_0x42506e[_0x4821b1(0xcd)]>0x0&&_0x42506e['bottom']>0x0&&_0x42506e['left']<window[_0x4821b1(0x498)]&&_0x42506e[_0x4821b1(0x2f4)]<window['innerHeight'];}function _0x48646b(_0x127562){const _0x2c2bc3=_0xeb70cf;var _0x1caef3;return _0x127562==null||(_0x1caef3=_0x127562[_0x2c2bc3(0x289)])==null?void 0x0:_0x1caef3[_0x2c2bc3(0x479)](_0x127562);}function _0x56dfb8(_0x20924f,_0x406544,_0x54e8fe){const _0x201990=_0xeb70cf;let _0x42898c=_0x116573(_0x20924f),_0x531eec=_0x48646b(_0x406544),_0x55ead6=_0x42898c(),_0x18aae3=new _0x24f269['BehaviorSubject'](_0x55ead6),_0xfbda05=new _0x1e7325['DisposableCollection'](),_0x3f2218=!0x1,_0x1b7d02=!0x1,_0x2a6a94=_0x1a82da=>_0x159e72(_0x531eec)&&_0x5de0ca(_0x1a82da),_0x1cf612=()=>{_0x1b7d02||_0x3f2218||(_0x1b7d02=!0x0,queueMicrotask(()=>{const _0xf6afd5=_0x3c84;if(_0x1b7d02=!0x1,!_0x3f2218){let _0x52315c=_0x42898c();if(!_0x2a6a94(_0x52315c)){_0x54e8fe();return;}_0x18aae3[_0xf6afd5(0x217)](_0x52315c);}}));};return _0x406544&&_0xfbda05[_0x201990(0x2a8)](_0x406544['subscribe'](_0x33bec2=>{_0x531eec=_0x33bec2,_0x1cf612();})),typeof window<'u'&&_0xfbda05[_0x201990(0x2a8)]((0x0,_0x24f269[_0x201990(0x2e6)])((0x0,_0x24f269[_0x201990(0x13c)])(window,_0x201990(0xe8),{'capture':!0x0}),(0x0,_0x24f269[_0x201990(0x13c)])(window,_0x201990(0x430)))[_0x201990(0x2cf)]((0x0,_0x24f269[_0x201990(0x2c4)])(0x10))[_0x201990(0x413)](_0x1cf612)),{'initialRect':_0x55ead6,'anchorRect$':_0x18aae3[_0x201990(0x2ad)](),'visible':_0x2a6a94(_0x55ead6),'dispose':()=>{const _0x4444f3=_0x201990;_0x3f2218=!0x0,_0xfbda05[_0x4444f3(0x151)](),_0x18aae3[_0x4444f3(0x1e6)]();}};}let _0xb2585b=_0xeb70cf(0x197),_0x5bbc5e=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x53a9f4,_0x9466ea,_0x43a19d,_0x3b50c9,_0x50c1e6,_0x2f842a,_0x40cdd8,_0x3366e4,_0x3422e3){const _0x31b07a=_0xeb70cf;super(),this['_chartModelService']=_0x53a9f4,this['_chartRenderService']=_0x9466ea,this[_0x31b07a(0x14a)]=_0x43a19d,this['_sheetCanvasPopManagerService']=_0x3b50c9,this['_sheetCanvasFloatDomManagerService']=_0x50c1e6,this[_0x31b07a(0x2ae)]=_0x2f842a,this['_adapterRegistry']=_0x40cdd8,this[_0x31b07a(0x460)]=_0x3366e4,this['_injector']=_0x3422e3,_0x1b6fbd(this,'_popupDisposable',null),_0x1b6fbd(this,'_popupChartId',null),_0x1b6fbd(this,_0x31b07a(0x3f9),null),this[_0x31b07a(0x487)](),this[_0x31b07a(0x3d6)]();}[_0xeb70cf(0x151)](){const _0x358dc9=_0xeb70cf;this[_0x358dc9(0x261)](),super['dispose']();}['_registerAdapter'](){const _0x5eddda=_0xeb70cf;let _0x501356=(0x0,_0x339b6e[_0x5eddda(0x3c3)])({'chartUIService':this[_0x5eddda(0x2ae)],'getHostAdapter':_0x1fdb62=>{const _0xb3ce5d=_0x5eddda;let _0x29c42b=this['_chartModelService'][_0xb3ce5d(0x316)](_0x1fdb62[_0xb3ce5d(0x2b5)]);if(_0x29c42b&&_0x1fdb62[_0xb3ce5d(0x331)])return new _0x339b6e['ChartHostAdapter'](_0x29c42b,new _0x5979b3[(_0xb3ce5d(0x3b7))]({'unitId':_0x1fdb62[_0xb3ce5d(0xfa)],'subUnitId':_0x1fdb62['subUnitId'],'chartId':_0x1fdb62[_0xb3ce5d(0x2b5)],'injector':this['_injector']}));},'close':()=>this[_0x5eddda(0x261)](),'openFullPanel':_0x16f596=>{const _0x163946=_0x5eddda;let {unitId:_0x2fc0ba,subUnitId:_0x4a1592,drawingId:_0x1aadd1,chartId:_0x3eed62}=_0x16f596,_0xd3cfc8=(0x0,_0x339b6e[_0x163946(0x25f)])(_0x16f596[_0x163946(0x2d5)]);this['_commandService'][_0x163946(0x318)](_0x48776c['id'],{'unitId':_0x2fc0ba,'subUnitId':_0x4a1592??'','drawingId':_0x1aadd1??_0x3eed62,..._0xd3cfc8?{'route':_0xd3cfc8}:{}});}});this['disposeWithMe'](this[_0x5eddda(0x235)][_0x5eddda(0x31e)](_0xb2585b,_0x501356));}['_subscribeChartEvents'](){const _0x3a85fe=_0xeb70cf;this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x3ea)][_0x3a85fe(0x2ea)][_0x3a85fe(0x413)](_0x5093f8=>{const _0x3667d3=_0x3a85fe;let _0x137046=new _0x1e7325[(_0x3667d3(0x386))]();_0x137046[_0x3667d3(0x2a8)](this['_chartRenderService']['on'](_0x5093f8['id'],'click',_0x38e362=>{const _0x56a244=_0x3667d3;this[_0x56a244(0x3ba)](_0x5093f8['id'],_0x38e362);})),_0x137046[_0x3667d3(0x2a8)](this['_chartRenderService']['on'](_0x5093f8['id'],_0x3667d3(0x33c),()=>{this['_openEditPanelByDoubleClick'](_0x5093f8['id']);})),_0x5093f8[_0x3667d3(0x2ef)](()=>{const _0x509351=_0x3667d3;_0x137046[_0x509351(0x151)](),this[_0x509351(0x42f)](_0x5093f8['id']);}),this[_0x3667d3(0x1e8)](_0x137046);})),this[_0x3a85fe(0x1e8)]((0x0,_0x24f269['combineLatest'])([this['_chartModelService'][_0x3a85fe(0x280)],this[_0x3a85fe(0x2ae)]['chartEditorOpen$']])[_0x3a85fe(0x413)](([_0x3b5096,_0x3122c7])=>{const _0x26fa78=_0x3a85fe;(!_0x3122c7||this[_0x26fa78(0x126)]&&(_0x3b5096==null?void 0x0:_0x3b5096['id'])!==this[_0x26fa78(0x126)])&&this[_0x26fa78(0x261)]();})),this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x16c)][_0x3a85fe(0x1be)][_0x3a85fe(0x413)](({id:_0x1b3633})=>{const _0x1b03f2=_0x3a85fe;this[_0x1b03f2(0x42f)](_0x1b3633);})),this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x16c)][_0x3a85fe(0x144)]['subscribe'](({id:_0x171526})=>{this['_clearSelectedTarget'](_0x171526);})),this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x14a)][_0x3a85fe(0x48a)][_0x3a85fe(0x413)](_0x455693=>{const _0x1ce812=_0x3a85fe;this[_0x1ce812(0x42f)](_0x455693);}));}[_0xeb70cf(0x308)](_0x2f32c8){const _0x21b6d0=_0xeb70cf;if(this[_0x21b6d0(0x2ae)]['chartEditorOpen'])return;let _0x105747=this[_0x21b6d0(0x3ea)][_0x21b6d0(0x316)](_0x2f32c8),_0x5a2b4a=this[_0x21b6d0(0x16c)]['getFloatDomInfo'](_0x2f32c8);_0x105747&&_0x5a2b4a&&this[_0x21b6d0(0x460)][_0x21b6d0(0x318)](_0x48776c['id'],{'unitId':_0x5a2b4a[_0x21b6d0(0xfa)],'subUnitId':_0x5a2b4a[_0x21b6d0(0x331)]??'','drawingId':_0x2f32c8});}['_openFloatMenu'](_0x3429b8,_0x2d1c41){const _0x5d3780=_0xeb70cf;if(!this[_0x5d3780(0x2ae)][_0x5d3780(0xd6)](_0x3429b8))return;let _0xe2e536=this[_0x5d3780(0x3ea)][_0x5d3780(0x316)](_0x3429b8),_0x279939=_0xe2e536?_0x424778(_0xe2e536,_0x2d1c41[_0x5d3780(0x1d9)]):void 0x0;if(!_0x279939){this['_chartUIService'][_0x5d3780(0x26f)](),this['_closePopup']();return;}let _0x441235=this[_0x5d3780(0x16c)]['getFloatDomInfo'](_0x3429b8);if(!_0xe2e536||!_0x441235){this[_0x5d3780(0x2ae)]['clearPanelRoute'](),this[_0x5d3780(0x261)]();return;}let _0x4b8d27=JSON['stringify']([_0x441235['unitId'],_0x441235['subUnitId'],_0x3429b8,_0x279939[_0x5d3780(0x2d5)]]);if(this[_0x5d3780(0x266)]&&this[_0x5d3780(0x3f9)]===_0x4b8d27||(this[_0x5d3780(0x2ae)]['setPanelRoute'](_0x3429b8,_0x279939[_0x5d3780(0x2fd)]),this[_0x5d3780(0x261)](),!_0x279939[_0x5d3780(0x3e5)]))return;let _0x5d8664=_0x56dfb8(_0x2d1c41,_0x441235[_0x5d3780(0x448)],()=>this['_clearHiddenSelectedTarget'](_0x3429b8));if(!_0x5d8664[_0x5d3780(0x32a)]){_0x5d8664['dispose']();return;}let _0x316109=this[_0x5d3780(0x451)][_0x5d3780(0xe4)](_0x5d8664[_0x5d3780(0x3c2)],_0x5d8664[_0x5d3780(0x4b7)],{'componentKey':_0x339b6e[_0x5d3780(0x315)],'constrainToCanvas':!0x0,'direction':_0x5d3780(0x476),'offset':[0x0,0x8],'extraProps':{'unitId':_0x441235[_0x5d3780(0xfa)],'subUnitId':_0x441235[_0x5d3780(0x331)],'chartId':_0x3429b8,'drawingId':_0x3429b8,'element':_0x2d1c41[_0x5d3780(0x1d9)],'target':_0x279939[_0x5d3780(0x2d5)],'adapterKey':_0xb2585b}},_0x441235[_0x5d3780(0xfa)],_0x441235['subUnitId'])??null;if(!_0x316109){_0x5d8664['dispose']();return;}let _0x53deda=new _0x1e7325[(_0x5d3780(0x386))]();_0x53deda[_0x5d3780(0x2a8)](_0x316109),_0x53deda[_0x5d3780(0x2a8)](_0x5d8664),this[_0x5d3780(0x266)]=_0x53deda,this[_0x5d3780(0x126)]=_0x3429b8,this[_0x5d3780(0x3f9)]=_0x4b8d27;}[_0xeb70cf(0x261)](){const _0x517f0f=_0xeb70cf;var _0x5d6f7e;(_0x5d6f7e=this[_0x517f0f(0x266)])==null||_0x5d6f7e[_0x517f0f(0x151)](),this[_0x517f0f(0x266)]=null,this[_0x517f0f(0x126)]=null,this[_0x517f0f(0x3f9)]=null;}[_0xeb70cf(0x42f)](_0x4756ca){const _0xca58ee=_0xeb70cf;(this[_0xca58ee(0x2ae)][_0xca58ee(0xd6)](_0x4756ca)||this[_0xca58ee(0x126)]===_0x4756ca)&&(this[_0xca58ee(0x2ae)][_0xca58ee(0x26f)](),this[_0xca58ee(0x126)]===_0x4756ca&&this[_0xca58ee(0x261)]());}[_0xeb70cf(0x29b)](_0x1b1ba0){const _0x1f7f25=_0xeb70cf;this[_0x1f7f25(0x42f)](_0x1b1ba0),this[_0x1f7f25(0x2ae)][_0x1f7f25(0xd6)](_0x1b1ba0)&&(this[_0x1f7f25(0x46a)][_0x1f7f25(0x12f)](_0x1b1ba0,!0x1),this[_0x1f7f25(0x46a)]['setElementEditMode'](_0x1b1ba0,!0x0));}};_0x5bbc5e=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834)),_0x16880b(0x2,_0x46b74e),_0x16880b(0x3,(0x0,_0x1e7325['Inject'])(_0x2ef923['SheetCanvasPopManagerService'])),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x398b93['SheetCanvasFloatDomManagerService'])),_0x16880b(0x5,_0x19c057),_0x16880b(0x6,(0x0,_0x1e7325['Inject'])(_0x339b6e[_0xeb70cf(0x121)])),_0x16880b(0x7,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x8,(0x0,_0x1e7325['Inject'])(_0x1e7325[_0xeb70cf(0x459)]))],_0x5bbc5e);function _0x5895c7({ref:_0x188616,..._0x2dce5f}){const _0x4cf7c5=_0xeb70cf;let {preserveStrokeWidth:_0x29d52b,icon:_0x4858e2,id:_0x5688f3,className:_0x320196,extend:_0x56c5c5,..._0x438988}=_0x2dce5f,_0xc5fffe=(_0x4cf7c5(0x1a4)+_0x5688f3+'\x20'+(_0x320196||''))[_0x4cf7c5(0x3c6)](),_0x1374ec='_'+(0x0,_0x5de930[_0x4cf7c5(0x397)])(),_0x472a16=(0x0,_0x5de930[_0x4cf7c5(0x20c)])(null);return(0x0,_0x5de930[_0x4cf7c5(0x16f)])(_0x188616,()=>_0x472a16[_0x4cf7c5(0x35f)]),(0x0,_0x5de930[_0x4cf7c5(0x2dc)])(()=>{const _0x6e5721=_0x4cf7c5;if(_0x29d52b&&_0x472a16[_0x6e5721(0x35f)]&&_0x472a16[_0x6e5721(0x35f)]['localName']===_0x4858e2['tag'])return _0xa9bb46(_0x472a16[_0x6e5721(0x35f)]);},[_0x29d52b,_0x4858e2]),_0x249393(_0x4858e2,''+_0x5688f3,{'defIds':_0x4858e2[_0x4cf7c5(0x342)],'idSuffix':_0x1374ec},{'ref':_0x472a16,'className':_0xc5fffe,..._0x438988},_0x56c5c5);}function _0x249393(_0x1615f5,_0x3d9b8e,_0x1c7b60,_0x158cbf,_0x11f42f){const _0x500407=_0xeb70cf;return(0x0,_0x5de930[_0x500407(0xfc)])(_0x1615f5[_0x500407(0x28c)],{'key':_0x3d9b8e,..._0x16bdd6(_0x1615f5,_0x1c7b60,_0x11f42f),..._0x158cbf},(_0x16ad5e(_0x1615f5,_0x1c7b60)[_0x500407(0x140)]||[])[_0x500407(0x1f6)]((_0x3d6922,_0x1c703a)=>_0x249393(_0x3d6922,_0x3d9b8e+'-'+_0x1615f5[_0x500407(0x28c)]+'-'+_0x1c703a,_0x1c7b60,void 0x0,_0x11f42f)));}function _0x16bdd6(_0x3eed7c,_0x514e5e,_0x571e00){const _0x4a3711=_0xeb70cf;let _0x2198c4={..._0x3eed7c[_0x4a3711(0x490)]};_0x571e00!=null&&_0x571e00[_0x4a3711(0x38f)]&&_0x2198c4[_0x4a3711(0x16e)]===_0x4a3711(0x38f)&&(_0x2198c4['fill']=_0x571e00['colorChannel1']),_0x571e00!=null&&_0x571e00[_0x4a3711(0x38f)]&&_0x2198c4[_0x4a3711(0x2e4)]===_0x4a3711(0x38f)&&(_0x2198c4[_0x4a3711(0x2e4)]=_0x571e00[_0x4a3711(0x38f)]),_0x3eed7c[_0x4a3711(0x28c)]===_0x4a3711(0x1ac)&&_0x2198c4['id']&&(_0x2198c4['id']+=_0x514e5e[_0x4a3711(0x351)]),Object[_0x4a3711(0x243)](_0x2198c4)[_0x4a3711(0x332)](([_0x488c00,_0x4779e6])=>{const _0x38aa8b=_0x4a3711;_0x488c00===_0x38aa8b(0x1ac)&&typeof _0x4779e6=='string'&&(_0x2198c4[_0x488c00]=_0x4779e6[_0x38aa8b(0xe9)](/url\(#(.*)\)/,'url(#$1'+_0x514e5e[_0x38aa8b(0x351)]+')'));});let {defIds:_0x4aed22}=_0x514e5e;return!_0x4aed22||_0x4aed22[_0x4a3711(0x2d4)]===0x0||(_0x3eed7c[_0x4a3711(0x28c)]===_0x4a3711(0x1ca)&&_0x2198c4[_0x4a3711(0x307)]&&(_0x2198c4[_0x4a3711(0x307)]+=_0x514e5e[_0x4a3711(0x351)]),Object[_0x4a3711(0x243)](_0x2198c4)[_0x4a3711(0x332)](([_0x58e944,_0x227fb4])=>{const _0x145fbd=_0x4a3711;typeof _0x227fb4==_0x145fbd(0x3a1)&&(_0x2198c4[_0x58e944]=_0x227fb4[_0x145fbd(0xe9)](/url\(#(.*)\)/,_0x145fbd(0x142)+_0x514e5e[_0x145fbd(0x351)]+')'));})),_0x2198c4;}function _0x16ad5e(_0xf23eb,_0x512cac){const _0x9e53de=_0xeb70cf;var _0x71cd92;let {defIds:_0x5c70a6}=_0x512cac;return!_0x5c70a6||_0x5c70a6['length']===0x0?_0xf23eb:_0xf23eb['tag']==='defs'&&(_0x71cd92=_0xf23eb[_0x9e53de(0x140)])!=null&&_0x71cd92[_0x9e53de(0x2d4)]?{..._0xf23eb,'children':_0xf23eb['children'][_0x9e53de(0x1f6)](_0x25f5b1=>typeof _0x25f5b1[_0x9e53de(0x490)]['id']==_0x9e53de(0x3a1)&&_0x5c70a6&&_0x5c70a6['includes'](_0x25f5b1[_0x9e53de(0x490)]['id'])?{..._0x25f5b1,'attrs':{..._0x25f5b1['attrs'],'id':_0x25f5b1[_0x9e53de(0x490)]['id']+_0x512cac[_0x9e53de(0x351)]}}:_0x25f5b1)}:_0xf23eb;}function _0xa9bb46(_0xec6ea2){const _0x1622d8=_0xeb70cf;let _0x125e52=_0xec6ea2['viewBox'][_0x1622d8(0x403)],_0x2a0043=Math['max'](_0x125e52['width'],_0x125e52[_0x1622d8(0x1ed)]);if(!Number[_0x1622d8(0x496)](_0x2a0043)||_0x2a0043<=0x0||_0x125e52[_0x1622d8(0x323)]<=0x0||_0x125e52['height']<=0x0)return()=>void 0x0;let _0x5d98dc=0x10/_0x2a0043,_0xfd31dd=Array[_0x1622d8(0x240)](_0xec6ea2['querySelectorAll']('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x1622d8(0x113)](_0x345437=>{const _0x3843e4=_0x1622d8;let _0x3cb0cb=getComputedStyle(_0x345437),_0x1767e5=Number[_0x3843e4(0x2ac)](_0x3cb0cb[_0x3843e4(0x220)]);return _0x3cb0cb[_0x3843e4(0x2e4)]===_0x3843e4(0x42b)||Number[_0x3843e4(0x2ac)](_0x3cb0cb[_0x3843e4(0x1d6)])===0x0||_0x3cb0cb['vectorEffect']===_0x3843e4(0x4a0)||!Number[_0x3843e4(0x496)](_0x1767e5)||_0x1767e5<=0x0?[]:[{'element':_0x345437,'hadStyleAttribute':_0x345437['hasAttribute']('style'),'originalStrokeWidth':_0x1767e5,'strokeWidth':_0x368583(_0x345437[_0x3843e4(0x4b9)],_0x3843e4(0x44f))}];})[_0x1622d8(0x1f6)](_0x2f27d0=>({'appliedStrokeWidth':null,'element':_0x2f27d0[_0x1622d8(0x467)],'hadStyleAttribute':_0x2f27d0['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x2f27d0[_0x1622d8(0x22b)],'strokeWidth':_0x2f27d0['strokeWidth']}));if(_0xfd31dd['length']===0x0)return()=>void 0x0;let _0x40938e=(_0x4e4289,_0x5a5585)=>{const _0x4fda8c=_0x1622d8;if(_0x125e52[_0x4fda8c(0x323)]<=0x0||_0x125e52[_0x4fda8c(0x1ed)]<=0x0||_0x4e4289<=0x0||_0x5a5585<=0x0)return;let _0x16dd68=Math['min'](_0x4e4289/_0x125e52[_0x4fda8c(0x323)],_0x5a5585/_0x125e52[_0x4fda8c(0x1ed)]);!Number['isFinite'](_0x16dd68)||_0x16dd68<=0x0||_0xfd31dd['forEach'](_0x328b58=>{const _0x118a51=_0x4fda8c;if(_0x328b58[_0x118a51(0x3b1)])return;if(_0x328b58['appliedStrokeWidth']!==null&&(_0x328b58[_0x118a51(0x467)][_0x118a51(0x4b9)][_0x118a51(0x4a2)](_0x118a51(0x44f))!==_0x328b58[_0x118a51(0x3a7)]||_0x328b58['element'][_0x118a51(0x4b9)]['getPropertyPriority'](_0x118a51(0x44f))!==_0x328b58[_0x118a51(0x220)][_0x118a51(0x2bf)])){_0x328b58[_0x118a51(0x3a7)]=null,_0x328b58[_0x118a51(0x3b1)]=!0x0;return;}let _0x34276f=_0x328b58[_0x118a51(0x22b)]*_0x5d98dc/_0x16dd68,_0x28c87e=Number(_0x34276f[_0x118a51(0x256)](0xc))+'px';_0x328b58[_0x118a51(0x467)][_0x118a51(0x4b9)][_0x118a51(0x2ee)]('stroke-width',_0x28c87e,_0x328b58[_0x118a51(0x220)][_0x118a51(0x2bf)]),_0x328b58[_0x118a51(0x3a7)]=_0x28c87e;});},_0x2ec8af=_0xec6ea2[_0x1622d8(0x464)]();_0x40938e(_0x2ec8af['width'],_0x2ec8af['height']);let _0xf6306c=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x30cae0=>{const _0x45d28f=_0x1622d8;if(_0x30cae0[_0x45d28f(0x12c)](_0x2d5b83=>_0x2d5b83[_0x45d28f(0x2d5)]===_0xec6ea2)){let _0x5f50d1=_0xec6ea2[_0x45d28f(0x464)]();_0x40938e(_0x5f50d1[_0x45d28f(0x323)],_0x5f50d1[_0x45d28f(0x1ed)]);}});return _0xf6306c==null||_0xf6306c['observe'](_0xec6ea2),()=>{const _0x2b29e2=_0x1622d8;_0xf6306c==null||_0xf6306c[_0x2b29e2(0x365)](),_0xfd31dd[_0x2b29e2(0x332)](_0x219302=>{const _0x5219ae=_0x2b29e2;_0x219302[_0x5219ae(0x3a7)]!==null&&(_0x51a63a(_0x219302[_0x5219ae(0x467)][_0x5219ae(0x4b9)],'stroke-width',_0x219302['appliedStrokeWidth'],_0x219302['strokeWidth'][_0x5219ae(0x2bf)],_0x219302[_0x5219ae(0x220)]),!_0x219302['hadStyleAttribute']&&_0x219302[_0x5219ae(0x467)]['style'][_0x5219ae(0x2d4)]===0x0&&_0x219302[_0x5219ae(0x467)]['removeAttribute'](_0x5219ae(0x4b9)));});};}function _0x368583(_0xb7c780,_0xd16cb1){const _0x40b218=_0xeb70cf;return{'priority':_0xb7c780[_0x40b218(0x3d3)](_0xd16cb1),'value':_0xb7c780[_0x40b218(0x4a2)](_0xd16cb1)};}function _0x51a63a(_0x143645,_0x4be514,_0x4286bc,_0x5135d1,_0x12b0ca){const _0x1f3f57=_0xeb70cf;_0x143645[_0x1f3f57(0x4a2)](_0x4be514)===_0x4286bc&&_0x143645[_0x1f3f57(0x3d3)](_0x4be514)===_0x5135d1&&(_0x12b0ca[_0x1f3f57(0x375)]?_0x143645[_0x1f3f57(0x2ee)](_0x4be514,_0x12b0ca[_0x1f3f57(0x375)],_0x12b0ca['priority']):_0x143645['removeProperty'](_0x4be514));}_0x5895c7[_0xeb70cf(0x213)]='UniverIcon';let _0x20387a={'tag':_0xeb70cf(0x393),'attrs':{'xmlns':_0xeb70cf(0x301),'fill':_0xeb70cf(0x42b),'viewBox':_0xeb70cf(0x188),'width':_0xeb70cf(0x239),'height':_0xeb70cf(0x239)},'children':[{'tag':_0xeb70cf(0x20a),'attrs':{'fill':_0xeb70cf(0x159),'d':'M12.666\x202.70571C11.7769\x201.76476\x2010.3295\x201.76476\x209.4404\x202.70571L3.37843\x209.12427C3.31779\x209.18848\x203.27756\x209.26409\x203.24979\x209.3439C3.24809\x209.3493\x203.24299\x209.3529\x203.24129\x209.3583L2.02912\x2013.2097C1.96112\x2013.4251\x202.01439\x2013.6633\x202.16626\x2013.8236C2.27393\x2013.9382\x202.41901\x2014\x202.56692\x2014C2.62699\x2014\x202.68762\x2013.9898\x202.74599\x2013.9688L6.3825\x2012.6846C6.3876\x2012.6828\x206.391\x2012.678\x206.39553\x2012.6762C6.47147\x2012.6474\x206.54287\x2012.6042\x206.60351\x2012.54L12.666\x206.12202C13.5558\x205.18048\x2013.5558\x203.64725\x2012.666\x202.70571ZM8.62832\x205.26209L9.04031\x205.69836C9.03918\x205.69956\x209.03748\x205.70016\x209.03634\x205.70136L4.99182\x209.9836L4.58096\x209.54853L8.62832\x205.26209ZM3.46287\x2012.4512L4.02673\x2010.6593L5.15446\x2011.8535L3.46287\x2012.4512ZM6.20342\x2011.2672L5.79256\x2010.8321L9.83709\x206.54988C9.83822\x206.54868\x209.83879\x206.54688\x209.83992\x206.54568L10.2513\x206.98135L6.20342\x2011.2672ZM11.8647\x205.27349L11.0532\x206.13282L9.42963\x204.41356L10.2411\x203.55423C10.6888\x203.08016\x2011.417\x203.08076\x2011.8642\x203.55423C12.3124\x204.0283\x2012.3124\x204.79942\x2011.8647\x205.27349Z'}}]},_0x53de76=(0x0,_0x5de930[_0xeb70cf(0x1b5)])(function(_0x18c0b4,_0xc8d64b){const _0x28e038=_0xeb70cf;return(0x0,_0x5de930['createElement'])(_0x5895c7,Object[_0x28e038(0x325)]({},_0x18c0b4,{'id':'pen-icon','ref':_0xc8d64b,'icon':_0x20387a}));});_0x53de76['displayName']=_0xeb70cf(0x36e);let _0x1ad367=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x3e8996,_0x223d45){const _0x3aec71=_0xeb70cf;super(),this[_0x3aec71(0x44d)]=_0x3e8996,this['_iconManager']=_0x223d45,this['_registerIcons'](),this[_0x3aec71(0x388)]();}['_registerIcons'](){const _0x3bb75f=_0xeb70cf;this[_0x3bb75f(0x1e8)](this[_0x3bb75f(0x3d8)]['register']({'PenIcon':_0x53de76}));}[_0xeb70cf(0x388)](){const _0x497757=_0xeb70cf;[[_0x47b009,_0x2427fb]][_0x497757(0x332)](([_0x294fd7,_0xcdddfc])=>{const _0x2700a3=_0x497757;this['disposeWithMe'](this['_componentManager'][_0x2700a3(0x31e)](_0x294fd7,_0xcdddfc));});}};_0x1ad367=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3['ComponentManager'])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3['IconManager']))],_0x1ad367);let _0x321768=class extends _0x1e7325[_0xeb70cf(0x1d2)]{constructor(_0x15a0ac=_0x2be8c4,_0x190efa,_0x420eb5,_0x41963d){const _0x130220=_0xeb70cf;super(),this[_0x130220(0x28d)]=_0x15a0ac,this['_injector']=_0x190efa,this[_0x130220(0x1fc)]=_0x420eb5,this['_commandService']=_0x41963d,_0x1b6fbd(this,_0x130220(0x49e),void 0x0);let {..._0x584be0}=(0x0,_0x1e7325[_0x130220(0x2e6)])({},_0x2be8c4,this[_0x130220(0x28d)]);this[_0x130220(0x49e)]=_0x584be0,this[_0x130220(0x1fc)][_0x130220(0x15b)](_0x3e48e7,_0x584be0),this[_0x130220(0x2b3)]();}[_0xeb70cf(0x206)](){const _0x4f11a2=_0xeb70cf;this[_0x4f11a2(0x26d)][_0x4f11a2(0x2a8)]([_0x1ad367]),this[_0x4f11a2(0x26d)][_0x4f11a2(0x360)](_0x1ad367);let _0x28fbfd=this[_0x4f11a2(0x26d)],_0x58c74b=[[_0x19c057,{'useClass':_0x46657c}],[_0x46b74e,{'useClass':_0x1ca0a5}],[_0x36a856],[_0x114834],[_0x4ccea8],[_0xdc4924],[_0x34efc2],[_0x4a438d],[_0x355040],[_0x279d6d],[_0x4273c9]],_0x3ad168=[[_0xdc4924],[_0x4a438d],[_0x34efc2],[_0x4ccea8],[_0x19c057],[_0x355040],[_0x279d6d],[_0x4273c9]];this[_0x4f11a2(0x49e)][_0x4f11a2(0x3cf)]&&(_0x58c74b[_0x4f11a2(0x15c)]([_0x5bbc5e]),_0x3ad168[_0x4f11a2(0x15c)]([_0x5bbc5e])),_0x58c74b[_0x4f11a2(0x332)](_0xc916b9=>_0x28fbfd[_0x4f11a2(0x2a8)](_0xc916b9)),(0x0,_0x1e7325[_0x4f11a2(0x43a)])(this[_0x4f11a2(0x26d)],_0x3ad168);}[_0xeb70cf(0x327)](){const _0x1b033d=_0xeb70cf;var _0xf15374;(_0xf15374=this['_injector']['get'](_0xdc4924))==null||_0xf15374[_0x1b033d(0x1d1)]();}[_0xeb70cf(0x2b3)](){const _0x3eda49=_0xeb70cf;[_0x5cbb78,_0x512316,_0xe02a20,_0x336d65,_0x13aee6,_0x48776c,_0x2f1627][_0x3eda49(0x332)](_0x37b6b5=>this['disposeWithMe'](this[_0x3eda49(0x460)][_0x3eda49(0x250)](_0x37b6b5)));}};_0x1b6fbd(_0x321768,_0xeb70cf(0x3b3),_0x1e7325[_0xeb70cf(0x3b8)][_0xeb70cf(0x41f)]),_0x1b6fbd(_0x321768,_0xeb70cf(0x306),_0xeb70cf(0x416)),_0x1b6fbd(_0x321768,'packageName',_0x2a4915),_0x1b6fbd(_0x321768,'version',_0x362383),_0x321768=_0x6243e3([(0x0,_0x1e7325[_0xeb70cf(0x1bf)])(_0x4eff75['UniverLicensePlugin'],_0x39bdba[_0xeb70cf(0x255)],_0x4fef78[_0xeb70cf(0xf5)],_0x559364[_0xeb70cf(0x1c0)],_0x4dac75[_0xeb70cf(0x152)],_0x339b6e[_0xeb70cf(0x143)],_0x5979b3['UniverSheetsChartPlugin'],_0x398b93[_0xeb70cf(0x2c0)],_0x2ef923[_0xeb70cf(0x222)]),_0x16880b(0x1,(0x0,_0x1e7325['Inject'])(_0x1e7325[_0xeb70cf(0x459)])),_0x16880b(0x2,_0x1e7325[_0xeb70cf(0x475)]),_0x16880b(0x3,_0x1e7325[_0xeb70cf(0xd2)])],_0x321768),_0x44e059[_0xeb70cf(0x26a)]=_0x48776c,Object['defineProperty'](_0x44e059,_0xeb70cf(0x4a1),{'enumerable':!0x0,'get':function(){return _0x114834;}}),_0x44e059['ISheetsChartUIService']=_0x19c057,_0x44e059['SHEETS_CHART_UI_PLUGIN_CONFIG_KEY']=_0x3e48e7,Object[_0xeb70cf(0x4a8)](_0x44e059,_0xeb70cf(0x193),{'enumerable':!0x0,'get':function(){return _0xdc4924;}}),_0x44e059[_0xeb70cf(0x118)]=_0x3350dd,Object[_0xeb70cf(0x4a8)](_0x44e059,_0xeb70cf(0x35c),{'enumerable':!0x0,'get':function(){return _0x46657c;}}),Object[_0xeb70cf(0x4a8)](_0x44e059,_0xeb70cf(0x1d5),{'enumerable':!0x0,'get':function(){return _0x4dbce9;}}),Object['defineProperty'](_0x44e059,_0xeb70cf(0x416),{'enumerable':!0x0,'get':function(){return _0x321768;}}),_0x44e059['createChartElementPopupAnchorObserver']=_0x56dfb8;}));