@univerjs-pro/sheets-sparkline 0.13.0-insiders.20251220-0a5ea4d → 0.13.0-insiders.20251223-857805c
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3bdabb,_0x105dcc){const _0x258469=_0x593e,_0x42a6e0=_0x3bdabb();while(!![]){try{const _0xc50dfd=-parseInt(_0x258469(0x25c))/0x1*(parseInt(_0x258469(0x1fd))/0x2)+parseInt(_0x258469(0x1a1))/0x3*(-parseInt(_0x258469(0x1b2))/0x4)+parseInt(_0x258469(0x174))/0x5*(parseInt(_0x258469(0x212))/0x6)+-parseInt(_0x258469(0x1c2))/0x7*(-parseInt(_0x258469(0x242))/0x8)+-parseInt(_0x258469(0x1f9))/0x9*(parseInt(_0x258469(0x1a6))/0xa)+-parseInt(_0x258469(0x18d))/0xb*(-parseInt(_0x258469(0x24d))/0xc)+parseInt(_0x258469(0x180))/0xd*(parseInt(_0x258469(0x24f))/0xe);if(_0xc50dfd===_0x105dcc)break;else _0x42a6e0['push'](_0x42a6e0['shift']());}catch(_0x29d870){_0x42a6e0['push'](_0x42a6e0['shift']());}}}(_0x3803,0xa9e5b),function(_0x42fb52,_0x1732a3){const _0x10c882=_0x593e;typeof exports==_0x10c882(0x22e)&&typeof module<'u'?_0x1732a3(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x10c882(0x182)&&define[_0x10c882(0x1ed)]?define([_0x10c882(0x188),_0x10c882(0x200),_0x10c882(0x20d),'rxjs',_0x10c882(0x21b)],_0x1732a3):(_0x42fb52=typeof globalThis<'u'?globalThis:_0x42fb52||self,_0x1732a3(_0x42fb52[_0x10c882(0x1b1)]={},_0x42fb52[_0x10c882(0x213)],_0x42fb52['UniverSheets'],_0x42fb52[_0x10c882(0x162)],_0x42fb52[_0x10c882(0x18e)]));}(this,function(_0x33c1ed,_0x31d190,_0x25282a,_0x356350,_0x885d29){'use strict';const _0x15ed9a=_0x593e;var _0x33ea0c=Object['defineProperty'],_0x2e7ff9=(_0x51eb96,_0x1dfe74,_0x585b7d)=>_0x1dfe74 in _0x51eb96?_0x33ea0c(_0x51eb96,_0x1dfe74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x585b7d}):_0x51eb96[_0x1dfe74]=_0x585b7d,_0x2c41c4=(_0x3491fd,_0x249e58,_0x10226a)=>_0x2e7ff9(_0x3491fd,typeof _0x249e58!=_0x15ed9a(0x19a)?_0x249e58+'':_0x249e58,_0x10226a);function _0x68a83c(_0x582842,_0x29bd42){const _0x556e79=_0x15ed9a,_0x1c9c7f=new _0x31d190[(_0x556e79(0x1ca))](),_0x26475c=[],_0x3c6ce2=_0x582842[_0x556e79(0x1d5)]>0x1;let _0x3d7c93=0x0,_0x56d6a4=0x0;for(const _0x668e7 of _0x582842)_0x3d7c93+=_0x668e7[_0x556e79(0x1e9)]-_0x668e7[_0x556e79(0x1a0)]+0x1,_0x56d6a4+=_0x668e7[_0x556e79(0x1d2)]-_0x668e7[_0x556e79(0x168)]+0x1;for(const _0x43e351 of _0x29bd42)for(let _0x5aed0f=_0x43e351['startRow'];_0x5aed0f<=_0x43e351[_0x556e79(0x1e9)];_0x5aed0f++)for(let _0x57b789=_0x43e351[_0x556e79(0x168)];_0x57b789<=_0x43e351['endColumn'];_0x57b789++)_0x26475c[_0x556e79(0x1c0)]({'row':_0x5aed0f,'column':_0x57b789});if(_0x26475c['length']===_0x3d7c93)_0x3c6ce2?_0x26475c[_0x556e79(0x19b)]((_0x68f2db,_0x3187ae)=>{const _0x2d9060=_0x556e79,_0x4c797=_0x582842[_0x3187ae],_0x59e473={'startRow':_0x4c797[_0x2d9060(0x1a0)],'startColumn':_0x4c797[_0x2d9060(0x168)],'endRow':_0x4c797[_0x2d9060(0x1a0)],'endColumn':_0x4c797[_0x2d9060(0x1d2)]};_0x1c9c7f[_0x2d9060(0x1ee)](_0x68f2db[_0x2d9060(0x1e3)],_0x68f2db['column'],_0x59e473);}):_0x26475c[_0x556e79(0x19b)]((_0x1abe4e,_0x38bfcf)=>{const _0x50e4f6=_0x556e79,_0x45cd01=_0x582842[0x0],_0x2e18f8={'startRow':_0x45cd01['startRow']+_0x38bfcf,'startColumn':_0x45cd01[_0x50e4f6(0x168)],'endRow':_0x45cd01['startRow']+_0x38bfcf,'endColumn':_0x45cd01[_0x50e4f6(0x1d2)]};_0x1c9c7f[_0x50e4f6(0x1ee)](_0x1abe4e[_0x50e4f6(0x1e3)],_0x1abe4e[_0x50e4f6(0x1ba)],_0x2e18f8);});else{if(_0x26475c[_0x556e79(0x1d5)]===_0x56d6a4)_0x3c6ce2?_0x26475c['forEach']((_0x20eaea,_0x3f594c)=>{const _0x30a8cb=_0x556e79,_0x4c762d=_0x582842[_0x3f594c],_0x52122f={'startRow':_0x4c762d[_0x30a8cb(0x1a0)],'startColumn':_0x4c762d['startColumn'],'endRow':_0x4c762d[_0x30a8cb(0x1e9)],'endColumn':_0x4c762d[_0x30a8cb(0x168)]};_0x1c9c7f['setValue'](_0x20eaea[_0x30a8cb(0x1e3)],_0x20eaea['column'],_0x52122f);}):_0x26475c[_0x556e79(0x19b)]((_0x101925,_0x2a701c)=>{const _0x450c83=_0x556e79,_0x3ccc86=_0x582842[0x0],_0x358149={'startRow':_0x3ccc86[_0x450c83(0x1a0)],'startColumn':_0x3ccc86[_0x450c83(0x168)]+_0x2a701c,'endRow':_0x3ccc86[_0x450c83(0x1e9)],'endColumn':_0x3ccc86[_0x450c83(0x168)]+_0x2a701c};_0x1c9c7f[_0x450c83(0x1ee)](_0x101925['row'],_0x101925[_0x450c83(0x1ba)],_0x358149);});else{if(_0x26475c[_0x556e79(0x1d5)]===_0x582842[_0x556e79(0x1d5)])_0x582842[_0x556e79(0x1fc)](_0x87c704=>!(_0x87c704[_0x556e79(0x1a0)]!==_0x87c704[_0x556e79(0x1e9)]&&_0x87c704[_0x556e79(0x168)]!==_0x87c704[_0x556e79(0x1d2)]))&&_0x26475c[_0x556e79(0x19b)]((_0x266d8d,_0x5b880a)=>{const _0x4db2c0=_0x556e79,_0x34c5dc=_0x582842[_0x5b880a];_0x1c9c7f[_0x4db2c0(0x1ee)](_0x266d8d[_0x4db2c0(0x1e3)],_0x266d8d[_0x4db2c0(0x1ba)],_0x34c5dc);});else throw new Error('Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.');}}return _0x1c9c7f;}const _0x2bdcee=_0x15ed9a(0x1a7),_0x425d02={'standard':[_0x15ed9a(0x1e0),_0x15ed9a(0x237)],'specialty':[_0x15ed9a(0x1b7),_0x15ed9a(0x1dd)],'distinctive':[_0x15ed9a(0x1a4),'rgb(252,117,60)'],'soft':[_0x15ed9a(0x18a),_0x15ed9a(0x1cc)],'fresh':['rgb(46,187,122)',_0x15ed9a(0x208)]},_0x4da1af=[_0x15ed9a(0x1ff),_0x15ed9a(0x20b),'lastPoint','lowPoint','negativePoint',_0x15ed9a(0x19d)];var _0x1ed78d=(_0x38fdba=>(_0x38fdba['STANDARD']=_0x15ed9a(0x181),_0x38fdba[_0x15ed9a(0x1b4)]=_0x15ed9a(0x18b),_0x38fdba[_0x15ed9a(0x16e)]='distinctive',_0x38fdba[_0x15ed9a(0x1ad)]=_0x15ed9a(0x1ec),_0x38fdba[_0x15ed9a(0x216)]='fresh',_0x38fdba['CUSTOM']=_0x15ed9a(0x172),_0x38fdba))(_0x1ed78d||{}),_0x11d5e6=(_0x486b5e=>(_0x486b5e[_0x486b5e['LINE_CHART']=0x1]=_0x15ed9a(0x260),_0x486b5e[_0x486b5e[_0x15ed9a(0x217)]=0x2]=_0x15ed9a(0x217),_0x486b5e[_0x486b5e[_0x15ed9a(0x17d)]=0x3]=_0x15ed9a(0x17d),_0x486b5e[_0x486b5e[_0x15ed9a(0x198)]=0x4]=_0x15ed9a(0x198),_0x486b5e))(_0x11d5e6||{}),_0x4ddcc1=(_0xbbc3d8=>(_0xbbc3d8[_0x15ed9a(0x25d)]=_0x15ed9a(0x257),_0xbbc3d8[_0x15ed9a(0x230)]='zero_value',_0xbbc3d8['CONNECT_WITH_LINE']=_0x15ed9a(0x25e),_0xbbc3d8))(_0x4ddcc1||{}),_0x22bf49=(_0x4f76f7=>(_0x4f76f7[_0x4f76f7['SELF_EXTREMUM']=0x1]=_0x15ed9a(0x160),_0x4f76f7[_0x4f76f7[_0x15ed9a(0x23c)]=0x2]=_0x15ed9a(0x23c),_0x4f76f7[_0x4f76f7['CUSTOM_EXTREMUM']=0x3]=_0x15ed9a(0x193),_0x4f76f7))(_0x22bf49||{}),_0x29d865=Object[_0x15ed9a(0x1cd)],_0x1921a2=(_0x18e7bb,_0x377fda,_0x1e6f4c,_0x381fd1)=>{const _0x5c88f9=_0x15ed9a;for(var _0x2c7063=_0x381fd1>0x1?void 0x0:_0x381fd1?_0x29d865(_0x377fda,_0x1e6f4c):_0x377fda,_0x419a73=_0x18e7bb[_0x5c88f9(0x1d5)]-0x1,_0x254f65;_0x419a73>=0x0;_0x419a73--)(_0x254f65=_0x18e7bb[_0x419a73])&&(_0x2c7063=_0x254f65(_0x2c7063)||_0x2c7063);return _0x2c7063;},_0x9f7def=(_0x47c391,_0x80568d)=>(_0x3eca49,_0x10c2f0)=>_0x80568d(_0x3eca49,_0x10c2f0,_0x47c391);_0x33c1ed['SparklineDataSourceModel']=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x3c71fb){const _0x27d2d6=_0x15ed9a;super(),_0x2c41c4(this,_0x27d2d6(0x259),new Map()),_0x2c41c4(this,_0x27d2d6(0x23f),new Map()),_0x2c41c4(this,_0x27d2d6(0x1d7),new _0x356350[(_0x27d2d6(0x163))]()),_0x2c41c4(this,_0x27d2d6(0x247),this[_0x27d2d6(0x1d7)]['asObservable']()),this[_0x27d2d6(0x1c6)]=_0x3c71fb;}[_0x15ed9a(0x15b)](_0x458adf,_0x859978){const _0x2ca342=_0x15ed9a;let _0x2b8cb6=this[_0x2ca342(0x259)][_0x2ca342(0x1d9)](_0x458adf);_0x2b8cb6||(_0x2b8cb6=new Map(),this[_0x2ca342(0x259)][_0x2ca342(0x227)](_0x458adf,_0x2b8cb6));let _0x4bdc73=_0x2b8cb6['get'](_0x859978);return _0x4bdc73||(_0x4bdc73=new Map(),_0x2b8cb6[_0x2ca342(0x227)](_0x859978,_0x4bdc73)),_0x4bdc73;}[_0x15ed9a(0x166)](_0x5649c0,_0x4182fb){const _0x42c65a=_0x15ed9a;let _0x17f1a1=this['_sparklineAnchorMap']['get'](_0x5649c0);_0x17f1a1||(_0x17f1a1=new Map(),this[_0x42c65a(0x23f)][_0x42c65a(0x227)](_0x5649c0,_0x17f1a1));let _0x42efbd=_0x17f1a1[_0x42c65a(0x1d9)](_0x4182fb);return _0x42efbd||(_0x42efbd={'matrix':new _0x31d190['ObjectMatrix'](),'extra':{}},_0x17f1a1[_0x42c65a(0x227)](_0x4182fb,_0x42efbd)),_0x42efbd;}[_0x15ed9a(0x1ef)](_0x25dcca,_0x1a70c9,_0x39840f,_0x4371a7=_0x15ed9a(0x227)){const _0x22c371=_0x15ed9a;var _0x270e9e,_0x409f7a,_0x24bbac,_0x1f7a12,_0x22695d,_0x2b9998,_0x12641c,_0x3fe401,_0x4137ad,_0x4cf883,_0x1f6678,_0x56cd7e,_0x760bd0;const _0x4c9960=(_0x409f7a=(_0x270e9e=this['_sparklineModel']['get'](_0x25dcca))==null?void 0x0:_0x270e9e[_0x22c371(0x1d9)](_0x1a70c9))==null?void 0x0:_0x409f7a[_0x22c371(0x1d9)](_0x39840f);if(!_0x4c9960)return;const _0x3db188=_0x25282a[_0x22c371(0x214)](this[_0x22c371(0x1c6)],{'unitId':_0x25dcca,'subUnitId':_0x1a70c9});if(!_0x3db188)return;const _0x4b3a67=this['_ensureAnchorMatrix'](_0x25dcca,_0x1a70c9),{extra:_0x595427,matrix:_0x40958a}=_0x4b3a67,{worksheet:_0x3200eb}=_0x3db188;let _0x58b6a3=Number[_0x22c371(0x24e)],_0x314254=Number[_0x22c371(0x229)];const _0x57e921=(_0x24bbac=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x1f3)])!=null?_0x24bbac:!0x1;_0x4c9960[_0x22c371(0x15c)][_0x22c371(0x1c1)]((_0x297880,_0x3d46ef,_0x50fda2)=>{const _0x35be4b=_0x22c371;var _0x33314e,_0x5f2b86,_0x2e42a5;const _0x5f4601=_0x50fda2;let _0x17d84f=Number['MIN_SAFE_INTEGER'],_0x2147c9=Number['MAX_SAFE_INTEGER'],_0x314860=0x0,_0x9c7854=0x0;const _0x807155=[];if(!_0x31d190[_0x35be4b(0x1bf)](_0x5f4601))_0x40958a['setValue'](_0x297880,_0x3d46ef,{'groupId':_0x39840f,'data':[],'max':_0x17d84f,'min':_0x2147c9,'highIndex':_0x314860,'lowIndex':_0x9c7854,'negativeIndexes':_0x807155});else{const _0x5c4c5c=[];for(let _0x51b8c5=_0x5f4601[_0x35be4b(0x1a0)];_0x51b8c5<=_0x5f4601['endRow'];_0x51b8c5++){for(let _0x34032d=_0x5f4601[_0x35be4b(0x168)];_0x34032d<=_0x5f4601[_0x35be4b(0x1d2)];_0x34032d++){const _0x11f741=_0x3200eb[_0x35be4b(0x171)](_0x51b8c5),_0x210ced=_0x3200eb[_0x35be4b(0x1ac)](_0x34032d);if(!_0x57e921&&(!_0x11f741||!_0x210ced))continue;let _0x304082=0x0;const _0x3275bb=((_0x33314e=_0x3200eb[_0x35be4b(0x199)](_0x51b8c5,_0x34032d))==null?void 0x0:_0x33314e['v'])!==void 0x0?_0x3200eb['getCellRaw'](_0x51b8c5,_0x34032d):_0x3200eb[_0x35be4b(0x243)](_0x51b8c5,_0x34032d);if(!_0x3275bb||_0x3275bb['v']===void 0x0||_0x3275bb['v']===null){const _0x108164=(_0x5f2b86=_0x4c9960[_0x35be4b(0x240)][_0x35be4b(0x1d4)])!=null?_0x5f2b86:_0x4ddcc1[_0x35be4b(0x25d)];_0x108164===_0x4ddcc1[_0x35be4b(0x230)]?_0x304082=0x0:_0x108164===_0x4ddcc1['SPACING']?_0x304082=_0x35be4b(0x239):_0x108164===_0x4ddcc1['CONNECT_WITH_LINE']&&(_0x304082=_0x35be4b(0x233));}else{if(_0x3275bb['t']===_0x31d190[_0x35be4b(0x17f)]['STRING']||_0x3275bb['t']===_0x31d190[_0x35be4b(0x17f)]['FORCE_STRING']){const _0x46c5b8=(_0x2e42a5=_0x4c9960[_0x35be4b(0x240)]['nonNumShowAs'])!=null?_0x2e42a5:_0x4ddcc1['SPACING'];_0x46c5b8===_0x4ddcc1[_0x35be4b(0x230)]?_0x304082=0x0:_0x46c5b8===_0x4ddcc1['SPACING']?_0x304082='u-spacing':_0x46c5b8===_0x4ddcc1[_0x35be4b(0x1fb)]&&(_0x304082=_0x35be4b(0x233));}else _0x3275bb['t']===_0x31d190[_0x35be4b(0x17f)]['BOOLEAN']?_0x304082=_0x3275bb['v']?0x1:0x0:_0x3275bb['t']===_0x31d190['CellValueType'][_0x35be4b(0x219)]?_0x304082=Number(_0x3275bb['v']):_0x304082=_0x3275bb['v'];}if(_0x5c4c5c[_0x35be4b(0x1c0)](_0x304082),typeof _0x304082=='number'){_0x17d84f=Math[_0x35be4b(0x249)](_0x17d84f,_0x304082),_0x58b6a3=Math[_0x35be4b(0x249)](_0x58b6a3,_0x304082),_0x314254=Math['min'](_0x314254,_0x304082),_0x2147c9=Math['min'](_0x2147c9,_0x304082);const _0x344e0d=typeof _0x5c4c5c[_0x314860]==_0x35be4b(0x24b)?Number(_0x5c4c5c[_0x314860]):Number['MIN_SAFE_INTEGER'];_0x304082>_0x344e0d&&(_0x314860=_0x5c4c5c[_0x35be4b(0x1d5)]-0x1);const _0x695615=typeof _0x5c4c5c[_0x9c7854]==_0x35be4b(0x24b)?Number(_0x5c4c5c[_0x9c7854]):Number[_0x35be4b(0x229)];_0x304082<_0x695615&&(_0x9c7854=_0x5c4c5c[_0x35be4b(0x1d5)]-0x1),_0x304082<0x0&&_0x807155[_0x35be4b(0x1c0)](_0x5c4c5c[_0x35be4b(0x1d5)]-0x1);}}_0x40958a['setValue'](_0x297880,_0x3d46ef,{'groupId':_0x39840f,'data':_0x5c4c5c,'max':_0x17d84f,'min':_0x2147c9,'highIndex':_0x314860,'lowIndex':_0x9c7854,'negativeIndexes':_0x807155});}}});let _0x25469b=_0x58b6a3;((_0x1f7a12=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x23a)])==null?void 0x0:_0x1f7a12['type'])===_0x22bf49['CUSTOM_EXTREMUM']&&(_0x25469b=(_0x2b9998=(_0x22695d=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x23a)])==null?void 0x0:_0x22695d['value'])!=null?_0x2b9998:_0x58b6a3);let _0x3e51ec=_0x314254;((_0x12641c=_0x4c9960[_0x22c371(0x240)]['extremumMin'])==null?void 0x0:_0x12641c[_0x22c371(0x1eb)])===_0x22bf49[_0x22c371(0x193)]&&(_0x3e51ec=(_0x4137ad=(_0x3fe401=_0x4c9960['config']['extremumMin'])==null?void 0x0:_0x3fe401[_0x22c371(0x1e4)])!=null?_0x4137ad:_0x314254);const _0x5935ff=(_0x4cf883=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x19c)])!=null?_0x4cf883:_0x1ed78d[_0x22c371(0x15d)],_0x3ffcdd=(_0x760bd0=(_0x56cd7e=_0x4c9960[_0x22c371(0x240)]['seriesColor'])!=null?_0x56cd7e:(_0x1f6678=_0x425d02[_0x5935ff])==null?void 0x0:_0x1f6678[0x0])!=null?_0x760bd0:_0x425d02['standard'][0x0],_0x3fa126=new _0x31d190[(_0x22c371(0x1a3))](_0x3ffcdd),_0x3bc773=_0x3fa126[_0x22c371(0x21c)](0.2)[_0x22c371(0x246)](),_0x220be8=_0x3fa126[_0x22c371(0x21c)](0.05)[_0x22c371(0x246)]();_0x595427[_0x39840f]={'groupMax':_0x58b6a3,'groupMin':_0x314254,'showMax':_0x25469b,'showMin':_0x3e51ec,'startGradient':_0x3bc773,'endGradient':_0x220be8},this[_0x22c371(0x1d7)][_0x22c371(0x21e)]({'unitId':_0x25dcca,'subUnitId':_0x1a70c9,'groupId':_0x39840f,'config':_0x4c9960,'type':_0x4371a7});}[_0x15ed9a(0x17a)](_0x216447,_0x5d1949,_0xf3f732,_0x384e1b){const _0x30c259=_0x15ed9a;this['_ensureConfigMap'](_0x216447,_0x5d1949)[_0x30c259(0x227)](_0xf3f732,_0x384e1b),this[_0x30c259(0x1ef)](_0x216447,_0x5d1949,_0xf3f732,_0x30c259(0x1a9));}['setSparkline'](_0x1613ce,_0x5ca1a5,_0x305335,_0x5cee12){const _0x18da33=_0x15ed9a;var _0x2bbe9a;const _0x273229=(_0x2bbe9a=this['_sparklineModel'][_0x18da33(0x1d9)](_0x1613ce))==null?void 0x0:_0x2bbe9a[_0x18da33(0x1d9)](_0x5ca1a5);_0x305335['forEach'](_0x30da99=>{const _0x526602=_0x18da33;_0x273229!=null&&_0x273229['has'](_0x30da99)&&(_0x273229[_0x526602(0x227)](_0x30da99,_0x5cee12),this[_0x526602(0x1ef)](_0x1613ce,_0x5ca1a5,_0x30da99));});}[_0x15ed9a(0x206)](_0x2d73e3,_0x2c2bf1,_0x1fcf60){const _0x28d2f2=_0x15ed9a;var _0xc5ffdf,_0x2c3e42;const _0x33a021=this[_0x28d2f2(0x259)][_0x28d2f2(0x1d9)](_0x2d73e3);if(_0x33a021){const _0x42d1de=_0x33a021['get'](_0x2c2bf1);if(_0x42d1de){_0x42d1de[_0x28d2f2(0x207)](_0x1fcf60);const _0x2864f7=(_0xc5ffdf=this[_0x28d2f2(0x23f)][_0x28d2f2(0x1d9)](_0x2d73e3))==null?void 0x0:_0xc5ffdf[_0x28d2f2(0x1d9)](_0x2c2bf1);(_0x2c3e42=_0x2864f7==null?void 0x0:_0x2864f7[_0x28d2f2(0x1f8)])==null||_0x2c3e42[_0x28d2f2(0x1c1)]((_0x742d37,_0x3a0597,_0x10603b)=>{const _0xbd8d90=_0x28d2f2;(_0x10603b==null?void 0x0:_0x10603b[_0xbd8d90(0x1e8)])===_0x1fcf60&&(_0x2864f7==null||_0x2864f7['matrix'][_0xbd8d90(0x1bd)](_0x742d37,_0x3a0597));}),this[_0x28d2f2(0x1d7)][_0x28d2f2(0x21e)]({'unitId':_0x2d73e3,'subUnitId':_0x2c2bf1,'groupId':_0x1fcf60,'type':'remove'}),_0x42d1de[_0x28d2f2(0x1a5)]===0x0&&_0x33a021[_0x28d2f2(0x207)](_0x2c2bf1);}}}[_0x15ed9a(0x18f)](_0x5f2203,_0x5f34d8,_0x18e21d,_0x4401f8){const _0x2e57f5=_0x15ed9a;var _0x309983,_0x2d0126,_0x352264,_0x1e41d7;const _0x35f5f2=(_0x309983=this[_0x2e57f5(0x23f)][_0x2e57f5(0x1d9)](_0x5f2203))==null?void 0x0:_0x309983[_0x2e57f5(0x1d9)](_0x5f34d8),_0x3d4ffb=_0x35f5f2==null?void 0x0:_0x35f5f2['matrix'][_0x2e57f5(0x1da)](_0x18e21d,_0x4401f8);if(_0x3d4ffb){const {groupId:_0x49b724}=_0x3d4ffb,_0x593674=(_0x2d0126=this[_0x2e57f5(0x259)][_0x2e57f5(0x1d9)](_0x5f2203))==null?void 0x0:_0x2d0126[_0x2e57f5(0x1d9)](_0x5f34d8);(_0x352264=_0x593674==null?void 0x0:_0x593674[_0x2e57f5(0x1d9)](_0x49b724))==null||_0x352264[_0x2e57f5(0x15c)]['realDeleteValue'](_0x18e21d,_0x4401f8),(_0x1e41d7=_0x593674==null?void 0x0:_0x593674[_0x2e57f5(0x1d9)](_0x49b724))!=null&&_0x1e41d7[_0x2e57f5(0x15c)][_0x2e57f5(0x1af)]()||_0x593674==null||_0x593674['delete'](_0x49b724),_0x35f5f2==null||_0x35f5f2['matrix'][_0x2e57f5(0x1bd)](_0x18e21d,_0x4401f8),this[_0x2e57f5(0x1d7)][_0x2e57f5(0x21e)]({'unitId':_0x5f2203,'subUnitId':_0x5f34d8,'groupId':_0x49b724,'type':_0x2e57f5(0x1d3)});}}[_0x15ed9a(0x211)](_0x3335f8,_0x4761c5,_0x591c5f){const _0x234b8d=_0x15ed9a;var _0x577e10,_0x386562,_0x5a7de9,_0xe8edca;const _0x500fb6=(_0x5a7de9=(_0x386562=(_0x577e10=this[_0x234b8d(0x259)][_0x234b8d(0x1d9)](_0x3335f8))==null?void 0x0:_0x577e10[_0x234b8d(0x1d9)](_0x4761c5))==null?void 0x0:_0x386562['get'](_0x591c5f))==null?void 0x0:_0x5a7de9[_0x234b8d(0x15c)],_0x2f1fe1=(_0xe8edca=this[_0x234b8d(0x23f)][_0x234b8d(0x1d9)](_0x3335f8))==null?void 0x0:_0xe8edca['get'](_0x4761c5);if(_0x500fb6&&_0x2f1fe1){const {matrix:_0x1316b6,extra:_0x6b2076}=_0x2f1fe1;_0x500fb6[_0x234b8d(0x1c1)]((_0x3652b7,_0x1d6248,_0x1e7496)=>{const _0x19aa88=_0x234b8d;_0x1316b6[_0x19aa88(0x1bd)](_0x3652b7,_0x1d6248);}),delete _0x6b2076[_0x591c5f];}}['getSubUnitSparkline'](_0x290120,_0x450af8){const _0x538985=_0x15ed9a;var _0x13502d;return(_0x13502d=this[_0x538985(0x259)][_0x538985(0x1d9)](_0x290120))==null?void 0x0:_0x13502d[_0x538985(0x1d9)](_0x450af8);}[_0x15ed9a(0x248)](_0xfb898a,_0x124618,_0x5750f1){const _0x44b357=_0x15ed9a;var _0x1f379d,_0x2370a0;return(_0x2370a0=(_0x1f379d=this[_0x44b357(0x259)][_0x44b357(0x1d9)](_0xfb898a))==null?void 0x0:_0x1f379d['get'](_0x124618))==null?void 0x0:_0x2370a0[_0x44b357(0x1d9)](_0x5750f1);}[_0x15ed9a(0x23d)](_0x3bdcaa,_0x11c540,_0x5b6d0c,_0x4750d8){const _0x28b642=_0x15ed9a;var _0x25d869,_0x41b69f,_0x407315;return(_0x407315=(_0x41b69f=(_0x25d869=this[_0x28b642(0x23f)][_0x28b642(0x1d9)](_0x3bdcaa))==null?void 0x0:_0x25d869[_0x28b642(0x1d9)](_0x11c540))==null?void 0x0:_0x41b69f[_0x28b642(0x1f8)][_0x28b642(0x1da)](_0x5b6d0c,_0x4750d8))==null?void 0x0:_0x407315[_0x28b642(0x1e8)];}[_0x15ed9a(0x1f5)](_0x3e20e7,_0x3b4a3b){const _0x5019c3=_0x15ed9a;var _0x2a8d38;const _0x5266e5=this[_0x5019c3(0x166)](_0x3e20e7,_0x3b4a3b);_0x5266e5[_0x5019c3(0x1f8)][_0x5019c3(0x1c1)]((_0x45ee36,_0x9da744)=>{const _0x4e160c=_0x5019c3;_0x5266e5[_0x4e160c(0x1f8)][_0x4e160c(0x1bd)](_0x45ee36,_0x9da744);});const _0x5d6f2f=(_0x2a8d38=this[_0x5019c3(0x259)][_0x5019c3(0x1d9)](_0x3e20e7))==null?void 0x0:_0x2a8d38[_0x5019c3(0x1d9)](_0x3b4a3b);if(_0x5d6f2f){for(const [_0x151880]of _0x5d6f2f)this[_0x5019c3(0x1ef)](_0x3e20e7,_0x3b4a3b,_0x151880);}}[_0x15ed9a(0x169)](){const _0x2a665c=_0x15ed9a;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x2a665c(0x23f)]};}[_0x15ed9a(0x258)](_0x5288d6){const _0x4f4893=_0x15ed9a,_0x40278c={};if(this['_sparklineModel'][_0x4f4893(0x189)](_0x5288d6)){_0x40278c[_0x5288d6]={};const _0x2ecdbc=this[_0x4f4893(0x259)]['get'](_0x5288d6);_0x2ecdbc!=null&&_0x2ecdbc['size']&&Array[_0x4f4893(0x1fe)](_0x2ecdbc[_0x4f4893(0x1d6)]())[_0x4f4893(0x19b)](_0x573ec7=>{const _0x463156=_0x4f4893;_0x40278c[_0x5288d6][_0x573ec7]={};const _0x12e09f=_0x2ecdbc['get'](_0x573ec7);_0x12e09f!=null&&_0x12e09f['size']&&Array[_0x463156(0x1fe)](_0x12e09f[_0x463156(0x1d6)]())[_0x463156(0x19b)](_0x49e234=>{const _0x144610=_0x463156,_0x5060bf=_0x12e09f[_0x144610(0x1d9)](_0x49e234);_0x5060bf&&(_0x40278c[_0x5288d6][_0x573ec7][_0x49e234]={'config':_0x5060bf[_0x144610(0x240)],'sparklines':_0x5060bf[_0x144610(0x15c)][_0x144610(0x20c)]()});});});}return _0x40278c;}['fromJSON'](_0x2e7396){const _0x3ab7a2=_0x15ed9a;if(!_0x2e7396)return;Object[_0x3ab7a2(0x1d6)](_0x2e7396)['forEach'](_0x4d90a9=>{const _0x496417=_0x3ab7a2,_0x25dc69=_0x2e7396[_0x4d90a9];_0x25dc69&&Object[_0x496417(0x1d6)](_0x25dc69)[_0x496417(0x19b)](_0x5105c9=>{const _0x27502f=_0x496417,_0x3a2657=_0x25dc69[_0x5105c9];_0x3a2657&&Object[_0x27502f(0x1d6)](_0x3a2657)[_0x27502f(0x19b)](_0x36c5a2=>{const _0xf6c713=_0x27502f,_0x2b7dab=_0x3a2657[_0x36c5a2];if(_0x2b7dab){const _0x2cb5c9={'config':_0x2b7dab['config'],'sparklines':new _0x31d190['ObjectMatrix'](_0x2b7dab[_0xf6c713(0x15c)])};this[_0xf6c713(0x17a)](_0x4d90a9,_0x5105c9,_0x36c5a2,_0x2cb5c9);}});});});}[_0x15ed9a(0x1c5)](_0x57d23d){const _0x26f004=_0x15ed9a,_0x62a5c5=this['_sparklineModel'][_0x26f004(0x1d9)](_0x57d23d);if(_0x62a5c5){for(const [_0x57e2b9]of _0x62a5c5){const _0x3d6c10=_0x62a5c5[_0x26f004(0x1d9)](_0x57e2b9);if(_0x3d6c10){for(const [_0x55febc]of _0x3d6c10)this['clearSparklineCache'](_0x57d23d,_0x57e2b9,_0x55febc);}}this[_0x26f004(0x259)][_0x26f004(0x207)](_0x57d23d);}}},_0x33c1ed[_0x15ed9a(0x159)]=_0x1921a2([_0x9f7def(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x1c8)]))],_0x33c1ed[_0x15ed9a(0x159)]);const _0x3f9b3d={'id':_0x15ed9a(0x170),'type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x22a)],'handler':(_0x272b61,_0x292438)=>{const _0x1a9195=_0x15ed9a;if(!_0x292438)return!0x1;const {sparklineConfigMap:_0x3745f1,unitId:_0x32626c,subUnitId:_0x53f641}=_0x292438,_0x4d2b64=_0x272b61[_0x1a9195(0x1d9)](_0x33c1ed[_0x1a9195(0x159)]);return Object['entries'](_0x3745f1)[_0x1a9195(0x19b)](([_0x221708,_0x31b829])=>{const _0x2ba356=_0x1a9195,_0x5a73ae={'config':_0x31b829['config'],'sparklines':new _0x31d190[(_0x2ba356(0x1ca))](_0x31b829['sparklines'])};_0x4d2b64['addSparkline'](_0x32626c,_0x53f641,_0x221708,_0x5a73ae);}),!0x0;}},_0x38f3fd={'id':_0x15ed9a(0x194),'type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x22a)],'handler':(_0x62f1d1,_0x2a7cbc)=>{const _0x70f574=_0x15ed9a;if(!_0x2a7cbc)return!0x1;const {unitId:_0x1e6729,subUnitId:_0x387594,ranges:_0x405ef2,isSingle:_0x2d1b4c,groupIds:_0x2e14fd}=_0x2a7cbc,_0x250740=_0x62f1d1['get'](_0x33c1ed[_0x70f574(0x159)]);return _0x2e14fd?(_0x2e14fd[_0x70f574(0x19b)](_0x1414b9=>{_0x250740['removeSparkline'](_0x1e6729,_0x387594,_0x1414b9);}),!0x0):_0x405ef2?(_0x405ef2[_0x70f574(0x19b)](_0x5027b6=>{const _0x16da68=_0x70f574;_0x31d190[_0x16da68(0x164)][_0x16da68(0x16b)](_0x5027b6,(_0x5d8362,_0x23cacc)=>{const _0x2cebb0=_0x16da68,_0x28f5b9=_0x250740[_0x2cebb0(0x23d)](_0x1e6729,_0x387594,_0x5d8362,_0x23cacc);_0x28f5b9&&(_0x2d1b4c?_0x250740[_0x2cebb0(0x18f)](_0x1e6729,_0x387594,_0x5d8362,_0x23cacc):_0x250740[_0x2cebb0(0x206)](_0x1e6729,_0x387594,_0x28f5b9));});}),!0x0):!0x1;}},_0x4331aa={'id':_0x15ed9a(0x256),'type':_0x31d190[_0x15ed9a(0x1be)]['COMMAND'],'handler':(_0x52986c,_0x8d7c52)=>{const _0x134437=_0x15ed9a;if(!_0x8d7c52)return!0x1;const {sourceRanges:_0x44f61a,targetRanges:_0x75227d,config:_0xe84d1e}=_0x8d7c52,_0x572a78=_0x52986c['get'](_0x31d190['IUndoRedoService']),_0x22afc0='g_'+_0x31d190[_0x134437(0x18c)](0x6),_0x3465b1=_0x68a83c(_0x44f61a,_0x75227d),_0xce314b={'config':_0xe84d1e!=null?_0xe84d1e:{},'sparklines':_0x3465b1['getMatrix']()},_0x20c984=_0x52986c[_0x134437(0x1d9)](_0x31d190[_0x134437(0x1c8)]),_0x1ae0f8=_0x52986c[_0x134437(0x1d9)](_0x33c1ed[_0x134437(0x159)]),_0x1a9c72=_0x25282a['getSheetCommandTarget'](_0x20c984);if(!_0x1a9c72)return!0x1;const {unitId:_0x4afb7c,subUnitId:_0x17ef73}=_0x1a9c72,_0x20db7a=_0x52986c['get'](_0x31d190['ICommandService']),_0x2da0ea=[],_0x1c4435=[],_0x4f1931={},_0x3bfa78={},_0x258a4e=new Set([_0x22afc0]);_0x3465b1[_0x134437(0x1c1)]((_0x213b12,_0x245ad9,_0x4b45d3)=>{const _0x5b8b34=_0x134437,_0x2d8166=_0x1ae0f8[_0x5b8b34(0x23d)](_0x4afb7c,_0x17ef73,_0x213b12,_0x245ad9);if(_0x2d8166){const _0x408c00=_0x1ae0f8[_0x5b8b34(0x248)](_0x4afb7c,_0x17ef73,_0x2d8166);if(_0x408c00){_0x258a4e['add'](_0x2d8166);let _0x267881=_0x4f1931[_0x2d8166],_0x46c81e=_0x3bfa78[_0x2d8166];_0x46c81e||(_0x46c81e={'config':_0x31d190[_0x5b8b34(0x1f2)][_0x5b8b34(0x201)](_0x408c00[_0x5b8b34(0x240)]),'sparklines':new _0x31d190['ObjectMatrix'](_0x408c00[_0x5b8b34(0x15c)][_0x5b8b34(0x1bc)]())},_0x3bfa78[_0x2d8166]=_0x46c81e),_0x267881||(_0x267881={'config':_0x31d190['Tools'][_0x5b8b34(0x201)](_0x408c00[_0x5b8b34(0x240)]),'sparklines':_0x408c00[_0x5b8b34(0x15c)][_0x5b8b34(0x1bc)]()},_0x4f1931[_0x2d8166]=_0x267881),_0x46c81e[_0x5b8b34(0x15c)][_0x5b8b34(0x1bd)](_0x213b12,_0x245ad9);}}});const _0x528d56={};return Object[_0x134437(0x25a)](_0x3bfa78)[_0x134437(0x19b)](([_0x184c07,_0x29dca2])=>{const _0x55d93c=_0x134437;_0x29dca2[_0x55d93c(0x15c)][_0x55d93c(0x224)]()&&(_0x528d56[_0x184c07]={'config':_0x29dca2[_0x55d93c(0x240)],'sparklines':_0x29dca2[_0x55d93c(0x15c)]['clone']()});}),_0x528d56[_0x22afc0]=_0xce314b,_0x2da0ea[_0x134437(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'groupIds':Array['from'](_0x258a4e),'isSingle':!0x1}}),_0x258a4e[_0x134437(0x1a5)]>0x1&&(_0x1c4435['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'groupIds':Array['from'](_0x258a4e),'isSingle':!0x1}}),_0x2da0ea[_0x134437(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'sparklineConfigMap':_0x4f1931}})),_0x1c4435[_0x134437(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'sparklineConfigMap':_0x528d56}}),_0x31d190[_0x134437(0x1e2)](_0x1c4435,_0x20db7a),_0x572a78[_0x134437(0x1f6)]({'unitID':_0x4afb7c,'undoMutations':_0x2da0ea,'redoMutations':_0x1c4435}),!0x0;}},_0x43b5a7={'id':'sheet.command.remove-sparkline','type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x1d8)],'handler':(_0x837463,_0x40ff3e)=>{const _0x588c88=_0x15ed9a;var _0x5dafe7;const {isSingle:_0x5f5a2c=!0x0}=_0x40ff3e||{},_0x50279a=_0x837463[_0x588c88(0x1d9)](_0x31d190['ICommandService']),_0x4ad318=_0x837463[_0x588c88(0x1d9)](_0x31d190[_0x588c88(0x1c8)]),_0x586fdb=_0x837463[_0x588c88(0x1d9)](_0x33c1ed[_0x588c88(0x159)]),_0x26f977=_0x837463[_0x588c88(0x1d9)](_0x31d190['IUndoRedoService']),_0x5e4b1e=_0x25282a[_0x588c88(0x214)](_0x4ad318);if(!_0x5e4b1e)return!0x1;const _0x1bb273=_0x837463[_0x588c88(0x1d9)](_0x25282a['SheetsSelectionsService']),_0x14dcde=(_0x5dafe7=_0x40ff3e==null?void 0x0:_0x40ff3e['ranges'])!=null?_0x5dafe7:_0x1bb273[_0x588c88(0x186)]()[_0x588c88(0x23e)](_0x44d5be=>_0x44d5be['range']),{unitId:_0x3d61cf,subUnitId:_0x5ef259}=_0x5e4b1e,_0xdc5eb2=[],_0x27b0a0=[];_0xdc5eb2[_0x588c88(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x3d61cf,'subUnitId':_0x5ef259,'ranges':_0x14dcde,'isSingle':_0x5f5a2c}});const _0x44967b=[],_0x1e2079={};return _0x14dcde['forEach'](_0x1cceb5=>{const _0x8da095=_0x588c88;_0x31d190[_0x8da095(0x164)][_0x8da095(0x16b)](_0x1cceb5,(_0x3dbd57,_0x4e1bdd)=>{const _0x5d9130=_0x8da095,_0x447c85=_0x586fdb[_0x5d9130(0x23d)](_0x3d61cf,_0x5ef259,_0x3dbd57,_0x4e1bdd);if(_0x447c85){const _0x2b0490=_0x586fdb['getSparklineById'](_0x3d61cf,_0x5ef259,_0x447c85);_0x2b0490&&(_0x44967b[_0x5d9130(0x1c0)](_0x447c85),_0x1e2079[_0x447c85]={'config':_0x31d190[_0x5d9130(0x1f2)][_0x5d9130(0x201)](_0x2b0490[_0x5d9130(0x240)]),'sparklines':_0x31d190[_0x5d9130(0x1f2)][_0x5d9130(0x201)](_0x2b0490[_0x5d9130(0x15c)][_0x5d9130(0x1bc)]())});}});}),_0x27b0a0[_0x588c88(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x3d61cf,'subUnitId':_0x5ef259,'groupIds':_0x44967b,'isSingle':!0x1}}),_0x27b0a0[_0x588c88(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x3d61cf,'subUnitId':_0x5ef259,'sparklineConfigMap':_0x1e2079}}),_0x31d190[_0x588c88(0x1e2)](_0xdc5eb2,_0x50279a),_0x26f977['pushUndoRedo']({'unitID':_0x3d61cf,'undoMutations':_0x27b0a0,'redoMutations':_0xdc5eb2}),!0x0;}},_0x40f599={'id':_0x15ed9a(0x161),'type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x22a)],'handler':(_0x59b03d,_0x5eda46)=>{const _0x2e410e=_0x15ed9a;if(!_0x5eda46)return!0x1;const {unitId:_0x2caba8,subUnitId:_0x4b9af6,groupIds:_0x1b730a,config:_0x852dcc}=_0x5eda46,_0x386cd0=_0x59b03d['get'](_0x33c1ed['SparklineDataSourceModel']);return _0x1b730a[_0x2e410e(0x19b)](_0x2b0019=>{const _0x4504e2=_0x2e410e,_0x4538f4=_0x386cd0[_0x4504e2(0x248)](_0x2caba8,_0x4b9af6,_0x2b0019);if(_0x4538f4){const _0x2fbdc5={'config':Object[_0x4504e2(0x16f)]({},_0x4538f4[_0x4504e2(0x240)],_0x852dcc[_0x4504e2(0x240)]),'sparklines':new _0x31d190[(_0x4504e2(0x1ca))](_0x4538f4[_0x4504e2(0x15c)][_0x4504e2(0x1bc)]())};_0x386cd0['setSparkline'](_0x2caba8,_0x4b9af6,[_0x2b0019],_0x2fbdc5);}}),!0x0;}},_0x46f7a6={'id':_0x15ed9a(0x190),'type':_0x31d190['CommandType'][_0x15ed9a(0x1d8)],'handler':(_0x398d39,_0x112ab2)=>{const _0x48c037=_0x15ed9a;var _0x4aed02,_0x5f4cd2,_0x418ff6,_0x57d4e3;if(!_0x112ab2)return!0x1;const _0x12c611=_0x398d39[_0x48c037(0x1d9)](_0x31d190[_0x48c037(0x192)]),_0x289db8=_0x398d39['get'](_0x25282a['SheetsSelectionsService']),_0x17ed04=_0x398d39[_0x48c037(0x1d9)](_0x33c1ed[_0x48c037(0x159)]),_0x1b1489=_0x398d39[_0x48c037(0x1d9)](_0x31d190['IUniverInstanceService']),_0x229585=_0x398d39[_0x48c037(0x1d9)](_0x31d190[_0x48c037(0x222)]),_0x56d8ce=_0x25282a['getSheetCommandTarget'](_0x1b1489);if(!_0x56d8ce)return!0x1;const {unitId:_0x4b34ba,subUnitId:_0x5a754f}=_0x56d8ce,_0x5dba93=(_0x4aed02=_0x112ab2==null?void 0x0:_0x112ab2[_0x48c037(0x16c)])!=null?_0x4aed02:_0x289db8['getCurrentSelections']()[_0x48c037(0x23e)](_0x3bb116=>_0x3bb116[_0x48c037(0x1b9)]),_0xc8a8bf=(_0x5f4cd2=_0x17ed04['getSparklineCache']()['sparklineAnchorMap'][_0x48c037(0x1d9)](_0x4b34ba))==null?void 0x0:_0x5f4cd2[_0x48c037(0x1d9)](_0x5a754f),{isChangeDataSource:_0x483d11,config:_0x1c0ea2,combine:_0x370fa3,unCombine:_0x16f274}=_0x112ab2;if(_0x370fa3){const _0x3e3780=[],_0x471eab=[];_0x3e3780['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x0}});const _0x11847a='g_'+_0x31d190[_0x48c037(0x18c)](0x6),_0x477330=new _0x31d190[(_0x48c037(0x1ca))](),_0x4cfc0c=(_0x418ff6=_0x17ed04[_0x48c037(0x169)]()[_0x48c037(0x1b8)][_0x48c037(0x1d9)](_0x4b34ba))==null?void 0x0:_0x418ff6[_0x48c037(0x1d9)](_0x5a754f),_0x56a8f8=new Set([_0x11847a]),_0x14d596={};return _0x5dba93[_0x48c037(0x19b)](_0x3ff3e5=>{const _0x43c032=_0x48c037;var _0xd85dfc,_0x201e45;const {startRow:_0x95950c,endRow:_0x239c17,startColumn:_0x3a0417,endColumn:_0x687f1}=_0x3ff3e5;for(let _0x263a16=_0x95950c;_0x263a16<=_0x239c17;_0x263a16++)for(let _0x56577e=_0x3a0417;_0x56577e<=_0x687f1;_0x56577e++){const _0x296b69=(_0xd85dfc=_0xc8a8bf==null?void 0x0:_0xc8a8bf['matrix'][_0x43c032(0x1da)](_0x263a16,_0x56577e))==null?void 0x0:_0xd85dfc[_0x43c032(0x1e8)];if(_0x296b69){_0x56a8f8[_0x43c032(0x1a9)](_0x296b69);const _0x1ef993=_0x17ed04[_0x43c032(0x248)](_0x4b34ba,_0x5a754f,_0x296b69);_0x1ef993&&(_0x14d596[_0x296b69]={'config':_0x31d190['Tools']['deepClone'](_0x1ef993[_0x43c032(0x240)]),'sparklines':_0x31d190[_0x43c032(0x1f2)]['deepClone'](_0x1ef993[_0x43c032(0x15c)][_0x43c032(0x1bc)]())});const _0x4fa75a=(_0x201e45=_0x4cfc0c==null?void 0x0:_0x4cfc0c['get'](_0x296b69))==null?void 0x0:_0x201e45[_0x43c032(0x15c)][_0x43c032(0x1da)](_0x263a16,_0x56577e);_0x4fa75a&&_0x477330[_0x43c032(0x1ee)](_0x263a16,_0x56577e,_0x4fa75a);}}}),_0x3e3780[_0x48c037(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'sparklineConfigMap':{[_0x11847a]:{'config':_0x31d190[_0x48c037(0x1f2)][_0x48c037(0x201)](_0x1c0ea2['config']),'sparklines':_0x477330[_0x48c037(0x20c)]()}},'unitId':_0x4b34ba,'subUnitId':_0x5a754f}}),_0x471eab[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'isSingle':!0x1,'groupIds':Array['from'](_0x56a8f8)}}),_0x471eab['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x14d596}}),_0x31d190[_0x48c037(0x1e2)](_0x3e3780,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0x471eab,'redoMutations':_0x3e3780}),!0x0;}else{if(_0x16f274){const _0x5156f1=[],_0x81e378=[];_0x5156f1[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x0}});const _0xdde15=(_0x57d4e3=_0x17ed04['getSparklineCache']()['sparklineModel'][_0x48c037(0x1d9)](_0x4b34ba))==null?void 0x0:_0x57d4e3[_0x48c037(0x1d9)](_0x5a754f),_0x568f9e={},_0x1ec6d9=new Set(),_0x11d2e6={};return _0x5dba93[_0x48c037(0x19b)](_0x17b22b=>{const _0xe5b18f=_0x48c037;var _0x14ce72,_0x3d156a;const {startRow:_0x167101,endRow:_0x368163,startColumn:_0x5e5395,endColumn:_0x587877}=_0x17b22b;for(let _0x531e3a=_0x167101;_0x531e3a<=_0x368163;_0x531e3a++)for(let _0x4ba078=_0x5e5395;_0x4ba078<=_0x587877;_0x4ba078++){const _0x1b7985=(_0x14ce72=_0xc8a8bf==null?void 0x0:_0xc8a8bf[_0xe5b18f(0x1f8)][_0xe5b18f(0x1da)](_0x531e3a,_0x4ba078))==null?void 0x0:_0x14ce72[_0xe5b18f(0x1e8)];if(_0x1b7985){const _0x351b8c=new _0x31d190['ObjectMatrix'](),_0x10b97c='g_'+_0x31d190[_0xe5b18f(0x18c)](0x6);_0x1ec6d9['add'](_0x1b7985),_0x1ec6d9[_0xe5b18f(0x1a9)](_0x10b97c);const _0x56bb3b=_0x17ed04[_0xe5b18f(0x248)](_0x4b34ba,_0x5a754f,_0x1b7985);_0x56bb3b&&(_0x11d2e6[_0x1b7985]={'config':_0x31d190['Tools'][_0xe5b18f(0x201)](_0x56bb3b['config']),'sparklines':_0x31d190[_0xe5b18f(0x1f2)][_0xe5b18f(0x201)](_0x56bb3b['sparklines']['clone']())});const _0x2df7d0=(_0x3d156a=_0xdde15==null?void 0x0:_0xdde15[_0xe5b18f(0x1d9)](_0x1b7985))==null?void 0x0:_0x3d156a[_0xe5b18f(0x15c)][_0xe5b18f(0x1da)](_0x531e3a,_0x4ba078);_0x2df7d0&&_0x351b8c[_0xe5b18f(0x1ee)](_0x531e3a,_0x4ba078,_0x2df7d0),_0x568f9e[_0x10b97c]={'sparklines':_0x351b8c['getMatrix'](),'config':_0x31d190['Tools']['deepClone'](_0x1c0ea2[_0xe5b18f(0x240)])};}}}),_0x5156f1['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x568f9e}}),_0x81e378[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'isSingle':!0x1,'groupIds':Array['from'](_0x1ec6d9)}}),_0x81e378[_0x48c037(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x11d2e6}}),_0x31d190[_0x48c037(0x1e2)](_0x5156f1,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0x81e378,'redoMutations':_0x5156f1}),!0x0;}}if(_0x483d11){const _0x359a67=_0x112ab2[_0x48c037(0x1c4)];if(!_0x359a67)return!0x1;const {groupId:_0x532a0c,sourceRanges:_0x459044,targetRanges:_0x28d6ce,resetType:_0x4cc9aa,primary:_0x5dd705}=_0x359a67,_0x541bd7=[],_0xe3f03b=[];_0x541bd7[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x1,'groupIds':[_0x532a0c]}}),_0xe3f03b[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x1,'groupIds':[_0x532a0c]}});let _0x251570;_0x4cc9aa===_0x48c037(0x1f4)?(_0x251570=new _0x31d190[(_0x48c037(0x1ca))](_0x1c0ea2[_0x48c037(0x15c)][_0x48c037(0x1bc)]()),_0x251570[_0x48c037(0x1bd)](_0x5dd705[_0x48c037(0x1dc)],_0x5dd705[_0x48c037(0x22f)]),_0x251570[_0x48c037(0x1ee)](_0x28d6ce[0x0][_0x48c037(0x1a0)],_0x28d6ce[0x0]['startColumn'],_0x459044[0x0])):_0x251570=_0x68a83c(_0x459044,_0x28d6ce);const _0x3d699e={'config':_0x31d190[_0x48c037(0x1f2)]['deepClone'](_0x1c0ea2[_0x48c037(0x240)]),'sparklines':_0x251570[_0x48c037(0x20c)]()},_0x3bf2c6={'config':_0x31d190[_0x48c037(0x1f2)][_0x48c037(0x201)](_0x1c0ea2['config']),'sparklines':_0x31d190[_0x48c037(0x1f2)][_0x48c037(0x201)](_0x1c0ea2[_0x48c037(0x15c)][_0x48c037(0x1bc)]())};_0x541bd7['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':{[_0x532a0c]:_0x3d699e}}}),_0xe3f03b[_0x48c037(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':{[_0x532a0c]:_0x3bf2c6}}}),_0x31d190[_0x48c037(0x1e2)](_0x541bd7,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0xe3f03b,'redoMutations':_0x541bd7});}else{const _0x49f1a7=[],_0x527708=[],_0x3eb69b=new Set(),_0x37555e={};_0x5dba93[_0x48c037(0x19b)](_0x4ced2b=>{const _0x3550b9=_0x48c037;var _0x2ec110;const {startRow:_0x56a1d2,endRow:_0x260520,startColumn:_0x5b7079,endColumn:_0x4648d2}=_0x4ced2b;for(let _0x28edf7=_0x56a1d2;_0x28edf7<=_0x260520;_0x28edf7++)for(let _0x207f90=_0x5b7079;_0x207f90<=_0x4648d2;_0x207f90++){const _0x207e70=(_0x2ec110=_0xc8a8bf==null?void 0x0:_0xc8a8bf['matrix'][_0x3550b9(0x1da)](_0x28edf7,_0x207f90))==null?void 0x0:_0x2ec110[_0x3550b9(0x1e8)];if(_0x207e70){_0x3eb69b[_0x3550b9(0x1a9)](_0x207e70);const _0x18a516=_0x17ed04[_0x3550b9(0x248)](_0x4b34ba,_0x5a754f,_0x207e70);_0x18a516&&(_0x37555e[_0x207e70]={'config':_0x31d190['Tools'][_0x3550b9(0x201)](_0x18a516[_0x3550b9(0x240)]),'sparklines':_0x31d190[_0x3550b9(0x1f2)][_0x3550b9(0x201)](_0x18a516[_0x3550b9(0x15c)][_0x3550b9(0x1bc)]())});}}}),_0x527708[_0x48c037(0x1c0)]({'id':_0x40f599['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'groupIds':Array['from'](_0x3eb69b),'config':{'config':_0x31d190['Tools'][_0x48c037(0x201)](_0x1c0ea2[_0x48c037(0x240)]),'sparklines':_0x1c0ea2['sparklines'][_0x48c037(0x20c)]()}}}),_0x49f1a7['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'isSingle':!0x1,'groupIds':Array[_0x48c037(0x1fe)](_0x3eb69b)}}),_0x49f1a7['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x37555e}}),_0x31d190[_0x48c037(0x1e2)](_0x527708,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0x49f1a7,'redoMutations':_0x527708});}return!0x0;}};var _0x3cee70=Object['getOwnPropertyDescriptor'],_0x4bb52c=(_0x5ee27b,_0x210f67,_0x29b0fa,_0x447fce)=>{const _0x16a4f9=_0x15ed9a;for(var _0x55890b=_0x447fce>0x1?void 0x0:_0x447fce?_0x3cee70(_0x210f67,_0x29b0fa):_0x210f67,_0xc3c391=_0x5ee27b[_0x16a4f9(0x1d5)]-0x1,_0x2e01af;_0xc3c391>=0x0;_0xc3c391--)(_0x2e01af=_0x5ee27b[_0xc3c391])&&(_0x55890b=_0x2e01af(_0x55890b)||_0x55890b);return _0x55890b;},_0x545697=(_0x159c1a,_0x39cd83)=>(_0x174a0a,_0x105487)=>_0x39cd83(_0x174a0a,_0x105487,_0x159c1a);let _0x496dde=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x55b60c,_0x13b3c4,_0x3defd0,_0x522bda){const _0x3de3a7=_0x15ed9a;super(),this[_0x3de3a7(0x20f)]=_0x55b60c,this[_0x3de3a7(0x252)]=_0x13b3c4,this[_0x3de3a7(0x1c6)]=_0x3defd0,this['_sheetSelectionService']=_0x522bda,this[_0x3de3a7(0x238)]();}['_initClearWithSparkline'](){const _0x2bb513=_0x15ed9a;this[_0x2bb513(0x19f)](this[_0x2bb513(0x252)][_0x2bb513(0x1bb)]({'getMutations':_0x4d9945=>{const _0x30e87d=_0x2bb513,_0x3b1c36=[],_0x34ee78=[];if(_0x4d9945['id']===_0x25282a['ClearSelectionAllCommand']['id']){const _0x149398=_0x25282a[_0x30e87d(0x214)](this[_0x30e87d(0x1c6)],_0x4d9945[_0x30e87d(0x1e7)]);if(!_0x149398)return{'redos':_0x3b1c36,'undos':_0x34ee78};const {unitId:_0x57e796,subUnitId:_0x206f4e,worksheet:_0x4b66a4}=_0x149398,_0x522605=this['_sheetSelectionService'][_0x30e87d(0x186)]()[_0x30e87d(0x23e)](_0xed6681=>_0xed6681[_0x30e87d(0x1b9)]),_0x1579b7=new Set(),_0x44f124={},_0x43fa6e={};_0x522605['forEach'](_0x4aec22=>{const _0x3d614e=_0x30e87d;_0x31d190[_0x3d614e(0x164)][_0x3d614e(0x16b)](_0x4aec22,(_0x341f6e,_0x5d77e7)=>{const _0x4f705d=_0x3d614e,_0x3e0b66=this[_0x4f705d(0x20f)][_0x4f705d(0x23d)](_0x57e796,_0x206f4e,_0x341f6e,_0x5d77e7);if(_0x3e0b66&&!_0x1579b7['has'](_0x3e0b66)){const _0x3d6575=this[_0x4f705d(0x20f)][_0x4f705d(0x248)](_0x57e796,_0x206f4e,_0x3e0b66);_0x3d6575&&(_0x1579b7['add'](_0x3e0b66),_0x44f124[_0x3e0b66]={'config':_0x31d190['Tools'][_0x4f705d(0x201)](_0x3d6575['config']),'sparklines':_0x31d190[_0x4f705d(0x1f2)]['deepClone'](_0x3d6575[_0x4f705d(0x15c)][_0x4f705d(0x1bc)]())},_0x43fa6e[_0x3e0b66]={'config':_0x31d190['Tools']['deepClone'](_0x3d6575['config']),'sparklines':_0x31d190['Tools']['deepClone'](_0x3d6575[_0x4f705d(0x15c)][_0x4f705d(0x1bc)]())});}});}),Object[_0x30e87d(0x223)](_0x43fa6e)['forEach'](_0x108744=>{const _0x5870a9=_0x30e87d,_0x29cd8e=_0x108744[_0x5870a9(0x15c)];new _0x31d190['ObjectMatrix'](_0x29cd8e)['forValue']((_0x5e8a0e,_0xdd1906,_0x45c1c0)=>{const _0x13259c=_0x5870a9;_0x522605[_0x13259c(0x179)](_0x54d2b4=>_0x31d190['Rectangle'][_0x13259c(0x15a)](_0x54d2b4,_0x31d190[_0x13259c(0x234)](_0x5e8a0e,_0xdd1906)))&&delete _0x29cd8e[_0x5e8a0e][_0xdd1906];});}),_0x3b1c36[_0x30e87d(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'groupIds':Array['from'](_0x1579b7),'isSingle':!0x1}}),_0x3b1c36[_0x30e87d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'sparklineConfigMap':_0x43fa6e}}),_0x34ee78['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'groupIds':Array['from'](_0x1579b7),'isSingle':!0x1}}),_0x34ee78[_0x30e87d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'sparklineConfigMap':_0x44f124}});}return{'redos':_0x3b1c36,'undos':_0x34ee78};}}));}};_0x496dde=_0x4bb52c([_0x545697(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)])),_0x545697(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x25282a[_0x15ed9a(0x178)])),_0x545697(0x2,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x1c8)])),_0x545697(0x3,_0x31d190[_0x15ed9a(0x1b3)](_0x25282a[_0x15ed9a(0x25f)]))],_0x496dde);var _0x29e328=Object['getOwnPropertyDescriptor'],_0x20696b=(_0x3926fd,_0xb4419f,_0x43b515,_0x1b425a)=>{const _0x335f8b=_0x15ed9a;for(var _0x312228=_0x1b425a>0x1?void 0x0:_0x1b425a?_0x29e328(_0xb4419f,_0x43b515):_0xb4419f,_0x265e7f=_0x3926fd[_0x335f8b(0x1d5)]-0x1,_0x37d196;_0x265e7f>=0x0;_0x265e7f--)(_0x37d196=_0x3926fd[_0x265e7f])&&(_0x312228=_0x37d196(_0x312228)||_0x312228);return _0x312228;},_0xcd55b9=(_0x87f6d5,_0x2dae57)=>(_0x15c71d,_0xf51399)=>_0x2dae57(_0x15c71d,_0xf51399,_0x87f6d5);let _0x4973e3=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x5659b3,_0x20f346,_0x3f4c0e){const _0x2dd04c=_0x15ed9a;super(),this['_commandService']=_0x5659b3,this[_0x2dd04c(0x20f)]=_0x20f346,this[_0x2dd04c(0x165)]=_0x3f4c0e,this[_0x2dd04c(0x231)](),this[_0x2dd04c(0x19e)]();}[_0x15ed9a(0x231)](){const _0x2f7366=_0x15ed9a;this[_0x2f7366(0x19f)](this['_commandService'][_0x2f7366(0x16a)](_0x16bd0e=>{const _0x1fc9df=_0x2f7366;if(_0x16bd0e['id']===_0x25282a[_0x1fc9df(0x202)]['id']){const _0x46d62c=_0x16bd0e[_0x1fc9df(0x1e7)],{cellValue:_0x314d60,unitId:_0x326527,subUnitId:_0x240b2c}=_0x46d62c,_0xde938b=new _0x31d190['ObjectMatrix'](_0x314d60),_0x18eed8=new Set(),_0x2dbb5d=this[_0x1fc9df(0x20f)][_0x1fc9df(0x195)](_0x326527,_0x240b2c);if(!_0x2dbb5d)return;const _0xf39b6c=Array[_0x1fc9df(0x1fe)](_0x2dbb5d);_0xde938b[_0x1fc9df(0x1c1)]((_0x392a3a,_0x13f512,_0xa2cf02)=>{const _0x130416=_0x1fc9df,_0x2a9497=_0x31d190[_0x130416(0x234)](_0x392a3a,_0x13f512);for(let _0x508e83=0x0;_0x508e83<_0xf39b6c[_0x130416(0x1d5)];_0x508e83++){const [_0x1a716e,_0x5de8a6]=_0xf39b6c[_0x508e83],_0x45372b=_0x18eed8['has'](_0x1a716e);_0x45372b||_0x5de8a6[_0x130416(0x15c)][_0x130416(0x1c1)]((_0x58dd67,_0x37867d,_0xd48b41)=>{const _0x21d3f2=_0x130416,_0x504a0b=_0xd48b41;if(_0x504a0b&&!_0x45372b&&_0x31d190[_0x21d3f2(0x16d)]['intersects'](_0x2a9497,_0x504a0b))return _0x18eed8[_0x21d3f2(0x1a9)](_0x1a716e),!0x0;});}}),_0x18eed8[_0x1fc9df(0x19b)](_0x17ebd3=>{const _0x1e5d6c=_0x1fc9df;this[_0x1e5d6c(0x20f)][_0x1e5d6c(0x211)](_0x326527,_0x240b2c,_0x17ebd3),this[_0x1e5d6c(0x20f)][_0x1e5d6c(0x1ef)](_0x326527,_0x240b2c,_0x17ebd3);});}else{if(_0x16bd0e['id']===_0x25282a[_0x1fc9df(0x1d1)]['id']){const _0xd38342=_0x16bd0e['params'],{range:_0x2a2722,unitId:_0x698e0a,subUnitId:_0x21c35e}=_0xd38342,_0x552e10=new Set(),_0x441806=this['_sparklineDataSourceModel'][_0x1fc9df(0x195)](_0x698e0a,_0x21c35e);if(!_0x441806)return;const _0xda4a4=Array[_0x1fc9df(0x1fe)](_0x441806);for(let _0x33f999=0x0;_0x33f999<_0xda4a4[_0x1fc9df(0x1d5)];_0x33f999++){const [_0x4d7180,_0x4fb470]=_0xda4a4[_0x33f999],_0x50a958=_0x552e10[_0x1fc9df(0x189)](_0x4d7180);_0x50a958||_0x4fb470[_0x1fc9df(0x15c)][_0x1fc9df(0x1c1)]((_0x35b02e,_0x2aa8b4,_0x36bec9)=>{const _0xcb5c24=_0x1fc9df,_0x41fc9c=_0x36bec9;if(_0x41fc9c&&!_0x50a958&&_0x31d190['Rectangle'][_0xcb5c24(0x15a)](_0x2a2722,_0x41fc9c))return _0x552e10[_0xcb5c24(0x1a9)](_0x4d7180),!0x0;});}_0x552e10[_0x1fc9df(0x19b)](_0x3c1613=>{const _0xc8536=_0x1fc9df;this[_0xc8536(0x20f)][_0xc8536(0x211)](_0x698e0a,_0x21c35e,_0x3c1613),this[_0xc8536(0x20f)][_0xc8536(0x1ef)](_0x698e0a,_0x21c35e,_0x3c1613);});}}}));}['_initExclusiveRangeChange'](){const _0x3d2ff3=_0x15ed9a;this[_0x3d2ff3(0x19f)](this['_exclusiveRangeService']['exclusiveRangesChange$'][_0x3d2ff3(0x1cf)](_0x5360eb=>{const _0xff61db=_0x3d2ff3,{unitId:_0xf251ff,subUnitId:_0x527909,ranges:_0x3ed65a}=_0x5360eb,_0x241ac3=this[_0xff61db(0x20f)][_0xff61db(0x195)](_0xf251ff,_0x527909);if(!_0x241ac3)return;const _0xc1e6a1=Array[_0xff61db(0x1fe)](_0x241ac3),_0x30d54c=new Set();for(let _0xd5dd29=0x0;_0xd5dd29<_0xc1e6a1[_0xff61db(0x1d5)];_0xd5dd29++){const [_0xc2a6d5,_0x4cdd23]=_0xc1e6a1[_0xd5dd29],_0x17b1ab=_0x30d54c[_0xff61db(0x189)](_0xc2a6d5);_0x17b1ab||_0x4cdd23[_0xff61db(0x15c)][_0xff61db(0x1c1)]((_0x4090ae,_0x591e98,_0x492ac4)=>{const _0xc28dd7=_0xff61db,_0x22956d=_0x492ac4;if(_0x22956d&&!_0x17b1ab){for(const _0x4a6f3e of _0x3ed65a)if(_0x31d190['Rectangle'][_0xc28dd7(0x15a)](_0x4a6f3e,_0x22956d)){_0x30d54c['add'](_0xc2a6d5);break;}}});}_0x30d54c['forEach'](_0x16acfd=>{const _0x1f8065=_0xff61db;this[_0x1f8065(0x20f)][_0x1f8065(0x211)](_0xf251ff,_0x527909,_0x16acfd),this[_0x1f8065(0x20f)]['updateSparklineExtraNum'](_0xf251ff,_0x527909,_0x16acfd);});}));}};_0x4973e3=_0x20696b([_0xcd55b9(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x192)])),_0xcd55b9(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)])),_0xcd55b9(0x2,_0x31d190['Inject'](_0x25282a[_0x15ed9a(0x251)]))],_0x4973e3);var _0x3f6f90=Object[_0x15ed9a(0x1cd)],_0xe30a08=(_0x3bc6f3,_0x4344aa,_0x5cc178,_0x1a11a2)=>{const _0xde012f=_0x15ed9a;for(var _0x5a2cd0=_0x1a11a2>0x1?void 0x0:_0x1a11a2?_0x3f6f90(_0x4344aa,_0x5cc178):_0x4344aa,_0x25cc9b=_0x3bc6f3[_0xde012f(0x1d5)]-0x1,_0x4e8f2b;_0x25cc9b>=0x0;_0x25cc9b--)(_0x4e8f2b=_0x3bc6f3[_0x25cc9b])&&(_0x5a2cd0=_0x4e8f2b(_0x5a2cd0)||_0x5a2cd0);return _0x5a2cd0;},_0x2ea907=(_0x22dc60,_0x5f3fce)=>(_0xcfd1a1,_0x45d365)=>_0x5f3fce(_0xcfd1a1,_0x45d365,_0x22dc60);let _0x34823e=class extends _0x31d190['Disposable']{constructor(_0x20cf54,_0xc54654){const _0x3824f3=_0x15ed9a;super(),this[_0x3824f3(0x244)]=_0x20cf54,this['_sparklineDataSourceModel']=_0xc54654,this[_0x3824f3(0x1df)]();}[_0x15ed9a(0x1df)](){const _0x282574=_0x15ed9a;this[_0x282574(0x244)]['onCommandExecuted'](_0x135c37=>{const _0x1c5d72=_0x282574;if(_0x135c37['id']===_0x25282a['SetRowHiddenMutation']['id']||_0x135c37['id']===_0x25282a[_0x1c5d72(0x225)]['id']||_0x135c37['id']===_0x25282a[_0x1c5d72(0x191)]['id']||_0x135c37['id']===_0x25282a[_0x1c5d72(0x1b5)]['id']){const _0x2a7d60=_0x135c37[_0x1c5d72(0x1e7)],{ranges:_0x29fa56,unitId:_0x27cf89,subUnitId:_0x2008cc}=_0x2a7d60,_0xdbc433=new Set(),_0x1c4d3e=this[_0x1c5d72(0x20f)][_0x1c5d72(0x195)](_0x27cf89,_0x2008cc);if(!_0x1c4d3e)return;const _0x2eef8c=Array[_0x1c5d72(0x1fe)](_0x1c4d3e);_0x29fa56[_0x1c5d72(0x19b)](_0x117609=>{const _0x52e5dc=_0x1c5d72;_0x31d190[_0x52e5dc(0x164)][_0x52e5dc(0x16b)](_0x117609,(_0x19cc90,_0x5e6f83)=>{const _0x408411=_0x52e5dc,_0xb15f97=_0x31d190[_0x408411(0x234)](_0x19cc90,_0x5e6f83);for(let _0x520ddb=0x0;_0x520ddb<_0x2eef8c[_0x408411(0x1d5)];_0x520ddb++){const [_0x21231b,_0x564771]=_0x2eef8c[_0x520ddb],_0x248505=_0xdbc433[_0x408411(0x189)](_0x21231b);_0x248505||_0x564771[_0x408411(0x15c)][_0x408411(0x1c1)]((_0x84621c,_0x403d02,_0x5aa19b)=>{const _0x430940=_0x408411,_0x3defaa=_0x5aa19b;if(_0x3defaa&&!_0x248505&&_0x31d190['Rectangle'][_0x430940(0x15a)](_0xb15f97,_0x3defaa))return _0xdbc433[_0x430940(0x1a9)](_0x21231b),!0x0;});}});}),_0xdbc433[_0x1c5d72(0x19b)](_0x15bed8=>{const _0x4f449e=_0x1c5d72;this[_0x4f449e(0x20f)][_0x4f449e(0x211)](_0x27cf89,_0x2008cc,_0x15bed8),this[_0x4f449e(0x20f)][_0x4f449e(0x1ef)](_0x27cf89,_0x2008cc,_0x15bed8);});}});}};_0x34823e=_0xe30a08([_0x2ea907(0x0,_0x31d190['Inject'](_0x31d190['ICommandService'])),_0x2ea907(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)]))],_0x34823e);var _0x1b4b2c=Object[_0x15ed9a(0x1cd)],_0x5e29af=(_0x55e946,_0x56d1af,_0x36fa5f,_0x571a4f)=>{const _0x3d6227=_0x15ed9a;for(var _0x173664=_0x571a4f>0x1?void 0x0:_0x571a4f?_0x1b4b2c(_0x56d1af,_0x36fa5f):_0x56d1af,_0x53f8bc=_0x55e946[_0x3d6227(0x1d5)]-0x1,_0x80e49d;_0x53f8bc>=0x0;_0x53f8bc--)(_0x80e49d=_0x55e946[_0x53f8bc])&&(_0x173664=_0x80e49d(_0x173664)||_0x173664);return _0x173664;},_0x1f4f33=(_0x273dd0,_0x5a2f4f)=>(_0x3bcaeb,_0xa123b3)=>_0x5a2f4f(_0x3bcaeb,_0xa123b3,_0x273dd0);let _0x5110d3=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x4afd37,_0x10f0e7,_0x2a34a1){const _0x56baf7=_0x15ed9a;super(),this[_0x56baf7(0x244)]=_0x4afd37,this[_0x56baf7(0x252)]=_0x10f0e7,this['_sparklineDataSourceModel']=_0x2a34a1,this['_initMergeWithSparkline']();}[_0x15ed9a(0x187)](){const _0x393f7d=_0x15ed9a;this[_0x393f7d(0x19f)](this[_0x393f7d(0x252)][_0x393f7d(0x1bb)]({'getMutations':_0x41d6cd=>{const _0xa24bb=_0x393f7d,_0x3c2414=[],_0x418a1=[];if(_0x41d6cd['id']===_0x25282a[_0xa24bb(0x24a)]['id']){const _0x74a106=_0x41d6cd['params'];if(!_0x74a106)return{'redos':_0x3c2414,'undos':_0x418a1};const {unitId:_0xfd019d,subUnitId:_0xdbdf40,ranges:_0x96913a}=_0x74a106,_0x3703ea=this[_0xa24bb(0x20f)][_0xa24bb(0x195)](_0xfd019d,_0xdbdf40);if(!_0x3703ea)return{'redos':_0x3c2414,'undos':_0x418a1};const _0x1ea676={},_0x30a654={},_0x59e99c=new Set();_0x96913a[_0xa24bb(0x19b)](_0x52ed65=>{const _0x5eba02=_0xa24bb,_0x2d1194=_0x52ed65['startRow'],_0x374134=_0x52ed65['startColumn'];_0x31d190[_0x5eba02(0x164)][_0x5eba02(0x16b)](_0x52ed65,(_0x58ce60,_0x1d6067)=>{const _0x330649=_0x5eba02,_0x3a769a=this[_0x330649(0x20f)][_0x330649(0x23d)](_0xfd019d,_0xdbdf40,_0x58ce60,_0x1d6067);if(_0x3a769a&&!(_0x58ce60===_0x2d1194&&_0x1d6067===_0x374134)){const _0x6b940a=this[_0x330649(0x20f)]['getSparklineById'](_0xfd019d,_0xdbdf40,_0x3a769a);if(_0x6b940a){_0x59e99c['add'](_0x3a769a);let _0x979d2d=_0x1ea676[_0x3a769a];_0x979d2d||(_0x979d2d={'config':_0x31d190[_0x330649(0x1f2)][_0x330649(0x201)](_0x6b940a[_0x330649(0x240)]),'sparklines':new _0x31d190[(_0x330649(0x1ca))](_0x6b940a[_0x330649(0x15c)][_0x330649(0x1bc)]())},_0x1ea676[_0x3a769a]=_0x979d2d),_0x979d2d['sparklines'][_0x330649(0x1bd)](_0x58ce60,_0x1d6067),_0x30a654[_0x3a769a]={'config':_0x31d190[_0x330649(0x1f2)]['deepClone'](_0x6b940a['config']),'sparklines':_0x31d190[_0x330649(0x1f2)][_0x330649(0x201)](_0x6b940a[_0x330649(0x15c)][_0x330649(0x1bc)]())};}}});});for(const [_0xb587be,_0x240d61]of _0x3703ea){const _0x1c0a91=_0x240d61[_0xa24bb(0x15c)];_0x1c0a91['forValue']((_0x46dcc2,_0x590c67,_0xd6d8b4)=>{const _0x16d0a7=_0xa24bb;for(let _0x23226a=0x0;_0x23226a<_0x96913a[_0x16d0a7(0x1d5)];_0x23226a++){const _0x85ce76=_0x96913a[_0x23226a];if(_0x31d190[_0x16d0a7(0x16d)][_0x16d0a7(0x204)](_0x85ce76,_0xd6d8b4)){_0x59e99c['add'](_0xb587be);let _0x3b87d8=_0x1ea676[_0xb587be];_0x3b87d8||(_0x3b87d8={'config':_0x31d190[_0x16d0a7(0x1f2)][_0x16d0a7(0x201)](_0x240d61[_0x16d0a7(0x240)]),'sparklines':new _0x31d190[(_0x16d0a7(0x1ca))](_0x1c0a91['clone']())},_0x1ea676[_0xb587be]=_0x3b87d8),_0x3b87d8['sparklines'][_0x16d0a7(0x1bd)](_0x46dcc2,_0x590c67),_0x30a654[_0xb587be]||(_0x30a654[_0xb587be]={'config':_0x31d190[_0x16d0a7(0x1f2)][_0x16d0a7(0x201)](_0x240d61[_0x16d0a7(0x240)]),'sparklines':_0x31d190['Tools'][_0x16d0a7(0x201)](_0x1c0a91['clone']())});}}});}const _0x56a059={};Object[_0xa24bb(0x25a)](_0x1ea676)[_0xa24bb(0x19b)](([_0x174974,_0x110364])=>{const _0x50245b=_0xa24bb;_0x110364[_0x50245b(0x15c)][_0x50245b(0x224)]()&&(_0x56a059[_0x174974]={'config':_0x110364['config'],'sparklines':_0x110364[_0x50245b(0x15c)][_0x50245b(0x1bc)]()});}),_0x59e99c[_0xa24bb(0x1a5)]&&(_0x3c2414[_0xa24bb(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'groupIds':Array[_0xa24bb(0x1fe)](_0x59e99c),'isSingle':!0x1}}),_0x418a1['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'groupIds':Array[_0xa24bb(0x1fe)](_0x59e99c),'isSingle':!0x1}}),_0x3c2414[_0xa24bb(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'sparklineConfigMap':_0x56a059}}),_0x418a1[_0xa24bb(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'sparklineConfigMap':_0x30a654}}));}return{'redos':_0x3c2414,'undos':_0x418a1};}}));}};_0x5110d3=_0x5e29af([_0x1f4f33(0x0,_0x31d190['Inject'](_0x31d190['ICommandService'])),_0x1f4f33(0x1,_0x31d190['Inject'](_0x25282a[_0x15ed9a(0x178)])),_0x1f4f33(0x2,_0x31d190['Inject'](_0x33c1ed[_0x15ed9a(0x159)]))],_0x5110d3);var _0x5c1dc2=Object[_0x15ed9a(0x1cd)],_0x1b2ef9=(_0x2c9cd4,_0x1f0eb6,_0x373e16,_0x5ae55d)=>{for(var _0x5e5eac=_0x5ae55d>0x1?void 0x0:_0x5ae55d?_0x5c1dc2(_0x1f0eb6,_0x373e16):_0x1f0eb6,_0x220952=_0x2c9cd4['length']-0x1,_0x480fa6;_0x220952>=0x0;_0x220952--)(_0x480fa6=_0x2c9cd4[_0x220952])&&(_0x5e5eac=_0x480fa6(_0x5e5eac)||_0x5e5eac);return _0x5e5eac;},_0x35dbad=(_0x3a8e34,_0x4f23d9)=>(_0x52d8ee,_0x3841a)=>_0x4f23d9(_0x52d8ee,_0x3841a,_0x3a8e34);let _0x35feee=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x36f20e,_0x22daba,_0x5886ff,_0xaee44){const _0x2c3030=_0x15ed9a;super(),_0x2c41c4(this,_0x2c3030(0x1de),new _0x31d190[(_0x2c3030(0x176))]()),(this['_commandService']=_0x36f20e,this['_refRangeService']=_0x22daba,this[_0x2c3030(0x1c6)]=_0x5886ff,this[_0x2c3030(0x20f)]=_0xaee44,this['_onRefRangeChange'](),this[_0x2c3030(0x17c)]());}[_0x15ed9a(0x1cb)](){const _0x376d9a=_0x15ed9a,_0x5d2b18=(_0x44e5ac,_0x4be085)=>{const _0x5715da=_0x593e,_0x39f3ec=this[_0x5715da(0x1c6)]['getCurrentUnitForType'](_0x31d190[_0x5715da(0x20a)]['UNIVER_SHEET']);if(!_0x39f3ec||!(_0x39f3ec==null?void 0x0:_0x39f3ec[_0x5715da(0x1c3)](_0x4be085)))return;this[_0x5715da(0x1de)]['dispose']();const _0x299360=_0x398de7=>this[_0x5715da(0x218)](_0x398de7,_0x44e5ac,_0x4be085),_0x360c03=[],_0x124722=this[_0x5715da(0x20f)]['getSubUnitSparkline'](_0x44e5ac,_0x4be085);if(_0x124722){for(const [_0x28c7d9,_0x35d84c]of _0x124722)_0x35d84c[_0x5715da(0x15c)][_0x5715da(0x1c1)]((_0x6e3f06,_0x521b68,_0x194e5c)=>{const _0x3a892a=_0x5715da,_0x1eb93e=_0x31d190[_0x3a892a(0x234)](_0x6e3f06,_0x521b68);_0x360c03['push'](_0x1eb93e);});_0x360c03[_0x5715da(0x19b)](_0x30b866=>{const _0x1f77b0=_0x5715da;this['disposableCollection'][_0x1f77b0(0x1a9)](this[_0x1f77b0(0x1f1)][_0x1f77b0(0x15e)](_0x30b866,_0x299360,_0x44e5ac,_0x4be085));});}};this[_0x376d9a(0x19f)](this[_0x376d9a(0x244)][_0x376d9a(0x16a)](_0x4aa24b=>{const _0xee0fd0=_0x376d9a;if(_0x4aa24b['id']===_0x25282a[_0xee0fd0(0x23b)]['id']){const _0x35afde=_0x4aa24b[_0xee0fd0(0x1e7)],_0x841935=_0x35afde['subUnitId'],_0x5db705=_0x35afde[_0xee0fd0(0x241)];if(!_0x841935||!_0x5db705)return;_0x5d2b18(_0x5db705,_0x841935);}if(_0x4aa24b['id']===_0x40f599['id']||_0x4aa24b['id']===_0x3f9b3d['id']){const _0x43fee7=_0x4aa24b[_0xee0fd0(0x1e7)],_0x44137f=_0x43fee7[_0xee0fd0(0x17e)],_0x39b6d5=_0x43fee7[_0xee0fd0(0x241)];if(!_0x44137f||!_0x39b6d5)return;_0x5d2b18(_0x39b6d5,_0x44137f);}}));}[_0x15ed9a(0x218)](_0x5ea239,_0x19ea7e,_0x2b53fd){const _0x393395=_0x15ed9a;switch(_0x5ea239['id']){case _0x25282a[_0x393395(0x197)]['id']:return this[_0x393395(0x1e5)](_0x5ea239[_0x393395(0x1e7)],_0x19ea7e,_0x2b53fd);case _0x25282a[_0x393395(0x1b6)]['id']:return this[_0x393395(0x205)](_0x5ea239['params'],_0x19ea7e,_0x2b53fd);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x2df6af,_0x45c15b,_0x229ea9){const _0x2f9394=_0x15ed9a;var _0x332c43,_0x8fc24;const {range:_0x35a2e7}=_0x2df6af,_0x5ef825=new Set(),_0x187513={},_0x2ad507={},_0x5e743a=[],_0x3b887c=[],_0x1233c3=[],_0x2b8ddc=[];if(!_0x25282a[_0x2f9394(0x214)](this['_univerInstanceService'],{'unitId':_0x45c15b,'subUnitId':_0x229ea9}))return{'redos':_0x3b887c,'undos':_0x5e743a};const _0x3ae3c0=this[_0x2f9394(0x20f)][_0x2f9394(0x195)](_0x45c15b,_0x229ea9);if(!_0x3ae3c0)return{'redos':_0x3b887c,'undos':_0x5e743a};if(!((_0x8fc24=(_0x332c43=this[_0x2f9394(0x20f)]['getSparklineCache']()['sparklineAnchorMap'][_0x2f9394(0x1d9)](_0x45c15b))==null?void 0x0:_0x332c43[_0x2f9394(0x1d9)](_0x229ea9))==null?void 0x0:_0x8fc24[_0x2f9394(0x1f8)]))return{'redos':_0x3b887c,'undos':_0x5e743a};for(const [_0x5ecfdc,_0x27148d]of _0x3ae3c0){const _0x32436f=_0x27148d['sparklines'];_0x32436f[_0x2f9394(0x1c1)]((_0x30438c,_0x318065,_0x243c41)=>{const _0x163e82=_0x2f9394;if(_0x31d190[_0x163e82(0x16d)][_0x163e82(0x15a)](_0x35a2e7,_0x243c41)){_0x5ef825[_0x163e82(0x1a9)](_0x5ecfdc);let _0x44fbd7=_0x2ad507[_0x5ecfdc];_0x44fbd7||(_0x44fbd7={'config':_0x27148d['config'],'sparklines':_0x27148d[_0x163e82(0x15c)][_0x163e82(0x1bc)]()},_0x2ad507[_0x5ecfdc]=_0x44fbd7);let _0x596cac=_0x187513[_0x5ecfdc];_0x596cac||(_0x596cac={'config':_0x27148d[_0x163e82(0x240)],'sparklines':new _0x31d190['ObjectMatrix'](_0x27148d['sparklines']['clone']())},_0x187513[_0x5ecfdc]=_0x596cac);const _0x3054db=_0x25282a[_0x163e82(0x236)](_0x243c41,{'id':_0x25282a['RemoveRowMutation']['id'],'params':_0x2df6af});_0x3054db?_0x596cac[_0x163e82(0x15c)]['setValue'](_0x30438c,_0x318065,_0x3054db):_0x596cac['sparklines'][_0x163e82(0x1ee)](_0x30438c,_0x318065,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0x163e82(0x209)][_0x163e82(0x167)]});}}),_0x32436f[_0x2f9394(0x1c1)]((_0x3f290b,_0x3416ff,_0x32feb6)=>{const _0x219989=_0x2f9394;if(_0x3f290b<=_0x35a2e7[_0x219989(0x1e9)]&&_0x3f290b>=_0x35a2e7[_0x219989(0x1a0)]){_0x5ef825['add'](_0x5ecfdc);let _0x2ee76e=_0x2ad507[_0x5ecfdc];_0x2ee76e||(_0x2ee76e={'config':_0x27148d[_0x219989(0x240)],'sparklines':_0x27148d[_0x219989(0x15c)][_0x219989(0x1bc)]()},_0x2ad507[_0x5ecfdc]=_0x2ee76e);let _0x2221fe=_0x187513[_0x5ecfdc];_0x2221fe||(_0x2221fe={'config':_0x27148d[_0x219989(0x240)],'sparklines':new _0x31d190[(_0x219989(0x1ca))](_0x27148d[_0x219989(0x15c)]['clone']())},_0x187513[_0x5ecfdc]=_0x2221fe);}});}_0x2b8ddc[_0x2f9394(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'groupIds':Array[_0x2f9394(0x1fe)](_0x5ef825),'isSingle':!0x1}}),_0x1233c3['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'groupIds':Array['from'](_0x5ef825),'isSingle':!0x1}});const _0x94d6b2={};let _0x5ebd15=!0x1;return Object[_0x2f9394(0x25a)](_0x187513)[_0x2f9394(0x19b)](([_0x18ed55,_0x55d6d3])=>{const _0x527adf=_0x2f9394;_0x55d6d3[_0x527adf(0x15c)]['getSizeOf']()&&(_0x5ebd15=!0x0,_0x55d6d3[_0x527adf(0x15c)][_0x527adf(0x1db)](_0x35a2e7[_0x527adf(0x1a0)],_0x35a2e7[_0x527adf(0x1e9)]-_0x35a2e7['startRow']+0x1),_0x94d6b2[_0x18ed55]={'config':_0x55d6d3[_0x527adf(0x240)],'sparklines':_0x55d6d3[_0x527adf(0x15c)]['clone']()});}),_0x5ebd15&&_0x3b887c[_0x2f9394(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'sparklineConfigMap':_0x94d6b2}}),_0x5e743a['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'sparklineConfigMap':_0x2ad507}}),{'redos':_0x3b887c,'undos':_0x5e743a,'preRedos':_0x1233c3,'preUndos':_0x2b8ddc};}[_0x15ed9a(0x1e5)](_0x3daefa,_0x478a77,_0x50efda){const _0x19559d=_0x15ed9a;var _0x13dc0e,_0x43c133;const {range:_0x41d2e0}=_0x3daefa,_0x26ed34=new Set(),_0x36abd6={},_0x19e73b={},_0xa5c188=[],_0x575597=[],_0x1e671b=[],_0x14c538=[];if(!_0x25282a['getSheetCommandTarget'](this[_0x19559d(0x1c6)],{'unitId':_0x478a77,'subUnitId':_0x50efda}))return{'redos':_0x575597,'undos':_0xa5c188};const _0xa3fa40=this[_0x19559d(0x20f)]['getSubUnitSparkline'](_0x478a77,_0x50efda);if(!_0xa3fa40)return{'redos':_0x575597,'undos':_0xa5c188};if(!((_0x43c133=(_0x13dc0e=this['_sparklineDataSourceModel'][_0x19559d(0x169)]()[_0x19559d(0x22b)][_0x19559d(0x1d9)](_0x478a77))==null?void 0x0:_0x13dc0e[_0x19559d(0x1d9)](_0x50efda))==null?void 0x0:_0x43c133['matrix']))return{'redos':_0x575597,'undos':_0xa5c188};for(const [_0x48be79,_0x114291]of _0xa3fa40){const _0x331e97=_0x114291['sparklines'];_0x331e97['forValue']((_0x1bc635,_0x5ef61f,_0x331a20)=>{const _0x427114=_0x19559d;if(_0x31d190[_0x427114(0x16d)]['intersects'](_0x41d2e0,_0x331a20)){_0x26ed34[_0x427114(0x1a9)](_0x48be79);let _0x55afa8=_0x19e73b[_0x48be79];_0x55afa8||(_0x55afa8={'config':_0x114291[_0x427114(0x240)],'sparklines':_0x114291[_0x427114(0x15c)][_0x427114(0x1bc)]()},_0x19e73b[_0x48be79]=_0x55afa8);let _0x82efe1=_0x36abd6[_0x48be79];_0x82efe1||(_0x82efe1={'config':_0x114291[_0x427114(0x240)],'sparklines':new _0x31d190[(_0x427114(0x1ca))](_0x114291[_0x427114(0x15c)]['clone']())},_0x36abd6[_0x48be79]=_0x82efe1);const _0x5aadcf=_0x25282a[_0x427114(0x236)](_0x331a20,{'id':_0x25282a['RemoveColMutation']['id'],'params':_0x3daefa});_0x5aadcf?_0x82efe1[_0x427114(0x15c)][_0x427114(0x1ee)](_0x1bc635,_0x5ef61f,_0x5aadcf):_0x82efe1['sparklines'][_0x427114(0x1ee)](_0x1bc635,_0x5ef61f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190['RANGE_TYPE'][_0x427114(0x167)]});}}),_0x331e97['forValue']((_0x518e99,_0x570634,_0x39e1cb)=>{const _0x236033=_0x19559d;if(_0x570634<=_0x41d2e0['endColumn']&&_0x570634>=_0x41d2e0[_0x236033(0x168)]){_0x26ed34[_0x236033(0x1a9)](_0x48be79);let _0x913280=_0x19e73b[_0x48be79];_0x913280||(_0x913280={'config':_0x114291[_0x236033(0x240)],'sparklines':_0x114291[_0x236033(0x15c)][_0x236033(0x1bc)]()},_0x19e73b[_0x48be79]=_0x913280);let _0x29bb3c=_0x36abd6[_0x48be79];_0x29bb3c||(_0x29bb3c={'config':_0x114291[_0x236033(0x240)],'sparklines':new _0x31d190['ObjectMatrix'](_0x114291['sparklines'][_0x236033(0x1bc)]())},_0x36abd6[_0x48be79]=_0x29bb3c);}});}_0x14c538[_0x19559d(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'groupIds':Array[_0x19559d(0x1fe)](_0x26ed34),'isSingle':!0x1}}),_0x1e671b[_0x19559d(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'groupIds':Array[_0x19559d(0x1fe)](_0x26ed34),'isSingle':!0x1}});const _0x345bd6={};let _0x558d2a=!0x1;return Object['entries'](_0x36abd6)[_0x19559d(0x19b)](([_0x1387c6,_0x2ae367])=>{const _0x5edc6f=_0x19559d;_0x2ae367['sparklines']['getSizeOf']()&&(_0x558d2a=!0x0,_0x2ae367[_0x5edc6f(0x15c)]['removeColumns'](_0x41d2e0[_0x5edc6f(0x168)],_0x41d2e0[_0x5edc6f(0x1d2)]-_0x41d2e0[_0x5edc6f(0x168)]+0x1),_0x345bd6[_0x1387c6]={'config':_0x2ae367[_0x5edc6f(0x240)],'sparklines':_0x2ae367[_0x5edc6f(0x15c)][_0x5edc6f(0x1bc)]()});}),_0x558d2a&&_0x575597[_0x19559d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'sparklineConfigMap':_0x345bd6}}),_0xa5c188[_0x19559d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'sparklineConfigMap':_0x19e73b}}),{'redos':_0x575597,'undos':_0xa5c188,'preRedos':_0x1e671b,'preUndos':_0x14c538};}[_0x15ed9a(0x17c)](){const _0x1dd0d0=_0x15ed9a;this[_0x1dd0d0(0x19f)](this[_0x1dd0d0(0x244)][_0x1dd0d0(0x16a)](_0x4d4130=>{const _0x3b9232=_0x1dd0d0;if(_0x4d4130['id']===_0x25282a['InsertColMutation']['id']){const _0xd86496=_0x4d4130['params'],{unitId:_0x890ffb,subUnitId:_0x1407a6,range:_0x119b3d}=_0xd86496,_0x181cce=_0x119b3d['startColumn'],_0x221291=_0x119b3d[_0x3b9232(0x1d2)]-_0x119b3d['startColumn']+0x1,_0x50c568=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x890ffb,_0x1407a6);if(!_0x50c568)return;for(const [_0x2fab7e,_0x51bd3a]of _0x50c568){this['_sparklineDataSourceModel'][_0x3b9232(0x211)](_0x890ffb,_0x1407a6,_0x2fab7e);const _0x4d91a0=_0x51bd3a['sparklines'];_0x4d91a0[_0x3b9232(0x1c1)]((_0xa9a408,_0x5c1bf3,_0x490a21)=>{const _0x47bc12=_0x3b9232,_0x444d2c={..._0x490a21};_0x181cce<=_0x444d2c['startColumn']?(_0x444d2c['startColumn']+=_0x221291,_0x444d2c[_0x47bc12(0x1d2)]+=_0x221291):_0x181cce>_0x444d2c[_0x47bc12(0x1d2)]||(_0x444d2c['endColumn']+=_0x221291),_0x4d91a0[_0x47bc12(0x1ee)](_0xa9a408,_0x5c1bf3,_0x444d2c);});const _0x35c70e=_0x4d91a0[_0x3b9232(0x20c)]();for(const _0x2fdf38 in _0x35c70e){const _0x2427cb=_0x35c70e[Number(_0x2fdf38)];if(!_0x2427cb)continue;const _0x5c5b1d=Object[_0x3b9232(0x1d6)](_0x2427cb)['map'](Number),_0x201e36=Math[_0x3b9232(0x249)](..._0x5c5b1d);for(let _0x105437=_0x201e36;_0x105437>=_0x181cce;_0x105437--)_0x105437>=_0x181cce&&_0x2427cb[_0x105437]&&(_0x2427cb[_0x105437+_0x221291]=_0x2427cb[_0x105437],delete _0x2427cb[_0x105437]);}this[_0x3b9232(0x20f)]['updateSparklineExtraNum'](_0x890ffb,_0x1407a6,_0x2fab7e);}}else{if(_0x4d4130['id']===_0x25282a['InsertRowMutation']['id']){const _0xdceb3a=_0x4d4130['params'],{unitId:_0x20d039,subUnitId:_0xbb774c,range:_0x676de5}=_0xdceb3a,_0x2c9cdf=_0x676de5[_0x3b9232(0x1a0)],_0x4096ad=_0x676de5[_0x3b9232(0x1e9)]-_0x676de5['startRow']+0x1,_0xc62708=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x20d039,_0xbb774c);if(!_0xc62708)return;for(const [_0x133dda,_0x55789c]of _0xc62708){this[_0x3b9232(0x20f)][_0x3b9232(0x211)](_0x20d039,_0xbb774c,_0x133dda);const _0x414523=_0x55789c[_0x3b9232(0x15c)];_0x414523['forValue']((_0x23098f,_0x18f96b,_0x5e0845)=>{const _0x419a02=_0x3b9232,_0x1aa890={..._0x5e0845};_0x2c9cdf<=_0x1aa890[_0x419a02(0x1a0)]?(_0x1aa890['startRow']+=_0x4096ad,_0x1aa890[_0x419a02(0x1e9)]+=_0x4096ad):_0x2c9cdf>_0x1aa890[_0x419a02(0x1e9)]||(_0x1aa890[_0x419a02(0x1e9)]+=_0x4096ad),_0x414523[_0x419a02(0x1ee)](_0x23098f,_0x18f96b,_0x1aa890);});const _0x49c544=_0x414523[_0x3b9232(0x20c)](),_0x5119b9=Object['keys'](_0x49c544)[_0x3b9232(0x23e)](Number),_0x59e1a5=Math[_0x3b9232(0x249)](..._0x5119b9);for(let _0x9968c=_0x59e1a5;_0x9968c>=_0x2c9cdf;_0x9968c--)_0x9968c>=_0x2c9cdf&&_0x49c544[_0x9968c]&&(_0x49c544[_0x9968c+_0x4096ad]=_0x49c544[_0x9968c],delete _0x49c544[_0x9968c]);this[_0x3b9232(0x20f)][_0x3b9232(0x1ef)](_0x20d039,_0xbb774c,_0x133dda);}}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x21f)]['id']){const _0x32b824=_0x4d4130['params'],{range:_0x2521cc,unitId:_0x1e521c,subUnitId:_0x379d3b}=_0x32b824,_0x58ca03=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x1e521c,_0x379d3b);if(!_0x58ca03)return;for(const [_0x305a3a,_0x2d004a]of _0x58ca03){const _0x3866fd=_0x2d004a[_0x3b9232(0x15c)];_0x3866fd[_0x3b9232(0x1c1)]((_0x54ed37,_0x417999,_0xb179c4)=>{const _0xf3ce41=_0x3b9232,_0x574907=_0x25282a[_0xf3ce41(0x236)](_0xb179c4,_0x4d4130);_0x574907?_0x3866fd[_0xf3ce41(0x1ee)](_0x54ed37,_0x417999,_0x574907):_0x3866fd[_0xf3ce41(0x1ee)](_0x54ed37,_0x417999,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0xf3ce41(0x209)][_0xf3ce41(0x167)]});}),_0x3866fd[_0x3b9232(0x22c)](_0x2521cc['startColumn'],_0x2521cc[_0x3b9232(0x1d2)]-_0x2521cc['startColumn']+0x1);}this['_sparklineDataSourceModel'][_0x3b9232(0x1f5)](_0x1e521c,_0x379d3b);}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x196)]['id']){const _0x4dd5de=_0x4d4130[_0x3b9232(0x1e7)],{range:_0x39d003,unitId:_0x4c4617,subUnitId:_0x92a51}=_0x4dd5de,_0x2f2f83=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x4c4617,_0x92a51);if(!_0x2f2f83)return;for(const [_0x45722f,_0x564efc]of _0x2f2f83){const _0x37f9fc=_0x564efc[_0x3b9232(0x15c)];_0x37f9fc['forValue']((_0x539919,_0x4ae95f,_0x27c8e6)=>{const _0x4fef70=_0x3b9232,_0x53dc5e=_0x25282a[_0x4fef70(0x236)](_0x27c8e6,_0x4d4130);_0x53dc5e?_0x37f9fc['setValue'](_0x539919,_0x4ae95f,_0x53dc5e):_0x37f9fc[_0x4fef70(0x1ee)](_0x539919,_0x4ae95f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0x4fef70(0x209)]['NORMAL']});}),_0x37f9fc[_0x3b9232(0x1db)](_0x39d003[_0x3b9232(0x1a0)],_0x39d003[_0x3b9232(0x1e9)]-_0x39d003[_0x3b9232(0x1a0)]+0x1);}this[_0x3b9232(0x20f)][_0x3b9232(0x1f5)](_0x4c4617,_0x92a51);}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x232)]['id']){const _0x3ee380=_0x4d4130[_0x3b9232(0x1e7)],{unitId:_0x147d33,subUnitId:_0x570d91,sourceRange:_0x113d6e,targetRange:_0x3e3ec7}=_0x3ee380,_0x34a401=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x147d33,_0x570d91);if(!_0x34a401)return;for(const [_0x1f8233,_0x47e778]of _0x34a401){const _0x61b329=_0x47e778['sparklines'];_0x61b329[_0x3b9232(0x1c1)]((_0x326183,_0x3927d9,_0x1c8191)=>{const _0xec349e=_0x3b9232,_0x27b134=_0x25282a[_0xec349e(0x236)](_0x1c8191,_0x4d4130);_0x27b134?_0x61b329[_0xec349e(0x1ee)](_0x326183,_0x3927d9,_0x27b134):_0x61b329[_0xec349e(0x1ee)](_0x326183,_0x3927d9,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0xec349e(0x209)]['NORMAL']});}),_0x61b329[_0x3b9232(0x24c)](_0x113d6e[_0x3b9232(0x168)],_0x113d6e['endColumn']-_0x113d6e[_0x3b9232(0x168)]+0x1,_0x3e3ec7[_0x3b9232(0x168)]);}this[_0x3b9232(0x20f)]['reBuildAnchorCache'](_0x147d33,_0x570d91);}else{if(_0x4d4130['id']===_0x25282a['MoveRowsMutation']['id']){const _0x9a0676=_0x4d4130[_0x3b9232(0x1e7)],{unitId:_0x403253,subUnitId:_0x54ff8a,sourceRange:_0x3731de,targetRange:_0x20039d}=_0x9a0676,_0x593e27=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x403253,_0x54ff8a);if(!_0x593e27)return;for(const [_0x238b17,_0x28f4e7]of _0x593e27){const _0x497d56=_0x28f4e7[_0x3b9232(0x15c)];_0x497d56[_0x3b9232(0x1c1)]((_0x21f106,_0x6f13b8,_0x4a03da)=>{const _0x1da13c=_0x3b9232,_0x167e0d=_0x25282a[_0x1da13c(0x236)](_0x4a03da,_0x4d4130);_0x167e0d?_0x497d56['setValue'](_0x21f106,_0x6f13b8,_0x167e0d):_0x497d56[_0x1da13c(0x1ee)](_0x21f106,_0x6f13b8,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190['RANGE_TYPE'][_0x1da13c(0x167)]});}),_0x497d56[_0x3b9232(0x210)](_0x3731de[_0x3b9232(0x1a0)],_0x3731de['endRow']-_0x3731de[_0x3b9232(0x1a0)]+0x1,_0x20039d['startRow']);}this[_0x3b9232(0x20f)][_0x3b9232(0x1f5)](_0x403253,_0x54ff8a);}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x255)]['id']){const _0x1302e4=_0x4d4130[_0x3b9232(0x1e7)],{fromRange:_0x3a1d81,toRange:_0x29538d,unitId:_0x1b2332,from:_0xcd74d7,to:_0x24597d}=_0x1302e4;if(_0xcd74d7[_0x3b9232(0x17e)]!==_0x24597d[_0x3b9232(0x17e)])return;const _0x3b5fad=_0xcd74d7[_0x3b9232(0x17e)],{startRow:_0x4d7b81,endRow:_0x4c4f80,startColumn:_0x2d2ff9,endColumn:_0x3de175}=_0x3a1d81,{startRow:_0x2dd2b8,startColumn:_0x392c12}=_0x29538d,_0x286b90=_0x2dd2b8-_0x4d7b81,_0x20ccea=_0x392c12-_0x2d2ff9,_0x425048=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x1b2332,_0x3b5fad);if(!(_0x425048!=null&&_0x425048['size']))return;for(let _0x5d0d63=_0x4d7b81;_0x5d0d63<=_0x4c4f80;_0x5d0d63++)for(let _0x4d6858=_0x2d2ff9;_0x4d6858<=_0x3de175;_0x4d6858++){const _0x4bb677=this[_0x3b9232(0x20f)][_0x3b9232(0x23d)](_0x1b2332,_0x3b5fad,_0x5d0d63,_0x4d6858);if(_0x4bb677){const _0x2579e8=this[_0x3b9232(0x20f)][_0x3b9232(0x248)](_0x1b2332,_0x3b5fad,_0x4bb677);if(_0x2579e8){const _0x4f51de=_0x2579e8[_0x3b9232(0x15c)][_0x3b9232(0x1da)](_0x5d0d63,_0x4d6858);_0x4f51de&&(_0x2579e8[_0x3b9232(0x15c)][_0x3b9232(0x1ee)](_0x5d0d63+_0x286b90,_0x4d6858+_0x20ccea,_0x4f51de),_0x2579e8[_0x3b9232(0x15c)][_0x3b9232(0x1bd)](_0x5d0d63,_0x4d6858));}}}for(const [_0x583990,_0x344fad]of _0x425048){const _0x336032=_0x344fad[_0x3b9232(0x15c)];_0x336032[_0x3b9232(0x1c1)]((_0x4e0010,_0x5416c8,_0x267242)=>{const _0x289ef3=_0x3b9232,_0x112484={..._0x267242};_0x31d190[_0x289ef3(0x16d)][_0x289ef3(0x204)](_0x3a1d81,_0x267242)&&(_0x112484['startRow']+=_0x286b90,_0x112484['endRow']+=_0x286b90,_0x112484[_0x289ef3(0x168)]+=_0x20ccea,_0x112484[_0x289ef3(0x1d2)]+=_0x20ccea),_0x336032['setValue'](_0x4e0010,_0x5416c8,_0x112484);});}this[_0x3b9232(0x20f)]['reBuildAnchorCache'](_0x1b2332,_0x3b5fad);}}}}}}}}));}};_0x35feee=_0x1b2ef9([_0x35dbad(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x192)])),_0x35dbad(0x1,_0x31d190['Inject'](_0x25282a[_0x15ed9a(0x1ab)])),_0x35dbad(0x2,_0x31d190[_0x15ed9a(0x1c8)]),_0x35dbad(0x3,_0x31d190['Inject'](_0x33c1ed['SparklineDataSourceModel']))],_0x35feee);var _0x5cc164=Object[_0x15ed9a(0x1cd)],_0x284c39=(_0x1d1fc9,_0x4c3ccb,_0x53731d,_0x3f63b5)=>{for(var _0x433e40=_0x3f63b5>0x1?void 0x0:_0x3f63b5?_0x5cc164(_0x4c3ccb,_0x53731d):_0x4c3ccb,_0x331047=_0x1d1fc9['length']-0x1,_0x40b53a;_0x331047>=0x0;_0x331047--)(_0x40b53a=_0x1d1fc9[_0x331047])&&(_0x433e40=_0x40b53a(_0x433e40)||_0x433e40);return _0x433e40;},_0x2bc838=(_0x67b812,_0x413a29)=>(_0x2a1f09,_0x555291)=>_0x413a29(_0x2a1f09,_0x555291,_0x67b812);let _0x31876e=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x12d391,_0x16fc4a,_0x13d183){const _0x11214b=_0x15ed9a;super(),this['_univerInstanceService']=_0x12d391,this[_0x11214b(0x252)]=_0x16fc4a,this[_0x11214b(0x20f)]=_0x13d183,this[_0x11214b(0x25b)]();}['_initSheetChange'](){const _0x12fce0=_0x15ed9a;this[_0x12fce0(0x19f)](this[_0x12fce0(0x252)][_0x12fce0(0x1bb)]({'getMutations':_0x364a4d=>{const _0x3bd804=_0x12fce0;var _0x1b2d4b;if(_0x364a4d['id']===_0x25282a['RemoveSheetCommand']['id']){const _0x56ac45=_0x364a4d[_0x3bd804(0x1e7)],_0x586144=_0x56ac45['unitId']||this['_univerInstanceService'][_0x3bd804(0x215)](_0x31d190[_0x3bd804(0x20a)][_0x3bd804(0x185)])[_0x3bd804(0x1d0)](),_0x4ea4b4=_0x56ac45[_0x3bd804(0x17e)]||((_0x1b2d4b=this['_univerInstanceService']['getCurrentUnitOfType'](_0x31d190[_0x3bd804(0x20a)][_0x3bd804(0x185)])[_0x3bd804(0x220)]())==null?void 0x0:_0x1b2d4b[_0x3bd804(0x17b)]());if(!_0x586144||!_0x4ea4b4)return{'redos':[],'undos':[]};const _0x3752d2=this[_0x3bd804(0x20f)][_0x3bd804(0x195)](_0x586144,_0x4ea4b4);if(!_0x3752d2)return{'redos':[],'undos':[]};const _0x34737=new Set(),_0x8292d3={};for(const [_0x39e9dd,_0x26ab71]of _0x3752d2)_0x34737[_0x3bd804(0x1a9)](_0x39e9dd),_0x8292d3[_0x39e9dd]={'config':_0x31d190['Tools'][_0x3bd804(0x201)](_0x26ab71['config']),'sparklines':_0x31d190[_0x3bd804(0x1f2)][_0x3bd804(0x201)](_0x26ab71[_0x3bd804(0x15c)][_0x3bd804(0x1bc)]())};if(_0x34737[_0x3bd804(0x1a5)])return{'redos':[{'id':_0x38f3fd['id'],'params':{'unitId':_0x586144,'subUnitId':_0x4ea4b4,'groupIds':Array[_0x3bd804(0x1fe)](_0x34737),'isSingle':!0x1}}],'undos':[{'id':_0x3f9b3d['id'],'params':{'unitId':_0x586144,'subUnitId':_0x4ea4b4,'sparklineConfigMap':_0x8292d3}}]};}else{if(_0x364a4d['id']===_0x25282a[_0x3bd804(0x177)]['id']){const _0x345f5e=_0x364a4d[_0x3bd804(0x1e7)],{unitId:_0x3286fb,subUnitId:_0x40e56f,targetSubUnitId:_0x477c35}=_0x345f5e;if(!_0x3286fb||!_0x40e56f||!_0x477c35)return{'redos':[],'undos':[]};const _0x9b9e14=this[_0x3bd804(0x20f)][_0x3bd804(0x195)](_0x3286fb,_0x40e56f);if(!_0x9b9e14)return{'redos':[],'undos':[]};const _0x252743=new Set(),_0x1ed8bd={};for(const [_0x5b89de,_0x17e9a5]of _0x9b9e14){const _0x1d83f1='g_'+_0x31d190['generateRandomId'](0x6);_0x252743['add'](_0x5b89de),_0x1ed8bd[_0x1d83f1]={'config':_0x31d190['Tools']['deepClone'](_0x17e9a5[_0x3bd804(0x240)]),'sparklines':_0x31d190[_0x3bd804(0x1f2)][_0x3bd804(0x201)](_0x17e9a5[_0x3bd804(0x15c)]['clone']())};}if(_0x252743['size'])return{'redos':[{'id':_0x3f9b3d['id'],'params':{'unitId':_0x3286fb,'subUnitId':_0x477c35,'sparklineConfigMap':_0x1ed8bd}}],'undos':[{'id':_0x38f3fd['id'],'params':{'unitId':_0x3286fb,'subUnitId':_0x477c35,'groupIds':Array[_0x3bd804(0x1fe)](_0x252743),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x31876e=_0x284c39([_0x2bc838(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x1c8)])),_0x2bc838(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x25282a[_0x15ed9a(0x178)])),_0x2bc838(0x2,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)]))],_0x31876e);var _0x3a825b=Object[_0x15ed9a(0x1cd)],_0xd83ceb=(_0x4c5e58,_0x568a8d,_0xe09aa8,_0xcaee1a)=>{for(var _0x5aabad=_0xcaee1a>0x1?void 0x0:_0xcaee1a?_0x3a825b(_0x568a8d,_0xe09aa8):_0x568a8d,_0x19bd80=_0x4c5e58['length']-0x1,_0x378135;_0x19bd80>=0x0;_0x19bd80--)(_0x378135=_0x4c5e58[_0x19bd80])&&(_0x5aabad=_0x378135(_0x5aabad)||_0x5aabad);return _0x5aabad;},_0x333873=(_0xbd1820,_0x5620e9)=>(_0x3df0bf,_0x22cf41)=>_0x5620e9(_0x3df0bf,_0x22cf41,_0xbd1820);let _0x5932ab=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x4deb56,_0x501b90){const _0x421557=_0x15ed9a;super(),this[_0x421557(0x1a8)]=_0x4deb56,this['_sparklineDataSourceModel']=_0x501b90,this[_0x421557(0x20e)]();}[_0x15ed9a(0x20e)](){const _0x35bd86=_0x15ed9a,_0x463e5d=_0x5bcbdf=>{const _0x3a04a6=_0x593e,_0x2a66f7=this[_0x3a04a6(0x20f)]['toJSON'](_0x5bcbdf);return _0x2a66f7?JSON[_0x3a04a6(0x1aa)](_0x2a66f7):'';},_0x565324=_0x4d8536=>_0x4d8536?JSON[_0x35bd86(0x1a2)](_0x4d8536):{};this[_0x35bd86(0x19f)](this[_0x35bd86(0x1a8)][_0x35bd86(0x22d)]({'toJson':_0x463e5d,'parseJson':_0x565324,'pluginName':_0x2bdcee,'businesses':[_0x31d190[_0x35bd86(0x20a)][_0x35bd86(0x185)]],'onLoad':(_0x119664,_0x235792)=>{const _0x4b729c=_0x35bd86;this[_0x4b729c(0x20f)][_0x4b729c(0x228)](_0x235792);},'onUnLoad':_0x3473ae=>{this['_sparklineDataSourceModel']['deleteUnit'](_0x3473ae);}}));}};_0x5932ab=_0xd83ceb([_0x333873(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x183)])),_0x333873(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)]))],_0x5932ab);var _0x2645e8=Object[_0x15ed9a(0x254)],_0x3e6926=Object['getOwnPropertyDescriptor'],_0x5caa1d=(_0x5da73a,_0x4c03ef,_0x289967)=>_0x4c03ef in _0x5da73a?_0x2645e8(_0x5da73a,_0x4c03ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x289967}):_0x5da73a[_0x4c03ef]=_0x289967,_0x45a09d=(_0x565922,_0x43854b,_0x574c52,_0x5e0962)=>{for(var _0x29f91c=_0x5e0962>0x1?void 0x0:_0x5e0962?_0x3e6926(_0x43854b,_0x574c52):_0x43854b,_0xb69e=_0x565922['length']-0x1,_0x1d5f51;_0xb69e>=0x0;_0xb69e--)(_0x1d5f51=_0x565922[_0xb69e])&&(_0x29f91c=_0x1d5f51(_0x29f91c)||_0x29f91c);return _0x29f91c;},_0xc1df5=(_0x49c581,_0x33d3fa)=>(_0x2aadaa,_0x4022e9)=>_0x33d3fa(_0x2aadaa,_0x4022e9,_0x49c581),_0x596041=(_0x49d448,_0x597b96,_0x1d0aa9)=>_0x5caa1d(_0x49d448,typeof _0x597b96!='symbol'?_0x597b96+'':_0x597b96,_0x1d0aa9);_0x33c1ed['UniverSheetSparklinePlugin']=class extends _0x31d190[_0x15ed9a(0x1fa)]{constructor(_0xe461b2={},_0x529332,_0x6492e1){const _0x6f4f0c=_0x15ed9a;super(),this[_0x6f4f0c(0x203)]=_0xe461b2,this[_0x6f4f0c(0x1ae)]=_0x529332,this['_commandService']=_0x6492e1,this['_initDependencies'](),this[_0x6f4f0c(0x1f7)]();}[_0x15ed9a(0x245)](){const _0x492821=_0x15ed9a;[[_0x33c1ed[_0x492821(0x159)]],[_0x4973e3],[_0x5110d3],[_0x496dde],[_0x35feee],[_0x34823e],[_0x31876e],[_0x5932ab]]['forEach'](_0x4131af=>{const _0x23e7cd=_0x492821;this['_injector'][_0x23e7cd(0x1a9)](_0x4131af);}),_0x31d190['touchDependencies'](this[_0x492821(0x1ae)],[[_0x5932ab]]);}[_0x15ed9a(0x226)](){const _0x15e99b=_0x15ed9a;_0x31d190[_0x15e99b(0x1b0)](this[_0x15e99b(0x1ae)],[[_0x4973e3],[_0x5110d3],[_0x496dde],[_0x35feee],[_0x34823e],[_0x31876e]]);}[_0x15ed9a(0x1f7)](){const _0x363f7a=_0x15ed9a;[_0x4331aa,_0x3f9b3d,_0x43b5a7,_0x38f3fd,_0x46f7a6,_0x40f599][_0x363f7a(0x19b)](_0x144727=>this[_0x363f7a(0x244)][_0x363f7a(0x173)](_0x144727));}},_0x596041(_0x33c1ed[_0x15ed9a(0x21a)],_0x15ed9a(0x1e1),_0x2bdcee),_0x596041(_0x33c1ed[_0x15ed9a(0x21a)],_0x15ed9a(0x1eb),_0x31d190['UniverInstanceType'][_0x15ed9a(0x185)]),_0x33c1ed[_0x15ed9a(0x21a)]=_0x45a09d([_0x31d190[_0x15ed9a(0x1ce)](_0x885d29[_0x15ed9a(0x175)]),_0xc1df5(0x1,_0x31d190['Inject'](_0x31d190[_0x15ed9a(0x184)])),_0xc1df5(0x2,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x192)]))],_0x33c1ed['UniverSheetSparklinePlugin']),_0x33c1ed[_0x15ed9a(0x253)]=_0x4331aa,_0x33c1ed[_0x15ed9a(0x15f)]=_0x3f9b3d,_0x33c1ed[_0x15ed9a(0x235)]=_0x2bdcee,_0x33c1ed[_0x15ed9a(0x221)]=_0x43b5a7,_0x33c1ed['RemoveSheetSparklineMutation']=_0x38f3fd,_0x33c1ed['SetSheetSparklineCommand']=_0x46f7a6,_0x33c1ed[_0x15ed9a(0x1c7)]=_0x40f599,_0x33c1ed['SpacialShowAsEnum']=_0x4ddcc1,_0x33c1ed[_0x15ed9a(0x1f0)]=_0x22bf49,_0x33c1ed[_0x15ed9a(0x1ea)]=_0x4da1af,_0x33c1ed[_0x15ed9a(0x1c9)]=_0x425d02,_0x33c1ed['SparklineThemeTypeEnum']=_0x1ed78d,_0x33c1ed['SparklineTypeEnum']=_0x11d5e6,_0x33c1ed['getSparklinePlacement']=_0x68a83c,Object[_0x15ed9a(0x254)](_0x33c1ed,Symbol[_0x15ed9a(0x250)],{'value':_0x15ed9a(0x21d)});}));function _0x593e(_0x2bc704,_0x1fde9c){_0x2bc704=_0x2bc704-0x159;const _0x3803fe=_0x3803();let _0x593e96=_0x3803fe[_0x2bc704];return _0x593e96;}function _0x3803(){const _0x4f358a=['LINE_CHART','SparklineDataSourceModel','intersects','_ensureConfigMap','sparklines','STANDARD','registerRefRange','AddSheetSparklineMutation','SELF_EXTREMUM','sheet.mutation.set-sparkline','rxjs','Subject','Range','_exclusiveRangeService','_ensureAnchorMatrix','NORMAL','startColumn','getSparklineCache','onCommandExecuted','foreach','ranges','Rectangle','DISTINCTIVE','assign','sheet.mutation.add-sparkline','getRowVisible','custom','registerCommand','6202375AqrjIH','UniverLicensePlugin','DisposableCollection','CopySheetCommand','SheetInterceptorService','some','addSparkline','getSheetId','_initCorrectRangeWithSparkline','PROFIT_AND_LOSS_CHART','subUnitId','CellValueType','1209mCLmsw','standard','function','IResourceManagerService','Injector','UNIVER_SHEET','getCurrentSelections','_initMergeWithSparkline','exports','has','rgb(80,102,248)','specialty','generateRandomId','533753dkGskG','UniverProLicense','removePartSparkline','sheet.command.set-sparkline','SetRowVisibleMutation','ICommandService','CUSTOM_EXTREMUM','sheet.mutation.remove-sparkline','getSubUnitSparkline','RemoveRowMutation','RemoveColCommand','PIE_CHART','getCellRaw','symbol','forEach','themeType','markersPoint','_initExclusiveRangeChange','disposeWithMe','startRow','54894iDhaNr','parse','ColorKit','rgb(124,66,147)','size','13854710xVRQKp','SHEET_SPARKLINE_PLUGIN','_resourceManagerService','add','stringify','RefRangeService','getColVisible','SOFT','_injector','hasValue','touchDependencies','UniverProSheetsSparkline','40zvptQW','Inject','SPECIALTY','SetColVisibleMutation','RemoveRowCommand','rgb(49,106,246)','sparklineModel','range','column','interceptCommand','clone','realDeleteValue','CommandType','isValidRange','push','forValue','3010yOKUjP','getSheetBySheetId','changeDataSourceInfo','deleteUnit','_univerInstanceService','SetSheetSparklineMutation','IUniverInstanceService','SparklineThemeMapping','ObjectMatrix','_onRefRangeChange','rgb(244,104,249)','getOwnPropertyDescriptor','DependentOn','subscribe','getUnitId','ReorderRangeMutation','endColumn','remove','emptyShowAs','length','keys','_updateConfig$','COMMAND','get','getValue','removeRows','actualRow','rgb(30,177,189)','disposableCollection','_initHideRowColWithSparkline','rgb(54,78,244)','pluginName','sequenceExecute','row','value','_getRefRangeMutationsByDeleteCols','Disposable','params','groupId','endRow','SparklinePointsNames','type','soft','amd','setValue','updateSparklineExtraNum','SparklineExtremumTypeEnum','_refRangeService','Tools','containHiddenCells','item','reBuildAnchorCache','pushUndoRedo','_initRegisterCommand','matrix','9vrZEog','Plugin','CONNECT_WITH_LINE','every','2221694gJrjzB','from','highPoint','@univerjs/core','deepClone','SetRangeValuesMutation','_config','contains','_getRefRangeMutationsByDeleteRows','removeSparkline','delete','rgb(248,190,21)','RANGE_TYPE','UniverInstanceType','firstPoint','getMatrix','@univerjs/sheets','_initSnapshot','_sparklineDataSourceModel','moveRows','clearSparklineCache','6cftteE','UniverCore','getSheetCommandTarget','getCurrentUnitOfType','FRESH','BAR_CHART','refRangeHandle','NUMBER','UniverSheetSparklinePlugin','@univerjs-pro/license','setAlpha','Module','next','RemoveColMutation','getActiveSheet','RemoveSheetSparklineCommand','IUndoRedoService','values','getSizeOf','SetColHiddenMutation','onReady','set','fromJSON','MAX_SAFE_INTEGER','MUTATION','sparklineAnchorMap','removeColumns','registerPluginResource','object','actualColumn','ZERO_VALUE','_initDataChangeListener','MoveColsMutation','u-connect','cellToRange','PLUGIN_NAME','adjustRangeOnMutation','rgb(236,100,169)','_initClearWithSparkline','u-spacing','extremumMax','SetWorksheetActivateCommand','GROUP_EXTREMUM','getSparkline','map','_sparklineAnchorMap','config','unitId','12728BBxmjM','getCell','_commandService','_initDependencies','toRgbString','updateConfig$','getSparklineById','max','AddWorksheetMergeCommand','number','moveColumns','60spZUXR','MIN_SAFE_INTEGER','181846GCpeQW','toStringTag','IExclusiveRangeService','_sheetInterceptorService','AddSheetSparklineCommand','defineProperty','MoveRangeMutation','sheet.command.add-sparkline','spacing','toJSON','_sparklineModel','entries','_initSheetChange','1iVbsSA','SPACING','connect_with_line','SheetsSelectionsService'];_0x3803=function(){return _0x4f358a;};return _0x3803();}
|
|
1
|
+
(function(_0x20a9da,_0x6f8472){const _0x11397b=_0x3e04,_0x36d2c6=_0x20a9da();while(!![]){try{const _0x55218e=parseInt(_0x11397b(0x1bb))/0x1*(-parseInt(_0x11397b(0x18c))/0x2)+-parseInt(_0x11397b(0x18a))/0x3+parseInt(_0x11397b(0x170))/0x4+-parseInt(_0x11397b(0x19f))/0x5*(parseInt(_0x11397b(0x179))/0x6)+parseInt(_0x11397b(0x1e1))/0x7+-parseInt(_0x11397b(0x1f2))/0x8+parseInt(_0x11397b(0x223))/0x9;if(_0x55218e===_0x6f8472)break;else _0x36d2c6['push'](_0x36d2c6['shift']());}catch(_0x6976e2){_0x36d2c6['push'](_0x36d2c6['shift']());}}}(_0x1bec,0x6e573),function(_0x36f335,_0x4d397f){const _0x114d69=_0x3e04;typeof exports==_0x114d69(0x212)&&typeof module<'u'?_0x4d397f(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x114d69(0x164)]?define([_0x114d69(0x19c),'@univerjs/core','@univerjs/sheets',_0x114d69(0x1f5),_0x114d69(0x201)],_0x4d397f):(_0x36f335=typeof globalThis<'u'?globalThis:_0x36f335||self,_0x4d397f(_0x36f335['UniverProSheetsSparkline']={},_0x36f335['UniverCore'],_0x36f335[_0x114d69(0x185)],_0x36f335[_0x114d69(0x1f5)],_0x36f335[_0x114d69(0x155)]));}(this,function(_0xd07b84,_0x199790,_0x41358c,_0x130184,_0x5251fc){'use strict';const _0x493699=_0x3e04;var _0x20bdb5=Object[_0x493699(0x1ae)],_0x341c65=(_0x14ec89,_0xb600a8,_0x11c8de)=>_0xb600a8 in _0x14ec89?_0x20bdb5(_0x14ec89,_0xb600a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11c8de}):_0x14ec89[_0xb600a8]=_0x11c8de,_0x8d0f31=(_0x2c45f8,_0x4c5ccf,_0x402208)=>_0x341c65(_0x2c45f8,typeof _0x4c5ccf!='symbol'?_0x4c5ccf+'':_0x4c5ccf,_0x402208);function _0xf6b471(_0x4d3e62,_0x410ecc){const _0x3c6061=_0x493699,_0x4b498d=new _0x199790['ObjectMatrix'](),_0xcb1d88=[],_0x50803d=_0x4d3e62[_0x3c6061(0x183)]>0x1;let _0x45876a=0x0,_0x368426=0x0;for(const _0x2ecf00 of _0x4d3e62)_0x45876a+=_0x2ecf00[_0x3c6061(0x18b)]-_0x2ecf00['startRow']+0x1,_0x368426+=_0x2ecf00[_0x3c6061(0x1c6)]-_0x2ecf00[_0x3c6061(0x1d9)]+0x1;for(const _0x23c5be of _0x410ecc)for(let _0x34e09b=_0x23c5be[_0x3c6061(0x1d1)];_0x34e09b<=_0x23c5be[_0x3c6061(0x18b)];_0x34e09b++)for(let _0x31369e=_0x23c5be['startColumn'];_0x31369e<=_0x23c5be[_0x3c6061(0x1c6)];_0x31369e++)_0xcb1d88[_0x3c6061(0x23d)]({'row':_0x34e09b,'column':_0x31369e});if(_0xcb1d88[_0x3c6061(0x183)]===_0x45876a)_0x50803d?_0xcb1d88[_0x3c6061(0x1f7)]((_0x38964c,_0x181a69)=>{const _0x143e73=_0x3c6061,_0x2f4c79=_0x4d3e62[_0x181a69],_0x5cb4a2={'startRow':_0x2f4c79[_0x143e73(0x1d1)],'startColumn':_0x2f4c79[_0x143e73(0x1d9)],'endRow':_0x2f4c79['startRow'],'endColumn':_0x2f4c79[_0x143e73(0x1c6)]};_0x4b498d[_0x143e73(0x142)](_0x38964c[_0x143e73(0x215)],_0x38964c[_0x143e73(0x196)],_0x5cb4a2);}):_0xcb1d88[_0x3c6061(0x1f7)]((_0x46b489,_0x8bafe1)=>{const _0x3976c3=_0x3c6061,_0x5ddab9=_0x4d3e62[0x0],_0x2d1ef4={'startRow':_0x5ddab9['startRow']+_0x8bafe1,'startColumn':_0x5ddab9['startColumn'],'endRow':_0x5ddab9['startRow']+_0x8bafe1,'endColumn':_0x5ddab9[_0x3976c3(0x1c6)]};_0x4b498d[_0x3976c3(0x142)](_0x46b489[_0x3976c3(0x215)],_0x46b489[_0x3976c3(0x196)],_0x2d1ef4);});else{if(_0xcb1d88[_0x3c6061(0x183)]===_0x368426)_0x50803d?_0xcb1d88['forEach']((_0x12fabd,_0x1935d6)=>{const _0x2ff78d=_0x3c6061,_0x4b0d9a=_0x4d3e62[_0x1935d6],_0xae17d7={'startRow':_0x4b0d9a['startRow'],'startColumn':_0x4b0d9a['startColumn'],'endRow':_0x4b0d9a[_0x2ff78d(0x18b)],'endColumn':_0x4b0d9a[_0x2ff78d(0x1d9)]};_0x4b498d[_0x2ff78d(0x142)](_0x12fabd['row'],_0x12fabd[_0x2ff78d(0x196)],_0xae17d7);}):_0xcb1d88['forEach']((_0x111ffe,_0x56b360)=>{const _0x4fb2fb=_0x3c6061,_0x39162f=_0x4d3e62[0x0],_0x492aab={'startRow':_0x39162f[_0x4fb2fb(0x1d1)],'startColumn':_0x39162f[_0x4fb2fb(0x1d9)]+_0x56b360,'endRow':_0x39162f[_0x4fb2fb(0x18b)],'endColumn':_0x39162f[_0x4fb2fb(0x1d9)]+_0x56b360};_0x4b498d['setValue'](_0x111ffe['row'],_0x111ffe[_0x4fb2fb(0x196)],_0x492aab);});else{if(_0xcb1d88[_0x3c6061(0x183)]===_0x4d3e62[_0x3c6061(0x183)])_0x4d3e62[_0x3c6061(0x227)](_0x182329=>!(_0x182329[_0x3c6061(0x1d1)]!==_0x182329[_0x3c6061(0x18b)]&&_0x182329[_0x3c6061(0x1d9)]!==_0x182329['endColumn']))&&_0xcb1d88[_0x3c6061(0x1f7)]((_0x1ba56b,_0x3f27c2)=>{const _0x5cc48f=_0x3c6061,_0x1dde7e=_0x4d3e62[_0x3f27c2];_0x4b498d[_0x5cc48f(0x142)](_0x1ba56b['row'],_0x1ba56b[_0x5cc48f(0x196)],_0x1dde7e);});else throw new Error(_0x3c6061(0x243));}}return _0x4b498d;}const _0x5b1335='SHEET_SPARKLINE_PLUGIN',_0xded8bd={'standard':[_0x493699(0x140),'rgb(236,100,169)'],'specialty':[_0x493699(0x169),_0x493699(0x15d)],'distinctive':[_0x493699(0x18f),_0x493699(0x1f9)],'soft':['rgb(80,102,248)','rgb(244,104,249)'],'fresh':[_0x493699(0x214),_0x493699(0x233)]},_0x5969e1=[_0x493699(0x162),_0x493699(0x1e7),_0x493699(0x234),_0x493699(0x1cc),_0x493699(0x150),_0x493699(0x1c2)];var _0x1c80c5=(_0x33f7f1=>(_0x33f7f1[_0x493699(0x186)]=_0x493699(0x1ad),_0x33f7f1['SPECIALTY']='specialty',_0x33f7f1[_0x493699(0x200)]=_0x493699(0x202),_0x33f7f1[_0x493699(0x1eb)]=_0x493699(0x151),_0x33f7f1[_0x493699(0x1cf)]=_0x493699(0x231),_0x33f7f1[_0x493699(0x1e9)]=_0x493699(0x14c),_0x33f7f1))(_0x1c80c5||{}),_0x458e19=(_0xfcf0f3=>(_0xfcf0f3[_0xfcf0f3[_0x493699(0x1a3)]=0x1]=_0x493699(0x1a3),_0xfcf0f3[_0xfcf0f3[_0x493699(0x1d6)]=0x2]=_0x493699(0x1d6),_0xfcf0f3[_0xfcf0f3[_0x493699(0x14d)]=0x3]=_0x493699(0x14d),_0xfcf0f3[_0xfcf0f3[_0x493699(0x1bc)]=0x4]=_0x493699(0x1bc),_0xfcf0f3))(_0x458e19||{}),_0x4cf0e2=(_0x17472d=>(_0x17472d['SPACING']=_0x493699(0x165),_0x17472d[_0x493699(0x1e3)]=_0x493699(0x208),_0x17472d[_0x493699(0x1dc)]='connect_with_line',_0x17472d))(_0x4cf0e2||{}),_0x1b45db=(_0xcf2bf5=>(_0xcf2bf5[_0xcf2bf5[_0x493699(0x1b7)]=0x1]=_0x493699(0x1b7),_0xcf2bf5[_0xcf2bf5[_0x493699(0x23a)]=0x2]=_0x493699(0x23a),_0xcf2bf5[_0xcf2bf5[_0x493699(0x14e)]=0x3]=_0x493699(0x14e),_0xcf2bf5))(_0x1b45db||{}),_0x11eb74=Object[_0x493699(0x1bd)],_0x2250d3=(_0x562f6a,_0xf43cea,_0x45489f,_0x54fe5f)=>{const _0x4a7316=_0x493699;for(var _0x1b524e=_0x54fe5f>0x1?void 0x0:_0x54fe5f?_0x11eb74(_0xf43cea,_0x45489f):_0xf43cea,_0x2b3012=_0x562f6a[_0x4a7316(0x183)]-0x1,_0x925b7c;_0x2b3012>=0x0;_0x2b3012--)(_0x925b7c=_0x562f6a[_0x2b3012])&&(_0x1b524e=_0x925b7c(_0x1b524e)||_0x1b524e);return _0x1b524e;},_0x159282=(_0x4e9a3d,_0x317f67)=>(_0x19623e,_0xf47059)=>_0x317f67(_0x19623e,_0xf47059,_0x4e9a3d);_0xd07b84[_0x493699(0x193)]=class extends _0x199790[_0x493699(0x19d)]{constructor(_0x2f82f6){const _0x388930=_0x493699;super(),_0x8d0f31(this,_0x388930(0x174),new Map()),_0x8d0f31(this,'_sparklineAnchorMap',new Map()),_0x8d0f31(this,_0x388930(0x1a8),new _0x130184['Subject']()),_0x8d0f31(this,_0x388930(0x198),this['_updateConfig$'][_0x388930(0x221)]()),this[_0x388930(0x1af)]=_0x2f82f6;}['_ensureConfigMap'](_0x19890a,_0x594e52){const _0x1f62a0=_0x493699;let _0x2767cb=this[_0x1f62a0(0x174)][_0x1f62a0(0x236)](_0x19890a);_0x2767cb||(_0x2767cb=new Map(),this[_0x1f62a0(0x174)][_0x1f62a0(0x1fa)](_0x19890a,_0x2767cb));let _0xcb597f=_0x2767cb[_0x1f62a0(0x236)](_0x594e52);return _0xcb597f||(_0xcb597f=new Map(),_0x2767cb[_0x1f62a0(0x1fa)](_0x594e52,_0xcb597f)),_0xcb597f;}[_0x493699(0x1c4)](_0xcae2cc,_0xced9d2){const _0x590299=_0x493699;let _0x4cbd6d=this['_sparklineAnchorMap'][_0x590299(0x236)](_0xcae2cc);_0x4cbd6d||(_0x4cbd6d=new Map(),this[_0x590299(0x1ec)][_0x590299(0x1fa)](_0xcae2cc,_0x4cbd6d));let _0xfa2903=_0x4cbd6d[_0x590299(0x236)](_0xced9d2);return _0xfa2903||(_0xfa2903={'matrix':new _0x199790[(_0x590299(0x13c))](),'extra':{}},_0x4cbd6d[_0x590299(0x1fa)](_0xced9d2,_0xfa2903)),_0xfa2903;}[_0x493699(0x216)](_0x5d43b7,_0xa1bf95,_0x2a65e3,_0x543b23='set'){const _0x4ad054=_0x493699;var _0x47df47,_0x58f347,_0x445186,_0x472049,_0x5236af,_0x28e862,_0x468afa,_0x35e792,_0xb81967,_0x40c322,_0x1fbc24,_0x18c2df,_0x3cda4a;const _0xc98529=(_0x58f347=(_0x47df47=this[_0x4ad054(0x174)]['get'](_0x5d43b7))==null?void 0x0:_0x47df47[_0x4ad054(0x236)](_0xa1bf95))==null?void 0x0:_0x58f347['get'](_0x2a65e3);if(!_0xc98529)return;const _0x1bfb8b=_0x41358c['getSheetCommandTarget'](this['_univerInstanceService'],{'unitId':_0x5d43b7,'subUnitId':_0xa1bf95});if(!_0x1bfb8b)return;const _0x28fbe7=this[_0x4ad054(0x1c4)](_0x5d43b7,_0xa1bf95),{extra:_0x33605a,matrix:_0x147956}=_0x28fbe7,{worksheet:_0x3df920}=_0x1bfb8b;let _0x35eecf=Number[_0x4ad054(0x190)],_0x4bba51=Number['MAX_SAFE_INTEGER'];const _0x1641c7=(_0x445186=_0xc98529[_0x4ad054(0x1a1)][_0x4ad054(0x188)])!=null?_0x445186:!0x1;_0xc98529[_0x4ad054(0x228)][_0x4ad054(0x239)]((_0x2a7261,_0x3edd41,_0x293c09)=>{const _0x145a86=_0x4ad054;var _0x1d917c,_0x2f5bbc,_0x413d5f;const _0x5a29f0=_0x293c09;let _0x394eb4=Number[_0x145a86(0x190)],_0x505dc0=Number[_0x145a86(0x241)],_0x1ab726=0x0,_0x4467bb=0x0;const _0x5ab4b6=[];if(!_0x199790[_0x145a86(0x20a)](_0x5a29f0))_0x147956[_0x145a86(0x142)](_0x2a7261,_0x3edd41,{'groupId':_0x2a65e3,'data':[],'max':_0x394eb4,'min':_0x505dc0,'highIndex':_0x1ab726,'lowIndex':_0x4467bb,'negativeIndexes':_0x5ab4b6});else{const _0x454e99=[];for(let _0x424b64=_0x5a29f0['startRow'];_0x424b64<=_0x5a29f0[_0x145a86(0x18b)];_0x424b64++){for(let _0x22e3dd=_0x5a29f0[_0x145a86(0x1d9)];_0x22e3dd<=_0x5a29f0[_0x145a86(0x1c6)];_0x22e3dd++){const _0x4486c0=_0x3df920[_0x145a86(0x171)](_0x424b64),_0x3454fb=_0x3df920[_0x145a86(0x1b4)](_0x22e3dd);if(!_0x1641c7&&(!_0x4486c0||!_0x3454fb))continue;let _0x189531=0x0;const _0x4dd90c=((_0x1d917c=_0x3df920[_0x145a86(0x22b)](_0x424b64,_0x22e3dd))==null?void 0x0:_0x1d917c['v'])!==void 0x0?_0x3df920[_0x145a86(0x22b)](_0x424b64,_0x22e3dd):_0x3df920[_0x145a86(0x1fb)](_0x424b64,_0x22e3dd);if(!_0x4dd90c||_0x4dd90c['v']===void 0x0||_0x4dd90c['v']===null){const _0x54e194=(_0x2f5bbc=_0xc98529['config']['emptyShowAs'])!=null?_0x2f5bbc:_0x4cf0e2[_0x145a86(0x13d)];_0x54e194===_0x4cf0e2[_0x145a86(0x1e3)]?_0x189531=0x0:_0x54e194===_0x4cf0e2[_0x145a86(0x13d)]?_0x189531=_0x145a86(0x192):_0x54e194===_0x4cf0e2['CONNECT_WITH_LINE']&&(_0x189531=_0x145a86(0x1ca));}else{if(_0x4dd90c['t']===_0x199790[_0x145a86(0x1ef)][_0x145a86(0x187)]||_0x4dd90c['t']===_0x199790['CellValueType'][_0x145a86(0x177)]){const _0x2026d1=(_0x413d5f=_0xc98529[_0x145a86(0x1a1)][_0x145a86(0x1b5)])!=null?_0x413d5f:_0x4cf0e2[_0x145a86(0x13d)];_0x2026d1===_0x4cf0e2[_0x145a86(0x1e3)]?_0x189531=0x0:_0x2026d1===_0x4cf0e2[_0x145a86(0x13d)]?_0x189531=_0x145a86(0x192):_0x2026d1===_0x4cf0e2[_0x145a86(0x1dc)]&&(_0x189531=_0x145a86(0x1ca));}else _0x4dd90c['t']===_0x199790[_0x145a86(0x1ef)][_0x145a86(0x159)]?_0x189531=_0x4dd90c['v']?0x1:0x0:_0x4dd90c['t']===_0x199790[_0x145a86(0x1ef)][_0x145a86(0x21e)]?_0x189531=Number(_0x4dd90c['v']):_0x189531=_0x4dd90c['v'];}if(_0x454e99[_0x145a86(0x23d)](_0x189531),typeof _0x189531==_0x145a86(0x1f0)){_0x394eb4=Math['max'](_0x394eb4,_0x189531),_0x35eecf=Math['max'](_0x35eecf,_0x189531),_0x4bba51=Math[_0x145a86(0x17b)](_0x4bba51,_0x189531),_0x505dc0=Math[_0x145a86(0x17b)](_0x505dc0,_0x189531);const _0x26fb5f=typeof _0x454e99[_0x1ab726]==_0x145a86(0x1f0)?Number(_0x454e99[_0x1ab726]):Number[_0x145a86(0x190)];_0x189531>_0x26fb5f&&(_0x1ab726=_0x454e99[_0x145a86(0x183)]-0x1);const _0x353cf3=typeof _0x454e99[_0x4467bb]==_0x145a86(0x1f0)?Number(_0x454e99[_0x4467bb]):Number[_0x145a86(0x241)];_0x189531<_0x353cf3&&(_0x4467bb=_0x454e99[_0x145a86(0x183)]-0x1),_0x189531<0x0&&_0x5ab4b6[_0x145a86(0x23d)](_0x454e99[_0x145a86(0x183)]-0x1);}}_0x147956[_0x145a86(0x142)](_0x2a7261,_0x3edd41,{'groupId':_0x2a65e3,'data':_0x454e99,'max':_0x394eb4,'min':_0x505dc0,'highIndex':_0x1ab726,'lowIndex':_0x4467bb,'negativeIndexes':_0x5ab4b6});}}});let _0x529cfb=_0x35eecf;((_0x472049=_0xc98529[_0x4ad054(0x1a1)][_0x4ad054(0x21a)])==null?void 0x0:_0x472049[_0x4ad054(0x1dd)])===_0x1b45db[_0x4ad054(0x14e)]&&(_0x529cfb=(_0x28e862=(_0x5236af=_0xc98529[_0x4ad054(0x1a1)][_0x4ad054(0x21a)])==null?void 0x0:_0x5236af[_0x4ad054(0x1d0)])!=null?_0x28e862:_0x35eecf);let _0x75df89=_0x4bba51;((_0x468afa=_0xc98529['config'][_0x4ad054(0x16b)])==null?void 0x0:_0x468afa[_0x4ad054(0x1dd)])===_0x1b45db[_0x4ad054(0x14e)]&&(_0x75df89=(_0xb81967=(_0x35e792=_0xc98529[_0x4ad054(0x1a1)][_0x4ad054(0x16b)])==null?void 0x0:_0x35e792['value'])!=null?_0xb81967:_0x4bba51);const _0x2473ee=(_0x40c322=_0xc98529[_0x4ad054(0x1a1)][_0x4ad054(0x1a7)])!=null?_0x40c322:_0x1c80c5[_0x4ad054(0x186)],_0x28225c=(_0x3cda4a=(_0x18c2df=_0xc98529[_0x4ad054(0x1a1)][_0x4ad054(0x173)])!=null?_0x18c2df:(_0x1fbc24=_0xded8bd[_0x2473ee])==null?void 0x0:_0x1fbc24[0x0])!=null?_0x3cda4a:_0xded8bd[_0x4ad054(0x1ad)][0x0],_0x33419a=new _0x199790[(_0x4ad054(0x180))](_0x28225c),_0x1946d8=_0x33419a[_0x4ad054(0x197)](0.2)[_0x4ad054(0x1c3)](),_0x90cda1=_0x33419a['setAlpha'](0.05)[_0x4ad054(0x1c3)]();_0x33605a[_0x2a65e3]={'groupMax':_0x35eecf,'groupMin':_0x4bba51,'showMax':_0x529cfb,'showMin':_0x75df89,'startGradient':_0x1946d8,'endGradient':_0x90cda1},this[_0x4ad054(0x1a8)]['next']({'unitId':_0x5d43b7,'subUnitId':_0xa1bf95,'groupId':_0x2a65e3,'config':_0xc98529,'type':_0x543b23});}[_0x493699(0x1c1)](_0x2df913,_0x4f97be,_0x4b567c,_0x5a86e2){const _0x14c2d4=_0x493699;this[_0x14c2d4(0x22c)](_0x2df913,_0x4f97be)[_0x14c2d4(0x1fa)](_0x4b567c,_0x5a86e2),this[_0x14c2d4(0x216)](_0x2df913,_0x4f97be,_0x4b567c,'add');}[_0x493699(0x21c)](_0x16ef78,_0x2d7e57,_0x31d49f,_0x55d953){const _0x3393b7=_0x493699;var _0x3a268d;const _0x37e25a=(_0x3a268d=this['_sparklineModel']['get'](_0x16ef78))==null?void 0x0:_0x3a268d[_0x3393b7(0x236)](_0x2d7e57);_0x31d49f[_0x3393b7(0x1f7)](_0x355eac=>{const _0x5d5dfd=_0x3393b7;_0x37e25a!=null&&_0x37e25a[_0x5d5dfd(0x20c)](_0x355eac)&&(_0x37e25a[_0x5d5dfd(0x1fa)](_0x355eac,_0x55d953),this[_0x5d5dfd(0x216)](_0x16ef78,_0x2d7e57,_0x355eac));});}[_0x493699(0x210)](_0x33ca0b,_0x36b388,_0x426ede){const _0x4fdb2f=_0x493699;var _0x1bcf64,_0x39164b;const _0x5bf5e3=this[_0x4fdb2f(0x174)]['get'](_0x33ca0b);if(_0x5bf5e3){const _0x4b635c=_0x5bf5e3[_0x4fdb2f(0x236)](_0x36b388);if(_0x4b635c){_0x4b635c[_0x4fdb2f(0x144)](_0x426ede);const _0xb03433=(_0x1bcf64=this['_sparklineAnchorMap'][_0x4fdb2f(0x236)](_0x33ca0b))==null?void 0x0:_0x1bcf64[_0x4fdb2f(0x236)](_0x36b388);(_0x39164b=_0xb03433==null?void 0x0:_0xb03433['matrix'])==null||_0x39164b['forValue']((_0x9e07,_0x5ca32d,_0x249de6)=>{const _0x5d5a47=_0x4fdb2f;(_0x249de6==null?void 0x0:_0x249de6[_0x5d5a47(0x242)])===_0x426ede&&(_0xb03433==null||_0xb03433[_0x5d5a47(0x1da)][_0x5d5a47(0x211)](_0x9e07,_0x5ca32d));}),this['_updateConfig$'][_0x4fdb2f(0x1a4)]({'unitId':_0x33ca0b,'subUnitId':_0x36b388,'groupId':_0x426ede,'type':_0x4fdb2f(0x14a)}),_0x4b635c[_0x4fdb2f(0x213)]===0x0&&_0x5bf5e3['delete'](_0x36b388);}}}[_0x493699(0x1be)](_0x324173,_0x592a0d,_0x1b28db,_0x54359b){const _0x135f5f=_0x493699;var _0x20ca59,_0x4c2915,_0x2d119c,_0x155c43;const _0x2435df=(_0x20ca59=this[_0x135f5f(0x1ec)][_0x135f5f(0x236)](_0x324173))==null?void 0x0:_0x20ca59['get'](_0x592a0d),_0x133bf9=_0x2435df==null?void 0x0:_0x2435df[_0x135f5f(0x1da)][_0x135f5f(0x1b2)](_0x1b28db,_0x54359b);if(_0x133bf9){const {groupId:_0x19b92d}=_0x133bf9,_0x4c0ff6=(_0x4c2915=this['_sparklineModel'][_0x135f5f(0x236)](_0x324173))==null?void 0x0:_0x4c2915[_0x135f5f(0x236)](_0x592a0d);(_0x2d119c=_0x4c0ff6==null?void 0x0:_0x4c0ff6[_0x135f5f(0x236)](_0x19b92d))==null||_0x2d119c[_0x135f5f(0x228)][_0x135f5f(0x211)](_0x1b28db,_0x54359b),(_0x155c43=_0x4c0ff6==null?void 0x0:_0x4c0ff6[_0x135f5f(0x236)](_0x19b92d))!=null&&_0x155c43[_0x135f5f(0x228)][_0x135f5f(0x1f4)]()||_0x4c0ff6==null||_0x4c0ff6[_0x135f5f(0x144)](_0x19b92d),_0x2435df==null||_0x2435df[_0x135f5f(0x1da)][_0x135f5f(0x211)](_0x1b28db,_0x54359b),this[_0x135f5f(0x1a8)]['next']({'unitId':_0x324173,'subUnitId':_0x592a0d,'groupId':_0x19b92d,'type':_0x135f5f(0x14a)});}}[_0x493699(0x1ce)](_0x1dfc38,_0x285608,_0x251c4c){const _0x4f6436=_0x493699;var _0x1ace97,_0x8183d2,_0x1ea4dd,_0x3840a6;const _0xc847c=(_0x1ea4dd=(_0x8183d2=(_0x1ace97=this[_0x4f6436(0x174)][_0x4f6436(0x236)](_0x1dfc38))==null?void 0x0:_0x1ace97[_0x4f6436(0x236)](_0x285608))==null?void 0x0:_0x8183d2[_0x4f6436(0x236)](_0x251c4c))==null?void 0x0:_0x1ea4dd[_0x4f6436(0x228)],_0x361e43=(_0x3840a6=this[_0x4f6436(0x1ec)][_0x4f6436(0x236)](_0x1dfc38))==null?void 0x0:_0x3840a6[_0x4f6436(0x236)](_0x285608);if(_0xc847c&&_0x361e43){const {matrix:_0x49a91d,extra:_0x49b11a}=_0x361e43;_0xc847c[_0x4f6436(0x239)]((_0x598354,_0x36abd4,_0x31fd0c)=>{const _0x505881=_0x4f6436;_0x49a91d[_0x505881(0x211)](_0x598354,_0x36abd4);}),delete _0x49b11a[_0x251c4c];}}[_0x493699(0x1b0)](_0x5155ed,_0x254054){const _0x401d64=_0x493699;var _0xe1e30c;return(_0xe1e30c=this['_sparklineModel']['get'](_0x5155ed))==null?void 0x0:_0xe1e30c[_0x401d64(0x236)](_0x254054);}['getSparklineById'](_0x16cd20,_0x3ddeb1,_0x51ec34){const _0x18a3d7=_0x493699;var _0x104e43,_0x31c2b3;return(_0x31c2b3=(_0x104e43=this[_0x18a3d7(0x174)]['get'](_0x16cd20))==null?void 0x0:_0x104e43['get'](_0x3ddeb1))==null?void 0x0:_0x31c2b3[_0x18a3d7(0x236)](_0x51ec34);}[_0x493699(0x156)](_0x511f13,_0x284d2a,_0x2db6df,_0x5a122e){const _0x3f1c2d=_0x493699;var _0x591808,_0x4d24e0,_0x4b6a6e;return(_0x4b6a6e=(_0x4d24e0=(_0x591808=this[_0x3f1c2d(0x1ec)][_0x3f1c2d(0x236)](_0x511f13))==null?void 0x0:_0x591808[_0x3f1c2d(0x236)](_0x284d2a))==null?void 0x0:_0x4d24e0[_0x3f1c2d(0x1da)][_0x3f1c2d(0x1b2)](_0x2db6df,_0x5a122e))==null?void 0x0:_0x4b6a6e[_0x3f1c2d(0x242)];}[_0x493699(0x1a2)](_0x3caa21,_0x50abe6){const _0x433cae=_0x493699;var _0x425805;const _0x2bde9a=this[_0x433cae(0x1c4)](_0x3caa21,_0x50abe6);_0x2bde9a[_0x433cae(0x1da)][_0x433cae(0x239)]((_0x2e535a,_0x2b12b0)=>{const _0x73ea6d=_0x433cae;_0x2bde9a[_0x73ea6d(0x1da)][_0x73ea6d(0x211)](_0x2e535a,_0x2b12b0);});const _0x1614e8=(_0x425805=this['_sparklineModel'][_0x433cae(0x236)](_0x3caa21))==null?void 0x0:_0x425805['get'](_0x50abe6);if(_0x1614e8){for(const [_0x5b54e9]of _0x1614e8)this[_0x433cae(0x216)](_0x3caa21,_0x50abe6,_0x5b54e9);}}[_0x493699(0x175)](){const _0x366015=_0x493699;return{'sparklineModel':this[_0x366015(0x174)],'sparklineAnchorMap':this['_sparklineAnchorMap']};}[_0x493699(0x13f)](_0x221269){const _0x38189e=_0x493699,_0x18d7a5={};if(this['_sparklineModel']['has'](_0x221269)){_0x18d7a5[_0x221269]={};const _0x53c3ae=this['_sparklineModel']['get'](_0x221269);_0x53c3ae!=null&&_0x53c3ae[_0x38189e(0x213)]&&Array[_0x38189e(0x1a9)](_0x53c3ae[_0x38189e(0x1a0)]())[_0x38189e(0x1f7)](_0x304871=>{const _0x55c1a1=_0x38189e;_0x18d7a5[_0x221269][_0x304871]={};const _0x1f215f=_0x53c3ae[_0x55c1a1(0x236)](_0x304871);_0x1f215f!=null&&_0x1f215f[_0x55c1a1(0x213)]&&Array['from'](_0x1f215f[_0x55c1a1(0x1a0)]())['forEach'](_0xaee0f7=>{const _0x649319=_0x55c1a1,_0x15156c=_0x1f215f[_0x649319(0x236)](_0xaee0f7);_0x15156c&&(_0x18d7a5[_0x221269][_0x304871][_0xaee0f7]={'config':_0x15156c[_0x649319(0x1a1)],'sparklines':_0x15156c['sparklines']['getMatrix']()});});});}return _0x18d7a5;}[_0x493699(0x1d2)](_0x81244e){const _0x1443ce=_0x493699;if(!_0x81244e)return;Object[_0x1443ce(0x1a0)](_0x81244e)['forEach'](_0x5dd906=>{const _0x3f2d29=_0x1443ce,_0x3dc735=_0x81244e[_0x5dd906];_0x3dc735&&Object[_0x3f2d29(0x1a0)](_0x3dc735)[_0x3f2d29(0x1f7)](_0x216001=>{const _0x202b33=_0x3f2d29,_0x223048=_0x3dc735[_0x216001];_0x223048&&Object[_0x202b33(0x1a0)](_0x223048)[_0x202b33(0x1f7)](_0x2acb53=>{const _0xa4af80=_0x202b33,_0x373071=_0x223048[_0x2acb53];if(_0x373071){const _0x218ab3={'config':_0x373071[_0xa4af80(0x1a1)],'sparklines':new _0x199790[(_0xa4af80(0x13c))](_0x373071['sparklines'])};this[_0xa4af80(0x1c1)](_0x5dd906,_0x216001,_0x2acb53,_0x218ab3);}});});});}[_0x493699(0x17d)](_0x54cc35){const _0x39b2bc=_0x493699,_0x4a46ee=this[_0x39b2bc(0x174)][_0x39b2bc(0x236)](_0x54cc35);if(_0x4a46ee){for(const [_0xa830d1]of _0x4a46ee){const _0x39fce5=_0x4a46ee[_0x39b2bc(0x236)](_0xa830d1);if(_0x39fce5){for(const [_0x1852b6]of _0x39fce5)this['clearSparklineCache'](_0x54cc35,_0xa830d1,_0x1852b6);}}this['_sparklineModel']['delete'](_0x54cc35);}}},_0xd07b84[_0x493699(0x193)]=_0x2250d3([_0x159282(0x0,_0x199790[_0x493699(0x1e0)](_0x199790['IUniverInstanceService']))],_0xd07b84[_0x493699(0x193)]);const _0x5acc40={'id':_0x493699(0x17a),'type':_0x199790[_0x493699(0x1b3)][_0x493699(0x1ac)],'handler':(_0x2fae9f,_0x405a7a)=>{const _0x162ede=_0x493699;if(!_0x405a7a)return!0x1;const {sparklineConfigMap:_0x16460f,unitId:_0x22ac1a,subUnitId:_0x3c014a}=_0x405a7a,_0x10f9e6=_0x2fae9f[_0x162ede(0x236)](_0xd07b84[_0x162ede(0x193)]);return Object[_0x162ede(0x1fc)](_0x16460f)['forEach'](([_0x156956,_0x3a2131])=>{const _0x3b111a=_0x162ede,_0x337ec3={'config':_0x3a2131['config'],'sparklines':new _0x199790[(_0x3b111a(0x13c))](_0x3a2131[_0x3b111a(0x228)])};_0x10f9e6[_0x3b111a(0x1c1)](_0x22ac1a,_0x3c014a,_0x156956,_0x337ec3);}),!0x0;}},_0x5800d3={'id':_0x493699(0x14b),'type':_0x199790[_0x493699(0x1b3)][_0x493699(0x1ac)],'handler':(_0x4ec906,_0x31c13c)=>{const _0x166ab5=_0x493699;if(!_0x31c13c)return!0x1;const {unitId:_0x32ba7,subUnitId:_0x145e06,ranges:_0x4084d0,isSingle:_0x329a35,groupIds:_0x3c95c8}=_0x31c13c,_0x557a1e=_0x4ec906[_0x166ab5(0x236)](_0xd07b84[_0x166ab5(0x193)]);return _0x3c95c8?(_0x3c95c8[_0x166ab5(0x1f7)](_0x407458=>{_0x557a1e['removeSparkline'](_0x32ba7,_0x145e06,_0x407458);}),!0x0):_0x4084d0?(_0x4084d0['forEach'](_0x163c94=>{const _0x549734=_0x166ab5;_0x199790[_0x549734(0x18d)]['foreach'](_0x163c94,(_0x1f01ee,_0xf1c827)=>{const _0x42944d=_0x549734,_0x42999a=_0x557a1e[_0x42944d(0x156)](_0x32ba7,_0x145e06,_0x1f01ee,_0xf1c827);_0x42999a&&(_0x329a35?_0x557a1e[_0x42944d(0x1be)](_0x32ba7,_0x145e06,_0x1f01ee,_0xf1c827):_0x557a1e[_0x42944d(0x210)](_0x32ba7,_0x145e06,_0x42999a));});}),!0x0):!0x1;}},_0x4c9288={'id':'sheet.command.add-sparkline','type':_0x199790[_0x493699(0x1b3)][_0x493699(0x147)],'handler':(_0x2d75da,_0x465499)=>{const _0x237a80=_0x493699;if(!_0x465499)return!0x1;const {sourceRanges:_0x3956d2,targetRanges:_0x42005c,config:_0x14bf52}=_0x465499,_0x46a46a=_0x2d75da[_0x237a80(0x236)](_0x199790['IUndoRedoService']),_0x57a8bb='g_'+_0x199790[_0x237a80(0x15f)](0x6),_0x4fc6b2=_0xf6b471(_0x3956d2,_0x42005c),_0x596d1a={'config':_0x14bf52!=null?_0x14bf52:{},'sparklines':_0x4fc6b2[_0x237a80(0x153)]()},_0x3b3afd=_0x2d75da[_0x237a80(0x236)](_0x199790['IUniverInstanceService']),_0x4a7291=_0x2d75da['get'](_0xd07b84[_0x237a80(0x193)]),_0x225f10=_0x41358c[_0x237a80(0x225)](_0x3b3afd);if(!_0x225f10)return!0x1;const {unitId:_0x5963dc,subUnitId:_0x3471cd}=_0x225f10,_0x1669e7=_0x2d75da['get'](_0x199790[_0x237a80(0x218)]),_0x534a35=[],_0x1e5537=[],_0x4d45d3={},_0xf369c2={},_0x635741=new Set([_0x57a8bb]);_0x4fc6b2[_0x237a80(0x239)]((_0x50f7ea,_0x5d0d15,_0x3710de)=>{const _0x4d532a=_0x237a80,_0x3bb1b=_0x4a7291[_0x4d532a(0x156)](_0x5963dc,_0x3471cd,_0x50f7ea,_0x5d0d15);if(_0x3bb1b){const _0x128179=_0x4a7291[_0x4d532a(0x1c7)](_0x5963dc,_0x3471cd,_0x3bb1b);if(_0x128179){_0x635741[_0x4d532a(0x23b)](_0x3bb1b);let _0x4cfbc1=_0x4d45d3[_0x3bb1b],_0x279610=_0xf369c2[_0x3bb1b];_0x279610||(_0x279610={'config':_0x199790[_0x4d532a(0x17f)]['deepClone'](_0x128179[_0x4d532a(0x1a1)]),'sparklines':new _0x199790[(_0x4d532a(0x13c))](_0x128179[_0x4d532a(0x228)][_0x4d532a(0x158)]())},_0xf369c2[_0x3bb1b]=_0x279610),_0x4cfbc1||(_0x4cfbc1={'config':_0x199790[_0x4d532a(0x17f)][_0x4d532a(0x1d7)](_0x128179['config']),'sparklines':_0x128179['sparklines']['clone']()},_0x4d45d3[_0x3bb1b]=_0x4cfbc1),_0x279610[_0x4d532a(0x228)][_0x4d532a(0x211)](_0x50f7ea,_0x5d0d15);}}});const _0x4c4b90={};return Object[_0x237a80(0x1fc)](_0xf369c2)['forEach'](([_0x4c010c,_0xbe81a2])=>{const _0x11abff=_0x237a80;_0xbe81a2[_0x11abff(0x228)][_0x11abff(0x220)]()&&(_0x4c4b90[_0x4c010c]={'config':_0xbe81a2[_0x11abff(0x1a1)],'sparklines':_0xbe81a2[_0x11abff(0x228)][_0x11abff(0x158)]()});}),_0x4c4b90[_0x57a8bb]=_0x596d1a,_0x534a35[_0x237a80(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x5963dc,'subUnitId':_0x3471cd,'groupIds':Array[_0x237a80(0x1a9)](_0x635741),'isSingle':!0x1}}),_0x635741[_0x237a80(0x213)]>0x1&&(_0x1e5537[_0x237a80(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x5963dc,'subUnitId':_0x3471cd,'groupIds':Array['from'](_0x635741),'isSingle':!0x1}}),_0x534a35[_0x237a80(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x5963dc,'subUnitId':_0x3471cd,'sparklineConfigMap':_0x4d45d3}})),_0x1e5537[_0x237a80(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x5963dc,'subUnitId':_0x3471cd,'sparklineConfigMap':_0x4c4b90}}),_0x199790[_0x237a80(0x1d4)](_0x1e5537,_0x1669e7),_0x46a46a[_0x237a80(0x17c)]({'unitID':_0x5963dc,'undoMutations':_0x534a35,'redoMutations':_0x1e5537}),!0x0;}},_0x819cf9={'id':_0x493699(0x1b8),'type':_0x199790[_0x493699(0x1b3)]['COMMAND'],'handler':(_0x5a5536,_0x42f255)=>{const _0x4e0598=_0x493699;var _0x1a0e15;const {isSingle:_0x12ac17=!0x0}=_0x42f255||{},_0x120e5b=_0x5a5536['get'](_0x199790['ICommandService']),_0x3f5af0=_0x5a5536[_0x4e0598(0x236)](_0x199790[_0x4e0598(0x138)]),_0x2d6afe=_0x5a5536[_0x4e0598(0x236)](_0xd07b84['SparklineDataSourceModel']),_0x4b88b4=_0x5a5536[_0x4e0598(0x236)](_0x199790[_0x4e0598(0x195)]),_0x1c560d=_0x41358c[_0x4e0598(0x225)](_0x3f5af0);if(!_0x1c560d)return!0x1;const _0x35a98f=_0x5a5536[_0x4e0598(0x236)](_0x41358c[_0x4e0598(0x1d5)]),_0x3b914f=(_0x1a0e15=_0x42f255==null?void 0x0:_0x42f255[_0x4e0598(0x199)])!=null?_0x1a0e15:_0x35a98f[_0x4e0598(0x19a)]()['map'](_0x11abba=>_0x11abba['range']),{unitId:_0x20226f,subUnitId:_0x544cba}=_0x1c560d,_0x3610d2=[],_0x5a194a=[];_0x3610d2[_0x4e0598(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x20226f,'subUnitId':_0x544cba,'ranges':_0x3b914f,'isSingle':_0x12ac17}});const _0x493c17=[],_0x1ae8b6={};return _0x3b914f[_0x4e0598(0x1f7)](_0x484783=>{const _0x3b0b22=_0x4e0598;_0x199790[_0x3b0b22(0x18d)]['foreach'](_0x484783,(_0x1dc654,_0x1b7b26)=>{const _0x1d288b=_0x3b0b22,_0x413fc1=_0x2d6afe[_0x1d288b(0x156)](_0x20226f,_0x544cba,_0x1dc654,_0x1b7b26);if(_0x413fc1){const _0x27e217=_0x2d6afe['getSparklineById'](_0x20226f,_0x544cba,_0x413fc1);_0x27e217&&(_0x493c17['push'](_0x413fc1),_0x1ae8b6[_0x413fc1]={'config':_0x199790[_0x1d288b(0x17f)][_0x1d288b(0x1d7)](_0x27e217['config']),'sparklines':_0x199790[_0x1d288b(0x17f)][_0x1d288b(0x1d7)](_0x27e217['sparklines']['clone']())});}});}),_0x5a194a[_0x4e0598(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x20226f,'subUnitId':_0x544cba,'groupIds':_0x493c17,'isSingle':!0x1}}),_0x5a194a[_0x4e0598(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x20226f,'subUnitId':_0x544cba,'sparklineConfigMap':_0x1ae8b6}}),_0x199790['sequenceExecute'](_0x3610d2,_0x120e5b),_0x4b88b4[_0x4e0598(0x17c)]({'unitID':_0x20226f,'undoMutations':_0x5a194a,'redoMutations':_0x3610d2}),!0x0;}},_0x2ddf23={'id':_0x493699(0x205),'type':_0x199790[_0x493699(0x1b3)][_0x493699(0x1ac)],'handler':(_0x373f75,_0x201ddc)=>{const _0x575106=_0x493699;if(!_0x201ddc)return!0x1;const {unitId:_0xd7bd12,subUnitId:_0x15d646,groupIds:_0xd7b103,config:_0xd7e02}=_0x201ddc,_0x1e39ba=_0x373f75['get'](_0xd07b84[_0x575106(0x193)]);return _0xd7b103['forEach'](_0x23e65e=>{const _0x1a2401=_0x575106,_0x4aa272=_0x1e39ba[_0x1a2401(0x1c7)](_0xd7bd12,_0x15d646,_0x23e65e);if(_0x4aa272){const _0x447f11={'config':Object[_0x1a2401(0x22f)]({},_0x4aa272['config'],_0xd7e02['config']),'sparklines':new _0x199790[(_0x1a2401(0x13c))](_0x4aa272[_0x1a2401(0x228)][_0x1a2401(0x158)]())};_0x1e39ba[_0x1a2401(0x21c)](_0xd7bd12,_0x15d646,[_0x23e65e],_0x447f11);}}),!0x0;}},_0x58a5e0={'id':_0x493699(0x143),'type':_0x199790['CommandType']['COMMAND'],'handler':(_0x47e836,_0x593ecd)=>{const _0x2c2926=_0x493699;var _0x89a7ff,_0x1f70f1,_0x132cd3,_0x4b34b3;if(!_0x593ecd)return!0x1;const _0x57afaa=_0x47e836[_0x2c2926(0x236)](_0x199790[_0x2c2926(0x218)]),_0x3c7fd5=_0x47e836[_0x2c2926(0x236)](_0x41358c[_0x2c2926(0x1d5)]),_0x476037=_0x47e836['get'](_0xd07b84[_0x2c2926(0x193)]),_0x344ede=_0x47e836[_0x2c2926(0x236)](_0x199790[_0x2c2926(0x138)]),_0x5eee3c=_0x47e836[_0x2c2926(0x236)](_0x199790['IUndoRedoService']),_0x30e89b=_0x41358c['getSheetCommandTarget'](_0x344ede);if(!_0x30e89b)return!0x1;const {unitId:_0x2ee288,subUnitId:_0x320210}=_0x30e89b,_0x422dcd=(_0x89a7ff=_0x593ecd==null?void 0x0:_0x593ecd[_0x2c2926(0x199)])!=null?_0x89a7ff:_0x3c7fd5[_0x2c2926(0x19a)]()[_0x2c2926(0x217)](_0x21bf5d=>_0x21bf5d['range']),_0x554064=(_0x1f70f1=_0x476037[_0x2c2926(0x175)]()[_0x2c2926(0x1ea)][_0x2c2926(0x236)](_0x2ee288))==null?void 0x0:_0x1f70f1[_0x2c2926(0x236)](_0x320210),{isChangeDataSource:_0x1e8a71,config:_0x102530,combine:_0x5e9d68,unCombine:_0x301bd7}=_0x593ecd;if(_0x5e9d68){const _0xc925f7=[],_0x421bc1=[];_0xc925f7['push']({'id':_0x5800d3['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'ranges':_0x422dcd,'isSingle':!0x0}});const _0x23a763='g_'+_0x199790[_0x2c2926(0x15f)](0x6),_0x2f2d94=new _0x199790[(_0x2c2926(0x13c))](),_0x2130e3=(_0x132cd3=_0x476037[_0x2c2926(0x175)]()[_0x2c2926(0x161)][_0x2c2926(0x236)](_0x2ee288))==null?void 0x0:_0x132cd3[_0x2c2926(0x236)](_0x320210),_0x1a5359=new Set([_0x23a763]),_0x1bd5bf={};return _0x422dcd[_0x2c2926(0x1f7)](_0x35f90e=>{const _0x96b455=_0x2c2926;var _0x48afb8,_0x5599ea;const {startRow:_0x2f16e0,endRow:_0x45189a,startColumn:_0x1088c3,endColumn:_0x4d3f8d}=_0x35f90e;for(let _0x4659d2=_0x2f16e0;_0x4659d2<=_0x45189a;_0x4659d2++)for(let _0x5310be=_0x1088c3;_0x5310be<=_0x4d3f8d;_0x5310be++){const _0x3aa8f8=(_0x48afb8=_0x554064==null?void 0x0:_0x554064['matrix'][_0x96b455(0x1b2)](_0x4659d2,_0x5310be))==null?void 0x0:_0x48afb8[_0x96b455(0x242)];if(_0x3aa8f8){_0x1a5359[_0x96b455(0x23b)](_0x3aa8f8);const _0x29b368=_0x476037[_0x96b455(0x1c7)](_0x2ee288,_0x320210,_0x3aa8f8);_0x29b368&&(_0x1bd5bf[_0x3aa8f8]={'config':_0x199790[_0x96b455(0x17f)][_0x96b455(0x1d7)](_0x29b368[_0x96b455(0x1a1)]),'sparklines':_0x199790[_0x96b455(0x17f)]['deepClone'](_0x29b368[_0x96b455(0x228)]['clone']())});const _0x3dd0bd=(_0x5599ea=_0x2130e3==null?void 0x0:_0x2130e3[_0x96b455(0x236)](_0x3aa8f8))==null?void 0x0:_0x5599ea[_0x96b455(0x228)][_0x96b455(0x1b2)](_0x4659d2,_0x5310be);_0x3dd0bd&&_0x2f2d94[_0x96b455(0x142)](_0x4659d2,_0x5310be,_0x3dd0bd);}}}),_0xc925f7[_0x2c2926(0x23d)]({'id':_0x5acc40['id'],'params':{'sparklineConfigMap':{[_0x23a763]:{'config':_0x199790[_0x2c2926(0x17f)][_0x2c2926(0x1d7)](_0x102530[_0x2c2926(0x1a1)]),'sparklines':_0x2f2d94[_0x2c2926(0x153)]()}},'unitId':_0x2ee288,'subUnitId':_0x320210}}),_0x421bc1[_0x2c2926(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'isSingle':!0x1,'groupIds':Array[_0x2c2926(0x1a9)](_0x1a5359)}}),_0x421bc1[_0x2c2926(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'sparklineConfigMap':_0x1bd5bf}}),_0x199790['sequenceExecute'](_0xc925f7,_0x57afaa),_0x5eee3c['pushUndoRedo']({'unitID':_0x2ee288,'undoMutations':_0x421bc1,'redoMutations':_0xc925f7}),!0x0;}else{if(_0x301bd7){const _0x5daf35=[],_0x17af65=[];_0x5daf35[_0x2c2926(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'ranges':_0x422dcd,'isSingle':!0x0}});const _0x3d5c1d=(_0x4b34b3=_0x476037[_0x2c2926(0x175)]()['sparklineModel']['get'](_0x2ee288))==null?void 0x0:_0x4b34b3[_0x2c2926(0x236)](_0x320210),_0xf3aebe={},_0x3743ba=new Set(),_0x3e7705={};return _0x422dcd[_0x2c2926(0x1f7)](_0x23c1b2=>{const _0x46ec0d=_0x2c2926;var _0xdac351,_0x88ae25;const {startRow:_0xedd9af,endRow:_0x448d54,startColumn:_0x2b3b48,endColumn:_0x1e436b}=_0x23c1b2;for(let _0x40e619=_0xedd9af;_0x40e619<=_0x448d54;_0x40e619++)for(let _0x34f34e=_0x2b3b48;_0x34f34e<=_0x1e436b;_0x34f34e++){const _0x379611=(_0xdac351=_0x554064==null?void 0x0:_0x554064['matrix'][_0x46ec0d(0x1b2)](_0x40e619,_0x34f34e))==null?void 0x0:_0xdac351[_0x46ec0d(0x242)];if(_0x379611){const _0x457a7b=new _0x199790[(_0x46ec0d(0x13c))](),_0x4f8e51='g_'+_0x199790[_0x46ec0d(0x15f)](0x6);_0x3743ba[_0x46ec0d(0x23b)](_0x379611),_0x3743ba[_0x46ec0d(0x23b)](_0x4f8e51);const _0x133d7b=_0x476037[_0x46ec0d(0x1c7)](_0x2ee288,_0x320210,_0x379611);_0x133d7b&&(_0x3e7705[_0x379611]={'config':_0x199790[_0x46ec0d(0x17f)][_0x46ec0d(0x1d7)](_0x133d7b[_0x46ec0d(0x1a1)]),'sparklines':_0x199790[_0x46ec0d(0x17f)]['deepClone'](_0x133d7b[_0x46ec0d(0x228)][_0x46ec0d(0x158)]())});const _0x5eca52=(_0x88ae25=_0x3d5c1d==null?void 0x0:_0x3d5c1d[_0x46ec0d(0x236)](_0x379611))==null?void 0x0:_0x88ae25['sparklines'][_0x46ec0d(0x1b2)](_0x40e619,_0x34f34e);_0x5eca52&&_0x457a7b[_0x46ec0d(0x142)](_0x40e619,_0x34f34e,_0x5eca52),_0xf3aebe[_0x4f8e51]={'sparklines':_0x457a7b[_0x46ec0d(0x153)](),'config':_0x199790[_0x46ec0d(0x17f)][_0x46ec0d(0x1d7)](_0x102530[_0x46ec0d(0x1a1)])};}}}),_0x5daf35[_0x2c2926(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'sparklineConfigMap':_0xf3aebe}}),_0x17af65[_0x2c2926(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'isSingle':!0x1,'groupIds':Array[_0x2c2926(0x1a9)](_0x3743ba)}}),_0x17af65[_0x2c2926(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'sparklineConfigMap':_0x3e7705}}),_0x199790[_0x2c2926(0x1d4)](_0x5daf35,_0x57afaa),_0x5eee3c[_0x2c2926(0x17c)]({'unitID':_0x2ee288,'undoMutations':_0x17af65,'redoMutations':_0x5daf35}),!0x0;}}if(_0x1e8a71){const _0x44cc03=_0x593ecd[_0x2c2926(0x1e2)];if(!_0x44cc03)return!0x1;const {groupId:_0xfb84a3,sourceRanges:_0x5da4cb,targetRanges:_0x99c0a0,resetType:_0x5c1469,primary:_0x54264b}=_0x44cc03,_0x2541b4=[],_0x2107c0=[];_0x2541b4[_0x2c2926(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'ranges':_0x422dcd,'isSingle':!0x1,'groupIds':[_0xfb84a3]}}),_0x2107c0['push']({'id':_0x5800d3['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'ranges':_0x422dcd,'isSingle':!0x1,'groupIds':[_0xfb84a3]}});let _0x322a84;_0x5c1469===_0x2c2926(0x22d)?(_0x322a84=new _0x199790[(_0x2c2926(0x13c))](_0x102530[_0x2c2926(0x228)][_0x2c2926(0x158)]()),_0x322a84[_0x2c2926(0x211)](_0x54264b[_0x2c2926(0x1aa)],_0x54264b[_0x2c2926(0x19b)]),_0x322a84[_0x2c2926(0x142)](_0x99c0a0[0x0]['startRow'],_0x99c0a0[0x0][_0x2c2926(0x1d9)],_0x5da4cb[0x0])):_0x322a84=_0xf6b471(_0x5da4cb,_0x99c0a0);const _0x3f5a1f={'config':_0x199790[_0x2c2926(0x17f)][_0x2c2926(0x1d7)](_0x102530[_0x2c2926(0x1a1)]),'sparklines':_0x322a84[_0x2c2926(0x153)]()},_0x5e885a={'config':_0x199790[_0x2c2926(0x17f)]['deepClone'](_0x102530[_0x2c2926(0x1a1)]),'sparklines':_0x199790[_0x2c2926(0x17f)][_0x2c2926(0x1d7)](_0x102530[_0x2c2926(0x228)]['clone']())};_0x2541b4[_0x2c2926(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'sparklineConfigMap':{[_0xfb84a3]:_0x3f5a1f}}}),_0x2107c0[_0x2c2926(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'sparklineConfigMap':{[_0xfb84a3]:_0x5e885a}}}),_0x199790[_0x2c2926(0x1d4)](_0x2541b4,_0x57afaa),_0x5eee3c['pushUndoRedo']({'unitID':_0x2ee288,'undoMutations':_0x2107c0,'redoMutations':_0x2541b4});}else{const _0x174907=[],_0x384460=[],_0x166eb5=new Set(),_0x1438b3={};_0x422dcd[_0x2c2926(0x1f7)](_0x1d3301=>{const _0x5013f0=_0x2c2926;var _0x52ab0f;const {startRow:_0x315875,endRow:_0x14b407,startColumn:_0x191944,endColumn:_0x478c9d}=_0x1d3301;for(let _0x102b65=_0x315875;_0x102b65<=_0x14b407;_0x102b65++)for(let _0xf34214=_0x191944;_0xf34214<=_0x478c9d;_0xf34214++){const _0x74cd50=(_0x52ab0f=_0x554064==null?void 0x0:_0x554064[_0x5013f0(0x1da)][_0x5013f0(0x1b2)](_0x102b65,_0xf34214))==null?void 0x0:_0x52ab0f[_0x5013f0(0x242)];if(_0x74cd50){_0x166eb5[_0x5013f0(0x23b)](_0x74cd50);const _0x542483=_0x476037[_0x5013f0(0x1c7)](_0x2ee288,_0x320210,_0x74cd50);_0x542483&&(_0x1438b3[_0x74cd50]={'config':_0x199790[_0x5013f0(0x17f)][_0x5013f0(0x1d7)](_0x542483[_0x5013f0(0x1a1)]),'sparklines':_0x199790['Tools']['deepClone'](_0x542483[_0x5013f0(0x228)]['clone']())});}}}),_0x384460[_0x2c2926(0x23d)]({'id':_0x2ddf23['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'groupIds':Array['from'](_0x166eb5),'config':{'config':_0x199790[_0x2c2926(0x17f)][_0x2c2926(0x1d7)](_0x102530[_0x2c2926(0x1a1)]),'sparklines':_0x102530[_0x2c2926(0x228)][_0x2c2926(0x153)]()}}}),_0x174907[_0x2c2926(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'isSingle':!0x1,'groupIds':Array[_0x2c2926(0x1a9)](_0x166eb5)}}),_0x174907[_0x2c2926(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x2ee288,'subUnitId':_0x320210,'sparklineConfigMap':_0x1438b3}}),_0x199790[_0x2c2926(0x1d4)](_0x384460,_0x57afaa),_0x5eee3c['pushUndoRedo']({'unitID':_0x2ee288,'undoMutations':_0x174907,'redoMutations':_0x384460});}return!0x0;}};var _0x484b75=Object[_0x493699(0x1bd)],_0x18c234=(_0xef4690,_0x18d6ff,_0x57c3cb,_0x52daac)=>{const _0x59bdde=_0x493699;for(var _0x1abea8=_0x52daac>0x1?void 0x0:_0x52daac?_0x484b75(_0x18d6ff,_0x57c3cb):_0x18d6ff,_0x4b2bb5=_0xef4690[_0x59bdde(0x183)]-0x1,_0x3b5391;_0x4b2bb5>=0x0;_0x4b2bb5--)(_0x3b5391=_0xef4690[_0x4b2bb5])&&(_0x1abea8=_0x3b5391(_0x1abea8)||_0x1abea8);return _0x1abea8;},_0x3a2617=(_0x45b5b0,_0x278743)=>(_0x2c22fd,_0x2081a4)=>_0x278743(_0x2c22fd,_0x2081a4,_0x45b5b0);let _0x5debfb=class extends _0x199790[_0x493699(0x19d)]{constructor(_0x1a8343,_0x1c88d2,_0x1511d2,_0x3e7789){const _0x432bad=_0x493699;super(),this['_sparklineDataSourceModel']=_0x1a8343,this['_sheetInterceptorService']=_0x1c88d2,this['_univerInstanceService']=_0x1511d2,this[_0x432bad(0x1f6)]=_0x3e7789,this[_0x432bad(0x219)]();}[_0x493699(0x219)](){const _0x23df78=_0x493699;this[_0x23df78(0x203)](this[_0x23df78(0x154)][_0x23df78(0x1c0)]({'getMutations':_0x44d561=>{const _0x294a59=_0x23df78,_0xf8a3e=[],_0x1b0383=[];if(_0x44d561['id']===_0x41358c[_0x294a59(0x1fd)]['id']){const _0x5f395f=_0x41358c['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0x5f395f)return{'redos':_0xf8a3e,'undos':_0x1b0383};const {unitId:_0xb3a9,subUnitId:_0x1f8011,worksheet:_0x46d8a7}=_0x5f395f,_0x32d570=this['_sheetSelectionService']['getCurrentSelections']()[_0x294a59(0x217)](_0x19acbd=>_0x19acbd[_0x294a59(0x166)]),_0x1af29f=new Set(),_0xdc692a={},_0x18f561={};_0x32d570[_0x294a59(0x1f7)](_0x203935=>{const _0x507972=_0x294a59;_0x199790['Range'][_0x507972(0x18e)](_0x203935,(_0x34f922,_0x2ed286)=>{const _0x2d565c=_0x507972,_0x127a7b=this[_0x2d565c(0x1fe)][_0x2d565c(0x156)](_0xb3a9,_0x1f8011,_0x34f922,_0x2ed286);if(_0x127a7b&&!_0x1af29f[_0x2d565c(0x20c)](_0x127a7b)){const _0x4bf8e2=this[_0x2d565c(0x1fe)][_0x2d565c(0x1c7)](_0xb3a9,_0x1f8011,_0x127a7b);_0x4bf8e2&&(_0x1af29f[_0x2d565c(0x23b)](_0x127a7b),_0xdc692a[_0x127a7b]={'config':_0x199790['Tools'][_0x2d565c(0x1d7)](_0x4bf8e2[_0x2d565c(0x1a1)]),'sparklines':_0x199790['Tools'][_0x2d565c(0x1d7)](_0x4bf8e2[_0x2d565c(0x228)][_0x2d565c(0x158)]())},_0x18f561[_0x127a7b]={'config':_0x199790['Tools'][_0x2d565c(0x1d7)](_0x4bf8e2['config']),'sparklines':_0x199790['Tools'][_0x2d565c(0x1d7)](_0x4bf8e2[_0x2d565c(0x228)][_0x2d565c(0x158)]())});}});}),Object['values'](_0x18f561)[_0x294a59(0x1f7)](_0x115a9c=>{const _0x4bbbed=_0x294a59,_0x3bfaf9=_0x115a9c[_0x4bbbed(0x228)];new _0x199790[(_0x4bbbed(0x13c))](_0x3bfaf9)[_0x4bbbed(0x239)]((_0x563b54,_0x531fa1,_0x1322c5)=>{const _0x5b9477=_0x4bbbed;_0x32d570[_0x5b9477(0x168)](_0x2f182d=>_0x199790[_0x5b9477(0x1f3)][_0x5b9477(0x182)](_0x2f182d,_0x199790[_0x5b9477(0x152)](_0x563b54,_0x531fa1)))&&delete _0x3bfaf9[_0x563b54][_0x531fa1];});}),_0xf8a3e[_0x294a59(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0xb3a9,'subUnitId':_0x1f8011,'groupIds':Array[_0x294a59(0x1a9)](_0x1af29f),'isSingle':!0x1}}),_0xf8a3e[_0x294a59(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0xb3a9,'subUnitId':_0x1f8011,'sparklineConfigMap':_0x18f561}}),_0x1b0383[_0x294a59(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0xb3a9,'subUnitId':_0x1f8011,'groupIds':Array[_0x294a59(0x1a9)](_0x1af29f),'isSingle':!0x1}}),_0x1b0383['push']({'id':_0x5acc40['id'],'params':{'unitId':_0xb3a9,'subUnitId':_0x1f8011,'sparklineConfigMap':_0xdc692a}});}return{'redos':_0xf8a3e,'undos':_0x1b0383};}}));}};_0x5debfb=_0x18c234([_0x3a2617(0x0,_0x199790[_0x493699(0x1e0)](_0xd07b84[_0x493699(0x193)])),_0x3a2617(0x1,_0x199790['Inject'](_0x41358c[_0x493699(0x1a6)])),_0x3a2617(0x2,_0x199790['Inject'](_0x199790['IUniverInstanceService'])),_0x3a2617(0x3,_0x199790[_0x493699(0x1e0)](_0x41358c[_0x493699(0x1d5)]))],_0x5debfb);var _0x49ecdb=Object[_0x493699(0x1bd)],_0x2c9c30=(_0x3ae0e1,_0x479c3d,_0x5d5b95,_0x2dfe8f)=>{const _0x146006=_0x493699;for(var _0x180031=_0x2dfe8f>0x1?void 0x0:_0x2dfe8f?_0x49ecdb(_0x479c3d,_0x5d5b95):_0x479c3d,_0x4b9747=_0x3ae0e1[_0x146006(0x183)]-0x1,_0x3b9247;_0x4b9747>=0x0;_0x4b9747--)(_0x3b9247=_0x3ae0e1[_0x4b9747])&&(_0x180031=_0x3b9247(_0x180031)||_0x180031);return _0x180031;},_0x43ba63=(_0x1b2ac6,_0x1c4948)=>(_0x4dacde,_0x5d07cf)=>_0x1c4948(_0x4dacde,_0x5d07cf,_0x1b2ac6);let _0x44f8ab=class extends _0x199790[_0x493699(0x19d)]{constructor(_0x5903e9,_0x672715,_0x5d3a72){const _0x59e3f3=_0x493699;super(),this[_0x59e3f3(0x1e8)]=_0x5903e9,this['_sparklineDataSourceModel']=_0x672715,this[_0x59e3f3(0x1de)]=_0x5d3a72,this[_0x59e3f3(0x15c)](),this[_0x59e3f3(0x20d)]();}[_0x493699(0x15c)](){const _0x23b714=_0x493699;this[_0x23b714(0x203)](this[_0x23b714(0x1e8)]['onCommandExecuted'](_0x4a1164=>{const _0x48e9b8=_0x23b714;if(_0x4a1164['id']===_0x41358c[_0x48e9b8(0x146)]['id']){const _0xd44612=_0x4a1164[_0x48e9b8(0x1ff)],{cellValue:_0x11c7c5,unitId:_0x40f024,subUnitId:_0x38ee20}=_0xd44612,_0x26b393=new _0x199790[(_0x48e9b8(0x13c))](_0x11c7c5),_0x1dbea5=new Set(),_0x185f84=this[_0x48e9b8(0x1fe)][_0x48e9b8(0x1b0)](_0x40f024,_0x38ee20);if(!_0x185f84)return;const _0x1d7d7e=Array[_0x48e9b8(0x1a9)](_0x185f84);_0x26b393[_0x48e9b8(0x239)]((_0x5280b1,_0x4f489e,_0x3d57df)=>{const _0x5bebfa=_0x48e9b8,_0x2d030b=_0x199790['cellToRange'](_0x5280b1,_0x4f489e);for(let _0x3fa7c5=0x0;_0x3fa7c5<_0x1d7d7e['length'];_0x3fa7c5++){const [_0x1305c6,_0x4ceba2]=_0x1d7d7e[_0x3fa7c5],_0x1301e1=_0x1dbea5[_0x5bebfa(0x20c)](_0x1305c6);_0x1301e1||_0x4ceba2['sparklines'][_0x5bebfa(0x239)]((_0x3655be,_0x1f5f80,_0x7e9c32)=>{const _0x4fdbf0=_0x5bebfa,_0x4397bc=_0x7e9c32;if(_0x4397bc&&!_0x1301e1&&_0x199790[_0x4fdbf0(0x1f3)][_0x4fdbf0(0x182)](_0x2d030b,_0x4397bc))return _0x1dbea5[_0x4fdbf0(0x23b)](_0x1305c6),!0x0;});}}),_0x1dbea5['forEach'](_0xea2b38=>{const _0x590a26=_0x48e9b8;this[_0x590a26(0x1fe)][_0x590a26(0x1ce)](_0x40f024,_0x38ee20,_0xea2b38),this['_sparklineDataSourceModel'][_0x590a26(0x216)](_0x40f024,_0x38ee20,_0xea2b38);});}else{if(_0x4a1164['id']===_0x41358c[_0x48e9b8(0x1ba)]['id']){const _0x27c264=_0x4a1164[_0x48e9b8(0x1ff)],{range:_0x2b0ce2,unitId:_0xc271cf,subUnitId:_0x382f16}=_0x27c264,_0x48da74=new Set(),_0x22c1aa=this[_0x48e9b8(0x1fe)][_0x48e9b8(0x1b0)](_0xc271cf,_0x382f16);if(!_0x22c1aa)return;const _0x51863c=Array[_0x48e9b8(0x1a9)](_0x22c1aa);for(let _0x589b5d=0x0;_0x589b5d<_0x51863c[_0x48e9b8(0x183)];_0x589b5d++){const [_0x370566,_0x5e3652]=_0x51863c[_0x589b5d],_0x56f413=_0x48da74[_0x48e9b8(0x20c)](_0x370566);_0x56f413||_0x5e3652[_0x48e9b8(0x228)][_0x48e9b8(0x239)]((_0x4b2049,_0x1bc7ea,_0x413d0b)=>{const _0x2f1a9f=_0x48e9b8,_0x1aa619=_0x413d0b;if(_0x1aa619&&!_0x56f413&&_0x199790[_0x2f1a9f(0x1f3)]['intersects'](_0x2b0ce2,_0x1aa619))return _0x48da74[_0x2f1a9f(0x23b)](_0x370566),!0x0;});}_0x48da74[_0x48e9b8(0x1f7)](_0x4296e9=>{const _0x1cfd96=_0x48e9b8;this[_0x1cfd96(0x1fe)][_0x1cfd96(0x1ce)](_0xc271cf,_0x382f16,_0x4296e9),this[_0x1cfd96(0x1fe)][_0x1cfd96(0x216)](_0xc271cf,_0x382f16,_0x4296e9);});}}}));}['_initExclusiveRangeChange'](){const _0x510e17=_0x493699;this[_0x510e17(0x203)](this[_0x510e17(0x1de)]['exclusiveRangesChange$'][_0x510e17(0x224)](_0x103e18=>{const _0x3d16ec=_0x510e17,{unitId:_0xac0a73,subUnitId:_0x108fa0,ranges:_0x1a7bf4}=_0x103e18,_0x5a5a09=this[_0x3d16ec(0x1fe)][_0x3d16ec(0x1b0)](_0xac0a73,_0x108fa0);if(!_0x5a5a09)return;const _0x45a5aa=Array[_0x3d16ec(0x1a9)](_0x5a5a09),_0x593f71=new Set();for(let _0x56c332=0x0;_0x56c332<_0x45a5aa['length'];_0x56c332++){const [_0x4b975d,_0x175885]=_0x45a5aa[_0x56c332],_0x5a1cce=_0x593f71[_0x3d16ec(0x20c)](_0x4b975d);_0x5a1cce||_0x175885[_0x3d16ec(0x228)]['forValue']((_0x10abfa,_0x26e58a,_0x5258dd)=>{const _0x589baa=_0x3d16ec,_0x271326=_0x5258dd;if(_0x271326&&!_0x5a1cce){for(const _0x23b29c of _0x1a7bf4)if(_0x199790[_0x589baa(0x1f3)][_0x589baa(0x182)](_0x23b29c,_0x271326)){_0x593f71[_0x589baa(0x23b)](_0x4b975d);break;}}});}_0x593f71[_0x3d16ec(0x1f7)](_0x2317d8=>{const _0x39b479=_0x3d16ec;this['_sparklineDataSourceModel'][_0x39b479(0x1ce)](_0xac0a73,_0x108fa0,_0x2317d8),this[_0x39b479(0x1fe)]['updateSparklineExtraNum'](_0xac0a73,_0x108fa0,_0x2317d8);});}));}};_0x44f8ab=_0x2c9c30([_0x43ba63(0x0,_0x199790[_0x493699(0x1e0)](_0x199790['ICommandService'])),_0x43ba63(0x1,_0x199790[_0x493699(0x1e0)](_0xd07b84[_0x493699(0x193)])),_0x43ba63(0x2,_0x199790[_0x493699(0x1e0)](_0x41358c[_0x493699(0x20e)]))],_0x44f8ab);var _0xe0facf=Object[_0x493699(0x1bd)],_0x29666c=(_0xb619bf,_0x520f8d,_0x1a1343,_0x537e30)=>{for(var _0x4e19de=_0x537e30>0x1?void 0x0:_0x537e30?_0xe0facf(_0x520f8d,_0x1a1343):_0x520f8d,_0x27cf46=_0xb619bf['length']-0x1,_0x2b75cd;_0x27cf46>=0x0;_0x27cf46--)(_0x2b75cd=_0xb619bf[_0x27cf46])&&(_0x4e19de=_0x2b75cd(_0x4e19de)||_0x4e19de);return _0x4e19de;},_0x2e64eb=(_0x2c3af7,_0x197e01)=>(_0x5e4c95,_0x564509)=>_0x197e01(_0x5e4c95,_0x564509,_0x2c3af7);let _0x3c9a94=class extends _0x199790['Disposable']{constructor(_0x47a54e,_0x5f4b02){const _0x588a8c=_0x493699;super(),this[_0x588a8c(0x1e8)]=_0x47a54e,this[_0x588a8c(0x1fe)]=_0x5f4b02,this['_initHideRowColWithSparkline']();}[_0x493699(0x1ab)](){const _0xc6f40a=_0x493699;this[_0xc6f40a(0x1e8)][_0xc6f40a(0x1b6)](_0x5b3499=>{const _0x21020c=_0xc6f40a;if(_0x5b3499['id']===_0x41358c[_0x21020c(0x139)]['id']||_0x5b3499['id']===_0x41358c[_0x21020c(0x141)]['id']||_0x5b3499['id']===_0x41358c[_0x21020c(0x235)]['id']||_0x5b3499['id']===_0x41358c[_0x21020c(0x20b)]['id']){const _0x69a1ba=_0x5b3499['params'],{ranges:_0x4a05f6,unitId:_0x1fc965,subUnitId:_0x5ac707}=_0x69a1ba,_0xf1f96b=new Set(),_0x2b1e7a=this[_0x21020c(0x1fe)]['getSubUnitSparkline'](_0x1fc965,_0x5ac707);if(!_0x2b1e7a)return;const _0x10cb9e=Array[_0x21020c(0x1a9)](_0x2b1e7a);_0x4a05f6['forEach'](_0x12d150=>{const _0x4bc51b=_0x21020c;_0x199790[_0x4bc51b(0x18d)][_0x4bc51b(0x18e)](_0x12d150,(_0x1e494a,_0x3e830f)=>{const _0x4b5d08=_0x4bc51b,_0x515ca6=_0x199790[_0x4b5d08(0x152)](_0x1e494a,_0x3e830f);for(let _0x481007=0x0;_0x481007<_0x10cb9e[_0x4b5d08(0x183)];_0x481007++){const [_0x22b5f7,_0x588518]=_0x10cb9e[_0x481007],_0x4df4f4=_0xf1f96b[_0x4b5d08(0x20c)](_0x22b5f7);_0x4df4f4||_0x588518['sparklines'][_0x4b5d08(0x239)]((_0x458103,_0x200454,_0x35e29e)=>{const _0x5611af=_0x4b5d08,_0x5e109a=_0x35e29e;if(_0x5e109a&&!_0x4df4f4&&_0x199790['Rectangle'][_0x5611af(0x182)](_0x515ca6,_0x5e109a))return _0xf1f96b[_0x5611af(0x23b)](_0x22b5f7),!0x0;});}});}),_0xf1f96b[_0x21020c(0x1f7)](_0x46a6d4=>{const _0x4e47c8=_0x21020c;this[_0x4e47c8(0x1fe)][_0x4e47c8(0x1ce)](_0x1fc965,_0x5ac707,_0x46a6d4),this[_0x4e47c8(0x1fe)][_0x4e47c8(0x216)](_0x1fc965,_0x5ac707,_0x46a6d4);});}});}};_0x3c9a94=_0x29666c([_0x2e64eb(0x0,_0x199790['Inject'](_0x199790[_0x493699(0x218)])),_0x2e64eb(0x1,_0x199790[_0x493699(0x1e0)](_0xd07b84[_0x493699(0x193)]))],_0x3c9a94);var _0x44beaf=Object[_0x493699(0x1bd)],_0x3789f8=(_0x2bcf5d,_0x12aa7c,_0x5477d7,_0x5e6a42)=>{for(var _0x2103c5=_0x5e6a42>0x1?void 0x0:_0x5e6a42?_0x44beaf(_0x12aa7c,_0x5477d7):_0x12aa7c,_0x274a60=_0x2bcf5d['length']-0x1,_0x2ae297;_0x274a60>=0x0;_0x274a60--)(_0x2ae297=_0x2bcf5d[_0x274a60])&&(_0x2103c5=_0x2ae297(_0x2103c5)||_0x2103c5);return _0x2103c5;},_0x2bb073=(_0x48b9ea,_0x1bb961)=>(_0x455fb8,_0x2ca082)=>_0x1bb961(_0x455fb8,_0x2ca082,_0x48b9ea);let _0x2148d1=class extends _0x199790[_0x493699(0x19d)]{constructor(_0x22db3a,_0x348fa8,_0x265cde){const _0x101b36=_0x493699;super(),this[_0x101b36(0x1e8)]=_0x22db3a,this[_0x101b36(0x154)]=_0x348fa8,this['_sparklineDataSourceModel']=_0x265cde,this[_0x101b36(0x1f8)]();}[_0x493699(0x1f8)](){const _0x35e000=_0x493699;this[_0x35e000(0x203)](this[_0x35e000(0x154)]['interceptCommand']({'getMutations':_0x1567b3=>{const _0x2b63d1=_0x35e000,_0x3d56cd=[],_0x40cdf1=[];if(_0x1567b3['id']===_0x41358c[_0x2b63d1(0x181)]['id']){const _0x279afe=_0x1567b3[_0x2b63d1(0x1ff)];if(!_0x279afe)return{'redos':_0x3d56cd,'undos':_0x40cdf1};const {unitId:_0x31c866,subUnitId:_0x287645,ranges:_0xd9f9b5}=_0x279afe,_0x35dc09=this['_sparklineDataSourceModel'][_0x2b63d1(0x1b0)](_0x31c866,_0x287645);if(!_0x35dc09)return{'redos':_0x3d56cd,'undos':_0x40cdf1};const _0x3ddd6a={},_0x1e4954={},_0x3f755f=new Set();_0xd9f9b5[_0x2b63d1(0x1f7)](_0x5aae80=>{const _0x477eb5=_0x2b63d1,_0x4fefb9=_0x5aae80[_0x477eb5(0x1d1)],_0x311c44=_0x5aae80[_0x477eb5(0x1d9)];_0x199790[_0x477eb5(0x18d)][_0x477eb5(0x18e)](_0x5aae80,(_0x2f23da,_0x4032c9)=>{const _0x2f23dc=_0x477eb5,_0x5aa52e=this[_0x2f23dc(0x1fe)][_0x2f23dc(0x156)](_0x31c866,_0x287645,_0x2f23da,_0x4032c9);if(_0x5aa52e&&!(_0x2f23da===_0x4fefb9&&_0x4032c9===_0x311c44)){const _0x50037e=this[_0x2f23dc(0x1fe)][_0x2f23dc(0x1c7)](_0x31c866,_0x287645,_0x5aa52e);if(_0x50037e){_0x3f755f['add'](_0x5aa52e);let _0x17dc0e=_0x3ddd6a[_0x5aa52e];_0x17dc0e||(_0x17dc0e={'config':_0x199790[_0x2f23dc(0x17f)][_0x2f23dc(0x1d7)](_0x50037e[_0x2f23dc(0x1a1)]),'sparklines':new _0x199790[(_0x2f23dc(0x13c))](_0x50037e[_0x2f23dc(0x228)][_0x2f23dc(0x158)]())},_0x3ddd6a[_0x5aa52e]=_0x17dc0e),_0x17dc0e[_0x2f23dc(0x228)][_0x2f23dc(0x211)](_0x2f23da,_0x4032c9),_0x1e4954[_0x5aa52e]={'config':_0x199790[_0x2f23dc(0x17f)][_0x2f23dc(0x1d7)](_0x50037e[_0x2f23dc(0x1a1)]),'sparklines':_0x199790[_0x2f23dc(0x17f)][_0x2f23dc(0x1d7)](_0x50037e['sparklines']['clone']())};}}});});for(const [_0x43d501,_0x4e0205]of _0x35dc09){const _0x5f3000=_0x4e0205['sparklines'];_0x5f3000[_0x2b63d1(0x239)]((_0xc865a9,_0x3fbbd6,_0x1a18cd)=>{const _0x8325f7=_0x2b63d1;for(let _0x420689=0x0;_0x420689<_0xd9f9b5[_0x8325f7(0x183)];_0x420689++){const _0x4b713d=_0xd9f9b5[_0x420689];if(_0x199790['Rectangle']['contains'](_0x4b713d,_0x1a18cd)){_0x3f755f[_0x8325f7(0x23b)](_0x43d501);let _0x129367=_0x3ddd6a[_0x43d501];_0x129367||(_0x129367={'config':_0x199790[_0x8325f7(0x17f)][_0x8325f7(0x1d7)](_0x4e0205[_0x8325f7(0x1a1)]),'sparklines':new _0x199790['ObjectMatrix'](_0x5f3000[_0x8325f7(0x158)]())},_0x3ddd6a[_0x43d501]=_0x129367),_0x129367['sparklines'][_0x8325f7(0x211)](_0xc865a9,_0x3fbbd6),_0x1e4954[_0x43d501]||(_0x1e4954[_0x43d501]={'config':_0x199790[_0x8325f7(0x17f)][_0x8325f7(0x1d7)](_0x4e0205['config']),'sparklines':_0x199790['Tools'][_0x8325f7(0x1d7)](_0x5f3000[_0x8325f7(0x158)]())});}}});}const _0x483335={};Object[_0x2b63d1(0x1fc)](_0x3ddd6a)[_0x2b63d1(0x1f7)](([_0x171137,_0x22e6d9])=>{const _0x327f1d=_0x2b63d1;_0x22e6d9[_0x327f1d(0x228)][_0x327f1d(0x220)]()&&(_0x483335[_0x171137]={'config':_0x22e6d9[_0x327f1d(0x1a1)],'sparklines':_0x22e6d9[_0x327f1d(0x228)][_0x327f1d(0x158)]()});}),_0x3f755f['size']&&(_0x3d56cd[_0x2b63d1(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x31c866,'subUnitId':_0x287645,'groupIds':Array[_0x2b63d1(0x1a9)](_0x3f755f),'isSingle':!0x1}}),_0x40cdf1['push']({'id':_0x5800d3['id'],'params':{'unitId':_0x31c866,'subUnitId':_0x287645,'groupIds':Array[_0x2b63d1(0x1a9)](_0x3f755f),'isSingle':!0x1}}),_0x3d56cd['push']({'id':_0x5acc40['id'],'params':{'unitId':_0x31c866,'subUnitId':_0x287645,'sparklineConfigMap':_0x483335}}),_0x40cdf1[_0x2b63d1(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x31c866,'subUnitId':_0x287645,'sparklineConfigMap':_0x1e4954}}));}return{'redos':_0x3d56cd,'undos':_0x40cdf1};}}));}};_0x2148d1=_0x3789f8([_0x2bb073(0x0,_0x199790['Inject'](_0x199790[_0x493699(0x218)])),_0x2bb073(0x1,_0x199790[_0x493699(0x1e0)](_0x41358c[_0x493699(0x1a6)])),_0x2bb073(0x2,_0x199790['Inject'](_0xd07b84[_0x493699(0x193)]))],_0x2148d1);var _0x5b81c9=Object[_0x493699(0x1bd)],_0x54b661=(_0x4d87f2,_0x1af55e,_0x161374,_0x3fa2ea)=>{for(var _0x5b268b=_0x3fa2ea>0x1?void 0x0:_0x3fa2ea?_0x5b81c9(_0x1af55e,_0x161374):_0x1af55e,_0x2aa200=_0x4d87f2['length']-0x1,_0x4da106;_0x2aa200>=0x0;_0x2aa200--)(_0x4da106=_0x4d87f2[_0x2aa200])&&(_0x5b268b=_0x4da106(_0x5b268b)||_0x5b268b);return _0x5b268b;},_0x302738=(_0x236b80,_0x30aba4)=>(_0x27be16,_0x99d250)=>_0x30aba4(_0x27be16,_0x99d250,_0x236b80);let _0x1fa248=class extends _0x199790[_0x493699(0x19d)]{constructor(_0x3474f3,_0x5720b5,_0x3ee826,_0x355a12){const _0x1d46f2=_0x493699;super(),_0x8d0f31(this,_0x1d46f2(0x1ed),new _0x199790[(_0x1d46f2(0x16f))]()),(this[_0x1d46f2(0x1e8)]=_0x3474f3,this[_0x1d46f2(0x21d)]=_0x5720b5,this['_univerInstanceService']=_0x3ee826,this['_sparklineDataSourceModel']=_0x355a12,this[_0x1d46f2(0x240)](),this[_0x1d46f2(0x21b)]());}['_onRefRangeChange'](){const _0x31a4a9=_0x493699,_0x52b028=(_0x41b8fc,_0x289c38)=>{const _0x1cf32a=_0x3e04,_0xbe37e7=this[_0x1cf32a(0x1af)]['getCurrentUnitForType'](_0x199790[_0x1cf32a(0x172)][_0x1cf32a(0x230)]);if(!_0xbe37e7||!(_0xbe37e7==null?void 0x0:_0xbe37e7[_0x1cf32a(0x16d)](_0x289c38)))return;this[_0x1cf32a(0x1ed)][_0x1cf32a(0x148)]();const _0x23ad17=_0x5cba7f=>this[_0x1cf32a(0x1e5)](_0x5cba7f,_0x41b8fc,_0x289c38),_0x4a9c56=[],_0x355fc7=this[_0x1cf32a(0x1fe)][_0x1cf32a(0x1b0)](_0x41b8fc,_0x289c38);if(_0x355fc7){for(const [_0x25b189,_0x2d9bfa]of _0x355fc7)_0x2d9bfa['sparklines'][_0x1cf32a(0x239)]((_0x129890,_0x29efa4,_0x2d4cc6)=>{const _0x59e711=_0x1cf32a,_0x520c4b=_0x199790[_0x59e711(0x152)](_0x129890,_0x29efa4);_0x4a9c56[_0x59e711(0x23d)](_0x520c4b);});_0x4a9c56[_0x1cf32a(0x1f7)](_0x5888c0=>{const _0x55ddef=_0x1cf32a;this[_0x55ddef(0x1ed)][_0x55ddef(0x23b)](this[_0x55ddef(0x21d)][_0x55ddef(0x1b9)](_0x5888c0,_0x23ad17,_0x41b8fc,_0x289c38));});}};this[_0x31a4a9(0x203)](this['_commandService'][_0x31a4a9(0x1b6)](_0x1c9083=>{const _0x5cf585=_0x31a4a9;if(_0x1c9083['id']===_0x41358c[_0x5cf585(0x17e)]['id']){const _0x52728e=_0x1c9083[_0x5cf585(0x1ff)],_0xd123e6=_0x52728e[_0x5cf585(0x1e6)],_0x2f742c=_0x52728e['unitId'];if(!_0xd123e6||!_0x2f742c)return;_0x52b028(_0x2f742c,_0xd123e6);}if(_0x1c9083['id']===_0x2ddf23['id']||_0x1c9083['id']===_0x5acc40['id']){const _0x196890=_0x1c9083[_0x5cf585(0x1ff)],_0x2af1e4=_0x196890[_0x5cf585(0x1e6)],_0x332f47=_0x196890[_0x5cf585(0x157)];if(!_0x2af1e4||!_0x332f47)return;_0x52b028(_0x332f47,_0x2af1e4);}}));}[_0x493699(0x1e5)](_0x4882e5,_0x12352f,_0x502a8e){const _0x1b6b07=_0x493699;switch(_0x4882e5['id']){case _0x41358c[_0x1b6b07(0x23c)]['id']:return this[_0x1b6b07(0x167)](_0x4882e5[_0x1b6b07(0x1ff)],_0x12352f,_0x502a8e);case _0x41358c[_0x1b6b07(0x1e4)]['id']:return this[_0x1b6b07(0x1cb)](_0x4882e5['params'],_0x12352f,_0x502a8e);}return{'redos':[],'undos':[]};}[_0x493699(0x1cb)](_0xdff4a2,_0x49b20f,_0x50b03a){const _0x248778=_0x493699;var _0x3f7737,_0x5d8ffc;const {range:_0x58a47f}=_0xdff4a2,_0x235e79=new Set(),_0x60308c={},_0x295fe5={},_0x37e34f=[],_0x4d36f9=[],_0x35c523=[],_0x5423f4=[];if(!_0x41358c[_0x248778(0x225)](this[_0x248778(0x1af)],{'unitId':_0x49b20f,'subUnitId':_0x50b03a}))return{'redos':_0x4d36f9,'undos':_0x37e34f};const _0x2c39da=this[_0x248778(0x1fe)][_0x248778(0x1b0)](_0x49b20f,_0x50b03a);if(!_0x2c39da)return{'redos':_0x4d36f9,'undos':_0x37e34f};if(!((_0x5d8ffc=(_0x3f7737=this[_0x248778(0x1fe)][_0x248778(0x175)]()[_0x248778(0x1ea)][_0x248778(0x236)](_0x49b20f))==null?void 0x0:_0x3f7737[_0x248778(0x236)](_0x50b03a))==null?void 0x0:_0x5d8ffc['matrix']))return{'redos':_0x4d36f9,'undos':_0x37e34f};for(const [_0x1cae3d,_0x4ba1c4]of _0x2c39da){const _0x13d7dd=_0x4ba1c4[_0x248778(0x228)];_0x13d7dd[_0x248778(0x239)]((_0x5cf616,_0x1c9ab5,_0x2b12ea)=>{const _0x365977=_0x248778;if(_0x199790[_0x365977(0x1f3)][_0x365977(0x182)](_0x58a47f,_0x2b12ea)){_0x235e79['add'](_0x1cae3d);let _0x1b726a=_0x295fe5[_0x1cae3d];_0x1b726a||(_0x1b726a={'config':_0x4ba1c4[_0x365977(0x1a1)],'sparklines':_0x4ba1c4[_0x365977(0x228)][_0x365977(0x158)]()},_0x295fe5[_0x1cae3d]=_0x1b726a);let _0x30e5e0=_0x60308c[_0x1cae3d];_0x30e5e0||(_0x30e5e0={'config':_0x4ba1c4[_0x365977(0x1a1)],'sparklines':new _0x199790[(_0x365977(0x13c))](_0x4ba1c4[_0x365977(0x228)]['clone']())},_0x60308c[_0x1cae3d]=_0x30e5e0);const _0x1fd386=_0x41358c[_0x365977(0x238)](_0x2b12ea,{'id':_0x41358c[_0x365977(0x23e)]['id'],'params':_0xdff4a2});_0x1fd386?_0x30e5e0[_0x365977(0x228)][_0x365977(0x142)](_0x5cf616,_0x1c9ab5,_0x1fd386):_0x30e5e0['sparklines']['setValue'](_0x5cf616,_0x1c9ab5,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x199790[_0x365977(0x184)][_0x365977(0x15e)]});}}),_0x13d7dd[_0x248778(0x239)]((_0x58946d,_0xe22aa,_0x19b375)=>{const _0x388ba6=_0x248778;if(_0x58946d<=_0x58a47f[_0x388ba6(0x18b)]&&_0x58946d>=_0x58a47f[_0x388ba6(0x1d1)]){_0x235e79['add'](_0x1cae3d);let _0x46db55=_0x295fe5[_0x1cae3d];_0x46db55||(_0x46db55={'config':_0x4ba1c4[_0x388ba6(0x1a1)],'sparklines':_0x4ba1c4['sparklines'][_0x388ba6(0x158)]()},_0x295fe5[_0x1cae3d]=_0x46db55);let _0x2e0718=_0x60308c[_0x1cae3d];_0x2e0718||(_0x2e0718={'config':_0x4ba1c4['config'],'sparklines':new _0x199790[(_0x388ba6(0x13c))](_0x4ba1c4[_0x388ba6(0x228)]['clone']())},_0x60308c[_0x1cae3d]=_0x2e0718);}});}_0x5423f4[_0x248778(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x49b20f,'subUnitId':_0x50b03a,'groupIds':Array['from'](_0x235e79),'isSingle':!0x1}}),_0x35c523['push']({'id':_0x5800d3['id'],'params':{'unitId':_0x49b20f,'subUnitId':_0x50b03a,'groupIds':Array[_0x248778(0x1a9)](_0x235e79),'isSingle':!0x1}});const _0x363d41={};let _0x29c0a8=!0x1;return Object[_0x248778(0x1fc)](_0x60308c)[_0x248778(0x1f7)](([_0x179cec,_0x315f3])=>{const _0x3cf34f=_0x248778;_0x315f3['sparklines'][_0x3cf34f(0x220)]()&&(_0x29c0a8=!0x0,_0x315f3[_0x3cf34f(0x228)][_0x3cf34f(0x160)](_0x58a47f[_0x3cf34f(0x1d1)],_0x58a47f['endRow']-_0x58a47f[_0x3cf34f(0x1d1)]+0x1),_0x363d41[_0x179cec]={'config':_0x315f3[_0x3cf34f(0x1a1)],'sparklines':_0x315f3[_0x3cf34f(0x228)][_0x3cf34f(0x158)]()});}),_0x29c0a8&&_0x4d36f9['push']({'id':_0x5acc40['id'],'params':{'unitId':_0x49b20f,'subUnitId':_0x50b03a,'sparklineConfigMap':_0x363d41}}),_0x37e34f[_0x248778(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x49b20f,'subUnitId':_0x50b03a,'sparklineConfigMap':_0x295fe5}}),{'redos':_0x4d36f9,'undos':_0x37e34f,'preRedos':_0x35c523,'preUndos':_0x5423f4};}[_0x493699(0x167)](_0x4da2ab,_0x16cd34,_0x42a151){const _0x2a2a89=_0x493699;var _0x13b09f,_0xa2c462;const {range:_0x3d3883}=_0x4da2ab,_0x3282f4=new Set(),_0x4df172={},_0x358733={},_0x45f640=[],_0x24a0b3=[],_0x44e03b=[],_0x2d9a27=[];if(!_0x41358c[_0x2a2a89(0x225)](this[_0x2a2a89(0x1af)],{'unitId':_0x16cd34,'subUnitId':_0x42a151}))return{'redos':_0x24a0b3,'undos':_0x45f640};const _0x3f9bde=this['_sparklineDataSourceModel'][_0x2a2a89(0x1b0)](_0x16cd34,_0x42a151);if(!_0x3f9bde)return{'redos':_0x24a0b3,'undos':_0x45f640};if(!((_0xa2c462=(_0x13b09f=this[_0x2a2a89(0x1fe)][_0x2a2a89(0x175)]()['sparklineAnchorMap'][_0x2a2a89(0x236)](_0x16cd34))==null?void 0x0:_0x13b09f[_0x2a2a89(0x236)](_0x42a151))==null?void 0x0:_0xa2c462[_0x2a2a89(0x1da)]))return{'redos':_0x24a0b3,'undos':_0x45f640};for(const [_0x217e0e,_0x111e8f]of _0x3f9bde){const _0x503c2b=_0x111e8f[_0x2a2a89(0x228)];_0x503c2b[_0x2a2a89(0x239)]((_0x39ae9c,_0x3585da,_0x4253b4)=>{const _0x2523ce=_0x2a2a89;if(_0x199790['Rectangle'][_0x2523ce(0x182)](_0x3d3883,_0x4253b4)){_0x3282f4[_0x2523ce(0x23b)](_0x217e0e);let _0x539b15=_0x358733[_0x217e0e];_0x539b15||(_0x539b15={'config':_0x111e8f['config'],'sparklines':_0x111e8f['sparklines'][_0x2523ce(0x158)]()},_0x358733[_0x217e0e]=_0x539b15);let _0x2c99c0=_0x4df172[_0x217e0e];_0x2c99c0||(_0x2c99c0={'config':_0x111e8f[_0x2523ce(0x1a1)],'sparklines':new _0x199790[(_0x2523ce(0x13c))](_0x111e8f[_0x2523ce(0x228)]['clone']())},_0x4df172[_0x217e0e]=_0x2c99c0);const _0x2c8e3a=_0x41358c[_0x2523ce(0x238)](_0x4253b4,{'id':_0x41358c['RemoveColMutation']['id'],'params':_0x4da2ab});_0x2c8e3a?_0x2c99c0[_0x2523ce(0x228)][_0x2523ce(0x142)](_0x39ae9c,_0x3585da,_0x2c8e3a):_0x2c99c0['sparklines'][_0x2523ce(0x142)](_0x39ae9c,_0x3585da,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x199790['RANGE_TYPE'][_0x2523ce(0x15e)]});}}),_0x503c2b[_0x2a2a89(0x239)]((_0x583545,_0x46b5c4,_0x2d0ea)=>{const _0x1fa940=_0x2a2a89;if(_0x46b5c4<=_0x3d3883[_0x1fa940(0x1c6)]&&_0x46b5c4>=_0x3d3883[_0x1fa940(0x1d9)]){_0x3282f4[_0x1fa940(0x23b)](_0x217e0e);let _0x264379=_0x358733[_0x217e0e];_0x264379||(_0x264379={'config':_0x111e8f[_0x1fa940(0x1a1)],'sparklines':_0x111e8f[_0x1fa940(0x228)][_0x1fa940(0x158)]()},_0x358733[_0x217e0e]=_0x264379);let _0x49b194=_0x4df172[_0x217e0e];_0x49b194||(_0x49b194={'config':_0x111e8f['config'],'sparklines':new _0x199790[(_0x1fa940(0x13c))](_0x111e8f[_0x1fa940(0x228)][_0x1fa940(0x158)]())},_0x4df172[_0x217e0e]=_0x49b194);}});}_0x2d9a27[_0x2a2a89(0x23d)]({'id':_0x5800d3['id'],'params':{'unitId':_0x16cd34,'subUnitId':_0x42a151,'groupIds':Array[_0x2a2a89(0x1a9)](_0x3282f4),'isSingle':!0x1}}),_0x44e03b['push']({'id':_0x5800d3['id'],'params':{'unitId':_0x16cd34,'subUnitId':_0x42a151,'groupIds':Array[_0x2a2a89(0x1a9)](_0x3282f4),'isSingle':!0x1}});const _0xeb8899={};let _0x4330af=!0x1;return Object['entries'](_0x4df172)['forEach'](([_0x4331b8,_0x10b280])=>{const _0xa51a84=_0x2a2a89;_0x10b280[_0xa51a84(0x228)]['getSizeOf']()&&(_0x4330af=!0x0,_0x10b280['sparklines'][_0xa51a84(0x209)](_0x3d3883[_0xa51a84(0x1d9)],_0x3d3883[_0xa51a84(0x1c6)]-_0x3d3883[_0xa51a84(0x1d9)]+0x1),_0xeb8899[_0x4331b8]={'config':_0x10b280[_0xa51a84(0x1a1)],'sparklines':_0x10b280['sparklines'][_0xa51a84(0x158)]()});}),_0x4330af&&_0x24a0b3[_0x2a2a89(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x16cd34,'subUnitId':_0x42a151,'sparklineConfigMap':_0xeb8899}}),_0x45f640[_0x2a2a89(0x23d)]({'id':_0x5acc40['id'],'params':{'unitId':_0x16cd34,'subUnitId':_0x42a151,'sparklineConfigMap':_0x358733}}),{'redos':_0x24a0b3,'undos':_0x45f640,'preRedos':_0x44e03b,'preUndos':_0x2d9a27};}['_initCorrectRangeWithSparkline'](){const _0x2cd79c=_0x493699;this['disposeWithMe'](this[_0x2cd79c(0x1e8)][_0x2cd79c(0x1b6)](_0x366eff=>{const _0x305a8b=_0x2cd79c;if(_0x366eff['id']===_0x41358c[_0x305a8b(0x22a)]['id']){const _0x5e3de8=_0x366eff[_0x305a8b(0x1ff)],{unitId:_0x13cad3,subUnitId:_0x5901c0,range:_0x57c298}=_0x5e3de8,_0x4692e1=_0x57c298[_0x305a8b(0x1d9)],_0x166094=_0x57c298['endColumn']-_0x57c298[_0x305a8b(0x1d9)]+0x1,_0x41c217=this[_0x305a8b(0x1fe)][_0x305a8b(0x1b0)](_0x13cad3,_0x5901c0);if(!_0x41c217)return;for(const [_0x1f2af2,_0x9bd67a]of _0x41c217){this[_0x305a8b(0x1fe)][_0x305a8b(0x1ce)](_0x13cad3,_0x5901c0,_0x1f2af2);const _0x25274d=_0x9bd67a[_0x305a8b(0x228)];_0x25274d[_0x305a8b(0x239)]((_0x33fedd,_0x2e4be9,_0x1f21f3)=>{const _0x5b056d=_0x305a8b,_0x20d9fb={..._0x1f21f3};_0x4692e1<=_0x20d9fb[_0x5b056d(0x1d9)]?(_0x20d9fb[_0x5b056d(0x1d9)]+=_0x166094,_0x20d9fb[_0x5b056d(0x1c6)]+=_0x166094):_0x4692e1>_0x20d9fb[_0x5b056d(0x1c6)]||(_0x20d9fb['endColumn']+=_0x166094),_0x25274d[_0x5b056d(0x142)](_0x33fedd,_0x2e4be9,_0x20d9fb);});const _0x27ce52=_0x25274d[_0x305a8b(0x153)]();for(const _0x43e36b in _0x27ce52){const _0x485319=_0x27ce52[Number(_0x43e36b)];if(!_0x485319)continue;const _0x2fa8ea=Object[_0x305a8b(0x1a0)](_0x485319)[_0x305a8b(0x217)](Number),_0x1f1561=Math[_0x305a8b(0x206)](..._0x2fa8ea);for(let _0x178882=_0x1f1561;_0x178882>=_0x4692e1;_0x178882--)_0x178882>=_0x4692e1&&_0x485319[_0x178882]&&(_0x485319[_0x178882+_0x166094]=_0x485319[_0x178882],delete _0x485319[_0x178882]);}this['_sparklineDataSourceModel'][_0x305a8b(0x216)](_0x13cad3,_0x5901c0,_0x1f2af2);}}else{if(_0x366eff['id']===_0x41358c[_0x305a8b(0x1d3)]['id']){const _0x502135=_0x366eff[_0x305a8b(0x1ff)],{unitId:_0xcd3025,subUnitId:_0x30ba49,range:_0x1aa695}=_0x502135,_0x5af5f3=_0x1aa695[_0x305a8b(0x1d1)],_0x4fac5a=_0x1aa695[_0x305a8b(0x18b)]-_0x1aa695[_0x305a8b(0x1d1)]+0x1,_0x545cdf=this[_0x305a8b(0x1fe)][_0x305a8b(0x1b0)](_0xcd3025,_0x30ba49);if(!_0x545cdf)return;for(const [_0xbf3e7b,_0xe48374]of _0x545cdf){this[_0x305a8b(0x1fe)][_0x305a8b(0x1ce)](_0xcd3025,_0x30ba49,_0xbf3e7b);const _0xc178bf=_0xe48374[_0x305a8b(0x228)];_0xc178bf['forValue']((_0x59f81b,_0x47c724,_0x278682)=>{const _0x7a4e70=_0x305a8b,_0x82937d={..._0x278682};_0x5af5f3<=_0x82937d['startRow']?(_0x82937d[_0x7a4e70(0x1d1)]+=_0x4fac5a,_0x82937d[_0x7a4e70(0x18b)]+=_0x4fac5a):_0x5af5f3>_0x82937d[_0x7a4e70(0x18b)]||(_0x82937d[_0x7a4e70(0x18b)]+=_0x4fac5a),_0xc178bf[_0x7a4e70(0x142)](_0x59f81b,_0x47c724,_0x82937d);});const _0x145be4=_0xc178bf[_0x305a8b(0x153)](),_0xb15dc=Object[_0x305a8b(0x1a0)](_0x145be4)[_0x305a8b(0x217)](Number),_0x13f50c=Math[_0x305a8b(0x206)](..._0xb15dc);for(let _0x272338=_0x13f50c;_0x272338>=_0x5af5f3;_0x272338--)_0x272338>=_0x5af5f3&&_0x145be4[_0x272338]&&(_0x145be4[_0x272338+_0x4fac5a]=_0x145be4[_0x272338],delete _0x145be4[_0x272338]);this['_sparklineDataSourceModel'][_0x305a8b(0x216)](_0xcd3025,_0x30ba49,_0xbf3e7b);}}else{if(_0x366eff['id']===_0x41358c[_0x305a8b(0x222)]['id']){const _0x2b2b51=_0x366eff[_0x305a8b(0x1ff)],{range:_0x533c2b,unitId:_0x541827,subUnitId:_0x505a1b}=_0x2b2b51,_0x1294c4=this[_0x305a8b(0x1fe)][_0x305a8b(0x1b0)](_0x541827,_0x505a1b);if(!_0x1294c4)return;for(const [_0x362714,_0x57c235]of _0x1294c4){const _0x3b40ed=_0x57c235[_0x305a8b(0x228)];_0x3b40ed[_0x305a8b(0x239)]((_0x53adc4,_0x8ff7c2,_0x445eee)=>{const _0x200c25=_0x305a8b,_0x476181=_0x41358c[_0x200c25(0x238)](_0x445eee,_0x366eff);_0x476181?_0x3b40ed[_0x200c25(0x142)](_0x53adc4,_0x8ff7c2,_0x476181):_0x3b40ed[_0x200c25(0x142)](_0x53adc4,_0x8ff7c2,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x199790['RANGE_TYPE'][_0x200c25(0x15e)]});}),_0x3b40ed['removeColumns'](_0x533c2b[_0x305a8b(0x1d9)],_0x533c2b[_0x305a8b(0x1c6)]-_0x533c2b[_0x305a8b(0x1d9)]+0x1);}this[_0x305a8b(0x1fe)][_0x305a8b(0x1a2)](_0x541827,_0x505a1b);}else{if(_0x366eff['id']===_0x41358c[_0x305a8b(0x23e)]['id']){const _0x3e927a=_0x366eff['params'],{range:_0x468cf0,unitId:_0x3bf45e,subUnitId:_0x216e98}=_0x3e927a,_0x24c86f=this[_0x305a8b(0x1fe)][_0x305a8b(0x1b0)](_0x3bf45e,_0x216e98);if(!_0x24c86f)return;for(const [_0x5b0db6,_0x347cfd]of _0x24c86f){const _0x27210c=_0x347cfd[_0x305a8b(0x228)];_0x27210c['forValue']((_0x425aa0,_0x3a55dd,_0x5f0818)=>{const _0x4bab1b=_0x305a8b,_0x44a00c=_0x41358c[_0x4bab1b(0x238)](_0x5f0818,_0x366eff);_0x44a00c?_0x27210c[_0x4bab1b(0x142)](_0x425aa0,_0x3a55dd,_0x44a00c):_0x27210c['setValue'](_0x425aa0,_0x3a55dd,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x199790[_0x4bab1b(0x184)]['NORMAL']});}),_0x27210c[_0x305a8b(0x160)](_0x468cf0['startRow'],_0x468cf0[_0x305a8b(0x18b)]-_0x468cf0[_0x305a8b(0x1d1)]+0x1);}this[_0x305a8b(0x1fe)][_0x305a8b(0x1a2)](_0x3bf45e,_0x216e98);}else{if(_0x366eff['id']===_0x41358c[_0x305a8b(0x149)]['id']){const _0x443995=_0x366eff[_0x305a8b(0x1ff)],{unitId:_0x382c7f,subUnitId:_0x4e7245,sourceRange:_0xf93cf5,targetRange:_0x4d7f83}=_0x443995,_0xe848ea=this[_0x305a8b(0x1fe)]['getSubUnitSparkline'](_0x382c7f,_0x4e7245);if(!_0xe848ea)return;for(const [_0x5a3759,_0x5dc9a4]of _0xe848ea){const _0x312705=_0x5dc9a4['sparklines'];_0x312705[_0x305a8b(0x239)]((_0x551f39,_0x4d696a,_0x567e75)=>{const _0x2d761f=_0x305a8b,_0x51c6e1=_0x41358c['adjustRangeOnMutation'](_0x567e75,_0x366eff);_0x51c6e1?_0x312705[_0x2d761f(0x142)](_0x551f39,_0x4d696a,_0x51c6e1):_0x312705[_0x2d761f(0x142)](_0x551f39,_0x4d696a,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x199790[_0x2d761f(0x184)][_0x2d761f(0x15e)]});}),_0x312705[_0x305a8b(0x229)](_0xf93cf5['startColumn'],_0xf93cf5[_0x305a8b(0x1c6)]-_0xf93cf5[_0x305a8b(0x1d9)]+0x1,_0x4d7f83[_0x305a8b(0x1d9)]);}this[_0x305a8b(0x1fe)][_0x305a8b(0x1a2)](_0x382c7f,_0x4e7245);}else{if(_0x366eff['id']===_0x41358c[_0x305a8b(0x1b1)]['id']){const _0x2f678e=_0x366eff['params'],{unitId:_0x13b2e1,subUnitId:_0x2c9948,sourceRange:_0x436edb,targetRange:_0x12dde0}=_0x2f678e,_0x103b92=this[_0x305a8b(0x1fe)][_0x305a8b(0x1b0)](_0x13b2e1,_0x2c9948);if(!_0x103b92)return;for(const [_0x1d1421,_0x5cfd5f]of _0x103b92){const _0x2b9109=_0x5cfd5f[_0x305a8b(0x228)];_0x2b9109[_0x305a8b(0x239)]((_0x9c8234,_0x3726b5,_0x25efb1)=>{const _0x15633a=_0x305a8b,_0xaf6df7=_0x41358c[_0x15633a(0x238)](_0x25efb1,_0x366eff);_0xaf6df7?_0x2b9109[_0x15633a(0x142)](_0x9c8234,_0x3726b5,_0xaf6df7):_0x2b9109['setValue'](_0x9c8234,_0x3726b5,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x199790['RANGE_TYPE']['NORMAL']});}),_0x2b9109[_0x305a8b(0x15b)](_0x436edb['startRow'],_0x436edb[_0x305a8b(0x18b)]-_0x436edb['startRow']+0x1,_0x12dde0[_0x305a8b(0x1d1)]);}this[_0x305a8b(0x1fe)]['reBuildAnchorCache'](_0x13b2e1,_0x2c9948);}else{if(_0x366eff['id']===_0x41358c['MoveRangeMutation']['id']){const _0x48fe2f=_0x366eff['params'],{fromRange:_0x267a94,toRange:_0x1cc8ae,unitId:_0x194c3d,from:_0x55b9d1,to:_0x477bb0}=_0x48fe2f;if(_0x55b9d1[_0x305a8b(0x1e6)]!==_0x477bb0[_0x305a8b(0x1e6)])return;const _0x261b8e=_0x55b9d1[_0x305a8b(0x1e6)],{startRow:_0x3a6992,endRow:_0x17c46d,startColumn:_0x9cfab2,endColumn:_0xb94586}=_0x267a94,{startRow:_0x5da3dd,startColumn:_0xe0e528}=_0x1cc8ae,_0x25f8ce=_0x5da3dd-_0x3a6992,_0xbc3fb9=_0xe0e528-_0x9cfab2,_0x537036=this[_0x305a8b(0x1fe)]['getSubUnitSparkline'](_0x194c3d,_0x261b8e);if(!(_0x537036!=null&&_0x537036[_0x305a8b(0x213)]))return;for(let _0x5d0863=_0x3a6992;_0x5d0863<=_0x17c46d;_0x5d0863++)for(let _0x5ba394=_0x9cfab2;_0x5ba394<=_0xb94586;_0x5ba394++){const _0x178bea=this[_0x305a8b(0x1fe)]['getSparkline'](_0x194c3d,_0x261b8e,_0x5d0863,_0x5ba394);if(_0x178bea){const _0x438efc=this[_0x305a8b(0x1fe)][_0x305a8b(0x1c7)](_0x194c3d,_0x261b8e,_0x178bea);if(_0x438efc){const _0x9dfbd4=_0x438efc['sparklines']['getValue'](_0x5d0863,_0x5ba394);_0x9dfbd4&&(_0x438efc['sparklines'][_0x305a8b(0x142)](_0x5d0863+_0x25f8ce,_0x5ba394+_0xbc3fb9,_0x9dfbd4),_0x438efc[_0x305a8b(0x228)][_0x305a8b(0x211)](_0x5d0863,_0x5ba394));}}}for(const [_0x4d01f9,_0x1d7367]of _0x537036){const _0x24eecc=_0x1d7367[_0x305a8b(0x228)];_0x24eecc[_0x305a8b(0x239)]((_0x1dd99d,_0x2824e4,_0x3a9fbf)=>{const _0x4a3f8f=_0x305a8b,_0x3fa09d={..._0x3a9fbf};_0x199790[_0x4a3f8f(0x1f3)]['contains'](_0x267a94,_0x3a9fbf)&&(_0x3fa09d[_0x4a3f8f(0x1d1)]+=_0x25f8ce,_0x3fa09d[_0x4a3f8f(0x18b)]+=_0x25f8ce,_0x3fa09d[_0x4a3f8f(0x1d9)]+=_0xbc3fb9,_0x3fa09d[_0x4a3f8f(0x1c6)]+=_0xbc3fb9),_0x24eecc[_0x4a3f8f(0x142)](_0x1dd99d,_0x2824e4,_0x3fa09d);});}this[_0x305a8b(0x1fe)]['reBuildAnchorCache'](_0x194c3d,_0x261b8e);}}}}}}}}));}};_0x1fa248=_0x54b661([_0x302738(0x0,_0x199790[_0x493699(0x1e0)](_0x199790[_0x493699(0x218)])),_0x302738(0x1,_0x199790[_0x493699(0x1e0)](_0x41358c[_0x493699(0x23f)])),_0x302738(0x2,_0x199790[_0x493699(0x138)]),_0x302738(0x3,_0x199790[_0x493699(0x1e0)](_0xd07b84['SparklineDataSourceModel']))],_0x1fa248);var _0x3c9bce=Object[_0x493699(0x1bd)],_0x1c90af=(_0x4f256d,_0x472c77,_0x3f1508,_0x17e5cb)=>{const _0x3c14fc=_0x493699;for(var _0x263e40=_0x17e5cb>0x1?void 0x0:_0x17e5cb?_0x3c9bce(_0x472c77,_0x3f1508):_0x472c77,_0x58da54=_0x4f256d[_0x3c14fc(0x183)]-0x1,_0xee77e5;_0x58da54>=0x0;_0x58da54--)(_0xee77e5=_0x4f256d[_0x58da54])&&(_0x263e40=_0xee77e5(_0x263e40)||_0x263e40);return _0x263e40;},_0x3b72a4=(_0x4445dd,_0x56c7c0)=>(_0x4277ac,_0x3366e9)=>_0x56c7c0(_0x4277ac,_0x3366e9,_0x4445dd);let _0x41bb32=class extends _0x199790[_0x493699(0x19d)]{constructor(_0x23dade,_0x2d3a74,_0xf554b2){const _0x4e84d9=_0x493699;super(),this[_0x4e84d9(0x1af)]=_0x23dade,this[_0x4e84d9(0x154)]=_0x2d3a74,this['_sparklineDataSourceModel']=_0xf554b2,this[_0x4e84d9(0x13e)]();}['_initSheetChange'](){const _0xb776e3=_0x493699;this[_0xb776e3(0x203)](this[_0xb776e3(0x154)]['interceptCommand']({'getMutations':_0x5d299f=>{const _0x5c1092=_0xb776e3;var _0x32d184;if(_0x5d299f['id']===_0x41358c[_0x5c1092(0x1bf)]['id']){const _0x1c2a2d=_0x5d299f['params'],_0x255a63=_0x1c2a2d[_0x5c1092(0x157)]||this[_0x5c1092(0x1af)][_0x5c1092(0x1df)](_0x199790['UniverInstanceType'][_0x5c1092(0x230)])[_0x5c1092(0x13b)](),_0x276795=_0x1c2a2d[_0x5c1092(0x1e6)]||((_0x32d184=this[_0x5c1092(0x1af)][_0x5c1092(0x1df)](_0x199790['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']())==null?void 0x0:_0x32d184[_0x5c1092(0x145)]());if(!_0x255a63||!_0x276795)return{'redos':[],'undos':[]};const _0x563c4c=this[_0x5c1092(0x1fe)][_0x5c1092(0x1b0)](_0x255a63,_0x276795);if(!_0x563c4c)return{'redos':[],'undos':[]};const _0x138708=new Set(),_0x2f27e7={};for(const [_0x3a5fd1,_0x1f07e3]of _0x563c4c)_0x138708[_0x5c1092(0x23b)](_0x3a5fd1),_0x2f27e7[_0x3a5fd1]={'config':_0x199790['Tools'][_0x5c1092(0x1d7)](_0x1f07e3[_0x5c1092(0x1a1)]),'sparklines':_0x199790[_0x5c1092(0x17f)][_0x5c1092(0x1d7)](_0x1f07e3[_0x5c1092(0x228)][_0x5c1092(0x158)]())};if(_0x138708[_0x5c1092(0x213)])return{'redos':[{'id':_0x5800d3['id'],'params':{'unitId':_0x255a63,'subUnitId':_0x276795,'groupIds':Array['from'](_0x138708),'isSingle':!0x1}}],'undos':[{'id':_0x5acc40['id'],'params':{'unitId':_0x255a63,'subUnitId':_0x276795,'sparklineConfigMap':_0x2f27e7}}]};}else{if(_0x5d299f['id']===_0x41358c['CopySheetCommand']['id']){const _0x4965d2=_0x5d299f[_0x5c1092(0x1ff)],{unitId:_0x3ab595,subUnitId:_0x4a5af9,targetSubUnitId:_0x9a2ba7}=_0x4965d2;if(!_0x3ab595||!_0x4a5af9||!_0x9a2ba7)return{'redos':[],'undos':[]};const _0x500e85=this[_0x5c1092(0x1fe)][_0x5c1092(0x1b0)](_0x3ab595,_0x4a5af9);if(!_0x500e85)return{'redos':[],'undos':[]};const _0x440ba7=new Set(),_0x39625e={};for(const [_0x40b0bd,_0x26991f]of _0x500e85){const _0x7aef18='g_'+_0x199790[_0x5c1092(0x15f)](0x6);_0x440ba7[_0x5c1092(0x23b)](_0x40b0bd),_0x39625e[_0x7aef18]={'config':_0x199790['Tools'][_0x5c1092(0x1d7)](_0x26991f[_0x5c1092(0x1a1)]),'sparklines':_0x199790[_0x5c1092(0x17f)]['deepClone'](_0x26991f[_0x5c1092(0x228)][_0x5c1092(0x158)]())};}if(_0x440ba7[_0x5c1092(0x213)])return{'redos':[{'id':_0x5acc40['id'],'params':{'unitId':_0x3ab595,'subUnitId':_0x9a2ba7,'sparklineConfigMap':_0x39625e}}],'undos':[{'id':_0x5800d3['id'],'params':{'unitId':_0x3ab595,'subUnitId':_0x9a2ba7,'groupIds':Array[_0x5c1092(0x1a9)](_0x440ba7),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x41bb32=_0x1c90af([_0x3b72a4(0x0,_0x199790[_0x493699(0x1e0)](_0x199790[_0x493699(0x138)])),_0x3b72a4(0x1,_0x199790['Inject'](_0x41358c[_0x493699(0x1a6)])),_0x3b72a4(0x2,_0x199790[_0x493699(0x1e0)](_0xd07b84[_0x493699(0x193)]))],_0x41bb32);var _0x36b76a=Object[_0x493699(0x1bd)],_0x3b04fc=(_0x1b97a5,_0x197a0f,_0x6f03af,_0x2e12d8)=>{const _0x18ec76=_0x493699;for(var _0x41390e=_0x2e12d8>0x1?void 0x0:_0x2e12d8?_0x36b76a(_0x197a0f,_0x6f03af):_0x197a0f,_0x58c5b3=_0x1b97a5[_0x18ec76(0x183)]-0x1,_0x4e02fc;_0x58c5b3>=0x0;_0x58c5b3--)(_0x4e02fc=_0x1b97a5[_0x58c5b3])&&(_0x41390e=_0x4e02fc(_0x41390e)||_0x41390e);return _0x41390e;},_0x5064c5=(_0x2719ec,_0x31abd8)=>(_0x3ddd02,_0x109e02)=>_0x31abd8(_0x3ddd02,_0x109e02,_0x2719ec);let _0xe77cab=class extends _0x199790[_0x493699(0x19d)]{constructor(_0x149eff,_0x2b562a){const _0x57963a=_0x493699;super(),this[_0x57963a(0x1d8)]=_0x149eff,this['_sparklineDataSourceModel']=_0x2b562a,this[_0x57963a(0x19e)]();}[_0x493699(0x19e)](){const _0x1c01ff=_0x493699,_0x4aecc9=_0x67144d=>{const _0x1960b9=_0x3e04,_0x3c0f48=this[_0x1960b9(0x1fe)]['toJSON'](_0x67144d);return _0x3c0f48?JSON[_0x1960b9(0x1a5)](_0x3c0f48):'';},_0x1f89c9=_0x37a108=>_0x37a108?JSON[_0x1c01ff(0x207)](_0x37a108):{};this[_0x1c01ff(0x203)](this[_0x1c01ff(0x1d8)]['registerPluginResource']({'toJson':_0x4aecc9,'parseJson':_0x1f89c9,'pluginName':_0x5b1335,'businesses':[_0x199790[_0x1c01ff(0x172)][_0x1c01ff(0x230)]],'onLoad':(_0x22fb81,_0x39f2a6)=>{const _0x3cc338=_0x1c01ff;this['_sparklineDataSourceModel'][_0x3cc338(0x1d2)](_0x39f2a6);},'onUnLoad':_0x169601=>{const _0x4febed=_0x1c01ff;this['_sparklineDataSourceModel'][_0x4febed(0x17d)](_0x169601);}}));}};_0xe77cab=_0x3b04fc([_0x5064c5(0x0,_0x199790['Inject'](_0x199790[_0x493699(0x189)])),_0x5064c5(0x1,_0x199790[_0x493699(0x1e0)](_0xd07b84[_0x493699(0x193)]))],_0xe77cab);var _0x3d64c1=Object[_0x493699(0x1ae)],_0x239e09=Object['getOwnPropertyDescriptor'],_0x2e2d9d=(_0x5f5068,_0x29de03,_0x3a1010)=>_0x29de03 in _0x5f5068?_0x3d64c1(_0x5f5068,_0x29de03,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a1010}):_0x5f5068[_0x29de03]=_0x3a1010,_0x65ac60=(_0x48e030,_0x2e00bc,_0x20ae27,_0x5b16ea)=>{const _0x26a6bb=_0x493699;for(var _0x5a9743=_0x5b16ea>0x1?void 0x0:_0x5b16ea?_0x239e09(_0x2e00bc,_0x20ae27):_0x2e00bc,_0x4792b7=_0x48e030[_0x26a6bb(0x183)]-0x1,_0x313660;_0x4792b7>=0x0;_0x4792b7--)(_0x313660=_0x48e030[_0x4792b7])&&(_0x5a9743=_0x313660(_0x5a9743)||_0x5a9743);return _0x5a9743;},_0x1148b6=(_0x3d3a6f,_0x347713)=>(_0x4d5350,_0x30eebe)=>_0x347713(_0x4d5350,_0x30eebe,_0x3d3a6f),_0xfd70de=(_0x291a45,_0x12b547,_0x344db1)=>_0x2e2d9d(_0x291a45,typeof _0x12b547!=_0x493699(0x15a)?_0x12b547+'':_0x12b547,_0x344db1);_0xd07b84[_0x493699(0x163)]=class extends _0x199790[_0x493699(0x1cd)]{constructor(_0x57bd0b={},_0x5b09cd,_0x3fafee){const _0x4bb81c=_0x493699;super(),this[_0x4bb81c(0x1ee)]=_0x57bd0b,this[_0x4bb81c(0x1db)]=_0x5b09cd,this[_0x4bb81c(0x1e8)]=_0x3fafee,this[_0x4bb81c(0x21f)](),this['_initRegisterCommand']();}[_0x493699(0x21f)](){const _0x1ddd8b=_0x493699;[[_0xd07b84['SparklineDataSourceModel']],[_0x44f8ab],[_0x2148d1],[_0x5debfb],[_0x1fa248],[_0x3c9a94],[_0x41bb32],[_0xe77cab]][_0x1ddd8b(0x1f7)](_0xb3a84a=>{const _0x343a91=_0x1ddd8b;this[_0x343a91(0x1db)][_0x343a91(0x23b)](_0xb3a84a);}),_0x199790['touchDependencies'](this[_0x1ddd8b(0x1db)],[[_0xe77cab]]);}['onReady'](){_0x199790['touchDependencies'](this['_injector'],[[_0x44f8ab],[_0x2148d1],[_0x5debfb],[_0x1fa248],[_0x3c9a94],[_0x41bb32]]);}[_0x493699(0x13a)](){const _0x5b0376=_0x493699;[_0x4c9288,_0x5acc40,_0x819cf9,_0x5800d3,_0x58a5e0,_0x2ddf23][_0x5b0376(0x1f7)](_0x53f4c5=>this[_0x5b0376(0x1e8)][_0x5b0376(0x204)](_0x53f4c5));}},_0xfd70de(_0xd07b84['UniverSheetSparklinePlugin'],_0x493699(0x1c8),_0x5b1335),_0xfd70de(_0xd07b84['UniverSheetSparklinePlugin'],_0x493699(0x1dd),_0x199790[_0x493699(0x172)][_0x493699(0x230)]),_0xd07b84[_0x493699(0x163)]=_0x65ac60([_0x199790[_0x493699(0x1f1)](_0x5251fc['UniverLicensePlugin']),_0x1148b6(0x1,_0x199790['Inject'](_0x199790[_0x493699(0x237)])),_0x1148b6(0x2,_0x199790[_0x493699(0x1e0)](_0x199790['ICommandService']))],_0xd07b84['UniverSheetSparklinePlugin']),_0xd07b84[_0x493699(0x191)]=_0x4c9288,_0xd07b84['AddSheetSparklineMutation']=_0x5acc40,_0xd07b84[_0x493699(0x1c5)]=_0x5b1335,_0xd07b84[_0x493699(0x22e)]=_0x819cf9,_0xd07b84[_0x493699(0x178)]=_0x5800d3,_0xd07b84[_0x493699(0x176)]=_0x58a5e0,_0xd07b84[_0x493699(0x16e)]=_0x2ddf23,_0xd07b84['SpacialShowAsEnum']=_0x4cf0e2,_0xd07b84[_0x493699(0x1c9)]=_0x1b45db,_0xd07b84[_0x493699(0x232)]=_0x5969e1,_0xd07b84[_0x493699(0x14f)]=_0xded8bd,_0xd07b84[_0x493699(0x226)]=_0x1c80c5,_0xd07b84[_0x493699(0x16c)]=_0x458e19,_0xd07b84[_0x493699(0x20f)]=_0xf6b471,Object['defineProperty'](_0xd07b84,Symbol[_0x493699(0x194)],{'value':_0x493699(0x16a)});}));function _0x3e04(_0x119472,_0x4157d1){_0x119472=_0x119472-0x138;const _0x1bec2d=_0x1bec();let _0x3e04be=_0x1bec2d[_0x119472];return _0x3e04be;}function _0x1bec(){const _0x85530a=['CellValueType','number','DependentOn','6778968adCOGg','Rectangle','hasValue','rxjs','_sheetSelectionService','forEach','_initMergeWithSparkline','rgb(252,117,60)','set','getCell','entries','ClearSelectionAllCommand','_sparklineDataSourceModel','params','DISTINCTIVE','@univerjs-pro/license','distinctive','disposeWithMe','registerCommand','sheet.mutation.set-sparkline','max','parse','zero_value','removeColumns','isValidRange','SetColVisibleMutation','has','_initExclusiveRangeChange','IExclusiveRangeService','getSparklinePlacement','removeSparkline','realDeleteValue','object','size','rgb(46,187,122)','row','updateSparklineExtraNum','map','ICommandService','_initClearWithSparkline','extremumMax','_initCorrectRangeWithSparkline','setSparkline','_refRangeService','NUMBER','_initDependencies','getSizeOf','asObservable','RemoveColMutation','14532705vqyXYA','subscribe','getSheetCommandTarget','SparklineThemeTypeEnum','every','sparklines','moveColumns','InsertColMutation','getCellRaw','_ensureConfigMap','item','RemoveSheetSparklineCommand','assign','UNIVER_SHEET','fresh','SparklinePointsNames','rgb(248,190,21)','lastPoint','SetRowVisibleMutation','get','Injector','adjustRangeOnMutation','forValue','GROUP_EXTREMUM','add','RemoveColCommand','push','RemoveRowMutation','RefRangeService','_onRefRangeChange','MAX_SAFE_INTEGER','groupId','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','IUniverInstanceService','SetRowHiddenMutation','_initRegisterCommand','getUnitId','ObjectMatrix','SPACING','_initSheetChange','toJSON','rgb(54,78,244)','SetColHiddenMutation','setValue','sheet.command.set-sparkline','delete','getSheetId','SetRangeValuesMutation','COMMAND','dispose','MoveColsMutation','remove','sheet.mutation.remove-sparkline','custom','PROFIT_AND_LOSS_CHART','CUSTOM_EXTREMUM','SparklineThemeMapping','negativePoint','soft','cellToRange','getMatrix','_sheetInterceptorService','UniverProLicense','getSparkline','unitId','clone','BOOLEAN','symbol','moveRows','_initDataChangeListener','rgb(30,177,189)','NORMAL','generateRandomId','removeRows','sparklineModel','highPoint','UniverSheetSparklinePlugin','amd','spacing','range','_getRefRangeMutationsByDeleteCols','some','rgb(49,106,246)','Module','extremumMin','SparklineTypeEnum','getSheetBySheetId','SetSheetSparklineMutation','DisposableCollection','445804ZTwYjE','getRowVisible','UniverInstanceType','seriesColor','_sparklineModel','getSparklineCache','SetSheetSparklineCommand','FORCE_STRING','RemoveSheetSparklineMutation','414SYfxle','sheet.mutation.add-sparkline','min','pushUndoRedo','deleteUnit','SetWorksheetActivateCommand','Tools','ColorKit','AddWorksheetMergeCommand','intersects','length','RANGE_TYPE','UniverSheets','STANDARD','STRING','containHiddenCells','IResourceManagerService','1690353nYTItF','endRow','8SWxIEJ','Range','foreach','rgb(124,66,147)','MIN_SAFE_INTEGER','AddSheetSparklineCommand','u-spacing','SparklineDataSourceModel','toStringTag','IUndoRedoService','column','setAlpha','updateConfig$','ranges','getCurrentSelections','actualColumn','exports','Disposable','_initSnapshot','17720jBloHt','keys','config','reBuildAnchorCache','LINE_CHART','next','stringify','SheetInterceptorService','themeType','_updateConfig$','from','actualRow','_initHideRowColWithSparkline','MUTATION','standard','defineProperty','_univerInstanceService','getSubUnitSparkline','MoveRowsMutation','getValue','CommandType','getColVisible','nonNumShowAs','onCommandExecuted','SELF_EXTREMUM','sheet.command.remove-sparkline','registerRefRange','ReorderRangeMutation','47237oWqLch','PIE_CHART','getOwnPropertyDescriptor','removePartSparkline','RemoveSheetCommand','interceptCommand','addSparkline','markersPoint','toRgbString','_ensureAnchorMatrix','PLUGIN_NAME','endColumn','getSparklineById','pluginName','SparklineExtremumTypeEnum','u-connect','_getRefRangeMutationsByDeleteRows','lowPoint','Plugin','clearSparklineCache','FRESH','value','startRow','fromJSON','InsertRowMutation','sequenceExecute','SheetsSelectionsService','BAR_CHART','deepClone','_resourceManagerService','startColumn','matrix','_injector','CONNECT_WITH_LINE','type','_exclusiveRangeService','getCurrentUnitOfType','Inject','3990455zZhehK','changeDataSourceInfo','ZERO_VALUE','RemoveRowCommand','refRangeHandle','subUnitId','firstPoint','_commandService','CUSTOM','sparklineAnchorMap','SOFT','_sparklineAnchorMap','disposableCollection','_config'];_0x1bec=function(){return _0x85530a;};return _0x1bec();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-sparkline",
|
|
3
|
-
"version": "0.13.0-insiders.
|
|
3
|
+
"version": "0.13.0-insiders.20251223-857805c",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "sparkline for Univer.",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"rxjs": ">=7.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@univerjs-pro/license": "0.13.0-insiders.
|
|
66
|
-
"@univerjs/
|
|
67
|
-
"@univerjs/
|
|
65
|
+
"@univerjs-pro/license": "0.13.0-insiders.20251223-857805c",
|
|
66
|
+
"@univerjs/sheets": "0.13.0-insiders.20251223-857805c",
|
|
67
|
+
"@univerjs/core": "0.13.0-insiders.20251223-857805c"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"rxjs": "7.8.2",
|