@univerjs-pro/sheets-sparkline-ui 0.12.1-nightly.202511221011 → 0.12.2-nightly.202511241159
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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4424ef=_0xc14d;(function(_0x328e32,_0x5d9dd1){const _0x53044a=_0xc14d,_0x4c0761=_0x328e32();while(!![]){try{const _0x50803e=-parseInt(_0x53044a(0x2c6))/0x1+parseInt(_0x53044a(0x2d7))/0x2*(parseInt(_0x53044a(0x1ba))/0x3)+parseInt(_0x53044a(0x16d))/0x4+parseInt(_0x53044a(0x2cf))/0x5+-parseInt(_0x53044a(0x135))/0x6*(-parseInt(_0x53044a(0x178))/0x7)+-parseInt(_0x53044a(0x171))/0x8*(-parseInt(_0x53044a(0x271))/0x9)+-parseInt(_0x53044a(0x184))/0xa;if(_0x50803e===_0x5d9dd1)break;else _0x4c0761['push'](_0x4c0761['shift']());}catch(_0x367fb6){_0x4c0761['push'](_0x4c0761['shift']());}}}(_0x7ab7,0xc841f));var An=Object[_0x4424ef(0x268)],Ln=(_0x114b19,_0x1c60d2,_0x3fe622)=>_0x1c60d2 in _0x114b19?An(_0x114b19,_0x1c60d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fe622}):_0x114b19[_0x1c60d2]=_0x3fe622,tn=(_0x4ca41c,_0x1a9acf,_0x545a0a)=>Ln(_0x4ca41c,typeof _0x1a9acf!=_0x4424ef(0x26a)?_0x1a9acf+'':_0x1a9acf,_0x545a0a);Object[_0x4424ef(0x268)](exports,Symbol[_0x4424ef(0x255)],{'value':_0x4424ef(0x186)});const u=require('@univerjs-pro/sheets-sparkline'),o=require('@univerjs/core'),Hn=require('@univerjs/engine-render'),kn=require('@univerjs/sheets-graphics'),G=require('@univerjs/ui'),W=require('@univerjs/sheets'),oe=require('@univerjs/sheets-ui'),B=require('react'),l=require('react/jsx-runtime'),O=require('@univerjs/design'),Fe=require('@univerjs/engine-formula'),mn=require('@univerjs/sheets-formula-ui'),ue=require('rxjs'),un=_0x4424ef(0x1bb),we=_0x4424ef(0x1f2),yn=_0x4424ef(0x2a7),Ie=_0x4424ef(0x199),Un=_0x4424ef(0x192),We={'id':_0x4424ef(0x1e1),'type':o[_0x4424ef(0x175)][_0x4424ef(0x18b)],'handler':_0x42b6f8=>{const _0x32cd15=_0x4424ef,_0x13e818=_0x42b6f8[_0x32cd15(0x2e9)](G['ISidebarService']),_0x3ca4fd=_0x42b6f8['get'](o[_0x32cd15(0x201)]),_0x1d1625=_0x42b6f8[_0x32cd15(0x2e9)](G[_0x32cd15(0x2ca)]),_0x25938e={'id':Ie,'header':{'title':_0x3ca4fd['t'](_0x32cd15(0x145))},'children':{'label':yn},'width':0x14a,'destroyOnClose':!0x0,'onClose':()=>{const _0x364bef=_0x32cd15;_0x1d1625[_0x364bef(0x1e2)](we);}};return _0x13e818[_0x32cd15(0x2b2)](_0x25938e),!0x0;}},dn={'type':o[_0x4424ef(0x175)][_0x4424ef(0x18b)],'id':_0x4424ef(0x117),'handler':async _0x467b41=>{const _0x555904=_0x4424ef,_0x144c75=_0x467b41[_0x555904(0x2e9)](o[_0x555904(0x1d4)]),_0xd7ebd7=W[_0x555904(0x2c2)](_0x144c75);if(!_0xd7ebd7)return!0x1;const _0x1facee=_0x467b41[_0x555904(0x2e9)](W[_0x555904(0x273)])[_0x555904(0x245)]()[_0x555904(0x2aa)](_0x5bec7d=>_0x5bec7d[_0x555904(0x19a)]),_0x28c189=await Rn(_0x467b41,_0x1facee);if(!_0x28c189)return!0x1;const {unitId:_0x1852f6,subUnitId:_0x347bc8}=_0xd7ebd7;return _0x467b41['get'](o[_0x555904(0x242)])[_0x555904(0x14e)](u['AddSheetSparklineCommand']['id'],{'sourceRanges':_0x28c189['sourceRanges'],'targetRanges':_0x28c189['targetRanges'],'targetInfo':{'unitId':_0x1852f6,'subUnitId':_0x347bc8}}),!0x0;}};async function Rn(_0x9a8793,_0x260d51,_0x28d2a3,_0x1e8e39){const _0x563206=_0x4424ef,_0x44faae=_0x9a8793[_0x563206(0x2e9)](G[_0x563206(0x2ca)]),_0x44d014=_0x9a8793[_0x563206(0x2e9)](o[_0x563206(0x201)]);return new Promise(_0x40893f=>{const _0x1f4ffc=_0x563206;let _0x2ea0cf;const _0x547851={'sourceRanges':_0x260d51,'targetRanges':_0x28d2a3,'resetCtx':_0x1e8e39,'onConfirm':_0x2944b9=>{const _0x40cc9c=_0xc14d;_0x40893f(_0x2944b9),_0x2ea0cf==null||_0x2ea0cf[_0x40cc9c(0x244)]();},'onCancel':()=>{const _0x133f27=_0xc14d;_0x40893f(null),_0x2ea0cf==null||_0x2ea0cf[_0x133f27(0x244)]();}};_0x2ea0cf=_0x44faae[_0x1f4ffc(0x2b2)]({'id':we,'title':{'title':_0x44d014['t'](_0x1f4ffc(0x225))},'draggable':!0x0,'mask':!0x1,'maskClosable':!0x1,'destroyOnClose':!0x0,'children':{'label':{'name':we,'props':_0x547851}},'width':0x190,'onClose':()=>{const _0x2f2f8d=_0x1f4ffc;_0x2ea0cf[_0x2f2f8d(0x244)]();}});});}const On=_0x4424ef(0x213),gn={};var Vn=Object['getOwnPropertyDescriptor'],$n=(_0x578b74,_0x37c1bf,_0x411626,_0x1bce05)=>{for(var _0x3f09a0=_0x1bce05>0x1?void 0x0:_0x1bce05?Vn(_0x37c1bf,_0x411626):_0x37c1bf,_0x3d104d=_0x578b74['length']-0x1,_0x140db5;_0x3d104d>=0x0;_0x3d104d--)(_0x140db5=_0x578b74[_0x3d104d])&&(_0x3f09a0=_0x140db5(_0x3f09a0)||_0x3f09a0);return _0x3f09a0;},Be=(_0x5ac523,_0x5f567c)=>(_0x252930,_0x34c0af)=>_0x5f567c(_0x252930,_0x34c0af,_0x5ac523);let Ye=class extends o[_0x4424ef(0x1a6)]{constructor(_0x574566,_0x93b5e1,_0x3fbf93,_0x177da8){const _0x333bb7=_0x4424ef;super(),this[_0x333bb7(0x2b5)]=_0x574566,this[_0x333bb7(0x267)]=_0x93b5e1,this['_autoFillService']=_0x3fbf93,this['_sparklineDataSourceModel']=_0x177da8,this['_initAutoFillWithSparkline']();}[_0x4424ef(0x1b4)](){const _0x1c3584=_0x4424ef,_0x352119=()=>({'redos':[],'undos':[]}),_0x1311a9=(_0x4cde32,_0x24e664)=>{const _0x164ff2=_0xc14d;var _0x118a04,_0x32318f,_0x38cc77,_0xe84b1c;const _0x138bef=[],_0x11734d=[],{source:_0x211956,target:_0x430fac,unitId:_0x3bcd23,subUnitId:_0x1f0d34}=_0x4cde32;if(!_0x211956||!_0x430fac||_0x24e664==null)return{'undos':_0x138bef,'redos':_0x11734d};const _0x28a359=oe['discreteRangeToRange'](_0x211956),_0x36624b=oe['discreteRangeToRange'](_0x430fac),_0x408150=_0x28a359[_0x164ff2(0x131)]-_0x28a359[_0x164ff2(0x27f)]+0x1,_0x6e5d00=_0x28a359[_0x164ff2(0x1b6)]-_0x28a359['startColumn']+0x1,_0x1ac9d2=_0x36624b[_0x164ff2(0x131)]-_0x36624b['startRow']+0x1,_0x789bb0=_0x36624b[_0x164ff2(0x1b6)]-_0x36624b[_0x164ff2(0x163)]+0x1;if(o[_0x164ff2(0x286)][_0x164ff2(0x257)](_0x28a359,_0x36624b))return{'undos':_0x138bef,'redos':_0x11734d};if(_0x24e664===o['Direction']['UP']){const _0x153ab9={},_0x2fa18c={},_0x813035=new Set();for(let _0x271dde=0x0;_0x271dde<_0x6e5d00;_0x271dde++)for(let _0x4a06d4=0x0;_0x4a06d4<_0x1ac9d2;_0x4a06d4++){const _0xf48591=_0x4a06d4%_0x408150,_0x2dd710=_0x36624b['startRow']+_0x4a06d4,_0x4816e7=_0x36624b[_0x164ff2(0x163)]+_0x271dde,_0x50b6b9=_0x28a359[_0x164ff2(0x27f)]+_0xf48591,_0x3fe8af=this[_0x164ff2(0x235)][_0x164ff2(0x112)](_0x3bcd23,_0x1f0d34,_0x2dd710,_0x4816e7);if(_0x3fe8af){_0x813035[_0x164ff2(0x173)](_0x3fe8af);const _0xc26471=this[_0x164ff2(0x235)][_0x164ff2(0x16c)](_0x3bcd23,_0x1f0d34,_0x3fe8af);if(_0xc26471){_0x2fa18c[_0x3fe8af]={'config':o[_0x164ff2(0x200)]['deepClone'](_0xc26471[_0x164ff2(0x1d9)]),'sparklines':o[_0x164ff2(0x200)]['deepClone'](_0xc26471[_0x164ff2(0x205)][_0x164ff2(0x224)]())};let _0x2853e5=_0x153ab9[_0x3fe8af];_0x2853e5||(_0x2853e5={'config':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0xc26471[_0x164ff2(0x1d9)]),'sparklines':new o[(_0x164ff2(0x2e6))](_0xc26471['sparklines'][_0x164ff2(0x224)]())},_0x153ab9[_0x3fe8af]=_0x2853e5),_0x2853e5[_0x164ff2(0x205)][_0x164ff2(0x258)](_0x2dd710,_0x4816e7);}}const _0x44a0fd=this[_0x164ff2(0x235)][_0x164ff2(0x112)](_0x3bcd23,_0x1f0d34,_0x50b6b9,_0x4816e7);if(_0x44a0fd){const _0x2c7470=this[_0x164ff2(0x235)][_0x164ff2(0x16c)](_0x3bcd23,_0x1f0d34,_0x44a0fd);if(_0x2c7470){_0x2fa18c[_0x44a0fd]={'config':o['Tools'][_0x164ff2(0x1f0)](_0x2c7470[_0x164ff2(0x1d9)]),'sparklines':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x2c7470[_0x164ff2(0x205)][_0x164ff2(0x224)]())};let _0x4a7be3=_0x153ab9[_0x44a0fd];_0x4a7be3||(_0x4a7be3={'config':o['Tools'][_0x164ff2(0x1f0)](_0x2c7470[_0x164ff2(0x1d9)]),'sparklines':new o[(_0x164ff2(0x2e6))](_0x2c7470[_0x164ff2(0x205)][_0x164ff2(0x224)]())},_0x153ab9[_0x44a0fd]=_0x4a7be3),_0x4a7be3[_0x164ff2(0x205)][_0x164ff2(0x258)](_0x2dd710,_0x4816e7);const _0x30bf2d=(_0x118a04=this['_sparklineDataSourceModel']['getSparklineById'](_0x3bcd23,_0x1f0d34,_0x44a0fd))==null?void 0x0:_0x118a04[_0x164ff2(0x205)],_0x19e1e5=_0x30bf2d==null?void 0x0:_0x30bf2d[_0x164ff2(0x260)](_0x50b6b9,_0x4816e7);if(_0x19e1e5){const _0x5e29a2={..._0x19e1e5,'startRow':_0x19e1e5['startRow']+_0x2dd710-_0x50b6b9,'endRow':_0x19e1e5[_0x164ff2(0x131)]+_0x2dd710-_0x50b6b9};_0x4a7be3[_0x164ff2(0x205)]['setValue'](_0x2dd710,_0x4816e7,_0x5e29a2),_0x813035[_0x164ff2(0x173)](_0x44a0fd);}}}const _0x36f4e5={};Object[_0x164ff2(0x110)](_0x153ab9)[_0x164ff2(0x288)](([_0x1f92fc,_0x2864bf])=>{const _0x2adda3=_0x164ff2;_0x2864bf[_0x2adda3(0x205)][_0x2adda3(0x1fe)]()&&(_0x36f4e5[_0x1f92fc]={'config':_0x2864bf['config'],'sparklines':_0x2864bf[_0x2adda3(0x205)][_0x2adda3(0x224)]()});}),_0x813035[_0x164ff2(0x2af)]&&(_0x11734d[_0x164ff2(0x22b)]({'id':u['RemoveSheetSparklineMutation']['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'groupIds':Array[_0x164ff2(0x10f)](_0x813035),'isSingle':!0x1}}),_0x138bef[_0x164ff2(0x22b)]({'id':u['RemoveSheetSparklineMutation']['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'groupIds':Array[_0x164ff2(0x10f)](_0x813035),'isSingle':!0x1}}),_0x11734d[_0x164ff2(0x22b)]({'id':u[_0x164ff2(0x22c)]['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'sparklineConfigMap':_0x36f4e5}}),_0x138bef[_0x164ff2(0x22b)]({'id':u['AddSheetSparklineMutation']['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'sparklineConfigMap':_0x2fa18c}}));}}else{if(_0x24e664===o[_0x164ff2(0x185)][_0x164ff2(0x148)]){const _0x473181={},_0x1d5782={},_0x524a68=new Set();for(let _0x52699f=0x0;_0x52699f<_0x6e5d00;_0x52699f++)for(let _0x3b58a0=0x0;_0x3b58a0<_0x1ac9d2;_0x3b58a0++){const _0x5051a9=_0x3b58a0%_0x408150,_0x4a9d2d=_0x36624b[_0x164ff2(0x27f)]+_0x3b58a0,_0x5065ad=_0x36624b[_0x164ff2(0x163)]+_0x52699f,_0x4e949d=_0x28a359['startRow']+_0x5051a9,_0x3720b6=this[_0x164ff2(0x235)][_0x164ff2(0x112)](_0x3bcd23,_0x1f0d34,_0x4e949d,_0x5065ad),_0x353be7=this[_0x164ff2(0x235)][_0x164ff2(0x112)](_0x3bcd23,_0x1f0d34,_0x4a9d2d,_0x5065ad);if(_0x353be7){_0x524a68['add'](_0x353be7);const _0x50575e=this[_0x164ff2(0x235)][_0x164ff2(0x16c)](_0x3bcd23,_0x1f0d34,_0x353be7);if(_0x50575e){_0x1d5782[_0x353be7]={'config':o['Tools'][_0x164ff2(0x1f0)](_0x50575e[_0x164ff2(0x1d9)]),'sparklines':o[_0x164ff2(0x200)]['deepClone'](_0x50575e[_0x164ff2(0x205)][_0x164ff2(0x224)]())};let _0x193858=_0x473181[_0x353be7];_0x193858||(_0x193858={'config':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x50575e[_0x164ff2(0x1d9)]),'sparklines':new o[(_0x164ff2(0x2e6))](_0x50575e[_0x164ff2(0x205)][_0x164ff2(0x224)]())},_0x473181[_0x353be7]=_0x193858),_0x193858[_0x164ff2(0x205)][_0x164ff2(0x258)](_0x4a9d2d,_0x5065ad);}}if(_0x3720b6){const _0x2a4494=this[_0x164ff2(0x235)][_0x164ff2(0x16c)](_0x3bcd23,_0x1f0d34,_0x3720b6);if(_0x2a4494){_0x1d5782[_0x3720b6]={'config':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x2a4494[_0x164ff2(0x1d9)]),'sparklines':o['Tools']['deepClone'](_0x2a4494[_0x164ff2(0x205)][_0x164ff2(0x224)]())};let _0x1fdb02=_0x473181[_0x3720b6];_0x1fdb02||(_0x1fdb02={'config':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x2a4494[_0x164ff2(0x1d9)]),'sparklines':new o['ObjectMatrix'](_0x2a4494[_0x164ff2(0x205)][_0x164ff2(0x224)]())},_0x473181[_0x3720b6]=_0x1fdb02),_0x1fdb02[_0x164ff2(0x205)][_0x164ff2(0x258)](_0x4a9d2d,_0x5065ad);const _0x59960b=(_0x32318f=this[_0x164ff2(0x235)][_0x164ff2(0x16c)](_0x3bcd23,_0x1f0d34,_0x3720b6))==null?void 0x0:_0x32318f[_0x164ff2(0x205)],_0x4b36e1=_0x59960b==null?void 0x0:_0x59960b[_0x164ff2(0x260)](_0x4e949d,_0x5065ad);if(_0x4b36e1){const _0x3e912b={..._0x4b36e1,'startRow':_0x4b36e1[_0x164ff2(0x27f)]+_0x4a9d2d-_0x4e949d,'endRow':_0x4b36e1[_0x164ff2(0x131)]+_0x4a9d2d-_0x4e949d};_0x1fdb02[_0x164ff2(0x205)]['setValue'](_0x4a9d2d,_0x5065ad,_0x3e912b),_0x524a68['add'](_0x3720b6);}}}}const _0x497e4d={};Object[_0x164ff2(0x110)](_0x473181)[_0x164ff2(0x288)](([_0x30442b,_0x13ba3f])=>{const _0x16750e=_0x164ff2;_0x13ba3f[_0x16750e(0x205)][_0x16750e(0x1fe)]()&&(_0x497e4d[_0x30442b]={'config':_0x13ba3f['config'],'sparklines':_0x13ba3f[_0x16750e(0x205)][_0x16750e(0x224)]()});}),_0x524a68[_0x164ff2(0x2af)]&&(_0x11734d[_0x164ff2(0x22b)]({'id':u['RemoveSheetSparklineMutation']['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'groupIds':Array[_0x164ff2(0x10f)](_0x524a68),'isSingle':!0x1}}),_0x138bef[_0x164ff2(0x22b)]({'id':u['RemoveSheetSparklineMutation']['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'groupIds':Array[_0x164ff2(0x10f)](_0x524a68),'isSingle':!0x1}}),_0x11734d['push']({'id':u['AddSheetSparklineMutation']['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'sparklineConfigMap':_0x497e4d}}),_0x138bef[_0x164ff2(0x22b)]({'id':u[_0x164ff2(0x22c)]['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'sparklineConfigMap':_0x1d5782}}));}else{if(_0x24e664===o[_0x164ff2(0x185)][_0x164ff2(0x20f)]){const _0xd9387d={},_0x41a9cc={},_0x225859=new Set();for(let _0x28af54=0x0;_0x28af54<_0x408150;_0x28af54++)for(let _0x11044c=0x0;_0x11044c<_0x789bb0;_0x11044c++){const _0x35b826=_0x11044c%_0x6e5d00,_0x19b6d0=_0x36624b[_0x164ff2(0x27f)]+_0x28af54,_0x26aa88=_0x36624b[_0x164ff2(0x163)]+_0x11044c,_0x223f83=_0x28a359[_0x164ff2(0x163)]+_0x35b826,_0x11f6f9=this[_0x164ff2(0x235)]['getSparkline'](_0x3bcd23,_0x1f0d34,_0x19b6d0,_0x26aa88);if(_0x11f6f9){_0x225859[_0x164ff2(0x173)](_0x11f6f9);const _0x371e25=this[_0x164ff2(0x235)]['getSparklineById'](_0x3bcd23,_0x1f0d34,_0x11f6f9);if(_0x371e25){_0x41a9cc[_0x11f6f9]={'config':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x371e25['config']),'sparklines':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x371e25['sparklines'][_0x164ff2(0x224)]())};let _0x449082=_0xd9387d[_0x11f6f9];_0x449082||(_0x449082={'config':o['Tools'][_0x164ff2(0x1f0)](_0x371e25[_0x164ff2(0x1d9)]),'sparklines':new o[(_0x164ff2(0x2e6))](_0x371e25[_0x164ff2(0x205)][_0x164ff2(0x224)]())},_0xd9387d[_0x11f6f9]=_0x449082),_0x449082[_0x164ff2(0x205)]['realDeleteValue'](_0x19b6d0,_0x26aa88);}}const _0x42c127=this['_sparklineDataSourceModel'][_0x164ff2(0x112)](_0x3bcd23,_0x1f0d34,_0x19b6d0,_0x223f83);if(_0x42c127){const _0x4098da=this[_0x164ff2(0x235)]['getSparklineById'](_0x3bcd23,_0x1f0d34,_0x42c127);if(_0x4098da){_0x41a9cc[_0x42c127]={'config':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x4098da[_0x164ff2(0x1d9)]),'sparklines':o['Tools'][_0x164ff2(0x1f0)](_0x4098da['sparklines'][_0x164ff2(0x224)]())};let _0x5449b3=_0xd9387d[_0x42c127];_0x5449b3||(_0x5449b3={'config':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x4098da[_0x164ff2(0x1d9)]),'sparklines':new o[(_0x164ff2(0x2e6))](_0x4098da[_0x164ff2(0x205)][_0x164ff2(0x224)]())},_0xd9387d[_0x42c127]=_0x5449b3),_0x5449b3[_0x164ff2(0x205)]['realDeleteValue'](_0x19b6d0,_0x26aa88);const _0x24d8ea=(_0x38cc77=this[_0x164ff2(0x235)][_0x164ff2(0x16c)](_0x3bcd23,_0x1f0d34,_0x42c127))==null?void 0x0:_0x38cc77[_0x164ff2(0x205)],_0x26fb9b=_0x24d8ea==null?void 0x0:_0x24d8ea[_0x164ff2(0x260)](_0x19b6d0,_0x223f83);if(_0x26fb9b){const _0x1ef024={..._0x26fb9b,'startColumn':_0x26fb9b[_0x164ff2(0x163)]+_0x26aa88-_0x223f83,'endColumn':_0x26fb9b[_0x164ff2(0x1b6)]+_0x26aa88-_0x223f83};_0x5449b3[_0x164ff2(0x205)][_0x164ff2(0x18d)](_0x19b6d0,_0x26aa88,_0x1ef024),_0x225859[_0x164ff2(0x173)](_0x42c127);}}}}const _0x5e454c={};Object['entries'](_0xd9387d)[_0x164ff2(0x288)](([_0x1c58d1,_0x226282])=>{const _0x33022=_0x164ff2;_0x226282[_0x33022(0x205)]['getSizeOf']()&&(_0x5e454c[_0x1c58d1]={'config':_0x226282['config'],'sparklines':_0x226282['sparklines'][_0x33022(0x224)]()});}),_0x225859['size']&&(_0x11734d[_0x164ff2(0x22b)]({'id':u[_0x164ff2(0x21b)]['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'groupIds':Array[_0x164ff2(0x10f)](_0x225859),'isSingle':!0x1}}),_0x138bef[_0x164ff2(0x22b)]({'id':u[_0x164ff2(0x21b)]['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'groupIds':Array['from'](_0x225859),'isSingle':!0x1}}),_0x11734d[_0x164ff2(0x22b)]({'id':u['AddSheetSparklineMutation']['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'sparklineConfigMap':_0x5e454c}}),_0x138bef[_0x164ff2(0x22b)]({'id':u[_0x164ff2(0x22c)]['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'sparklineConfigMap':_0x41a9cc}}));}else{if(_0x24e664===o['Direction'][_0x164ff2(0x298)]){const _0x4002e9={},_0x4207a2={},_0x14853a=new Set();for(let _0x186ae0=0x0;_0x186ae0<_0x408150;_0x186ae0++)for(let _0x1edc1f=0x0;_0x1edc1f<_0x789bb0;_0x1edc1f++){const _0x31ccf2=_0x1edc1f%_0x6e5d00,_0x1f8a3a=_0x36624b[_0x164ff2(0x27f)]+_0x186ae0,_0x1649ee=_0x36624b[_0x164ff2(0x163)]+_0x1edc1f,_0x46d575=_0x28a359[_0x164ff2(0x163)]+_0x31ccf2,_0x426657=this[_0x164ff2(0x235)][_0x164ff2(0x112)](_0x3bcd23,_0x1f0d34,_0x1f8a3a,_0x1649ee);if(_0x426657){_0x14853a[_0x164ff2(0x173)](_0x426657);const _0x3c2759=this[_0x164ff2(0x235)]['getSparklineById'](_0x3bcd23,_0x1f0d34,_0x426657);if(_0x3c2759){_0x4207a2[_0x426657]={'config':o[_0x164ff2(0x200)]['deepClone'](_0x3c2759[_0x164ff2(0x1d9)]),'sparklines':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x3c2759['sparklines'][_0x164ff2(0x224)]())};let _0x2233bb=_0x4002e9[_0x426657];_0x2233bb||(_0x2233bb={'config':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x3c2759[_0x164ff2(0x1d9)]),'sparklines':new o[(_0x164ff2(0x2e6))](_0x3c2759['sparklines']['clone']())},_0x4002e9[_0x426657]=_0x2233bb),_0x2233bb['sparklines']['realDeleteValue'](_0x1f8a3a,_0x1649ee);}}const _0x1f94cd=this[_0x164ff2(0x235)][_0x164ff2(0x112)](_0x3bcd23,_0x1f0d34,_0x1f8a3a,_0x46d575);if(_0x1f94cd){const _0x3fdaa8=this[_0x164ff2(0x235)]['getSparklineById'](_0x3bcd23,_0x1f0d34,_0x1f94cd);if(_0x3fdaa8){_0x4207a2[_0x1f94cd]={'config':o['Tools'][_0x164ff2(0x1f0)](_0x3fdaa8[_0x164ff2(0x1d9)]),'sparklines':o['Tools'][_0x164ff2(0x1f0)](_0x3fdaa8[_0x164ff2(0x205)][_0x164ff2(0x224)]())};let _0x5d9b4f=_0x4002e9[_0x1f94cd];_0x5d9b4f||(_0x5d9b4f={'config':o[_0x164ff2(0x200)][_0x164ff2(0x1f0)](_0x3fdaa8[_0x164ff2(0x1d9)]),'sparklines':new o[(_0x164ff2(0x2e6))](_0x3fdaa8[_0x164ff2(0x205)][_0x164ff2(0x224)]())},_0x4002e9[_0x1f94cd]=_0x5d9b4f),_0x5d9b4f[_0x164ff2(0x205)][_0x164ff2(0x258)](_0x1f8a3a,_0x1649ee);const _0x479a0d=(_0xe84b1c=this[_0x164ff2(0x235)][_0x164ff2(0x16c)](_0x3bcd23,_0x1f0d34,_0x1f94cd))==null?void 0x0:_0xe84b1c[_0x164ff2(0x205)],_0x4be915=_0x479a0d==null?void 0x0:_0x479a0d[_0x164ff2(0x260)](_0x1f8a3a,_0x46d575);if(_0x4be915){const _0x575687={..._0x4be915,'startColumn':_0x4be915[_0x164ff2(0x163)]+_0x1649ee-_0x46d575,'endColumn':_0x4be915[_0x164ff2(0x1b6)]+_0x1649ee-_0x46d575};_0x5d9b4f[_0x164ff2(0x205)]['setValue'](_0x1f8a3a,_0x1649ee,_0x575687),_0x14853a['add'](_0x1f94cd);}}}}const _0xdc5444={};Object[_0x164ff2(0x110)](_0x4002e9)[_0x164ff2(0x288)](([_0x3a90a5,_0x535e8a])=>{const _0x312460=_0x164ff2;_0x535e8a[_0x312460(0x205)][_0x312460(0x1fe)]()&&(_0xdc5444[_0x3a90a5]={'config':_0x535e8a[_0x312460(0x1d9)],'sparklines':_0x535e8a[_0x312460(0x205)]['clone']()});}),_0x14853a[_0x164ff2(0x2af)]&&(_0x11734d[_0x164ff2(0x22b)]({'id':u[_0x164ff2(0x21b)]['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'groupIds':Array['from'](_0x14853a),'isSingle':!0x1}}),_0x138bef['push']({'id':u[_0x164ff2(0x21b)]['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'groupIds':Array[_0x164ff2(0x10f)](_0x14853a),'isSingle':!0x1}}),_0x11734d[_0x164ff2(0x22b)]({'id':u[_0x164ff2(0x22c)]['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'sparklineConfigMap':_0xdc5444}}),_0x138bef[_0x164ff2(0x22b)]({'id':u[_0x164ff2(0x22c)]['id'],'params':{'unitId':_0x3bcd23,'subUnitId':_0x1f0d34,'sparklineConfigMap':_0x4207a2}}));}}}}return{'undos':_0x138bef,'redos':_0x11734d};},_0x49f538={'id':u[_0x1c3584(0x125)],'onFillData':(_0x5346a3,_0x5d22aa,_0x2dad22)=>_0x2dad22===oe['APPLY_TYPE']['COPY']||_0x2dad22===oe[_0x1c3584(0x2d0)][_0x1c3584(0x21e)]||_0x2dad22===oe['APPLY_TYPE'][_0x1c3584(0x210)]?_0x1311a9(_0x5346a3,_0x5d22aa):_0x352119()};this['disposeWithMe'](this[_0x1c3584(0x2a9)][_0x1c3584(0x128)](_0x49f538));}};Ye=$n([Be(0x0,o[_0x4424ef(0x25c)](o[_0x4424ef(0x212)])),Be(0x1,o['Inject'](o['IUniverInstanceService'])),Be(0x2,o[_0x4424ef(0x25c)](oe[_0x4424ef(0x144)])),Be(0x3,o[_0x4424ef(0x25c)](u[_0x4424ef(0x17e)]))],Ye);var Wn=Object[_0x4424ef(0x23a)],Fn=(_0x33e81f,_0x35ab44,_0x34eaad,_0x5b49b5)=>{const _0xd719c=_0x4424ef;for(var _0x22770f=_0x5b49b5>0x1?void 0x0:_0x5b49b5?Wn(_0x35ab44,_0x34eaad):_0x35ab44,_0x27055d=_0x33e81f[_0xd719c(0x2d8)]-0x1,_0x390d48;_0x27055d>=0x0;_0x27055d--)(_0x390d48=_0x33e81f[_0x27055d])&&(_0x22770f=_0x390d48(_0x22770f)||_0x22770f);return _0x22770f;},fn=(_0x284abb,_0x1485d5)=>(_0xf4f66e,_0x339a0f)=>_0x1485d5(_0xf4f66e,_0x339a0f,_0x284abb);let ze=class extends o['Disposable']{constructor(_0x28ca1f,_0x2cb0df){const _0x555b2b=_0x4424ef;super(),this[_0x555b2b(0x1b7)]=_0x28ca1f,this[_0x555b2b(0x235)]=_0x2cb0df,this[_0x555b2b(0x166)]();}['_initClipboardWithSparkline'](){const _0x4115cf=_0x4424ef;this[_0x4115cf(0x24e)](this[_0x4115cf(0x1b7)][_0x4115cf(0x2cc)]({'id':u[_0x4115cf(0x125)],'onPasteCells':(_0x2e994d,_0xace255,_0x9aa451,_0x1ef7f1)=>{const _0x5e27f6=_0x4115cf;var _0x44e8ba,_0xa673d8,_0x1090e7;const _0x5a035e=[],_0x58d502=[],{copyType:_0x3e61ea=oe[_0x5e27f6(0x283)]['COPY']}=_0x1ef7f1,_0x1a0163={};if(_0x3e61ea===oe[_0x5e27f6(0x283)][_0x5e27f6(0x10d)])return{'undos':_0x5a035e,'redos':_0x58d502};if(_0x1ef7f1[_0x5e27f6(0x230)]!==oe['PREDEFINED_HOOK_NAME'][_0x5e27f6(0x1d7)])return{'undos':_0x5a035e,'redos':_0x58d502};if(!_0x2e994d)return{'undos':_0x5a035e,'redos':_0x58d502};if(_0xace255['unitId']!==_0x2e994d[_0x5e27f6(0x188)])return{'undos':_0x5a035e,'redos':_0x58d502};const {range:_0x3d2e07,unitId:_0x30aac5,subUnitId:_0x274c7b}=_0xace255,{range:_0x3b7bc9,unitId:_0x27a883,subUnitId:_0x3f4412}=_0x2e994d,_0x7c2de={},_0x40c1e8={},_0xde63c5={},_0x3d2faf=new Set(),_0xa03ad1=new Set();for(let _0x3b76b3=0x0;_0x3b76b3<_0x3d2e07[_0x5e27f6(0x179)][_0x5e27f6(0x2d8)];_0x3b76b3++)for(let _0x4600da=0x0;_0x4600da<_0x3d2e07[_0x5e27f6(0x11f)][_0x5e27f6(0x2d8)];_0x4600da++){const _0x43f14e=_0x3b7bc9[_0x5e27f6(0x179)][_0x3b76b3],_0x65510c=_0x3b7bc9[_0x5e27f6(0x11f)][_0x4600da];if(!this[_0x5e27f6(0x235)][_0x5e27f6(0x112)](_0x27a883,_0x3f4412,_0x43f14e,_0x65510c))continue;const _0x300c42=_0x3d2e07['rows'][_0x3b76b3],_0x914d=_0x3d2e07[_0x5e27f6(0x11f)][_0x4600da],_0xda40e9=_0x3d2e07['rows'][_0x3b76b3]-_0x43f14e,_0x21813b=_0x3d2e07['cols'][_0x4600da]-_0x65510c,_0x256c93=this[_0x5e27f6(0x235)][_0x5e27f6(0x112)](_0x27a883,_0x3f4412,_0x43f14e,_0x65510c);if(_0x256c93){let _0x54678a=_0x7c2de[_0x1a0163[_0x256c93]];const _0x24a97b=this['_sparklineDataSourceModel'][_0x5e27f6(0x16c)](_0x27a883,_0x3f4412,_0x256c93);if(!_0x24a97b)continue;if(!_0x1a0163[_0x256c93]&&_0x24a97b){const _0x179a8e='g_'+o[_0x5e27f6(0x269)](0x6);_0x54678a={'newGroupId':_0x179a8e,'config':{'config':o[_0x5e27f6(0x200)][_0x5e27f6(0x1f0)](_0x24a97b[_0x5e27f6(0x1d9)]),'sparklines':{}}},_0x7c2de[_0x179a8e]=_0x54678a,_0x1a0163[_0x256c93]=_0x179a8e;}_0x54678a['config'][_0x5e27f6(0x205)][_0x300c42]||(_0x54678a['config'][_0x5e27f6(0x205)][_0x300c42]={});const _0x5a3cae=_0x24a97b[_0x5e27f6(0x205)][_0x5e27f6(0x260)](_0x43f14e,_0x65510c);if(_0x5a3cae){const _0x43754b={'startRow':_0x5a3cae[_0x5e27f6(0x27f)]+_0xda40e9,'startColumn':_0x5a3cae['startColumn']+_0x21813b,'endRow':_0x5a3cae[_0x5e27f6(0x131)]+_0xda40e9,'endColumn':_0x5a3cae['endColumn']+_0x21813b};_0x54678a[_0x5e27f6(0x1d9)]['sparklines'][_0x300c42][_0x914d]=_0x43754b;}}const _0x39d4c1=this['_sparklineDataSourceModel'][_0x5e27f6(0x112)](_0x30aac5,_0x274c7b,_0x3d2e07['rows'][_0x3b76b3],_0x3d2e07[_0x5e27f6(0x11f)][_0x4600da]);if(_0x39d4c1){const _0x125513=this[_0x5e27f6(0x235)][_0x5e27f6(0x16c)](_0x30aac5,_0x274c7b,_0x39d4c1);_0x125513&&(_0x3d2faf[_0x5e27f6(0x173)](_0x39d4c1),_0xde63c5[_0x39d4c1]={'config':o[_0x5e27f6(0x200)][_0x5e27f6(0x1f0)](_0x125513[_0x5e27f6(0x1d9)]),'sparklines':o[_0x5e27f6(0x200)][_0x5e27f6(0x1f0)](_0x125513[_0x5e27f6(0x205)][_0x5e27f6(0x12a)]())},_0x40c1e8[_0x39d4c1]&&(_0x40c1e8[_0x39d4c1]={'config':o[_0x5e27f6(0x200)][_0x5e27f6(0x1f0)](_0x125513[_0x5e27f6(0x1d9)]),'sparklines':o['Tools'][_0x5e27f6(0x1f0)](_0x125513[_0x5e27f6(0x205)][_0x5e27f6(0x12a)]())}),(_0x1090e7=(_0xa673d8=(_0x44e8ba=_0x40c1e8[_0x39d4c1])==null?void 0x0:_0x44e8ba[_0x5e27f6(0x205)])==null?void 0x0:_0xa673d8[_0x3b76b3])!=null&&_0x1090e7[_0x4600da]&&delete _0x40c1e8[_0x39d4c1]['sparklines'][_0x3b76b3][_0x4600da]);}}return Object[_0x5e27f6(0x16a)](_0x7c2de)['forEach'](_0x272db1=>{const _0x6116a3=_0x5e27f6,_0x334d79=_0x7c2de[_0x272db1];_0x334d79&&(_0xa03ad1['add'](_0x272db1),_0x40c1e8[_0x272db1]=_0x334d79[_0x6116a3(0x1d9)]);}),_0x5a035e['push']({'id':u[_0x5e27f6(0x21b)]['id'],'params':{'unitId':_0x30aac5,'subUnitId':_0x274c7b,'groupIds':Array[_0x5e27f6(0x10f)](_0xa03ad1),'isSingle':!0x1}}),_0x5a035e[_0x5e27f6(0x22b)]({'id':u[_0x5e27f6(0x22c)]['id'],'params':{'unitId':_0x30aac5,'subUnitId':_0x274c7b,'sparklineConfigMap':_0xde63c5}}),_0x58d502[_0x5e27f6(0x22b)]({'id':u['RemoveSheetSparklineMutation']['id'],'params':{'unitId':_0x30aac5,'subUnitId':_0x274c7b,'groupIds':Array[_0x5e27f6(0x10f)](_0x3d2faf),'isSingle':!0x1}}),_0x58d502['push']({'id':u[_0x5e27f6(0x22c)]['id'],'params':{'unitId':_0x30aac5,'subUnitId':_0x274c7b,'sparklineConfigMap':_0x40c1e8}}),{'undos':_0x5a035e,'redos':_0x58d502};}}));}};ze=Fn([fn(0x0,o[_0x4424ef(0x25c)](oe[_0x4424ef(0x1e7)])),fn(0x1,o['Inject'](u[_0x4424ef(0x17e)]))],ze);function de({ref:_0x867ee6,..._0x143960}){const _0x457f7f=_0x4424ef,{icon:_0xc9fe3e,id:_0x4b2f9d,className:_0x1b17be,extend:_0x354266,..._0x134132}=_0x143960,_0x5e328a=(_0x457f7f(0x26f)+_0x4b2f9d+'\x20'+(_0x1b17be||''))[_0x457f7f(0x299)](),_0x48a32b=B[_0x457f7f(0x1c6)]('_'+Zn());return In(_0xc9fe3e,''+_0x4b2f9d,{'defIds':_0xc9fe3e[_0x457f7f(0x181)],'idSuffix':_0x48a32b['current']},{'ref':_0x867ee6,'className':_0x5e328a,..._0x134132},_0x354266);}function In(_0xf2aa7f,_0x37a43a,_0x541c84,_0x292947,_0x3f5df5){const _0x24f0b9=_0x4424ef;return B[_0x24f0b9(0x291)](_0xf2aa7f['tag'],{'key':_0x37a43a,...Bn(_0xf2aa7f,_0x541c84,_0x3f5df5),..._0x292947},(Gn(_0xf2aa7f,_0x541c84)[_0x24f0b9(0x287)]||[])[_0x24f0b9(0x2aa)]((_0x1123d7,_0x5cbe60)=>In(_0x1123d7,_0x37a43a+'-'+_0xf2aa7f[_0x24f0b9(0x136)]+'-'+_0x5cbe60,_0x541c84,void 0x0,_0x3f5df5)));}function Bn(_0x1be9fd,_0x1003cd,_0xd557ab){const _0x12aea4=_0x4424ef,_0x4aafe7={..._0x1be9fd[_0x12aea4(0x155)]};_0xd557ab!=null&&_0xd557ab['colorChannel1']&&_0x4aafe7[_0x12aea4(0x2c9)]==='colorChannel1'&&(_0x4aafe7[_0x12aea4(0x2c9)]=_0xd557ab[_0x12aea4(0x164)]),_0x1be9fd[_0x12aea4(0x136)]===_0x12aea4(0x24c)&&_0x4aafe7['id']&&(_0x4aafe7['id']=_0x4aafe7['id']+_0x1003cd[_0x12aea4(0x262)]),Object['entries'](_0x4aafe7)[_0x12aea4(0x288)](([_0x18f954,_0x66103e])=>{const _0x5c8a32=_0x12aea4;_0x18f954===_0x5c8a32(0x24c)&&typeof _0x66103e==_0x5c8a32(0x1ea)&&(_0x4aafe7[_0x18f954]=_0x66103e[_0x5c8a32(0x308)](/url\(#(.*)\)/,_0x5c8a32(0x2c0)+_0x1003cd['idSuffix']+')'));});const {defIds:_0x11ca66}=_0x1003cd;return!_0x11ca66||_0x11ca66[_0x12aea4(0x2d8)]===0x0||(_0x1be9fd[_0x12aea4(0x136)]===_0x12aea4(0x2b8)&&_0x4aafe7[_0x12aea4(0x2de)]&&(_0x4aafe7[_0x12aea4(0x2de)]=_0x4aafe7[_0x12aea4(0x2de)]+_0x1003cd[_0x12aea4(0x262)]),Object[_0x12aea4(0x110)](_0x4aafe7)[_0x12aea4(0x288)](([_0x59afa1,_0x3e79bd])=>{const _0x4dca4b=_0x12aea4;typeof _0x3e79bd==_0x4dca4b(0x1ea)&&(_0x4aafe7[_0x59afa1]=_0x3e79bd[_0x4dca4b(0x308)](/url\(#(.*)\)/,_0x4dca4b(0x2c0)+_0x1003cd['idSuffix']+')'));})),_0x4aafe7;}function Gn(_0x404cbf,_0x318c21){const _0x1eb351=_0x4424ef;var _0x58ac28;const {defIds:_0x3e9bb0}=_0x318c21;return!_0x3e9bb0||_0x3e9bb0[_0x1eb351(0x2d8)]===0x0?_0x404cbf:_0x404cbf[_0x1eb351(0x136)]==='defs'&&((_0x58ac28=_0x404cbf[_0x1eb351(0x287)])!=null&&_0x58ac28[_0x1eb351(0x2d8)])?{..._0x404cbf,'children':_0x404cbf['children'][_0x1eb351(0x2aa)](_0x1b3706=>typeof _0x1b3706[_0x1eb351(0x155)]['id']==_0x1eb351(0x1ea)&&_0x3e9bb0&&_0x3e9bb0['includes'](_0x1b3706[_0x1eb351(0x155)]['id'])?{..._0x1b3706,'attrs':{..._0x1b3706[_0x1eb351(0x155)],'id':_0x1b3706[_0x1eb351(0x155)]['id']+_0x318c21['idSuffix']}}:_0x1b3706)}:_0x404cbf;}function Zn(){const _0xfd2d57=_0x4424ef;return Math['random']()['toString'](0x24)[_0xfd2d57(0x168)](0x2,0x8);}de[_0x4424ef(0x24a)]=_0x4424ef(0x176);const Xn={'tag':_0x4424ef(0x2a5),'attrs':{'xmlns':_0x4424ef(0x1f7),'fill':'none','viewBox':_0x4424ef(0x13d),'width':_0x4424ef(0x1ae),'height':_0x4424ef(0x1ae)},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x2cd),'fillRule':_0x4424ef(0x1b2),'clipRule':_0x4424ef(0x1b2)}}]},xn=B[_0x4424ef(0x2c4)](function(_0x4b6643,_0x380137){const _0x3da18f=_0x4424ef;return B[_0x3da18f(0x291)](de,Object[_0x3da18f(0x1ef)]({},_0x4b6643,{'id':_0x3da18f(0x239),'ref':_0x380137,'icon':Xn}));});xn[_0x4424ef(0x24a)]=_0x4424ef(0x150);const Yn={'tag':_0x4424ef(0x2a5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4424ef(0x266),'viewBox':'0\x200\x2016\x2016','width':_0x4424ef(0x1ae),'height':_0x4424ef(0x1ae)},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x12b)}},{'tag':_0x4424ef(0x1bd),'attrs':{'fill':'currentColor','d':_0x4424ef(0x1f4)}},{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x1c5)}},{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x204),'fillRule':_0x4424ef(0x1b2),'clipRule':_0x4424ef(0x1b2)}}]},an=B[_0x4424ef(0x2c4)](function(_0x41059a,_0x10bc5d){const _0x2b4cdb=_0x4424ef;return B[_0x2b4cdb(0x291)](de,Object[_0x2b4cdb(0x1ef)]({},_0x41059a,{'id':_0x2b4cdb(0x19c),'ref':_0x10bc5d,'icon':Yn}));});an[_0x4424ef(0x24a)]='DeleteIcon';const zn={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4424ef(0x266),'viewBox':'0\x200\x2017\x2016','width':_0x4424ef(0x1ae),'height':_0x4424ef(0x1ae)},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x129),'fillRule':_0x4424ef(0x1b2),'clipRule':_0x4424ef(0x1b2)}},{'tag':'path','attrs':{'fill':_0x4424ef(0x238),'d':'M1.47168\x203.08148C1.47168\x202.01281\x202.33801\x201.14648\x203.40668\x201.14648C4.2659\x201.14648\x204.99432\x201.7065\x205.24684\x202.48145H11.4034C11.656\x201.7065\x2012.3844\x201.14648\x2013.2436\x201.14648C14.3123\x201.14648\x2015.1786\x202.01281\x2015.1786\x203.08148C15.1786\x203.94073\x2014.6185\x204.66917\x2013.8436\x204.92167V11.0782C14.6185\x2011.3307\x2015.1786\x2012.0592\x2015.1786\x2012.9184C15.1786\x2013.9871\x2014.3123\x2014.8534\x2013.2436\x2014.8534C12.3843\x2014.8534\x2011.6559\x2014.2933\x2011.4034\x2013.5184H5.24687C4.99437\x2014.2933\x204.26593\x2014.8534\x203.40668\x2014.8534C2.33801\x2014.8534\x201.47168\x2013.9871\x201.47168\x2012.9184C1.47168\x2012.0592\x202.0317\x2011.3308\x202.80664\x2011.0782V4.92165C2.0317\x204.66912\x201.47168\x203.9407\x201.47168\x203.08148ZM12.6436\x2011.0782C12.0575\x2011.2692\x2011.5944\x2011.7323\x2011.4034\x2012.3184H5.24684C5.05587\x2011.7323\x204.59271\x2011.2692\x204.00664\x2011.0782V4.92167C4.59274\x204.73071\x205.05591\x204.26754\x205.24687\x203.68145H11.4034C11.5944\x204.26752\x2012.0575\x204.73067\x2012.6436\x204.92165V11.0782ZM3.40668\x202.34648C3.00075\x202.34648\x202.67168\x202.67556\x202.67168\x203.08148C2.67168\x203.48741\x203.00075\x203.81648\x203.40668\x203.81648C3.81261\x203.81648\x204.14168\x203.48741\x204.14168\x203.08148C4.14168\x202.67556\x203.81261\x202.34648\x203.40668\x202.34648ZM13.2436\x2012.1834C12.8377\x2012.1834\x2012.5086\x2012.5125\x2012.5086\x2012.9184C12.5086\x2013.3243\x2012.8377\x2013.6534\x2013.2436\x2013.6534C13.6495\x2013.6534\x2013.9786\x2013.3243\x2013.9786\x2012.9184C13.9786\x2012.5125\x2013.6495\x2012.1834\x2013.2436\x2012.1834ZM2.67168\x2012.9184C2.67168\x2012.5125\x203.00075\x2012.1834\x203.40668\x2012.1834C3.81261\x2012.1834\x204.14168\x2012.5125\x204.14168\x2012.9184C4.14168\x2013.3243\x203.81261\x2013.6534\x203.40668\x2013.6534C3.00075\x2013.6534\x202.67168\x2013.3243\x202.67168\x2012.9184ZM13.2436\x202.34648C12.8377\x202.34648\x2012.5086\x202.67556\x2012.5086\x203.08148C12.5086\x203.48741\x2012.8377\x203.81648\x2013.2436\x203.81648C13.6495\x203.81648\x2013.9786\x203.48741\x2013.9786\x203.08148C13.9786\x202.67556\x2013.6495\x202.34648\x2013.2436\x202.34648Z','fillRule':_0x4424ef(0x1b2),'clipRule':'evenodd'}}]},bn=B[_0x4424ef(0x2c4)](function(_0xf70477,_0x47d26a){const _0x1cb1ac=_0x4424ef;return B[_0x1cb1ac(0x291)](de,Object[_0x1cb1ac(0x1ef)]({},_0xf70477,{'id':_0x1cb1ac(0x276),'ref':_0x47d26a,'icon':zn}));});bn[_0x4424ef(0x24a)]='GroupSparklineIcon';const Kn={'tag':_0x4424ef(0x2a5),'attrs':{'xmlns':_0x4424ef(0x1f7),'fill':_0x4424ef(0x266),'viewBox':_0x4424ef(0x13d),'width':_0x4424ef(0x1ae),'height':'1em'},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':'currentColor','d':_0x4424ef(0x2ae),'fillRule':'evenodd','clipRule':_0x4424ef(0x1b2)}}]},pn=B[_0x4424ef(0x2c4)](function(_0x1bbe93,_0x38aa3f){const _0xd201c=_0x4424ef;return B[_0xd201c(0x291)](de,Object[_0xd201c(0x1ef)]({},_0x1bbe93,{'id':'line-sparkline-icon','ref':_0x38aa3f,'icon':Kn}));});pn[_0x4424ef(0x24a)]=_0x4424ef(0x2ac);const qn={'tag':_0x4424ef(0x2a5),'attrs':{'xmlns':_0x4424ef(0x1f7),'fill':_0x4424ef(0x266),'viewBox':_0x4424ef(0x13d),'width':_0x4424ef(0x1ae),'height':_0x4424ef(0x1ae)},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x229),'fillRule':_0x4424ef(0x1b2),'clipRule':_0x4424ef(0x1b2)}}]},hn=B[_0x4424ef(0x2c4)](function(_0x2abd21,_0x478e04){const _0x5ca6c5=_0x4424ef;return B['createElement'](de,Object[_0x5ca6c5(0x1ef)]({},_0x2abd21,{'id':'more-down-icon','ref':_0x478e04,'icon':qn}));});function _0xc14d(_0x12aa15,_0x44a001){const _0x7ab77a=_0x7ab7();return _0xc14d=function(_0xc14d01,_0x2dd950){_0xc14d01=_0xc14d01-0x109;let _0x390b32=_0x7ab77a[_0xc14d01];return _0x390b32;},_0xc14d(_0x12aa15,_0x44a001);}hn[_0x4424ef(0x24a)]='MoreDownIcon';const Jn={'tag':_0x4424ef(0x2a5),'attrs':{'xmlns':_0x4424ef(0x1f7),'fill':_0x4424ef(0x266),'viewBox':_0x4424ef(0x13d),'width':_0x4424ef(0x1ae),'height':'1em'},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x18a),'fillRule':_0x4424ef(0x1b2),'clipRule':'evenodd'}}]},wn=B['forwardRef'](function(_0x2ed8b7,_0x21f8df){const _0x4f9b12=_0x4424ef;return B[_0x4f9b12(0x291)](de,Object['assign']({},_0x2ed8b7,{'id':_0x4f9b12(0x165),'ref':_0x21f8df,'icon':Jn}));});wn[_0x4424ef(0x24a)]=_0x4424ef(0x2e1);const Qn={'tag':_0x4424ef(0x2a5),'attrs':{'xmlns':_0x4424ef(0x1f7),'fill':_0x4424ef(0x266),'viewBox':_0x4424ef(0x13d),'width':'1em','height':_0x4424ef(0x1ae)},'children':[{'tag':'g','attrs':{'fill':_0x4424ef(0x238),'fillRule':_0x4424ef(0x1b2),'clipPath':_0x4424ef(0x295),'clipRule':_0x4424ef(0x1b2)},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'d':'M7.40023\x202.22624C4.47633\x202.5265\x202.19561\x204.99701\x202.19561\x208.00023C2.19561\x2011.206\x204.79442\x2013.8048\x208.00023\x2013.8048C11.0034\x2013.8048\x2013.474\x2011.5241\x2013.7742\x208.60023H9.60023C8.3852\x208.60023\x207.40023\x207.61525\x207.40023\x206.40023V2.22624ZM0.995605\x208.00023C0.995605\x204.13168\x204.13168\x200.995605\x208.00023\x200.995605C8.3316\x200.995605\x208.60023\x201.26423\x208.60023\x201.59561V6.40023C8.60023\x206.95251\x209.04794\x207.40023\x209.60023\x207.40023H14.4049C14.7362\x207.40023\x2015.0049\x207.66886\x2015.0049\x208.00023C15.0049\x2011.8688\x2011.8688\x2015.0049\x208.00023\x2015.0049C4.13168\x2015.0049\x200.995605\x2011.8688\x200.995605\x208.00023Z'}},{'tag':_0x4424ef(0x1bd),'attrs':{'d':_0x4424ef(0x2d6)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4424ef(0x12d),'attrs':{'id':_0x4424ef(0x18e)},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x167),'d':_0x4424ef(0x217)}}]}]}],'defIds':[_0x4424ef(0x18e)]},En=B[_0x4424ef(0x2c4)](function(_0x3681c9,_0x254402){const _0x2a9751=_0x4424ef;return B[_0x2a9751(0x291)](de,Object[_0x2a9751(0x1ef)]({},_0x3681c9,{'id':_0x2a9751(0x13b),'ref':_0x254402,'icon':Qn}));});En[_0x4424ef(0x24a)]=_0x4424ef(0x2f2);const et={'tag':_0x4424ef(0x2a5),'attrs':{'xmlns':_0x4424ef(0x1f7),'fill':_0x4424ef(0x266),'viewBox':_0x4424ef(0x13d),'width':_0x4424ef(0x1ae),'height':_0x4424ef(0x1ae)},'children':[{'tag':'g','attrs':{'clipPath':_0x4424ef(0x19e)},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x1da),'fillRule':'evenodd','clipRule':'evenodd'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4424ef(0x12d),'attrs':{'id':_0x4424ef(0x2f1)},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x167),'d':_0x4424ef(0x217)}}]}]}],'defIds':[_0x4424ef(0x2f1)]},Tn=B[_0x4424ef(0x2c4)](function(_0x425183,_0x48d7bf){const _0x5d6957=_0x4424ef;return B[_0x5d6957(0x291)](de,Object['assign']({},_0x425183,{'id':_0x5d6957(0x132),'ref':_0x48d7bf,'icon':et}));});Tn['displayName']=_0x4424ef(0x24d);const nt={'tag':_0x4424ef(0x2a5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4424ef(0x13d),'width':_0x4424ef(0x1ae),'height':'1em'},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x16b),'fillRule':_0x4424ef(0x1b2),'clipRule':_0x4424ef(0x1b2)}},{'tag':'path','attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x1e9),'fillRule':_0x4424ef(0x1b2),'clipRule':_0x4424ef(0x1b2)}},{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x1e8),'fillRule':_0x4424ef(0x1b2),'clipRule':'evenodd'}}]},Mn=B[_0x4424ef(0x2c4)](function(_0x544a5d,_0x114682){const _0x2254a1=_0x4424ef;return B[_0x2254a1(0x291)](de,Object[_0x2254a1(0x1ef)]({},_0x544a5d,{'id':_0x2254a1(0x237),'ref':_0x114682,'icon':nt}));});Mn[_0x4424ef(0x24a)]='WinlossSparklineIcon';const tt={'tag':_0x4424ef(0x2a5),'attrs':{'xmlns':_0x4424ef(0x1f7),'fill':_0x4424ef(0x266),'viewBox':_0x4424ef(0x14d),'width':_0x4424ef(0x1ae),'height':_0x4424ef(0x1ae)},'children':[{'tag':_0x4424ef(0x1bd),'attrs':{'fill':_0x4424ef(0x238),'d':_0x4424ef(0x20d),'fillRule':_0x4424ef(0x1b2),'clipRule':_0x4424ef(0x1b2)}},{'tag':_0x4424ef(0x1bd),'attrs':{'fill':'currentColor','d':_0x4424ef(0x1db)}}]},_n=B[_0x4424ef(0x2c4)](function(_0x37c815,_0x560012){const _0x176f13=_0x4424ef;return B['createElement'](de,Object[_0x176f13(0x1ef)]({},_0x37c815,{'id':_0x176f13(0x15c),'ref':_0x560012,'icon':tt}));});_n['displayName']=_0x4424ef(0x2b1);const it={'tag':'svg','attrs':{'xmlns':_0x4424ef(0x1f7),'fill':_0x4424ef(0x266),'viewBox':_0x4424ef(0x13d),'width':_0x4424ef(0x1ae),'height':_0x4424ef(0x1ae)},'children':[{'tag':'circle','attrs':{'cx':0x8,'cy':0x8,'r':0x8,'fill':_0x4424ef(0x164)}},{'tag':_0x4424ef(0x1bd),'attrs':{'fill':'currentColor','d':_0x4424ef(0x121)}}]},Pn=B['forwardRef'](function(_0x461d73,_0x505897){const _0x15356a=_0x4424ef;return B[_0x15356a(0x291)](de,Object[_0x15356a(0x1ef)]({},_0x461d73,{'id':'point-color-double-icon','ref':_0x505897,'icon':it}));});Pn[_0x4424ef(0x24a)]=_0x4424ef(0x1f3);function Ge({title:_0x1d2370,children:_0x560cde,containerStyle:_0x421863}){const _0x489fd9=_0x4424ef,[_0x10db57,_0x55463c]=B[_0x489fd9(0x218)](!0x1),_0x1cfa14=()=>_0x55463c(!_0x10db57);return l[_0x489fd9(0x12e)](_0x489fd9(0x189),{'className':O[_0x489fd9(0x157)](_0x489fd9(0x24b),O[_0x489fd9(0x202)]),'style':_0x421863,'children':[l['jsxs']('div',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-px-0\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','onClick':_0x1cfa14,'children':[l[_0x489fd9(0x2f7)](_0x489fd9(0x22d),{'className':'univer-size-4\x20univer-pr-1','children':_0x10db57?l[_0x489fd9(0x2f7)](hn,{}):l[_0x489fd9(0x2f7)](wn,{})}),_0x1d2370]}),_0x10db57&&l[_0x489fd9(0x2f7)](_0x489fd9(0x189),{'className':_0x489fd9(0x151),'children':_0x560cde})]});}const jn=_0x2735c7=>{const _0x354c06=_0x4424ef,{color:_0x5bf918,onChange:_0x1e012d}=_0x2735c7,[_0x520e60,_0x1d28e1]=B[_0x354c06(0x218)](!0x1),_0x4e5016=G[_0x354c06(0x147)](o[_0x354c06(0x201)]),_0x5cce4d=_0x5bf918===_0x354c06(0x2ee)||_0x5bf918==null,_0x36052f=B[_0x354c06(0x2fc)](_0x55dea7=>{_0x1e012d==null||_0x1e012d(_0x55dea7),_0x1d28e1(!0x1);},[_0x1e012d]);return l[_0x354c06(0x2f7)](O[_0x354c06(0x10c)],{'overlay':l[_0x354c06(0x2f7)](_0x354c06(0x189),{'className':O[_0x354c06(0x157)](_0x354c06(0x21c),O[_0x354c06(0x272)]),'children':l[_0x354c06(0x2f7)](O[_0x354c06(0x19f)],{'value':_0x5cce4d?_0x354c06(0x247):_0x5bf918,'onChange':_0x36052f})}),'open':_0x520e60,'onOpenChange':_0x1d28e1,'children':l[_0x354c06(0x2f7)](O[_0x354c06(0x15d)],{'className':O[_0x354c06(0x157)](_0x354c06(0x18f),O[_0x354c06(0x272)]),'children':l[_0x354c06(0x12e)](_0x354c06(0x189),{'className':_0x354c06(0x27c),'children':[_0x5cce4d?l[_0x354c06(0x2f7)](_0x354c06(0x189),{'className':_0x354c06(0x194),'children':_0x4e5016['t'](_0x354c06(0x27b))}):l[_0x354c06(0x2f7)]('div',{'className':O[_0x354c06(0x157)](_0x354c06(0x195),O[_0x354c06(0x272)]),'style':{'backgroundColor':_0x5bf918}}),l['jsx'](hn,{'className':O[_0x354c06(0x157)]('univer-ml-2\x20univer-transition-transform\x20univer-duration-300',{'univer-rotate-180':_0x520e60})})]})})});},rt=({config:_0x391e25,ctx:_0x4cc9d3})=>{const _0xc5ef5d=_0x4424ef;var _0x535d21,_0x11a233,_0x4c704e,_0x46b1e9,_0x4a75cb,_0x28cebb,_0x910869,_0x5d7798,_0x28c019,_0x5c9dfd,_0x561fe5,_0x15a843,_0x422876,_0x55423b,_0x432d37,_0x73f523,_0x309c5c,_0x3a1901,_0x56f6d2,_0x39d811;const _0x3c7c61=G['useDependency'](o[_0xc5ef5d(0x242)]),_0x3f036f=G[_0xc5ef5d(0x147)](o[_0xc5ef5d(0x201)]),_0x55f6a6=G[_0xc5ef5d(0x147)](u[_0xc5ef5d(0x17e)]),{unitId:_0x396df4,subUnitId:_0x186787,range:_0x4e98da}=_0x4cc9d3,_0x13dc63=_0xa08d07=>{const _0x21dd82=_0xc5ef5d,_0x254be4=o['Tools'][_0x21dd82(0x1f0)](_0x391e25);_0x254be4['config']||(_0x254be4['config']={}),_0x254be4[_0x21dd82(0x1d9)][_0x21dd82(0x2f8)]&&delete _0x254be4[_0x21dd82(0x1d9)][_0x21dd82(0x2f8)],_0x254be4[_0x21dd82(0x1d9)][_0x21dd82(0x2c5)]||(_0x254be4[_0x21dd82(0x1d9)][_0x21dd82(0x2c5)]={}),_0x254be4[_0x21dd82(0x1d9)][_0x21dd82(0x2c5)]['visible']=_0xa08d07,_0x3c7c61[_0x21dd82(0x14e)](u[_0x21dd82(0x27d)]['id'],{'config':_0x254be4,'isChangeDataSource':!0x1});},_0x476c77=_0x151733=>{const _0x5130a4=_0xc5ef5d,_0x4129e1=o['Tools'][_0x5130a4(0x1f0)](_0x391e25);_0x4129e1[_0x5130a4(0x1d9)]||(_0x4129e1[_0x5130a4(0x1d9)]={}),_0x4129e1[_0x5130a4(0x1d9)][_0x5130a4(0x2f8)]&&delete _0x4129e1[_0x5130a4(0x1d9)][_0x5130a4(0x2f8)],_0x4129e1[_0x5130a4(0x1d9)][_0x5130a4(0x2c5)]||(_0x4129e1[_0x5130a4(0x1d9)][_0x5130a4(0x2c5)]={}),_0x4129e1[_0x5130a4(0x1d9)]['axis'][_0x5130a4(0x241)]=_0x151733,_0x3c7c61[_0x5130a4(0x14e)](u[_0x5130a4(0x27d)]['id'],{'config':_0x4129e1,'isChangeDataSource':!0x1});},_0x1379f2=_0x5ed720=>{const _0x3417dd=_0xc5ef5d,_0x4d2620=o[_0x3417dd(0x200)][_0x3417dd(0x1f0)](_0x391e25);_0x4d2620['config']||(_0x4d2620[_0x3417dd(0x1d9)]={}),_0x4d2620[_0x3417dd(0x1d9)]['type']&&delete _0x4d2620['config'][_0x3417dd(0x2f8)],_0x4d2620[_0x3417dd(0x1d9)][_0x3417dd(0x2c5)]||(_0x4d2620[_0x3417dd(0x1d9)]['axis']={}),_0x4d2620['config'][_0x3417dd(0x2c5)]['reverse']=_0x5ed720,_0x3c7c61[_0x3417dd(0x14e)](u[_0x3417dd(0x27d)]['id'],{'config':_0x4d2620,'isChangeDataSource':!0x1});},_0x504509=(_0x27232a,_0x59b3b5)=>{const _0x4a10bd=_0xc5ef5d,_0x700d1c=_0x59b3b5===_0x4a10bd(0x1b5)?_0x4a10bd(0x23b):_0x4a10bd(0x122),_0x1f1ad3=o[_0x4a10bd(0x200)][_0x4a10bd(0x1f0)](_0x391e25);_0x1f1ad3[_0x4a10bd(0x1d9)]||(_0x1f1ad3[_0x4a10bd(0x1d9)]={}),_0x1f1ad3[_0x4a10bd(0x1d9)]['type']&&delete _0x1f1ad3[_0x4a10bd(0x1d9)][_0x4a10bd(0x2f8)],_0x1f1ad3[_0x4a10bd(0x1d9)][_0x700d1c]||(_0x1f1ad3[_0x4a10bd(0x1d9)][_0x700d1c]={}),_0x1f1ad3['config'][_0x700d1c]['type']=_0x27232a,_0x3c7c61[_0x4a10bd(0x14e)](u[_0x4a10bd(0x27d)]['id'],{'config':_0x1f1ad3,'isChangeDataSource':!0x1});},_0x4311e0=(_0x5f04ed,_0x4127ae)=>{const _0x47bf94=_0xc5ef5d,_0x487861=_0x4127ae==='min'?_0x47bf94(0x23b):_0x47bf94(0x122),_0x11d953=o[_0x47bf94(0x200)][_0x47bf94(0x1f0)](_0x391e25);_0x11d953[_0x47bf94(0x1d9)]||(_0x11d953[_0x47bf94(0x1d9)]={}),_0x11d953[_0x47bf94(0x1d9)][_0x47bf94(0x2f8)]&&delete _0x11d953[_0x47bf94(0x1d9)][_0x47bf94(0x2f8)],_0x11d953['config'][_0x487861]||(_0x11d953[_0x47bf94(0x1d9)][_0x487861]={}),_0x11d953[_0x47bf94(0x1d9)][_0x487861][_0x47bf94(0x2f8)]=u['SparklineExtremumTypeEnum'][_0x47bf94(0x1c7)],_0x11d953[_0x47bf94(0x1d9)][_0x487861][_0x47bf94(0x193)]=_0x5f04ed,_0x3c7c61[_0x47bf94(0x14e)](u[_0x47bf94(0x27d)]['id'],{'config':_0x11d953,'isChangeDataSource':!0x1});},_0x259179=(_0x339bcc,_0x16c7d2)=>{const _0x52d98b=_0xc5ef5d,_0x2cc933=_0x16c7d2===_0x52d98b(0x20c)?'emptyShowAs':_0x52d98b(0x1c0),_0x42ef84=o[_0x52d98b(0x200)]['deepClone'](_0x391e25);_0x42ef84['config']||(_0x42ef84[_0x52d98b(0x1d9)]={}),_0x42ef84[_0x52d98b(0x1d9)]['type']&&delete _0x42ef84[_0x52d98b(0x1d9)][_0x52d98b(0x2f8)],_0x42ef84[_0x52d98b(0x1d9)][_0x2cc933]=_0x339bcc,_0x3c7c61[_0x52d98b(0x14e)](u['SetSheetSparklineCommand']['id'],{'config':_0x42ef84,'isChangeDataSource':!0x1});},_0x81a635=()=>{const _0x4ec143=_0xc5ef5d,_0x2e90bd=o[_0x4ec143(0x200)][_0x4ec143(0x1f0)](_0x391e25);_0x3c7c61[_0x4ec143(0x14e)](u[_0x4ec143(0x27d)]['id'],{'config':_0x2e90bd,'combine':!0x0});},_0x112680=()=>{const _0x47dc07=_0xc5ef5d,_0x3c81c6=o[_0x47dc07(0x200)][_0x47dc07(0x1f0)](_0x391e25);_0x3c7c61[_0x47dc07(0x14e)](u['SetSheetSparklineCommand']['id'],{'config':_0x3c81c6,'unCombine':!0x0});},_0x2bf96b=_0x2078ad=>{const _0x22ed40=_0xc5ef5d,_0x15f1a7=o['Tools'][_0x22ed40(0x1f0)](_0x391e25);_0x15f1a7[_0x22ed40(0x1d9)]||(_0x15f1a7[_0x22ed40(0x1d9)]={}),_0x15f1a7[_0x22ed40(0x1d9)]['type']&&delete _0x15f1a7['config'][_0x22ed40(0x2f8)],_0x15f1a7[_0x22ed40(0x1d9)][_0x22ed40(0x139)]=_0x2078ad,_0x3c7c61['executeCommand'](u[_0x22ed40(0x27d)]['id'],{'config':_0x15f1a7,'isChangeDataSource':!0x1});},_0x2fc755=_0x55f6a6[_0xc5ef5d(0x1ca)](),_0x3fef17=(_0x535d21=_0x2fc755==null?void 0x0:_0x2fc755[_0xc5ef5d(0x2b9)][_0xc5ef5d(0x2e9)](_0x396df4))==null?void 0x0:_0x535d21[_0xc5ef5d(0x2e9)](_0x186787);let _0x552d08=!0x1,_0x3c1288=!0x1;const _0xc234b8=new Set(),{startRow:_0x374cb2,endRow:_0x4c8ad1,startColumn:_0x4ac39d,endColumn:_0x14736f}=_0x4e98da;for(let _0x3726e9=_0x374cb2;_0x3726e9<=_0x4c8ad1;_0x3726e9++)for(let _0x2ba149=_0x4ac39d;_0x2ba149<=_0x14736f;_0x2ba149++){const _0xd4605e=(_0x11a233=_0x3fef17==null?void 0x0:_0x3fef17[_0xc5ef5d(0x123)]['getValue'](_0x3726e9,_0x2ba149))==null?void 0x0:_0x11a233[_0xc5ef5d(0x2a4)];_0xd4605e&&_0xc234b8['add'](_0xd4605e);}if(_0xc234b8['size']>0x1)_0x552d08=!0x0,Array['from'](_0xc234b8)[_0xc5ef5d(0x288)](_0x2e6812=>{const _0x360dc1=_0xc5ef5d;var _0x48e1e3,_0x127638,_0x293133;const _0x5a628b=(_0x127638=(_0x48e1e3=_0x2fc755[_0x360dc1(0x13a)]['get'](_0x396df4))==null?void 0x0:_0x48e1e3[_0x360dc1(0x2e9)](_0x186787))==null?void 0x0:_0x127638[_0x360dc1(0x2e9)](_0x2e6812);((_0x293133=_0x5a628b==null?void 0x0:_0x5a628b[_0x360dc1(0x205)][_0x360dc1(0x134)]()[_0x360dc1(0x2d8)])!=null?_0x293133:0x0)>0x1&&(_0x3c1288=!0x0);});else{if(_0xc234b8[_0xc5ef5d(0x2af)]===0x1){const _0x39feb5=Array[_0xc5ef5d(0x10f)](_0xc234b8)[0x0],_0x2a5b89=(_0x46b1e9=(_0x4c704e=_0x2fc755[_0xc5ef5d(0x13a)][_0xc5ef5d(0x2e9)](_0x396df4))==null?void 0x0:_0x4c704e[_0xc5ef5d(0x2e9)](_0x186787))==null?void 0x0:_0x46b1e9['get'](_0x39feb5);_0x3c1288=((_0x4a75cb=_0x2a5b89==null?void 0x0:_0x2a5b89[_0xc5ef5d(0x205)][_0xc5ef5d(0x134)]()[_0xc5ef5d(0x2d8)])!=null?_0x4a75cb:0x0)>0x1;let _0x412e4e=0x0,_0x5bcfab=0x0;_0x2a5b89==null||_0x2a5b89[_0xc5ef5d(0x205)][_0xc5ef5d(0x2e3)]((_0x539c5d,_0x1ea109)=>{const _0x43728b=_0xc5ef5d,_0xd0d7c0=o[_0x43728b(0x249)](_0x539c5d,_0x1ea109);o[_0x43728b(0x286)]['intersects'](_0xd0d7c0,_0x4e98da)?_0x412e4e++:_0x5bcfab++;}),_0x552d08=_0x5bcfab>0x0&&_0x412e4e>0x1;}}return l[_0xc5ef5d(0x12e)](_0xc5ef5d(0x189),{'children':[l['jsx'](Ge,{'title':_0x3f036f['t'](_0xc5ef5d(0x1f5)),'children':l[_0xc5ef5d(0x12e)]('div',{'className':'univer-flex\x20univer-justify-between','children':[l[_0xc5ef5d(0x12e)](O['Button'],{'disabled':!_0x552d08,'onClick':()=>_0x81a635(),'children':[l['jsx'](bn,{}),_0x3f036f['t']('sheets-sparkline.panel.compose')]}),l['jsxs'](O[_0xc5ef5d(0x15d)],{'disabled':!_0x3c1288,'onClick':()=>_0x112680(),'children':[l[_0xc5ef5d(0x2f7)](Tn,{}),_0x3f036f['t'](_0xc5ef5d(0x2ec))]})]})}),l[_0xc5ef5d(0x12e)](Ge,{'title':_0x3f036f['t'](_0xc5ef5d(0x1c1)),'children':[l[_0xc5ef5d(0x2f7)](_0xc5ef5d(0x189),{'className':_0xc5ef5d(0x14c),'children':l[_0xc5ef5d(0x2f7)](O['Checkbox'],{'checked':(_0x28cebb=_0x391e25[_0xc5ef5d(0x1d9)][_0xc5ef5d(0x2c5)])==null?void 0x0:_0x28cebb['visible'],'onChange':_0x5468ae=>_0x13dc63(_0x5468ae),'children':_0x3f036f['t']('sheets-sparkline.panel.showZeroAxis')})}),((_0x910869=_0x391e25[_0xc5ef5d(0x1d9)][_0xc5ef5d(0x2c5)])==null?void 0x0:_0x910869[_0xc5ef5d(0x187)])&&l['jsxs'](_0xc5ef5d(0x189),{'className':'univer-mb-2','children':[l['jsx'](_0xc5ef5d(0x189),{'className':'univer-mb-2','children':_0x3f036f['t']('sheets-sparkline.panel.axisColor')}),l[_0xc5ef5d(0x2f7)](jn,{'color':(_0x28c019=(_0x5d7798=_0x391e25[_0xc5ef5d(0x1d9)][_0xc5ef5d(0x2c5)])==null?void 0x0:_0x5d7798[_0xc5ef5d(0x241)])!=null?_0x28c019:_0xc5ef5d(0x2ba),'onChange':_0x48629d=>_0x476c77(_0x48629d)})]}),l[_0xc5ef5d(0x2f7)](_0xc5ef5d(0x189),{'className':_0xc5ef5d(0x14c),'children':l[_0xc5ef5d(0x2f7)](O[_0xc5ef5d(0x170)],{'checked':(_0x5c9dfd=_0x391e25['config']['axis'])==null?void 0x0:_0x5c9dfd[_0xc5ef5d(0x190)],'onChange':_0x20218d=>_0x1379f2(_0x20218d),'children':_0x3f036f['t'](_0xc5ef5d(0x153))})})]}),l[_0xc5ef5d(0x2f7)](Ge,{'title':_0x3f036f['t'](_0xc5ef5d(0x234)),'children':l[_0xc5ef5d(0x12e)](_0xc5ef5d(0x189),{'children':[l['jsx'](_0xc5ef5d(0x189),{'className':'univer-mx-0\x20univer-my-2\x20univer-text-sm\x20univer-text-gray-500','children':_0x3f036f['t'](_0xc5ef5d(0x1bc))}),l[_0xc5ef5d(0x12e)](O[_0xc5ef5d(0x254)],{'value':(_0x15a843=(_0x561fe5=_0x391e25[_0xc5ef5d(0x1d9)][_0xc5ef5d(0x23b)])==null?void 0x0:_0x561fe5['type'])!=null?_0x15a843:u['SparklineExtremumTypeEnum']['SELF_EXTREMUM'],'className':_0xc5ef5d(0x1ad),'onChange':_0x284773=>_0x504509(_0x284773,'min'),'children':[l[_0xc5ef5d(0x2f7)](O[_0xc5ef5d(0x1fb)],{'value':u[_0xc5ef5d(0x275)]['SELF_EXTREMUM'],'children':_0x3f036f['t'](_0xc5ef5d(0x1c3))}),l['jsx'](O[_0xc5ef5d(0x1fb)],{'value':u[_0xc5ef5d(0x275)][_0xc5ef5d(0x256)],'children':_0x3f036f['t']('sheets-sparkline.panel.groupMin')}),l['jsx'](O[_0xc5ef5d(0x1fb)],{'value':u[_0xc5ef5d(0x275)]['CUSTOM_EXTREMUM'],'children':l[_0xc5ef5d(0x12e)](_0xc5ef5d(0x189),{'className':_0xc5ef5d(0x2bb),'children':[l[_0xc5ef5d(0x2f7)](_0xc5ef5d(0x189),{'children':_0x3f036f['t']('sheets-sparkline.panel.customMin')}),l[_0xc5ef5d(0x2f7)](O['InputNumber'],{'disabled':((_0x422876=_0x391e25[_0xc5ef5d(0x1d9)]['extremumMin'])==null?void 0x0:_0x422876[_0xc5ef5d(0x2f8)])!==u[_0xc5ef5d(0x275)][_0xc5ef5d(0x1c7)],'value':(_0x55423b=_0x391e25[_0xc5ef5d(0x1d9)][_0xc5ef5d(0x23b)])==null?void 0x0:_0x55423b[_0xc5ef5d(0x193)],'onChange':_0x4c0e97=>{const _0x45b494=_0xc5ef5d;typeof _0x4c0e97==_0x45b494(0x19d)&&_0x4311e0(_0x4c0e97,_0x45b494(0x1b5));},'className':'univer-ml-3\x20univer-h-6\x20univer-w-14'})]})})]}),l[_0xc5ef5d(0x2f7)]('br',{}),l['jsx'](_0xc5ef5d(0x189),{'className':'univer-mx-0\x20univer-my-2\x20univer-text-sm\x20univer-text-gray-500','children':_0x3f036f['t'](_0xc5ef5d(0x220))}),l[_0xc5ef5d(0x12e)](O[_0xc5ef5d(0x254)],{'value':(_0x73f523=(_0x432d37=_0x391e25['config'][_0xc5ef5d(0x122)])==null?void 0x0:_0x432d37['type'])!=null?_0x73f523:u[_0xc5ef5d(0x275)]['SELF_EXTREMUM'],'className':_0xc5ef5d(0x1ad),'onChange':_0x28741b=>_0x504509(_0x28741b,_0xc5ef5d(0x1aa)),'children':[l['jsx'](O[_0xc5ef5d(0x1fb)],{'value':u[_0xc5ef5d(0x275)][_0xc5ef5d(0x227)],'children':_0x3f036f['t'](_0xc5ef5d(0x26b))}),l[_0xc5ef5d(0x2f7)](O[_0xc5ef5d(0x1fb)],{'value':u['SparklineExtremumTypeEnum']['GROUP_EXTREMUM'],'children':_0x3f036f['t'](_0xc5ef5d(0x2fd))}),l[_0xc5ef5d(0x2f7)](O[_0xc5ef5d(0x1fb)],{'value':u[_0xc5ef5d(0x275)][_0xc5ef5d(0x1c7)],'children':l['jsxs'](_0xc5ef5d(0x189),{'className':'univer-flex\x20univer-items-center','children':[l[_0xc5ef5d(0x2f7)](_0xc5ef5d(0x189),{'children':_0x3f036f['t']('sheets-sparkline.panel.customMax')}),l[_0xc5ef5d(0x2f7)](O[_0xc5ef5d(0x1d3)],{'disabled':((_0x309c5c=_0x391e25[_0xc5ef5d(0x1d9)][_0xc5ef5d(0x122)])==null?void 0x0:_0x309c5c[_0xc5ef5d(0x2f8)])!==u[_0xc5ef5d(0x275)]['CUSTOM_EXTREMUM'],'value':(_0x3a1901=_0x391e25['config'][_0xc5ef5d(0x122)])==null?void 0x0:_0x3a1901[_0xc5ef5d(0x193)],'onChange':_0x5cdfd8=>{const _0x11d390=_0xc5ef5d;typeof _0x5cdfd8==_0x11d390(0x19d)&&_0x4311e0(_0x5cdfd8,_0x11d390(0x1aa));},'className':'univer-ml-3\x20univer-h-6\x20univer-w-14'})]})})]})]})}),l[_0xc5ef5d(0x12e)](Ge,{'title':_0x3f036f['t']('sheets-sparkline.panel.moreSetting'),'containerStyle':{'border':_0xc5ef5d(0x266)},'children':[l[_0xc5ef5d(0x2f7)](O[_0xc5ef5d(0x170)],{'checked':_0x391e25[_0xc5ef5d(0x1d9)][_0xc5ef5d(0x139)],'onChange':_0x3072bc=>_0x2bf96b(_0x3072bc),'children':_0x3f036f['t']('sheets-sparkline.panel.showHidden')}),l[_0xc5ef5d(0x12e)](_0xc5ef5d(0x189),{'className':'univer-mt-3','children':[l[_0xc5ef5d(0x2f7)]('div',{'className':_0xc5ef5d(0x15e),'children':_0x3f036f['t'](_0xc5ef5d(0x307))}),l[_0xc5ef5d(0x2f7)](O[_0xc5ef5d(0x281)],{'className':'univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-rounded-lg\x20univer-bg-gray-50\x20dark:!univer-bg-gray-900','value':(_0x56f6d2=_0x391e25['config'][_0xc5ef5d(0x10a)])!=null?_0x56f6d2:u[_0xc5ef5d(0x2b4)][_0xc5ef5d(0x2b7)],'options':[{'label':_0x3f036f['t']('sheets-sparkline.panel.spacing'),'value':u[_0xc5ef5d(0x2b4)][_0xc5ef5d(0x2b7)]},{'label':_0x3f036f['t'](_0xc5ef5d(0x300)),'value':u[_0xc5ef5d(0x2b4)][_0xc5ef5d(0x21f)]},{'label':_0x3f036f['t'](_0xc5ef5d(0x251)),'value':u[_0xc5ef5d(0x2b4)][_0xc5ef5d(0x2e7)]}],'onChange':_0x26089b=>_0x259179(_0x26089b,'empty')})]}),l['jsxs'](_0xc5ef5d(0x189),{'className':_0xc5ef5d(0x1e0),'children':[l['jsx'](_0xc5ef5d(0x189),{'className':_0xc5ef5d(0x15e),'children':_0x3f036f['t'](_0xc5ef5d(0x119))}),l['jsx'](O[_0xc5ef5d(0x281)],{'className':'univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-rounded-lg\x20univer-bg-gray-50\x20dark:!univer-bg-gray-900','value':(_0x39d811=_0x391e25['config'][_0xc5ef5d(0x1c0)])!=null?_0x39d811:u[_0xc5ef5d(0x2b4)][_0xc5ef5d(0x2b7)],'options':[{'label':_0x3f036f['t'](_0xc5ef5d(0x13c)),'value':u[_0xc5ef5d(0x2b4)][_0xc5ef5d(0x2b7)]},{'label':_0x3f036f['t'](_0xc5ef5d(0x300)),'value':u['SpacialShowAsEnum'][_0xc5ef5d(0x21f)]},{'label':_0x3f036f['t']('sheets-sparkline.panel.connectWithLine'),'value':u[_0xc5ef5d(0x2b4)][_0xc5ef5d(0x2e7)]}],'onChange':_0x4caf41=>_0x259179(_0x4caf41,_0xc5ef5d(0x301))})]})]})]});},xe=_0x45b435=>{const _0x4a6a37=_0x4424ef;var _0x470f19,_0x359acb;const {onCheckboxChange:_0x5effab,onColorChange:_0x28520e,type:_0x31624c,text:_0x1ecbbe,config:_0x9b2aa7,chartType:_0x5b9447}=_0x45b435,_0x4bf227=u[_0x4a6a37(0x1c2)][_0x4a6a37(0x1ee)][0x1],_0x2ee6c1=B[_0x4a6a37(0x2ed)](()=>new o[(_0x4a6a37(0x12f))](_0x4bf227)[_0x4a6a37(0x158)](),[_0x4bf227]),_0x46e0ec=_0x31624c==='markersPoint'&&_0x5b9447!==u[_0x4a6a37(0x216)][_0x4a6a37(0x29c)],_0x172ecc=(_0x470f19=_0x9b2aa7==null?void 0x0:_0x9b2aa7[_0x4a6a37(0x241)])!=null?_0x470f19:_0x4bf227,_0x404e78=new o['ColorKit'](_0x172ecc)[_0x4a6a37(0x1b3)]();return l[_0x4a6a37(0x12e)](_0x4a6a37(0x189),{'className':O[_0x4a6a37(0x157)](_0x4a6a37(0x11c)),'children':[l[_0x4a6a37(0x2f7)](O[_0x4a6a37(0x170)],{'checked':_0x9b2aa7==null?void 0x0:_0x9b2aa7['visible'],'disabled':_0x46e0ec,'onChange':_0x306273=>_0x5effab(_0x306273,_0x31624c),'children':_0x1ecbbe}),(_0x9b2aa7==null?void 0x0:_0x9b2aa7['visible'])&&l[_0x4a6a37(0x2f7)](O[_0x4a6a37(0x10c)],{'overlay':l[_0x4a6a37(0x2f7)](_0x4a6a37(0x189),{'className':_0x4a6a37(0x1df),'children':l['jsx'](O[_0x4a6a37(0x19f)],{'value':(_0x359acb=_0x9b2aa7==null?void 0x0:_0x9b2aa7['color'])!=null?_0x359acb:_0x2ee6c1,'onChange':_0x3df699=>_0x28520e(_0x3df699,_0x31624c)})}),'children':l[_0x4a6a37(0x2f7)](Pn,{'className':O[_0x4a6a37(0x157)](_0x4a6a37(0x20b),{'univer-text-white':_0x404e78}),'extend':{'colorChannel1':_0x172ecc}})})]});},st=({config:_0x119704,ctx:_0x5ad238})=>{const _0x3561cf=_0x4424ef;var _0x129182,_0x50d785,_0x582c99,_0x3462be,_0x323190,_0x4b1a76,_0x459530,_0x241d10,_0x25950d;const _0x440817=G[_0x3561cf(0x147)](o['ICommandService']),_0x2fdb57=G[_0x3561cf(0x147)](o[_0x3561cf(0x212)]),_0x115711=G[_0x3561cf(0x147)](o[_0x3561cf(0x201)]),_0x3a0591=G[_0x3561cf(0x147)](u[_0x3561cf(0x17e)]),_0x5bc903=(_0x129182=_0x119704==null?void 0x0:_0x119704[_0x3561cf(0x1d9)]['type'])!=null?_0x129182:u[_0x3561cf(0x216)]['LINE_CHART'],_0x2d28a3=_0x5bc903===u[_0x3561cf(0x216)]['LINE_CHART'],_0x39cefa=_0x539f06=>{const _0x272cd9=_0x3561cf;var _0x331a4b;const _0x440e8f=(_0x331a4b=o['Tools'][_0x272cd9(0x1f0)](_0x119704))!=null?_0x331a4b:{};_0x440e8f!=null&&_0x440e8f[_0x272cd9(0x1d9)]||(_0x440e8f['config']={}),_0x440e8f[_0x272cd9(0x1d9)][_0x272cd9(0x2f8)]=_0x539f06,_0x440817['executeCommand'](u[_0x272cd9(0x27d)]['id'],{'config':_0x440e8f,'isChangeDataSource':!0x1});},_0x580a48=(_0x24aaa2,_0x4354a4)=>{const _0x53b21e=_0x3561cf;var _0xc92c8d,_0x40de76;const _0x7bf8dc=(_0xc92c8d=o[_0x53b21e(0x200)][_0x53b21e(0x1f0)](_0x119704))!=null?_0xc92c8d:{};_0x7bf8dc!=null&&_0x7bf8dc[_0x53b21e(0x1d9)]||(_0x7bf8dc['config']={}),_0x7bf8dc[_0x53b21e(0x1d9)]['type']&&delete _0x7bf8dc[_0x53b21e(0x1d9)]['type'],_0x7bf8dc!=null&&_0x7bf8dc[_0x53b21e(0x1d9)][_0x53b21e(0x177)]||(_0x7bf8dc['config'][_0x53b21e(0x177)]={}),(_0x40de76=_0x7bf8dc==null?void 0x0:_0x7bf8dc['config'][_0x53b21e(0x177)])!=null&&_0x40de76[_0x4354a4]||(_0x7bf8dc[_0x53b21e(0x1d9)]['points'][_0x4354a4]={}),_0x7bf8dc[_0x53b21e(0x1d9)][_0x53b21e(0x177)][_0x4354a4][_0x53b21e(0x187)]=_0x24aaa2,_0x440817['executeCommand'](u[_0x53b21e(0x27d)]['id'],{'config':_0x7bf8dc,'isChangeDataSource':!0x1});},_0x25cac2=(_0x1ffa7f,_0x137f4e)=>{const _0x292b5d=_0x3561cf;var _0x7443f0,_0x2a115d;const _0x2c0091=(_0x7443f0=o[_0x292b5d(0x200)][_0x292b5d(0x1f0)](_0x119704))!=null?_0x7443f0:{};_0x2c0091!=null&&_0x2c0091[_0x292b5d(0x1d9)]||(_0x2c0091[_0x292b5d(0x1d9)]={}),_0x2c0091[_0x292b5d(0x1d9)][_0x292b5d(0x2f8)]&&delete _0x2c0091[_0x292b5d(0x1d9)][_0x292b5d(0x2f8)],_0x2c0091!=null&&_0x2c0091[_0x292b5d(0x1d9)][_0x292b5d(0x177)]||(_0x2c0091['config']['points']={}),(_0x2a115d=_0x2c0091==null?void 0x0:_0x2c0091[_0x292b5d(0x1d9)][_0x292b5d(0x177)])!=null&&_0x2a115d[_0x137f4e]||(_0x2c0091[_0x292b5d(0x1d9)]['points'][_0x137f4e]={}),_0x2c0091[_0x292b5d(0x1d9)][_0x292b5d(0x177)][_0x137f4e][_0x292b5d(0x241)]=_0x1ffa7f,_0x2c0091[_0x292b5d(0x1d9)][_0x292b5d(0x2e5)]=u[_0x292b5d(0x282)][_0x292b5d(0x292)],_0x440817[_0x292b5d(0x14e)](u[_0x292b5d(0x27d)]['id'],{'config':_0x2c0091,'isChangeDataSource':!0x1});},_0x1b11b1=_0x42240c=>{const _0x456737=_0x3561cf;var _0x274458;const _0x57b961=(_0x274458=o[_0x456737(0x200)][_0x456737(0x1f0)](_0x119704))!=null?_0x274458:{};_0x57b961!=null&&_0x57b961[_0x456737(0x1d9)]||(_0x57b961[_0x456737(0x1d9)]={}),_0x57b961[_0x456737(0x1d9)][_0x456737(0x2f8)]&&delete _0x57b961[_0x456737(0x1d9)][_0x456737(0x2f8)],_0x57b961[_0x456737(0x1d9)][_0x456737(0x2e5)]=_0x42240c,_0x57b961[_0x456737(0x1d9)][_0x456737(0x2e2)]!=null&&(_0x57b961[_0x456737(0x1d9)][_0x456737(0x2e2)]=void 0x0),_0x57b961!=null&&_0x57b961[_0x456737(0x1d9)]['points']||(_0x57b961[_0x456737(0x1d9)][_0x456737(0x177)]={});const _0x1c98d6=u[_0x456737(0x1c2)][_0x42240c];u[_0x456737(0x2d4)]['forEach'](_0x58871e=>{const _0x1b20d3=_0x456737;var _0x2f8759;(_0x2f8759=_0x57b961==null?void 0x0:_0x57b961[_0x1b20d3(0x1d9)]['points'])!=null&&_0x2f8759[_0x58871e]?_0x57b961[_0x1b20d3(0x1d9)][_0x1b20d3(0x177)][_0x58871e][_0x1b20d3(0x241)]=_0x1c98d6[0x1]:_0x57b961[_0x1b20d3(0x1d9)][_0x1b20d3(0x177)][_0x58871e]={'color':_0x1c98d6[0x1]};}),_0x440817['executeCommand'](u[_0x456737(0x27d)]['id'],{'config':_0x57b961,'isChangeDataSource':!0x1});},_0x48c87f=_0x488ab6=>{const _0x1f5e1e=_0x3561cf;var _0x443d66;const _0xb76b65=(_0x443d66=o[_0x1f5e1e(0x200)]['deepClone'](_0x119704))!=null?_0x443d66:{};_0xb76b65!=null&&_0xb76b65[_0x1f5e1e(0x1d9)]||(_0xb76b65[_0x1f5e1e(0x1d9)]={}),_0xb76b65[_0x1f5e1e(0x1d9)]['type']&&delete _0xb76b65[_0x1f5e1e(0x1d9)][_0x1f5e1e(0x2f8)],_0xb76b65['config']['seriesColor']=_0x488ab6,_0xb76b65[_0x1f5e1e(0x1d9)][_0x1f5e1e(0x2e5)]=u['SparklineThemeTypeEnum'][_0x1f5e1e(0x292)],_0x440817[_0x1f5e1e(0x14e)](u[_0x1f5e1e(0x27d)]['id'],{'config':_0xb76b65,'isChangeDataSource':!0x1});},_0x29a8cf=_0x28be20=>{const _0x229925=_0x3561cf;var _0x4270db;const _0xec970f=(_0x4270db=o['Tools'][_0x229925(0x1f0)](_0x119704))!=null?_0x4270db:{};_0xec970f!=null&&_0xec970f[_0x229925(0x1d9)]||(_0xec970f[_0x229925(0x1d9)]={}),_0xec970f['config'][_0x229925(0x2f8)]&&delete _0xec970f[_0x229925(0x1d9)]['type'];const _0x31b5f7=Number[_0x229925(0x264)](_0x28be20,0xa);_0xec970f[_0x229925(0x1d9)][_0x229925(0x1b0)]=_0x31b5f7,_0x440817[_0x229925(0x14e)](u[_0x229925(0x27d)]['id'],{'config':_0xec970f,'isChangeDataSource':!0x1});},_0x570452=_0x23b7d5=>{const _0x24c430=_0x3561cf;var _0x62857d;const _0x25d11d=(_0x62857d=o[_0x24c430(0x200)][_0x24c430(0x1f0)](_0x119704))!=null?_0x62857d:{};_0x25d11d!=null&&_0x25d11d[_0x24c430(0x1d9)]||(_0x25d11d['config']={}),_0x25d11d[_0x24c430(0x1d9)][_0x24c430(0x2f8)]&&delete _0x25d11d[_0x24c430(0x1d9)][_0x24c430(0x2f8)],_0x2d28a3?_0x25d11d[_0x24c430(0x1d9)]['showGradient']=_0x23b7d5:_0x25d11d['config']['showRadius']=_0x23b7d5,_0x440817[_0x24c430(0x14e)](u[_0x24c430(0x27d)]['id'],{'config':_0x25d11d,'isChangeDataSource':!0x1});},_0x5f562b=_0x5526fb=>{const _0xae0958=_0x3561cf;_0x440817[_0xae0958(0x14e)](u['RemoveSheetSparklineCommand']['id'],{'isIcon':_0x5526fb});},_0x330dcc=new Set([_0x5ad238[_0x3561cf(0x2a4)]]),_0x4e03f4=_0x5ad238['range'];for(let _0x3a5c16=_0x4e03f4[_0x3561cf(0x27f)];_0x3a5c16<=_0x4e03f4[_0x3561cf(0x131)];_0x3a5c16++)for(let _0x5bf0c6=_0x4e03f4[_0x3561cf(0x163)];_0x5bf0c6<=_0x4e03f4[_0x3561cf(0x1b6)];_0x5bf0c6++){const _0x3fab1d=_0x3a0591[_0x3561cf(0x112)](_0x5ad238['unitId'],_0x5ad238[_0x3561cf(0x1fa)],_0x3a5c16,_0x5bf0c6);if(_0x3fab1d&&(_0x330dcc[_0x3561cf(0x173)](_0x3fab1d),_0x330dcc[_0x3561cf(0x2af)]>0x1))break;}const _0x214a90=async()=>{const _0x57f3fc=_0x3561cf;if(_0x330dcc[_0x57f3fc(0x2af)]>0x1)return;const {primary:_0x1f9fb2,range:_0x346f8e,groupId:_0x2843b7}=_0x5ad238;if(!await Rn(_0x2fdb57,[_0x346f8e],void 0x0,{'groupId':_0x2843b7,'primary':o[_0x57f3fc(0x200)][_0x57f3fc(0x1f0)](_0x1f9fb2)}))return!0x1;};return l[_0x3561cf(0x12e)](_0x3561cf(0x189),{'children':[l[_0x3561cf(0x12e)](_0x3561cf(0x189),{'className':_0x3561cf(0x120),'children':[l[_0x3561cf(0x2f7)](_0x3561cf(0x189),{'className':_0x3561cf(0x2c8),'children':_0x115711['t'](_0x3561cf(0x259))}),l[_0x3561cf(0x2f7)]('div',{'className':O['clsx'](_0x3561cf(0x228),{'univer-cursor-not-allowed':_0x330dcc[_0x3561cf(0x2af)]>0x1}),'onClick':_0x214a90,'children':l[_0x3561cf(0x2f7)](_n,{})})]}),l[_0x3561cf(0x12e)](_0x3561cf(0x189),{'children':[l[_0x3561cf(0x2f7)](_0x3561cf(0x189),{'className':'univer-mb-3\x20univer-text-sm\x20univer-font-medium','children':_0x115711['t'](_0x3561cf(0x10b))}),l[_0x3561cf(0x2f7)](_0x3561cf(0x189),{'className':_0x3561cf(0x236),'children':l[_0x3561cf(0x12e)](_0x3561cf(0x189),{'className':O['clsx'](_0x3561cf(0x1d2),O[_0x3561cf(0x272)]),'children':[l[_0x3561cf(0x12e)](_0x3561cf(0x189),{'className':O[_0x3561cf(0x157)]('univer-m-0.5\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20univer-text-center\x20univer-leading-8',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5bc903===u['SparklineTypeEnum'][_0x3561cf(0x29c)]}),'onClick':()=>_0x39cefa(u[_0x3561cf(0x216)][_0x3561cf(0x29c)]),'children':[l[_0x3561cf(0x2f7)](pn,{}),_0x115711['t']('sheets-sparkline.panel.line')]}),l[_0x3561cf(0x12e)](_0x3561cf(0x189),{'className':O['clsx'](_0x3561cf(0x172),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5bc903===u[_0x3561cf(0x216)][_0x3561cf(0x279)]}),'onClick':()=>_0x39cefa(u[_0x3561cf(0x216)][_0x3561cf(0x279)]),'children':[l[_0x3561cf(0x2f7)](xn,{}),_0x115711['t'](_0x3561cf(0x21d))]}),l[_0x3561cf(0x12e)]('div',{'className':O[_0x3561cf(0x157)]('univer-m-0.5\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20univer-text-center\x20univer-leading-8',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5bc903===u[_0x3561cf(0x216)][_0x3561cf(0x15a)]}),'onClick':()=>_0x39cefa(u[_0x3561cf(0x216)]['PROFIT_AND_LOSS_CHART']),'children':[l['jsx'](Mn,{}),_0x115711['t'](_0x3561cf(0x1a7))]}),l[_0x3561cf(0x12e)](_0x3561cf(0x189),{'className':O[_0x3561cf(0x157)](_0x3561cf(0x172),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5bc903===u[_0x3561cf(0x216)][_0x3561cf(0x1a0)]}),'onClick':()=>_0x39cefa(u[_0x3561cf(0x216)][_0x3561cf(0x1a0)]),'children':[l[_0x3561cf(0x2f7)](En,{}),_0x115711['t'](_0x3561cf(0x1b1))]})]})})]}),_0x119704['config']['type']!==u['SparklineTypeEnum'][_0x3561cf(0x1a0)]&&l['jsxs'](l[_0x3561cf(0x1cc)],{'children':[l[_0x3561cf(0x12e)]('div',{'children':[l[_0x3561cf(0x2f7)]('div',{'className':'univer-mb-3\x20univer-text-sm\x20univer-font-medium','children':_0x115711['t']('sheets-sparkline.panel.theme')}),l['jsx']('div',{'className':'univer-mb-5\x20univer-text-sm','children':l[_0x3561cf(0x2f7)](O['Select'],{'className':_0x3561cf(0x277),'value':_0x115711['t'](_0x3561cf(0x116)+((_0x50d785=_0x119704==null?void 0x0:_0x119704[_0x3561cf(0x1d9)][_0x3561cf(0x2e5)])!=null?_0x50d785:u[_0x3561cf(0x282)][_0x3561cf(0x12c)])),'options':Object[_0x3561cf(0x16a)](u[_0x3561cf(0x1c2)])[_0x3561cf(0x2aa)](_0x5da48a=>{const _0x4b90ce=_0x3561cf,_0xc59d0f=u['SparklineThemeMapping'][_0x5da48a];return{'label':l[_0x4b90ce(0x12e)]('div',{'className':_0x4b90ce(0x2bb),'children':[l['jsx'](_0x4b90ce(0x189),{'className':_0x4b90ce(0x219),'style':{'background':_0xc59d0f[0x0]}}),l[_0x4b90ce(0x2f7)](_0x4b90ce(0x189),{'className':_0x4b90ce(0x161),'style':{'background':_0xc59d0f[0x1]}}),l[_0x4b90ce(0x2f7)](_0x4b90ce(0x189),{'children':_0x115711['t'](_0x4b90ce(0x116)+_0x5da48a)})]}),'value':_0x5da48a};}),'onChange':_0x4be4d5=>_0x1b11b1(_0x4be4d5)})})]}),l[_0x3561cf(0x12e)](_0x3561cf(0x189),{'children':[l[_0x3561cf(0x2f7)]('div',{'className':'univer-mb-3\x20univer-text-sm\x20univer-font-medium','children':_0x115711['t'](_0x3561cf(0x1a8))}),l[_0x3561cf(0x12e)]('div',{'className':'univer-mb-5\x20univer-text-sm','children':[l[_0x3561cf(0x12e)]('div',{'className':'univer-flex\x20univer-gap-5','children':[l[_0x3561cf(0x12e)](_0x3561cf(0x189),{'className':_0x3561cf(0x263),'children':[l[_0x3561cf(0x2f7)]('div',{'className':_0x3561cf(0x1a2),'children':_0x115711['t']('sheets-sparkline.panel.sparklineColor')}),l[_0x3561cf(0x2f7)](jn,{'color':(_0x582c99=_0x119704==null?void 0x0:_0x119704[_0x3561cf(0x1d9)][_0x3561cf(0x2e2)])!=null?_0x582c99:_0x3561cf(0x2ee),'onChange':_0x48c87f})]}),_0x5bc903===u[_0x3561cf(0x216)][_0x3561cf(0x29c)]&&l[_0x3561cf(0x12e)]('div',{'className':_0x3561cf(0x263),'children':[l[_0x3561cf(0x2f7)](_0x3561cf(0x189),{'className':_0x3561cf(0x1a2),'children':_0x115711['t'](_0x3561cf(0x280))}),l[_0x3561cf(0x2f7)](O[_0x3561cf(0x281)],{'className':'univer-flex\x20univer-h-8\x20univer-w-full\x20univer-cursor-default\x20univer-items-center\x20univer-rounded-lg\x20univer-bg-gray-50\x20dark:!univer-bg-gray-800','value':_0x119704!=null&&_0x119704[_0x3561cf(0x1d9)][_0x3561cf(0x1b0)]?_0x119704['config'][_0x3561cf(0x1b0)]+'px':_0x3561cf(0x18c),'options':[{'value':_0x3561cf(0x2c7),'label':_0x3561cf(0x2c7)},{'value':_0x3561cf(0x18c),'label':'2px'},{'value':_0x3561cf(0x297),'label':_0x3561cf(0x297)},{'value':_0x3561cf(0x1a1),'label':'4px'}],'onChange':_0x177eef=>_0x29a8cf(_0x177eef)})]})]}),l[_0x3561cf(0x2f7)](O['Checkbox'],{'className':_0x3561cf(0x109),'checked':_0x2d28a3?_0x119704==null?void 0x0:_0x119704[_0x3561cf(0x1d9)]['showGradient']:_0x119704==null?void 0x0:_0x119704[_0x3561cf(0x1d9)][_0x3561cf(0x2df)],'onChange':_0x426ba0=>_0x570452(_0x426ba0),'children':_0x2d28a3?_0x115711['t'](_0x3561cf(0x162)):_0x115711['t'](_0x3561cf(0x11d))})]})]}),l[_0x3561cf(0x12e)]('div',{'children':[l[_0x3561cf(0x2f7)](_0x3561cf(0x189),{'className':_0x3561cf(0x16f),'children':_0x115711['t']('sheets-sparkline.panel.marker')}),l['jsxs'](_0x3561cf(0x189),{'className':_0x3561cf(0x236),'children':[l['jsxs'](_0x3561cf(0x189),{'className':_0x3561cf(0x1d5),'children':[l[_0x3561cf(0x2f7)](xe,{'onCheckboxChange':_0x580a48,'onColorChange':_0x25cac2,'chartType':_0x5bc903,'type':_0x3561cf(0x28a),'text':_0x115711['t'](_0x3561cf(0x2ad)),'config':(_0x3462be=_0x119704==null?void 0x0:_0x119704['config'][_0x3561cf(0x177)])==null?void 0x0:_0x3462be[_0x3561cf(0x28a)]},_0x3561cf(0x28a)),l[_0x3561cf(0x2f7)](xe,{'onCheckboxChange':_0x580a48,'onColorChange':_0x25cac2,'chartType':_0x5bc903,'type':_0x3561cf(0x24f),'text':_0x115711['t']('sheets-sparkline.panel.firstPoint'),'config':(_0x323190=_0x119704==null?void 0x0:_0x119704[_0x3561cf(0x1d9)][_0x3561cf(0x177)])==null?void 0x0:_0x323190[_0x3561cf(0x24f)]},_0x3561cf(0x24f))]}),l['jsxs'](_0x3561cf(0x189),{'className':_0x3561cf(0x1d5),'children':[l['jsx'](xe,{'onCheckboxChange':_0x580a48,'onColorChange':_0x25cac2,'chartType':_0x5bc903,'type':_0x3561cf(0x2db),'text':_0x115711['t'](_0x3561cf(0x2f4)),'config':(_0x4b1a76=_0x119704==null?void 0x0:_0x119704[_0x3561cf(0x1d9)][_0x3561cf(0x177)])==null?void 0x0:_0x4b1a76[_0x3561cf(0x2db)]},_0x3561cf(0x2db)),l['jsx'](xe,{'onCheckboxChange':_0x580a48,'onColorChange':_0x25cac2,'chartType':_0x5bc903,'type':_0x3561cf(0x215),'text':_0x115711['t']('sheets-sparkline.panel.lastPoint'),'config':(_0x459530=_0x119704==null?void 0x0:_0x119704['config'][_0x3561cf(0x177)])==null?void 0x0:_0x459530[_0x3561cf(0x215)]},_0x3561cf(0x215))]}),l['jsxs'](_0x3561cf(0x189),{'className':_0x3561cf(0x1d5),'children':[l[_0x3561cf(0x2f7)](xe,{'onCheckboxChange':_0x580a48,'onColorChange':_0x25cac2,'chartType':_0x5bc903,'type':_0x3561cf(0x1b8),'text':_0x115711['t'](_0x3561cf(0x17c)),'config':(_0x241d10=_0x119704==null?void 0x0:_0x119704['config'][_0x3561cf(0x177)])==null?void 0x0:_0x241d10['negativePoint']},_0x3561cf(0x1b8)),l[_0x3561cf(0x2f7)](xe,{'onCheckboxChange':_0x580a48,'onColorChange':_0x25cac2,'chartType':_0x5bc903,'type':'markersPoint','text':_0x115711['t'](_0x3561cf(0x2ab)),'config':(_0x25950d=_0x119704==null?void 0x0:_0x119704[_0x3561cf(0x1d9)][_0x3561cf(0x177)])==null?void 0x0:_0x25950d[_0x3561cf(0x1c4)]},_0x3561cf(0x1c4))]})]})]})]}),_0x119704[_0x3561cf(0x1d9)]['type']===u[_0x3561cf(0x216)][_0x3561cf(0x1a0)]&&l[_0x3561cf(0x2f7)](_0x3561cf(0x189),{'className':_0x3561cf(0x16f),'children':_0x115711['t'](_0x3561cf(0x250))}),l['jsxs'](_0x3561cf(0x189),{'className':_0x3561cf(0x23d),'children':[l[_0x3561cf(0x12e)](O['Button'],{'onClick':()=>_0x5f562b(!0x0),'children':[l['jsx'](an,{}),_0x115711['t'](_0x3561cf(0x137))]}),l['jsxs'](O['Button'],{'onClick':()=>_0x5f562b(!0x1),'children':[l['jsx'](an,{}),_0x115711['t'](_0x3561cf(0x240))]})]})]});},ot=()=>{const _0x42e6f6=_0x4424ef;var _0x2ab540,_0x4f2c0e,_0x2e553b,_0x44c2d2;const _0x2c5ed5=G[_0x42e6f6(0x147)](W[_0x42e6f6(0x273)]),_0x3d13e1=G[_0x42e6f6(0x152)](_0x2c5ed5['selectionMoveEnd$']),_0x139bfd=G['useDependency'](u['SparklineDataSourceModel']),_0x3159b6=G[_0x42e6f6(0x147)](o[_0x42e6f6(0x1d4)]),_0x1d37a4=G[_0x42e6f6(0x147)](o[_0x42e6f6(0x201)]),_0x180be9=W[_0x42e6f6(0x2c2)](_0x3159b6),[_0x217990,_0xfc4ca3]=B[_0x42e6f6(0x218)](_0x42e6f6(0x17b)),_0x55c1c6=_0x217990===_0x42e6f6(0x17b),[,_0x523250]=B[_0x42e6f6(0x218)](Math[_0x42e6f6(0x265)]());if(B[_0x42e6f6(0x2e4)](()=>{const _0x3e8ffd=_0x42e6f6,_0x1b21b5=_0x139bfd[_0x3e8ffd(0x231)][_0x3e8ffd(0x115)](()=>{const _0x1b82ec=_0x3e8ffd;_0x523250(Math[_0x1b82ec(0x265)]());});return()=>{_0x1b21b5['unsubscribe']();};},[_0x139bfd['updateConfig$']]),!_0x180be9)return null;const {unitId:_0x588bdc,subUnitId:_0x176689}=_0x180be9;if(!_0x3d13e1||_0x3d13e1[_0x42e6f6(0x2d8)]>0x1)return null;const {primary:_0x259037,range:_0x44943f}=_0x3d13e1[0x0];if(!_0x259037||!_0x44943f)return null;const _0x587caf=_0x139bfd[_0x42e6f6(0x1ca)](),_0x1e5dda=(_0x2ab540=_0x587caf==null?void 0x0:_0x587caf[_0x42e6f6(0x2b9)]['get'](_0x588bdc))==null?void 0x0:_0x2ab540[_0x42e6f6(0x2e9)](_0x176689),_0x3c270d=(_0x4f2c0e=_0x1e5dda==null?void 0x0:_0x1e5dda[_0x42e6f6(0x123)][_0x42e6f6(0x260)](_0x259037[_0x42e6f6(0x22e)],_0x259037[_0x42e6f6(0x156)]))==null?void 0x0:_0x4f2c0e[_0x42e6f6(0x2a4)];if(!_0x3c270d)return null;const _0x234125=(_0x44c2d2=(_0x2e553b=_0x587caf[_0x42e6f6(0x13a)][_0x42e6f6(0x2e9)](_0x588bdc))==null?void 0x0:_0x2e553b[_0x42e6f6(0x2e9)](_0x176689))==null?void 0x0:_0x44c2d2['get'](_0x3c270d);if(!_0x234125)return null;const _0x44f541={'unitId':_0x588bdc,'subUnitId':_0x176689,'range':_0x44943f,'primary':_0x259037,'groupId':_0x3c270d};return l[_0x42e6f6(0x12e)]('div',{'className':_0x42e6f6(0x1ec),'children':[l['jsxs'](_0x42e6f6(0x189),{'className':_0x42e6f6(0x1bf),'children':[l[_0x42e6f6(0x12e)](_0x42e6f6(0x189),{'className':O[_0x42e6f6(0x157)](_0x42e6f6(0x1b9),{'univer-text-primary-600':_0x55c1c6}),'children':[l[_0x42e6f6(0x2f7)]('div',{'onClick':()=>_0xfc4ca3(_0x42e6f6(0x17b)),'children':_0x1d37a4['t'](_0x42e6f6(0x111))}),_0x55c1c6&&l[_0x42e6f6(0x2f7)](_0x42e6f6(0x189),{'className':_0x42e6f6(0x174)})]}),l[_0x42e6f6(0x12e)](_0x42e6f6(0x189),{'className':O[_0x42e6f6(0x157)]('univer-relative\x20univer-flex\x20univer-h-full\x20univer-cursor-pointer\x20univer-flex-col\x20univer-font-medium\x20univer-leading-7',{'univer-text-primary-600':!_0x55c1c6,'univer-cursor-not-allowed\x20univer-text-gray-200':_0x234125['config'][_0x42e6f6(0x2f8)]===u[_0x42e6f6(0x216)][_0x42e6f6(0x1a0)]}),'children':[l[_0x42e6f6(0x2f7)](_0x42e6f6(0x189),{'onClick':()=>{const _0x4560e3=_0x42e6f6;_0x234125[_0x4560e3(0x1d9)][_0x4560e3(0x2f8)]!==u[_0x4560e3(0x216)][_0x4560e3(0x1a0)]&&_0xfc4ca3('advanced');},'children':_0x1d37a4['t']('sheets-sparkline.panel.advanced')}),!_0x55c1c6&&l[_0x42e6f6(0x2f7)](_0x42e6f6(0x189),{'className':_0x42e6f6(0x2d3)})]})]}),l[_0x42e6f6(0x2f7)](_0x42e6f6(0x189),{'children':_0x55c1c6?l['jsx'](st,{'config':_0x234125,'ctx':_0x44f541}):l[_0x42e6f6(0x2f7)](rt,{'config':_0x234125,'ctx':_0x44f541})})]});};function at(_0x440deb,_0x20672b,_0x1bc86b){const _0x3c5d66=_0x4424ef;if(!_0x1bc86b)return!0x0;if(_0x20672b['length']!==_0x1bc86b[_0x3c5d66(0x2d8)]){if(_0x1bc86b[_0x3c5d66(0x2d8)]===0x1){const _0x2da69d=_0x1bc86b[0x0];if(_0x2da69d[_0x3c5d66(0x27f)]!==_0x2da69d[_0x3c5d66(0x131)]&&_0x2da69d[_0x3c5d66(0x163)]!==_0x2da69d[_0x3c5d66(0x1b6)])return!0x1;}else return!0x1;}if(_0x440deb===_0x3c5d66(0x20e)){if(_0x1bc86b[_0x3c5d66(0x2d8)]!==0x1)return!0x1;const {startRow:_0x34e0b9,startColumn:_0x5f2535,endRow:_0x154ac6,endColumn:_0x40713b}=_0x1bc86b[0x0];if(_0x34e0b9!==_0x154ac6&&_0x5f2535!==_0x40713b)return!0x1;}if(_0x1bc86b['length']>0x1){if(_0x1bc86b[_0x3c5d66(0x2fb)](_0x35158b=>{const {startRow:_0x392cc0,startColumn:_0x4f06c3,endRow:_0x42a455,endColumn:_0x80c6a4}=_0x35158b;return _0x392cc0!==_0x42a455||_0x4f06c3!==_0x80c6a4;}))return!0x1;}else{const _0x5ca952=_0x1bc86b[0x0],{startRow:_0x46282b,startColumn:_0x49d491,endRow:_0xa1c084,endColumn:_0x4fd4a3}=_0x5ca952;if(_0x46282b!==_0xa1c084&&_0x49d491!==_0x4fd4a3)return!0x1;}let _0x12d66b=0x0;for(const _0x1f12c3 of _0x1bc86b)_0x12d66b+=(_0x1f12c3[_0x3c5d66(0x131)]-_0x1f12c3[_0x3c5d66(0x27f)]+0x1)*(_0x1f12c3['endColumn']-_0x1f12c3['startColumn']+0x1);if(_0x20672b['length']>0x1){for(const _0x4cda04 of _0x20672b){const {startColumn:_0x26f9df,startRow:_0x1e58aa,endRow:_0x10fe29,endColumn:_0x46cabf}=_0x4cda04;if(_0x26f9df!==_0x46cabf&&_0x1e58aa!==_0x10fe29)return!0x1;}for(const _0x5b37ca of _0x1bc86b){const {startColumn:_0x140552,startRow:_0x36f5f7,endRow:_0x54fcee,endColumn:_0x3a3f0c}=_0x5b37ca;if(_0x140552!==_0x3a3f0c&&_0x36f5f7!==_0x54fcee)return!0x1;}return!0x0;}else{const _0x5d99ac=_0x20672b[0x0][_0x3c5d66(0x131)]-_0x20672b[0x0]['startRow']+0x1,_0x2cfdc=_0x20672b[0x0][_0x3c5d66(0x1b6)]-_0x20672b[0x0]['startColumn']+0x1;return _0x12d66b===_0x5d99ac||_0x12d66b===_0x2cfdc;}}const lt={'cellSourceRanges':[],'cellTargetRanges':[],'groupSourceRanges':[],'groupTargetRanges':[]},ct=(_0x19000f,_0x5e8f25,_0x1c5176)=>{const _0x503f84=_0x4424ef;var _0x4e6c56,_0x5c1b44,_0x5b592d,_0xfbf6c0,_0x1ec915,_0xc176ee;if(!_0x5e8f25||!_0x1c5176)return lt;const _0x5bf279=_0x19000f['get'](o[_0x503f84(0x1d4)]),_0x1e5687=_0x19000f[_0x503f84(0x2e9)](u[_0x503f84(0x17e)]),_0x4e7240=W[_0x503f84(0x2c2)](_0x5bf279);if(!_0x4e7240)return;const {unitId:_0x174a48,subUnitId:_0x50a988}=_0x4e7240,{actualRow:_0x475bba,actualColumn:_0x58286d}=_0x5e8f25,_0xad4a2d=(_0x5b592d=(_0x5c1b44=(_0x4e6c56=_0x1e5687[_0x503f84(0x1ca)]()[_0x503f84(0x13a)][_0x503f84(0x2e9)](_0x174a48))==null?void 0x0:_0x4e6c56[_0x503f84(0x2e9)](_0x50a988))==null?void 0x0:_0x5c1b44[_0x503f84(0x2e9)](_0x1c5176))==null?void 0x0:_0x5b592d['sparklines']['getValue'](_0x475bba,_0x58286d);if(!_0xad4a2d)return;const _0x2e86cd=[_0xad4a2d],_0x5914c7=[o[_0x503f84(0x249)](_0x475bba,_0x58286d)],_0x32736f=[],_0xc2aa8c=[],_0x3bc6f3=(_0xc176ee=(_0x1ec915=(_0xfbf6c0=_0x1e5687['getSparklineCache']()[_0x503f84(0x13a)][_0x503f84(0x2e9)](_0x174a48))==null?void 0x0:_0xfbf6c0[_0x503f84(0x2e9)](_0x50a988))==null?void 0x0:_0x1ec915[_0x503f84(0x2e9)](_0x1c5176))==null?void 0x0:_0xc176ee['sparklines'];return _0x3bc6f3==null||_0x3bc6f3[_0x503f84(0x2e3)]((_0x5f172b,_0x2e572c,_0x4e8d00)=>{const _0x29a2f7=_0x503f84,_0x439fd5=_0x4e8d00;_0x32736f[_0x29a2f7(0x22b)](_0x439fd5),_0xc2aa8c[_0x29a2f7(0x22b)](o[_0x29a2f7(0x249)](_0x5f172b,_0x2e572c));}),{'cellSourceRanges':_0x2e86cd,'cellTargetRanges':_0x5914c7,'groupSourceRanges':_0x32736f,'groupTargetRanges':_0xc2aa8c};};function ut(_0x1a6977){const _0x5e2d74=_0x4424ef,{sourceRanges:_0x222baa,targetRanges:_0x14b25d,onConfirm:_0x715e6f,onCancel:_0x3deafa,resetCtx:_0x46fac7}=_0x1a6977,_0x4af7db=G[_0x5e2d74(0x147)](o[_0x5e2d74(0x1d4)]),_0x42af43=G[_0x5e2d74(0x147)](o['ICommandService']),_0x4ca734=G[_0x5e2d74(0x147)](u[_0x5e2d74(0x17e)]),_0x22f008=G['useDependency'](o[_0x5e2d74(0x201)]),_0x256ef1=G['useDependency'](o[_0x5e2d74(0x212)]),[_0xe936f9,_0x42309d]=B[_0x5e2d74(0x218)](),[_0x504761,_0x3658aa]=B['useState'](),[_0x357571,_0x21c45f]=B[_0x5e2d74(0x218)](_0x46fac7?_0x5e2d74(0x20e):_0x5e2d74(0x266)),_0x21631a=B['useMemo'](()=>ct(_0x256ef1,_0x46fac7==null?void 0x0:_0x46fac7['primary'],_0x46fac7==null?void 0x0:_0x46fac7[_0x5e2d74(0x2a4)]),[_0x256ef1,_0x46fac7==null?void 0x0:_0x46fac7[_0x5e2d74(0x2a4)],_0x46fac7==null?void 0x0:_0x46fac7[_0x5e2d74(0x1ab)]]),{cellSourceRanges:_0x1f5520,cellTargetRanges:_0x13080c,groupSourceRanges:_0x1fd52e,groupTargetRanges:_0x183cf3}=_0x21631a!=null?_0x21631a:{},[_0x478909,_0xd3b85e]=B[_0x5e2d74(0x218)](_0x46fac7?_0x1f5520:_0x222baa),[_0x250e53,_0x15fa22]=B[_0x5e2d74(0x218)](_0x46fac7?_0x13080c:_0x14b25d),_0x5319d2=G['useDependency'](G['IDialogService']),_0x5066c5=B[_0x5e2d74(0x1c6)](null);B[_0x5e2d74(0x2e4)](()=>{const _0x237592=_0x5e2d74;(_0x478909==null?void 0x0:_0x478909[_0x237592(0x2d8)])===0x0&&_0x42309d(void 0x0),(_0x250e53==null?void 0x0:_0x250e53['length'])===0x0&&_0x3658aa(void 0x0);const _0x12f369=at(_0x357571,_0x478909,_0x250e53);_0x3658aa(_0x12f369?void 0x0:_0x22f008['t'](_0x237592(0x226)));},[_0x22f008,_0x357571,_0x478909,_0x250e53]);const _0x242f3c=_0x21365e=>{const _0x4a8a13=_0x5e2d74;_0x21c45f(_0x21365e),_0xd3b85e(_0x21365e===_0x4a8a13(0x20e)?_0x21631a==null?void 0x0:_0x21631a[_0x4a8a13(0x1e4)]:_0x21631a==null?void 0x0:_0x21631a[_0x4a8a13(0x20a)]),_0x15fa22(_0x21365e===_0x4a8a13(0x20e)?_0x21631a==null?void 0x0:_0x21631a[_0x4a8a13(0x2b6)]:_0x21631a==null?void 0x0:_0x21631a[_0x4a8a13(0x28b)]);},{initSourceRangeStr:_0x1848c9,initTargetRangeStr:_0x3a9711}=B[_0x5e2d74(0x2ed)](()=>{const _0x132c69=_0x5e2d74;var _0x219508,_0x227e1a;let _0x599bdc,_0x199cb9;_0x46fac7?(_0x599bdc=_0x357571===_0x132c69(0x20e)?_0x1f5520:_0x1fd52e,_0x199cb9=_0x357571===_0x132c69(0x20e)?_0x13080c:_0x183cf3):(_0x599bdc=_0x222baa,_0x199cb9=_0x14b25d);const _0x3d6a82=(_0x219508=_0x599bdc==null?void 0x0:_0x599bdc[_0x132c69(0x2aa)](_0xa35ca5=>{const _0x5f32d7=_0x132c69;if(!o['isValidRange'](_0xa35ca5))return _0x42309d(_0x22f008['t'](_0x5f32d7(0x226))),_0x5f32d7(0x2a8);const _0x4c5396=Fe['serializeRange'](_0xa35ca5);return _0x4c5396===_0x5f32d7(0x2ea)?'':_0x4c5396;})['filter'](_0x5f0c63=>!!_0x5f0c63)[_0x132c69(0x2fe)](','))!=null?_0x219508:'',_0x1442bd=(_0x227e1a=_0x199cb9==null?void 0x0:_0x199cb9[_0x132c69(0x2aa)](_0x885885=>{const _0x4ffa99=_0x132c69,_0x1f15f=Fe['serializeRange'](_0x885885);return _0x1f15f===_0x4ffa99(0x2ea)?'':_0x1f15f;})[_0x132c69(0x10e)](_0x5b3ad2=>!!_0x5b3ad2)[_0x132c69(0x2fe)](','))!=null?_0x227e1a:'';return{'initSourceRangeStr':_0x3d6a82,'initTargetRangeStr':_0x1442bd};},[_0x1f5520,_0x13080c,_0x1fd52e,_0x183cf3,_0x22f008,_0x222baa,_0x14b25d,_0x46fac7,_0x357571]),_0x270c21=W[_0x5e2d74(0x2c2)](_0x4af7db);if(!_0x270c21)return null;const {unitId:_0x100297,subUnitId:_0x428573,worksheet:_0x564c52}=_0x270c21;return l[_0x5e2d74(0x12e)](_0x5e2d74(0x189),{'ref':_0x5066c5,'children':[!!_0x46fac7&&l[_0x5e2d74(0x12e)](l['Fragment'],{'children':[l['jsx'](_0x5e2d74(0x189),{'className':_0x5e2d74(0x14c),'children':_0x22f008['t'](_0x5e2d74(0x25a))}),l[_0x5e2d74(0x12e)](_0x5e2d74(0x189),{'className':O[_0x5e2d74(0x157)]('univer-mb-4\x20univer-box-content\x20univer-flex\x20univer-h-7\x20univer-w-full\x20univer-rounded-sm\x20univer-p-0.5',O[_0x5e2d74(0x272)]),'children':[l[_0x5e2d74(0x2f7)](_0x5e2d74(0x189),{'className':O[_0x5e2d74(0x157)](_0x5e2d74(0x142),{'univer-bg-blue-200\x20univer-scrollbar-corner-primary-600':_0x357571===_0x5e2d74(0x20e)}),'onClick':()=>_0x242f3c(_0x5e2d74(0x20e)),'children':_0x22f008['t'](_0x5e2d74(0x15b))}),l['jsx'](_0x5e2d74(0x189),{'className':O[_0x5e2d74(0x157)](_0x5e2d74(0x142),{'univer-bg-blue-200\x20univer-scrollbar-corner-primary-600':_0x357571===_0x5e2d74(0x2ce)}),'onClick':()=>_0x242f3c(_0x5e2d74(0x2ce)),'children':_0x22f008['t']('sheets-sparkline.selector.sparklineGroup')})]})]}),l[_0x5e2d74(0x12e)]('div',{'className':_0x5e2d74(0x14f),'children':[l['jsx'](_0x5e2d74(0x189),{'className':_0x5e2d74(0x15e),'children':_0x22f008['t'](_0x5e2d74(0x17d))}),l['jsx'](mn[_0x5e2d74(0x19b)],{'unitId':_0x100297,'subUnitId':_0x428573,'initialValue':_0x1848c9,'onChange':(_0x521499,_0x534d03)=>{const _0x2a59bb=_0x5e2d74,_0x45d3ab=_0x534d03['split'](',')[_0x2a59bb(0x2aa)](Fe[_0x2a59bb(0x284)])['map'](_0x243aea=>o[_0x2a59bb(0x26c)]['transformRange'](_0x243aea[_0x2a59bb(0x19a)],_0x564c52));if(!_0x45d3ab['some'](_0x446fdb=>!o[_0x2a59bb(0x29b)](_0x446fdb)||_0x446fdb['endColumn']<_0x446fdb[_0x2a59bb(0x163)]||_0x446fdb[_0x2a59bb(0x131)]<_0x446fdb[_0x2a59bb(0x27f)])){if(_0x45d3ab['length']>0x1){if(_0x357571===_0x2a59bb(0x20e)){_0x42309d(_0x22f008['t']('sheets-sparkline.selector.singleSourceError'));return;}const _0x2a47de=_0x45d3ab[_0x2a59bb(0x2fb)](_0x5105fe=>{const {startRow:_0x45867a,endRow:_0x2bacd4,startColumn:_0x1cecf5,endColumn:_0x5161dd}=_0x5105fe;return _0x45867a!==_0x2bacd4&&_0x1cecf5!==_0x5161dd;});_0x42309d(_0x2a47de?_0x22f008['t'](_0x2a59bb(0x29f)):void 0x0),_0x2a47de||_0xd3b85e(_0x45d3ab);return;}else{const {startRow:_0x552d60,endRow:_0x5cc8c8,startColumn:_0x490902,endColumn:_0x1dc1e6}=_0x45d3ab[0x0];if(_0x357571===_0x2a59bb(0x20e)&&_0x552d60!==_0x5cc8c8&&_0x490902!==_0x1dc1e6){_0x42309d(_0x22f008['t'](_0x2a59bb(0x1ff)));return;}}_0x42309d(void 0x0),_0xd3b85e(_0x45d3ab);}},'supportAcrossSheet':!0x1},_0x1848c9),_0xe936f9?l[_0x5e2d74(0x2f7)](_0x5e2d74(0x189),{'className':_0x5e2d74(0x2fa),'children':_0xe936f9}):null]}),l[_0x5e2d74(0x12e)](_0x5e2d74(0x189),{'className':_0x5e2d74(0x14f),'children':[l[_0x5e2d74(0x2f7)](_0x5e2d74(0x189),{'className':_0x5e2d74(0x15e),'children':_0x22f008['t'](_0x5e2d74(0x2d1))}),l['jsx'](mn[_0x5e2d74(0x19b)],{'unitId':_0x100297,'subUnitId':_0x428573,'initialValue':_0x3a9711,'onChange':(_0x41c4c7,_0x35d89f)=>{const _0x54259f=_0x5e2d74,_0x425f3b=_0x35d89f[_0x54259f(0x16e)](',')[_0x54259f(0x2aa)](Fe[_0x54259f(0x284)])[_0x54259f(0x2aa)](_0x3e6aaf=>_0x3e6aaf[_0x54259f(0x19a)]);_0x425f3b['some'](_0x22eebd=>!o[_0x54259f(0x29b)](_0x22eebd)||_0x22eebd[_0x54259f(0x1b6)]<_0x22eebd[_0x54259f(0x163)]||_0x22eebd['endRow']<_0x22eebd['startRow'])||_0x15fa22(_0x425f3b);},'supportAcrossSheet':!0x1},_0x3a9711),_0x504761?l['jsx'](_0x5e2d74(0x189),{'className':_0x5e2d74(0x2fa),'children':_0x504761}):null]}),l[_0x5e2d74(0x12e)](_0x5e2d74(0x189),{'className':_0x5e2d74(0x28c),'children':[l[_0x5e2d74(0x2f7)](O['Button'],{'onClick':()=>{const _0x1ad3e2=_0x5e2d74;_0x5319d2[_0x1ad3e2(0x1e2)](we);},'children':_0x22f008['t'](_0x5e2d74(0x1ed))}),l[_0x5e2d74(0x2f7)](O['Button'],{'variant':_0x5e2d74(0x1ab),'onClick':()=>{const _0x3d72f5=_0x5e2d74;var _0x11f79a,_0x1b7522;if(_0x478909&&_0x250e53&&!_0xe936f9&&!_0x504761){if(_0x46fac7){const _0x400b0a=(_0x1b7522=(_0x11f79a=_0x4ca734[_0x3d72f5(0x1ca)]()[_0x3d72f5(0x13a)]['get'](_0x100297))==null?void 0x0:_0x11f79a['get'](_0x428573))==null?void 0x0:_0x1b7522[_0x3d72f5(0x2e9)](_0x46fac7[_0x3d72f5(0x2a4)]);_0x42af43[_0x3d72f5(0x14e)](u[_0x3d72f5(0x27d)]['id'],{'config':_0x400b0a,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'sourceRanges':_0x478909,'targetRanges':_0x250e53,'groupId':_0x46fac7['groupId'],'resetType':_0x357571,'primary':_0x46fac7[_0x3d72f5(0x1ab)]}}),_0x3deafa();}else _0x715e6f({'sourceRanges':_0x478909,'targetRanges':_0x250e53});}},'disabled':!!(_0xe936f9||_0x504761),'children':_0x22f008['t'](_0x5e2d74(0x261))})]})]});}const Xe=_0x4424ef(0x1c9);function dt(_0x9c5a57){const _0x5a076b=_0x4424ef;return{'id':dn['id'],'title':_0x5a076b(0x2be),'tooltip':_0x5a076b(0x2be),'icon':un,'type':G[_0x5a076b(0x293)][_0x5a076b(0x183)],'hidden$':G[_0x5a076b(0x17f)](_0x9c5a57,o[_0x5a076b(0x2d9)][_0x5a076b(0x1ce)]),'disabled$':oe['getCurrentRangeDisable$'](_0x9c5a57,{'workbookTypes':[W[_0x5a076b(0x2bd)]],'worksheetTypes':[W[_0x5a076b(0x1f9)]],'rangeTypes':[W[_0x5a076b(0x203)]]})};}function pt(_0x48617e){const _0x1b2c21=_0x4424ef;return{'id':Xe,'type':G[_0x1b2c21(0x293)][_0x1b2c21(0x29e)],'icon':un,'title':'sheets-sparkline.title','hidden$':ue[_0x1b2c21(0x2b0)]([G[_0x1b2c21(0x17f)](_0x48617e,o[_0x1b2c21(0x2d9)]['UNIVER_SHEET']),ht(_0x48617e)])[_0x1b2c21(0x2e8)](ue[_0x1b2c21(0x2aa)](([_0x404adf,_0x3aa383])=>_0x404adf||_0x3aa383))};}function _0x7ab7(){const _0x1937fa=['rgb(0,\x200,\x200)','switchMap','groupId','svg','#FFCE56','SHEET_SPARKLINE_PANEL','#REF!','_autoFillService','map','sheets-sparkline.panel.markersPoint','LineSparklineIcon','sheets-sparkline.panel.highPoint','M1.93072\x2010.1835L1.93106\x2010.1799L1.93238\x2010.1666L1.93813\x2010.1111C1.94338\x2010.0618\x201.95153\x209.98842\x201.96289\x209.89446C1.98561\x209.70646\x202.02113\x209.43651\x202.07197\x209.11205C2.17396\x208.46117\x202.3362\x207.60002\x202.57751\x206.74447C2.82117\x205.88055\x203.13443\x205.06289\x203.52207\x204.47386C3.91655\x203.87444\x204.30029\x203.63604\x204.6667\x203.63604C5.20279\x203.63604\x205.59094\x203.79262\x205.89245\x204.03213C6.20445\x204.27998\x206.45611\x204.64319\x206.66114\x205.09919C7.01279\x205.88128\x207.17707\x206.8062\x207.32445\x207.63596C7.35331\x207.79845\x207.38152\x207.95729\x207.41037\x208.1107C7.5826\x209.0267\x207.93167\x2010.342\x208.56261\x2011.4445C9.18786\x2012.5371\x2010.18\x2013.5636\x2011.6667\x2013.5636C12.5868\x2013.5636\x2013.2216\x2012.8668\x2013.6371\x2012.1596C14.0698\x2011.4232\x2014.3885\x2010.4735\x2014.6226\x209.56823C14.8589\x208.65445\x2015.0188\x207.74576\x2015.1195\x207.06881C15.1701\x206.72945\x2015.206\x206.44627\x2015.2294\x206.24721C15.2411\x206.14764\x2015.2497\x206.069\x2015.2554\x206.01477L15.2618\x205.95213L15.2634\x205.93533L15.264\x205.92935C15.264\x205.9292\x2015.2641\x205.92865\x2014.6667\x205.87248L15.264\x205.92935C15.295\x205.59943\x2015.0528\x205.30614\x2014.7229\x205.27512C14.393\x205.2441\x2014.1004\x205.48635\x2014.0693\x205.81621C14.0694\x205.81618\x2014.0693\x205.81625\x2014.0693\x205.81621L14.069\x205.81992L14.0677\x205.83353L14.0619\x205.88948C14.0567\x205.93912\x2014.0487\x206.01283\x2014.0376\x206.10715C14.0154\x206.29588\x2013.9811\x206.5667\x2013.9326\x206.89213C13.8355\x207.54477\x2013.6829\x208.40886\x2013.4608\x209.26786C13.2365\x2010.1353\x2012.9511\x2010.9584\x2012.6025\x2011.5517C12.2368\x2012.174\x2011.9132\x2012.3636\x2011.6667\x2012.3636C10.82\x2012.3636\x2010.1455\x2011.7946\x209.60413\x2010.8485C9.0684\x209.91233\x208.7508\x208.74572\x208.5897\x207.88895C8.56536\x207.75946\x208.54044\x207.61783\x208.51388\x207.46683C8.36895\x206.64284\x208.1749\x205.53963\x207.7556\x204.60708C7.50229\x204.04373\x207.14979\x203.49839\x206.63887\x203.09252C6.11746\x202.67833\x205.46395\x202.43604\x204.6667\x202.43604C3.69978\x202.43604\x203.00019\x203.08402\x202.51967\x203.81418C2.03231\x204.55474\x201.6789\x205.50986\x201.42256\x206.41872C1.16387\x207.33596\x200.99278\x208.24759\x200.886434\x208.92629C0.833107\x209.26662\x200.795708\x209.55066\x200.771558\x209.75046C0.759477\x209.8504\x200.750696\x209.92939\x200.744883\x209.98395L0.738344\x2010.0471L0.736664\x2010.0641L0.736208\x2010.0688L0.736074\x2010.0702C0.736059\x2010.0704\x200.736002\x2010.071\x201.33337\x2010.1272L0.736074\x2010.0702C0.705057\x2010.4002\x200.947291\x2010.6935\x201.27721\x2010.7245C1.60708\x2010.7555\x201.89964\x2010.5133\x201.93072\x2010.1835Z','size','combineLatest','WriteIcon','open','showMax','SpacialShowAsEnum','_injector','cellTargetRanges','SPACING','use','sparklineAnchorMap','#000','univer-flex\x20univer-items-center','_sourceIds','WorkbookEditablePermission','sheets-sparkline.title','beforeCommandExecuted','url(#$1','restore','getSheetCommandTarget','COL_HEADER','forwardRef','axis','1263110xkbmvM','1px','univer-text-sm\x20univer-font-medium','fill','IDialogService','params','addClipboardHook','M10.4999\x201.61475C9.61625\x201.61475\x208.8999\x202.33109\x208.8999\x203.21475V4.75646C8.77205\x204.72356\x208.63802\x204.70605\x208.4999\x204.70605H7.4999C6.61625\x204.70605\x205.8999\x205.4224\x205.8999\x206.30606V7.7506C5.77205\x207.7177\x205.63802\x207.7002\x205.4999\x207.7002H4.4999C3.61625\x207.7002\x202.8999\x208.41654\x202.8999\x209.3002V13.1851H1.3334C1.00203\x2013.1851\x200.733398\x2013.4537\x200.733398\x2013.7851C0.733398\x2014.1164\x201.00203\x2014.3851\x201.3334\x2014.3851H3.48937L3.4999\x2014.3851H6.4999L6.50256\x2014.3851H9.4999L9.50644\x2014.3851H12.4999L12.5047\x2014.3851H14.6667C14.9981\x2014.3851\x2015.2667\x2014.1164\x2015.2667\x2013.7851C15.2667\x2013.4537\x2014.9981\x2013.1851\x2014.6667\x2013.1851H13.0999V3.21475C13.0999\x202.33109\x2012.3836\x201.61475\x2011.4999\x201.61475H10.4999ZM11.8999\x2013.1851V3.21475C11.8999\x202.99383\x2011.7208\x202.81475\x2011.4999\x202.81475H10.4999C10.279\x202.81475\x2010.0999\x202.99383\x2010.0999\x203.21475V13.1851H11.8999ZM8.8999\x2013.1851V6.30605C8.8999\x206.08514\x208.72082\x205.90605\x208.4999\x205.90605H7.4999C7.27899\x205.90605\x207.0999\x206.08514\x207.0999\x206.30606V13.1851H8.8999ZM5.8999\x209.3002V13.1851H4.0999V9.3002C4.0999\x209.07928\x204.27899\x208.9002\x204.4999\x208.9002H5.4999C5.72082\x208.9002\x205.8999\x209.07928\x205.8999\x209.3002Z','group','2958115oVopow','APPLY_TYPE','sheets-sparkline.selector.setTarget','getRowVisible','univer-bg-pruniver-text-primary-600\x20univer-absolute\x20univer-bottom-0\x20univer-h-0.5\x20univer-w-full\x20univer-rounded-sm\x20univer-transition-transform\x20univer-duration-300\x20univer-ease-in-out','SparklinePointsNames','#FF9F40','M9.56654\x201.40506C9.72053\x201.29203\x209.91914\x201.25907\x2010.1014\x201.3163C12.2805\x202.00072\x2013.9997\x203.71989\x2014.6841\x205.899C14.7413\x206.08125\x2014.7083\x206.27986\x2014.5953\x206.43384C14.4823\x206.58783\x2014.3027\x206.67879\x2014.1116\x206.67879H10.0216C9.635\x206.67879\x209.3216\x206.36539\x209.3216\x205.97879V1.88873C9.3216\x201.69771\x209.41256\x201.5181\x209.56654\x201.40506ZM10.5216\x202.77012V5.47879H13.2303C12.6601\x204.29855\x2011.7018\x203.34027\x2010.5216\x202.77012Z','1291076GAKzXe','length','UniverInstanceType','onStarting','lowPoint','_initSkeleton','MAIN_AREA','xlink:href','showRadius','ContextMenuGroup','MoreRightIcon','seriesColor','forValue','useEffect','themeType','ObjectMatrix','CONNECT_WITH_LINE','pipe','get','NaN','mergeMenu','sheets-sparkline.panel.unCompose','useMemo','transparent','worksheet','_localeService','ungroup-sparkline-icon_clip0_1729_95','PieChartIcon','UniverSheetsGraphicsPlugin','sheets-sparkline.panel.lowPoint','getSubUnitSparkline','_markSelectionService','jsx','type','touchDependencies','univer-text-xs\x20univer-text-red-500','some','useCallback','sheets-sparkline.panel.groupMax','join','#4BC0C0','sheets-sparkline.panel.zeroValue','nonNum','IConfigService','onRendered','_initComponents','showMin','IMenuManagerService','sheets-sparkline.panel.showEmptyAs','replace','univer-mt-2','emptyShowAs','sheets-sparkline.panel.type','Dropdown','CUT','filter','from','entries','sheets-sparkline.panel.basic','getSparkline','endGradient','DATA','subscribe','sheets-sparkline.panel.','sheet.operation.open-sparkline-selector','_sheetSelectionService','sheets-sparkline.panel.showNonNumAs','_targetIds','mergeInfo','univer-flex\x20univer-h-5\x20univer-w-[45%]\x20univer-items-center\x20univer-justify-between\x20univer-rounded-sm\x20hover:univer-bg-gray-200','sheets-sparkline.panel.radius','getCurrentTypeOfUnit$','cols','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-justify-between','M8.92204\x2011.2255C8.43208\x2011.779\x207.56829\x2011.779\x207.07833\x2011.2255L4.13584\x207.9017C3.43246\x207.10716\x203.99655\x205.85442\x205.0577\x205.85442L10.9427\x205.85442C12.0038\x205.85442\x2012.5679\x207.10716\x2011.8645\x207.9017L8.92204\x2011.2255Z','extremumMax','matrix','_sidebarService','PLUGIN_NAME','addColorStop','interceptor','addHook','M6.46611\x204.94092C5.80337\x204.94092\x205.26611\x205.47818\x205.26611\x206.14092V7.89193C5.26611\x208.55467\x205.80337\x209.09193\x206.46611\x209.09193H7.23345V9.85927C7.23345\x2010.522\x207.77071\x2011.0593\x208.43345\x2011.0593H10.1845C10.8472\x2011.0593\x2011.3845\x2010.522\x2011.3845\x209.85927V8.10826C11.3845\x207.44552\x2010.8472\x206.90826\x2010.1845\x206.90826L9.41713\x206.90826V6.14092C9.41713\x205.47818\x208.87987\x204.94092\x208.21713\x204.94092H6.46611ZM6.46611\x206.14092L8.21713\x206.14092L8.21713\x206.90826C8.21713\x207.571\x208.75438\x208.10826\x209.41713\x208.10826H10.1845V9.85927H8.43345V9.09193C8.43345\x208.42919\x207.8962\x207.89193\x207.23345\x207.89193H6.46611V6.14092Z','getMatrix','M5.3313\x201.4667C5.3313\x201.13533\x205.59993\x200.866699\x205.9313\x200.866699H10.069C10.4004\x200.866699\x2010.669\x201.13533\x2010.669\x201.4667C10.669\x201.79807\x2010.4004\x202.0667\x2010.069\x202.0667H5.9313C5.59993\x202.0667\x205.3313\x201.79807\x205.3313\x201.4667Z','STANDARD','clipPath','jsxs','ColorKit','addShapeWithNoFresh','endRow','ungroup-sparkline-icon','moveTo','toNativeArray','211056LkdRaI','tag','sheets-sparkline.panel.removeItem','auditTime','containHiddenCells','sparklineModel','pie-chart-icon','sheets-sparkline.panel.spacing','0\x200\x2016\x2016','shift','_rangeProtectionCache','arcTo','_config','univer-h-7\x20univer-flex-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-text-center\x20univer-text-sm\x20univer-leading-7','onCommandExecuted','IAutoFillService','sheets-sparkline.panel.title','register','useDependency','DOWN','makeDirty','_sheetsSelectionsService','fillStyle','univer-mb-2\x20univer-text-sm','0\x200\x2017\x2016','executeCommand','univer-mb-4','ColumnSparklineIcon','univer-pb-4\x20univer-pl-4\x20univer-pt-2.5','useObservable','sheets-sparkline.panel.reverse','includes','attrs','actualColumn','clsx','toHexString','distinctUntilChanged','PROFIT_AND_LOSS_CHART','sheets-sparkline.selector.sparkline','write-icon','Button','univer-mb-2\x20univer-text-sm\x20univer-text-gray-800\x20dark:!univer-text-gray-100','#FF6384','ContextMenuPosition','univer-rounded-tl-0.5\x20univer-rounded-bl-0.5\x20univer-mr-2\x20univer-h-4\x20univer-w-6','sheets-sparkline.panel.gradient','startColumn','colorChannel1','more-right-icon','_initClipboardWithSparkline','white','substring','createLinearGradient','keys','M7.4999\x201.31738C6.61625\x201.31738\x205.8999\x202.03373\x205.8999\x202.91738V6.91738C5.8999\x207.80104\x206.61625\x208.51738\x207.4999\x208.51738H8.4999C9.38356\x208.51738\x2010.0999\x207.80104\x2010.0999\x206.91738V2.91738C10.0999\x202.03373\x209.38356\x201.31738\x208.4999\x201.31738H7.4999ZM7.0999\x202.91738C7.0999\x202.69647\x207.27899\x202.51738\x207.4999\x202.51738H8.4999C8.72082\x202.51738\x208.8999\x202.69647\x208.8999\x202.91738V6.91738C8.8999\x207.1383\x208.72082\x207.31738\x208.4999\x207.31738H7.4999C7.27899\x207.31738\x207.0999\x207.1383\x207.0999\x206.91738V2.91738Z','getSparklineById','1173928BIxFdW','split','univer-mb-3\x20univer-text-sm\x20univer-font-medium','Checkbox','5280824WYZuhr','univer-m-0.5\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20univer-text-center\x20univer-leading-8','add','univer-absolute\x20univer-bottom-0\x20univer-h-0.5\x20univer-w-full\x20univer-rounded-sm\x20univer-bg-primary-600\x20univer-transition-transform\x20univer-duration-300\x20univer-ease-in-out','CommandType','UniverIcon','points','126RBBLli','rows','lineTo','basic','sheets-sparkline.panel.negativePoint','sheets-sparkline.selector.setSource','SparklineDataSourceModel','getMenuHiddenObservable','getUnitId','defIds','LAYOUT','BUTTON','20461900EdCMoS','Direction','Module','visible','unitId','div','M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','OPERATION','2px','setValue','pie-chart-icon_clip0_1644_114','univer-flex\x20univer-w-full\x20univer-rounded-lg\x20!univer-bg-gray-50\x20univer-p-0\x20dark:!univer-bg-gray-900','reverse','UniverSheetSparklineUIPlugin','SHEET_SPARKLINE_RENDERER','value','univer-truncate\x20univer-text-sm\x20univer-leading-tight\x20univer-text-gray-900\x20dark:!univer-text-white','univer-size-5','selectionMoveEnd$','foreach','_sheetPermissionCheckController','SHEET_SPARKLINE_PANEL_ID','range','RangeSelector','delete-icon','number','url(#ungroup-sparkline-icon_clip0_1729_95)','ColorPicker','PIE_CHART','4px','univer-mb-2','_dialogService','#36A2EB','getCurrentRangeDisable$','Disposable','sheets-sparkline.panel.profitAndLoss','sheets-sparkline.panel.adjustStyle','_initRegisterCommand','max','primary','u-connect','univer-flex\x20univer-flex-col','1em','registerRenderModule','lineWidth','sheets-sparkline.panel.pie','evenodd','isDark','_initAutoFillWithSparkline','min','endColumn','_sheetClipboardService','negativePoint','univer-relative\x20univer-flex\x20univer-h-full\x20univer-cursor-pointer\x20univer-flex-col\x20univer-font-medium\x20univer-leading-7','6hlUrCJ','SHEET_SPARKLINE_MENU','sheets-sparkline.panel.min','path','_initMenu','univer-relative\x20univer-mx-0\x20univer-my-4\x20univer-box-border\x20univer-flex\x20univer-h-10\x20univer-items-center\x20univer-justify-around','nonNumShowAs','sheets-sparkline.panel.horizontal','SparklineThemeMapping','sheets-sparkline.panel.itemMin','markersPoint','M6.12398\x208.30171C6.35829\x208.0674\x206.73819\x208.0674\x206.97251\x208.30171L8.00007\x209.32928L9.02764\x208.30171C9.26195\x208.0674\x209.64185\x208.0674\x209.87617\x208.30171C10.1105\x208.53603\x2010.1105\x208.91593\x209.87617\x209.15024L8.8486\x2010.1778L9.87617\x2011.2054C10.1105\x2011.4397\x2010.1105\x2011.8196\x209.87617\x2012.0539C9.64185\x2012.2882\x209.26195\x2012.2882\x209.02764\x2012.0539L8.00007\x2011.0263L6.97251\x2012.0539C6.73819\x2012.2882\x206.35829\x2012.2882\x206.12398\x2012.0539C5.88966\x2011.8196\x205.88966\x2011.4397\x206.12398\x2011.2054L7.15154\x2010.1778L6.12398\x209.15024C5.88966\x208.91593\x205.88966\x208.53603\x206.12398\x208.30171Z','useRef','CUSTOM_EXTREMUM','startGradient','sheet.sparkline.context-menu-id','getSparklineCache','permission.dialog.editErr','Fragment','_configService','UNIVER_SHEET','_sheetGraphicsRenderController','_context','RangeProtectionCache','univer-flex\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-rounded-sm','InputNumber','IUniverInstanceService','univer-mb-2\x20univer-flex\x20univer-w-full\x20univer-justify-between','getSheetId','DEFAULT_PASTE','extra','config','M2.54552\x200.733398C1.54471\x200.733398\x200.733398\x201.54471\x200.733398\x202.54552C0.733398\x203.33614\x201.23972\x204.0085\x201.9458\x204.25604V7.50149C1.23972\x207.74903\x200.733398\x208.4214\x200.733398\x209.21202C0.733398\x2010.2128\x201.54471\x2011.0241\x202.54552\x2011.0241C3.33593\x2011.0241\x204.00815\x2010.5181\x204.25585\x209.81228H6.18799V11.7442C5.48191\x2011.9917\x204.97559\x2012.6641\x204.97559\x2013.4547C4.97559\x2014.4555\x205.7869\x2015.2668\x206.7877\x2015.2668C7.57829\x2015.2668\x208.25064\x2014.7605\x208.4982\x2014.0545H11.7442C11.9918\x2014.7605\x2012.6641\x2015.2668\x2013.4547\x2015.2668C14.4555\x2015.2668\x2015.2668\x2014.4555\x2015.2668\x2013.4547C15.2668\x2012.6641\x2014.7605\x2011.9918\x2014.0545\x2011.7442V8.4982C14.7605\x208.25064\x2015.2668\x207.57829\x2015.2668\x206.7877C15.2668\x205.7869\x2014.4555\x204.97559\x2013.4547\x204.97559C12.6641\x204.97559\x2011.9917\x205.48191\x2011.7442\x206.18799H9.81228V4.25585C10.5181\x204.00815\x2011.0241\x203.33593\x2011.0241\x202.54552C11.0241\x201.54471\x2010.2128\x200.733398\x209.21202\x200.733398C8.42158\x200.733398\x207.74934\x201.23949\x207.50166\x201.94531H4.25587C4.00819\x201.23949\x203.33595\x200.733398\x202.54552\x200.733398ZM12.8545\x208.49806C12.3365\x208.3163\x2011.9261\x207.90593\x2011.7444\x207.38799H9.81228V8.21228C9.81228\x209.09594\x209.09594\x209.81228\x208.21228\x209.81228H7.38799V11.7444C7.90593\x2011.9261\x208.3163\x2012.3365\x208.49806\x2012.8545H11.7443C11.9261\x2012.3365\x2012.3365\x2011.9261\x2012.8545\x2011.7443V8.49806ZM3.1458\x207.50169V4.25584C3.66388\x204.07402\x204.07433\x203.66346\x204.25601\x203.14531H7.50152C7.68327\x203.66364\x208.09395\x204.07431\x208.61228\x204.25603V8.21228C8.61228\x208.4332\x208.4332\x208.61228\x208.21228\x208.61228H6.84486C6.82614\x208.61052\x206.80717\x208.60962\x206.78799\x208.60962C6.76881\x208.60962\x206.74984\x208.61052\x206.73112\x208.61228H4.25603C4.07436\x208.09411\x203.6639\x207.68353\x203.1458\x207.50169ZM2.5458\x208.60012L2.53418\x208.60001C2.20135\x208.60605\x201.9334\x208.87774\x201.9334\x209.21202C1.9334\x209.55008\x202.20745\x209.82414\x202.54552\x209.82414C2.88358\x209.82414\x203.15763\x209.55008\x203.15763\x209.21202C3.15763\x208.87784\x202.88984\x208.60621\x202.55714\x208.60001L2.5458\x208.60012ZM9.21202\x203.15763C8.87805\x203.15763\x208.60654\x202.89017\x208.60002\x202.55776L8.60015\x202.54531L8.60003\x202.53311C8.60663\x202.20077\x208.8781\x201.9334\x209.21202\x201.9334C9.55008\x201.9334\x209.82414\x202.20745\x209.82414\x202.54552C9.82414\x202.88358\x209.55008\x203.15763\x209.21202\x203.15763ZM1.9334\x202.54552C1.9334\x202.20745\x202.20745\x201.9334\x202.54552\x201.9334C2.88358\x201.9334\x203.15763\x202.20745\x203.15763\x202.54552C3.15763\x202.88358\x202.88358\x203.15763\x202.54552\x203.15763C2.20745\x203.15763\x201.9334\x202.88358\x201.9334\x202.54552ZM12.8426\x2013.4547C12.8426\x2013.1166\x2013.1166\x2012.8426\x2013.4547\x2012.8426C13.7928\x2012.8426\x2014.0668\x2013.1166\x2014.0668\x2013.4547C14.0668\x2013.7928\x2013.7928\x2014.0668\x2013.4547\x2014.0668C13.1166\x2014.0668\x2012.8426\x2013.7928\x2012.8426\x2013.4547ZM6.17559\x2013.4547C6.17559\x2013.1166\x206.44964\x2012.8426\x206.7877\x2012.8426C7.12576\x2012.8426\x207.39982\x2013.1166\x207.39982\x2013.4547C7.39982\x2013.7928\x207.12576\x2014.0668\x206.7877\x2014.0668C6.44964\x2014.0668\x206.17559\x2013.7928\x206.17559\x2013.4547ZM12.8426\x206.7877C12.8426\x206.44964\x2013.1166\x206.17559\x2013.4547\x206.17559C13.7928\x206.17559\x2014.0668\x206.44964\x2014.0668\x206.7877C14.0668\x207.12576\x2013.7928\x207.39982\x2013.4547\x207.39982C13.1166\x207.39982\x2012.8426\x207.12576\x2012.8426\x206.7877Z','M1.79238\x2013.2999C1.46101\x2013.2999\x201.19238\x2013.5685\x201.19238\x2013.8999C1.19238\x2014.2313\x201.46101\x2014.4999\x201.79238\x2014.4999H14.4924C14.8238\x2014.4999\x2015.0924\x2014.2313\x2015.0924\x2013.8999C15.0924\x2013.5685\x2014.8238\x2013.2999\x2014.4924\x2013.2999H1.79238Z','_renderManagerService','IMarkSelectionService','getMergedCell','univer-p-4','univer-mt-3','sheet.operation.open-sparkline-panel','close','_menuManagerService','cellSourceRanges','SheetPrintInterceptorService','#B4A0E5','ISheetClipboardService','M10.5366\x209.08291C10.5366\x208.19925\x2011.253\x207.48291\x2012.1366\x207.48291H13.1366C14.0203\x207.48291\x2014.7366\x208.19925\x2014.7366\x209.08291V13.0829C14.7366\x2013.9666\x2014.0203\x2014.6829\x2013.1366\x2014.6829H12.1366C11.253\x2014.6829\x2010.5366\x2013.9666\x2010.5366\x2013.0829V9.08291ZM12.1366\x208.68291C11.9157\x208.68291\x2011.7366\x208.862\x2011.7366\x209.08291V13.0829C11.7366\x2013.3038\x2011.9157\x2013.4829\x2012.1366\x2013.4829H13.1366C13.3575\x2013.4829\x2013.5366\x2013.3038\x2013.5366\x2013.0829V9.08291C13.5366\x208.862\x2013.3575\x208.68291\x2013.1366\x208.68291H12.1366Z','M1.26318\x209.08291C1.26318\x208.19925\x201.97953\x207.48291\x202.86318\x207.48291H3.86318C4.74684\x207.48291\x205.46318\x208.19925\x205.46318\x209.08291V13.0829C5.46318\x2013.9666\x204.74684\x2014.6829\x203.86318\x2014.6829H2.86318C1.97953\x2014.6829\x201.26318\x2013.9666\x201.26318\x2013.0829V9.08291ZM2.86318\x208.68291C2.64227\x208.68291\x202.46318\x208.862\x202.46318\x209.08291V13.0829C2.46318\x2013.3038\x202.64227\x2013.4829\x202.86318\x2013.4829H3.86318C4.0841\x2013.4829\x204.26318\x2013.3038\x204.26318\x2013.0829V9.08291C4.26318\x208.862\x204.0841\x208.68291\x203.86318\x208.68291H2.86318Z','string','rect','univer-max-w-[290px]\x20univer-pb-4\x20univer-text-gray-900\x20dark:!univer-text-white','sheets-sparkline.selector.cancel','standard','assign','deepClone','u-spacing','SHEET_SPARKLINE_SELECTOR','PointColorDoubleIcon','M1.09985\x203.64443C1.09985\x203.31306\x201.36848\x203.04443\x201.69985\x203.04443H14.2999C14.6312\x203.04443\x2014.8999\x203.31306\x2014.8999\x203.64443C14.8999\x203.9758\x2014.6312\x204.24443\x2014.2999\x204.24443H1.69985C1.36848\x204.24443\x201.09985\x203.9758\x201.09985\x203.64443Z','sheets-sparkline.panel.composeManager','permissionCheckWithRanges','http://www.w3.org/2000/svg','lineJoin','WorksheetEditPermission','subUnitId','Radio','rgba(73,\x20184,\x2017,\x200.05)','AddSheetSparklineCommand','getSizeOf','sheets-sparkline.selector.resetSourceError','Tools','LocaleService','borderBottomClassName','RangeProtectionPermissionEditPoint','M4.75332\x205.22217C3.86966\x205.22217\x203.15332\x205.93851\x203.15332\x206.82217V12.5331C3.15332\x2013.9691\x204.31738\x2015.1332\x205.75332\x2015.1332H10.2465C11.6825\x2015.1332\x2012.8465\x2013.9691\x2012.8465\x2012.5331V6.82217C12.8465\x205.93851\x2012.1302\x205.22217\x2011.2465\x205.22217H4.75332ZM4.35332\x206.82217C4.35332\x206.60125\x204.53241\x206.42217\x204.75332\x206.42217H11.2465C11.4674\x206.42217\x2011.6465\x206.60125\x2011.6465\x206.82217V12.5331C11.6465\x2013.3063\x2011.0197\x2013.9332\x2010.2465\x2013.9332H5.75332C4.98012\x2013.9332\x204.35332\x2013.3063\x204.35332\x2012.5331V6.82217Z','sparklines','_initPermissionWithSparkline','getCellInfo','fillRect','_registerRenderer','groupSourceRanges','univer-mr-0.5\x20univer-mt-0.5','empty','M12.6551\x201.98906C11.7476\x201.08113\x2010.2757\x201.08149\x209.3686\x201.98987L4.82542\x206.53955C4.75087\x206.61421\x204.69336\x206.70411\x204.65682\x206.80309L3.2461\x2010.625C3.16506\x2010.8446\x203.21909\x2011.0912\x203.3845\x2011.2568C3.54991\x2011.4224\x203.79651\x2011.4767\x204.01616\x2011.3959L7.85031\x209.98517C7.94979\x209.94856\x208.04014\x209.89077\x208.11508\x209.81579L12.6552\x205.27327C13.5618\x204.36621\x2013.5618\x202.89607\x2012.6551\x201.98906ZM10.2177\x202.83779C10.6562\x202.39869\x2011.3677\x202.39851\x2011.8064\x202.8374C12.2447\x203.27584\x2012.2447\x203.9865\x2011.8065\x204.42497L7.3392\x208.89457L4.82213\x209.82068L5.74706\x207.31487L10.2177\x202.83779Z','item','LEFT','SERIES','ComponentManager','Injector','sheets-sparkline-ui.config','values','lastPoint','SparklineTypeEnum','M0\x200H16V16H0z','useState','univer-rounded-tl-0.5\x20univer-rounded-bl-0.5\x20univer-h-4\x20univer-w-6','stroke','RemoveSheetSparklineMutation','univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-gap-3\x20univer-p-3\x20univer-text-xs','sheets-sparkline.panel.bar','ONLY_FORMAT','ZERO_VALUE','sheets-sparkline.panel.max','#9966FF','sheets-sparkline.edit','RibbonInsertGroup','clone','sheets-sparkline.selector.title','sheets-sparkline.selector.targetError','SELF_EXTREMUM','univer-cursor-pointer','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','#E7E9ED','push','AddSheetSparklineMutation','span','actualRow','closePath','pasteType','updateConfig$','merge','PRINTING_RANGE','sheets-sparkline.panel.vertical','_sparklineDataSourceModel','univer-mb-5\x20univer-text-sm','winloss-sparkline-icon','currentColor','column-sparkline-icon','getOwnPropertyDescriptor','extremumMin','strokeStyle','univer-flex\x20univer-justify-between','beginPath','getColVisible','sheets-sparkline.panel.removeGroup','color','ICommandService','intercept','dispose','getCurrentSelections','SHEET_SPARKLINE_UI_PLUGIN','#ffffff','rgba(232,\x2095,\x2095,\x200.05)','cellToRange','displayName','univer-px-0\x20univer-py-2.5','mask','UngroupSparklineIcon','disposeWithMe','firstPoint','sheets-sparkline.panel.manager','sheets-sparkline.panel.connectWithLine','Plugin','clip','RadioGroup','toStringTag','GROUP_EXTREMUM','contains','realDeleteValue','sheets-sparkline.panel.sourceAndPosition','sheets-sparkline.selector.changeType','UnitAction','Inject','sheets-sparkline.remove','has','_sheetPrintInterceptorService','getValue','sheets-sparkline.selector.confirm','idSuffix','univer-flex-1','parseInt','random','none','_univerInstanceService','defineProperty','generateRandomId','symbol','sheets-sparkline.panel.itemMax','Range','UniverSheetSparklinePlugin','rgb(64,\x20159,\x2017)','univerjs-icon\x20univerjs-icon-','save','18iybLKM','borderClassName','SheetsSelectionsService','setConfig','SparklineExtremumTypeEnum','group-sparkline-icon','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-cursor-default\x20univer-items-center\x20univer-rounded-lg\x20univer-bg-gray-50\x20dark:!univer-bg-gray-800','arc','BAR_CHART','registerRenderer','sheets-sparkline.panel.default','univer-box-border\x20univer-flex\x20univer-h-8\x20univer-w-full\x20univer-flex-1\x20univer-items-center\x20univer-justify-between\x20univer-p-3\x20univer-leading-8','SetSheetSparklineCommand','#f00c0c','startRow','sheets-sparkline.panel.lineWidth','Select','SparklineThemeTypeEnum','COPY_TYPE','deserializeRangeWithSheet','_commandService','Rectangle','children','forEach','_componentManager','highPoint','groupTargetRanges','univer-flex\x20univer-justify-end\x20univer-gap-2','abs','blockExecuteWithoutPermission','removeShape','RemoveSheetSparklineCommand','createElement','CUSTOM','MenuItemType','refreshShapes','url(#pie-chart-icon_clip0_1644_114)','SetWorksheetActiveOperation','3px','RIGHT','trim','Edit','isValidRange','LINE_CHART','_initSelectionMove','SUBITEMS','sheets-sparkline.selector.multSourceError','#49B811','SheetGraphicsRenderController'];_0x7ab7=function(){return _0x1937fa;};return _0x7ab7();}function rn(_0x36cbd7){const _0x1c3c1d=_0x4424ef;return{'id':u[_0x1c3c1d(0x290)]['id'],'type':G['MenuItemType']['BUTTON'],'title':_0x1c3c1d(0x25d),'tooltip':_0x1c3c1d(0x25d),'disabled$':oe[_0x1c3c1d(0x1a5)](_0x36cbd7,{'workbookTypes':[W[_0x1c3c1d(0x2bd)]],'worksheetTypes':[W[_0x1c3c1d(0x1f9)]],'rangeTypes':[W[_0x1c3c1d(0x203)]]})};}function sn(_0x80e2d5){const _0xc1ebe8=_0x4424ef;return{'id':We['id'],'title':_0xc1ebe8(0x222),'tooltip':_0xc1ebe8(0x222),'type':G[_0xc1ebe8(0x293)][_0xc1ebe8(0x183)],'disabled$':oe[_0xc1ebe8(0x1a5)](_0x80e2d5,{'workbookTypes':[W[_0xc1ebe8(0x2bd)]],'worksheetTypes':[W['WorksheetEditPermission']],'rangeTypes':[W['RangeProtectionPermissionEditPoint']]})};}function ht(_0x181945){const _0x540c01=_0x4424ef,_0x15d091=_0x181945[_0x540c01(0x2e9)](o[_0x540c01(0x1d4)])[_0x540c01(0x11e)](o['UniverInstanceType'][_0x540c01(0x1ce)]),_0x396ce=_0x181945[_0x540c01(0x2e9)](u['SparklineDataSourceModel']),_0x27d0fd=_0x181945[_0x540c01(0x2e9)](W[_0x540c01(0x1d1)]);return _0x15d091['pipe'](ue['switchMap'](_0x3224f3=>_0x3224f3?_0x3224f3['activeSheet$'][_0x540c01(0x2e8)](ue[_0x540c01(0x2a3)](_0x584fc4=>{const _0x47a736=_0x540c01;if(!_0x584fc4)return ue['of'](!0x0);const _0x27e3f7=_0x181945[_0x47a736(0x2e9)](W[_0x47a736(0x273)]);return ue[_0x47a736(0x232)](_0x27e3f7[_0x47a736(0x196)],_0x396ce['updateConfig$'])[_0x47a736(0x2e8)](ue[_0x47a736(0x2aa)](()=>{const _0x4df205=_0x47a736,_0x1210d4=_0x27e3f7[_0x4df205(0x245)]();if(_0x1210d4[_0x4df205(0x2d8)]>0x1||_0x1210d4[_0x4df205(0x2d8)]===0x0)return!0x0;const {primary:_0x2a7711,range:_0x2961f7}=_0x1210d4[0x0];if(!_0x2a7711)return!0x0;const _0x343cd6=_0x3224f3['getUnitId'](),_0x11d78b=_0x584fc4[_0x4df205(0x1d6)]();if(!_0x396ce[_0x4df205(0x112)](_0x343cd6,_0x11d78b,_0x2a7711[_0x4df205(0x22e)],_0x2a7711[_0x4df205(0x156)]))return!0x0;const _0x329b16=new Set();o[_0x4df205(0x26c)][_0x4df205(0x197)](_0x2961f7,(_0x3a1173,_0x3d5b19)=>{const _0x371c50=_0x4df205,_0x133924=_0x396ce[_0x371c50(0x112)](_0x343cd6,_0x11d78b,_0x3a1173,_0x3d5b19);_0x133924&&_0x396ce[_0x371c50(0x16c)](_0x343cd6,_0x11d78b,_0x133924)&&_0x329b16[_0x371c50(0x173)](_0x133924);});let _0x38e15d=!0x0;return _0x329b16[_0x4df205(0x288)](_0x92d404=>{const _0x491d65=_0x4df205,_0x3d386e=_0x396ce[_0x491d65(0x16c)](_0x343cd6,_0x11d78b,_0x92d404);_0x3d386e&&_0x38e15d&&_0x3d386e[_0x491d65(0x205)]['forValue']((_0x1cf799,_0x124a4a)=>{const _0x4158db=_0x491d65;var _0x31afb6;((_0x31afb6=_0x27d0fd[_0x4158db(0x207)](_0x343cd6,_0x11d78b,_0x1cf799,_0x124a4a))==null?void 0x0:_0x31afb6[W[_0x4158db(0x25b)][_0x4158db(0x29a)]])===!0x1&&(_0x38e15d=!0x1);});}),!_0x38e15d;}));})):ue['of'](!0x0)));}const mt={[G[_0x4424ef(0x223)]['MEDIA']]:{[dn['id']]:{'order':0x3,'menuItemFactory':dt}},[G['ContextMenuPosition'][_0x4424ef(0x2dd)]]:{[G['ContextMenuGroup'][_0x4424ef(0x114)]]:{[Xe]:{'order':0x5,'menuItemFactory':pt,[We['id']]:{'menuItemFactory':sn},[u[_0x4424ef(0x290)]['id']]:{'menuItemFactory':rn}}}},[G['ContextMenuPosition'][_0x4424ef(0x2c3)]]:{[G[_0x4424ef(0x2e0)][_0x4424ef(0x182)]]:{[Xe]:{[We['id']]:{'menuItemFactory':sn},[u[_0x4424ef(0x290)]['id']]:{'menuItemFactory':rn}}}},[G[_0x4424ef(0x160)]['ROW_HEADER']]:{[G[_0x4424ef(0x2e0)][_0x4424ef(0x182)]]:{[Xe]:{[We['id']]:{'menuItemFactory':sn},[u[_0x4424ef(0x290)]['id']]:{'menuItemFactory':rn}}}}};var gt=Object[_0x4424ef(0x23a)],ft=(_0x1f1d4d,_0xd374e5,_0x23718b,_0x191d20)=>{const _0x56b14c=_0x4424ef;for(var _0x2a4c6d=_0x191d20>0x1?void 0x0:_0x191d20?gt(_0xd374e5,_0x23718b):_0xd374e5,_0x1c9f1c=_0x1f1d4d[_0x56b14c(0x2d8)]-0x1,_0x147f3f;_0x1c9f1c>=0x0;_0x1c9f1c--)(_0x147f3f=_0x1f1d4d[_0x1c9f1c])&&(_0x2a4c6d=_0x147f3f(_0x2a4c6d)||_0x2a4c6d);return _0x2a4c6d;},Sn=(_0x1db23e,_0x216ef9)=>(_0x5ad2ea,_0x227c2e)=>_0x216ef9(_0x5ad2ea,_0x227c2e,_0x1db23e);let Ke=class extends o['Disposable']{constructor(_0x91a2d,_0x51db97){const _0x3196a7=_0x4424ef;super(),this['_menuManagerService']=_0x91a2d,this[_0x3196a7(0x289)]=_0x51db97,this[_0x3196a7(0x1be)](),this[_0x3196a7(0x304)]();}[_0x4424ef(0x304)](){[[un,pn],[we,ut],[yn,ot]]['forEach'](([_0x428a2c,_0x9fc831])=>{const _0x42af8b=_0xc14d;this[_0x42af8b(0x24e)](this['_componentManager'][_0x42af8b(0x146)](_0x428a2c,_0x9fc831));});}[_0x4424ef(0x1be)](){const _0x21c37c=_0x4424ef;this[_0x21c37c(0x1e3)][_0x21c37c(0x2eb)](mt);}};Ke=ft([Sn(0x0,G[_0x4424ef(0x306)]),Sn(0x1,o[_0x4424ef(0x25c)](G[_0x4424ef(0x211)]))],Ke);var St=Object['getOwnPropertyDescriptor'],vt=(_0x4a777c,_0x1f7a72,_0x57e869,_0x5e7d95)=>{const _0x2d4919=_0x4424ef;for(var _0x1119f3=_0x5e7d95>0x1?void 0x0:_0x5e7d95?St(_0x1f7a72,_0x57e869):_0x1f7a72,_0x398aa7=_0x4a777c[_0x2d4919(0x2d8)]-0x1,_0x4e45df;_0x398aa7>=0x0;_0x398aa7--)(_0x4e45df=_0x4a777c[_0x398aa7])&&(_0x1119f3=_0x4e45df(_0x1119f3)||_0x1119f3);return _0x1119f3;},ye=(_0x4f988b,_0x580ca7)=>(_0x3b7208,_0x50d21c)=>_0x580ca7(_0x3b7208,_0x50d21c,_0x4f988b);let qe=class extends o['Disposable']{constructor(_0x1fd6a7,_0x2ae726,_0x4018c1,_0x9ad9dc,_0x1fdad7,_0x29ab4b,_0x1a1893,_0x18d64d){const _0x5a0c14=_0x4424ef;super(),tn(this,_0x5a0c14(0x11a),[]),tn(this,_0x5a0c14(0x2bc),[]),(this['_sheetSelectionService']=_0x1fd6a7,this[_0x5a0c14(0x267)]=_0x2ae726,this[_0x5a0c14(0x235)]=_0x4018c1,this[_0x5a0c14(0x124)]=_0x9ad9dc,this[_0x5a0c14(0x2f6)]=_0x1fdad7,this[_0x5a0c14(0x13f)]=_0x29ab4b,this['_commandService']=_0x1a1893,this[_0x5a0c14(0x1a3)]=_0x18d64d,this[_0x5a0c14(0x29d)](),this['_initWorksheetChange']());}['_initWorksheetChange'](){const _0x54d07f=_0x4424ef;this[_0x54d07f(0x285)][_0x54d07f(0x143)](_0x404c92=>{const _0x1145ad=_0x54d07f;_0x404c92['id']===W[_0x1145ad(0x296)]['id']&&(this[_0x1145ad(0x124)][_0x1145ad(0x1e2)](Ie),this[_0x1145ad(0x1a3)][_0x1145ad(0x1e2)](we));});}[_0x4424ef(0x29d)](){const _0x1128ea=_0x4424ef;this[_0x1128ea(0x24e)](ue[_0x1128ea(0x232)](this['_sheetSelectionService'][_0x1128ea(0x196)][_0x1128ea(0x2e8)](ue[_0x1128ea(0x159)]((_0x12124f,_0x11a162)=>_0x12124f[_0x1128ea(0x2d8)]!==_0x11a162[_0x1128ea(0x2d8)]?!0x1:!_0x11a162[_0x1128ea(0x2fb)]((_0x30e21e,_0x139503)=>!o[_0x1128ea(0x286)]['equals'](_0x30e21e[_0x1128ea(0x19a)],_0x12124f[_0x139503][_0x1128ea(0x19a)])))),this[_0x1128ea(0x235)]['updateConfig$']['pipe'](ue[_0x1128ea(0x138)](0x1f4)))[_0x1128ea(0x115)](()=>{const _0x12a96f=_0x1128ea;var _0x1659b8,_0x5b4141,_0x2e4296,_0x21cc75;const _0x38315d=this[_0x12a96f(0x118)][_0x12a96f(0x245)]();[...this['_targetIds'],...this['_sourceIds']]['forEach'](_0x2fd0a0=>{const _0x223d92=_0x12a96f;_0x2fd0a0&&this[_0x223d92(0x2f6)][_0x223d92(0x28f)](_0x2fd0a0);});const _0x20cf68=W[_0x12a96f(0x2c2)](this['_univerInstanceService']);if(!_0x20cf68){this[_0x12a96f(0x124)]['close'](Ie);return;}const {unitId:_0x2d3884,subUnitId:_0x185377,worksheet:_0x188ab5}=_0x20cf68;if(!_0x38315d||_0x38315d['length']!==0x1){this[_0x12a96f(0x124)]['close'](Ie);return;}const {primary:_0x3a4f2e,range:_0x5c7fd9}=_0x38315d[0x0];if(!_0x3a4f2e){this[_0x12a96f(0x124)][_0x12a96f(0x1e2)](Ie);return;}let _0x1e3ac4=_0x3a4f2e[_0x12a96f(0x22e)],_0x270096=_0x3a4f2e[_0x12a96f(0x156)];const _0x490cd9=_0x188ab5[_0x12a96f(0x1de)](_0x3a4f2e==null?void 0x0:_0x3a4f2e[_0x12a96f(0x22e)],_0x3a4f2e==null?void 0x0:_0x3a4f2e[_0x12a96f(0x156)]);if(_0x490cd9&&(_0x1e3ac4=_0x490cd9['startRow'],_0x270096=_0x490cd9['startColumn']),((_0x1659b8=this['_rangeProtectionCache'][_0x12a96f(0x207)](_0x2d3884,_0x185377,_0x1e3ac4,_0x270096))==null?void 0x0:_0x1659b8[W[_0x12a96f(0x25b)]['Edit']])===!0x1){this[_0x12a96f(0x124)]['close'](Ie);return;}const _0x4af264=this[_0x12a96f(0x235)][_0x12a96f(0x1ca)](),_0x416867=(_0x5b4141=_0x4af264==null?void 0x0:_0x4af264[_0x12a96f(0x2b9)][_0x12a96f(0x2e9)](_0x2d3884))==null?void 0x0:_0x5b4141[_0x12a96f(0x2e9)](_0x185377),_0x1537fd=(_0x2e4296=_0x416867==null?void 0x0:_0x416867[_0x12a96f(0x123)]['getValue'](_0x1e3ac4,_0x270096))==null?void 0x0:_0x2e4296[_0x12a96f(0x2a4)];if(!_0x1537fd){this['_sidebarService']['close'](Ie);return;}const _0x103f38=(_0x21cc75=this['_sparklineDataSourceModel']['getSparklineById'](_0x2d3884,_0x185377,_0x1537fd))==null?void 0x0:_0x21cc75[_0x12a96f(0x205)];_0x103f38&&(ln(_0x103f38[_0x12a96f(0x12a)](),_0x188ab5)[_0x12a96f(0x288)](_0x11bfeb=>{const _0x35fb9d=_0x12a96f,_0x3837ec=vn(_0x11bfeb,this[_0x35fb9d(0x2f6)],_0x35fb9d(0x2a0),_0x35fb9d(0x1fc));_0x3837ec&&this[_0x35fb9d(0x2bc)]['push'](_0x3837ec);}),_0x103f38[_0x12a96f(0x2e3)]((_0x3a1276,_0x459273,_0x520cb8)=>{const _0x5dffe8=_0x12a96f,_0x4c000d=_0x520cb8;if(_0x4c000d&&o[_0x5dffe8(0x286)]['intersects'](o[_0x5dffe8(0x249)](_0x3a1276,_0x459273),_0x5c7fd9)){const _0x491f45=vn(_0x4c000d,this[_0x5dffe8(0x2f6)],_0x5dffe8(0x27e),_0x5dffe8(0x248));_0x491f45&&this[_0x5dffe8(0x2bc)]['push'](_0x491f45);}}),this[_0x12a96f(0x2f6)][_0x12a96f(0x294)]());}));}};qe=vt([ye(0x0,o[_0x4424ef(0x25c)](W['SheetsSelectionsService'])),ye(0x1,o[_0x4424ef(0x25c)](o[_0x4424ef(0x1d4)])),ye(0x2,o['Inject'](u['SparklineDataSourceModel'])),ye(0x3,o[_0x4424ef(0x25c)](G['ISidebarService'])),ye(0x4,o['Inject'](oe[_0x4424ef(0x1dd)])),ye(0x5,o[_0x4424ef(0x25c)](W[_0x4424ef(0x1d1)])),ye(0x6,o[_0x4424ef(0x25c)](o[_0x4424ef(0x242)])),ye(0x7,o[_0x4424ef(0x25c)](G[_0x4424ef(0x2ca)]))],qe);function vn(_0x367bb2,_0x38bf81,_0x38bafe,_0x469d6a){const _0x50db7e=_0x4424ef;if(o[_0x50db7e(0x29b)](_0x367bb2)){const _0x54969a=_0x38bf81[_0x50db7e(0x130)]({'range':_0x367bb2,'style':{'fill':_0x469d6a,'strokeWidth':0x1,'stroke':_0x38bafe,'widgets':{}},'primary':null},void 0x0,-0xa);if(_0x54969a)return _0x54969a;}}function ln(_0x1dd5a6,_0x1cbbb4){const _0x584e8c=_0x4424ef,_0x390f26=[],_0x4537fc=new Set();function _0x37cd64(_0x1fefbb,_0x59458f){var _0x1e6421;return!!((_0x1e6421=_0x1dd5a6[_0x1fefbb])!=null&&_0x1e6421[_0x59458f]&&!_0x4537fc['has'](_0x1fefbb+'-'+_0x59458f));}function _0x439a00(_0x3e503f,_0x391b8b){const _0x565feb=_0xc14d,_0xf84efe=[[_0x3e503f,_0x391b8b]],_0x7be566=[],_0x384460=new Set(),_0x4f49ac=new Set();for(;_0xf84efe[_0x565feb(0x2d8)]>0x0;){const [_0x1ace23,_0x1b0c89]=_0xf84efe['shift'](),_0x36f443=_0x1ace23+'-'+_0x1b0c89;if(_0x4537fc[_0x565feb(0x25e)](_0x36f443))continue;_0x4537fc[_0x565feb(0x173)](_0x36f443),_0x7be566['push']([_0x1ace23,_0x1b0c89]);const _0xe26ec3=_0x1cbbb4[_0x565feb(0x1de)](_0x1ace23,_0x1b0c89);if(_0xe26ec3){for(let _0x22df8e=_0xe26ec3[_0x565feb(0x27f)];_0x22df8e<=_0xe26ec3[_0x565feb(0x131)];_0x22df8e++)for(let _0x427450=_0xe26ec3[_0x565feb(0x163)];_0x427450<=_0xe26ec3[_0x565feb(0x1b6)];_0x427450++){const _0x55c6dd=_0x22df8e+'-'+_0x427450;_0x4537fc['add'](_0x55c6dd),_0x7be566['push']([_0x22df8e,_0x427450]);}continue;}for(const [_0x42d930,_0x13cac3]of[[0x0,0x1],[0x1,0x0],[0x0,-0x1],[-0x1,0x0]]){const _0x1312b7=_0x1ace23+_0x42d930,_0x5bbe1d=_0x1b0c89+_0x13cac3;_0x37cd64(_0x1312b7,_0x5bbe1d)&&_0xf84efe['push']([_0x1312b7,_0x5bbe1d]);}}for(const [_0x536c43,_0x2bd0fc]of _0x7be566){const _0x37f9ba=_0x7be566[_0x565feb(0x2fb)](([_0x102d05,_0x49bde8])=>_0x102d05===_0x536c43&&_0x49bde8!==_0x2bd0fc),_0x3d719f=_0x7be566[_0x565feb(0x2fb)](([_0x249312,_0x2ba5ec])=>_0x2ba5ec===_0x2bd0fc&&_0x249312!==_0x536c43);_0x37f9ba&&!_0x3d719f?_0x384460[_0x565feb(0x173)](_0x536c43+'-'+_0x2bd0fc):_0x3d719f&&!_0x37f9ba?_0x4f49ac[_0x565feb(0x173)](_0x536c43+'-'+_0x2bd0fc):_0x37f9ba&&_0x3d719f?_0x384460[_0x565feb(0x173)](_0x536c43+'-'+_0x2bd0fc):_0x390f26[_0x565feb(0x22b)]({'startRow':_0x536c43,'endRow':_0x536c43,'startColumn':_0x2bd0fc,'endColumn':_0x2bd0fc});}const _0x2e25df=_0x36ffe3(_0x384460),_0x3e1bae=_0x36ffe3(_0x4f49ac);return[..._0x2e25df,..._0x3e1bae];}function _0x36ffe3(_0x13f061){const _0x588a26=_0xc14d,_0x2836c5=[],_0x40024e=new Set();for(const _0x115afa of _0x13f061){if(_0x40024e['has'](_0x115afa))continue;const [_0x136218,_0x51198f]=_0x115afa[_0x588a26(0x16e)]('-')[_0x588a26(0x2aa)](Number);let _0x4d7bbf=_0x136218,_0x493a20=_0x136218,_0x210b34=_0x51198f,_0xed792b=_0x51198f;const _0x3b5ff0=[[_0x136218,_0x51198f]];for(;_0x3b5ff0[_0x588a26(0x2d8)]>0x0;){const [_0x429299,_0x4b195c]=_0x3b5ff0[_0x588a26(0x13e)](),_0x4f6bcc=_0x429299+'-'+_0x4b195c;if(!(_0x40024e[_0x588a26(0x25e)](_0x4f6bcc)||!_0x13f061[_0x588a26(0x25e)](_0x4f6bcc))){_0x40024e[_0x588a26(0x173)](_0x4f6bcc),_0x4d7bbf=Math['min'](_0x4d7bbf,_0x429299),_0x493a20=Math[_0x588a26(0x1aa)](_0x493a20,_0x429299),_0x210b34=Math[_0x588a26(0x1b5)](_0x210b34,_0x4b195c),_0xed792b=Math[_0x588a26(0x1aa)](_0xed792b,_0x4b195c);for(const [_0x384498,_0x154639]of[[0x0,0x1],[0x1,0x0],[0x0,-0x1],[-0x1,0x0]]){const _0x39e427=_0x429299+_0x384498,_0x2bce70=_0x4b195c+_0x154639,_0x269423=_0x39e427+'-'+_0x2bce70;_0x13f061['has'](_0x269423)&&!_0x40024e[_0x588a26(0x25e)](_0x269423)&&_0x3b5ff0['push']([_0x39e427,_0x2bce70]);}}}_0x2836c5[_0x588a26(0x22b)]({'startRow':_0x4d7bbf,'endRow':_0x493a20,'startColumn':_0x210b34,'endColumn':_0xed792b});}return _0x2836c5;}for(const _0x4bd8af in _0x1dd5a6){const _0x5ed790=Number[_0x584e8c(0x264)](_0x4bd8af,0xa);for(const _0x3edc66 in _0x1dd5a6[_0x5ed790]){const _0x5d9bd6=Number[_0x584e8c(0x264)](_0x3edc66,0xa),_0x1d1ae7=_0x5ed790+'-'+_0x5d9bd6;if(!_0x4537fc['has'](_0x1d1ae7)){const _0x3e90d6=_0x439a00(_0x5ed790,_0x5d9bd6);_0x390f26[_0x584e8c(0x22b)](..._0x3e90d6);}}}return _0x390f26;}var Ct=Object[_0x4424ef(0x23a)],kt=(_0x1ce6e1,_0x31eb39,_0x47bb58,_0x247003)=>{const _0x5bb75b=_0x4424ef;for(var _0x7e374d=_0x247003>0x1?void 0x0:_0x247003?Ct(_0x31eb39,_0x47bb58):_0x31eb39,_0x4bce98=_0x1ce6e1[_0x5bb75b(0x2d8)]-0x1,_0x312c03;_0x4bce98>=0x0;_0x4bce98--)(_0x312c03=_0x1ce6e1[_0x4bce98])&&(_0x7e374d=_0x312c03(_0x7e374d)||_0x7e374d);return _0x7e374d;},be=(_0x9a6609,_0x36a31a)=>(_0x2cdcbe,_0x4f2786)=>_0x36a31a(_0x2cdcbe,_0x4f2786,_0x9a6609);let Je=class extends o[_0x4424ef(0x1a6)]{constructor(_0x5402a0,_0x2cc309,_0x1d93b4,_0x246108,_0x23305e,_0x6aaba9){const _0x4d13bf=_0x4424ef;super(),this['_commandService']=_0x5402a0,this[_0x4d13bf(0x2f0)]=_0x2cc309,this[_0x4d13bf(0x198)]=_0x1d93b4,this['_sheetsSelectionsService']=_0x246108,this[_0x4d13bf(0x267)]=_0x23305e,this[_0x4d13bf(0x235)]=_0x6aaba9,this['_initPermissionWithSparkline']();}[_0x4424ef(0x206)](){const _0x164e74=_0x4424ef;this['disposeWithMe'](this[_0x164e74(0x285)][_0x164e74(0x2bf)](_0x367375=>{const _0x470ac8=_0x164e74;if(_0x367375['id']===u[_0x470ac8(0x1fd)]['id']){const _0x3ee10d=_0x367375[_0x470ac8(0x2cb)],{targetRanges:_0x23c5c5,targetInfo:_0x557a4f}=_0x3ee10d,{unitId:_0xbdfa01,subUnitId:_0x2162d5}=_0x557a4f;this[_0x470ac8(0x198)][_0x470ac8(0x1f6)]({'workbookTypes':[W[_0x470ac8(0x2bd)]],'worksheetTypes':[W['WorksheetEditPermission']],'rangeTypes':[W[_0x470ac8(0x203)]]},_0x23c5c5,_0xbdfa01,_0x2162d5)||this['_sheetPermissionCheckController'][_0x470ac8(0x28e)](this[_0x470ac8(0x2f0)]['t']('permission.dialog.editErr'));}else{if(_0x367375['id']===u[_0x470ac8(0x27d)]['id']){const _0x5bbdfd=_0x367375[_0x470ac8(0x2cb)],{isChangeDataSource:_0x31a2c8,changeDataSourceInfo:_0x5c7c41}=_0x5bbdfd,_0x5b49a9=W[_0x470ac8(0x2c2)](this['_univerInstanceService']);if(!_0x5b49a9)return;const _0x238803=this[_0x470ac8(0x14a)]['getCurrentSelections']()[_0x470ac8(0x2aa)](_0x299331=>_0x299331['range']),{unitId:_0x2c5cf3,subUnitId:_0x297c55}=_0x5b49a9;if(_0x31a2c8){if(_0x5c7c41){const {targetRanges:_0x580835,sourceRanges:_0x3a1193,resetType:_0x133c96}=_0x5c7c41,_0x5e8ea4=_0x133c96===_0x470ac8(0x20e)?_0x580835:[..._0x3a1193,..._0x580835];this[_0x470ac8(0x198)][_0x470ac8(0x1f6)]({'workbookTypes':[W['WorkbookEditablePermission']],'worksheetTypes':[W['WorksheetEditPermission']],'rangeTypes':[W['RangeProtectionPermissionEditPoint']]},_0x5e8ea4,_0x2c5cf3,_0x297c55)||this['_sheetPermissionCheckController'][_0x470ac8(0x28e)](this[_0x470ac8(0x2f0)]['t'](_0x470ac8(0x1cb)));}}else{const _0x5bae99=new Set();_0x238803['forEach'](_0x1b992c=>{const _0x711384=_0x470ac8;o[_0x711384(0x26c)][_0x711384(0x197)](_0x1b992c,(_0x591794,_0xf335b6)=>{const _0x4cc584=_0x711384,_0x5bcac7=this['_sparklineDataSourceModel'][_0x4cc584(0x112)](_0x2c5cf3,_0x297c55,_0x591794,_0xf335b6);_0x5bcac7&&this[_0x4cc584(0x235)][_0x4cc584(0x16c)](_0x2c5cf3,_0x297c55,_0x5bcac7)&&_0x5bae99[_0x4cc584(0x173)](_0x5bcac7);});});const _0x60b7c4=[];_0x5bae99[_0x470ac8(0x288)](_0x3cfebe=>{const _0x4398c7=_0x470ac8,_0xde2100=this[_0x4398c7(0x235)][_0x4398c7(0x16c)](_0x2c5cf3,_0x297c55,_0x3cfebe);_0xde2100&&_0x60b7c4[_0x4398c7(0x22b)](...ln(_0xde2100[_0x4398c7(0x205)]['getMatrix'](),_0x5b49a9[_0x4398c7(0x2ef)]));}),this[_0x470ac8(0x198)][_0x470ac8(0x1f6)]({'workbookTypes':[W[_0x470ac8(0x2bd)]],'worksheetTypes':[W[_0x470ac8(0x1f9)]],'rangeTypes':[W[_0x470ac8(0x203)]]},_0x60b7c4,_0x2c5cf3,_0x297c55)||this[_0x470ac8(0x198)][_0x470ac8(0x28e)](this[_0x470ac8(0x2f0)]['t'](_0x470ac8(0x1cb)));}}else{if(_0x367375['id']===u[_0x470ac8(0x290)]['id']){const _0x2b5b33=_0x367375[_0x470ac8(0x2cb)],{isSingle:_0x5bb4c8}=_0x2b5b33;if(_0x5bb4c8)this['_sheetPermissionCheckController'][_0x470ac8(0x1f6)]({'workbookTypes':[W['WorkbookEditablePermission']],'worksheetTypes':[W[_0x470ac8(0x1f9)]],'rangeTypes':[W[_0x470ac8(0x203)]]})||this[_0x470ac8(0x198)][_0x470ac8(0x28e)](this['_localeService']['t'](_0x470ac8(0x1cb)));else{const _0x4e3aa6=W[_0x470ac8(0x2c2)](this[_0x470ac8(0x267)]);if(!_0x4e3aa6)return;const _0x34e555=this['_sheetsSelectionsService'][_0x470ac8(0x245)]()['map'](_0x1d424c=>_0x1d424c[_0x470ac8(0x19a)]),{unitId:_0x18c450,subUnitId:_0x1715c2}=_0x4e3aa6,_0xd9cff0=new Set();_0x34e555['forEach'](_0x4bc16b=>{const _0x338481=_0x470ac8;o['Range'][_0x338481(0x197)](_0x4bc16b,(_0x2dd77b,_0x11e03e)=>{const _0xd9e29=_0x338481,_0x49d8f0=this[_0xd9e29(0x235)][_0xd9e29(0x112)](_0x18c450,_0x1715c2,_0x2dd77b,_0x11e03e);_0x49d8f0&&this[_0xd9e29(0x235)][_0xd9e29(0x16c)](_0x18c450,_0x1715c2,_0x49d8f0)&&_0xd9cff0[_0xd9e29(0x173)](_0x49d8f0);});});const _0x388443=[];_0xd9cff0[_0x470ac8(0x288)](_0xbed7d5=>{const _0x1cc440=_0x470ac8,_0x5a23f9=this[_0x1cc440(0x235)][_0x1cc440(0x16c)](_0x18c450,_0x1715c2,_0xbed7d5);_0x5a23f9&&_0x388443[_0x1cc440(0x22b)](...ln(_0x5a23f9[_0x1cc440(0x205)][_0x1cc440(0x12a)](),_0x4e3aa6[_0x1cc440(0x2ef)]));}),this['_sheetPermissionCheckController'][_0x470ac8(0x1f6)]({'workbookTypes':[W['WorkbookEditablePermission']],'worksheetTypes':[W[_0x470ac8(0x1f9)]],'rangeTypes':[W[_0x470ac8(0x203)]]},_0x388443,_0x18c450,_0x1715c2)||this[_0x470ac8(0x198)][_0x470ac8(0x28e)](this[_0x470ac8(0x2f0)]['t']('permission.dialog.editErr'));}}}}}));}};Je=kt([be(0x0,o[_0x4424ef(0x25c)](o[_0x4424ef(0x242)])),be(0x1,o[_0x4424ef(0x25c)](o[_0x4424ef(0x201)])),be(0x2,o[_0x4424ef(0x25c)](W['SheetPermissionCheckController'])),be(0x3,o[_0x4424ef(0x25c)](W[_0x4424ef(0x273)])),be(0x4,o[_0x4424ef(0x25c)](o[_0x4424ef(0x1d4)])),be(0x5,o[_0x4424ef(0x25c)](u[_0x4424ef(0x17e)]))],Je);var yt=Object[_0x4424ef(0x23a)],Rt=(_0x1b3062,_0x568707,_0x3ecda5,_0x49adf3)=>{const _0x3839c3=_0x4424ef;for(var _0xe60bc0=_0x49adf3>0x1?void 0x0:_0x49adf3?yt(_0x568707,_0x3ecda5):_0x568707,_0x26a5e0=_0x1b3062[_0x3839c3(0x2d8)]-0x1,_0x1af7a0;_0x26a5e0>=0x0;_0x26a5e0--)(_0x1af7a0=_0x1b3062[_0x26a5e0])&&(_0xe60bc0=_0x1af7a0(_0xe60bc0)||_0xe60bc0);return _0xe60bc0;},Cn=(_0x58fa66,_0x2e598f)=>(_0x4c5d95,_0xb14859)=>_0x2e598f(_0x4c5d95,_0xb14859,_0x58fa66);let Qe=class extends o[_0x4424ef(0x1a6)]{constructor(_0x1d8b37,_0x396f04){const _0x5434b7=_0x4424ef;super(),this[_0x5434b7(0x25f)]=_0x1d8b37,this[_0x5434b7(0x235)]=_0x396f04,this['_init']();}['_init'](){const _0x32fc0e=_0x4424ef;this[_0x32fc0e(0x24e)](this[_0x32fc0e(0x25f)][_0x32fc0e(0x127)][_0x32fc0e(0x243)](this['_sheetPrintInterceptorService'][_0x32fc0e(0x127)]['getInterceptPoints']()[_0x32fc0e(0x233)],{'handler':(_0x1fa2b4,_0xc22709,_0x56e760)=>{const _0x550490=_0x32fc0e,{unitId:_0x399c40,subUnitId:_0x1def05}=_0xc22709,_0x2512a4=this[_0x550490(0x235)][_0x550490(0x2f5)](_0x399c40,_0x1def05);let _0x517f0a=_0x1fa2b4;return _0x2512a4&&Array[_0x550490(0x10f)](_0x2512a4[_0x550490(0x214)]())[_0x550490(0x288)](_0x3810ef=>{const _0x4781ec=_0x550490,_0x2128b2=_0x3810ef[_0x4781ec(0x205)]['getDataRange']();_0x517f0a=_0x517f0a&&_0x2128b2['endRow']>=0x0?o['Rectangle']['realUnion'](_0x517f0a,_0x2128b2):_0x2128b2;}),_0x56e760(_0x517f0a);}}));}};Qe=Rt([Cn(0x0,o[_0x4424ef(0x25c)](oe[_0x4424ef(0x1e5)])),Cn(0x1,o[_0x4424ef(0x25c)](u[_0x4424ef(0x17e)]))],Qe);const It=(_0x2ea627,_0x471ea6,_0xeb8bac,_0x10befa,_0x4c7d44)=>{const _0x1d4281=_0x4424ef;var _0x37a692,_0x180deb,_0x5be466,_0x2f5ddd,_0x526323,_0x454d58,_0x25211a,_0x2ea745,_0x2b8f3e,_0x2c0eab,_0x582c19,_0xbb0e94,_0x476daa,_0x2e4306,_0x31d855,_0x1227f3,_0x5b295a,_0x4d42bf,_0xa7b5f0,_0xd33afb,_0x1b35e2,_0x522acc,_0x548cfc,_0x47731a,_0x4d6e69,_0x34276b,_0x3eef90,_0x50e5e7;const {startX:_0x5bb544,startY:_0x3a261a,endX:_0x1d10ea,endY:_0x547474}=_0x471ea6[_0x1d4281(0x11b)];if(!_0x10befa)return;const {max:_0xa319da,min:_0x35f62c,highIndex:_0x3306da,lowIndex:_0x2035c8,negativeIndexes:_0x2494ca,data:_0x2be697}=_0x10befa,_0x15546b=0x4,_0x4dd7f2=_0x1d10ea-_0x5bb544-0x2*_0x15546b,_0x51be6d=_0x547474-_0x3a261a-0x2*_0x15546b,_0x23db96=_0x5bb544+_0x15546b,_0x331fbf=_0x3a261a+_0x15546b,_0x217107=(_0x180deb=(_0x37a692=_0xeb8bac[_0x1d4281(0x122)])==null?void 0x0:_0x37a692['type'])!=null?_0x180deb:u[_0x1d4281(0x275)][_0x1d4281(0x227)],_0x2d0fbc=(_0x2f5ddd=(_0x5be466=_0xeb8bac[_0x1d4281(0x23b)])==null?void 0x0:_0x5be466[_0x1d4281(0x2f8)])!=null?_0x2f5ddd:u[_0x1d4281(0x275)][_0x1d4281(0x227)],_0x23728f=(_0x526323=_0x4c7d44==null?void 0x0:_0x4c7d44[_0x1d4281(0x2b3)])!=null?_0x526323:_0xa319da,_0x3d90f4=(_0x454d58=_0x4c7d44==null?void 0x0:_0x4c7d44[_0x1d4281(0x305)])!=null?_0x454d58:_0x35f62c,_0x4ebc9a=_0x217107===u['SparklineExtremumTypeEnum'][_0x1d4281(0x227)]?_0xa319da:_0x23728f,_0x25b172=_0x2d0fbc===u[_0x1d4281(0x275)]['SELF_EXTREMUM']?_0x35f62c:_0x3d90f4;let _0x1e3f5e=!0x1;const _0x208645=_0x2be697[_0x3306da];typeof _0x208645==_0x1d4281(0x19d)&&_0x208645<_0x25b172&&(_0x1e3f5e=!0x0);let _0x3ddb72=!0x1;const _0x45da3f=_0x2be697[_0x2035c8];if(typeof _0x45da3f=='number'&&_0x45da3f>_0x4ebc9a&&(_0x3ddb72=!0x0),_0x25b172>_0x4ebc9a||_0x1e3f5e||_0x3ddb72)return;const _0x10f9aa=_0x4ebc9a===_0x25b172,_0x26621b=_0x4ebc9a-_0x25b172,_0x3cda23=_0x4dd7f2/(_0x2be697[_0x1d4281(0x2d8)]-0x1),_0x4c005b=(_0x2ea745=(_0x25211a=_0xeb8bac['axis'])==null?void 0x0:_0x25211a['reverse'])!=null?_0x2ea745:!0x1,_0x5dcf6b=[];_0x2ea627[_0x1d4281(0x270)](),_0x2ea627['beginPath'](),_0x2ea627[_0x1d4281(0x1eb)](_0x5bb544+_0x15546b,_0x3a261a+_0x15546b,_0x4dd7f2,_0x51be6d),_0x2ea627[_0x1d4281(0x253)](),_0x2ea627[_0x1d4281(0x23e)]();let _0x2406fc=null;for(let _0x355a0b=0x0;_0x355a0b<_0x2be697['length'];_0x355a0b++){const _0x36fd8c=_0x2be697[_0x355a0b];if(_0x36fd8c===_0x1d4281(0x1f1)){_0x2406fc=null;continue;}if(_0x36fd8c===_0x1d4281(0x1ac))continue;const _0x10852a=_0x4c005b?_0x1d10ea-_0x15546b-_0x355a0b*_0x3cda23:_0x23db96+_0x355a0b*_0x3cda23,_0x28feec=_0x10f9aa?_0x331fbf+_0x51be6d/0x2:_0x331fbf+_0x51be6d-(Number(_0x36fd8c)-_0x25b172)/_0x26621b*_0x51be6d,_0x42e89e={'x':_0x10852a,'y':_0x28feec};_0x5dcf6b[_0x1d4281(0x22b)](_0x42e89e),_0x2406fc?(_0x2ea627[_0x1d4281(0x133)](_0x2406fc['x'],_0x2406fc['y']),_0x2ea627['lineTo'](_0x42e89e['x'],_0x42e89e['y'])):_0x2ea627[_0x1d4281(0x133)](_0x42e89e['x'],_0x42e89e['y']),_0x2406fc=_0x42e89e;}const _0x48f8a4=(_0x2b8f3e=_0xeb8bac[_0x1d4281(0x2e5)])!=null?_0x2b8f3e:u[_0x1d4281(0x282)][_0x1d4281(0x12c)],_0x44e00e=(_0xbb0e94=(_0x582c19=_0xeb8bac[_0x1d4281(0x2e2)])!=null?_0x582c19:(_0x2c0eab=u[_0x1d4281(0x1c2)][_0x48f8a4])==null?void 0x0:_0x2c0eab[0x0])!=null?_0xbb0e94:u['SparklineThemeMapping'][_0x1d4281(0x1ee)][0x0],_0x3aca73=_0x4c7d44==null?void 0x0:_0x4c7d44[_0x1d4281(0x1c8)],_0x16eae6=_0x4c7d44==null?void 0x0:_0x4c7d44[_0x1d4281(0x113)];_0x2ea627[_0x1d4281(0x23c)]=_0x44e00e,_0x2ea627[_0x1d4281(0x1b0)]=_0xeb8bac[_0x1d4281(0x1b0)]||0x2,_0x2ea627[_0x1d4281(0x1f8)]='round',_0x2ea627['stroke']();const _0x440186=[],_0x576d79=[];if(_0xeb8bac['showGradient']&&_0x3aca73&&_0x16eae6){const _0xc92838=_0x2ea627[_0x1d4281(0x169)](0x0,_0x331fbf,0x0,_0x331fbf+_0x51be6d);_0xc92838[_0x1d4281(0x126)](0x0,_0x3aca73),_0xc92838[_0x1d4281(0x126)](0x1,_0x16eae6),_0x2ea627[_0x1d4281(0x23e)]();const _0x160b8a=[];let _0x71a458=null,_0x4293d4=0x0;const _0x1661d7=_0x2be697[_0x3306da],_0x2d9007=_0x2be697[_0x2035c8];for(let _0x1b1bc1=0x0;_0x1b1bc1<=_0x2be697['length'];_0x1b1bc1++){const _0x5a5d95=_0x2be697[_0x1b1bc1],_0x36ac2d=_0x5a5d95===_0x1d4281(0x1f1),_0x27f702=_0x5a5d95===_0x1d4281(0x1ac),_0x53e1a3=_0x1b1bc1===_0x2be697['length'];_0x5a5d95===_0x1661d7&&_0x440186[_0x1d4281(0x22b)](_0x1b1bc1),_0x5a5d95===_0x2d9007&&_0x576d79[_0x1d4281(0x22b)](_0x1b1bc1),_0x36ac2d||_0x53e1a3?_0x71a458!==null&&(_0x160b8a['push']([_0x71a458,_0x4293d4-0x1]),_0x71a458=null):_0x27f702||(_0x71a458===null&&(_0x71a458=_0x4293d4),_0x4293d4++);}_0x160b8a[_0x1d4281(0x288)](([_0x4a5f79,_0x488c77])=>{const _0x222219=_0x1d4281,_0x29bbdf=_0x5dcf6b[_0x4a5f79],_0x2feed9=_0x5dcf6b[_0x488c77];if(!(!_0x29bbdf||!_0x2feed9||_0x4a5f79===_0x488c77)){_0x2ea627[_0x222219(0x23e)](),_0x2ea627[_0x222219(0x133)](_0x29bbdf['x'],_0x29bbdf['y']);for(let _0xbb4617=_0x4a5f79;_0xbb4617<=_0x488c77;_0xbb4617++){const _0x58d6ae=_0x5dcf6b[_0xbb4617];_0x58d6ae&&_0x2ea627[_0x222219(0x17a)](_0x58d6ae['x'],_0x58d6ae['y']);}_0x2ea627['lineTo'](_0x5dcf6b[_0x488c77]['x'],_0x331fbf+_0x51be6d),_0x2ea627['lineTo'](_0x5dcf6b[_0x4a5f79]['x'],_0x331fbf+_0x51be6d),_0x2ea627[_0x222219(0x22f)](),_0x2ea627['fillStyle']=_0xc92838,_0x2ea627[_0x222219(0x2c9)]();}});}const _0x17092b=_0x1d4281(0x26e);if((_0x2e4306=(_0x476daa=_0xeb8bac[_0x1d4281(0x177)])==null?void 0x0:_0x476daa[_0x1d4281(0x1c4)])!=null&&_0x2e4306[_0x1d4281(0x187)]&&(_0x2ea627[_0x1d4281(0x14b)]=_0xeb8bac[_0x1d4281(0x177)][_0x1d4281(0x1c4)][_0x1d4281(0x241)]||_0x17092b,_0x5dcf6b[_0x1d4281(0x288)](_0xd170aa=>{const _0x7dd244=_0x1d4281;_0x2ea627[_0x7dd244(0x23e)](),_0x2ea627[_0x7dd244(0x278)](_0xd170aa['x'],_0xd170aa['y'],0x2,0x0,Math['PI']*0x2),_0x2ea627[_0x7dd244(0x2c9)]();})),(_0x1227f3=(_0x31d855=_0xeb8bac[_0x1d4281(0x177)])==null?void 0x0:_0x31d855[_0x1d4281(0x24f)])!=null&&_0x1227f3[_0x1d4281(0x187)]){_0x2ea627['fillStyle']=_0xeb8bac[_0x1d4281(0x177)][_0x1d4281(0x24f)]['color']||_0x17092b;const _0x548809=_0x5dcf6b[0x0];_0x548809&&(_0x2ea627[_0x1d4281(0x23e)](),_0x2ea627[_0x1d4281(0x278)](_0x548809['x'],_0x548809['y'],0x2,0x0,Math['PI']*0x2),_0x2ea627[_0x1d4281(0x2c9)]());}if((_0x4d42bf=(_0x5b295a=_0xeb8bac[_0x1d4281(0x177)])==null?void 0x0:_0x5b295a[_0x1d4281(0x215)])!=null&&_0x4d42bf[_0x1d4281(0x187)]){_0x2ea627['fillStyle']=_0xeb8bac['points'][_0x1d4281(0x215)][_0x1d4281(0x241)]||_0x17092b;const _0xb26189=_0x5dcf6b[_0x5dcf6b[_0x1d4281(0x2d8)]-0x1];_0xb26189&&(_0x2ea627[_0x1d4281(0x23e)](),_0x2ea627['arc'](_0xb26189['x'],_0xb26189['y'],0x2,0x0,Math['PI']*0x2),_0x2ea627[_0x1d4281(0x2c9)]());}(_0xd33afb=(_0xa7b5f0=_0xeb8bac['points'])==null?void 0x0:_0xa7b5f0['highPoint'])!=null&&_0xd33afb[_0x1d4281(0x187)]&&(_0x2ea627['fillStyle']=_0xeb8bac['points'][_0x1d4281(0x28a)][_0x1d4281(0x241)]||_0x17092b,_0x440186[_0x1d4281(0x288)](_0x251d36=>{const _0x1a60a6=_0x1d4281,_0x17e11c=_0x5dcf6b[_0x251d36];_0x17e11c&&(_0x2ea627['beginPath'](),_0x2ea627[_0x1a60a6(0x278)](_0x17e11c['x'],_0x17e11c['y'],0x2,0x0,Math['PI']*0x2),_0x2ea627['fill']());})),(_0x522acc=(_0x1b35e2=_0xeb8bac['points'])==null?void 0x0:_0x1b35e2[_0x1d4281(0x2db)])!=null&&_0x522acc['visible']&&(_0x2ea627['fillStyle']=_0xeb8bac[_0x1d4281(0x177)][_0x1d4281(0x2db)]['color']||_0x17092b,_0x576d79[_0x1d4281(0x288)](_0x325979=>{const _0x5916f1=_0x1d4281,_0x40ae5b=_0x5dcf6b[_0x325979];_0x40ae5b&&(_0x2ea627[_0x5916f1(0x23e)](),_0x2ea627[_0x5916f1(0x278)](_0x40ae5b['x'],_0x40ae5b['y'],0x2,0x0,Math['PI']*0x2),_0x2ea627[_0x5916f1(0x2c9)]());})),(_0x47731a=(_0x548cfc=_0xeb8bac[_0x1d4281(0x177)])==null?void 0x0:_0x548cfc[_0x1d4281(0x1b8)])!=null&&_0x47731a[_0x1d4281(0x187)]&&(_0x2ea627[_0x1d4281(0x14b)]=_0xeb8bac[_0x1d4281(0x177)][_0x1d4281(0x1b8)][_0x1d4281(0x241)]||_0x17092b,_0x2494ca[_0x1d4281(0x288)](_0x126fae=>{const _0x4433d=_0x1d4281,_0x53dfd5=_0x5dcf6b[_0x126fae];_0x53dfd5&&(_0x2ea627[_0x4433d(0x23e)](),_0x2ea627[_0x4433d(0x278)](_0x53dfd5['x'],_0x53dfd5['y'],0x2,0x0,Math['PI']*0x2),_0x2ea627[_0x4433d(0x2c9)]());}));let _0x20ba2b=!0x0;if(_0x10f9aa?_0x20ba2b=!!((_0x4d6e69=_0xeb8bac[_0x1d4281(0x2c5)])!=null&&_0x4d6e69[_0x1d4281(0x187)]):_0x20ba2b=!!(_0x25b172<=0x0&&((_0x34276b=_0xeb8bac[_0x1d4281(0x2c5)])!=null&&_0x34276b[_0x1d4281(0x187)])),_0x20ba2b){let _0x5e3e8d=_0x331fbf;_0x10f9aa?_0x25b172===0x0?_0x5e3e8d=_0x331fbf+_0x51be6d/0x2:_0x25b172>0x0&&(_0x5e3e8d=_0x331fbf+_0x51be6d):_0x5e3e8d=_0x331fbf+_0x51be6d-(0x0-_0x25b172)/_0x26621b*_0x51be6d,_0x2ea627[_0x1d4281(0x23e)](),_0x2ea627[_0x1d4281(0x133)](_0x23db96,_0x5e3e8d),_0x2ea627[_0x1d4281(0x17a)](_0x23db96+_0x4dd7f2,_0x5e3e8d),_0x2ea627['strokeStyle']=(_0x50e5e7=(_0x3eef90=_0xeb8bac['axis'])==null?void 0x0:_0x3eef90['color'])!=null?_0x50e5e7:_0x1d4281(0x2a2),_0x2ea627[_0x1d4281(0x1b0)]=0x1,_0x2ea627[_0x1d4281(0x21a)]();}_0x2ea627[_0x1d4281(0x2c1)]();},xt=(_0x56ebc3,_0x8e70d1,_0x1e2cdb,_0x3e1f86,_0x508950)=>{const _0xbe5009=_0x4424ef;var _0x44feec,_0x39a4bb,_0x3cb8a3,_0x303bd1,_0x41a711,_0x4dad56,_0xc22223,_0xc43b36,_0x1a04a5,_0x11c3f2,_0x1698a4,_0x22e0c8,_0x5a304f,_0x353d51,_0x1066c6,_0x2afeb8,_0x3b8aed;const {startX:_0x4d0082,startY:_0x5d5b82,endX:_0x19e5e3,endY:_0x22e287}=_0x8e70d1;if(!_0x3e1f86)return;const {max:_0x39da02,min:_0xef2d31,highIndex:_0x4cb0d0,lowIndex:_0x12bc92,negativeIndexes:_0x1e1a13,data:_0x451a47}=_0x3e1f86,_0x4009d6=0x4,_0x415a89=_0x19e5e3-_0x4d0082-0x2*_0x4009d6,_0x2934db=_0x22e287-_0x5d5b82-0x2*_0x4009d6,_0x4e4434=_0x4d0082+_0x4009d6,_0x14bd02=_0x5d5b82+_0x4009d6,_0x1ccaaa=(_0x39a4bb=(_0x44feec=_0x1e2cdb[_0xbe5009(0x122)])==null?void 0x0:_0x44feec[_0xbe5009(0x2f8)])!=null?_0x39a4bb:u[_0xbe5009(0x275)][_0xbe5009(0x227)],_0x5509eb=(_0x303bd1=(_0x3cb8a3=_0x1e2cdb[_0xbe5009(0x23b)])==null?void 0x0:_0x3cb8a3['type'])!=null?_0x303bd1:u[_0xbe5009(0x275)]['SELF_EXTREMUM'],_0x456239=(_0x41a711=_0x508950==null?void 0x0:_0x508950[_0xbe5009(0x2b3)])!=null?_0x41a711:_0x39da02,_0x583d85=(_0x4dad56=_0x508950==null?void 0x0:_0x508950['showMin'])!=null?_0x4dad56:_0xef2d31,_0x3e7b8f=_0x1ccaaa===u[_0xbe5009(0x275)][_0xbe5009(0x227)]?_0x39da02:_0x456239,_0x180f38=_0x5509eb===u[_0xbe5009(0x275)][_0xbe5009(0x227)]?_0xef2d31:_0x583d85,_0x5683a0=_0x3e7b8f-_0x180f38,_0x1f3a22=0.2,_0x2aeb09=_0x415a89,_0x515365=_0x3e7b8f===_0x180f38,_0x3e7cc1=_0x2aeb09/(_0x451a47[_0xbe5009(0x2d8)]*(0x1+_0x1f3a22)),_0x3e5529=_0x3e7cc1*_0x1f3a22,_0xcb08b1=(_0xc43b36=(_0xc22223=_0x1e2cdb[_0xbe5009(0x2c5)])==null?void 0x0:_0xc22223[_0xbe5009(0x190)])!=null?_0xc43b36:!0x1,_0x8bd189=(_0x1a04a5=_0x1e2cdb['showRadius'])!=null?_0x1a04a5:!0x1;let _0x4c72e0=0x0;_0x515365||(_0x4c72e0=_0x180f38>=0x0?_0x180f38:_0x3e7b8f<=0x0?_0x3e7b8f:0x0);let _0x41295f=_0x14bd02+_0x2934db;_0x515365?_0x180f38===0x0?_0x41295f=_0x14bd02+_0x2934db/0x2:_0x180f38>0x0?_0x41295f=_0x14bd02+_0x2934db:_0x180f38<0x0&&(_0x41295f=_0x14bd02):_0x180f38>=0x0?_0x41295f=_0x14bd02+_0x2934db:_0x3e7b8f<=0x0?_0x41295f=_0x14bd02:_0x41295f=_0x14bd02+_0x2934db-(0x0-_0x180f38)/_0x5683a0*_0x2934db,_0x56ebc3[_0xbe5009(0x270)](),_0x56ebc3[_0xbe5009(0x23e)](),_0x56ebc3[_0xbe5009(0x1eb)](_0x4d0082,_0x5d5b82,_0x19e5e3-_0x4d0082,_0x22e287-_0x5d5b82),_0x56ebc3[_0xbe5009(0x253)]();const _0x3cc9ec=(_0x11c3f2=_0x1e2cdb['themeType'])!=null?_0x11c3f2:u[_0xbe5009(0x282)][_0xbe5009(0x12c)],_0x4a6076=(_0x5a304f=(_0x22e0c8=_0x1e2cdb[_0xbe5009(0x2e2)])!=null?_0x22e0c8:(_0x1698a4=u[_0xbe5009(0x1c2)][_0x3cc9ec])==null?void 0x0:_0x1698a4[0x0])!=null?_0x5a304f:u['SparklineThemeMapping'][_0xbe5009(0x1ee)][0x0],_0x560423=_0x451a47[_0x4cb0d0],_0x579ac4=_0x451a47[_0x12bc92];_0x451a47['forEach']((_0x58dcbe,_0x72d14)=>{const _0x3362c3=_0xbe5009;var _0x681330,_0x37418a,_0x16756d,_0x30e289,_0x1ad22a,_0x3ffc4e,_0x7afd9e,_0x2ac1fd,_0x2ef0aa,_0xd63412;if(typeof _0x58dcbe==_0x3362c3(0x1ea)||typeof _0x58dcbe>'u')return;const _0xce5bee=_0xcb08b1?_0x19e5e3-_0x4009d6-(_0x72d14+0x1)*(_0x3e7cc1+_0x3e5529)+_0x3e5529/0x2:_0x4e4434+_0x72d14*(_0x3e7cc1+_0x3e5529)+_0x3e5529/0x2;let _0x310023=0x0;_0x515365?_0x180f38!==0x0&&(_0x310023=_0x2934db):_0x58dcbe<_0x180f38?_0x310023=0x0:_0x58dcbe>_0x3e7b8f?_0x310023=_0x2934db:_0x180f38<0x0?_0x310023=_0x58dcbe===0x0?0x0:Math[_0x3362c3(0x1aa)](Math[_0x3362c3(0x28d)](_0x58dcbe-_0x4c72e0)/_0x5683a0*_0x2934db,0x2):_0x58dcbe===0x0?_0x310023=0x0:_0x310023=Math[_0x3362c3(0x1aa)](Math[_0x3362c3(0x28d)](_0x58dcbe-_0x4c72e0)/_0x5683a0*_0x2934db,0x2);let _0x434f4d=_0x4a6076;if((_0x37418a=(_0x681330=_0x1e2cdb[_0x3362c3(0x177)])==null?void 0x0:_0x681330[_0x3362c3(0x24f)])!=null&&_0x37418a['visible']&&_0x72d14===0x0&&(_0x434f4d=_0x1e2cdb['points'][_0x3362c3(0x24f)][_0x3362c3(0x241)]||_0x4a6076),(_0x30e289=(_0x16756d=_0x1e2cdb[_0x3362c3(0x177)])==null?void 0x0:_0x16756d[_0x3362c3(0x215)])!=null&&_0x30e289[_0x3362c3(0x187)]&&_0x72d14===_0x451a47['length']-0x1&&(_0x434f4d=_0x1e2cdb[_0x3362c3(0x177)][_0x3362c3(0x215)][_0x3362c3(0x241)]||_0x4a6076),(_0x3ffc4e=(_0x1ad22a=_0x1e2cdb[_0x3362c3(0x177)])==null?void 0x0:_0x1ad22a[_0x3362c3(0x28a)])!=null&&_0x3ffc4e['visible']&&_0x58dcbe===_0x560423&&(_0x434f4d=_0x1e2cdb['points'][_0x3362c3(0x28a)][_0x3362c3(0x241)]||_0x4a6076),(_0x2ac1fd=(_0x7afd9e=_0x1e2cdb['points'])==null?void 0x0:_0x7afd9e[_0x3362c3(0x2db)])!=null&&_0x2ac1fd[_0x3362c3(0x187)]&&_0x58dcbe===_0x579ac4&&(_0x434f4d=_0x1e2cdb['points'][_0x3362c3(0x2db)][_0x3362c3(0x241)]||_0x4a6076),(_0xd63412=(_0x2ef0aa=_0x1e2cdb[_0x3362c3(0x177)])==null?void 0x0:_0x2ef0aa['negativePoint'])!=null&&_0xd63412[_0x3362c3(0x187)]&&_0x1e1a13[_0x3362c3(0x154)](_0x72d14)&&(_0x434f4d=_0x1e2cdb['points'][_0x3362c3(0x1b8)][_0x3362c3(0x241)]||_0x4a6076),_0x56ebc3[_0x3362c3(0x14b)]=_0x434f4d,_0x3e7cc1>=0x4&&_0x8bd189&&_0x310023>=0x2){_0x56ebc3['beginPath']();const _0x42ef82=0x2;_0x58dcbe>=_0x4c72e0?(_0x56ebc3['moveTo'](_0xce5bee,_0x41295f-_0x310023+_0x42ef82),_0x56ebc3[_0x3362c3(0x140)](_0xce5bee,_0x41295f-_0x310023,_0xce5bee+_0x3e7cc1,_0x41295f-_0x310023,_0x42ef82),_0x56ebc3['arcTo'](_0xce5bee+_0x3e7cc1,_0x41295f-_0x310023,_0xce5bee+_0x3e7cc1,_0x41295f-_0x310023+_0x42ef82,_0x42ef82),_0x56ebc3[_0x3362c3(0x17a)](_0xce5bee+_0x3e7cc1,_0x41295f),_0x56ebc3['lineTo'](_0xce5bee,_0x41295f),_0x56ebc3[_0x3362c3(0x22f)](),_0x56ebc3[_0x3362c3(0x2c9)]()):(_0x56ebc3[_0x3362c3(0x133)](_0xce5bee,_0x41295f),_0x56ebc3[_0x3362c3(0x17a)](_0xce5bee+_0x3e7cc1,_0x41295f),_0x56ebc3[_0x3362c3(0x140)](_0xce5bee+_0x3e7cc1,_0x41295f+_0x310023,_0xce5bee+_0x3e7cc1-_0x42ef82,_0x41295f+_0x310023,_0x42ef82),_0x56ebc3[_0x3362c3(0x140)](_0xce5bee,_0x41295f+_0x310023,_0xce5bee,_0x41295f+_0x310023-_0x42ef82,_0x42ef82),_0x56ebc3[_0x3362c3(0x17a)](_0xce5bee,_0x41295f),_0x56ebc3[_0x3362c3(0x22f)](),_0x56ebc3['fill']());}else _0x58dcbe>=_0x4c72e0?_0x56ebc3[_0x3362c3(0x208)](_0xce5bee,_0x41295f-_0x310023,_0x3e7cc1,_0x310023):_0x56ebc3[_0x3362c3(0x208)](_0xce5bee,_0x41295f,_0x3e7cc1,_0x310023);});let _0xa42898=!0x0;_0x515365?_0xa42898=!!((_0x353d51=_0x1e2cdb[_0xbe5009(0x2c5)])!=null&&_0x353d51[_0xbe5009(0x187)]):_0xa42898=!!((_0x1066c6=_0x1e2cdb['axis'])!=null&&_0x1066c6[_0xbe5009(0x187)]&&!(_0x3e7b8f<0x0||_0x180f38>0x0)),_0xa42898&&(_0x56ebc3[_0xbe5009(0x23e)](),_0x56ebc3[_0xbe5009(0x133)](_0x4e4434,_0x41295f),_0x56ebc3['lineTo'](_0x4e4434+_0x415a89,_0x41295f),_0x56ebc3['strokeStyle']=(_0x3b8aed=(_0x2afeb8=_0x1e2cdb[_0xbe5009(0x2c5)])==null?void 0x0:_0x2afeb8[_0xbe5009(0x241)])!=null?_0x3b8aed:_0xbe5009(0x2a2),_0x56ebc3[_0xbe5009(0x1b0)]=0x1,_0x56ebc3[_0xbe5009(0x21a)]()),_0x56ebc3[_0xbe5009(0x2c1)]();},bt=(_0xcc0530,_0x11a68c,_0x3e1d71,_0x5d29f2,_0x348a65)=>{const _0x448422=_0x4424ef;var _0x3eb22e,_0x378ba9,_0x142ea7,_0x393709,_0x24e497,_0x35685f,_0x5e8a37,_0x451fac,_0x141ac6;const {startX:_0x3733c9,startY:_0x183c16,endX:_0x133acd,endY:_0x41eddb}=_0x11a68c;if(!_0x5d29f2)return;const {highIndex:_0x547084,lowIndex:_0x3172e8,negativeIndexes:_0x5951db,data:_0x428bda}=_0x5d29f2,_0x5a360e=0x4,_0x59e999=_0x133acd-_0x3733c9-0x2*_0x5a360e,_0x35be87=_0x41eddb-_0x183c16-0x2*_0x5a360e,_0x1c4fce=_0x3733c9+_0x5a360e,_0x3b05aa=_0x183c16+_0x5a360e,_0x58a81f=0.2,_0x16da82=_0x59e999/(_0x428bda['length']*(0x1+_0x58a81f)),_0x3a8054=_0x16da82*_0x58a81f,_0x2ab55a=(_0x378ba9=(_0x3eb22e=_0x3e1d71[_0x448422(0x2c5)])==null?void 0x0:_0x3eb22e[_0x448422(0x190)])!=null?_0x378ba9:!0x1,_0xe9da9d=(_0x142ea7=_0x3e1d71[_0x448422(0x2df)])!=null?_0x142ea7:!0x1,_0x81eb17=_0x3b05aa+_0x35be87/0x2;_0xcc0530['save'](),_0xcc0530[_0x448422(0x23e)](),_0xcc0530[_0x448422(0x1eb)](_0x3733c9,_0x183c16,_0x133acd-_0x3733c9,_0x41eddb-_0x183c16),_0xcc0530[_0x448422(0x253)]();const _0x4fe171=(_0x393709=_0x3e1d71['themeType'])!=null?_0x393709:u['SparklineThemeTypeEnum']['STANDARD'],_0x149782=(_0x5e8a37=(_0x35685f=_0x3e1d71['seriesColor'])!=null?_0x35685f:(_0x24e497=u[_0x448422(0x1c2)][_0x4fe171])==null?void 0x0:_0x24e497[0x0])!=null?_0x5e8a37:u[_0x448422(0x1c2)][_0x448422(0x1ee)][0x0],_0x2637ba=_0x428bda[_0x547084],_0x26ce3d=_0x428bda[_0x3172e8];_0x428bda[_0x448422(0x288)]((_0x3a2ceb,_0x4714af)=>{const _0x2613de=_0x448422;var _0x3aa0f2,_0x124858,_0x567286,_0x3f50a1,_0x3c43a3,_0x19631e,_0x474c34,_0x457a5a,_0x5293a5,_0x34b4c9;if(typeof _0x3a2ceb==_0x2613de(0x1ea)||typeof _0x3a2ceb>'u')return;const _0x205aa7=_0x3a2ceb===0x0?0x0:_0x35be87/0x2,_0xe341b1=_0x2ab55a?_0x133acd-_0x5a360e-(_0x4714af+0x1)*(_0x16da82+_0x3a8054)+_0x3a8054/0x2:_0x1c4fce+_0x4714af*(_0x16da82+_0x3a8054)+_0x3a8054/0x2,_0x3f9578=_0x3a2ceb>=0x0;let _0x738eab=_0x149782;if((_0x124858=(_0x3aa0f2=_0x3e1d71['points'])==null?void 0x0:_0x3aa0f2[_0x2613de(0x24f)])!=null&&_0x124858[_0x2613de(0x187)]&&_0x4714af===0x0&&(_0x738eab=_0x3e1d71[_0x2613de(0x177)][_0x2613de(0x24f)][_0x2613de(0x241)]||_0x149782),(_0x3f50a1=(_0x567286=_0x3e1d71[_0x2613de(0x177)])==null?void 0x0:_0x567286['lastPoint'])!=null&&_0x3f50a1[_0x2613de(0x187)]&&_0x4714af===_0x428bda[_0x2613de(0x2d8)]-0x1&&(_0x738eab=_0x3e1d71['points'][_0x2613de(0x215)][_0x2613de(0x241)]||_0x149782),(_0x19631e=(_0x3c43a3=_0x3e1d71[_0x2613de(0x177)])==null?void 0x0:_0x3c43a3['highPoint'])!=null&&_0x19631e[_0x2613de(0x187)]&&_0x3a2ceb===_0x2637ba&&(_0x738eab=_0x3e1d71[_0x2613de(0x177)]['highPoint']['color']||_0x149782),(_0x457a5a=(_0x474c34=_0x3e1d71['points'])==null?void 0x0:_0x474c34['lowPoint'])!=null&&_0x457a5a[_0x2613de(0x187)]&&_0x3a2ceb===_0x26ce3d&&(_0x738eab=_0x3e1d71[_0x2613de(0x177)][_0x2613de(0x2db)]['color']||_0x149782),(_0x34b4c9=(_0x5293a5=_0x3e1d71[_0x2613de(0x177)])==null?void 0x0:_0x5293a5[_0x2613de(0x1b8)])!=null&&_0x34b4c9[_0x2613de(0x187)]&&_0x5951db[_0x2613de(0x154)](_0x4714af)&&(_0x738eab=_0x3e1d71[_0x2613de(0x177)][_0x2613de(0x1b8)][_0x2613de(0x241)]||_0x149782),_0xcc0530[_0x2613de(0x14b)]=_0x738eab,_0x16da82>=0x4&&_0xe9da9d){_0xcc0530['beginPath']();const _0x227cb6=0x2;_0x3f9578?(_0xcc0530[_0x2613de(0x133)](_0xe341b1,_0x81eb17-_0x205aa7+_0x227cb6),_0xcc0530[_0x2613de(0x140)](_0xe341b1,_0x81eb17-_0x205aa7,_0xe341b1+_0x16da82,_0x81eb17-_0x205aa7,_0x227cb6),_0xcc0530[_0x2613de(0x140)](_0xe341b1+_0x16da82,_0x81eb17-_0x205aa7,_0xe341b1+_0x16da82,_0x81eb17-_0x205aa7+_0x227cb6,_0x227cb6),_0xcc0530[_0x2613de(0x17a)](_0xe341b1+_0x16da82,_0x81eb17),_0xcc0530[_0x2613de(0x17a)](_0xe341b1,_0x81eb17),_0xcc0530[_0x2613de(0x22f)](),_0xcc0530['fill']()):(_0xcc0530[_0x2613de(0x133)](_0xe341b1,_0x81eb17),_0xcc0530[_0x2613de(0x17a)](_0xe341b1+_0x16da82,_0x81eb17),_0xcc0530['arcTo'](_0xe341b1+_0x16da82,_0x81eb17+_0x205aa7,_0xe341b1+_0x16da82-_0x227cb6,_0x81eb17+_0x205aa7,_0x227cb6),_0xcc0530['arcTo'](_0xe341b1,_0x81eb17+_0x205aa7,_0xe341b1,_0x81eb17+_0x205aa7-_0x227cb6,_0x227cb6),_0xcc0530[_0x2613de(0x17a)](_0xe341b1,_0x81eb17),_0xcc0530[_0x2613de(0x22f)](),_0xcc0530[_0x2613de(0x2c9)]());}else _0x3f9578?_0xcc0530[_0x2613de(0x208)](_0xe341b1,_0x81eb17-_0x205aa7,_0x16da82,_0x205aa7):_0xcc0530[_0x2613de(0x208)](_0xe341b1,_0x81eb17,_0x16da82,_0x205aa7);}),(_0x451fac=_0x3e1d71[_0x448422(0x2c5)])!=null&&_0x451fac[_0x448422(0x187)]&&(_0xcc0530[_0x448422(0x23e)](),_0xcc0530[_0x448422(0x133)](0x0+_0x1c4fce,_0x3b05aa+_0x35be87/0x2),_0xcc0530[_0x448422(0x17a)](_0x59e999+_0x1c4fce,_0x3b05aa+_0x35be87/0x2),_0xcc0530['strokeStyle']=(_0x141ac6=_0x3e1d71[_0x448422(0x2c5)]['color'])!=null?_0x141ac6:_0x448422(0x2a2),_0xcc0530[_0x448422(0x1b0)]=0x1,_0xcc0530[_0x448422(0x21a)]()),_0xcc0530[_0x448422(0x2c1)]();},wt=(_0x34675,_0xfbaa35,_0x41966b,_0x38d0cc,_0x18a6c6)=>{const _0x428f2a=_0x4424ef,{startX:_0x640987,startY:_0x100264,endX:_0x59bbf6,endY:_0xa42a30}=_0xfbaa35[_0x428f2a(0x11b)];if(!_0x38d0cc)return;const {data:_0x389b94}=_0x38d0cc,_0x240b5c=0x4,_0x5d9f03=_0x59bbf6-_0x640987-0x2*_0x240b5c,_0x1c1cd0=_0xa42a30-_0x100264-0x2*_0x240b5c,_0x213a73=_0x640987+_0x240b5c,_0x5acee9=_0x100264+_0x240b5c,_0x5a2ca4=Math[_0x428f2a(0x1b5)](_0x5d9f03,_0x1c1cd0)/0x2,_0x4cfddc=_0x213a73+_0x5d9f03/0x2,_0x186296=_0x5acee9+_0x1c1cd0/0x2,_0xf5d9cd=[_0x428f2a(0x15f),_0x428f2a(0x1a4),_0x428f2a(0x2a6),_0x428f2a(0x2ff),_0x428f2a(0x221),_0x428f2a(0x2d5),_0x428f2a(0x22a),_0x428f2a(0x1e6)],_0x409a0f=_0x389b94['filter'](_0x395cdd=>typeof _0x395cdd==_0x428f2a(0x19d)&&!Number['isNaN'](_0x395cdd)),_0x211461=_0x409a0f['reduce']((_0x4e517b,_0x10d9dd)=>_0x4e517b+_0x10d9dd,0x0);if(_0x211461===0x0||_0x409a0f[_0x428f2a(0x2d8)]===0x0)return;let _0xef41af=-Math['PI']/0x2;_0x409a0f['forEach']((_0x4e9547,_0x3120e7)=>{const _0x2f44f9=_0x428f2a,_0x8e14=_0x4e9547/_0x211461*0x2*Math['PI'],_0x112ce8=_0xef41af+_0x8e14;_0x34675[_0x2f44f9(0x23e)](),_0x34675[_0x2f44f9(0x133)](_0x4cfddc,_0x186296),_0x34675[_0x2f44f9(0x278)](_0x4cfddc,_0x186296,_0x5a2ca4,_0xef41af,_0x112ce8),_0x34675[_0x2f44f9(0x22f)](),_0x34675[_0x2f44f9(0x14b)]=_0xf5d9cd[_0x3120e7%_0xf5d9cd['length']],_0x34675[_0x2f44f9(0x2c9)](),_0x34675[_0x2f44f9(0x1b0)]=0x1,_0x34675['strokeStyle']=_0x2f44f9(0x247),_0x34675[_0x2f44f9(0x21a)](),_0xef41af=_0x112ce8;});};var Et=Object['getOwnPropertyDescriptor'],Tt=(_0x2dbec6,_0x496d00,_0x2ea279,_0x455924)=>{const _0x6bfce8=_0x4424ef;for(var _0x5f22dd=_0x455924>0x1?void 0x0:_0x455924?Et(_0x496d00,_0x2ea279):_0x496d00,_0x11fb8d=_0x2dbec6[_0x6bfce8(0x2d8)]-0x1,_0x4f74f4;_0x11fb8d>=0x0;_0x11fb8d--)(_0x4f74f4=_0x2dbec6[_0x11fb8d])&&(_0x5f22dd=_0x4f74f4(_0x5f22dd)||_0x5f22dd);return _0x5f22dd;},on=(_0xd3b7a3,_0x1f7d17)=>(_0x2ec787,_0x2fba64)=>_0x1f7d17(_0x2ec787,_0x2fba64,_0xd3b7a3);let cn=class extends o[_0x4424ef(0x1a6)]{constructor(_0x525993,_0x64a4c5,_0x21e7ef,_0xe286f2){const _0x27c83b=_0x4424ef;super(),this[_0x27c83b(0x1d0)]=_0x525993,this[_0x27c83b(0x235)]=_0x64a4c5,this[_0x27c83b(0x1cf)]=_0x21e7ef,this['_rangeProtectionCache']=_0xe286f2,this[_0x27c83b(0x209)](),this['_initSkeleton']();}[_0x4424ef(0x209)](){const _0xe36870=_0x4424ef,_0xf9d99c=this['_sparklineDataSourceModel'][_0xe36870(0x1ca)](),_0x44b653=_0xf9d99c[_0xe36870(0x2b9)],_0x360715=_0xf9d99c[_0xe36870(0x13a)],_0x2cfba3=(_0x1cbd3c,_0x10dd3f,_0x4a20fc)=>{const _0x173f6f=_0xe36870;var _0x52350c,_0x454815,_0x382f56,_0x352f09,_0x4a2177,_0x1d8014;const {actualRow:_0x1afc17,actualColumn:_0x51a1ac}=_0x4a20fc,{worksheet:_0xa2f6d2}=_0x10dd3f,_0x84951e=_0xa2f6d2[_0x173f6f(0x1d6)](),_0x4f7d6c=_0xa2f6d2[_0x173f6f(0x180)]();if(((_0x52350c=this['_rangeProtectionCache'][_0x173f6f(0x207)](_0x4f7d6c,_0x84951e,_0x1afc17,_0x51a1ac))==null?void 0x0:_0x52350c[W['UnitAction']['View']])===!0x1)return;const _0x190135=_0xa2f6d2[_0x173f6f(0x2d2)](_0x1afc17),_0x53a6b5=_0xa2f6d2[_0x173f6f(0x23f)](_0x51a1ac);if(!_0x190135||!_0x53a6b5)return;const _0x5966ca=(_0x454815=_0x44b653[_0x173f6f(0x2e9)](_0x4f7d6c))==null?void 0x0:_0x454815[_0x173f6f(0x2e9)](_0x84951e),_0x24282b=(_0x382f56=_0x5966ca==null?void 0x0:_0x5966ca[_0x173f6f(0x123)])==null?void 0x0:_0x382f56[_0x173f6f(0x260)](_0x1afc17,_0x51a1ac);if(_0x24282b){const _0x77812a=_0x5966ca==null?void 0x0:_0x5966ca[_0x173f6f(0x1d8)][_0x24282b['groupId']],_0x1f8c3d=(_0x4a2177=(_0x352f09=_0x360715[_0x173f6f(0x2e9)](_0x4f7d6c))==null?void 0x0:_0x352f09['get'](_0x84951e))==null?void 0x0:_0x4a2177[_0x173f6f(0x2e9)](_0x24282b==null?void 0x0:_0x24282b[_0x173f6f(0x2a4)]);if(!_0x1f8c3d)return;const _0x301c5b=(_0x1d8014=_0x1f8c3d==null?void 0x0:_0x1f8c3d[_0x173f6f(0x1d9)][_0x173f6f(0x2f8)])!=null?_0x1d8014:u['SparklineTypeEnum'][_0x173f6f(0x29c)];_0x301c5b===u[_0x173f6f(0x216)][_0x173f6f(0x29c)]?It(_0x1cbd3c,_0x4a20fc,_0x1f8c3d[_0x173f6f(0x1d9)],_0x24282b,_0x77812a):_0x301c5b===u[_0x173f6f(0x216)][_0x173f6f(0x279)]?xt(_0x1cbd3c,_0x4a20fc,_0x1f8c3d[_0x173f6f(0x1d9)],_0x24282b,_0x77812a):_0x301c5b===u[_0x173f6f(0x216)]['PROFIT_AND_LOSS_CHART']?bt(_0x1cbd3c,_0x4a20fc,_0x1f8c3d[_0x173f6f(0x1d9)],_0x24282b):_0x301c5b===u[_0x173f6f(0x216)][_0x173f6f(0x1a0)]&&wt(_0x1cbd3c,_0x4a20fc,_0x1f8c3d['config'],_0x24282b);}};this[_0xe36870(0x1cf)][_0xe36870(0x27a)](Un,_0x2cfba3);}[_0x4424ef(0x2dc)](){const _0x435fd0=_0x4424ef,_0x560192=()=>{const _0x2c81f7=_0xc14d;var _0x46b585;(_0x46b585=this[_0x2c81f7(0x1d0)]['mainComponent'])==null||_0x46b585[_0x2c81f7(0x149)]();};this['disposeWithMe'](this[_0x435fd0(0x235)][_0x435fd0(0x231)][_0x435fd0(0x2e8)](ue[_0x435fd0(0x138)](0x12c))[_0x435fd0(0x115)](_0x560192));}};cn=Tt([on(0x1,o[_0x4424ef(0x25c)](u['SparklineDataSourceModel'])),on(0x2,o['Inject'](kn[_0x4424ef(0x2a1)])),on(0x3,o['Inject'](W[_0x4424ef(0x1d1)]))],cn);var Mt=Object[_0x4424ef(0x268)],_t=Object['getOwnPropertyDescriptor'],Pt=(_0x3cd822,_0x3ac4b7,_0x3e9b74)=>_0x3ac4b7 in _0x3cd822?Mt(_0x3cd822,_0x3ac4b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e9b74}):_0x3cd822[_0x3ac4b7]=_0x3e9b74,jt=(_0x3cf80e,_0x590a7c,_0x585b40,_0x24fbbe)=>{const _0x8efa60=_0x4424ef;for(var _0x222aaf=_0x24fbbe>0x1?void 0x0:_0x24fbbe?_t(_0x590a7c,_0x585b40):_0x590a7c,_0x4a4ec4=_0x3cf80e[_0x8efa60(0x2d8)]-0x1,_0x3b57af;_0x4a4ec4>=0x0;_0x4a4ec4--)(_0x3b57af=_0x3cf80e[_0x4a4ec4])&&(_0x222aaf=_0x3b57af(_0x222aaf)||_0x222aaf);return _0x222aaf;},Ze=(_0x1d5d2f,_0x4cd73f)=>(_0xbfb281,_0xc128b)=>_0x4cd73f(_0xbfb281,_0xc128b,_0x1d5d2f),Nn=(_0x585dbb,_0x4f9b4c,_0x1d036d)=>Pt(_0x585dbb,typeof _0x4f9b4c!=_0x4424ef(0x26a)?_0x4f9b4c+'':_0x4f9b4c,_0x1d036d);const Nt=_0x4424ef(0x246);exports[_0x4424ef(0x191)]=class extends o[_0x4424ef(0x252)]{constructor(_0x360ca5=gn,_0x3b4705,_0x4f1725,_0x423218,_0x14066b){const _0x3fc591=_0x4424ef;super(),this[_0x3fc591(0x141)]=_0x360ca5,this[_0x3fc591(0x1cd)]=_0x3b4705,this[_0x3fc591(0x2b5)]=_0x4f1725,this[_0x3fc591(0x285)]=_0x423218,this['_renderManagerService']=_0x14066b;const {menu:_0x2a7217,..._0x31f887}=o[_0x3fc591(0x232)]({},gn,this['_config']);_0x2a7217&&this[_0x3fc591(0x1cd)]['setConfig']('menu',_0x2a7217,{'merge':!0x0}),this[_0x3fc591(0x1cd)][_0x3fc591(0x274)](On,_0x31f887),this[_0x3fc591(0x1a9)]();}[_0x4424ef(0x2da)](){const _0x3ab9de=_0x4424ef;[[Ke],[qe],[Ye],[Je],[ze],[Qe]]['forEach'](_0xd127f5=>{const _0x32c8f6=_0xc14d;this[_0x32c8f6(0x2b5)][_0x32c8f6(0x173)](_0xd127f5);}),o[_0x3ab9de(0x2f9)](this[_0x3ab9de(0x2b5)],[[Ke]]);}[_0x4424ef(0x303)](){const _0x4bf9fb=_0x4424ef;[[cn]]['forEach'](_0x31d3d8=>{const _0x1153e8=_0xc14d;this[_0x1153e8(0x1dc)][_0x1153e8(0x1af)](o['UniverInstanceType'][_0x1153e8(0x1ce)],_0x31d3d8);}),o[_0x4bf9fb(0x2f9)](this[_0x4bf9fb(0x2b5)],[[qe],[Ye],[Je],[ze],[Qe]]);}['_initRegisterCommand'](){const _0x2186be=_0x4424ef;[dn,We][_0x2186be(0x288)](_0x403cae=>this[_0x2186be(0x285)]['registerCommand'](_0x403cae));}},Nn(exports[_0x4424ef(0x191)],'pluginName',Nt),Nn(exports[_0x4424ef(0x191)],_0x4424ef(0x2f8),o[_0x4424ef(0x2d9)]['UNIVER_SHEET']),exports[_0x4424ef(0x191)]=jt([o['DependentOn'](u[_0x4424ef(0x26d)],kn[_0x4424ef(0x2f3)]),Ze(0x1,o[_0x4424ef(0x302)]),Ze(0x2,o[_0x4424ef(0x25c)](o[_0x4424ef(0x212)])),Ze(0x3,o[_0x4424ef(0x25c)](o[_0x4424ef(0x242)])),Ze(0x4,Hn['IRenderManagerService'])],exports[_0x4424ef(0x191)]);
|
|
1
|
+
'use strict';const _0x4e476b=_0x3f41;(function(_0xc72d9,_0x1ae05e){const _0x427e03=_0x3f41,_0x334eb=_0xc72d9();while(!![]){try{const _0x2359cb=parseInt(_0x427e03(0x1ec))/0x1+parseInt(_0x427e03(0x286))/0x2+parseInt(_0x427e03(0x23d))/0x3+parseInt(_0x427e03(0x18b))/0x4+parseInt(_0x427e03(0x2e9))/0x5*(-parseInt(_0x427e03(0x275))/0x6)+parseInt(_0x427e03(0x16f))/0x7*(parseInt(_0x427e03(0x1fd))/0x8)+parseInt(_0x427e03(0x277))/0x9*(-parseInt(_0x427e03(0x1ba))/0xa);if(_0x2359cb===_0x1ae05e)break;else _0x334eb['push'](_0x334eb['shift']());}catch(_0x25c290){_0x334eb['push'](_0x334eb['shift']());}}}(_0x17f0,0xe0473));var An=Object[_0x4e476b(0x287)],Ln=(_0x53dec4,_0x629be4,_0x79a6c4)=>_0x629be4 in _0x53dec4?An(_0x53dec4,_0x629be4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x79a6c4}):_0x53dec4[_0x629be4]=_0x79a6c4,tn=(_0x488495,_0x220b66,_0x5a7088)=>Ln(_0x488495,typeof _0x220b66!=_0x4e476b(0x268)?_0x220b66+'':_0x220b66,_0x5a7088);Object['defineProperty'](exports,Symbol[_0x4e476b(0x266)],{'value':_0x4e476b(0x1a9)});const u=require('@univerjs-pro/sheets-sparkline'),o=require('@univerjs/core'),Hn=require('@univerjs/engine-render'),kn=require('@univerjs/sheets-graphics'),G=require('@univerjs/ui'),W=require('@univerjs/sheets'),oe=require('@univerjs/sheets-ui'),B=require('react'),l=require('react/jsx-runtime'),O=require('@univerjs/design'),Fe=require('@univerjs/engine-formula'),mn=require('@univerjs/sheets-formula-ui'),ue=require('rxjs'),un=_0x4e476b(0x27f),we=_0x4e476b(0x177),yn=_0x4e476b(0x16b),Ie=_0x4e476b(0x2f1),Un=_0x4e476b(0x19c),We={'id':_0x4e476b(0x318),'type':o['CommandType'][_0x4e476b(0x19f)],'handler':_0x49ede5=>{const _0x438b80=_0x4e476b,_0xf76566=_0x49ede5[_0x438b80(0x26a)](G['ISidebarService']),_0x46f8f3=_0x49ede5['get'](o[_0x438b80(0x302)]),_0x5cc139=_0x49ede5[_0x438b80(0x26a)](G[_0x438b80(0x154)]),_0x6221c={'id':Ie,'header':{'title':_0x46f8f3['t'](_0x438b80(0x17b))},'children':{'label':yn},'width':0x14a,'destroyOnClose':!0x0,'onClose':()=>{const _0x298609=_0x438b80;_0x5cc139[_0x298609(0x2c6)](we);}};return _0xf76566['open'](_0x6221c),!0x0;}},dn={'type':o[_0x4e476b(0x165)]['OPERATION'],'id':_0x4e476b(0x151),'handler':async _0x34141b=>{const _0x5f5b1c=_0x4e476b,_0x2fbbec=_0x34141b[_0x5f5b1c(0x26a)](o[_0x5f5b1c(0x2ab)]),_0x621fa4=W['getSheetCommandTarget'](_0x2fbbec);if(!_0x621fa4)return!0x1;const _0x247731=_0x34141b[_0x5f5b1c(0x26a)](W['SheetsSelectionsService'])[_0x5f5b1c(0x2c9)]()[_0x5f5b1c(0x2ed)](_0x1f070b=>_0x1f070b[_0x5f5b1c(0x30b)]),_0x330e6c=await Rn(_0x34141b,_0x247731);if(!_0x330e6c)return!0x1;const {unitId:_0x4c954d,subUnitId:_0x2beeba}=_0x621fa4;return _0x34141b['get'](o[_0x5f5b1c(0x18f)])[_0x5f5b1c(0x262)](u[_0x5f5b1c(0x2a3)]['id'],{'sourceRanges':_0x330e6c['sourceRanges'],'targetRanges':_0x330e6c[_0x5f5b1c(0x2ce)],'targetInfo':{'unitId':_0x4c954d,'subUnitId':_0x2beeba}}),!0x0;}};async function Rn(_0x2d423f,_0x63f33e,_0x179efe,_0x428846){const _0x646ea8=_0x4e476b,_0x392566=_0x2d423f[_0x646ea8(0x26a)](G['IDialogService']),_0x14673d=_0x2d423f['get'](o['LocaleService']);return new Promise(_0x3b83e1=>{const _0x1275a3=_0x646ea8;let _0x4bbcea;const _0x3ac5aa={'sourceRanges':_0x63f33e,'targetRanges':_0x179efe,'resetCtx':_0x428846,'onConfirm':_0x5aa22e=>{const _0x401d22=_0x3f41;_0x3b83e1(_0x5aa22e),_0x4bbcea==null||_0x4bbcea[_0x401d22(0x198)]();},'onCancel':()=>{_0x3b83e1(null),_0x4bbcea==null||_0x4bbcea['dispose']();}};_0x4bbcea=_0x392566['open']({'id':we,'title':{'title':_0x14673d['t'](_0x1275a3(0x14b))},'draggable':!0x0,'mask':!0x1,'maskClosable':!0x1,'destroyOnClose':!0x0,'children':{'label':{'name':we,'props':_0x3ac5aa}},'width':0x190,'onClose':()=>{const _0x35b2f4=_0x1275a3;_0x4bbcea[_0x35b2f4(0x198)]();}});});}const On=_0x4e476b(0x17e),gn={};var Vn=Object[_0x4e476b(0x29f)],$n=(_0x8b1b7f,_0x1414f5,_0x378908,_0x343084)=>{const _0x3d84ba=_0x4e476b;for(var _0x882c85=_0x343084>0x1?void 0x0:_0x343084?Vn(_0x1414f5,_0x378908):_0x1414f5,_0x55631a=_0x8b1b7f[_0x3d84ba(0x2e0)]-0x1,_0x2ae8e6;_0x55631a>=0x0;_0x55631a--)(_0x2ae8e6=_0x8b1b7f[_0x55631a])&&(_0x882c85=_0x2ae8e6(_0x882c85)||_0x882c85);return _0x882c85;},Be=(_0x402a9a,_0xc4773d)=>(_0x4f2e72,_0x544046)=>_0xc4773d(_0x4f2e72,_0x544046,_0x402a9a);let Ye=class extends o[_0x4e476b(0x2a2)]{constructor(_0x3d924e,_0x2d0aab,_0x331f25,_0x499602){const _0x17f955=_0x4e476b;super(),this[_0x17f955(0x23f)]=_0x3d924e,this[_0x17f955(0x319)]=_0x2d0aab,this[_0x17f955(0x325)]=_0x331f25,this[_0x17f955(0x1bf)]=_0x499602,this['_initAutoFillWithSparkline']();}[_0x4e476b(0x254)](){const _0x1d46f3=_0x4e476b,_0x5e31f3=()=>({'redos':[],'undos':[]}),_0x2341ea=(_0x30577a,_0x260ec1)=>{const _0x522a05=_0x3f41;var _0x32695e,_0x46db3e,_0x5e6329,_0x1cab3b;const _0x5981b2=[],_0x5a84c2=[],{source:_0x1e295a,target:_0x43c6ea,unitId:_0x5291a7,subUnitId:_0x53b693}=_0x30577a;if(!_0x1e295a||!_0x43c6ea||_0x260ec1==null)return{'undos':_0x5981b2,'redos':_0x5a84c2};const _0xdc29c7=oe[_0x522a05(0x1be)](_0x1e295a),_0xbd97ea=oe[_0x522a05(0x1be)](_0x43c6ea),_0x30692f=_0xdc29c7[_0x522a05(0x288)]-_0xdc29c7[_0x522a05(0x2ee)]+0x1,_0x192a81=_0xdc29c7['endColumn']-_0xdc29c7[_0x522a05(0x29e)]+0x1,_0x1968c7=_0xbd97ea[_0x522a05(0x288)]-_0xbd97ea['startRow']+0x1,_0x99f261=_0xbd97ea[_0x522a05(0x210)]-_0xbd97ea[_0x522a05(0x29e)]+0x1;if(o['Rectangle'][_0x522a05(0x232)](_0xdc29c7,_0xbd97ea))return{'undos':_0x5981b2,'redos':_0x5a84c2};if(_0x260ec1===o[_0x522a05(0x13c)]['UP']){const _0x13d0f6={},_0x47822a={},_0x2dfb61=new Set();for(let _0x15e3dd=0x0;_0x15e3dd<_0x192a81;_0x15e3dd++)for(let _0x502540=0x0;_0x502540<_0x1968c7;_0x502540++){const _0x2b7567=_0x502540%_0x30692f,_0xab4d06=_0xbd97ea[_0x522a05(0x2ee)]+_0x502540,_0x2045ab=_0xbd97ea[_0x522a05(0x29e)]+_0x15e3dd,_0x1f3c28=_0xdc29c7[_0x522a05(0x2ee)]+_0x2b7567,_0x4cc581=this[_0x522a05(0x1bf)][_0x522a05(0x2b0)](_0x5291a7,_0x53b693,_0xab4d06,_0x2045ab);if(_0x4cc581){_0x2dfb61['add'](_0x4cc581);const _0x289a73=this[_0x522a05(0x1bf)]['getSparklineById'](_0x5291a7,_0x53b693,_0x4cc581);if(_0x289a73){_0x47822a[_0x4cc581]={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x289a73[_0x522a05(0x242)]),'sparklines':o['Tools']['deepClone'](_0x289a73[_0x522a05(0x2ec)]['clone']())};let _0x5aaeae=_0x13d0f6[_0x4cc581];_0x5aaeae||(_0x5aaeae={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x289a73[_0x522a05(0x242)]),'sparklines':new o['ObjectMatrix'](_0x289a73[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())},_0x13d0f6[_0x4cc581]=_0x5aaeae),_0x5aaeae[_0x522a05(0x2ec)][_0x522a05(0x223)](_0xab4d06,_0x2045ab);}}const _0x515f8f=this['_sparklineDataSourceModel'][_0x522a05(0x2b0)](_0x5291a7,_0x53b693,_0x1f3c28,_0x2045ab);if(_0x515f8f){const _0x3a47ca=this['_sparklineDataSourceModel']['getSparklineById'](_0x5291a7,_0x53b693,_0x515f8f);if(_0x3a47ca){_0x47822a[_0x515f8f]={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x3a47ca[_0x522a05(0x242)]),'sparklines':o['Tools'][_0x522a05(0x1d9)](_0x3a47ca[_0x522a05(0x2ec)]['clone']())};let _0x4aace1=_0x13d0f6[_0x515f8f];_0x4aace1||(_0x4aace1={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x3a47ca[_0x522a05(0x242)]),'sparklines':new o[(_0x522a05(0x12a))](_0x3a47ca['sparklines']['clone']())},_0x13d0f6[_0x515f8f]=_0x4aace1),_0x4aace1[_0x522a05(0x2ec)][_0x522a05(0x223)](_0xab4d06,_0x2045ab);const _0x17f32e=(_0x32695e=this[_0x522a05(0x1bf)][_0x522a05(0x1e6)](_0x5291a7,_0x53b693,_0x515f8f))==null?void 0x0:_0x32695e['sparklines'],_0x3fa5ac=_0x17f32e==null?void 0x0:_0x17f32e[_0x522a05(0x180)](_0x1f3c28,_0x2045ab);if(_0x3fa5ac){const _0x31beb1={..._0x3fa5ac,'startRow':_0x3fa5ac[_0x522a05(0x2ee)]+_0xab4d06-_0x1f3c28,'endRow':_0x3fa5ac[_0x522a05(0x288)]+_0xab4d06-_0x1f3c28};_0x4aace1['sparklines'][_0x522a05(0x30e)](_0xab4d06,_0x2045ab,_0x31beb1),_0x2dfb61[_0x522a05(0x2be)](_0x515f8f);}}}const _0x923db1={};Object[_0x522a05(0x1b3)](_0x13d0f6)[_0x522a05(0x1e1)](([_0x5abb6f,_0x2e8b4c])=>{const _0x39e423=_0x522a05;_0x2e8b4c['sparklines'][_0x39e423(0x168)]()&&(_0x923db1[_0x5abb6f]={'config':_0x2e8b4c[_0x39e423(0x242)],'sparklines':_0x2e8b4c[_0x39e423(0x2ec)][_0x39e423(0x2bf)]()});}),_0x2dfb61['size']&&(_0x5a84c2['push']({'id':u[_0x522a05(0x16a)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'groupIds':Array[_0x522a05(0x2a1)](_0x2dfb61),'isSingle':!0x1}}),_0x5981b2[_0x522a05(0x2fc)]({'id':u['RemoveSheetSparklineMutation']['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'groupIds':Array[_0x522a05(0x2a1)](_0x2dfb61),'isSingle':!0x1}}),_0x5a84c2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x1fa)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'sparklineConfigMap':_0x923db1}}),_0x5981b2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x1fa)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'sparklineConfigMap':_0x47822a}}));}}else{if(_0x260ec1===o[_0x522a05(0x13c)][_0x522a05(0x233)]){const _0x5a7961={},_0xa07ba={},_0x4e94fd=new Set();for(let _0x46846c=0x0;_0x46846c<_0x192a81;_0x46846c++)for(let _0x39d9a8=0x0;_0x39d9a8<_0x1968c7;_0x39d9a8++){const _0xd9b38=_0x39d9a8%_0x30692f,_0x4730ff=_0xbd97ea[_0x522a05(0x2ee)]+_0x39d9a8,_0x222bb7=_0xbd97ea[_0x522a05(0x29e)]+_0x46846c,_0x183b0d=_0xdc29c7['startRow']+_0xd9b38,_0x5f13cc=this[_0x522a05(0x1bf)][_0x522a05(0x2b0)](_0x5291a7,_0x53b693,_0x183b0d,_0x222bb7),_0x274965=this[_0x522a05(0x1bf)][_0x522a05(0x2b0)](_0x5291a7,_0x53b693,_0x4730ff,_0x222bb7);if(_0x274965){_0x4e94fd[_0x522a05(0x2be)](_0x274965);const _0x3890e5=this[_0x522a05(0x1bf)]['getSparklineById'](_0x5291a7,_0x53b693,_0x274965);if(_0x3890e5){_0xa07ba[_0x274965]={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x3890e5[_0x522a05(0x242)]),'sparklines':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x3890e5[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())};let _0x4f63b8=_0x5a7961[_0x274965];_0x4f63b8||(_0x4f63b8={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x3890e5[_0x522a05(0x242)]),'sparklines':new o['ObjectMatrix'](_0x3890e5[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())},_0x5a7961[_0x274965]=_0x4f63b8),_0x4f63b8[_0x522a05(0x2ec)][_0x522a05(0x223)](_0x4730ff,_0x222bb7);}}if(_0x5f13cc){const _0x5a2788=this[_0x522a05(0x1bf)][_0x522a05(0x1e6)](_0x5291a7,_0x53b693,_0x5f13cc);if(_0x5a2788){_0xa07ba[_0x5f13cc]={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x5a2788['config']),'sparklines':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x5a2788[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())};let _0x62f614=_0x5a7961[_0x5f13cc];_0x62f614||(_0x62f614={'config':o['Tools'][_0x522a05(0x1d9)](_0x5a2788[_0x522a05(0x242)]),'sparklines':new o[(_0x522a05(0x12a))](_0x5a2788[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())},_0x5a7961[_0x5f13cc]=_0x62f614),_0x62f614['sparklines']['realDeleteValue'](_0x4730ff,_0x222bb7);const _0x39d3ac=(_0x46db3e=this[_0x522a05(0x1bf)][_0x522a05(0x1e6)](_0x5291a7,_0x53b693,_0x5f13cc))==null?void 0x0:_0x46db3e['sparklines'],_0x467d4d=_0x39d3ac==null?void 0x0:_0x39d3ac[_0x522a05(0x180)](_0x183b0d,_0x222bb7);if(_0x467d4d){const _0x38acd5={..._0x467d4d,'startRow':_0x467d4d[_0x522a05(0x2ee)]+_0x4730ff-_0x183b0d,'endRow':_0x467d4d['endRow']+_0x4730ff-_0x183b0d};_0x62f614[_0x522a05(0x2ec)][_0x522a05(0x30e)](_0x4730ff,_0x222bb7,_0x38acd5),_0x4e94fd[_0x522a05(0x2be)](_0x5f13cc);}}}}const _0x400cdb={};Object[_0x522a05(0x1b3)](_0x5a7961)[_0x522a05(0x1e1)](([_0x30edc3,_0x2d3da1])=>{const _0x16d4ce=_0x522a05;_0x2d3da1[_0x16d4ce(0x2ec)][_0x16d4ce(0x168)]()&&(_0x400cdb[_0x30edc3]={'config':_0x2d3da1[_0x16d4ce(0x242)],'sparklines':_0x2d3da1[_0x16d4ce(0x2ec)]['clone']()});}),_0x4e94fd[_0x522a05(0x293)]&&(_0x5a84c2[_0x522a05(0x2fc)]({'id':u['RemoveSheetSparklineMutation']['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'groupIds':Array[_0x522a05(0x2a1)](_0x4e94fd),'isSingle':!0x1}}),_0x5981b2['push']({'id':u[_0x522a05(0x16a)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'groupIds':Array['from'](_0x4e94fd),'isSingle':!0x1}}),_0x5a84c2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x1fa)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'sparklineConfigMap':_0x400cdb}}),_0x5981b2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x1fa)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'sparklineConfigMap':_0xa07ba}}));}else{if(_0x260ec1===o[_0x522a05(0x13c)][_0x522a05(0x1e9)]){const _0x1cff12={},_0x140706={},_0x51ee18=new Set();for(let _0x4440ad=0x0;_0x4440ad<_0x30692f;_0x4440ad++)for(let _0x1090e0=0x0;_0x1090e0<_0x99f261;_0x1090e0++){const _0x22a730=_0x1090e0%_0x192a81,_0x8e4ada=_0xbd97ea[_0x522a05(0x2ee)]+_0x4440ad,_0x223dcf=_0xbd97ea[_0x522a05(0x29e)]+_0x1090e0,_0x328e68=_0xdc29c7[_0x522a05(0x29e)]+_0x22a730,_0x2809bd=this[_0x522a05(0x1bf)]['getSparkline'](_0x5291a7,_0x53b693,_0x8e4ada,_0x223dcf);if(_0x2809bd){_0x51ee18[_0x522a05(0x2be)](_0x2809bd);const _0x3a120e=this[_0x522a05(0x1bf)][_0x522a05(0x1e6)](_0x5291a7,_0x53b693,_0x2809bd);if(_0x3a120e){_0x140706[_0x2809bd]={'config':o['Tools'][_0x522a05(0x1d9)](_0x3a120e[_0x522a05(0x242)]),'sparklines':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x3a120e[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())};let _0x31daf3=_0x1cff12[_0x2809bd];_0x31daf3||(_0x31daf3={'config':o[_0x522a05(0x30c)]['deepClone'](_0x3a120e[_0x522a05(0x242)]),'sparklines':new o['ObjectMatrix'](_0x3a120e[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())},_0x1cff12[_0x2809bd]=_0x31daf3),_0x31daf3['sparklines'][_0x522a05(0x223)](_0x8e4ada,_0x223dcf);}}const _0x4e16ca=this['_sparklineDataSourceModel']['getSparkline'](_0x5291a7,_0x53b693,_0x8e4ada,_0x328e68);if(_0x4e16ca){const _0x3eec2a=this[_0x522a05(0x1bf)][_0x522a05(0x1e6)](_0x5291a7,_0x53b693,_0x4e16ca);if(_0x3eec2a){_0x140706[_0x4e16ca]={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x3eec2a[_0x522a05(0x242)]),'sparklines':o['Tools'][_0x522a05(0x1d9)](_0x3eec2a[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())};let _0x45c66a=_0x1cff12[_0x4e16ca];_0x45c66a||(_0x45c66a={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x3eec2a[_0x522a05(0x242)]),'sparklines':new o[(_0x522a05(0x12a))](_0x3eec2a[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())},_0x1cff12[_0x4e16ca]=_0x45c66a),_0x45c66a[_0x522a05(0x2ec)][_0x522a05(0x223)](_0x8e4ada,_0x223dcf);const _0x1275b8=(_0x5e6329=this[_0x522a05(0x1bf)]['getSparklineById'](_0x5291a7,_0x53b693,_0x4e16ca))==null?void 0x0:_0x5e6329[_0x522a05(0x2ec)],_0x2da1ea=_0x1275b8==null?void 0x0:_0x1275b8[_0x522a05(0x180)](_0x8e4ada,_0x328e68);if(_0x2da1ea){const _0xcbf470={..._0x2da1ea,'startColumn':_0x2da1ea[_0x522a05(0x29e)]+_0x223dcf-_0x328e68,'endColumn':_0x2da1ea[_0x522a05(0x210)]+_0x223dcf-_0x328e68};_0x45c66a['sparklines'][_0x522a05(0x30e)](_0x8e4ada,_0x223dcf,_0xcbf470),_0x51ee18[_0x522a05(0x2be)](_0x4e16ca);}}}}const _0x3f1270={};Object['entries'](_0x1cff12)[_0x522a05(0x1e1)](([_0x320e46,_0x1b530f])=>{const _0x56406b=_0x522a05;_0x1b530f[_0x56406b(0x2ec)][_0x56406b(0x168)]()&&(_0x3f1270[_0x320e46]={'config':_0x1b530f[_0x56406b(0x242)],'sparklines':_0x1b530f[_0x56406b(0x2ec)][_0x56406b(0x2bf)]()});}),_0x51ee18[_0x522a05(0x293)]&&(_0x5a84c2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x16a)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'groupIds':Array[_0x522a05(0x2a1)](_0x51ee18),'isSingle':!0x1}}),_0x5981b2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x16a)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'groupIds':Array[_0x522a05(0x2a1)](_0x51ee18),'isSingle':!0x1}}),_0x5a84c2['push']({'id':u[_0x522a05(0x1fa)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'sparklineConfigMap':_0x3f1270}}),_0x5981b2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x1fa)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'sparklineConfigMap':_0x140706}}));}else{if(_0x260ec1===o[_0x522a05(0x13c)][_0x522a05(0x1a7)]){const _0x5b292e={},_0x9540ea={},_0x1a0a4b=new Set();for(let _0x48dd2a=0x0;_0x48dd2a<_0x30692f;_0x48dd2a++)for(let _0x47f461=0x0;_0x47f461<_0x99f261;_0x47f461++){const _0x22d38d=_0x47f461%_0x192a81,_0x48869a=_0xbd97ea['startRow']+_0x48dd2a,_0x57fc1b=_0xbd97ea[_0x522a05(0x29e)]+_0x47f461,_0x3c6280=_0xdc29c7['startColumn']+_0x22d38d,_0x41636=this[_0x522a05(0x1bf)]['getSparkline'](_0x5291a7,_0x53b693,_0x48869a,_0x57fc1b);if(_0x41636){_0x1a0a4b[_0x522a05(0x2be)](_0x41636);const _0xac4dff=this[_0x522a05(0x1bf)][_0x522a05(0x1e6)](_0x5291a7,_0x53b693,_0x41636);if(_0xac4dff){_0x9540ea[_0x41636]={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0xac4dff['config']),'sparklines':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0xac4dff[_0x522a05(0x2ec)]['clone']())};let _0x406a0d=_0x5b292e[_0x41636];_0x406a0d||(_0x406a0d={'config':o['Tools'][_0x522a05(0x1d9)](_0xac4dff['config']),'sparklines':new o[(_0x522a05(0x12a))](_0xac4dff[_0x522a05(0x2ec)][_0x522a05(0x2bf)]())},_0x5b292e[_0x41636]=_0x406a0d),_0x406a0d[_0x522a05(0x2ec)][_0x522a05(0x223)](_0x48869a,_0x57fc1b);}}const _0xf756c2=this[_0x522a05(0x1bf)]['getSparkline'](_0x5291a7,_0x53b693,_0x48869a,_0x3c6280);if(_0xf756c2){const _0x186d50=this[_0x522a05(0x1bf)][_0x522a05(0x1e6)](_0x5291a7,_0x53b693,_0xf756c2);if(_0x186d50){_0x9540ea[_0xf756c2]={'config':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x186d50['config']),'sparklines':o[_0x522a05(0x30c)][_0x522a05(0x1d9)](_0x186d50[_0x522a05(0x2ec)]['clone']())};let _0x4a9226=_0x5b292e[_0xf756c2];_0x4a9226||(_0x4a9226={'config':o['Tools'][_0x522a05(0x1d9)](_0x186d50[_0x522a05(0x242)]),'sparklines':new o[(_0x522a05(0x12a))](_0x186d50[_0x522a05(0x2ec)]['clone']())},_0x5b292e[_0xf756c2]=_0x4a9226),_0x4a9226[_0x522a05(0x2ec)][_0x522a05(0x223)](_0x48869a,_0x57fc1b);const _0x2b6475=(_0x1cab3b=this[_0x522a05(0x1bf)][_0x522a05(0x1e6)](_0x5291a7,_0x53b693,_0xf756c2))==null?void 0x0:_0x1cab3b[_0x522a05(0x2ec)],_0x287124=_0x2b6475==null?void 0x0:_0x2b6475[_0x522a05(0x180)](_0x48869a,_0x3c6280);if(_0x287124){const _0xc52df3={..._0x287124,'startColumn':_0x287124[_0x522a05(0x29e)]+_0x57fc1b-_0x3c6280,'endColumn':_0x287124[_0x522a05(0x210)]+_0x57fc1b-_0x3c6280};_0x4a9226[_0x522a05(0x2ec)]['setValue'](_0x48869a,_0x57fc1b,_0xc52df3),_0x1a0a4b[_0x522a05(0x2be)](_0xf756c2);}}}}const _0x187597={};Object['entries'](_0x5b292e)[_0x522a05(0x1e1)](([_0x2e9b14,_0x2d4adf])=>{const _0x46d6b=_0x522a05;_0x2d4adf[_0x46d6b(0x2ec)]['getSizeOf']()&&(_0x187597[_0x2e9b14]={'config':_0x2d4adf[_0x46d6b(0x242)],'sparklines':_0x2d4adf[_0x46d6b(0x2ec)]['clone']()});}),_0x1a0a4b[_0x522a05(0x293)]&&(_0x5a84c2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x16a)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'groupIds':Array[_0x522a05(0x2a1)](_0x1a0a4b),'isSingle':!0x1}}),_0x5981b2[_0x522a05(0x2fc)]({'id':u['RemoveSheetSparklineMutation']['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'groupIds':Array[_0x522a05(0x2a1)](_0x1a0a4b),'isSingle':!0x1}}),_0x5a84c2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x1fa)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'sparklineConfigMap':_0x187597}}),_0x5981b2[_0x522a05(0x2fc)]({'id':u[_0x522a05(0x1fa)]['id'],'params':{'unitId':_0x5291a7,'subUnitId':_0x53b693,'sparklineConfigMap':_0x9540ea}}));}}}}return{'undos':_0x5981b2,'redos':_0x5a84c2};},_0x203ffd={'id':u['PLUGIN_NAME'],'onFillData':(_0x41e298,_0x45178c,_0x57e103)=>_0x57e103===oe[_0x1d46f3(0x15e)][_0x1d46f3(0x31b)]||_0x57e103===oe[_0x1d46f3(0x15e)][_0x1d46f3(0x145)]||_0x57e103===oe['APPLY_TYPE']['SERIES']?_0x2341ea(_0x41e298,_0x45178c):_0x5e31f3()};this['disposeWithMe'](this['_autoFillService']['addHook'](_0x203ffd));}};Ye=$n([Be(0x0,o[_0x4e476b(0x284)](o[_0x4e476b(0x236)])),Be(0x1,o['Inject'](o['IUniverInstanceService'])),Be(0x2,o[_0x4e476b(0x284)](oe[_0x4e476b(0x2d6)])),Be(0x3,o['Inject'](u[_0x4e476b(0x2fe)]))],Ye);var Wn=Object[_0x4e476b(0x29f)],Fn=(_0x5e1a8b,_0x30b1df,_0x138ddf,_0x36440a)=>{for(var _0x372d5b=_0x36440a>0x1?void 0x0:_0x36440a?Wn(_0x30b1df,_0x138ddf):_0x30b1df,_0x49135a=_0x5e1a8b['length']-0x1,_0x202b95;_0x49135a>=0x0;_0x49135a--)(_0x202b95=_0x5e1a8b[_0x49135a])&&(_0x372d5b=_0x202b95(_0x372d5b)||_0x372d5b);return _0x372d5b;},fn=(_0x79d1e0,_0x3f88d4)=>(_0xbb2f86,_0x3b47c1)=>_0x3f88d4(_0xbb2f86,_0x3b47c1,_0x79d1e0);let ze=class extends o[_0x4e476b(0x2a2)]{constructor(_0x1c83ed,_0x3df3a3){const _0x253018=_0x4e476b;super(),this[_0x253018(0x157)]=_0x1c83ed,this[_0x253018(0x1bf)]=_0x3df3a3,this[_0x253018(0x2cd)]();}[_0x4e476b(0x2cd)](){const _0x2fa62a=_0x4e476b;this[_0x2fa62a(0x1ed)](this[_0x2fa62a(0x157)][_0x2fa62a(0x241)]({'id':u['PLUGIN_NAME'],'onPasteCells':(_0x308bdc,_0x19a03d,_0x165433,_0x190219)=>{const _0x3841e7=_0x2fa62a;var _0x373431,_0x2860e6,_0x2a1264;const _0xd27693=[],_0x5ac965=[],{copyType:_0x101f67=oe[_0x3841e7(0x1a3)][_0x3841e7(0x31b)]}=_0x190219,_0xfec93f={};if(_0x101f67===oe[_0x3841e7(0x1a3)][_0x3841e7(0x206)])return{'undos':_0xd27693,'redos':_0x5ac965};if(_0x190219[_0x3841e7(0x1b2)]!==oe[_0x3841e7(0x2db)][_0x3841e7(0x261)])return{'undos':_0xd27693,'redos':_0x5ac965};if(!_0x308bdc)return{'undos':_0xd27693,'redos':_0x5ac965};if(_0x19a03d['unitId']!==_0x308bdc[_0x3841e7(0x204)])return{'undos':_0xd27693,'redos':_0x5ac965};const {range:_0x30a4ff,unitId:_0x5b5eae,subUnitId:_0x251926}=_0x19a03d,{range:_0x23b3a8,unitId:_0x55e7c3,subUnitId:_0x5e69ee}=_0x308bdc,_0x1ca108={},_0x43cd5c={},_0x7f7b8a={},_0x5c52f5=new Set(),_0x182071=new Set();for(let _0x1695a1=0x0;_0x1695a1<_0x30a4ff[_0x3841e7(0x2dd)]['length'];_0x1695a1++)for(let _0x1f3bbb=0x0;_0x1f3bbb<_0x30a4ff[_0x3841e7(0x188)][_0x3841e7(0x2e0)];_0x1f3bbb++){const _0x77bee9=_0x23b3a8[_0x3841e7(0x2dd)][_0x1695a1],_0x526389=_0x23b3a8[_0x3841e7(0x188)][_0x1f3bbb];if(!this[_0x3841e7(0x1bf)][_0x3841e7(0x2b0)](_0x55e7c3,_0x5e69ee,_0x77bee9,_0x526389))continue;const _0x48ff59=_0x30a4ff[_0x3841e7(0x2dd)][_0x1695a1],_0x17db22=_0x30a4ff[_0x3841e7(0x188)][_0x1f3bbb],_0x16ccc7=_0x30a4ff['rows'][_0x1695a1]-_0x77bee9,_0x41649d=_0x30a4ff[_0x3841e7(0x188)][_0x1f3bbb]-_0x526389,_0x4ac8b8=this[_0x3841e7(0x1bf)][_0x3841e7(0x2b0)](_0x55e7c3,_0x5e69ee,_0x77bee9,_0x526389);if(_0x4ac8b8){let _0x56f2ed=_0x1ca108[_0xfec93f[_0x4ac8b8]];const _0xae4501=this[_0x3841e7(0x1bf)]['getSparklineById'](_0x55e7c3,_0x5e69ee,_0x4ac8b8);if(!_0xae4501)continue;if(!_0xfec93f[_0x4ac8b8]&&_0xae4501){const _0x536221='g_'+o[_0x3841e7(0x2f3)](0x6);_0x56f2ed={'newGroupId':_0x536221,'config':{'config':o[_0x3841e7(0x30c)][_0x3841e7(0x1d9)](_0xae4501[_0x3841e7(0x242)]),'sparklines':{}}},_0x1ca108[_0x536221]=_0x56f2ed,_0xfec93f[_0x4ac8b8]=_0x536221;}_0x56f2ed[_0x3841e7(0x242)]['sparklines'][_0x48ff59]||(_0x56f2ed['config']['sparklines'][_0x48ff59]={});const _0x3ec60f=_0xae4501[_0x3841e7(0x2ec)][_0x3841e7(0x180)](_0x77bee9,_0x526389);if(_0x3ec60f){const _0x55624a={'startRow':_0x3ec60f[_0x3841e7(0x2ee)]+_0x16ccc7,'startColumn':_0x3ec60f[_0x3841e7(0x29e)]+_0x41649d,'endRow':_0x3ec60f[_0x3841e7(0x288)]+_0x16ccc7,'endColumn':_0x3ec60f[_0x3841e7(0x210)]+_0x41649d};_0x56f2ed[_0x3841e7(0x242)]['sparklines'][_0x48ff59][_0x17db22]=_0x55624a;}}const _0x253208=this[_0x3841e7(0x1bf)]['getSparkline'](_0x5b5eae,_0x251926,_0x30a4ff[_0x3841e7(0x2dd)][_0x1695a1],_0x30a4ff[_0x3841e7(0x188)][_0x1f3bbb]);if(_0x253208){const _0x5bb053=this[_0x3841e7(0x1bf)][_0x3841e7(0x1e6)](_0x5b5eae,_0x251926,_0x253208);_0x5bb053&&(_0x5c52f5[_0x3841e7(0x2be)](_0x253208),_0x7f7b8a[_0x253208]={'config':o[_0x3841e7(0x30c)]['deepClone'](_0x5bb053[_0x3841e7(0x242)]),'sparklines':o[_0x3841e7(0x30c)]['deepClone'](_0x5bb053['sparklines']['getMatrix']())},_0x43cd5c[_0x253208]&&(_0x43cd5c[_0x253208]={'config':o[_0x3841e7(0x30c)][_0x3841e7(0x1d9)](_0x5bb053[_0x3841e7(0x242)]),'sparklines':o[_0x3841e7(0x30c)][_0x3841e7(0x1d9)](_0x5bb053[_0x3841e7(0x2ec)][_0x3841e7(0x1d7)]())}),(_0x2a1264=(_0x2860e6=(_0x373431=_0x43cd5c[_0x253208])==null?void 0x0:_0x373431['sparklines'])==null?void 0x0:_0x2860e6[_0x1695a1])!=null&&_0x2a1264[_0x1f3bbb]&&delete _0x43cd5c[_0x253208][_0x3841e7(0x2ec)][_0x1695a1][_0x1f3bbb]);}}return Object[_0x3841e7(0x158)](_0x1ca108)[_0x3841e7(0x1e1)](_0x27e9ee=>{const _0x30b858=_0x3841e7,_0xcfe1d1=_0x1ca108[_0x27e9ee];_0xcfe1d1&&(_0x182071['add'](_0x27e9ee),_0x43cd5c[_0x27e9ee]=_0xcfe1d1[_0x30b858(0x242)]);}),_0xd27693['push']({'id':u[_0x3841e7(0x16a)]['id'],'params':{'unitId':_0x5b5eae,'subUnitId':_0x251926,'groupIds':Array[_0x3841e7(0x2a1)](_0x182071),'isSingle':!0x1}}),_0xd27693['push']({'id':u[_0x3841e7(0x1fa)]['id'],'params':{'unitId':_0x5b5eae,'subUnitId':_0x251926,'sparklineConfigMap':_0x7f7b8a}}),_0x5ac965['push']({'id':u[_0x3841e7(0x16a)]['id'],'params':{'unitId':_0x5b5eae,'subUnitId':_0x251926,'groupIds':Array[_0x3841e7(0x2a1)](_0x5c52f5),'isSingle':!0x1}}),_0x5ac965[_0x3841e7(0x2fc)]({'id':u[_0x3841e7(0x1fa)]['id'],'params':{'unitId':_0x5b5eae,'subUnitId':_0x251926,'sparklineConfigMap':_0x43cd5c}}),{'undos':_0xd27693,'redos':_0x5ac965};}}));}};ze=Fn([fn(0x0,o[_0x4e476b(0x284)](oe[_0x4e476b(0x2c0)])),fn(0x1,o['Inject'](u[_0x4e476b(0x2fe)]))],ze);function de({ref:_0x1184fd,..._0x5acf88}){const _0x28d27e=_0x4e476b,{icon:_0x3de285,id:_0x11fd68,className:_0x18c0fa,extend:_0x3c99f5,..._0x4614d3}=_0x5acf88,_0x229fb5=('univerjs-icon\x20univerjs-icon-'+_0x11fd68+'\x20'+(_0x18c0fa||''))[_0x28d27e(0x15f)](),_0x55521a=B[_0x28d27e(0x2a8)]('_'+Zn());return In(_0x3de285,''+_0x11fd68,{'defIds':_0x3de285[_0x28d27e(0x133)],'idSuffix':_0x55521a['current']},{'ref':_0x1184fd,'className':_0x229fb5,..._0x4614d3},_0x3c99f5);}function In(_0x10b52e,_0x8a4788,_0x211599,_0x27734a,_0x17745a){const _0x35ca3d=_0x4e476b;return B['createElement'](_0x10b52e['tag'],{'key':_0x8a4788,...Bn(_0x10b52e,_0x211599,_0x17745a),..._0x27734a},(Gn(_0x10b52e,_0x211599)['children']||[])[_0x35ca3d(0x2ed)]((_0x2e51c0,_0x25e54e)=>In(_0x2e51c0,_0x8a4788+'-'+_0x10b52e['tag']+'-'+_0x25e54e,_0x211599,void 0x0,_0x17745a)));}function Bn(_0x348ef5,_0x19b319,_0x11e780){const _0x16e9b9=_0x4e476b,_0x3d27b={..._0x348ef5[_0x16e9b9(0x173)]};_0x11e780!=null&&_0x11e780[_0x16e9b9(0x216)]&&_0x3d27b[_0x16e9b9(0x300)]===_0x16e9b9(0x216)&&(_0x3d27b['fill']=_0x11e780['colorChannel1']),_0x348ef5[_0x16e9b9(0x19d)]===_0x16e9b9(0x1ea)&&_0x3d27b['id']&&(_0x3d27b['id']=_0x3d27b['id']+_0x19b319[_0x16e9b9(0x215)]),Object[_0x16e9b9(0x1b3)](_0x3d27b)['forEach'](([_0x4549e0,_0x2e2ca7])=>{const _0x2bcd78=_0x16e9b9;_0x4549e0===_0x2bcd78(0x1ea)&&typeof _0x2e2ca7==_0x2bcd78(0x25b)&&(_0x3d27b[_0x4549e0]=_0x2e2ca7['replace'](/url\(#(.*)\)/,'url(#$1'+_0x19b319[_0x2bcd78(0x215)]+')'));});const {defIds:_0x439e52}=_0x19b319;return!_0x439e52||_0x439e52[_0x16e9b9(0x2e0)]===0x0||(_0x348ef5[_0x16e9b9(0x19d)]===_0x16e9b9(0x1eb)&&_0x3d27b[_0x16e9b9(0x1ef)]&&(_0x3d27b[_0x16e9b9(0x1ef)]=_0x3d27b[_0x16e9b9(0x1ef)]+_0x19b319[_0x16e9b9(0x215)]),Object['entries'](_0x3d27b)[_0x16e9b9(0x1e1)](([_0x36b99f,_0xb7a0d7])=>{const _0xcae4af=_0x16e9b9;typeof _0xb7a0d7==_0xcae4af(0x25b)&&(_0x3d27b[_0x36b99f]=_0xb7a0d7[_0xcae4af(0x1d2)](/url\(#(.*)\)/,_0xcae4af(0x2eb)+_0x19b319[_0xcae4af(0x215)]+')'));})),_0x3d27b;}function Gn(_0x11b8c2,_0xb5bfe){const _0x25637d=_0x4e476b;var _0x4d5c2a;const {defIds:_0x5b1da2}=_0xb5bfe;return!_0x5b1da2||_0x5b1da2[_0x25637d(0x2e0)]===0x0?_0x11b8c2:_0x11b8c2[_0x25637d(0x19d)]===_0x25637d(0x178)&&((_0x4d5c2a=_0x11b8c2['children'])!=null&&_0x4d5c2a[_0x25637d(0x2e0)])?{..._0x11b8c2,'children':_0x11b8c2[_0x25637d(0x2ca)][_0x25637d(0x2ed)](_0x5029d5=>typeof _0x5029d5[_0x25637d(0x173)]['id']=='string'&&_0x5b1da2&&_0x5b1da2[_0x25637d(0x1ff)](_0x5029d5[_0x25637d(0x173)]['id'])?{..._0x5029d5,'attrs':{..._0x5029d5[_0x25637d(0x173)],'id':_0x5029d5[_0x25637d(0x173)]['id']+_0xb5bfe[_0x25637d(0x215)]}}:_0x5029d5)}:_0x11b8c2;}function Zn(){const _0x4e679f=_0x4e476b;return Math['random']()[_0x4e679f(0x2c4)](0x24)['substring'](0x2,0x8);}de['displayName']=_0x4e476b(0x28e);const Xn={'tag':_0x4e476b(0x2e6),'attrs':{'xmlns':_0x4e476b(0x1b7),'fill':_0x4e476b(0x18c),'viewBox':'0\x200\x2016\x2016','width':_0x4e476b(0x16e),'height':_0x4e476b(0x16e)},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':'currentColor','d':'M10.4999\x201.61475C9.61625\x201.61475\x208.8999\x202.33109\x208.8999\x203.21475V4.75646C8.77205\x204.72356\x208.63802\x204.70605\x208.4999\x204.70605H7.4999C6.61625\x204.70605\x205.8999\x205.4224\x205.8999\x206.30606V7.7506C5.77205\x207.7177\x205.63802\x207.7002\x205.4999\x207.7002H4.4999C3.61625\x207.7002\x202.8999\x208.41654\x202.8999\x209.3002V13.1851H1.3334C1.00203\x2013.1851\x200.733398\x2013.4537\x200.733398\x2013.7851C0.733398\x2014.1164\x201.00203\x2014.3851\x201.3334\x2014.3851H3.48937L3.4999\x2014.3851H6.4999L6.50256\x2014.3851H9.4999L9.50644\x2014.3851H12.4999L12.5047\x2014.3851H14.6667C14.9981\x2014.3851\x2015.2667\x2014.1164\x2015.2667\x2013.7851C15.2667\x2013.4537\x2014.9981\x2013.1851\x2014.6667\x2013.1851H13.0999V3.21475C13.0999\x202.33109\x2012.3836\x201.61475\x2011.4999\x201.61475H10.4999ZM11.8999\x2013.1851V3.21475C11.8999\x202.99383\x2011.7208\x202.81475\x2011.4999\x202.81475H10.4999C10.279\x202.81475\x2010.0999\x202.99383\x2010.0999\x203.21475V13.1851H11.8999ZM8.8999\x2013.1851V6.30605C8.8999\x206.08514\x208.72082\x205.90605\x208.4999\x205.90605H7.4999C7.27899\x205.90605\x207.0999\x206.08514\x207.0999\x206.30606V13.1851H8.8999ZM5.8999\x209.3002V13.1851H4.0999V9.3002C4.0999\x209.07928\x204.27899\x208.9002\x204.4999\x208.9002H5.4999C5.72082\x208.9002\x205.8999\x209.07928\x205.8999\x209.3002Z','fillRule':'evenodd','clipRule':_0x4e476b(0x2a9)}}]},xn=B[_0x4e476b(0x1c1)](function(_0x1631c5,_0x470599){return B['createElement'](de,Object['assign']({},_0x1631c5,{'id':'column-sparkline-icon','ref':_0x470599,'icon':Xn}));});xn[_0x4e476b(0x170)]=_0x4e476b(0x283);const Yn={'tag':'svg','attrs':{'xmlns':_0x4e476b(0x1b7),'fill':_0x4e476b(0x18c),'viewBox':_0x4e476b(0x1f2),'width':_0x4e476b(0x16e),'height':_0x4e476b(0x16e)},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x2fa)}},{'tag':'path','attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x326)}},{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x2a0)}},{'tag':_0x4e476b(0x135),'attrs':{'fill':'currentColor','d':_0x4e476b(0x28d),'fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}}]},an=B[_0x4e476b(0x1c1)](function(_0xb48c8a,_0x167f5c){const _0x162929=_0x4e476b;return B[_0x162929(0x1bc)](de,Object[_0x162929(0x25c)]({},_0xb48c8a,{'id':_0x162929(0x296),'ref':_0x167f5c,'icon':Yn}));});an[_0x4e476b(0x170)]='DeleteIcon';const zn={'tag':_0x4e476b(0x2e6),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4e476b(0x250),'width':'1em','height':_0x4e476b(0x16e)},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':'currentColor','d':'M6.46611\x204.94092C5.80337\x204.94092\x205.26611\x205.47818\x205.26611\x206.14092V7.89193C5.26611\x208.55467\x205.80337\x209.09193\x206.46611\x209.09193H7.23345V9.85927C7.23345\x2010.522\x207.77071\x2011.0593\x208.43345\x2011.0593H10.1845C10.8472\x2011.0593\x2011.3845\x2010.522\x2011.3845\x209.85927V8.10826C11.3845\x207.44552\x2010.8472\x206.90826\x2010.1845\x206.90826L9.41713\x206.90826V6.14092C9.41713\x205.47818\x208.87987\x204.94092\x208.21713\x204.94092H6.46611ZM6.46611\x206.14092L8.21713\x206.14092L8.21713\x206.90826C8.21713\x207.571\x208.75438\x208.10826\x209.41713\x208.10826H10.1845V9.85927H8.43345V9.09193C8.43345\x208.42919\x207.8962\x207.89193\x207.23345\x207.89193H6.46611V6.14092Z','fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}},{'tag':_0x4e476b(0x135),'attrs':{'fill':'currentColor','d':_0x4e476b(0x1b9),'fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}}]},bn=B[_0x4e476b(0x1c1)](function(_0x35eb6c,_0x53c0f5){const _0x423a05=_0x4e476b;return B[_0x423a05(0x1bc)](de,Object[_0x423a05(0x25c)]({},_0x35eb6c,{'id':_0x423a05(0x2c7),'ref':_0x53c0f5,'icon':zn}));});bn[_0x4e476b(0x170)]=_0x4e476b(0x17c);const Kn={'tag':'svg','attrs':{'xmlns':_0x4e476b(0x1b7),'fill':_0x4e476b(0x18c),'viewBox':_0x4e476b(0x1f2),'width':_0x4e476b(0x16e),'height':_0x4e476b(0x16e)},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x29b),'d':'M1.93072\x2010.1835L1.93106\x2010.1799L1.93238\x2010.1666L1.93813\x2010.1111C1.94338\x2010.0618\x201.95153\x209.98842\x201.96289\x209.89446C1.98561\x209.70646\x202.02113\x209.43651\x202.07197\x209.11205C2.17396\x208.46117\x202.3362\x207.60002\x202.57751\x206.74447C2.82117\x205.88055\x203.13443\x205.06289\x203.52207\x204.47386C3.91655\x203.87444\x204.30029\x203.63604\x204.6667\x203.63604C5.20279\x203.63604\x205.59094\x203.79262\x205.89245\x204.03213C6.20445\x204.27998\x206.45611\x204.64319\x206.66114\x205.09919C7.01279\x205.88128\x207.17707\x206.8062\x207.32445\x207.63596C7.35331\x207.79845\x207.38152\x207.95729\x207.41037\x208.1107C7.5826\x209.0267\x207.93167\x2010.342\x208.56261\x2011.4445C9.18786\x2012.5371\x2010.18\x2013.5636\x2011.6667\x2013.5636C12.5868\x2013.5636\x2013.2216\x2012.8668\x2013.6371\x2012.1596C14.0698\x2011.4232\x2014.3885\x2010.4735\x2014.6226\x209.56823C14.8589\x208.65445\x2015.0188\x207.74576\x2015.1195\x207.06881C15.1701\x206.72945\x2015.206\x206.44627\x2015.2294\x206.24721C15.2411\x206.14764\x2015.2497\x206.069\x2015.2554\x206.01477L15.2618\x205.95213L15.2634\x205.93533L15.264\x205.92935C15.264\x205.9292\x2015.2641\x205.92865\x2014.6667\x205.87248L15.264\x205.92935C15.295\x205.59943\x2015.0528\x205.30614\x2014.7229\x205.27512C14.393\x205.2441\x2014.1004\x205.48635\x2014.0693\x205.81621C14.0694\x205.81618\x2014.0693\x205.81625\x2014.0693\x205.81621L14.069\x205.81992L14.0677\x205.83353L14.0619\x205.88948C14.0567\x205.93912\x2014.0487\x206.01283\x2014.0376\x206.10715C14.0154\x206.29588\x2013.9811\x206.5667\x2013.9326\x206.89213C13.8355\x207.54477\x2013.6829\x208.40886\x2013.4608\x209.26786C13.2365\x2010.1353\x2012.9511\x2010.9584\x2012.6025\x2011.5517C12.2368\x2012.174\x2011.9132\x2012.3636\x2011.6667\x2012.3636C10.82\x2012.3636\x2010.1455\x2011.7946\x209.60413\x2010.8485C9.0684\x209.91233\x208.7508\x208.74572\x208.5897\x207.88895C8.56536\x207.75946\x208.54044\x207.61783\x208.51388\x207.46683C8.36895\x206.64284\x208.1749\x205.53963\x207.7556\x204.60708C7.50229\x204.04373\x207.14979\x203.49839\x206.63887\x203.09252C6.11746\x202.67833\x205.46395\x202.43604\x204.6667\x202.43604C3.69978\x202.43604\x203.00019\x203.08402\x202.51967\x203.81418C2.03231\x204.55474\x201.6789\x205.50986\x201.42256\x206.41872C1.16387\x207.33596\x200.99278\x208.24759\x200.886434\x208.92629C0.833107\x209.26662\x200.795708\x209.55066\x200.771558\x209.75046C0.759477\x209.8504\x200.750696\x209.92939\x200.744883\x209.98395L0.738344\x2010.0471L0.736664\x2010.0641L0.736208\x2010.0688L0.736074\x2010.0702C0.736059\x2010.0704\x200.736002\x2010.071\x201.33337\x2010.1272L0.736074\x2010.0702C0.705057\x2010.4002\x200.947291\x2010.6935\x201.27721\x2010.7245C1.60708\x2010.7555\x201.89964\x2010.5133\x201.93072\x2010.1835Z','fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}}]},pn=B[_0x4e476b(0x1c1)](function(_0x3f9719,_0x17e2d8){const _0x3a06de=_0x4e476b;return B[_0x3a06de(0x1bc)](de,Object['assign']({},_0x3f9719,{'id':'line-sparkline-icon','ref':_0x17e2d8,'icon':Kn}));});pn['displayName']=_0x4e476b(0x267);const qn={'tag':_0x4e476b(0x2e6),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4e476b(0x18c),'viewBox':_0x4e476b(0x1f2),'width':_0x4e476b(0x16e),'height':_0x4e476b(0x16e)},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x301),'fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}}]},hn=B[_0x4e476b(0x1c1)](function(_0x584a5f,_0x30b2a7){const _0x5be47c=_0x4e476b;return B[_0x5be47c(0x1bc)](de,Object[_0x5be47c(0x25c)]({},_0x584a5f,{'id':_0x5be47c(0x12c),'ref':_0x30b2a7,'icon':qn}));});hn[_0x4e476b(0x170)]=_0x4e476b(0x196);const Jn={'tag':_0x4e476b(0x2e6),'attrs':{'xmlns':_0x4e476b(0x1b7),'fill':_0x4e476b(0x18c),'viewBox':_0x4e476b(0x1f2),'width':'1em','height':_0x4e476b(0x16e)},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x26b),'fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}}]},wn=B[_0x4e476b(0x1c1)](function(_0xfae6fb,_0x39d466){const _0x413407=_0x4e476b;return B['createElement'](de,Object[_0x413407(0x25c)]({},_0xfae6fb,{'id':'more-right-icon','ref':_0x39d466,'icon':Jn}));});wn[_0x4e476b(0x170)]=_0x4e476b(0x184);const Qn={'tag':_0x4e476b(0x2e6),'attrs':{'xmlns':_0x4e476b(0x1b7),'fill':_0x4e476b(0x18c),'viewBox':_0x4e476b(0x1f2),'width':_0x4e476b(0x16e),'height':_0x4e476b(0x16e)},'children':[{'tag':'g','attrs':{'fill':_0x4e476b(0x29b),'fillRule':_0x4e476b(0x2a9),'clipPath':'url(#pie-chart-icon_clip0_1644_114)','clipRule':_0x4e476b(0x2a9)},'children':[{'tag':'path','attrs':{'d':_0x4e476b(0x30d)}},{'tag':_0x4e476b(0x135),'attrs':{'d':_0x4e476b(0x225)}}]},{'tag':_0x4e476b(0x178),'attrs':{},'children':[{'tag':_0x4e476b(0x207),'attrs':{'id':_0x4e476b(0x2dc)},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x212),'d':_0x4e476b(0x132)}}]}]}],'defIds':[_0x4e476b(0x2dc)]},En=B[_0x4e476b(0x1c1)](function(_0x32a1b2,_0x179485){const _0x471198=_0x4e476b;return B[_0x471198(0x1bc)](de,Object[_0x471198(0x25c)]({},_0x32a1b2,{'id':_0x471198(0x322),'ref':_0x179485,'icon':Qn}));});En[_0x4e476b(0x170)]=_0x4e476b(0x1fb);const et={'tag':_0x4e476b(0x2e6),'attrs':{'xmlns':_0x4e476b(0x1b7),'fill':_0x4e476b(0x18c),'viewBox':_0x4e476b(0x1f2),'width':'1em','height':_0x4e476b(0x16e)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e476b(0x1c5)},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x24a),'fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}}]},{'tag':_0x4e476b(0x178),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'ungroup-sparkline-icon_clip0_1729_95'},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':'white','d':_0x4e476b(0x132)}}]}]}],'defIds':[_0x4e476b(0x12e)]},Tn=B[_0x4e476b(0x1c1)](function(_0x5855f3,_0x282e0b){const _0x5220ab=_0x4e476b;return B[_0x5220ab(0x1bc)](de,Object[_0x5220ab(0x25c)]({},_0x5855f3,{'id':'ungroup-sparkline-icon','ref':_0x282e0b,'icon':et}));});Tn[_0x4e476b(0x170)]=_0x4e476b(0x21a);const nt={'tag':_0x4e476b(0x2e6),'attrs':{'xmlns':_0x4e476b(0x1b7),'fill':_0x4e476b(0x18c),'viewBox':_0x4e476b(0x1f2),'width':_0x4e476b(0x16e),'height':'1em'},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':'currentColor','d':'M7.4999\x201.31738C6.61625\x201.31738\x205.8999\x202.03373\x205.8999\x202.91738V6.91738C5.8999\x207.80104\x206.61625\x208.51738\x207.4999\x208.51738H8.4999C9.38356\x208.51738\x2010.0999\x207.80104\x2010.0999\x206.91738V2.91738C10.0999\x202.03373\x209.38356\x201.31738\x208.4999\x201.31738H7.4999ZM7.0999\x202.91738C7.0999\x202.69647\x207.27899\x202.51738\x207.4999\x202.51738H8.4999C8.72082\x202.51738\x208.8999\x202.69647\x208.8999\x202.91738V6.91738C8.8999\x207.1383\x208.72082\x207.31738\x208.4999\x207.31738H7.4999C7.27899\x207.31738\x207.0999\x207.1383\x207.0999\x206.91738V2.91738Z','fillRule':_0x4e476b(0x2a9),'clipRule':'evenodd'}},{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x30a),'fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}},{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x143),'fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}}]},Mn=B[_0x4e476b(0x1c1)](function(_0x4ead7b,_0x24b53f){const _0x10756a=_0x4e476b;return B[_0x10756a(0x1bc)](de,Object[_0x10756a(0x25c)]({},_0x4ead7b,{'id':_0x10756a(0x12f),'ref':_0x24b53f,'icon':nt}));});Mn[_0x4e476b(0x170)]='WinlossSparklineIcon';const tt={'tag':_0x4e476b(0x2e6),'attrs':{'xmlns':_0x4e476b(0x1b7),'fill':_0x4e476b(0x18c),'viewBox':_0x4e476b(0x250),'width':_0x4e476b(0x16e),'height':_0x4e476b(0x16e)},'children':[{'tag':_0x4e476b(0x135),'attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x264),'fillRule':_0x4e476b(0x2a9),'clipRule':_0x4e476b(0x2a9)}},{'tag':'path','attrs':{'fill':_0x4e476b(0x29b),'d':_0x4e476b(0x2bd)}}]},_n=B[_0x4e476b(0x1c1)](function(_0x23bb14,_0x14edc2){const _0x449c0f=_0x4e476b;return B['createElement'](de,Object[_0x449c0f(0x25c)]({},_0x23bb14,{'id':_0x449c0f(0x214),'ref':_0x14edc2,'icon':tt}));});_n[_0x4e476b(0x170)]=_0x4e476b(0x2d1);const it={'tag':_0x4e476b(0x2e6),'attrs':{'xmlns':_0x4e476b(0x1b7),'fill':_0x4e476b(0x18c),'viewBox':'0\x200\x2016\x2016','width':_0x4e476b(0x16e),'height':_0x4e476b(0x16e)},'children':[{'tag':_0x4e476b(0x1b1),'attrs':{'cx':0x8,'cy':0x8,'r':0x8,'fill':_0x4e476b(0x216)}},{'tag':_0x4e476b(0x135),'attrs':{'fill':'currentColor','d':_0x4e476b(0x311)}}]},Pn=B[_0x4e476b(0x1c1)](function(_0x39b7b4,_0x3ed427){const _0x3ebe5b=_0x4e476b;return B[_0x3ebe5b(0x1bc)](de,Object[_0x3ebe5b(0x25c)]({},_0x39b7b4,{'id':'point-color-double-icon','ref':_0x3ed427,'icon':it}));});Pn['displayName']=_0x4e476b(0x18a);function Ge({title:_0x555e0e,children:_0x11c575,containerStyle:_0x9dc594}){const _0x3695a8=_0x4e476b,[_0x3aa76e,_0x1e3835]=B[_0x3695a8(0x2ae)](!0x1),_0x47bd87=()=>_0x1e3835(!_0x3aa76e);return l[_0x3695a8(0x2df)](_0x3695a8(0x23c),{'className':O[_0x3695a8(0x2f7)]('univer-px-0\x20univer-py-2.5',O[_0x3695a8(0x160)]),'style':_0x9dc594,'children':[l[_0x3695a8(0x2df)](_0x3695a8(0x23c),{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-px-0\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','onClick':_0x47bd87,'children':[l[_0x3695a8(0x1a6)](_0x3695a8(0x187),{'className':_0x3695a8(0x1c4),'children':_0x3aa76e?l[_0x3695a8(0x1a6)](hn,{}):l[_0x3695a8(0x1a6)](wn,{})}),_0x555e0e]}),_0x3aa76e&&l['jsx']('div',{'className':_0x3695a8(0x1aa),'children':_0x11c575})]});}const jn=_0x513f27=>{const _0x44ff48=_0x4e476b,{color:_0x5048b5,onChange:_0x83ee08}=_0x513f27,[_0x214bfd,_0x4e4439]=B[_0x44ff48(0x2ae)](!0x1),_0x35234a=G['useDependency'](o['LocaleService']),_0x3174c7=_0x5048b5===_0x44ff48(0x2fd)||_0x5048b5==null,_0x2ab1ba=B[_0x44ff48(0x19b)](_0x3d49a9=>{_0x83ee08==null||_0x83ee08(_0x3d49a9),_0x4e4439(!0x1);},[_0x83ee08]);return l[_0x44ff48(0x1a6)](O[_0x44ff48(0x1d8)],{'overlay':l[_0x44ff48(0x1a6)](_0x44ff48(0x23c),{'className':O[_0x44ff48(0x2f7)](_0x44ff48(0x195),O[_0x44ff48(0x17a)]),'children':l['jsx'](O['ColorPicker'],{'value':_0x3174c7?_0x44ff48(0x189):_0x5048b5,'onChange':_0x2ab1ba})}),'open':_0x214bfd,'onOpenChange':_0x4e4439,'children':l['jsx'](O[_0x44ff48(0x306)],{'className':O[_0x44ff48(0x2f7)](_0x44ff48(0x226),O[_0x44ff48(0x17a)]),'children':l[_0x44ff48(0x2df)]('div',{'className':_0x44ff48(0x31d),'children':[_0x3174c7?l[_0x44ff48(0x1a6)](_0x44ff48(0x23c),{'className':_0x44ff48(0x243),'children':_0x35234a['t']('sheets-sparkline.panel.default')}):l['jsx']('div',{'className':O[_0x44ff48(0x2f7)](_0x44ff48(0x29a),O[_0x44ff48(0x17a)]),'style':{'backgroundColor':_0x5048b5}}),l[_0x44ff48(0x1a6)](hn,{'className':O[_0x44ff48(0x2f7)]('univer-ml-2\x20univer-transition-transform\x20univer-duration-300',{'univer-rotate-180':_0x214bfd})})]})})});},rt=({config:_0x1025e9,ctx:_0x6f711a})=>{const _0x53ece5=_0x4e476b;var _0x59c72a,_0x1c0be2,_0x47f689,_0x6bed0f,_0x1230dc,_0x25fa1e,_0x4d7ab4,_0x543a2d,_0x33215d,_0x443722,_0x290798,_0x5f0f16,_0x283a88,_0x3033db,_0x37d69a,_0x568534,_0x27865d,_0x4b1b9b,_0x545152,_0x223545;const _0x118ad3=G[_0x53ece5(0x1ca)](o[_0x53ece5(0x18f)]),_0x1b62c9=G[_0x53ece5(0x1ca)](o['LocaleService']),_0x1081dc=G[_0x53ece5(0x1ca)](u[_0x53ece5(0x2fe)]),{unitId:_0x265f2e,subUnitId:_0x44e4c8,range:_0x25ed06}=_0x6f711a,_0x438fb6=_0x2e658f=>{const _0x2c2c0d=_0x53ece5,_0x2cf32e=o[_0x2c2c0d(0x30c)][_0x2c2c0d(0x1d9)](_0x1025e9);_0x2cf32e['config']||(_0x2cf32e[_0x2c2c0d(0x242)]={}),_0x2cf32e['config'][_0x2c2c0d(0x234)]&&delete _0x2cf32e[_0x2c2c0d(0x242)][_0x2c2c0d(0x234)],_0x2cf32e['config'][_0x2c2c0d(0x2b6)]||(_0x2cf32e[_0x2c2c0d(0x242)][_0x2c2c0d(0x2b6)]={}),_0x2cf32e[_0x2c2c0d(0x242)][_0x2c2c0d(0x2b6)][_0x2c2c0d(0x159)]=_0x2e658f,_0x118ad3[_0x2c2c0d(0x262)](u[_0x2c2c0d(0x1cd)]['id'],{'config':_0x2cf32e,'isChangeDataSource':!0x1});},_0x1ba3f6=_0x1e0afb=>{const _0x1d8ba3=_0x53ece5,_0x20f17c=o[_0x1d8ba3(0x30c)][_0x1d8ba3(0x1d9)](_0x1025e9);_0x20f17c[_0x1d8ba3(0x242)]||(_0x20f17c[_0x1d8ba3(0x242)]={}),_0x20f17c[_0x1d8ba3(0x242)][_0x1d8ba3(0x234)]&&delete _0x20f17c['config'][_0x1d8ba3(0x234)],_0x20f17c[_0x1d8ba3(0x242)]['axis']||(_0x20f17c['config']['axis']={}),_0x20f17c[_0x1d8ba3(0x242)][_0x1d8ba3(0x2b6)][_0x1d8ba3(0x305)]=_0x1e0afb,_0x118ad3[_0x1d8ba3(0x262)](u[_0x1d8ba3(0x1cd)]['id'],{'config':_0x20f17c,'isChangeDataSource':!0x1});},_0x321ab6=_0x1895b1=>{const _0x3b723e=_0x53ece5,_0x13e15f=o['Tools']['deepClone'](_0x1025e9);_0x13e15f[_0x3b723e(0x242)]||(_0x13e15f[_0x3b723e(0x242)]={}),_0x13e15f[_0x3b723e(0x242)][_0x3b723e(0x234)]&&delete _0x13e15f[_0x3b723e(0x242)][_0x3b723e(0x234)],_0x13e15f['config'][_0x3b723e(0x2b6)]||(_0x13e15f[_0x3b723e(0x242)][_0x3b723e(0x2b6)]={}),_0x13e15f[_0x3b723e(0x242)][_0x3b723e(0x2b6)][_0x3b723e(0x156)]=_0x1895b1,_0x118ad3[_0x3b723e(0x262)](u[_0x3b723e(0x1cd)]['id'],{'config':_0x13e15f,'isChangeDataSource':!0x1});},_0x14cedb=(_0x272d00,_0x9a8b58)=>{const _0x41128f=_0x53ece5,_0x1fe63=_0x9a8b58===_0x41128f(0x282)?_0x41128f(0x190):_0x41128f(0x316),_0x3042eb=o[_0x41128f(0x30c)][_0x41128f(0x1d9)](_0x1025e9);_0x3042eb[_0x41128f(0x242)]||(_0x3042eb['config']={}),_0x3042eb['config'][_0x41128f(0x234)]&&delete _0x3042eb[_0x41128f(0x242)][_0x41128f(0x234)],_0x3042eb[_0x41128f(0x242)][_0x1fe63]||(_0x3042eb[_0x41128f(0x242)][_0x1fe63]={}),_0x3042eb['config'][_0x1fe63][_0x41128f(0x234)]=_0x272d00,_0x118ad3['executeCommand'](u[_0x41128f(0x1cd)]['id'],{'config':_0x3042eb,'isChangeDataSource':!0x1});},_0x49e752=(_0x79bbc4,_0x169756)=>{const _0x404491=_0x53ece5,_0x562ecc=_0x169756===_0x404491(0x282)?_0x404491(0x190):_0x404491(0x316),_0x46e656=o[_0x404491(0x30c)]['deepClone'](_0x1025e9);_0x46e656[_0x404491(0x242)]||(_0x46e656[_0x404491(0x242)]={}),_0x46e656[_0x404491(0x242)][_0x404491(0x234)]&&delete _0x46e656[_0x404491(0x242)][_0x404491(0x234)],_0x46e656[_0x404491(0x242)][_0x562ecc]||(_0x46e656[_0x404491(0x242)][_0x562ecc]={}),_0x46e656[_0x404491(0x242)][_0x562ecc]['type']=u['SparklineExtremumTypeEnum'][_0x404491(0x324)],_0x46e656[_0x404491(0x242)][_0x562ecc]['value']=_0x79bbc4,_0x118ad3[_0x404491(0x262)](u[_0x404491(0x1cd)]['id'],{'config':_0x46e656,'isChangeDataSource':!0x1});},_0x135e97=(_0x47185d,_0x6ab3d5)=>{const _0x1473e4=_0x53ece5,_0x2fcf8a=_0x6ab3d5==='empty'?_0x1473e4(0x1ee):'nonNumShowAs',_0x4ab4cd=o[_0x1473e4(0x30c)][_0x1473e4(0x1d9)](_0x1025e9);_0x4ab4cd[_0x1473e4(0x242)]||(_0x4ab4cd['config']={}),_0x4ab4cd[_0x1473e4(0x242)][_0x1473e4(0x234)]&&delete _0x4ab4cd['config'][_0x1473e4(0x234)],_0x4ab4cd[_0x1473e4(0x242)][_0x2fcf8a]=_0x47185d,_0x118ad3[_0x1473e4(0x262)](u[_0x1473e4(0x1cd)]['id'],{'config':_0x4ab4cd,'isChangeDataSource':!0x1});},_0x22d955=()=>{const _0x5ac59e=_0x53ece5,_0x32395b=o['Tools'][_0x5ac59e(0x1d9)](_0x1025e9);_0x118ad3[_0x5ac59e(0x262)](u[_0x5ac59e(0x1cd)]['id'],{'config':_0x32395b,'combine':!0x0});},_0x3230b0=()=>{const _0x1d308a=_0x53ece5,_0x5ce7ef=o[_0x1d308a(0x30c)][_0x1d308a(0x1d9)](_0x1025e9);_0x118ad3[_0x1d308a(0x262)](u[_0x1d308a(0x1cd)]['id'],{'config':_0x5ce7ef,'unCombine':!0x0});},_0x4e096f=_0x434426=>{const _0x1969f8=_0x53ece5,_0x32f405=o[_0x1969f8(0x30c)][_0x1969f8(0x1d9)](_0x1025e9);_0x32f405['config']||(_0x32f405['config']={}),_0x32f405[_0x1969f8(0x242)]['type']&&delete _0x32f405[_0x1969f8(0x242)][_0x1969f8(0x234)],_0x32f405['config'][_0x1969f8(0x304)]=_0x434426,_0x118ad3[_0x1969f8(0x262)](u['SetSheetSparklineCommand']['id'],{'config':_0x32f405,'isChangeDataSource':!0x1});},_0x2df412=_0x1081dc[_0x53ece5(0x229)](),_0x4cbf44=(_0x59c72a=_0x2df412==null?void 0x0:_0x2df412[_0x53ece5(0x1cc)][_0x53ece5(0x26a)](_0x265f2e))==null?void 0x0:_0x59c72a['get'](_0x44e4c8);let _0x2a0039=!0x1,_0x437fe1=!0x1;const _0x5dc971=new Set(),{startRow:_0x54f01d,endRow:_0x21d24b,startColumn:_0x582969,endColumn:_0x40bfb5}=_0x25ed06;for(let _0x2be670=_0x54f01d;_0x2be670<=_0x21d24b;_0x2be670++)for(let _0x176172=_0x582969;_0x176172<=_0x40bfb5;_0x176172++){const _0x356b1b=(_0x1c0be2=_0x4cbf44==null?void 0x0:_0x4cbf44[_0x53ece5(0x2e2)][_0x53ece5(0x180)](_0x2be670,_0x176172))==null?void 0x0:_0x1c0be2['groupId'];_0x356b1b&&_0x5dc971['add'](_0x356b1b);}if(_0x5dc971[_0x53ece5(0x293)]>0x1)_0x2a0039=!0x0,Array[_0x53ece5(0x2a1)](_0x5dc971)['forEach'](_0x34d3de=>{const _0x34a5a3=_0x53ece5;var _0xf1b36a,_0x3e8f1d,_0xd1a96c;const _0x384509=(_0x3e8f1d=(_0xf1b36a=_0x2df412[_0x34a5a3(0x28a)][_0x34a5a3(0x26a)](_0x265f2e))==null?void 0x0:_0xf1b36a[_0x34a5a3(0x26a)](_0x44e4c8))==null?void 0x0:_0x3e8f1d[_0x34a5a3(0x26a)](_0x34d3de);((_0xd1a96c=_0x384509==null?void 0x0:_0x384509[_0x34a5a3(0x2ec)][_0x34a5a3(0x13e)]()[_0x34a5a3(0x2e0)])!=null?_0xd1a96c:0x0)>0x1&&(_0x437fe1=!0x0);});else{if(_0x5dc971[_0x53ece5(0x293)]===0x1){const _0x580ac7=Array[_0x53ece5(0x2a1)](_0x5dc971)[0x0],_0x47993e=(_0x6bed0f=(_0x47f689=_0x2df412[_0x53ece5(0x28a)]['get'](_0x265f2e))==null?void 0x0:_0x47f689[_0x53ece5(0x26a)](_0x44e4c8))==null?void 0x0:_0x6bed0f['get'](_0x580ac7);_0x437fe1=((_0x1230dc=_0x47993e==null?void 0x0:_0x47993e[_0x53ece5(0x2ec)][_0x53ece5(0x13e)]()['length'])!=null?_0x1230dc:0x0)>0x1;let _0x210abd=0x0,_0x54574b=0x0;_0x47993e==null||_0x47993e[_0x53ece5(0x2ec)][_0x53ece5(0x200)]((_0x52f9e3,_0x6af75e)=>{const _0xf69f49=_0x53ece5,_0x44e1b1=o['cellToRange'](_0x52f9e3,_0x6af75e);o['Rectangle'][_0xf69f49(0x1b5)](_0x44e1b1,_0x25ed06)?_0x210abd++:_0x54574b++;}),_0x2a0039=_0x54574b>0x0&&_0x210abd>0x1;}}return l['jsxs'](_0x53ece5(0x23c),{'children':[l[_0x53ece5(0x1a6)](Ge,{'title':_0x1b62c9['t'](_0x53ece5(0x179)),'children':l[_0x53ece5(0x2df)](_0x53ece5(0x23c),{'className':'univer-flex\x20univer-justify-between','children':[l[_0x53ece5(0x2df)](O[_0x53ece5(0x306)],{'disabled':!_0x2a0039,'onClick':()=>_0x22d955(),'children':[l['jsx'](bn,{}),_0x1b62c9['t'](_0x53ece5(0x218))]}),l[_0x53ece5(0x2df)](O[_0x53ece5(0x306)],{'disabled':!_0x437fe1,'onClick':()=>_0x3230b0(),'children':[l[_0x53ece5(0x1a6)](Tn,{}),_0x1b62c9['t'](_0x53ece5(0x1a2))]})]})}),l['jsxs'](Ge,{'title':_0x1b62c9['t'](_0x53ece5(0x280)),'children':[l[_0x53ece5(0x1a6)]('div',{'className':_0x53ece5(0x1c3),'children':l[_0x53ece5(0x1a6)](O[_0x53ece5(0x263)],{'checked':(_0x25fa1e=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x2b6)])==null?void 0x0:_0x25fa1e[_0x53ece5(0x159)],'onChange':_0x4ef040=>_0x438fb6(_0x4ef040),'children':_0x1b62c9['t'](_0x53ece5(0x1ac))})}),((_0x4d7ab4=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x2b6)])==null?void 0x0:_0x4d7ab4[_0x53ece5(0x159)])&&l[_0x53ece5(0x2df)](_0x53ece5(0x23c),{'className':_0x53ece5(0x1e8),'children':[l[_0x53ece5(0x1a6)](_0x53ece5(0x23c),{'className':_0x53ece5(0x1e8),'children':_0x1b62c9['t']('sheets-sparkline.panel.axisColor')}),l[_0x53ece5(0x1a6)](jn,{'color':(_0x33215d=(_0x543a2d=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x2b6)])==null?void 0x0:_0x543a2d[_0x53ece5(0x305)])!=null?_0x33215d:_0x53ece5(0x24d),'onChange':_0x34d839=>_0x1ba3f6(_0x34d839)})]}),l[_0x53ece5(0x1a6)](_0x53ece5(0x23c),{'className':_0x53ece5(0x1c3),'children':l[_0x53ece5(0x1a6)](O[_0x53ece5(0x263)],{'checked':(_0x443722=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x2b6)])==null?void 0x0:_0x443722[_0x53ece5(0x156)],'onChange':_0x8723b6=>_0x321ab6(_0x8723b6),'children':_0x1b62c9['t'](_0x53ece5(0x2e1))})})]}),l[_0x53ece5(0x1a6)](Ge,{'title':_0x1b62c9['t'](_0x53ece5(0x208)),'children':l[_0x53ece5(0x2df)](_0x53ece5(0x23c),{'children':[l[_0x53ece5(0x1a6)](_0x53ece5(0x23c),{'className':_0x53ece5(0x219),'children':_0x1b62c9['t'](_0x53ece5(0x2d0))}),l[_0x53ece5(0x2df)](O[_0x53ece5(0x164)],{'value':(_0x5f0f16=(_0x290798=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x190)])==null?void 0x0:_0x290798[_0x53ece5(0x234)])!=null?_0x5f0f16:u[_0x53ece5(0x27e)]['SELF_EXTREMUM'],'className':'univer-flex\x20univer-flex-col','onChange':_0x31bc3c=>_0x14cedb(_0x31bc3c,_0x53ece5(0x282)),'children':[l[_0x53ece5(0x1a6)](O[_0x53ece5(0x201)],{'value':u[_0x53ece5(0x27e)][_0x53ece5(0x25e)],'children':_0x1b62c9['t'](_0x53ece5(0x29c))}),l[_0x53ece5(0x1a6)](O['Radio'],{'value':u[_0x53ece5(0x27e)][_0x53ece5(0x27d)],'children':_0x1b62c9['t'](_0x53ece5(0x2d8))}),l[_0x53ece5(0x1a6)](O['Radio'],{'value':u[_0x53ece5(0x27e)][_0x53ece5(0x324)],'children':l[_0x53ece5(0x2df)](_0x53ece5(0x23c),{'className':'univer-flex\x20univer-items-center','children':[l['jsx']('div',{'children':_0x1b62c9['t']('sheets-sparkline.panel.customMin')}),l[_0x53ece5(0x1a6)](O['InputNumber'],{'disabled':((_0x283a88=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x190)])==null?void 0x0:_0x283a88['type'])!==u[_0x53ece5(0x27e)][_0x53ece5(0x324)],'value':(_0x3033db=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x190)])==null?void 0x0:_0x3033db[_0x53ece5(0x2ef)],'onChange':_0x3e701b=>{const _0x4a58ce=_0x53ece5;typeof _0x3e701b==_0x4a58ce(0x182)&&_0x49e752(_0x3e701b,_0x4a58ce(0x282));},'className':_0x53ece5(0x2b2)})]})})]}),l[_0x53ece5(0x1a6)]('br',{}),l[_0x53ece5(0x1a6)]('div',{'className':_0x53ece5(0x219),'children':_0x1b62c9['t']('sheets-sparkline.panel.max')}),l[_0x53ece5(0x2df)](O[_0x53ece5(0x164)],{'value':(_0x568534=(_0x37d69a=_0x1025e9['config'][_0x53ece5(0x316)])==null?void 0x0:_0x37d69a[_0x53ece5(0x234)])!=null?_0x568534:u['SparklineExtremumTypeEnum']['SELF_EXTREMUM'],'className':'univer-flex\x20univer-flex-col','onChange':_0x182a3a=>_0x14cedb(_0x182a3a,_0x53ece5(0x1de)),'children':[l[_0x53ece5(0x1a6)](O[_0x53ece5(0x201)],{'value':u['SparklineExtremumTypeEnum'][_0x53ece5(0x25e)],'children':_0x1b62c9['t'](_0x53ece5(0x21b))}),l[_0x53ece5(0x1a6)](O['Radio'],{'value':u[_0x53ece5(0x27e)][_0x53ece5(0x27d)],'children':_0x1b62c9['t'](_0x53ece5(0x130))}),l[_0x53ece5(0x1a6)](O['Radio'],{'value':u['SparklineExtremumTypeEnum']['CUSTOM_EXTREMUM'],'children':l[_0x53ece5(0x2df)](_0x53ece5(0x23c),{'className':_0x53ece5(0x220),'children':[l[_0x53ece5(0x1a6)](_0x53ece5(0x23c),{'children':_0x1b62c9['t'](_0x53ece5(0x23b))}),l['jsx'](O[_0x53ece5(0x295)],{'disabled':((_0x27865d=_0x1025e9[_0x53ece5(0x242)]['extremumMax'])==null?void 0x0:_0x27865d['type'])!==u[_0x53ece5(0x27e)][_0x53ece5(0x324)],'value':(_0x4b1b9b=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x316)])==null?void 0x0:_0x4b1b9b[_0x53ece5(0x2ef)],'onChange':_0x406ec5=>{const _0xd19513=_0x53ece5;typeof _0x406ec5==_0xd19513(0x182)&&_0x49e752(_0x406ec5,_0xd19513(0x1de));},'className':_0x53ece5(0x2b2)})]})})]})]})}),l[_0x53ece5(0x2df)](Ge,{'title':_0x1b62c9['t'](_0x53ece5(0x1c6)),'containerStyle':{'border':_0x53ece5(0x18c)},'children':[l[_0x53ece5(0x1a6)](O['Checkbox'],{'checked':_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x304)],'onChange':_0x46bf1f=>_0x4e096f(_0x46bf1f),'children':_0x1b62c9['t'](_0x53ece5(0x1f5))}),l[_0x53ece5(0x2df)](_0x53ece5(0x23c),{'className':_0x53ece5(0x1dc),'children':[l[_0x53ece5(0x1a6)](_0x53ece5(0x23c),{'className':_0x53ece5(0x20b),'children':_0x1b62c9['t'](_0x53ece5(0x276))}),l[_0x53ece5(0x1a6)](O[_0x53ece5(0x2d4)],{'className':'univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-rounded-lg\x20univer-bg-gray-50\x20dark:!univer-bg-gray-900','value':(_0x545152=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x1ee)])!=null?_0x545152:u[_0x53ece5(0x140)][_0x53ece5(0x127)],'options':[{'label':_0x1b62c9['t'](_0x53ece5(0x222)),'value':u[_0x53ece5(0x140)][_0x53ece5(0x127)]},{'label':_0x1b62c9['t'](_0x53ece5(0x2c8)),'value':u[_0x53ece5(0x140)][_0x53ece5(0x24b)]},{'label':_0x1b62c9['t']('sheets-sparkline.panel.connectWithLine'),'value':u[_0x53ece5(0x140)][_0x53ece5(0x273)]}],'onChange':_0x221611=>_0x135e97(_0x221611,_0x53ece5(0x278))})]}),l[_0x53ece5(0x2df)]('div',{'className':_0x53ece5(0x1dc),'children':[l[_0x53ece5(0x1a6)]('div',{'className':_0x53ece5(0x20b),'children':_0x1b62c9['t'](_0x53ece5(0x1f1))}),l['jsx'](O[_0x53ece5(0x2d4)],{'className':'univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-rounded-lg\x20univer-bg-gray-50\x20dark:!univer-bg-gray-900','value':(_0x223545=_0x1025e9[_0x53ece5(0x242)][_0x53ece5(0x1b0)])!=null?_0x223545:u[_0x53ece5(0x140)]['SPACING'],'options':[{'label':_0x1b62c9['t']('sheets-sparkline.panel.spacing'),'value':u['SpacialShowAsEnum']['SPACING']},{'label':_0x1b62c9['t']('sheets-sparkline.panel.zeroValue'),'value':u['SpacialShowAsEnum'][_0x53ece5(0x24b)]},{'label':_0x1b62c9['t']('sheets-sparkline.panel.connectWithLine'),'value':u[_0x53ece5(0x140)][_0x53ece5(0x273)]}],'onChange':_0x16644b=>_0x135e97(_0x16644b,_0x53ece5(0x213))})]})]})]});},xe=_0x207858=>{const _0x137793=_0x4e476b;var _0x26a18d,_0x1cb94a;const {onCheckboxChange:_0x56147a,onColorChange:_0x53eb9d,type:_0x2e002c,text:_0x3784be,config:_0x29502d,chartType:_0x395919}=_0x207858,_0x3af568=u[_0x137793(0x211)][_0x137793(0x1e0)][0x1],_0x1038a6=B['useMemo'](()=>new o[(_0x137793(0x2c1))](_0x3af568)[_0x137793(0x191)](),[_0x3af568]),_0x4bd8fd=_0x2e002c===_0x137793(0x25d)&&_0x395919!==u['SparklineTypeEnum'][_0x137793(0x312)],_0x262951=(_0x26a18d=_0x29502d==null?void 0x0:_0x29502d[_0x137793(0x305)])!=null?_0x26a18d:_0x3af568,_0x3b41cc=new o['ColorKit'](_0x262951)['isDark']();return l['jsxs'](_0x137793(0x23c),{'className':O[_0x137793(0x2f7)]('univer-flex\x20univer-h-5\x20univer-w-[45%]\x20univer-items-center\x20univer-justify-between\x20univer-rounded-sm\x20hover:univer-bg-gray-200'),'children':[l[_0x137793(0x1a6)](O[_0x137793(0x263)],{'checked':_0x29502d==null?void 0x0:_0x29502d[_0x137793(0x159)],'disabled':_0x4bd8fd,'onChange':_0x5c0072=>_0x56147a(_0x5c0072,_0x2e002c),'children':_0x3784be}),(_0x29502d==null?void 0x0:_0x29502d[_0x137793(0x159)])&&l['jsx'](O['Dropdown'],{'overlay':l[_0x137793(0x1a6)](_0x137793(0x23c),{'className':_0x137793(0x309),'children':l[_0x137793(0x1a6)](O[_0x137793(0x27b)],{'value':(_0x1cb94a=_0x29502d==null?void 0x0:_0x29502d[_0x137793(0x305)])!=null?_0x1cb94a:_0x1038a6,'onChange':_0x1859e1=>_0x53eb9d(_0x1859e1,_0x2e002c)})}),'children':l[_0x137793(0x1a6)](Pn,{'className':O[_0x137793(0x2f7)](_0x137793(0x15d),{'univer-text-white':_0x3b41cc}),'extend':{'colorChannel1':_0x262951}})})]});},st=({config:_0x3fb4c5,ctx:_0x490b17})=>{const _0x20ff16=_0x4e476b;var _0x2c80c4,_0x348e99,_0x5e1e9e,_0x18f5a1,_0x15431f,_0x47cd48,_0x3135d4,_0xa9aa3c,_0xde1a9;const _0x1c4161=G[_0x20ff16(0x1ca)](o[_0x20ff16(0x18f)]),_0x49d236=G[_0x20ff16(0x1ca)](o[_0x20ff16(0x236)]),_0x56612d=G[_0x20ff16(0x1ca)](o[_0x20ff16(0x302)]),_0xc07b4b=G[_0x20ff16(0x1ca)](u[_0x20ff16(0x2fe)]),_0x58415e=(_0x2c80c4=_0x3fb4c5==null?void 0x0:_0x3fb4c5['config'][_0x20ff16(0x234)])!=null?_0x2c80c4:u['SparklineTypeEnum'][_0x20ff16(0x312)],_0x255ad2=_0x58415e===u[_0x20ff16(0x2c5)][_0x20ff16(0x312)],_0x32f048=_0x45e0f9=>{const _0x39b870=_0x20ff16;var _0x27e457;const _0x564ff9=(_0x27e457=o[_0x39b870(0x30c)]['deepClone'](_0x3fb4c5))!=null?_0x27e457:{};_0x564ff9!=null&&_0x564ff9[_0x39b870(0x242)]||(_0x564ff9[_0x39b870(0x242)]={}),_0x564ff9[_0x39b870(0x242)][_0x39b870(0x234)]=_0x45e0f9,_0x1c4161[_0x39b870(0x262)](u['SetSheetSparklineCommand']['id'],{'config':_0x564ff9,'isChangeDataSource':!0x1});},_0x25d883=(_0x507a00,_0x11ec8c)=>{const _0xfbd225=_0x20ff16;var _0x48e293,_0x3283f7;const _0x32ed1d=(_0x48e293=o['Tools'][_0xfbd225(0x1d9)](_0x3fb4c5))!=null?_0x48e293:{};_0x32ed1d!=null&&_0x32ed1d['config']||(_0x32ed1d[_0xfbd225(0x242)]={}),_0x32ed1d['config'][_0xfbd225(0x234)]&&delete _0x32ed1d[_0xfbd225(0x242)]['type'],_0x32ed1d!=null&&_0x32ed1d[_0xfbd225(0x242)][_0xfbd225(0x2c3)]||(_0x32ed1d[_0xfbd225(0x242)]['points']={}),(_0x3283f7=_0x32ed1d==null?void 0x0:_0x32ed1d[_0xfbd225(0x242)]['points'])!=null&&_0x3283f7[_0x11ec8c]||(_0x32ed1d['config'][_0xfbd225(0x2c3)][_0x11ec8c]={}),_0x32ed1d[_0xfbd225(0x242)][_0xfbd225(0x2c3)][_0x11ec8c]['visible']=_0x507a00,_0x1c4161[_0xfbd225(0x262)](u['SetSheetSparklineCommand']['id'],{'config':_0x32ed1d,'isChangeDataSource':!0x1});},_0x1a55f4=(_0x5f4941,_0x1e46f1)=>{const _0x1c67a2=_0x20ff16;var _0x242740,_0x1ff32b;const _0x182ba1=(_0x242740=o[_0x1c67a2(0x30c)]['deepClone'](_0x3fb4c5))!=null?_0x242740:{};_0x182ba1!=null&&_0x182ba1[_0x1c67a2(0x242)]||(_0x182ba1['config']={}),_0x182ba1['config'][_0x1c67a2(0x234)]&&delete _0x182ba1[_0x1c67a2(0x242)][_0x1c67a2(0x234)],_0x182ba1!=null&&_0x182ba1[_0x1c67a2(0x242)][_0x1c67a2(0x2c3)]||(_0x182ba1[_0x1c67a2(0x242)][_0x1c67a2(0x2c3)]={}),(_0x1ff32b=_0x182ba1==null?void 0x0:_0x182ba1['config'][_0x1c67a2(0x2c3)])!=null&&_0x1ff32b[_0x1e46f1]||(_0x182ba1[_0x1c67a2(0x242)][_0x1c67a2(0x2c3)][_0x1e46f1]={}),_0x182ba1[_0x1c67a2(0x242)]['points'][_0x1e46f1][_0x1c67a2(0x305)]=_0x5f4941,_0x182ba1[_0x1c67a2(0x242)]['themeType']=u[_0x1c67a2(0x18e)]['CUSTOM'],_0x1c4161[_0x1c67a2(0x262)](u[_0x1c67a2(0x1cd)]['id'],{'config':_0x182ba1,'isChangeDataSource':!0x1});},_0x27d8bc=_0x16814d=>{const _0x5225ca=_0x20ff16;var _0x5895dd;const _0x144946=(_0x5895dd=o[_0x5225ca(0x30c)][_0x5225ca(0x1d9)](_0x3fb4c5))!=null?_0x5895dd:{};_0x144946!=null&&_0x144946['config']||(_0x144946[_0x5225ca(0x242)]={}),_0x144946[_0x5225ca(0x242)][_0x5225ca(0x234)]&&delete _0x144946[_0x5225ca(0x242)][_0x5225ca(0x234)],_0x144946['config'][_0x5225ca(0x2b8)]=_0x16814d,_0x144946[_0x5225ca(0x242)][_0x5225ca(0x2d5)]!=null&&(_0x144946['config'][_0x5225ca(0x2d5)]=void 0x0),_0x144946!=null&&_0x144946[_0x5225ca(0x242)][_0x5225ca(0x2c3)]||(_0x144946[_0x5225ca(0x242)]['points']={});const _0x581ec1=u[_0x5225ca(0x211)][_0x16814d];u[_0x5225ca(0x1f0)]['forEach'](_0x3051ca=>{const _0x3642c0=_0x5225ca;var _0x52d892;(_0x52d892=_0x144946==null?void 0x0:_0x144946['config'][_0x3642c0(0x2c3)])!=null&&_0x52d892[_0x3051ca]?_0x144946[_0x3642c0(0x242)][_0x3642c0(0x2c3)][_0x3051ca][_0x3642c0(0x305)]=_0x581ec1[0x1]:_0x144946[_0x3642c0(0x242)][_0x3642c0(0x2c3)][_0x3051ca]={'color':_0x581ec1[0x1]};}),_0x1c4161[_0x5225ca(0x262)](u[_0x5225ca(0x1cd)]['id'],{'config':_0x144946,'isChangeDataSource':!0x1});},_0x2cd105=_0x4325b5=>{const _0x3ebe4f=_0x20ff16;var _0xb3a2d4;const _0x2f5958=(_0xb3a2d4=o['Tools'][_0x3ebe4f(0x1d9)](_0x3fb4c5))!=null?_0xb3a2d4:{};_0x2f5958!=null&&_0x2f5958[_0x3ebe4f(0x242)]||(_0x2f5958[_0x3ebe4f(0x242)]={}),_0x2f5958[_0x3ebe4f(0x242)]['type']&&delete _0x2f5958[_0x3ebe4f(0x242)][_0x3ebe4f(0x234)],_0x2f5958[_0x3ebe4f(0x242)]['seriesColor']=_0x4325b5,_0x2f5958[_0x3ebe4f(0x242)][_0x3ebe4f(0x2b8)]=u[_0x3ebe4f(0x18e)][_0x3ebe4f(0x20f)],_0x1c4161[_0x3ebe4f(0x262)](u['SetSheetSparklineCommand']['id'],{'config':_0x2f5958,'isChangeDataSource':!0x1});},_0x5b6d45=_0x3a8696=>{const _0x31a564=_0x20ff16;var _0x23f004;const _0x498e39=(_0x23f004=o[_0x31a564(0x30c)]['deepClone'](_0x3fb4c5))!=null?_0x23f004:{};_0x498e39!=null&&_0x498e39[_0x31a564(0x242)]||(_0x498e39['config']={}),_0x498e39[_0x31a564(0x242)]['type']&&delete _0x498e39[_0x31a564(0x242)][_0x31a564(0x234)];const _0xd50146=Number[_0x31a564(0x22e)](_0x3a8696,0xa);_0x498e39[_0x31a564(0x242)][_0x31a564(0x1f7)]=_0xd50146,_0x1c4161[_0x31a564(0x262)](u[_0x31a564(0x1cd)]['id'],{'config':_0x498e39,'isChangeDataSource':!0x1});},_0x2f4ec4=_0x22d695=>{const _0x3c9a5a=_0x20ff16;var _0x1063fa;const _0x2ff5fb=(_0x1063fa=o[_0x3c9a5a(0x30c)][_0x3c9a5a(0x1d9)](_0x3fb4c5))!=null?_0x1063fa:{};_0x2ff5fb!=null&&_0x2ff5fb[_0x3c9a5a(0x242)]||(_0x2ff5fb[_0x3c9a5a(0x242)]={}),_0x2ff5fb[_0x3c9a5a(0x242)][_0x3c9a5a(0x234)]&&delete _0x2ff5fb[_0x3c9a5a(0x242)][_0x3c9a5a(0x234)],_0x255ad2?_0x2ff5fb['config']['showGradient']=_0x22d695:_0x2ff5fb['config'][_0x3c9a5a(0x1fe)]=_0x22d695,_0x1c4161[_0x3c9a5a(0x262)](u[_0x3c9a5a(0x1cd)]['id'],{'config':_0x2ff5fb,'isChangeDataSource':!0x1});},_0x343d4f=_0x2904ce=>{const _0xf5b1a6=_0x20ff16;_0x1c4161[_0xf5b1a6(0x262)](u[_0xf5b1a6(0x231)]['id'],{'isIcon':_0x2904ce});},_0x306a5f=new Set([_0x490b17['groupId']]),_0x38be30=_0x490b17[_0x20ff16(0x30b)];for(let _0x26263b=_0x38be30[_0x20ff16(0x2ee)];_0x26263b<=_0x38be30[_0x20ff16(0x288)];_0x26263b++)for(let _0x1620b0=_0x38be30[_0x20ff16(0x29e)];_0x1620b0<=_0x38be30['endColumn'];_0x1620b0++){const _0x2dcabc=_0xc07b4b['getSparkline'](_0x490b17[_0x20ff16(0x204)],_0x490b17[_0x20ff16(0x203)],_0x26263b,_0x1620b0);if(_0x2dcabc&&(_0x306a5f[_0x20ff16(0x2be)](_0x2dcabc),_0x306a5f[_0x20ff16(0x293)]>0x1))break;}const _0x161c41=async()=>{const _0x3438aa=_0x20ff16;if(_0x306a5f[_0x3438aa(0x293)]>0x1)return;const {primary:_0x56ef84,range:_0x139def,groupId:_0x368a2b}=_0x490b17;if(!await Rn(_0x49d236,[_0x139def],void 0x0,{'groupId':_0x368a2b,'primary':o[_0x3438aa(0x30c)][_0x3438aa(0x1d9)](_0x56ef84)}))return!0x1;};return l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'children':[l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'className':_0x20ff16(0x251),'children':[l[_0x20ff16(0x1a6)](_0x20ff16(0x23c),{'className':_0x20ff16(0x217),'children':_0x56612d['t'](_0x20ff16(0x249))}),l[_0x20ff16(0x1a6)]('div',{'className':O['clsx'](_0x20ff16(0x26f),{'univer-cursor-not-allowed':_0x306a5f[_0x20ff16(0x293)]>0x1}),'onClick':_0x161c41,'children':l[_0x20ff16(0x1a6)](_n,{})})]}),l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'children':[l['jsx'](_0x20ff16(0x23c),{'className':_0x20ff16(0x1da),'children':_0x56612d['t'](_0x20ff16(0x230))}),l[_0x20ff16(0x1a6)]('div',{'className':_0x20ff16(0x24c),'children':l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'className':O[_0x20ff16(0x2f7)](_0x20ff16(0x155),O[_0x20ff16(0x17a)]),'children':[l[_0x20ff16(0x2df)]('div',{'className':O[_0x20ff16(0x2f7)]('univer-m-0.5\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20univer-text-center\x20univer-leading-8',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x58415e===u['SparklineTypeEnum'][_0x20ff16(0x312)]}),'onClick':()=>_0x32f048(u[_0x20ff16(0x2c5)][_0x20ff16(0x312)]),'children':[l[_0x20ff16(0x1a6)](pn,{}),_0x56612d['t'](_0x20ff16(0x1ae))]}),l['jsxs']('div',{'className':O[_0x20ff16(0x2f7)](_0x20ff16(0x185),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x58415e===u['SparklineTypeEnum'][_0x20ff16(0x202)]}),'onClick':()=>_0x32f048(u[_0x20ff16(0x2c5)][_0x20ff16(0x202)]),'children':[l[_0x20ff16(0x1a6)](xn,{}),_0x56612d['t']('sheets-sparkline.panel.bar')]}),l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'className':O[_0x20ff16(0x2f7)]('univer-m-0.5\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20univer-text-center\x20univer-leading-8',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x58415e===u[_0x20ff16(0x2c5)][_0x20ff16(0x1a4)]}),'onClick':()=>_0x32f048(u['SparklineTypeEnum'][_0x20ff16(0x1a4)]),'children':[l[_0x20ff16(0x1a6)](Mn,{}),_0x56612d['t'](_0x20ff16(0x298))]}),l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'className':O['clsx'](_0x20ff16(0x185),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x58415e===u[_0x20ff16(0x2c5)][_0x20ff16(0x1f3)]}),'onClick':()=>_0x32f048(u[_0x20ff16(0x2c5)][_0x20ff16(0x1f3)]),'children':[l['jsx'](En,{}),_0x56612d['t'](_0x20ff16(0x1d6))]})]})})]}),_0x3fb4c5['config'][_0x20ff16(0x234)]!==u[_0x20ff16(0x2c5)]['PIE_CHART']&&l['jsxs'](l[_0x20ff16(0x291)],{'children':[l['jsxs'](_0x20ff16(0x23c),{'children':[l['jsx']('div',{'className':'univer-mb-3\x20univer-text-sm\x20univer-font-medium','children':_0x56612d['t'](_0x20ff16(0x1b4))}),l[_0x20ff16(0x1a6)](_0x20ff16(0x23c),{'className':_0x20ff16(0x24c),'children':l['jsx'](O[_0x20ff16(0x2d4)],{'className':_0x20ff16(0x1d1),'value':_0x56612d['t'](_0x20ff16(0x245)+((_0x348e99=_0x3fb4c5==null?void 0x0:_0x3fb4c5[_0x20ff16(0x242)][_0x20ff16(0x2b8)])!=null?_0x348e99:u[_0x20ff16(0x18e)][_0x20ff16(0x270)])),'options':Object[_0x20ff16(0x158)](u[_0x20ff16(0x211)])[_0x20ff16(0x2ed)](_0x34b39d=>{const _0x1111e6=_0x20ff16,_0x3c05ef=u[_0x1111e6(0x211)][_0x34b39d];return{'label':l[_0x1111e6(0x2df)]('div',{'className':_0x1111e6(0x220),'children':[l['jsx'](_0x1111e6(0x23c),{'className':_0x1111e6(0x2e3),'style':{'background':_0x3c05ef[0x0]}}),l['jsx'](_0x1111e6(0x23c),{'className':_0x1111e6(0x128),'style':{'background':_0x3c05ef[0x1]}}),l[_0x1111e6(0x1a6)](_0x1111e6(0x23c),{'children':_0x56612d['t'](_0x1111e6(0x245)+_0x34b39d)})]}),'value':_0x34b39d};}),'onChange':_0x5beb03=>_0x27d8bc(_0x5beb03)})})]}),l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'children':[l['jsx'](_0x20ff16(0x23c),{'className':_0x20ff16(0x1da),'children':_0x56612d['t']('sheets-sparkline.panel.adjustStyle')}),l[_0x20ff16(0x2df)]('div',{'className':_0x20ff16(0x24c),'children':[l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'className':'univer-flex\x20univer-gap-5','children':[l['jsxs']('div',{'className':_0x20ff16(0x1f8),'children':[l[_0x20ff16(0x1a6)](_0x20ff16(0x23c),{'className':_0x20ff16(0x1e8),'children':_0x56612d['t'](_0x20ff16(0x2cf))}),l['jsx'](jn,{'color':(_0x5e1e9e=_0x3fb4c5==null?void 0x0:_0x3fb4c5[_0x20ff16(0x242)]['seriesColor'])!=null?_0x5e1e9e:_0x20ff16(0x2fd),'onChange':_0x2cd105})]}),_0x58415e===u[_0x20ff16(0x2c5)][_0x20ff16(0x312)]&&l['jsxs'](_0x20ff16(0x23c),{'className':_0x20ff16(0x1f8),'children':[l['jsx']('div',{'className':_0x20ff16(0x1e8),'children':_0x56612d['t'](_0x20ff16(0x292))}),l[_0x20ff16(0x1a6)](O[_0x20ff16(0x2d4)],{'className':_0x20ff16(0x1d1),'value':_0x3fb4c5!=null&&_0x3fb4c5[_0x20ff16(0x242)]['lineWidth']?_0x3fb4c5[_0x20ff16(0x242)][_0x20ff16(0x1f7)]+'px':'2px','options':[{'value':'1px','label':_0x20ff16(0x269)},{'value':'2px','label':_0x20ff16(0x13d)},{'value':'3px','label':_0x20ff16(0x2ba)},{'value':_0x20ff16(0x18d),'label':_0x20ff16(0x18d)}],'onChange':_0x4e1e82=>_0x5b6d45(_0x4e1e82)})]})]}),l[_0x20ff16(0x1a6)](O[_0x20ff16(0x263)],{'className':_0x20ff16(0x303),'checked':_0x255ad2?_0x3fb4c5==null?void 0x0:_0x3fb4c5['config'][_0x20ff16(0x260)]:_0x3fb4c5==null?void 0x0:_0x3fb4c5['config'][_0x20ff16(0x1fe)],'onChange':_0x57c10c=>_0x2f4ec4(_0x57c10c),'children':_0x255ad2?_0x56612d['t'](_0x20ff16(0x14d)):_0x56612d['t'](_0x20ff16(0x31e))})]})]}),l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'children':[l[_0x20ff16(0x1a6)](_0x20ff16(0x23c),{'className':_0x20ff16(0x1da),'children':_0x56612d['t'](_0x20ff16(0x22d))}),l['jsxs'](_0x20ff16(0x23c),{'className':_0x20ff16(0x24c),'children':[l['jsxs'](_0x20ff16(0x23c),{'className':_0x20ff16(0x1a0),'children':[l[_0x20ff16(0x1a6)](xe,{'onCheckboxChange':_0x25d883,'onColorChange':_0x1a55f4,'chartType':_0x58415e,'type':_0x20ff16(0x244),'text':_0x56612d['t']('sheets-sparkline.panel.highPoint'),'config':(_0x18f5a1=_0x3fb4c5==null?void 0x0:_0x3fb4c5[_0x20ff16(0x242)]['points'])==null?void 0x0:_0x18f5a1[_0x20ff16(0x244)]},'highPoint'),l['jsx'](xe,{'onCheckboxChange':_0x25d883,'onColorChange':_0x1a55f4,'chartType':_0x58415e,'type':'firstPoint','text':_0x56612d['t'](_0x20ff16(0x1a1)),'config':(_0x15431f=_0x3fb4c5==null?void 0x0:_0x3fb4c5[_0x20ff16(0x242)]['points'])==null?void 0x0:_0x15431f[_0x20ff16(0x1df)]},'firstPoint')]}),l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'className':'univer-mb-2\x20univer-flex\x20univer-w-full\x20univer-justify-between','children':[l[_0x20ff16(0x1a6)](xe,{'onCheckboxChange':_0x25d883,'onColorChange':_0x1a55f4,'chartType':_0x58415e,'type':_0x20ff16(0x2ea),'text':_0x56612d['t'](_0x20ff16(0x299)),'config':(_0x47cd48=_0x3fb4c5==null?void 0x0:_0x3fb4c5[_0x20ff16(0x242)][_0x20ff16(0x2c3)])==null?void 0x0:_0x47cd48['lowPoint']},_0x20ff16(0x2ea)),l['jsx'](xe,{'onCheckboxChange':_0x25d883,'onColorChange':_0x1a55f4,'chartType':_0x58415e,'type':_0x20ff16(0x1a5),'text':_0x56612d['t'](_0x20ff16(0x2a6)),'config':(_0x3135d4=_0x3fb4c5==null?void 0x0:_0x3fb4c5['config']['points'])==null?void 0x0:_0x3135d4[_0x20ff16(0x1a5)]},_0x20ff16(0x1a5))]}),l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'className':_0x20ff16(0x1a0),'children':[l[_0x20ff16(0x1a6)](xe,{'onCheckboxChange':_0x25d883,'onColorChange':_0x1a55f4,'chartType':_0x58415e,'type':_0x20ff16(0x163),'text':_0x56612d['t'](_0x20ff16(0x237)),'config':(_0xa9aa3c=_0x3fb4c5==null?void 0x0:_0x3fb4c5[_0x20ff16(0x242)][_0x20ff16(0x2c3)])==null?void 0x0:_0xa9aa3c[_0x20ff16(0x163)]},'negativePoint'),l['jsx'](xe,{'onCheckboxChange':_0x25d883,'onColorChange':_0x1a55f4,'chartType':_0x58415e,'type':_0x20ff16(0x25d),'text':_0x56612d['t'](_0x20ff16(0x193)),'config':(_0xde1a9=_0x3fb4c5==null?void 0x0:_0x3fb4c5[_0x20ff16(0x242)]['points'])==null?void 0x0:_0xde1a9[_0x20ff16(0x25d)]},_0x20ff16(0x25d))]})]})]})]}),_0x3fb4c5[_0x20ff16(0x242)][_0x20ff16(0x234)]===u[_0x20ff16(0x2c5)][_0x20ff16(0x1f3)]&&l['jsx'](_0x20ff16(0x23c),{'className':'univer-mb-3\x20univer-text-sm\x20univer-font-medium','children':_0x56612d['t']('sheets-sparkline.panel.manager')}),l[_0x20ff16(0x2df)](_0x20ff16(0x23c),{'className':_0x20ff16(0x192),'children':[l[_0x20ff16(0x2df)](O[_0x20ff16(0x306)],{'onClick':()=>_0x343d4f(!0x0),'children':[l['jsx'](an,{}),_0x56612d['t'](_0x20ff16(0x255))]}),l[_0x20ff16(0x2df)](O[_0x20ff16(0x306)],{'onClick':()=>_0x343d4f(!0x1),'children':[l['jsx'](an,{}),_0x56612d['t']('sheets-sparkline.panel.removeGroup')]})]})]});},ot=()=>{const _0x1cedb1=_0x4e476b;var _0x64af89,_0x412460,_0x5eab6f,_0x2a13d3;const _0x48ed2c=G[_0x1cedb1(0x1ca)](W[_0x1cedb1(0x24e)]),_0x76dfe1=G[_0x1cedb1(0x13b)](_0x48ed2c[_0x1cedb1(0x1cb)]),_0x4e3f57=G[_0x1cedb1(0x1ca)](u[_0x1cedb1(0x2fe)]),_0x11929b=G[_0x1cedb1(0x1ca)](o[_0x1cedb1(0x2ab)]),_0x2a844b=G[_0x1cedb1(0x1ca)](o['LocaleService']),_0x102345=W['getSheetCommandTarget'](_0x11929b),[_0xe6a45e,_0x250215]=B['useState'](_0x1cedb1(0x29d)),_0xd6e983=_0xe6a45e===_0x1cedb1(0x29d),[,_0x22b8b2]=B[_0x1cedb1(0x2ae)](Math[_0x1cedb1(0x23e)]());if(B[_0x1cedb1(0x274)](()=>{const _0xecd8be=_0x1cedb1,_0x372f4c=_0x4e3f57[_0xecd8be(0x2cb)][_0xecd8be(0x2bb)](()=>{const _0x470094=_0xecd8be;_0x22b8b2(Math[_0x470094(0x23e)]());});return()=>{const _0x2a13c4=_0xecd8be;_0x372f4c[_0x2a13c4(0x228)]();};},[_0x4e3f57[_0x1cedb1(0x2cb)]]),!_0x102345)return null;const {unitId:_0x6c02c2,subUnitId:_0x165218}=_0x102345;if(!_0x76dfe1||_0x76dfe1[_0x1cedb1(0x2e0)]>0x1)return null;const {primary:_0x58da68,range:_0x53549f}=_0x76dfe1[0x0];if(!_0x58da68||!_0x53549f)return null;const _0x402b22=_0x4e3f57['getSparklineCache'](),_0x3e2ec9=(_0x64af89=_0x402b22==null?void 0x0:_0x402b22[_0x1cedb1(0x1cc)]['get'](_0x6c02c2))==null?void 0x0:_0x64af89[_0x1cedb1(0x26a)](_0x165218),_0x10ecc9=(_0x412460=_0x3e2ec9==null?void 0x0:_0x3e2ec9[_0x1cedb1(0x2e2)]['getValue'](_0x58da68[_0x1cedb1(0x2d3)],_0x58da68[_0x1cedb1(0x141)]))==null?void 0x0:_0x412460[_0x1cedb1(0x2a7)];if(!_0x10ecc9)return null;const _0x5c3ade=(_0x2a13d3=(_0x5eab6f=_0x402b22[_0x1cedb1(0x28a)][_0x1cedb1(0x26a)](_0x6c02c2))==null?void 0x0:_0x5eab6f[_0x1cedb1(0x26a)](_0x165218))==null?void 0x0:_0x2a13d3[_0x1cedb1(0x26a)](_0x10ecc9);if(!_0x5c3ade)return null;const _0x1a7f93={'unitId':_0x6c02c2,'subUnitId':_0x165218,'range':_0x53549f,'primary':_0x58da68,'groupId':_0x10ecc9};return l['jsxs'](_0x1cedb1(0x23c),{'className':_0x1cedb1(0x199),'children':[l[_0x1cedb1(0x2df)](_0x1cedb1(0x23c),{'className':'univer-relative\x20univer-mx-0\x20univer-my-4\x20univer-box-border\x20univer-flex\x20univer-h-10\x20univer-items-center\x20univer-justify-around','children':[l[_0x1cedb1(0x2df)](_0x1cedb1(0x23c),{'className':O[_0x1cedb1(0x2f7)](_0x1cedb1(0x14a),{'univer-text-primary-600':_0xd6e983}),'children':[l['jsx']('div',{'onClick':()=>_0x250215(_0x1cedb1(0x29d)),'children':_0x2a844b['t'](_0x1cedb1(0x20e))}),_0xd6e983&&l[_0x1cedb1(0x1a6)](_0x1cedb1(0x23c),{'className':_0x1cedb1(0x167)})]}),l['jsxs']('div',{'className':O['clsx'](_0x1cedb1(0x14a),{'univer-text-primary-600':!_0xd6e983,'univer-cursor-not-allowed\x20univer-text-gray-200':_0x5c3ade[_0x1cedb1(0x242)][_0x1cedb1(0x234)]===u[_0x1cedb1(0x2c5)]['PIE_CHART']}),'children':[l[_0x1cedb1(0x1a6)](_0x1cedb1(0x23c),{'onClick':()=>{const _0x4d5d29=_0x1cedb1;_0x5c3ade[_0x4d5d29(0x242)]['type']!==u['SparklineTypeEnum'][_0x4d5d29(0x1f3)]&&_0x250215(_0x4d5d29(0x22f));},'children':_0x2a844b['t'](_0x1cedb1(0x16c))}),!_0xd6e983&&l[_0x1cedb1(0x1a6)](_0x1cedb1(0x23c),{'className':_0x1cedb1(0x2af)})]})]}),l['jsx'](_0x1cedb1(0x23c),{'children':_0xd6e983?l['jsx'](st,{'config':_0x5c3ade,'ctx':_0x1a7f93}):l['jsx'](rt,{'config':_0x5c3ade,'ctx':_0x1a7f93})})]});};function at(_0x1c0e86,_0x31428,_0x3c7b87){const _0x1685d0=_0x4e476b;if(!_0x3c7b87)return!0x0;if(_0x31428[_0x1685d0(0x2e0)]!==_0x3c7b87[_0x1685d0(0x2e0)]){if(_0x3c7b87['length']===0x1){const _0x3b2755=_0x3c7b87[0x0];if(_0x3b2755[_0x1685d0(0x2ee)]!==_0x3b2755['endRow']&&_0x3b2755[_0x1685d0(0x29e)]!==_0x3b2755[_0x1685d0(0x210)])return!0x1;}else return!0x1;}if(_0x1c0e86===_0x1685d0(0x26c)){if(_0x3c7b87[_0x1685d0(0x2e0)]!==0x1)return!0x1;const {startRow:_0x3d10b1,startColumn:_0x359375,endRow:_0x3c601a,endColumn:_0x581e72}=_0x3c7b87[0x0];if(_0x3d10b1!==_0x3c601a&&_0x359375!==_0x581e72)return!0x1;}if(_0x3c7b87[_0x1685d0(0x2e0)]>0x1){if(_0x3c7b87[_0x1685d0(0x1e2)](_0x495875=>{const {startRow:_0x3d79b3,startColumn:_0x520444,endRow:_0xb111f9,endColumn:_0xc991}=_0x495875;return _0x3d79b3!==_0xb111f9||_0x520444!==_0xc991;}))return!0x1;}else{const _0x5d7291=_0x3c7b87[0x0],{startRow:_0x49e469,startColumn:_0x584fb7,endRow:_0x1b1dde,endColumn:_0x19acb5}=_0x5d7291;if(_0x49e469!==_0x1b1dde&&_0x584fb7!==_0x19acb5)return!0x1;}let _0x1eb841=0x0;for(const _0x1fc0c6 of _0x3c7b87)_0x1eb841+=(_0x1fc0c6[_0x1685d0(0x288)]-_0x1fc0c6[_0x1685d0(0x2ee)]+0x1)*(_0x1fc0c6['endColumn']-_0x1fc0c6[_0x1685d0(0x29e)]+0x1);if(_0x31428['length']>0x1){for(const _0x3998e3 of _0x31428){const {startColumn:_0x1aa4ab,startRow:_0x1c2938,endRow:_0x1e8e31,endColumn:_0x45999c}=_0x3998e3;if(_0x1aa4ab!==_0x45999c&&_0x1c2938!==_0x1e8e31)return!0x1;}for(const _0x312e2f of _0x3c7b87){const {startColumn:_0x3fc23a,startRow:_0x24f712,endRow:_0x26c7ce,endColumn:_0x1f278c}=_0x312e2f;if(_0x3fc23a!==_0x1f278c&&_0x24f712!==_0x26c7ce)return!0x1;}return!0x0;}else{const _0x1643c8=_0x31428[0x0][_0x1685d0(0x288)]-_0x31428[0x0][_0x1685d0(0x2ee)]+0x1,_0x54a4a3=_0x31428[0x0][_0x1685d0(0x210)]-_0x31428[0x0][_0x1685d0(0x29e)]+0x1;return _0x1eb841===_0x1643c8||_0x1eb841===_0x54a4a3;}}const lt={'cellSourceRanges':[],'cellTargetRanges':[],'groupSourceRanges':[],'groupTargetRanges':[]},ct=(_0x54f1a2,_0x33119c,_0x81dab8)=>{const _0x297f52=_0x4e476b;var _0x4129e5,_0x496eaf,_0x14aa55,_0x2c3171,_0x1ad037,_0x12cd4c;if(!_0x33119c||!_0x81dab8)return lt;const _0x327115=_0x54f1a2['get'](o[_0x297f52(0x2ab)]),_0x44c745=_0x54f1a2['get'](u[_0x297f52(0x2fe)]),_0x4aa3b8=W[_0x297f52(0x2d2)](_0x327115);if(!_0x4aa3b8)return;const {unitId:_0x13b4d1,subUnitId:_0x4b0b9e}=_0x4aa3b8,{actualRow:_0x32043f,actualColumn:_0x548370}=_0x33119c,_0x5b6dff=(_0x14aa55=(_0x496eaf=(_0x4129e5=_0x44c745[_0x297f52(0x229)]()[_0x297f52(0x28a)][_0x297f52(0x26a)](_0x13b4d1))==null?void 0x0:_0x4129e5['get'](_0x4b0b9e))==null?void 0x0:_0x496eaf['get'](_0x81dab8))==null?void 0x0:_0x14aa55[_0x297f52(0x2ec)][_0x297f52(0x180)](_0x32043f,_0x548370);if(!_0x5b6dff)return;const _0x241403=[_0x5b6dff],_0x5455c6=[o[_0x297f52(0x1f6)](_0x32043f,_0x548370)],_0x237fb7=[],_0x4ad519=[],_0x156df7=(_0x12cd4c=(_0x1ad037=(_0x2c3171=_0x44c745[_0x297f52(0x229)]()[_0x297f52(0x28a)]['get'](_0x13b4d1))==null?void 0x0:_0x2c3171[_0x297f52(0x26a)](_0x4b0b9e))==null?void 0x0:_0x1ad037['get'](_0x81dab8))==null?void 0x0:_0x12cd4c[_0x297f52(0x2ec)];return _0x156df7==null||_0x156df7[_0x297f52(0x200)]((_0x43bb7a,_0x2f2852,_0x3599d6)=>{const _0x454c55=_0x297f52,_0x4f535e=_0x3599d6;_0x237fb7[_0x454c55(0x2fc)](_0x4f535e),_0x4ad519[_0x454c55(0x2fc)](o[_0x454c55(0x1f6)](_0x43bb7a,_0x2f2852));}),{'cellSourceRanges':_0x241403,'cellTargetRanges':_0x5455c6,'groupSourceRanges':_0x237fb7,'groupTargetRanges':_0x4ad519};};function ut(_0x297e61){const _0x2fe152=_0x4e476b,{sourceRanges:_0x50556a,targetRanges:_0x15b4aa,onConfirm:_0x7bbdeb,onCancel:_0x2e74f9,resetCtx:_0x1ac5ef}=_0x297e61,_0x1c3662=G['useDependency'](o[_0x2fe152(0x2ab)]),_0x4538bf=G[_0x2fe152(0x1ca)](o['ICommandService']),_0x15408a=G[_0x2fe152(0x1ca)](u['SparklineDataSourceModel']),_0x345dab=G[_0x2fe152(0x1ca)](o['LocaleService']),_0x407e43=G[_0x2fe152(0x1ca)](o['Injector']),[_0x41d132,_0x3c40ea]=B[_0x2fe152(0x2ae)](),[_0x1bdcf4,_0x2adfca]=B['useState'](),[_0x1a72b2,_0x5e44fd]=B[_0x2fe152(0x2ae)](_0x1ac5ef?_0x2fe152(0x26c):_0x2fe152(0x18c)),_0x28c234=B[_0x2fe152(0x2e5)](()=>ct(_0x407e43,_0x1ac5ef==null?void 0x0:_0x1ac5ef[_0x2fe152(0x22a)],_0x1ac5ef==null?void 0x0:_0x1ac5ef[_0x2fe152(0x2a7)]),[_0x407e43,_0x1ac5ef==null?void 0x0:_0x1ac5ef[_0x2fe152(0x2a7)],_0x1ac5ef==null?void 0x0:_0x1ac5ef[_0x2fe152(0x22a)]]),{cellSourceRanges:_0x136678,cellTargetRanges:_0x3eb74c,groupSourceRanges:_0x3175d8,groupTargetRanges:_0x4f081a}=_0x28c234!=null?_0x28c234:{},[_0x17be80,_0x55bcf6]=B[_0x2fe152(0x2ae)](_0x1ac5ef?_0x136678:_0x50556a),[_0x2bc4fb,_0x171318]=B[_0x2fe152(0x2ae)](_0x1ac5ef?_0x3eb74c:_0x15b4aa),_0x2a268e=G['useDependency'](G[_0x2fe152(0x154)]),_0x4923ab=B[_0x2fe152(0x2a8)](null);B['useEffect'](()=>{const _0x48ef46=_0x2fe152;(_0x17be80==null?void 0x0:_0x17be80[_0x48ef46(0x2e0)])===0x0&&_0x3c40ea(void 0x0),(_0x2bc4fb==null?void 0x0:_0x2bc4fb['length'])===0x0&&_0x2adfca(void 0x0);const _0x19124c=at(_0x1a72b2,_0x17be80,_0x2bc4fb);_0x2adfca(_0x19124c?void 0x0:_0x345dab['t'](_0x48ef46(0x2bc)));},[_0x345dab,_0x1a72b2,_0x17be80,_0x2bc4fb]);const _0x2465c1=_0x4120e1=>{const _0x4e37a8=_0x2fe152;_0x5e44fd(_0x4120e1),_0x55bcf6(_0x4120e1===_0x4e37a8(0x26c)?_0x28c234==null?void 0x0:_0x28c234[_0x4e37a8(0x323)]:_0x28c234==null?void 0x0:_0x28c234[_0x4e37a8(0x246)]),_0x171318(_0x4120e1===_0x4e37a8(0x26c)?_0x28c234==null?void 0x0:_0x28c234[_0x4e37a8(0x152)]:_0x28c234==null?void 0x0:_0x28c234[_0x4e37a8(0x224)]);},{initSourceRangeStr:_0x5682e7,initTargetRangeStr:_0x3155ff}=B[_0x2fe152(0x2e5)](()=>{const _0xb90155=_0x2fe152;var _0x204a94,_0x51bed8;let _0x1913d3,_0x4a26e7;_0x1ac5ef?(_0x1913d3=_0x1a72b2===_0xb90155(0x26c)?_0x136678:_0x3175d8,_0x4a26e7=_0x1a72b2==='item'?_0x3eb74c:_0x4f081a):(_0x1913d3=_0x50556a,_0x4a26e7=_0x15b4aa);const _0x1016c8=(_0x204a94=_0x1913d3==null?void 0x0:_0x1913d3[_0xb90155(0x2ed)](_0x5a352f=>{const _0xba7786=_0xb90155;if(!o[_0xba7786(0x2e4)](_0x5a352f))return _0x3c40ea(_0x345dab['t'](_0xba7786(0x2bc))),_0xba7786(0x147);const _0x568bc4=Fe[_0xba7786(0x272)](_0x5a352f);return _0x568bc4===_0xba7786(0x28f)?'':_0x568bc4;})[_0xb90155(0x2d9)](_0x2e6d8e=>!!_0x2e6d8e)[_0xb90155(0x27a)](','))!=null?_0x204a94:'',_0x49b485=(_0x51bed8=_0x4a26e7==null?void 0x0:_0x4a26e7[_0xb90155(0x2ed)](_0x389850=>{const _0x186722=_0xb90155,_0x201655=Fe['serializeRange'](_0x389850);return _0x201655===_0x186722(0x28f)?'':_0x201655;})['filter'](_0x10fedb=>!!_0x10fedb)[_0xb90155(0x27a)](','))!=null?_0x51bed8:'';return{'initSourceRangeStr':_0x1016c8,'initTargetRangeStr':_0x49b485};},[_0x136678,_0x3eb74c,_0x3175d8,_0x4f081a,_0x345dab,_0x50556a,_0x15b4aa,_0x1ac5ef,_0x1a72b2]),_0x2f2725=W['getSheetCommandTarget'](_0x1c3662);if(!_0x2f2725)return null;const {unitId:_0x7e5ba,subUnitId:_0x5f5539,worksheet:_0x4ab2b9}=_0x2f2725;return l['jsxs']('div',{'ref':_0x4923ab,'children':[!!_0x1ac5ef&&l[_0x2fe152(0x2df)](l[_0x2fe152(0x291)],{'children':[l[_0x2fe152(0x1a6)](_0x2fe152(0x23c),{'className':_0x2fe152(0x1c3),'children':_0x345dab['t'](_0x2fe152(0x2b1))}),l['jsxs'](_0x2fe152(0x23c),{'className':O[_0x2fe152(0x2f7)](_0x2fe152(0x209),O[_0x2fe152(0x17a)]),'children':[l[_0x2fe152(0x1a6)](_0x2fe152(0x23c),{'className':O[_0x2fe152(0x2f7)](_0x2fe152(0x1ce),{'univer-bg-blue-200\x20univer-scrollbar-corner-primary-600':_0x1a72b2===_0x2fe152(0x26c)}),'onClick':()=>_0x2465c1('item'),'children':_0x345dab['t'](_0x2fe152(0x142))}),l[_0x2fe152(0x1a6)](_0x2fe152(0x23c),{'className':O[_0x2fe152(0x2f7)](_0x2fe152(0x1ce),{'univer-bg-blue-200\x20univer-scrollbar-corner-primary-600':_0x1a72b2==='group'}),'onClick':()=>_0x2465c1(_0x2fe152(0x307)),'children':_0x345dab['t']('sheets-sparkline.selector.sparklineGroup')})]})]}),l['jsxs'](_0x2fe152(0x23c),{'className':'univer-mb-4','children':[l[_0x2fe152(0x1a6)](_0x2fe152(0x23c),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-800\x20dark:!univer-text-gray-100','children':_0x345dab['t'](_0x2fe152(0x2ad))}),l['jsx'](mn[_0x2fe152(0x1ab)],{'unitId':_0x7e5ba,'subUnitId':_0x5f5539,'initialValue':_0x5682e7,'onChange':(_0x1facb5,_0x5d6806)=>{const _0x1fbecc=_0x2fe152,_0x2dfd9a=_0x5d6806[_0x1fbecc(0x1d0)](',')[_0x1fbecc(0x2ed)](Fe[_0x1fbecc(0x1e7)])['map'](_0x5c61f0=>o['Range'][_0x1fbecc(0x310)](_0x5c61f0['range'],_0x4ab2b9));if(!_0x2dfd9a[_0x1fbecc(0x1e2)](_0x3feae3=>!o[_0x1fbecc(0x2e4)](_0x3feae3)||_0x3feae3[_0x1fbecc(0x210)]<_0x3feae3[_0x1fbecc(0x29e)]||_0x3feae3[_0x1fbecc(0x288)]<_0x3feae3['startRow'])){if(_0x2dfd9a['length']>0x1){if(_0x1a72b2===_0x1fbecc(0x26c)){_0x3c40ea(_0x345dab['t']('sheets-sparkline.selector.singleSourceError'));return;}const _0xf10035=_0x2dfd9a[_0x1fbecc(0x1e2)](_0x5c3a4d=>{const {startRow:_0x2bf758,endRow:_0x16f47f,startColumn:_0x4b7175,endColumn:_0x5e39da}=_0x5c3a4d;return _0x2bf758!==_0x16f47f&&_0x4b7175!==_0x5e39da;});_0x3c40ea(_0xf10035?_0x345dab['t'](_0x1fbecc(0x1ad)):void 0x0),_0xf10035||_0x55bcf6(_0x2dfd9a);return;}else{const {startRow:_0x46903d,endRow:_0x4baa05,startColumn:_0x71cd29,endColumn:_0x59178b}=_0x2dfd9a[0x0];if(_0x1a72b2==='item'&&_0x46903d!==_0x4baa05&&_0x71cd29!==_0x59178b){_0x3c40ea(_0x345dab['t'](_0x1fbecc(0x31a)));return;}}_0x3c40ea(void 0x0),_0x55bcf6(_0x2dfd9a);}},'supportAcrossSheet':!0x1},_0x5682e7),_0x41d132?l[_0x2fe152(0x1a6)](_0x2fe152(0x23c),{'className':_0x2fe152(0x2a4),'children':_0x41d132}):null]}),l[_0x2fe152(0x2df)]('div',{'className':'univer-mb-4','children':[l[_0x2fe152(0x1a6)](_0x2fe152(0x23c),{'className':_0x2fe152(0x20b),'children':_0x345dab['t'](_0x2fe152(0x2ac))}),l[_0x2fe152(0x1a6)](mn[_0x2fe152(0x1ab)],{'unitId':_0x7e5ba,'subUnitId':_0x5f5539,'initialValue':_0x3155ff,'onChange':(_0x4055d8,_0x1b2800)=>{const _0x4f506a=_0x2fe152,_0x40c806=_0x1b2800[_0x4f506a(0x1d0)](',')[_0x4f506a(0x2ed)](Fe['deserializeRangeWithSheet'])[_0x4f506a(0x2ed)](_0x281f1a=>_0x281f1a['range']);_0x40c806[_0x4f506a(0x1e2)](_0x1bb65f=>!o['isValidRange'](_0x1bb65f)||_0x1bb65f[_0x4f506a(0x210)]<_0x1bb65f[_0x4f506a(0x29e)]||_0x1bb65f[_0x4f506a(0x288)]<_0x1bb65f[_0x4f506a(0x2ee)])||_0x171318(_0x40c806);},'supportAcrossSheet':!0x1},_0x3155ff),_0x1bdcf4?l[_0x2fe152(0x1a6)](_0x2fe152(0x23c),{'className':_0x2fe152(0x2a4),'children':_0x1bdcf4}):null]}),l['jsxs']('div',{'className':_0x2fe152(0x197),'children':[l[_0x2fe152(0x1a6)](O[_0x2fe152(0x306)],{'onClick':()=>{const _0x5a5d93=_0x2fe152;_0x2a268e[_0x5a5d93(0x2c6)](we);},'children':_0x345dab['t'](_0x2fe152(0x308))}),l[_0x2fe152(0x1a6)](O[_0x2fe152(0x306)],{'variant':_0x2fe152(0x22a),'onClick':()=>{const _0x4701b8=_0x2fe152;var _0x49aaff,_0x57d0b4;if(_0x17be80&&_0x2bc4fb&&!_0x41d132&&!_0x1bdcf4){if(_0x1ac5ef){const _0x206a00=(_0x57d0b4=(_0x49aaff=_0x15408a[_0x4701b8(0x229)]()[_0x4701b8(0x28a)][_0x4701b8(0x26a)](_0x7e5ba))==null?void 0x0:_0x49aaff[_0x4701b8(0x26a)](_0x5f5539))==null?void 0x0:_0x57d0b4[_0x4701b8(0x26a)](_0x1ac5ef['groupId']);_0x4538bf[_0x4701b8(0x262)](u['SetSheetSparklineCommand']['id'],{'config':_0x206a00,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'sourceRanges':_0x17be80,'targetRanges':_0x2bc4fb,'groupId':_0x1ac5ef[_0x4701b8(0x2a7)],'resetType':_0x1a72b2,'primary':_0x1ac5ef[_0x4701b8(0x22a)]}}),_0x2e74f9();}else _0x7bbdeb({'sourceRanges':_0x17be80,'targetRanges':_0x2bc4fb});}},'disabled':!!(_0x41d132||_0x1bdcf4),'children':_0x345dab['t']('sheets-sparkline.selector.confirm')})]})]});}const Xe=_0x4e476b(0x137);function dt(_0x28582d){const _0x1ae14b=_0x4e476b;return{'id':dn['id'],'title':_0x1ae14b(0x2c2),'tooltip':_0x1ae14b(0x2c2),'icon':un,'type':G[_0x1ae14b(0x2fb)][_0x1ae14b(0x271)],'hidden$':G[_0x1ae14b(0x1bb)](_0x28582d,o['UniverInstanceType'][_0x1ae14b(0x1d4)]),'disabled$':oe['getCurrentRangeDisable$'](_0x28582d,{'workbookTypes':[W['WorkbookEditablePermission']],'worksheetTypes':[W[_0x1ae14b(0x2ff)]],'rangeTypes':[W[_0x1ae14b(0x240)]]})};}function pt(_0x57b514){const _0x4bb615=_0x4e476b;return{'id':Xe,'type':G['MenuItemType'][_0x4bb615(0x12d)],'icon':un,'title':'sheets-sparkline.title','hidden$':ue[_0x4bb615(0x19a)]([G[_0x4bb615(0x1bb)](_0x57b514,o[_0x4bb615(0x13a)][_0x4bb615(0x1d4)]),ht(_0x57b514)])[_0x4bb615(0x285)](ue[_0x4bb615(0x2ed)](([_0x4dca83,_0xe66554])=>_0x4dca83||_0xe66554))};}function rn(_0x1b22da){const _0x2f0714=_0x4e476b;return{'id':u['RemoveSheetSparklineCommand']['id'],'type':G[_0x2f0714(0x2fb)][_0x2f0714(0x271)],'title':_0x2f0714(0x181),'tooltip':_0x2f0714(0x181),'disabled$':oe[_0x2f0714(0x139)](_0x1b22da,{'workbookTypes':[W[_0x2f0714(0x172)]],'worksheetTypes':[W[_0x2f0714(0x2ff)]],'rangeTypes':[W[_0x2f0714(0x240)]]})};}function sn(_0x535d82){const _0xeee4af=_0x4e476b;return{'id':We['id'],'title':_0xeee4af(0x19e),'tooltip':_0xeee4af(0x19e),'type':G[_0xeee4af(0x2fb)][_0xeee4af(0x271)],'disabled$':oe[_0xeee4af(0x139)](_0x535d82,{'workbookTypes':[W[_0xeee4af(0x172)]],'worksheetTypes':[W['WorksheetEditPermission']],'rangeTypes':[W['RangeProtectionPermissionEditPoint']]})};}function ht(_0x1396b0){const _0x222a21=_0x4e476b,_0xa703f=_0x1396b0[_0x222a21(0x26a)](o[_0x222a21(0x2ab)])['getCurrentTypeOfUnit$'](o[_0x222a21(0x13a)][_0x222a21(0x1d4)]),_0x1ee0f4=_0x1396b0['get'](u['SparklineDataSourceModel']),_0x13ea3d=_0x1396b0[_0x222a21(0x26a)](W[_0x222a21(0x227)]);return _0xa703f['pipe'](ue[_0x222a21(0x289)](_0x58efea=>_0x58efea?_0x58efea['activeSheet$']['pipe'](ue['switchMap'](_0x350f4e=>{const _0x3ed498=_0x222a21;if(!_0x350f4e)return ue['of'](!0x0);const _0x3ddb3c=_0x1396b0['get'](W[_0x3ed498(0x24e)]);return ue[_0x3ed498(0x256)](_0x3ddb3c[_0x3ed498(0x1cb)],_0x1ee0f4[_0x3ed498(0x2cb)])[_0x3ed498(0x285)](ue[_0x3ed498(0x2ed)](()=>{const _0x9254ff=_0x3ed498,_0x18ddd8=_0x3ddb3c['getCurrentSelections']();if(_0x18ddd8['length']>0x1||_0x18ddd8[_0x9254ff(0x2e0)]===0x0)return!0x0;const {primary:_0x277f78,range:_0x2f2785}=_0x18ddd8[0x0];if(!_0x277f78)return!0x0;const _0x57c5ea=_0x58efea[_0x9254ff(0x14f)](),_0x5381f3=_0x350f4e['getSheetId']();if(!_0x1ee0f4[_0x9254ff(0x2b0)](_0x57c5ea,_0x5381f3,_0x277f78[_0x9254ff(0x2d3)],_0x277f78[_0x9254ff(0x141)]))return!0x0;const _0x4361d4=new Set();o['Range']['foreach'](_0x2f2785,(_0x18b330,_0x56bb07)=>{const _0x25b889=_0x9254ff,_0x33de94=_0x1ee0f4[_0x25b889(0x2b0)](_0x57c5ea,_0x5381f3,_0x18b330,_0x56bb07);_0x33de94&&_0x1ee0f4['getSparklineById'](_0x57c5ea,_0x5381f3,_0x33de94)&&_0x4361d4['add'](_0x33de94);});let _0x50634a=!0x0;return _0x4361d4[_0x9254ff(0x1e1)](_0x2357fd=>{const _0x381162=_0x9254ff,_0x3ab291=_0x1ee0f4[_0x381162(0x1e6)](_0x57c5ea,_0x5381f3,_0x2357fd);_0x3ab291&&_0x50634a&&_0x3ab291[_0x381162(0x2ec)][_0x381162(0x200)]((_0x290b9,_0x3ca181)=>{const _0x2f47fc=_0x381162;var _0x28c885;((_0x28c885=_0x13ea3d['getCellInfo'](_0x57c5ea,_0x5381f3,_0x290b9,_0x3ca181))==null?void 0x0:_0x28c885[W[_0x2f47fc(0x1c0)][_0x2f47fc(0x146)]])===!0x1&&(_0x50634a=!0x1);});}),!_0x50634a;}));})):ue['of'](!0x0)));}const mt={[G[_0x4e476b(0x1cf)][_0x4e476b(0x162)]]:{[dn['id']]:{'order':0x3,'menuItemFactory':dt}},[G[_0x4e476b(0x1dd)]['MAIN_AREA']]:{[G['ContextMenuGroup'][_0x4e476b(0x2a5)]]:{[Xe]:{'order':0x5,'menuItemFactory':pt,[We['id']]:{'menuItemFactory':sn},[u[_0x4e476b(0x231)]['id']]:{'menuItemFactory':rn}}}},[G[_0x4e476b(0x1dd)]['COL_HEADER']]:{[G[_0x4e476b(0x239)][_0x4e476b(0x27c)]]:{[Xe]:{[We['id']]:{'menuItemFactory':sn},[u[_0x4e476b(0x231)]['id']]:{'menuItemFactory':rn}}}},[G[_0x4e476b(0x1dd)][_0x4e476b(0x186)]]:{[G[_0x4e476b(0x239)]['LAYOUT']]:{[Xe]:{[We['id']]:{'menuItemFactory':sn},[u[_0x4e476b(0x231)]['id']]:{'menuItemFactory':rn}}}}};var gt=Object['getOwnPropertyDescriptor'],ft=(_0x3d056d,_0x19dfd6,_0x4d242e,_0x21216c)=>{for(var _0x3fb5b3=_0x21216c>0x1?void 0x0:_0x21216c?gt(_0x19dfd6,_0x4d242e):_0x19dfd6,_0x216cd5=_0x3d056d['length']-0x1,_0x3fe550;_0x216cd5>=0x0;_0x216cd5--)(_0x3fe550=_0x3d056d[_0x216cd5])&&(_0x3fb5b3=_0x3fe550(_0x3fb5b3)||_0x3fb5b3);return _0x3fb5b3;},Sn=(_0x3302a3,_0x57b7d7)=>(_0x23371e,_0x4013ec)=>_0x57b7d7(_0x23371e,_0x4013ec,_0x3302a3);let Ke=class extends o['Disposable']{constructor(_0x5f2643,_0x2b0380){const _0x11544a=_0x4e476b;super(),this[_0x11544a(0x26d)]=_0x5f2643,this[_0x11544a(0x253)]=_0x2b0380,this[_0x11544a(0x174)](),this[_0x11544a(0x1b8)]();}[_0x4e476b(0x1b8)](){const _0x456127=_0x4e476b;[[un,pn],[we,ut],[yn,ot]][_0x456127(0x1e1)](([_0xb69f04,_0x3b8da6])=>{const _0x2ea0e0=_0x456127;this[_0x2ea0e0(0x1ed)](this['_componentManager'][_0x2ea0e0(0x144)](_0xb69f04,_0x3b8da6));});}[_0x4e476b(0x174)](){const _0x335a00=_0x4e476b;this[_0x335a00(0x26d)][_0x335a00(0x2f8)](mt);}};Ke=ft([Sn(0x0,G[_0x4e476b(0x314)]),Sn(0x1,o[_0x4e476b(0x284)](G[_0x4e476b(0x131)]))],Ke);var St=Object[_0x4e476b(0x29f)],vt=(_0x57f95e,_0x1c7085,_0xd6bbf5,_0x5b98e0)=>{const _0xd9e5b=_0x4e476b;for(var _0x2da1ab=_0x5b98e0>0x1?void 0x0:_0x5b98e0?St(_0x1c7085,_0xd6bbf5):_0x1c7085,_0xa4f338=_0x57f95e[_0xd9e5b(0x2e0)]-0x1,_0x535233;_0xa4f338>=0x0;_0xa4f338--)(_0x535233=_0x57f95e[_0xa4f338])&&(_0x2da1ab=_0x535233(_0x2da1ab)||_0x2da1ab);return _0x2da1ab;},ye=(_0x3beedf,_0x286542)=>(_0x1a4706,_0x46c9ff)=>_0x286542(_0x1a4706,_0x46c9ff,_0x3beedf);let qe=class extends o[_0x4e476b(0x2a2)]{constructor(_0x16e082,_0x4a4738,_0x2695af,_0x3ad330,_0x4db949,_0x4f0395,_0x32dc29,_0x270b4a){const _0x4e7b8e=_0x4e476b;super(),tn(this,_0x4e7b8e(0x247),[]),tn(this,_0x4e7b8e(0x148),[]),(this[_0x4e7b8e(0x2b7)]=_0x16e082,this[_0x4e7b8e(0x319)]=_0x4a4738,this['_sparklineDataSourceModel']=_0x2695af,this[_0x4e7b8e(0x13f)]=_0x3ad330,this[_0x4e7b8e(0x2f6)]=_0x4db949,this['_rangeProtectionCache']=_0x4f0395,this[_0x4e7b8e(0x265)]=_0x32dc29,this[_0x4e7b8e(0x21c)]=_0x270b4a,this[_0x4e7b8e(0x28b)](),this[_0x4e7b8e(0x153)]());}[_0x4e476b(0x153)](){const _0x2ca3b4=_0x4e476b;this['_commandService'][_0x2ca3b4(0x1c9)](_0x59baa7=>{const _0xe98d8c=_0x2ca3b4;_0x59baa7['id']===W[_0xe98d8c(0x294)]['id']&&(this[_0xe98d8c(0x13f)]['close'](Ie),this[_0xe98d8c(0x21c)][_0xe98d8c(0x2c6)](we));});}[_0x4e476b(0x28b)](){const _0x3c916c=_0x4e476b;this[_0x3c916c(0x1ed)](ue[_0x3c916c(0x256)](this[_0x3c916c(0x2b7)][_0x3c916c(0x1cb)][_0x3c916c(0x285)](ue[_0x3c916c(0x17f)]((_0x52d6ca,_0x535498)=>_0x52d6ca[_0x3c916c(0x2e0)]!==_0x535498['length']?!0x1:!_0x535498['some']((_0x5399fd,_0x47d7bd)=>!o[_0x3c916c(0x1bd)][_0x3c916c(0x297)](_0x5399fd[_0x3c916c(0x30b)],_0x52d6ca[_0x47d7bd]['range'])))),this[_0x3c916c(0x1bf)][_0x3c916c(0x2cb)][_0x3c916c(0x285)](ue[_0x3c916c(0x22c)](0x1f4)))['subscribe'](()=>{const _0x26ac48=_0x3c916c;var _0x250b1e,_0x51de91,_0x331f4f,_0x1289d7;const _0x5c3e86=this[_0x26ac48(0x2b7)]['getCurrentSelections']();[...this[_0x26ac48(0x247)],...this['_sourceIds']]['forEach'](_0x17db2c=>{const _0x1e6fd8=_0x26ac48;_0x17db2c&&this[_0x1e6fd8(0x2f6)][_0x1e6fd8(0x183)](_0x17db2c);});const _0x263d95=W[_0x26ac48(0x2d2)](this[_0x26ac48(0x319)]);if(!_0x263d95){this[_0x26ac48(0x13f)]['close'](Ie);return;}const {unitId:_0x2ffbfc,subUnitId:_0x2b7f07,worksheet:_0x71be35}=_0x263d95;if(!_0x5c3e86||_0x5c3e86[_0x26ac48(0x2e0)]!==0x1){this['_sidebarService'][_0x26ac48(0x2c6)](Ie);return;}const {primary:_0x5ad6a8,range:_0x178c42}=_0x5c3e86[0x0];if(!_0x5ad6a8){this[_0x26ac48(0x13f)][_0x26ac48(0x2c6)](Ie);return;}let _0x227c4c=_0x5ad6a8[_0x26ac48(0x2d3)],_0x4c0518=_0x5ad6a8[_0x26ac48(0x141)];const _0x32d49b=_0x71be35[_0x26ac48(0x175)](_0x5ad6a8==null?void 0x0:_0x5ad6a8[_0x26ac48(0x2d3)],_0x5ad6a8==null?void 0x0:_0x5ad6a8[_0x26ac48(0x141)]);if(_0x32d49b&&(_0x227c4c=_0x32d49b[_0x26ac48(0x2ee)],_0x4c0518=_0x32d49b[_0x26ac48(0x29e)]),((_0x250b1e=this[_0x26ac48(0x2f2)][_0x26ac48(0x126)](_0x2ffbfc,_0x2b7f07,_0x227c4c,_0x4c0518))==null?void 0x0:_0x250b1e[W[_0x26ac48(0x1c0)][_0x26ac48(0x146)]])===!0x1){this['_sidebarService'][_0x26ac48(0x2c6)](Ie);return;}const _0x187c2f=this['_sparklineDataSourceModel']['getSparklineCache'](),_0x10ecbb=(_0x51de91=_0x187c2f==null?void 0x0:_0x187c2f[_0x26ac48(0x1cc)][_0x26ac48(0x26a)](_0x2ffbfc))==null?void 0x0:_0x51de91[_0x26ac48(0x26a)](_0x2b7f07),_0x195d61=(_0x331f4f=_0x10ecbb==null?void 0x0:_0x10ecbb[_0x26ac48(0x2e2)][_0x26ac48(0x180)](_0x227c4c,_0x4c0518))==null?void 0x0:_0x331f4f[_0x26ac48(0x2a7)];if(!_0x195d61){this[_0x26ac48(0x13f)][_0x26ac48(0x2c6)](Ie);return;}const _0x44d125=(_0x1289d7=this[_0x26ac48(0x1bf)][_0x26ac48(0x1e6)](_0x2ffbfc,_0x2b7f07,_0x195d61))==null?void 0x0:_0x1289d7[_0x26ac48(0x2ec)];_0x44d125&&(ln(_0x44d125[_0x26ac48(0x1d7)](),_0x71be35)['forEach'](_0x5d649a=>{const _0x32c55e=_0x26ac48,_0x327a06=vn(_0x5d649a,this[_0x32c55e(0x2f6)],_0x32c55e(0x259),'rgba(73,\x20184,\x2017,\x200.05)');_0x327a06&&this['_sourceIds'][_0x32c55e(0x2fc)](_0x327a06);}),_0x44d125[_0x26ac48(0x200)]((_0x58a328,_0x55b7d2,_0x2206da)=>{const _0x5c775c=_0x26ac48,_0x5c45a3=_0x2206da;if(_0x5c45a3&&o['Rectangle']['intersects'](o['cellToRange'](_0x58a328,_0x55b7d2),_0x178c42)){const _0x52b888=vn(_0x5c45a3,this[_0x5c775c(0x2f6)],_0x5c775c(0x24f),_0x5c775c(0x20c));_0x52b888&&this[_0x5c775c(0x148)][_0x5c775c(0x2fc)](_0x52b888);}}),this[_0x26ac48(0x2f6)][_0x26ac48(0x176)]());}));}};qe=vt([ye(0x0,o['Inject'](W['SheetsSelectionsService'])),ye(0x1,o[_0x4e476b(0x284)](o[_0x4e476b(0x2ab)])),ye(0x2,o[_0x4e476b(0x284)](u[_0x4e476b(0x2fe)])),ye(0x3,o[_0x4e476b(0x284)](G[_0x4e476b(0x258)])),ye(0x4,o[_0x4e476b(0x284)](oe[_0x4e476b(0x166)])),ye(0x5,o['Inject'](W['RangeProtectionCache'])),ye(0x6,o[_0x4e476b(0x284)](o[_0x4e476b(0x18f)])),ye(0x7,o['Inject'](G[_0x4e476b(0x154)]))],qe);function vn(_0x3fdca0,_0x3efabd,_0x5e2537,_0xf63c26){if(o['isValidRange'](_0x3fdca0)){const _0x1f14a8=_0x3efabd['addShapeWithNoFresh']({'range':_0x3fdca0,'style':{'fill':_0xf63c26,'strokeWidth':0x1,'stroke':_0x5e2537,'widgets':{}},'primary':null},void 0x0,-0xa);if(_0x1f14a8)return _0x1f14a8;}}function ln(_0x3214de,_0x363641){const _0x1abf32=_0x4e476b,_0x3a4a97=[],_0x3c65a8=new Set();function _0x1d2cf1(_0x1caaa2,_0x293dbb){const _0xb570d9=_0x3f41;var _0x55fe25;return!!((_0x55fe25=_0x3214de[_0x1caaa2])!=null&&_0x55fe25[_0x293dbb]&&!_0x3c65a8[_0xb570d9(0x20a)](_0x1caaa2+'-'+_0x293dbb));}function _0x5f59bc(_0x18ec31,_0x4300c9){const _0x3be109=_0x3f41,_0x51a316=[[_0x18ec31,_0x4300c9]],_0xe0cc46=[],_0x2c0ffd=new Set(),_0xe15444=new Set();for(;_0x51a316[_0x3be109(0x2e0)]>0x0;){const [_0x2bd2d4,_0x326af]=_0x51a316[_0x3be109(0x134)](),_0x13c571=_0x2bd2d4+'-'+_0x326af;if(_0x3c65a8[_0x3be109(0x20a)](_0x13c571))continue;_0x3c65a8[_0x3be109(0x2be)](_0x13c571),_0xe0cc46[_0x3be109(0x2fc)]([_0x2bd2d4,_0x326af]);const _0x872b6a=_0x363641[_0x3be109(0x175)](_0x2bd2d4,_0x326af);if(_0x872b6a){for(let _0x44af0c=_0x872b6a[_0x3be109(0x2ee)];_0x44af0c<=_0x872b6a['endRow'];_0x44af0c++)for(let _0x2a1972=_0x872b6a[_0x3be109(0x29e)];_0x2a1972<=_0x872b6a[_0x3be109(0x210)];_0x2a1972++){const _0x529f52=_0x44af0c+'-'+_0x2a1972;_0x3c65a8[_0x3be109(0x2be)](_0x529f52),_0xe0cc46[_0x3be109(0x2fc)]([_0x44af0c,_0x2a1972]);}continue;}for(const [_0xab77d4,_0x27b412]of[[0x0,0x1],[0x1,0x0],[0x0,-0x1],[-0x1,0x0]]){const _0x44a41f=_0x2bd2d4+_0xab77d4,_0x42bcf3=_0x326af+_0x27b412;_0x1d2cf1(_0x44a41f,_0x42bcf3)&&_0x51a316[_0x3be109(0x2fc)]([_0x44a41f,_0x42bcf3]);}}for(const [_0x4ce1cf,_0x3d5fce]of _0xe0cc46){const _0x3ce3b7=_0xe0cc46[_0x3be109(0x1e2)](([_0x4268d2,_0x1e8c01])=>_0x4268d2===_0x4ce1cf&&_0x1e8c01!==_0x3d5fce),_0x144acb=_0xe0cc46[_0x3be109(0x1e2)](([_0x174cee,_0x5cdc75])=>_0x5cdc75===_0x3d5fce&&_0x174cee!==_0x4ce1cf);_0x3ce3b7&&!_0x144acb?_0x2c0ffd[_0x3be109(0x2be)](_0x4ce1cf+'-'+_0x3d5fce):_0x144acb&&!_0x3ce3b7?_0xe15444[_0x3be109(0x2be)](_0x4ce1cf+'-'+_0x3d5fce):_0x3ce3b7&&_0x144acb?_0x2c0ffd[_0x3be109(0x2be)](_0x4ce1cf+'-'+_0x3d5fce):_0x3a4a97['push']({'startRow':_0x4ce1cf,'endRow':_0x4ce1cf,'startColumn':_0x3d5fce,'endColumn':_0x3d5fce});}const _0x1774e3=_0x38592b(_0x2c0ffd),_0x501902=_0x38592b(_0xe15444);return[..._0x1774e3,..._0x501902];}function _0x38592b(_0x2c1dd6){const _0x4b0b25=_0x3f41,_0x3d2974=[],_0x1c01a9=new Set();for(const _0x2b95f3 of _0x2c1dd6){if(_0x1c01a9[_0x4b0b25(0x20a)](_0x2b95f3))continue;const [_0x1ee14c,_0xd57624]=_0x2b95f3[_0x4b0b25(0x1d0)]('-')[_0x4b0b25(0x2ed)](Number);let _0x331762=_0x1ee14c,_0x2e9dfb=_0x1ee14c,_0x29f1ce=_0xd57624,_0x5e27b6=_0xd57624;const _0x5aeb1b=[[_0x1ee14c,_0xd57624]];for(;_0x5aeb1b[_0x4b0b25(0x2e0)]>0x0;){const [_0x4d4c69,_0x4732da]=_0x5aeb1b[_0x4b0b25(0x134)](),_0x37c25c=_0x4d4c69+'-'+_0x4732da;if(!(_0x1c01a9[_0x4b0b25(0x20a)](_0x37c25c)||!_0x2c1dd6[_0x4b0b25(0x20a)](_0x37c25c))){_0x1c01a9[_0x4b0b25(0x2be)](_0x37c25c),_0x331762=Math[_0x4b0b25(0x282)](_0x331762,_0x4d4c69),_0x2e9dfb=Math[_0x4b0b25(0x1de)](_0x2e9dfb,_0x4d4c69),_0x29f1ce=Math[_0x4b0b25(0x282)](_0x29f1ce,_0x4732da),_0x5e27b6=Math['max'](_0x5e27b6,_0x4732da);for(const [_0x3d551c,_0x805e54]of[[0x0,0x1],[0x1,0x0],[0x0,-0x1],[-0x1,0x0]]){const _0x4843c6=_0x4d4c69+_0x3d551c,_0xb95dc0=_0x4732da+_0x805e54,_0x58e056=_0x4843c6+'-'+_0xb95dc0;_0x2c1dd6['has'](_0x58e056)&&!_0x1c01a9[_0x4b0b25(0x20a)](_0x58e056)&&_0x5aeb1b[_0x4b0b25(0x2fc)]([_0x4843c6,_0xb95dc0]);}}}_0x3d2974[_0x4b0b25(0x2fc)]({'startRow':_0x331762,'endRow':_0x2e9dfb,'startColumn':_0x29f1ce,'endColumn':_0x5e27b6});}return _0x3d2974;}for(const _0xc7eb92 in _0x3214de){const _0x489e0e=Number[_0x1abf32(0x22e)](_0xc7eb92,0xa);for(const _0xce6759 in _0x3214de[_0x489e0e]){const _0x324db5=Number['parseInt'](_0xce6759,0xa),_0x11015c=_0x489e0e+'-'+_0x324db5;if(!_0x3c65a8[_0x1abf32(0x20a)](_0x11015c)){const _0x1c9e0e=_0x5f59bc(_0x489e0e,_0x324db5);_0x3a4a97[_0x1abf32(0x2fc)](..._0x1c9e0e);}}}return _0x3a4a97;}var Ct=Object[_0x4e476b(0x29f)],kt=(_0x379e00,_0x11553e,_0x2de9d1,_0x237996)=>{const _0x5f46eb=_0x4e476b;for(var _0x144943=_0x237996>0x1?void 0x0:_0x237996?Ct(_0x11553e,_0x2de9d1):_0x11553e,_0x3ba6d0=_0x379e00[_0x5f46eb(0x2e0)]-0x1,_0x4573a6;_0x3ba6d0>=0x0;_0x3ba6d0--)(_0x4573a6=_0x379e00[_0x3ba6d0])&&(_0x144943=_0x4573a6(_0x144943)||_0x144943);return _0x144943;},be=(_0x1b5c91,_0x5680a2)=>(_0x465dcc,_0x5a84f2)=>_0x5680a2(_0x465dcc,_0x5a84f2,_0x1b5c91);function _0x3f41(_0x113492,_0x3f7a95){const _0x17f0d8=_0x17f0();return _0x3f41=function(_0x3f41ee,_0x1bb59b){_0x3f41ee=_0x3f41ee-0x126;let _0x46379a=_0x17f0d8[_0x3f41ee];return _0x46379a;},_0x3f41(_0x113492,_0x3f7a95);}let Je=class extends o[_0x4e476b(0x2a2)]{constructor(_0x400fbc,_0x44e3a6,_0x1c018b,_0x2ff62e,_0x3c1f72,_0x166de7){const _0x54d7ab=_0x4e476b;super(),this[_0x54d7ab(0x265)]=_0x400fbc,this[_0x54d7ab(0x1db)]=_0x44e3a6,this[_0x54d7ab(0x2e8)]=_0x1c018b,this['_sheetsSelectionsService']=_0x2ff62e,this[_0x54d7ab(0x319)]=_0x3c1f72,this[_0x54d7ab(0x1bf)]=_0x166de7,this[_0x54d7ab(0x2b9)]();}[_0x4e476b(0x2b9)](){const _0x199f7e=_0x4e476b;this[_0x199f7e(0x1ed)](this[_0x199f7e(0x265)][_0x199f7e(0x20d)](_0x17e16d=>{const _0x473888=_0x199f7e;if(_0x17e16d['id']===u['AddSheetSparklineCommand']['id']){const _0x435725=_0x17e16d[_0x473888(0x30f)],{targetRanges:_0x3884dd,targetInfo:_0x3360e1}=_0x435725,{unitId:_0x229d4b,subUnitId:_0x8d9e63}=_0x3360e1;this[_0x473888(0x2e8)][_0x473888(0x171)]({'workbookTypes':[W['WorkbookEditablePermission']],'worksheetTypes':[W['WorksheetEditPermission']],'rangeTypes':[W[_0x473888(0x240)]]},_0x3884dd,_0x229d4b,_0x8d9e63)||this[_0x473888(0x2e8)][_0x473888(0x252)](this[_0x473888(0x1db)]['t']('permission.dialog.editErr'));}else{if(_0x17e16d['id']===u[_0x473888(0x1cd)]['id']){const _0x48780f=_0x17e16d[_0x473888(0x30f)],{isChangeDataSource:_0x181007,changeDataSourceInfo:_0x36fa08}=_0x48780f,_0x3564ab=W['getSheetCommandTarget'](this[_0x473888(0x319)]);if(!_0x3564ab)return;const _0x393913=this[_0x473888(0x2aa)][_0x473888(0x2c9)]()[_0x473888(0x2ed)](_0xdaaf13=>_0xdaaf13[_0x473888(0x30b)]),{unitId:_0x139d55,subUnitId:_0x3c7d94}=_0x3564ab;if(_0x181007){if(_0x36fa08){const {targetRanges:_0xe2d065,sourceRanges:_0x319547,resetType:_0x110518}=_0x36fa08,_0x285a80=_0x110518===_0x473888(0x26c)?_0xe2d065:[..._0x319547,..._0xe2d065];this[_0x473888(0x2e8)]['permissionCheckWithRanges']({'workbookTypes':[W['WorkbookEditablePermission']],'worksheetTypes':[W[_0x473888(0x2ff)]],'rangeTypes':[W[_0x473888(0x240)]]},_0x285a80,_0x139d55,_0x3c7d94)||this[_0x473888(0x2e8)]['blockExecuteWithoutPermission'](this['_localeService']['t']('permission.dialog.editErr'));}}else{const _0x15af53=new Set();_0x393913[_0x473888(0x1e1)](_0x7c2201=>{const _0x100a54=_0x473888;o[_0x100a54(0x1d3)][_0x100a54(0x315)](_0x7c2201,(_0x24bbea,_0x40ae43)=>{const _0x13eaed=_0x100a54,_0x75bb42=this[_0x13eaed(0x1bf)][_0x13eaed(0x2b0)](_0x139d55,_0x3c7d94,_0x24bbea,_0x40ae43);_0x75bb42&&this[_0x13eaed(0x1bf)][_0x13eaed(0x1e6)](_0x139d55,_0x3c7d94,_0x75bb42)&&_0x15af53[_0x13eaed(0x2be)](_0x75bb42);});});const _0x47c8eb=[];_0x15af53[_0x473888(0x1e1)](_0x2fdd74=>{const _0x4fb1ca=_0x473888,_0x3905ee=this[_0x4fb1ca(0x1bf)][_0x4fb1ca(0x1e6)](_0x139d55,_0x3c7d94,_0x2fdd74);_0x3905ee&&_0x47c8eb[_0x4fb1ca(0x2fc)](...ln(_0x3905ee[_0x4fb1ca(0x2ec)][_0x4fb1ca(0x1d7)](),_0x3564ab[_0x4fb1ca(0x1c2)]));}),this[_0x473888(0x2e8)]['permissionCheckWithRanges']({'workbookTypes':[W[_0x473888(0x172)]],'worksheetTypes':[W[_0x473888(0x2ff)]],'rangeTypes':[W['RangeProtectionPermissionEditPoint']]},_0x47c8eb,_0x139d55,_0x3c7d94)||this[_0x473888(0x2e8)][_0x473888(0x252)](this[_0x473888(0x1db)]['t'](_0x473888(0x1e5)));}}else{if(_0x17e16d['id']===u[_0x473888(0x231)]['id']){const _0xeb3be3=_0x17e16d[_0x473888(0x30f)],{isSingle:_0x4f9194}=_0xeb3be3;if(_0x4f9194)this[_0x473888(0x2e8)][_0x473888(0x171)]({'workbookTypes':[W[_0x473888(0x172)]],'worksheetTypes':[W[_0x473888(0x2ff)]],'rangeTypes':[W[_0x473888(0x240)]]})||this[_0x473888(0x2e8)][_0x473888(0x252)](this[_0x473888(0x1db)]['t'](_0x473888(0x1e5)));else{const _0x1d0589=W[_0x473888(0x2d2)](this['_univerInstanceService']);if(!_0x1d0589)return;const _0x4408ee=this['_sheetsSelectionsService'][_0x473888(0x2c9)]()[_0x473888(0x2ed)](_0x8d0167=>_0x8d0167[_0x473888(0x30b)]),{unitId:_0x5c5844,subUnitId:_0x305eb9}=_0x1d0589,_0x2d8ece=new Set();_0x4408ee[_0x473888(0x1e1)](_0x5158bb=>{const _0x4e3d7f=_0x473888;o['Range'][_0x4e3d7f(0x315)](_0x5158bb,(_0x1c9e0d,_0x587736)=>{const _0x496611=_0x4e3d7f,_0x1651f3=this[_0x496611(0x1bf)]['getSparkline'](_0x5c5844,_0x305eb9,_0x1c9e0d,_0x587736);_0x1651f3&&this[_0x496611(0x1bf)][_0x496611(0x1e6)](_0x5c5844,_0x305eb9,_0x1651f3)&&_0x2d8ece[_0x496611(0x2be)](_0x1651f3);});});const _0x384c34=[];_0x2d8ece['forEach'](_0x4a2b8d=>{const _0x32400a=_0x473888,_0x480fdc=this['_sparklineDataSourceModel']['getSparklineById'](_0x5c5844,_0x305eb9,_0x4a2b8d);_0x480fdc&&_0x384c34[_0x32400a(0x2fc)](...ln(_0x480fdc['sparklines'][_0x32400a(0x1d7)](),_0x1d0589['worksheet']));}),this[_0x473888(0x2e8)][_0x473888(0x171)]({'workbookTypes':[W[_0x473888(0x172)]],'worksheetTypes':[W[_0x473888(0x2ff)]],'rangeTypes':[W[_0x473888(0x240)]]},_0x384c34,_0x5c5844,_0x305eb9)||this[_0x473888(0x2e8)][_0x473888(0x252)](this['_localeService']['t'](_0x473888(0x1e5)));}}}}}));}};Je=kt([be(0x0,o[_0x4e476b(0x284)](o[_0x4e476b(0x18f)])),be(0x1,o[_0x4e476b(0x284)](o[_0x4e476b(0x302)])),be(0x2,o[_0x4e476b(0x284)](W[_0x4e476b(0x1f9)])),be(0x3,o[_0x4e476b(0x284)](W[_0x4e476b(0x24e)])),be(0x4,o[_0x4e476b(0x284)](o[_0x4e476b(0x2ab)])),be(0x5,o[_0x4e476b(0x284)](u[_0x4e476b(0x2fe)]))],Je);var yt=Object[_0x4e476b(0x29f)],Rt=(_0x4773fa,_0x5bf4ba,_0x5eacc9,_0x340d07)=>{const _0x40a0c3=_0x4e476b;for(var _0x4664f1=_0x340d07>0x1?void 0x0:_0x340d07?yt(_0x5bf4ba,_0x5eacc9):_0x5bf4ba,_0x3df8e0=_0x4773fa[_0x40a0c3(0x2e0)]-0x1,_0x5cedd5;_0x3df8e0>=0x0;_0x3df8e0--)(_0x5cedd5=_0x4773fa[_0x3df8e0])&&(_0x4664f1=_0x5cedd5(_0x4664f1)||_0x4664f1);return _0x4664f1;},Cn=(_0x3b5f9c,_0x3b57c1)=>(_0x35e950,_0x29d67d)=>_0x3b57c1(_0x35e950,_0x29d67d,_0x3b5f9c);function _0x17f0(){const _0xb04724=['jsx','RIGHT','onStarting','Module','univer-pb-4\x20univer-pl-4\x20univer-pt-2.5','RangeSelector','sheets-sparkline.panel.showZeroAxis','sheets-sparkline.selector.multSourceError','sheets-sparkline.panel.line','lineJoin','nonNumShowAs','circle','pasteType','entries','sheets-sparkline.panel.theme','intersects','onRendered','http://www.w3.org/2000/svg','_initComponents','M1.47168\x203.08148C1.47168\x202.01281\x202.33801\x201.14648\x203.40668\x201.14648C4.2659\x201.14648\x204.99432\x201.7065\x205.24684\x202.48145H11.4034C11.656\x201.7065\x2012.3844\x201.14648\x2013.2436\x201.14648C14.3123\x201.14648\x2015.1786\x202.01281\x2015.1786\x203.08148C15.1786\x203.94073\x2014.6185\x204.66917\x2013.8436\x204.92167V11.0782C14.6185\x2011.3307\x2015.1786\x2012.0592\x2015.1786\x2012.9184C15.1786\x2013.9871\x2014.3123\x2014.8534\x2013.2436\x2014.8534C12.3843\x2014.8534\x2011.6559\x2014.2933\x2011.4034\x2013.5184H5.24687C4.99437\x2014.2933\x204.26593\x2014.8534\x203.40668\x2014.8534C2.33801\x2014.8534\x201.47168\x2013.9871\x201.47168\x2012.9184C1.47168\x2012.0592\x202.0317\x2011.3308\x202.80664\x2011.0782V4.92165C2.0317\x204.66912\x201.47168\x203.9407\x201.47168\x203.08148ZM12.6436\x2011.0782C12.0575\x2011.2692\x2011.5944\x2011.7323\x2011.4034\x2012.3184H5.24684C5.05587\x2011.7323\x204.59271\x2011.2692\x204.00664\x2011.0782V4.92167C4.59274\x204.73071\x205.05591\x204.26754\x205.24687\x203.68145H11.4034C11.5944\x204.26752\x2012.0575\x204.73067\x2012.6436\x204.92165V11.0782ZM3.40668\x202.34648C3.00075\x202.34648\x202.67168\x202.67556\x202.67168\x203.08148C2.67168\x203.48741\x203.00075\x203.81648\x203.40668\x203.81648C3.81261\x203.81648\x204.14168\x203.48741\x204.14168\x203.08148C4.14168\x202.67556\x203.81261\x202.34648\x203.40668\x202.34648ZM13.2436\x2012.1834C12.8377\x2012.1834\x2012.5086\x2012.5125\x2012.5086\x2012.9184C12.5086\x2013.3243\x2012.8377\x2013.6534\x2013.2436\x2013.6534C13.6495\x2013.6534\x2013.9786\x2013.3243\x2013.9786\x2012.9184C13.9786\x2012.5125\x2013.6495\x2012.1834\x2013.2436\x2012.1834ZM2.67168\x2012.9184C2.67168\x2012.5125\x203.00075\x2012.1834\x203.40668\x2012.1834C3.81261\x2012.1834\x204.14168\x2012.5125\x204.14168\x2012.9184C4.14168\x2013.3243\x203.81261\x2013.6534\x203.40668\x2013.6534C3.00075\x2013.6534\x202.67168\x2013.3243\x202.67168\x2012.9184ZM13.2436\x202.34648C12.8377\x202.34648\x2012.5086\x202.67556\x2012.5086\x203.08148C12.5086\x203.48741\x2012.8377\x203.81648\x2013.2436\x203.81648C13.6495\x203.81648\x2013.9786\x203.48741\x2013.9786\x203.08148C13.9786\x202.67556\x2013.6495\x202.34648\x2013.2436\x202.34648Z','20GbDjRx','getMenuHiddenObservable','createElement','Rectangle','discreteRangeToRange','_sparklineDataSourceModel','UnitAction','forwardRef','worksheet','univer-mb-2\x20univer-text-sm','univer-size-4\x20univer-pr-1','url(#ungroup-sparkline-icon_clip0_1729_95)','sheets-sparkline.panel.moreSetting','touchDependencies','View','onCommandExecuted','useDependency','selectionMoveEnd$','sparklineAnchorMap','SetSheetSparklineCommand','univer-h-7\x20univer-flex-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-text-center\x20univer-text-sm\x20univer-leading-7','RibbonInsertGroup','split','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-cursor-default\x20univer-items-center\x20univer-rounded-lg\x20univer-bg-gray-50\x20dark:!univer-bg-gray-800','replace','Range','UNIVER_SHEET','closePath','sheets-sparkline.panel.pie','getMatrix','Dropdown','deepClone','univer-mb-3\x20univer-text-sm\x20univer-font-medium','_localeService','univer-mt-3','ContextMenuPosition','max','firstPoint','standard','forEach','some','registerCommand','strokeStyle','permission.dialog.editErr','getSparklineById','deserializeRangeWithSheet','univer-mb-2','LEFT','mask','use','58045pJYgEe','disposeWithMe','emptyShowAs','xlink:href','SparklinePointsNames','sheets-sparkline.panel.showNonNumAs','0\x200\x2016\x2016','PIE_CHART','fillStyle','sheets-sparkline.panel.showHidden','cellToRange','lineWidth','univer-flex-1','SheetPermissionCheckController','AddSheetSparklineMutation','PieChartIcon','_init','1088euRSdM','showRadius','includes','forValue','Radio','BAR_CHART','subUnitId','unitId','_context','CUT','clipPath','sheets-sparkline.panel.vertical','univer-mb-4\x20univer-box-content\x20univer-flex\x20univer-h-7\x20univer-w-full\x20univer-rounded-sm\x20univer-p-0.5','has','univer-mb-2\x20univer-text-sm\x20univer-text-gray-800\x20dark:!univer-text-gray-100','rgba(232,\x2095,\x2095,\x200.05)','beforeCommandExecuted','sheets-sparkline.panel.basic','CUSTOM','endColumn','SparklineThemeMapping','white','nonNum','write-icon','idSuffix','colorChannel1','univer-text-sm\x20univer-font-medium','sheets-sparkline.panel.compose','univer-mx-0\x20univer-my-2\x20univer-text-sm\x20univer-text-gray-500','UngroupSparklineIcon','sheets-sparkline.panel.itemMax','_dialogService','getInterceptPoints','arc','_sheetPrintInterceptorService','univer-flex\x20univer-items-center','fillRect','sheets-sparkline.panel.spacing','realDeleteValue','groupTargetRanges','M9.56654\x201.40506C9.72053\x201.29203\x209.91914\x201.25907\x2010.1014\x201.3163C12.2805\x202.00072\x2013.9997\x203.71989\x2014.6841\x205.899C14.7413\x206.08125\x2014.7083\x206.27986\x2014.5953\x206.43384C14.4823\x206.58783\x2014.3027\x206.67879\x2014.1116\x206.67879H10.0216C9.635\x206.67879\x209.3216\x206.36539\x209.3216\x205.97879V1.88873C9.3216\x201.69771\x209.41256\x201.5181\x209.56654\x201.40506ZM10.5216\x202.77012V5.47879H13.2303C12.6601\x204.29855\x2011.7018\x203.34027\x2010.5216\x202.77012Z','univer-flex\x20univer-w-full\x20univer-rounded-lg\x20!univer-bg-gray-50\x20univer-p-0\x20dark:!univer-bg-gray-900','RangeProtectionCache','unsubscribe','getSparklineCache','primary','realUnion','auditTime','sheets-sparkline.panel.marker','parseInt','advanced','sheets-sparkline.panel.type','RemoveSheetSparklineCommand','contains','DOWN','type','showMin','Injector','sheets-sparkline.panel.negativePoint','_config','ContextMenuGroup','_initRegisterCommand','sheets-sparkline.panel.customMax','div','1944366QGsZFW','random','_injector','RangeProtectionPermissionEditPoint','addClipboardHook','config','univer-truncate\x20univer-text-sm\x20univer-leading-tight\x20univer-text-gray-900\x20dark:!univer-text-white','highPoint','sheets-sparkline.panel.','groupSourceRanges','_targetIds','abs','sheets-sparkline.panel.sourceAndPosition','M2.54552\x200.733398C1.54471\x200.733398\x200.733398\x201.54471\x200.733398\x202.54552C0.733398\x203.33614\x201.23972\x204.0085\x201.9458\x204.25604V7.50149C1.23972\x207.74903\x200.733398\x208.4214\x200.733398\x209.21202C0.733398\x2010.2128\x201.54471\x2011.0241\x202.54552\x2011.0241C3.33593\x2011.0241\x204.00815\x2010.5181\x204.25585\x209.81228H6.18799V11.7442C5.48191\x2011.9917\x204.97559\x2012.6641\x204.97559\x2013.4547C4.97559\x2014.4555\x205.7869\x2015.2668\x206.7877\x2015.2668C7.57829\x2015.2668\x208.25064\x2014.7605\x208.4982\x2014.0545H11.7442C11.9918\x2014.7605\x2012.6641\x2015.2668\x2013.4547\x2015.2668C14.4555\x2015.2668\x2015.2668\x2014.4555\x2015.2668\x2013.4547C15.2668\x2012.6641\x2014.7605\x2011.9918\x2014.0545\x2011.7442V8.4982C14.7605\x208.25064\x2015.2668\x207.57829\x2015.2668\x206.7877C15.2668\x205.7869\x2014.4555\x204.97559\x2013.4547\x204.97559C12.6641\x204.97559\x2011.9917\x205.48191\x2011.7442\x206.18799H9.81228V4.25585C10.5181\x204.00815\x2011.0241\x203.33593\x2011.0241\x202.54552C11.0241\x201.54471\x2010.2128\x200.733398\x209.21202\x200.733398C8.42158\x200.733398\x207.74934\x201.23949\x207.50166\x201.94531H4.25587C4.00819\x201.23949\x203.33595\x200.733398\x202.54552\x200.733398ZM12.8545\x208.49806C12.3365\x208.3163\x2011.9261\x207.90593\x2011.7444\x207.38799H9.81228V8.21228C9.81228\x209.09594\x209.09594\x209.81228\x208.21228\x209.81228H7.38799V11.7444C7.90593\x2011.9261\x208.3163\x2012.3365\x208.49806\x2012.8545H11.7443C11.9261\x2012.3365\x2012.3365\x2011.9261\x2012.8545\x2011.7443V8.49806ZM3.1458\x207.50169V4.25584C3.66388\x204.07402\x204.07433\x203.66346\x204.25601\x203.14531H7.50152C7.68327\x203.66364\x208.09395\x204.07431\x208.61228\x204.25603V8.21228C8.61228\x208.4332\x208.4332\x208.61228\x208.21228\x208.61228H6.84486C6.82614\x208.61052\x206.80717\x208.60962\x206.78799\x208.60962C6.76881\x208.60962\x206.74984\x208.61052\x206.73112\x208.61228H4.25603C4.07436\x208.09411\x203.6639\x207.68353\x203.1458\x207.50169ZM2.5458\x208.60012L2.53418\x208.60001C2.20135\x208.60605\x201.9334\x208.87774\x201.9334\x209.21202C1.9334\x209.55008\x202.20745\x209.82414\x202.54552\x209.82414C2.88358\x209.82414\x203.15763\x209.55008\x203.15763\x209.21202C3.15763\x208.87784\x202.88984\x208.60621\x202.55714\x208.60001L2.5458\x208.60012ZM9.21202\x203.15763C8.87805\x203.15763\x208.60654\x202.89017\x208.60002\x202.55776L8.60015\x202.54531L8.60003\x202.53311C8.60663\x202.20077\x208.8781\x201.9334\x209.21202\x201.9334C9.55008\x201.9334\x209.82414\x202.20745\x209.82414\x202.54552C9.82414\x202.88358\x209.55008\x203.15763\x209.21202\x203.15763ZM1.9334\x202.54552C1.9334\x202.20745\x202.20745\x201.9334\x202.54552\x201.9334C2.88358\x201.9334\x203.15763\x202.20745\x203.15763\x202.54552C3.15763\x202.88358\x202.88358\x203.15763\x202.54552\x203.15763C2.20745\x203.15763\x201.9334\x202.88358\x201.9334\x202.54552ZM12.8426\x2013.4547C12.8426\x2013.1166\x2013.1166\x2012.8426\x2013.4547\x2012.8426C13.7928\x2012.8426\x2014.0668\x2013.1166\x2014.0668\x2013.4547C14.0668\x2013.7928\x2013.7928\x2014.0668\x2013.4547\x2014.0668C13.1166\x2014.0668\x2012.8426\x2013.7928\x2012.8426\x2013.4547ZM6.17559\x2013.4547C6.17559\x2013.1166\x206.44964\x2012.8426\x206.7877\x2012.8426C7.12576\x2012.8426\x207.39982\x2013.1166\x207.39982\x2013.4547C7.39982\x2013.7928\x207.12576\x2014.0668\x206.7877\x2014.0668C6.44964\x2014.0668\x206.17559\x2013.7928\x206.17559\x2013.4547ZM12.8426\x206.7877C12.8426\x206.44964\x2013.1166\x206.17559\x2013.4547\x206.17559C13.7928\x206.17559\x2014.0668\x206.44964\x2014.0668\x206.7877C14.0668\x207.12576\x2013.7928\x207.39982\x2013.4547\x207.39982C13.1166\x207.39982\x2012.8426\x207.12576\x2012.8426\x206.7877Z','ZERO_VALUE','univer-mb-5\x20univer-text-sm','#000','SheetsSelectionsService','#f00c0c','0\x200\x2017\x2016','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-justify-between','blockExecuteWithoutPermission','_componentManager','_initAutoFillWithSparkline','sheets-sparkline.panel.removeItem','merge','getDataRange','ISidebarService','#49B811','_renderManagerService','string','assign','markersPoint','SELF_EXTREMUM','u-connect','showGradient','DEFAULT_PASTE','executeCommand','Checkbox','M12.6551\x201.98906C11.7476\x201.08113\x2010.2757\x201.08149\x209.3686\x201.98987L4.82542\x206.53955C4.75087\x206.61421\x204.69336\x206.70411\x204.65682\x206.80309L3.2461\x2010.625C3.16506\x2010.8446\x203.21909\x2011.0912\x203.3845\x2011.2568C3.54991\x2011.4224\x203.79651\x2011.4767\x204.01616\x2011.3959L7.85031\x209.98517C7.94979\x209.94856\x208.04014\x209.89077\x208.11508\x209.81579L12.6552\x205.27327C13.5618\x204.36621\x2013.5618\x202.89607\x2012.6551\x201.98906ZM10.2177\x202.83779C10.6562\x202.39869\x2011.3677\x202.39851\x2011.8064\x202.8374C12.2447\x203.27584\x2012.2447\x203.9865\x2011.8065\x204.42497L7.3392\x208.89457L4.82213\x209.82068L5.74706\x207.31487L10.2177\x202.83779Z','_commandService','toStringTag','LineSparklineIcon','symbol','1px','get','M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','item','_menuManagerService','PRINTING_RANGE','univer-cursor-pointer','STANDARD','BUTTON','serializeRange','CONNECT_WITH_LINE','useEffect','445458lypabW','sheets-sparkline.panel.showEmptyAs','10992888mpEbqi','empty','IRenderManagerService','join','ColorPicker','LAYOUT','GROUP_EXTREMUM','SparklineExtremumTypeEnum','SHEET_SPARKLINE_MENU','sheets-sparkline.panel.horizontal','Plugin','min','ColumnSparklineIcon','Inject','pipe','3239060IWZAfp','defineProperty','endRow','switchMap','sparklineModel','_initSelectionMove','clip','M4.75332\x205.22217C3.86966\x205.22217\x203.15332\x205.93851\x203.15332\x206.82217V12.5331C3.15332\x2013.9691\x204.31738\x2015.1332\x205.75332\x2015.1332H10.2465C11.6825\x2015.1332\x2012.8465\x2013.9691\x2012.8465\x2012.5331V6.82217C12.8465\x205.93851\x2012.1302\x205.22217\x2011.2465\x205.22217H4.75332ZM4.35332\x206.82217C4.35332\x206.60125\x204.53241\x206.42217\x204.75332\x206.42217H11.2465C11.4674\x206.42217\x2011.6465\x206.60125\x2011.6465\x206.82217V12.5331C11.6465\x2013.3063\x2011.0197\x2013.9332\x2010.2465\x2013.9332H5.75332C4.98012\x2013.9332\x204.35332\x2013.3063\x204.35332\x2012.5331V6.82217Z','UniverIcon','NaN','#B4A0E5','Fragment','sheets-sparkline.panel.lineWidth','size','SetWorksheetActiveOperation','InputNumber','delete-icon','equals','sheets-sparkline.panel.profitAndLoss','sheets-sparkline.panel.lowPoint','univer-size-5','currentColor','sheets-sparkline.panel.itemMin','basic','startColumn','getOwnPropertyDescriptor','M6.12398\x208.30171C6.35829\x208.0674\x206.73819\x208.0674\x206.97251\x208.30171L8.00007\x209.32928L9.02764\x208.30171C9.26195\x208.0674\x209.64185\x208.0674\x209.87617\x208.30171C10.1105\x208.53603\x2010.1105\x208.91593\x209.87617\x209.15024L8.8486\x2010.1778L9.87617\x2011.2054C10.1105\x2011.4397\x2010.1105\x2011.8196\x209.87617\x2012.0539C9.64185\x2012.2882\x209.26195\x2012.2882\x209.02764\x2012.0539L8.00007\x2011.0263L6.97251\x2012.0539C6.73819\x2012.2882\x206.35829\x2012.2882\x206.12398\x2012.0539C5.88966\x2011.8196\x205.88966\x2011.4397\x206.12398\x2011.2054L7.15154\x2010.1778L6.12398\x209.15024C5.88966\x208.91593\x205.88966\x208.53603\x206.12398\x208.30171Z','from','Disposable','AddSheetSparklineCommand','univer-text-xs\x20univer-text-red-500','DATA','sheets-sparkline.panel.lastPoint','groupId','useRef','evenodd','_sheetsSelectionsService','IUniverInstanceService','sheets-sparkline.selector.setTarget','sheets-sparkline.selector.setSource','useState','univer-bg-pruniver-text-primary-600\x20univer-absolute\x20univer-bottom-0\x20univer-h-0.5\x20univer-w-full\x20univer-rounded-sm\x20univer-transition-transform\x20univer-duration-300\x20univer-ease-in-out','getSparkline','sheets-sparkline.selector.changeType','univer-ml-3\x20univer-h-6\x20univer-w-14','intercept','stroke','mergeInfo','axis','_sheetSelectionService','themeType','_initPermissionWithSparkline','3px','subscribe','sheets-sparkline.selector.targetError','M1.79238\x2013.2999C1.46101\x2013.2999\x201.19238\x2013.5685\x201.19238\x2013.8999C1.19238\x2014.2313\x201.46101\x2014.4999\x201.79238\x2014.4999H14.4924C14.8238\x2014.4999\x2015.0924\x2014.2313\x2015.0924\x2013.8999C15.0924\x2013.5685\x2014.8238\x2013.2999\x2014.4924\x2013.2999H1.79238Z','add','clone','ISheetClipboardService','ColorKit','sheets-sparkline.title','points','toString','SparklineTypeEnum','close','group-sparkline-icon','sheets-sparkline.panel.zeroValue','getCurrentSelections','children','updateConfig$','u-spacing','_initClipboardWithSparkline','targetRanges','sheets-sparkline.panel.sparklineColor','sheets-sparkline.panel.min','WriteIcon','getSheetCommandTarget','actualRow','Select','seriesColor','IAutoFillService','setConfig','sheets-sparkline.panel.groupMin','filter','rect','PREDEFINED_HOOK_NAME','pie-chart-icon_clip0_1644_114','rows','getColVisible','jsxs','length','sheets-sparkline.panel.reverse','matrix','univer-rounded-tl-0.5\x20univer-rounded-bl-0.5\x20univer-h-4\x20univer-w-6','isValidRange','useMemo','svg','restore','_sheetPermissionCheckController','95qsOuBU','lowPoint','url(#$1','sparklines','map','startRow','value','UniverSheetsGraphicsPlugin','SHEET_SPARKLINE_PANEL_ID','_rangeProtectionCache','generateRandomId','#FF6384','_registerRenderer','_markSelectionService','clsx','mergeMenu','getSubUnitSparkline','M5.3313\x201.4667C5.3313\x201.13533\x205.59993\x200.866699\x205.9313\x200.866699H10.069C10.4004\x200.866699\x2010.669\x201.13533\x2010.669\x201.4667C10.669\x201.79807\x2010.4004\x202.0667\x2010.069\x202.0667H5.9313C5.59993\x202.0667\x205.3313\x201.79807\x205.3313\x201.4667Z','MenuItemType','push','transparent','SparklineDataSourceModel','WorksheetEditPermission','fill','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','LocaleService','univer-mt-2','containHiddenCells','color','Button','group','sheets-sparkline.selector.cancel','univer-p-4','M1.26318\x209.08291C1.26318\x208.19925\x201.97953\x207.48291\x202.86318\x207.48291H3.86318C4.74684\x207.48291\x205.46318\x208.19925\x205.46318\x209.08291V13.0829C5.46318\x2013.9666\x204.74684\x2014.6829\x203.86318\x2014.6829H2.86318C1.97953\x2014.6829\x201.26318\x2013.9666\x201.26318\x2013.0829V9.08291ZM2.86318\x208.68291C2.64227\x208.68291\x202.46318\x208.862\x202.46318\x209.08291V13.0829C2.46318\x2013.3038\x202.64227\x2013.4829\x202.86318\x2013.4829H3.86318C4.0841\x2013.4829\x204.26318\x2013.3038\x204.26318\x2013.0829V9.08291C4.26318\x208.862\x204.0841\x208.68291\x203.86318\x208.68291H2.86318Z','range','Tools','M7.40023\x202.22624C4.47633\x202.5265\x202.19561\x204.99701\x202.19561\x208.00023C2.19561\x2011.206\x204.79442\x2013.8048\x208.00023\x2013.8048C11.0034\x2013.8048\x2013.474\x2011.5241\x2013.7742\x208.60023H9.60023C8.3852\x208.60023\x207.40023\x207.61525\x207.40023\x206.40023V2.22624ZM0.995605\x208.00023C0.995605\x204.13168\x204.13168\x200.995605\x208.00023\x200.995605C8.3316\x200.995605\x208.60023\x201.26423\x208.60023\x201.59561V6.40023C8.60023\x206.95251\x209.04794\x207.40023\x209.60023\x207.40023H14.4049C14.7362\x207.40023\x2015.0049\x207.66886\x2015.0049\x208.00023C15.0049\x2011.8688\x2011.8688\x2015.0049\x208.00023\x2015.0049C4.13168\x2015.0049\x200.995605\x2011.8688\x200.995605\x208.00023Z','setValue','params','transformRange','M8.92204\x2011.2255C8.43208\x2011.779\x207.56829\x2011.779\x207.07833\x2011.2255L4.13584\x207.9017C3.43246\x207.10716\x203.99655\x205.85442\x205.0577\x205.85442L10.9427\x205.85442C12.0038\x205.85442\x2012.5679\x207.10716\x2011.8645\x207.9017L8.92204\x2011.2255Z','LINE_CHART','_configService','IMenuManagerService','foreach','extremumMax','UniverSheetSparklineUIPlugin','sheet.operation.open-sparkline-panel','_univerInstanceService','sheets-sparkline.selector.resetSourceError','COPY','mainComponent','univer-box-border\x20univer-flex\x20univer-h-8\x20univer-w-full\x20univer-flex-1\x20univer-items-center\x20univer-justify-between\x20univer-p-3\x20univer-leading-8','sheets-sparkline.panel.radius','rgb(64,\x20159,\x2017)','endGradient','extra','pie-chart-icon','cellSourceRanges','CUSTOM_EXTREMUM','_autoFillService','M1.09985\x203.64443C1.09985\x203.31306\x201.36848\x203.04443\x201.69985\x203.04443H14.2999C14.6312\x203.04443\x2014.8999\x203.31306\x2014.8999\x203.64443C14.8999\x203.9758\x2014.6312\x204.24443\x2014.2999\x204.24443H1.69985C1.36848\x204.24443\x201.09985\x203.9758\x201.09985\x203.64443Z','getCellInfo','SPACING','univer-rounded-tl-0.5\x20univer-rounded-bl-0.5\x20univer-mr-2\x20univer-h-4\x20univer-w-6','#FF9F40','ObjectMatrix','beginPath','more-down-icon','SUBITEMS','ungroup-sparkline-icon_clip0_1729_95','winloss-sparkline-icon','sheets-sparkline.panel.groupMax','ComponentManager','M0\x200H16V16H0z','defIds','shift','path','round','sheet.sparkline.context-menu-id','#FFCE56','getCurrentRangeDisable$','UniverInstanceType','useObservable','Direction','2px','toNativeArray','_sidebarService','SpacialShowAsEnum','actualColumn','sheets-sparkline.selector.sparkline','M10.5366\x209.08291C10.5366\x208.19925\x2011.253\x207.48291\x2012.1366\x207.48291H13.1366C14.0203\x207.48291\x2014.7366\x208.19925\x2014.7366\x209.08291V13.0829C14.7366\x2013.9666\x2014.0203\x2014.6829\x2013.1366\x2014.6829H12.1366C11.253\x2014.6829\x2010.5366\x2013.9666\x2010.5366\x2013.0829V9.08291ZM12.1366\x208.68291C11.9157\x208.68291\x2011.7366\x208.862\x2011.7366\x209.08291V13.0829C11.7366\x2013.3038\x2011.9157\x2013.4829\x2012.1366\x2013.4829H13.1366C13.3575\x2013.4829\x2013.5366\x2013.3038\x2013.5366\x2013.0829V9.08291C13.5366\x208.862\x2013.3575\x208.68291\x2013.1366\x208.68291H12.1366Z','register','ONLY_FORMAT','Edit','#REF!','_sourceIds','values','univer-relative\x20univer-flex\x20univer-h-full\x20univer-cursor-pointer\x20univer-flex-col\x20univer-font-medium\x20univer-leading-7','sheets-sparkline.selector.title','rgb(0,\x200,\x200)','sheets-sparkline.panel.gradient','showMax','getUnitId','_sheetGraphicsRenderController','sheet.operation.open-sparkline-selector','cellTargetRanges','_initWorksheetChange','IDialogService','univer-flex\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-rounded-sm','reverse','_sheetClipboardService','keys','visible','lineTo','registerRenderModule','moveTo','univer-mr-0.5\x20univer-mt-0.5','APPLY_TYPE','trim','borderBottomClassName','SHEET_SPARKLINE_UI_PLUGIN','MEDIA','negativePoint','RadioGroup','CommandType','IMarkSelectionService','univer-absolute\x20univer-bottom-0\x20univer-h-0.5\x20univer-w-full\x20univer-rounded-sm\x20univer-bg-primary-600\x20univer-transition-transform\x20univer-duration-300\x20univer-ease-in-out','getSizeOf','save','RemoveSheetSparklineMutation','SHEET_SPARKLINE_PANEL','sheets-sparkline.panel.advanced','interceptor','1em','45654qnwZal','displayName','permissionCheckWithRanges','WorkbookEditablePermission','attrs','_initMenu','getMergedCell','refreshShapes','SHEET_SPARKLINE_SELECTOR','defs','sheets-sparkline.panel.composeManager','borderClassName','sheets-sparkline.panel.title','GroupSparklineIcon','menu','sheets-sparkline-ui.config','distinctUntilChanged','getValue','sheets-sparkline.remove','number','removeShape','MoreRightIcon','univer-m-0.5\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20univer-text-center\x20univer-leading-8','ROW_HEADER','span','cols','#ffffff','PointColorDoubleIcon','6237740tSqqGa','none','4px','SparklineThemeTypeEnum','ICommandService','extremumMin','toHexString','univer-flex\x20univer-justify-between','sheets-sparkline.panel.markersPoint','arcTo','univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-gap-3\x20univer-p-3\x20univer-text-xs','MoreDownIcon','univer-flex\x20univer-justify-end\x20univer-gap-2','dispose','univer-max-w-[290px]\x20univer-pb-4\x20univer-text-gray-900\x20dark:!univer-text-white','combineLatest','useCallback','SHEET_SPARKLINE_RENDERER','tag','sheets-sparkline.edit','OPERATION','univer-mb-2\x20univer-flex\x20univer-w-full\x20univer-justify-between','sheets-sparkline.panel.firstPoint','sheets-sparkline.panel.unCompose','COPY_TYPE','PROFIT_AND_LOSS_CHART','lastPoint'];_0x17f0=function(){return _0xb04724;};return _0x17f0();}let Qe=class extends o[_0x4e476b(0x2a2)]{constructor(_0x14fd8a,_0x45513c){const _0x4ab335=_0x4e476b;super(),this['_sheetPrintInterceptorService']=_0x14fd8a,this[_0x4ab335(0x1bf)]=_0x45513c,this[_0x4ab335(0x1fc)]();}[_0x4e476b(0x1fc)](){const _0x7ebb4e=_0x4e476b;this[_0x7ebb4e(0x1ed)](this[_0x7ebb4e(0x21f)][_0x7ebb4e(0x16d)][_0x7ebb4e(0x2b3)](this[_0x7ebb4e(0x21f)][_0x7ebb4e(0x16d)][_0x7ebb4e(0x21d)]()[_0x7ebb4e(0x26e)],{'handler':(_0x4b6c6e,_0x5b9109,_0x3c6803)=>{const _0xc28ffa=_0x7ebb4e,{unitId:_0xe3dd6f,subUnitId:_0x779916}=_0x5b9109,_0x453ef5=this['_sparklineDataSourceModel'][_0xc28ffa(0x2f9)](_0xe3dd6f,_0x779916);let _0xf106b4=_0x4b6c6e;return _0x453ef5&&Array[_0xc28ffa(0x2a1)](_0x453ef5[_0xc28ffa(0x149)]())[_0xc28ffa(0x1e1)](_0x525c46=>{const _0x21b33f=_0xc28ffa,_0x2661d8=_0x525c46[_0x21b33f(0x2ec)][_0x21b33f(0x257)]();_0xf106b4=_0xf106b4&&_0x2661d8[_0x21b33f(0x288)]>=0x0?o[_0x21b33f(0x1bd)][_0x21b33f(0x22b)](_0xf106b4,_0x2661d8):_0x2661d8;}),_0x3c6803(_0xf106b4);}}));}};Qe=Rt([Cn(0x0,o['Inject'](oe['SheetPrintInterceptorService'])),Cn(0x1,o['Inject'](u[_0x4e476b(0x2fe)]))],Qe);const It=(_0x2374e9,_0x46aa6f,_0x1e31fc,_0x7bd348,_0x5860af)=>{const _0x2fe2e8=_0x4e476b;var _0x47e220,_0x48a96d,_0x132678,_0x43141f,_0x1933fe,_0x4e8efb,_0x3ea76a,_0x23b220,_0x195580,_0x37cfd7,_0x1d09c1,_0x54128c,_0x17dd0f,_0x1c8826,_0x1b6c7c,_0x224534,_0x72463c,_0x57a350,_0x7837f2,_0x109319,_0xd51dd1,_0x2fc650,_0x13b8a8,_0x98d0df,_0x3b497c,_0x5ae850,_0xced4d7,_0x32b7e1;const {startX:_0x2fbe47,startY:_0x41457a,endX:_0x3e7d22,endY:_0x45c406}=_0x46aa6f[_0x2fe2e8(0x2b5)];if(!_0x7bd348)return;const {max:_0x4726ea,min:_0x40014f,highIndex:_0x312ae2,lowIndex:_0x10dd2e,negativeIndexes:_0x1ffe12,data:_0x23497a}=_0x7bd348,_0x28cb5b=0x4,_0x6c69db=_0x3e7d22-_0x2fbe47-0x2*_0x28cb5b,_0xbe03d0=_0x45c406-_0x41457a-0x2*_0x28cb5b,_0x250108=_0x2fbe47+_0x28cb5b,_0x6ec3e3=_0x41457a+_0x28cb5b,_0x2d8b4c=(_0x48a96d=(_0x47e220=_0x1e31fc[_0x2fe2e8(0x316)])==null?void 0x0:_0x47e220[_0x2fe2e8(0x234)])!=null?_0x48a96d:u[_0x2fe2e8(0x27e)]['SELF_EXTREMUM'],_0xaec2db=(_0x43141f=(_0x132678=_0x1e31fc[_0x2fe2e8(0x190)])==null?void 0x0:_0x132678['type'])!=null?_0x43141f:u['SparklineExtremumTypeEnum'][_0x2fe2e8(0x25e)],_0x3df8ba=(_0x1933fe=_0x5860af==null?void 0x0:_0x5860af[_0x2fe2e8(0x14e)])!=null?_0x1933fe:_0x4726ea,_0x59240b=(_0x4e8efb=_0x5860af==null?void 0x0:_0x5860af['showMin'])!=null?_0x4e8efb:_0x40014f,_0x249dd6=_0x2d8b4c===u[_0x2fe2e8(0x27e)][_0x2fe2e8(0x25e)]?_0x4726ea:_0x3df8ba,_0x216c1f=_0xaec2db===u[_0x2fe2e8(0x27e)]['SELF_EXTREMUM']?_0x40014f:_0x59240b;let _0x4c6ec2=!0x1;const _0x29e8d7=_0x23497a[_0x312ae2];typeof _0x29e8d7==_0x2fe2e8(0x182)&&_0x29e8d7<_0x216c1f&&(_0x4c6ec2=!0x0);let _0x328f76=!0x1;const _0x28991e=_0x23497a[_0x10dd2e];if(typeof _0x28991e=='number'&&_0x28991e>_0x249dd6&&(_0x328f76=!0x0),_0x216c1f>_0x249dd6||_0x4c6ec2||_0x328f76)return;const _0x51920a=_0x249dd6===_0x216c1f,_0x293ce4=_0x249dd6-_0x216c1f,_0x141cdc=_0x6c69db/(_0x23497a['length']-0x1),_0x351f63=(_0x23b220=(_0x3ea76a=_0x1e31fc[_0x2fe2e8(0x2b6)])==null?void 0x0:_0x3ea76a['reverse'])!=null?_0x23b220:!0x1,_0xd8fd23=[];_0x2374e9['save'](),_0x2374e9[_0x2fe2e8(0x12b)](),_0x2374e9[_0x2fe2e8(0x2da)](_0x2fbe47+_0x28cb5b,_0x41457a+_0x28cb5b,_0x6c69db,_0xbe03d0),_0x2374e9[_0x2fe2e8(0x28c)](),_0x2374e9[_0x2fe2e8(0x12b)]();let _0x3b18a2=null;for(let _0x46e6c7=0x0;_0x46e6c7<_0x23497a[_0x2fe2e8(0x2e0)];_0x46e6c7++){const _0x284899=_0x23497a[_0x46e6c7];if(_0x284899===_0x2fe2e8(0x2cc)){_0x3b18a2=null;continue;}if(_0x284899==='u-connect')continue;const _0x573965=_0x351f63?_0x3e7d22-_0x28cb5b-_0x46e6c7*_0x141cdc:_0x250108+_0x46e6c7*_0x141cdc,_0x51d305=_0x51920a?_0x6ec3e3+_0xbe03d0/0x2:_0x6ec3e3+_0xbe03d0-(Number(_0x284899)-_0x216c1f)/_0x293ce4*_0xbe03d0,_0x129a0e={'x':_0x573965,'y':_0x51d305};_0xd8fd23[_0x2fe2e8(0x2fc)](_0x129a0e),_0x3b18a2?(_0x2374e9[_0x2fe2e8(0x15c)](_0x3b18a2['x'],_0x3b18a2['y']),_0x2374e9[_0x2fe2e8(0x15a)](_0x129a0e['x'],_0x129a0e['y'])):_0x2374e9[_0x2fe2e8(0x15c)](_0x129a0e['x'],_0x129a0e['y']),_0x3b18a2=_0x129a0e;}const _0x481e90=(_0x195580=_0x1e31fc['themeType'])!=null?_0x195580:u[_0x2fe2e8(0x18e)]['STANDARD'],_0x2f0580=(_0x54128c=(_0x1d09c1=_0x1e31fc['seriesColor'])!=null?_0x1d09c1:(_0x37cfd7=u['SparklineThemeMapping'][_0x481e90])==null?void 0x0:_0x37cfd7[0x0])!=null?_0x54128c:u[_0x2fe2e8(0x211)][_0x2fe2e8(0x1e0)][0x0],_0x4ba0e4=_0x5860af==null?void 0x0:_0x5860af['startGradient'],_0x106815=_0x5860af==null?void 0x0:_0x5860af[_0x2fe2e8(0x320)];_0x2374e9[_0x2fe2e8(0x1e4)]=_0x2f0580,_0x2374e9[_0x2fe2e8(0x1f7)]=_0x1e31fc['lineWidth']||0x2,_0x2374e9[_0x2fe2e8(0x1af)]=_0x2fe2e8(0x136),_0x2374e9[_0x2fe2e8(0x2b4)]();const _0x20c4c8=[],_0x3f1bde=[];if(_0x1e31fc[_0x2fe2e8(0x260)]&&_0x4ba0e4&&_0x106815){const _0xada51c=_0x2374e9['createLinearGradient'](0x0,_0x6ec3e3,0x0,_0x6ec3e3+_0xbe03d0);_0xada51c['addColorStop'](0x0,_0x4ba0e4),_0xada51c['addColorStop'](0x1,_0x106815),_0x2374e9['beginPath']();const _0x42d1ce=[];let _0x426937=null,_0x29ed5b=0x0;const _0x3162f0=_0x23497a[_0x312ae2],_0x47d0e5=_0x23497a[_0x10dd2e];for(let _0x4ab37c=0x0;_0x4ab37c<=_0x23497a[_0x2fe2e8(0x2e0)];_0x4ab37c++){const _0x204be9=_0x23497a[_0x4ab37c],_0x298f50=_0x204be9===_0x2fe2e8(0x2cc),_0x2f2507=_0x204be9===_0x2fe2e8(0x25f),_0x117528=_0x4ab37c===_0x23497a['length'];_0x204be9===_0x3162f0&&_0x20c4c8[_0x2fe2e8(0x2fc)](_0x4ab37c),_0x204be9===_0x47d0e5&&_0x3f1bde[_0x2fe2e8(0x2fc)](_0x4ab37c),_0x298f50||_0x117528?_0x426937!==null&&(_0x42d1ce[_0x2fe2e8(0x2fc)]([_0x426937,_0x29ed5b-0x1]),_0x426937=null):_0x2f2507||(_0x426937===null&&(_0x426937=_0x29ed5b),_0x29ed5b++);}_0x42d1ce[_0x2fe2e8(0x1e1)](([_0x19d1a8,_0x57b621])=>{const _0x14b111=_0x2fe2e8,_0x258ae9=_0xd8fd23[_0x19d1a8],_0x455cf=_0xd8fd23[_0x57b621];if(!(!_0x258ae9||!_0x455cf||_0x19d1a8===_0x57b621)){_0x2374e9[_0x14b111(0x12b)](),_0x2374e9[_0x14b111(0x15c)](_0x258ae9['x'],_0x258ae9['y']);for(let _0x1f0da7=_0x19d1a8;_0x1f0da7<=_0x57b621;_0x1f0da7++){const _0xf7064b=_0xd8fd23[_0x1f0da7];_0xf7064b&&_0x2374e9[_0x14b111(0x15a)](_0xf7064b['x'],_0xf7064b['y']);}_0x2374e9[_0x14b111(0x15a)](_0xd8fd23[_0x57b621]['x'],_0x6ec3e3+_0xbe03d0),_0x2374e9['lineTo'](_0xd8fd23[_0x19d1a8]['x'],_0x6ec3e3+_0xbe03d0),_0x2374e9[_0x14b111(0x1d5)](),_0x2374e9['fillStyle']=_0xada51c,_0x2374e9[_0x14b111(0x300)]();}});}const _0x1ca7f7=_0x2fe2e8(0x31f);if((_0x1c8826=(_0x17dd0f=_0x1e31fc['points'])==null?void 0x0:_0x17dd0f[_0x2fe2e8(0x25d)])!=null&&_0x1c8826[_0x2fe2e8(0x159)]&&(_0x2374e9['fillStyle']=_0x1e31fc[_0x2fe2e8(0x2c3)][_0x2fe2e8(0x25d)][_0x2fe2e8(0x305)]||_0x1ca7f7,_0xd8fd23[_0x2fe2e8(0x1e1)](_0x384deb=>{const _0x3a683a=_0x2fe2e8;_0x2374e9[_0x3a683a(0x12b)](),_0x2374e9['arc'](_0x384deb['x'],_0x384deb['y'],0x2,0x0,Math['PI']*0x2),_0x2374e9[_0x3a683a(0x300)]();})),(_0x224534=(_0x1b6c7c=_0x1e31fc[_0x2fe2e8(0x2c3)])==null?void 0x0:_0x1b6c7c[_0x2fe2e8(0x1df)])!=null&&_0x224534[_0x2fe2e8(0x159)]){_0x2374e9[_0x2fe2e8(0x1f4)]=_0x1e31fc[_0x2fe2e8(0x2c3)][_0x2fe2e8(0x1df)]['color']||_0x1ca7f7;const _0x28f310=_0xd8fd23[0x0];_0x28f310&&(_0x2374e9[_0x2fe2e8(0x12b)](),_0x2374e9['arc'](_0x28f310['x'],_0x28f310['y'],0x2,0x0,Math['PI']*0x2),_0x2374e9[_0x2fe2e8(0x300)]());}if((_0x57a350=(_0x72463c=_0x1e31fc['points'])==null?void 0x0:_0x72463c['lastPoint'])!=null&&_0x57a350['visible']){_0x2374e9[_0x2fe2e8(0x1f4)]=_0x1e31fc[_0x2fe2e8(0x2c3)][_0x2fe2e8(0x1a5)][_0x2fe2e8(0x305)]||_0x1ca7f7;const _0x8a8eea=_0xd8fd23[_0xd8fd23[_0x2fe2e8(0x2e0)]-0x1];_0x8a8eea&&(_0x2374e9[_0x2fe2e8(0x12b)](),_0x2374e9['arc'](_0x8a8eea['x'],_0x8a8eea['y'],0x2,0x0,Math['PI']*0x2),_0x2374e9['fill']());}(_0x109319=(_0x7837f2=_0x1e31fc[_0x2fe2e8(0x2c3)])==null?void 0x0:_0x7837f2[_0x2fe2e8(0x244)])!=null&&_0x109319['visible']&&(_0x2374e9[_0x2fe2e8(0x1f4)]=_0x1e31fc[_0x2fe2e8(0x2c3)][_0x2fe2e8(0x244)][_0x2fe2e8(0x305)]||_0x1ca7f7,_0x20c4c8[_0x2fe2e8(0x1e1)](_0x365a69=>{const _0x9f08fa=_0x2fe2e8,_0x4046f5=_0xd8fd23[_0x365a69];_0x4046f5&&(_0x2374e9[_0x9f08fa(0x12b)](),_0x2374e9['arc'](_0x4046f5['x'],_0x4046f5['y'],0x2,0x0,Math['PI']*0x2),_0x2374e9[_0x9f08fa(0x300)]());})),(_0x2fc650=(_0xd51dd1=_0x1e31fc[_0x2fe2e8(0x2c3)])==null?void 0x0:_0xd51dd1[_0x2fe2e8(0x2ea)])!=null&&_0x2fc650[_0x2fe2e8(0x159)]&&(_0x2374e9[_0x2fe2e8(0x1f4)]=_0x1e31fc[_0x2fe2e8(0x2c3)]['lowPoint'][_0x2fe2e8(0x305)]||_0x1ca7f7,_0x3f1bde[_0x2fe2e8(0x1e1)](_0x4445e2=>{const _0x16c133=_0x2fe2e8,_0x3cff05=_0xd8fd23[_0x4445e2];_0x3cff05&&(_0x2374e9[_0x16c133(0x12b)](),_0x2374e9[_0x16c133(0x21e)](_0x3cff05['x'],_0x3cff05['y'],0x2,0x0,Math['PI']*0x2),_0x2374e9[_0x16c133(0x300)]());})),(_0x98d0df=(_0x13b8a8=_0x1e31fc[_0x2fe2e8(0x2c3)])==null?void 0x0:_0x13b8a8['negativePoint'])!=null&&_0x98d0df['visible']&&(_0x2374e9['fillStyle']=_0x1e31fc[_0x2fe2e8(0x2c3)]['negativePoint']['color']||_0x1ca7f7,_0x1ffe12[_0x2fe2e8(0x1e1)](_0x43fe97=>{const _0x4efe1b=_0x2fe2e8,_0x2d9bc5=_0xd8fd23[_0x43fe97];_0x2d9bc5&&(_0x2374e9[_0x4efe1b(0x12b)](),_0x2374e9[_0x4efe1b(0x21e)](_0x2d9bc5['x'],_0x2d9bc5['y'],0x2,0x0,Math['PI']*0x2),_0x2374e9[_0x4efe1b(0x300)]());}));let _0x2fc906=!0x0;if(_0x51920a?_0x2fc906=!!((_0x3b497c=_0x1e31fc[_0x2fe2e8(0x2b6)])!=null&&_0x3b497c[_0x2fe2e8(0x159)]):_0x2fc906=!!(_0x216c1f<=0x0&&((_0x5ae850=_0x1e31fc[_0x2fe2e8(0x2b6)])!=null&&_0x5ae850[_0x2fe2e8(0x159)])),_0x2fc906){let _0x1098cd=_0x6ec3e3;_0x51920a?_0x216c1f===0x0?_0x1098cd=_0x6ec3e3+_0xbe03d0/0x2:_0x216c1f>0x0&&(_0x1098cd=_0x6ec3e3+_0xbe03d0):_0x1098cd=_0x6ec3e3+_0xbe03d0-(0x0-_0x216c1f)/_0x293ce4*_0xbe03d0,_0x2374e9['beginPath'](),_0x2374e9[_0x2fe2e8(0x15c)](_0x250108,_0x1098cd),_0x2374e9['lineTo'](_0x250108+_0x6c69db,_0x1098cd),_0x2374e9[_0x2fe2e8(0x1e4)]=(_0x32b7e1=(_0xced4d7=_0x1e31fc[_0x2fe2e8(0x2b6)])==null?void 0x0:_0xced4d7[_0x2fe2e8(0x305)])!=null?_0x32b7e1:_0x2fe2e8(0x14c),_0x2374e9[_0x2fe2e8(0x1f7)]=0x1,_0x2374e9[_0x2fe2e8(0x2b4)]();}_0x2374e9[_0x2fe2e8(0x2e7)]();},xt=(_0x45bf23,_0x39f23f,_0x51fd1c,_0xfd9efe,_0xa99961)=>{const _0x4067b9=_0x4e476b;var _0x56b450,_0x2ef6e4,_0x25baa5,_0x27fadc,_0x31d365,_0x4d6e2,_0x359120,_0x1067cc,_0x18751c,_0x52cc81,_0x4be4a1,_0x276190,_0x921101,_0x30e7e0,_0x1a756b,_0x453b81,_0x17cf9a;const {startX:_0x44d2b3,startY:_0x24abd8,endX:_0x10a421,endY:_0x3a9f4c}=_0x39f23f;if(!_0xfd9efe)return;const {max:_0x115a21,min:_0x3a51f2,highIndex:_0x5b8ea5,lowIndex:_0x49777c,negativeIndexes:_0x2701d7,data:_0x21ab2}=_0xfd9efe,_0x1a0335=0x4,_0x5bbedc=_0x10a421-_0x44d2b3-0x2*_0x1a0335,_0x4fa887=_0x3a9f4c-_0x24abd8-0x2*_0x1a0335,_0x4d9898=_0x44d2b3+_0x1a0335,_0x57a66d=_0x24abd8+_0x1a0335,_0x267526=(_0x2ef6e4=(_0x56b450=_0x51fd1c[_0x4067b9(0x316)])==null?void 0x0:_0x56b450[_0x4067b9(0x234)])!=null?_0x2ef6e4:u[_0x4067b9(0x27e)][_0x4067b9(0x25e)],_0x55183b=(_0x27fadc=(_0x25baa5=_0x51fd1c[_0x4067b9(0x190)])==null?void 0x0:_0x25baa5['type'])!=null?_0x27fadc:u[_0x4067b9(0x27e)][_0x4067b9(0x25e)],_0x97888d=(_0x31d365=_0xa99961==null?void 0x0:_0xa99961['showMax'])!=null?_0x31d365:_0x115a21,_0x459191=(_0x4d6e2=_0xa99961==null?void 0x0:_0xa99961[_0x4067b9(0x235)])!=null?_0x4d6e2:_0x3a51f2,_0x14e6a8=_0x267526===u['SparklineExtremumTypeEnum'][_0x4067b9(0x25e)]?_0x115a21:_0x97888d,_0x22bc4a=_0x55183b===u[_0x4067b9(0x27e)][_0x4067b9(0x25e)]?_0x3a51f2:_0x459191,_0x52f86a=_0x14e6a8-_0x22bc4a,_0x381dc3=0.2,_0x1f9b87=_0x5bbedc,_0x35de76=_0x14e6a8===_0x22bc4a,_0xb5266f=_0x1f9b87/(_0x21ab2['length']*(0x1+_0x381dc3)),_0x47acb8=_0xb5266f*_0x381dc3,_0x3956ae=(_0x1067cc=(_0x359120=_0x51fd1c[_0x4067b9(0x2b6)])==null?void 0x0:_0x359120['reverse'])!=null?_0x1067cc:!0x1,_0x179e8d=(_0x18751c=_0x51fd1c[_0x4067b9(0x1fe)])!=null?_0x18751c:!0x1;let _0xdb4844=0x0;_0x35de76||(_0xdb4844=_0x22bc4a>=0x0?_0x22bc4a:_0x14e6a8<=0x0?_0x14e6a8:0x0);let _0x579cd7=_0x57a66d+_0x4fa887;_0x35de76?_0x22bc4a===0x0?_0x579cd7=_0x57a66d+_0x4fa887/0x2:_0x22bc4a>0x0?_0x579cd7=_0x57a66d+_0x4fa887:_0x22bc4a<0x0&&(_0x579cd7=_0x57a66d):_0x22bc4a>=0x0?_0x579cd7=_0x57a66d+_0x4fa887:_0x14e6a8<=0x0?_0x579cd7=_0x57a66d:_0x579cd7=_0x57a66d+_0x4fa887-(0x0-_0x22bc4a)/_0x52f86a*_0x4fa887,_0x45bf23[_0x4067b9(0x169)](),_0x45bf23['beginPath'](),_0x45bf23[_0x4067b9(0x2da)](_0x44d2b3,_0x24abd8,_0x10a421-_0x44d2b3,_0x3a9f4c-_0x24abd8),_0x45bf23[_0x4067b9(0x28c)]();const _0x467cca=(_0x52cc81=_0x51fd1c['themeType'])!=null?_0x52cc81:u['SparklineThemeTypeEnum'][_0x4067b9(0x270)],_0x4778f1=(_0x921101=(_0x276190=_0x51fd1c[_0x4067b9(0x2d5)])!=null?_0x276190:(_0x4be4a1=u[_0x4067b9(0x211)][_0x467cca])==null?void 0x0:_0x4be4a1[0x0])!=null?_0x921101:u['SparklineThemeMapping'][_0x4067b9(0x1e0)][0x0],_0x28a6a2=_0x21ab2[_0x5b8ea5],_0x358a00=_0x21ab2[_0x49777c];_0x21ab2[_0x4067b9(0x1e1)]((_0x440a60,_0x159364)=>{const _0x2fe4ff=_0x4067b9;var _0xc02d79,_0x186cf0,_0x2c802c,_0x3a96aa,_0x2fbf7e,_0x30dd75,_0x2b4fa5,_0x568644,_0x79a8a5,_0x425a32;if(typeof _0x440a60==_0x2fe4ff(0x25b)||typeof _0x440a60>'u')return;const _0x5e3378=_0x3956ae?_0x10a421-_0x1a0335-(_0x159364+0x1)*(_0xb5266f+_0x47acb8)+_0x47acb8/0x2:_0x4d9898+_0x159364*(_0xb5266f+_0x47acb8)+_0x47acb8/0x2;let _0x64712d=0x0;_0x35de76?_0x22bc4a!==0x0&&(_0x64712d=_0x4fa887):_0x440a60<_0x22bc4a?_0x64712d=0x0:_0x440a60>_0x14e6a8?_0x64712d=_0x4fa887:_0x22bc4a<0x0?_0x64712d=_0x440a60===0x0?0x0:Math[_0x2fe4ff(0x1de)](Math[_0x2fe4ff(0x248)](_0x440a60-_0xdb4844)/_0x52f86a*_0x4fa887,0x2):_0x440a60===0x0?_0x64712d=0x0:_0x64712d=Math[_0x2fe4ff(0x1de)](Math[_0x2fe4ff(0x248)](_0x440a60-_0xdb4844)/_0x52f86a*_0x4fa887,0x2);let _0x42e591=_0x4778f1;if((_0x186cf0=(_0xc02d79=_0x51fd1c[_0x2fe4ff(0x2c3)])==null?void 0x0:_0xc02d79['firstPoint'])!=null&&_0x186cf0[_0x2fe4ff(0x159)]&&_0x159364===0x0&&(_0x42e591=_0x51fd1c[_0x2fe4ff(0x2c3)][_0x2fe4ff(0x1df)][_0x2fe4ff(0x305)]||_0x4778f1),(_0x3a96aa=(_0x2c802c=_0x51fd1c['points'])==null?void 0x0:_0x2c802c[_0x2fe4ff(0x1a5)])!=null&&_0x3a96aa[_0x2fe4ff(0x159)]&&_0x159364===_0x21ab2[_0x2fe4ff(0x2e0)]-0x1&&(_0x42e591=_0x51fd1c[_0x2fe4ff(0x2c3)]['lastPoint']['color']||_0x4778f1),(_0x30dd75=(_0x2fbf7e=_0x51fd1c[_0x2fe4ff(0x2c3)])==null?void 0x0:_0x2fbf7e[_0x2fe4ff(0x244)])!=null&&_0x30dd75[_0x2fe4ff(0x159)]&&_0x440a60===_0x28a6a2&&(_0x42e591=_0x51fd1c[_0x2fe4ff(0x2c3)][_0x2fe4ff(0x244)][_0x2fe4ff(0x305)]||_0x4778f1),(_0x568644=(_0x2b4fa5=_0x51fd1c[_0x2fe4ff(0x2c3)])==null?void 0x0:_0x2b4fa5[_0x2fe4ff(0x2ea)])!=null&&_0x568644['visible']&&_0x440a60===_0x358a00&&(_0x42e591=_0x51fd1c[_0x2fe4ff(0x2c3)]['lowPoint'][_0x2fe4ff(0x305)]||_0x4778f1),(_0x425a32=(_0x79a8a5=_0x51fd1c[_0x2fe4ff(0x2c3)])==null?void 0x0:_0x79a8a5[_0x2fe4ff(0x163)])!=null&&_0x425a32[_0x2fe4ff(0x159)]&&_0x2701d7[_0x2fe4ff(0x1ff)](_0x159364)&&(_0x42e591=_0x51fd1c[_0x2fe4ff(0x2c3)][_0x2fe4ff(0x163)][_0x2fe4ff(0x305)]||_0x4778f1),_0x45bf23['fillStyle']=_0x42e591,_0xb5266f>=0x4&&_0x179e8d&&_0x64712d>=0x2){_0x45bf23[_0x2fe4ff(0x12b)]();const _0x3e6f83=0x2;_0x440a60>=_0xdb4844?(_0x45bf23[_0x2fe4ff(0x15c)](_0x5e3378,_0x579cd7-_0x64712d+_0x3e6f83),_0x45bf23[_0x2fe4ff(0x194)](_0x5e3378,_0x579cd7-_0x64712d,_0x5e3378+_0xb5266f,_0x579cd7-_0x64712d,_0x3e6f83),_0x45bf23[_0x2fe4ff(0x194)](_0x5e3378+_0xb5266f,_0x579cd7-_0x64712d,_0x5e3378+_0xb5266f,_0x579cd7-_0x64712d+_0x3e6f83,_0x3e6f83),_0x45bf23[_0x2fe4ff(0x15a)](_0x5e3378+_0xb5266f,_0x579cd7),_0x45bf23[_0x2fe4ff(0x15a)](_0x5e3378,_0x579cd7),_0x45bf23[_0x2fe4ff(0x1d5)](),_0x45bf23[_0x2fe4ff(0x300)]()):(_0x45bf23[_0x2fe4ff(0x15c)](_0x5e3378,_0x579cd7),_0x45bf23[_0x2fe4ff(0x15a)](_0x5e3378+_0xb5266f,_0x579cd7),_0x45bf23[_0x2fe4ff(0x194)](_0x5e3378+_0xb5266f,_0x579cd7+_0x64712d,_0x5e3378+_0xb5266f-_0x3e6f83,_0x579cd7+_0x64712d,_0x3e6f83),_0x45bf23['arcTo'](_0x5e3378,_0x579cd7+_0x64712d,_0x5e3378,_0x579cd7+_0x64712d-_0x3e6f83,_0x3e6f83),_0x45bf23[_0x2fe4ff(0x15a)](_0x5e3378,_0x579cd7),_0x45bf23[_0x2fe4ff(0x1d5)](),_0x45bf23['fill']());}else _0x440a60>=_0xdb4844?_0x45bf23[_0x2fe4ff(0x221)](_0x5e3378,_0x579cd7-_0x64712d,_0xb5266f,_0x64712d):_0x45bf23[_0x2fe4ff(0x221)](_0x5e3378,_0x579cd7,_0xb5266f,_0x64712d);});let _0xb855ec=!0x0;_0x35de76?_0xb855ec=!!((_0x30e7e0=_0x51fd1c[_0x4067b9(0x2b6)])!=null&&_0x30e7e0['visible']):_0xb855ec=!!((_0x1a756b=_0x51fd1c[_0x4067b9(0x2b6)])!=null&&_0x1a756b[_0x4067b9(0x159)]&&!(_0x14e6a8<0x0||_0x22bc4a>0x0)),_0xb855ec&&(_0x45bf23[_0x4067b9(0x12b)](),_0x45bf23['moveTo'](_0x4d9898,_0x579cd7),_0x45bf23[_0x4067b9(0x15a)](_0x4d9898+_0x5bbedc,_0x579cd7),_0x45bf23[_0x4067b9(0x1e4)]=(_0x17cf9a=(_0x453b81=_0x51fd1c[_0x4067b9(0x2b6)])==null?void 0x0:_0x453b81[_0x4067b9(0x305)])!=null?_0x17cf9a:'rgb(0,\x200,\x200)',_0x45bf23[_0x4067b9(0x1f7)]=0x1,_0x45bf23['stroke']()),_0x45bf23['restore']();},bt=(_0xdcf114,_0x36f1da,_0x4d0f7c,_0x1a1e9b,_0x509b4b)=>{const _0x2c44bf=_0x4e476b;var _0x38974d,_0x3aeb03,_0x239755,_0x1ca840,_0x2ab729,_0x548ae0,_0x84068b,_0x5ddde2,_0xfdac01;const {startX:_0x536327,startY:_0x473c6d,endX:_0x4bb2ca,endY:_0x3ea63d}=_0x36f1da;if(!_0x1a1e9b)return;const {highIndex:_0x524dad,lowIndex:_0xbc0eae,negativeIndexes:_0x19936b,data:_0x5cfb93}=_0x1a1e9b,_0x55f785=0x4,_0x1ce2b4=_0x4bb2ca-_0x536327-0x2*_0x55f785,_0x5a55d4=_0x3ea63d-_0x473c6d-0x2*_0x55f785,_0x58f426=_0x536327+_0x55f785,_0x200885=_0x473c6d+_0x55f785,_0x3bbcf0=0.2,_0x1db07f=_0x1ce2b4/(_0x5cfb93['length']*(0x1+_0x3bbcf0)),_0x49c13e=_0x1db07f*_0x3bbcf0,_0xf39787=(_0x3aeb03=(_0x38974d=_0x4d0f7c[_0x2c44bf(0x2b6)])==null?void 0x0:_0x38974d[_0x2c44bf(0x156)])!=null?_0x3aeb03:!0x1,_0x5ef78a=(_0x239755=_0x4d0f7c['showRadius'])!=null?_0x239755:!0x1,_0x5cdef1=_0x200885+_0x5a55d4/0x2;_0xdcf114[_0x2c44bf(0x169)](),_0xdcf114[_0x2c44bf(0x12b)](),_0xdcf114['rect'](_0x536327,_0x473c6d,_0x4bb2ca-_0x536327,_0x3ea63d-_0x473c6d),_0xdcf114[_0x2c44bf(0x28c)]();const _0x2a7961=(_0x1ca840=_0x4d0f7c['themeType'])!=null?_0x1ca840:u[_0x2c44bf(0x18e)]['STANDARD'],_0x5d4012=(_0x84068b=(_0x548ae0=_0x4d0f7c[_0x2c44bf(0x2d5)])!=null?_0x548ae0:(_0x2ab729=u[_0x2c44bf(0x211)][_0x2a7961])==null?void 0x0:_0x2ab729[0x0])!=null?_0x84068b:u[_0x2c44bf(0x211)]['standard'][0x0],_0x5649c0=_0x5cfb93[_0x524dad],_0x493aa6=_0x5cfb93[_0xbc0eae];_0x5cfb93[_0x2c44bf(0x1e1)]((_0x35cd93,_0x5ec77b)=>{const _0x1aabd1=_0x2c44bf;var _0x2f4bdd,_0x5f2c4c,_0x86f5b1,_0x53e7bf,_0x27bd4,_0x2c8f2c,_0xfc44f5,_0x46c5c5,_0x59c5de,_0x469db9;if(typeof _0x35cd93==_0x1aabd1(0x25b)||typeof _0x35cd93>'u')return;const _0x29c548=_0x35cd93===0x0?0x0:_0x5a55d4/0x2,_0x551cea=_0xf39787?_0x4bb2ca-_0x55f785-(_0x5ec77b+0x1)*(_0x1db07f+_0x49c13e)+_0x49c13e/0x2:_0x58f426+_0x5ec77b*(_0x1db07f+_0x49c13e)+_0x49c13e/0x2,_0x208aa7=_0x35cd93>=0x0;let _0x421c5a=_0x5d4012;if((_0x5f2c4c=(_0x2f4bdd=_0x4d0f7c['points'])==null?void 0x0:_0x2f4bdd[_0x1aabd1(0x1df)])!=null&&_0x5f2c4c[_0x1aabd1(0x159)]&&_0x5ec77b===0x0&&(_0x421c5a=_0x4d0f7c[_0x1aabd1(0x2c3)][_0x1aabd1(0x1df)][_0x1aabd1(0x305)]||_0x5d4012),(_0x53e7bf=(_0x86f5b1=_0x4d0f7c[_0x1aabd1(0x2c3)])==null?void 0x0:_0x86f5b1[_0x1aabd1(0x1a5)])!=null&&_0x53e7bf['visible']&&_0x5ec77b===_0x5cfb93[_0x1aabd1(0x2e0)]-0x1&&(_0x421c5a=_0x4d0f7c[_0x1aabd1(0x2c3)][_0x1aabd1(0x1a5)][_0x1aabd1(0x305)]||_0x5d4012),(_0x2c8f2c=(_0x27bd4=_0x4d0f7c[_0x1aabd1(0x2c3)])==null?void 0x0:_0x27bd4['highPoint'])!=null&&_0x2c8f2c[_0x1aabd1(0x159)]&&_0x35cd93===_0x5649c0&&(_0x421c5a=_0x4d0f7c[_0x1aabd1(0x2c3)][_0x1aabd1(0x244)]['color']||_0x5d4012),(_0x46c5c5=(_0xfc44f5=_0x4d0f7c['points'])==null?void 0x0:_0xfc44f5[_0x1aabd1(0x2ea)])!=null&&_0x46c5c5[_0x1aabd1(0x159)]&&_0x35cd93===_0x493aa6&&(_0x421c5a=_0x4d0f7c['points'][_0x1aabd1(0x2ea)][_0x1aabd1(0x305)]||_0x5d4012),(_0x469db9=(_0x59c5de=_0x4d0f7c[_0x1aabd1(0x2c3)])==null?void 0x0:_0x59c5de['negativePoint'])!=null&&_0x469db9[_0x1aabd1(0x159)]&&_0x19936b[_0x1aabd1(0x1ff)](_0x5ec77b)&&(_0x421c5a=_0x4d0f7c[_0x1aabd1(0x2c3)][_0x1aabd1(0x163)]['color']||_0x5d4012),_0xdcf114[_0x1aabd1(0x1f4)]=_0x421c5a,_0x1db07f>=0x4&&_0x5ef78a){_0xdcf114[_0x1aabd1(0x12b)]();const _0x49292d=0x2;_0x208aa7?(_0xdcf114[_0x1aabd1(0x15c)](_0x551cea,_0x5cdef1-_0x29c548+_0x49292d),_0xdcf114[_0x1aabd1(0x194)](_0x551cea,_0x5cdef1-_0x29c548,_0x551cea+_0x1db07f,_0x5cdef1-_0x29c548,_0x49292d),_0xdcf114['arcTo'](_0x551cea+_0x1db07f,_0x5cdef1-_0x29c548,_0x551cea+_0x1db07f,_0x5cdef1-_0x29c548+_0x49292d,_0x49292d),_0xdcf114['lineTo'](_0x551cea+_0x1db07f,_0x5cdef1),_0xdcf114[_0x1aabd1(0x15a)](_0x551cea,_0x5cdef1),_0xdcf114[_0x1aabd1(0x1d5)](),_0xdcf114[_0x1aabd1(0x300)]()):(_0xdcf114[_0x1aabd1(0x15c)](_0x551cea,_0x5cdef1),_0xdcf114['lineTo'](_0x551cea+_0x1db07f,_0x5cdef1),_0xdcf114[_0x1aabd1(0x194)](_0x551cea+_0x1db07f,_0x5cdef1+_0x29c548,_0x551cea+_0x1db07f-_0x49292d,_0x5cdef1+_0x29c548,_0x49292d),_0xdcf114[_0x1aabd1(0x194)](_0x551cea,_0x5cdef1+_0x29c548,_0x551cea,_0x5cdef1+_0x29c548-_0x49292d,_0x49292d),_0xdcf114[_0x1aabd1(0x15a)](_0x551cea,_0x5cdef1),_0xdcf114[_0x1aabd1(0x1d5)](),_0xdcf114[_0x1aabd1(0x300)]());}else _0x208aa7?_0xdcf114[_0x1aabd1(0x221)](_0x551cea,_0x5cdef1-_0x29c548,_0x1db07f,_0x29c548):_0xdcf114[_0x1aabd1(0x221)](_0x551cea,_0x5cdef1,_0x1db07f,_0x29c548);}),(_0x5ddde2=_0x4d0f7c['axis'])!=null&&_0x5ddde2[_0x2c44bf(0x159)]&&(_0xdcf114[_0x2c44bf(0x12b)](),_0xdcf114[_0x2c44bf(0x15c)](0x0+_0x58f426,_0x200885+_0x5a55d4/0x2),_0xdcf114['lineTo'](_0x1ce2b4+_0x58f426,_0x200885+_0x5a55d4/0x2),_0xdcf114[_0x2c44bf(0x1e4)]=(_0xfdac01=_0x4d0f7c[_0x2c44bf(0x2b6)][_0x2c44bf(0x305)])!=null?_0xfdac01:_0x2c44bf(0x14c),_0xdcf114['lineWidth']=0x1,_0xdcf114[_0x2c44bf(0x2b4)]()),_0xdcf114[_0x2c44bf(0x2e7)]();},wt=(_0x1923ff,_0x13a824,_0x351a21,_0xe94e59,_0x102090)=>{const _0x5276ad=_0x4e476b,{startX:_0x10461e,startY:_0x263acf,endX:_0x19d159,endY:_0xd42155}=_0x13a824[_0x5276ad(0x2b5)];if(!_0xe94e59)return;const {data:_0xcf5e7a}=_0xe94e59,_0x40e09b=0x4,_0xbf17f9=_0x19d159-_0x10461e-0x2*_0x40e09b,_0x3a0556=_0xd42155-_0x263acf-0x2*_0x40e09b,_0x2e71fb=_0x10461e+_0x40e09b,_0x3f4aff=_0x263acf+_0x40e09b,_0x32120d=Math[_0x5276ad(0x282)](_0xbf17f9,_0x3a0556)/0x2,_0x2b44a4=_0x2e71fb+_0xbf17f9/0x2,_0x190f79=_0x3f4aff+_0x3a0556/0x2,_0x1f99c1=[_0x5276ad(0x2f4),'#36A2EB',_0x5276ad(0x138),'#4BC0C0','#9966FF',_0x5276ad(0x129),'#E7E9ED',_0x5276ad(0x290)],_0xccd150=_0xcf5e7a[_0x5276ad(0x2d9)](_0x2ec285=>typeof _0x2ec285==_0x5276ad(0x182)&&!Number['isNaN'](_0x2ec285)),_0x53c366=_0xccd150['reduce']((_0x4d7ca7,_0x3d25b5)=>_0x4d7ca7+_0x3d25b5,0x0);if(_0x53c366===0x0||_0xccd150[_0x5276ad(0x2e0)]===0x0)return;let _0x323ce3=-Math['PI']/0x2;_0xccd150['forEach']((_0x2d92eb,_0x12bfc7)=>{const _0x5d7ac3=_0x5276ad,_0x3e415b=_0x2d92eb/_0x53c366*0x2*Math['PI'],_0x500518=_0x323ce3+_0x3e415b;_0x1923ff[_0x5d7ac3(0x12b)](),_0x1923ff[_0x5d7ac3(0x15c)](_0x2b44a4,_0x190f79),_0x1923ff[_0x5d7ac3(0x21e)](_0x2b44a4,_0x190f79,_0x32120d,_0x323ce3,_0x500518),_0x1923ff[_0x5d7ac3(0x1d5)](),_0x1923ff[_0x5d7ac3(0x1f4)]=_0x1f99c1[_0x12bfc7%_0x1f99c1[_0x5d7ac3(0x2e0)]],_0x1923ff[_0x5d7ac3(0x300)](),_0x1923ff[_0x5d7ac3(0x1f7)]=0x1,_0x1923ff[_0x5d7ac3(0x1e4)]=_0x5d7ac3(0x189),_0x1923ff[_0x5d7ac3(0x2b4)](),_0x323ce3=_0x500518;});};var Et=Object['getOwnPropertyDescriptor'],Tt=(_0x410fe4,_0x53a400,_0xaf6ffa,_0x11beb7)=>{for(var _0x8e0cf5=_0x11beb7>0x1?void 0x0:_0x11beb7?Et(_0x53a400,_0xaf6ffa):_0x53a400,_0x7f9117=_0x410fe4['length']-0x1,_0x485824;_0x7f9117>=0x0;_0x7f9117--)(_0x485824=_0x410fe4[_0x7f9117])&&(_0x8e0cf5=_0x485824(_0x8e0cf5)||_0x8e0cf5);return _0x8e0cf5;},on=(_0x9d9ffd,_0x2f4589)=>(_0x11a3b8,_0x4da36f)=>_0x2f4589(_0x11a3b8,_0x4da36f,_0x9d9ffd);let cn=class extends o['Disposable']{constructor(_0x50b38f,_0x2ccb13,_0xd65a8c,_0x17bddb){const _0x30f2cd=_0x4e476b;super(),this[_0x30f2cd(0x205)]=_0x50b38f,this[_0x30f2cd(0x1bf)]=_0x2ccb13,this[_0x30f2cd(0x150)]=_0xd65a8c,this['_rangeProtectionCache']=_0x17bddb,this[_0x30f2cd(0x2f5)](),this['_initSkeleton']();}[_0x4e476b(0x2f5)](){const _0x2713aa=_0x4e476b,_0x17e8fc=this[_0x2713aa(0x1bf)][_0x2713aa(0x229)](),_0x326b7d=_0x17e8fc[_0x2713aa(0x1cc)],_0x272c13=_0x17e8fc[_0x2713aa(0x28a)],_0x2ccfea=(_0x57ec5b,_0x6a915d,_0x1ca221)=>{const _0x74a78e=_0x2713aa;var _0x4a3a0a,_0x10348c,_0x225172,_0x7a4e5d,_0x4e3362,_0x2329bc;const {actualRow:_0x25e5ac,actualColumn:_0x40d062}=_0x1ca221,{worksheet:_0x139aa0}=_0x6a915d,_0x1ea517=_0x139aa0['getSheetId'](),_0x1c5fd3=_0x139aa0[_0x74a78e(0x14f)]();if(((_0x4a3a0a=this['_rangeProtectionCache'][_0x74a78e(0x126)](_0x1c5fd3,_0x1ea517,_0x25e5ac,_0x40d062))==null?void 0x0:_0x4a3a0a[W[_0x74a78e(0x1c0)][_0x74a78e(0x1c8)]])===!0x1)return;const _0x1fa2b7=_0x139aa0['getRowVisible'](_0x25e5ac),_0x23b49a=_0x139aa0[_0x74a78e(0x2de)](_0x40d062);if(!_0x1fa2b7||!_0x23b49a)return;const _0x5bdd01=(_0x10348c=_0x326b7d[_0x74a78e(0x26a)](_0x1c5fd3))==null?void 0x0:_0x10348c[_0x74a78e(0x26a)](_0x1ea517),_0x43fe60=(_0x225172=_0x5bdd01==null?void 0x0:_0x5bdd01[_0x74a78e(0x2e2)])==null?void 0x0:_0x225172[_0x74a78e(0x180)](_0x25e5ac,_0x40d062);if(_0x43fe60){const _0x37d177=_0x5bdd01==null?void 0x0:_0x5bdd01[_0x74a78e(0x321)][_0x43fe60[_0x74a78e(0x2a7)]],_0x13642c=(_0x4e3362=(_0x7a4e5d=_0x272c13[_0x74a78e(0x26a)](_0x1c5fd3))==null?void 0x0:_0x7a4e5d[_0x74a78e(0x26a)](_0x1ea517))==null?void 0x0:_0x4e3362['get'](_0x43fe60==null?void 0x0:_0x43fe60[_0x74a78e(0x2a7)]);if(!_0x13642c)return;const _0x586316=(_0x2329bc=_0x13642c==null?void 0x0:_0x13642c[_0x74a78e(0x242)]['type'])!=null?_0x2329bc:u[_0x74a78e(0x2c5)][_0x74a78e(0x312)];_0x586316===u['SparklineTypeEnum'][_0x74a78e(0x312)]?It(_0x57ec5b,_0x1ca221,_0x13642c[_0x74a78e(0x242)],_0x43fe60,_0x37d177):_0x586316===u[_0x74a78e(0x2c5)][_0x74a78e(0x202)]?xt(_0x57ec5b,_0x1ca221,_0x13642c[_0x74a78e(0x242)],_0x43fe60,_0x37d177):_0x586316===u[_0x74a78e(0x2c5)]['PROFIT_AND_LOSS_CHART']?bt(_0x57ec5b,_0x1ca221,_0x13642c[_0x74a78e(0x242)],_0x43fe60):_0x586316===u[_0x74a78e(0x2c5)][_0x74a78e(0x1f3)]&&wt(_0x57ec5b,_0x1ca221,_0x13642c[_0x74a78e(0x242)],_0x43fe60);}};this['_sheetGraphicsRenderController']['registerRenderer'](Un,_0x2ccfea);}['_initSkeleton'](){const _0xcc4bf7=_0x4e476b,_0x3fac04=()=>{const _0x230e45=_0x3f41;var _0x342a98;(_0x342a98=this[_0x230e45(0x205)][_0x230e45(0x31c)])==null||_0x342a98['makeDirty']();};this['disposeWithMe'](this[_0xcc4bf7(0x1bf)][_0xcc4bf7(0x2cb)][_0xcc4bf7(0x285)](ue['auditTime'](0x12c))[_0xcc4bf7(0x2bb)](_0x3fac04));}};cn=Tt([on(0x1,o[_0x4e476b(0x284)](u[_0x4e476b(0x2fe)])),on(0x2,o[_0x4e476b(0x284)](kn['SheetGraphicsRenderController'])),on(0x3,o['Inject'](W['RangeProtectionCache']))],cn);var Mt=Object['defineProperty'],_t=Object[_0x4e476b(0x29f)],Pt=(_0x50c993,_0x35d4fd,_0x431a2d)=>_0x35d4fd in _0x50c993?Mt(_0x50c993,_0x35d4fd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x431a2d}):_0x50c993[_0x35d4fd]=_0x431a2d,jt=(_0x10a63a,_0x1ae624,_0x17cc64,_0x4f310e)=>{for(var _0x390013=_0x4f310e>0x1?void 0x0:_0x4f310e?_t(_0x1ae624,_0x17cc64):_0x1ae624,_0x116eca=_0x10a63a['length']-0x1,_0x17a032;_0x116eca>=0x0;_0x116eca--)(_0x17a032=_0x10a63a[_0x116eca])&&(_0x390013=_0x17a032(_0x390013)||_0x390013);return _0x390013;},Ze=(_0x316ae8,_0x21d8a8)=>(_0x52d284,_0x9cc217)=>_0x21d8a8(_0x52d284,_0x9cc217,_0x316ae8),Nn=(_0x2816a1,_0x39e8ff,_0x2a1463)=>Pt(_0x2816a1,typeof _0x39e8ff!=_0x4e476b(0x268)?_0x39e8ff+'':_0x39e8ff,_0x2a1463);const Nt=_0x4e476b(0x161);exports['UniverSheetSparklineUIPlugin']=class extends o[_0x4e476b(0x281)]{constructor(_0x13f29e=gn,_0x16217e,_0x543791,_0x5c80a2,_0xb51117){const _0xe29d86=_0x4e476b;super(),this['_config']=_0x13f29e,this[_0xe29d86(0x313)]=_0x16217e,this[_0xe29d86(0x23f)]=_0x543791,this[_0xe29d86(0x265)]=_0x5c80a2,this[_0xe29d86(0x25a)]=_0xb51117;const {menu:_0x539ede,..._0x56ba1a}=o['merge']({},gn,this[_0xe29d86(0x238)]);_0x539ede&&this[_0xe29d86(0x313)][_0xe29d86(0x2d7)](_0xe29d86(0x17d),_0x539ede,{'merge':!0x0}),this[_0xe29d86(0x313)][_0xe29d86(0x2d7)](On,_0x56ba1a),this[_0xe29d86(0x23a)]();}[_0x4e476b(0x1a8)](){const _0x418faa=_0x4e476b;[[Ke],[qe],[Ye],[Je],[ze],[Qe]][_0x418faa(0x1e1)](_0x15bca0=>{const _0x5d570b=_0x418faa;this[_0x5d570b(0x23f)][_0x5d570b(0x2be)](_0x15bca0);}),o[_0x418faa(0x1c7)](this[_0x418faa(0x23f)],[[Ke]]);}[_0x4e476b(0x1b6)](){const _0x3cbc4a=_0x4e476b;[[cn]][_0x3cbc4a(0x1e1)](_0x1a25cf=>{const _0x320241=_0x3cbc4a;this['_renderManagerService'][_0x320241(0x15b)](o['UniverInstanceType']['UNIVER_SHEET'],_0x1a25cf);}),o[_0x3cbc4a(0x1c7)](this[_0x3cbc4a(0x23f)],[[qe],[Ye],[Je],[ze],[Qe]]);}[_0x4e476b(0x23a)](){const _0x383b14=_0x4e476b;[dn,We][_0x383b14(0x1e1)](_0x3ad701=>this['_commandService'][_0x383b14(0x1e3)](_0x3ad701));}},Nn(exports[_0x4e476b(0x317)],'pluginName',Nt),Nn(exports[_0x4e476b(0x317)],'type',o[_0x4e476b(0x13a)][_0x4e476b(0x1d4)]),exports['UniverSheetSparklineUIPlugin']=jt([o['DependentOn'](u['UniverSheetSparklinePlugin'],kn[_0x4e476b(0x2f0)]),Ze(0x1,o['IConfigService']),Ze(0x2,o['Inject'](o[_0x4e476b(0x236)])),Ze(0x3,o[_0x4e476b(0x284)](o[_0x4e476b(0x18f)])),Ze(0x4,Hn[_0x4e476b(0x279)])],exports[_0x4e476b(0x317)]);
|