@univerjs-pro/docs-chart-ui 1.0.0-beta.0 → 1.0.0-beta.2

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 (99) 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.css +28 -4
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/components/DocChartDataEditor.d.ts +6 -4
  63. package/lib/types/components/DocChartPreview.d.ts +3 -3
  64. package/lib/types/controllers/doc-chart-clipboard.controller.d.ts +4 -4
  65. package/lib/types/controllers/doc-chart-drawing-edit.controller.d.ts +2 -2
  66. package/lib/types/controllers/doc-chart-snapshot-refresh.controller.d.ts +3 -2
  67. package/lib/types/locale/en-US.d.ts +3 -0
  68. package/lib/types/services/chart-image-export-provider.d.ts +21 -0
  69. package/lib/types/services/doc-chart-active-render.service.d.ts +4 -0
  70. package/lib/types/services/doc-chart-data-edit.service.d.ts +8 -6
  71. package/lib/types/services/doc-chart-host.d.ts +4 -1
  72. package/lib/types/services/doc-chart-insert.service.d.ts +4 -3
  73. package/lib/types/services/doc-chart-print.service.d.ts +18 -5
  74. package/lib/types/services/doc-chart-render.service.d.ts +3 -3
  75. package/lib/types/services/doc-chart-snapshot-render.service.d.ts +6 -3
  76. package/lib/types/services/doc-chart-ui.service.d.ts +3 -3
  77. package/lib/types/views/print-chart/index.d.ts +1 -9
  78. package/lib/umd/index.js +1 -1
  79. package/lib/umd/locale/ar-SA.js +1 -1
  80. package/lib/umd/locale/ca-ES.js +1 -1
  81. package/lib/umd/locale/de-DE.js +1 -1
  82. package/lib/umd/locale/en-US.js +1 -1
  83. package/lib/umd/locale/es-ES.js +1 -1
  84. package/lib/umd/locale/fa-IR.js +1 -1
  85. package/lib/umd/locale/fr-FR.js +1 -1
  86. package/lib/umd/locale/id-ID.js +1 -1
  87. package/lib/umd/locale/it-IT.js +1 -1
  88. package/lib/umd/locale/ja-JP.js +1 -1
  89. package/lib/umd/locale/ko-KR.js +1 -1
  90. package/lib/umd/locale/pl-PL.js +1 -1
  91. package/lib/umd/locale/pt-BR.js +1 -1
  92. package/lib/umd/locale/ru-RU.js +1 -1
  93. package/lib/umd/locale/sk-SK.js +1 -1
  94. package/lib/umd/locale/vi-VN.js +1 -1
  95. package/lib/umd/locale/zh-CN.js +1 -1
  96. package/lib/umd/locale/zh-HK.js +1 -1
  97. package/lib/umd/locale/zh-TW.js +1 -1
  98. package/package.json +17 -17
  99. package/lib/types/utils/ChartPanelOptions.d.ts +0 -1
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x58124b,_0x13eab9){const _0xd18dc9=_0x5ef5,_0x1f3375=_0x58124b();while(!![]){try{const _0x2555e3=-parseInt(_0xd18dc9(0x379))/0x1+parseInt(_0xd18dc9(0x2cc))/0x2*(parseInt(_0xd18dc9(0x3e9))/0x3)+parseInt(_0xd18dc9(0x335))/0x4+parseInt(_0xd18dc9(0x2d0))/0x5+-parseInt(_0xd18dc9(0x2ae))/0x6*(-parseInt(_0xd18dc9(0x162))/0x7)+parseInt(_0xd18dc9(0x3d7))/0x8*(-parseInt(_0xd18dc9(0x2a7))/0x9)+-parseInt(_0xd18dc9(0x1dd))/0xa;if(_0x2555e3===_0x13eab9)break;else _0x1f3375['push'](_0x1f3375['shift']());}catch(_0x50548f){_0x1f3375['push'](_0x1f3375['shift']());}}}(_0x142f,0x1ea44),function(_0x596a3b,_0x5de7fe){const _0x37f8b4=_0x5ef5;typeof exports==_0x37f8b4(0x1a9)&&typeof module<'u'?_0x5de7fe(exports,require('@univerjs/core'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/design'),require('@univerjs/ui'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/docs-chart'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/docs-drawing'),require('@univerjs/docs-drawing-ui'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/drawing'),require('@univerjs/engine-render')):typeof define==_0x37f8b4(0x3c3)&&define[_0x37f8b4(0x3ef)]?define([_0x37f8b4(0x3b0),'@univerjs/core','@univerjs-pro/chart-ui',_0x37f8b4(0x3a0),'@univerjs/design',_0x37f8b4(0x3af),_0x37f8b4(0x345),_0x37f8b4(0x36c),_0x37f8b4(0x2b0),_0x37f8b4(0x414),'@univerjs/docs-ui',_0x37f8b4(0x321),_0x37f8b4(0x1f3),_0x37f8b4(0x382),_0x37f8b4(0x3f1),'@univerjs/drawing',_0x37f8b4(0x253)],_0x5de7fe):(_0x596a3b=typeof globalThis<'u'?globalThis:_0x596a3b||self,_0x5de7fe(_0x596a3b[_0x37f8b4(0x3b3)]={},_0x596a3b[_0x37f8b4(0x2cb)],_0x596a3b[_0x37f8b4(0x1fc)],_0x596a3b[_0x37f8b4(0x23b)],_0x596a3b[_0x37f8b4(0x417)],_0x596a3b[_0x37f8b4(0x2a5)],_0x596a3b['React'],_0x596a3b[_0x37f8b4(0x1a4)],_0x596a3b[_0x37f8b4(0x2fd)],_0x596a3b[_0x37f8b4(0x42c)],_0x596a3b[_0x37f8b4(0x17a)],_0x596a3b[_0x37f8b4(0x440)],_0x596a3b[_0x37f8b4(0x2d4)],_0x596a3b[_0x37f8b4(0x382)],_0x596a3b[_0x37f8b4(0x359)],_0x596a3b['UniverDrawing'],_0x596a3b[_0x37f8b4(0x1f6)]));}(this,function(_0x449ae5,_0xad9e6c,_0x268983,_0x112f7b,_0x2f2cfc,_0x59b7bc,_0x654dec,_0x4cf125,_0x4db172,_0x1a2389,_0x15f360,_0x2887db,_0x4b0bbc,_0x218e70,_0x18b76f,_0x1dcebe,_0x594bc0){const _0xe81a3d=_0x5ef5;Object['defineProperty'](_0x449ae5,Symbol[_0xe81a3d(0x2a2)],{'value':_0xe81a3d(0x426)});let _0x178d76={'id':_0xe81a3d(0x41f),'type':_0xad9e6c[_0xe81a3d(0x2f0)][_0xe81a3d(0x1b6)],'handler'(){return!0x0;}},_0x444347={'id':'doc.operation.open-doc-chart-editor-dialog','type':_0xad9e6c[_0xe81a3d(0x2f0)][_0xe81a3d(0x1b6)],'handler'(){return!0x0;}},_0x2b1362=_0xe81a3d(0x1ba),_0x48c5ea=function(_0x5a024a){const _0x228e01=_0xe81a3d;return _0x5a024a[_0x228e01(0x22e)]=_0x228e01(0x3de),_0x5a024a[_0x228e01(0x39e)]=_0x228e01(0x37b),_0x5a024a;}({});function _0x4b85b3(_0x2c5df5){const _0x34b8ca=_0xe81a3d;let _0x566e0b=(0x0,_0x59b7bc['useDependency'])(_0xad9e6c[_0x34b8ca(0x1e6)]),{values:_0x629895,sharingCount:_0x191194=0x1,onCancel:_0x533069,onChange:_0x446cf3,onSubmit:_0x52c647}=_0x2c5df5,[_0x53d6af,_0xe09c42]=(0x0,_0x654dec['useState'])(()=>_0x629895['map'](_0x1d4773=>[..._0x1d4773])),[_0x4cff54,_0x264eac]=(0x0,_0x654dec['useState'])(null),_0x5174ab=_0x191194>0x1,_0x394587=_0xfa4d50=>{_0xe09c42(_0xfa4d50),_0x446cf3==null||_0x446cf3(_0xfa4d50);},_0x51ae06=_0x3819a9=>{const _0x5a5f90=_0x34b8ca;let _0x341ff4=(0x0,_0x268983['compactInlineTableValues'])(_0x53d6af);if(_0x341ff4[_0x5a5f90(0x354)]===0x0){_0x264eac(_0x566e0b['t'](_0x5a5f90(0x341)));return;}_0x264eac(null),_0x52c647(_0x341ff4,_0x3819a9);};return(0x0,_0x4cf125[_0x34b8ca(0x211)])(_0x34b8ca(0x425),{'className':_0x34b8ca(0x263),'children':[(0x0,_0x4cf125[_0x34b8ca(0x303)])(_0x34b8ca(0x425),{'className':_0x34b8ca(0x2a4),'children':(0x0,_0x4cf125['jsx'])(_0x268983[_0x34b8ca(0x15e)],{'values':_0x53d6af,'parsePastedText':_0x112f7b[_0x34b8ca(0x29d)],'onChange':_0x394587})}),_0x4cff54&&(0x0,_0x4cf125[_0x34b8ca(0x303)])(_0x34b8ca(0x425),{'className':_0x34b8ca(0x3e1),'children':_0x4cff54}),(0x0,_0x4cf125[_0x34b8ca(0x211)])(_0x34b8ca(0x425),{'className':_0x34b8ca(0x1e2),'children':[_0x533069&&(0x0,_0x4cf125[_0x34b8ca(0x303)])(_0x2f2cfc['Button'],{'type':'button','variant':_0x34b8ca(0x2e2),'onClick':_0x533069,'children':_0x566e0b['t'](_0x34b8ca(0x38c))}),_0x5174ab&&(0x0,_0x4cf125['jsx'])(_0x2f2cfc[_0x34b8ca(0x290)],{'type':_0x34b8ca(0x292),'variant':_0x34b8ca(0x2e2),'onClick':()=>_0x51ae06(_0x34b8ca(0x37b)),'children':_0x566e0b['t'](_0x34b8ca(0x391))}),(0x0,_0x4cf125[_0x34b8ca(0x303)])(_0x2f2cfc['Button'],{'type':'button','variant':'primary','onClick':()=>_0x51ae06(_0x34b8ca(0x3de)),'children':_0x566e0b['t']('docs-chart-ui.common.apply')})]})]});}function _0x10b749(_0x334ed9,_0x46d42a){return function(_0x39a9cd,_0x251bde){_0x46d42a(_0x39a9cd,_0x251bde,_0x334ed9);};}function _0x5a448c(_0x3aa916,_0x1cf941,_0x387b6a,_0x250e89){const _0x6e9679=_0xe81a3d;var _0x5f5060=arguments[_0x6e9679(0x354)],_0x2fce9b=_0x5f5060<0x3?_0x1cf941:_0x250e89===null?_0x250e89=Object[_0x6e9679(0x434)](_0x1cf941,_0x387b6a):_0x250e89,_0x38c17a;if(typeof Reflect==_0x6e9679(0x1a9)&&typeof Reflect[_0x6e9679(0x1ae)]=='function')_0x2fce9b=Reflect['decorate'](_0x3aa916,_0x1cf941,_0x387b6a,_0x250e89);else{for(var _0xcddd7a=_0x3aa916['length']-0x1;_0xcddd7a>=0x0;_0xcddd7a--)(_0x38c17a=_0x3aa916[_0xcddd7a])&&(_0x2fce9b=(_0x5f5060<0x3?_0x38c17a(_0x2fce9b):_0x5f5060>0x3?_0x38c17a(_0x1cf941,_0x387b6a,_0x2fce9b):_0x38c17a(_0x1cf941,_0x387b6a))||_0x2fce9b);}return _0x5f5060>0x3&&_0x2fce9b&&Object[_0x6e9679(0x208)](_0x1cf941,_0x387b6a,_0x2fce9b),_0x2fce9b;}let _0x30d742=class{constructor(_0x14e5c5,_0xf058ea){const _0x553e24=_0xe81a3d;this[_0x553e24(0x34e)]=_0x14e5c5,this[_0x553e24(0x2dd)]=_0xf058ea;}[_0xe81a3d(0x32c)](_0x55dc4d,_0x393bff){const _0x41f828=_0xe81a3d;let _0x2404f7=this[_0x41f828(0x2dd)]['getChart'](_0x55dc4d,_0x393bff),_0x1b1138=_0x2404f7?this['_resourceService'][_0x41f828(0x26c)](_0x55dc4d,_0x2404f7[_0x41f828(0x195)]):void 0x0;return!_0x2404f7||!_0x1b1138?null:{'unitId':_0x55dc4d,'chartId':_0x393bff,'dataSourceId':_0x1b1138['id'],'values':_0x1b1138[_0x41f828(0x222)]['map'](_0x2c7f13=>[..._0x2c7f13]),'sharingCount':this[_0x41f828(0x2dd)]['getDataSourceSharingCount'](_0x55dc4d,_0x1b1138['id'])};}[_0xe81a3d(0x357)](_0x148b19,_0x20d9bf,_0x1e6ba,_0x2fe614){const _0xb18d4b=_0xe81a3d;let _0x4e2030=(0x0,_0x112f7b[_0xb18d4b(0x29d)])(_0x1e6ba);return _0x4e2030[_0xb18d4b(0x354)]!==0x0&&this['updateData'](_0x148b19,_0x20d9bf,_0x4e2030,_0x2fe614);}[_0xe81a3d(0x237)](_0x157324,_0x41920b,_0x19dd06,_0x2a38dc){const _0x4785c1=_0xe81a3d;var _0x553f38;let _0x541fa2=this['getEditorState'](_0x157324,_0x41920b);if(!_0x541fa2||_0x19dd06[_0x4785c1(0x354)]===0x0)return!0x1;let _0x6265b=(_0x553f38=this['_resourceService'][_0x4785c1(0x3ed)](_0x157324,_0x41920b))==null?void 0x0:_0x553f38[_0x4785c1(0x3f5)];if(_0x6265b===void 0x0)return!0x1;let _0x1c4a73=(0x0,_0x268983[_0x4785c1(0x189)])(_0x6265b,_0x19dd06);if(!_0x1c4a73['ok'])return!0x1;let _0x3b3f60=_0x541fa2[_0x4785c1(0x195)];if(_0x2a38dc===_0x4785c1(0x37b)&&_0x541fa2[_0x4785c1(0x411)]>0x1){if(!this['_commandService'][_0x4785c1(0x1d7)](_0x4db172[_0x4785c1(0x2b2)]['id'],{'unitId':_0x157324,'chartId':_0x41920b}))return!0x1;let _0x15a3e0=this[_0x4785c1(0x2dd)]['getChart'](_0x157324,_0x41920b);if(!_0x15a3e0)return!0x1;_0x3b3f60=_0x15a3e0['dataSourceId'];}return this[_0x4785c1(0x34e)][_0x4785c1(0x1d7)](_0x4db172[_0x4785c1(0x28d)]['id'],{'unitId':_0x157324,'dataSourceId':_0x3b3f60,'values':_0x1c4a73[_0x4785c1(0x222)]});}};_0x30d742=_0x5a448c([_0x10b749(0x0,_0xad9e6c[_0xe81a3d(0x1b1)]),_0x10b749(0x1,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x4db172[_0xe81a3d(0x31a)]))],_0x30d742);let _0x5db0a4=(0x0,_0xad9e6c[_0xe81a3d(0x2e8)])('doc-chart.ui.service'),_0x213c53=class extends _0x268983[_0xe81a3d(0x37e)]{constructor(_0x1dc4b0,_0x1a933c,_0x3eea73){const _0x2e5d39=_0xe81a3d;super(_0x3eea73),this[_0x2e5d39(0x269)]=_0x1dc4b0,this[_0x2e5d39(0x34e)]=_0x1a933c;}get['activeRuntimeModel'](){const _0x38213d=_0xe81a3d;return this[_0x38213d(0x269)][_0x38213d(0x245)];}[_0xe81a3d(0x2c1)](_0x4bf071){const _0x48ec6e=_0xe81a3d;let _0x168d8e=this['activeRuntimeModel'],_0x1b0153=_0x4bf071[_0x48ec6e(0x25f)]??(_0x168d8e==null?void 0x0:_0x168d8e[_0x48ec6e(0x25f)]),_0x27ffbb=_0x4bf071['chartId']??(_0x168d8e==null?void 0x0:_0x168d8e[_0x48ec6e(0x2f4)]);!_0x1b0153||!_0x27ffbb||this['_commandService'][_0x48ec6e(0x1a8)](_0x4db172[_0x48ec6e(0x170)]['id'],{..._0x4bf071,'unitId':_0x1b0153,'chartId':_0x27ffbb});}};_0x213c53=_0x5a448c([_0x10b749(0x0,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x4db172[_0xe81a3d(0x35a)])),_0x10b749(0x1,_0xad9e6c[_0xe81a3d(0x1b1)]),_0x10b749(0x2,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x268983['ChartViewStateRegistry']))],_0x213c53);let _0x3a79d4={'axis':{..._0x268983[_0xe81a3d(0x38b)],'primaryGridLineVisible':!0x0,'secondaryGridLineVisible':!0x0},'legend':_0x268983[_0xe81a3d(0x28c)],'lineAndArea':_0x268983[_0xe81a3d(0x360)],'pareto':_0x268983[_0xe81a3d(0x18b)],'funnel':_0x268983[_0xe81a3d(0x17f)],'heatmap':_0x268983[_0xe81a3d(0x400)],'indicatorLine':_0x268983[_0xe81a3d(0x316)],'pie':{..._0x268983['DEFAULT_CHART_PIE_VALUES'],'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0x268983[_0xe81a3d(0x1b4)],'useValueAsSymbolSize':!0x1},'radar':_0x268983[_0xe81a3d(0x3d6)],'series':{..._0x268983['DEFAULT_CHART_SERIES_VALUES'],'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x268983[_0xe81a3d(0x247)],'titles':_0x268983['DEFAULT_CHART_TITLE_VALUES'],'waterfall':{..._0x268983[_0xe81a3d(0x2a0)],'useSubtotal':!0x0},'waterfallStyle':_0x268983[_0xe81a3d(0x2f1)],'wordCloud':_0x268983[_0xe81a3d(0x339)]},_0x5246a8=[_0x112f7b[_0xe81a3d(0x1d0)]['Candlestick'],_0x112f7b[_0xe81a3d(0x1d0)]['Histogram'],_0x112f7b['ChartTypeBits'][_0xe81a3d(0x40c)],_0x112f7b['ChartTypeBits'][_0xe81a3d(0x21e)],_0x112f7b['ChartTypeBits'][_0xe81a3d(0x3e5)],_0x112f7b[_0xe81a3d(0x1d0)][_0xe81a3d(0x26e)]];function _0x1a2f71(){const _0x5dfd98=_0xe81a3d;let _0x4f3dab=(0x0,_0x268983[_0x5dfd98(0x196)])();return(0x0,_0x4cf125[_0x5dfd98(0x303)])(_0x268983[_0x5dfd98(0x2f7)],{'visible':_0x5246a8[_0x5dfd98(0x348)](_0x3d3868=>!_0x112f7b[_0x5dfd98(0x2e6)][_0x5dfd98(0x347)](_0x4f3dab,_0x3d3868))});}function _0x385211(_0x40c383){const _0x4abeb7=_0xe81a3d;return(0x0,_0x4cf125['jsxs'])(_0x268983[_0x4abeb7(0x271)],{'id':_0x40c383['id'],'children':[(0x0,_0x4cf125[_0x4abeb7(0x303)])(_0x268983[_0x4abeb7(0x3f9)],{'children':_0x40c383[_0x4abeb7(0x2ef)]}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x4abeb7(0x2a8)],{'children':_0x40c383['children']})]});}function _0x21b076(_0x3913d3,_0x5a63ab=!0x1){const _0x5e3b2c=_0xe81a3d;let _0x293719=_0x3913d3===_0x112f7b['ChartTypeBits'][_0x5e3b2c(0x363)],_0x18cd4d=_0x112f7b[_0x5e3b2c(0x2e6)][_0x5e3b2c(0x347)](_0x3913d3,_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x2ea)]),_0x56a80b=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x161)],_0x53a4eb=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x2de)],_0x55f623=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x30b)],_0x3c86ab=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x17b)],_0x23a9a3=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x238)],_0x5539ac=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x178)],_0x12574a=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)]['Treemap'],_0x363592=_0x3913d3===_0x112f7b['ChartTypeBits'][_0x5e3b2c(0x21e)],_0x4826f7=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x3e5)],_0x56ce87=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x26e)],_0xec71a1=_0x3913d3===_0x112f7b['ChartTypeBits'][_0x5e3b2c(0x43d)],_0x130de0=_0x3913d3===_0x112f7b[_0x5e3b2c(0x1d0)][_0x5e3b2c(0x3a3)],_0x40d8f0=[_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x28e)],_0x268983['ChartEditPanelSection'][_0x5e3b2c(0x264)]];return _0x293719&&_0x40d8f0['push'](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x363)]),(0x0,_0x268983[_0x5e3b2c(0x3ca)])(_0x3913d3,_0x268983[_0x5e3b2c(0x18f)]['GeneralSeries'])&&!_0x3c86ab&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x31b)]),(0x0,_0x268983[_0x5e3b2c(0x25c)])(_0x3913d3)&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x3a5)]),_0x56a80b&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x161)]),_0x55f623&&_0x40d8f0['push'](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x2f2)]),_0x3c86ab&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x248)],_0x268983[_0x5e3b2c(0x226)]['ParetoLineSeries']),_0x18cd4d&&_0x40d8f0['push'](_0x268983[_0x5e3b2c(0x226)]['PieStyle']),_0x53a4eb&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x2de)]),_0x130de0&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x3a3)]),_0xec71a1&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)]['Relation']),_0x23a9a3&&_0x40d8f0['push'](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x238)]),_0x5539ac&&_0x40d8f0['push'](_0x268983['ChartEditPanelSection']['Histogram']),_0x12574a&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983['ChartEditPanelSection'][_0x5e3b2c(0x40c)]),_0x363592&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)]['Sunburst']),_0x4826f7&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x3e5)]),_0x56ce87&&_0x40d8f0['push'](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x26e)]),(0x0,_0x268983[_0x5e3b2c(0x3ca)])(_0x3913d3,_0x268983['ChartEditorCapability'][_0x5e3b2c(0x251)])&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x251)]),(0x0,_0x268983[_0x5e3b2c(0x3ca)])(_0x3913d3,_0x268983[_0x5e3b2c(0x18f)]['Axes'])&&(_0x40d8f0['push'](_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x256)],_0x268983[_0x5e3b2c(0x226)][_0x5e3b2c(0x3ac)]),_0x5a63ab&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983['ChartEditPanelSection'][_0x5e3b2c(0x194)]),_0x40d8f0['push'](_0x268983['ChartEditPanelSection'][_0x5e3b2c(0x422)])),(0x0,_0x268983[_0x5e3b2c(0x3ca)])(_0x3913d3,_0x268983[_0x5e3b2c(0x18f)][_0x5e3b2c(0x270)])&&_0x40d8f0[_0x5e3b2c(0x373)](_0x268983[_0x5e3b2c(0x226)]['IndicatorLine']),_0x40d8f0;}function _0x4c969a(_0x18e4b2){const _0x3631e6=_0xe81a3d;return(0x0,_0x4cf125[_0x3631e6(0x211)])(_0x3631e6(0x425),{'className':_0x3631e6(0x3d0),'children':[(0x0,_0x4cf125['jsx'])(_0x268983[_0x3631e6(0x16d)],{'axis':_0x18e4b2[_0x3631e6(0x3f0)],'defaultValues':_0x3a79d4['axis']}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x3631e6(0x219)],{'axis':_0x18e4b2[_0x3631e6(0x3f0)],'defaultValues':_0x3a79d4['axis']}),(0x0,_0x4cf125[_0x3631e6(0x303)])(_0x268983['ChartAxisReverseField'],{'axis':_0x18e4b2[_0x3631e6(0x3f0)],'defaultValues':_0x3a79d4[_0x3631e6(0x3f0)]}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x3631e6(0x1a6)],{'axis':_0x18e4b2[_0x3631e6(0x3f0)]}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x3631e6(0x2f6)],{'axis':_0x18e4b2['axis']}),(0x0,_0x4cf125[_0x3631e6(0x303)])(_0x268983[_0x3631e6(0x393)],{'axis':_0x18e4b2[_0x3631e6(0x3f0)],'defaultValues':_0x3a79d4[_0x3631e6(0x3f0)]}),(0x0,_0x4cf125[_0x3631e6(0x303)])(_0x268983[_0x3631e6(0x19b)],{'axis':_0x18e4b2['axis'],'defaultValues':_0x3a79d4[_0x3631e6(0x3f0)]})]});}function _0x4e8465(_0x2b2bc){const _0x2872df=_0xe81a3d;var _0x241605,_0x3444ee;let _0x5aac3a=(0x0,_0x59b7bc[_0x2872df(0x332)])(_0xad9e6c[_0x2872df(0x1e6)]),_0x1d78e7=(0x0,_0x268983['useChartEditorChartType'])(),_0x11fde2=(0x0,_0x268983['useChartEditorHasRightAxis'])(),[_0x82c25c,_0x1aeb2b]=(0x0,_0x654dec[_0x2872df(0x3c9)])(null),_0x5e0b27=(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x2db)],{}),_0x3913c9={[_0x268983[_0x2872df(0x226)][_0x2872df(0x238)]]:_0x5aac3a['t'](_0x2872df(0x3d5)),[_0x268983['ChartEditPanelSection'][_0x2872df(0x264)]]:_0x5aac3a['t'](_0x2872df(0x22b)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x28e)]]:_0x5aac3a['t'](_0x2872df(0x22a)),[_0x268983[_0x2872df(0x226)]['Chord']]:_0x5aac3a['t'](_0x2872df(0x287)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x2de)]]:_0x5aac3a['t'](_0x2872df(0x3a7)),[_0x268983['ChartEditPanelSection'][_0x2872df(0x3e5)]]:_0x5aac3a['t'](_0x2872df(0x32f)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x422)]]:_0x5aac3a['t'](_0x2872df(0x2c7)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x3a3)]]:_0x5aac3a['t']('docs-chart-ui.common.heatmap'),[_0x268983['ChartEditPanelSection']['Histogram']]:_0x5aac3a['t'](_0x2872df(0x24f)),[_0x268983[_0x2872df(0x226)]['HorizontalAxis']]:_0x5aac3a['t'](_0x2872df(0x220)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x270)]]:_0x5aac3a['t']('docs-chart-ui.section.indicatorLine'),[_0x268983[_0x2872df(0x226)][_0x2872df(0x251)]]:_0x5aac3a['t'](_0x2872df(0x3c0)),[_0x268983['ChartEditPanelSection']['LineAndArea']]:_0x5aac3a['t'](_0x2872df(0x3bf)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x248)]]:_0x5aac3a['t'](_0x2872df(0x20f)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x308)]]:_0x5aac3a['t'](_0x2872df(0x3a1)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x293)]]:_0x5aac3a['t']('docs-chart-ui.section.pie'),[_0x268983['ChartEditPanelSection'][_0x2872df(0x161)]]:_0x5aac3a['t']('docs-chart-ui.section.radar'),[_0x268983['ChartEditPanelSection'][_0x2872df(0x43d)]]:_0x5aac3a['t'](_0x2872df(0x3dc)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x194)]]:_0x5aac3a['t'](_0x2872df(0x2b7)),[_0x268983[_0x2872df(0x226)]['Series']]:_0x5aac3a['t']('docs-chart-ui.common.series'),[_0x268983['ChartEditPanelSection'][_0x2872df(0x21e)]]:_0x5aac3a['t'](_0x2872df(0x376)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x40c)]]:_0x5aac3a['t'](_0x2872df(0x398)),[_0x268983['ChartEditPanelSection']['Trendline']]:_0x5aac3a['t'](_0x2872df(0x1bb)),[_0x268983[_0x2872df(0x226)]['VerticalAxis']]:_0x5aac3a['t'](_0x2872df(0x1f8)),[_0x268983[_0x2872df(0x226)][_0x2872df(0x2f2)]]:_0x5aac3a['t']('docs-chart-ui.section.waterfall'),[_0x268983[_0x2872df(0x226)][_0x2872df(0x363)]]:_0x5aac3a['t']('docs-chart-ui.section.wordCloud')};(0x0,_0x654dec['useEffect'])(()=>{const _0x2296e6=_0x2872df;var _0x81f303;(_0x81f303=_0x2b2bc[_0x2296e6(0x23d)])!=null&&_0x81f303['section']&&_0x1aeb2b(_0x2b2bc['route'][_0x2296e6(0x203)]);},[_0x2b2bc['route']]);let _0x10766c={[_0x268983[_0x2872df(0x226)][_0x2872df(0x28e)]]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x210)],{'defaultValues':_0x3a79d4[_0x2872df(0x30c)],'showBodyFont':!0x1,'children':(0x0,_0x4cf125[_0x2872df(0x303)])(_0x1a2f71,{})}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x264)]]:(0x0,_0x4cf125['jsxs'])('div',{'className':_0x2872df(0x3d0),'children':[(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x42d)],{'commitMode':_0x2872df(0x23e),'defaultValues':_0x3a79d4['titles'],'showFont':!0x1}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x3eb)],{'commitMode':_0x2872df(0x23e),'defaultValues':_0x3a79d4[_0x2872df(0x183)],'showFont':!0x1}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983['ChartAxisTitleFields'],{'axis':'x','commitMode':'change','defaultValues':_0x3a79d4[_0x2872df(0x183)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x2872df(0x301)],{'axis':'y','commitMode':_0x2872df(0x23e),'defaultValues':_0x3a79d4['titles'],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x301)],{'axis':_0x2872df(0x1d4),'commitMode':_0x2872df(0x23e),'defaultValues':_0x3a79d4[_0x2872df(0x183)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x2872df(0x2e1)],{'defaultValues':_0x3a79d4[_0x2872df(0x183)]})]}),[_0x268983['ChartEditPanelSection'][_0x2872df(0x31b)]]:(0x0,_0x4cf125[_0x2872df(0x211)])(_0x268983[_0x2872df(0x409)],{'defaultValues':_0x3a79d4['series'],'NumberFormatField':_0x268983[_0x2872df(0x1de)],'selectedSeriesId':(_0x241605=_0x2b2bc[_0x2872df(0x23d)])==null?void 0x0:_0x241605[_0x2872df(0x16a)],'children':[(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x35b)],{}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x3ee)],{'showColor':!0x1,'showOpacity':!0x1}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x3d8)],{'showColor':!0x1}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x3bd)],{}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x3c7)],{}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x312)],{})]}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x3a5)]]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x41e)],{'defaultValues':_0x3a79d4[_0x2872df(0x1a0)],'lineStyleControl':'select'}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x363)]]:(0x0,_0x4cf125[_0x2872df(0x211)])(_0x268983[_0x2872df(0x353)],{'children':[(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x366)],{'defaultValues':_0x3a79d4[_0x2872df(0x164)]}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x2872df(0x25e)],{'defaultValues':_0x3a79d4[_0x2872df(0x164)]})]}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x161)]]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x2ac)],{'defaultValues':_0x3a79d4[_0x2872df(0x3f6)]}),[_0x268983['ChartEditPanelSection']['WaterfallSeries']]:(0x0,_0x4cf125['jsx'])(_0x268983[_0x2872df(0x41a)],{'defaultValues':_0x3a79d4[_0x2872df(0x2ab)],'NumberFormatField':_0x268983['ChartNumberFormatTextField'],'selectedSeriesId':(_0x3444ee=_0x2b2bc['route'])==null?void 0x0:_0x3444ee['seriesId']}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x248)]]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x2ed)],{'defaultValues':_0x3a79d4[_0x2872df(0x2b8)],'NumberFormatField':_0x268983[_0x2872df(0x1de)],'showDataPointEditor':!0x0,'target':_0x2872df(0x26a)}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x308)]]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x2ed)],{'defaultValues':_0x3a79d4['pareto'],'NumberFormatField':_0x268983[_0x2872df(0x1de)],'showDataPointEditor':!0x0,'target':_0x2872df(0x2b4)}),[_0x268983[_0x2872df(0x226)]['PieStyle']]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x3fc)],{'defaultValues':_0x3a79d4[_0x2872df(0x2bc)],'NumberFormatField':_0x268983[_0x2872df(0x1de)]}),[_0x268983[_0x2872df(0x226)]['Funnel']]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x40f)],{'defaultValues':_0x3a79d4[_0x2872df(0x1e8)],'gapControl':'number'}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x3a3)]]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x230)],{'defaultValues':_0x3a79d4[_0x2872df(0x336)]}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x43d)]]:(0x0,_0x4cf125['jsx'])(_0x268983[_0x2872df(0x2d7)],{'defaultValues':_0x3a79d4[_0x2872df(0x1ec)]}),[_0x268983[_0x2872df(0x226)]['Legend']]:(0x0,_0x4cf125['jsx'])(_0x268983['ChartLegendRoot'],{'defaultValues':_0x3a79d4[_0x2872df(0x3c2)],'children':(0x0,_0x4cf125[_0x2872df(0x211)])('div',{'className':_0x2872df(0x3d0),'children':[(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x2e0)],{}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983['ChartLegendWrapField'],{}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x2872df(0x324)],{}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x283)],{})]})}),[_0x268983['ChartEditPanelSection'][_0x2872df(0x256)]]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x4c969a,{'axis':'x'}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x3ac)]]:(0x0,_0x4cf125[_0x2872df(0x303)])(_0x4c969a,{'axis':'y'}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x194)]]:(0x0,_0x4cf125['jsx'])(_0x4c969a,{'axis':'rightY'}),[_0x268983[_0x2872df(0x226)][_0x2872df(0x422)]]:(0x0,_0x4cf125[_0x2872df(0x211)])(_0x2872df(0x425),{'className':_0x2872df(0x412),'children':[(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x392)],{'axis':'x','defaultValues':_0x3a79d4[_0x2872df(0x3f0)],'label':_0x5aac3a['t']('docs-chart-ui.common.horizontalAxis')}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x2872df(0x392)],{'axis':'y','defaultValues':_0x3a79d4[_0x2872df(0x3f0)],'label':_0x5aac3a['t'](_0x2872df(0x1f8))}),(0x0,_0x4cf125[_0x2872df(0x211)])(_0x2872df(0x425),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':[(0x0,_0x4cf125['jsx'])(_0x268983[_0x2872df(0x2f5)],{'axis':'x','defaultValues':_0x3a79d4[_0x2872df(0x3f0)]}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x2f5)],{'axis':'y','defaultValues':_0x3a79d4['axis']})]})]}),[_0x268983['ChartEditPanelSection'][_0x2872df(0x270)]]:(0x0,_0x4cf125[_0x2872df(0x211)])(_0x2872df(0x425),{'className':_0x2872df(0x412),'children':[(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x37f)],{'defaultValues':_0x3a79d4[_0x2872df(0x224)]}),(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983['ChartIndicatorLineTypeField'],{'defaultValues':_0x3a79d4['indicatorLine']})]}),[_0x268983['ChartEditPanelSection'][_0x2872df(0x238)]]:_0x5e0b27,[_0x268983[_0x2872df(0x226)][_0x2872df(0x178)]]:_0x5e0b27,[_0x268983[_0x2872df(0x226)][_0x2872df(0x40c)]]:_0x5e0b27,[_0x268983[_0x2872df(0x226)][_0x2872df(0x21e)]]:_0x5e0b27,[_0x268983[_0x2872df(0x226)][_0x2872df(0x3e5)]]:_0x5e0b27,[_0x268983[_0x2872df(0x226)]['Chord']]:_0x5e0b27};return(0x0,_0x4cf125[_0x2872df(0x303)])(_0x268983[_0x2872df(0x3ae)],{'value':_0x82c25c,'onChange':_0x1aeb2b,'children':_0x21b076(_0x1d78e7,_0x11fde2)[_0x2872df(0x2c4)](_0x2217a9=>(0x0,_0x4cf125[_0x2872df(0x303)])(_0x385211,{'id':_0x2217a9,'label':_0x3913c9[_0x2217a9],'children':_0x10766c[_0x2217a9]},_0x2217a9))});}function _0x2b280d(_0x13d52d){const _0x58626e=_0xe81a3d;var _0x46f677;let _0x5740e9=(0x0,_0x59b7bc[_0x58626e(0x332)])(_0xad9e6c[_0x58626e(0x1e6)]),[_0x51429f,_0x76375]=(0x0,_0x654dec[_0x58626e(0x3c9)])(((_0x46f677=_0x13d52d[_0x58626e(0x20a)])==null?void 0x0:_0x46f677['tab'])??_0x268983[_0x58626e(0x32a)][_0x58626e(0x273)]),_0x57ae31=(0x0,_0x654dec[_0x58626e(0x20d)])(()=>(0x0,_0x268983[_0x58626e(0x352)])(_0x268983[_0x58626e(0x1cc)]['map'](_0x450a71=>({..._0x450a71,'label':_0x5740e9['t']('docs-chart-ui.chartTypes.'+_0x450a71[_0x58626e(0x41d)])}))),[_0x5740e9]);return(0x0,_0x654dec[_0x58626e(0x3df)])(()=>{const _0x58f28f=_0x58626e;var _0x427e40;(_0x427e40=_0x13d52d[_0x58f28f(0x20a)])!=null&&_0x427e40[_0x58f28f(0x206)]&&_0x76375(_0x13d52d['initialRoute'][_0x58f28f(0x206)]);},[_0x13d52d[_0x58626e(0x20a)]]),(0x0,_0x4cf125[_0x58626e(0x211)])(_0x58626e(0x425),{'className':_0x58626e(0x1ed),'children':[(0x0,_0x4cf125[_0x58626e(0x303)])(_0x268983['ChartEditPanelTabs'],{'ariaLabel':_0x5740e9['t'](_0x58626e(0x157)),'className':_0x58626e(0x32d),'items':[{'label':_0x5740e9['t'](_0x58626e(0x15d)),'panelId':_0x367d49,'value':_0x268983[_0x58626e(0x32a)][_0x58626e(0x273)]},{'label':_0x5740e9['t'](_0x58626e(0x327)),'panelId':_0x4cb176,'value':_0x268983[_0x58626e(0x32a)]['Style']}],'value':_0x51429f,'onChange':_0x76375}),_0x51429f===_0x268983[_0x58626e(0x32a)]['Data']?(0x0,_0x4cf125[_0x58626e(0x303)])(_0x268983[_0x58626e(0x155)],{'id':_0x367d49,'label':_0x5740e9['t'](_0x58626e(0x15d)),'children':(0x0,_0x4cf125[_0x58626e(0x211)])(_0x58626e(0x425),{'className':_0x58626e(0x2d5),'children':[(0x0,_0x4cf125[_0x58626e(0x303)])(_0x268983[_0x58626e(0x298)],{'options':_0x57ae31,'onChange':_0x13d52d[_0x58626e(0x19e)]}),(0x0,_0x4cf125[_0x58626e(0x303)])(_0x268983['ChartTypeSpecificSetupSection'],{}),(0x0,_0x4cf125[_0x58626e(0x303)])(_0x268983[_0x58626e(0x26b)],{}),(0x0,_0x4cf125[_0x58626e(0x303)])(_0x1a2f71,{}),(0x0,_0x4cf125['jsx'])(_0x268983[_0x58626e(0x334)],{}),(0x0,_0x4cf125[_0x58626e(0x211)])('div',{'children':[(0x0,_0x4cf125[_0x58626e(0x303)])(_0x268983[_0x58626e(0x276)],{'title':_0x5740e9['t'](_0x58626e(0x310))}),(0x0,_0x4cf125[_0x58626e(0x303)])(_0x2f2cfc['Button'],{'className':_0x58626e(0x171),'onClick':_0x13d52d[_0x58626e(0x3d2)],'children':_0x5740e9['t'](_0x58626e(0x330))})]}),(0x0,_0x4cf125[_0x58626e(0x303)])(_0x268983[_0x58626e(0x2b5)],{}),(0x0,_0x4cf125[_0x58626e(0x303)])(_0x268983[_0x58626e(0x1ee)],{}),(0x0,_0x4cf125[_0x58626e(0x303)])(_0x268983[_0x58626e(0x2c2)],{'defaultValues':_0x3a79d4[_0x58626e(0x1eb)]})]})}):(0x0,_0x4cf125['jsx'])(_0x268983[_0x58626e(0x155)],{'id':_0x4cb176,'label':_0x5740e9['t'](_0x58626e(0x327)),'children':(0x0,_0x4cf125['jsx'])(_0x4e8465,{'route':_0x13d52d[_0x58626e(0x20a)]})}),_0x13d52d[_0x58626e(0x1a5)]&&(0x0,_0x4cf125[_0x58626e(0x303)])('div',{'className':_0x58626e(0x3d9),'children':(0x0,_0x4cf125[_0x58626e(0x303)])(_0x2f2cfc['Button'],{'type':_0x58626e(0x292),'variant':_0x58626e(0x2e2),'onClick':_0x13d52d['onClose'],'children':_0x5740e9['t'](_0x58626e(0x24b))})})]});}let _0x367d49='doc-chart-setup-panel',_0x4cb176=_0xe81a3d(0x35c);function _0x3b4486(_0x23308e){'@babel/helpers - typeof';const _0x1105fc=_0xe81a3d;return _0x3b4486=typeof Symbol=='function'&&typeof Symbol[_0x1105fc(0x2e7)]==_0x1105fc(0x1bf)?function(_0x47ecca){return typeof _0x47ecca;}:function(_0x52a967){const _0x17f6e1=_0x1105fc;return _0x52a967&&typeof Symbol==_0x17f6e1(0x3c3)&&_0x52a967['constructor']===Symbol&&_0x52a967!==Symbol[_0x17f6e1(0x385)]?_0x17f6e1(0x1bf):typeof _0x52a967;},_0x3b4486(_0x23308e);}function _0x5403cb(_0x3af5a8,_0x1fc893){const _0x2f674b=_0xe81a3d;if(_0x3b4486(_0x3af5a8)!=_0x2f674b(0x1a9)||!_0x3af5a8)return _0x3af5a8;var _0x37f650=_0x3af5a8[Symbol[_0x2f674b(0x399)]];if(_0x37f650!==void 0x0){var _0x426833=_0x37f650['call'](_0x3af5a8,_0x1fc893||_0x2f674b(0x2e2));if(_0x3b4486(_0x426833)!=_0x2f674b(0x1a9))return _0x426833;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1fc893===_0x2f674b(0x295)?String:Number)(_0x3af5a8);}function _0x57d034(_0xe99846){const _0x4e2e27=_0xe81a3d;var _0x3d4c91=_0x5403cb(_0xe99846,_0x4e2e27(0x295));return _0x3b4486(_0x3d4c91)==_0x4e2e27(0x1bf)?_0x3d4c91:_0x3d4c91+'';}function _0x2845e9(_0x1bb073,_0x5f30e8,_0x471c84){return(_0x5f30e8=_0x57d034(_0x5f30e8))in _0x1bb073?Object['defineProperty'](_0x1bb073,_0x5f30e8,{'value':_0x471c84,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1bb073[_0x5f30e8]=_0x471c84,_0x1bb073;}var _0x1dfe24=class extends _0xad9e6c[_0xe81a3d(0x1ff)]{constructor(_0x290df0,_0x75e587,_0x3fae3b,_0x255f83,_0x541d29=!0x0){const _0x9f4ee9=_0xe81a3d;super(),this['chartId']=_0x290df0,this[_0x9f4ee9(0x31c)]=_0x75e587,this[_0x9f4ee9(0x361)]=_0x3fae3b,this[_0x9f4ee9(0x191)]=_0x255f83,this[_0x9f4ee9(0x2a1)]=_0x541d29,_0x2845e9(this,_0x9f4ee9(0x1d3),_0x112f7b[_0x9f4ee9(0x30d)][_0x9f4ee9(0x3d1)]),_0x2845e9(this,_0x9f4ee9(0x29b),null),_0x2845e9(this,_0x9f4ee9(0x427),{});}[_0xe81a3d(0x2d6)](){const _0x3423bd=_0xe81a3d;var _0x471417;let _0xa087ff=(_0x471417=this['_getRenderRect'])==null?void 0x0:_0x471417[_0x3423bd(0x322)](this);if(_0xa087ff)return{'width':Math[_0x3423bd(0x337)](0x1,_0xa087ff[_0x3423bd(0x25b)]),'height':Math[_0x3423bd(0x337)](0x1,_0xa087ff[_0x3423bd(0x326)])};let _0x46ca25=this[_0x3423bd(0x31c)][_0x3423bd(0x261)]();return{'width':Math[_0x3423bd(0x337)](0x1,_0x46ca25[_0x3423bd(0x25b)]),'height':Math[_0x3423bd(0x337)](0x1,_0x46ca25[_0x3423bd(0x326)])};}[_0xe81a3d(0x229)](_0x3f49fe){const _0x18cd73=_0xe81a3d;this['_hostStyle']=_0x3f49fe,this[_0x18cd73(0x361)](this[_0x18cd73(0x31c)],_0x3f49fe);}async[_0xe81a3d(0x370)](){const _0x62adf6=_0xe81a3d;if(!this[_0x62adf6(0x29b)]){let _0x2f3e1f=document['createElement'](_0x62adf6(0x425));_0x2f3e1f[_0x62adf6(0x30c)][_0x62adf6(0x2b1)]=_0x62adf6(0x217),_0x2f3e1f[_0x62adf6(0x30c)][_0x62adf6(0x304)]='0',_0x2f3e1f[_0x62adf6(0x30c)]['boxSizing']='content-box',_0x2f3e1f[_0x62adf6(0x30c)]['overflow']=_0x62adf6(0x22d),_0x2f3e1f['className']=_0x62adf6(0x173),this['_mountNode']=_0x2f3e1f,this['_host'][_0x62adf6(0x167)](_0x2f3e1f);}return this[_0x62adf6(0x25a)](),this[_0x62adf6(0x29b)];}[_0xe81a3d(0x277)](){const _0x21b4e2=_0xe81a3d;return!!(this[_0x21b4e2(0x29b)]&&this['_host']['contains'](this[_0x21b4e2(0x29b)]));}['syncLayout'](){const _0x2fc54f=_0xe81a3d;let _0x54446f=this[_0x2fc54f(0x2d6)]();this['_manageHostSize']&&this[_0x2fc54f(0x43e)](this[_0x2fc54f(0x31c)],_0x54446f),this[_0x2fc54f(0x29b)]&&this[_0x2fc54f(0x43e)](this[_0x2fc54f(0x29b)],this[_0x2fc54f(0x3b5)](_0x54446f));}[_0xe81a3d(0x413)](){}[_0xe81a3d(0x235)](){}[_0xe81a3d(0x1fb)](){const _0x273504=_0xe81a3d;var _0x1f4295;(_0x1f4295=this['_mountNode'])==null||_0x1f4295['remove'](),this[_0x273504(0x29b)]=null,super['dispose']();}[_0xe81a3d(0x43e)](_0x385068,_0x5322d8){const _0x3a0acd=_0xe81a3d;_0x385068[_0x3a0acd(0x30c)][_0x3a0acd(0x25b)]=_0x5322d8[_0x3a0acd(0x25b)]+'px',_0x385068[_0x3a0acd(0x30c)][_0x3a0acd(0x326)]=_0x5322d8[_0x3a0acd(0x326)]+'px';}[_0xe81a3d(0x3b5)](_0xde8f07){const _0x314cae=_0xe81a3d;if(!(0x0,_0x112f7b[_0x314cae(0x1bd)])(this[_0x314cae(0x427)]))return _0xde8f07;let _0x34b2ff=(0x0,_0x112f7b[_0x314cae(0x36f)])(_0xde8f07,this[_0x314cae(0x427)]);return{'width':_0x34b2ff[_0x314cae(0x25b)],'height':_0x34b2ff['height']};}};function _0x5ba91f(_0x5bd4e5){const _0x4d1512=_0xe81a3d;var _0x5c261f;let _0x41950a=(_0x5c261f=_0x5bd4e5[_0x4d1512(0x3b7)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x5c261f[0x1];if(_0x41950a){let _0x27c2c8=_0x41950a[_0x4d1512(0x354)]===0x3?_0x41950a[_0x4d1512(0x3d3)]('')['map'](_0x52620a=>''+_0x52620a+_0x52620a)[_0x4d1512(0x319)](''):_0x41950a;return'rgb('+Number[_0x4d1512(0x39c)](_0x27c2c8[_0x4d1512(0x17c)](0x0,0x2),0x10)+',\x20'+Number[_0x4d1512(0x39c)](_0x27c2c8[_0x4d1512(0x17c)](0x2,0x4),0x10)+',\x20'+Number[_0x4d1512(0x39c)](_0x27c2c8[_0x4d1512(0x17c)](0x4,0x6),0x10)+')';}let _0x1189cf=document[_0x4d1512(0x2ce)](_0x4d1512(0x1b9));return _0x1189cf[_0x4d1512(0x30c)]['color']=_0x5bd4e5,_0x1189cf[_0x4d1512(0x30c)][_0x4d1512(0x274)]||_0x5bd4e5;}let _0x163105=class extends _0xad9e6c[_0xe81a3d(0x1ff)]{constructor(_0x487d1c,_0xcfbe33,_0x4bd747){const _0x12e1fc=_0xe81a3d;super(),this[_0x12e1fc(0x3b9)]=_0x487d1c,this[_0x12e1fc(0x433)]=_0xcfbe33,this[_0x12e1fc(0x2ca)]=_0x4bd747;}[_0xe81a3d(0x365)](_0x2f80e6){const _0x24f22a=_0xe81a3d;return _0x2f80e6?this[_0x24f22a(0x2ca)][_0x24f22a(0x365)](_0x2f80e6,this[_0x24f22a(0x158)]()):this['_renderModelManager'][_0x24f22a(0x365)]();}[_0xe81a3d(0x43a)](_0x59f358){const _0x5eb97a=_0xe81a3d;let _0x1783f2=_0x59f358[_0x5eb97a(0x184)][_0x5eb97a(0x209)];if(!_0x1783f2)throw Error(_0x5eb97a(0x1b8)+_0x59f358[_0x5eb97a(0x2f4)]+_0x5eb97a(0x437));let _0x4bdf31=this['_localeService']['getDirection']();return{'chartConfig':_0x1783f2,'chartStyle':(0x0,_0x112f7b[_0x5eb97a(0x325)])({..._0x59f358[_0x5eb97a(0x184)][_0x5eb97a(0x30c)],'runtime':_0x59f358[_0x5eb97a(0x184)][_0x5eb97a(0x3cf)](_0x4bdf31),'direction':_0x4bdf31},_0x1783f2[_0x5eb97a(0x333)])};}[_0xe81a3d(0x1fa)](_0xd5b945,_0x57e341,_0x4f2374){const _0x5ab23c=_0xe81a3d;let {chartConfig:_0x51295c,chartStyle:_0x402bdc}=this['createRenderInput'](_0xd5b945),_0x40f83b=this[_0x5ab23c(0x2ca)][_0x5ab23c(0x28a)]();return{'spec':_0x40f83b[_0x5ab23c(0x221)](_0x40f83b[_0x5ab23c(0x2c6)](_0x51295c,_0x402bdc),{'chartConfig':_0x51295c,'chartStyle':_0x402bdc,'chartInstance':_0x4f2374},_0x57e341),'chartConfig':_0x51295c,'chartStyle':_0x402bdc,'hostStyle':this['getHostStyle'](_0x402bdc)};}['getHostStyle'](_0x56f9d8){const _0x1636dc=_0xe81a3d;return(0x0,_0x112f7b[_0x1636dc(0x1e0)])({'style':_0x56f9d8,'getRenderColor':_0x16f28a=>this[_0x1636dc(0x433)][_0x1636dc(0x430)](_0x16f28a)});}[_0xe81a3d(0x166)](_0x25c583,_0x41f02c){const _0x2990e4=_0xe81a3d;var _0x1de2ba;let _0x4e2523=(_0x1de2ba=_0x41f02c['border'])!=null&&_0x1de2ba[_0x2990e4(0x274)]&&_0x41f02c[_0x2990e4(0x304)][_0x2990e4(0x25b)]?_0x41f02c[_0x2990e4(0x304)][_0x2990e4(0x25b)]+_0x2990e4(0x204)+_0x5ba91f(_0x41f02c[_0x2990e4(0x304)]['color']):'';_0x25c583[_0x2990e4(0x30c)][_0x2990e4(0x304)]=_0x4e2523,_0x25c583['style']['backgroundColor']=_0x41f02c[_0x2990e4(0x356)]?_0x5ba91f(_0x41f02c[_0x2990e4(0x356)]):'transparent',_0x25c583[_0x2990e4(0x30c)][_0x2990e4(0x3e2)]=_0x41f02c[_0x2990e4(0x36a)]?_0x41f02c[_0x2990e4(0x36a)]+'px':'',_0x25c583[_0x2990e4(0x30c)][_0x2990e4(0x302)]='hidden',_0x25c583[_0x2990e4(0x30c)][_0x2990e4(0x329)]=_0x2990e4(0x19f);}[_0xe81a3d(0x158)](){const _0x272b11=_0xe81a3d;return{'resolveHostStyle':({style:_0x15cd2b})=>this[_0x272b11(0x407)](_0x15cd2b),'resolveRenderBackgroundColor':({hostStyle:_0x2fc97a})=>_0x2fc97a[_0x272b11(0x356)],'prepareSpec':({mode:_0x323c5e,spec:_0x441732})=>_0x323c5e===_0x272b11(0x1d5)?{..._0x441732,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x441732};}[_0xe81a3d(0x1fb)](){const _0x110241=_0xe81a3d;super[_0x110241(0x1fb)]();}};_0x163105=_0x5a448c([_0x10b749(0x0,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0xad9e6c[_0xe81a3d(0x1e6)])),_0x10b749(0x1,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x112f7b['ChartThemeService'])),_0x10b749(0x2,_0x112f7b[_0xe81a3d(0x265)])],_0x163105);function _0x535c18(_0x2d08c8,_0x497cb2,_0x823f62,_0x130389,_0x547d70,_0x22882b,_0x1d3508){const _0x330a8b=_0xe81a3d;let {model:_0x3cb7ff,source:_0x277d8b}=(0x0,_0x112f7b[_0x330a8b(0x383)])({'id':_0x2d08c8,'chartType':_0x823f62,'dataSet':(0x0,_0x112f7b[_0x330a8b(0x307)])((0x0,_0x268983[_0x330a8b(0x1b2)])(_0x497cb2)),'isRowDirection':(_0x130389==null?void 0x0:_0x130389['orient'])!==_0x330a8b(0x3ce),'context':_0x130389==null?void 0x0:_0x130389[_0x330a8b(0x43f)],'dataAggregation':_0x547d70,'style':_0x22882b,'injector':_0x1d3508});return{'unitId':_0x330a8b(0x1a3),'chartId':_0x2d08c8,'dataSourceId':_0x2d08c8+_0x330a8b(0x281),'model':_0x3cb7ff,'source':_0x277d8b};}function _0x47879f(_0x14b572){const _0x562fcb=_0xe81a3d;let _0x151679=(0x0,_0x59b7bc[_0x562fcb(0x332)])(_0xad9e6c[_0x562fcb(0x1e6)]),_0x4d516b=(0x0,_0x59b7bc[_0x562fcb(0x332)])(_0xad9e6c[_0x562fcb(0x2c9)]),_0x5cf334=(0x0,_0x59b7bc[_0x562fcb(0x332)])(_0x163105),_0x397d5e=(0x0,_0x654dec[_0x562fcb(0x323)])(null),_0x2070c4=(0x0,_0x654dec[_0x562fcb(0x323)])(null),_0x36de0a=(0x0,_0x654dec['useRef'])(_0x562fcb(0x280)+(0x0,_0xad9e6c[_0x562fcb(0x42a)])(0x8)),[_0x522692,_0x177219]=(0x0,_0x654dec[_0x562fcb(0x3c9)])(null);return(0x0,_0x654dec['useEffect'])(()=>{const _0x1c5552=_0x562fcb;let _0x7307aa=_0x397d5e[_0x1c5552(0x225)];if(!_0x7307aa)return;_0x177219(null),_0x7307aa[_0x1c5552(0x39a)](),_0x2070c4[_0x1c5552(0x225)]=_0x42c803(_0x7307aa);let _0x449eac=!0x1,_0x312fcc=_0x9f4e46=>{_0x449eac||_0x177219(_0x9f4e46);},_0x2eb33e=null,_0x23673a=null,_0x5d181d=null;try{_0x2eb33e=_0x535c18(_0x36de0a[_0x1c5552(0x225)],_0x14b572['values'],_0x14b572['chartType'],_0x14b572[_0x1c5552(0x286)],_0x14b572['dataAggregation'],_0x14b572[_0x1c5552(0x30c)],_0x4d516b),_0x23673a=new _0x1dfe24(_0x2eb33e[_0x1c5552(0x2f4)],_0x7307aa,(_0x52b7b1,_0x5a4207)=>_0x5cf334['applyHostStyle'](_0x52b7b1,_0x5a4207),()=>_0x2070c4['current']??_0x42c803(_0x7307aa),!0x1),_0x5d181d=_0x5cf334[_0x1c5552(0x365)](_0x112f7b[_0x1c5552(0x30d)][_0x1c5552(0x3d1)]),_0x5d181d[_0x1c5552(0x3f7)](_0x23673a);}catch(_0x1bf71d){return _0x312fcc(_0x1bf71d),()=>{const _0x4743b3=_0x1c5552;_0x449eac=!0x0,_0x7307aa[_0x4743b3(0x39a)]();};}if(!_0x2eb33e||!_0x23673a||!_0x5d181d)return()=>{const _0x390590=_0x1c5552;_0x449eac=!0x0,_0x7307aa[_0x390590(0x39a)]();};let _0x48ed11=_0x2eb33e,_0x2ff0ea=_0x23673a,_0x2bc2de=_0x5d181d,_0x570374=()=>{const _0xbac925=_0x1c5552;let _0x18e015,_0xbcaea;try{({chartConfig:_0x18e015,chartStyle:_0xbcaea}=_0x5cf334[_0xbac925(0x43a)](_0x48ed11));}catch(_0x58d0df){_0x312fcc(_0x58d0df);return;}_0x2bc2de[_0xbac925(0x27e)]({'chartId':_0x48ed11[_0xbac925(0x2f4)],'config':_0x18e015,'style':_0xbcaea})['then'](()=>{_0x449eac||_0x177219(null);})[_0xbac925(0x1c5)](_0x312fcc);},_0x2f859d=_0x48ed11['model'][_0x1c5552(0x31d)][_0x1c5552(0x40e)](_0x4ef3e4=>{_0x4ef3e4&&_0x570374();}),_0x1f21d7=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x2e9479=>{const _0x35988d=_0x1c5552;var _0x12ff2a;let _0xc2e428=(_0x12ff2a=_0x2e9479[0x0])==null?void 0x0:_0x12ff2a['contentRect'];_0x2070c4['current']=_0xc2e428&&_0xc2e428['width']>0x0&&_0xc2e428['height']>0x0?{'width':_0xc2e428[_0x35988d(0x25b)],'height':_0xc2e428[_0x35988d(0x326)]}:_0x42c803(_0x7307aa),_0x570374();});return _0x1f21d7==null||_0x1f21d7['observe'](_0x7307aa),()=>{const _0x5cffea=_0x1c5552;_0x449eac=!0x0,_0x2f859d[_0x5cffea(0x3da)](),_0x1f21d7==null||_0x1f21d7[_0x5cffea(0x3be)](),_0x2bc2de[_0x5cffea(0x1fb)](),_0x2ff0ea['dispose'](),_0x48ed11[_0x5cffea(0x184)]['dispose'](),_0x48ed11['source']['dispose'](),_0x7307aa[_0x5cffea(0x39a)]();};},[_0x4d516b,_0x14b572[_0x562fcb(0x3f5)],_0x14b572['context'],_0x14b572[_0x562fcb(0x372)],_0x14b572[_0x562fcb(0x30c)],_0x14b572[_0x562fcb(0x222)],_0x5cf334]),(0x0,_0x4cf125['jsxs'])('div',{'className':_0x562fcb(0x244),'children':[(0x0,_0x4cf125[_0x562fcb(0x303)])(_0x562fcb(0x425),{'ref':_0x397d5e,'className':_0x562fcb(0x3ec)}),_0x522692!=null&&(0x0,_0x4cf125[_0x562fcb(0x303)])(_0x562fcb(0x425),{'className':_0x562fcb(0x16e),'children':_0x151679['t'](_0x562fcb(0x163))})]});}function _0x42c803(_0x1dba9f){const _0x561c8e=_0xe81a3d;let _0x2fd2e6=_0x1dba9f[_0x561c8e(0x261)]();return _0x2fd2e6[_0x561c8e(0x25b)]<=0x0||_0x2fd2e6['height']<=0x0?null:{'width':_0x2fd2e6[_0x561c8e(0x25b)],'height':_0x2fd2e6[_0x561c8e(0x326)]};}let _0x34e5df=_0xe81a3d(0x1c2),_0x4840d0=_0xe81a3d(0x279);function _0x5d2664(_0x39cd59){const _0x1cad98=_0xe81a3d;var _0x414ce2;let {unitId:_0x2fbe58,chartId:_0x2faff0,drawingId:_0xd6228a}=_0x39cd59,_0x57ba42=(0x0,_0x59b7bc['useDependency'])(_0xad9e6c[_0x1cad98(0x1e6)]),_0x303e83=(0x0,_0x59b7bc[_0x1cad98(0x332)])(_0xad9e6c[_0x1cad98(0x2c9)]),_0x276e57=(0x0,_0x59b7bc[_0x1cad98(0x332)])(_0xad9e6c[_0x1cad98(0x182)]),_0x28ca07=(0x0,_0x59b7bc[_0x1cad98(0x332)])(_0x4db172['DocChartResourceService']),_0x56f7c4=(0x0,_0x59b7bc[_0x1cad98(0x332)])(_0x4db172['DocChartModelService']),_0x136e24=(0x0,_0x59b7bc[_0x1cad98(0x332)])(_0x30d742),_0x5128d4=(0x0,_0x59b7bc[_0x1cad98(0x332)])(_0x5db0a4),_0x4aebd4=(0x0,_0x654dec[_0x1cad98(0x20d)])(()=>_0x136e24[_0x1cad98(0x32c)](_0x2fbe58,_0x2faff0),[_0x2faff0,_0x136e24,_0x2fbe58]),_0x3571b5=_0x28ca07[_0x1cad98(0x3ed)](_0x2fbe58,_0x2faff0),_0x5dc9c2=(0x0,_0x654dec[_0x1cad98(0x20d)])(()=>_0x56f7c4==null?void 0x0:_0x56f7c4[_0x1cad98(0x2e3)](_0x2fbe58,_0x2faff0),[_0x2faff0,_0x56f7c4,_0x2fbe58]),_0x135603=(0x0,_0x59b7bc[_0x1cad98(0x41c)])(_0x5dc9c2==null?void 0x0:_0x5dc9c2[_0x1cad98(0x184)]['chartType$'],(_0x5dc9c2==null?void 0x0:_0x5dc9c2[_0x1cad98(0x184)][_0x1cad98(0x3f5)])??(_0x3571b5==null?void 0x0:_0x3571b5[_0x1cad98(0x3f5)])),_0x3ae162=(0x0,_0x59b7bc['useObservable'])(_0x5dc9c2==null?void 0x0:_0x5dc9c2[_0x1cad98(0x184)][_0x1cad98(0x1cb)],(_0x5dc9c2==null?void 0x0:_0x5dc9c2[_0x1cad98(0x184)][_0x1cad98(0x286)])??(_0x3571b5==null||(_0x414ce2=_0x3571b5[_0x1cad98(0x286)])==null?void 0x0:_0x414ce2['chartContext'])),_0x21b664=(0x0,_0x59b7bc[_0x1cad98(0x41c)])(_0x5dc9c2==null?void 0x0:_0x5dc9c2[_0x1cad98(0x184)][_0x1cad98(0x305)],(_0x5dc9c2==null?void 0x0:_0x5dc9c2['model'][_0x1cad98(0x372)])??(_0x3571b5==null?void 0x0:_0x3571b5[_0x1cad98(0x372)])),_0x415fbd=(0x0,_0x59b7bc[_0x1cad98(0x41c)])(_0x5dc9c2==null?void 0x0:_0x5dc9c2[_0x1cad98(0x184)][_0x1cad98(0x36d)],(_0x5dc9c2==null?void 0x0:_0x5dc9c2[_0x1cad98(0x184)]['style'])??(_0x3571b5==null?void 0x0:_0x3571b5[_0x1cad98(0x30c)])),_0x5d4ad8=(0x0,_0x654dec['useMemo'])(()=>({..._0x3571b5==null?void 0x0:_0x3571b5['context'],'chartContext':_0x3ae162}),[_0x3571b5==null?void 0x0:_0x3571b5[_0x1cad98(0x286)],_0x3ae162]),[_0x17e902,_0x1fef0c]=(0x0,_0x654dec[_0x1cad98(0x3c9)])(_0x4aebd4),[_0x209744,_0x747a94]=(0x0,_0x654dec['useState'])(()=>(_0x4aebd4==null?void 0x0:_0x4aebd4[_0x1cad98(0x222)][_0x1cad98(0x2c4)](_0x5d9334=>[..._0x5d9334]))??[]),[_0x395ba1,_0x18fe4f]=(0x0,_0x654dec[_0x1cad98(0x3c9)])(()=>(_0x4aebd4==null?void 0x0:_0x4aebd4[_0x1cad98(0x222)]['map'](_0x32d2d9=>[..._0x32d2d9]))??[]),[_0x59fb21,_0x4ead0c]=(0x0,_0x654dec[_0x1cad98(0x3c9)])(()=>_0x3571b5==null?void 0x0:_0x3571b5['chartType']),[_0x5f6380,_0x3a80ae]=(0x0,_0x654dec[_0x1cad98(0x3c9)])(()=>{const _0x38e355=_0x1cad98;var _0x53c368;return((_0x53c368=_0x39cd59[_0x38e355(0x23d)])==null?void 0x0:_0x53c368[_0x38e355(0x206)])===_0x268983[_0x38e355(0x32a)][_0x38e355(0x273)]?_0x38e355(0x15a):_0x38e355(0x252);}),[_0x45bae4,_0x1306d3]=(0x0,_0x654dec[_0x1cad98(0x3c9)])(null),_0x4c9d3b=(0x0,_0x654dec[_0x1cad98(0x20d)])(()=>{const _0x2ff493=_0x1cad98;var _0x5ed9ae;let _0x1c7040=_0x276e57[_0x2ff493(0x378)](_0x2fbe58,_0xad9e6c[_0x2ff493(0x38d)][_0x2ff493(0x240)]);if(!_0x5dc9c2||!_0x1c7040)return null;let _0x534085=_0xd6228a??((_0x5ed9ae=Object[_0x2ff493(0x222)](_0x1c7040[_0x2ff493(0x381)]()??{})[_0x2ff493(0x241)](_0x182cd2=>_0x182cd2[_0x2ff493(0x2f4)]===_0x2faff0))==null?void 0x0:_0x5ed9ae[_0x2ff493(0x39d)]);return _0x534085?new _0x268983[(_0x2ff493(0x197))](_0x5dc9c2[_0x2ff493(0x184)],new _0x4db172['DocumentChartBuilderAdapter']({'unitId':_0x2fbe58,'chartId':_0x2faff0,'drawingId':_0x534085,'documentDataModel':_0x1c7040,'injector':_0x303e83})):null;},[_0x2faff0,_0xd6228a,_0x303e83,_0x5dc9c2,_0x2fbe58,_0x276e57]);return!_0x17e902||!_0x3571b5?(0x0,_0x4cf125[_0x1cad98(0x303)])('div',{'className':_0x1cad98(0x1f1),'children':_0x57ba42['t'](_0x1cad98(0x201))}):(0x0,_0x4cf125['jsxs'])('div',{'className':_0x1cad98(0x275),'style':{'height':_0x1cad98(0x21c)},'children':[(0x0,_0x4cf125[_0x1cad98(0x303)])(_0x268983[_0x1cad98(0x193)],{'ariaLabel':_0x57ba42['t'](_0x1cad98(0x157)),'className':'univer-shrink-0','value':_0x5f6380,'items':[{'label':_0x57ba42['t']('docs-chart-ui.floatMenu.menuTitle.chart'),'panelId':_0x14421a,'value':_0x1cad98(0x252)},{'label':_0x57ba42['t'](_0x1cad98(0x310)),'panelId':_0x11e459,'value':'data'}],'variant':'segmented','onChange':_0x3a80ae}),(0x0,_0x4cf125['jsxs'])('div',{'id':_0x5f6380===_0x1cad98(0x15a)?_0x11e459:_0x14421a,'aria-labelledby':(_0x5f6380===_0x1cad98(0x15a)?_0x11e459:_0x14421a)+_0x1cad98(0x212),'className':_0x1cad98(0x394),'role':_0x1cad98(0x207),'children':[_0x5f6380===_0x1cad98(0x15a)?(0x0,_0x4cf125['jsx'])(_0x4b85b3,{'values':_0x209744,'sharingCount':_0x17e902[_0x1cad98(0x411)],'onCancel':()=>_0x3a80ae(_0x1cad98(0x252)),'onSubmit':(_0x3942bf,_0x336260)=>{const _0x212090=_0x1cad98;if(!_0x136e24['updateData'](_0x2fbe58,_0x2faff0,_0x3942bf,_0x336260)){_0x1306d3(_0x57ba42['t']('docs-chart-ui.updateChartFailed'));return;}_0x1306d3(null);let _0x950cfa=_0x136e24['getEditorState'](_0x2fbe58,_0x2faff0);_0x1fef0c(_0x950cfa??_0x17e902),_0x747a94((_0x950cfa==null?void 0x0:_0x950cfa['values'])??_0x3942bf),_0x18fe4f((_0x950cfa==null?void 0x0:_0x950cfa[_0x212090(0x222)])??_0x3942bf),_0x3a80ae(_0x212090(0x252));}}):(0x0,_0x4cf125[_0x1cad98(0x211)])(_0x1cad98(0x425),{'className':'univer-flex\x20univer-size-full\x20univer-min-w-0\x20univer-gap-5','children':[(0x0,_0x4cf125['jsx'])(_0x1cad98(0x425),{'className':'univer-min-h-0\x20univer-min-w-0\x20univer-flex-1\x20univer-overflow-hidden','children':(0x0,_0x4cf125[_0x1cad98(0x303)])(_0x47879f,{'values':_0x395ba1,'chartType':_0x135603??_0x59fb21??_0x3571b5[_0x1cad98(0x3f5)],'context':_0x5d4ad8,'dataAggregation':_0x21b664,'style':_0x415fbd})}),(0x0,_0x4cf125[_0x1cad98(0x211)])('div',{'className':_0x1cad98(0x26f),'children':[(0x0,_0x4cf125[_0x1cad98(0x303)])('div',{'className':_0x1cad98(0x26d),'children':_0x4c9d3b?(0x0,_0x4cf125[_0x1cad98(0x303)])(_0x268983['ChartEditorProvider'],{'chartUIService':_0x5128d4,'hostAdapter':_0x4c9d3b,'children':(0x0,_0x4cf125['jsx'])(_0x2b280d,{'initialRoute':_0x39cd59['route'],'onClose':_0x39cd59[_0x1cad98(0x1a5)],'onPreviewChartTypeChange':_0x4ead0c,'onModifyData':()=>_0x3a80ae(_0x1cad98(0x15a))})}):(0x0,_0x4cf125[_0x1cad98(0x303)])(_0x1cad98(0x425),{'className':_0x1cad98(0x259),'children':_0x57ba42['t'](_0x1cad98(0x201))})}),_0x45bae4&&(0x0,_0x4cf125[_0x1cad98(0x303)])(_0x1cad98(0x425),{'className':_0x1cad98(0x3e1),'children':_0x45bae4})]})]}),_0x5f6380==='data'&&_0x45bae4&&(0x0,_0x4cf125[_0x1cad98(0x303)])(_0x1cad98(0x425),{'className':_0x1cad98(0x338),'children':_0x45bae4})]})]});}let _0x14421a='doc-chart-editor-panel',_0x11e459=_0xe81a3d(0x258);function _0x47da01(_0x4c0d4e,_0x575cc7){const _0x1efd36=_0xe81a3d;var _0x21db70;if(!(_0x575cc7!=null&&_0x575cc7[_0x1efd36(0x3c5)])||_0x575cc7[_0x1efd36(0x249)]==null)return null;let _0x33f61e=_0x575cc7[_0x1efd36(0x1af)]??'';if(_0x33f61e!=='')return null;let _0x3460cf=(_0x21db70=_0x4c0d4e[_0x1efd36(0x405)](_0x33f61e))==null?void 0x0:_0x21db70[_0x1efd36(0x1aa)]();if(!_0x3460cf)return null;let _0x43f427=_0xe3b93a(_0x3460cf,_0x575cc7[_0x1efd36(0x249)]);if(!_0x53a65c(_0x3460cf,_0x43f427))return null;let _0x3a958d=_0x290603(_0x3460cf,_0x43f427);return _0x3a958d?{'unitId':_0x4c0d4e[_0x1efd36(0x2ee)](),'index':_0x3a958d['index'],'segmentId':_0x33f61e,'breakOffsets':_0x3a958d['breakOffsets']}:null;}function _0xe3b93a(_0x33e83e,_0x2ae1c1){const _0x29f7e5=_0xe81a3d;return _0x2ae1c1===0x0&&_0x33e83e[_0x29f7e5(0x284)][0x0]===_0xad9e6c[_0x29f7e5(0x205)]['PARAGRAPH']?0x1:_0x2ae1c1;}function _0x53a65c(_0x1da67e,_0x172649){const _0x3753eb=_0xe81a3d;return!(_0x9f304e(_0x1da67e[_0x3753eb(0x421)],_0x172649)||_0x52475c(_0x1da67e[_0x3753eb(0x2e5)],_0x172649)||_0x580721(_0x1da67e['customBlocks'],_0x172649));}function _0x4e77ae(_0xa864d8,_0x229ab6){const _0x4df34=_0xe81a3d;let {dataStream:_0x12e825}=_0xa864d8;if(!_0x12e825||_0x229ab6<0x0||_0x229ab6>=_0x12e825[_0x4df34(0x354)])return!0x1;let _0x63100b=_0x4c9c7e(_0x12e825,_0x229ab6)+0x1,_0x26e1da=_0x3afc91(_0x12e825,_0x229ab6);return _0x63100b<=_0x26e1da&&_0x12e825[_0x4df34(0x17c)](_0x63100b,_0x26e1da)[_0x4df34(0x354)]===0x0;}function _0x290603(_0x403ea1,_0x1e3559){const _0x33faeb=_0xe81a3d;let {dataStream:_0xaef784}=_0x403ea1;if(!_0xaef784||_0x1e3559<0x0||_0x1e3559>=_0xaef784[_0x33faeb(0x354)])return null;if(_0x4e77ae(_0x403ea1,_0x1e3559))return{'index':_0x1e3559,'breakOffsets':[]};let _0x243937=_0x4c9c7e(_0xaef784,_0x1e3559)+0x1,_0x16f792=_0x3afc91(_0xaef784,_0x1e3559);return _0x1e3559<=_0x243937?{'index':_0x1e3559,'breakOffsets':[_0x1e3559]}:_0x1e3559>=_0x16f792?{'index':_0x1e3559+0x1,'breakOffsets':[_0x1e3559]}:{'index':_0x1e3559+0x1,'breakOffsets':[_0x1e3559,_0x1e3559+0x1]};}function _0x4c9c7e(_0x4dfd0c,_0x532784){const _0x189ccb=_0xe81a3d;let _0x8d71dd=Math[_0x189ccb(0x337)](0x0,Math['min'](_0x532784-0x1,_0x4dfd0c[_0x189ccb(0x354)]-0x1));return Math['max'](_0x4dfd0c[_0x189ccb(0x37c)](_0xad9e6c[_0x189ccb(0x205)][_0x189ccb(0x1c0)],_0x8d71dd),_0x4dfd0c['lastIndexOf'](_0xad9e6c[_0x189ccb(0x205)]['SECTION_BREAK'],_0x8d71dd));}function _0x3afc91(_0x599b88,_0x2a7a3c){const _0x28bb42=_0xe81a3d;let _0x55ff17=Math[_0x28bb42(0x337)](0x0,Math[_0x28bb42(0x3a4)](_0x2a7a3c,_0x599b88['length']-0x1)),_0x49a7a3=_0x599b88[_0x28bb42(0x200)](_0xad9e6c[_0x28bb42(0x205)][_0x28bb42(0x1c0)],_0x55ff17),_0x448c24=_0x599b88['indexOf'](_0xad9e6c['DataStreamTreeTokenType'][_0x28bb42(0x3ab)],_0x55ff17);return _0x49a7a3===-0x1&&_0x448c24===-0x1?_0x599b88['length']:_0x49a7a3===-0x1?_0x448c24:_0x448c24===-0x1?_0x49a7a3:Math['min'](_0x49a7a3,_0x448c24);}function _0x9f304e(_0x11c317,_0x1d50a7){const _0x165ce1=_0xe81a3d;return!!(_0x11c317!=null&&_0x11c317[_0x165ce1(0x3f8)](_0x3e467c=>_0x3e467c[_0x165ce1(0x29f)]<=_0x1d50a7&&_0x1d50a7<_0x3e467c['endIndex']));}function _0x52475c(_0x3cf590,_0x46d6c1){const _0x52cd35=_0xe81a3d;return!!(_0x3cf590!=null&&_0x3cf590[_0x52cd35(0x3f8)](_0x3ec1dd=>_0x3ec1dd['startIndex']<=_0x46d6c1&&_0x46d6c1<=_0x3ec1dd[_0x52cd35(0x362)]));}function _0x580721(_0x35933a,_0x4df11e){const _0x407b7d=_0xe81a3d;return!!(_0x35933a!=null&&_0x35933a['some'](_0x52b1e3=>_0x52b1e3[_0x407b7d(0x29f)]===_0x4df11e));}let _0x242d90=class{constructor(_0x524cfb,_0x19335b,_0x1402af,_0x3bdaa0){const _0x22ef2e=_0xe81a3d;this['_instanceService']=_0x524cfb,this[_0x22ef2e(0x34e)]=_0x19335b,this[_0x22ef2e(0x3fd)]=_0x1402af,this['_docContentInsertService']=_0x3bdaa0;}[_0xe81a3d(0x439)](_0x3751e7,_0x5dcf0c,_0x56ed69){const _0x41352e=_0xe81a3d;let _0x42963b=(0x0,_0x112f7b[_0x41352e(0x29d)])(_0x3751e7);return _0x42963b[_0x41352e(0x354)]!==0x0&&this[_0x41352e(0x2d8)](_0x42963b,_0x5dcf0c,_0x56ed69);}[_0xe81a3d(0x2d8)](_0x1810f5,_0x123a11,_0x2f877c={}){const _0x5e6a27=_0xe81a3d;if(_0x1810f5['length']===0x0)return!0x1;let _0xb66f40=(0x0,_0x268983[_0x5e6a27(0x189)])(_0x123a11,_0x1810f5);if(!_0xb66f40['ok'])return!0x1;let _0x47edea=this['_instanceService'][_0x5e6a27(0x1f9)](_0xad9e6c[_0x5e6a27(0x38d)][_0x5e6a27(0x240)]);if(!_0x47edea)return!0x1;let _0x42a6c9=this[_0x5e6a27(0x1c3)](_0x47edea,_0x2f877c['insertRange']);if(!_0x42a6c9||!this[_0x5e6a27(0x1d8)](_0x42a6c9[_0x5e6a27(0x257)],_0x42a6c9[_0x5e6a27(0x1af)]))return!0x1;let _0x53d169=_0x42a6c9[_0x5e6a27(0x25f)],_0x41e01b={'chartType':_0x123a11};_0x2f877c[_0x5e6a27(0x286)]&&(_0x41e01b[_0x5e6a27(0x286)]=_0x2f877c[_0x5e6a27(0x286)]),_0x2f877c[_0x5e6a27(0x372)]&&(_0x41e01b[_0x5e6a27(0x372)]=_0x2f877c[_0x5e6a27(0x372)]),_0x2f877c['style']&&(_0x41e01b[_0x5e6a27(0x30c)]=_0x2f877c[_0x5e6a27(0x30c)]);let _0x403827=this[_0x5e6a27(0x34e)][_0x5e6a27(0x1d7)](_0x4db172[_0x5e6a27(0x306)]['id'],{'unitId':_0x53d169,'index':_0x42a6c9[_0x5e6a27(0x1cf)],'segmentId':_0x42a6c9[_0x5e6a27(0x1af)],'chart':_0x41e01b,'dataSource':{'values':_0xb66f40[_0x5e6a27(0x222)]},'width':_0x2f877c[_0x5e6a27(0x25b)],'height':_0x2f877c[_0x5e6a27(0x326)],'focus':_0x2f877c[_0x5e6a27(0x346)]});return _0x403827?{..._0x403827,'unitId':_0x53d169}:!0x1;}['_resolveInsertPosition'](_0x33d1fd,_0x1e49f9){const _0x3efcee=_0xe81a3d;if(_0x1e49f9)return _0x47da01(_0x33d1fd,_0x1e49f9);let _0x33bd26=_0x33d1fd['getUnitId'](),_0x1395ed=null;try{_0x1395ed=this['_docContentInsertService'][_0x3efcee(0x3c6)](_0x33bd26);}catch{_0x1395ed=null;}return _0x1395ed?_0x47da01(_0x33d1fd,{'startOffset':_0x1395ed[_0x3efcee(0x249)],'endOffset':_0x1395ed[_0x3efcee(0x2af)],'collapsed':_0x1395ed['startOffset']===_0x1395ed[_0x3efcee(0x2af)],'segmentId':_0x1395ed[_0x3efcee(0x1af)]??''}):_0x47da01(_0x33d1fd,_0x165a2e(this['_docSelectionManagerService'][_0x3efcee(0x419)]()));}['_prepareStandaloneInsertLine'](_0x45822f,_0x2e14ba){const _0x557f6d=_0xe81a3d;for(let _0x43f840 of _0x45822f)if(!this['_commandService']['syncExecuteCommand'](_0x15f360[_0x557f6d(0x389)]['id'],{'textRange':{'startOffset':_0x43f840,'endOffset':_0x43f840,'collapsed':!0x0,'segmentId':_0x2e14ba}}))return!0x1;return!0x0;}};_0x242d90=_0x5a448c([_0x10b749(0x0,_0xad9e6c[_0xe81a3d(0x182)]),_0x10b749(0x1,_0xad9e6c[_0xe81a3d(0x1b1)]),_0x10b749(0x2,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x1a2389[_0xe81a3d(0x1c7)])),_0x10b749(0x3,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x1a2389[_0xe81a3d(0x416)]))],_0x242d90);function _0x165a2e(_0x34f8d3){return!_0x34f8d3||typeof _0x34f8d3!='object'?null:_0x34f8d3;}let _0x57ca70=_0xe81a3d(0x3e6),_0xf1ce45=[_0xe81a3d(0x2c5),_0xe81a3d(0x188),'B\x0918',_0xe81a3d(0x2f3)][_0xe81a3d(0x319)]('\x0a');function _0x5c5ee8(_0x2a781b){const _0x51a8d6=_0xe81a3d;let _0x4cd57c=(0x0,_0x59b7bc[_0x51a8d6(0x332)])(_0x242d90),_0x5e1e10=(0x0,_0x59b7bc[_0x51a8d6(0x332)])(_0xad9e6c[_0x51a8d6(0x1e6)]),{defaultChartType:_0x4a481f=_0x112f7b['ChartTypeBits']['Column'],defaultTableText:_0x4ae204=_0xf1ce45,insertOptions:_0x5d756d,onCancel:_0x50fec7,onInserted:_0x2228e}=_0x2a781b,_0xe700a4=(0x0,_0x654dec[_0x51a8d6(0x20d)])(()=>(0x0,_0x268983[_0x51a8d6(0x352)])(_0x268983['STATIC_CHART_TYPE_CATALOG'][_0x51a8d6(0x2c4)](_0x49a2bf=>({..._0x49a2bf,'label':_0x5e1e10['t'](_0x51a8d6(0x156)+_0x49a2bf[_0x51a8d6(0x41d)])}))),[_0x5e1e10]),[_0x14aade,_0xf62ac9]=(0x0,_0x654dec['useState'])(String(_0x4a481f)),_0x16606d=_0xe700a4['find'](_0x27ed9b=>_0x27ed9b[_0x51a8d6(0x2cf)]===_0x14aade),_0x3fec6c=(_0x16606d==null?void 0x0:_0x16606d[_0x51a8d6(0x3f5)])??_0x4a481f,_0x36d766=_0x42dc83=>(0x0,_0x268983['createChartInlineStarterData'])(_0x42dc83,{'candlestickClose':_0x5e1e10['t'](_0x51a8d6(0x2a6)),'candlestickHigh':_0x5e1e10['t'](_0x51a8d6(0x29a)),'candlestickLow':_0x5e1e10['t'](_0x51a8d6(0x34a)),'candlestickOpen':_0x5e1e10['t'](_0x51a8d6(0x177)),'category':_0x5e1e10['t'](_0x51a8d6(0x2c8)),'chordSource':_0x5e1e10['t'](_0x51a8d6(0x234)),'chordTarget':_0x5e1e10['t'](_0x51a8d6(0x364)),'label':_0x5e1e10['t'](_0x51a8d6(0x331)),'sunburstHierarchy':_0x5e1e10['t'](_0x51a8d6(0x38e)),'value':_0x5e1e10['t']('docs-chart-ui.common.value'),'valueField':_0x5e1e10['t']('docs-chart-ui.common.valueField')}),[_0xddb27,_0x3734e3]=(0x0,_0x654dec[_0x51a8d6(0x3c9)])(()=>_0x2a781b['defaultTableText']===void 0x0?_0x36d766(_0x4a481f)??(0x0,_0x112f7b[_0x51a8d6(0x29d)])(_0x4ae204):(0x0,_0x112f7b[_0x51a8d6(0x29d)])(_0x4ae204)),[_0x281a59,_0x225c5e]=(0x0,_0x654dec[_0x51a8d6(0x3c9)])(null),_0x275d88={[_0x268983['InlineChartCreationIssueCode']['UnknownOption']]:_0x5e1e10['t'](_0x51a8d6(0x227)),[_0x268983[_0x51a8d6(0x27c)][_0x51a8d6(0x2ba)]]:_0x5e1e10['t']('docs-chart-ui.common.tableDataEmpty'),[_0x268983[_0x51a8d6(0x27c)][_0x51a8d6(0x21a)]]:_0x5e1e10['t']('docs-chart-ui.candlestick.columnsError')};return(0x0,_0x4cf125['jsxs'])(_0x51a8d6(0x425),{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','children':[(0x0,_0x4cf125[_0x51a8d6(0x211)])(_0x51a8d6(0x425),{'className':_0x51a8d6(0x412),'children':[(0x0,_0x4cf125['jsx'])('div',{'className':_0x51a8d6(0x3ea),'children':_0x5e1e10['t']('docs-chart-ui.common.chartType')}),(0x0,_0x4cf125['jsx'])(_0x2f2cfc[_0x51a8d6(0x1d6)],{'className':_0x51a8d6(0x3fb),'value':_0x14aade,'options':_0xe700a4,'onChange':_0xc4b3c8=>{const _0x32abed=_0x51a8d6;var _0x299455;_0xf62ac9(_0xc4b3c8);let _0x102e6a=((_0x299455=_0xe700a4[_0x32abed(0x241)](_0x38afbe=>_0x38afbe[_0x32abed(0x2cf)]===_0xc4b3c8))==null?void 0x0:_0x299455[_0x32abed(0x3f5)])??Number(_0xc4b3c8),_0x1d2f82=_0x36d766(_0x102e6a);_0x1d2f82&&_0x3734e3(_0x1d2f82);}})]}),(0x0,_0x4cf125[_0x51a8d6(0x211)])(_0x51a8d6(0x425),{'className':_0x51a8d6(0x412),'children':[(0x0,_0x4cf125[_0x51a8d6(0x303)])(_0x51a8d6(0x425),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x5e1e10['t'](_0x51a8d6(0x1ca))}),(0x0,_0x4cf125[_0x51a8d6(0x303)])(_0x268983[_0x51a8d6(0x15e)],{'values':_0xddb27,'minColumns':(0x0,_0x268983[_0x51a8d6(0x33f)])(_0x3fec6c),'parsePastedText':_0x112f7b[_0x51a8d6(0x29d)],'onChange':_0x3734e3})]}),_0x281a59&&(0x0,_0x4cf125[_0x51a8d6(0x303)])(_0x51a8d6(0x425),{'className':_0x51a8d6(0x3e1),'children':_0x281a59}),(0x0,_0x4cf125[_0x51a8d6(0x211)])('div',{'className':_0x51a8d6(0x232),'children':[_0x50fec7&&(0x0,_0x4cf125['jsx'])(_0x2f2cfc[_0x51a8d6(0x290)],{'type':_0x51a8d6(0x292),'variant':_0x51a8d6(0x2e2),'onClick':_0x50fec7,'children':_0x5e1e10['t'](_0x51a8d6(0x38c))}),(0x0,_0x4cf125[_0x51a8d6(0x303)])(_0x2f2cfc[_0x51a8d6(0x290)],{'type':_0x51a8d6(0x292),'variant':'primary','onClick':()=>{const _0x31392b=_0x51a8d6;var _0x8f4fd5;let _0x1bbfb7=(0x0,_0x268983['tryBuildInlineChartCreationPlan'])({'optionId':_0x14aade,'values':_0xddb27});if(!_0x1bbfb7['ok']){_0x225c5e(_0x275d88[_0x1bbfb7[_0x31392b(0x31e)]['code']]);return;}let _0x5e85cf=_0x1bbfb7[_0x31392b(0x1e7)][_0x31392b(0x30c)]?{..._0x5d756d,'style':{..._0x5d756d==null?void 0x0:_0x5d756d['style'],'pie':{..._0x5d756d==null||(_0x8f4fd5=_0x5d756d[_0x31392b(0x30c)])==null?void 0x0:_0x8f4fd5[_0x31392b(0x2bc)],..._0x1bbfb7[_0x31392b(0x1e7)][_0x31392b(0x30c)]['pie']}}}:_0x5d756d,_0x1c4eea=_0x4cd57c[_0x31392b(0x2d8)](_0x1bbfb7[_0x31392b(0x1e7)]['values'],_0x1bbfb7[_0x31392b(0x1e7)][_0x31392b(0x3f5)],_0x5e85cf);if(!_0x1c4eea){_0x225c5e(_0x5e1e10['t']('docs-chart-ui.common.insertChartFailed'));return;}_0x225c5e(null),_0x2228e==null||_0x2228e(_0x1c4eea);},'children':_0x5e1e10['t'](_0x51a8d6(0x1ef))})]})]});}let _0x5970b2=_0xe81a3d(0x15b),_0x2de820={},_0x808927=_0xe81a3d(0x371),_0x90160c=class extends _0xad9e6c['Disposable']{constructor(_0x51dff2,_0xd71a13,_0x9c04c){const _0x45d348=_0xe81a3d;super(),this[_0x45d348(0x169)]=_0x51dff2,this[_0x45d348(0x320)]=_0xd71a13,this[_0x45d348(0x2dd)]=_0x9c04c,this[_0x45d348(0x187)]();}['_initClipboardHooks'](){const _0x1c74ed=_0xe81a3d;this[_0x1c74ed(0x30f)](this['_docClipboardService'][_0x1c74ed(0x1c1)]({'onCopyDocData':(_0x212e44,_0x5caa02)=>this[_0x1c74ed(0x243)](_0x212e44,_0x5caa02[_0x1c74ed(0x288)])})),this[_0x1c74ed(0x30f)](this[_0x1c74ed(0x320)]['registerAdapter']({'getPasteMutationInfos':_0x5a1e99=>this[_0x1c74ed(0x3ff)](_0x5a1e99)}));}[_0xe81a3d(0x243)](_0x3cdbc2,_0x2694a2){const _0x5d55d7=_0xe81a3d;var _0x41635e;let _0x1c4d20=(_0x41635e=_0x2694a2[0x0])==null?void 0x0:_0x41635e['id'];if(!_0x1c4d20)return _0x3cdbc2;let _0x2a0e6a=Object['values'](_0x3cdbc2[_0x5d55d7(0x23f)]??{})[_0x5d55d7(0x24c)](_0x569292=>this[_0x5d55d7(0x432)](_0x569292));if(_0x2a0e6a[_0x5d55d7(0x354)]===0x0)return _0x3cdbc2;let _0xfe1632={'version':0x1,'dataSources':{},'charts':{}};return _0x2a0e6a[_0x5d55d7(0x1a1)](_0x3bf640=>{const _0x3a00bc=_0x5d55d7;let _0x176125=this[_0x3a00bc(0x2dd)]['getChart'](_0x1c4d20,_0x3bf640[_0x3a00bc(0x2f4)]);if(!_0x176125)return;let _0x5807bc=this['_resourceService'][_0x3a00bc(0x26c)](_0x1c4d20,_0x176125[_0x3a00bc(0x195)]);_0x5807bc&&(_0xfe1632['charts'][_0x176125['id']]=_0xad9e6c[_0x3a00bc(0x185)][_0x3a00bc(0x2fc)](_0x176125),_0xfe1632['dataSources'][_0x5807bc['id']]=_0xad9e6c[_0x3a00bc(0x185)][_0x3a00bc(0x2fc)](_0x5807bc));}),Object['keys'](_0xfe1632[_0x5d55d7(0x1bc)])[_0x5d55d7(0x354)]===0x0?_0x3cdbc2:{..._0x3cdbc2,[_0x808927]:_0xfe1632};}[_0xe81a3d(0x3ff)](_0x20cc27){const _0x3e11e0=_0xe81a3d;let _0x739b0f=_0x20cc27[_0x3e11e0(0x39f)][_0x808927];if(!_0x739b0f)return{'redoMutations':[],'undoMutations':[]};let _0xd31048=new Map(),_0x2c3ca5=[],_0x1909da=[],_0x4a036a=[],_0x266f50=[];return _0x20cc27[_0x3e11e0(0x2b6)][_0x3e11e0(0x1a1)](_0x5662e0=>{const _0x4016e6=_0x3e11e0;if(!this[_0x4016e6(0x432)](_0x5662e0[_0x4016e6(0x1e5)])||!this[_0x4016e6(0x432)](_0x5662e0[_0x4016e6(0x2d2)]))return;let _0x5b2663=_0x739b0f[_0x4016e6(0x1bc)][_0x5662e0[_0x4016e6(0x1e5)][_0x4016e6(0x2f4)]];if(!_0x5b2663)return;let _0x103e10=_0x739b0f[_0x4016e6(0x2cd)][_0x5b2663[_0x4016e6(0x195)]];if(!_0x103e10)return;let _0xd467d=this[_0x4016e6(0x21f)](_0x20cc27['unitId'],_0x103e10,_0xd31048,_0x2c3ca5,_0x1909da),_0x37b52f=(0x0,_0xad9e6c[_0x4016e6(0x42a)])(),_0x527613={..._0xad9e6c[_0x4016e6(0x185)][_0x4016e6(0x2fc)](_0x5b2663),'id':_0x37b52f,'dataSourceId':_0xd467d};_0x5662e0['targetDrawing']['chartId']=_0x37b52f,_0x4a036a['push']({'id':_0x4db172[_0x4016e6(0x1d1)]['id'],'params':{'unitId':_0x20cc27['unitId'],'chart':_0x527613}}),_0x266f50[_0x4016e6(0x373)]({'id':_0x4db172[_0x4016e6(0x2a3)]['id'],'params':{'unitId':_0x20cc27[_0x4016e6(0x25f)],'chartId':_0x37b52f}});}),{'redoMutations':[..._0x2c3ca5,..._0x4a036a],'undoMutations':[..._0x266f50,..._0x1909da]};}[_0xe81a3d(0x21f)](_0x1fde71,_0x2827cf,_0x46d9de,_0x2738cf,_0x2c59ef){const _0x327848=_0xe81a3d;let _0x31ee77=_0x46d9de[_0x327848(0x1ac)](_0x2827cf['id']);if(_0x31ee77)return _0x31ee77;let _0x2d3be8=(0x0,_0xad9e6c[_0x327848(0x42a)])();return _0x46d9de[_0x327848(0x213)](_0x2827cf['id'],_0x2d3be8),_0x2738cf['push']({'id':_0x4db172[_0x327848(0x266)]['id'],'params':{'unitId':_0x1fde71,'dataSource':{..._0xad9e6c[_0x327848(0x185)]['deepClone'](_0x2827cf),'id':_0x2d3be8}}}),_0x2c59ef[_0x327848(0x373)]({'id':_0x4db172[_0x327848(0x1ea)]['id'],'params':{'unitId':_0x1fde71,'dataSourceId':_0x2d3be8}}),_0x2d3be8;}[_0xe81a3d(0x432)](_0x5de037){const _0x4ec051=_0xe81a3d;let _0x51cdd2=_0x5de037;return(_0x51cdd2==null?void 0x0:_0x51cdd2['drawingType'])===_0xad9e6c['DrawingTypeEnum'][_0x4ec051(0x2e4)]&&typeof _0x51cdd2[_0x4ec051(0x2f4)]==_0x4ec051(0x295);}};_0x90160c=_0x5a448c([_0x10b749(0x0,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x15f360[_0xe81a3d(0x403)])),_0x10b749(0x1,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x15f360[_0xe81a3d(0x2dc)])),_0x10b749(0x2,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x4db172['DocChartResourceService']))],_0x90160c);let _0x2891cc=new Set([_0x112f7b[_0xe81a3d(0x1d0)]['BarStacked'],_0x112f7b['ChartTypeBits']['BarPercentStacked'],_0x112f7b[_0xe81a3d(0x1d0)][_0xe81a3d(0x402)],_0x112f7b[_0xe81a3d(0x1d0)][_0xe81a3d(0x438)],_0x112f7b[_0xe81a3d(0x1d0)][_0xe81a3d(0x17b)]]),_0x1cc7ad=_0x268983['STATIC_CHART_TYPE_CATALOG'][_0xe81a3d(0x24c)](_0x46e6b1=>!_0x2891cc['has'](_0x46e6b1[_0xe81a3d(0x2cf)])),_0x478abf=class extends _0xad9e6c[_0xe81a3d(0x1ff)]{constructor(_0x238c42,_0x458911,_0x83482d,_0x3473ff){const _0x215d61=_0xe81a3d;super(),this['_drawingAdapterService']=_0x238c42,this[_0x215d61(0x15c)]=_0x458911,this['_resourceService']=_0x83482d,this[_0x215d61(0x3b9)]=_0x3473ff,this[_0x215d61(0x165)]();}[_0xe81a3d(0x165)](){const _0x57a732=_0xe81a3d;this[_0x57a732(0x30f)](this['_drawingAdapterService']['registerAdapter']({'getEditDrawingCommandInfo':({unitId:_0x1af863,drawing:_0x5d4574})=>{const _0xc9b975=_0x57a732;let _0x3dccbb=_0x4af86a(_0x5d4574);return _0x3dccbb?{'label':this[_0xc9b975(0x3b9)]['t'](_0xc9b975(0x157)),'commandId':_0x444347['id'],'commandParams':{'unitId':_0x1af863,'chartId':_0x3dccbb[_0xc9b975(0x2f4)],'drawingId':_0x3dccbb[_0xc9b975(0x39d)]}}:null;}})),this['disposeWithMe'](this[_0x57a732(0x15c)][_0x57a732(0x2eb)]({'getItems':({unitId:_0x47a0e5,subUnitId:_0x2caf70,drawing:_0x460c9a})=>{const _0x5de5c4=_0x57a732;var _0x1e282d,_0x584da9;let _0x1d3cdb=_0x4af86a(_0x460c9a);if(!_0x1d3cdb)return null;let _0x1f41fc=this[_0x5de5c4(0x2dd)][_0x5de5c4(0x3ed)](_0x47a0e5,_0x1d3cdb[_0x5de5c4(0x2f4)]),_0x1dfbaf=(_0x1f41fc==null?void 0x0:_0x1f41fc['chartType'])??_0x112f7b['ChartTypeBits'][_0x5de5c4(0x2aa)],_0x5d2d2a=(0x0,_0x268983[_0x5de5c4(0x352)])(_0x1cc7ad[_0x5de5c4(0x2c4)](_0x4ba29a=>({..._0x4ba29a,'label':this[_0x5de5c4(0x3b9)]['t']('docs-chart-ui.chartTypes.'+_0x4ba29a[_0x5de5c4(0x41d)])}))),_0x55e7f1=(_0x1f41fc==null||(_0x1e282d=_0x1f41fc[_0x5de5c4(0x30c)])==null||(_0x1e282d=_0x1e282d['pie'])==null||(_0x1e282d=_0x1e282d[_0x5de5c4(0x428)])==null?void 0x0:_0x1e282d[_0x5de5c4(0x17e)])===!0x0?(_0x584da9=_0x1f41fc['style'][_0x5de5c4(0x2bc)][_0x5de5c4(0x428)][_0x5de5c4(0x33d)])==null?void 0x0:_0x584da9['type']:void 0x0,_0x4a75ab=_0x55e7f1?_0x5d2d2a[_0x5de5c4(0x241)](_0x326fea=>_0x326fea['pieSecondaryPlotType']===_0x55e7f1):void 0x0;return[{'type':_0x5de5c4(0x20b),'label':this[_0x5de5c4(0x3b9)]['t']('docs-chart-ui.common.chartType'),'index':0x0,'commandId':_0x4db172[_0x5de5c4(0x170)]['id'],'commandParamsFactory':_0x15fdb4=>{const _0x4c53b6=_0x5de5c4;var _0x1ec86a;let _0x2b869c=_0x5d2d2a[_0x4c53b6(0x241)](_0x2663cd=>_0x2663cd[_0x4c53b6(0x2cf)]===_0x15fdb4),_0x4f350d=(_0x2b869c==null?void 0x0:_0x2b869c[_0x4c53b6(0x3f5)])??Number(_0x15fdb4),_0x52f230=_0x1f41fc==null||(_0x1ec86a=_0x1f41fc[_0x4c53b6(0x30c)])==null||(_0x1ec86a=_0x1ec86a[_0x4c53b6(0x2bc)])==null?void 0x0:_0x1ec86a[_0x4c53b6(0x428)],_0x36b532={'unitId':_0x47a0e5,'chartId':_0x1d3cdb[_0x4c53b6(0x2f4)],'chartType':_0x4f350d};if(_0x2b869c!=null&&_0x2b869c[_0x4c53b6(0x1dc)]){var _0x19e077;return{..._0x36b532,'style':{..._0x1f41fc==null?void 0x0:_0x1f41fc[_0x4c53b6(0x30c)],'pie':{..._0x1f41fc==null||(_0x19e077=_0x1f41fc[_0x4c53b6(0x30c)])==null?void 0x0:_0x19e077[_0x4c53b6(0x2bc)],'composite':{..._0x52f230,'enabled':!0x0,'secondaryPlot':{..._0x52f230==null?void 0x0:_0x52f230[_0x4c53b6(0x33d)],'type':_0x2b869c[_0x4c53b6(0x1dc)]}}}}};}if(_0x4f350d===_0x112f7b[_0x4c53b6(0x1d0)][_0x4c53b6(0x2ea)]&&_0x52f230){var _0x146627;return{..._0x36b532,'style':{..._0x1f41fc==null?void 0x0:_0x1f41fc[_0x4c53b6(0x30c)],'pie':{..._0x1f41fc==null||(_0x146627=_0x1f41fc[_0x4c53b6(0x30c)])==null?void 0x0:_0x146627[_0x4c53b6(0x2bc)],'composite':{..._0x52f230,'enabled':!0x1}}}};}return _0x36b532;},'disable':!_0x1f41fc,'value':(_0x4a75ab==null?void 0x0:_0x4a75ab[_0x5de5c4(0x2cf)])??String(_0x1dfbaf),'options':_0x5d2d2a},{'type':_0x5de5c4(0x292),'label':this['_localeService']['t']('docs-chart-ui.common.editChart'),'index':0x1,'commandId':_0x444347['id'],'commandParams':{'unitId':_0x47a0e5,'chartId':_0x1d3cdb[_0x5de5c4(0x2f4)],'drawingId':_0x1d3cdb[_0x5de5c4(0x39d)]},'disable':!0x1,'hideOnClick':!0x0,'icon':_0x5de5c4(0x21b)},{'type':_0x5de5c4(0x292),'label':this[_0x5de5c4(0x3b9)]['t'](_0x5de5c4(0x242)),'index':0x2,'commandId':_0x2887db[_0x5de5c4(0x20c)]['id'],'commandParams':{'unitId':_0x47a0e5,'drawings':[{'unitId':_0x47a0e5,'subUnitId':_0x2caf70,'drawingId':_0x1d3cdb['drawingId']}]},'disable':!0x1,'icon':_0x5de5c4(0x202)}];}}));}};_0x478abf=_0x5a448c([_0x10b749(0x0,_0x2887db['IDocDrawingAdapterService']),_0x10b749(0x1,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x4b0bbc[_0xe81a3d(0x154)])),_0x10b749(0x2,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x4db172[_0xe81a3d(0x31a)])),_0x10b749(0x3,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0xad9e6c[_0xe81a3d(0x1e6)]))],_0x478abf);function _0x4af86a(_0x58b06c){const _0x3c09a6=_0xe81a3d;let _0x2e153e=_0x58b06c;return(_0x2e153e==null?void 0x0:_0x2e153e[_0x3c09a6(0x3db)])===_0xad9e6c['DrawingTypeEnum'][_0x3c09a6(0x2e4)]&&typeof _0x2e153e[_0x3c09a6(0x2f4)]==_0x3c09a6(0x295)?_0x2e153e:null;}let _0x3a3176=(0x0,_0xad9e6c[_0xe81a3d(0x2e8)])(_0xe81a3d(0x404));var _0x26457b=class{constructor(_0x1357cc){const _0x52ee72=_0xe81a3d;this[_0x52ee72(0x1a7)]=_0x1357cc;}async[_0xe81a3d(0x27e)](_0x11d41f,_0x5bedb3){const _0x4fdc16=_0xe81a3d;if(typeof document>'u')throw TypeError(_0x4fdc16(0x1b0));let _0x3f7a6f=new _0x112f7b[(_0x4fdc16(0x27d))](_0x5bedb3['chartId'],{'width':_0x11d41f['width'],'height':_0x11d41f[_0x4fdc16(0x326)]}),_0x53c47c=this[_0x4fdc16(0x1a7)][_0x4fdc16(0x365)](_0x112f7b['ChartHostRenderMode'][_0x4fdc16(0x260)]);try{let {chartConfig:_0x13d785,chartStyle:_0x4ea1e9}=this[_0x4fdc16(0x1a7)][_0x4fdc16(0x43a)](_0x5bedb3);_0x53c47c['bind'](_0x3f7a6f),await _0x53c47c[_0x4fdc16(0x27e)]({'chartId':_0x5bedb3[_0x4fdc16(0x2f4)],'config':_0x13d785,'style':_0x4ea1e9});let _0x90a9a9=_0x3f7a6f[_0x4fdc16(0x186)]();if(!_0x90a9a9)throw Error(_0x4fdc16(0x179)+_0x5bedb3['unitId']+'/'+_0x5bedb3[_0x4fdc16(0x2f4)]);return _0x90a9a9;}finally{_0x53c47c[_0x4fdc16(0x1fb)](),_0x3f7a6f[_0x4fdc16(0x1fb)]();}}};let _0x25198a=class extends _0x268983[_0xe81a3d(0x41b)]{constructor(_0x168fb0,_0x4fe418,_0x51121b,_0x17ada4){super(_0x168fb0,_0x4fe418,_0x17ada4??new _0x26457b(_0x51121b));}};_0x25198a=_0x5a448c([_0x10b749(0x0,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0xad9e6c[_0xe81a3d(0x1e6)])),_0x10b749(0x1,(0x0,_0xad9e6c['Inject'])(_0x4db172[_0xe81a3d(0x35a)])),_0x10b749(0x2,(0x0,_0xad9e6c['Inject'])(_0x163105)),_0x10b749(0x3,(0x0,_0xad9e6c[_0xe81a3d(0x408)])(_0x3a3176))],_0x25198a);let _0x3247fa=class extends _0xad9e6c[_0xe81a3d(0x1ff)]{constructor(_0x292075,_0x581188,_0x2078eb,_0xab1644){const _0x2ab6ea=_0xe81a3d;super(),this[_0x2ab6ea(0x34e)]=_0x292075,this['_snapshotService']=_0x581188,this[_0x2ab6ea(0x2dd)]=_0x2078eb,this[_0x2ab6ea(0x269)]=_0xab1644,this[_0x2ab6ea(0x2bd)]();}[_0xe81a3d(0x2bd)](){const _0x41a7cb=_0xe81a3d;this[_0x41a7cb(0x30f)](this[_0x41a7cb(0x34e)]['onCommandExecuted'](_0x33192e=>{const _0x481723=_0x41a7cb;if(_0x33192e['id']===_0x4db172[_0x481723(0x1d1)]['id']){var _0xe8ba90;let _0x15bb47=_0x33192e[_0x481723(0x1a2)];_0x15bb47!=null&&_0x15bb47[_0x481723(0x25f)]&&(_0xe8ba90=_0x15bb47[_0x481723(0x252)])!=null&&_0xe8ba90['id']&&(this[_0x481723(0x255)](_0x15bb47)?this[_0x481723(0x340)][_0x481723(0x37a)](_0x15bb47[_0x481723(0x25f)],_0x15bb47[_0x481723(0x252)]['id'],{'waitForConfig':!0x0}):this['_snapshotService'][_0x481723(0x37a)](_0x15bb47['unitId'],_0x15bb47[_0x481723(0x252)]['id']));return;}if(_0x33192e['id']===_0x4db172['SetDocChartDataSourceMutation']['id']){var _0x1ea1a8;let _0x5426ac=_0x33192e[_0x481723(0x1a2)];if(!(_0x5426ac!=null&&_0x5426ac['unitId'])||!((_0x1ea1a8=_0x5426ac[_0x481723(0x384)])!=null&&_0x1ea1a8['id']))return;this['_resourceService']['getChartIdsByDataSource'](_0x5426ac[_0x481723(0x25f)],_0x5426ac[_0x481723(0x384)]['id'])[_0x481723(0x1a1)](_0x4eda80=>this[_0x481723(0x340)]['invalidateChart'](_0x5426ac[_0x481723(0x25f)],_0x4eda80,{'waitForConfig':!0x0}));}}));}['_shouldWaitForChartConfig'](_0x2078b9){const _0x5b3f5e=_0xe81a3d;var _0x40c329;let _0x315877=(_0x40c329=this[_0x5b3f5e(0x269)][_0x5b3f5e(0x19d)](_0x2078b9[_0x5b3f5e(0x25f)],_0x2078b9[_0x5b3f5e(0x252)]['id']))==null||(_0x40c329=_0x40c329[_0x5b3f5e(0x184)][_0x5b3f5e(0x209)])==null?void 0x0:_0x40c329[_0x5b3f5e(0x333)];return _0x315877!=null&&_0x315877!==_0x2078b9[_0x5b3f5e(0x252)][_0x5b3f5e(0x3f5)];}};_0x3247fa=_0x5a448c([_0x10b749(0x0,_0xad9e6c['ICommandService']),_0x10b749(0x1,(0x0,_0xad9e6c['Inject'])(_0x25198a)),_0x10b749(0x2,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x4db172[_0xe81a3d(0x31a)])),_0x10b749(0x3,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x4db172[_0xe81a3d(0x35a)]))],_0x3247fa);let _0x5c60b9=_0x178d76['id'],_0xd1387f=_0x5c60b9+_0xe81a3d(0x3c1);function _0x330b5f(_0x4293b5){const _0xed217d=_0xe81a3d;return(0x0,_0x218e70['combineLatest'])([(0x0,_0x15f360[_0xed217d(0x3e0)])(_0x4293b5),_0x3e81dd(_0x4293b5)])[_0xed217d(0x34b)]((0x0,_0x218e70['map'])(([_0xc06f8e,_0x4b6484])=>_0xc06f8e||_0x4b6484));}function _0x3e81dd(_0x3b656b){const _0x1d543f=_0xe81a3d;let _0x41303c=_0x3b656b['get'](_0x1a2389[_0x1d543f(0x1c7)]),_0x11d04f=_0x3b656b[_0x1d543f(0x1ac)](_0xad9e6c['IUniverInstanceService']);return new _0x218e70[(_0x1d543f(0x3e4))](_0x189f26=>{const _0x57f628=_0x1d543f;let _0x54d0cf=_0x475730=>{const _0x16113c=_0x5ef5;let _0xd088c4=_0x11d04f[_0x16113c(0x1f9)](_0xad9e6c[_0x16113c(0x38d)][_0x16113c(0x240)]);if(!_0xd088c4){_0x189f26[_0x16113c(0x34f)](!0x0);return;}let _0x597948=(_0x475730==null?void 0x0:_0x475730['textRanges'])??[..._0x41303c[_0x16113c(0x20e)]()??[]];if(_0x597948['length']!==0x1){_0x189f26[_0x16113c(0x34f)](!0x0);return;}let _0x23fa5c=_0x41303c[_0x16113c(0x419)]()??_0x597948[0x0];if(!_0x23fa5c||!_0x23fa5c[_0x16113c(0x3c5)]||_0x23fa5c[_0x16113c(0x249)]==null){_0x189f26[_0x16113c(0x34f)](!0x0);return;}let _0x304141=_0x47da01(_0xd088c4,{..._0x23fa5c,'segmentId':_0x23fa5c[_0x16113c(0x1af)]??(_0x475730==null?void 0x0:_0x475730[_0x16113c(0x1af)])??''});_0x189f26[_0x16113c(0x34f)](_0x304141==null);};_0x54d0cf();let _0x371ec6=_0x41303c['textSelection$']['subscribe'](_0x38b329=>_0x54d0cf(_0x38b329));return()=>_0x371ec6[_0x57f628(0x3da)]();});}function _0x58a388(_0x4fd622){return _0x3376b3(_0x4fd622);}function _0x3376b3(_0x565271){const _0xb549fb=_0xe81a3d;let _0x514b27=_0x565271['get'](_0xad9e6c[_0xb549fb(0x1e6)])['t'](_0xb549fb(0x1b5));return{'id':_0x5c60b9,'commandId':_0x178d76['id'],'type':_0x59b7bc[_0xb549fb(0x2f8)]['BUTTON'],'icon':'ChartIcon','title':_0x514b27,'tooltip':_0x514b27,'disabled$':_0x330b5f(_0x565271),'hidden$':(0x0,_0x59b7bc['getMenuHiddenObservable'])(_0x565271,_0xad9e6c['UniverInstanceType'][_0xb549fb(0x240)])};}function _0x38f747(_0x54c060){const _0x177bdc=_0xe81a3d;let _0xf917fd=_0x54c060[_0x177bdc(0x1ac)](_0xad9e6c[_0x177bdc(0x1e6)])['t'](_0x177bdc(0x1b5));return{'id':_0xd1387f,'commandId':_0x178d76['id'],'type':_0x59b7bc[_0x177bdc(0x2f8)][_0x177bdc(0x1e4)],'icon':_0x177bdc(0x3a8),'title':_0xf917fd,'tooltip':_0xf917fd,'disabled$':_0x330b5f(_0x54c060),'hidden$':(0x0,_0x59b7bc[_0x177bdc(0x390)])(_0x54c060,_0xad9e6c[_0x177bdc(0x38d)][_0x177bdc(0x240)])};}let _0x4bf004={[_0x59b7bc[_0xe81a3d(0x23a)][_0xe81a3d(0x18e)]]:{[_0x5c60b9]:{'order':2.5,'menuItemFactory':_0x58a388}},[_0x59b7bc['ContextMenuPosition'][_0xe81a3d(0x1c0)]]:{[_0x59b7bc[_0xe81a3d(0x367)]['LAYOUT']]:{[_0x15f360['INSERT_BELLOW_MENU_ID']]:{[_0x5c60b9]:{'order':4.5,'menuItemFactory':_0x3376b3}}},[_0x15f360[_0xe81a3d(0x18c)]]:{[_0x59b7bc[_0xe81a3d(0x367)][_0xe81a3d(0x2df)]]:{[_0x5c60b9]:{'order':5.5,'menuItemFactory':_0x3376b3}}},[_0x15f360[_0xe81a3d(0x16b)]]:{[_0x59b7bc[_0xe81a3d(0x367)][_0xe81a3d(0x2df)]]:{[_0x5c60b9]:{'order':4.5,'menuItemFactory':_0x3376b3}}},[_0x15f360[_0xe81a3d(0x2e9)]]:{'insert':{[_0x5c60b9]:{'order':1.5,'menuItemFactory':_0x3376b3}}},[_0x15f360[_0xe81a3d(0x1f2)]]:{'insert':{[_0xd1387f]:{'order':1.5,'menuItemFactory':_0x38f747}}}}};var _0x54ec76='@univerjs-pro/docs-chart-ui',_0x56b5b1=_0xe81a3d(0x1ab),_0x4d227f=class extends _0x594bc0[_0xe81a3d(0x260)]{constructor(..._0x40d7cc){super(..._0x40d7cc),_0x2845e9(this,'_imageContentHidden',!0x1);}get[_0xe81a3d(0x231)](){const _0xece178=_0xe81a3d;return this[_0xece178(0x223)];}[_0xe81a3d(0x2fe)](_0x1c58f4){const _0x385a6e=_0xe81a3d;this[_0x385a6e(0x223)]!==_0x1c58f4&&(this[_0x385a6e(0x223)]=_0x1c58f4,this['makeDirty'](!0x0));}[_0xe81a3d(0x423)](_0x252804,_0x4c9dca,_0x1bb10b,_0x4c3900){const _0x40d195=_0xe81a3d;this[_0x40d195(0x223)]||super[_0x40d195(0x423)](_0x252804,_0x4c9dca,_0x1bb10b,_0x4c3900);}};let _0x55b769={'borderEnabled':!0x0,'borderStroke':'#4086f4','borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':_0xe81a3d(0x33c),'anchorStroke':_0xe81a3d(0x29e),'anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':_0xe81a3d(0x38a),'rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':_0xe81a3d(0x31f),'rotateLineEnabled':!0x1,'rotateFill':_0xe81a3d(0x33c),'rotateStroke':_0xe81a3d(0x29e),'rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':_0xe81a3d(0x29e),'rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1},_0x58b244={..._0x55b769,'rotateEnabled':!0x1},_0x4e719b=class extends _0xad9e6c[_0xe81a3d(0x1ff)]{constructor(_0x5b2426,_0x1d593c,_0x17baa3){const _0x13e874=_0xe81a3d;super(),this['_drawingManagerService']=_0x5b2426,this[_0x13e874(0x2fb)]=_0x1d593c,this[_0x13e874(0x1f5)]=_0x17baa3,_0x2845e9(this,_0x13e874(0x1e9),new Set()),this[_0x13e874(0x254)]();}[_0xe81a3d(0x1d2)](_0x25f0dd,_0x490a82){const _0x3ee007=_0xe81a3d;let _0x21c0e2=(0x0,_0x1dcebe[_0x3ee007(0x34c)])(_0x25f0dd);_0x490a82?this[_0x3ee007(0x1e9)][_0x3ee007(0x28b)](_0x21c0e2):this[_0x3ee007(0x1e9)][_0x3ee007(0x369)](_0x21c0e2),this[_0x3ee007(0x2d3)](_0x25f0dd);}[_0xe81a3d(0x254)](){const _0x43b488=_0xe81a3d;this[_0x43b488(0x30f)](this[_0x43b488(0x3ad)][_0x43b488(0x309)][_0x43b488(0x40e)](_0x33b9f5=>{const _0x287a01=_0x43b488;this[_0x287a01(0x250)](_0x33b9f5);})),this[_0x43b488(0x30f)](this[_0x43b488(0x3ad)][_0x43b488(0x435)]['subscribe'](_0x6388c5=>{const _0x44ecf7=_0x43b488;this[_0x44ecf7(0x250)](_0x6388c5);})),this[_0x43b488(0x30f)](this[_0x43b488(0x3ad)][_0x43b488(0x239)]['subscribe'](_0x5b7935=>{const _0x367245=_0x43b488;this[_0x367245(0x318)](_0x5b7935);})),this[_0x43b488(0x30f)](this[_0x43b488(0x1f5)][_0x43b488(0x3ba)][_0x43b488(0x40e)](({unitId:_0x464190,chartId:_0x36ef74})=>{this['_requestSnapshotsForUnit'](_0x464190,_0x36ef74);})),this[_0x43b488(0x30f)](this[_0x43b488(0x1f5)][_0x43b488(0x43b)][_0x43b488(0x40e)](_0x1b76ca=>{const _0x4e301e=_0x43b488;if(_0x1b76ca['status']!==_0x4e301e(0x268)||!_0x1b76ca[_0x4e301e(0x300)])return;let [_0x2d45b0,_0x27a650]=_0x1b76ca['key']['split']('::');!_0x2d45b0||!_0x27a650||this[_0x4e301e(0x342)](_0x2d45b0,_0x27a650,_0x1b76ca[_0x4e301e(0x300)]);}));}[_0xe81a3d(0x250)](_0x204759){_0x204759['forEach'](_0x42302c=>{const _0x4f2561=_0x5ef5;let _0x4afe1e=this[_0x4f2561(0x17d)](_0x42302c);_0x4afe1e&&this['_requestSnapshot'](_0x4afe1e);});}[_0xe81a3d(0x3b4)](_0x3a675d,_0x5dddc9){this['_forEachChartDrawing'](_0x3a675d,_0x3d3e4e=>{const _0x4689c5=_0x5ef5;(_0x5dddc9==null||_0x3d3e4e['chartId']===_0x5dddc9)&&this[_0x4689c5(0x36b)](_0x3d3e4e);});}[_0xe81a3d(0x36b)](_0x3caa2e){const _0x234758=_0xe81a3d;let _0x14e3e4=this[_0x234758(0x351)](_0x3caa2e);if(!_0x14e3e4)return;let _0x534fce=this[_0x234758(0x1f5)][_0x234758(0x159)]({'unitId':_0x3caa2e[_0x234758(0x25f)],'chartId':_0x3caa2e[_0x234758(0x2f4)],'width':_0x14e3e4[_0x234758(0x25b)],'height':_0x14e3e4[_0x234758(0x326)],'dpr':typeof window>'u'?0x1:window[_0x234758(0x32b)]||0x1,'mode':_0x234758(0x1db)});_0x534fce[_0x234758(0x2b9)]===_0x234758(0x268)&&_0x534fce[_0x234758(0x300)]&&this['_renderDrawing'](_0x3caa2e,_0x534fce[_0x234758(0x300)]);}['_renderCharts'](_0x5c0a5c,_0x59160c,_0x2b821a){const _0x336ed1=_0xe81a3d;this[_0x336ed1(0x3aa)](_0x5c0a5c,_0x55a9f4=>{const _0x59517b=_0x336ed1;_0x55a9f4['chartId']===_0x59160c&&this[_0x59517b(0x358)](_0x55a9f4,_0x2b821a);});}[_0xe81a3d(0x358)](_0x258e6b,_0x5cac6f){const _0x2daf15=_0xe81a3d;let _0x43869c=this['_renderManagerService'][_0x2daf15(0x3b8)](_0x258e6b[_0x2daf15(0x25f)]),_0x445ca4=_0x43869c==null?void 0x0:_0x43869c['scene'];if(!_0x445ca4||!this[_0x2daf15(0x351)](_0x258e6b))return;this[_0x2daf15(0x3ad)][_0x2daf15(0x429)]()&&_0x445ca4['initTransformer'](_0x55b769);let _0x379c44=(0x0,_0x1dcebe['getDrawingShapeKeyByDrawingSearch'])(_0x258e6b),_0x57c06d=_0x445ca4[_0x2daf15(0x18d)](_0x379c44);if(_0x57c06d!=null&&_0x57c06d['changeSource']){var _0x180044,_0x5b62a0,_0x15fcc8,_0x29d006;_0x57c06d['transformerConfig']={..._0x57c06d[_0x2daf15(0x1cd)],..._0x58b244},_0x57c06d[_0x2daf15(0x289)](_0x5cac6f),(_0x180044=_0x57c06d[_0x2daf15(0x267)])==null||_0x180044[_0x2daf15(0x322)](_0x57c06d,_0x258e6b[_0x2daf15(0x19c)]),(_0x5b62a0=_0x57c06d[_0x2daf15(0x175)])==null||_0x5b62a0['call'](_0x57c06d,(_0x15fcc8=_0x258e6b[_0x2daf15(0x19c)])==null?void 0x0:_0x15fcc8[_0x2daf15(0x3e7)]),this[_0x2daf15(0x1f4)](_0x57c06d,_0x258e6b,_0x379c44),(_0x29d006=_0x57c06d[_0x2daf15(0x282)])==null||_0x29d006[_0x2daf15(0x322)](_0x57c06d,!0x0);return;}this[_0x2daf15(0x3fa)](_0x258e6b,_0x5cac6f,_0x445ca4,_0x379c44);}[_0xe81a3d(0x3fa)](_0x4ba718,_0x2d1207,_0x1ab499,_0x456c73){const _0x541b57=_0xe81a3d;let _0x5c0c89=_0x4ba718[_0x541b57(0x19c)];if(!_0x5c0c89)return;let _0x5a3294=this[_0x541b57(0x3ad)][_0x541b57(0x1b3)](_0x4ba718[_0x541b57(0x25f)],_0x4ba718[_0x541b57(0x1fd)]),_0x24eff6=_0x5a3294[_0x541b57(0x200)](_0x4ba718[_0x541b57(0x39d)]),_0x316745={..._0x5c0c89,'zIndex':_0x24eff6===-0x1?_0x5a3294[_0x541b57(0x354)]-0x1:_0x24eff6,'clipBounds':_0x5c0c89[_0x541b57(0x3e7)],'printable':!0x0,'rotateEnabled':!0x1,'transformerConfig':_0x58b244,'url':_0x2d1207};_0x4ba718['hidden']&&(_0x316745[_0x541b57(0x3b6)]=!0x1);let _0x43ee9a=new _0x4d227f(_0x456c73,_0x316745);_0x43ee9a['setImageContentHidden'](this[_0x541b57(0x1e9)][_0x541b57(0x40b)](_0x456c73)),_0x1ab499[_0x541b57(0x172)](_0x43ee9a,_0x594bc0[_0x541b57(0x2da)]),this['_drawingManagerService'][_0x541b57(0x429)]()&&_0x1ab499['attachTransformerTo'](_0x43ee9a);}[_0xe81a3d(0x318)](_0x1ef898){const _0x4fff01=_0xe81a3d;_0x1ef898[_0x4fff01(0x1a1)](_0x1d31ab=>{const _0x1ddc29=_0x4fff01;this[_0x1ddc29(0x1e9)]['delete']((0x0,_0x1dcebe[_0x1ddc29(0x34c)])(_0x1d31ab));let _0x98cd02=this['_renderManagerService']['getRenderUnitById'](_0x1d31ab[_0x1ddc29(0x25f)]),_0x2a69b8=_0x98cd02==null?void 0x0:_0x98cd02[_0x1ddc29(0x1c6)];if(!_0x2a69b8)return;let _0x235009=_0x2a69b8[_0x1ddc29(0x18d)]((0x0,_0x1dcebe[_0x1ddc29(0x34c)])(_0x1d31ab));_0x235009&&_0x2a69b8[_0x1ddc29(0x1c4)](_0x235009);});}[_0xe81a3d(0x2d3)](_0x37aabc){const _0x206a7a=_0xe81a3d;let _0x364e98=this[_0x206a7a(0x2fb)][_0x206a7a(0x3b8)](_0x37aabc[_0x206a7a(0x25f)]),_0x2816c9=_0x364e98==null?void 0x0:_0x364e98[_0x206a7a(0x1c6)];if(!_0x2816c9)return;let _0x2ccdb2=(0x0,_0x1dcebe[_0x206a7a(0x34c)])(_0x37aabc),_0x48fee2=_0x2816c9['getObjectIncludeInGroup'](_0x2ccdb2);if(!_0x48fee2)return;let _0x8cc2a0=this[_0x206a7a(0x3ad)][_0x206a7a(0x1c9)](_0x37aabc);this['_syncChartImageVisibility'](_0x48fee2,_0x8cc2a0,_0x2ccdb2);}['_syncChartImageVisibility'](_0xe3cbcb,_0x460f83,_0x278ccf){const _0x244b25=_0xe81a3d;var _0x11bf5d,_0xbe5cc2;let _0xfaf344=this[_0x244b25(0x1e9)][_0x244b25(0x40b)](_0x278ccf);if(_0xe3cbcb[_0x244b25(0x2fe)]){var _0x1bb8aa,_0x133712;_0xe3cbcb['setImageContentHidden'](_0xfaf344),(_0x460f83==null?void 0x0:_0x460f83[_0x244b25(0x22d)])===!0x0?(_0x1bb8aa=_0xe3cbcb['hide'])==null||_0x1bb8aa[_0x244b25(0x322)](_0xe3cbcb):(_0x133712=_0xe3cbcb[_0x244b25(0x42e)])==null||_0x133712[_0x244b25(0x322)](_0xe3cbcb);return;}(_0x460f83==null?void 0x0:_0x460f83[_0x244b25(0x22d)])===!0x0?(_0x11bf5d=_0xe3cbcb[_0x244b25(0x1f7)])==null||_0x11bf5d[_0x244b25(0x322)](_0xe3cbcb):(_0xbe5cc2=_0xe3cbcb[_0x244b25(0x42e)])==null||_0xbe5cc2[_0x244b25(0x322)](_0xe3cbcb);}[_0xe81a3d(0x17d)](_0xd9cb81){const _0x19885d=_0xe81a3d;let _0x473a1f=this[_0x19885d(0x3ad)]['getDrawingByParam'](_0xd9cb81);return _0x2aa1f8(_0x473a1f)?_0x473a1f:null;}[_0xe81a3d(0x3aa)](_0x1b3336,_0x40c615){const _0x40deca=_0xe81a3d;let _0x4686a3=this[_0x40deca(0x3ad)]['getDrawingDataForUnit'](_0x1b3336),_0x1dad29=_0x4686a3==null?void 0x0:_0x4686a3[_0x1b3336];_0x1dad29&&_0x1dad29['order'][_0x40deca(0x1a1)](_0x4b945e=>{let _0x57dc4f=_0x1dad29['data'][_0x4b945e];_0x2aa1f8(_0x57dc4f)&&_0x40c615(_0x57dc4f);});}[_0xe81a3d(0x351)](_0x4bd619){const _0x59d761=_0xe81a3d;var _0x49c638,_0x189d98,_0x9e11dc,_0x33dd9e;let _0xad3b95=((_0x49c638=_0x4bd619[_0x59d761(0x19c)])==null?void 0x0:_0x49c638[_0x59d761(0x25b)])??((_0x189d98=_0x4bd619[_0x59d761(0x214)])==null||(_0x189d98=_0x189d98[_0x59d761(0x35d)])==null?void 0x0:_0x189d98[_0x59d761(0x25b)])??0x0,_0x78b1e2=((_0x9e11dc=_0x4bd619[_0x59d761(0x19c)])==null?void 0x0:_0x9e11dc[_0x59d761(0x326)])??((_0x33dd9e=_0x4bd619[_0x59d761(0x214)])==null||(_0x33dd9e=_0x33dd9e[_0x59d761(0x35d)])==null?void 0x0:_0x33dd9e[_0x59d761(0x326)])??0x0;return _0xad3b95<=0x0||_0x78b1e2<=0x0?null:{'width':Math[_0x59d761(0x337)](0x1,Math[_0x59d761(0x34d)](_0xad3b95)),'height':Math['max'](0x1,Math['round'](_0x78b1e2))};}};_0x4e719b=_0x5a448c([_0x10b749(0x0,_0x1dcebe[_0xe81a3d(0x16f)]),_0x10b749(0x1,_0x594bc0[_0xe81a3d(0x33e)]),_0x10b749(0x2,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x25198a))],_0x4e719b);function _0x2aa1f8(_0x8153f4){const _0x402402=_0xe81a3d;let _0x5c6ba4=_0x8153f4;return(_0x5c6ba4==null?void 0x0:_0x5c6ba4[_0x402402(0x3db)])===_0xad9e6c[_0x402402(0x415)][_0x402402(0x2e4)]&&typeof _0x5c6ba4[_0x402402(0x2f4)]==_0x402402(0x295);}function _0x10dbb7(_0x25d48f,_0x649dd7,_0x37c8e3=0x1,_0x10addd=0x0){const _0x18a7f4=_0xe81a3d;let {top:_0x5880d3,left:_0x2ddfba,bottom:_0x1f91e3,right:_0x1bfd61}=_0x25d48f,_0x3175a5=_0x1bfd61-_0x2ddfba,_0x28c23e=_0x1f91e3-_0x5880d3,{viewportScrollX:_0x170132,viewportScrollY:_0x59cf2f}=_0x649dd7[_0x18a7f4(0x431)](_0x15f360['VIEWPORT_KEY'][_0x18a7f4(0x29c)]),{scaleX:_0x2d5f2c,scaleY:_0x35b8a4}=_0x649dd7[_0x18a7f4(0x406)](),_0x5e5fa4=(_0x2ddfba-_0x170132)*_0x2d5f2c,_0x33d376=(_0x5880d3-_0x59cf2f)*_0x35b8a4,_0x4b2668=_0x3175a5*_0x2d5f2c,_0x52d622=_0x28c23e*_0x35b8a4;return{'startX':_0x5e5fa4,'startY':_0x33d376,'endX':_0x5e5fa4+_0x4b2668,'endY':_0x33d376+_0x52d622,'width':_0x4b2668,'height':_0x52d622,'rotate':_0x10addd,'absolute':{'left':!0x1,'top':!0x1},'opacity':_0x37c8e3};}function _0x2e85d2(_0x5cbb6a,_0x57b587){const _0x48d272=_0xe81a3d;return _0x5cbb6a[_0x48d272(0x25f)]===_0x57b587[_0x48d272(0x25f)]&&(_0x5cbb6a[_0x48d272(0x1fd)]??_0x5cbb6a[_0x48d272(0x25f)])===(_0x57b587[_0x48d272(0x1fd)]??_0x57b587[_0x48d272(0x25f)])&&_0x5cbb6a['drawingId']===_0x57b587[_0x48d272(0x39d)];}function _0x47c580(_0x2753d7,_0x343441=0x0){const _0x2c1c6a=_0xe81a3d;return _0x2753d7[_0x2c1c6a(0x241)](_0xbe102a=>typeof _0xbe102a==_0x2c1c6a(0x3e8)&&Number['isFinite'](_0xbe102a))??_0x343441;}function _0x332112(_0x21688b,_0x5800d1){const _0x54f20a=_0xe81a3d;var _0x2d92ba,_0xe7416e,_0x4ef08c,_0x1ef279,_0x177565,_0x1c9f55,_0x2e4f6c;let _0x5877ee=_0x5800d1==null||(_0x2d92ba=_0x5800d1['getRealBound'])==null?void 0x0:_0x2d92ba[_0x54f20a(0x322)](_0x5800d1),_0x5a8ea6=_0x47c580([_0x5877ee==null?void 0x0:_0x5877ee[_0x54f20a(0x25b)],(_0xe7416e=_0x21688b['transform'])==null?void 0x0:_0xe7416e[_0x54f20a(0x25b)],(_0x4ef08c=_0x21688b[_0x54f20a(0x214)])==null||(_0x4ef08c=_0x4ef08c['size'])==null?void 0x0:_0x4ef08c[_0x54f20a(0x25b)]]),_0x500c3e=_0x47c580([_0x5877ee==null?void 0x0:_0x5877ee[_0x54f20a(0x326)],(_0x1ef279=_0x21688b[_0x54f20a(0x19c)])==null?void 0x0:_0x1ef279[_0x54f20a(0x326)],(_0x177565=_0x21688b[_0x54f20a(0x214)])==null||(_0x177565=_0x177565[_0x54f20a(0x35d)])==null?void 0x0:_0x177565['height']]),_0x4eb4eb=_0x47c580([_0x5877ee==null?void 0x0:_0x5877ee[_0x54f20a(0x24a)],(_0x1c9f55=_0x21688b[_0x54f20a(0x19c)])==null?void 0x0:_0x1c9f55[_0x54f20a(0x24a)]]),_0x4a84e7=_0x47c580([_0x5877ee==null?void 0x0:_0x5877ee['top'],(_0x2e4f6c=_0x21688b[_0x54f20a(0x19c)])==null?void 0x0:_0x2e4f6c['top']]);return{'left':_0x4eb4eb,'top':_0x4a84e7,'right':_0x4eb4eb+_0x5a8ea6,'bottom':_0x4a84e7+_0x500c3e};}function _0x54a427(_0x324437,_0x23ee3e){const _0x508834=_0xe81a3d;if(!_0x324437||typeof _0x324437!=_0x508834(0x1a9))return;let _0x3f4a60=_0x324437;if(typeof _0x3f4a60[_0x508834(0x37d)]=='function'){let _0xaa87c5=_0x3f4a60['subscribeEvent'](_0x23ee3e);return(0x0,_0xad9e6c[_0x508834(0x2c3)])(()=>{const _0x9895f4=_0x508834;var _0x44c5c1;if(typeof _0xaa87c5[_0x9895f4(0x1fb)]==_0x9895f4(0x3c3)){_0xaa87c5['dispose']();return;}(_0x44c5c1=_0xaa87c5[_0x9895f4(0x3da)])==null||_0x44c5c1[_0x9895f4(0x322)](_0xaa87c5);});}let _0x3b6a9d=_0x324437;if(typeof _0x3b6a9d[_0x508834(0x40e)]=='function'){let _0x337340=_0x3b6a9d[_0x508834(0x40e)](_0x23ee3e);return(0x0,_0xad9e6c[_0x508834(0x2c3)])(()=>{const _0x317890=_0x508834;var _0x15fd36;return(_0x15fd36=_0x337340['unsubscribe'])==null?void 0x0:_0x15fd36[_0x317890(0x322)](_0x337340);});}}let _0x3cff1e=class extends _0xad9e6c[_0xe81a3d(0x1ff)]{constructor(_0x5e9847,_0x388e9f,_0x385e87,_0x4f311d,_0x165dfc,_0x16b8c8,_0x305741,_0x9959df,_0x3d2be8,_0x5c17e0){const _0x4b8538=_0xe81a3d;super(),this[_0x4b8538(0x3ad)]=_0x5e9847,this['_renderManagerService']=_0x388e9f,this[_0x4b8538(0x39b)]=_0x385e87,this['_modelService']=_0x4f311d,this[_0x4b8538(0x1a7)]=_0x165dfc,this[_0x4b8538(0x1f5)]=_0x16b8c8,this[_0x4b8538(0x34e)]=_0x305741,this[_0x4b8538(0x27f)]=_0x9959df,this[_0x4b8538(0x3b9)]=_0x3d2be8,this[_0x4b8538(0x3b2)]=_0x5c17e0,_0x2845e9(this,_0x4b8538(0x436),null),_0x2845e9(this,_0x4b8538(0x262),new _0x218e70[(_0x4b8538(0x2ec))]()),this['_init']();}['mountChart'](_0x26e725){const _0x27cfcd=_0xe81a3d;let _0x15f3aa=this[_0x27cfcd(0x269)][_0x27cfcd(0x2e3)](_0x26e725[_0x27cfcd(0x25f)],_0x26e725[_0x27cfcd(0x2f4)]);if(!_0x15f3aa)return(0x0,_0xad9e6c['toDisposable'])(()=>{});let _0x2d5845=new _0x1dfe24(_0x26e725[_0x27cfcd(0x2f4)],_0x26e725[_0x27cfcd(0x397)],(_0x28a325,_0x2951a6)=>this['_renderService']['applyHostStyle'](_0x28a325,_0x2951a6),()=>this[_0x27cfcd(0x291)](_0x26e725)),_0x47c5b7=this[_0x27cfcd(0x1a7)][_0x27cfcd(0x365)](_0x112f7b[_0x27cfcd(0x30d)]['Dom']);_0x47c5b7[_0x27cfcd(0x3f7)](_0x2d5845);let _0x306960=[_0x47c5b7['on'](_0x27cfcd(0x1ce),_0x56663a=>{const _0x5a0287=_0x27cfcd;let _0x10a24d=(0x0,_0x268983[_0x5a0287(0x18a)])(_0x15f3aa[_0x5a0287(0x184)],_0x56663a[_0x5a0287(0x36e)]);if(!_0x10a24d)return;let _0x352064=(0x0,_0x268983[_0x5a0287(0x313)])(_0x10a24d[_0x5a0287(0x23c)]);_0x352064&&this[_0x5a0287(0x34e)][_0x5a0287(0x1a8)](_0x444347['id'],{'unitId':_0x26e725[_0x5a0287(0x25f)],'chartId':_0x26e725[_0x5a0287(0x2f4)],'drawingId':_0x26e725[_0x5a0287(0x39d)],'route':_0x352064});}),_0x47c5b7['on'](_0x27cfcd(0x40a),()=>{const _0x21072d=_0x27cfcd;this['_commandService'][_0x21072d(0x1a8)](_0x444347['id'],{'unitId':_0x26e725[_0x21072d(0x25f)],'chartId':_0x26e725[_0x21072d(0x2f4)],'drawingId':_0x26e725['drawingId']});})],_0x2111b5=!0x0;return _0x306960[_0x27cfcd(0x373)](this[_0x27cfcd(0x299)](_0x15f3aa,_0x47c5b7,_0x26e725,()=>_0x2111b5)),(0x0,_0xad9e6c['toDisposable'])(()=>{const _0x4e52d5=_0x27cfcd;_0x2111b5=!0x1,this['_staticRenderController'][_0x4e52d5(0x1d2)](this[_0x4e52d5(0x216)](_0x26e725),!0x1),_0x306960[_0x4e52d5(0x1a1)](_0x309566=>_0x309566[_0x4e52d5(0x1fb)]()),_0x47c5b7[_0x4e52d5(0x1fb)](),_0x2d5845[_0x4e52d5(0x1fb)]();});}['dispose'](){const _0x23613c=_0xe81a3d;this['_deactivate'](),this[_0x23613c(0x262)]['complete'](),super['dispose']();}['_init'](){const _0x5181dc=_0xe81a3d;this[_0x5181dc(0x30f)](this[_0x5181dc(0x3ad)][_0x5181dc(0x168)][_0x5181dc(0x40e)](_0x574203=>{const _0x1730e2=_0x5181dc;this[_0x1730e2(0x1ad)](_0x574203);})),this[_0x5181dc(0x30f)](this[_0x5181dc(0x3ad)]['remove$'][_0x5181dc(0x40e)](_0x18108c=>{const _0x1652b3=_0x5181dc;let _0x29b648=this[_0x1652b3(0x436)];_0x29b648&&_0x18108c[_0x1652b3(0x3f8)](_0x2ecb6b=>_0x2e85d2(_0x2ecb6b,_0x29b648))&&this[_0x1652b3(0x2d1)]();})),this[_0x5181dc(0x30f)](this['_drawingManagerService']['refreshTransform$'][_0x5181dc(0x40e)](_0x2a5f77=>{const _0x28c2b3=_0x5181dc;let _0x500964=this[_0x28c2b3(0x436)];if(!_0x500964){this[_0x28c2b3(0x344)](_0x2a5f77);return;}let _0x19db01=_0x2a5f77['find'](_0x545691=>_0x2e85d2(_0x545691,_0x500964));if(_0x19db01){let _0x47b4a4=this[_0x28c2b3(0x3ad)][_0x28c2b3(0x1c9)]({'unitId':_0x19db01[_0x28c2b3(0x25f)],'subUnitId':_0x19db01[_0x28c2b3(0x1fd)],'drawingId':_0x19db01[_0x28c2b3(0x39d)]});this[_0x28c2b3(0x432)](_0x47b4a4)&&this[_0x28c2b3(0x3fe)](_0x47b4a4);}})),this[_0x5181dc(0x30f)](this[_0x5181dc(0x27f)][_0x5181dc(0x236)](_0xad9e6c['UniverInstanceType'][_0x5181dc(0x240)])[_0x5181dc(0x40e)](_0x32e19c=>{const _0x319f50=_0x5181dc;let _0x1ff331=this[_0x319f50(0x436)];_0x1ff331&&(_0x32e19c==null?void 0x0:_0x32e19c['getUnitId']())!==_0x1ff331[_0x319f50(0x25f)]&&this[_0x319f50(0x2d1)]();}));}[_0xe81a3d(0x299)](_0xe269a9,_0x389d3c,_0x58e370,_0x55ddf3){const _0x4dd0cb=_0xe81a3d;let _0x23e24e=()=>{const _0x469ec7=_0x5ef5;let {chartConfig:_0x4986d7,chartStyle:_0x346aa7}=this['_renderService'][_0x469ec7(0x43a)](_0xe269a9);Promise[_0x469ec7(0x228)](_0x389d3c['render']({'chartId':_0xe269a9[_0x469ec7(0x2f4)],'config':_0x4986d7,'style':_0x346aa7}))['then'](()=>{const _0x5073e7=_0x469ec7;_0x55ddf3()&&this[_0x5073e7(0x160)](_0x58e370)&&this[_0x5073e7(0x3b2)][_0x5073e7(0x1d2)](this[_0x5073e7(0x216)](_0x58e370),!0x0);},()=>{});},_0x4bf26e=(0x0,_0x218e70[_0x4dd0cb(0x401)])([_0xe269a9[_0x4dd0cb(0x184)][_0x4dd0cb(0x31d)],_0xe269a9['model'][_0x4dd0cb(0x36d)],this[_0x4dd0cb(0x3b9)][_0x4dd0cb(0x198)]])[_0x4dd0cb(0x34b)]((0x0,_0x218e70[_0x4dd0cb(0x24c)])(([_0x101eb1])=>_0x101eb1!=null))['subscribe'](_0x23e24e),_0x2c9340=this[_0x4dd0cb(0x262)]['pipe']((0x0,_0x218e70[_0x4dd0cb(0x24c)])(_0xeb0293=>_0xeb0293===_0x58e370[_0x4dd0cb(0x39d)]))[_0x4dd0cb(0x40e)](_0x23e24e);return(0x0,_0xad9e6c[_0x4dd0cb(0x2c3)])(()=>{const _0x1a03f5=_0x4dd0cb;_0x4bf26e[_0x1a03f5(0x3da)](),_0x2c9340[_0x1a03f5(0x3da)]();});}[_0xe81a3d(0x1ad)](_0x1bf0b2){const _0x3e3730=_0xe81a3d;let _0x5773a8=(_0x1bf0b2??[])[_0x3e3730(0x24c)](_0xe756c3=>this[_0x3e3730(0x432)](_0xe756c3));if(_0x5773a8['length']!==0x1){this['_deactivate']();return;}this[_0x3e3730(0x24d)](_0x5773a8[0x0]);}[_0xe81a3d(0x24d)](_0x4631bf){const _0x19d798=_0xe81a3d;var _0x31d531,_0xa7b310,_0x1b611,_0xdde761;let _0x39a3ff=this['_getPositionState'](_0x4631bf),_0x2192e5=this['_getRenderRect'](_0x4631bf),_0x22c0aa=_0x4631bf[_0x19d798(0x1fd)]??_0x4631bf[_0x19d798(0x25f)];if(!_0x39a3ff||!_0x2192e5){this['_deactivate']();return;}if(((_0x31d531=this[_0x19d798(0x436)])==null?void 0x0:_0x31d531[_0x19d798(0x25f)])===_0x4631bf[_0x19d798(0x25f)]&&this[_0x19d798(0x436)][_0x19d798(0x1fd)]===_0x22c0aa&&this[_0x19d798(0x436)]['drawingId']===_0x4631bf[_0x19d798(0x39d)]&&this[_0x19d798(0x436)]['chartId']===_0x4631bf[_0x19d798(0x2f4)]){this[_0x19d798(0x436)][_0x19d798(0x1c6)]=_0x39a3ff['scene'],this[_0x19d798(0x436)][_0x19d798(0x199)]=_0x39a3ff[_0x19d798(0x199)],this['_activeLayer']['angle']=_0x39a3ff['angle'],this[_0x19d798(0x436)][_0x19d798(0x190)]=_0x2192e5,this[_0x19d798(0x436)]['position$'][_0x19d798(0x34f)](_0x39a3ff[_0x19d798(0x2b1)]);return;}this[_0x19d798(0x2d1)]();let _0x2d3a65=new _0x218e70[(_0x19d798(0x278))](_0x39a3ff[_0x19d798(0x2b1)]),_0x11d0e1=this[_0x19d798(0x2fb)][_0x19d798(0x3b8)](_0x4631bf[_0x19d798(0x25f)]),_0x2e3eeb=_0x11d0e1==null||(_0x1b611=(_0xa7b310=_0x11d0e1[_0x19d798(0x380)])['getCanvasElement'])==null?void 0x0:_0x1b611['call'](_0xa7b310);this[_0x19d798(0x39b)][_0x19d798(0x3bc)]({'id':_0x4631bf[_0x19d798(0x39d)],'componentKey':_0x24afa4,'position$':_0x2d3a65,'unitId':_0x4631bf['unitId'],'contentBox':{'wrapperInset':0x0,'contentInset':0x0},'props':{'chartId':_0x4631bf[_0x19d798(0x2f4)],'subUnitId':_0x22c0aa},'onPointerDown':_0x158360=>_0x2e3eeb==null?void 0x0:_0x2e3eeb[_0x19d798(0x1c8)](new PointerEvent(_0x158360['type'],_0x158360)),'onPointerMove':_0x4e6a80=>_0x2e3eeb==null?void 0x0:_0x2e3eeb[_0x19d798(0x1c8)](new PointerEvent(_0x4e6a80[_0x19d798(0x333)],_0x4e6a80)),'onPointerUp':_0x139eae=>_0x2e3eeb==null?void 0x0:_0x2e3eeb['dispatchEvent'](new PointerEvent(_0x139eae[_0x19d798(0x333)],_0x139eae)),'onWheel':_0x162811=>_0x2e3eeb==null?void 0x0:_0x2e3eeb[_0x19d798(0x1c8)](new WheelEvent(_0x162811['type'],_0x162811))}),this['_modelService']['setActiveChartById'](_0x4631bf[_0x19d798(0x25f)],_0x4631bf['chartId']);let _0x81e716={'unitId':_0x4631bf[_0x19d798(0x25f)],'subUnitId':_0x22c0aa,'drawingId':_0x4631bf[_0x19d798(0x39d)],'chartId':_0x4631bf[_0x19d798(0x2f4)],'scene':_0x39a3ff[_0x19d798(0x1c6)],'sceneRect':_0x39a3ff['sceneRect'],'angle':_0x39a3ff[_0x19d798(0x176)],'renderRect':_0x2192e5,'position$':_0x2d3a65,'positionObserver':(0x0,_0xad9e6c['toDisposable'])(()=>{})};this[_0x19d798(0x436)]=_0x81e716;let _0x2b0b98=_0x11d0e1==null||(_0xdde761=_0x11d0e1[_0x19d798(0x1c6)])==null?void 0x0:_0xdde761[_0x19d798(0x431)](_0x15f360[_0x19d798(0x350)][_0x19d798(0x29c)]);_0x81e716['positionObserver']=_0x54a427(_0x2b0b98==null?void 0x0:_0x2b0b98[_0x19d798(0x314)],()=>{const _0x5f0717=_0x19d798;this[_0x5f0717(0x311)](_0x4631bf[_0x5f0717(0x25f)],_0x4631bf[_0x5f0717(0x39d)],_0x4631bf[_0x5f0717(0x2f4)]);})??(0x0,_0xad9e6c['toDisposable'])(()=>{});}['_deactivate'](){const _0x494fd5=_0xe81a3d;let _0x2fa1fc=this[_0x494fd5(0x436)];_0x2fa1fc&&(this[_0x494fd5(0x436)]=null,_0x2fa1fc['positionObserver'][_0x494fd5(0x1fb)](),this[_0x494fd5(0x3b2)][_0x494fd5(0x1d2)]({'unitId':_0x2fa1fc[_0x494fd5(0x25f)],'subUnitId':_0x2fa1fc[_0x494fd5(0x1fd)],'drawingId':_0x2fa1fc[_0x494fd5(0x39d)]},!0x1),this[_0x494fd5(0x39b)][_0x494fd5(0x246)](_0x2fa1fc[_0x494fd5(0x39d)]),this['_modelService'][_0x494fd5(0x42f)](null),this[_0x494fd5(0x1f5)][_0x494fd5(0x37a)](_0x2fa1fc[_0x494fd5(0x25f)],_0x2fa1fc[_0x494fd5(0x2f4)],{'waitForConfig':!0x0}),_0x2fa1fc[_0x494fd5(0x181)]['complete']());}['_refreshActivePosition'](_0x184927,_0x264b4e,_0xe4deb7){const _0x58c49b=_0xe81a3d;let _0x45a145=this[_0x58c49b(0x436)];(_0x45a145==null?void 0x0:_0x45a145[_0x58c49b(0x25f)])===_0x184927&&_0x45a145['drawingId']===_0x264b4e&&_0x45a145[_0x58c49b(0x2f4)]===_0xe4deb7&&_0x45a145[_0x58c49b(0x181)][_0x58c49b(0x34f)](_0x10dbb7(_0x45a145[_0x58c49b(0x199)],_0x45a145[_0x58c49b(0x1c6)],0x1,_0x45a145[_0x58c49b(0x176)]));}[_0xe81a3d(0x3fe)](_0x1b09ba){const _0x5e4df8=_0xe81a3d;let _0x4bae3b=this[_0x5e4df8(0x3cb)](_0x1b09ba),_0x428b24=this[_0x5e4df8(0x191)](_0x1b09ba);if(_0x4bae3b&&_0x428b24){var _0x3d7866;this[_0x5e4df8(0x436)]&&(this[_0x5e4df8(0x436)][_0x5e4df8(0x1c6)]=_0x4bae3b[_0x5e4df8(0x1c6)],this['_activeLayer'][_0x5e4df8(0x199)]=_0x4bae3b[_0x5e4df8(0x199)],this['_activeLayer'][_0x5e4df8(0x176)]=_0x4bae3b['angle'],this[_0x5e4df8(0x436)][_0x5e4df8(0x190)]=_0x428b24),(_0x3d7866=this[_0x5e4df8(0x436)])==null||_0x3d7866[_0x5e4df8(0x181)][_0x5e4df8(0x34f)](_0x4bae3b[_0x5e4df8(0x2b1)]),this[_0x5e4df8(0x262)][_0x5e4df8(0x34f)](_0x1b09ba[_0x5e4df8(0x39d)]);}}[_0xe81a3d(0x344)](_0x49a29b){const _0x498df2=_0xe81a3d;let _0x4316cc=this[_0x498df2(0x3ad)][_0x498df2(0x3b1)]()[_0x498df2(0x24c)](_0x22b767=>this[_0x498df2(0x432)](_0x22b767));_0x4316cc[_0x498df2(0x354)]===0x1&&_0x49a29b[_0x498df2(0x3f8)](_0x17c717=>_0x2e85d2(_0x17c717,_0x4316cc[0x0]))&&this[_0x498df2(0x24d)](_0x4316cc[0x0]);}[_0xe81a3d(0x3cb)](_0x2d1338){const _0x5696b8=_0xe81a3d;let _0x182389=_0x2d1338[_0x5696b8(0x19c)];if(!_0x182389)return null;let _0x168e76=this[_0x5696b8(0x2fb)][_0x5696b8(0x3b8)](_0x2d1338[_0x5696b8(0x25f)]);if(!(_0x168e76!=null&&_0x168e76[_0x5696b8(0x1c6)]))return null;let _0x1ab62d=(0x0,_0x1dcebe[_0x5696b8(0x34c)])(_0x2d1338),_0x40d393=_0x168e76[_0x5696b8(0x1c6)][_0x5696b8(0x18d)](_0x1ab62d),_0x441a65=_0x332112(_0x2d1338,_0x40d393),_0x2838dc=_0x441a65[_0x5696b8(0x1df)]-_0x441a65['left'],_0x19e00e=_0x441a65[_0x5696b8(0x31f)]-_0x441a65[_0x5696b8(0x16c)];if(_0x2838dc<=0x0||_0x19e00e<=0x0)return null;let _0xeabada=_0x47c580([_0x40d393==null?void 0x0:_0x40d393[_0x5696b8(0x176)],_0x182389[_0x5696b8(0x176)]]);return{'scene':_0x168e76[_0x5696b8(0x1c6)],'sceneRect':_0x441a65,'angle':_0xeabada,'position':_0x10dbb7(_0x441a65,_0x168e76['scene'],0x1,_0xeabada)};}[_0xe81a3d(0x191)](_0x7197d0){const _0x54df6d=_0xe81a3d;var _0x2073bf,_0x5a6f6a,_0x4cddc6,_0x5acf8f;let _0x2d3135=((_0x2073bf=_0x7197d0[_0x54df6d(0x19c)])==null?void 0x0:_0x2073bf[_0x54df6d(0x25b)])??((_0x5a6f6a=_0x7197d0[_0x54df6d(0x214)])==null||(_0x5a6f6a=_0x5a6f6a[_0x54df6d(0x35d)])==null?void 0x0:_0x5a6f6a['width'])??0x0,_0x1338ae=((_0x4cddc6=_0x7197d0[_0x54df6d(0x19c)])==null?void 0x0:_0x4cddc6['height'])??((_0x5acf8f=_0x7197d0[_0x54df6d(0x214)])==null||(_0x5acf8f=_0x5acf8f[_0x54df6d(0x35d)])==null?void 0x0:_0x5acf8f['height'])??0x0;return _0x2d3135<=0x0||_0x1338ae<=0x0?null:{'width':Math[_0x54df6d(0x337)](0x1,Math['round'](_0x2d3135)),'height':Math['max'](0x1,Math[_0x54df6d(0x34d)](_0x1338ae))};}[_0xe81a3d(0x291)](_0x185d63){const _0x5ae536=_0xe81a3d;let _0x1568c7=this[_0x5ae536(0x436)];if((_0x1568c7==null?void 0x0:_0x1568c7[_0x5ae536(0x25f)])===_0x185d63[_0x5ae536(0x25f)]&&_0x1568c7['subUnitId']===(_0x185d63['subUnitId']??_0x185d63['unitId'])&&_0x1568c7[_0x5ae536(0x39d)]===_0x185d63[_0x5ae536(0x39d)]&&_0x1568c7['chartId']===_0x185d63['chartId'])return _0x1568c7['renderRect'];let _0x405507=this[_0x5ae536(0x3ad)][_0x5ae536(0x1c9)](this[_0x5ae536(0x216)](_0x185d63));return this[_0x5ae536(0x432)](_0x405507)?this[_0x5ae536(0x191)](_0x405507):null;}[_0xe81a3d(0x216)](_0x28449b){const _0x54e265=_0xe81a3d;return{'unitId':_0x28449b[_0x54e265(0x25f)],'subUnitId':_0x28449b[_0x54e265(0x1fd)]??_0x28449b[_0x54e265(0x25f)],'drawingId':_0x28449b['drawingId']};}[_0xe81a3d(0x160)](_0x44b9fb){const _0x3e10dd=_0xe81a3d;let _0xb68b70=this[_0x3e10dd(0x436)];return(_0xb68b70==null?void 0x0:_0xb68b70['unitId'])===_0x44b9fb[_0x3e10dd(0x25f)]&&_0xb68b70[_0x3e10dd(0x1fd)]===(_0x44b9fb[_0x3e10dd(0x1fd)]??_0x44b9fb[_0x3e10dd(0x25f)])&&_0xb68b70[_0x3e10dd(0x39d)]===_0x44b9fb[_0x3e10dd(0x39d)]&&_0xb68b70['chartId']===_0x44b9fb[_0x3e10dd(0x2f4)];}['_isDocChartDrawing'](_0x5c5fe2){const _0x1aaca1=_0xe81a3d;let _0x72ac3a=_0x5c5fe2;return(_0x72ac3a==null?void 0x0:_0x72ac3a[_0x1aaca1(0x3db)])===_0xad9e6c[_0x1aaca1(0x415)][_0x1aaca1(0x2e4)]&&typeof _0x72ac3a[_0x1aaca1(0x2f4)]==_0x1aaca1(0x295);}};_0x3cff1e=_0x5a448c([_0x10b749(0x0,_0x1dcebe[_0xe81a3d(0x16f)]),_0x10b749(0x1,_0x594bc0[_0xe81a3d(0x33e)]),_0x10b749(0x2,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x59b7bc[_0xe81a3d(0x1b7)])),_0x10b749(0x3,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x4db172[_0xe81a3d(0x35a)])),_0x10b749(0x4,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x163105)),_0x10b749(0x5,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x25198a)),_0x10b749(0x6,_0xad9e6c[_0xe81a3d(0x1b1)]),_0x10b749(0x7,_0xad9e6c[_0xe81a3d(0x182)]),_0x10b749(0x8,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0xad9e6c[_0xe81a3d(0x1e6)])),_0x10b749(0x9,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x4e719b))],_0x3cff1e);let _0x24afa4=_0xe81a3d(0x3a9),_0x721bb2=_0x4047ab=>{const _0x56afe1=_0xe81a3d;let {unitId:_0x5eea9d,subUnitId:_0x1908bc,floatDomId:_0x21d874,chartId:_0x292cff,context:_0x3d8765}=_0x4047ab,_0x1afe8a=(0x0,_0x59b7bc['useDependency'])(_0x3cff1e);return(0x0,_0x654dec[_0x56afe1(0x3df)])(()=>{const _0x28b1f4=_0x56afe1;let _0x44a116=_0x3d8765['root'][_0x28b1f4(0x225)];if(!_0x44a116)return;let _0x4a893d=_0x1afe8a[_0x28b1f4(0x174)]({'unitId':_0x5eea9d,'subUnitId':_0x1908bc,'drawingId':_0x21d874,'chartId':_0x292cff,'root':_0x44a116});return()=>_0x4a893d['dispose']();},[_0x1afe8a,_0x292cff,_0x3d8765['root'],_0x21d874,_0x1908bc,_0x5eea9d]),null;},_0xc6ad1a=class extends _0xad9e6c[_0xe81a3d(0x1ff)]{constructor(_0x18b96a,_0x460f39){const _0x245fbc=_0xe81a3d;super(),this[_0x245fbc(0x3ad)]=_0x18b96a,this['_snapshotRenderService']=_0x460f39;}[_0xe81a3d(0x328)](_0x31780b,_0x1389d5,_0x2135f6,_0x143efc){const _0x4bafc0=_0xe81a3d;let _0x17111e=this['_getDrawing'](_0x31780b,_0x1389d5);if(_0x2135f6['replaceChildren'](),!_0x17111e)return{'dispose':()=>_0x2135f6['replaceChildren']()};let _0x1c7516={'unitId':_0x31780b,'chartId':_0x17111e['chartId'],'width':Math[_0x4bafc0(0x337)](0x1,Math[_0x4bafc0(0x34d)](_0x143efc[_0x4bafc0(0x25b)])),'height':Math[_0x4bafc0(0x337)](0x1,Math['round'](_0x143efc['height'])),'mode':_0x4bafc0(0x420)},_0x3f8649=this['_snapshotRenderService'][_0x4bafc0(0x159)](_0x1c7516);this[_0x4bafc0(0x2fa)](_0x2135f6,_0x3f8649);let _0x26f98b=this['_snapshotRenderService'][_0x4bafc0(0x43b)][_0x4bafc0(0x40e)](_0x14447f=>{const _0x70fe39=_0x4bafc0;_0x14447f[_0x70fe39(0x153)]===_0x3f8649[_0x70fe39(0x153)]&&this[_0x70fe39(0x2fa)](_0x2135f6,_0x14447f);});return{'dispose':()=>{const _0x18de86=_0x4bafc0;_0x26f98b[_0x18de86(0x3da)](),_0x2135f6['replaceChildren']();}};}[_0xe81a3d(0x27a)](_0xe62ef7,_0x3f4cc8){const _0x541c52=_0xe81a3d;let _0x2698d8={'unitId':_0xe62ef7,'subUnitId':_0xe62ef7,'drawingId':_0x3f4cc8},_0x49c98e=this[_0x541c52(0x3ad)][_0x541c52(0x1c9)](_0x2698d8);return!_0x49c98e||_0x49c98e[_0x541c52(0x3db)]!==_0xad9e6c['DrawingTypeEnum'][_0x541c52(0x2e4)]||!_0x49c98e[_0x541c52(0x2f4)]?null:_0x49c98e;}[_0xe81a3d(0x2fa)](_0x2ec226,_0x1170cd){const _0x51e3c9=_0xe81a3d;if(_0x1170cd[_0x51e3c9(0x2b9)]!==_0x51e3c9(0x268)||!_0x1170cd[_0x51e3c9(0x300)])return;let _0x5947e9=document[_0x51e3c9(0x2ce)](_0x51e3c9(0x3f4));_0x5947e9['src']=_0x1170cd['dataUrl'],_0x5947e9[_0x51e3c9(0x1e1)]='',_0x5947e9[_0x51e3c9(0x30c)][_0x51e3c9(0x3bb)]=_0x51e3c9(0x2c0),_0x5947e9[_0x51e3c9(0x30c)][_0x51e3c9(0x25b)]=_0x51e3c9(0x2bb),_0x5947e9[_0x51e3c9(0x30c)]['height']=_0x51e3c9(0x2bb),_0x2ec226[_0x51e3c9(0x39a)](_0x5947e9);}};_0xc6ad1a=_0x5a448c([_0x10b749(0x0,_0x1dcebe['IDrawingManagerService']),_0x10b749(0x1,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x25198a))],_0xc6ad1a);let _0x3b4629=_0x28cb9f=>{const _0x4137b5=_0xe81a3d;let {unitId:_0x25154b,floatDomId:_0x213300,context:_0x5a2b8f}=_0x28cb9f,_0xaa1738=(0x0,_0x59b7bc[_0x4137b5(0x332)])(_0xc6ad1a);return(0x0,_0x654dec[_0x4137b5(0x3df)])(()=>{const _0x5a8886=_0x4137b5;let _0x5cb62b=_0x5a2b8f[_0x5a8886(0x397)][_0x5a8886(0x225)];if(!_0x5cb62b)return;let _0x374381={'width':Number[_0x5a8886(0x180)](_0x5cb62b[_0x5a8886(0x30c)][_0x5a8886(0x25b)])||_0x5cb62b[_0x5a8886(0x3cc)]||0x1,'height':Number[_0x5a8886(0x180)](_0x5cb62b[_0x5a8886(0x30c)][_0x5a8886(0x326)])||_0x5cb62b[_0x5a8886(0x33a)]||0x1},_0x375f11=_0xaa1738['printChart'](_0x25154b,_0x213300,_0x5cb62b,_0x374381);return()=>_0x375f11[_0x5a8886(0x1fb)]();},[_0x5a2b8f[_0x4137b5(0x397)],_0x213300,_0xaa1738,_0x25154b]),null;},_0x37cdf2=class extends _0xad9e6c[_0xe81a3d(0x1ff)]{constructor(_0x666a71){const _0x4c5456=_0xe81a3d;super(),this[_0x4c5456(0x233)]=_0x666a71,this[_0x4c5456(0x386)]();}[_0xe81a3d(0x386)](){const _0x3408d6=_0xe81a3d;this[_0x3408d6(0x30f)](this[_0x3408d6(0x233)]['register'](_0x57ca70,_0x5c5ee8)),this[_0x3408d6(0x30f)](this[_0x3408d6(0x233)][_0x3408d6(0x33b)](_0x2b1362,_0x4b85b3)),this[_0x3408d6(0x30f)](this[_0x3408d6(0x233)][_0x3408d6(0x33b)](_0x34e5df,_0x5d2664)),this[_0x3408d6(0x30f)](this[_0x3408d6(0x233)][_0x3408d6(0x33b)](_0xad9e6c[_0x3408d6(0x296)],_0x3b4629)),this['disposeWithMe'](this['_componentManager'][_0x3408d6(0x33b)](_0x24afa4,_0x721bb2));}};_0x37cdf2=_0x5a448c([_0x10b749(0x0,(0x0,_0xad9e6c['Inject'])(_0x59b7bc[_0xe81a3d(0x375)]))],_0x37cdf2);let _0x31039d=class extends _0xad9e6c[_0xe81a3d(0x1ff)]{constructor(_0x2e5f20,_0x3d5e87,_0x5dd74c,_0x1541b7,_0x39866a,_0xe8268b,_0x3b50d4){const _0x23b6d7=_0xe81a3d;super(),this[_0x23b6d7(0x396)]=_0x2e5f20,this[_0x23b6d7(0x3b9)]=_0x3d5e87,this[_0x23b6d7(0x272)]=_0x5dd74c,this['_docSelectionManagerService']=_0x1541b7,this[_0x23b6d7(0x3a2)]=_0x39866a,this[_0x23b6d7(0x2a9)]=_0xe8268b,this[_0x23b6d7(0x34e)]=_0x3b50d4,this[_0x23b6d7(0x2be)](),this[_0x23b6d7(0x192)]();}[_0xe81a3d(0x1be)](_0x45c8fe){const _0x53d9b4=_0xe81a3d;let _0x724629=null,_0xc1589a=()=>{_0x724629==null||_0x724629['dispose'](),_0x724629=null;};return _0x724629=this[_0x53d9b4(0x396)][_0x53d9b4(0x3f2)]({'id':'doc-chart.dialog.insert','title':{'title':this['_localeService']['t'](_0x53d9b4(0x157))},'width':0x2a8,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x57ca70,'props':{'defaultChartType':(_0x45c8fe==null?void 0x0:_0x45c8fe[_0x53d9b4(0x1fe)])??(_0x45c8fe==null?void 0x0:_0x45c8fe[_0x53d9b4(0x2cf)]),'defaultTableText':_0x45c8fe==null?void 0x0:_0x45c8fe[_0x53d9b4(0x35e)],'insertOptions':{'insertRange':(_0x45c8fe==null?void 0x0:_0x45c8fe[_0x53d9b4(0x317)])??this['_captureInsertRange']()},'onCancel':_0xc1589a,'onInserted':_0xc1589a}}},'onClose':_0xc1589a}),!0x0;}['openEditorDialog'](_0xc58288){const _0x771deb=_0xe81a3d;let _0x138487=null,_0xaa3cbb=()=>{_0x138487==null||_0x138487['dispose'](),_0x138487=null;};return _0x138487=this['_dialogService'][_0x771deb(0x3f2)]({'id':_0x4840d0,'title':{'title':this[_0x771deb(0x3b9)]['t'](_0x771deb(0x157))},'width':0x3d4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x34e5df,'props':{..._0xc58288,'onClose':_0xaa3cbb}}},'onClose':_0xaa3cbb}),!0x0;}[_0xe81a3d(0x2be)](){const _0x2da404=_0xe81a3d;this[_0x2da404(0x2a9)][_0x2da404(0x368)](_0x4bf004);}[_0xe81a3d(0x192)](){const _0x4cc115=_0xe81a3d;this['disposeWithMe'](this[_0x4cc115(0x34e)][_0x4cc115(0x38f)](_0x37cc7f=>{const _0x3f2e64=_0x4cc115;if(_0x37cc7f['id']===_0x178d76['id']){this[_0x3f2e64(0x1be)](_0x37cc7f['params']);return;}if(_0x37cc7f['id']===_0x444347['id']){let _0x555755=_0x37cc7f[_0x3f2e64(0x1a2)];_0x555755&&this['openEditorDialog'](_0x555755);}}));}[_0xe81a3d(0x30e)](){const _0x3ff630=_0xe81a3d;let _0xc8278=this['_instanceService']['getCurrentUnitOfType'](_0xad9e6c[_0x3ff630(0x38d)][_0x3ff630(0x240)]);if(!_0xc8278)return;let _0x18ed57=_0xc8278['getUnitId'](),_0x2924ee=null;try{_0x2924ee=this[_0x3ff630(0x3a2)]['consumeInsertRange'](_0x18ed57);}catch{_0x2924ee=null;}if(_0x2924ee){let _0x5a5d39={'startOffset':_0x2924ee[_0x3ff630(0x249)],'endOffset':_0x2924ee[_0x3ff630(0x2af)],'collapsed':_0x2924ee['startOffset']===_0x2924ee[_0x3ff630(0x2af)],'segmentId':_0x2924ee[_0x3ff630(0x1af)]??''};return _0x47da01(_0xc8278,_0x5a5d39)?_0x5a5d39:void 0x0;}let _0x50b26b=[...this['_docSelectionManagerService'][_0x3ff630(0x20e)]()??[]];if(_0x50b26b['length']!==0x1)return;let _0x5af39d=this[_0x3ff630(0x3fd)]['getActiveTextRange']()??_0x50b26b[0x0];if(!_0x5af39d||!_0x5af39d[_0x3ff630(0x3c5)]||_0x5af39d[_0x3ff630(0x249)]==null)return;let _0x4912d0={..._0x5af39d,'segmentId':_0x5af39d[_0x3ff630(0x1af)]??''};return _0x47da01(_0xc8278,_0x4912d0)?_0x4912d0:void 0x0;}};_0x31039d=_0x5a448c([_0x10b749(0x0,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x59b7bc['IDialogService'])),_0x10b749(0x1,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0xad9e6c['LocaleService'])),_0x10b749(0x2,_0xad9e6c[_0xe81a3d(0x182)]),_0x10b749(0x3,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x1a2389[_0xe81a3d(0x1c7)])),_0x10b749(0x4,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0x1a2389[_0xe81a3d(0x416)])),_0x10b749(0x5,_0x59b7bc['IMenuManagerService']),_0x10b749(0x6,_0xad9e6c['ICommandService'])],_0x31039d);let _0x1a8c40=class extends _0xad9e6c['Plugin']{constructor(_0x214733=_0x2de820,_0x259d72,_0xe5ea99,_0xbcbd6e){const _0x2521a0=_0xe81a3d;super(),this[_0x2521a0(0x21d)]=_0x214733,this[_0x2521a0(0x42b)]=_0x259d72,this[_0x2521a0(0x27b)]=_0xe5ea99,this[_0x2521a0(0x34e)]=_0xbcbd6e;let {..._0x2fd29d}=(0x0,_0xad9e6c[_0x2521a0(0x32e)])({},_0x2de820,this['_config']);this['_configService']['setConfig'](_0x5970b2,_0x2fd29d),this[_0x2521a0(0x2d9)](),(0x0,_0x112f7b[_0x2521a0(0x3cd)])(_0x112f7b['echarts']);}[_0xe81a3d(0x2b3)](){const _0x1a28aa=_0xe81a3d;let _0xc6dff6=this[_0x1a28aa(0x42b)];[[_0x37cdf2],[_0x242d90],[_0x30d742],[_0x5db0a4,{'useClass':_0x213c53}],[_0x3cff1e],[_0xc6ad1a],[_0x163105],[_0x25198a],[_0x3247fa],[_0x4e719b],[_0x90160c],[_0x478abf],[_0x31039d]][_0x1a28aa(0x1a1)](_0x52861f=>_0xc6dff6[_0x1a28aa(0x28b)](_0x52861f)),(0x0,_0xad9e6c['touchDependencies'])(_0xc6dff6,[[_0x242d90],[_0x30d742],[_0x5db0a4],[_0x3cff1e],[_0xc6ad1a],[_0x163105],[_0x25198a],[_0x90160c],[_0x478abf]]),this[_0x1a28aa(0x42b)][_0x1a28aa(0x1ac)](_0x37cdf2);}['onReady'](){const _0x5920f7=_0xe81a3d;this['_injector']['get'](_0x3247fa),this[_0x5920f7(0x42b)]['get'](_0x4e719b),this['_injector'][_0x5920f7(0x1ac)](_0x90160c),this[_0x5920f7(0x42b)][_0x5920f7(0x1ac)](_0x478abf),this[_0x5920f7(0x42b)][_0x5920f7(0x1ac)](_0x31039d);}[_0xe81a3d(0x2d9)](){const _0x77003a=_0xe81a3d;[_0x178d76,_0x444347][_0x77003a(0x1a1)](_0x4e191c=>{const _0x524ce9=_0x77003a;this['disposeWithMe'](this[_0x524ce9(0x34e)]['registerCommand'](_0x4e191c));});}};_0x2845e9(_0x1a8c40,_0xe81a3d(0x333),_0xad9e6c[_0xe81a3d(0x38d)][_0xe81a3d(0x240)]),_0x2845e9(_0x1a8c40,'pluginName',_0xe81a3d(0x22c)),_0x2845e9(_0x1a8c40,'packageName',_0x54ec76),_0x2845e9(_0x1a8c40,_0xe81a3d(0x28f),_0x56b5b1),_0x1a8c40=_0x5a448c([(0x0,_0xad9e6c[_0xe81a3d(0x24e)])(_0x18b76f[_0xe81a3d(0x218)],_0x1a2389[_0xe81a3d(0x1f0)],_0x1dcebe[_0xe81a3d(0x297)],_0x594bc0[_0xe81a3d(0x22f)],_0x2887db[_0xe81a3d(0x410)],_0x15f360['UniverDocsUIPlugin'],_0x268983[_0xe81a3d(0x343)],_0x4db172['UniverDocsChartPlugin'],_0x4b0bbc[_0xe81a3d(0x377)]),_0x10b749(0x1,(0x0,_0xad9e6c[_0xe81a3d(0x1e3)])(_0xad9e6c[_0xe81a3d(0x2c9)])),_0x10b749(0x2,_0xad9e6c[_0xe81a3d(0x388)]),_0x10b749(0x3,_0xad9e6c[_0xe81a3d(0x1b1)])],_0x1a8c40),_0x449ae5[_0xe81a3d(0x285)]=_0x5970b2,_0x449ae5[_0xe81a3d(0x1d9)]=_0x24afa4,_0x449ae5['DOC_CHART_CLIPBOARD_RESOURCE_KEY']=_0x808927,_0x449ae5[_0xe81a3d(0x2bf)]=_0x2b1362,_0x449ae5[_0xe81a3d(0x1da)]='doc-chart.dialog.data-editor',_0x449ae5[_0xe81a3d(0x349)]=_0x34e5df,_0x449ae5[_0xe81a3d(0x3c4)]=_0x4840d0,_0x449ae5[_0xe81a3d(0x387)]=_0xd1387f,_0x449ae5[_0xe81a3d(0x2ff)]=_0x5c60b9,_0x449ae5[_0xe81a3d(0x315)]=_0x57ca70,_0x449ae5[_0xe81a3d(0x35f)]=_0x721bb2,Object[_0xe81a3d(0x208)](_0x449ae5,_0xe81a3d(0x3d4),{'enumerable':!0x0,'get':function(){return _0x3cff1e;}}),Object[_0xe81a3d(0x208)](_0x449ae5,_0xe81a3d(0x395),{'enumerable':!0x0,'get':function(){return _0x90160c;}}),Object['defineProperty'](_0x449ae5,'DocChartDataEditService',{'enumerable':!0x0,'get':function(){return _0x30d742;}}),_0x449ae5[_0xe81a3d(0x15f)]=_0x4b85b3,_0x449ae5[_0xe81a3d(0x215)]=_0x48c5ea,Object['defineProperty'](_0x449ae5,_0xe81a3d(0x3a6),{'enumerable':!0x0,'get':function(){return _0x478abf;}}),_0x449ae5[_0xe81a3d(0x418)]=_0x2b280d,_0x449ae5['DocChartEditorDialog']=_0x5d2664,_0x449ae5[_0xe81a3d(0x2f9)]=_0x38f747,_0x449ae5[_0xe81a3d(0x3e3)]=_0x3376b3,_0x449ae5['DocChartInsertPanel']=_0x5c5ee8,_0x449ae5[_0xe81a3d(0x374)]=_0x58a388,Object[_0xe81a3d(0x208)](_0x449ae5,'DocChartInsertService',{'enumerable':!0x0,'get':function(){return _0x242d90;}}),Object['defineProperty'](_0x449ae5,_0xe81a3d(0x2ad),{'enumerable':!0x0,'get':function(){return _0xc6ad1a;}}),Object['defineProperty'](_0x449ae5,_0xe81a3d(0x40d),{'enumerable':!0x0,'get':function(){return _0x163105;}}),Object[_0xe81a3d(0x208)](_0x449ae5,_0xe81a3d(0x3dd),{'enumerable':!0x0,'get':function(){return _0x3247fa;}}),Object[_0xe81a3d(0x208)](_0x449ae5,_0xe81a3d(0x294),{'enumerable':!0x0,'get':function(){return _0x25198a;}}),Object[_0xe81a3d(0x208)](_0x449ae5,'DocChartUIService',{'enumerable':!0x0,'get':function(){return _0x213c53;}}),_0x449ae5[_0xe81a3d(0x355)]=_0x1dfe24,_0x449ae5[_0xe81a3d(0x3f3)]=_0x3b4629,_0x449ae5[_0xe81a3d(0x30a)]=_0x4bf004,_0x449ae5[_0xe81a3d(0x43c)]=_0x3a3176,_0x449ae5[_0xe81a3d(0x19a)]=_0x5db0a4,_0x449ae5[_0xe81a3d(0x3c8)]=_0x444347,_0x449ae5[_0xe81a3d(0x25d)]=_0x178d76,Object[_0xe81a3d(0x208)](_0x449ae5,_0xe81a3d(0x22c),{'enumerable':!0x0,'get':function(){return _0x1a8c40;}}),_0x449ae5[_0xe81a3d(0x424)]=_0x2de820,_0x449ae5['getDocChartInsertDisabledObservable']=_0x330b5f;}));function _0x5ef5(_0x137a43,_0x110733){_0x137a43=_0x137a43-0x153;const _0x142fb9=_0x142f();let _0x5ef5d8=_0x142fb9[_0x137a43];return _0x5ef5d8;}function _0x142f(){const _0x5aded2=['ensureChartModel','DRAWING_CHART','blockRanges','chartBitsUtils','iterator','createIdentifier','DOC_PARAGRAPH_T_INSERT_MENU_ID','Pie','registerAdapter','Subject','ChartParetoSeriesSection','getUnitId','label','CommandType','DEFAULT_CHART_WATERFALL_STYLE_VALUES','WaterfallSeries','C\x099','chartId','ChartGridlineWidthField','ChartAxisFormatTextField','ChartGradientFillField','MenuItemType','DocChartInsertBelowMenuItemFactory','_renderEntry','_renderManagerService','deepClone','UniverProDocsChart','setImageContentHidden','DOC_CHART_INSERT_MENU_ID','dataUrl','ChartAxisTitleFields','overflow','jsx','border','dataAggregation$','InsertDocChartCommand','buildInlineChartTableDataSet','ParetoLineSeries','add$','DocsChartUIMenuSchema','Waterfall','style','ChartHostRenderMode','_captureInsertRange','disposeWithMe','docs-chart-ui.common.data','_refreshActivePosition','ChartSeriesLabelFontSizeField','resolveChartEditPanelRoute','onScrollAfter$','DOC_CHART_INSERT_PANEL_COMPONENT','DEFAULT_CHART_INDICATOR_LINE_VALUES','insertRange','_removeRenderedCharts','join','DocChartResourceService','Series','_host','config$','issue','bottom','_pasteAdapterService','@univerjs/docs-drawing','call','useRef','ChartLegendSelectModeField','resolveChartRuntimeStyle','height','docs-chart-ui.common.customize','printChart','boxSizing','ChartEditPanelTab','devicePixelRatio','getEditorState','univer-shrink-0\x20univer-px-3','merge','docs-chart-ui.section.gauge','docs-chart-ui.common.editData','docs-chart-ui.common.label','useDependency','type','ChartStackField','842316EFZNbl','heatmap','max','univer-mt-2\x20univer-text-xs\x20univer-text-red-600','DEFAULT_CHART_WORD_CLOUD_VALUES','clientHeight','register','#ffffff','secondaryPlot','IRenderManagerService','getChartInlineTableMinColumns','_snapshotService','docs-chart-ui.common.tableDataEmpty','_renderCharts','UniverChartUIPlugin','_retryActivateFocusedChart','react','focus','baseOn','every','DOC_CHART_EDITOR_DIALOG_COMPONENT','docs-chart-ui.candlestick.low','pipe','getDrawingShapeKeyByDrawingSearch','round','_commandService','next','VIEWPORT_KEY','_getDrawingRect','buildChartTypeSelectOptions','ChartWordCloudRoot','length','DocDomChartHost','fill','updateDataFromText','_renderDrawing','UniverProLicense','DocChartModelService','ChartSeriesFillFields','doc-chart-style-panel','size','defaultTableText','DocActiveChart','DEFAULT_CHART_LINE_AND_AREA_VALUES','_applyHostStyle','endIndex','WordCloud','docs-chart-ui.chord.target','createChartInstance','ChartWordCloudShapeField','ContextMenuGroup','mergeMenu','delete','radius','_requestSnapshot','react/jsx-runtime','style$','hit','getChartHostFrameContentRect','ensureMount','__docsChartResource','dataAggregation','push','DocChartInsertRibbonMenuItemFactory','ComponentManager','docs-chart-ui.section.sunburst','UniverDocsDrawingUIPlugin','getUnit','203904NcMMkR','invalidateChart','duplicate','lastIndexOf','subscribeEvent','ChartUIService','ChartIndicatorLineColorField','engine','getDrawings','rxjs','createStaticChartRuntime','dataSource','prototype','_registerComponents','DOC_CHART_INSERT_BELOW_MENU_ID','IConfigService','BreakLineCommand','canva','DEFAULT_CHART_AXIS_VALUES','docs-chart-ui.common.cancel','UniverInstanceType','docs-chart-ui.sunburst.hierarchy','onCommandExecuted','getMenuHiddenObservable','docs-chart-ui.common.duplicate','ChartGridlineVisibilityField','ChartAxisLabelStyleFields','univer-min-h-0\x20univer-flex-1\x20univer-pt-4','DocChartClipboardController','_dialogService','root','docs-chart-ui.section.treemap','toPrimitive','replaceChildren','_canvasFloatDomService','parseInt','drawingId','DUPLICATE','doc','@univerjs-pro/engine-chart','docs-chart-ui.section.paretoLine','_docContentInsertService','Heatmap','min','LineAndArea','DocChartDrawingEditController','docs-chart-ui.section.funnel','ChartIcon','docs-chart-ui.active-chart','_forEachChartDrawing','SECTION_BREAK','VerticalAxis','_drawingManagerService','ChartSectionAccordion','@univerjs/ui','exports','getFocusDrawings','_staticRenderController','UniverProDocsChartUi','_requestSnapshotsForUnit','_getContentRect','visible','match','getRenderUnitById','_localeService','chartInvalidated$','display','addFloatDom','ChartSeriesLabelVisibilityField','disconnect','docs-chart-ui.section.lineAndArea','docs-chart-ui.common.legend','.below','legend','function','DOC_CHART_EDITOR_DIALOG_ID','collapsed','consumeInsertRange','ChartSeriesLabelPositionField','OpenDocChartEditorDialogOperation','useState','chartTypeSupportsCapability','_getPositionState','clientWidth','registerWordCloudChart','column','getRuntimeContext','univer-flex\x20univer-flex-col\x20univer-gap-3','Dom','onModifyData','split','DocChartActiveRenderService','docs-chart-ui.section.candlestick','DEFAULT_CHART_RADAR_VALUES','16RNVBak','ChartSeriesPointFields','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-px-1\x20univer-pb-4\x20univer-pt-4','unsubscribe','drawingType','docs-chart-ui.section.relation','DocChartSnapshotRefreshController','shared','useEffect','disableMenuWhenHeaderFooterEditing','univer-text-xs\x20univer-text-red-600','borderRadius','DocChartInsertMenuItemFactory','Observable','Gauge','doc-chart.insert-panel','clipBounds','number','141wETrkb','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','ChartSubtitleFields','univer-absolute\x20univer-inset-0\x20univer-min-h-0\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg','getChart','ChartSeriesBorderFields','amd','axis','@univerjs-pro/license','open','DocPrintChart','img','chartType','radar','bind','some','ChartSectionAccordionTrigger','_createImageShape','univer-w-full\x20!univer-min-w-0','ChartPieStyleSection','_docSelectionManagerService','_updatePosition','_getPasteMutationInfos','DEFAULT_CHART_HEATMAP_VALUES','combineLatest','AreaStacked','IDocClipboardService','doc-chart.snapshot-renderer','getSelfOrHeaderFooterModel','getAncestorScale','getHostStyle','Optional','ChartSeriesRoot','dblclick','has','Treemap','DocChartRenderService','subscribe','ChartFunnelStyleSection','UniverDocsDrawingPlugin','sharingCount','univer-flex\x20univer-flex-col\x20univer-gap-2','markReady','@univerjs/docs','DrawingTypeEnum','DocContentInsertService','UniverDesign','DocChartEditPanel','getActiveTextRange','ChartWaterfallStyleSection','ChartSnapshotQueue','useObservable','labelId','ChartLineAndAreaSection','doc.operation.open-doc-chart-insert-dialog','print','tables','GridlinesAndTicks','_draw','defaultPluginConfig','div','Module','_hostStyle','composite','getDrawingEditable','generateRandomId','_injector','UniverDocs','ChartMainTitleFields','show','setActiveChartRuntime','getRenderColor','getViewport','_isDocChartDrawing','_chartThemeService','getOwnPropertyDescriptor','refreshTransform$','_activeLayer','\x20has\x20no\x20render\x20config.','AreaPercentStacked','insertChartFromText','createRenderInput','snapshotUpdated$','IDocChartSnapshotRendererService','Relation','_setElementSize','chartContext','UniverDocsDrawing','key','DocDrawingFloatingToolbarAdapterService','ChartEditPanel','docs-chart-ui.chartTypes.','docs-chart-ui.common.editChart','_createChartRenderInstanceContext','requestSnapshot','data','docs-chart-ui.config','_floatingToolbarAdapterService','docs-chart-ui.common.setup','ChartInlineTableEditor','DocChartDataEditor','_isActiveLayer','Radar','7RCVCXE','docs-chart-ui.previewRenderFailed','wordCloud','_initAdapter','applyHostStyle','appendChild','focus$','_docClipboardService','seriesId','DOC_CONTENT_INSERT_MENU_ID','top','ChartAxisLineVisibilityField','univer-bg-white/90\x20dark:!univer-bg-gray-900/90\x20univer-absolute\x20univer-bottom-3\x20univer-left-3\x20univer-rounded\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-text-red-600','IDrawingManagerService','UpdateDocChartConfigCommand','univer-w-full\x20univer-justify-start','addObject','doc-chart-host','mountChart','setClipBounds','angle','docs-chart-ui.candlestick.open','Histogram','Failed\x20to\x20render\x20document\x20chart\x20snapshot:\x20','UniverDocsUi','Pareto','slice','_getChartDrawing','enabled','DEFAULT_CHART_FUNNEL_VALUES','parseFloat','position$','IUniverInstanceService','titles','model','Tools','getDataUrl','_initClipboardHooks','A\x0912','tryPrepareInlineChartData','resolveChartElementSelection','DEFAULT_CHART_PARETO_VALUES','EMPTY_PARAGRAPH_MENU_ID','getObjectIncludeInGroup','MEDIA','ChartEditorCapability','renderRect','_getRenderRect','_registerDialogOperations','ChartEditPanelTabs','RightVerticalAxis','dataSourceId','useChartEditorChartType','ChartHostAdapter','direction$','sceneRect','IDocChartUIService','ChartAxisTickVisibilityField','transform','getChartModel','onPreviewChartTypeChange','border-box','lineAndArea','forEach','params','doc-chart-preview','React','onClose','ChartAxisBoundsFields','_renderService','executeCommand','object','getBody','1.0.0-beta.0','get','_handleFocus','decorate','segmentId','Document\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','ICommandService','compactInlineTableValues','getDrawingOrder','DEFAULT_CHART_RELATION_VALUES','docs-chart-ui.common.insertChart','OPERATION','CanvasFloatDomService','Document\x20chart\x20','span','doc-chart.data-editor','docs-chart-ui.common.trendline','charts','shouldComposeChartHostFrame','openInsertDialog','symbol','PARAGRAPH','addClipboardHook','doc-chart.editor-dialog','_resolveInsertPosition','removeObject','catch','scene','DocSelectionManagerService','dispatchEvent','getDrawingByParam','docs-chart-ui.common.inlineData','context$','STATIC_CHART_TYPE_CATALOG','transformerConfig','click','index','ChartTypeBits','SetDocChartSnapshotMutation','setActiveDomReady','mode','rightY','image','Select','syncExecuteCommand','_prepareStandaloneInsertLine','DOC_ACTIVE_CHART_COMPONENT','DOC_CHART_DATA_EDITOR_DIALOG_ID','main','pieSecondaryPlotType','2013510ryPjTG','ChartNumberFormatTextField','right','resolveDefaultChartHostFrameStyle','alt','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','Inject','BUTTON','sourceDrawing','LocaleService','plan','funnel','_activeDomReadyDrawingKeys','RemoveDocChartDataSourceMutation','waterfall','relation','univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-white\x20dark:!univer-bg-gray-900','ChartTypeSpecificDataSection','docs-chart-ui.common.insert','UniverDocsPlugin','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','@univerjs/docs-drawing-ui','_syncChartImageVisibility','_snapshotRenderService','UniverEngineRender','hide','docs-chart-ui.common.verticalAxis','getCurrentUnitOfType','createRenderSpec','dispose','UniverProChartUi','subUnitId','defaultChartType','Disposable','indexOf','docs-chart-ui.chartNotFound','DrawingDeleteIcon','section','px\x20solid\x20','DataStreamTreeTokenType','tab','tabpanel','defineProperty','config','initialRoute','select','RemoveDocDrawingCommand','useMemo','getTextRanges','docs-chart-ui.section.paretoBar','ChartStyleSection','jsxs','-tab','set','docTransform','DocChartDataEditorSubmitMode','_getDrawingSearch','relative','UniverLicensePlugin','ChartAxisLabelVisibilityField','InvalidCandlestickData','DrawingEditIcon','min(560px,\x20calc(100vh\x20-\x20180px))','_config','Sunburst','_getOrCreatePastedDataSourceId','docs-chart-ui.common.horizontalAxis','stylizeSpec','values','_imageContentHidden','indicatorLine','current','ChartEditPanelSection','docs-chart-ui.common.insertChartFailed','resolve','setStyle','docs-chart-ui.common.chartStyle','docs-chart-ui.common.chartAndAxisTitles','UniverDocsChartUIPlugin','hidden','SHARED','UniverRenderEnginePlugin','ChartHeatmapStyleSection','imageContentHidden','univer-flex\x20univer-justify-end\x20univer-gap-2','_componentManager','docs-chart-ui.chord.source','markNotReady','getCurrentTypeOfUnit$','updateData','Candlestick','remove$','RibbonInsertGroup','UniverProEngineChart','target','route','change','drawings','UNIVER_DOC','find','docs-chart-ui.common.deleteChart','_appendChartResources','univer-relative\x20univer-box-border\x20univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','activeRuntimeModel','removeFloatDom','DEFAULT_CHART_STYLE_VALUES','ParetoBarSeries','startOffset','left','docs-chart-ui.close','filter','_activate','DependentOn','docs-chart-ui.section.histogram','_requestSnapshotsForSearches','Legend','chart','@univerjs/engine-render','_init','_shouldWaitForChartConfig','HorizontalAxis','breakOffsets','doc-chart-data-panel','univer-p-4\x20univer-text-sm\x20univer-text-gray-500','syncLayout','width','chartTypeSupportsLineAndAreaStyle','OpenDocChartInsertDialogOperation','ChartWordCloudRepeatField','unitId','Image','getBoundingClientRect','_layoutChanged$','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','ChartAndAxisTitles','IChartRenderModelManagerService','SetDocChartDataSourceMutation','transformByState','ready','_modelService','barStyle','ChartThemeField','getDataSource','univer-min-h-0\x20univer-flex-1','Chord','univer-flex\x20univer-min-h-0\x20univer-w-[388px]\x20univer-shrink-0\x20univer-flex-col\x20univer-gap-4\x20univer-overflow-hidden\x20univer-overscroll-contain','IndicatorLine','ChartSectionAccordionItem','_instanceService','Data','color','univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-flex-col\x20univer-overflow-hidden\x20univer-overscroll-contain','ChartEditBlockTitle','checkMounted','BehaviorSubject','doc-chart.dialog.editor','_getDrawing','_configService','InlineChartCreationIssueCode','DataUrlImageChartHost','render','_univerInstanceService','doc-chart-preview-','-data-source','makeDirty','ChartLegendFontSizeField','dataStream','DOCS_CHART_UI_PLUGIN_CONFIG_KEY','context','docs-chart-ui.section.chord','sourceDocuments','changeSource','getCurrentRenderModel','add','DEFAULT_CHART_LEGEND_VALUES','UpdateDocChartDataSourceCommand','ChartStyle','version','Button','_getActiveRenderRect','button','PieStyle','DocChartSnapshotRenderService','string','DOC_DRAWING_PRINTING_COMPONENT_KEY','UniverDrawingPlugin','ChartTypeField','_subscribeRender','docs-chart-ui.candlestick.high','_mountNode','VIEW_MAIN','parseInlineChartTable','#4086f4','startIndex','DEFAULT_CHART_WATERFALL_SETUP_VALUES','_manageHostSize','toStringTag','RemoveDocChartSnapshotMutation','univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-overscroll-contain\x20univer-pr-1','UniverUi','docs-chart-ui.candlestick.close','262287woJDPt','ChartSectionAccordionContent','_menuManagerService','Column','waterfallStyle','ChartRadarStyleSection','DocChartPrintService','1184802KfUcPI','endOffset','@univerjs-pro/docs-chart','position','DuplicateDocChartDataSourceCommand','onStarting','cumulativeLineStyle','ChartCommonDataMappingSection','customBlockMappings','docs-chart-ui.common.rightVerticalAxis','pareto','status','EmptyData','100%','pie','_listenChartResourceMutations','_initMenus','DOC_CHART_DATA_EDITOR_COMPONENT','block','executeChartUpdateConfig','ChartWaterfallSetupFields','toDisposable','map','Category\x09Value','toSpec','docs-chart-ui.section.gridlinesAndTicks','docs-chart-ui.common.category','Injector','_renderModelManager','UniverCore','5500EOWEUm','dataSources','createElement','value','258765xMbPxd','_deactivate','targetDrawing','_syncRenderedChartVisibility','UniverDocsDrawingUi','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','getRect','ChartRelationStyleSection','insertChart','_initCommands','DRAWING_OBJECT_LAYER_INDEX','ChartTypeSpecificStyleSection','IDocClipboardPasteAdapterService','_resourceService','Funnel','LAYOUT','ChartLegendPositionField','ChartTitleFontSizeFields','default'];_0x142f=function(){return _0x5aded2;};return _0x142f();}
1
+ function _0x4bde(){const _0x2586eb=['ChartTypeSpecificStyleSection','univer-flex\x20univer-flex-col\x20univer-gap-3','_refreshActiveLayout','_getRenderedChartImage','getOffsetConfig','_registerComponents','pageMarginTop','_host','docs-chart-ui.common.legend','number','source','ChartSectionAccordion','removeFloatDom','useState','requestSnapshot','onModifyData','_config','children','ChartLegendFontSizeField','univer-flex\x20univer-flex-col\x20univer-gap-2','_removeRenderedCharts','ChartAxisLabelStyleFields','insertChart','WordCloud','Pareto','DocPrintInterceptorService','Treemap','set','DocChartInsertPanel','visible','_getPasteMutationInfos','main','WaterfallSeries','_getDrawingSearch','docs-chart-ui.common.horizontalAxis','_activeDomReadyDrawingKeys','clsx','SVG','docs-chart-ui.floatMenu.menuTitle.chart','lastIndexOf','LineAndArea','dataStream','_menuManagerService','exportImage','merge','_getOrCreatePastedDataSourceId','getViewport','RemoveDocDrawingCommand','parseInlineChartTable','markNotReady','addFloatDom','getDataSource','angle','_requestSnapshot','getDrawingDataForUnit','getHostStyle','chartTypeSupportsLineAndAreaStyle','getRenderUnitById','dataAggregation','INSERT_BELLOW_MENU_ID','select','Pie','applyHostStyle','ChartFunnelStyleSection','SHARED','then','_renderCharts','doc-chart.snapshot-renderer','push','Legend','OpenDocChartEditorDialogOperation','column','print','decorate','hit','targetDrawing','react','doc.operation.open-doc-chart-insert-dialog','makeDirty','composite','_univerInstanceService','Sunburst','root','docs-chart-ui.active-chart','_resourceService','_getRenderRect','open','jsx','render','unitId','ChartResourceRepository','UniverProDocsChart','scene','1.0.0-beta.2','addClipboardHook','appendChild','updateDataFromText','98dmpnvR','setActiveDomReady','startOffset','@univerjs/engine-render','docs-chart-ui.common.editData','getChart','DOC_CHART_DATA_EDITOR_COMPONENT','getCacheKey','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-px-1\x20univer-pb-4\x20univer-pt-4','color','docs-chart-ui.common.apply','_activeLayer','toSpec','subUnitId','DOC_CHART_DATA_EDITOR_DIALOG_ID','endOffset','docTransform','Disposable','docs-chart-ui.previewRenderFailed','registerAdapter','subscribe','values','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_initCommands','docs-chart-ui.common.tableDataEmpty','sharingCount','useEffect','Tools','border-box','BehaviorSubject','chartType','docs-chart-ui.common.editChart','docs-chart-ui.section.gridlinesAndTicks','mode','LAYOUT','docs-chart-ui.chartNotFound','Funnel','waterfallStyle','ChartGridlineVisibilityField','ChartTypeField','getDocChartInsertDisabledObservable','hidden','docs-chart-ui.section.paretoBar','docs-chart-ui.common.data','getObjectIncludeInGroup','axis','GridlinesAndTicks','_getPositionState','_handleFocus','rxjs','getDataSourceSharingCount','.below','IRenderManagerService','disableMenuWhenHeaderFooterEditing','cumulativeLineStyle','@univerjs-pro/docs-chart','docs-chart-ui.common.insert','DEFAULT_CHART_LEGEND_VALUES','add','find','univer-flex\x20univer-size-full\x20univer-min-w-0\x20univer-gap-5','_initClipboardHooks','stylizeSpec','ChartSeriesFillFields','image','preValue','segmentId','ChartNumberFormatTextField','GeneralSeries','EmptyData','UniverCore','top\x20left','docs-chart-ui.common.series','_injector','@univerjs/docs-drawing-ui','docs-chart-ui.candlestick.close','DocContentInsertService','844Elrxyt','_forEachChartDrawing','ChartStyle','seriesId','univer-min-h-0\x20univer-flex-1','docs-chart-ui.common.rightVerticalAxis','forEach','aLeft','executeCommand','baseOn','UniverLicensePlugin','every','target','ChartViewStateRegistry','isInlineChartDataSource','createChartInstance','UniverDocsChartUIPlugin','width','Relation','onScrollAfter$','buildChartTypeSelectOptions','getOwnPropertyDescriptor','_draw','DrawingEditIcon','subscribeEvent','round','pluginName','config','referenced','@univerjs-pro/chart-ui','chartBitsUtils','DOCS_CHART_UI_PLUGIN_CONFIG_KEY','setTimeout','DEFAULT_CHART_STYLE_VALUES','borderRadius','DEFAULT_TRANSFORMER_CONFIG','addObject','dpr','InlineChartCreationIssueCode','@univerjs/docs','docs-chart-ui.common.insertChart','registerPrintPreparation','ChartImageExportFormat','symbol','IDrawingManagerService','max','B\x0918','defineProperty','px\x20solid\x20','positionObserver','delete','ChartPieStyleSection','onPreviewChartTypeChange','insertChartFromText','_getActiveRenderRect','DEFAULT_CHART_PIE_VALUES','@univerjs/core','_commandService','_retryActivateFocusedChart','charts','docs-chart-ui.section.radar','getInfo','PieStyle','Observable','focus','ChartThemeService','UniverDocsPlugin','DependentOn','5990Hnvhef','ChartHostRenderMode','DocDrawingFloatingToolbarAdapterService','_isDocChartDrawing','jsxs','ChartParetoSeriesSection','docs-chart-ui.common.deleteChart','_instanceService','getDirection','univer-w-full\x20!univer-min-w-0','getChartIdsByDataSource','ready','toPrimitive','docs-chart-ui.updateChartFailed','collapsed','tabpanel','allSettled','registerCommand','Trendline','_docSelectionManagerService','IChartRenderModelManagerService','docs-chart-ui.close','DocChartInsertMenuItemFactory','setImageContentHidden','customBlockMappings','Candlestick','overflow','compactInlineTableValues','get','_getContentRect','ChartTitleFontSizeFields','SetDocChartDataSourceMutation','contentRect','BUTTON','IDocClipboardService','docsLeft','Injector','combineLatest','route','MenuItemType','chartId','height','_docContentInsertService','479945eGvSim','scaleX','ChartLegendSelectModeField','doc-chart-host','getTextRanges','ContextMenuPosition','ChartIcon','docs-chart-ui.common.category','backgroundColor','ChartDataSourceRuntimeStatus','tryBuildInlineChartCreationPlan','segmented','transformByState','executeChartUpdateConfig','titles','_prepareStandaloneInsertLine','IUniverInstanceService','UniverInstanceType','A\x0912','dark:!univer-bg-gray-900/90\x20univer-bg-gray-0/90\x20univer-absolute\x20univer-bottom-3\x20univer-left-3\x20univer-rounded\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','doc.operation.open-doc-chart-editor-dialog','UpdateDocChartConfigCommand','ChartAxisFormatTextField','disposeWithMe','series','useRef','ChartAndAxisTitles','docs-chart-ui.common.chartStyle','ChartTypeBits','docs-chart-ui.section.candlestick','dblclick','_modelService','duplicate','VerticalAxis','clipBounds','InsertDocChartCommand','position','RemoveDocChartDataSourceMutation','getBoundingClientRect','_requestSnapshotsForSearches','UniverUi','drawingType','docs-chart-ui.section.treemap','ChartThemeField','show','ChartReferencedDataSourceEditor','ChartEditPanelTabs','_drawingManagerService','RightVerticalAxis','Column','doc-chart.ui.service','ChartLegendRoot','VIEW_MAIN','relation','changeSource','IConfigService','radius','type','DEFAULT_CHART_INDICATOR_LINE_VALUES','imageContentHidden','chartTypeSupportsCapability','defaultTableText','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','_bindActiveLayerObservers','activeRuntimeModel','getChartModel','ChartEditPanel','ChartLegendPositionField','generateRandomId','_hostStyle','BreakLineCommand','setStyle','sourceDocuments','_canvasFloatDomService','react/jsx-runtime','docs-chart-ui.section.funnel','docs-chart-ui.common.chartType','_initAdapter','status','data','DataUrlImageChartHost','_manageHostSize','changeDataSource','style$','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','direction$','setActiveChartById','_configService','current','iconName','_layoutChanged$','style','Waterfall','2293790QazcaM','_listenChartResourceMutations','breakOffsets','onload','isFinite','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','resolveChartElementSelection','createRenderInput','_updatePosition','DEFAULT_CHART_TITLE_VALUES','ChartEditorCapability','@univerjs/design','add$','DEFAULT_CHART_DEVICE_PIXEL_RATIO','mergeMenu','issue','Timed\x20out\x20loading\x20document\x20chart\x20print\x20image.','DRAWING_CHART','dispose','_applyHostStyle','index','doc-chart-data-panel','DEFAULT_CHART_LINE_AND_AREA_VALUES','_getDrawingRect','_getActiveRenderScale','pie','ChartSectionAccordionContent','docs-chart-ui.section.sunburst','DocChartModelService','button','_shouldWaitForChartConfig','boxSizing','mountChart','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','ChartWordCloudShapeField','IDocDrawingAdapterService','Series','ChartSeriesPointFields','chart','Gauge','dataSourceId','prepare','ChartRadarStyleSection','_initMenus','join','READY','_getChartDrawings','PARAGRAPH','onDataSourceSubmit','relative','dataSource','map','waterfall','DOC_CHART_EDITOR_DIALOG_ID','UniverRenderEnginePlugin','chartContext','setConfig','rightY','_syncChartImageVisibility','renderRect','UNIVER_DOC','toDisposable','_dialogService','onerror','getDrawingByParam','getSelfOrHeaderFooterModel','min','PRINTING_COMPONENT_COLLECT','textSelection$','SECTION_BREAK','content-box','exports','@univerjs/ui','tryPrepareInlineChartData','doc-chart.dialog.insert','_localeService','_renderService','docs-chart-ui.candlestick.columnsError','defaultChartType','params','ChartAxisTickVisibilityField','UnknownOption','naturalWidth','getDrawingId','scaleObserver','engine','ChartGridlineWidthField','resolveChartRuntimeStyle','className','useMemo','code','DocChartSnapshotRefreshController','ChartEditBlockTitle','UniverDocsDrawingPlugin','_renderDrawing','plan','legend','_renderModelManager','docsTop','border','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','getCurrentRenderModel','onStarting','section','ChartSeriesLabelFontSizeField','default','doc','docs-chart-ui.section.lineAndArea','docs-chart-ui.chord.source','iterator','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','@univerjs-pro/docs-chart-ui','TRANSFORM_CHANGE_OBSERVABLE_TYPE','context','IDocChartUIService','wordCloud','pieSecondaryPlotType','getAncestorScale','DocChartEditorDialog','refreshTransform$','DOC_CHART_INSERT_BELOW_MENU_ID','syncExecuteCommand','DocChartUIService','@univerjs-pro/engine-chart','ParetoLineSeries','syncLayout','_refreshActivePosition','doc-chart-preview-','next','openInsertDialog','docs-chart-ui.section.paretoLine','removeObject','VIEWPORT_KEY','flipY','Module','docs-chart-ui.chartTypes.','DEFAULT_CHART_SERIES_VALUES','_snapshotRenderService','_imageContentHidden','RemoveDocChartSnapshotMutation','univer-w-full\x20univer-justify-start','amd','getId','DrawingTypeEnum','docs-chart-ui.common.setup','doughnutHole','UniverProEngineChart','_registerDialogOperations','DOC_PARAGRAPH_T_INSERT_MENU_ID','getChartHostFrameContentRect','!univer-w-[calc(100vw-32px)]\x20!univer-max-w-[680px]\x20md:!univer-max-w-[960px]\x20xl:!univer-max-w-[1200px]','Dom','Data','ChartTypeSpecificDataSection','ChartAxisLineVisibilityField','UniverDocsDrawing','_isActiveLayer','IDocClipboardPasteAdapterService','ChartEditPanelSection','Axes','_resolveInsertPosition','div','Image','ContextMenuGroup','Failed\x20to\x20render\x20document\x20chart\x20snapshot:\x20','has','createIdentifier','function','touchDependencies','indicatorLine','_getChartDrawing','labelId','filter','_createImageShape','React','remove$','startIndex','DocChartDrawingEditController','indexOf','ChartSubtitleFields','_drawingAdapterService','_floatingToolbarAdapterService','position$','4192656kymVpn','config$','ChartWordCloudRepeatField','slice','ChartSeriesLabelVisibilityField','doc-chart-editor-panel','_syncRenderedChartVisibility','ChartImageExportService','_snapshotService','CHART_RESOURCE_VERSION','skeDrawings','useObservable','UniverDrawingPlugin','docs-chart-ui.candlestick.open','interceptor','dataSources','CanvasFloatDomService','docs-chart-ui.sunburst.hierarchy','marginTop','getRuntimeContext','some','_getRenderScale','Inject','primary','resolveDefaultChartHostFrameStyle','_mountNode','DocChartInsertService','ChartIndicatorLineTypeField','createChartRuntime','DOC_CHART_INSERT_MENU_ID','docs-chart-ui.common.cancel','DocChartActiveRenderService','ChartLineAndAreaSection','getMenuHiddenObservable','UniverProDocsChartUi','ChartStyleSection','openEditorDialog','scaleY','register','secondaryPlot','UniverDocsDrawingUIPlugin','split','pages','DOC_CHART_EDITOR_DIALOG_COMPONENT','buildChartDataSetFromValues','export','2849QOxYwd','docs-chart-ui.common.valueField','customBlocks','ChartSeriesRoot','getActiveTextRange','ICommandService','replaceChildren','DocDomChartHost','4863tUBxlN','ChartGradientFillField','initialRoute','getDrawingShapeKeyByDrawingSearch','_staticRenderController','ChartHeatmapStyleSection','fill','docs-chart-ui.chord.target','dataUrl','DocChartDataEditorSubmitMode','LocaleService','getFocusDrawings','_frameNode','marginLeft','docs-chart-ui.common.chartAndAxisTitles','docs-chart-ui.common.value','size','flipX','insertRange','_pasteAdapterService','doc-chart-preview','createChartInlineStarterData','lineAndArea','DocChartEditPanel','onClose','_subscribeRender','getUnitId','context$','-data-source','orient','univer-min-h-0\x20univer-flex-1\x20univer-pt-4','docs-chart-ui.section.relation','docs-chart-ui.common.label','ChartIndicatorLineColorField','getDataUrl','length','docs-chart-ui.section.indicatorLine','dataAggregation$','_chartThemeService','pending','pipe','order','object','_visualLayoutChanged$','ChartAxisReverseField','string','intercept','@univerjs-pro/license','consumeInsertRange','_preparedCharts','DocChartDataEditor','createElement','scale(','UniverDocsDrawingUi','sceneRect','DocChartDataEditService','heatmap','SetDocChartSnapshotMutation','useDependency','CHART_TYPE_CATALOG','DocSelectionManagerService','UniverDrawing','remove','__docsChartResource','_init','model','sourceDrawing','ensureChartModel','ChartSeriesLabelPositionField','ChartAxisLabelVisibilityField','getEditorState','Chord','tab','call','transform','C\x099','Button','univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-overscroll-contain\x20univer-pr-1','_createChartRenderInstanceContext','4303314fyZrnU','DOC_CONTENT_INSERT_MENU_ID','ChartAxisTitleFields','Document\x20chart\x20','DocPrintChart','docs-chart-ui.common.insertChartFailed','getCanvasElement','DrawingDeleteIcon','_appendChartResources','bind','_deactivate','DEFAULT_CHART_RADAR_VALUES','Style','docs-chart-ui.candlestick.low','format','Select','ParetoBarSeries','_setElementSize','complete','docs-chart-ui.common.verticalAxis','DataStreamTreeTokenType','dispatchEvent','getChartInlineTableMinColumns','DEFAULT_CHART_PARETO_VALUES','\x20has\x20no\x20render\x20config.','key','DEFAULT_CHART_WATERFALL_STYLE_VALUES','_docPrintInterceptorService','DocActiveChart','CommandType','DEFAULT_CHART_FUNNEL_VALUES','Histogram','ChartEditPanelTab','ChartSeriesBorderFields','left','radar','pageHeight','scale','checkMounted','onCommandExecuted','DocChartInsertBelowMenuItemFactory','_activate','DOC_CHART_CLIPBOARD_RESOURCE_KEY','3774JoCywW','supports','docs-chart-ui.section.histogram','defaultPluginConfig','isReferencedChartDataSource','IDialogService','ComponentManager','doc-chart.editor-dialog','docs-chart-ui.section.chord','doc-chart-style-panel','docDrawingPositionToTransform','drawingId','getInterceptPoints','univer-relative\x20univer-box-border\x20univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','_captureInsertRange','top','invalidateChart','UniverDocsUi','getSkeletonData','disconnect','barStyle','docs-chart-ui.common.customize','DocChartRenderService','_renderManagerService','change','pareto','resolve','useChartEditorChartType','inline','doc-chart.insert-panel','Radar','getCurrentUnitOfType','docs-chart-ui.section.wordCloud','_requestSnapshotsForUnit','value','getDrawings','_componentManager','Heatmap','min(560px,\x20calc(100vh\x20-\x20180px))','HorizontalAxis','shared','IndicatorLine','ChartMainTitleFields','drawings','parseInt','unsubscribe','updateData','ChartStackField','OPERATION','transformerConfig','ChartAxisBoundsFields','attachTransformerTo'];_0x4bde=function(){return _0x2586eb;};return _0x4bde();}function _0x5cdc(_0xd25563,_0x22fc59){_0xd25563=_0xd25563-0x145;const _0x4bde79=_0x4bde();let _0x5cdc71=_0x4bde79[_0xd25563];return _0x5cdc71;}(function(_0x2b9adb,_0x4cc448){const _0x2d0621=_0x5cdc,_0x5ce051=_0x2b9adb();while(!![]){try{const _0x420f9d=parseInt(_0x2d0621(0x1bd))/0x1+-parseInt(_0x2d0621(0x416))/0x2*(-parseInt(_0x2d0621(0x307))/0x3)+parseInt(_0x2d0621(0x14e))/0x4*(parseInt(_0x2d0621(0x192))/0x5)+-parseInt(_0x2d0621(0x381))/0x6*(parseInt(_0x2d0621(0x2ff))/0x7)+-parseInt(_0x2d0621(0x2d1))/0x8+parseInt(_0x2d0621(0x356))/0x9+-parseInt(_0x2d0621(0x21a))/0xa;if(_0x420f9d===_0x4cc448)break;else _0x5ce051['push'](_0x5ce051['shift']());}catch(_0x19063f){_0x5ce051['push'](_0x5ce051['shift']());}}}(_0x4bde,0x44902),function(_0x35a173,_0x41d2af){const _0x2eb195=_0x5cdc;typeof exports=='object'&&typeof module<'u'?_0x41d2af(exports,require('@univerjs/core'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/design'),require('@univerjs/ui'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/docs-chart'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/docs-drawing'),require('@univerjs/docs-drawing-ui'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/drawing'),require('@univerjs/engine-render')):typeof define==_0x2eb195(0x2c1)&&define[_0x2eb195(0x2a7)]?define([_0x2eb195(0x261),_0x2eb195(0x186),_0x2eb195(0x16b),_0x2eb195(0x295),_0x2eb195(0x225),_0x2eb195(0x262),_0x2eb195(0x401),_0x2eb195(0x207),_0x2eb195(0x44d),_0x2eb195(0x175),'@univerjs/docs-ui','@univerjs/docs-drawing',_0x2eb195(0x14b),_0x2eb195(0x447),_0x2eb195(0x336),'@univerjs/drawing',_0x2eb195(0x419)],_0x41d2af):(_0x35a173=typeof globalThis<'u'?globalThis:_0x35a173||self,_0x41d2af(_0x35a173[_0x2eb195(0x2f3)]={},_0x35a173[_0x2eb195(0x147)],_0x35a173['UniverProChartUi'],_0x35a173[_0x2eb195(0x2ac)],_0x35a173['UniverDesign'],_0x35a173[_0x2eb195(0x1e5)],_0x35a173[_0x2eb195(0x2c8)],_0x35a173[_0x2eb195(0x2c8)],_0x35a173[_0x2eb195(0x410)],_0x35a173['UniverDocs'],_0x35a173[_0x2eb195(0x392)],_0x35a173[_0x2eb195(0x2b5)],_0x35a173[_0x2eb195(0x33c)],_0x35a173[_0x2eb195(0x447)],_0x35a173['UniverProLicense'],_0x35a173[_0x2eb195(0x344)],_0x35a173['UniverEngineRender']));}(this,function(_0x581a49,_0x1261b8,_0xd438e5,_0x4a61ce,_0x5e2ef6,_0x723a79,_0x435e09,_0x1b4b54,_0x5f1990,_0x4fd56f,_0x581f9e,_0x40d78a,_0x3f90bd,_0x8a64a,_0x27aab1,_0x3f42ed,_0x281c85){const _0x3356d1=_0x5cdc;Object[_0x3356d1(0x17d)](_0x581a49,Symbol['toStringTag'],{'value':_0x3356d1(0x2a0)});let _0xa99d93={'id':_0x3356d1(0x402),'type':_0x1261b8[_0x3356d1(0x373)][_0x3356d1(0x3b1)],'handler'(){return!0x0;}},_0x568992={'id':_0x3356d1(0x1d1),'type':_0x1261b8[_0x3356d1(0x373)]['OPERATION'],'handler'(){return!0x0;}},_0x1c8fc6='doc-chart.data-editor',_0x3469b7=function(_0x16f82e){const _0x19c12b=_0x3356d1;return _0x16f82e[_0x19c12b(0x3f5)]=_0x19c12b(0x3a9),_0x16f82e['DUPLICATE']=_0x19c12b(0x1dd),_0x16f82e;}({});function _0x2f7b95(_0x2be0de){const _0x83b6ab=_0x3356d1;let _0x3a4bc5=(0x0,_0x723a79[_0x83b6ab(0x341)])(_0x1261b8[_0x83b6ab(0x311)]),{values:_0x3ec581,onCancel:_0x7a4000,onChange:_0x4516a0,onSubmit:_0x405746}=_0x2be0de,[_0x435a11,_0x58abf1]=(0x0,_0x435e09['useState'])(()=>(0x0,_0x4a61ce[_0x83b6ab(0x385)])(_0x2be0de[_0x83b6ab(0x24c)])?_0x83b6ab(0x16a):_0x83b6ab(0x39d)),[_0x296477,_0x3677e2]=(0x0,_0x435e09[_0x83b6ab(0x3c2)])(null),[_0x3f7c92,_0x97e826]=(0x0,_0x435e09[_0x83b6ab(0x3c2)])(()=>_0x3ec581[_0x83b6ab(0x24d)](_0x45e4d4=>[..._0x45e4d4])),[_0x28b850,_0x4f3b1a]=(0x0,_0x435e09['useState'])(null),_0x2a9e4d=_0x4a1429=>{_0x97e826(_0x4a1429),_0x4516a0==null||_0x4516a0(_0x4a1429);},_0x570c40=_0x400d1e=>{const _0x400ca1=_0x83b6ab;let _0x2e7d70=(0x0,_0xd438e5[_0x400ca1(0x1ad)])(_0x3f7c92);if(_0x2e7d70[_0x400ca1(0x32a)]===0x0){_0x4f3b1a(_0x3a4bc5['t']('docs-chart-ui.common.tableDataEmpty'));return;}_0x4f3b1a(null),_0x405746(_0x2e7d70,_0x400d1e);};return(0x0,_0x1b4b54[_0x83b6ab(0x196)])('div',{'className':_0x83b6ab(0x211),'children':[(0x0,_0x1b4b54[_0x83b6ab(0x40c)])('div',{'className':_0x83b6ab(0x354),'children':(0x0,_0x1b4b54[_0x83b6ab(0x40c)])(_0xd438e5[_0x83b6ab(0x1ea)],{'mode':_0x435a11,'initialSource':(0x0,_0x4a61ce[_0x83b6ab(0x385)])(_0x2be0de['dataSource'])?_0x2be0de[_0x83b6ab(0x24c)][_0x83b6ab(0x3bf)]:void 0x0,'inlineContent':(0x0,_0x1b4b54[_0x83b6ab(0x40c)])(_0xd438e5['ChartInlineTableEditor'],{'values':_0x3f7c92,'parsePastedText':_0x4a61ce[_0x83b6ab(0x3e5)],'onChange':_0x2a9e4d}),'onModeChange':_0x2b9f54=>{_0x58abf1(_0x2b9f54),_0x3677e2(null);},'onPreviewChange':(_0xd4cb6f,_0x402fa9)=>{const _0x1e3159=_0x83b6ab;_0x3677e2(_0xd4cb6f&&_0x402fa9[_0x1e3159(0x20b)]===_0x4a61ce[_0x1e3159(0x1c6)]['READY']?{'source':_0xd4cb6f}:null),_0x402fa9[_0x1e3159(0x42b)]&&(_0x4516a0==null||_0x4516a0(_0x402fa9[_0x1e3159(0x42b)][_0x1e3159(0x24d)](_0x35b852=>[..._0x35b852])));}})}),_0x28b850&&(0x0,_0x1b4b54[_0x83b6ab(0x40c)])('div',{'className':'univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','children':_0x28b850}),(0x0,_0x1b4b54[_0x83b6ab(0x196)])(_0x83b6ab(0x2bb),{'className':'univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','children':[_0x7a4000&&(0x0,_0x1b4b54[_0x83b6ab(0x40c)])(_0x5e2ef6[_0x83b6ab(0x353)],{'type':'button','variant':_0x83b6ab(0x283),'onClick':_0x7a4000,'children':_0x3a4bc5['t'](_0x83b6ab(0x2ef))}),(0x0,_0x1b4b54[_0x83b6ab(0x40c)])(_0x5e2ef6[_0x83b6ab(0x353)],{'type':'button','variant':'primary','disabled':_0x435a11===_0x83b6ab(0x16a)&&!_0x296477,'onClick':()=>{const _0x561a23=_0x83b6ab;var _0x468e55;return _0x435a11===_0x561a23(0x16a)&&_0x296477?(_0x468e55=_0x2be0de[_0x561a23(0x24a)])==null?void 0x0:_0x468e55['call'](_0x2be0de,_0x296477):_0x570c40(_0x561a23(0x3a9));},'children':_0x3a4bc5['t'](_0x83b6ab(0x420))})]})]});}function _0x254d85(_0x22a10a,_0x3f3b04){return function(_0x187002,_0x3cdb36){_0x3f3b04(_0x187002,_0x3cdb36,_0x22a10a);};}function _0x1a5efb(_0x1b3de2,_0x5cb39d,_0x4eae71,_0x4a017f){const _0x1cd5fe=_0x3356d1;var _0x519ab0=arguments['length'],_0x10ae9=_0x519ab0<0x3?_0x5cb39d:_0x4a017f===null?_0x4a017f=Object[_0x1cd5fe(0x163)](_0x5cb39d,_0x4eae71):_0x4a017f,_0x3830a8;if(typeof Reflect=='object'&&typeof Reflect[_0x1cd5fe(0x3fe)]==_0x1cd5fe(0x2c1))_0x10ae9=Reflect[_0x1cd5fe(0x3fe)](_0x1b3de2,_0x5cb39d,_0x4eae71,_0x4a017f);else{for(var _0x4d98dd=_0x1b3de2[_0x1cd5fe(0x32a)]-0x1;_0x4d98dd>=0x0;_0x4d98dd--)(_0x3830a8=_0x1b3de2[_0x4d98dd])&&(_0x10ae9=(_0x519ab0<0x3?_0x3830a8(_0x10ae9):_0x519ab0>0x3?_0x3830a8(_0x5cb39d,_0x4eae71,_0x10ae9):_0x3830a8(_0x5cb39d,_0x4eae71))||_0x10ae9);}return _0x519ab0>0x3&&_0x10ae9&&Object[_0x1cd5fe(0x17d)](_0x5cb39d,_0x4eae71,_0x10ae9),_0x10ae9;}let _0x24fb23=class{constructor(_0x3cde06,_0x122ba2){this['_commandService']=_0x3cde06,this['_resourceService']=_0x122ba2;}[_0x3356d1(0x34d)](_0x2262d2,_0x36e3f7){const _0xa61233=_0x3356d1;let _0x371872=this['_resourceService'][_0xa61233(0x41b)](_0x2262d2,_0x36e3f7),_0x4b3e7a=_0x371872?this[_0xa61233(0x409)][_0xa61233(0x3e8)](_0x2262d2,_0x371872[_0xa61233(0x242)]):void 0x0;return!_0x371872||!_0x4b3e7a?null:{'unitId':_0x2262d2,'chartId':_0x36e3f7,'dataSourceId':_0x4b3e7a['id'],'dataSource':_0x4b3e7a,'values':(0x0,_0x4a61ce[_0xa61233(0x15c)])(_0x4b3e7a)?_0x4b3e7a[_0xa61233(0x42b)]['map'](_0x504d8b=>[..._0x504d8b]):[],'sharingCount':this['_resourceService'][_0xa61233(0x448)](_0x2262d2,_0x4b3e7a['id'])};}[_0x3356d1(0x415)](_0x1c1881,_0x1b6373,_0x3d8421,_0x4f0028){const _0x5423ff=_0x3356d1;let _0x370765=(0x0,_0x4a61ce[_0x5423ff(0x3e5)])(_0x3d8421);return _0x370765['length']!==0x0&&this[_0x5423ff(0x3af)](_0x1c1881,_0x1b6373,_0x370765,_0x4f0028);}[_0x3356d1(0x3af)](_0x10531d,_0x570a01,_0x2055f4,_0x2880e8){const _0x51e698=_0x3356d1;var _0x14a1b7;if(!this['getEditorState'](_0x10531d,_0x570a01)||_0x2055f4['length']===0x0)return!0x1;let _0x582c3a=(_0x14a1b7=this[_0x51e698(0x409)][_0x51e698(0x41b)](_0x10531d,_0x570a01))==null?void 0x0:_0x14a1b7[_0x51e698(0x434)];if(_0x582c3a===void 0x0)return!0x1;let _0x25b739=(0x0,_0xd438e5[_0x51e698(0x263)])(_0x582c3a,_0x2055f4);return _0x25b739['ok']?this[_0x51e698(0x20f)](_0x10531d,_0x570a01,{'values':_0x25b739[_0x51e698(0x42b)]}):!0x1;}[_0x3356d1(0x20f)](_0x17839a,_0x2376f2,_0x31340a){return this['_commandService']['syncExecuteCommand'](_0x5f1990['ChangeDocChartDataSourceCommand']['id'],{'unitId':_0x17839a,'chartId':_0x2376f2,'dataSource':_0x31340a});}};_0x24fb23=_0x1a5efb([_0x254d85(0x0,_0x1261b8['ICommandService']),_0x254d85(0x1,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x4a61ce[_0x3356d1(0x40f)]))],_0x24fb23);let _0x49e08a=(0x0,_0x1261b8[_0x3356d1(0x2c0)])(_0x3356d1(0x1ef)),_0x37b489=class extends _0xd438e5['ChartUIService']{constructor(_0x116c42,_0x2e230c,_0x47e676){const _0x3ee834=_0x3356d1;super(_0x47e676),this[_0x3ee834(0x1dc)]=_0x116c42,this[_0x3ee834(0x187)]=_0x2e230c;}get[_0x3356d1(0x1fd)](){const _0x592b3d=_0x3356d1;return this[_0x592b3d(0x1dc)][_0x592b3d(0x1fd)];}[_0x3356d1(0x1ca)](_0xd94016){const _0x3809c5=_0x3356d1;let _0xb69c26=this[_0x3809c5(0x1fd)],_0x3532fc=_0xd94016[_0x3809c5(0x40e)]??(_0xb69c26==null?void 0x0:_0xb69c26[_0x3809c5(0x40e)]),_0x2b5c38=_0xd94016[_0x3809c5(0x1ba)]??(_0xb69c26==null?void 0x0:_0xb69c26[_0x3809c5(0x1ba)]);!_0x3532fc||!_0x2b5c38||this['_commandService'][_0x3809c5(0x156)](_0x5f1990[_0x3809c5(0x1d2)]['id'],{..._0xd94016,'unitId':_0x3532fc,'chartId':_0x2b5c38});}};_0x37b489=_0x1a5efb([_0x254d85(0x0,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x5f1990[_0x3356d1(0x236)])),_0x254d85(0x1,_0x1261b8['ICommandService']),_0x254d85(0x2,(0x0,_0x1261b8['Inject'])(_0xd438e5[_0x3356d1(0x15b)]))],_0x37b489);let _0x29f84a={'axis':{..._0xd438e5['DEFAULT_CHART_AXIS_VALUES'],'primaryGridLineVisible':!0x0,'secondaryGridLineVisible':!0x0},'legend':_0xd438e5[_0x3356d1(0x44f)],'lineAndArea':_0xd438e5[_0x3356d1(0x230)],'pareto':_0xd438e5[_0x3356d1(0x36d)],'funnel':_0xd438e5[_0x3356d1(0x374)],'heatmap':_0xd438e5['DEFAULT_CHART_HEATMAP_VALUES'],'indicatorLine':_0xd438e5[_0x3356d1(0x1f7)],'pie':{..._0xd438e5[_0x3356d1(0x185)],'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0xd438e5['DEFAULT_CHART_RELATION_VALUES'],'useValueAsSymbolSize':!0x1},'radar':_0xd438e5[_0x3356d1(0x361)],'series':{..._0xd438e5[_0x3356d1(0x2a2)],'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0xd438e5[_0x3356d1(0x16f)],'titles':_0xd438e5[_0x3356d1(0x223)],'waterfall':{..._0xd438e5['DEFAULT_CHART_WATERFALL_SETUP_VALUES'],'useSubtotal':!0x0},'waterfallStyle':_0xd438e5[_0x3356d1(0x370)],'wordCloud':_0xd438e5['DEFAULT_CHART_WORD_CLOUD_VALUES']},_0x49b6cd=[_0x4a61ce['ChartTypeBits']['Candlestick'],_0x4a61ce[_0x3356d1(0x1d9)]['Histogram'],_0x4a61ce[_0x3356d1(0x1d9)]['Treemap'],_0x4a61ce['ChartTypeBits'][_0x3356d1(0x406)],_0x4a61ce['ChartTypeBits'][_0x3356d1(0x241)],_0x4a61ce[_0x3356d1(0x1d9)][_0x3356d1(0x34e)]];function _0x34befc(){const _0x4431b0=_0x3356d1;let _0x289580=(0x0,_0xd438e5[_0x4431b0(0x39c)])();return(0x0,_0x1b4b54[_0x4431b0(0x40c)])(_0xd438e5[_0x4431b0(0x308)],{'visible':_0x49b6cd[_0x4431b0(0x159)](_0x5412b9=>!_0x4a61ce['chartBitsUtils'][_0x4431b0(0x157)](_0x289580,_0x5412b9))});}function _0x43a8ed(_0x58e761){const _0xc8e7a2=_0x3356d1;return(0x0,_0x1b4b54[_0xc8e7a2(0x196)])(_0xd438e5['ChartSectionAccordionItem'],{'id':_0x58e761['id'],'children':[(0x0,_0x1b4b54[_0xc8e7a2(0x40c)])(_0xd438e5['ChartSectionAccordionTrigger'],{'children':_0x58e761['label']}),(0x0,_0x1b4b54[_0xc8e7a2(0x40c)])(_0xd438e5[_0xc8e7a2(0x234)],{'children':_0x58e761[_0xc8e7a2(0x3c6)]})]});}function _0x18a387(_0x487930,_0x2849d8=!0x1){const _0x141f12=_0x3356d1;let _0x3fbdaf=_0x487930===_0x4a61ce[_0x141f12(0x1d9)][_0x141f12(0x3cc)],_0x14c0e8=_0x4a61ce[_0x141f12(0x16c)]['baseOn'](_0x487930,_0x4a61ce[_0x141f12(0x1d9)]['Pie']),_0x1264b2=_0x487930===_0x4a61ce['ChartTypeBits'][_0x141f12(0x39f)],_0x1b57fb=_0x487930===_0x4a61ce[_0x141f12(0x1d9)][_0x141f12(0x43a)],_0x37548f=_0x487930===_0x4a61ce[_0x141f12(0x1d9)][_0x141f12(0x219)],_0x6e3911=_0x487930===_0x4a61ce[_0x141f12(0x1d9)][_0x141f12(0x3cd)],_0x21d165=_0x487930===_0x4a61ce[_0x141f12(0x1d9)]['Candlestick'],_0xc097bf=_0x487930===_0x4a61ce[_0x141f12(0x1d9)]['Histogram'],_0x1df309=_0x487930===_0x4a61ce['ChartTypeBits'][_0x141f12(0x3cf)],_0xdddb83=_0x487930===_0x4a61ce['ChartTypeBits'][_0x141f12(0x406)],_0x1bcfe3=_0x487930===_0x4a61ce[_0x141f12(0x1d9)][_0x141f12(0x241)],_0x18f58a=_0x487930===_0x4a61ce[_0x141f12(0x1d9)]['Chord'],_0xc28bd5=_0x487930===_0x4a61ce[_0x141f12(0x1d9)][_0x141f12(0x160)],_0x3541fb=_0x487930===_0x4a61ce['ChartTypeBits'][_0x141f12(0x3a6)],_0x34b680=[_0xd438e5[_0x141f12(0x2b8)]['ChartStyle'],_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x1d7)]];return _0x3fbdaf&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5['ChartEditPanelSection']['WordCloud']),(0x0,_0xd438e5[_0x141f12(0x1f9)])(_0x487930,_0xd438e5[_0x141f12(0x224)][_0x141f12(0x145)])&&!_0x6e3911&&_0x34b680['push'](_0xd438e5[_0x141f12(0x2b8)]['Series']),(0x0,_0xd438e5[_0x141f12(0x3ed)])(_0x487930)&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x3dd)]),_0x1264b2&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)]['Radar']),_0x37548f&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5['ChartEditPanelSection'][_0x141f12(0x3d5)]),_0x6e3911&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5['ChartEditPanelSection']['ParetoBarSeries'],_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x296)]),_0x14c0e8&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x18c)]),_0x1b57fb&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x43a)]),_0x3541fb&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)]['Heatmap']),_0xc28bd5&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5['ChartEditPanelSection']['Relation']),_0x21d165&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5['ChartEditPanelSection'][_0x141f12(0x1ab)]),_0xc097bf&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5['ChartEditPanelSection'][_0x141f12(0x375)]),_0x1df309&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5['ChartEditPanelSection'][_0x141f12(0x3cf)]),_0xdddb83&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x406)]),_0x1bcfe3&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x241)]),_0x18f58a&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x34e)]),(0x0,_0xd438e5[_0x141f12(0x1f9)])(_0x487930,_0xd438e5['ChartEditorCapability'][_0x141f12(0x3fa)])&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x3fa)]),(0x0,_0xd438e5[_0x141f12(0x1f9)])(_0x487930,_0xd438e5[_0x141f12(0x224)][_0x141f12(0x2b9)])&&(_0x34b680['push'](_0xd438e5[_0x141f12(0x2b8)]['HorizontalAxis'],_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x1de)]),_0x2849d8&&_0x34b680[_0x141f12(0x3f9)](_0xd438e5['ChartEditPanelSection'][_0x141f12(0x1ed)]),_0x34b680[_0x141f12(0x3f9)](_0xd438e5[_0x141f12(0x2b8)]['GridlinesAndTicks'])),(0x0,_0xd438e5[_0x141f12(0x1f9)])(_0x487930,_0xd438e5['ChartEditorCapability'][_0x141f12(0x3aa)])&&_0x34b680['push'](_0xd438e5[_0x141f12(0x2b8)][_0x141f12(0x3aa)]),_0x34b680;}function _0x3ff106(_0x1b9cbf){const _0x3a57ed=_0x3356d1;return(0x0,_0x1b4b54['jsxs'])(_0x3a57ed(0x2bb),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x3a57ed(0x2b4)],{'axis':_0x1b9cbf[_0x3a57ed(0x443)],'defaultValues':_0x29f84a[_0x3a57ed(0x443)]}),(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x3a57ed(0x34c)],{'axis':_0x1b9cbf[_0x3a57ed(0x443)],'defaultValues':_0x29f84a[_0x3a57ed(0x443)]}),(0x0,_0x1b4b54[_0x3a57ed(0x40c)])(_0xd438e5[_0x3a57ed(0x333)],{'axis':_0x1b9cbf[_0x3a57ed(0x443)],'defaultValues':_0x29f84a[_0x3a57ed(0x443)]}),(0x0,_0x1b4b54[_0x3a57ed(0x40c)])(_0xd438e5[_0x3a57ed(0x3b3)],{'axis':_0x1b9cbf[_0x3a57ed(0x443)]}),(0x0,_0x1b4b54[_0x3a57ed(0x40c)])(_0xd438e5[_0x3a57ed(0x1d3)],{'axis':_0x1b9cbf[_0x3a57ed(0x443)]}),(0x0,_0x1b4b54[_0x3a57ed(0x40c)])(_0xd438e5[_0x3a57ed(0x3ca)],{'axis':_0x1b9cbf[_0x3a57ed(0x443)],'defaultValues':_0x29f84a['axis']}),(0x0,_0x1b4b54[_0x3a57ed(0x40c)])(_0xd438e5[_0x3a57ed(0x26a)],{'axis':_0x1b9cbf[_0x3a57ed(0x443)],'defaultValues':_0x29f84a[_0x3a57ed(0x443)]})]});}function _0x4b9c19(_0x804340){const _0x5e6a79=_0x3356d1;var _0x1856f7,_0x3cf03b;let _0x588d75=(0x0,_0x723a79['useDependency'])(_0x1261b8[_0x5e6a79(0x311)]),_0x3ef4cc=(0x0,_0xd438e5[_0x5e6a79(0x39c)])(),_0x4c84e1=(0x0,_0xd438e5['useChartEditorHasRightAxis'])(),[_0x1c4c08,_0x25bc8a]=(0x0,_0x435e09['useState'])(null),_0x2541d4=(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x3b5)],{}),_0x29f9a0={[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x1ab)]]:_0x588d75['t'](_0x5e6a79(0x1da)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x1d7)]]:_0x588d75['t'](_0x5e6a79(0x315)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x150)]]:_0x588d75['t'](_0x5e6a79(0x1d8)),[_0xd438e5[_0x5e6a79(0x2b8)]['Chord']]:_0x588d75['t'](_0x5e6a79(0x389)),[_0xd438e5['ChartEditPanelSection']['Funnel']]:_0x588d75['t'](_0x5e6a79(0x208)),[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x241)]]:_0x588d75['t']('docs-chart-ui.section.gauge'),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x444)]]:_0x588d75['t'](_0x5e6a79(0x436)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x3a6)]]:_0x588d75['t']('docs-chart-ui.common.heatmap'),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x375)]]:_0x588d75['t'](_0x5e6a79(0x383)),[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x3a8)]]:_0x588d75['t'](_0x5e6a79(0x3d7)),[_0xd438e5[_0x5e6a79(0x2b8)]['IndicatorLine']]:_0x588d75['t'](_0x5e6a79(0x32b)),[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x3fa)]]:_0x588d75['t'](_0x5e6a79(0x3bd)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x3dd)]]:_0x588d75['t'](_0x5e6a79(0x285)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x366)]]:_0x588d75['t'](_0x5e6a79(0x440)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x296)]]:_0x588d75['t'](_0x5e6a79(0x29c)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x18c)]]:_0x588d75['t']('docs-chart-ui.section.pie'),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x39f)]]:_0x588d75['t'](_0x5e6a79(0x18a)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x160)]]:_0x588d75['t'](_0x5e6a79(0x326)),[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x1ed)]]:_0x588d75['t'](_0x5e6a79(0x153)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x23e)]]:_0x588d75['t'](_0x5e6a79(0x149)),[_0xd438e5[_0x5e6a79(0x2b8)]['Sunburst']]:_0x588d75['t'](_0x5e6a79(0x235)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x3cf)]]:_0x588d75['t'](_0x5e6a79(0x1e7)),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x1a4)]]:_0x588d75['t']('docs-chart-ui.common.trendline'),[_0xd438e5[_0x5e6a79(0x2b8)]['VerticalAxis']]:_0x588d75['t'](_0x5e6a79(0x369)),[_0xd438e5[_0x5e6a79(0x2b8)]['WaterfallSeries']]:_0x588d75['t']('docs-chart-ui.section.waterfall'),[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x3cc)]]:_0x588d75['t'](_0x5e6a79(0x3a1))};(0x0,_0x435e09['useEffect'])(()=>{const _0x4a2585=_0x5e6a79;var _0x31a36c;(_0x31a36c=_0x804340[_0x4a2585(0x1b8)])!=null&&_0x31a36c[_0x4a2585(0x281)]&&_0x25bc8a(_0x804340[_0x4a2585(0x1b8)]['section']);},[_0x804340['route']]);let _0x5c1aa5={[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x150)]]:(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x2f4)],{'defaultValues':_0x29f84a['style'],'showBodyFont':!0x1,'children':(0x0,_0x1b4b54['jsx'])(_0x34befc,{})}),[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x1d7)]]:(0x0,_0x1b4b54[_0x5e6a79(0x196)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x3ab)],{'commitMode':_0x5e6a79(0x399),'defaultValues':_0x29f84a[_0x5e6a79(0x1cb)],'showFont':!0x1}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x2cd)],{'commitMode':_0x5e6a79(0x399),'defaultValues':_0x29f84a[_0x5e6a79(0x1cb)],'showFont':!0x1}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5['ChartAxisTitleFields'],{'axis':'x','commitMode':_0x5e6a79(0x399),'defaultValues':_0x29f84a[_0x5e6a79(0x1cb)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x358)],{'axis':'y','commitMode':_0x5e6a79(0x399),'defaultValues':_0x29f84a[_0x5e6a79(0x1cb)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5['ChartAxisTitleFields'],{'axis':'rightY','commitMode':_0x5e6a79(0x399),'defaultValues':_0x29f84a[_0x5e6a79(0x1cb)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x5e6a79(0x1b0)],{'defaultValues':_0x29f84a['titles']})]}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x23e)]]:(0x0,_0x1b4b54[_0x5e6a79(0x196)])(_0xd438e5[_0x5e6a79(0x302)],{'defaultValues':_0x29f84a[_0x5e6a79(0x1d5)],'NumberFormatField':_0xd438e5[_0x5e6a79(0x459)],'selectedSeriesId':(_0x1856f7=_0x804340[_0x5e6a79(0x1b8)])==null?void 0x0:_0x1856f7[_0x5e6a79(0x151)],'children':[(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x455)],{}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x377)],{'showColor':!0x1,'showOpacity':!0x1}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x23f)],{'showColor':!0x1}),(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x5e6a79(0x2d5)],{}),(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x5e6a79(0x34b)],{}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x282)],{})]}),[_0xd438e5[_0x5e6a79(0x2b8)]['LineAndArea']]:(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x2f1)],{'defaultValues':_0x29f84a[_0x5e6a79(0x31d)],'lineStyleControl':'select'}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x3cc)]]:(0x0,_0x1b4b54[_0x5e6a79(0x196)])(_0xd438e5['ChartWordCloudRoot'],{'children':[(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x5e6a79(0x23c)],{'defaultValues':_0x29f84a['wordCloud']}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x2d3)],{'defaultValues':_0x29f84a[_0x5e6a79(0x28d)]})]}),[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x39f)]]:(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x5e6a79(0x244)],{'defaultValues':_0x29f84a[_0x5e6a79(0x379)]}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x3d5)]]:(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5['ChartWaterfallStyleSection'],{'defaultValues':_0x29f84a[_0x5e6a79(0x43b)],'NumberFormatField':_0xd438e5[_0x5e6a79(0x459)],'selectedSeriesId':(_0x3cf03b=_0x804340['route'])==null?void 0x0:_0x3cf03b[_0x5e6a79(0x151)]}),[_0xd438e5[_0x5e6a79(0x2b8)]['ParetoBarSeries']]:(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x197)],{'defaultValues':_0x29f84a[_0x5e6a79(0x39a)],'NumberFormatField':_0xd438e5['ChartNumberFormatTextField'],'showDataPointEditor':!0x0,'target':_0x5e6a79(0x395)}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x296)]]:(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x197)],{'defaultValues':_0x29f84a[_0x5e6a79(0x39a)],'NumberFormatField':_0xd438e5[_0x5e6a79(0x459)],'showDataPointEditor':!0x0,'target':_0x5e6a79(0x44c)}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x18c)]]:(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x181)],{'defaultValues':_0x29f84a[_0x5e6a79(0x233)],'NumberFormatField':_0xd438e5['ChartNumberFormatTextField']}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x43a)]]:(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x3f4)],{'defaultValues':_0x29f84a['funnel'],'gapControl':_0x5e6a79(0x3be)}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x3a6)]]:(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x5e6a79(0x30c)],{'defaultValues':_0x29f84a[_0x5e6a79(0x33f)]}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x160)]]:(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5['ChartRelationStyleSection'],{'defaultValues':_0x29f84a[_0x5e6a79(0x1f2)]}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x3fa)]]:(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x5e6a79(0x1f0)],{'defaultValues':_0x29f84a[_0x5e6a79(0x27a)],'children':(0x0,_0x1b4b54[_0x5e6a79(0x196)])(_0x5e6a79(0x2bb),{'className':_0x5e6a79(0x3b6),'children':[(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x200)],{}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5['ChartLegendWrapField'],{}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x1bf)],{}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x3c7)],{})]})}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x3a8)]]:(0x0,_0x1b4b54['jsx'])(_0x3ff106,{'axis':'x'}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x1de)]]:(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0x3ff106,{'axis':'y'}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x1ed)]]:(0x0,_0x1b4b54['jsx'])(_0x3ff106,{'axis':_0x5e6a79(0x253)}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x444)]]:(0x0,_0x1b4b54['jsxs'])(_0x5e6a79(0x2bb),{'className':_0x5e6a79(0x3c8),'children':[(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x5e6a79(0x43c)],{'axis':'x','defaultValues':_0x29f84a[_0x5e6a79(0x443)],'label':_0x588d75['t'](_0x5e6a79(0x3d7))}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x43c)],{'axis':'y','defaultValues':_0x29f84a[_0x5e6a79(0x443)],'label':_0x588d75['t'](_0x5e6a79(0x369))}),(0x0,_0x1b4b54[_0x5e6a79(0x196)])('div',{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':[(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x270)],{'axis':'x','defaultValues':_0x29f84a[_0x5e6a79(0x443)]}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5['ChartGridlineWidthField'],{'axis':'y','defaultValues':_0x29f84a[_0x5e6a79(0x443)]})]})]}),[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x3aa)]]:(0x0,_0x1b4b54['jsxs'])('div',{'className':_0x5e6a79(0x3c8),'children':[(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x328)],{'defaultValues':_0x29f84a[_0x5e6a79(0x2c3)]}),(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x2ec)],{'defaultValues':_0x29f84a[_0x5e6a79(0x2c3)]})]}),[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x1ab)]]:_0x2541d4,[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x375)]]:_0x2541d4,[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x3cf)]]:_0x2541d4,[_0xd438e5[_0x5e6a79(0x2b8)][_0x5e6a79(0x406)]]:_0x2541d4,[_0xd438e5['ChartEditPanelSection'][_0x5e6a79(0x241)]]:_0x2541d4,[_0xd438e5[_0x5e6a79(0x2b8)]['Chord']]:_0x2541d4};return(0x0,_0x1b4b54[_0x5e6a79(0x40c)])(_0xd438e5[_0x5e6a79(0x3c0)],{'value':_0x1c4c08,'onChange':_0x25bc8a,'children':_0x18a387(_0x3ef4cc,_0x4c84e1)[_0x5e6a79(0x24d)](_0x232363=>(0x0,_0x1b4b54['jsx'])(_0x43a8ed,{'id':_0x232363,'label':_0x29f9a0[_0x232363],'children':_0x5c1aa5[_0x232363]},_0x232363))});}function _0x1890ad(_0x5908c5){const _0x306dde=_0x3356d1;var _0x2b8f3c;let _0x12f73c=(0x0,_0x723a79['useDependency'])(_0x1261b8['LocaleService']),[_0x4b6b4d,_0x3fbc2f]=(0x0,_0x435e09[_0x306dde(0x3c2)])(((_0x2b8f3c=_0x5908c5[_0x306dde(0x309)])==null?void 0x0:_0x2b8f3c[_0x306dde(0x34f)])??_0xd438e5['ChartEditPanelTab'][_0x306dde(0x2b2)]),_0x4f8d55=(0x0,_0x435e09[_0x306dde(0x273)])(()=>(0x0,_0xd438e5[_0x306dde(0x162)])(_0xd438e5['CHART_TYPE_CATALOG'][_0x306dde(0x24d)](_0x50e94b=>({..._0x50e94b,'label':_0x12f73c['t']('docs-chart-ui.chartTypes.'+_0x50e94b[_0x306dde(0x2c5)])}))),[_0x12f73c]);return(0x0,_0x435e09[_0x306dde(0x430)])(()=>{const _0x274e60=_0x306dde;var _0x5d92c2;(_0x5d92c2=_0x5908c5[_0x274e60(0x309)])!=null&&_0x5d92c2[_0x274e60(0x34f)]&&_0x3fbc2f(_0x5908c5[_0x274e60(0x309)]['tab']);},[_0x5908c5['initialRoute']]),(0x0,_0x1b4b54[_0x306dde(0x196)])(_0x306dde(0x2bb),{'className':'univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','children':[(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0xd438e5[_0x306dde(0x1eb)],{'ariaLabel':_0x12f73c['t'](_0x306dde(0x435)),'className':'univer-shrink-0\x20univer-px-3','items':[{'label':_0x12f73c['t']('docs-chart-ui.common.setup'),'panelId':_0x36d573,'value':_0xd438e5[_0x306dde(0x376)][_0x306dde(0x2b2)]},{'label':_0x12f73c['t'](_0x306dde(0x396)),'panelId':_0x490935,'value':_0xd438e5[_0x306dde(0x376)][_0x306dde(0x362)]}],'value':_0x4b6b4d,'onChange':_0x3fbc2f}),_0x4b6b4d===_0xd438e5[_0x306dde(0x376)][_0x306dde(0x2b2)]?(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0xd438e5[_0x306dde(0x1ff)],{'id':_0x36d573,'label':_0x12f73c['t'](_0x306dde(0x2aa)),'children':(0x0,_0x1b4b54[_0x306dde(0x196)])(_0x306dde(0x2bb),{'className':_0x306dde(0x288),'children':[(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0xd438e5[_0x306dde(0x43d)],{'options':_0x4f8d55,'onChange':_0x5908c5[_0x306dde(0x182)]}),(0x0,_0x1b4b54['jsx'])(_0xd438e5['ChartTypeSpecificSetupSection'],{}),(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0xd438e5[_0x306dde(0x1e8)],{}),(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0x34befc,{}),(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x306dde(0x3b0)],{}),(0x0,_0x1b4b54[_0x306dde(0x196)])(_0x306dde(0x2bb),{'children':[(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0xd438e5[_0x306dde(0x276)],{'title':_0x12f73c['t'](_0x306dde(0x441))}),(0x0,_0x1b4b54['jsx'])(_0x5e2ef6['Button'],{'className':_0x306dde(0x2a6),'onClick':_0x5908c5[_0x306dde(0x3c4)],'children':_0x12f73c['t'](_0x306dde(0x41a))})]}),(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0xd438e5['ChartCommonDataMappingSection'],{}),(0x0,_0x1b4b54['jsx'])(_0xd438e5[_0x306dde(0x2b3)],{}),(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0xd438e5['ChartWaterfallSetupFields'],{'defaultValues':_0x29f84a[_0x306dde(0x24e)]})]})}):(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0xd438e5['ChartEditPanel'],{'id':_0x490935,'label':_0x12f73c['t'](_0x306dde(0x396)),'children':(0x0,_0x1b4b54['jsx'])(_0x4b9c19,{'route':_0x5908c5['initialRoute']})}),_0x5908c5['onClose']&&(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0x306dde(0x2bb),{'className':_0x306dde(0x41e),'children':(0x0,_0x1b4b54[_0x306dde(0x40c)])(_0x5e2ef6[_0x306dde(0x353)],{'type':_0x306dde(0x237),'variant':_0x306dde(0x283),'onClick':_0x5908c5[_0x306dde(0x31f)],'children':_0x12f73c['t'](_0x306dde(0x1a7))})})]});}let _0x36d573='doc-chart-setup-panel',_0x490935=_0x3356d1(0x38a);function _0x581773(_0x4c3c9b){'@babel/helpers - typeof';const _0x5de91b=_0x3356d1;return _0x581773=typeof Symbol=='function'&&typeof Symbol[_0x5de91b(0x287)]==_0x5de91b(0x179)?function(_0x34c4bf){return typeof _0x34c4bf;}:function(_0x3df673){const _0x3418be=_0x5de91b;return _0x3df673&&typeof Symbol==_0x3418be(0x2c1)&&_0x3df673['constructor']===Symbol&&_0x3df673!==Symbol['prototype']?_0x3418be(0x179):typeof _0x3df673;},_0x581773(_0x4c3c9b);}function _0x4df39c(_0x4b35ff,_0x6d5a8a){const _0x51be83=_0x3356d1;if(_0x581773(_0x4b35ff)!=_0x51be83(0x331)||!_0x4b35ff)return _0x4b35ff;var _0xe32128=_0x4b35ff[Symbol[_0x51be83(0x19e)]];if(_0xe32128!==void 0x0){var _0x26d578=_0xe32128[_0x51be83(0x350)](_0x4b35ff,_0x6d5a8a||_0x51be83(0x283));if(_0x581773(_0x26d578)!=_0x51be83(0x331))return _0x26d578;throw TypeError(_0x51be83(0x42c));}return(_0x6d5a8a===_0x51be83(0x334)?String:Number)(_0x4b35ff);}function _0x29de7b(_0xed18f3){const _0x53a2a3=_0x3356d1;var _0x11504f=_0x4df39c(_0xed18f3,_0x53a2a3(0x334));return _0x581773(_0x11504f)=='symbol'?_0x11504f:_0x11504f+'';}function _0x22c1d5(_0x51ae1e,_0xe0609b,_0x1737ea){const _0x2f6349=_0x3356d1;return(_0xe0609b=_0x29de7b(_0xe0609b))in _0x51ae1e?Object[_0x2f6349(0x17d)](_0x51ae1e,_0xe0609b,{'value':_0x1737ea,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x51ae1e[_0xe0609b]=_0x1737ea,_0x51ae1e;}var _0x56181a=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x40fd2c,_0x4fe0c4,_0x55d692,_0x565b3f,_0x25691d=!0x0,_0x52e75b){const _0x508e6f=_0x3356d1;super(),this[_0x508e6f(0x1ba)]=_0x40fd2c,this['_host']=_0x4fe0c4,this['_applyHostStyle']=_0x55d692,this[_0x508e6f(0x40a)]=_0x565b3f,this[_0x508e6f(0x20e)]=_0x25691d,this[_0x508e6f(0x2e6)]=_0x52e75b,_0x22c1d5(this,_0x508e6f(0x437),_0x4a61ce[_0x508e6f(0x193)]['Dom']),_0x22c1d5(this,'_frameNode',null),_0x22c1d5(this,_0x508e6f(0x2ea),null),_0x22c1d5(this,_0x508e6f(0x202),{});}['getRect'](){const _0x10a6a6=_0x3356d1;var _0x28636c;let _0x29689e=(_0x28636c=this['_getRenderRect'])==null?void 0x0:_0x28636c[_0x10a6a6(0x350)](this);if(_0x29689e)return{'width':Math['max'](0x1,_0x29689e[_0x10a6a6(0x15f)]),'height':Math['max'](0x1,_0x29689e[_0x10a6a6(0x1bb)])};let _0x187b82=this[_0x10a6a6(0x3bc)][_0x10a6a6(0x1e3)]();return{'width':Math['max'](0x1,_0x187b82[_0x10a6a6(0x15f)]),'height':Math[_0x10a6a6(0x17b)](0x1,_0x187b82[_0x10a6a6(0x1bb)])};}[_0x3356d1(0x204)](_0x354db2){const _0x13e684=_0x3356d1;this[_0x13e684(0x202)]=_0x354db2,this[_0x13e684(0x313)]&&this[_0x13e684(0x22d)](this[_0x13e684(0x313)],_0x354db2);}async['ensureMount'](){const _0x1f76fe=_0x3356d1;if(!this[_0x1f76fe(0x2ea)]){let _0x44ff15=document[_0x1f76fe(0x33a)]('div');_0x44ff15[_0x1f76fe(0x218)][_0x1f76fe(0x1e1)]='absolute',_0x44ff15['style'][_0x1f76fe(0x378)]='0',_0x44ff15[_0x1f76fe(0x218)][_0x1f76fe(0x390)]='0';let _0xee1613=document[_0x1f76fe(0x33a)](_0x1f76fe(0x2bb));_0xee1613[_0x1f76fe(0x218)][_0x1f76fe(0x1e1)]=_0x1f76fe(0x24b),_0xee1613[_0x1f76fe(0x218)][_0x1f76fe(0x27d)]='0',_0xee1613[_0x1f76fe(0x218)][_0x1f76fe(0x239)]=_0x1f76fe(0x260),_0xee1613[_0x1f76fe(0x218)]['overflow']=_0x1f76fe(0x43f),_0xee1613[_0x1f76fe(0x272)]=_0x1f76fe(0x1c0),_0x44ff15['appendChild'](_0xee1613),this['_host'][_0x1f76fe(0x414)](_0x44ff15),this[_0x1f76fe(0x313)]=_0x44ff15,this[_0x1f76fe(0x2ea)]=_0xee1613,this[_0x1f76fe(0x22d)](_0x44ff15,this[_0x1f76fe(0x202)]);}return this[_0x1f76fe(0x297)](),this[_0x1f76fe(0x2ea)];}[_0x3356d1(0x37c)](){const _0x28526f=_0x3356d1;return!!(this[_0x28526f(0x2ea)]&&this[_0x28526f(0x3bc)]['contains'](this['_mountNode']));}[_0x3356d1(0x297)](){const _0x48e9c8=_0x3356d1;var _0x31b2b2;let _0x1ce03c=this['getRect'](),_0xb70762=(_0x31b2b2=this[_0x48e9c8(0x2e6)])==null?void 0x0:_0x31b2b2[_0x48e9c8(0x350)](this),_0x402581=(_0xb70762==null?void 0x0:_0xb70762['scaleX'])??0x1,_0x5c19f5=(_0xb70762==null?void 0x0:_0xb70762[_0x48e9c8(0x2f6)])??0x1;this[_0x48e9c8(0x20e)]&&this['_setElementSize'](this['_host'],{'width':_0x1ce03c[_0x48e9c8(0x15f)]*_0x402581,'height':_0x1ce03c['height']*_0x5c19f5}),this[_0x48e9c8(0x313)]&&(this[_0x48e9c8(0x367)](this[_0x48e9c8(0x313)],_0x1ce03c),this[_0x48e9c8(0x2e6)]&&(this[_0x48e9c8(0x313)][_0x48e9c8(0x218)]['transform']=_0x48e9c8(0x33b)+_0x402581+',\x20'+_0x5c19f5+')',this[_0x48e9c8(0x313)][_0x48e9c8(0x218)]['transformOrigin']=_0x48e9c8(0x148))),this[_0x48e9c8(0x2ea)]&&this[_0x48e9c8(0x367)](this['_mountNode'],this['_getContentRect'](_0x1ce03c));}['markReady'](){}[_0x3356d1(0x3e6)](){}[_0x3356d1(0x22c)](){const _0x4a9e5d=_0x3356d1;var _0x1b04ee;(_0x1b04ee=this[_0x4a9e5d(0x313)])==null||_0x1b04ee[_0x4a9e5d(0x345)](),this[_0x4a9e5d(0x313)]=null,this['_mountNode']=null,super['dispose']();}[_0x3356d1(0x367)](_0x949aff,_0x9ed1a1){const _0x135c09=_0x3356d1;_0x949aff[_0x135c09(0x218)][_0x135c09(0x15f)]=_0x9ed1a1['width']+'px',_0x949aff['style'][_0x135c09(0x1bb)]=_0x9ed1a1[_0x135c09(0x1bb)]+'px';}[_0x3356d1(0x1af)](_0x4bd425){const _0x494844=_0x3356d1;if(!(0x0,_0x4a61ce['shouldComposeChartHostFrame'])(this['_hostStyle']))return _0x4bd425;let _0x2a6033=(0x0,_0x4a61ce[_0x494844(0x2af)])(_0x4bd425,this[_0x494844(0x202)]);return{'width':_0x2a6033['width'],'height':_0x2a6033['height']};}};function _0x3b6a6a(_0x5150b4){const _0xbb7a8=_0x3356d1;var _0xb7592;let _0x2c6dd0=(_0xb7592=_0x5150b4['match'](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0xb7592[0x1];if(_0x2c6dd0){let _0x56e6b5=_0x2c6dd0['length']===0x3?_0x2c6dd0[_0xbb7a8(0x2fa)]('')['map'](_0xdc0af6=>''+_0xdc0af6+_0xdc0af6)[_0xbb7a8(0x246)](''):_0x2c6dd0;return'rgb('+Number[_0xbb7a8(0x3ad)](_0x56e6b5[_0xbb7a8(0x2d4)](0x0,0x2),0x10)+',\x20'+Number[_0xbb7a8(0x3ad)](_0x56e6b5[_0xbb7a8(0x2d4)](0x2,0x4),0x10)+',\x20'+Number[_0xbb7a8(0x3ad)](_0x56e6b5['slice'](0x4,0x6),0x10)+')';}let _0x1773f7=document[_0xbb7a8(0x33a)]('span');return _0x1773f7[_0xbb7a8(0x218)][_0xbb7a8(0x41f)]=_0x5150b4,_0x1773f7[_0xbb7a8(0x218)]['color']||_0x5150b4;}let _0x126265=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x3be370,_0x3f9d64,_0x22f6b8){const _0x31fdce=_0x3356d1;super(),this[_0x31fdce(0x265)]=_0x3be370,this['_chartThemeService']=_0x3f9d64,this[_0x31fdce(0x27b)]=_0x22f6b8;}[_0x3356d1(0x15d)](_0x5503a3){const _0x445862=_0x3356d1;return _0x5503a3?this[_0x445862(0x27b)]['createChartInstance'](_0x5503a3,this[_0x445862(0x355)]()):this[_0x445862(0x27b)][_0x445862(0x15d)]();}[_0x3356d1(0x221)](_0x3393c2){const _0x4ea5de=_0x3356d1;let _0x21bc65=_0x3393c2[_0x4ea5de(0x348)][_0x4ea5de(0x169)];if(!_0x21bc65)throw Error(_0x4ea5de(0x359)+_0x3393c2[_0x4ea5de(0x1ba)]+_0x4ea5de(0x36e));let _0x4a1cfb=this['_localeService'][_0x4ea5de(0x19a)]();return{'chartConfig':_0x21bc65,'chartStyle':(0x0,_0x4a61ce[_0x4ea5de(0x271)])({..._0x3393c2[_0x4ea5de(0x348)]['style'],'runtime':_0x3393c2['model'][_0x4ea5de(0x2e4)](_0x4a1cfb),'direction':_0x4a1cfb},_0x21bc65[_0x4ea5de(0x1f6)])};}['createRenderSpec'](_0xbfb7b2,_0x553848,_0x52d9a1){const _0x339193=_0x3356d1;let {chartConfig:_0x513c26,chartStyle:_0x5dadab}=this[_0x339193(0x221)](_0xbfb7b2),_0x30b97c=this[_0x339193(0x27b)][_0x339193(0x27f)]();return{'spec':_0x30b97c[_0x339193(0x454)](_0x30b97c[_0x339193(0x422)](_0x513c26,_0x5dadab),{'chartConfig':_0x513c26,'chartStyle':_0x5dadab,'chartInstance':_0x52d9a1},_0x553848),'chartConfig':_0x513c26,'chartStyle':_0x5dadab,'hostStyle':this[_0x339193(0x3ec)](_0x5dadab)};}[_0x3356d1(0x3ec)](_0x14b190){const _0x326256=_0x3356d1;return(0x0,_0x4a61ce[_0x326256(0x2e9)])({'style':_0x14b190,'getRenderColor':_0x1fdc0b=>this[_0x326256(0x32d)]['getRenderColor'](_0x1fdc0b)});}['applyHostStyle'](_0x4af857,_0x14cc0d){const _0x4efb3b=_0x3356d1;var _0x276be0;let _0x3523b2=(_0x276be0=_0x14cc0d['border'])!=null&&_0x276be0['color']&&_0x14cc0d[_0x4efb3b(0x27d)]['width']?_0x14cc0d[_0x4efb3b(0x27d)][_0x4efb3b(0x15f)]+_0x4efb3b(0x17e)+_0x3b6a6a(_0x14cc0d[_0x4efb3b(0x27d)][_0x4efb3b(0x41f)]):'';_0x4af857['style'][_0x4efb3b(0x27d)]=_0x3523b2,_0x4af857[_0x4efb3b(0x218)][_0x4efb3b(0x1c5)]=_0x14cc0d['fill']?_0x3b6a6a(_0x14cc0d[_0x4efb3b(0x30d)]):'transparent',_0x4af857[_0x4efb3b(0x218)][_0x4efb3b(0x170)]=_0x14cc0d[_0x4efb3b(0x1f5)]?_0x14cc0d[_0x4efb3b(0x1f5)]+'px':'',_0x4af857[_0x4efb3b(0x218)][_0x4efb3b(0x1ac)]=_0x4efb3b(0x43f),_0x4af857['style'][_0x4efb3b(0x239)]=_0x4efb3b(0x432);}['_createChartRenderInstanceContext'](){const _0x3e4304=_0x3356d1;return{'resolveHostStyle':({style:_0x423605})=>this[_0x3e4304(0x3ec)](_0x423605),'resolveRenderBackgroundColor':({hostStyle:_0x11fffb})=>_0x11fffb['fill'],'prepareSpec':({mode:_0x59bc7d,spec:_0x22c3cb})=>_0x59bc7d===_0x3e4304(0x456)?{..._0x22c3cb,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x22c3cb};}['dispose'](){const _0x10553f=_0x3356d1;super[_0x10553f(0x22c)]();}};_0x126265=_0x1a5efb([_0x254d85(0x0,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x1261b8['LocaleService'])),_0x254d85(0x1,(0x0,_0x1261b8['Inject'])(_0x4a61ce[_0x3356d1(0x18f)])),_0x254d85(0x2,_0x4a61ce[_0x3356d1(0x1a6)])],_0x126265);function _0x1ffe62(_0x4c4848,_0x4479f7,_0xbc8c1c,_0x2639e8,_0x3ff0d6,_0x304e60,_0x3fd352){const _0x159b94=_0x3356d1;let {model:_0x26a1c6,source:_0x53bda7}=(0x0,_0x4a61ce[_0x159b94(0x2ed)])({'id':_0x4c4848,'chartType':_0xbc8c1c,'dataSet':(0x0,_0x4a61ce[_0x159b94(0x2fd)])((0x0,_0xd438e5[_0x159b94(0x1ad)])(_0x4479f7)),'isRowDirection':(_0x2639e8==null?void 0x0:_0x2639e8[_0x159b94(0x324)])!==_0x159b94(0x3fc),'context':_0x2639e8==null?void 0x0:_0x2639e8[_0x159b94(0x251)],'dataAggregation':_0x3ff0d6,'style':_0x304e60,'injector':_0x3fd352});return{'unitId':_0x159b94(0x31b),'chartId':_0x4c4848,'dataSourceId':_0x4c4848+_0x159b94(0x323),'model':_0x26a1c6,'source':_0x53bda7};}function _0x4ecb1f(_0x55011a){const _0x1336a4=_0x3356d1;let _0x428569=(0x0,_0x723a79[_0x1336a4(0x341)])(_0x1261b8[_0x1336a4(0x311)]),_0xd38a69=(0x0,_0x723a79[_0x1336a4(0x341)])(_0x1261b8[_0x1336a4(0x1b6)]),_0x138119=(0x0,_0x723a79[_0x1336a4(0x341)])(_0x126265),_0x5663ae=(0x0,_0x435e09[_0x1336a4(0x1d6)])(null),_0x439a8f=(0x0,_0x435e09[_0x1336a4(0x1d6)])(null),_0x2dcb13=(0x0,_0x435e09[_0x1336a4(0x1d6)])(_0x1336a4(0x299)+(0x0,_0x1261b8[_0x1336a4(0x201)])(0x8)),[_0x522494,_0x5930ef]=(0x0,_0x435e09[_0x1336a4(0x3c2)])(null);return(0x0,_0x435e09[_0x1336a4(0x430)])(()=>{const _0x17cdba=_0x1336a4;let _0xe4a64c=_0x5663ae[_0x17cdba(0x215)];if(!_0xe4a64c)return;_0x5930ef(null),_0xe4a64c['replaceChildren'](),_0x439a8f[_0x17cdba(0x215)]=_0x10c271(_0xe4a64c);let _0x4f7e9d=!0x1,_0x2405f4=_0x3b4699=>{_0x4f7e9d||_0x5930ef(_0x3b4699);},_0x57a656=null,_0x4b2e59=null,_0x4f3423=null;try{_0x57a656=_0x1ffe62(_0x2dcb13['current'],_0x55011a[_0x17cdba(0x42b)],_0x55011a[_0x17cdba(0x434)],_0x55011a[_0x17cdba(0x28b)],_0x55011a[_0x17cdba(0x3ef)],_0x55011a[_0x17cdba(0x218)],_0xd38a69),_0x4b2e59=new _0x56181a(_0x57a656[_0x17cdba(0x1ba)],_0xe4a64c,(_0x11d4f5,_0xeccf87)=>_0x138119[_0x17cdba(0x3f3)](_0x11d4f5,_0xeccf87),()=>_0x439a8f[_0x17cdba(0x215)]??_0x10c271(_0xe4a64c),!0x1),_0x4f3423=_0x138119[_0x17cdba(0x15d)](_0x4a61ce[_0x17cdba(0x193)][_0x17cdba(0x2b1)]),_0x4f3423['bind'](_0x4b2e59);}catch(_0x4bda86){return _0x2405f4(_0x4bda86),()=>{const _0x41beac=_0x17cdba;_0x4f7e9d=!0x0,_0xe4a64c[_0x41beac(0x305)]();};}if(!_0x57a656||!_0x4b2e59||!_0x4f3423)return()=>{const _0x5cf993=_0x17cdba;_0x4f7e9d=!0x0,_0xe4a64c[_0x5cf993(0x305)]();};let _0x5b2dcc=_0x57a656,_0x5284a6=_0x4b2e59,_0x2d8723=_0x4f3423,_0x48e017=()=>{const _0x330373=_0x17cdba;let _0x495a89,_0x1b5bd5;try{({chartConfig:_0x495a89,chartStyle:_0x1b5bd5}=_0x138119[_0x330373(0x221)](_0x5b2dcc));}catch(_0x285276){_0x2405f4(_0x285276);return;}_0x2d8723[_0x330373(0x40d)]({'chartId':_0x5b2dcc['chartId'],'config':_0x495a89,'style':_0x1b5bd5})[_0x330373(0x3f6)](()=>{_0x4f7e9d||_0x5930ef(null);})['catch'](_0x2405f4);},_0xe95d63=_0x5b2dcc[_0x17cdba(0x348)]['config$']['subscribe'](_0x12e2e0=>{_0x12e2e0&&_0x48e017();}),_0xb6cb23=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x23c4d6=>{const _0xc959d6=_0x17cdba;var _0x3cc5cc;let _0x496cc9=(_0x3cc5cc=_0x23c4d6[0x0])==null?void 0x0:_0x3cc5cc[_0xc959d6(0x1b2)];_0x439a8f['current']=_0x496cc9&&_0x496cc9[_0xc959d6(0x15f)]>0x0&&_0x496cc9['height']>0x0?{'width':_0x496cc9[_0xc959d6(0x15f)],'height':_0x496cc9[_0xc959d6(0x1bb)]}:_0x10c271(_0xe4a64c),_0x48e017();});return _0xb6cb23==null||_0xb6cb23['observe'](_0xe4a64c),()=>{const _0x38757e=_0x17cdba;_0x4f7e9d=!0x0,_0xe95d63['unsubscribe'](),_0xb6cb23==null||_0xb6cb23[_0x38757e(0x394)](),_0x2d8723[_0x38757e(0x22c)](),_0x5284a6[_0x38757e(0x22c)](),_0x5b2dcc[_0x38757e(0x348)][_0x38757e(0x22c)](),_0x5b2dcc[_0x38757e(0x3bf)]['dispose'](),_0xe4a64c[_0x38757e(0x305)]();};},[_0xd38a69,_0x55011a[_0x1336a4(0x434)],_0x55011a[_0x1336a4(0x28b)],_0x55011a[_0x1336a4(0x3ef)],_0x55011a['style'],_0x55011a[_0x1336a4(0x42b)],_0x138119]),(0x0,_0x1b4b54[_0x1336a4(0x196)])(_0x1336a4(0x2bb),{'className':_0x1336a4(0x38e),'children':[(0x0,_0x1b4b54[_0x1336a4(0x40c)])(_0x1336a4(0x2bb),{'ref':_0x5663ae,'className':'univer-absolute\x20univer-inset-0\x20univer-min-h-0\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg'}),_0x522494!=null&&(0x0,_0x1b4b54[_0x1336a4(0x40c)])(_0x1336a4(0x2bb),{'className':_0x1336a4(0x1d0),'children':_0x428569['t'](_0x1336a4(0x428))})]});}function _0x10c271(_0x587ee0){const _0x209cd1=_0x3356d1;let _0x58fd12=_0x587ee0['getBoundingClientRect']();return _0x58fd12[_0x209cd1(0x15f)]<=0x0||_0x58fd12[_0x209cd1(0x1bb)]<=0x0?null:{'width':_0x58fd12[_0x209cd1(0x15f)],'height':_0x58fd12[_0x209cd1(0x1bb)]};}let _0x13ba87=_0x3356d1(0x388),_0x26f886='doc-chart.dialog.editor';function _0x501ade(_0x1d6f6d){const _0x285e62=_0x3356d1;var _0x2ff00c;let {unitId:_0x491f43,chartId:_0x234555,drawingId:_0x5ca686}=_0x1d6f6d,_0x190c1d=(0x0,_0x723a79[_0x285e62(0x341)])(_0x1261b8[_0x285e62(0x311)]),_0x5b77aa=(0x0,_0x723a79[_0x285e62(0x341)])(_0x1261b8[_0x285e62(0x1b6)]),_0xf75078=(0x0,_0x723a79[_0x285e62(0x341)])(_0x1261b8['IUniverInstanceService']),_0x3d2de9=(0x0,_0x723a79[_0x285e62(0x341)])(_0x4a61ce[_0x285e62(0x40f)]),_0x100321=(0x0,_0x723a79[_0x285e62(0x341)])(_0x5f1990[_0x285e62(0x236)]),_0x128eef=(0x0,_0x723a79[_0x285e62(0x341)])(_0x24fb23),_0x69f8aa=(0x0,_0x723a79[_0x285e62(0x341)])(_0x49e08a),_0x5a1541=(0x0,_0x435e09[_0x285e62(0x273)])(()=>_0x128eef[_0x285e62(0x34d)](_0x491f43,_0x234555),[_0x234555,_0x128eef,_0x491f43]),_0xc7a41=_0x3d2de9[_0x285e62(0x41b)](_0x491f43,_0x234555),_0x57307d=(0x0,_0x435e09[_0x285e62(0x273)])(()=>_0x100321==null?void 0x0:_0x100321[_0x285e62(0x34a)](_0x491f43,_0x234555),[_0x234555,_0x100321,_0x491f43]),_0x39aa21=(0x0,_0x723a79[_0x285e62(0x2dc)])(_0x57307d==null?void 0x0:_0x57307d[_0x285e62(0x348)]['chartType$'],(_0x57307d==null?void 0x0:_0x57307d[_0x285e62(0x348)]['chartType'])??(_0xc7a41==null?void 0x0:_0xc7a41['chartType'])),_0x1c731f=(0x0,_0x723a79['useObservable'])(_0x57307d==null?void 0x0:_0x57307d[_0x285e62(0x348)][_0x285e62(0x322)],(_0x57307d==null?void 0x0:_0x57307d['model'][_0x285e62(0x28b)])??(_0xc7a41==null||(_0x2ff00c=_0xc7a41[_0x285e62(0x28b)])==null?void 0x0:_0x2ff00c[_0x285e62(0x251)])),_0x539717=(0x0,_0x723a79[_0x285e62(0x2dc)])(_0x57307d==null?void 0x0:_0x57307d[_0x285e62(0x348)][_0x285e62(0x32c)],(_0x57307d==null?void 0x0:_0x57307d[_0x285e62(0x348)][_0x285e62(0x3ef)])??(_0xc7a41==null?void 0x0:_0xc7a41[_0x285e62(0x3ef)])),_0x377aee=(0x0,_0x723a79['useObservable'])(_0x57307d==null?void 0x0:_0x57307d['model'][_0x285e62(0x210)],(_0x57307d==null?void 0x0:_0x57307d[_0x285e62(0x348)]['style'])??(_0xc7a41==null?void 0x0:_0xc7a41[_0x285e62(0x218)])),_0x28d859=(0x0,_0x435e09['useMemo'])(()=>({..._0xc7a41==null?void 0x0:_0xc7a41[_0x285e62(0x28b)],'chartContext':_0x1c731f}),[_0xc7a41==null?void 0x0:_0xc7a41[_0x285e62(0x28b)],_0x1c731f]),[_0x18565a,_0xc4e4c9]=(0x0,_0x435e09[_0x285e62(0x3c2)])(_0x5a1541),[_0x448dca,_0x57fc94]=(0x0,_0x435e09[_0x285e62(0x3c2)])(()=>(_0x5a1541==null?void 0x0:_0x5a1541[_0x285e62(0x42b)]['map'](_0x4f909c=>[..._0x4f909c]))??[]),[_0x593166,_0xa7142a]=(0x0,_0x435e09[_0x285e62(0x3c2)])(()=>(_0x5a1541==null?void 0x0:_0x5a1541[_0x285e62(0x42b)]['map'](_0xb24897=>[..._0xb24897]))??[]),[_0x45a889,_0x529d97]=(0x0,_0x435e09[_0x285e62(0x3c2)])(()=>_0xc7a41==null?void 0x0:_0xc7a41[_0x285e62(0x434)]),[_0x398ab5,_0x88f923]=(0x0,_0x435e09[_0x285e62(0x3c2)])(()=>{const _0x2d2fa3=_0x285e62;var _0x265a28;return((_0x265a28=_0x1d6f6d['route'])==null?void 0x0:_0x265a28[_0x2d2fa3(0x34f)])===_0xd438e5[_0x2d2fa3(0x376)][_0x2d2fa3(0x2b2)]?_0x2d2fa3(0x20c):'chart';}),[_0x54a1de,_0x50c81d]=(0x0,_0x435e09[_0x285e62(0x3c2)])(null),_0x408c63=(0x0,_0x435e09[_0x285e62(0x273)])(()=>{const _0x5141b9=_0x285e62;var _0x16ee24;let _0x1522ba=_0xf75078['getUnit'](_0x491f43,_0x1261b8[_0x5141b9(0x1ce)]['UNIVER_DOC']);if(!_0x57307d||!_0x1522ba)return null;let _0x4fc31d=_0x5ca686??((_0x16ee24=Object[_0x5141b9(0x42b)](_0x1522ba[_0x5141b9(0x3a4)]()??{})['find'](_0x394312=>_0x394312[_0x5141b9(0x1ba)]===_0x234555))==null?void 0x0:_0x16ee24[_0x5141b9(0x38c)]);return _0x4fc31d?new _0xd438e5['ChartHostAdapter'](_0x57307d['model'],new _0x5f1990['DocumentChartConfigAdapter']({'unitId':_0x491f43,'chartId':_0x234555,'drawingId':_0x4fc31d,'documentDataModel':_0x1522ba,'injector':_0x5b77aa})):null;},[_0x234555,_0x5ca686,_0x5b77aa,_0x57307d,_0x491f43,_0xf75078]);return!_0x18565a||!_0xc7a41?(0x0,_0x1b4b54['jsx'])(_0x285e62(0x2bb),{'className':_0x285e62(0x23b),'children':_0x190c1d['t'](_0x285e62(0x439))}):(0x0,_0x1b4b54[_0x285e62(0x196)])(_0x285e62(0x2bb),{'className':'univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-flex-col\x20univer-overflow-hidden\x20univer-overscroll-contain','style':{'height':_0x285e62(0x3a7)},'children':[(0x0,_0x1b4b54[_0x285e62(0x40c)])(_0xd438e5[_0x285e62(0x1eb)],{'ariaLabel':_0x190c1d['t'](_0x285e62(0x435)),'className':'univer-shrink-0','value':_0x398ab5,'items':[{'label':_0x190c1d['t'](_0x285e62(0x3db)),'panelId':_0x2f8e01,'value':_0x285e62(0x240)},{'label':_0x190c1d['t'](_0x285e62(0x441)),'panelId':_0x40b391,'value':'data'}],'variant':_0x285e62(0x1c8),'onChange':_0x88f923}),(0x0,_0x1b4b54[_0x285e62(0x196)])(_0x285e62(0x2bb),{'id':_0x398ab5===_0x285e62(0x20c)?_0x40b391:_0x2f8e01,'aria-labelledby':(_0x398ab5===_0x285e62(0x20c)?_0x40b391:_0x2f8e01)+'-tab','className':_0x285e62(0x325),'role':_0x285e62(0x1a1),'children':[_0x398ab5===_0x285e62(0x20c)?(0x0,_0x1b4b54[_0x285e62(0x40c)])(_0x2f7b95,{'values':_0x448dca,'dataSource':_0x18565a[_0x285e62(0x24c)],'sharingCount':_0x18565a[_0x285e62(0x42f)],'onCancel':()=>_0x88f923(_0x285e62(0x240)),'onSubmit':(_0x18d858,_0x24797f)=>{const _0x43c92c=_0x285e62;if(!_0x128eef['updateData'](_0x491f43,_0x234555,_0x18d858,_0x24797f)){_0x50c81d(_0x190c1d['t'](_0x43c92c(0x19f)));return;}_0x50c81d(null);let _0x512ebe=_0x128eef[_0x43c92c(0x34d)](_0x491f43,_0x234555);_0xc4e4c9(_0x512ebe??_0x18565a),_0x57fc94((_0x512ebe==null?void 0x0:_0x512ebe['values'])??_0x18d858),_0xa7142a((_0x512ebe==null?void 0x0:_0x512ebe[_0x43c92c(0x42b)])??_0x18d858),_0x88f923(_0x43c92c(0x240));},'onDataSourceSubmit':_0x528020=>{const _0x4970a5=_0x285e62;if(!_0x128eef[_0x4970a5(0x20f)](_0x491f43,_0x234555,_0x528020)){_0x50c81d(_0x190c1d['t'](_0x4970a5(0x19f)));return;}_0x50c81d(null),_0xc4e4c9(_0x128eef['getEditorState'](_0x491f43,_0x234555)??_0x18565a),_0x88f923('chart');}}):(0x0,_0x1b4b54[_0x285e62(0x196)])(_0x285e62(0x2bb),{'className':_0x285e62(0x452),'children':[(0x0,_0x1b4b54['jsx'])(_0x285e62(0x2bb),{'className':'univer-min-h-0\x20univer-min-w-0\x20univer-flex-1\x20univer-overflow-hidden','children':(0x0,_0x1b4b54['jsx'])(_0x4ecb1f,{'values':_0x593166,'chartType':_0x39aa21??_0x45a889??_0xc7a41[_0x285e62(0x434)],'context':_0x28d859,'dataAggregation':_0x539717,'style':_0x377aee})}),(0x0,_0x1b4b54[_0x285e62(0x196)])(_0x285e62(0x2bb),{'className':'univer-flex\x20univer-min-h-0\x20univer-w-[388px]\x20univer-shrink-0\x20univer-flex-col\x20univer-gap-4\x20univer-overflow-hidden\x20univer-overscroll-contain','children':[(0x0,_0x1b4b54['jsx'])(_0x285e62(0x2bb),{'className':_0x285e62(0x152),'children':_0x408c63?(0x0,_0x1b4b54['jsx'])(_0xd438e5['ChartEditorProvider'],{'chartUIService':_0x69f8aa,'hostAdapter':_0x408c63,'children':(0x0,_0x1b4b54['jsx'])(_0x1890ad,{'initialRoute':_0x1d6f6d['route'],'onClose':_0x1d6f6d[_0x285e62(0x31f)],'onPreviewChartTypeChange':_0x529d97,'onModifyData':()=>_0x88f923('data')})}):(0x0,_0x1b4b54[_0x285e62(0x40c)])(_0x285e62(0x2bb),{'className':_0x285e62(0x23b),'children':_0x190c1d['t']('docs-chart-ui.chartNotFound')})}),_0x54a1de&&(0x0,_0x1b4b54['jsx'])(_0x285e62(0x2bb),{'className':_0x285e62(0x1fb),'children':_0x54a1de})]})]}),_0x398ab5===_0x285e62(0x20c)&&_0x54a1de&&(0x0,_0x1b4b54[_0x285e62(0x40c)])(_0x285e62(0x2bb),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','children':_0x54a1de})]})]});}let _0x2f8e01=_0x3356d1(0x2d6),_0x40b391=_0x3356d1(0x22f);function _0x49ffc3(_0x1f5629,_0x558a8f){const _0x58a04c=_0x3356d1;var _0x33b2e2;if(!(_0x558a8f!=null&&_0x558a8f['collapsed'])||_0x558a8f[_0x58a04c(0x418)]==null)return null;let _0x4cb64b=_0x558a8f[_0x58a04c(0x458)]??'';if(_0x4cb64b!=='')return null;let _0x2023a1=(_0x33b2e2=_0x1f5629[_0x58a04c(0x25b)](_0x4cb64b))==null?void 0x0:_0x33b2e2['getBody']();if(!_0x2023a1)return null;let _0xb3d5f0=_0x466b4e(_0x2023a1,_0x558a8f[_0x58a04c(0x418)]);if(!_0x364eda(_0x2023a1,_0xb3d5f0))return null;let _0x541a0d=_0x30dfc3(_0x2023a1,_0xb3d5f0);return _0x541a0d?{'unitId':_0x1f5629[_0x58a04c(0x321)](),'index':_0x541a0d[_0x58a04c(0x22e)],'segmentId':_0x4cb64b,'breakOffsets':_0x541a0d[_0x58a04c(0x21c)]}:null;}function _0x466b4e(_0x1e9c29,_0x35c3d6){const _0x2d5099=_0x3356d1;return _0x35c3d6===0x0&&_0x1e9c29[_0x2d5099(0x3de)][0x0]===_0x1261b8[_0x2d5099(0x36a)]['PARAGRAPH']?0x1:_0x35c3d6;}function _0x364eda(_0x1d6f3b,_0x35cf47){const _0x4658ac=_0x3356d1;return!(_0x162be8(_0x1d6f3b['tables'],_0x35cf47)||_0x2a0c8d(_0x1d6f3b['blockRanges'],_0x35cf47)||_0x1df753(_0x1d6f3b[_0x4658ac(0x301)],_0x35cf47));}function _0x402de4(_0x205dc1,_0x60d9a6){const _0x2a27a8=_0x3356d1;let {dataStream:_0x745920}=_0x205dc1;if(!_0x745920||_0x60d9a6<0x0||_0x60d9a6>=_0x745920[_0x2a27a8(0x32a)])return!0x1;let _0x99ec9e=_0x4e2993(_0x745920,_0x60d9a6)+0x1,_0x5d9d56=_0x57d821(_0x745920,_0x60d9a6);return _0x99ec9e<=_0x5d9d56&&_0x745920[_0x2a27a8(0x2d4)](_0x99ec9e,_0x5d9d56)[_0x2a27a8(0x32a)]===0x0;}function _0x30dfc3(_0xab674b,_0x324f5c){let {dataStream:_0x57496c}=_0xab674b;if(!_0x57496c||_0x324f5c<0x0||_0x324f5c>=_0x57496c['length'])return null;if(_0x402de4(_0xab674b,_0x324f5c))return{'index':_0x324f5c,'breakOffsets':[]};let _0x964a8d=_0x4e2993(_0x57496c,_0x324f5c)+0x1,_0x3b0544=_0x57d821(_0x57496c,_0x324f5c);return _0x324f5c<=_0x964a8d?{'index':_0x324f5c,'breakOffsets':[_0x324f5c]}:_0x324f5c>=_0x3b0544?{'index':_0x324f5c+0x1,'breakOffsets':[_0x324f5c]}:{'index':_0x324f5c+0x1,'breakOffsets':[_0x324f5c,_0x324f5c+0x1]};}function _0x4e2993(_0x5e46aa,_0x137f96){const _0x2de675=_0x3356d1;let _0x1fd170=Math[_0x2de675(0x17b)](0x0,Math[_0x2de675(0x25c)](_0x137f96-0x1,_0x5e46aa['length']-0x1));return Math['max'](_0x5e46aa['lastIndexOf'](_0x1261b8[_0x2de675(0x36a)][_0x2de675(0x249)],_0x1fd170),_0x5e46aa[_0x2de675(0x3dc)](_0x1261b8['DataStreamTreeTokenType'][_0x2de675(0x25f)],_0x1fd170));}function _0x57d821(_0x4d3c0a,_0x6d34e1){const _0x2b4c08=_0x3356d1;let _0x13b645=Math[_0x2b4c08(0x17b)](0x0,Math[_0x2b4c08(0x25c)](_0x6d34e1,_0x4d3c0a[_0x2b4c08(0x32a)]-0x1)),_0x2b6574=_0x4d3c0a[_0x2b4c08(0x2cc)](_0x1261b8[_0x2b4c08(0x36a)]['PARAGRAPH'],_0x13b645),_0x16a9d9=_0x4d3c0a[_0x2b4c08(0x2cc)](_0x1261b8[_0x2b4c08(0x36a)][_0x2b4c08(0x25f)],_0x13b645);return _0x2b6574===-0x1&&_0x16a9d9===-0x1?_0x4d3c0a[_0x2b4c08(0x32a)]:_0x2b6574===-0x1?_0x16a9d9:_0x16a9d9===-0x1?_0x2b6574:Math[_0x2b4c08(0x25c)](_0x2b6574,_0x16a9d9);}function _0x162be8(_0x767361,_0x1784e5){const _0x37a684=_0x3356d1;return!!(_0x767361!=null&&_0x767361[_0x37a684(0x2e5)](_0x162e77=>_0x162e77[_0x37a684(0x2ca)]<=_0x1784e5&&_0x1784e5<_0x162e77['endIndex']));}function _0x2a0c8d(_0x36e26f,_0x322f3b){const _0x516468=_0x3356d1;return!!(_0x36e26f!=null&&_0x36e26f[_0x516468(0x2e5)](_0x3e0d6b=>_0x3e0d6b[_0x516468(0x2ca)]<=_0x322f3b&&_0x322f3b<=_0x3e0d6b['endIndex']));}function _0x1df753(_0x217824,_0x4e7070){const _0x576b7b=_0x3356d1;return!!(_0x217824!=null&&_0x217824[_0x576b7b(0x2e5)](_0x128cc6=>_0x128cc6[_0x576b7b(0x2ca)]===_0x4e7070));}let _0x29179b=class{constructor(_0xb8b964,_0x3eaee0,_0x438f19,_0x546186){const _0x54f63a=_0x3356d1;this['_instanceService']=_0xb8b964,this[_0x54f63a(0x187)]=_0x3eaee0,this['_docSelectionManagerService']=_0x438f19,this[_0x54f63a(0x1bc)]=_0x546186;}[_0x3356d1(0x183)](_0x1e9005,_0x36fca5,_0x15ed61){const _0x1893d8=_0x3356d1;let _0x3dd7f9=(0x0,_0x4a61ce[_0x1893d8(0x3e5)])(_0x1e9005);return _0x3dd7f9[_0x1893d8(0x32a)]!==0x0&&this[_0x1893d8(0x3cb)](_0x3dd7f9,_0x36fca5,_0x15ed61);}[_0x3356d1(0x3cb)](_0x473c5d,_0x392f85,_0x49b618={}){const _0x2622b3=_0x3356d1;if(_0x473c5d[_0x2622b3(0x32a)]===0x0)return!0x1;let _0x2b7e4e=(0x0,_0xd438e5['tryPrepareInlineChartData'])(_0x392f85,_0x473c5d);if(!_0x2b7e4e['ok'])return!0x1;let _0x538234=this[_0x2622b3(0x199)][_0x2622b3(0x3a0)](_0x1261b8['UniverInstanceType']['UNIVER_DOC']);if(!_0x538234)return!0x1;let _0x37cfbd=this['_resolveInsertPosition'](_0x538234,_0x49b618[_0x2622b3(0x319)]);if(!_0x37cfbd||!this[_0x2622b3(0x1cc)](_0x37cfbd[_0x2622b3(0x21c)],_0x37cfbd[_0x2622b3(0x458)]))return!0x1;let _0x44923f=_0x37cfbd[_0x2622b3(0x40e)],_0x59e491={'chartType':_0x392f85};_0x49b618['context']&&(_0x59e491[_0x2622b3(0x28b)]=_0x49b618[_0x2622b3(0x28b)]),_0x49b618[_0x2622b3(0x3ef)]&&(_0x59e491[_0x2622b3(0x3ef)]=_0x49b618['dataAggregation']),_0x49b618[_0x2622b3(0x218)]&&(_0x59e491[_0x2622b3(0x218)]=_0x49b618['style']);let _0x42b13b=this[_0x2622b3(0x187)]['syncExecuteCommand'](_0x5f1990[_0x2622b3(0x1e0)]['id'],{'unitId':_0x44923f,'textRange':{'startOffset':_0x37cfbd[_0x2622b3(0x22e)],'endOffset':_0x37cfbd[_0x2622b3(0x22e)],'collapsed':!0x0,'segmentId':_0x37cfbd[_0x2622b3(0x458)]},'chart':_0x59e491,'dataSource':_0x49b618[_0x2622b3(0x24c)]??{'values':_0x2b7e4e[_0x2622b3(0x42b)]},'width':_0x49b618[_0x2622b3(0x15f)],'height':_0x49b618[_0x2622b3(0x1bb)],'focus':_0x49b618[_0x2622b3(0x18e)]});return _0x42b13b?{..._0x42b13b,'unitId':_0x44923f}:!0x1;}[_0x3356d1(0x2ba)](_0x2b7faa,_0xe575da){const _0x45de9b=_0x3356d1;if(_0xe575da)return _0x49ffc3(_0x2b7faa,_0xe575da);let _0x59e3f3=_0x2b7faa[_0x45de9b(0x321)](),_0x4143c3=null;try{_0x4143c3=this[_0x45de9b(0x1bc)][_0x45de9b(0x337)](_0x59e3f3);}catch{_0x4143c3=null;}return _0x4143c3?_0x49ffc3(_0x2b7faa,{'startOffset':_0x4143c3[_0x45de9b(0x418)],'endOffset':_0x4143c3[_0x45de9b(0x425)],'collapsed':_0x4143c3['startOffset']===_0x4143c3[_0x45de9b(0x425)],'segmentId':_0x4143c3[_0x45de9b(0x458)]??''}):_0x49ffc3(_0x2b7faa,_0x3f9ae4(this[_0x45de9b(0x1a5)][_0x45de9b(0x303)]()));}[_0x3356d1(0x1cc)](_0x28b098,_0x194bec){const _0x2a183e=_0x3356d1;for(let _0x4f0797 of _0x28b098)if(!this[_0x2a183e(0x187)][_0x2a183e(0x293)](_0x581f9e[_0x2a183e(0x203)]['id'],{'textRange':{'startOffset':_0x4f0797,'endOffset':_0x4f0797,'collapsed':!0x0,'segmentId':_0x194bec}}))return!0x1;return!0x0;}};_0x29179b=_0x1a5efb([_0x254d85(0x0,_0x1261b8[_0x3356d1(0x1cd)]),_0x254d85(0x1,_0x1261b8[_0x3356d1(0x304)]),_0x254d85(0x2,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x4fd56f['DocSelectionManagerService'])),_0x254d85(0x3,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x4fd56f['DocContentInsertService']))],_0x29179b);function _0x3f9ae4(_0x43f986){return!_0x43f986||typeof _0x43f986!='object'?null:_0x43f986;}let _0x36f509=_0x3356d1(0x39e),_0x7a7c21=['Category\x09Value',_0x3356d1(0x1cf),_0x3356d1(0x17c),_0x3356d1(0x352)]['join']('\x0a');function _0x3142fc(_0x485c16){const _0x35f1d4=_0x3356d1;let _0x13ecd3=(0x0,_0x723a79[_0x35f1d4(0x341)])(_0x29179b),_0x50b812=(0x0,_0x723a79[_0x35f1d4(0x341)])(_0x1261b8['LocaleService']),{defaultChartType:_0x94471f=_0x4a61ce[_0x35f1d4(0x1d9)]['Column'],defaultTableText:_0x83bcd6=_0x7a7c21,insertOptions:_0x37475f,onCancel:_0x4c51a3,onInserted:_0x2a0e5a}=_0x485c16,_0xc72dcd=(0x0,_0x435e09['useMemo'])(()=>(0x0,_0xd438e5[_0x35f1d4(0x162)])(_0xd438e5[_0x35f1d4(0x342)][_0x35f1d4(0x24d)](_0x5a8690=>({..._0x5a8690,'label':_0x50b812['t'](_0x35f1d4(0x2a1)+_0x5a8690[_0x35f1d4(0x2c5)])}))),[_0x50b812]),[_0xe3a13c,_0xfd15e0]=(0x0,_0x435e09['useState'])(String(_0x94471f)),_0x49d0ba=_0xc72dcd[_0x35f1d4(0x451)](_0xdd706b=>_0xdd706b['value']===_0xe3a13c),_0x32cb16=(_0x49d0ba==null?void 0x0:_0x49d0ba[_0x35f1d4(0x434)])??_0x94471f,_0x319c6e=_0x2817d0=>(0x0,_0xd438e5[_0x35f1d4(0x31c)])(_0x2817d0,{'candlestickClose':_0x50b812['t'](_0x35f1d4(0x14c)),'candlestickHigh':_0x50b812['t']('docs-chart-ui.candlestick.high'),'candlestickLow':_0x50b812['t'](_0x35f1d4(0x363)),'candlestickOpen':_0x50b812['t'](_0x35f1d4(0x2de)),'category':_0x50b812['t'](_0x35f1d4(0x1c4)),'chordSource':_0x50b812['t'](_0x35f1d4(0x286)),'chordTarget':_0x50b812['t'](_0x35f1d4(0x30e)),'label':_0x50b812['t'](_0x35f1d4(0x327)),'sunburstHierarchy':_0x50b812['t'](_0x35f1d4(0x2e2)),'value':_0x50b812['t'](_0x35f1d4(0x316)),'valueField':_0x50b812['t'](_0x35f1d4(0x300))}),[_0x4bc39a,_0xd3cf27]=(0x0,_0x435e09['useState'])(()=>_0x485c16['defaultTableText']===void 0x0?_0x319c6e(_0x94471f)??(0x0,_0x4a61ce[_0x35f1d4(0x3e5)])(_0x83bcd6):(0x0,_0x4a61ce['parseInlineChartTable'])(_0x83bcd6)),[_0x2d447f,_0x1c28a6]=(0x0,_0x435e09[_0x35f1d4(0x3c2)])(_0x35f1d4(0x39d)),[_0x2aea5d,_0x303258]=(0x0,_0x435e09[_0x35f1d4(0x3c2)])(null),[_0x133387,_0x162ddd]=(0x0,_0x435e09['useState'])([]),[_0x5d1097,_0x451dcb]=(0x0,_0x435e09[_0x35f1d4(0x3c2)])(null),_0x1d0a5e={[_0xd438e5[_0x35f1d4(0x174)][_0x35f1d4(0x26b)]]:_0x50b812['t'](_0x35f1d4(0x35b)),[_0xd438e5['InlineChartCreationIssueCode'][_0x35f1d4(0x146)]]:_0x50b812['t'](_0x35f1d4(0x42e)),[_0xd438e5[_0x35f1d4(0x174)]['InvalidCandlestickData']]:_0x50b812['t'](_0x35f1d4(0x267))};return(0x0,_0x1b4b54['jsxs'])(_0x35f1d4(0x2bb),{'className':_0x35f1d4(0x27e),'children':[(0x0,_0x1b4b54[_0x35f1d4(0x196)])('div',{'className':_0x35f1d4(0x3c8),'children':[(0x0,_0x1b4b54[_0x35f1d4(0x40c)])(_0x35f1d4(0x2bb),{'className':_0x35f1d4(0x21f),'children':_0x50b812['t'](_0x35f1d4(0x209))}),(0x0,_0x1b4b54['jsx'])(_0x5e2ef6[_0x35f1d4(0x365)],{'className':_0x35f1d4(0x19b),'value':_0xe3a13c,'options':_0xc72dcd,'onChange':_0x10d9a3=>{const _0x2b131b=_0x35f1d4;var _0x40a923;_0xfd15e0(_0x10d9a3);let _0x25a27b=((_0x40a923=_0xc72dcd[_0x2b131b(0x451)](_0x4c5d2f=>_0x4c5d2f[_0x2b131b(0x3a3)]===_0x10d9a3))==null?void 0x0:_0x40a923[_0x2b131b(0x434)])??Number(_0x10d9a3),_0x5899b9=_0x319c6e(_0x25a27b);_0x5899b9&&_0xd3cf27(_0x5899b9);}})]}),(0x0,_0x1b4b54[_0x35f1d4(0x40c)])(_0xd438e5[_0x35f1d4(0x1ea)],{'mode':_0x2d447f,'inlineContent':(0x0,_0x1b4b54[_0x35f1d4(0x40c)])(_0xd438e5['ChartInlineTableEditor'],{'values':_0x4bc39a,'minColumns':(0x0,_0xd438e5[_0x35f1d4(0x36c)])(_0x32cb16),'parsePastedText':_0x4a61ce['parseInlineChartTable'],'onChange':_0xd3cf27}),'onModeChange':_0x2d7096=>{_0x1c28a6(_0x2d7096),_0x303258(null),_0x162ddd([]);},'onPreviewChange':(_0x3dda9a,_0x2eb161)=>{const _0x5d0316=_0x35f1d4;_0x3dda9a&&_0x2eb161[_0x5d0316(0x20b)]===_0x4a61ce[_0x5d0316(0x1c6)][_0x5d0316(0x247)]&&_0x2eb161[_0x5d0316(0x42b)]?(_0x303258({'source':_0x3dda9a}),_0x162ddd(_0x2eb161[_0x5d0316(0x42b)][_0x5d0316(0x24d)](_0x3a1010=>[..._0x3a1010]))):(_0x303258(null),_0x162ddd([]));}}),_0x5d1097&&(0x0,_0x1b4b54[_0x35f1d4(0x40c)])(_0x35f1d4(0x2bb),{'className':_0x35f1d4(0x1fb),'children':_0x5d1097}),(0x0,_0x1b4b54[_0x35f1d4(0x196)])('div',{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[_0x4c51a3&&(0x0,_0x1b4b54[_0x35f1d4(0x40c)])(_0x5e2ef6[_0x35f1d4(0x353)],{'type':'button','variant':_0x35f1d4(0x283),'onClick':_0x4c51a3,'children':_0x50b812['t'](_0x35f1d4(0x2ef))}),(0x0,_0x1b4b54[_0x35f1d4(0x40c)])(_0x5e2ef6[_0x35f1d4(0x353)],{'type':_0x35f1d4(0x237),'variant':_0x35f1d4(0x2e8),'disabled':_0x2d447f===_0x35f1d4(0x16a)&&!_0x2aea5d,'onClick':()=>{const _0x3f4485=_0x35f1d4;var _0x37a293;let _0x2eaf26=(0x0,_0xd438e5[_0x3f4485(0x1c7)])({'optionId':_0xe3a13c,'values':_0x2d447f===_0x3f4485(0x16a)?_0x133387:_0x4bc39a});if(!_0x2eaf26['ok']){_0x451dcb(_0x1d0a5e[_0x2eaf26[_0x3f4485(0x229)][_0x3f4485(0x274)]]);return;}let _0x51bc42=_0x2d447f===_0x3f4485(0x16a)&&_0x2aea5d?{..._0x37475f,'dataSource':_0x2aea5d}:_0x37475f,_0x507bfc=_0x2eaf26[_0x3f4485(0x279)][_0x3f4485(0x218)]?{..._0x51bc42,'style':{..._0x51bc42==null?void 0x0:_0x51bc42[_0x3f4485(0x218)],'pie':{..._0x51bc42==null||(_0x37a293=_0x51bc42[_0x3f4485(0x218)])==null?void 0x0:_0x37a293[_0x3f4485(0x233)],..._0x2eaf26['plan'][_0x3f4485(0x218)][_0x3f4485(0x233)]}}}:_0x51bc42,_0x4cd62d=_0x13ecd3['insertChart'](_0x2eaf26[_0x3f4485(0x279)][_0x3f4485(0x42b)],_0x2eaf26[_0x3f4485(0x279)][_0x3f4485(0x434)],_0x507bfc);if(!_0x4cd62d){_0x451dcb(_0x50b812['t'](_0x3f4485(0x35b)));return;}_0x451dcb(null),_0x2a0e5a==null||_0x2a0e5a(_0x4cd62d);},'children':_0x50b812['t'](_0x35f1d4(0x44e))})]})]});}let _0x495e46='docs-chart-ui.config',_0x25925f={},_0x238420=_0x3356d1(0x346),_0x59eed4=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x542b7e,_0x4115b9,_0x3ec32){const _0x59ef3e=_0x3356d1;super(),this['_docClipboardService']=_0x542b7e,this[_0x59ef3e(0x31a)]=_0x4115b9,this[_0x59ef3e(0x409)]=_0x3ec32,this[_0x59ef3e(0x453)]();}[_0x3356d1(0x453)](){const _0x5d7668=_0x3356d1;this['disposeWithMe'](this['_docClipboardService'][_0x5d7668(0x413)]({'onCopyDocData':(_0x36f88a,_0x37ffe9)=>this[_0x5d7668(0x35e)](_0x36f88a,_0x37ffe9[_0x5d7668(0x205)])})),this[_0x5d7668(0x1d4)](this[_0x5d7668(0x31a)][_0x5d7668(0x429)]({'getPasteMutationInfos':_0x1ca7ef=>this['_getPasteMutationInfos'](_0x1ca7ef)}));}[_0x3356d1(0x35e)](_0x30a585,_0x4e420c){const _0x5f0665=_0x3356d1;var _0x1d6352;let _0x8ca326=(_0x1d6352=_0x4e420c[0x0])==null?void 0x0:_0x1d6352['id'];if(!_0x8ca326)return _0x30a585;let _0x56fc98=Object['values'](_0x30a585[_0x5f0665(0x3ac)]??{})[_0x5f0665(0x2c6)](_0x33f425=>this[_0x5f0665(0x195)](_0x33f425));if(_0x56fc98['length']===0x0)return _0x30a585;let _0x213594={'version':_0x4a61ce[_0x5f0665(0x2da)],'dataSources':{},'charts':{}};return _0x56fc98['forEach'](_0x165e7b=>{const _0x408958=_0x5f0665;let _0x59658d=this[_0x408958(0x409)]['getChart'](_0x8ca326,_0x165e7b[_0x408958(0x1ba)]);if(!_0x59658d)return;let _0x4cb009=this['_resourceService'][_0x408958(0x3e8)](_0x8ca326,_0x59658d[_0x408958(0x242)]);_0x4cb009&&(_0x213594['charts'][_0x59658d['id']]=_0x1261b8[_0x408958(0x431)]['deepClone'](_0x59658d),_0x213594['dataSources'][_0x4cb009['id']]=_0x4cb009);}),Object['keys'](_0x213594[_0x5f0665(0x189)])['length']===0x0?_0x30a585:{..._0x30a585,[_0x238420]:_0x213594};}[_0x3356d1(0x3d3)](_0x5d68f9){const _0x571630=_0x3356d1;let _0x24d6dd=_0x5d68f9[_0x571630(0x284)][_0x238420];if(!_0x24d6dd)return{'redoMutations':[],'undoMutations':[]};let _0x25bb7e=new Map(),_0x4f9f90=[],_0x5f0484=[],_0x110942=[],_0x3cd25a=[];return _0x5d68f9[_0x571630(0x1aa)][_0x571630(0x154)](_0x442e15=>{const _0x523fea=_0x571630;if(!this[_0x523fea(0x195)](_0x442e15[_0x523fea(0x349)])||!this['_isDocChartDrawing'](_0x442e15[_0x523fea(0x400)]))return;let _0x2ca30d=_0x24d6dd[_0x523fea(0x189)][_0x442e15['sourceDrawing']['chartId']];if(!_0x2ca30d)return;let _0x29b2e3=_0x24d6dd[_0x523fea(0x2e0)][_0x2ca30d[_0x523fea(0x242)]];if(!_0x29b2e3)return;let _0x6af73e=this[_0x523fea(0x3e2)](_0x5d68f9['unitId'],_0x29b2e3,_0x25bb7e,_0x4f9f90,_0x5f0484),_0x38e544=(0x0,_0x1261b8[_0x523fea(0x201)])(),_0x464469={..._0x2ca30d,'id':_0x38e544,'dataSourceId':_0x6af73e};_0x442e15[_0x523fea(0x400)][_0x523fea(0x1ba)]=_0x38e544,_0x110942['push']({'id':_0x5f1990[_0x523fea(0x340)]['id'],'params':{'unitId':_0x5d68f9['unitId'],'chart':_0x464469}}),_0x3cd25a['push']({'id':_0x5f1990[_0x523fea(0x2a5)]['id'],'params':{'unitId':_0x5d68f9[_0x523fea(0x40e)],'chartId':_0x38e544}});}),{'redoMutations':[..._0x4f9f90,..._0x110942],'undoMutations':[..._0x3cd25a,..._0x5f0484]};}['_getOrCreatePastedDataSourceId'](_0x5c253b,_0x57e2e9,_0x4e8538,_0x4c3d6b,_0x16d771){const _0x87e1ec=_0x3356d1;let _0x50ccfe=_0x4e8538[_0x87e1ec(0x1ae)](_0x57e2e9['id']);if(_0x50ccfe)return _0x50ccfe;let _0x104490=(0x0,_0x1261b8[_0x87e1ec(0x201)])();return _0x4e8538['set'](_0x57e2e9['id'],_0x104490),_0x4c3d6b[_0x87e1ec(0x3f9)]({'id':_0x5f1990['SetDocChartDataSourceMutation']['id'],'params':{'unitId':_0x5c253b,'dataSource':{..._0x57e2e9,'id':_0x104490}}}),_0x16d771[_0x87e1ec(0x3f9)]({'id':_0x5f1990[_0x87e1ec(0x1e2)]['id'],'params':{'unitId':_0x5c253b,'dataSourceId':_0x104490}}),_0x104490;}[_0x3356d1(0x195)](_0x268dc8){const _0x7e7baa=_0x3356d1;let _0x2a6645=_0x268dc8;return(_0x2a6645==null?void 0x0:_0x2a6645[_0x7e7baa(0x1e6)])===_0x1261b8[_0x7e7baa(0x2a9)][_0x7e7baa(0x22b)]&&typeof _0x2a6645[_0x7e7baa(0x1ba)]==_0x7e7baa(0x334);}};_0x59eed4=_0x1a5efb([_0x254d85(0x0,(0x0,_0x1261b8['Inject'])(_0x581f9e[_0x3356d1(0x1b4)])),_0x254d85(0x1,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x581f9e[_0x3356d1(0x2b7)])),_0x254d85(0x2,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x4a61ce[_0x3356d1(0x40f)]))],_0x59eed4);let _0x31f6fe=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x505b2d,_0x3cadbe,_0x418615,_0x13e985){const _0x3725d0=_0x3356d1;super(),this[_0x3725d0(0x2ce)]=_0x505b2d,this[_0x3725d0(0x2cf)]=_0x3cadbe,this[_0x3725d0(0x409)]=_0x418615,this[_0x3725d0(0x265)]=_0x13e985,this[_0x3725d0(0x20a)]();}[_0x3356d1(0x20a)](){const _0x26a4f6=_0x3356d1;this['disposeWithMe'](this['_drawingAdapterService'][_0x26a4f6(0x429)]({'getEditDrawingCommandInfo':({unitId:_0x4f0146,drawing:_0x1848c3})=>{const _0x2202c3=_0x26a4f6;let _0x591a8e=_0x5e6e5f(_0x1848c3);return _0x591a8e?{'label':this[_0x2202c3(0x265)]['t'](_0x2202c3(0x435)),'commandId':_0x568992['id'],'commandParams':{'unitId':_0x4f0146,'chartId':_0x591a8e['chartId'],'drawingId':_0x591a8e[_0x2202c3(0x38c)]}}:null;}})),this[_0x26a4f6(0x1d4)](this[_0x26a4f6(0x2cf)][_0x26a4f6(0x429)]({'getItems':({unitId:_0x38b44e,subUnitId:_0x255b6d,drawing:_0x2667f5})=>{const _0x59ed4e=_0x26a4f6;var _0x502906;let _0x279677=_0x5e6e5f(_0x2667f5);if(!_0x279677)return null;let _0x4f73ba=this[_0x59ed4e(0x409)][_0x59ed4e(0x41b)](_0x38b44e,_0x279677[_0x59ed4e(0x1ba)]),_0x333132=(_0x4f73ba==null?void 0x0:_0x4f73ba[_0x59ed4e(0x434)])??_0x4a61ce['ChartTypeBits'][_0x59ed4e(0x1ee)],_0x56ed56=_0xd438e5[_0x59ed4e(0x342)][_0x59ed4e(0x24d)](_0x5e27c3=>({'value':'id'in _0x5e27c3?_0x5e27c3['id']:String(_0x5e27c3[_0x59ed4e(0x3a3)]),'chartType':_0x5e27c3['value'],..._0x59ed4e(0x28e)in _0x5e27c3?{'pieSecondaryPlotType':_0x5e27c3['pieSecondaryPlotType']}:{},'icon':_0x5e27c3[_0x59ed4e(0x216)],'label':this[_0x59ed4e(0x265)]['t'](_0x59ed4e(0x2a1)+_0x5e27c3[_0x59ed4e(0x2c5)])})),_0x5dec08=(0x0,_0xd438e5['resolveChartTypeFieldValue'])(_0x333132,_0x4f73ba==null||(_0x502906=_0x4f73ba[_0x59ed4e(0x218)])==null?void 0x0:_0x502906[_0x59ed4e(0x233)],_0x56ed56);return[{'type':_0x59ed4e(0x3f1),'label':this[_0x59ed4e(0x265)]['t'](_0x59ed4e(0x209)),'index':0x0,'commandId':_0x5f1990[_0x59ed4e(0x1d2)]['id'],'commandParamsFactory':_0x197936=>{const _0x3e3425=_0x59ed4e;var _0x2f73a0,_0x404eab;let _0x43f9c7=_0x56ed56[_0x3e3425(0x451)](_0x3d9406=>_0x3d9406['value']===_0x197936),_0x457226=(_0x43f9c7==null?void 0x0:_0x43f9c7[_0x3e3425(0x434)])??Number(_0x197936),_0x432e43=_0x4f73ba==null||(_0x2f73a0=_0x4f73ba['style'])==null||(_0x2f73a0=_0x2f73a0[_0x3e3425(0x233)])==null?void 0x0:_0x2f73a0[_0x3e3425(0x404)],_0x4ddcbc=(_0x457226===_0x4a61ce['ChartTypeBits']['Pie']||_0x457226===_0x4a61ce[_0x3e3425(0x1d9)]['Doughnut'])&&typeof(_0x4f73ba==null||(_0x404eab=_0x4f73ba[_0x3e3425(0x218)])==null||(_0x404eab=_0x404eab[_0x3e3425(0x233)])==null?void 0x0:_0x404eab[_0x3e3425(0x2ab)])==_0x3e3425(0x3be),_0x5bfda6=_0x4ddcbc?{'doughnutHole':null}:{},_0x40e80a={'unitId':_0x38b44e,'chartId':_0x279677[_0x3e3425(0x1ba)],'chartType':_0x457226};if(_0x43f9c7!=null&&_0x43f9c7[_0x3e3425(0x28e)]){var _0x2bbcb8;return{..._0x40e80a,'style':{..._0x4f73ba==null?void 0x0:_0x4f73ba[_0x3e3425(0x218)],'pie':{..._0x4f73ba==null||(_0x2bbcb8=_0x4f73ba[_0x3e3425(0x218)])==null?void 0x0:_0x2bbcb8[_0x3e3425(0x233)],..._0x5bfda6,'composite':{..._0x432e43,'enabled':!0x0,'secondaryPlot':{..._0x432e43==null?void 0x0:_0x432e43[_0x3e3425(0x2f8)],'type':_0x43f9c7['pieSecondaryPlotType']}}}}};}if(_0x457226===_0x4a61ce[_0x3e3425(0x1d9)][_0x3e3425(0x3f2)]&&_0x432e43){var _0x4213c8;return{..._0x40e80a,'style':{..._0x4f73ba==null?void 0x0:_0x4f73ba[_0x3e3425(0x218)],'pie':{..._0x4f73ba==null||(_0x4213c8=_0x4f73ba[_0x3e3425(0x218)])==null?void 0x0:_0x4213c8[_0x3e3425(0x233)],..._0x5bfda6,'composite':{..._0x432e43,'enabled':!0x1}}}};}return _0x4ddcbc?{..._0x40e80a,'style':{'pie':_0x5bfda6}}:_0x40e80a;},'disable':!_0x4f73ba,'value':_0x5dec08,'options':_0x56ed56},{'type':_0x59ed4e(0x237),'label':this[_0x59ed4e(0x265)]['t'](_0x59ed4e(0x435)),'index':0x1,'commandId':_0x568992['id'],'commandParams':{'unitId':_0x38b44e,'chartId':_0x279677[_0x59ed4e(0x1ba)],'drawingId':_0x279677[_0x59ed4e(0x38c)]},'disable':!0x1,'hideOnClick':!0x0,'icon':_0x59ed4e(0x165)},{'type':_0x59ed4e(0x237),'label':this[_0x59ed4e(0x265)]['t'](_0x59ed4e(0x198)),'index':0x2,'commandId':_0x40d78a[_0x59ed4e(0x3e4)]['id'],'commandParams':{'unitId':_0x38b44e,'drawings':[{'unitId':_0x38b44e,'subUnitId':_0x255b6d,'drawingId':_0x279677[_0x59ed4e(0x38c)]}]},'disable':!0x1,'icon':_0x59ed4e(0x35d)}];}}));}};_0x31f6fe=_0x1a5efb([_0x254d85(0x0,_0x40d78a[_0x3356d1(0x23d)]),_0x254d85(0x1,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x3f90bd[_0x3356d1(0x194)])),_0x254d85(0x2,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x4a61ce[_0x3356d1(0x40f)])),_0x254d85(0x3,(0x0,_0x1261b8['Inject'])(_0x1261b8[_0x3356d1(0x311)]))],_0x31f6fe);function _0x5e6e5f(_0x19a0ec){const _0x236999=_0x3356d1;let _0x56aded=_0x19a0ec;return(_0x56aded==null?void 0x0:_0x56aded[_0x236999(0x1e6)])===_0x1261b8[_0x236999(0x2a9)][_0x236999(0x22b)]&&typeof _0x56aded['chartId']==_0x236999(0x334)?_0x56aded:null;}let _0x316e14=(0x0,_0x1261b8['createIdentifier'])(_0x3356d1(0x3f8));var _0x1ace2d=class{constructor(_0x3551b3,_0x4e8a31){const _0x2046fb=_0x3356d1;this[_0x2046fb(0x266)]=_0x3551b3,this['_renderModelManager']=_0x4e8a31;}async[_0x3356d1(0x40d)](_0x1dfe48,_0x19dcd1){const _0x284baf=_0x3356d1;if(typeof document>'u')throw TypeError('Document\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.');let {chartConfig:_0x259f07,chartStyle:_0x4a147c}=this['_renderService'][_0x284baf(0x221)](_0x19dcd1);if(_0x1dfe48['format']===_0x4a61ce[_0x284baf(0x178)][_0x284baf(0x3da)])return(await this[_0x284baf(0x27b)][_0x284baf(0x3e0)]({'chartId':_0x19dcd1[_0x284baf(0x1ba)],'config':_0x259f07,'style':_0x4a147c,'width':_0x1dfe48[_0x284baf(0x15f)],'height':_0x1dfe48[_0x284baf(0x1bb)]},{'format':_0x1dfe48['format']}))[_0x284baf(0x30f)];let _0x5bc6ff=new _0x4a61ce[(_0x284baf(0x20d))](_0x19dcd1[_0x284baf(0x1ba)],{'width':_0x1dfe48[_0x284baf(0x15f)],'height':_0x1dfe48['height']}),_0x3c722a=this[_0x284baf(0x266)][_0x284baf(0x15d)](_0x4a61ce[_0x284baf(0x193)]['Image']);try{_0x3c722a[_0x284baf(0x35f)](_0x5bc6ff),await _0x3c722a[_0x284baf(0x40d)]({'chartId':_0x19dcd1[_0x284baf(0x1ba)],'config':_0x259f07,'style':_0x4a147c});let _0x409ce9=_0x5bc6ff[_0x284baf(0x329)]();if(!_0x409ce9)throw Error(_0x284baf(0x2be)+_0x19dcd1[_0x284baf(0x40e)]+'/'+_0x19dcd1[_0x284baf(0x1ba)]);return _0x409ce9;}finally{_0x3c722a['dispose'](),_0x5bc6ff['dispose']();}}};let _0x234bfe=class extends _0xd438e5['ChartSnapshotQueue']{constructor(_0x40c16f,_0xe146b3,_0x19432a,_0x4b0d83,_0x379148){super(_0x40c16f,_0xe146b3,_0x379148??new _0x1ace2d(_0x19432a,_0x4b0d83));}[_0x3356d1(0x41d)](_0x11963d){const _0x5bfc6d=_0x3356d1;let _0x3576bd=super[_0x5bfc6d(0x41d)](_0x11963d);return _0x11963d[_0x5bfc6d(0x364)]===_0x4a61ce[_0x5bfc6d(0x178)][_0x5bfc6d(0x3da)]?_0x3576bd+'::'+_0x11963d['format']:_0x3576bd;}};_0x234bfe=_0x1a5efb([_0x254d85(0x0,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x1261b8[_0x3356d1(0x311)])),_0x254d85(0x1,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x5f1990[_0x3356d1(0x236)])),_0x254d85(0x2,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x126265)),_0x254d85(0x3,_0x4a61ce[_0x3356d1(0x1a6)]),_0x254d85(0x4,(0x0,_0x1261b8['Optional'])(_0x316e14))],_0x234bfe);let _0x3c2c5e=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x149287,_0x5ad578,_0x398766,_0x4f5b1b){const _0x10cd91=_0x3356d1;super(),this['_commandService']=_0x149287,this[_0x10cd91(0x2d9)]=_0x5ad578,this['_resourceService']=_0x398766,this[_0x10cd91(0x1dc)]=_0x4f5b1b,this[_0x10cd91(0x21b)]();}[_0x3356d1(0x21b)](){const _0x3b013e=_0x3356d1;this[_0x3b013e(0x1d4)](this[_0x3b013e(0x187)][_0x3b013e(0x37d)](_0x3e6ec2=>{const _0x258d89=_0x3b013e;if(_0x3e6ec2['id']===_0x5f1990[_0x258d89(0x340)]['id']){var _0x45073b;let _0x5a5572=_0x3e6ec2[_0x258d89(0x269)];_0x5a5572!=null&&_0x5a5572[_0x258d89(0x40e)]&&(_0x45073b=_0x5a5572[_0x258d89(0x240)])!=null&&_0x45073b['id']&&(this[_0x258d89(0x238)](_0x5a5572)?this['_snapshotService'][_0x258d89(0x391)](_0x5a5572['unitId'],_0x5a5572[_0x258d89(0x240)]['id'],{'waitForConfig':!0x0}):this[_0x258d89(0x2d9)][_0x258d89(0x391)](_0x5a5572[_0x258d89(0x40e)],_0x5a5572[_0x258d89(0x240)]['id']));return;}if(_0x3e6ec2['id']===_0x5f1990[_0x258d89(0x1b1)]['id']){var _0x1aa55b;let _0x5573a0=_0x3e6ec2['params'];if(!(_0x5573a0!=null&&_0x5573a0[_0x258d89(0x40e)])||!((_0x1aa55b=_0x5573a0[_0x258d89(0x24c)])!=null&&_0x1aa55b['id']))return;this[_0x258d89(0x409)][_0x258d89(0x19c)](_0x5573a0[_0x258d89(0x40e)],_0x5573a0[_0x258d89(0x24c)]['id'])[_0x258d89(0x154)](_0x58726e=>this[_0x258d89(0x2d9)][_0x258d89(0x391)](_0x5573a0[_0x258d89(0x40e)],_0x58726e,{'waitForConfig':!0x0}));}}));}['_shouldWaitForChartConfig'](_0x3707a3){const _0x404bf2=_0x3356d1;var _0xd51408;let _0x3e65c7=(_0xd51408=this[_0x404bf2(0x1dc)][_0x404bf2(0x1fe)](_0x3707a3[_0x404bf2(0x40e)],_0x3707a3[_0x404bf2(0x240)]['id']))==null||(_0xd51408=_0xd51408['model']['config'])==null?void 0x0:_0xd51408[_0x404bf2(0x1f6)];return _0x3e65c7!=null&&_0x3e65c7!==_0x3707a3[_0x404bf2(0x240)][_0x404bf2(0x434)];}};_0x3c2c5e=_0x1a5efb([_0x254d85(0x0,_0x1261b8[_0x3356d1(0x304)]),_0x254d85(0x1,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x234bfe)),_0x254d85(0x2,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x4a61ce[_0x3356d1(0x40f)])),_0x254d85(0x3,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x5f1990[_0x3356d1(0x236)]))],_0x3c2c5e);let _0x266627=_0xa99d93['id'],_0x224d06=_0x266627+_0x3356d1(0x449);function _0x94231c(_0x12c47c){const _0x4fc4f7=_0x3356d1;return(0x0,_0x8a64a[_0x4fc4f7(0x1b7)])([(0x0,_0x581f9e[_0x4fc4f7(0x44b)])(_0x12c47c),_0x365965(_0x12c47c)])[_0x4fc4f7(0x32f)]((0x0,_0x8a64a['map'])(([_0x2f09ae,_0x57ba7c])=>_0x2f09ae||_0x57ba7c));}function _0x365965(_0xe3bc13){const _0x182afa=_0x3356d1;let _0x3f4b16=_0xe3bc13[_0x182afa(0x1ae)](_0x4fd56f[_0x182afa(0x343)]),_0x3411d7=_0xe3bc13[_0x182afa(0x1ae)](_0x1261b8[_0x182afa(0x1cd)]);return new _0x8a64a[(_0x182afa(0x18d))](_0x3a6416=>{const _0x2e35a7=_0x182afa;let _0x106351=_0x31acb4=>{const _0x4ba6d8=_0x5cdc;let _0x111c4f=_0x3411d7['getCurrentUnitOfType'](_0x1261b8['UniverInstanceType'][_0x4ba6d8(0x256)]);if(!_0x111c4f){_0x3a6416[_0x4ba6d8(0x29a)](!0x0);return;}let _0x53d9f5=(_0x31acb4==null?void 0x0:_0x31acb4['textRanges'])??[..._0x3f4b16[_0x4ba6d8(0x1c1)]()??[]];if(_0x53d9f5[_0x4ba6d8(0x32a)]!==0x1){_0x3a6416[_0x4ba6d8(0x29a)](!0x0);return;}let _0x34b059=_0x3f4b16[_0x4ba6d8(0x303)]()??_0x53d9f5[0x0];if(!_0x34b059||!_0x34b059[_0x4ba6d8(0x1a0)]||_0x34b059['startOffset']==null){_0x3a6416['next'](!0x0);return;}let _0xaa4262=_0x49ffc3(_0x111c4f,{..._0x34b059,'segmentId':_0x34b059[_0x4ba6d8(0x458)]??(_0x31acb4==null?void 0x0:_0x31acb4['segmentId'])??''});_0x3a6416[_0x4ba6d8(0x29a)](_0xaa4262==null);};_0x106351();let _0x571ea3=_0x3f4b16[_0x2e35a7(0x25e)][_0x2e35a7(0x42a)](_0x2289e2=>_0x106351(_0x2289e2));return()=>_0x571ea3['unsubscribe']();});}function _0xe2aae8(_0x52122c){return _0x20e55e(_0x52122c);}function _0x20e55e(_0x392104){const _0x88c9b=_0x3356d1;let _0xfaffeb=_0x392104[_0x88c9b(0x1ae)](_0x1261b8[_0x88c9b(0x311)])['t']('docs-chart-ui.common.insertChart');return{'id':_0x266627,'commandId':_0xa99d93['id'],'type':_0x723a79[_0x88c9b(0x1b9)]['BUTTON'],'icon':_0x88c9b(0x1c3),'title':_0xfaffeb,'tooltip':_0xfaffeb,'disabled$':_0x94231c(_0x392104),'hidden$':(0x0,_0x723a79[_0x88c9b(0x2f2)])(_0x392104,_0x1261b8[_0x88c9b(0x1ce)]['UNIVER_DOC'])};}function _0x20c0fa(_0x3601eb){const _0x5e0cdc=_0x3356d1;let _0x1125f9=_0x3601eb[_0x5e0cdc(0x1ae)](_0x1261b8[_0x5e0cdc(0x311)])['t'](_0x5e0cdc(0x176));return{'id':_0x224d06,'commandId':_0xa99d93['id'],'type':_0x723a79[_0x5e0cdc(0x1b9)][_0x5e0cdc(0x1b3)],'icon':_0x5e0cdc(0x1c3),'title':_0x1125f9,'tooltip':_0x1125f9,'disabled$':_0x94231c(_0x3601eb),'hidden$':(0x0,_0x723a79[_0x5e0cdc(0x2f2)])(_0x3601eb,_0x1261b8['UniverInstanceType'][_0x5e0cdc(0x256)])};}let _0x1813dd={[_0x723a79['RibbonInsertGroup']['MEDIA']]:{[_0x266627]:{'order':2.5,'menuItemFactory':_0xe2aae8}},[_0x723a79[_0x3356d1(0x1c2)]['PARAGRAPH']]:{[_0x723a79[_0x3356d1(0x2bd)][_0x3356d1(0x438)]]:{[_0x581f9e[_0x3356d1(0x3f0)]]:{[_0x266627]:{'order':4.5,'menuItemFactory':_0x20e55e}}},[_0x581f9e['EMPTY_PARAGRAPH_MENU_ID']]:{[_0x723a79[_0x3356d1(0x2bd)][_0x3356d1(0x438)]]:{[_0x266627]:{'order':5.5,'menuItemFactory':_0x20e55e}}},[_0x581f9e[_0x3356d1(0x357)]]:{[_0x723a79[_0x3356d1(0x2bd)][_0x3356d1(0x438)]]:{[_0x266627]:{'order':4.5,'menuItemFactory':_0x20e55e}}},[_0x581f9e[_0x3356d1(0x2ae)]]:{'insert':{[_0x266627]:{'order':1.5,'menuItemFactory':_0x20e55e}}},[_0x581f9e['DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID']]:{'insert':{[_0x224d06]:{'order':1.5,'menuItemFactory':_0x20c0fa}}}}};var _0x4ca9c1=_0x3356d1(0x289),_0x453a08=_0x3356d1(0x412),_0x390849=class extends _0x281c85[_0x3356d1(0x2bc)]{constructor(..._0x21af8f){const _0x56d3d6=_0x3356d1;super(..._0x21af8f),_0x22c1d5(this,_0x56d3d6(0x2a4),!0x1);}get[_0x3356d1(0x1f8)](){const _0x58bb68=_0x3356d1;return this[_0x58bb68(0x2a4)];}[_0x3356d1(0x1a9)](_0x19794e){const _0x1b5678=_0x3356d1;this[_0x1b5678(0x2a4)]!==_0x19794e&&(this['_imageContentHidden']=_0x19794e,this[_0x1b5678(0x403)](!0x0));}[_0x3356d1(0x164)](_0x16c2b5,_0x1267f6,_0x4c76be,_0x46cf5f){const _0xb00004=_0x3356d1;this[_0xb00004(0x2a4)]||super['_draw'](_0x16c2b5,_0x1267f6,_0x4c76be,_0x46cf5f);}};let _0x143f48={..._0x281c85[_0x3356d1(0x171)],'rotateEnabled':!0x1,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1},_0x48588c=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x259d77,_0x4e6151,_0x1c8a00){const _0x3aadd5=_0x3356d1;super(),this[_0x3aadd5(0x1ec)]=_0x259d77,this[_0x3aadd5(0x398)]=_0x4e6151,this[_0x3aadd5(0x2a3)]=_0x1c8a00,_0x22c1d5(this,_0x3aadd5(0x3d8),new Set()),this[_0x3aadd5(0x347)]();}['setActiveDomReady'](_0xe62727,_0x41687d){const _0x23a26e=_0x3356d1;let _0x2f5744=(0x0,_0x3f42ed[_0x23a26e(0x30a)])(_0xe62727);_0x41687d?this[_0x23a26e(0x3d8)][_0x23a26e(0x450)](_0x2f5744):this[_0x23a26e(0x3d8)][_0x23a26e(0x180)](_0x2f5744),this[_0x23a26e(0x2d7)](_0xe62727);}[_0x3356d1(0x347)](){const _0x439e27=_0x3356d1;this[_0x439e27(0x1d4)](this[_0x439e27(0x1ec)][_0x439e27(0x226)][_0x439e27(0x42a)](_0x1e86ba=>{const _0x3e7367=_0x439e27;this[_0x3e7367(0x1e4)](_0x1e86ba);})),this['disposeWithMe'](this[_0x439e27(0x1ec)]['refreshTransform$'][_0x439e27(0x42a)](_0x34076e=>{const _0x3b11b5=_0x439e27;this[_0x3b11b5(0x1e4)](_0x34076e);})),this[_0x439e27(0x1d4)](this[_0x439e27(0x1ec)][_0x439e27(0x2c9)][_0x439e27(0x42a)](_0x3ec90a=>{const _0x22fc1b=_0x439e27;this[_0x22fc1b(0x3c9)](_0x3ec90a);})),this[_0x439e27(0x1d4)](this['_snapshotRenderService']['chartInvalidated$'][_0x439e27(0x42a)](({unitId:_0x6ef44b,chartId:_0x473887})=>{const _0xdafdc=_0x439e27;this[_0xdafdc(0x3a2)](_0x6ef44b,_0x473887);})),this[_0x439e27(0x1d4)](this['_snapshotRenderService']['snapshotUpdated$'][_0x439e27(0x42a)](_0x5c51a5=>{const _0x152fd1=_0x439e27;if(_0x5c51a5[_0x152fd1(0x20b)]!==_0x152fd1(0x19d)||!_0x5c51a5[_0x152fd1(0x30f)])return;let [_0x16965e,_0x35435b]=_0x5c51a5[_0x152fd1(0x36f)][_0x152fd1(0x2fa)]('::');!_0x16965e||!_0x35435b||this[_0x152fd1(0x3f7)](_0x16965e,_0x35435b,_0x5c51a5['dataUrl']);}));}[_0x3356d1(0x1e4)](_0x338568){const _0x8e69a3=_0x3356d1;_0x338568[_0x8e69a3(0x154)](_0x37dd8b=>{const _0x488cd1=_0x8e69a3;let _0x460cde=this[_0x488cd1(0x2c4)](_0x37dd8b);_0x460cde&&this[_0x488cd1(0x3ea)](_0x460cde);});}['_requestSnapshotsForUnit'](_0x2d5b30,_0x5dbddc){this['_forEachChartDrawing'](_0x2d5b30,_0x3fb494=>{const _0x135613=_0x5cdc;(_0x5dbddc==null||_0x3fb494['chartId']===_0x5dbddc)&&this[_0x135613(0x3ea)](_0x3fb494);});}[_0x3356d1(0x3ea)](_0x4197ed){const _0x20c9de=_0x3356d1;let _0x370097=this[_0x20c9de(0x231)](_0x4197ed);if(!_0x370097)return;let _0x12fe46=this['_snapshotRenderService'][_0x20c9de(0x3c3)]({'unitId':_0x4197ed['unitId'],'chartId':_0x4197ed[_0x20c9de(0x1ba)],'width':_0x370097[_0x20c9de(0x15f)],'height':_0x370097[_0x20c9de(0x1bb)],'dpr':_0x4a61ce[_0x20c9de(0x227)],'mode':_0x20c9de(0x3d4)});_0x12fe46[_0x20c9de(0x20b)]===_0x20c9de(0x19d)&&_0x12fe46[_0x20c9de(0x30f)]&&this['_renderDrawing'](_0x4197ed,_0x12fe46[_0x20c9de(0x30f)]);}['_renderCharts'](_0x26a6af,_0x259c61,_0x193603){this['_forEachChartDrawing'](_0x26a6af,_0x44d854=>{const _0x50cd96=_0x5cdc;_0x44d854[_0x50cd96(0x1ba)]===_0x259c61&&this[_0x50cd96(0x278)](_0x44d854,_0x193603);});}[_0x3356d1(0x278)](_0x38aedc,_0x39bc40){const _0x3eec11=_0x3356d1;let _0x48aad8=this[_0x3eec11(0x398)][_0x3eec11(0x3ee)](_0x38aedc[_0x3eec11(0x40e)]),_0x1c6361=_0x48aad8==null?void 0x0:_0x48aad8[_0x3eec11(0x411)];if(!_0x1c6361||!this[_0x3eec11(0x231)](_0x38aedc))return;let _0x406342=(0x0,_0x3f42ed[_0x3eec11(0x30a)])(_0x38aedc),_0x2d4347=_0x1c6361[_0x3eec11(0x442)](_0x406342);if(_0x2d4347!=null&&_0x2d4347[_0x3eec11(0x1f3)]){var _0x58102,_0x1c357d,_0x5395c0,_0x2b107d;_0x2d4347['transformerConfig']={..._0x2d4347[_0x3eec11(0x3b2)],..._0x143f48},_0x2d4347[_0x3eec11(0x1f3)](_0x39bc40),(_0x58102=_0x2d4347[_0x3eec11(0x1c9)])==null||_0x58102[_0x3eec11(0x350)](_0x2d4347,_0x38aedc[_0x3eec11(0x351)]),(_0x1c357d=_0x2d4347['setClipBounds'])==null||_0x1c357d[_0x3eec11(0x350)](_0x2d4347,(_0x5395c0=_0x38aedc[_0x3eec11(0x351)])==null?void 0x0:_0x5395c0[_0x3eec11(0x1df)]),this['_syncChartImageVisibility'](_0x2d4347,_0x38aedc,_0x406342),(_0x2b107d=_0x2d4347['makeDirty'])==null||_0x2b107d['call'](_0x2d4347,!0x0);return;}this[_0x3eec11(0x2c7)](_0x38aedc,_0x39bc40,_0x1c6361,_0x406342);}[_0x3356d1(0x2c7)](_0x293dc4,_0x5ad666,_0x399132,_0x2d85c2){const _0x50e107=_0x3356d1;let _0x9ea7da=_0x293dc4[_0x50e107(0x351)];if(!_0x9ea7da)return;let _0x21f55a=this[_0x50e107(0x1ec)]['getDrawingOrder'](_0x293dc4[_0x50e107(0x40e)],_0x293dc4[_0x50e107(0x423)]),_0x5a8d71=_0x21f55a[_0x50e107(0x2cc)](_0x293dc4[_0x50e107(0x38c)]),_0x90ce50={..._0x9ea7da,'zIndex':_0x5a8d71===-0x1?_0x21f55a[_0x50e107(0x32a)]-0x1:_0x5a8d71,'clipBounds':_0x9ea7da['clipBounds'],'printable':!0x0,'rotateEnabled':!0x1,'transformerConfig':_0x143f48,'url':_0x5ad666};_0x293dc4[_0x50e107(0x43f)]&&(_0x90ce50[_0x50e107(0x3d2)]=!0x1);let _0x31bb68=new _0x390849(_0x2d85c2,_0x90ce50);_0x31bb68[_0x50e107(0x1a9)](this[_0x50e107(0x3d8)][_0x50e107(0x2bf)](_0x2d85c2)),_0x399132['addObject'](_0x31bb68,_0x281c85['DRAWING_OBJECT_LAYER_INDEX']),this[_0x50e107(0x1ec)]['getDrawingEditable']()&&_0x399132[_0x50e107(0x3b4)](_0x31bb68);}['_removeRenderedCharts'](_0x342248){const _0x5d30df=_0x3356d1;_0x342248[_0x5d30df(0x154)](_0x23909f=>{const _0x59a513=_0x5d30df;this['_activeDomReadyDrawingKeys']['delete']((0x0,_0x3f42ed['getDrawingShapeKeyByDrawingSearch'])(_0x23909f));let _0xc16cfc=this['_renderManagerService'][_0x59a513(0x3ee)](_0x23909f['unitId']),_0x3f328b=_0xc16cfc==null?void 0x0:_0xc16cfc[_0x59a513(0x411)];if(!_0x3f328b)return;let _0x1b9099=_0x3f328b[_0x59a513(0x442)]((0x0,_0x3f42ed['getDrawingShapeKeyByDrawingSearch'])(_0x23909f));_0x1b9099&&_0x3f328b[_0x59a513(0x29d)](_0x1b9099);});}[_0x3356d1(0x2d7)](_0x5d1bb3){const _0x5bd4f2=_0x3356d1;let _0x71127b=this['_renderManagerService'][_0x5bd4f2(0x3ee)](_0x5d1bb3[_0x5bd4f2(0x40e)]),_0x2d4314=_0x71127b==null?void 0x0:_0x71127b[_0x5bd4f2(0x411)];if(!_0x2d4314)return;let _0x5db3d1=(0x0,_0x3f42ed[_0x5bd4f2(0x30a)])(_0x5d1bb3),_0x359fd3=_0x2d4314['getObjectIncludeInGroup'](_0x5db3d1);if(!_0x359fd3)return;let _0x1482ad=this[_0x5bd4f2(0x1ec)][_0x5bd4f2(0x25a)](_0x5d1bb3);this[_0x5bd4f2(0x254)](_0x359fd3,_0x1482ad,_0x5db3d1);}[_0x3356d1(0x254)](_0x1ace76,_0x10ef1b,_0x4b8e41){const _0x241e07=_0x3356d1;var _0x448bd3,_0x521913;let _0x507b1e=this['_activeDomReadyDrawingKeys'][_0x241e07(0x2bf)](_0x4b8e41);if(_0x1ace76[_0x241e07(0x1a9)]){var _0x332bc6,_0x5b4a84;_0x1ace76[_0x241e07(0x1a9)](_0x507b1e),(_0x10ef1b==null?void 0x0:_0x10ef1b[_0x241e07(0x43f)])===!0x0?(_0x332bc6=_0x1ace76['hide'])==null||_0x332bc6['call'](_0x1ace76):(_0x5b4a84=_0x1ace76[_0x241e07(0x1e9)])==null||_0x5b4a84[_0x241e07(0x350)](_0x1ace76);return;}(_0x10ef1b==null?void 0x0:_0x10ef1b[_0x241e07(0x43f)])===!0x0?(_0x448bd3=_0x1ace76['hide'])==null||_0x448bd3[_0x241e07(0x350)](_0x1ace76):(_0x521913=_0x1ace76[_0x241e07(0x1e9)])==null||_0x521913[_0x241e07(0x350)](_0x1ace76);}[_0x3356d1(0x2c4)](_0x5b215b){const _0x3eeece=_0x3356d1;let _0x210c62=this[_0x3eeece(0x1ec)][_0x3eeece(0x25a)](_0x5b215b);return _0x90fd7c(_0x210c62)?_0x210c62:null;}[_0x3356d1(0x14f)](_0x3c4079,_0x4ca1f9){const _0x45456d=_0x3356d1;let _0xb687ca=this['_drawingManagerService']['getDrawingDataForUnit'](_0x3c4079),_0x2c256c=_0xb687ca==null?void 0x0:_0xb687ca[_0x3c4079];_0x2c256c&&_0x2c256c[_0x45456d(0x330)][_0x45456d(0x154)](_0xafe80=>{const _0x23c115=_0x45456d;let _0x4b0a20=_0x2c256c[_0x23c115(0x20c)][_0xafe80];_0x90fd7c(_0x4b0a20)&&_0x4ca1f9(_0x4b0a20);});}[_0x3356d1(0x231)](_0x655955){const _0x43779d=_0x3356d1;var _0x1f02ea,_0x314a2c,_0x3797d2,_0x3db580;let _0x1db75d=((_0x1f02ea=_0x655955[_0x43779d(0x351)])==null?void 0x0:_0x1f02ea[_0x43779d(0x15f)])??((_0x314a2c=_0x655955[_0x43779d(0x426)])==null||(_0x314a2c=_0x314a2c[_0x43779d(0x317)])==null?void 0x0:_0x314a2c[_0x43779d(0x15f)])??0x0,_0x36ee94=((_0x3797d2=_0x655955['transform'])==null?void 0x0:_0x3797d2[_0x43779d(0x1bb)])??((_0x3db580=_0x655955[_0x43779d(0x426)])==null||(_0x3db580=_0x3db580[_0x43779d(0x317)])==null?void 0x0:_0x3db580['height'])??0x0;return _0x1db75d<=0x0||_0x36ee94<=0x0?null:{'width':Math[_0x43779d(0x17b)](0x1,Math['round'](_0x1db75d)),'height':Math[_0x43779d(0x17b)](0x1,Math[_0x43779d(0x167)](_0x36ee94))};}};_0x48588c=_0x1a5efb([_0x254d85(0x0,_0x3f42ed[_0x3356d1(0x17a)]),_0x254d85(0x1,_0x281c85['IRenderManagerService']),_0x254d85(0x2,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x234bfe))],_0x48588c);function _0x90fd7c(_0x1026fb){const _0x3fa72a=_0x3356d1;let _0x126d3f=_0x1026fb;return(_0x126d3f==null?void 0x0:_0x126d3f['drawingType'])===_0x1261b8[_0x3fa72a(0x2a9)]['DRAWING_CHART']&&typeof _0x126d3f['chartId']==_0x3fa72a(0x334);}function _0xb11666(_0x2ca900,_0x1897d8,_0x4caa31=0x1,_0x1b0aec=0x0){const _0x30f5ef=_0x3356d1;let {top:_0x4d5c86,left:_0x44faa6,bottom:_0x4bcf87,right:_0x4079dc}=_0x2ca900,_0x18095d=_0x4079dc-_0x44faa6,_0x2b3a78=_0x4bcf87-_0x4d5c86,{viewportScrollX:_0x44cbd5,viewportScrollY:_0x2697ee}=_0x1897d8[_0x30f5ef(0x3e3)](_0x581f9e[_0x30f5ef(0x29e)][_0x30f5ef(0x1f1)]),{scaleX:_0x182546,scaleY:_0x3aae6a}=_0x1897d8['getAncestorScale'](),_0x4fabbc=(_0x44faa6-_0x44cbd5)*_0x182546,_0x219a3c=(_0x4d5c86-_0x2697ee)*_0x3aae6a,_0x3cf897=_0x18095d*_0x182546,_0x17b04b=_0x2b3a78*_0x3aae6a;return{'startX':_0x4fabbc,'startY':_0x219a3c,'endX':_0x4fabbc+_0x3cf897,'endY':_0x219a3c+_0x17b04b,'width':_0x3cf897,'height':_0x17b04b,'rotate':_0x1b0aec,'absolute':{'left':!0x1,'top':!0x1},'opacity':_0x4caa31};}function _0x378ed3(_0xb5fe2e,_0xf6fdcd){const _0x2c91a2=_0x3356d1;return _0xb5fe2e[_0x2c91a2(0x40e)]===_0xf6fdcd[_0x2c91a2(0x40e)]&&(_0xb5fe2e[_0x2c91a2(0x423)]??_0xb5fe2e[_0x2c91a2(0x40e)])===(_0xf6fdcd[_0x2c91a2(0x423)]??_0xf6fdcd['unitId'])&&_0xb5fe2e[_0x2c91a2(0x38c)]===_0xf6fdcd[_0x2c91a2(0x38c)];}function _0x199ab8(_0x98624f,_0xb8f52f=0x0){const _0x5abb31=_0x3356d1;return _0x98624f['find'](_0x31a587=>typeof _0x31a587==_0x5abb31(0x3be)&&Number[_0x5abb31(0x21e)](_0x31a587))??_0xb8f52f;}function _0x4f48cd(_0x52f95f,_0x13e1b0){const _0x157986=_0x3356d1;var _0x523849,_0x54e9bb,_0x10bc83,_0x541e61,_0x12217f,_0x57b242,_0x4c9082;let _0x1e0e84=_0x13e1b0==null||(_0x523849=_0x13e1b0['getRealBound'])==null?void 0x0:_0x523849['call'](_0x13e1b0),_0x2bebd6=_0x199ab8([_0x1e0e84==null?void 0x0:_0x1e0e84[_0x157986(0x15f)],(_0x54e9bb=_0x52f95f[_0x157986(0x351)])==null?void 0x0:_0x54e9bb[_0x157986(0x15f)],(_0x10bc83=_0x52f95f[_0x157986(0x426)])==null||(_0x10bc83=_0x10bc83['size'])==null?void 0x0:_0x10bc83['width']]),_0x4be433=_0x199ab8([_0x1e0e84==null?void 0x0:_0x1e0e84[_0x157986(0x1bb)],(_0x541e61=_0x52f95f[_0x157986(0x351)])==null?void 0x0:_0x541e61['height'],(_0x12217f=_0x52f95f[_0x157986(0x426)])==null||(_0x12217f=_0x12217f['size'])==null?void 0x0:_0x12217f[_0x157986(0x1bb)]]),_0x2bf7a6=_0x199ab8([_0x1e0e84==null?void 0x0:_0x1e0e84[_0x157986(0x378)],(_0x57b242=_0x52f95f[_0x157986(0x351)])==null?void 0x0:_0x57b242[_0x157986(0x378)]]),_0x5d933b=_0x199ab8([_0x1e0e84==null?void 0x0:_0x1e0e84[_0x157986(0x390)],(_0x4c9082=_0x52f95f[_0x157986(0x351)])==null?void 0x0:_0x4c9082['top']]);return{'left':_0x2bf7a6,'top':_0x5d933b,'right':_0x2bf7a6+_0x2bebd6,'bottom':_0x5d933b+_0x4be433};}function _0x2e3d04(_0x327dbe,_0x208bb4){const _0x318dc6=_0x3356d1;if(!_0x327dbe||typeof _0x327dbe!=_0x318dc6(0x331))return;let _0x2b8910=_0x327dbe;if(typeof _0x2b8910[_0x318dc6(0x166)]==_0x318dc6(0x2c1)){let _0x29249e=_0x2b8910[_0x318dc6(0x166)](_0x208bb4);return(0x0,_0x1261b8[_0x318dc6(0x257)])(()=>{const _0x2324b5=_0x318dc6;var _0x3e83b5;if(typeof _0x29249e['dispose']==_0x2324b5(0x2c1)){_0x29249e[_0x2324b5(0x22c)]();return;}(_0x3e83b5=_0x29249e[_0x2324b5(0x3ae)])==null||_0x3e83b5[_0x2324b5(0x350)](_0x29249e);});}let _0x482d98=_0x327dbe;if(typeof _0x482d98[_0x318dc6(0x42a)]=='function'){let _0x291765=_0x482d98[_0x318dc6(0x42a)](_0x208bb4);return(0x0,_0x1261b8[_0x318dc6(0x257)])(()=>{const _0xae301e=_0x318dc6;var _0x5baddd;return(_0x5baddd=_0x291765[_0xae301e(0x3ae)])==null?void 0x0:_0x5baddd[_0xae301e(0x350)](_0x291765);});}}let _0x160adf=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x2c2dda,_0x359215,_0x2e7ebd,_0x3ab70c,_0x5915f0,_0x251f15,_0x1faec8,_0x357db0,_0x150ed9,_0x42c626){const _0x2dc6fc=_0x3356d1;super(),this['_drawingManagerService']=_0x2c2dda,this[_0x2dc6fc(0x398)]=_0x359215,this[_0x2dc6fc(0x206)]=_0x2e7ebd,this['_modelService']=_0x3ab70c,this[_0x2dc6fc(0x266)]=_0x5915f0,this[_0x2dc6fc(0x2a3)]=_0x251f15,this[_0x2dc6fc(0x187)]=_0x1faec8,this[_0x2dc6fc(0x405)]=_0x357db0,this[_0x2dc6fc(0x265)]=_0x150ed9,this['_staticRenderController']=_0x42c626,_0x22c1d5(this,_0x2dc6fc(0x421),null),_0x22c1d5(this,_0x2dc6fc(0x217),new _0x8a64a['Subject']()),_0x22c1d5(this,'_visualLayoutChanged$',new _0x8a64a['Subject']()),this[_0x2dc6fc(0x347)]();}[_0x3356d1(0x23a)](_0x2aaa21){const _0x9c38aa=_0x3356d1;let _0x5533ea=this[_0x9c38aa(0x1dc)][_0x9c38aa(0x34a)](_0x2aaa21[_0x9c38aa(0x40e)],_0x2aaa21[_0x9c38aa(0x1ba)]);if(!_0x5533ea)return(0x0,_0x1261b8[_0x9c38aa(0x257)])(()=>{});let _0x5851d4=new _0x56181a(_0x2aaa21[_0x9c38aa(0x1ba)],_0x2aaa21[_0x9c38aa(0x407)],(_0x35c0be,_0x478877)=>this['_renderService'][_0x9c38aa(0x3f3)](_0x35c0be,_0x478877),()=>this['_getActiveRenderRect'](_0x2aaa21),!0x0,()=>this[_0x9c38aa(0x232)](_0x2aaa21)),_0x38777e=this[_0x9c38aa(0x266)][_0x9c38aa(0x15d)](_0x4a61ce['ChartHostRenderMode'][_0x9c38aa(0x2b1)]);_0x38777e['bind'](_0x5851d4);let _0x4f1621=[_0x38777e['on']('click',_0x199f24=>{const _0x35fdae=_0x9c38aa;let _0x1b6136=(0x0,_0xd438e5[_0x35fdae(0x220)])(_0x5533ea[_0x35fdae(0x348)],_0x199f24[_0x35fdae(0x3ff)]);if(!_0x1b6136)return;let _0x4e15eb=(0x0,_0xd438e5['resolveChartEditPanelRoute'])(_0x1b6136[_0x35fdae(0x15a)]);_0x4e15eb&&this[_0x35fdae(0x187)][_0x35fdae(0x156)](_0x568992['id'],{'unitId':_0x2aaa21[_0x35fdae(0x40e)],'chartId':_0x2aaa21[_0x35fdae(0x1ba)],'drawingId':_0x2aaa21[_0x35fdae(0x38c)],'route':_0x4e15eb});}),_0x38777e['on'](_0x9c38aa(0x1db),()=>{const _0x45e9d6=_0x9c38aa;this['_commandService'][_0x45e9d6(0x156)](_0x568992['id'],{'unitId':_0x2aaa21[_0x45e9d6(0x40e)],'chartId':_0x2aaa21[_0x45e9d6(0x1ba)],'drawingId':_0x2aaa21[_0x45e9d6(0x38c)]});})],_0x41b9a0=!0x0;return _0x4f1621[_0x9c38aa(0x3f9)](this[_0x9c38aa(0x320)](_0x5533ea,_0x38777e,_0x5851d4,_0x2aaa21,()=>_0x41b9a0)),(0x0,_0x1261b8['toDisposable'])(()=>{const _0x4d9ac7=_0x9c38aa;_0x41b9a0=!0x1,this['_staticRenderController'][_0x4d9ac7(0x417)](this[_0x4d9ac7(0x3d6)](_0x2aaa21),!0x1),_0x4f1621['forEach'](_0x2fe9f9=>_0x2fe9f9[_0x4d9ac7(0x22c)]()),_0x38777e[_0x4d9ac7(0x22c)](),_0x5851d4[_0x4d9ac7(0x22c)]();});}[_0x3356d1(0x22c)](){const _0x3ab89c=_0x3356d1;this[_0x3ab89c(0x360)](),this['_layoutChanged$'][_0x3ab89c(0x368)](),this[_0x3ab89c(0x332)]['complete'](),super[_0x3ab89c(0x22c)]();}[_0x3356d1(0x347)](){const _0x1044e0=_0x3356d1;this['disposeWithMe'](this[_0x1044e0(0x1ec)]['focus$'][_0x1044e0(0x42a)](_0x382115=>{const _0xf990dd=_0x1044e0;this[_0xf990dd(0x446)](_0x382115);})),this[_0x1044e0(0x1d4)](this['_drawingManagerService'][_0x1044e0(0x2c9)][_0x1044e0(0x42a)](_0x50d98a=>{const _0x2ba1cd=_0x1044e0;let _0x193c78=this[_0x2ba1cd(0x421)];_0x193c78&&_0x50d98a[_0x2ba1cd(0x2e5)](_0x4b50=>_0x378ed3(_0x4b50,_0x193c78))&&this[_0x2ba1cd(0x360)]();})),this[_0x1044e0(0x1d4)](this['_drawingManagerService'][_0x1044e0(0x291)][_0x1044e0(0x42a)](_0x5860b4=>{const _0x5002cd=_0x1044e0;let _0x29f403=this[_0x5002cd(0x421)];if(!_0x29f403){this[_0x5002cd(0x188)](_0x5860b4);return;}let _0x29c852=_0x5860b4[_0x5002cd(0x451)](_0x11c57d=>_0x378ed3(_0x11c57d,_0x29f403));if(_0x29c852){let _0x26b058=this[_0x5002cd(0x1ec)]['getDrawingByParam']({'unitId':_0x29c852[_0x5002cd(0x40e)],'subUnitId':_0x29c852[_0x5002cd(0x423)],'drawingId':_0x29c852['drawingId']});this[_0x5002cd(0x195)](_0x26b058)&&this[_0x5002cd(0x222)](_0x26b058);}})),this['disposeWithMe'](this[_0x1044e0(0x405)]['getCurrentTypeOfUnit$'](_0x1261b8[_0x1044e0(0x1ce)][_0x1044e0(0x256)])[_0x1044e0(0x42a)](_0x3fe81e=>{const _0x1b6ae3=_0x1044e0;let _0x54e2ac=this[_0x1b6ae3(0x421)];_0x54e2ac&&(_0x3fe81e==null?void 0x0:_0x3fe81e[_0x1b6ae3(0x321)]())!==_0x54e2ac[_0x1b6ae3(0x40e)]&&this[_0x1b6ae3(0x360)]();}));}[_0x3356d1(0x320)](_0x1e3e4c,_0x45a230,_0x16d74c,_0x1a67fe,_0x48bb9b){const _0x18273a=_0x3356d1;let _0x54ea08=()=>{const _0x1502da=_0x5cdc;let {chartConfig:_0x8ad5cd,chartStyle:_0x584e20}=this[_0x1502da(0x266)][_0x1502da(0x221)](_0x1e3e4c);Promise[_0x1502da(0x39b)](_0x45a230[_0x1502da(0x40d)]({'chartId':_0x1e3e4c[_0x1502da(0x1ba)],'config':_0x8ad5cd,'style':_0x584e20}))['then'](()=>{const _0x116efb=_0x1502da;_0x48bb9b()&&this[_0x116efb(0x2b6)](_0x1a67fe)&&this[_0x116efb(0x30b)][_0x116efb(0x417)](this[_0x116efb(0x3d6)](_0x1a67fe),!0x0);},()=>{});},_0x10998b=(0x0,_0x8a64a[_0x18273a(0x1b7)])([_0x1e3e4c[_0x18273a(0x348)][_0x18273a(0x2d2)],_0x1e3e4c[_0x18273a(0x348)]['style$'],this[_0x18273a(0x265)][_0x18273a(0x212)]])[_0x18273a(0x32f)]((0x0,_0x8a64a[_0x18273a(0x2c6)])(([_0x2af275])=>_0x2af275!=null))[_0x18273a(0x42a)](_0x54ea08),_0x1371b0=this[_0x18273a(0x217)][_0x18273a(0x32f)]((0x0,_0x8a64a[_0x18273a(0x2c6)])(_0x51b748=>_0x51b748===_0x1a67fe[_0x18273a(0x38c)]))[_0x18273a(0x42a)](_0x54ea08),_0x5ab66e=this[_0x18273a(0x332)][_0x18273a(0x32f)]((0x0,_0x8a64a[_0x18273a(0x2c6)])(_0x5d758c=>_0x5d758c===_0x1a67fe[_0x18273a(0x38c)]))['subscribe'](()=>_0x16d74c['syncLayout']());return(0x0,_0x1261b8['toDisposable'])(()=>{const _0x4be9a9=_0x18273a;_0x10998b[_0x4be9a9(0x3ae)](),_0x1371b0['unsubscribe'](),_0x5ab66e['unsubscribe']();});}[_0x3356d1(0x446)](_0x33a418){const _0x2c111c=_0x3356d1;let _0x2dabd1=(_0x33a418??[])['filter'](_0x363c20=>this[_0x2c111c(0x195)](_0x363c20));if(_0x2dabd1[_0x2c111c(0x32a)]!==0x1){this[_0x2c111c(0x360)]();return;}this[_0x2c111c(0x37f)](_0x2dabd1[0x0]);}[_0x3356d1(0x37f)](_0x3b740c){const _0x57b692=_0x3356d1;var _0x39d2fb,_0x32481c,_0x5e7a8f;let _0x3ce301=this[_0x57b692(0x445)](_0x3b740c),_0x46fc55=this[_0x57b692(0x40a)](_0x3b740c),_0x423204=_0x3b740c[_0x57b692(0x423)]??_0x3b740c[_0x57b692(0x40e)];if(!_0x3ce301||!_0x46fc55){this[_0x57b692(0x360)]();return;}if(((_0x39d2fb=this[_0x57b692(0x421)])==null?void 0x0:_0x39d2fb['unitId'])===_0x3b740c[_0x57b692(0x40e)]&&this[_0x57b692(0x421)]['subUnitId']===_0x423204&&this[_0x57b692(0x421)][_0x57b692(0x38c)]===_0x3b740c['drawingId']&&this['_activeLayer'][_0x57b692(0x1ba)]===_0x3b740c[_0x57b692(0x1ba)]){let _0x822174=this[_0x57b692(0x421)]['scene']!==_0x3ce301['scene'];this[_0x57b692(0x421)][_0x57b692(0x411)]=_0x3ce301[_0x57b692(0x411)],this[_0x57b692(0x421)][_0x57b692(0x33d)]=_0x3ce301[_0x57b692(0x33d)],this['_activeLayer']['angle']=_0x3ce301[_0x57b692(0x3e9)],this[_0x57b692(0x421)][_0x57b692(0x255)]=_0x46fc55,this[_0x57b692(0x421)][_0x57b692(0x2d0)][_0x57b692(0x29a)](_0x3ce301[_0x57b692(0x1e1)]),_0x822174&&this[_0x57b692(0x1fc)](this[_0x57b692(0x421)]);return;}this['_deactivate']();let _0x643c94=new _0x8a64a[(_0x57b692(0x433))](_0x3ce301['position']),_0x2b5e79=this[_0x57b692(0x398)]['getRenderUnitById'](_0x3b740c[_0x57b692(0x40e)]),_0x5030e6=_0x2b5e79==null||(_0x5e7a8f=(_0x32481c=_0x2b5e79[_0x57b692(0x26f)])[_0x57b692(0x35c)])==null?void 0x0:_0x5e7a8f[_0x57b692(0x350)](_0x32481c);this['_canvasFloatDomService'][_0x57b692(0x3e7)]({'id':_0x3b740c[_0x57b692(0x38c)],'componentKey':_0x98b123,'position$':_0x643c94,'unitId':_0x3b740c[_0x57b692(0x40e)],'contentBox':{'wrapperInset':0x0,'contentInset':0x0},'props':{'chartId':_0x3b740c['chartId'],'subUnitId':_0x423204},'onPointerDown':_0x3e1a19=>_0x5030e6==null?void 0x0:_0x5030e6['dispatchEvent'](new PointerEvent(_0x3e1a19['type'],_0x3e1a19)),'onPointerMove':_0x462252=>_0x5030e6==null?void 0x0:_0x5030e6['dispatchEvent'](new PointerEvent(_0x462252[_0x57b692(0x1f6)],_0x462252)),'onPointerUp':_0x1fb85d=>_0x5030e6==null?void 0x0:_0x5030e6[_0x57b692(0x36b)](new PointerEvent(_0x1fb85d[_0x57b692(0x1f6)],_0x1fb85d)),'onWheel':_0x5ba07d=>_0x5030e6==null?void 0x0:_0x5030e6['dispatchEvent'](new WheelEvent(_0x5ba07d[_0x57b692(0x1f6)],_0x5ba07d))}),this[_0x57b692(0x1dc)][_0x57b692(0x213)](_0x3b740c['unitId'],_0x3b740c[_0x57b692(0x1ba)]);let _0x2c8375={'unitId':_0x3b740c[_0x57b692(0x40e)],'subUnitId':_0x423204,'drawingId':_0x3b740c['drawingId'],'chartId':_0x3b740c[_0x57b692(0x1ba)],'scene':_0x3ce301[_0x57b692(0x411)],'sceneRect':_0x3ce301[_0x57b692(0x33d)],'angle':_0x3ce301[_0x57b692(0x3e9)],'renderRect':_0x46fc55,'position$':_0x643c94};this[_0x57b692(0x421)]=_0x2c8375,this[_0x57b692(0x1fc)](_0x2c8375);}[_0x3356d1(0x360)](){const _0x1410b3=_0x3356d1;var _0x3da4d7,_0x58d432;let _0xb3f2bb=this[_0x1410b3(0x421)];_0xb3f2bb&&(this[_0x1410b3(0x421)]=null,(_0x3da4d7=_0xb3f2bb[_0x1410b3(0x17f)])==null||_0x3da4d7[_0x1410b3(0x22c)](),(_0x58d432=_0xb3f2bb[_0x1410b3(0x26e)])==null||_0x58d432['dispose'](),this['_staticRenderController'][_0x1410b3(0x417)]({'unitId':_0xb3f2bb['unitId'],'subUnitId':_0xb3f2bb['subUnitId'],'drawingId':_0xb3f2bb['drawingId']},!0x1),this[_0x1410b3(0x206)][_0x1410b3(0x3c1)](_0xb3f2bb[_0x1410b3(0x38c)]),this[_0x1410b3(0x1dc)]['setActiveChartRuntime'](null),this[_0x1410b3(0x2a3)][_0x1410b3(0x391)](_0xb3f2bb[_0x1410b3(0x40e)],_0xb3f2bb['chartId'],{'waitForConfig':!0x0}),_0xb3f2bb[_0x1410b3(0x2d0)]['complete']());}['_refreshActivePosition'](_0x3ab91e,_0x295080,_0x4cfd18){const _0x33421e=_0x3356d1;let _0x212117=this[_0x33421e(0x421)];(_0x212117==null?void 0x0:_0x212117['unitId'])===_0x3ab91e&&_0x212117[_0x33421e(0x38c)]===_0x295080&&_0x212117['chartId']===_0x4cfd18&&_0x212117['position$'][_0x33421e(0x29a)](_0xb11666(_0x212117['sceneRect'],_0x212117[_0x33421e(0x411)],0x1,_0x212117[_0x33421e(0x3e9)]));}['_refreshActiveLayout'](_0x57f780){const _0x5ce6cd=_0x3356d1;let _0x2a2694=this['_activeLayer'];!_0x2a2694||_0x2a2694[_0x5ce6cd(0x40e)]!==_0x57f780||(this[_0x5ce6cd(0x298)](_0x2a2694[_0x5ce6cd(0x40e)],_0x2a2694[_0x5ce6cd(0x38c)],_0x2a2694[_0x5ce6cd(0x1ba)]),this[_0x5ce6cd(0x332)][_0x5ce6cd(0x29a)](_0x2a2694[_0x5ce6cd(0x38c)]));}[_0x3356d1(0x1fc)](_0x19dd67){const _0x369493=_0x3356d1;var _0x4e5a44,_0x3b271a;(_0x4e5a44=_0x19dd67[_0x369493(0x17f)])==null||_0x4e5a44['dispose'](),(_0x3b271a=_0x19dd67[_0x369493(0x26e)])==null||_0x3b271a['dispose']();let _0x3372bb=_0x19dd67[_0x369493(0x411)][_0x369493(0x3e3)](_0x581f9e[_0x369493(0x29e)]['VIEW_MAIN']);if(!_0x3372bb)return;_0x19dd67[_0x369493(0x17f)]=_0x2e3d04(_0x3372bb[_0x369493(0x161)],()=>{const _0x4c5609=_0x369493;this[_0x4c5609(0x298)](_0x19dd67[_0x4c5609(0x40e)],_0x19dd67[_0x4c5609(0x38c)],_0x19dd67[_0x4c5609(0x1ba)]);});let _0x5331eb=_0x19dd67[_0x369493(0x411)]['onTransformChange$'][_0x369493(0x166)](_0x359254=>{const _0x5985ad=_0x369493;_0x359254['type']!==_0x281c85[_0x5985ad(0x28a)][_0x5985ad(0x37b)]||_0x359254[_0x5985ad(0x3a3)][_0x5985ad(0x1be)]===_0x359254['preValue'][_0x5985ad(0x1be)]&&_0x359254['value'][_0x5985ad(0x2f6)]===_0x359254[_0x5985ad(0x457)][_0x5985ad(0x2f6)]||this[_0x5985ad(0x3b7)](_0x19dd67['unitId']);});_0x19dd67['scaleObserver']=(0x0,_0x1261b8['toDisposable'])(()=>_0x5331eb['unsubscribe']());}[_0x3356d1(0x222)](_0x108e73){const _0x414146=_0x3356d1;let _0x43cb54=this['_getPositionState'](_0x108e73),_0x5dbf05=this[_0x414146(0x40a)](_0x108e73);if(_0x43cb54&&_0x5dbf05){var _0x3a7d33;if(this[_0x414146(0x421)]){let _0x2801f1=this[_0x414146(0x421)][_0x414146(0x411)]!==_0x43cb54['scene'];this[_0x414146(0x421)][_0x414146(0x411)]=_0x43cb54['scene'],this[_0x414146(0x421)][_0x414146(0x33d)]=_0x43cb54[_0x414146(0x33d)],this[_0x414146(0x421)][_0x414146(0x3e9)]=_0x43cb54['angle'],this[_0x414146(0x421)]['renderRect']=_0x5dbf05,_0x2801f1&&this['_bindActiveLayerObservers'](this[_0x414146(0x421)]);}(_0x3a7d33=this['_activeLayer'])==null||_0x3a7d33[_0x414146(0x2d0)][_0x414146(0x29a)](_0x43cb54['position']),this[_0x414146(0x217)][_0x414146(0x29a)](_0x108e73[_0x414146(0x38c)]);}}['_retryActivateFocusedChart'](_0xe54686){const _0x7e2bb0=_0x3356d1;let _0x295ce2=this[_0x7e2bb0(0x1ec)][_0x7e2bb0(0x312)]()[_0x7e2bb0(0x2c6)](_0x51e0f2=>this[_0x7e2bb0(0x195)](_0x51e0f2));_0x295ce2[_0x7e2bb0(0x32a)]===0x1&&_0xe54686[_0x7e2bb0(0x2e5)](_0xbdbf8=>_0x378ed3(_0xbdbf8,_0x295ce2[0x0]))&&this[_0x7e2bb0(0x37f)](_0x295ce2[0x0]);}[_0x3356d1(0x445)](_0x442ce6){const _0x1ddb37=_0x3356d1;let _0x54fc79=_0x442ce6[_0x1ddb37(0x351)];if(!_0x54fc79)return null;let _0x3f11c5=this[_0x1ddb37(0x398)][_0x1ddb37(0x3ee)](_0x442ce6['unitId']);if(!(_0x3f11c5!=null&&_0x3f11c5[_0x1ddb37(0x411)])||!_0x3f11c5['scene'][_0x1ddb37(0x3e3)](_0x581f9e['VIEWPORT_KEY']['VIEW_MAIN']))return null;let _0x2aa872=(0x0,_0x3f42ed['getDrawingShapeKeyByDrawingSearch'])(_0x442ce6),_0x31c35c=_0x3f11c5[_0x1ddb37(0x411)][_0x1ddb37(0x442)](_0x2aa872),_0x6f2161=_0x4f48cd(_0x442ce6,_0x31c35c),_0x58dd1a=_0x6f2161['right']-_0x6f2161[_0x1ddb37(0x378)],_0x2226e3=_0x6f2161['bottom']-_0x6f2161['top'];if(_0x58dd1a<=0x0||_0x2226e3<=0x0)return null;let _0x1e2d50=_0x199ab8([_0x31c35c==null?void 0x0:_0x31c35c['angle'],_0x54fc79[_0x1ddb37(0x3e9)]]);return{'scene':_0x3f11c5[_0x1ddb37(0x411)],'sceneRect':_0x6f2161,'angle':_0x1e2d50,'position':_0xb11666(_0x6f2161,_0x3f11c5[_0x1ddb37(0x411)],0x1,_0x1e2d50)};}[_0x3356d1(0x40a)](_0x31efd0){const _0x579633=_0x3356d1;var _0x1c17a9,_0x3f7da6,_0xc89194,_0xe1b7a;let _0x3d5936=((_0x1c17a9=_0x31efd0[_0x579633(0x351)])==null?void 0x0:_0x1c17a9[_0x579633(0x15f)])??((_0x3f7da6=_0x31efd0[_0x579633(0x426)])==null||(_0x3f7da6=_0x3f7da6[_0x579633(0x317)])==null?void 0x0:_0x3f7da6['width'])??0x0,_0x2d8ed7=((_0xc89194=_0x31efd0[_0x579633(0x351)])==null?void 0x0:_0xc89194[_0x579633(0x1bb)])??((_0xe1b7a=_0x31efd0[_0x579633(0x426)])==null||(_0xe1b7a=_0xe1b7a[_0x579633(0x317)])==null?void 0x0:_0xe1b7a[_0x579633(0x1bb)])??0x0;return _0x3d5936<=0x0||_0x2d8ed7<=0x0?null:{'width':Math[_0x579633(0x17b)](0x1,Math['round'](_0x3d5936)),'height':Math['max'](0x1,Math['round'](_0x2d8ed7))};}[_0x3356d1(0x184)](_0x3fc2a3){const _0xc734b5=_0x3356d1;let _0x222ae4=this['_activeLayer'];if((_0x222ae4==null?void 0x0:_0x222ae4[_0xc734b5(0x40e)])===_0x3fc2a3[_0xc734b5(0x40e)]&&_0x222ae4[_0xc734b5(0x423)]===(_0x3fc2a3[_0xc734b5(0x423)]??_0x3fc2a3[_0xc734b5(0x40e)])&&_0x222ae4[_0xc734b5(0x38c)]===_0x3fc2a3[_0xc734b5(0x38c)]&&_0x222ae4[_0xc734b5(0x1ba)]===_0x3fc2a3['chartId'])return _0x222ae4['renderRect'];let _0x20474e=this[_0xc734b5(0x1ec)][_0xc734b5(0x25a)](this['_getDrawingSearch'](_0x3fc2a3));return this['_isDocChartDrawing'](_0x20474e)?this[_0xc734b5(0x40a)](_0x20474e):null;}[_0x3356d1(0x232)](_0x5ef948){const _0x40acc3=_0x3356d1;let _0x8f2369=this['_activeLayer'];return _0x8f2369&&this[_0x40acc3(0x2b6)](_0x5ef948)?_0x8f2369[_0x40acc3(0x411)][_0x40acc3(0x28f)]():null;}[_0x3356d1(0x3d6)](_0x252266){const _0xb3886e=_0x3356d1;return{'unitId':_0x252266[_0xb3886e(0x40e)],'subUnitId':_0x252266['subUnitId']??_0x252266[_0xb3886e(0x40e)],'drawingId':_0x252266[_0xb3886e(0x38c)]};}[_0x3356d1(0x2b6)](_0x492ec2){const _0x5090ec=_0x3356d1;let _0x2a81ef=this[_0x5090ec(0x421)];return(_0x2a81ef==null?void 0x0:_0x2a81ef[_0x5090ec(0x40e)])===_0x492ec2['unitId']&&_0x2a81ef['subUnitId']===(_0x492ec2[_0x5090ec(0x423)]??_0x492ec2[_0x5090ec(0x40e)])&&_0x2a81ef[_0x5090ec(0x38c)]===_0x492ec2[_0x5090ec(0x38c)]&&_0x2a81ef[_0x5090ec(0x1ba)]===_0x492ec2[_0x5090ec(0x1ba)];}[_0x3356d1(0x195)](_0x3352a4){const _0x753fdf=_0x3356d1;let _0x109f57=_0x3352a4;return(_0x109f57==null?void 0x0:_0x109f57[_0x753fdf(0x1e6)])===_0x1261b8[_0x753fdf(0x2a9)][_0x753fdf(0x22b)]&&typeof _0x109f57[_0x753fdf(0x1ba)]=='string';}};_0x160adf=_0x1a5efb([_0x254d85(0x0,_0x3f42ed[_0x3356d1(0x17a)]),_0x254d85(0x1,_0x281c85[_0x3356d1(0x44a)]),_0x254d85(0x2,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x723a79[_0x3356d1(0x2e1)])),_0x254d85(0x3,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x5f1990[_0x3356d1(0x236)])),_0x254d85(0x4,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x126265)),_0x254d85(0x5,(0x0,_0x1261b8['Inject'])(_0x234bfe)),_0x254d85(0x6,_0x1261b8[_0x3356d1(0x304)]),_0x254d85(0x7,_0x1261b8[_0x3356d1(0x1cd)]),_0x254d85(0x8,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x1261b8[_0x3356d1(0x311)])),_0x254d85(0x9,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x48588c))],_0x160adf);let _0x98b123=_0x3356d1(0x408),_0x772e0c=_0x5cf93f=>{const _0x35cd57=_0x3356d1;let {unitId:_0xbeaf8e,subUnitId:_0x4a7db9,floatDomId:_0x439d12,chartId:_0x394085,context:_0x1847f3}=_0x5cf93f,_0x18071e=(0x0,_0x723a79[_0x35cd57(0x341)])(_0x160adf);return(0x0,_0x435e09[_0x35cd57(0x430)])(()=>{const _0x4e5767=_0x35cd57;let _0x17958d=_0x1847f3[_0x4e5767(0x407)]['current'];if(!_0x17958d)return;let _0x2ab9cb=_0x18071e[_0x4e5767(0x23a)]({'unitId':_0xbeaf8e,'subUnitId':_0x4a7db9,'drawingId':_0x439d12,'chartId':_0x394085,'root':_0x17958d});return()=>_0x2ab9cb[_0x4e5767(0x22c)]();},[_0x18071e,_0x394085,_0x1847f3[_0x35cd57(0x407)],_0x439d12,_0x4a7db9,_0xbeaf8e]),null;},_0x28c3e7=()=>null,_0x3cb1e8=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x415132){const _0x3bf1c7=_0x3356d1;super(),this[_0x3bf1c7(0x3a5)]=_0x415132,this['_registerComponents']();}[_0x3356d1(0x3ba)](){const _0x2ffd1e=_0x3356d1;this['disposeWithMe'](this[_0x2ffd1e(0x3a5)][_0x2ffd1e(0x2f7)](_0x36f509,_0x3142fc)),this['disposeWithMe'](this['_componentManager'][_0x2ffd1e(0x2f7)](_0x1c8fc6,_0x2f7b95)),this[_0x2ffd1e(0x1d4)](this['_componentManager'][_0x2ffd1e(0x2f7)](_0x13ba87,_0x501ade)),this[_0x2ffd1e(0x1d4)](this[_0x2ffd1e(0x3a5)]['register'](_0x1261b8['DOC_DRAWING_PRINTING_COMPONENT_KEY'],_0x28c3e7)),this[_0x2ffd1e(0x1d4)](this[_0x2ffd1e(0x3a5)][_0x2ffd1e(0x2f7)](_0x98b123,_0x772e0c));}};_0x3cb1e8=_0x1a5efb([_0x254d85(0x0,(0x0,_0x1261b8['Inject'])(_0x723a79[_0x3356d1(0x387)]))],_0x3cb1e8);let _0x2448b8=class extends _0x1261b8['Disposable']{constructor(_0x430604,_0x334e24,_0x1c0b14,_0x35745f,_0x366256,_0x4c1435,_0x509a21){const _0x116a7d=_0x3356d1;super(),this['_dialogService']=_0x430604,this[_0x116a7d(0x265)]=_0x334e24,this['_instanceService']=_0x1c0b14,this['_docSelectionManagerService']=_0x35745f,this[_0x116a7d(0x1bc)]=_0x366256,this[_0x116a7d(0x3df)]=_0x4c1435,this[_0x116a7d(0x187)]=_0x509a21,this['_initMenus'](),this[_0x116a7d(0x2ad)]();}[_0x3356d1(0x29b)](_0x5d45db){const _0x4aa924=_0x3356d1;let _0x217cff=null,_0x165c08=()=>{_0x217cff==null||_0x217cff['dispose'](),_0x217cff=null;};return _0x217cff=this[_0x4aa924(0x258)][_0x4aa924(0x40b)]({'id':_0x4aa924(0x264),'title':{'title':this[_0x4aa924(0x265)]['t'](_0x4aa924(0x435))},'className':(0x0,_0x5e2ef6[_0x4aa924(0x3d9)])(_0x4aa924(0x2b0)),'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x36f509,'props':{'defaultChartType':(_0x5d45db==null?void 0x0:_0x5d45db[_0x4aa924(0x268)])??(_0x5d45db==null?void 0x0:_0x5d45db[_0x4aa924(0x3a3)]),'defaultTableText':_0x5d45db==null?void 0x0:_0x5d45db[_0x4aa924(0x1fa)],'insertOptions':{'insertRange':(_0x5d45db==null?void 0x0:_0x5d45db['insertRange'])??this[_0x4aa924(0x38f)]()},'onCancel':_0x165c08,'onInserted':_0x165c08}}},'onClose':_0x165c08}),!0x0;}[_0x3356d1(0x2f5)](_0x17c591){const _0x46661a=_0x3356d1;let _0xf0d0cc=null,_0x3be2e8=()=>{_0xf0d0cc==null||_0xf0d0cc['dispose'](),_0xf0d0cc=null;};return _0xf0d0cc=this['_dialogService'][_0x46661a(0x40b)]({'id':_0x26f886,'title':{'title':this[_0x46661a(0x265)]['t'](_0x46661a(0x435))},'width':0x3d4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x13ba87,'props':{..._0x17c591,'onClose':_0x3be2e8}}},'onClose':_0x3be2e8}),!0x0;}[_0x3356d1(0x245)](){const _0x301f3a=_0x3356d1;this[_0x301f3a(0x3df)][_0x301f3a(0x228)](_0x1813dd);}[_0x3356d1(0x2ad)](){const _0x278fb6=_0x3356d1;this[_0x278fb6(0x1d4)](this[_0x278fb6(0x187)][_0x278fb6(0x37d)](_0x5452e0=>{const _0x22bc6c=_0x278fb6;if(_0x5452e0['id']===_0xa99d93['id']){this['openInsertDialog'](_0x5452e0[_0x22bc6c(0x269)]);return;}if(_0x5452e0['id']===_0x568992['id']){let _0x4c0a80=_0x5452e0['params'];_0x4c0a80&&this['openEditorDialog'](_0x4c0a80);}}));}[_0x3356d1(0x38f)](){const _0x5be7e2=_0x3356d1;let _0x44ea3b=this['_instanceService']['getCurrentUnitOfType'](_0x1261b8[_0x5be7e2(0x1ce)][_0x5be7e2(0x256)]);if(!_0x44ea3b)return;let _0x85ebb2=_0x44ea3b['getUnitId'](),_0x5f05c1=null;try{_0x5f05c1=this[_0x5be7e2(0x1bc)]['consumeInsertRange'](_0x85ebb2);}catch{_0x5f05c1=null;}if(_0x5f05c1){let _0x2a38b8={'startOffset':_0x5f05c1[_0x5be7e2(0x418)],'endOffset':_0x5f05c1[_0x5be7e2(0x425)],'collapsed':_0x5f05c1[_0x5be7e2(0x418)]===_0x5f05c1['endOffset'],'segmentId':_0x5f05c1[_0x5be7e2(0x458)]??''};return _0x49ffc3(_0x44ea3b,_0x2a38b8)?_0x2a38b8:void 0x0;}let _0x395945=[...this[_0x5be7e2(0x1a5)][_0x5be7e2(0x1c1)]()??[]];if(_0x395945[_0x5be7e2(0x32a)]!==0x1)return;let _0x390137=this[_0x5be7e2(0x1a5)][_0x5be7e2(0x303)]()??_0x395945[0x0];if(!_0x390137||!_0x390137[_0x5be7e2(0x1a0)]||_0x390137['startOffset']==null)return;let _0x5d39ed={..._0x390137,'segmentId':_0x390137[_0x5be7e2(0x458)]??''};return _0x49ffc3(_0x44ea3b,_0x5d39ed)?_0x5d39ed:void 0x0;}};_0x2448b8=_0x1a5efb([_0x254d85(0x0,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x723a79[_0x3356d1(0x386)])),_0x254d85(0x1,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x1261b8[_0x3356d1(0x311)])),_0x254d85(0x2,_0x1261b8[_0x3356d1(0x1cd)]),_0x254d85(0x3,(0x0,_0x1261b8['Inject'])(_0x4fd56f['DocSelectionManagerService'])),_0x254d85(0x4,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x4fd56f[_0x3356d1(0x14d)])),_0x254d85(0x5,_0x723a79['IMenuManagerService']),_0x254d85(0x6,_0x1261b8[_0x3356d1(0x304)])],_0x2448b8);let _0x5e4a5f=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x157ce9,_0x4e38bd){const _0x359211=_0x3356d1;super(),this['_snapshotService']=_0x4e38bd,this[_0x359211(0x1d4)](_0x157ce9[_0x359211(0x2f7)](this));}[_0x3356d1(0x382)](_0xde26d){const _0x467ebf=_0x3356d1;return _0x467ebf(0x40e)in _0xde26d&&_0x467ebf(0x26d)in _0xde26d;}[_0x3356d1(0x3e0)](_0x345cac,_0x11b710){const _0x6556ed=_0x3356d1;if(!this['supports'](_0x345cac))return Promise[_0x6556ed(0x39b)](void 0x0);let _0x269915=_0x345cac[_0x6556ed(0x18b)]()[_0x6556ed(0x317)];return this['_snapshotService']['exportImage']({'unitId':_0x345cac['unitId'],'chartId':_0x345cac[_0x6556ed(0x2a8)](),'width':Math[_0x6556ed(0x17b)](0x1,(_0x269915==null?void 0x0:_0x269915['width'])??0x1),'height':Math[_0x6556ed(0x17b)](0x1,(_0x269915==null?void 0x0:_0x269915[_0x6556ed(0x1bb)])??0x1),'format':_0x11b710==null?void 0x0:_0x11b710[_0x6556ed(0x364)],'mode':_0x6556ed(0x2fe)});}};_0x5e4a5f=_0x1a5efb([_0x254d85(0x0,(0x0,_0x1261b8['Inject'])(_0xd438e5[_0x3356d1(0x2d8)])),_0x254d85(0x1,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x234bfe))],_0x5e4a5f);function _0x4fb069(_0x5a9333,_0x1f8a6a,_0x4f6674){const _0x49eefd=_0x3356d1;let _0x29a280=_0x4f6674[_0x49eefd(0x27c)]??0x0,_0x3f417b=_0x4f6674[_0x49eefd(0x1b5)]??0x0,_0x5ebddb=_0x29a280;for(let _0x3abe68 of _0x1f8a6a){let _0x1ea5a3=_0x3abe68[_0x49eefd(0x2db)][_0x49eefd(0x1ae)](_0x5a9333[_0x49eefd(0x38c)]);if(_0x1ea5a3)return{'left':_0x3f417b+_0x3abe68[_0x49eefd(0x314)]+_0x1ea5a3[_0x49eefd(0x155)],'top':_0x5ebddb+_0x3abe68[_0x49eefd(0x2e3)]+_0x1ea5a3['aTop'],'width':_0x1ea5a3[_0x49eefd(0x15f)],'height':_0x1ea5a3['height'],'angle':_0x1ea5a3[_0x49eefd(0x3e9)],'flipX':_0x5a9333['docTransform'][_0x49eefd(0x318)],'flipY':_0x5a9333[_0x49eefd(0x426)][_0x49eefd(0x29f)]};let _0x44bf8c=Number[_0x49eefd(0x21e)](_0x3abe68[_0x49eefd(0x37a)])?_0x3abe68[_0x49eefd(0x37a)]:_0x3abe68[_0x49eefd(0x1bb)];_0x5ebddb+=Math['max'](0x0,_0x44bf8c)+_0x4f6674[_0x49eefd(0x3bb)];}return null;}let _0x2d0647=class extends _0x1261b8[_0x3356d1(0x427)]{constructor(_0x36c557,_0x17b707,_0x58b87d,_0x49a7fa){const _0x29ece5=_0x3356d1;super(),this['_drawingManagerService']=_0x36c557,this[_0x29ece5(0x398)]=_0x17b707,this[_0x29ece5(0x2a3)]=_0x58b87d,this[_0x29ece5(0x371)]=_0x49a7fa,_0x22c1d5(this,'_preparedCharts',new Map());let _0x1d4944=this[_0x29ece5(0x371)][_0x29ece5(0x177)];_0x1d4944&&this['disposeWithMe'](_0x1d4944['call'](this[_0x29ece5(0x371)],_0x5aedba=>this[_0x29ece5(0x243)](_0x5aedba))),this['_initPrinting']();}async[_0x3356d1(0x243)](_0x4b865d){const _0x5eb7bc=_0x3356d1;let _0x5ace31=this[_0x5eb7bc(0x248)](_0x4b865d[_0x5eb7bc(0x40e)]),_0x1d261b=new Map();this[_0x5eb7bc(0x338)][_0x5eb7bc(0x3d0)](_0x4b865d[_0x5eb7bc(0x40e)],_0x1d261b),await Promise[_0x5eb7bc(0x1a2)](_0x5ace31[_0x5eb7bc(0x24d)](async _0x250fcf=>{const _0x34ac0f=_0x5eb7bc;let _0x12ad52=_0x1bd984(_0x250fcf);if(!_0x12ad52)return;let _0x42d42a={'unitId':_0x4b865d[_0x34ac0f(0x40e)],'chartId':_0x250fcf[_0x34ac0f(0x1ba)],'width':_0x12ad52[_0x34ac0f(0x15f)],'height':_0x12ad52[_0x34ac0f(0x1bb)],'dpr':_0x4b865d[_0x34ac0f(0x173)],'mode':_0x34ac0f(0x3fd)},_0x393ca6={..._0x42d42a,'dpr':_0x4a61ce[_0x34ac0f(0x227)],'mode':_0x34ac0f(0x3d4)},_0x2a4626=this['_snapshotRenderService']['getSnapshot'](_0x393ca6),_0x5c7cb1=(_0x2a4626==null?void 0x0:_0x2a4626['status'])===_0x34ac0f(0x19d)?this[_0x34ac0f(0x3b8)](_0x250fcf):null;if(_0x5c7cb1){_0x1d261b['set'](_0x250fcf[_0x34ac0f(0x38c)],{'image':_0x5c7cb1});return;}let _0x39ecde=(_0x2a4626==null?void 0x0:_0x2a4626[_0x34ac0f(0x20b)])===_0x34ac0f(0x19d)?_0x2a4626[_0x34ac0f(0x30f)]:await this[_0x34ac0f(0x2a3)]['exportImage']((_0x2a4626==null?void 0x0:_0x2a4626['status'])===_0x34ac0f(0x32e)?_0x393ca6:_0x42d42a);_0x39ecde&&_0x1d261b[_0x34ac0f(0x3d0)](_0x250fcf[_0x34ac0f(0x38c)],{'image':await _0x4b332e(_0x39ecde)});}));}['_initPrinting'](){const _0x3086c2=_0x3356d1;this[_0x3086c2(0x1d4)](this[_0x3086c2(0x371)][_0x3086c2(0x2df)][_0x3086c2(0x335)](this[_0x3086c2(0x371)][_0x3086c2(0x2df)][_0x3086c2(0x38d)]()[_0x3086c2(0x25d)],{'handler':(_0xdeac10,{unitId:_0x12c69a,scene:_0x5e8197,skeleton:_0x357309,documents:_0x3f1cda},_0x32548b)=>{const _0x1711d9=_0x3086c2;var _0x42ed1f,_0x58af7f;let _0x4e3aea=_0x32548b(_0xdeac10),_0x278f72=this[_0x1711d9(0x338)][_0x1711d9(0x1ae)](_0x12c69a),_0x7ddc52=((_0x42ed1f=_0x357309[_0x1711d9(0x393)]())==null?void 0x0:_0x42ed1f[_0x1711d9(0x2fb)])??[];if(!(_0x278f72!=null&&_0x278f72[_0x1711d9(0x317)])||!_0x7ddc52[_0x1711d9(0x32a)])return _0x4e3aea;let _0x103403=(_0x58af7f=this[_0x1711d9(0x1ec)][_0x1711d9(0x3eb)](_0x12c69a))==null?void 0x0:_0x58af7f[_0x12c69a];return _0x103403==null||_0x103403['order'][_0x1711d9(0x154)]((_0x57a4a8,_0x32871a)=>{const _0x4a3dc3=_0x1711d9;let _0x5befd8=_0x103403[_0x4a3dc3(0x20c)][_0x57a4a8],_0xadcc79=_0x278f72[_0x4a3dc3(0x1ae)](_0x57a4a8);if(!_0xadcc79||_0x5befd8[_0x4a3dc3(0x43f)]||_0x5befd8['drawingType']!==_0x1261b8[_0x4a3dc3(0x2a9)][_0x4a3dc3(0x22b)])return;let _0x2529c0={..._0x4fb069(_0x5befd8,_0x7ddc52,_0x3f1cda[_0x4a3dc3(0x3b9)]())??(0x0,_0x4fd56f[_0x4a3dc3(0x38b)])(_0x5befd8[_0x4a3dc3(0x426)]),'image':_0xadcc79['image'],'printable':!0x0,'forceRender':!0x0,'zIndex':_0x32871a};_0x5e8197[_0x4a3dc3(0x172)](new _0x281c85['Image']((0x0,_0x3f42ed['getDrawingShapeKeyByDrawingSearch'])(_0x5befd8),_0x2529c0),_0x281c85['DRAWING_OBJECT_LAYER_INDEX']);}),_0x4e3aea;}}));}[_0x3356d1(0x248)](_0xa96b78){const _0x12083a=_0x3356d1;var _0x3c99c9;let _0x2996eb=(_0x3c99c9=this[_0x12083a(0x1ec)][_0x12083a(0x3eb)](_0xa96b78))==null?void 0x0:_0x3c99c9[_0xa96b78];return(_0x2996eb==null?void 0x0:_0x2996eb[_0x12083a(0x330)]['map'](_0x1f7c58=>_0x2996eb[_0x12083a(0x20c)][_0x1f7c58])[_0x12083a(0x2c6)](_0x1ff8b0=>_0x1ff8b0[_0x12083a(0x1e6)]===_0x1261b8['DrawingTypeEnum'][_0x12083a(0x22b)]&&!_0x1ff8b0['hidden']&&!!_0x1ff8b0[_0x12083a(0x1ba)]))??[];}[_0x3356d1(0x3b8)](_0x5edaca){const _0x27ce8b=_0x3356d1;var _0x391edf,_0x25f216;let _0x44b846=(_0x391edf=this[_0x27ce8b(0x398)][_0x27ce8b(0x3ee)](_0x5edaca[_0x27ce8b(0x40e)]))==null?void 0x0:_0x391edf['scene'],_0x805bc5=_0x44b846==null?void 0x0:_0x44b846[_0x27ce8b(0x442)]((0x0,_0x3f42ed[_0x27ce8b(0x30a)])(_0x5edaca)),_0x361f81=_0x805bc5==null||(_0x25f216=_0x805bc5['getNative'])==null?void 0x0:_0x25f216['call'](_0x805bc5);return _0x361f81!=null&&_0x361f81[_0x27ce8b(0x368)]&&_0x361f81[_0x27ce8b(0x26c)]>0x0?_0x361f81:null;}};_0x2d0647=_0x1a5efb([_0x254d85(0x0,_0x3f42ed[_0x3356d1(0x17a)]),_0x254d85(0x1,_0x281c85[_0x3356d1(0x44a)]),_0x254d85(0x2,(0x0,_0x1261b8['Inject'])(_0x234bfe)),_0x254d85(0x3,(0x0,_0x1261b8[_0x3356d1(0x2e7)])(_0x581f9e[_0x3356d1(0x3ce)]))],_0x2d0647);function _0x1bd984(_0x27ccfc){const _0x473e8b=_0x3356d1;var _0xfd6504,_0x17e4d1,_0x142e70,_0x37f11b;let _0x5dd005=((_0xfd6504=_0x27ccfc['transform'])==null?void 0x0:_0xfd6504[_0x473e8b(0x15f)])??((_0x17e4d1=_0x27ccfc[_0x473e8b(0x426)])==null||(_0x17e4d1=_0x17e4d1[_0x473e8b(0x317)])==null?void 0x0:_0x17e4d1['width'])??0x0,_0x41357f=((_0x142e70=_0x27ccfc['transform'])==null?void 0x0:_0x142e70[_0x473e8b(0x1bb)])??((_0x37f11b=_0x27ccfc['docTransform'])==null||(_0x37f11b=_0x37f11b[_0x473e8b(0x317)])==null?void 0x0:_0x37f11b[_0x473e8b(0x1bb)])??0x0;return _0x5dd005>0x0&&_0x41357f>0x0?{'width':Math[_0x473e8b(0x17b)](0x1,Math[_0x473e8b(0x167)](_0x5dd005)),'height':Math[_0x473e8b(0x17b)](0x1,Math['round'](_0x41357f))}:null;}function _0x4b332e(_0xa63a28){return new Promise((_0x4e8e10,_0x1d8dc6)=>{const _0x1c7e0e=_0x5cdc;let _0x2d2059=new globalThis[(_0x1c7e0e(0x2bc))](),_0x5bc56a=globalThis[_0x1c7e0e(0x16e)](()=>_0x1d8dc6(Error(_0x1c7e0e(0x22a))),0x2710),_0x3dd2f4=_0x5cabac=>{globalThis['clearTimeout'](_0x5bc56a),_0x2d2059['onload']=null,_0x2d2059['onerror']=null,_0x5cabac();};_0x2d2059[_0x1c7e0e(0x21d)]=()=>_0x3dd2f4(()=>_0x4e8e10(_0x2d2059)),_0x2d2059[_0x1c7e0e(0x259)]=()=>_0x3dd2f4(()=>_0x1d8dc6(Error('Failed\x20to\x20load\x20document\x20chart\x20print\x20image.'))),_0x2d2059['src']=_0xa63a28,_0x2d2059['complete']&&_0x2d2059['naturalWidth']>0x0&&_0x3dd2f4(()=>_0x4e8e10(_0x2d2059));});}let _0x7d8f00=class extends _0x1261b8['Plugin']{constructor(_0x25841a=_0x25925f,_0x3a7a8d,_0x5c5653,_0x2b764b){const _0x40cb28=_0x3356d1;super(),this['_config']=_0x25841a,this[_0x40cb28(0x14a)]=_0x3a7a8d,this[_0x40cb28(0x214)]=_0x5c5653,this[_0x40cb28(0x187)]=_0x2b764b;let {..._0x2ea0e4}=(0x0,_0x1261b8[_0x40cb28(0x3e1)])({},_0x25925f,this[_0x40cb28(0x3c5)]);this[_0x40cb28(0x214)][_0x40cb28(0x252)](_0x495e46,_0x2ea0e4),this[_0x40cb28(0x42d)]();}[_0x3356d1(0x280)](){const _0x45f1ab=_0x3356d1;let _0x492c6d=this['_injector'];[[_0x3cb1e8],[_0x29179b],[_0x24fb23],[_0x49e08a,{'useClass':_0x37b489}],[_0x160adf],[_0x2d0647],[_0x126265],[_0x234bfe],[_0x5e4a5f],[_0x3c2c5e],[_0x48588c],[_0x59eed4],[_0x31f6fe],[_0x2448b8]]['forEach'](_0x26d7b0=>_0x492c6d[_0x45f1ab(0x450)](_0x26d7b0)),(0x0,_0x1261b8[_0x45f1ab(0x2c2)])(_0x492c6d,[[_0x29179b],[_0x24fb23],[_0x49e08a],[_0x160adf],[_0x2d0647],[_0x126265],[_0x234bfe],[_0x5e4a5f],[_0x59eed4],[_0x31f6fe]]),this[_0x45f1ab(0x14a)][_0x45f1ab(0x1ae)](_0x3cb1e8);}['onReady'](){const _0x3efaa9=_0x3356d1;this['_injector'][_0x3efaa9(0x1ae)](_0x3c2c5e),this['_injector'][_0x3efaa9(0x1ae)](_0x48588c),this[_0x3efaa9(0x14a)]['get'](_0x59eed4),this['_injector'][_0x3efaa9(0x1ae)](_0x31f6fe),this[_0x3efaa9(0x14a)][_0x3efaa9(0x1ae)](_0x2448b8);}[_0x3356d1(0x42d)](){const _0x791421=_0x3356d1;[_0xa99d93,_0x568992][_0x791421(0x154)](_0x189045=>{const _0x4bc566=_0x791421;this['disposeWithMe'](this['_commandService'][_0x4bc566(0x1a3)](_0x189045));});}};_0x22c1d5(_0x7d8f00,_0x3356d1(0x1f6),_0x1261b8[_0x3356d1(0x1ce)][_0x3356d1(0x256)]),_0x22c1d5(_0x7d8f00,_0x3356d1(0x168),'UniverDocsChartUIPlugin'),_0x22c1d5(_0x7d8f00,'packageName',_0x4ca9c1),_0x22c1d5(_0x7d8f00,'version',_0x453a08),_0x7d8f00=_0x1a5efb([(0x0,_0x1261b8[_0x3356d1(0x191)])(_0x27aab1[_0x3356d1(0x158)],_0x4fd56f[_0x3356d1(0x190)],_0x3f42ed[_0x3356d1(0x2dd)],_0x281c85[_0x3356d1(0x250)],_0x40d78a[_0x3356d1(0x277)],_0x581f9e['UniverDocsUIPlugin'],_0xd438e5['UniverChartUIPlugin'],_0x5f1990['UniverDocsChartPlugin'],_0x3f90bd[_0x3356d1(0x2f9)]),_0x254d85(0x1,(0x0,_0x1261b8['Inject'])(_0x1261b8['Injector'])),_0x254d85(0x2,_0x1261b8[_0x3356d1(0x1f4)]),_0x254d85(0x3,_0x1261b8['ICommandService'])],_0x7d8f00),_0x581a49[_0x3356d1(0x16d)]=_0x495e46,_0x581a49['DOC_ACTIVE_CHART_COMPONENT']=_0x98b123,_0x581a49[_0x3356d1(0x380)]=_0x238420,_0x581a49[_0x3356d1(0x41c)]=_0x1c8fc6,_0x581a49[_0x3356d1(0x424)]='doc-chart.dialog.data-editor',_0x581a49[_0x3356d1(0x2fc)]=_0x13ba87,_0x581a49[_0x3356d1(0x24f)]=_0x26f886,_0x581a49[_0x3356d1(0x292)]=_0x224d06,_0x581a49[_0x3356d1(0x2ee)]=_0x266627,_0x581a49['DOC_CHART_INSERT_PANEL_COMPONENT']=_0x36f509,_0x581a49[_0x3356d1(0x372)]=_0x772e0c,Object[_0x3356d1(0x17d)](_0x581a49,_0x3356d1(0x2f0),{'enumerable':!0x0,'get':function(){return _0x160adf;}}),Object[_0x3356d1(0x17d)](_0x581a49,'DocChartClipboardController',{'enumerable':!0x0,'get':function(){return _0x59eed4;}}),Object[_0x3356d1(0x17d)](_0x581a49,_0x3356d1(0x33e),{'enumerable':!0x0,'get':function(){return _0x24fb23;}}),_0x581a49[_0x3356d1(0x339)]=_0x2f7b95,_0x581a49[_0x3356d1(0x310)]=_0x3469b7,Object['defineProperty'](_0x581a49,_0x3356d1(0x2cb),{'enumerable':!0x0,'get':function(){return _0x31f6fe;}}),_0x581a49[_0x3356d1(0x31e)]=_0x1890ad,_0x581a49[_0x3356d1(0x290)]=_0x501ade,_0x581a49[_0x3356d1(0x37e)]=_0x20c0fa,_0x581a49[_0x3356d1(0x1a8)]=_0x20e55e,_0x581a49[_0x3356d1(0x3d1)]=_0x3142fc,_0x581a49['DocChartInsertRibbonMenuItemFactory']=_0xe2aae8,Object[_0x3356d1(0x17d)](_0x581a49,_0x3356d1(0x2eb),{'enumerable':!0x0,'get':function(){return _0x29179b;}}),Object[_0x3356d1(0x17d)](_0x581a49,'DocChartPrintService',{'enumerable':!0x0,'get':function(){return _0x2d0647;}}),Object[_0x3356d1(0x17d)](_0x581a49,_0x3356d1(0x397),{'enumerable':!0x0,'get':function(){return _0x126265;}}),Object[_0x3356d1(0x17d)](_0x581a49,_0x3356d1(0x275),{'enumerable':!0x0,'get':function(){return _0x3c2c5e;}}),Object[_0x3356d1(0x17d)](_0x581a49,'DocChartSnapshotRenderService',{'enumerable':!0x0,'get':function(){return _0x234bfe;}}),Object[_0x3356d1(0x17d)](_0x581a49,_0x3356d1(0x294),{'enumerable':!0x0,'get':function(){return _0x37b489;}}),_0x581a49[_0x3356d1(0x306)]=_0x56181a,_0x581a49[_0x3356d1(0x35a)]=_0x28c3e7,_0x581a49['DocsChartUIMenuSchema']=_0x1813dd,_0x581a49['IDocChartSnapshotRendererService']=_0x316e14,_0x581a49[_0x3356d1(0x28c)]=_0x49e08a,_0x581a49[_0x3356d1(0x3fb)]=_0x568992,_0x581a49['OpenDocChartInsertDialogOperation']=_0xa99d93,Object[_0x3356d1(0x17d)](_0x581a49,_0x3356d1(0x15e),{'enumerable':!0x0,'get':function(){return _0x7d8f00;}}),_0x581a49[_0x3356d1(0x384)]=_0x25925f,_0x581a49[_0x3356d1(0x43e)]=_0x94231c;}));