@univerjs-pro/sheets-sparkline 0.11.0-nightly.202511151013 → 0.12.0-nightly.202511220628
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 +5 -5
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2fecc2,_0x564b03){const _0x42a2f1=_0x373c,_0x4f4574=_0x2fecc2();while(!![]){try{const _0x2d0739=parseInt(_0x42a2f1(0x275))/0x1*(-parseInt(_0x42a2f1(0x1e9))/0x2)+-parseInt(_0x42a2f1(0x1df))/0x3*(-parseInt(_0x42a2f1(0x1af))/0x4)+-parseInt(_0x42a2f1(0x1ca))/0x5*(parseInt(_0x42a2f1(0x26d))/0x6)+parseInt(_0x42a2f1(0x1f4))/0x7+parseInt(_0x42a2f1(0x1a1))/0x8+parseInt(_0x42a2f1(0x209))/0x9+-parseInt(_0x42a2f1(0x267))/0xa;if(_0x2d0739===_0x564b03)break;else _0x4f4574['push'](_0x4f4574['shift']());}catch(_0x223b98){_0x4f4574['push'](_0x4f4574['shift']());}}}(_0x1ceb,0x1b747),function(_0x3b9ecf,_0x1264ee){const _0x3d505a=_0x373c;typeof exports==_0x3d505a(0x201)&&typeof module<'u'?_0x1264ee(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x3d505a(0x223)&&define['amd']?define([_0x3d505a(0x24c),_0x3d505a(0x1c8),_0x3d505a(0x229),_0x3d505a(0x27d),_0x3d505a(0x27b)],_0x1264ee):(_0x3b9ecf=typeof globalThis<'u'?globalThis:_0x3b9ecf||self,_0x1264ee(_0x3b9ecf[_0x3d505a(0x226)]={},_0x3b9ecf[_0x3d505a(0x28b)],_0x3b9ecf[_0x3d505a(0x218)],_0x3b9ecf[_0x3d505a(0x27d)],_0x3b9ecf[_0x3d505a(0x1c6)]));}(this,function(_0x3bedd9,_0x277ff5,_0x4ae431,_0x262d0f,_0xd9902d){'use strict';const _0x1fc749=_0x373c;var _0x31f32e=Object[_0x1fc749(0x1be)],_0xec5bea=(_0x5bc4c9,_0x48e240,_0x573c1d)=>_0x48e240 in _0x5bc4c9?_0x31f32e(_0x5bc4c9,_0x48e240,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x573c1d}):_0x5bc4c9[_0x48e240]=_0x573c1d,_0xd403f5=(_0x4b744f,_0x715ddb,_0x4b990f)=>_0xec5bea(_0x4b744f,typeof _0x715ddb!='symbol'?_0x715ddb+'':_0x715ddb,_0x4b990f);function _0x1e33a9(_0x396cc6,_0x2eef29){const _0x3253e4=_0x1fc749,_0x38a87e=new _0x277ff5['ObjectMatrix'](),_0x1f95df=[],_0x3eddb6=_0x396cc6[_0x3253e4(0x277)]>0x1;let _0x5d1f63=0x0,_0x2fb32d=0x0;for(const _0x19d472 of _0x396cc6)_0x5d1f63+=_0x19d472[_0x3253e4(0x26f)]-_0x19d472['startRow']+0x1,_0x2fb32d+=_0x19d472[_0x3253e4(0x1d6)]-_0x19d472[_0x3253e4(0x240)]+0x1;for(const _0x5e5f3e of _0x2eef29)for(let _0x4e10c6=_0x5e5f3e['startRow'];_0x4e10c6<=_0x5e5f3e[_0x3253e4(0x26f)];_0x4e10c6++)for(let _0x1afc2f=_0x5e5f3e[_0x3253e4(0x240)];_0x1afc2f<=_0x5e5f3e[_0x3253e4(0x1d6)];_0x1afc2f++)_0x1f95df[_0x3253e4(0x273)]({'row':_0x4e10c6,'column':_0x1afc2f});if(_0x1f95df[_0x3253e4(0x277)]===_0x5d1f63)_0x3eddb6?_0x1f95df['forEach']((_0x35d979,_0x182f50)=>{const _0x29c996=_0x3253e4,_0x112a08=_0x396cc6[_0x182f50],_0x433481={'startRow':_0x112a08[_0x29c996(0x282)],'startColumn':_0x112a08[_0x29c996(0x240)],'endRow':_0x112a08['startRow'],'endColumn':_0x112a08[_0x29c996(0x1d6)]};_0x38a87e[_0x29c996(0x1c7)](_0x35d979[_0x29c996(0x1f6)],_0x35d979['column'],_0x433481);}):_0x1f95df[_0x3253e4(0x284)]((_0x2ddb91,_0x22701a)=>{const _0x3c45a1=_0x3253e4,_0x20762c=_0x396cc6[0x0],_0x47df8f={'startRow':_0x20762c[_0x3c45a1(0x282)]+_0x22701a,'startColumn':_0x20762c[_0x3c45a1(0x240)],'endRow':_0x20762c[_0x3c45a1(0x282)]+_0x22701a,'endColumn':_0x20762c[_0x3c45a1(0x1d6)]};_0x38a87e[_0x3c45a1(0x1c7)](_0x2ddb91['row'],_0x2ddb91[_0x3c45a1(0x1cc)],_0x47df8f);});else{if(_0x1f95df[_0x3253e4(0x277)]===_0x2fb32d)_0x3eddb6?_0x1f95df['forEach']((_0xabab4c,_0x4cdcb0)=>{const _0x4ed004=_0x3253e4,_0x147ab2=_0x396cc6[_0x4cdcb0],_0x4ecb04={'startRow':_0x147ab2[_0x4ed004(0x282)],'startColumn':_0x147ab2[_0x4ed004(0x240)],'endRow':_0x147ab2['endRow'],'endColumn':_0x147ab2[_0x4ed004(0x240)]};_0x38a87e[_0x4ed004(0x1c7)](_0xabab4c[_0x4ed004(0x1f6)],_0xabab4c[_0x4ed004(0x1cc)],_0x4ecb04);}):_0x1f95df[_0x3253e4(0x284)]((_0x55f490,_0x1b1a59)=>{const _0x593338=_0x3253e4,_0x41fa65=_0x396cc6[0x0],_0x82f372={'startRow':_0x41fa65[_0x593338(0x282)],'startColumn':_0x41fa65[_0x593338(0x240)]+_0x1b1a59,'endRow':_0x41fa65[_0x593338(0x26f)],'endColumn':_0x41fa65[_0x593338(0x240)]+_0x1b1a59};_0x38a87e[_0x593338(0x1c7)](_0x55f490[_0x593338(0x1f6)],_0x55f490['column'],_0x82f372);});else{if(_0x1f95df[_0x3253e4(0x277)]===_0x396cc6['length'])_0x396cc6[_0x3253e4(0x211)](_0xcc0263=>!(_0xcc0263[_0x3253e4(0x282)]!==_0xcc0263['endRow']&&_0xcc0263[_0x3253e4(0x240)]!==_0xcc0263[_0x3253e4(0x1d6)]))&&_0x1f95df['forEach']((_0x27c5b,_0x2f30b9)=>{const _0x5824e1=_0x3253e4,_0x32bb03=_0x396cc6[_0x2f30b9];_0x38a87e[_0x5824e1(0x1c7)](_0x27c5b[_0x5824e1(0x1f6)],_0x27c5b['column'],_0x32bb03);});else throw new Error(_0x3253e4(0x1e4));}}return _0x38a87e;}const _0x4a0380=_0x1fc749(0x1e8),_0x441fb0={'standard':[_0x1fc749(0x18f),_0x1fc749(0x1b3)],'specialty':['rgb(49,106,246)',_0x1fc749(0x243)],'distinctive':['rgb(124,66,147)',_0x1fc749(0x1d2)],'soft':[_0x1fc749(0x19e),_0x1fc749(0x1d5)],'fresh':[_0x1fc749(0x215),_0x1fc749(0x1ee)]},_0x4b8386=[_0x1fc749(0x23c),_0x1fc749(0x190),_0x1fc749(0x1ba),_0x1fc749(0x1fd),_0x1fc749(0x20f),'markersPoint'];var _0x7a2019=(_0x25cc2f=>(_0x25cc2f['STANDARD']='standard',_0x25cc2f[_0x1fc749(0x217)]=_0x1fc749(0x19f),_0x25cc2f['DISTINCTIVE']=_0x1fc749(0x1ae),_0x25cc2f[_0x1fc749(0x286)]=_0x1fc749(0x248),_0x25cc2f[_0x1fc749(0x200)]=_0x1fc749(0x1c4),_0x25cc2f[_0x1fc749(0x1f8)]=_0x1fc749(0x1db),_0x25cc2f))(_0x7a2019||{}),_0x5c8cca=(_0x4cbe74=>(_0x4cbe74[_0x4cbe74[_0x1fc749(0x1eb)]=0x1]=_0x1fc749(0x1eb),_0x4cbe74[_0x4cbe74[_0x1fc749(0x202)]=0x2]=_0x1fc749(0x202),_0x4cbe74[_0x4cbe74[_0x1fc749(0x219)]=0x3]=_0x1fc749(0x219),_0x4cbe74[_0x4cbe74[_0x1fc749(0x255)]=0x4]=_0x1fc749(0x255),_0x4cbe74))(_0x5c8cca||{}),_0x428b6d=(_0x38b7b8=>(_0x38b7b8[_0x1fc749(0x264)]=_0x1fc749(0x1cf),_0x38b7b8[_0x1fc749(0x24b)]='zero_value',_0x38b7b8[_0x1fc749(0x1ef)]='connect_with_line',_0x38b7b8))(_0x428b6d||{}),_0x15b112=(_0x184d28=>(_0x184d28[_0x184d28[_0x1fc749(0x1fe)]=0x1]=_0x1fc749(0x1fe),_0x184d28[_0x184d28[_0x1fc749(0x1ac)]=0x2]=_0x1fc749(0x1ac),_0x184d28[_0x184d28[_0x1fc749(0x204)]=0x3]=_0x1fc749(0x204),_0x184d28))(_0x15b112||{}),_0x5734bb=Object[_0x1fc749(0x212)],_0x224fed=(_0x1b6b19,_0x1508ab,_0x3bf3ac,_0x3343d8)=>{for(var _0x1f751d=_0x3343d8>0x1?void 0x0:_0x3343d8?_0x5734bb(_0x1508ab,_0x3bf3ac):_0x1508ab,_0x35db3b=_0x1b6b19['length']-0x1,_0x5a3585;_0x35db3b>=0x0;_0x35db3b--)(_0x5a3585=_0x1b6b19[_0x35db3b])&&(_0x1f751d=_0x5a3585(_0x1f751d)||_0x1f751d);return _0x1f751d;},_0x50647e=(_0x19d776,_0xcce758)=>(_0x37c73d,_0x113a92)=>_0xcce758(_0x37c73d,_0x113a92,_0x19d776);_0x3bedd9[_0x1fc749(0x1b0)]=class extends _0x277ff5[_0x1fc749(0x1f1)]{constructor(_0x3487f6){const _0x4801e2=_0x1fc749;super(),_0xd403f5(this,_0x4801e2(0x1ff),new Map()),_0xd403f5(this,_0x4801e2(0x256),new Map()),_0xd403f5(this,_0x4801e2(0x258),new _0x262d0f[(_0x4801e2(0x1b2))]()),_0xd403f5(this,_0x4801e2(0x249),this[_0x4801e2(0x258)][_0x4801e2(0x22e)]()),this['_univerInstanceService']=_0x3487f6;}[_0x1fc749(0x208)](_0x42dc75,_0x42462f){const _0x2aa6fc=_0x1fc749;let _0x3cb847=this['_sparklineModel']['get'](_0x42dc75);_0x3cb847||(_0x3cb847=new Map(),this['_sparklineModel'][_0x2aa6fc(0x196)](_0x42dc75,_0x3cb847));let _0x4bfdcd=_0x3cb847[_0x2aa6fc(0x24f)](_0x42462f);return _0x4bfdcd||(_0x4bfdcd=new Map(),_0x3cb847[_0x2aa6fc(0x196)](_0x42462f,_0x4bfdcd)),_0x4bfdcd;}['_ensureAnchorMatrix'](_0x2a0f2c,_0x2ea86e){const _0x156a97=_0x1fc749;let _0x43ff42=this[_0x156a97(0x256)][_0x156a97(0x24f)](_0x2a0f2c);_0x43ff42||(_0x43ff42=new Map(),this['_sparklineAnchorMap']['set'](_0x2a0f2c,_0x43ff42));let _0x5387c3=_0x43ff42['get'](_0x2ea86e);return _0x5387c3||(_0x5387c3={'matrix':new _0x277ff5[(_0x156a97(0x253))](),'extra':{}},_0x43ff42['set'](_0x2ea86e,_0x5387c3)),_0x5387c3;}[_0x1fc749(0x1cd)](_0x233ac6,_0x23ac76,_0x1d4ef3,_0x2d46fb='set'){const _0x99ccf0=_0x1fc749;var _0x34babc,_0x537538,_0xcd25b,_0x5e26b9,_0xcba902,_0x31b292,_0x48a8f3,_0x15224b,_0x3b6530,_0x1f6251,_0x2a651c,_0x294ae7,_0x2723c6;const _0x41f980=(_0x537538=(_0x34babc=this[_0x99ccf0(0x1ff)][_0x99ccf0(0x24f)](_0x233ac6))==null?void 0x0:_0x34babc[_0x99ccf0(0x24f)](_0x23ac76))==null?void 0x0:_0x537538['get'](_0x1d4ef3);if(!_0x41f980)return;const _0x575fc5=_0x4ae431[_0x99ccf0(0x1e7)](this[_0x99ccf0(0x274)],{'unitId':_0x233ac6,'subUnitId':_0x23ac76});if(!_0x575fc5)return;const _0x3b8c25=this[_0x99ccf0(0x230)](_0x233ac6,_0x23ac76),{extra:_0x124483,matrix:_0x3b9585}=_0x3b8c25,{worksheet:_0x57ef80}=_0x575fc5;let _0x160fcf=Number[_0x99ccf0(0x22f)],_0x3ccbf4=Number[_0x99ccf0(0x20a)];const _0x411d3c=(_0xcd25b=_0x41f980[_0x99ccf0(0x25e)][_0x99ccf0(0x1a4)])!=null?_0xcd25b:!0x1;_0x41f980[_0x99ccf0(0x1e2)][_0x99ccf0(0x222)]((_0xf9a250,_0x5b1b41,_0x4ff402)=>{const _0x246280=_0x99ccf0;var _0xdbc332,_0x242360,_0x4383b7;const _0xfa819c=_0x4ff402;let _0x459b78=Number[_0x246280(0x22f)],_0x4ea288=Number[_0x246280(0x20a)],_0xe84727=0x0,_0x22abe4=0x0;const _0x226bc1=[];if(!_0x277ff5['isValidRange'](_0xfa819c))_0x3b9585[_0x246280(0x1c7)](_0xf9a250,_0x5b1b41,{'groupId':_0x1d4ef3,'data':[],'max':_0x459b78,'min':_0x4ea288,'highIndex':_0xe84727,'lowIndex':_0x22abe4,'negativeIndexes':_0x226bc1});else{const _0x11f316=[];for(let _0x4c291a=_0xfa819c['startRow'];_0x4c291a<=_0xfa819c['endRow'];_0x4c291a++){for(let _0x461d0f=_0xfa819c[_0x246280(0x240)];_0x461d0f<=_0xfa819c[_0x246280(0x1d6)];_0x461d0f++){const _0xce1ca=_0x57ef80[_0x246280(0x254)](_0x4c291a),_0x2e9c5e=_0x57ef80[_0x246280(0x1ab)](_0x461d0f);if(!_0x411d3c&&(!_0xce1ca||!_0x2e9c5e))continue;let _0xafcccc=0x0;const _0x12ddf8=((_0xdbc332=_0x57ef80[_0x246280(0x231)](_0x4c291a,_0x461d0f))==null?void 0x0:_0xdbc332['v'])!==void 0x0?_0x57ef80[_0x246280(0x231)](_0x4c291a,_0x461d0f):_0x57ef80['getCell'](_0x4c291a,_0x461d0f);if(!_0x12ddf8||_0x12ddf8['v']===void 0x0||_0x12ddf8['v']===null){const _0x417b39=(_0x242360=_0x41f980[_0x246280(0x25e)]['emptyShowAs'])!=null?_0x242360:_0x428b6d['SPACING'];_0x417b39===_0x428b6d['ZERO_VALUE']?_0xafcccc=0x0:_0x417b39===_0x428b6d[_0x246280(0x264)]?_0xafcccc=_0x246280(0x1f2):_0x417b39===_0x428b6d[_0x246280(0x1ef)]&&(_0xafcccc='u-connect');}else{if(_0x12ddf8['t']===_0x277ff5[_0x246280(0x1c9)][_0x246280(0x242)]||_0x12ddf8['t']===_0x277ff5['CellValueType'][_0x246280(0x198)]){const _0xfa691e=(_0x4383b7=_0x41f980[_0x246280(0x25e)]['nonNumShowAs'])!=null?_0x4383b7:_0x428b6d[_0x246280(0x264)];_0xfa691e===_0x428b6d['ZERO_VALUE']?_0xafcccc=0x0:_0xfa691e===_0x428b6d[_0x246280(0x264)]?_0xafcccc=_0x246280(0x1f2):_0xfa691e===_0x428b6d[_0x246280(0x1ef)]&&(_0xafcccc=_0x246280(0x287));}else _0x12ddf8['t']===_0x277ff5[_0x246280(0x1c9)][_0x246280(0x236)]?_0xafcccc=_0x12ddf8['v']?0x1:0x0:_0x12ddf8['t']===_0x277ff5[_0x246280(0x1c9)][_0x246280(0x23a)]?_0xafcccc=Number(_0x12ddf8['v']):_0xafcccc=_0x12ddf8['v'];}if(_0x11f316[_0x246280(0x273)](_0xafcccc),typeof _0xafcccc==_0x246280(0x1d9)){_0x459b78=Math[_0x246280(0x24d)](_0x459b78,_0xafcccc),_0x160fcf=Math[_0x246280(0x24d)](_0x160fcf,_0xafcccc),_0x3ccbf4=Math[_0x246280(0x1a5)](_0x3ccbf4,_0xafcccc),_0x4ea288=Math[_0x246280(0x1a5)](_0x4ea288,_0xafcccc);const _0x376474=typeof _0x11f316[_0xe84727]==_0x246280(0x1d9)?Number(_0x11f316[_0xe84727]):Number[_0x246280(0x22f)];_0xafcccc>_0x376474&&(_0xe84727=_0x11f316['length']-0x1);const _0x31481c=typeof _0x11f316[_0x22abe4]=='number'?Number(_0x11f316[_0x22abe4]):Number[_0x246280(0x20a)];_0xafcccc<_0x31481c&&(_0x22abe4=_0x11f316[_0x246280(0x277)]-0x1),_0xafcccc<0x0&&_0x226bc1[_0x246280(0x273)](_0x11f316[_0x246280(0x277)]-0x1);}}_0x3b9585[_0x246280(0x1c7)](_0xf9a250,_0x5b1b41,{'groupId':_0x1d4ef3,'data':_0x11f316,'max':_0x459b78,'min':_0x4ea288,'highIndex':_0xe84727,'lowIndex':_0x22abe4,'negativeIndexes':_0x226bc1});}}});let _0x116d99=_0x160fcf;((_0x5e26b9=_0x41f980[_0x99ccf0(0x25e)][_0x99ccf0(0x1a6)])==null?void 0x0:_0x5e26b9['type'])===_0x15b112[_0x99ccf0(0x204)]&&(_0x116d99=(_0x31b292=(_0xcba902=_0x41f980['config'][_0x99ccf0(0x1a6)])==null?void 0x0:_0xcba902[_0x99ccf0(0x1d1)])!=null?_0x31b292:_0x160fcf);let _0x46c47f=_0x3ccbf4;((_0x48a8f3=_0x41f980[_0x99ccf0(0x25e)][_0x99ccf0(0x199)])==null?void 0x0:_0x48a8f3['type'])===_0x15b112[_0x99ccf0(0x204)]&&(_0x46c47f=(_0x3b6530=(_0x15224b=_0x41f980[_0x99ccf0(0x25e)][_0x99ccf0(0x199)])==null?void 0x0:_0x15224b[_0x99ccf0(0x1d1)])!=null?_0x3b6530:_0x3ccbf4);const _0x37e82e=(_0x1f6251=_0x41f980['config'][_0x99ccf0(0x193)])!=null?_0x1f6251:_0x7a2019[_0x99ccf0(0x1a8)],_0x4adc1c=(_0x2723c6=(_0x294ae7=_0x41f980[_0x99ccf0(0x25e)]['seriesColor'])!=null?_0x294ae7:(_0x2a651c=_0x441fb0[_0x37e82e])==null?void 0x0:_0x2a651c[0x0])!=null?_0x2723c6:_0x441fb0['standard'][0x0],_0x731eb3=new _0x277ff5[(_0x99ccf0(0x27f))](_0x4adc1c),_0x17b41f=_0x731eb3[_0x99ccf0(0x241)](0.2)[_0x99ccf0(0x1a3)](),_0x568560=_0x731eb3[_0x99ccf0(0x241)](0.05)[_0x99ccf0(0x1a3)]();_0x124483[_0x1d4ef3]={'groupMax':_0x160fcf,'groupMin':_0x3ccbf4,'showMax':_0x116d99,'showMin':_0x46c47f,'startGradient':_0x17b41f,'endGradient':_0x568560},this[_0x99ccf0(0x258)][_0x99ccf0(0x20d)]({'unitId':_0x233ac6,'subUnitId':_0x23ac76,'groupId':_0x1d4ef3,'config':_0x41f980,'type':_0x2d46fb});}['addSparkline'](_0x435a89,_0x114e1f,_0x5b1550,_0x2aaaff){const _0x416034=_0x1fc749;this['_ensureConfigMap'](_0x435a89,_0x114e1f)['set'](_0x5b1550,_0x2aaaff),this[_0x416034(0x1cd)](_0x435a89,_0x114e1f,_0x5b1550,_0x416034(0x19a));}[_0x1fc749(0x228)](_0x401d0d,_0x991a69,_0x4aec6a,_0x4527a4){const _0x4a4b68=_0x1fc749;var _0x2f9f03;const _0x3a3a25=(_0x2f9f03=this['_sparklineModel'][_0x4a4b68(0x24f)](_0x401d0d))==null?void 0x0:_0x2f9f03['get'](_0x991a69);_0x4aec6a['forEach'](_0x300da9=>{const _0xe45ef8=_0x4a4b68;_0x3a3a25!=null&&_0x3a3a25[_0xe45ef8(0x1a0)](_0x300da9)&&(_0x3a3a25[_0xe45ef8(0x196)](_0x300da9,_0x4527a4),this[_0xe45ef8(0x1cd)](_0x401d0d,_0x991a69,_0x300da9));});}[_0x1fc749(0x252)](_0x389380,_0x382861,_0x2d0389){const _0xd0acd6=_0x1fc749;var _0x3bdfc5,_0x20808c;const _0x5f53c0=this[_0xd0acd6(0x1ff)][_0xd0acd6(0x24f)](_0x389380);if(_0x5f53c0){const _0x5c398f=_0x5f53c0['get'](_0x382861);if(_0x5c398f){_0x5c398f[_0xd0acd6(0x25c)](_0x2d0389);const _0x1f44da=(_0x3bdfc5=this[_0xd0acd6(0x256)][_0xd0acd6(0x24f)](_0x389380))==null?void 0x0:_0x3bdfc5[_0xd0acd6(0x24f)](_0x382861);(_0x20808c=_0x1f44da==null?void 0x0:_0x1f44da[_0xd0acd6(0x1aa)])==null||_0x20808c['forValue']((_0x1b0d37,_0x44a5b5,_0x12f39f)=>{const _0x595a67=_0xd0acd6;(_0x12f39f==null?void 0x0:_0x12f39f[_0x595a67(0x1f9)])===_0x2d0389&&(_0x1f44da==null||_0x1f44da[_0x595a67(0x1aa)][_0x595a67(0x26e)](_0x1b0d37,_0x44a5b5));}),this['_updateConfig$'][_0xd0acd6(0x20d)]({'unitId':_0x389380,'subUnitId':_0x382861,'groupId':_0x2d0389,'type':'remove'});}}}[_0x1fc749(0x1dd)](_0x3b9d96,_0xd1823b,_0x41ed25,_0x535545){const _0x1cf7ce=_0x1fc749;var _0x663991,_0x47e85a,_0x3c1c99,_0x1f8e92;const _0xdb66c3=(_0x663991=this[_0x1cf7ce(0x256)][_0x1cf7ce(0x24f)](_0x3b9d96))==null?void 0x0:_0x663991[_0x1cf7ce(0x24f)](_0xd1823b),_0xa5c9e3=_0xdb66c3==null?void 0x0:_0xdb66c3['matrix'][_0x1cf7ce(0x26c)](_0x41ed25,_0x535545);if(_0xa5c9e3){const {groupId:_0x4b2797}=_0xa5c9e3,_0x3c2efe=(_0x47e85a=this[_0x1cf7ce(0x1ff)][_0x1cf7ce(0x24f)](_0x3b9d96))==null?void 0x0:_0x47e85a['get'](_0xd1823b);(_0x3c1c99=_0x3c2efe==null?void 0x0:_0x3c2efe[_0x1cf7ce(0x24f)](_0x4b2797))==null||_0x3c1c99[_0x1cf7ce(0x1e2)][_0x1cf7ce(0x26e)](_0x41ed25,_0x535545),(_0x1f8e92=_0x3c2efe==null?void 0x0:_0x3c2efe[_0x1cf7ce(0x24f)](_0x4b2797))!=null&&_0x1f8e92[_0x1cf7ce(0x1e2)][_0x1cf7ce(0x23f)]()||_0x3c2efe==null||_0x3c2efe['delete'](_0x4b2797),_0xdb66c3==null||_0xdb66c3['matrix']['realDeleteValue'](_0x41ed25,_0x535545),this['_updateConfig$'][_0x1cf7ce(0x20d)]({'unitId':_0x3b9d96,'subUnitId':_0xd1823b,'groupId':_0x4b2797,'type':_0x1cf7ce(0x25b)});}}[_0x1fc749(0x1b6)](_0x5e4494,_0x5db5d1,_0x31925e){const _0x126a80=_0x1fc749;var _0x1c4686,_0xfdac79,_0x26d471,_0x549a87;const _0x3f5192=(_0x26d471=(_0xfdac79=(_0x1c4686=this['_sparklineModel'][_0x126a80(0x24f)](_0x5e4494))==null?void 0x0:_0x1c4686['get'](_0x5db5d1))==null?void 0x0:_0xfdac79[_0x126a80(0x24f)](_0x31925e))==null?void 0x0:_0x26d471[_0x126a80(0x1e2)],_0x3b3224=(_0x549a87=this[_0x126a80(0x256)][_0x126a80(0x24f)](_0x5e4494))==null?void 0x0:_0x549a87[_0x126a80(0x24f)](_0x5db5d1);if(_0x3f5192&&_0x3b3224){const {matrix:_0x332d17,extra:_0x4a753f}=_0x3b3224;_0x3f5192[_0x126a80(0x222)]((_0x42aa7a,_0xa89a3a,_0x11a463)=>{_0x332d17['realDeleteValue'](_0x42aa7a,_0xa89a3a);}),delete _0x4a753f[_0x31925e];}}[_0x1fc749(0x1b1)](_0xd11194,_0x585dfb){const _0x2461b6=_0x1fc749;var _0x480a03;return(_0x480a03=this[_0x2461b6(0x1ff)][_0x2461b6(0x24f)](_0xd11194))==null?void 0x0:_0x480a03[_0x2461b6(0x24f)](_0x585dfb);}[_0x1fc749(0x1ea)](_0x419c36,_0x5d0bae,_0x19c4d1){const _0x2aa2ca=_0x1fc749;var _0x428297,_0x152672;return(_0x152672=(_0x428297=this[_0x2aa2ca(0x1ff)][_0x2aa2ca(0x24f)](_0x419c36))==null?void 0x0:_0x428297[_0x2aa2ca(0x24f)](_0x5d0bae))==null?void 0x0:_0x152672['get'](_0x19c4d1);}[_0x1fc749(0x1b9)](_0x313ea0,_0x15e4e0,_0x5b496b,_0x4b9427){const _0x28a225=_0x1fc749;var _0xe07731,_0x18ecc6,_0x3ee454;return(_0x3ee454=(_0x18ecc6=(_0xe07731=this[_0x28a225(0x256)]['get'](_0x313ea0))==null?void 0x0:_0xe07731[_0x28a225(0x24f)](_0x15e4e0))==null?void 0x0:_0x18ecc6['matrix'][_0x28a225(0x26c)](_0x5b496b,_0x4b9427))==null?void 0x0:_0x3ee454['groupId'];}[_0x1fc749(0x26b)](_0x19c8c0,_0x3f44e8){const _0x308937=_0x1fc749;var _0x3b44d4;const _0x2e78dc=this[_0x308937(0x230)](_0x19c8c0,_0x3f44e8);_0x2e78dc[_0x308937(0x1aa)][_0x308937(0x222)]((_0x10bc74,_0x27d774)=>{_0x2e78dc['matrix']['realDeleteValue'](_0x10bc74,_0x27d774);});const _0x358354=(_0x3b44d4=this[_0x308937(0x1ff)]['get'](_0x19c8c0))==null?void 0x0:_0x3b44d4[_0x308937(0x24f)](_0x3f44e8);if(_0x358354){for(const [_0x46373a]of _0x358354)this['updateSparklineExtraNum'](_0x19c8c0,_0x3f44e8,_0x46373a);}}[_0x1fc749(0x288)](){const _0x19d3e1=_0x1fc749;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x19d3e1(0x256)]};}[_0x1fc749(0x283)](_0xfe3c8f){const _0x2f3470=_0x1fc749,_0x132661={};if(this[_0x2f3470(0x1ff)][_0x2f3470(0x1a0)](_0xfe3c8f)){_0x132661[_0xfe3c8f]={};const _0x17a4dc=this['_sparklineModel'][_0x2f3470(0x24f)](_0xfe3c8f);_0x17a4dc!=null&&_0x17a4dc[_0x2f3470(0x27e)]&&Array[_0x2f3470(0x19c)](_0x17a4dc[_0x2f3470(0x192)]())[_0x2f3470(0x284)](_0x45f224=>{const _0x19f76f=_0x2f3470;_0x132661[_0xfe3c8f][_0x45f224]={};const _0xf8b35b=_0x17a4dc[_0x19f76f(0x24f)](_0x45f224);_0xf8b35b!=null&&_0xf8b35b[_0x19f76f(0x27e)]&&Array['from'](_0xf8b35b['keys']())[_0x19f76f(0x284)](_0x2a7f33=>{const _0x3515a3=_0x19f76f,_0x1a5c11=_0xf8b35b[_0x3515a3(0x24f)](_0x2a7f33);_0x1a5c11&&(_0x132661[_0xfe3c8f][_0x45f224][_0x2a7f33]={'config':_0x1a5c11[_0x3515a3(0x25e)],'sparklines':_0x1a5c11[_0x3515a3(0x1e2)][_0x3515a3(0x233)]()});});});}return _0x132661;}[_0x1fc749(0x1bb)](_0x156abf){const _0x463ea1=_0x1fc749;if(!_0x156abf)return;Object[_0x463ea1(0x192)](_0x156abf)['forEach'](_0x4c9dbd=>{const _0x9a7875=_0x463ea1,_0x46df68=_0x156abf[_0x4c9dbd];_0x46df68&&Object[_0x9a7875(0x192)](_0x46df68)[_0x9a7875(0x284)](_0x3c27c1=>{const _0x19799f=_0x9a7875,_0x1fa8ae=_0x46df68[_0x3c27c1];_0x1fa8ae&&Object[_0x19799f(0x192)](_0x1fa8ae)['forEach'](_0x50a124=>{const _0x302695=_0x19799f,_0x217c38=_0x1fa8ae[_0x50a124];if(_0x217c38){const _0x5d8562={'config':_0x217c38[_0x302695(0x25e)],'sparklines':new _0x277ff5[(_0x302695(0x253))](_0x217c38[_0x302695(0x1e2)])};this['addSparkline'](_0x4c9dbd,_0x3c27c1,_0x50a124,_0x5d8562);}});});});}[_0x1fc749(0x1c2)](_0x18479d){const _0x2e3b6d=_0x1fc749,_0x4d0ab6=this['_sparklineModel'][_0x2e3b6d(0x24f)](_0x18479d);if(_0x4d0ab6){for(const [_0x1d4508]of _0x4d0ab6){const _0x530992=_0x4d0ab6[_0x2e3b6d(0x24f)](_0x1d4508);if(_0x530992){for(const [_0x1c98c1]of _0x530992)this[_0x2e3b6d(0x1b6)](_0x18479d,_0x1d4508,_0x1c98c1);}}this[_0x2e3b6d(0x1ff)][_0x2e3b6d(0x25c)](_0x18479d);}}},_0x3bedd9[_0x1fc749(0x1b0)]=_0x224fed([_0x50647e(0x0,_0x277ff5[_0x1fc749(0x1f7)](_0x277ff5['IUniverInstanceService']))],_0x3bedd9[_0x1fc749(0x1b0)]);const _0x1b34d4={'id':'sheet.mutation.add-sparkline','type':_0x277ff5[_0x1fc749(0x245)][_0x1fc749(0x207)],'handler':(_0x312329,_0x1683d5)=>{const _0x114c78=_0x1fc749;if(!_0x1683d5)return!0x1;const {sparklineConfigMap:_0x27eabf,unitId:_0x1d0058,subUnitId:_0x4482a9}=_0x1683d5,_0x1a943d=_0x312329[_0x114c78(0x24f)](_0x3bedd9[_0x114c78(0x1b0)]);return Object[_0x114c78(0x281)](_0x27eabf)[_0x114c78(0x284)](([_0x58b2d8,_0x2a45ec])=>{const _0x52949a=_0x114c78,_0x385474={'config':_0x2a45ec[_0x52949a(0x25e)],'sparklines':new _0x277ff5[(_0x52949a(0x253))](_0x2a45ec['sparklines'])};_0x1a943d['addSparkline'](_0x1d0058,_0x4482a9,_0x58b2d8,_0x385474);}),!0x0;}},_0x11b1d8={'id':_0x1fc749(0x206),'type':_0x277ff5[_0x1fc749(0x245)][_0x1fc749(0x207)],'handler':(_0x2a13d1,_0xa3fc18)=>{const _0x380591=_0x1fc749;if(!_0xa3fc18)return!0x1;const {unitId:_0x5b2759,subUnitId:_0x1ccd3c,ranges:_0x55152e,isSingle:_0x540589,groupIds:_0x4694de}=_0xa3fc18,_0x11b047=_0x2a13d1['get'](_0x3bedd9['SparklineDataSourceModel']);return _0x4694de?(_0x4694de[_0x380591(0x284)](_0x4f6339=>{const _0x38cc92=_0x380591;_0x11b047[_0x38cc92(0x252)](_0x5b2759,_0x1ccd3c,_0x4f6339);}),!0x0):_0x55152e?(_0x55152e['forEach'](_0x32428b=>{const _0x53befa=_0x380591;_0x277ff5[_0x53befa(0x24a)][_0x53befa(0x1c1)](_0x32428b,(_0x594a9e,_0x3a9fee)=>{const _0x4736a7=_0x53befa,_0x260d43=_0x11b047[_0x4736a7(0x1b9)](_0x5b2759,_0x1ccd3c,_0x594a9e,_0x3a9fee);_0x260d43&&(_0x540589?_0x11b047[_0x4736a7(0x1dd)](_0x5b2759,_0x1ccd3c,_0x594a9e,_0x3a9fee):_0x11b047['removeSparkline'](_0x5b2759,_0x1ccd3c,_0x260d43));});}),!0x0):!0x1;}},_0x1edc4d={'id':_0x1fc749(0x251),'type':_0x277ff5['CommandType'][_0x1fc749(0x220)],'handler':(_0x36afd3,_0x3c3bd5)=>{const _0x104441=_0x1fc749;if(!_0x3c3bd5)return!0x1;const {sourceRanges:_0x3dca85,targetRanges:_0x35a1a5,config:_0x4c10c8}=_0x3c3bd5,_0x2e0895=_0x36afd3[_0x104441(0x24f)](_0x277ff5[_0x104441(0x1a9)]),_0x5db230='g_'+_0x277ff5[_0x104441(0x1bc)](0x6),_0x24cbf6=_0x1e33a9(_0x3dca85,_0x35a1a5),_0x692f12={'config':_0x4c10c8!=null?_0x4c10c8:{},'sparklines':_0x24cbf6['getMatrix']()},_0x568d53=_0x36afd3[_0x104441(0x24f)](_0x277ff5['IUniverInstanceService']),_0x2b7ea8=_0x36afd3[_0x104441(0x24f)](_0x3bedd9[_0x104441(0x1b0)]),_0x2321cc=_0x4ae431[_0x104441(0x1e7)](_0x568d53);if(!_0x2321cc)return!0x1;const {unitId:_0x311a04,subUnitId:_0x1793b5}=_0x2321cc,_0x1909ea=_0x36afd3[_0x104441(0x24f)](_0x277ff5[_0x104441(0x262)]),_0x4c1668=[],_0x1c09d8=[],_0x13c360={},_0x134679={},_0x135040=new Set([_0x5db230]);_0x24cbf6['forValue']((_0x830c81,_0x4f17cd,_0x17c0cb)=>{const _0x14c6cb=_0x104441,_0x5ef910=_0x2b7ea8['getSparkline'](_0x311a04,_0x1793b5,_0x830c81,_0x4f17cd);if(_0x5ef910){const _0x186caa=_0x2b7ea8['getSparklineById'](_0x311a04,_0x1793b5,_0x5ef910);if(_0x186caa){_0x135040['add'](_0x5ef910);let _0x3c49b=_0x13c360[_0x5ef910],_0x105d2b=_0x134679[_0x5ef910];_0x105d2b||(_0x105d2b={'config':_0x277ff5['Tools'][_0x14c6cb(0x214)](_0x186caa[_0x14c6cb(0x25e)]),'sparklines':new _0x277ff5[(_0x14c6cb(0x253))](_0x186caa[_0x14c6cb(0x1e2)][_0x14c6cb(0x1e1)]())},_0x134679[_0x5ef910]=_0x105d2b),_0x3c49b||(_0x3c49b={'config':_0x277ff5[_0x14c6cb(0x25d)][_0x14c6cb(0x214)](_0x186caa[_0x14c6cb(0x25e)]),'sparklines':_0x186caa['sparklines'][_0x14c6cb(0x1e1)]()},_0x13c360[_0x5ef910]=_0x3c49b),_0x105d2b[_0x14c6cb(0x1e2)][_0x14c6cb(0x26e)](_0x830c81,_0x4f17cd);}}});const _0x5f5219={};return Object['entries'](_0x134679)['forEach'](([_0x5c389d,_0x7ddc01])=>{const _0x41305b=_0x104441;_0x7ddc01[_0x41305b(0x1e2)][_0x41305b(0x23e)]()&&(_0x5f5219[_0x5c389d]={'config':_0x7ddc01[_0x41305b(0x25e)],'sparklines':_0x7ddc01['sparklines']['clone']()});}),_0x5f5219[_0x5db230]=_0x692f12,_0x4c1668[_0x104441(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x311a04,'subUnitId':_0x1793b5,'groupIds':Array[_0x104441(0x19c)](_0x135040),'isSingle':!0x1}}),_0x135040[_0x104441(0x27e)]>0x1&&(_0x1c09d8['push']({'id':_0x11b1d8['id'],'params':{'unitId':_0x311a04,'subUnitId':_0x1793b5,'groupIds':Array[_0x104441(0x19c)](_0x135040),'isSingle':!0x1}}),_0x4c1668[_0x104441(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x311a04,'subUnitId':_0x1793b5,'sparklineConfigMap':_0x13c360}})),_0x1c09d8['push']({'id':_0x1b34d4['id'],'params':{'unitId':_0x311a04,'subUnitId':_0x1793b5,'sparklineConfigMap':_0x5f5219}}),_0x277ff5[_0x104441(0x1d3)](_0x1c09d8,_0x1909ea),_0x2e0895[_0x104441(0x1e5)]({'unitID':_0x311a04,'undoMutations':_0x4c1668,'redoMutations':_0x1c09d8}),!0x0;}},_0x24f373={'id':_0x1fc749(0x21b),'type':_0x277ff5[_0x1fc749(0x245)][_0x1fc749(0x220)],'handler':(_0x3572,_0x16b2d2)=>{const _0x4343ef=_0x1fc749;var _0xef9d34;const {isSingle:_0x16882b=!0x0}=_0x16b2d2||{},_0x3be691=_0x3572[_0x4343ef(0x24f)](_0x277ff5[_0x4343ef(0x262)]),_0x1d66c0=_0x3572[_0x4343ef(0x24f)](_0x277ff5[_0x4343ef(0x1c3)]),_0x4615b0=_0x3572[_0x4343ef(0x24f)](_0x3bedd9[_0x4343ef(0x1b0)]),_0x5144ac=_0x3572[_0x4343ef(0x24f)](_0x277ff5[_0x4343ef(0x1a9)]),_0x468d71=_0x4ae431[_0x4343ef(0x1e7)](_0x1d66c0);if(!_0x468d71)return!0x1;const _0x3ee090=_0x3572['get'](_0x4ae431[_0x4343ef(0x21d)]),_0x18700d=(_0xef9d34=_0x16b2d2==null?void 0x0:_0x16b2d2[_0x4343ef(0x237)])!=null?_0xef9d34:_0x3ee090['getCurrentSelections']()[_0x4343ef(0x28a)](_0x5a603f=>_0x5a603f[_0x4343ef(0x260)]),{unitId:_0x3cc3f9,subUnitId:_0x378c9c}=_0x468d71,_0x4909d8=[],_0x1163e7=[];_0x4909d8['push']({'id':_0x11b1d8['id'],'params':{'unitId':_0x3cc3f9,'subUnitId':_0x378c9c,'ranges':_0x18700d,'isSingle':_0x16882b}});const _0x2a24a2=[],_0x13b3dc={};return _0x18700d['forEach'](_0x10f35e=>{const _0x4f74bf=_0x4343ef;_0x277ff5[_0x4f74bf(0x24a)][_0x4f74bf(0x1c1)](_0x10f35e,(_0xb051f2,_0x280fa3)=>{const _0x113d02=_0x4f74bf,_0x4d9977=_0x4615b0[_0x113d02(0x1b9)](_0x3cc3f9,_0x378c9c,_0xb051f2,_0x280fa3);if(_0x4d9977){const _0x163e23=_0x4615b0[_0x113d02(0x1ea)](_0x3cc3f9,_0x378c9c,_0x4d9977);_0x163e23&&(_0x2a24a2['push'](_0x4d9977),_0x13b3dc[_0x4d9977]={'config':_0x277ff5[_0x113d02(0x25d)][_0x113d02(0x214)](_0x163e23[_0x113d02(0x25e)]),'sparklines':_0x277ff5[_0x113d02(0x25d)][_0x113d02(0x214)](_0x163e23['sparklines'][_0x113d02(0x1e1)]())});}});}),_0x1163e7[_0x4343ef(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x3cc3f9,'subUnitId':_0x378c9c,'groupIds':_0x2a24a2,'isSingle':!0x1}}),_0x1163e7[_0x4343ef(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x3cc3f9,'subUnitId':_0x378c9c,'sparklineConfigMap':_0x13b3dc}}),_0x277ff5[_0x4343ef(0x1d3)](_0x4909d8,_0x3be691),_0x5144ac[_0x4343ef(0x1e5)]({'unitID':_0x3cc3f9,'undoMutations':_0x1163e7,'redoMutations':_0x4909d8}),!0x0;}},_0x1bf88d={'id':_0x1fc749(0x266),'type':_0x277ff5['CommandType']['MUTATION'],'handler':(_0x74ca57,_0x3613c5)=>{const _0x19ac1d=_0x1fc749;if(!_0x3613c5)return!0x1;const {unitId:_0x167e19,subUnitId:_0x257812,groupIds:_0x80219d,config:_0x4ee35d}=_0x3613c5,_0x482cdb=_0x74ca57['get'](_0x3bedd9[_0x19ac1d(0x1b0)]);return _0x80219d[_0x19ac1d(0x284)](_0x198a00=>{const _0x2f487d=_0x19ac1d,_0xa8e39b=_0x482cdb['getSparklineById'](_0x167e19,_0x257812,_0x198a00);if(_0xa8e39b){const _0x5c64e8={'config':Object['assign']({},_0xa8e39b[_0x2f487d(0x25e)],_0x4ee35d[_0x2f487d(0x25e)]),'sparklines':new _0x277ff5[(_0x2f487d(0x253))](_0xa8e39b[_0x2f487d(0x1e2)][_0x2f487d(0x1e1)]())};_0x482cdb['setSparkline'](_0x167e19,_0x257812,[_0x198a00],_0x5c64e8);}}),!0x0;}},_0x4b2f56={'id':_0x1fc749(0x280),'type':_0x277ff5['CommandType'][_0x1fc749(0x220)],'handler':(_0x2cc21a,_0x512aa0)=>{const _0x4527f6=_0x1fc749;var _0x30da9f,_0x162085,_0x1c8c11,_0x292d93;if(!_0x512aa0)return!0x1;const _0x2169ba=_0x2cc21a[_0x4527f6(0x24f)](_0x277ff5[_0x4527f6(0x262)]),_0x18e64f=_0x2cc21a[_0x4527f6(0x24f)](_0x4ae431[_0x4527f6(0x21d)]),_0xc5a514=_0x2cc21a[_0x4527f6(0x24f)](_0x3bedd9[_0x4527f6(0x1b0)]),_0x3c399e=_0x2cc21a[_0x4527f6(0x24f)](_0x277ff5[_0x4527f6(0x1c3)]),_0x262199=_0x2cc21a[_0x4527f6(0x24f)](_0x277ff5['IUndoRedoService']),_0x5300bb=_0x4ae431[_0x4527f6(0x1e7)](_0x3c399e);if(!_0x5300bb)return!0x1;const {unitId:_0x4bf22e,subUnitId:_0x3fb6f0}=_0x5300bb,_0x403ced=(_0x30da9f=_0x512aa0==null?void 0x0:_0x512aa0[_0x4527f6(0x237)])!=null?_0x30da9f:_0x18e64f[_0x4527f6(0x1d8)]()['map'](_0x463f4e=>_0x463f4e[_0x4527f6(0x260)]),_0x3812fe=(_0x162085=_0xc5a514[_0x4527f6(0x288)]()[_0x4527f6(0x1ed)][_0x4527f6(0x24f)](_0x4bf22e))==null?void 0x0:_0x162085[_0x4527f6(0x24f)](_0x3fb6f0),{isChangeDataSource:_0x15679a,config:_0x2fd0e6,combine:_0x533ebd,unCombine:_0x20f390}=_0x512aa0;if(_0x533ebd){const _0x4bae84=[],_0x5794ec=[];_0x4bae84[_0x4527f6(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'ranges':_0x403ced,'isSingle':!0x0}});const _0x320ce9='g_'+_0x277ff5['generateRandomId'](0x6),_0x1d01c8=new _0x277ff5['ObjectMatrix'](),_0x6024d3=(_0x1c8c11=_0xc5a514[_0x4527f6(0x288)]()[_0x4527f6(0x247)][_0x4527f6(0x24f)](_0x4bf22e))==null?void 0x0:_0x1c8c11[_0x4527f6(0x24f)](_0x3fb6f0),_0x13f8a0=new Set([_0x320ce9]),_0x4af00e={};return _0x403ced[_0x4527f6(0x284)](_0x57ed94=>{const _0x3d5275=_0x4527f6;var _0x712bd5,_0x51810e;const {startRow:_0x39ca4b,endRow:_0x2dc066,startColumn:_0x34c08d,endColumn:_0x9af2eb}=_0x57ed94;for(let _0x1e820c=_0x39ca4b;_0x1e820c<=_0x2dc066;_0x1e820c++)for(let _0x56f203=_0x34c08d;_0x56f203<=_0x9af2eb;_0x56f203++){const _0x3c6c80=(_0x712bd5=_0x3812fe==null?void 0x0:_0x3812fe[_0x3d5275(0x1aa)][_0x3d5275(0x26c)](_0x1e820c,_0x56f203))==null?void 0x0:_0x712bd5[_0x3d5275(0x1f9)];if(_0x3c6c80){_0x13f8a0[_0x3d5275(0x19a)](_0x3c6c80);const _0x2d7e67=_0xc5a514['getSparklineById'](_0x4bf22e,_0x3fb6f0,_0x3c6c80);_0x2d7e67&&(_0x4af00e[_0x3c6c80]={'config':_0x277ff5[_0x3d5275(0x25d)]['deepClone'](_0x2d7e67['config']),'sparklines':_0x277ff5['Tools'][_0x3d5275(0x214)](_0x2d7e67[_0x3d5275(0x1e2)][_0x3d5275(0x1e1)]())});const _0x12b13b=(_0x51810e=_0x6024d3==null?void 0x0:_0x6024d3[_0x3d5275(0x24f)](_0x3c6c80))==null?void 0x0:_0x51810e[_0x3d5275(0x1e2)][_0x3d5275(0x26c)](_0x1e820c,_0x56f203);_0x12b13b&&_0x1d01c8[_0x3d5275(0x1c7)](_0x1e820c,_0x56f203,_0x12b13b);}}}),_0x4bae84['push']({'id':_0x1b34d4['id'],'params':{'sparklineConfigMap':{[_0x320ce9]:{'config':_0x277ff5['Tools'][_0x4527f6(0x214)](_0x2fd0e6['config']),'sparklines':_0x1d01c8[_0x4527f6(0x233)]()}},'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0}}),_0x5794ec['push']({'id':_0x11b1d8['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'isSingle':!0x1,'groupIds':Array[_0x4527f6(0x19c)](_0x13f8a0)}}),_0x5794ec['push']({'id':_0x1b34d4['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'sparklineConfigMap':_0x4af00e}}),_0x277ff5[_0x4527f6(0x1d3)](_0x4bae84,_0x2169ba),_0x262199[_0x4527f6(0x1e5)]({'unitID':_0x4bf22e,'undoMutations':_0x5794ec,'redoMutations':_0x4bae84}),!0x0;}else{if(_0x20f390){const _0x29c134=[],_0x106c51=[];_0x29c134[_0x4527f6(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'ranges':_0x403ced,'isSingle':!0x0}});const _0x2020c5=(_0x292d93=_0xc5a514[_0x4527f6(0x288)]()[_0x4527f6(0x247)]['get'](_0x4bf22e))==null?void 0x0:_0x292d93['get'](_0x3fb6f0),_0x5c36e8={},_0x1e85bc=new Set(),_0x4c105f={};return _0x403ced[_0x4527f6(0x284)](_0x13644f=>{const _0x3f5515=_0x4527f6;var _0x569bad,_0x470578;const {startRow:_0x4c6b18,endRow:_0x4a134a,startColumn:_0x393015,endColumn:_0x2bbd67}=_0x13644f;for(let _0x2dd382=_0x4c6b18;_0x2dd382<=_0x4a134a;_0x2dd382++)for(let _0xeefd31=_0x393015;_0xeefd31<=_0x2bbd67;_0xeefd31++){const _0x3f34d5=(_0x569bad=_0x3812fe==null?void 0x0:_0x3812fe['matrix']['getValue'](_0x2dd382,_0xeefd31))==null?void 0x0:_0x569bad[_0x3f5515(0x1f9)];if(_0x3f34d5){const _0x667af6=new _0x277ff5[(_0x3f5515(0x253))](),_0x2238c9='g_'+_0x277ff5[_0x3f5515(0x1bc)](0x6);_0x1e85bc[_0x3f5515(0x19a)](_0x3f34d5),_0x1e85bc[_0x3f5515(0x19a)](_0x2238c9);const _0x207549=_0xc5a514['getSparklineById'](_0x4bf22e,_0x3fb6f0,_0x3f34d5);_0x207549&&(_0x4c105f[_0x3f34d5]={'config':_0x277ff5[_0x3f5515(0x25d)][_0x3f5515(0x214)](_0x207549['config']),'sparklines':_0x277ff5[_0x3f5515(0x25d)][_0x3f5515(0x214)](_0x207549[_0x3f5515(0x1e2)][_0x3f5515(0x1e1)]())});const _0x3406e5=(_0x470578=_0x2020c5==null?void 0x0:_0x2020c5[_0x3f5515(0x24f)](_0x3f34d5))==null?void 0x0:_0x470578['sparklines'][_0x3f5515(0x26c)](_0x2dd382,_0xeefd31);_0x3406e5&&_0x667af6[_0x3f5515(0x1c7)](_0x2dd382,_0xeefd31,_0x3406e5),_0x5c36e8[_0x2238c9]={'sparklines':_0x667af6[_0x3f5515(0x233)](),'config':_0x277ff5[_0x3f5515(0x25d)][_0x3f5515(0x214)](_0x2fd0e6[_0x3f5515(0x25e)])};}}}),_0x29c134['push']({'id':_0x1b34d4['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'sparklineConfigMap':_0x5c36e8}}),_0x106c51['push']({'id':_0x11b1d8['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'isSingle':!0x1,'groupIds':Array['from'](_0x1e85bc)}}),_0x106c51[_0x4527f6(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'sparklineConfigMap':_0x4c105f}}),_0x277ff5[_0x4527f6(0x1d3)](_0x29c134,_0x2169ba),_0x262199[_0x4527f6(0x1e5)]({'unitID':_0x4bf22e,'undoMutations':_0x106c51,'redoMutations':_0x29c134}),!0x0;}}if(_0x15679a){const _0x2d9649=_0x512aa0[_0x4527f6(0x194)];if(!_0x2d9649)return!0x1;const {groupId:_0x260033,sourceRanges:_0x13cfaf,targetRanges:_0x5f4cc4,resetType:_0x3eabe6,primary:_0x5384bc}=_0x2d9649,_0x4f3b56=[],_0x254121=[];_0x4f3b56[_0x4527f6(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'ranges':_0x403ced,'isSingle':!0x1,'groupIds':[_0x260033]}}),_0x254121[_0x4527f6(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'ranges':_0x403ced,'isSingle':!0x1,'groupIds':[_0x260033]}});let _0x136939;_0x3eabe6===_0x4527f6(0x1a7)?(_0x136939=new _0x277ff5[(_0x4527f6(0x253))](_0x2fd0e6[_0x4527f6(0x1e2)][_0x4527f6(0x1e1)]()),_0x136939[_0x4527f6(0x26e)](_0x5384bc['actualRow'],_0x5384bc[_0x4527f6(0x1fa)]),_0x136939[_0x4527f6(0x1c7)](_0x5f4cc4[0x0][_0x4527f6(0x282)],_0x5f4cc4[0x0][_0x4527f6(0x240)],_0x13cfaf[0x0])):_0x136939=_0x1e33a9(_0x13cfaf,_0x5f4cc4);const _0x4abfb5={'config':_0x277ff5[_0x4527f6(0x25d)][_0x4527f6(0x214)](_0x2fd0e6[_0x4527f6(0x25e)]),'sparklines':_0x136939[_0x4527f6(0x233)]()},_0x326a32={'config':_0x277ff5['Tools'][_0x4527f6(0x214)](_0x2fd0e6[_0x4527f6(0x25e)]),'sparklines':_0x277ff5[_0x4527f6(0x25d)][_0x4527f6(0x214)](_0x2fd0e6['sparklines'][_0x4527f6(0x1e1)]())};_0x4f3b56[_0x4527f6(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'sparklineConfigMap':{[_0x260033]:_0x4abfb5}}}),_0x254121[_0x4527f6(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'sparklineConfigMap':{[_0x260033]:_0x326a32}}}),_0x277ff5[_0x4527f6(0x1d3)](_0x4f3b56,_0x2169ba),_0x262199[_0x4527f6(0x1e5)]({'unitID':_0x4bf22e,'undoMutations':_0x254121,'redoMutations':_0x4f3b56});}else{const _0x2a5661=[],_0x37c1e2=[],_0x4cf1b8=new Set(),_0x284d4a={};_0x403ced['forEach'](_0x2c10df=>{const _0x292a2d=_0x4527f6;var _0x94bca8;const {startRow:_0x82cc33,endRow:_0x3eff46,startColumn:_0x48d58c,endColumn:_0x435cdf}=_0x2c10df;for(let _0x2b800=_0x82cc33;_0x2b800<=_0x3eff46;_0x2b800++)for(let _0x11bfb5=_0x48d58c;_0x11bfb5<=_0x435cdf;_0x11bfb5++){const _0x6a9f74=(_0x94bca8=_0x3812fe==null?void 0x0:_0x3812fe[_0x292a2d(0x1aa)][_0x292a2d(0x26c)](_0x2b800,_0x11bfb5))==null?void 0x0:_0x94bca8[_0x292a2d(0x1f9)];if(_0x6a9f74){_0x4cf1b8[_0x292a2d(0x19a)](_0x6a9f74);const _0x46b60d=_0xc5a514[_0x292a2d(0x1ea)](_0x4bf22e,_0x3fb6f0,_0x6a9f74);_0x46b60d&&(_0x284d4a[_0x6a9f74]={'config':_0x277ff5['Tools']['deepClone'](_0x46b60d[_0x292a2d(0x25e)]),'sparklines':_0x277ff5['Tools']['deepClone'](_0x46b60d[_0x292a2d(0x1e2)][_0x292a2d(0x1e1)]())});}}}),_0x37c1e2[_0x4527f6(0x273)]({'id':_0x1bf88d['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'groupIds':Array['from'](_0x4cf1b8),'config':{'config':_0x277ff5[_0x4527f6(0x25d)][_0x4527f6(0x214)](_0x2fd0e6[_0x4527f6(0x25e)]),'sparklines':_0x2fd0e6[_0x4527f6(0x1e2)][_0x4527f6(0x233)]()}}}),_0x2a5661[_0x4527f6(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'isSingle':!0x1,'groupIds':Array[_0x4527f6(0x19c)](_0x4cf1b8)}}),_0x2a5661[_0x4527f6(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x4bf22e,'subUnitId':_0x3fb6f0,'sparklineConfigMap':_0x284d4a}}),_0x277ff5['sequenceExecute'](_0x37c1e2,_0x2169ba),_0x262199[_0x4527f6(0x1e5)]({'unitID':_0x4bf22e,'undoMutations':_0x2a5661,'redoMutations':_0x37c1e2});}return!0x0;}};var _0x102759=Object[_0x1fc749(0x212)],_0xe1aba2=(_0x4c9456,_0x49f602,_0x1f9f36,_0x3fda72)=>{const _0x3bb4cf=_0x1fc749;for(var _0x152738=_0x3fda72>0x1?void 0x0:_0x3fda72?_0x102759(_0x49f602,_0x1f9f36):_0x49f602,_0x22b707=_0x4c9456[_0x3bb4cf(0x277)]-0x1,_0x4f87e2;_0x22b707>=0x0;_0x22b707--)(_0x4f87e2=_0x4c9456[_0x22b707])&&(_0x152738=_0x4f87e2(_0x152738)||_0x152738);return _0x152738;},_0x144163=(_0x5c58fb,_0x1fce8d)=>(_0x49f297,_0x595db3)=>_0x1fce8d(_0x49f297,_0x595db3,_0x5c58fb);let _0x63038c=class extends _0x277ff5[_0x1fc749(0x1f1)]{constructor(_0x49bf4b,_0x53dd3c,_0x10fece,_0x15feff){const _0x263999=_0x1fc749;super(),this['_sparklineDataSourceModel']=_0x49bf4b,this[_0x263999(0x1f0)]=_0x53dd3c,this[_0x263999(0x274)]=_0x10fece,this[_0x263999(0x261)]=_0x15feff,this[_0x263999(0x20b)]();}[_0x1fc749(0x20b)](){const _0x5ad6ba=_0x1fc749;this[_0x5ad6ba(0x1fc)](this[_0x5ad6ba(0x1f0)][_0x5ad6ba(0x270)]({'getMutations':_0x1d8fb4=>{const _0x79f2ce=_0x5ad6ba,_0xf7b4c1=[],_0x114edf=[];if(_0x1d8fb4['id']===_0x4ae431['ClearSelectionAllCommand']['id']){const _0x313b80=_0x4ae431['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0x313b80)return{'redos':_0xf7b4c1,'undos':_0x114edf};const {unitId:_0x172471,subUnitId:_0x752df1,worksheet:_0x4f65da}=_0x313b80,_0x49e5e1=this[_0x79f2ce(0x261)][_0x79f2ce(0x1d8)]()['map'](_0x2102eb=>_0x2102eb[_0x79f2ce(0x260)]),_0x4263b4=new Set(),_0x50944f={},_0x10905f={};_0x49e5e1[_0x79f2ce(0x284)](_0x4e33a0=>{const _0x347728=_0x79f2ce;_0x277ff5[_0x347728(0x24a)][_0x347728(0x1c1)](_0x4e33a0,(_0x46783d,_0x55af16)=>{const _0x3ab8dc=_0x347728,_0x13c20a=this[_0x3ab8dc(0x1e0)][_0x3ab8dc(0x1b9)](_0x172471,_0x752df1,_0x46783d,_0x55af16);if(_0x13c20a&&!_0x4263b4[_0x3ab8dc(0x1a0)](_0x13c20a)){const _0x5ed199=this[_0x3ab8dc(0x1e0)][_0x3ab8dc(0x1ea)](_0x172471,_0x752df1,_0x13c20a);_0x5ed199&&(_0x4263b4[_0x3ab8dc(0x19a)](_0x13c20a),_0x50944f[_0x13c20a]={'config':_0x277ff5[_0x3ab8dc(0x25d)][_0x3ab8dc(0x214)](_0x5ed199[_0x3ab8dc(0x25e)]),'sparklines':_0x277ff5[_0x3ab8dc(0x25d)][_0x3ab8dc(0x214)](_0x5ed199[_0x3ab8dc(0x1e2)]['clone']())},_0x10905f[_0x13c20a]={'config':_0x277ff5[_0x3ab8dc(0x25d)][_0x3ab8dc(0x214)](_0x5ed199[_0x3ab8dc(0x25e)]),'sparklines':_0x277ff5[_0x3ab8dc(0x25d)][_0x3ab8dc(0x214)](_0x5ed199['sparklines'][_0x3ab8dc(0x1e1)]())});}});}),Object[_0x79f2ce(0x19b)](_0x10905f)[_0x79f2ce(0x284)](_0x2467dd=>{const _0x294f1c=_0x79f2ce,_0x3a4681=_0x2467dd[_0x294f1c(0x1e2)];new _0x277ff5['ObjectMatrix'](_0x3a4681)[_0x294f1c(0x222)]((_0x634651,_0xc13b5c,_0x21db73)=>{const _0x32e21c=_0x294f1c;_0x49e5e1[_0x32e21c(0x244)](_0x4cba78=>_0x277ff5[_0x32e21c(0x1fb)]['intersects'](_0x4cba78,_0x277ff5[_0x32e21c(0x1c0)](_0x634651,_0xc13b5c)))&&delete _0x3a4681[_0x634651][_0xc13b5c];});}),_0xf7b4c1[_0x79f2ce(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x172471,'subUnitId':_0x752df1,'groupIds':Array[_0x79f2ce(0x19c)](_0x4263b4),'isSingle':!0x1}}),_0xf7b4c1[_0x79f2ce(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x172471,'subUnitId':_0x752df1,'sparklineConfigMap':_0x10905f}}),_0x114edf[_0x79f2ce(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x172471,'subUnitId':_0x752df1,'groupIds':Array[_0x79f2ce(0x19c)](_0x4263b4),'isSingle':!0x1}}),_0x114edf['push']({'id':_0x1b34d4['id'],'params':{'unitId':_0x172471,'subUnitId':_0x752df1,'sparklineConfigMap':_0x50944f}});}return{'redos':_0xf7b4c1,'undos':_0x114edf};}}));}};_0x63038c=_0xe1aba2([_0x144163(0x0,_0x277ff5[_0x1fc749(0x1f7)](_0x3bedd9[_0x1fc749(0x1b0)])),_0x144163(0x1,_0x277ff5[_0x1fc749(0x1f7)](_0x4ae431[_0x1fc749(0x225)])),_0x144163(0x2,_0x277ff5[_0x1fc749(0x1f7)](_0x277ff5[_0x1fc749(0x1c3)])),_0x144163(0x3,_0x277ff5[_0x1fc749(0x1f7)](_0x4ae431['SheetsSelectionsService']))],_0x63038c);var _0x1a0afd=Object[_0x1fc749(0x212)],_0xbef61f=(_0x18772d,_0x224cf4,_0x3478eb,_0x1f9843)=>{const _0x2c6bde=_0x1fc749;for(var _0x19cd71=_0x1f9843>0x1?void 0x0:_0x1f9843?_0x1a0afd(_0x224cf4,_0x3478eb):_0x224cf4,_0x35f4b8=_0x18772d[_0x2c6bde(0x277)]-0x1,_0xa964dc;_0x35f4b8>=0x0;_0x35f4b8--)(_0xa964dc=_0x18772d[_0x35f4b8])&&(_0x19cd71=_0xa964dc(_0x19cd71)||_0x19cd71);return _0x19cd71;},_0x2ec300=(_0x414053,_0x5b84ab)=>(_0x5c27e3,_0x46436a)=>_0x5b84ab(_0x5c27e3,_0x46436a,_0x414053);let _0x2551a0=class extends _0x277ff5[_0x1fc749(0x1f1)]{constructor(_0x26dd62,_0x14024a){const _0x184498=_0x1fc749;super(),this[_0x184498(0x1f0)]=_0x26dd62,this[_0x184498(0x1e0)]=_0x14024a,this[_0x184498(0x22c)]();}[_0x1fc749(0x22c)](){const _0x55677e=_0x1fc749;this[_0x55677e(0x1fc)](this[_0x55677e(0x1f0)][_0x55677e(0x270)]({'getMutations':_0x26dbdc=>{const _0x209b90=_0x55677e,_0xa35b7c=[],_0x3a212f=[];if(_0x26dbdc['id']===_0x4ae431[_0x209b90(0x21e)]['id']){const _0x5435d0=_0x26dbdc[_0x209b90(0x25a)];if(!_0x5435d0)return{'redos':_0xa35b7c,'undos':_0x3a212f};const {unitId:_0x6e926a,subUnitId:_0x471b0a,targetSubUnitId:_0x3b07a8}=_0x5435d0;if(!_0x6e926a||!_0x471b0a||!_0x3b07a8)return{'redos':_0xa35b7c,'undos':_0x3a212f};const _0x28d761=new Set(),_0x3b406f={},_0x363a55=this[_0x209b90(0x1e0)][_0x209b90(0x1b1)](_0x6e926a,_0x471b0a);if(!_0x363a55)return{'redos':_0xa35b7c,'undos':_0x3a212f};for(const [_0x44048b,_0x516460]of _0x363a55){const _0x18d3d0='g_'+_0x277ff5['generateRandomId'](0x6);_0x28d761[_0x209b90(0x19a)](_0x44048b),_0x3b406f[_0x18d3d0]={'config':_0x277ff5['Tools'][_0x209b90(0x214)](_0x516460['config']),'sparklines':_0x277ff5[_0x209b90(0x25d)][_0x209b90(0x214)](_0x516460[_0x209b90(0x1e2)][_0x209b90(0x1e1)]())};}_0x28d761[_0x209b90(0x27e)]&&(_0x3a212f[_0x209b90(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x6e926a,'subUnitId':_0x3b07a8,'groupIds':Array[_0x209b90(0x19c)](_0x28d761),'isSingle':!0x1}}),_0xa35b7c[_0x209b90(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x6e926a,'subUnitId':_0x3b07a8,'sparklineConfigMap':_0x3b406f}}));}return{'redos':_0xa35b7c,'undos':_0x3a212f};}}));}};_0x2551a0=_0xbef61f([_0x2ec300(0x0,_0x277ff5['Inject'](_0x4ae431[_0x1fc749(0x225)])),_0x2ec300(0x1,_0x277ff5[_0x1fc749(0x1f7)](_0x3bedd9[_0x1fc749(0x1b0)]))],_0x2551a0);var _0x2fbd71=Object[_0x1fc749(0x212)],_0x3b13db=(_0x1a4eab,_0x56194a,_0xd52806,_0x8bcb9)=>{const _0x69c21c=_0x1fc749;for(var _0x302c6d=_0x8bcb9>0x1?void 0x0:_0x8bcb9?_0x2fbd71(_0x56194a,_0xd52806):_0x56194a,_0x47e599=_0x1a4eab[_0x69c21c(0x277)]-0x1,_0x25a409;_0x47e599>=0x0;_0x47e599--)(_0x25a409=_0x1a4eab[_0x47e599])&&(_0x302c6d=_0x25a409(_0x302c6d)||_0x302c6d);return _0x302c6d;},_0x279a11=(_0x1c6341,_0x4e1025)=>(_0x50d130,_0x14cc65)=>_0x4e1025(_0x50d130,_0x14cc65,_0x1c6341);let _0xf48d6b=class extends _0x277ff5[_0x1fc749(0x1f1)]{constructor(_0x4efa38,_0x2d7b33,_0x542c76){const _0x1d4482=_0x1fc749;super(),this[_0x1d4482(0x1de)]=_0x4efa38,this[_0x1d4482(0x1e0)]=_0x2d7b33,this[_0x1d4482(0x197)]=_0x542c76,this[_0x1d4482(0x210)](),this[_0x1d4482(0x1d7)]();}[_0x1fc749(0x210)](){const _0x11f36c=_0x1fc749;this[_0x11f36c(0x1fc)](this[_0x11f36c(0x1de)][_0x11f36c(0x227)](_0x2533b6=>{const _0x1a3a2f=_0x11f36c;if(_0x2533b6['id']===_0x4ae431[_0x1a3a2f(0x271)]['id']){const _0x2525d5=_0x2533b6[_0x1a3a2f(0x25a)],{cellValue:_0x544fca,unitId:_0x57dfbf,subUnitId:_0x219af3}=_0x2525d5,_0x3f5601=new _0x277ff5[(_0x1a3a2f(0x253))](_0x544fca),_0x1c9d2c=new Set(),_0x5ea4fb=this['_sparklineDataSourceModel'][_0x1a3a2f(0x1b1)](_0x57dfbf,_0x219af3);if(!_0x5ea4fb)return;const _0x36eb1e=Array[_0x1a3a2f(0x19c)](_0x5ea4fb);_0x3f5601['forValue']((_0x25b549,_0x1589b3,_0x201fd2)=>{const _0x25c951=_0x1a3a2f,_0x215ea3=_0x277ff5[_0x25c951(0x1c0)](_0x25b549,_0x1589b3);for(let _0x2cac7e=0x0;_0x2cac7e<_0x36eb1e[_0x25c951(0x277)];_0x2cac7e++){const [_0xde8f87,_0x192566]=_0x36eb1e[_0x2cac7e],_0x574248=_0x1c9d2c[_0x25c951(0x1a0)](_0xde8f87);_0x574248||_0x192566['sparklines']['forValue']((_0x2a3b74,_0x4385b8,_0x44d72b)=>{const _0x5b9256=_0x25c951,_0x4f375e=_0x44d72b;if(_0x4f375e&&!_0x574248&&_0x277ff5[_0x5b9256(0x1fb)][_0x5b9256(0x272)](_0x215ea3,_0x4f375e))return _0x1c9d2c[_0x5b9256(0x19a)](_0xde8f87),!0x0;});}}),_0x1c9d2c[_0x1a3a2f(0x284)](_0x2c3453=>{const _0x42a16a=_0x1a3a2f;this[_0x42a16a(0x1e0)][_0x42a16a(0x1b6)](_0x57dfbf,_0x219af3,_0x2c3453),this[_0x42a16a(0x1e0)][_0x42a16a(0x1cd)](_0x57dfbf,_0x219af3,_0x2c3453);});}else{if(_0x2533b6['id']===_0x4ae431['ReorderRangeMutation']['id']){const _0x3a40c4=_0x2533b6['params'],{range:_0x2c8a2a,unitId:_0x29dfd7,subUnitId:_0x44074e}=_0x3a40c4,_0x280779=new Set(),_0x59223b=this[_0x1a3a2f(0x1e0)][_0x1a3a2f(0x1b1)](_0x29dfd7,_0x44074e);if(!_0x59223b)return;const _0x2c3337=Array[_0x1a3a2f(0x19c)](_0x59223b);for(let _0x41ba3f=0x0;_0x41ba3f<_0x2c3337[_0x1a3a2f(0x277)];_0x41ba3f++){const [_0x534ba0,_0x1cf1ad]=_0x2c3337[_0x41ba3f],_0x5a7393=_0x280779['has'](_0x534ba0);_0x5a7393||_0x1cf1ad[_0x1a3a2f(0x1e2)][_0x1a3a2f(0x222)]((_0x506d1c,_0x506c1e,_0x1367e7)=>{const _0x96851b=_0x1a3a2f,_0x1ee6d2=_0x1367e7;if(_0x1ee6d2&&!_0x5a7393&&_0x277ff5[_0x96851b(0x1fb)][_0x96851b(0x272)](_0x2c8a2a,_0x1ee6d2))return _0x280779['add'](_0x534ba0),!0x0;});}_0x280779['forEach'](_0x5839d3=>{const _0x165e43=_0x1a3a2f;this[_0x165e43(0x1e0)][_0x165e43(0x1b6)](_0x29dfd7,_0x44074e,_0x5839d3),this[_0x165e43(0x1e0)][_0x165e43(0x1cd)](_0x29dfd7,_0x44074e,_0x5839d3);});}}}));}['_initExclusiveRangeChange'](){const _0x2d8b0d=_0x1fc749;this[_0x2d8b0d(0x1fc)](this[_0x2d8b0d(0x197)]['exclusiveRangesChange$'][_0x2d8b0d(0x24e)](_0x29f9d0=>{const _0x1662a2=_0x2d8b0d,{unitId:_0x4abb56,subUnitId:_0x180dcb,ranges:_0x1f8183}=_0x29f9d0,_0x179bda=this[_0x1662a2(0x1e0)][_0x1662a2(0x1b1)](_0x4abb56,_0x180dcb);if(!_0x179bda)return;const _0x4933f7=Array[_0x1662a2(0x19c)](_0x179bda),_0x4811b2=new Set();for(let _0x202211=0x0;_0x202211<_0x4933f7['length'];_0x202211++){const [_0x26c74f,_0x1908eb]=_0x4933f7[_0x202211],_0x47dd69=_0x4811b2['has'](_0x26c74f);_0x47dd69||_0x1908eb[_0x1662a2(0x1e2)][_0x1662a2(0x222)]((_0x84b444,_0x355c49,_0x2c5be4)=>{const _0xb39863=_0x1662a2,_0x77c716=_0x2c5be4;if(_0x77c716&&!_0x47dd69){for(const _0x565ee4 of _0x1f8183)if(_0x277ff5[_0xb39863(0x1fb)][_0xb39863(0x272)](_0x565ee4,_0x77c716)){_0x4811b2[_0xb39863(0x19a)](_0x26c74f);break;}}});}_0x4811b2['forEach'](_0x54be35=>{const _0x33087d=_0x1662a2;this[_0x33087d(0x1e0)][_0x33087d(0x1b6)](_0x4abb56,_0x180dcb,_0x54be35),this[_0x33087d(0x1e0)][_0x33087d(0x1cd)](_0x4abb56,_0x180dcb,_0x54be35);});}));}};_0xf48d6b=_0x3b13db([_0x279a11(0x0,_0x277ff5[_0x1fc749(0x1f7)](_0x277ff5[_0x1fc749(0x262)])),_0x279a11(0x1,_0x277ff5[_0x1fc749(0x1f7)](_0x3bedd9[_0x1fc749(0x1b0)])),_0x279a11(0x2,_0x277ff5[_0x1fc749(0x1f7)](_0x4ae431['IExclusiveRangeService']))],_0xf48d6b);var _0x19e549=Object[_0x1fc749(0x212)],_0x5304b0=(_0x3a9446,_0x3ab17a,_0x5bf017,_0x1b3703)=>{const _0x463fad=_0x1fc749;for(var _0x4d32a7=_0x1b3703>0x1?void 0x0:_0x1b3703?_0x19e549(_0x3ab17a,_0x5bf017):_0x3ab17a,_0x142388=_0x3a9446[_0x463fad(0x277)]-0x1,_0x8925d4;_0x142388>=0x0;_0x142388--)(_0x8925d4=_0x3a9446[_0x142388])&&(_0x4d32a7=_0x8925d4(_0x4d32a7)||_0x4d32a7);return _0x4d32a7;},_0x593df0=(_0x9baaf4,_0x1eb840)=>(_0x2c902f,_0x5eff9)=>_0x1eb840(_0x2c902f,_0x5eff9,_0x9baaf4);let _0x186baa=class extends _0x277ff5[_0x1fc749(0x1f1)]{constructor(_0x58d6db,_0x3b2155){const _0x1fcd19=_0x1fc749;super(),this[_0x1fcd19(0x1de)]=_0x58d6db,this[_0x1fcd19(0x1e0)]=_0x3b2155,this['_initHideRowColWithSparkline']();}[_0x1fc749(0x263)](){const _0x38ab17=_0x1fc749;this[_0x38ab17(0x1de)][_0x38ab17(0x227)](_0x449eb5=>{const _0x5017d7=_0x38ab17;if(_0x449eb5['id']===_0x4ae431['SetRowHiddenMutation']['id']||_0x449eb5['id']===_0x4ae431[_0x5017d7(0x1ce)]['id']||_0x449eb5['id']===_0x4ae431[_0x5017d7(0x1da)]['id']||_0x449eb5['id']===_0x4ae431[_0x5017d7(0x1f5)]['id']){const _0x451456=_0x449eb5[_0x5017d7(0x25a)],{ranges:_0x80b9a7,unitId:_0x2a59aa,subUnitId:_0x210d9f}=_0x451456,_0x3060ca=new Set(),_0x5242af=this[_0x5017d7(0x1e0)]['getSubUnitSparkline'](_0x2a59aa,_0x210d9f);if(!_0x5242af)return;const _0x49dbc9=Array['from'](_0x5242af);_0x80b9a7['forEach'](_0x39d09f=>{const _0x5a0c26=_0x5017d7;_0x277ff5[_0x5a0c26(0x24a)]['foreach'](_0x39d09f,(_0x2663fa,_0x9221f0)=>{const _0x3776b2=_0x5a0c26,_0x124ac4=_0x277ff5[_0x3776b2(0x1c0)](_0x2663fa,_0x9221f0);for(let _0x178d72=0x0;_0x178d72<_0x49dbc9[_0x3776b2(0x277)];_0x178d72++){const [_0x20fbef,_0x3928ad]=_0x49dbc9[_0x178d72],_0x26b5dc=_0x3060ca['has'](_0x20fbef);_0x26b5dc||_0x3928ad[_0x3776b2(0x1e2)]['forValue']((_0xb8c8a4,_0x500909,_0x4cd65e)=>{const _0x475989=_0x3776b2,_0x55fb0c=_0x4cd65e;if(_0x55fb0c&&!_0x26b5dc&&_0x277ff5[_0x475989(0x1fb)][_0x475989(0x272)](_0x124ac4,_0x55fb0c))return _0x3060ca[_0x475989(0x19a)](_0x20fbef),!0x0;});}});}),_0x3060ca['forEach'](_0x3f5373=>{const _0x5637ed=_0x5017d7;this['_sparklineDataSourceModel'][_0x5637ed(0x1b6)](_0x2a59aa,_0x210d9f,_0x3f5373),this[_0x5637ed(0x1e0)][_0x5637ed(0x1cd)](_0x2a59aa,_0x210d9f,_0x3f5373);});}});}};_0x186baa=_0x5304b0([_0x593df0(0x0,_0x277ff5['Inject'](_0x277ff5[_0x1fc749(0x262)])),_0x593df0(0x1,_0x277ff5[_0x1fc749(0x1f7)](_0x3bedd9[_0x1fc749(0x1b0)]))],_0x186baa);var _0x1e5ba1=Object['getOwnPropertyDescriptor'],_0x5cf4cf=(_0x354b45,_0x40b093,_0xaf8e14,_0x57128c)=>{for(var _0x1e0a8c=_0x57128c>0x1?void 0x0:_0x57128c?_0x1e5ba1(_0x40b093,_0xaf8e14):_0x40b093,_0x1dac39=_0x354b45['length']-0x1,_0x2e947d;_0x1dac39>=0x0;_0x1dac39--)(_0x2e947d=_0x354b45[_0x1dac39])&&(_0x1e0a8c=_0x2e947d(_0x1e0a8c)||_0x1e0a8c);return _0x1e0a8c;},_0x513e84=(_0x2c26e0,_0x500385)=>(_0x5c93e0,_0x5bc6e9)=>_0x500385(_0x5c93e0,_0x5bc6e9,_0x2c26e0);let _0x51c9eb=class extends _0x277ff5[_0x1fc749(0x1f1)]{constructor(_0x113efa,_0x4aae9e,_0xed309a){const _0x8ac026=_0x1fc749;super(),this['_commandService']=_0x113efa,this[_0x8ac026(0x1f0)]=_0x4aae9e,this[_0x8ac026(0x1e0)]=_0xed309a,this[_0x8ac026(0x205)]();}[_0x1fc749(0x205)](){this['disposeWithMe'](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x3afab1=>{const _0x408495=_0x373c,_0x42856a=[],_0x461978=[];if(_0x3afab1['id']===_0x4ae431['AddWorksheetMergeCommand']['id']){const _0x1494ea=_0x3afab1[_0x408495(0x25a)];if(!_0x1494ea)return{'redos':_0x42856a,'undos':_0x461978};const {unitId:_0x932b05,subUnitId:_0x529564,ranges:_0x189d4f}=_0x1494ea,_0x36126e=this[_0x408495(0x1e0)][_0x408495(0x1b1)](_0x932b05,_0x529564);if(!_0x36126e)return{'redos':_0x42856a,'undos':_0x461978};const _0x429a03={},_0x407e04={},_0x48c261=new Set();_0x189d4f[_0x408495(0x284)](_0x2d1d43=>{const _0x3d8860=_0x408495,_0xafa754=_0x2d1d43[_0x3d8860(0x282)],_0x16862b=_0x2d1d43[_0x3d8860(0x240)];_0x277ff5[_0x3d8860(0x24a)][_0x3d8860(0x1c1)](_0x2d1d43,(_0x4f901e,_0x30ed0a)=>{const _0x13b438=_0x3d8860,_0x1b7ec3=this[_0x13b438(0x1e0)]['getSparkline'](_0x932b05,_0x529564,_0x4f901e,_0x30ed0a);if(_0x1b7ec3&&!(_0x4f901e===_0xafa754&&_0x30ed0a===_0x16862b)){const _0x5422b3=this['_sparklineDataSourceModel'][_0x13b438(0x1ea)](_0x932b05,_0x529564,_0x1b7ec3);if(_0x5422b3){_0x48c261[_0x13b438(0x19a)](_0x1b7ec3);let _0x20246a=_0x429a03[_0x1b7ec3];_0x20246a||(_0x20246a={'config':_0x277ff5[_0x13b438(0x25d)]['deepClone'](_0x5422b3[_0x13b438(0x25e)]),'sparklines':new _0x277ff5[(_0x13b438(0x253))](_0x5422b3['sparklines'][_0x13b438(0x1e1)]())},_0x429a03[_0x1b7ec3]=_0x20246a),_0x20246a[_0x13b438(0x1e2)][_0x13b438(0x26e)](_0x4f901e,_0x30ed0a),_0x407e04[_0x1b7ec3]={'config':_0x277ff5[_0x13b438(0x25d)][_0x13b438(0x214)](_0x5422b3[_0x13b438(0x25e)]),'sparklines':_0x277ff5['Tools'][_0x13b438(0x214)](_0x5422b3['sparklines']['clone']())};}}});});for(const [_0x4ee39e,_0x37e07f]of _0x36126e){const _0x224e8e=_0x37e07f['sparklines'];_0x224e8e[_0x408495(0x222)]((_0x3cc431,_0x23ee1a,_0x4ca935)=>{const _0xda24aa=_0x408495;for(let _0x167315=0x0;_0x167315<_0x189d4f[_0xda24aa(0x277)];_0x167315++){const _0x3f4b5d=_0x189d4f[_0x167315];if(_0x277ff5[_0xda24aa(0x1fb)]['contains'](_0x3f4b5d,_0x4ca935)){_0x48c261[_0xda24aa(0x19a)](_0x4ee39e);let _0x5f57a2=_0x429a03[_0x4ee39e];_0x5f57a2||(_0x5f57a2={'config':_0x277ff5[_0xda24aa(0x25d)][_0xda24aa(0x214)](_0x37e07f[_0xda24aa(0x25e)]),'sparklines':new _0x277ff5[(_0xda24aa(0x253))](_0x224e8e[_0xda24aa(0x1e1)]())},_0x429a03[_0x4ee39e]=_0x5f57a2),_0x5f57a2[_0xda24aa(0x1e2)][_0xda24aa(0x26e)](_0x3cc431,_0x23ee1a),_0x407e04[_0x4ee39e]||(_0x407e04[_0x4ee39e]={'config':_0x277ff5[_0xda24aa(0x25d)][_0xda24aa(0x214)](_0x37e07f[_0xda24aa(0x25e)]),'sparklines':_0x277ff5[_0xda24aa(0x25d)]['deepClone'](_0x224e8e[_0xda24aa(0x1e1)]())});}}});}const _0x57b4a0={};Object[_0x408495(0x281)](_0x429a03)[_0x408495(0x284)](([_0x37fd42,_0x2bc845])=>{const _0x3e278b=_0x408495;_0x2bc845[_0x3e278b(0x1e2)][_0x3e278b(0x23e)]()&&(_0x57b4a0[_0x37fd42]={'config':_0x2bc845['config'],'sparklines':_0x2bc845['sparklines']['clone']()});}),_0x48c261['size']&&(_0x42856a[_0x408495(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x932b05,'subUnitId':_0x529564,'groupIds':Array[_0x408495(0x19c)](_0x48c261),'isSingle':!0x1}}),_0x461978[_0x408495(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x932b05,'subUnitId':_0x529564,'groupIds':Array[_0x408495(0x19c)](_0x48c261),'isSingle':!0x1}}),_0x42856a[_0x408495(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x932b05,'subUnitId':_0x529564,'sparklineConfigMap':_0x57b4a0}}),_0x461978[_0x408495(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x932b05,'subUnitId':_0x529564,'sparklineConfigMap':_0x407e04}}));}return{'redos':_0x42856a,'undos':_0x461978};}}));}};_0x51c9eb=_0x5cf4cf([_0x513e84(0x0,_0x277ff5[_0x1fc749(0x1f7)](_0x277ff5[_0x1fc749(0x262)])),_0x513e84(0x1,_0x277ff5['Inject'](_0x4ae431['SheetInterceptorService'])),_0x513e84(0x2,_0x277ff5[_0x1fc749(0x1f7)](_0x3bedd9[_0x1fc749(0x1b0)]))],_0x51c9eb);var _0x1b784d=Object[_0x1fc749(0x212)],_0x379cd2=(_0x28ce68,_0x1c6df4,_0x5d8154,_0x163d45)=>{const _0x42ad0d=_0x1fc749;for(var _0x5d4498=_0x163d45>0x1?void 0x0:_0x163d45?_0x1b784d(_0x1c6df4,_0x5d8154):_0x1c6df4,_0x5c18e5=_0x28ce68[_0x42ad0d(0x277)]-0x1,_0x2a76eb;_0x5c18e5>=0x0;_0x5c18e5--)(_0x2a76eb=_0x28ce68[_0x5c18e5])&&(_0x5d4498=_0x2a76eb(_0x5d4498)||_0x5d4498);return _0x5d4498;},_0x33bcfb=(_0x416bc7,_0x47ccbe)=>(_0x12d7fc,_0xc30fd7)=>_0x47ccbe(_0x12d7fc,_0xc30fd7,_0x416bc7);let _0x1449a6=class extends _0x277ff5[_0x1fc749(0x1f1)]{constructor(_0x2f444a,_0x275a1a,_0x4fd707,_0x51a14e){const _0x529b8b=_0x1fc749;super(),_0xd403f5(this,_0x529b8b(0x1b4),new _0x277ff5['DisposableCollection']()),(this[_0x529b8b(0x1de)]=_0x2f444a,this['_refRangeService']=_0x275a1a,this[_0x529b8b(0x274)]=_0x4fd707,this[_0x529b8b(0x1e0)]=_0x51a14e,this[_0x529b8b(0x1ad)](),this[_0x529b8b(0x1e3)]());}[_0x1fc749(0x1ad)](){const _0x4664d2=_0x1fc749,_0x169dbd=(_0x279df4,_0x49d0c9)=>{const _0x217a83=_0x373c,_0x4c8e83=this[_0x217a83(0x274)]['getCurrentUnitForType'](_0x277ff5['UniverInstanceType'][_0x217a83(0x27c)]);if(!_0x4c8e83||!(_0x4c8e83==null?void 0x0:_0x4c8e83[_0x217a83(0x235)](_0x49d0c9)))return;this['disposableCollection'][_0x217a83(0x268)]();const _0x17482f=_0x3a8955=>this['refRangeHandle'](_0x3a8955,_0x279df4,_0x49d0c9),_0x254f39=[],_0x1e74b7=this['_sparklineDataSourceModel'][_0x217a83(0x1b1)](_0x279df4,_0x49d0c9);if(_0x1e74b7){for(const [_0x1212ed,_0x38c8da]of _0x1e74b7)_0x38c8da[_0x217a83(0x1e2)]['forValue']((_0xab48af,_0x16b1d6,_0x47c900)=>{const _0x118154=_0x217a83,_0x2cc71a=_0x277ff5[_0x118154(0x1c0)](_0xab48af,_0x16b1d6);_0x254f39[_0x118154(0x273)](_0x2cc71a);});_0x254f39[_0x217a83(0x284)](_0x224254=>{const _0x291eda=_0x217a83;this[_0x291eda(0x1b4)]['add'](this[_0x291eda(0x238)][_0x291eda(0x239)](_0x224254,_0x17482f,_0x279df4,_0x49d0c9));});}};this['disposeWithMe'](this[_0x4664d2(0x1de)]['onCommandExecuted'](_0x54578d=>{const _0x173ca1=_0x4664d2;if(_0x54578d['id']===_0x4ae431[_0x173ca1(0x1a2)]['id']){const _0x43cb2a=_0x54578d[_0x173ca1(0x25a)],_0x236026=_0x43cb2a[_0x173ca1(0x26a)],_0x5eccb5=_0x43cb2a[_0x173ca1(0x221)];if(!_0x236026||!_0x5eccb5)return;_0x169dbd(_0x5eccb5,_0x236026);}if(_0x54578d['id']===_0x1bf88d['id']||_0x54578d['id']===_0x1b34d4['id']){const _0x2bfe1d=_0x54578d['params'],_0x30acaa=_0x2bfe1d[_0x173ca1(0x26a)],_0x2deaf1=_0x2bfe1d[_0x173ca1(0x221)];if(!_0x30acaa||!_0x2deaf1)return;_0x169dbd(_0x2deaf1,_0x30acaa);}}));}['refRangeHandle'](_0x299418,_0x3b87da,_0x1b0189){const _0x477a19=_0x1fc749;switch(_0x299418['id']){case _0x4ae431[_0x477a19(0x1dc)]['id']:return this[_0x477a19(0x257)](_0x299418[_0x477a19(0x25a)],_0x3b87da,_0x1b0189);case _0x4ae431['RemoveRowCommand']['id']:return this[_0x477a19(0x195)](_0x299418[_0x477a19(0x25a)],_0x3b87da,_0x1b0189);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x174162,_0x1f0aa8,_0x997dda){const _0x37ae5f=_0x1fc749;var _0x242445,_0x45a23f;const {range:_0x29aed9}=_0x174162,_0x44c7cc=new Set(),_0xd5860={},_0x5231d1={},_0x52d4cf=[],_0x309168=[],_0x17d518=[],_0x4e2350=[];if(!_0x4ae431[_0x37ae5f(0x1e7)](this['_univerInstanceService'],{'unitId':_0x1f0aa8,'subUnitId':_0x997dda}))return{'redos':_0x309168,'undos':_0x52d4cf};const _0x2defc3=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x1f0aa8,_0x997dda);if(!_0x2defc3)return{'redos':_0x309168,'undos':_0x52d4cf};if(!((_0x45a23f=(_0x242445=this[_0x37ae5f(0x1e0)]['getSparklineCache']()[_0x37ae5f(0x1ed)][_0x37ae5f(0x24f)](_0x1f0aa8))==null?void 0x0:_0x242445[_0x37ae5f(0x24f)](_0x997dda))==null?void 0x0:_0x45a23f[_0x37ae5f(0x1aa)]))return{'redos':_0x309168,'undos':_0x52d4cf};for(const [_0x304b69,_0x13f5ec]of _0x2defc3){const _0x39f6e5=_0x13f5ec[_0x37ae5f(0x1e2)];_0x39f6e5[_0x37ae5f(0x222)]((_0x5e6c09,_0x36ad89,_0x4e0f86)=>{const _0x5f45a3=_0x37ae5f;if(_0x277ff5['Rectangle'][_0x5f45a3(0x272)](_0x29aed9,_0x4e0f86)){_0x44c7cc[_0x5f45a3(0x19a)](_0x304b69);let _0x3269af=_0x5231d1[_0x304b69];_0x3269af||(_0x3269af={'config':_0x13f5ec[_0x5f45a3(0x25e)],'sparklines':_0x13f5ec[_0x5f45a3(0x1e2)][_0x5f45a3(0x1e1)]()},_0x5231d1[_0x304b69]=_0x3269af);let _0x4c9460=_0xd5860[_0x304b69];_0x4c9460||(_0x4c9460={'config':_0x13f5ec['config'],'sparklines':new _0x277ff5[(_0x5f45a3(0x253))](_0x13f5ec['sparklines'][_0x5f45a3(0x1e1)]())},_0xd5860[_0x304b69]=_0x4c9460);const _0x44c788=_0x4ae431[_0x5f45a3(0x22d)](_0x4e0f86,{'id':_0x4ae431[_0x5f45a3(0x1b8)]['id'],'params':_0x174162});_0x44c788?_0x4c9460[_0x5f45a3(0x1e2)]['setValue'](_0x5e6c09,_0x36ad89,_0x44c788):_0x4c9460['sparklines']['setValue'](_0x5e6c09,_0x36ad89,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x277ff5[_0x5f45a3(0x278)][_0x5f45a3(0x22a)]});}}),_0x39f6e5[_0x37ae5f(0x222)]((_0x1d2e2a,_0x4dcc00,_0x308e0f)=>{const _0x437e48=_0x37ae5f;if(_0x1d2e2a<=_0x29aed9['endRow']&&_0x1d2e2a>=_0x29aed9[_0x437e48(0x282)]){_0x44c7cc[_0x437e48(0x19a)](_0x304b69);let _0x595355=_0x5231d1[_0x304b69];_0x595355||(_0x595355={'config':_0x13f5ec[_0x437e48(0x25e)],'sparklines':_0x13f5ec[_0x437e48(0x1e2)][_0x437e48(0x1e1)]()},_0x5231d1[_0x304b69]=_0x595355);let _0x4ad6a5=_0xd5860[_0x304b69];_0x4ad6a5||(_0x4ad6a5={'config':_0x13f5ec[_0x437e48(0x25e)],'sparklines':new _0x277ff5[(_0x437e48(0x253))](_0x13f5ec[_0x437e48(0x1e2)]['clone']())},_0xd5860[_0x304b69]=_0x4ad6a5);}});}_0x4e2350[_0x37ae5f(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x1f0aa8,'subUnitId':_0x997dda,'groupIds':Array[_0x37ae5f(0x19c)](_0x44c7cc),'isSingle':!0x1}}),_0x17d518[_0x37ae5f(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x1f0aa8,'subUnitId':_0x997dda,'groupIds':Array[_0x37ae5f(0x19c)](_0x44c7cc),'isSingle':!0x1}});const _0x5de141={};let _0x565095=!0x1;return Object[_0x37ae5f(0x281)](_0xd5860)[_0x37ae5f(0x284)](([_0x96744a,_0x4943dd])=>{const _0x18cd65=_0x37ae5f;_0x4943dd[_0x18cd65(0x1e2)][_0x18cd65(0x23e)]()&&(_0x565095=!0x0,_0x4943dd['sparklines'][_0x18cd65(0x289)](_0x29aed9['startRow'],_0x29aed9[_0x18cd65(0x26f)]-_0x29aed9['startRow']+0x1),_0x5de141[_0x96744a]={'config':_0x4943dd[_0x18cd65(0x25e)],'sparklines':_0x4943dd[_0x18cd65(0x1e2)][_0x18cd65(0x1e1)]()});}),_0x565095&&_0x309168[_0x37ae5f(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x1f0aa8,'subUnitId':_0x997dda,'sparklineConfigMap':_0x5de141}}),_0x52d4cf['push']({'id':_0x1b34d4['id'],'params':{'unitId':_0x1f0aa8,'subUnitId':_0x997dda,'sparklineConfigMap':_0x5231d1}}),{'redos':_0x309168,'undos':_0x52d4cf,'preRedos':_0x17d518,'preUndos':_0x4e2350};}[_0x1fc749(0x257)](_0x3d067b,_0x3f7e23,_0x4c9a77){const _0x54bc3f=_0x1fc749;var _0x19f382,_0x5b4c39;const {range:_0x1eb860}=_0x3d067b,_0x36d1da=new Set(),_0x2b8aef={},_0x463f6f={},_0x4ecac7=[],_0x1eb0e8=[],_0x19ba74=[],_0x2944ee=[];if(!_0x4ae431[_0x54bc3f(0x1e7)](this[_0x54bc3f(0x274)],{'unitId':_0x3f7e23,'subUnitId':_0x4c9a77}))return{'redos':_0x1eb0e8,'undos':_0x4ecac7};const _0x3a6382=this[_0x54bc3f(0x1e0)][_0x54bc3f(0x1b1)](_0x3f7e23,_0x4c9a77);if(!_0x3a6382)return{'redos':_0x1eb0e8,'undos':_0x4ecac7};if(!((_0x5b4c39=(_0x19f382=this[_0x54bc3f(0x1e0)][_0x54bc3f(0x288)]()[_0x54bc3f(0x1ed)][_0x54bc3f(0x24f)](_0x3f7e23))==null?void 0x0:_0x19f382['get'](_0x4c9a77))==null?void 0x0:_0x5b4c39[_0x54bc3f(0x1aa)]))return{'redos':_0x1eb0e8,'undos':_0x4ecac7};for(const [_0x1cc044,_0x53de5c]of _0x3a6382){const _0x3baeb2=_0x53de5c[_0x54bc3f(0x1e2)];_0x3baeb2[_0x54bc3f(0x222)]((_0x448ec4,_0x3367a3,_0x308f5b)=>{const _0x5656d4=_0x54bc3f;if(_0x277ff5[_0x5656d4(0x1fb)][_0x5656d4(0x272)](_0x1eb860,_0x308f5b)){_0x36d1da[_0x5656d4(0x19a)](_0x1cc044);let _0x1c2517=_0x463f6f[_0x1cc044];_0x1c2517||(_0x1c2517={'config':_0x53de5c['config'],'sparklines':_0x53de5c[_0x5656d4(0x1e2)][_0x5656d4(0x1e1)]()},_0x463f6f[_0x1cc044]=_0x1c2517);let _0x2a1652=_0x2b8aef[_0x1cc044];_0x2a1652||(_0x2a1652={'config':_0x53de5c['config'],'sparklines':new _0x277ff5['ObjectMatrix'](_0x53de5c[_0x5656d4(0x1e2)]['clone']())},_0x2b8aef[_0x1cc044]=_0x2a1652);const _0x1b93ec=_0x4ae431[_0x5656d4(0x22d)](_0x308f5b,{'id':_0x4ae431[_0x5656d4(0x21a)]['id'],'params':_0x3d067b});_0x1b93ec?_0x2a1652['sparklines']['setValue'](_0x448ec4,_0x3367a3,_0x1b93ec):_0x2a1652[_0x5656d4(0x1e2)][_0x5656d4(0x1c7)](_0x448ec4,_0x3367a3,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x277ff5[_0x5656d4(0x278)][_0x5656d4(0x22a)]});}}),_0x3baeb2[_0x54bc3f(0x222)]((_0x1cf92a,_0x2822fe,_0x1681f4)=>{const _0x380ed7=_0x54bc3f;if(_0x2822fe<=_0x1eb860[_0x380ed7(0x1d6)]&&_0x2822fe>=_0x1eb860[_0x380ed7(0x240)]){_0x36d1da[_0x380ed7(0x19a)](_0x1cc044);let _0x27f23a=_0x463f6f[_0x1cc044];_0x27f23a||(_0x27f23a={'config':_0x53de5c[_0x380ed7(0x25e)],'sparklines':_0x53de5c[_0x380ed7(0x1e2)]['clone']()},_0x463f6f[_0x1cc044]=_0x27f23a);let _0x22e8bc=_0x2b8aef[_0x1cc044];_0x22e8bc||(_0x22e8bc={'config':_0x53de5c[_0x380ed7(0x25e)],'sparklines':new _0x277ff5[(_0x380ed7(0x253))](_0x53de5c[_0x380ed7(0x1e2)][_0x380ed7(0x1e1)]())},_0x2b8aef[_0x1cc044]=_0x22e8bc);}});}_0x2944ee[_0x54bc3f(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x3f7e23,'subUnitId':_0x4c9a77,'groupIds':Array[_0x54bc3f(0x19c)](_0x36d1da),'isSingle':!0x1}}),_0x19ba74[_0x54bc3f(0x273)]({'id':_0x11b1d8['id'],'params':{'unitId':_0x3f7e23,'subUnitId':_0x4c9a77,'groupIds':Array['from'](_0x36d1da),'isSingle':!0x1}});const _0x306f9c={};let _0x34afba=!0x1;return Object['entries'](_0x2b8aef)[_0x54bc3f(0x284)](([_0x34af05,_0x4ec991])=>{const _0x325f17=_0x54bc3f;_0x4ec991[_0x325f17(0x1e2)]['getSizeOf']()&&(_0x34afba=!0x0,_0x4ec991[_0x325f17(0x1e2)]['removeColumns'](_0x1eb860[_0x325f17(0x240)],_0x1eb860[_0x325f17(0x1d6)]-_0x1eb860[_0x325f17(0x240)]+0x1),_0x306f9c[_0x34af05]={'config':_0x4ec991['config'],'sparklines':_0x4ec991[_0x325f17(0x1e2)][_0x325f17(0x1e1)]()});}),_0x34afba&&_0x1eb0e8[_0x54bc3f(0x273)]({'id':_0x1b34d4['id'],'params':{'unitId':_0x3f7e23,'subUnitId':_0x4c9a77,'sparklineConfigMap':_0x306f9c}}),_0x4ecac7['push']({'id':_0x1b34d4['id'],'params':{'unitId':_0x3f7e23,'subUnitId':_0x4c9a77,'sparklineConfigMap':_0x463f6f}}),{'redos':_0x1eb0e8,'undos':_0x4ecac7,'preRedos':_0x19ba74,'preUndos':_0x2944ee};}['_initCorrectRangeWithSparkline'](){const _0x188a65=_0x1fc749;this[_0x188a65(0x1fc)](this[_0x188a65(0x1de)][_0x188a65(0x227)](_0x2ae138=>{const _0x6db0cc=_0x188a65;if(_0x2ae138['id']===_0x4ae431[_0x6db0cc(0x285)]['id']){const _0x13f772=_0x2ae138['params'],{unitId:_0x5ac521,subUnitId:_0xf9d287,range:_0x2b8bf6}=_0x13f772,_0x57773f=_0x2b8bf6[_0x6db0cc(0x240)],_0x3d8c0e=_0x2b8bf6[_0x6db0cc(0x1d6)]-_0x2b8bf6[_0x6db0cc(0x240)]+0x1,_0x2b0ea3=this[_0x6db0cc(0x1e0)][_0x6db0cc(0x1b1)](_0x5ac521,_0xf9d287);if(!_0x2b0ea3)return;for(const [_0x13398b,_0x521078]of _0x2b0ea3){this[_0x6db0cc(0x1e0)][_0x6db0cc(0x1b6)](_0x5ac521,_0xf9d287,_0x13398b);const _0x14258b=_0x521078[_0x6db0cc(0x1e2)];_0x14258b['forValue']((_0xe8878c,_0x255e11,_0x3055cd)=>{const _0x5c300c=_0x6db0cc,_0x43f1b7={..._0x3055cd};_0x57773f<=_0x43f1b7[_0x5c300c(0x240)]?(_0x43f1b7[_0x5c300c(0x240)]+=_0x3d8c0e,_0x43f1b7['endColumn']+=_0x3d8c0e):_0x57773f>_0x43f1b7[_0x5c300c(0x1d6)]||(_0x43f1b7[_0x5c300c(0x1d6)]+=_0x3d8c0e),_0x14258b[_0x5c300c(0x1c7)](_0xe8878c,_0x255e11,_0x43f1b7);});const _0x34c59a=_0x14258b[_0x6db0cc(0x233)]();for(const _0x49cdf3 in _0x34c59a){const _0x299e16=_0x34c59a[Number(_0x49cdf3)];if(!_0x299e16)continue;const _0x539ff0=Object['keys'](_0x299e16)['map'](Number),_0x3a48d8=Math[_0x6db0cc(0x24d)](..._0x539ff0);for(let _0x4d9b11=_0x3a48d8;_0x4d9b11>=_0x57773f;_0x4d9b11--)_0x4d9b11>=_0x57773f&&_0x299e16[_0x4d9b11]&&(_0x299e16[_0x4d9b11+_0x3d8c0e]=_0x299e16[_0x4d9b11],delete _0x299e16[_0x4d9b11]);}this['_sparklineDataSourceModel'][_0x6db0cc(0x1cd)](_0x5ac521,_0xf9d287,_0x13398b);}}else{if(_0x2ae138['id']===_0x4ae431['InsertRowMutation']['id']){const _0x4f19fb=_0x2ae138[_0x6db0cc(0x25a)],{unitId:_0x1004c6,subUnitId:_0x36bde4,range:_0x2b6463}=_0x4f19fb,_0x43c8f9=_0x2b6463[_0x6db0cc(0x282)],_0x2be309=_0x2b6463[_0x6db0cc(0x26f)]-_0x2b6463['startRow']+0x1,_0x49603d=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x1004c6,_0x36bde4);if(!_0x49603d)return;for(const [_0x1e65d6,_0x3e676c]of _0x49603d){this['_sparklineDataSourceModel'][_0x6db0cc(0x1b6)](_0x1004c6,_0x36bde4,_0x1e65d6);const _0x10ef0=_0x3e676c[_0x6db0cc(0x1e2)];_0x10ef0['forValue']((_0x429463,_0x17cc39,_0x52a645)=>{const _0xf103ac=_0x6db0cc,_0x4fe33c={..._0x52a645};_0x43c8f9<=_0x4fe33c['startRow']?(_0x4fe33c['startRow']+=_0x2be309,_0x4fe33c[_0xf103ac(0x26f)]+=_0x2be309):_0x43c8f9>_0x4fe33c['endRow']||(_0x4fe33c[_0xf103ac(0x26f)]+=_0x2be309),_0x10ef0[_0xf103ac(0x1c7)](_0x429463,_0x17cc39,_0x4fe33c);});const _0x3ef59d=_0x10ef0[_0x6db0cc(0x233)](),_0x1eb422=Object['keys'](_0x3ef59d)[_0x6db0cc(0x28a)](Number),_0x502df0=Math[_0x6db0cc(0x24d)](..._0x1eb422);for(let _0x4a4ec5=_0x502df0;_0x4a4ec5>=_0x43c8f9;_0x4a4ec5--)_0x4a4ec5>=_0x43c8f9&&_0x3ef59d[_0x4a4ec5]&&(_0x3ef59d[_0x4a4ec5+_0x2be309]=_0x3ef59d[_0x4a4ec5],delete _0x3ef59d[_0x4a4ec5]);this[_0x6db0cc(0x1e0)][_0x6db0cc(0x1cd)](_0x1004c6,_0x36bde4,_0x1e65d6);}}else{if(_0x2ae138['id']===_0x4ae431[_0x6db0cc(0x21a)]['id']){const _0x55e1e0=_0x2ae138[_0x6db0cc(0x25a)],{range:_0x4ac667,unitId:_0x56ab24,subUnitId:_0x5bb41c}=_0x55e1e0,_0x31c9a0=this[_0x6db0cc(0x1e0)][_0x6db0cc(0x1b1)](_0x56ab24,_0x5bb41c);if(!_0x31c9a0)return;for(const [_0x22b9c9,_0x460d26]of _0x31c9a0){const _0x4b9999=_0x460d26['sparklines'];_0x4b9999['forValue']((_0x108ea9,_0x18eee0,_0x255cd4)=>{const _0x88378d=_0x6db0cc,_0x385bdd=_0x4ae431[_0x88378d(0x22d)](_0x255cd4,_0x2ae138);_0x385bdd?_0x4b9999['setValue'](_0x108ea9,_0x18eee0,_0x385bdd):_0x4b9999[_0x88378d(0x1c7)](_0x108ea9,_0x18eee0,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x277ff5[_0x88378d(0x278)][_0x88378d(0x22a)]});}),_0x4b9999[_0x6db0cc(0x191)](_0x4ac667[_0x6db0cc(0x240)],_0x4ac667[_0x6db0cc(0x1d6)]-_0x4ac667[_0x6db0cc(0x240)]+0x1);}this[_0x6db0cc(0x1e0)][_0x6db0cc(0x26b)](_0x56ab24,_0x5bb41c);}else{if(_0x2ae138['id']===_0x4ae431[_0x6db0cc(0x1b8)]['id']){const _0x3254e8=_0x2ae138[_0x6db0cc(0x25a)],{range:_0x1d5330,unitId:_0xb9abf5,subUnitId:_0x9b0c3a}=_0x3254e8,_0x270435=this['_sparklineDataSourceModel'][_0x6db0cc(0x1b1)](_0xb9abf5,_0x9b0c3a);if(!_0x270435)return;for(const [_0x50fd26,_0x1da32c]of _0x270435){const _0x3d6699=_0x1da32c[_0x6db0cc(0x1e2)];_0x3d6699[_0x6db0cc(0x222)]((_0xcfc7b3,_0xc35530,_0x39fd56)=>{const _0xa4ee99=_0x6db0cc,_0x4d2887=_0x4ae431[_0xa4ee99(0x22d)](_0x39fd56,_0x2ae138);_0x4d2887?_0x3d6699[_0xa4ee99(0x1c7)](_0xcfc7b3,_0xc35530,_0x4d2887):_0x3d6699[_0xa4ee99(0x1c7)](_0xcfc7b3,_0xc35530,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x277ff5['RANGE_TYPE'][_0xa4ee99(0x22a)]});}),_0x3d6699[_0x6db0cc(0x289)](_0x1d5330['startRow'],_0x1d5330[_0x6db0cc(0x26f)]-_0x1d5330['startRow']+0x1);}this[_0x6db0cc(0x1e0)][_0x6db0cc(0x26b)](_0xb9abf5,_0x9b0c3a);}else{if(_0x2ae138['id']===_0x4ae431['MoveColsMutation']['id']){const _0x50e748=_0x2ae138[_0x6db0cc(0x25a)],{unitId:_0x1e1691,subUnitId:_0x424118,sourceRange:_0x280d65,targetRange:_0x34dca1}=_0x50e748,_0x12a9fc=this[_0x6db0cc(0x1e0)][_0x6db0cc(0x1b1)](_0x1e1691,_0x424118);if(!_0x12a9fc)return;for(const [_0x210a13,_0x2233e1]of _0x12a9fc){const _0x103bcd=_0x2233e1[_0x6db0cc(0x1e2)];_0x103bcd['forValue']((_0x24a54d,_0x2b2103,_0x8ac0c5)=>{const _0xd653ec=_0x6db0cc,_0x216cf4=_0x4ae431[_0xd653ec(0x22d)](_0x8ac0c5,_0x2ae138);_0x216cf4?_0x103bcd[_0xd653ec(0x1c7)](_0x24a54d,_0x2b2103,_0x216cf4):_0x103bcd[_0xd653ec(0x1c7)](_0x24a54d,_0x2b2103,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x277ff5[_0xd653ec(0x278)]['NORMAL']});}),_0x103bcd[_0x6db0cc(0x259)](_0x280d65[_0x6db0cc(0x240)],_0x280d65[_0x6db0cc(0x1d6)]-_0x280d65[_0x6db0cc(0x240)]+0x1,_0x34dca1[_0x6db0cc(0x240)]);}this['_sparklineDataSourceModel'][_0x6db0cc(0x26b)](_0x1e1691,_0x424118);}else{if(_0x2ae138['id']===_0x4ae431[_0x6db0cc(0x213)]['id']){const _0x288df4=_0x2ae138['params'],{unitId:_0x4fff73,subUnitId:_0x3cb61a,sourceRange:_0x11ca07,targetRange:_0x56ba3f}=_0x288df4,_0x3f56ae=this[_0x6db0cc(0x1e0)][_0x6db0cc(0x1b1)](_0x4fff73,_0x3cb61a);if(!_0x3f56ae)return;for(const [_0x417c1c,_0x2dd27a]of _0x3f56ae){const _0x10f850=_0x2dd27a['sparklines'];_0x10f850[_0x6db0cc(0x222)]((_0x2c1ed1,_0x1cd1cc,_0x4b5088)=>{const _0x37c4ea=_0x6db0cc,_0x40096b=_0x4ae431[_0x37c4ea(0x22d)](_0x4b5088,_0x2ae138);_0x40096b?_0x10f850[_0x37c4ea(0x1c7)](_0x2c1ed1,_0x1cd1cc,_0x40096b):_0x10f850[_0x37c4ea(0x1c7)](_0x2c1ed1,_0x1cd1cc,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x277ff5[_0x37c4ea(0x278)][_0x37c4ea(0x22a)]});}),_0x10f850[_0x6db0cc(0x21f)](_0x11ca07[_0x6db0cc(0x282)],_0x11ca07[_0x6db0cc(0x26f)]-_0x11ca07[_0x6db0cc(0x282)]+0x1,_0x56ba3f[_0x6db0cc(0x282)]);}this[_0x6db0cc(0x1e0)][_0x6db0cc(0x26b)](_0x4fff73,_0x3cb61a);}else{if(_0x2ae138['id']===_0x4ae431[_0x6db0cc(0x1bf)]['id']){const _0x1447a8=_0x2ae138[_0x6db0cc(0x25a)],{fromRange:_0x5d08a0,toRange:_0xc91465,unitId:_0x1a66db,from:_0x36405a,to:_0x3ff42a}=_0x1447a8;if(_0x36405a[_0x6db0cc(0x26a)]!==_0x3ff42a[_0x6db0cc(0x26a)])return;const _0x4944a5=_0x36405a[_0x6db0cc(0x26a)],{startRow:_0x4bfbce,endRow:_0x183903,startColumn:_0x229d9d,endColumn:_0x298754}=_0x5d08a0,{startRow:_0xf5ebf9,startColumn:_0x2f73fd}=_0xc91465,_0x3d6830=_0xf5ebf9-_0x4bfbce,_0x2501e3=_0x2f73fd-_0x229d9d,_0x4d999b=this[_0x6db0cc(0x1e0)]['getSubUnitSparkline'](_0x1a66db,_0x4944a5);if(!(_0x4d999b!=null&&_0x4d999b[_0x6db0cc(0x27e)]))return;for(let _0x256e95=_0x4bfbce;_0x256e95<=_0x183903;_0x256e95++)for(let _0x446e99=_0x229d9d;_0x446e99<=_0x298754;_0x446e99++){const _0x45834d=this['_sparklineDataSourceModel'][_0x6db0cc(0x1b9)](_0x1a66db,_0x4944a5,_0x256e95,_0x446e99);if(_0x45834d){const _0x40825a=this[_0x6db0cc(0x1e0)]['getSparklineById'](_0x1a66db,_0x4944a5,_0x45834d);if(_0x40825a){const _0x195f74=_0x40825a[_0x6db0cc(0x1e2)][_0x6db0cc(0x26c)](_0x256e95,_0x446e99);_0x195f74&&(_0x40825a[_0x6db0cc(0x1e2)][_0x6db0cc(0x1c7)](_0x256e95+_0x3d6830,_0x446e99+_0x2501e3,_0x195f74),_0x40825a['sparklines']['realDeleteValue'](_0x256e95,_0x446e99));}}}for(const [_0x4164cf,_0x5d8958]of _0x4d999b){const _0x120738=_0x5d8958['sparklines'];_0x120738[_0x6db0cc(0x222)]((_0x13b989,_0x1c5d34,_0x3e769d)=>{const _0x3fd67b=_0x6db0cc,_0x24583c={..._0x3e769d};_0x277ff5[_0x3fd67b(0x1fb)][_0x3fd67b(0x25f)](_0x5d08a0,_0x3e769d)&&(_0x24583c[_0x3fd67b(0x282)]+=_0x3d6830,_0x24583c[_0x3fd67b(0x26f)]+=_0x3d6830,_0x24583c[_0x3fd67b(0x240)]+=_0x2501e3,_0x24583c[_0x3fd67b(0x1d6)]+=_0x2501e3),_0x120738[_0x3fd67b(0x1c7)](_0x13b989,_0x1c5d34,_0x24583c);});}this['_sparklineDataSourceModel'][_0x6db0cc(0x26b)](_0x1a66db,_0x4944a5);}}}}}}}}));}};_0x1449a6=_0x379cd2([_0x33bcfb(0x0,_0x277ff5['Inject'](_0x277ff5[_0x1fc749(0x262)])),_0x33bcfb(0x1,_0x277ff5[_0x1fc749(0x1f7)](_0x4ae431[_0x1fc749(0x21c)])),_0x33bcfb(0x2,_0x277ff5[_0x1fc749(0x1c3)]),_0x33bcfb(0x3,_0x277ff5[_0x1fc749(0x1f7)](_0x3bedd9[_0x1fc749(0x1b0)]))],_0x1449a6);var _0x16799c=Object['getOwnPropertyDescriptor'],_0x5b297e=(_0x1f2115,_0x27f576,_0x19a2f9,_0x382d64)=>{const _0x2968ce=_0x1fc749;for(var _0x4cd395=_0x382d64>0x1?void 0x0:_0x382d64?_0x16799c(_0x27f576,_0x19a2f9):_0x27f576,_0x2f082f=_0x1f2115[_0x2968ce(0x277)]-0x1,_0x150319;_0x2f082f>=0x0;_0x2f082f--)(_0x150319=_0x1f2115[_0x2f082f])&&(_0x4cd395=_0x150319(_0x4cd395)||_0x4cd395);return _0x4cd395;},_0x49bb9f=(_0xe7c031,_0x5c3689)=>(_0x478039,_0x500511)=>_0x5c3689(_0x478039,_0x500511,_0xe7c031);let _0x5b3a0f=class extends _0x277ff5[_0x1fc749(0x1f1)]{constructor(_0x90288b,_0x551377){const _0x5a10b1=_0x1fc749;super(),this[_0x5a10b1(0x23d)]=_0x90288b,this[_0x5a10b1(0x1e0)]=_0x551377,this[_0x5a10b1(0x1c5)]();}['_initSnapshot'](){const _0x24d01b=_0x1fc749,_0x1f7c74=_0x47f6fc=>{const _0x3e9a86=_0x373c,_0x5fd704=this[_0x3e9a86(0x1e0)][_0x3e9a86(0x283)](_0x47f6fc);return _0x5fd704?JSON[_0x3e9a86(0x20e)](_0x5fd704):'';},_0x5da3df=_0x13b9c6=>_0x13b9c6?JSON['parse'](_0x13b9c6):{};this['disposeWithMe'](this[_0x24d01b(0x23d)]['registerPluginResource']({'toJson':_0x1f7c74,'parseJson':_0x5da3df,'pluginName':_0x4a0380,'businesses':[_0x277ff5['UniverInstanceType'][_0x24d01b(0x27c)]],'onLoad':(_0x494756,_0x515e05)=>{const _0x637869=_0x24d01b;this[_0x637869(0x1e0)][_0x637869(0x1bb)](_0x515e05);},'onUnLoad':_0x349672=>{const _0x202cd3=_0x24d01b;this['_sparklineDataSourceModel'][_0x202cd3(0x1c2)](_0x349672);}}));}};_0x5b3a0f=_0x5b297e([_0x49bb9f(0x0,_0x277ff5[_0x1fc749(0x1f7)](_0x277ff5[_0x1fc749(0x1e6)])),_0x49bb9f(0x1,_0x277ff5['Inject'](_0x3bedd9[_0x1fc749(0x1b0)]))],_0x5b3a0f);var _0x306213=Object[_0x1fc749(0x1be)],_0x1ecb1d=Object[_0x1fc749(0x212)],_0xd53e6f=(_0x39a227,_0x216b9e,_0x18b956)=>_0x216b9e in _0x39a227?_0x306213(_0x39a227,_0x216b9e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18b956}):_0x39a227[_0x216b9e]=_0x18b956,_0x39ee0f=(_0x48e9cd,_0x2bfd7b,_0x25a369,_0x2e82ba)=>{const _0x1aac5e=_0x1fc749;for(var _0x272ce8=_0x2e82ba>0x1?void 0x0:_0x2e82ba?_0x1ecb1d(_0x2bfd7b,_0x25a369):_0x2bfd7b,_0x5b4f3f=_0x48e9cd[_0x1aac5e(0x277)]-0x1,_0x583dd9;_0x5b4f3f>=0x0;_0x5b4f3f--)(_0x583dd9=_0x48e9cd[_0x5b4f3f])&&(_0x272ce8=_0x583dd9(_0x272ce8)||_0x272ce8);return _0x272ce8;},_0x2d0c55=(_0x1bf6cd,_0x9380b2)=>(_0x374b07,_0x5d6ec0)=>_0x9380b2(_0x374b07,_0x5d6ec0,_0x1bf6cd),_0x298692=(_0x40b923,_0x3981f4,_0x450b52)=>_0xd53e6f(_0x40b923,typeof _0x3981f4!='symbol'?_0x3981f4+'':_0x3981f4,_0x450b52);_0x3bedd9[_0x1fc749(0x276)]=class extends _0x277ff5[_0x1fc749(0x246)]{constructor(_0x40346c={},_0x30c5af,_0x5ee8b7){const _0xe8f326=_0x1fc749;super(),this[_0xe8f326(0x203)]=_0x40346c,this[_0xe8f326(0x265)]=_0x30c5af,this[_0xe8f326(0x1de)]=_0x5ee8b7,this['_initDependencies'](),this['_initRegisterCommand']();}[_0x1fc749(0x216)](){const _0x20e4fc=_0x1fc749;[[_0x3bedd9[_0x20e4fc(0x1b0)]],[_0xf48d6b],[_0x51c9eb],[_0x63038c],[_0x1449a6],[_0x186baa],[_0x2551a0],[_0x5b3a0f]]['forEach'](_0x5f08c7=>{const _0x2c9e58=_0x20e4fc;this[_0x2c9e58(0x265)]['add'](_0x5f08c7);}),_0x277ff5[_0x20e4fc(0x1bd)](this[_0x20e4fc(0x265)],[[_0x5b3a0f]]);}['onReady'](){const _0x31c6ff=_0x1fc749;_0x277ff5[_0x31c6ff(0x1bd)](this['_injector'],[[_0xf48d6b],[_0x51c9eb],[_0x63038c],[_0x1449a6],[_0x186baa],[_0x2551a0]]);}[_0x1fc749(0x23b)](){const _0x57a651=_0x1fc749;[_0x1edc4d,_0x1b34d4,_0x24f373,_0x11b1d8,_0x4b2f56,_0x1bf88d][_0x57a651(0x284)](_0x2bfc3b=>this[_0x57a651(0x1de)][_0x57a651(0x20c)](_0x2bfc3b));}},_0x298692(_0x3bedd9[_0x1fc749(0x276)],_0x1fc749(0x1d0),_0x4a0380),_0x298692(_0x3bedd9[_0x1fc749(0x276)],_0x1fc749(0x279),_0x277ff5['UniverInstanceType'][_0x1fc749(0x27c)]),_0x3bedd9[_0x1fc749(0x276)]=_0x39ee0f([_0x277ff5['DependentOn'](_0xd9902d['UniverLicensePlugin']),_0x2d0c55(0x1,_0x277ff5['Inject'](_0x277ff5[_0x1fc749(0x27a)])),_0x2d0c55(0x2,_0x277ff5['Inject'](_0x277ff5[_0x1fc749(0x262)]))],_0x3bedd9[_0x1fc749(0x276)]),_0x3bedd9[_0x1fc749(0x224)]=_0x1edc4d,_0x3bedd9[_0x1fc749(0x22b)]=_0x1b34d4,_0x3bedd9[_0x1fc749(0x1b5)]=_0x4a0380,_0x3bedd9[_0x1fc749(0x1ec)]=_0x24f373,_0x3bedd9['RemoveSheetSparklineMutation']=_0x11b1d8,_0x3bedd9[_0x1fc749(0x1d4)]=_0x4b2f56,_0x3bedd9[_0x1fc749(0x250)]=_0x1bf88d,_0x3bedd9[_0x1fc749(0x269)]=_0x428b6d,_0x3bedd9[_0x1fc749(0x19d)]=_0x15b112,_0x3bedd9[_0x1fc749(0x1f3)]=_0x4b8386,_0x3bedd9[_0x1fc749(0x232)]=_0x441fb0,_0x3bedd9['SparklineThemeTypeEnum']=_0x7a2019,_0x3bedd9[_0x1fc749(0x1b7)]=_0x5c8cca,_0x3bedd9['getSparklinePlacement']=_0x1e33a9,Object[_0x1fc749(0x1be)](_0x3bedd9,Symbol[_0x1fc749(0x1cb)],{'value':_0x1fc749(0x234)});}));function _0x373c(_0xd739bb,_0x40b531){const _0x1ceb1e=_0x1ceb();return _0x373c=function(_0x373c2f,_0x56cdcf){_0x373c2f=_0x373c2f-0x18f;let _0x432b24=_0x1ceb1e[_0x373c2f];return _0x432b24;},_0x373c(_0xd739bb,_0x40b531);}function _0x1ceb(){const _0x224be0=['getSheetBySheetId','BOOLEAN','ranges','_refRangeService','registerRefRange','NUMBER','_initRegisterCommand','highPoint','_resourceManagerService','getSizeOf','hasValue','startColumn','setAlpha','STRING','rgb(30,177,189)','some','CommandType','Plugin','sparklineModel','soft','updateConfig$','Range','ZERO_VALUE','exports','max','subscribe','get','SetSheetSparklineMutation','sheet.command.add-sparkline','removeSparkline','ObjectMatrix','getRowVisible','PIE_CHART','_sparklineAnchorMap','_getRefRangeMutationsByDeleteCols','_updateConfig$','moveColumns','params','remove','delete','Tools','config','contains','range','_sheetSelectionService','ICommandService','_initHideRowColWithSparkline','SPACING','_injector','sheet.mutation.set-sparkline','1553100foHvlV','dispose','SpacialShowAsEnum','subUnitId','reBuildAnchorCache','getValue','268614aaXtEm','realDeleteValue','endRow','interceptCommand','SetRangeValuesMutation','intersects','push','_univerInstanceService','17uvpprE','UniverSheetSparklinePlugin','length','RANGE_TYPE','type','Injector','@univerjs-pro/license','UNIVER_SHEET','rxjs','size','ColorKit','sheet.command.set-sparkline','entries','startRow','toJSON','forEach','InsertColMutation','SOFT','u-connect','getSparklineCache','removeRows','map','UniverCore','rgb(54,78,244)','firstPoint','removeColumns','keys','themeType','changeDataSourceInfo','_getRefRangeMutationsByDeleteRows','set','_exclusiveRangeService','FORCE_STRING','extremumMin','add','values','from','SparklineExtremumTypeEnum','rgb(80,102,248)','specialty','has','1578960VcpZRX','SetWorksheetActivateCommand','toRgbString','containHiddenCells','min','extremumMax','item','STANDARD','IUndoRedoService','matrix','getColVisible','GROUP_EXTREMUM','_onRefRangeChange','distinctive','24WWSMfA','SparklineDataSourceModel','getSubUnitSparkline','Subject','rgb(236,100,169)','disposableCollection','PLUGIN_NAME','clearSparklineCache','SparklineTypeEnum','RemoveRowMutation','getSparkline','lastPoint','fromJSON','generateRandomId','touchDependencies','defineProperty','MoveRangeMutation','cellToRange','foreach','deleteUnit','IUniverInstanceService','fresh','_initSnapshot','UniverProLicense','setValue','@univerjs/core','CellValueType','10fEBVsT','toStringTag','column','updateSparklineExtraNum','SetColHiddenMutation','spacing','pluginName','value','rgb(252,117,60)','sequenceExecute','SetSheetSparklineCommand','rgb(244,104,249)','endColumn','_initExclusiveRangeChange','getCurrentSelections','number','SetRowVisibleMutation','custom','RemoveColCommand','removePartSparkline','_commandService','11535PPscda','_sparklineDataSourceModel','clone','sparklines','_initCorrectRangeWithSparkline','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','pushUndoRedo','IResourceManagerService','getSheetCommandTarget','SHEET_SPARKLINE_PLUGIN','18262uXujKx','getSparklineById','LINE_CHART','RemoveSheetSparklineCommand','sparklineAnchorMap','rgb(248,190,21)','CONNECT_WITH_LINE','_sheetInterceptorService','Disposable','u-spacing','SparklinePointsNames','1215368TmEPkr','SetColVisibleMutation','row','Inject','CUSTOM','groupId','actualColumn','Rectangle','disposeWithMe','lowPoint','SELF_EXTREMUM','_sparklineModel','FRESH','object','BAR_CHART','_config','CUSTOM_EXTREMUM','_initMergeWithSparkline','sheet.mutation.remove-sparkline','MUTATION','_ensureConfigMap','1066194AexGWT','MAX_SAFE_INTEGER','_initClearWithSparkline','registerCommand','next','stringify','negativePoint','_initDataChangeListener','every','getOwnPropertyDescriptor','MoveRowsMutation','deepClone','rgb(46,187,122)','_initDependencies','SPECIALTY','UniverSheets','PROFIT_AND_LOSS_CHART','RemoveColMutation','sheet.command.remove-sparkline','RefRangeService','SheetsSelectionsService','CopySheetCommand','moveRows','COMMAND','unitId','forValue','function','AddSheetSparklineCommand','SheetInterceptorService','UniverProSheetsSparkline','onCommandExecuted','setSparkline','@univerjs/sheets','NORMAL','AddSheetSparklineMutation','_initCopySheetWithSparkline','adjustRangeOnMutation','asObservable','MIN_SAFE_INTEGER','_ensureAnchorMatrix','getCellRaw','SparklineThemeMapping','getMatrix','Module'];_0x1ceb=function(){return _0x224be0;};return _0x1ceb();}
|
|
1
|
+
function _0x3439(_0x3969e8,_0x52c11a){const _0x147248=_0x1472();return _0x3439=function(_0x343941,_0x409e5d){_0x343941=_0x343941-0xfd;let _0x1c76d7=_0x147248[_0x343941];return _0x1c76d7;},_0x3439(_0x3969e8,_0x52c11a);}function _0x1472(){const _0x41f7a0=['SOFT','SparklineExtremumTypeEnum','sheet.mutation.add-sparkline','PROFIT_AND_LOSS_CHART','parse','specialty','_commandService','removeSparkline','_onRefRangeChange','RemoveSheetSparklineCommand','_sheetInterceptorService','registerCommand','_initCorrectRangeWithSparkline','item','removeColumns','registerRefRange','_initSnapshot','_ensureConfigMap','_initDataChangeListener','size','get','rgb(46,187,122)','asObservable','lastPoint','generateRandomId','forValue','_resourceManagerService','foreach','ReorderRangeMutation','COMMAND','unitId','delete','SetWorksheetActivateCommand','function','SetRowHiddenMutation','pushUndoRedo','forEach','deleteUnit','max','getOwnPropertyDescriptor','values','setAlpha','adjustRangeOnMutation','entries','SheetInterceptorService','rgb(80,102,248)','156hfofYs','IResourceManagerService','column','RANGE_TYPE','number','CUSTOM','intersects','_initMergeWithSparkline','push','CONNECT_WITH_LINE','sheet.command.add-sparkline','map','actualRow','STANDARD','getSparklinePlacement','negativePoint','length','SetSheetSparklineMutation','_sheetSelectionService','actualColumn','rgb(30,177,189)','updateConfig$','amd','toJSON','clone','SELF_EXTREMUM','IUndoRedoService','_config','firstPoint','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','getValue','FORCE_STRING','PLUGIN_NAME','Plugin','startColumn','rgb(248,190,21)','rgb(124,66,147)','_injector','MAX_SAFE_INTEGER','groupId','_ensureAnchorMatrix','SpacialShowAsEnum','matrix','getSparklineById','rgb(49,106,246)','toStringTag','RemoveColMutation','subUnitId','UNIVER_SHEET','_initCopySheetWithSparkline','dispose','RemoveColCommand','Range','value','refRangeHandle','_initDependencies','ICommandService','getSizeOf','LINE_CHART','_refRangeService','sheet.mutation.set-sparkline','ColorKit','soft','SparklineTypeEnum','cellToRange','@univerjs-pro/license','BAR_CHART','has','disposableCollection','28368yVhpfs','Rectangle','next','keys','_initRegisterCommand','RemoveRowCommand','toRgbString','SetRowVisibleMutation','getRowVisible','lowPoint','getSparklineCache','AddSheetSparklineMutation','symbol','from','rgb(244,104,249)','SPACING','DependentOn','extremumMax','realDeleteValue','RemoveRowMutation','MIN_SAFE_INTEGER','setSparkline','_sparklineDataSourceModel','SparklinePointsNames','params','sheet.mutation.remove-sparkline','UniverCore','isValidRange','touchDependencies','UniverProLicense','sparklineAnchorMap','SetColVisibleMutation','endColumn','changeDataSourceInfo','clearSparklineCache','_initClearWithSparkline','extremumMin','remove','subscribe','u-spacing','rgb(252,117,60)','Injector','removePartSparkline','BOOLEAN','getSubUnitSparkline','SetRangeValuesMutation','type','highPoint','exports','SHEET_SPARKLINE_PLUGIN','themeType','Disposable','_sparklineModel','connect_with_line','STRING','getCurrentUnitForType','Module','distinctive','4814496jiuSBD','stringify','RemoveSheetSparklineMutation','getSheetCommandTarget','add','u-connect','_exclusiveRangeService','reBuildAnchorCache','addSparkline','Inject','DISTINCTIVE','getMatrix','UniverSheets','standard','MoveColsMutation','GROUP_EXTREMUM','hasValue','setValue','6886oOxXYB','_updateConfig$','rgb(54,78,244)','ZERO_VALUE','fromJSON','row','MoveRangeMutation','_univerInstanceService','deepClone','rxjs','MoveRowsMutation','disposeWithMe','FRESH','range','_getRefRangeMutationsByDeleteCols','1qnqGEr','_sparklineAnchorMap','2579088TvecJe','getCurrentSelections','sheet.command.remove-sparkline','SparklineDataSourceModel','CUSTOM_EXTREMUM','custom','getSparkline','ObjectMatrix','Tools','AddWorksheetMergeCommand','onCommandExecuted','SparklineThemeMapping','pluginName','sparklineModel','assign','SetColHiddenMutation','IUniverInstanceService','CopySheetCommand','CommandType','PIE_CHART','getCellRaw','NUMBER','_initHideRowColWithSparkline','defineProperty','removeRows','endRow','ranges','getSheetBySheetId','4164377eBRnHQ','set','updateSparklineExtraNum','markersPoint','UniverLicensePlugin','some','@univerjs/sheets','startRow','SheetsSelectionsService','sparklines','sequenceExecute','min','seriesColor','CellValueType','config','SPECIALTY','UniverSheetSparklinePlugin','2586141MnLgAe','containHiddenCells','onReady','5kIeQgd','7729190pQZBkC','UniverInstanceType','moveColumns','AddSheetSparklineCommand','_initExclusiveRangeChange','NORMAL','interceptCommand','DisposableCollection'];_0x1472=function(){return _0x41f7a0;};return _0x1472();}(function(_0x46d305,_0x9df307){const _0x300fa6=_0x3439,_0xd8e137=_0x46d305();while(!![]){try{const _0x1a12fb=-parseInt(_0x300fa6(0x163))/0x1*(-parseInt(_0x300fa6(0x154))/0x2)+parseInt(_0x300fa6(0x1cc))/0x3*(parseInt(_0x300fa6(0x108))/0x4)+parseInt(_0x300fa6(0x195))/0x5*(parseInt(_0x300fa6(0x165))/0x6)+parseInt(_0x300fa6(0x181))/0x7+-parseInt(_0x300fa6(0x142))/0x8+parseInt(_0x300fa6(0x192))/0x9+-parseInt(_0x300fa6(0x196))/0xa;if(_0x1a12fb===_0x9df307)break;else _0xd8e137['push'](_0xd8e137['shift']());}catch(_0x163cc2){_0xd8e137['push'](_0xd8e137['shift']());}}}(_0x1472,0x4b964),function(_0x5df53b,_0x11443b){const _0x459785=_0x3439;typeof exports=='object'&&typeof module<'u'?_0x11443b(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x459785(0x1bf)&&define[_0x459785(0x1e2)]?define([_0x459785(0x138),'@univerjs/core',_0x459785(0x187),_0x459785(0x15d),_0x459785(0x104)],_0x11443b):(_0x5df53b=typeof globalThis<'u'?globalThis:_0x5df53b||self,_0x11443b(_0x5df53b['UniverProSheetsSparkline']={},_0x5df53b[_0x459785(0x122)],_0x5df53b[_0x459785(0x14e)],_0x5df53b[_0x459785(0x15d)],_0x5df53b[_0x459785(0x125)]));}(this,function(_0x4f3fd8,_0x2d28f0,_0x3b710a,_0x56fab5,_0x61c0da){'use strict';const _0x26e4aa=_0x3439;var _0x3a39d3=Object['defineProperty'],_0xaebce9=(_0x7f8581,_0x4b41de,_0x4a3f50)=>_0x4b41de in _0x7f8581?_0x3a39d3(_0x7f8581,_0x4b41de,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a3f50}):_0x7f8581[_0x4b41de]=_0x4a3f50,_0x31f139=(_0x3763c3,_0xca1624,_0x11f9d7)=>_0xaebce9(_0x3763c3,typeof _0xca1624!=_0x26e4aa(0x114)?_0xca1624+'':_0xca1624,_0x11f9d7);function _0x23432c(_0x3fee62,_0x4f0593){const _0x53cec1=_0x26e4aa,_0x561d92=new _0x2d28f0[(_0x53cec1(0x16c))](),_0x316d06=[],_0x230a4c=_0x3fee62[_0x53cec1(0x1dc)]>0x1;let _0x10e5fe=0x0,_0x2390ab=0x0;for(const _0x19b85a of _0x3fee62)_0x10e5fe+=_0x19b85a[_0x53cec1(0x17e)]-_0x19b85a[_0x53cec1(0x188)]+0x1,_0x2390ab+=_0x19b85a[_0x53cec1(0x128)]-_0x19b85a[_0x53cec1(0x1ee)]+0x1;for(const _0x545dc0 of _0x4f0593)for(let _0x37b70f=_0x545dc0['startRow'];_0x37b70f<=_0x545dc0['endRow'];_0x37b70f++)for(let _0xf2fe6a=_0x545dc0['startColumn'];_0xf2fe6a<=_0x545dc0[_0x53cec1(0x128)];_0xf2fe6a++)_0x316d06[_0x53cec1(0x1d4)]({'row':_0x37b70f,'column':_0xf2fe6a});if(_0x316d06[_0x53cec1(0x1dc)]===_0x10e5fe)_0x230a4c?_0x316d06[_0x53cec1(0x1c2)]((_0x2720eb,_0x47cc70)=>{const _0x5bf659=_0x53cec1,_0x35848c=_0x3fee62[_0x47cc70],_0x21a2a4={'startRow':_0x35848c[_0x5bf659(0x188)],'startColumn':_0x35848c[_0x5bf659(0x1ee)],'endRow':_0x35848c[_0x5bf659(0x188)],'endColumn':_0x35848c[_0x5bf659(0x128)]};_0x561d92[_0x5bf659(0x153)](_0x2720eb['row'],_0x2720eb['column'],_0x21a2a4);}):_0x316d06['forEach']((_0x1174e5,_0x272cfb)=>{const _0x47e6dc=_0x53cec1,_0x1a0f16=_0x3fee62[0x0],_0x3c97bd={'startRow':_0x1a0f16['startRow']+_0x272cfb,'startColumn':_0x1a0f16[_0x47e6dc(0x1ee)],'endRow':_0x1a0f16[_0x47e6dc(0x188)]+_0x272cfb,'endColumn':_0x1a0f16[_0x47e6dc(0x128)]};_0x561d92['setValue'](_0x1174e5['row'],_0x1174e5['column'],_0x3c97bd);});else{if(_0x316d06[_0x53cec1(0x1dc)]===_0x2390ab)_0x230a4c?_0x316d06[_0x53cec1(0x1c2)]((_0x47c8bd,_0x3aca56)=>{const _0x149b63=_0x53cec1,_0x4a3176=_0x3fee62[_0x3aca56],_0x54aae1={'startRow':_0x4a3176[_0x149b63(0x188)],'startColumn':_0x4a3176[_0x149b63(0x1ee)],'endRow':_0x4a3176['endRow'],'endColumn':_0x4a3176['startColumn']};_0x561d92[_0x149b63(0x153)](_0x47c8bd['row'],_0x47c8bd[_0x149b63(0x1ce)],_0x54aae1);}):_0x316d06[_0x53cec1(0x1c2)]((_0x536b23,_0x47318e)=>{const _0x2ac6df=_0x53cec1,_0x23f284=_0x3fee62[0x0],_0x33cf2a={'startRow':_0x23f284[_0x2ac6df(0x188)],'startColumn':_0x23f284[_0x2ac6df(0x1ee)]+_0x47318e,'endRow':_0x23f284[_0x2ac6df(0x17e)],'endColumn':_0x23f284[_0x2ac6df(0x1ee)]+_0x47318e};_0x561d92[_0x2ac6df(0x153)](_0x536b23[_0x2ac6df(0x159)],_0x536b23['column'],_0x33cf2a);});else{if(_0x316d06['length']===_0x3fee62[_0x53cec1(0x1dc)])_0x3fee62['every'](_0x4dfaa7=>!(_0x4dfaa7[_0x53cec1(0x188)]!==_0x4dfaa7[_0x53cec1(0x17e)]&&_0x4dfaa7[_0x53cec1(0x1ee)]!==_0x4dfaa7[_0x53cec1(0x128)]))&&_0x316d06[_0x53cec1(0x1c2)]((_0x1f8efe,_0x24c0ad)=>{const _0x5b7ea7=_0x53cec1,_0x2e452b=_0x3fee62[_0x24c0ad];_0x561d92['setValue'](_0x1f8efe[_0x5b7ea7(0x159)],_0x1f8efe['column'],_0x2e452b);});else throw new Error(_0x53cec1(0x1e9));}}return _0x561d92;}const _0xc8b9a3=_0x26e4aa(0x139),_0x25764f={'standard':[_0x26e4aa(0x156),'rgb(236,100,169)'],'specialty':[_0x26e4aa(0x1f8),_0x26e4aa(0x1e0)],'distinctive':[_0x26e4aa(0x1f0),_0x26e4aa(0x130)],'soft':[_0x26e4aa(0x1cb),_0x26e4aa(0x116)],'fresh':[_0x26e4aa(0x1b3),_0x26e4aa(0x1ef)]},_0x5f51dc=[_0x26e4aa(0x137),_0x26e4aa(0x1e8),_0x26e4aa(0x1b5),_0x26e4aa(0x111),_0x26e4aa(0x1db),_0x26e4aa(0x184)];var _0x5c6c1f=(_0x5099fe=>(_0x5099fe[_0x26e4aa(0x1d9)]=_0x26e4aa(0x14f),_0x5099fe[_0x26e4aa(0x190)]=_0x26e4aa(0x1a3),_0x5099fe[_0x26e4aa(0x14c)]=_0x26e4aa(0x141),_0x5099fe[_0x26e4aa(0x19e)]=_0x26e4aa(0x101),_0x5099fe[_0x26e4aa(0x160)]='fresh',_0x5099fe[_0x26e4aa(0x1d1)]=_0x26e4aa(0x16a),_0x5099fe))(_0x5c6c1f||{}),_0x5ed5b9=(_0x31fa3f=>(_0x31fa3f[_0x31fa3f[_0x26e4aa(0xfd)]=0x1]=_0x26e4aa(0xfd),_0x31fa3f[_0x31fa3f[_0x26e4aa(0x105)]=0x2]=_0x26e4aa(0x105),_0x31fa3f[_0x31fa3f[_0x26e4aa(0x1a1)]=0x3]=_0x26e4aa(0x1a1),_0x31fa3f[_0x31fa3f['PIE_CHART']=0x4]=_0x26e4aa(0x178),_0x31fa3f))(_0x5ed5b9||{}),_0x2785ad=(_0x3a0e24=>(_0x3a0e24[_0x26e4aa(0x117)]='spacing',_0x3a0e24[_0x26e4aa(0x157)]='zero_value',_0x3a0e24[_0x26e4aa(0x1d5)]=_0x26e4aa(0x13d),_0x3a0e24))(_0x2785ad||{}),_0x5de2aa=(_0x3a2d4d=>(_0x3a2d4d[_0x3a2d4d[_0x26e4aa(0x1e5)]=0x1]=_0x26e4aa(0x1e5),_0x3a2d4d[_0x3a2d4d[_0x26e4aa(0x151)]=0x2]=_0x26e4aa(0x151),_0x3a2d4d[_0x3a2d4d[_0x26e4aa(0x169)]=0x3]=_0x26e4aa(0x169),_0x3a2d4d))(_0x5de2aa||{}),_0x37b13e=Object[_0x26e4aa(0x1c5)],_0x1a6271=(_0x55b996,_0x4f86a5,_0x2a06c8,_0x13bd53)=>{const _0x288aca=_0x26e4aa;for(var _0x3a06dd=_0x13bd53>0x1?void 0x0:_0x13bd53?_0x37b13e(_0x4f86a5,_0x2a06c8):_0x4f86a5,_0x3983c9=_0x55b996[_0x288aca(0x1dc)]-0x1,_0x10f087;_0x3983c9>=0x0;_0x3983c9--)(_0x10f087=_0x55b996[_0x3983c9])&&(_0x3a06dd=_0x10f087(_0x3a06dd)||_0x3a06dd);return _0x3a06dd;},_0x4b7d49=(_0x10f2f5,_0x4c821f)=>(_0x277982,_0x5d9db0)=>_0x4c821f(_0x277982,_0x5d9db0,_0x10f2f5);_0x4f3fd8['SparklineDataSourceModel']=class extends _0x2d28f0['Disposable']{constructor(_0x5cf00e){const _0x148606=_0x26e4aa;super(),_0x31f139(this,_0x148606(0x13c),new Map()),_0x31f139(this,_0x148606(0x164),new Map()),_0x31f139(this,_0x148606(0x155),new _0x56fab5['Subject']()),_0x31f139(this,_0x148606(0x1e1),this['_updateConfig$'][_0x148606(0x1b4)]()),this['_univerInstanceService']=_0x5cf00e;}[_0x26e4aa(0x1af)](_0x5d101a,_0x120cfb){const _0x3ae3ab=_0x26e4aa;let _0x37791c=this['_sparklineModel'][_0x3ae3ab(0x1b2)](_0x5d101a);_0x37791c||(_0x37791c=new Map(),this[_0x3ae3ab(0x13c)]['set'](_0x5d101a,_0x37791c));let _0x43e084=_0x37791c[_0x3ae3ab(0x1b2)](_0x120cfb);return _0x43e084||(_0x43e084=new Map(),_0x37791c[_0x3ae3ab(0x182)](_0x120cfb,_0x43e084)),_0x43e084;}[_0x26e4aa(0x1f4)](_0x1ad31e,_0x51729c){const _0x2142fc=_0x26e4aa;let _0x5d5ed0=this[_0x2142fc(0x164)]['get'](_0x1ad31e);_0x5d5ed0||(_0x5d5ed0=new Map(),this[_0x2142fc(0x164)]['set'](_0x1ad31e,_0x5d5ed0));let _0x16ae00=_0x5d5ed0['get'](_0x51729c);return _0x16ae00||(_0x16ae00={'matrix':new _0x2d28f0[(_0x2142fc(0x16c))](),'extra':{}},_0x5d5ed0[_0x2142fc(0x182)](_0x51729c,_0x16ae00)),_0x16ae00;}['updateSparklineExtraNum'](_0x2ed24d,_0x40a9fd,_0x5db3ee,_0x58b271=_0x26e4aa(0x182)){const _0x1fca44=_0x26e4aa;var _0x47ef35,_0x25dd38,_0x54a8,_0x447ab6,_0x595cf6,_0x54826f,_0x481838,_0x3c64e5,_0x295ec7,_0x49ef02,_0x2b7306,_0x252fb0,_0x5aba46;const _0x2152ed=(_0x25dd38=(_0x47ef35=this[_0x1fca44(0x13c)][_0x1fca44(0x1b2)](_0x2ed24d))==null?void 0x0:_0x47ef35[_0x1fca44(0x1b2)](_0x40a9fd))==null?void 0x0:_0x25dd38['get'](_0x5db3ee);if(!_0x2152ed)return;const _0x596627=_0x3b710a['getSheetCommandTarget'](this[_0x1fca44(0x15b)],{'unitId':_0x2ed24d,'subUnitId':_0x40a9fd});if(!_0x596627)return;const _0x460784=this[_0x1fca44(0x1f4)](_0x2ed24d,_0x40a9fd),{extra:_0x4c6f93,matrix:_0x31d690}=_0x460784,{worksheet:_0x2ed4ce}=_0x596627;let _0x15ee0e=Number['MIN_SAFE_INTEGER'],_0x44aed8=Number['MAX_SAFE_INTEGER'];const _0x32071d=(_0x54a8=_0x2152ed[_0x1fca44(0x18f)][_0x1fca44(0x193)])!=null?_0x54a8:!0x1;_0x2152ed[_0x1fca44(0x18a)][_0x1fca44(0x1b7)]((_0x5b2068,_0x10197d,_0x5c9fd4)=>{const _0x5f383b=_0x1fca44;var _0x28b4cb,_0x304fe3,_0x2a4ec;const _0xfc5a7e=_0x5c9fd4;let _0x1c45a7=Number[_0x5f383b(0x11c)],_0x410ffb=Number[_0x5f383b(0x1f2)],_0x2ddf45=0x0,_0x21602b=0x0;const _0x4bcdc2=[];if(!_0x2d28f0[_0x5f383b(0x123)](_0xfc5a7e))_0x31d690[_0x5f383b(0x153)](_0x5b2068,_0x10197d,{'groupId':_0x5db3ee,'data':[],'max':_0x1c45a7,'min':_0x410ffb,'highIndex':_0x2ddf45,'lowIndex':_0x21602b,'negativeIndexes':_0x4bcdc2});else{const _0x4241af=[];for(let _0x27ec09=_0xfc5a7e[_0x5f383b(0x188)];_0x27ec09<=_0xfc5a7e['endRow'];_0x27ec09++){for(let _0x10fa5a=_0xfc5a7e[_0x5f383b(0x1ee)];_0x10fa5a<=_0xfc5a7e[_0x5f383b(0x128)];_0x10fa5a++){const _0x1690b1=_0x2ed4ce[_0x5f383b(0x110)](_0x27ec09),_0x4cd409=_0x2ed4ce['getColVisible'](_0x10fa5a);if(!_0x32071d&&(!_0x1690b1||!_0x4cd409))continue;let _0x3f5124=0x0;const _0x47ccd2=((_0x28b4cb=_0x2ed4ce[_0x5f383b(0x179)](_0x27ec09,_0x10fa5a))==null?void 0x0:_0x28b4cb['v'])!==void 0x0?_0x2ed4ce[_0x5f383b(0x179)](_0x27ec09,_0x10fa5a):_0x2ed4ce['getCell'](_0x27ec09,_0x10fa5a);if(!_0x47ccd2||_0x47ccd2['v']===void 0x0||_0x47ccd2['v']===null){const _0x3bda7c=(_0x304fe3=_0x2152ed[_0x5f383b(0x18f)]['emptyShowAs'])!=null?_0x304fe3:_0x2785ad[_0x5f383b(0x117)];_0x3bda7c===_0x2785ad[_0x5f383b(0x157)]?_0x3f5124=0x0:_0x3bda7c===_0x2785ad[_0x5f383b(0x117)]?_0x3f5124='u-spacing':_0x3bda7c===_0x2785ad[_0x5f383b(0x1d5)]&&(_0x3f5124=_0x5f383b(0x147));}else{if(_0x47ccd2['t']===_0x2d28f0[_0x5f383b(0x18e)][_0x5f383b(0x13e)]||_0x47ccd2['t']===_0x2d28f0[_0x5f383b(0x18e)][_0x5f383b(0x1eb)]){const _0x45c526=(_0x2a4ec=_0x2152ed[_0x5f383b(0x18f)]['nonNumShowAs'])!=null?_0x2a4ec:_0x2785ad[_0x5f383b(0x117)];_0x45c526===_0x2785ad['ZERO_VALUE']?_0x3f5124=0x0:_0x45c526===_0x2785ad[_0x5f383b(0x117)]?_0x3f5124=_0x5f383b(0x12f):_0x45c526===_0x2785ad['CONNECT_WITH_LINE']&&(_0x3f5124=_0x5f383b(0x147));}else _0x47ccd2['t']===_0x2d28f0['CellValueType'][_0x5f383b(0x133)]?_0x3f5124=_0x47ccd2['v']?0x1:0x0:_0x47ccd2['t']===_0x2d28f0[_0x5f383b(0x18e)][_0x5f383b(0x17a)]?_0x3f5124=Number(_0x47ccd2['v']):_0x3f5124=_0x47ccd2['v'];}if(_0x4241af[_0x5f383b(0x1d4)](_0x3f5124),typeof _0x3f5124==_0x5f383b(0x1d0)){_0x1c45a7=Math[_0x5f383b(0x1c4)](_0x1c45a7,_0x3f5124),_0x15ee0e=Math[_0x5f383b(0x1c4)](_0x15ee0e,_0x3f5124),_0x44aed8=Math[_0x5f383b(0x18c)](_0x44aed8,_0x3f5124),_0x410ffb=Math['min'](_0x410ffb,_0x3f5124);const _0x5b16b9=typeof _0x4241af[_0x2ddf45]==_0x5f383b(0x1d0)?Number(_0x4241af[_0x2ddf45]):Number[_0x5f383b(0x11c)];_0x3f5124>_0x5b16b9&&(_0x2ddf45=_0x4241af[_0x5f383b(0x1dc)]-0x1);const _0x3bb357=typeof _0x4241af[_0x21602b]==_0x5f383b(0x1d0)?Number(_0x4241af[_0x21602b]):Number[_0x5f383b(0x1f2)];_0x3f5124<_0x3bb357&&(_0x21602b=_0x4241af[_0x5f383b(0x1dc)]-0x1),_0x3f5124<0x0&&_0x4bcdc2[_0x5f383b(0x1d4)](_0x4241af[_0x5f383b(0x1dc)]-0x1);}}_0x31d690['setValue'](_0x5b2068,_0x10197d,{'groupId':_0x5db3ee,'data':_0x4241af,'max':_0x1c45a7,'min':_0x410ffb,'highIndex':_0x2ddf45,'lowIndex':_0x21602b,'negativeIndexes':_0x4bcdc2});}}});let _0x131de3=_0x15ee0e;((_0x447ab6=_0x2152ed[_0x1fca44(0x18f)][_0x1fca44(0x119)])==null?void 0x0:_0x447ab6[_0x1fca44(0x136)])===_0x5de2aa[_0x1fca44(0x169)]&&(_0x131de3=(_0x54826f=(_0x595cf6=_0x2152ed['config'][_0x1fca44(0x119)])==null?void 0x0:_0x595cf6[_0x1fca44(0x201)])!=null?_0x54826f:_0x15ee0e);let _0x1caa1a=_0x44aed8;((_0x481838=_0x2152ed[_0x1fca44(0x18f)][_0x1fca44(0x12c)])==null?void 0x0:_0x481838['type'])===_0x5de2aa['CUSTOM_EXTREMUM']&&(_0x1caa1a=(_0x295ec7=(_0x3c64e5=_0x2152ed[_0x1fca44(0x18f)]['extremumMin'])==null?void 0x0:_0x3c64e5[_0x1fca44(0x201)])!=null?_0x295ec7:_0x44aed8);const _0x388ed9=(_0x49ef02=_0x2152ed['config'][_0x1fca44(0x13a)])!=null?_0x49ef02:_0x5c6c1f[_0x1fca44(0x1d9)],_0x3279f5=(_0x5aba46=(_0x252fb0=_0x2152ed['config'][_0x1fca44(0x18d)])!=null?_0x252fb0:(_0x2b7306=_0x25764f[_0x388ed9])==null?void 0x0:_0x2b7306[0x0])!=null?_0x5aba46:_0x25764f[_0x1fca44(0x14f)][0x0],_0xfa3acd=new _0x2d28f0[(_0x1fca44(0x100))](_0x3279f5),_0x221e45=_0xfa3acd[_0x1fca44(0x1c7)](0.2)[_0x1fca44(0x10e)](),_0x4638e9=_0xfa3acd[_0x1fca44(0x1c7)](0.05)[_0x1fca44(0x10e)]();_0x4c6f93[_0x5db3ee]={'groupMax':_0x15ee0e,'groupMin':_0x44aed8,'showMax':_0x131de3,'showMin':_0x1caa1a,'startGradient':_0x221e45,'endGradient':_0x4638e9},this[_0x1fca44(0x155)]['next']({'unitId':_0x2ed24d,'subUnitId':_0x40a9fd,'groupId':_0x5db3ee,'config':_0x2152ed,'type':_0x58b271});}['addSparkline'](_0x17b99b,_0x1b9965,_0x3210fa,_0x5be9a0){const _0x47703a=_0x26e4aa;this[_0x47703a(0x1af)](_0x17b99b,_0x1b9965)['set'](_0x3210fa,_0x5be9a0),this[_0x47703a(0x183)](_0x17b99b,_0x1b9965,_0x3210fa,_0x47703a(0x146));}[_0x26e4aa(0x11d)](_0x51fa6e,_0x52b241,_0x32d47f,_0x26f346){const _0x14a1d5=_0x26e4aa;var _0x33f5b7;const _0x28f1ca=(_0x33f5b7=this[_0x14a1d5(0x13c)][_0x14a1d5(0x1b2)](_0x51fa6e))==null?void 0x0:_0x33f5b7[_0x14a1d5(0x1b2)](_0x52b241);_0x32d47f['forEach'](_0x7f9b7c=>{const _0x365c7f=_0x14a1d5;_0x28f1ca!=null&&_0x28f1ca[_0x365c7f(0x106)](_0x7f9b7c)&&(_0x28f1ca['set'](_0x7f9b7c,_0x26f346),this['updateSparklineExtraNum'](_0x51fa6e,_0x52b241,_0x7f9b7c));});}[_0x26e4aa(0x1a5)](_0x87b1f0,_0x15da36,_0x34f8b3){const _0x432d18=_0x26e4aa;var _0x262842,_0x5d6475;const _0x47b08c=this[_0x432d18(0x13c)][_0x432d18(0x1b2)](_0x87b1f0);if(_0x47b08c){const _0xc7078d=_0x47b08c['get'](_0x15da36);if(_0xc7078d){_0xc7078d[_0x432d18(0x1bd)](_0x34f8b3);const _0xeda773=(_0x262842=this[_0x432d18(0x164)][_0x432d18(0x1b2)](_0x87b1f0))==null?void 0x0:_0x262842[_0x432d18(0x1b2)](_0x15da36);(_0x5d6475=_0xeda773==null?void 0x0:_0xeda773['matrix'])==null||_0x5d6475[_0x432d18(0x1b7)]((_0x527c72,_0x2dbce8,_0x63f0b9)=>{const _0x1fe887=_0x432d18;(_0x63f0b9==null?void 0x0:_0x63f0b9[_0x1fe887(0x1f3)])===_0x34f8b3&&(_0xeda773==null||_0xeda773[_0x1fe887(0x1f6)][_0x1fe887(0x11a)](_0x527c72,_0x2dbce8));}),this[_0x432d18(0x155)][_0x432d18(0x10a)]({'unitId':_0x87b1f0,'subUnitId':_0x15da36,'groupId':_0x34f8b3,'type':_0x432d18(0x12d)});}}}[_0x26e4aa(0x132)](_0x1360d1,_0x576e42,_0x1e8a7d,_0x19ce1b){const _0x59311e=_0x26e4aa;var _0x5633b1,_0x326abc,_0x47e025,_0x5dbccd;const _0x46931a=(_0x5633b1=this[_0x59311e(0x164)][_0x59311e(0x1b2)](_0x1360d1))==null?void 0x0:_0x5633b1['get'](_0x576e42),_0x24c4a2=_0x46931a==null?void 0x0:_0x46931a['matrix'][_0x59311e(0x1ea)](_0x1e8a7d,_0x19ce1b);if(_0x24c4a2){const {groupId:_0xe0df36}=_0x24c4a2,_0x501f80=(_0x326abc=this[_0x59311e(0x13c)]['get'](_0x1360d1))==null?void 0x0:_0x326abc[_0x59311e(0x1b2)](_0x576e42);(_0x47e025=_0x501f80==null?void 0x0:_0x501f80[_0x59311e(0x1b2)](_0xe0df36))==null||_0x47e025[_0x59311e(0x18a)][_0x59311e(0x11a)](_0x1e8a7d,_0x19ce1b),(_0x5dbccd=_0x501f80==null?void 0x0:_0x501f80['get'](_0xe0df36))!=null&&_0x5dbccd[_0x59311e(0x18a)][_0x59311e(0x152)]()||_0x501f80==null||_0x501f80['delete'](_0xe0df36),_0x46931a==null||_0x46931a['matrix']['realDeleteValue'](_0x1e8a7d,_0x19ce1b),this[_0x59311e(0x155)]['next']({'unitId':_0x1360d1,'subUnitId':_0x576e42,'groupId':_0xe0df36,'type':_0x59311e(0x12d)});}}[_0x26e4aa(0x12a)](_0x4f3856,_0x2e234b,_0x1ba58e){const _0x465c08=_0x26e4aa;var _0x306b64,_0x354eaa,_0x124804,_0x34b66c;const _0x355124=(_0x124804=(_0x354eaa=(_0x306b64=this[_0x465c08(0x13c)]['get'](_0x4f3856))==null?void 0x0:_0x306b64[_0x465c08(0x1b2)](_0x2e234b))==null?void 0x0:_0x354eaa[_0x465c08(0x1b2)](_0x1ba58e))==null?void 0x0:_0x124804[_0x465c08(0x18a)],_0xcdf58d=(_0x34b66c=this['_sparklineAnchorMap']['get'](_0x4f3856))==null?void 0x0:_0x34b66c[_0x465c08(0x1b2)](_0x2e234b);if(_0x355124&&_0xcdf58d){const {matrix:_0x51f1cb,extra:_0x4b8401}=_0xcdf58d;_0x355124[_0x465c08(0x1b7)]((_0x467b43,_0x55261d,_0x133fc8)=>{const _0x41d6d2=_0x465c08;_0x51f1cb[_0x41d6d2(0x11a)](_0x467b43,_0x55261d);}),delete _0x4b8401[_0x1ba58e];}}[_0x26e4aa(0x134)](_0x37d4c0,_0x1ab907){const _0x13811a=_0x26e4aa;var _0x11f468;return(_0x11f468=this['_sparklineModel']['get'](_0x37d4c0))==null?void 0x0:_0x11f468[_0x13811a(0x1b2)](_0x1ab907);}[_0x26e4aa(0x1f7)](_0xa57929,_0x11fd81,_0xd39b69){const _0x582c42=_0x26e4aa;var _0x3a4bc9,_0x15482f;return(_0x15482f=(_0x3a4bc9=this[_0x582c42(0x13c)][_0x582c42(0x1b2)](_0xa57929))==null?void 0x0:_0x3a4bc9['get'](_0x11fd81))==null?void 0x0:_0x15482f['get'](_0xd39b69);}[_0x26e4aa(0x16b)](_0x2d6c85,_0x4ccaba,_0x310f75,_0x34a0eb){const _0x1da8f0=_0x26e4aa;var _0x126fd8,_0x3f454c,_0x218ff3;return(_0x218ff3=(_0x3f454c=(_0x126fd8=this[_0x1da8f0(0x164)][_0x1da8f0(0x1b2)](_0x2d6c85))==null?void 0x0:_0x126fd8[_0x1da8f0(0x1b2)](_0x4ccaba))==null?void 0x0:_0x3f454c[_0x1da8f0(0x1f6)][_0x1da8f0(0x1ea)](_0x310f75,_0x34a0eb))==null?void 0x0:_0x218ff3[_0x1da8f0(0x1f3)];}['reBuildAnchorCache'](_0x25a302,_0x4e5ba0){const _0x23fd7b=_0x26e4aa;var _0x46acc0;const _0x536e49=this['_ensureAnchorMatrix'](_0x25a302,_0x4e5ba0);_0x536e49['matrix'][_0x23fd7b(0x1b7)]((_0xf60b66,_0x332449)=>{const _0x2171ef=_0x23fd7b;_0x536e49['matrix'][_0x2171ef(0x11a)](_0xf60b66,_0x332449);});const _0x65cfb=(_0x46acc0=this['_sparklineModel'][_0x23fd7b(0x1b2)](_0x25a302))==null?void 0x0:_0x46acc0[_0x23fd7b(0x1b2)](_0x4e5ba0);if(_0x65cfb){for(const [_0x281347]of _0x65cfb)this['updateSparklineExtraNum'](_0x25a302,_0x4e5ba0,_0x281347);}}[_0x26e4aa(0x112)](){const _0x261d4e=_0x26e4aa;return{'sparklineModel':this[_0x261d4e(0x13c)],'sparklineAnchorMap':this['_sparklineAnchorMap']};}[_0x26e4aa(0x1e3)](_0x1a1e4f){const _0x4ae94c=_0x26e4aa,_0x39a300={};if(this[_0x4ae94c(0x13c)]['has'](_0x1a1e4f)){_0x39a300[_0x1a1e4f]={};const _0x1cf226=this['_sparklineModel'][_0x4ae94c(0x1b2)](_0x1a1e4f);_0x1cf226!=null&&_0x1cf226['size']&&Array[_0x4ae94c(0x115)](_0x1cf226[_0x4ae94c(0x10b)]())['forEach'](_0x51a46f=>{const _0x27bf11=_0x4ae94c;_0x39a300[_0x1a1e4f][_0x51a46f]={};const _0x166755=_0x1cf226[_0x27bf11(0x1b2)](_0x51a46f);_0x166755!=null&&_0x166755[_0x27bf11(0x1b1)]&&Array[_0x27bf11(0x115)](_0x166755[_0x27bf11(0x10b)]())[_0x27bf11(0x1c2)](_0x2a47f0=>{const _0x2db46d=_0x27bf11,_0x320420=_0x166755[_0x2db46d(0x1b2)](_0x2a47f0);_0x320420&&(_0x39a300[_0x1a1e4f][_0x51a46f][_0x2a47f0]={'config':_0x320420['config'],'sparklines':_0x320420[_0x2db46d(0x18a)][_0x2db46d(0x14d)]()});});});}return _0x39a300;}[_0x26e4aa(0x158)](_0x551d9f){if(!_0x551d9f)return;Object['keys'](_0x551d9f)['forEach'](_0x5ef11a=>{const _0x3e9516=_0x3439,_0x4093cb=_0x551d9f[_0x5ef11a];_0x4093cb&&Object[_0x3e9516(0x10b)](_0x4093cb)['forEach'](_0x4dce62=>{const _0x1feda4=_0x3e9516,_0x40f439=_0x4093cb[_0x4dce62];_0x40f439&&Object[_0x1feda4(0x10b)](_0x40f439)[_0x1feda4(0x1c2)](_0x18bd33=>{const _0x3e413d=_0x1feda4,_0xf23961=_0x40f439[_0x18bd33];if(_0xf23961){const _0x27341e={'config':_0xf23961[_0x3e413d(0x18f)],'sparklines':new _0x2d28f0[(_0x3e413d(0x16c))](_0xf23961['sparklines'])};this[_0x3e413d(0x14a)](_0x5ef11a,_0x4dce62,_0x18bd33,_0x27341e);}});});});}['deleteUnit'](_0x497ce4){const _0x215486=_0x26e4aa,_0x21c079=this['_sparklineModel']['get'](_0x497ce4);if(_0x21c079){for(const [_0x132a0f]of _0x21c079){const _0x45f5fb=_0x21c079['get'](_0x132a0f);if(_0x45f5fb){for(const [_0x469ae5]of _0x45f5fb)this[_0x215486(0x12a)](_0x497ce4,_0x132a0f,_0x469ae5);}}this['_sparklineModel'][_0x215486(0x1bd)](_0x497ce4);}}},_0x4f3fd8[_0x26e4aa(0x168)]=_0x1a6271([_0x4b7d49(0x0,_0x2d28f0['Inject'](_0x2d28f0[_0x26e4aa(0x175)]))],_0x4f3fd8['SparklineDataSourceModel']);const _0x3cf655={'id':_0x26e4aa(0x1a0),'type':_0x2d28f0[_0x26e4aa(0x177)]['MUTATION'],'handler':(_0x1f85d9,_0x40fe13)=>{const _0x590668=_0x26e4aa;if(!_0x40fe13)return!0x1;const {sparklineConfigMap:_0x510e96,unitId:_0x998579,subUnitId:_0x133ec5}=_0x40fe13,_0x4803ed=_0x1f85d9[_0x590668(0x1b2)](_0x4f3fd8['SparklineDataSourceModel']);return Object[_0x590668(0x1c9)](_0x510e96)['forEach'](([_0x2dd3a3,_0xdaf33b])=>{const _0x4abb5c=_0x590668,_0x5d586c={'config':_0xdaf33b['config'],'sparklines':new _0x2d28f0[(_0x4abb5c(0x16c))](_0xdaf33b[_0x4abb5c(0x18a)])};_0x4803ed[_0x4abb5c(0x14a)](_0x998579,_0x133ec5,_0x2dd3a3,_0x5d586c);}),!0x0;}},_0xb050c2={'id':_0x26e4aa(0x121),'type':_0x2d28f0['CommandType']['MUTATION'],'handler':(_0x1fc9ba,_0x36a1f5)=>{const _0x52d558=_0x26e4aa;if(!_0x36a1f5)return!0x1;const {unitId:_0x58816b,subUnitId:_0x207d50,ranges:_0x33d426,isSingle:_0x4fa909,groupIds:_0x1a0468}=_0x36a1f5,_0x95dd04=_0x1fc9ba['get'](_0x4f3fd8[_0x52d558(0x168)]);return _0x1a0468?(_0x1a0468[_0x52d558(0x1c2)](_0x514039=>{const _0x136c55=_0x52d558;_0x95dd04[_0x136c55(0x1a5)](_0x58816b,_0x207d50,_0x514039);}),!0x0):_0x33d426?(_0x33d426['forEach'](_0x40ed9e=>{const _0x5c02d2=_0x52d558;_0x2d28f0[_0x5c02d2(0x200)][_0x5c02d2(0x1b9)](_0x40ed9e,(_0x55e86c,_0x484113)=>{const _0x195995=_0x5c02d2,_0x5e7466=_0x95dd04[_0x195995(0x16b)](_0x58816b,_0x207d50,_0x55e86c,_0x484113);_0x5e7466&&(_0x4fa909?_0x95dd04[_0x195995(0x132)](_0x58816b,_0x207d50,_0x55e86c,_0x484113):_0x95dd04[_0x195995(0x1a5)](_0x58816b,_0x207d50,_0x5e7466));});}),!0x0):!0x1;}},_0x2004ab={'id':_0x26e4aa(0x1d6),'type':_0x2d28f0[_0x26e4aa(0x177)][_0x26e4aa(0x1bb)],'handler':(_0x5def43,_0x128509)=>{const _0x28c8e2=_0x26e4aa;if(!_0x128509)return!0x1;const {sourceRanges:_0xd8907b,targetRanges:_0x29912e,config:_0x2f82ea}=_0x128509,_0x2d1f36=_0x5def43[_0x28c8e2(0x1b2)](_0x2d28f0[_0x28c8e2(0x1e6)]),_0x1a0090='g_'+_0x2d28f0['generateRandomId'](0x6),_0x109b4c=_0x23432c(_0xd8907b,_0x29912e),_0x243984={'config':_0x2f82ea!=null?_0x2f82ea:{},'sparklines':_0x109b4c[_0x28c8e2(0x14d)]()},_0x127e50=_0x5def43[_0x28c8e2(0x1b2)](_0x2d28f0['IUniverInstanceService']),_0x222421=_0x5def43[_0x28c8e2(0x1b2)](_0x4f3fd8[_0x28c8e2(0x168)]),_0x530b94=_0x3b710a[_0x28c8e2(0x145)](_0x127e50);if(!_0x530b94)return!0x1;const {unitId:_0xad8a5f,subUnitId:_0x28a8fe}=_0x530b94,_0x278683=_0x5def43['get'](_0x2d28f0[_0x28c8e2(0x204)]),_0x587af2=[],_0x40c3c=[],_0x4571e5={},_0x11a49b={},_0x383d61=new Set([_0x1a0090]);_0x109b4c[_0x28c8e2(0x1b7)]((_0x195649,_0x3b7a70,_0x12f87b)=>{const _0x5c5d7f=_0x28c8e2,_0x247f06=_0x222421[_0x5c5d7f(0x16b)](_0xad8a5f,_0x28a8fe,_0x195649,_0x3b7a70);if(_0x247f06){const _0x5a7ff5=_0x222421[_0x5c5d7f(0x1f7)](_0xad8a5f,_0x28a8fe,_0x247f06);if(_0x5a7ff5){_0x383d61[_0x5c5d7f(0x146)](_0x247f06);let _0x591280=_0x4571e5[_0x247f06],_0x40aede=_0x11a49b[_0x247f06];_0x40aede||(_0x40aede={'config':_0x2d28f0[_0x5c5d7f(0x16d)][_0x5c5d7f(0x15c)](_0x5a7ff5['config']),'sparklines':new _0x2d28f0[(_0x5c5d7f(0x16c))](_0x5a7ff5[_0x5c5d7f(0x18a)][_0x5c5d7f(0x1e4)]())},_0x11a49b[_0x247f06]=_0x40aede),_0x591280||(_0x591280={'config':_0x2d28f0[_0x5c5d7f(0x16d)]['deepClone'](_0x5a7ff5[_0x5c5d7f(0x18f)]),'sparklines':_0x5a7ff5[_0x5c5d7f(0x18a)][_0x5c5d7f(0x1e4)]()},_0x4571e5[_0x247f06]=_0x591280),_0x40aede[_0x5c5d7f(0x18a)][_0x5c5d7f(0x11a)](_0x195649,_0x3b7a70);}}});const _0x53b276={};return Object[_0x28c8e2(0x1c9)](_0x11a49b)[_0x28c8e2(0x1c2)](([_0x5dbca7,_0x36cb6a])=>{const _0x4c07d8=_0x28c8e2;_0x36cb6a[_0x4c07d8(0x18a)][_0x4c07d8(0x205)]()&&(_0x53b276[_0x5dbca7]={'config':_0x36cb6a['config'],'sparklines':_0x36cb6a['sparklines'][_0x4c07d8(0x1e4)]()});}),_0x53b276[_0x1a0090]=_0x243984,_0x587af2['push']({'id':_0xb050c2['id'],'params':{'unitId':_0xad8a5f,'subUnitId':_0x28a8fe,'groupIds':Array[_0x28c8e2(0x115)](_0x383d61),'isSingle':!0x1}}),_0x383d61[_0x28c8e2(0x1b1)]>0x1&&(_0x40c3c[_0x28c8e2(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0xad8a5f,'subUnitId':_0x28a8fe,'groupIds':Array['from'](_0x383d61),'isSingle':!0x1}}),_0x587af2[_0x28c8e2(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0xad8a5f,'subUnitId':_0x28a8fe,'sparklineConfigMap':_0x4571e5}})),_0x40c3c[_0x28c8e2(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0xad8a5f,'subUnitId':_0x28a8fe,'sparklineConfigMap':_0x53b276}}),_0x2d28f0[_0x28c8e2(0x18b)](_0x40c3c,_0x278683),_0x2d1f36[_0x28c8e2(0x1c1)]({'unitID':_0xad8a5f,'undoMutations':_0x587af2,'redoMutations':_0x40c3c}),!0x0;}},_0x26c73e={'id':_0x26e4aa(0x167),'type':_0x2d28f0[_0x26e4aa(0x177)][_0x26e4aa(0x1bb)],'handler':(_0x152def,_0x470ea6)=>{const _0x33e4f7=_0x26e4aa;var _0x14c28e;const {isSingle:_0x1538f8=!0x0}=_0x470ea6||{},_0x416213=_0x152def[_0x33e4f7(0x1b2)](_0x2d28f0[_0x33e4f7(0x204)]),_0xda6e1b=_0x152def[_0x33e4f7(0x1b2)](_0x2d28f0[_0x33e4f7(0x175)]),_0xaaded=_0x152def['get'](_0x4f3fd8[_0x33e4f7(0x168)]),_0x4ffa5b=_0x152def[_0x33e4f7(0x1b2)](_0x2d28f0[_0x33e4f7(0x1e6)]),_0x5aea15=_0x3b710a[_0x33e4f7(0x145)](_0xda6e1b);if(!_0x5aea15)return!0x1;const _0x52f73d=_0x152def[_0x33e4f7(0x1b2)](_0x3b710a[_0x33e4f7(0x189)]),_0x5182a2=(_0x14c28e=_0x470ea6==null?void 0x0:_0x470ea6[_0x33e4f7(0x17f)])!=null?_0x14c28e:_0x52f73d[_0x33e4f7(0x166)]()[_0x33e4f7(0x1d7)](_0x14ea6e=>_0x14ea6e['range']),{unitId:_0x18e06f,subUnitId:_0xdbb7bc}=_0x5aea15,_0x9c1204=[],_0x4cb5b5=[];_0x9c1204[_0x33e4f7(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x18e06f,'subUnitId':_0xdbb7bc,'ranges':_0x5182a2,'isSingle':_0x1538f8}});const _0x1d2135=[],_0x329547={};return _0x5182a2[_0x33e4f7(0x1c2)](_0x2c1e82=>{const _0x3ec6c2=_0x33e4f7;_0x2d28f0['Range'][_0x3ec6c2(0x1b9)](_0x2c1e82,(_0x5a0e20,_0x213a80)=>{const _0x5a823e=_0x3ec6c2,_0x11f140=_0xaaded[_0x5a823e(0x16b)](_0x18e06f,_0xdbb7bc,_0x5a0e20,_0x213a80);if(_0x11f140){const _0x2257a5=_0xaaded['getSparklineById'](_0x18e06f,_0xdbb7bc,_0x11f140);_0x2257a5&&(_0x1d2135[_0x5a823e(0x1d4)](_0x11f140),_0x329547[_0x11f140]={'config':_0x2d28f0[_0x5a823e(0x16d)][_0x5a823e(0x15c)](_0x2257a5[_0x5a823e(0x18f)]),'sparklines':_0x2d28f0['Tools'][_0x5a823e(0x15c)](_0x2257a5[_0x5a823e(0x18a)]['clone']())});}});}),_0x4cb5b5[_0x33e4f7(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x18e06f,'subUnitId':_0xdbb7bc,'groupIds':_0x1d2135,'isSingle':!0x1}}),_0x4cb5b5[_0x33e4f7(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x18e06f,'subUnitId':_0xdbb7bc,'sparklineConfigMap':_0x329547}}),_0x2d28f0[_0x33e4f7(0x18b)](_0x9c1204,_0x416213),_0x4ffa5b[_0x33e4f7(0x1c1)]({'unitID':_0x18e06f,'undoMutations':_0x4cb5b5,'redoMutations':_0x9c1204}),!0x0;}},_0x3d2fda={'id':_0x26e4aa(0xff),'type':_0x2d28f0[_0x26e4aa(0x177)]['MUTATION'],'handler':(_0x101617,_0x506782)=>{const _0x2249b0=_0x26e4aa;if(!_0x506782)return!0x1;const {unitId:_0x56c9f0,subUnitId:_0x12a12d,groupIds:_0x4c5249,config:_0x2d475c}=_0x506782,_0x530d40=_0x101617[_0x2249b0(0x1b2)](_0x4f3fd8['SparklineDataSourceModel']);return _0x4c5249['forEach'](_0x48e917=>{const _0x1dc539=_0x2249b0,_0x395789=_0x530d40['getSparklineById'](_0x56c9f0,_0x12a12d,_0x48e917);if(_0x395789){const _0xcd4042={'config':Object[_0x1dc539(0x173)]({},_0x395789[_0x1dc539(0x18f)],_0x2d475c[_0x1dc539(0x18f)]),'sparklines':new _0x2d28f0['ObjectMatrix'](_0x395789['sparklines'][_0x1dc539(0x1e4)]())};_0x530d40[_0x1dc539(0x11d)](_0x56c9f0,_0x12a12d,[_0x48e917],_0xcd4042);}}),!0x0;}},_0x513e4a={'id':'sheet.command.set-sparkline','type':_0x2d28f0['CommandType'][_0x26e4aa(0x1bb)],'handler':(_0x351713,_0x40fff8)=>{const _0x3edcd9=_0x26e4aa;var _0x559c36,_0x450c13,_0x4444bf,_0x5af31a;if(!_0x40fff8)return!0x1;const _0x198e35=_0x351713[_0x3edcd9(0x1b2)](_0x2d28f0[_0x3edcd9(0x204)]),_0x244176=_0x351713[_0x3edcd9(0x1b2)](_0x3b710a[_0x3edcd9(0x189)]),_0x10397a=_0x351713['get'](_0x4f3fd8['SparklineDataSourceModel']),_0x8519c1=_0x351713[_0x3edcd9(0x1b2)](_0x2d28f0['IUniverInstanceService']),_0x2ecccf=_0x351713[_0x3edcd9(0x1b2)](_0x2d28f0[_0x3edcd9(0x1e6)]),_0x4301e8=_0x3b710a[_0x3edcd9(0x145)](_0x8519c1);if(!_0x4301e8)return!0x1;const {unitId:_0x424c89,subUnitId:_0xb65e37}=_0x4301e8,_0x419dd5=(_0x559c36=_0x40fff8==null?void 0x0:_0x40fff8[_0x3edcd9(0x17f)])!=null?_0x559c36:_0x244176[_0x3edcd9(0x166)]()['map'](_0x14cd0c=>_0x14cd0c[_0x3edcd9(0x161)]),_0x33a79e=(_0x450c13=_0x10397a[_0x3edcd9(0x112)]()['sparklineAnchorMap'][_0x3edcd9(0x1b2)](_0x424c89))==null?void 0x0:_0x450c13[_0x3edcd9(0x1b2)](_0xb65e37),{isChangeDataSource:_0x42d863,config:_0x1d3dcb,combine:_0x550926,unCombine:_0x31d66f}=_0x40fff8;if(_0x550926){const _0x5af4ed=[],_0xd66255=[];_0x5af4ed[_0x3edcd9(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'ranges':_0x419dd5,'isSingle':!0x0}});const _0xa3b2b4='g_'+_0x2d28f0[_0x3edcd9(0x1b6)](0x6),_0x5424a6=new _0x2d28f0[(_0x3edcd9(0x16c))](),_0x5ddf66=(_0x4444bf=_0x10397a[_0x3edcd9(0x112)]()[_0x3edcd9(0x172)][_0x3edcd9(0x1b2)](_0x424c89))==null?void 0x0:_0x4444bf['get'](_0xb65e37),_0x178e36=new Set([_0xa3b2b4]),_0x2c0b0f={};return _0x419dd5[_0x3edcd9(0x1c2)](_0x16da94=>{const _0x512d75=_0x3edcd9;var _0x1b6513,_0x1c9757;const {startRow:_0x55b1f6,endRow:_0x200e59,startColumn:_0x414add,endColumn:_0x402805}=_0x16da94;for(let _0x1a09c8=_0x55b1f6;_0x1a09c8<=_0x200e59;_0x1a09c8++)for(let _0x2488a4=_0x414add;_0x2488a4<=_0x402805;_0x2488a4++){const _0x1c2ca1=(_0x1b6513=_0x33a79e==null?void 0x0:_0x33a79e[_0x512d75(0x1f6)][_0x512d75(0x1ea)](_0x1a09c8,_0x2488a4))==null?void 0x0:_0x1b6513['groupId'];if(_0x1c2ca1){_0x178e36[_0x512d75(0x146)](_0x1c2ca1);const _0x38ffea=_0x10397a[_0x512d75(0x1f7)](_0x424c89,_0xb65e37,_0x1c2ca1);_0x38ffea&&(_0x2c0b0f[_0x1c2ca1]={'config':_0x2d28f0[_0x512d75(0x16d)][_0x512d75(0x15c)](_0x38ffea[_0x512d75(0x18f)]),'sparklines':_0x2d28f0[_0x512d75(0x16d)][_0x512d75(0x15c)](_0x38ffea[_0x512d75(0x18a)][_0x512d75(0x1e4)]())});const _0x556a53=(_0x1c9757=_0x5ddf66==null?void 0x0:_0x5ddf66[_0x512d75(0x1b2)](_0x1c2ca1))==null?void 0x0:_0x1c9757['sparklines'][_0x512d75(0x1ea)](_0x1a09c8,_0x2488a4);_0x556a53&&_0x5424a6[_0x512d75(0x153)](_0x1a09c8,_0x2488a4,_0x556a53);}}}),_0x5af4ed[_0x3edcd9(0x1d4)]({'id':_0x3cf655['id'],'params':{'sparklineConfigMap':{[_0xa3b2b4]:{'config':_0x2d28f0['Tools'][_0x3edcd9(0x15c)](_0x1d3dcb[_0x3edcd9(0x18f)]),'sparklines':_0x5424a6[_0x3edcd9(0x14d)]()}},'unitId':_0x424c89,'subUnitId':_0xb65e37}}),_0xd66255[_0x3edcd9(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'isSingle':!0x1,'groupIds':Array[_0x3edcd9(0x115)](_0x178e36)}}),_0xd66255[_0x3edcd9(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'sparklineConfigMap':_0x2c0b0f}}),_0x2d28f0[_0x3edcd9(0x18b)](_0x5af4ed,_0x198e35),_0x2ecccf[_0x3edcd9(0x1c1)]({'unitID':_0x424c89,'undoMutations':_0xd66255,'redoMutations':_0x5af4ed}),!0x0;}else{if(_0x31d66f){const _0x536034=[],_0x11c4f2=[];_0x536034['push']({'id':_0xb050c2['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'ranges':_0x419dd5,'isSingle':!0x0}});const _0x2bc6c9=(_0x5af31a=_0x10397a[_0x3edcd9(0x112)]()[_0x3edcd9(0x172)]['get'](_0x424c89))==null?void 0x0:_0x5af31a['get'](_0xb65e37),_0x3d6540={},_0x27126f=new Set(),_0x39fb42={};return _0x419dd5[_0x3edcd9(0x1c2)](_0x2d0f59=>{const _0x2e31cc=_0x3edcd9;var _0x21bf12,_0x4dda29;const {startRow:_0x41959d,endRow:_0x1b879e,startColumn:_0x273c49,endColumn:_0x35ad7c}=_0x2d0f59;for(let _0x404511=_0x41959d;_0x404511<=_0x1b879e;_0x404511++)for(let _0x2b952c=_0x273c49;_0x2b952c<=_0x35ad7c;_0x2b952c++){const _0x1acb34=(_0x21bf12=_0x33a79e==null?void 0x0:_0x33a79e[_0x2e31cc(0x1f6)][_0x2e31cc(0x1ea)](_0x404511,_0x2b952c))==null?void 0x0:_0x21bf12[_0x2e31cc(0x1f3)];if(_0x1acb34){const _0x1ebc2a=new _0x2d28f0[(_0x2e31cc(0x16c))](),_0x3c3210='g_'+_0x2d28f0[_0x2e31cc(0x1b6)](0x6);_0x27126f[_0x2e31cc(0x146)](_0x1acb34),_0x27126f[_0x2e31cc(0x146)](_0x3c3210);const _0x46e987=_0x10397a[_0x2e31cc(0x1f7)](_0x424c89,_0xb65e37,_0x1acb34);_0x46e987&&(_0x39fb42[_0x1acb34]={'config':_0x2d28f0['Tools'][_0x2e31cc(0x15c)](_0x46e987['config']),'sparklines':_0x2d28f0[_0x2e31cc(0x16d)][_0x2e31cc(0x15c)](_0x46e987[_0x2e31cc(0x18a)]['clone']())});const _0x8d844d=(_0x4dda29=_0x2bc6c9==null?void 0x0:_0x2bc6c9['get'](_0x1acb34))==null?void 0x0:_0x4dda29[_0x2e31cc(0x18a)]['getValue'](_0x404511,_0x2b952c);_0x8d844d&&_0x1ebc2a['setValue'](_0x404511,_0x2b952c,_0x8d844d),_0x3d6540[_0x3c3210]={'sparklines':_0x1ebc2a[_0x2e31cc(0x14d)](),'config':_0x2d28f0[_0x2e31cc(0x16d)][_0x2e31cc(0x15c)](_0x1d3dcb[_0x2e31cc(0x18f)])};}}}),_0x536034['push']({'id':_0x3cf655['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'sparklineConfigMap':_0x3d6540}}),_0x11c4f2[_0x3edcd9(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'isSingle':!0x1,'groupIds':Array[_0x3edcd9(0x115)](_0x27126f)}}),_0x11c4f2[_0x3edcd9(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'sparklineConfigMap':_0x39fb42}}),_0x2d28f0[_0x3edcd9(0x18b)](_0x536034,_0x198e35),_0x2ecccf['pushUndoRedo']({'unitID':_0x424c89,'undoMutations':_0x11c4f2,'redoMutations':_0x536034}),!0x0;}}if(_0x42d863){const _0x78141c=_0x40fff8[_0x3edcd9(0x129)];if(!_0x78141c)return!0x1;const {groupId:_0x26b7e1,sourceRanges:_0x356e50,targetRanges:_0x28ef86,resetType:_0x3ff1e4,primary:_0x103564}=_0x78141c,_0x79500a=[],_0x399222=[];_0x79500a[_0x3edcd9(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'ranges':_0x419dd5,'isSingle':!0x1,'groupIds':[_0x26b7e1]}}),_0x399222[_0x3edcd9(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'ranges':_0x419dd5,'isSingle':!0x1,'groupIds':[_0x26b7e1]}});let _0x2cf71d;_0x3ff1e4===_0x3edcd9(0x1ab)?(_0x2cf71d=new _0x2d28f0[(_0x3edcd9(0x16c))](_0x1d3dcb[_0x3edcd9(0x18a)][_0x3edcd9(0x1e4)]()),_0x2cf71d[_0x3edcd9(0x11a)](_0x103564[_0x3edcd9(0x1d8)],_0x103564[_0x3edcd9(0x1df)]),_0x2cf71d[_0x3edcd9(0x153)](_0x28ef86[0x0][_0x3edcd9(0x188)],_0x28ef86[0x0][_0x3edcd9(0x1ee)],_0x356e50[0x0])):_0x2cf71d=_0x23432c(_0x356e50,_0x28ef86);const _0x110820={'config':_0x2d28f0[_0x3edcd9(0x16d)][_0x3edcd9(0x15c)](_0x1d3dcb['config']),'sparklines':_0x2cf71d['getMatrix']()},_0x2fe9ac={'config':_0x2d28f0['Tools'][_0x3edcd9(0x15c)](_0x1d3dcb[_0x3edcd9(0x18f)]),'sparklines':_0x2d28f0['Tools']['deepClone'](_0x1d3dcb[_0x3edcd9(0x18a)][_0x3edcd9(0x1e4)]())};_0x79500a[_0x3edcd9(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'sparklineConfigMap':{[_0x26b7e1]:_0x110820}}}),_0x399222['push']({'id':_0x3cf655['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'sparklineConfigMap':{[_0x26b7e1]:_0x2fe9ac}}}),_0x2d28f0[_0x3edcd9(0x18b)](_0x79500a,_0x198e35),_0x2ecccf['pushUndoRedo']({'unitID':_0x424c89,'undoMutations':_0x399222,'redoMutations':_0x79500a});}else{const _0x3b0a53=[],_0xf42677=[],_0x53dad6=new Set(),_0x4b40cf={};_0x419dd5[_0x3edcd9(0x1c2)](_0x47ec64=>{const _0x27c52d=_0x3edcd9;var _0xdbc713;const {startRow:_0x52db52,endRow:_0x4b9676,startColumn:_0x279d4f,endColumn:_0x1098bf}=_0x47ec64;for(let _0xfb5262=_0x52db52;_0xfb5262<=_0x4b9676;_0xfb5262++)for(let _0x57c38a=_0x279d4f;_0x57c38a<=_0x1098bf;_0x57c38a++){const _0x4820b7=(_0xdbc713=_0x33a79e==null?void 0x0:_0x33a79e[_0x27c52d(0x1f6)][_0x27c52d(0x1ea)](_0xfb5262,_0x57c38a))==null?void 0x0:_0xdbc713[_0x27c52d(0x1f3)];if(_0x4820b7){_0x53dad6[_0x27c52d(0x146)](_0x4820b7);const _0x11d04d=_0x10397a[_0x27c52d(0x1f7)](_0x424c89,_0xb65e37,_0x4820b7);_0x11d04d&&(_0x4b40cf[_0x4820b7]={'config':_0x2d28f0[_0x27c52d(0x16d)][_0x27c52d(0x15c)](_0x11d04d[_0x27c52d(0x18f)]),'sparklines':_0x2d28f0[_0x27c52d(0x16d)][_0x27c52d(0x15c)](_0x11d04d[_0x27c52d(0x18a)][_0x27c52d(0x1e4)]())});}}}),_0xf42677[_0x3edcd9(0x1d4)]({'id':_0x3d2fda['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'groupIds':Array[_0x3edcd9(0x115)](_0x53dad6),'config':{'config':_0x2d28f0[_0x3edcd9(0x16d)][_0x3edcd9(0x15c)](_0x1d3dcb[_0x3edcd9(0x18f)]),'sparklines':_0x1d3dcb[_0x3edcd9(0x18a)][_0x3edcd9(0x14d)]()}}}),_0x3b0a53['push']({'id':_0xb050c2['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'isSingle':!0x1,'groupIds':Array['from'](_0x53dad6)}}),_0x3b0a53[_0x3edcd9(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x424c89,'subUnitId':_0xb65e37,'sparklineConfigMap':_0x4b40cf}}),_0x2d28f0[_0x3edcd9(0x18b)](_0xf42677,_0x198e35),_0x2ecccf[_0x3edcd9(0x1c1)]({'unitID':_0x424c89,'undoMutations':_0x3b0a53,'redoMutations':_0xf42677});}return!0x0;}};var _0x1ba132=Object[_0x26e4aa(0x1c5)],_0x12dda6=(_0x94b984,_0x4c48ec,_0x1e6f2b,_0x31e1c3)=>{const _0x35b1d2=_0x26e4aa;for(var _0x2ad5b7=_0x31e1c3>0x1?void 0x0:_0x31e1c3?_0x1ba132(_0x4c48ec,_0x1e6f2b):_0x4c48ec,_0x2e5759=_0x94b984[_0x35b1d2(0x1dc)]-0x1,_0x2ca501;_0x2e5759>=0x0;_0x2e5759--)(_0x2ca501=_0x94b984[_0x2e5759])&&(_0x2ad5b7=_0x2ca501(_0x2ad5b7)||_0x2ad5b7);return _0x2ad5b7;},_0x50911a=(_0x2d9baa,_0x22f782)=>(_0x5d1601,_0x5b0c6e)=>_0x22f782(_0x5d1601,_0x5b0c6e,_0x2d9baa);let _0x289b21=class extends _0x2d28f0[_0x26e4aa(0x13b)]{constructor(_0x4fc997,_0x5930b9,_0x43c08d,_0x651794){const _0x43cb31=_0x26e4aa;super(),this[_0x43cb31(0x11e)]=_0x4fc997,this['_sheetInterceptorService']=_0x5930b9,this[_0x43cb31(0x15b)]=_0x43c08d,this['_sheetSelectionService']=_0x651794,this[_0x43cb31(0x12b)]();}[_0x26e4aa(0x12b)](){const _0x5e37e9=_0x26e4aa;this[_0x5e37e9(0x15f)](this[_0x5e37e9(0x1a8)][_0x5e37e9(0x19c)]({'getMutations':_0x3852bb=>{const _0x2d70ad=_0x5e37e9,_0x4506ab=[],_0x4ba95a=[];if(_0x3852bb['id']===_0x3b710a['ClearSelectionAllCommand']['id']){const _0x5bee47=_0x3b710a[_0x2d70ad(0x145)](this['_univerInstanceService']);if(!_0x5bee47)return{'redos':_0x4506ab,'undos':_0x4ba95a};const {unitId:_0x2240de,subUnitId:_0x21d005,worksheet:_0x4e0ec5}=_0x5bee47,_0x5b243a=this[_0x2d70ad(0x1de)][_0x2d70ad(0x166)]()['map'](_0x23692c=>_0x23692c[_0x2d70ad(0x161)]),_0xf6348e=new Set(),_0x5c1a36={},_0x15dd23={};_0x5b243a[_0x2d70ad(0x1c2)](_0x12d09e=>{const _0x467479=_0x2d70ad;_0x2d28f0[_0x467479(0x200)][_0x467479(0x1b9)](_0x12d09e,(_0x596b43,_0x1a3939)=>{const _0x5d8c16=_0x467479,_0x5c0f21=this['_sparklineDataSourceModel']['getSparkline'](_0x2240de,_0x21d005,_0x596b43,_0x1a3939);if(_0x5c0f21&&!_0xf6348e[_0x5d8c16(0x106)](_0x5c0f21)){const _0x4ff1cc=this['_sparklineDataSourceModel']['getSparklineById'](_0x2240de,_0x21d005,_0x5c0f21);_0x4ff1cc&&(_0xf6348e[_0x5d8c16(0x146)](_0x5c0f21),_0x5c1a36[_0x5c0f21]={'config':_0x2d28f0['Tools'][_0x5d8c16(0x15c)](_0x4ff1cc[_0x5d8c16(0x18f)]),'sparklines':_0x2d28f0[_0x5d8c16(0x16d)]['deepClone'](_0x4ff1cc[_0x5d8c16(0x18a)][_0x5d8c16(0x1e4)]())},_0x15dd23[_0x5c0f21]={'config':_0x2d28f0['Tools'][_0x5d8c16(0x15c)](_0x4ff1cc[_0x5d8c16(0x18f)]),'sparklines':_0x2d28f0[_0x5d8c16(0x16d)][_0x5d8c16(0x15c)](_0x4ff1cc[_0x5d8c16(0x18a)][_0x5d8c16(0x1e4)]())});}});}),Object[_0x2d70ad(0x1c6)](_0x15dd23)['forEach'](_0x25a9ac=>{const _0x18e8e9=_0x2d70ad,_0x2c02af=_0x25a9ac[_0x18e8e9(0x18a)];new _0x2d28f0[(_0x18e8e9(0x16c))](_0x2c02af)[_0x18e8e9(0x1b7)]((_0x54760b,_0x34f175,_0x4768e3)=>{const _0x1d67e8=_0x18e8e9;_0x5b243a[_0x1d67e8(0x186)](_0x8fe384=>_0x2d28f0[_0x1d67e8(0x109)][_0x1d67e8(0x1d2)](_0x8fe384,_0x2d28f0[_0x1d67e8(0x103)](_0x54760b,_0x34f175)))&&delete _0x2c02af[_0x54760b][_0x34f175];});}),_0x4506ab[_0x2d70ad(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x2240de,'subUnitId':_0x21d005,'groupIds':Array[_0x2d70ad(0x115)](_0xf6348e),'isSingle':!0x1}}),_0x4506ab[_0x2d70ad(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x2240de,'subUnitId':_0x21d005,'sparklineConfigMap':_0x15dd23}}),_0x4ba95a['push']({'id':_0xb050c2['id'],'params':{'unitId':_0x2240de,'subUnitId':_0x21d005,'groupIds':Array[_0x2d70ad(0x115)](_0xf6348e),'isSingle':!0x1}}),_0x4ba95a[_0x2d70ad(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x2240de,'subUnitId':_0x21d005,'sparklineConfigMap':_0x5c1a36}});}return{'redos':_0x4506ab,'undos':_0x4ba95a};}}));}};_0x289b21=_0x12dda6([_0x50911a(0x0,_0x2d28f0[_0x26e4aa(0x14b)](_0x4f3fd8[_0x26e4aa(0x168)])),_0x50911a(0x1,_0x2d28f0[_0x26e4aa(0x14b)](_0x3b710a[_0x26e4aa(0x1ca)])),_0x50911a(0x2,_0x2d28f0[_0x26e4aa(0x14b)](_0x2d28f0['IUniverInstanceService'])),_0x50911a(0x3,_0x2d28f0[_0x26e4aa(0x14b)](_0x3b710a[_0x26e4aa(0x189)]))],_0x289b21);var _0x4ecbc2=Object[_0x26e4aa(0x1c5)],_0x2e63df=(_0x502314,_0x358e0b,_0x5b1ba2,_0x4a9392)=>{const _0x382ca1=_0x26e4aa;for(var _0x5c03b8=_0x4a9392>0x1?void 0x0:_0x4a9392?_0x4ecbc2(_0x358e0b,_0x5b1ba2):_0x358e0b,_0x1fc622=_0x502314[_0x382ca1(0x1dc)]-0x1,_0x15c623;_0x1fc622>=0x0;_0x1fc622--)(_0x15c623=_0x502314[_0x1fc622])&&(_0x5c03b8=_0x15c623(_0x5c03b8)||_0x5c03b8);return _0x5c03b8;},_0x40f44a=(_0x3664ca,_0x4b720d)=>(_0x10d991,_0x4f8a94)=>_0x4b720d(_0x10d991,_0x4f8a94,_0x3664ca);let _0x13ccbf=class extends _0x2d28f0[_0x26e4aa(0x13b)]{constructor(_0x2558bf,_0x3f7882){const _0x55043e=_0x26e4aa;super(),this[_0x55043e(0x1a8)]=_0x2558bf,this[_0x55043e(0x11e)]=_0x3f7882,this[_0x55043e(0x1fd)]();}[_0x26e4aa(0x1fd)](){const _0x3929f7=_0x26e4aa;this['disposeWithMe'](this[_0x3929f7(0x1a8)][_0x3929f7(0x19c)]({'getMutations':_0x2fa102=>{const _0x2f1044=_0x3929f7,_0x422433=[],_0x5bba84=[];if(_0x2fa102['id']===_0x3b710a[_0x2f1044(0x176)]['id']){const _0x25d641=_0x2fa102[_0x2f1044(0x120)];if(!_0x25d641)return{'redos':_0x422433,'undos':_0x5bba84};const {unitId:_0x281043,subUnitId:_0x58dc4e,targetSubUnitId:_0x9dfef0}=_0x25d641;if(!_0x281043||!_0x58dc4e||!_0x9dfef0)return{'redos':_0x422433,'undos':_0x5bba84};const _0x4c32ed=new Set(),_0x4602d7={},_0x1dca3f=this[_0x2f1044(0x11e)][_0x2f1044(0x134)](_0x281043,_0x58dc4e);if(!_0x1dca3f)return{'redos':_0x422433,'undos':_0x5bba84};for(const [_0x186180,_0x2c63dc]of _0x1dca3f){const _0x748b48='g_'+_0x2d28f0[_0x2f1044(0x1b6)](0x6);_0x4c32ed[_0x2f1044(0x146)](_0x186180),_0x4602d7[_0x748b48]={'config':_0x2d28f0[_0x2f1044(0x16d)][_0x2f1044(0x15c)](_0x2c63dc[_0x2f1044(0x18f)]),'sparklines':_0x2d28f0[_0x2f1044(0x16d)][_0x2f1044(0x15c)](_0x2c63dc[_0x2f1044(0x18a)]['clone']())};}_0x4c32ed[_0x2f1044(0x1b1)]&&(_0x5bba84[_0x2f1044(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x281043,'subUnitId':_0x9dfef0,'groupIds':Array[_0x2f1044(0x115)](_0x4c32ed),'isSingle':!0x1}}),_0x422433['push']({'id':_0x3cf655['id'],'params':{'unitId':_0x281043,'subUnitId':_0x9dfef0,'sparklineConfigMap':_0x4602d7}}));}return{'redos':_0x422433,'undos':_0x5bba84};}}));}};_0x13ccbf=_0x2e63df([_0x40f44a(0x0,_0x2d28f0[_0x26e4aa(0x14b)](_0x3b710a[_0x26e4aa(0x1ca)])),_0x40f44a(0x1,_0x2d28f0[_0x26e4aa(0x14b)](_0x4f3fd8['SparklineDataSourceModel']))],_0x13ccbf);var _0x21218a=Object[_0x26e4aa(0x1c5)],_0x34c732=(_0x19c47b,_0x45368b,_0x5ab15d,_0xa5855e)=>{for(var _0x782050=_0xa5855e>0x1?void 0x0:_0xa5855e?_0x21218a(_0x45368b,_0x5ab15d):_0x45368b,_0x3e50a1=_0x19c47b['length']-0x1,_0x2a87bb;_0x3e50a1>=0x0;_0x3e50a1--)(_0x2a87bb=_0x19c47b[_0x3e50a1])&&(_0x782050=_0x2a87bb(_0x782050)||_0x782050);return _0x782050;},_0x1779e1=(_0x2eda40,_0x27c51e)=>(_0x225ea2,_0x2fe2bc)=>_0x27c51e(_0x225ea2,_0x2fe2bc,_0x2eda40);let _0x5084a7=class extends _0x2d28f0[_0x26e4aa(0x13b)]{constructor(_0x1a567e,_0x50a240,_0x38a8ae){const _0x278fd6=_0x26e4aa;super(),this['_commandService']=_0x1a567e,this[_0x278fd6(0x11e)]=_0x50a240,this[_0x278fd6(0x148)]=_0x38a8ae,this['_initDataChangeListener'](),this[_0x278fd6(0x19a)]();}[_0x26e4aa(0x1b0)](){const _0x5dd8d1=_0x26e4aa;this[_0x5dd8d1(0x15f)](this[_0x5dd8d1(0x1a4)][_0x5dd8d1(0x16f)](_0x515095=>{const _0x2c5297=_0x5dd8d1;if(_0x515095['id']===_0x3b710a[_0x2c5297(0x135)]['id']){const _0x565ed3=_0x515095[_0x2c5297(0x120)],{cellValue:_0x353248,unitId:_0x1ef6db,subUnitId:_0x4b4947}=_0x565ed3,_0x2f2a8f=new _0x2d28f0[(_0x2c5297(0x16c))](_0x353248),_0x59090a=new Set(),_0x227ff8=this['_sparklineDataSourceModel'][_0x2c5297(0x134)](_0x1ef6db,_0x4b4947);if(!_0x227ff8)return;const _0x49b86a=Array[_0x2c5297(0x115)](_0x227ff8);_0x2f2a8f[_0x2c5297(0x1b7)]((_0x8d1a9b,_0x11277d,_0x251c1b)=>{const _0x3e5b0b=_0x2c5297,_0xb685f0=_0x2d28f0[_0x3e5b0b(0x103)](_0x8d1a9b,_0x11277d);for(let _0xda4782=0x0;_0xda4782<_0x49b86a[_0x3e5b0b(0x1dc)];_0xda4782++){const [_0x3136a3,_0x3b9452]=_0x49b86a[_0xda4782],_0x113c30=_0x59090a[_0x3e5b0b(0x106)](_0x3136a3);_0x113c30||_0x3b9452[_0x3e5b0b(0x18a)]['forValue']((_0x1039a0,_0x21fccc,_0x37ed28)=>{const _0x393703=_0x3e5b0b,_0x27b9a9=_0x37ed28;if(_0x27b9a9&&!_0x113c30&&_0x2d28f0[_0x393703(0x109)][_0x393703(0x1d2)](_0xb685f0,_0x27b9a9))return _0x59090a[_0x393703(0x146)](_0x3136a3),!0x0;});}}),_0x59090a[_0x2c5297(0x1c2)](_0x512203=>{const _0xb884bd=_0x2c5297;this['_sparklineDataSourceModel']['clearSparklineCache'](_0x1ef6db,_0x4b4947,_0x512203),this[_0xb884bd(0x11e)]['updateSparklineExtraNum'](_0x1ef6db,_0x4b4947,_0x512203);});}else{if(_0x515095['id']===_0x3b710a[_0x2c5297(0x1ba)]['id']){const _0x5a16c5=_0x515095[_0x2c5297(0x120)],{range:_0x43461f,unitId:_0xcc49b9,subUnitId:_0x5e9a33}=_0x5a16c5,_0x53629f=new Set(),_0x4c1f59=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0xcc49b9,_0x5e9a33);if(!_0x4c1f59)return;const _0x34cedc=Array['from'](_0x4c1f59);for(let _0x2175d9=0x0;_0x2175d9<_0x34cedc['length'];_0x2175d9++){const [_0x292991,_0x136ec7]=_0x34cedc[_0x2175d9],_0x1892ec=_0x53629f[_0x2c5297(0x106)](_0x292991);_0x1892ec||_0x136ec7['sparklines'][_0x2c5297(0x1b7)]((_0xb52db0,_0x441ed5,_0x58f917)=>{const _0x12c63f=_0x2c5297,_0x3168ea=_0x58f917;if(_0x3168ea&&!_0x1892ec&&_0x2d28f0[_0x12c63f(0x109)]['intersects'](_0x43461f,_0x3168ea))return _0x53629f['add'](_0x292991),!0x0;});}_0x53629f[_0x2c5297(0x1c2)](_0x21eb81=>{const _0x47d9d0=_0x2c5297;this[_0x47d9d0(0x11e)]['clearSparklineCache'](_0xcc49b9,_0x5e9a33,_0x21eb81),this[_0x47d9d0(0x11e)][_0x47d9d0(0x183)](_0xcc49b9,_0x5e9a33,_0x21eb81);});}}}));}['_initExclusiveRangeChange'](){const _0x1826bf=_0x26e4aa;this['disposeWithMe'](this[_0x1826bf(0x148)]['exclusiveRangesChange$'][_0x1826bf(0x12e)](_0x18f59a=>{const _0x42aabb=_0x1826bf,{unitId:_0x214f29,subUnitId:_0x2f458a,ranges:_0x2f463e}=_0x18f59a,_0x1be243=this[_0x42aabb(0x11e)]['getSubUnitSparkline'](_0x214f29,_0x2f458a);if(!_0x1be243)return;const _0x496c71=Array[_0x42aabb(0x115)](_0x1be243),_0x1d5336=new Set();for(let _0x1b7071=0x0;_0x1b7071<_0x496c71['length'];_0x1b7071++){const [_0x20cfea,_0x237f84]=_0x496c71[_0x1b7071],_0x361919=_0x1d5336[_0x42aabb(0x106)](_0x20cfea);_0x361919||_0x237f84[_0x42aabb(0x18a)][_0x42aabb(0x1b7)]((_0xe2a32f,_0x324365,_0x1fc130)=>{const _0xcccef0=_0x42aabb,_0x4d51e4=_0x1fc130;if(_0x4d51e4&&!_0x361919){for(const _0x3ff09d of _0x2f463e)if(_0x2d28f0['Rectangle'][_0xcccef0(0x1d2)](_0x3ff09d,_0x4d51e4)){_0x1d5336['add'](_0x20cfea);break;}}});}_0x1d5336[_0x42aabb(0x1c2)](_0x1534d7=>{const _0x119d5f=_0x42aabb;this[_0x119d5f(0x11e)][_0x119d5f(0x12a)](_0x214f29,_0x2f458a,_0x1534d7),this[_0x119d5f(0x11e)][_0x119d5f(0x183)](_0x214f29,_0x2f458a,_0x1534d7);});}));}};_0x5084a7=_0x34c732([_0x1779e1(0x0,_0x2d28f0['Inject'](_0x2d28f0[_0x26e4aa(0x204)])),_0x1779e1(0x1,_0x2d28f0[_0x26e4aa(0x14b)](_0x4f3fd8[_0x26e4aa(0x168)])),_0x1779e1(0x2,_0x2d28f0[_0x26e4aa(0x14b)](_0x3b710a['IExclusiveRangeService']))],_0x5084a7);var _0x4bd525=Object[_0x26e4aa(0x1c5)],_0xaf2162=(_0xda75f3,_0x437e72,_0x1bc0c7,_0x98765f)=>{const _0x15e4dc=_0x26e4aa;for(var _0x331738=_0x98765f>0x1?void 0x0:_0x98765f?_0x4bd525(_0x437e72,_0x1bc0c7):_0x437e72,_0x362c1b=_0xda75f3[_0x15e4dc(0x1dc)]-0x1,_0x5f4693;_0x362c1b>=0x0;_0x362c1b--)(_0x5f4693=_0xda75f3[_0x362c1b])&&(_0x331738=_0x5f4693(_0x331738)||_0x331738);return _0x331738;},_0x12aae7=(_0xdf1925,_0xeee5d)=>(_0x159a32,_0x11fbc8)=>_0xeee5d(_0x159a32,_0x11fbc8,_0xdf1925);let _0x4d100d=class extends _0x2d28f0['Disposable']{constructor(_0x474ee8,_0x134e5c){const _0x1b3375=_0x26e4aa;super(),this['_commandService']=_0x474ee8,this[_0x1b3375(0x11e)]=_0x134e5c,this[_0x1b3375(0x17b)]();}[_0x26e4aa(0x17b)](){const _0x54f7cc=_0x26e4aa;this[_0x54f7cc(0x1a4)]['onCommandExecuted'](_0x25d77d=>{const _0x45fcad=_0x54f7cc;if(_0x25d77d['id']===_0x3b710a[_0x45fcad(0x1c0)]['id']||_0x25d77d['id']===_0x3b710a[_0x45fcad(0x174)]['id']||_0x25d77d['id']===_0x3b710a[_0x45fcad(0x10f)]['id']||_0x25d77d['id']===_0x3b710a[_0x45fcad(0x127)]['id']){const _0x13425a=_0x25d77d['params'],{ranges:_0xb404ef,unitId:_0x1c6cf5,subUnitId:_0x42ad91}=_0x13425a,_0x54535b=new Set(),_0x40871a=this[_0x45fcad(0x11e)]['getSubUnitSparkline'](_0x1c6cf5,_0x42ad91);if(!_0x40871a)return;const _0x4f64cb=Array[_0x45fcad(0x115)](_0x40871a);_0xb404ef[_0x45fcad(0x1c2)](_0x271261=>{const _0x773d66=_0x45fcad;_0x2d28f0[_0x773d66(0x200)][_0x773d66(0x1b9)](_0x271261,(_0x2786d9,_0x3b13f6)=>{const _0x548090=_0x773d66,_0x2f3def=_0x2d28f0['cellToRange'](_0x2786d9,_0x3b13f6);for(let _0x36aa6b=0x0;_0x36aa6b<_0x4f64cb[_0x548090(0x1dc)];_0x36aa6b++){const [_0x44f186,_0x472d10]=_0x4f64cb[_0x36aa6b],_0x10f4a2=_0x54535b[_0x548090(0x106)](_0x44f186);_0x10f4a2||_0x472d10[_0x548090(0x18a)][_0x548090(0x1b7)]((_0x3d917a,_0x286ca9,_0x122f6e)=>{const _0x1741be=_0x122f6e;if(_0x1741be&&!_0x10f4a2&&_0x2d28f0['Rectangle']['intersects'](_0x2f3def,_0x1741be))return _0x54535b['add'](_0x44f186),!0x0;});}});}),_0x54535b['forEach'](_0x936caf=>{const _0x1d3732=_0x45fcad;this[_0x1d3732(0x11e)][_0x1d3732(0x12a)](_0x1c6cf5,_0x42ad91,_0x936caf),this[_0x1d3732(0x11e)]['updateSparklineExtraNum'](_0x1c6cf5,_0x42ad91,_0x936caf);});}});}};_0x4d100d=_0xaf2162([_0x12aae7(0x0,_0x2d28f0[_0x26e4aa(0x14b)](_0x2d28f0['ICommandService'])),_0x12aae7(0x1,_0x2d28f0[_0x26e4aa(0x14b)](_0x4f3fd8[_0x26e4aa(0x168)]))],_0x4d100d);var _0x3c1561=Object[_0x26e4aa(0x1c5)],_0xa79b98=(_0x14f941,_0x3d572f,_0x211fcd,_0x3e0cd3)=>{const _0x3ffb27=_0x26e4aa;for(var _0x2b00e5=_0x3e0cd3>0x1?void 0x0:_0x3e0cd3?_0x3c1561(_0x3d572f,_0x211fcd):_0x3d572f,_0x5016a8=_0x14f941[_0x3ffb27(0x1dc)]-0x1,_0x54b99e;_0x5016a8>=0x0;_0x5016a8--)(_0x54b99e=_0x14f941[_0x5016a8])&&(_0x2b00e5=_0x54b99e(_0x2b00e5)||_0x2b00e5);return _0x2b00e5;},_0x1fd01a=(_0x428438,_0x564f79)=>(_0x222af7,_0x45d6b8)=>_0x564f79(_0x222af7,_0x45d6b8,_0x428438);let _0x21f2f3=class extends _0x2d28f0[_0x26e4aa(0x13b)]{constructor(_0x261b2e,_0x5cf026,_0x8bb6a5){const _0x4d1c97=_0x26e4aa;super(),this['_commandService']=_0x261b2e,this[_0x4d1c97(0x1a8)]=_0x5cf026,this['_sparklineDataSourceModel']=_0x8bb6a5,this[_0x4d1c97(0x1d3)]();}[_0x26e4aa(0x1d3)](){const _0x377657=_0x26e4aa;this[_0x377657(0x15f)](this[_0x377657(0x1a8)][_0x377657(0x19c)]({'getMutations':_0x123b9d=>{const _0x2e70aa=_0x377657,_0x1ba917=[],_0x2db446=[];if(_0x123b9d['id']===_0x3b710a[_0x2e70aa(0x16e)]['id']){const _0xc9fcd6=_0x123b9d[_0x2e70aa(0x120)];if(!_0xc9fcd6)return{'redos':_0x1ba917,'undos':_0x2db446};const {unitId:_0x536eed,subUnitId:_0x5ee64e,ranges:_0x1bb002}=_0xc9fcd6,_0xd3d5d5=this['_sparklineDataSourceModel'][_0x2e70aa(0x134)](_0x536eed,_0x5ee64e);if(!_0xd3d5d5)return{'redos':_0x1ba917,'undos':_0x2db446};const _0x466f7b={},_0x48fb15={},_0x3ad0dc=new Set();_0x1bb002['forEach'](_0x1cb8b6=>{const _0x3caa98=_0x2e70aa,_0xf41b23=_0x1cb8b6[_0x3caa98(0x188)],_0x3ab02d=_0x1cb8b6['startColumn'];_0x2d28f0[_0x3caa98(0x200)]['foreach'](_0x1cb8b6,(_0x2f97da,_0x459007)=>{const _0x4a62f5=_0x3caa98,_0x418d82=this[_0x4a62f5(0x11e)][_0x4a62f5(0x16b)](_0x536eed,_0x5ee64e,_0x2f97da,_0x459007);if(_0x418d82&&!(_0x2f97da===_0xf41b23&&_0x459007===_0x3ab02d)){const _0x2cff99=this[_0x4a62f5(0x11e)][_0x4a62f5(0x1f7)](_0x536eed,_0x5ee64e,_0x418d82);if(_0x2cff99){_0x3ad0dc['add'](_0x418d82);let _0x25a8f9=_0x466f7b[_0x418d82];_0x25a8f9||(_0x25a8f9={'config':_0x2d28f0['Tools'][_0x4a62f5(0x15c)](_0x2cff99[_0x4a62f5(0x18f)]),'sparklines':new _0x2d28f0[(_0x4a62f5(0x16c))](_0x2cff99[_0x4a62f5(0x18a)][_0x4a62f5(0x1e4)]())},_0x466f7b[_0x418d82]=_0x25a8f9),_0x25a8f9[_0x4a62f5(0x18a)][_0x4a62f5(0x11a)](_0x2f97da,_0x459007),_0x48fb15[_0x418d82]={'config':_0x2d28f0['Tools']['deepClone'](_0x2cff99[_0x4a62f5(0x18f)]),'sparklines':_0x2d28f0[_0x4a62f5(0x16d)]['deepClone'](_0x2cff99[_0x4a62f5(0x18a)][_0x4a62f5(0x1e4)]())};}}});});for(const [_0x3ecfc3,_0xfdb3b2]of _0xd3d5d5){const _0x8a5b62=_0xfdb3b2['sparklines'];_0x8a5b62['forValue']((_0x57f7ac,_0x263840,_0x1adf55)=>{const _0x351748=_0x2e70aa;for(let _0x314d5b=0x0;_0x314d5b<_0x1bb002['length'];_0x314d5b++){const _0x182294=_0x1bb002[_0x314d5b];if(_0x2d28f0[_0x351748(0x109)]['contains'](_0x182294,_0x1adf55)){_0x3ad0dc[_0x351748(0x146)](_0x3ecfc3);let _0x4be7de=_0x466f7b[_0x3ecfc3];_0x4be7de||(_0x4be7de={'config':_0x2d28f0['Tools'][_0x351748(0x15c)](_0xfdb3b2['config']),'sparklines':new _0x2d28f0[(_0x351748(0x16c))](_0x8a5b62[_0x351748(0x1e4)]())},_0x466f7b[_0x3ecfc3]=_0x4be7de),_0x4be7de[_0x351748(0x18a)][_0x351748(0x11a)](_0x57f7ac,_0x263840),_0x48fb15[_0x3ecfc3]||(_0x48fb15[_0x3ecfc3]={'config':_0x2d28f0[_0x351748(0x16d)][_0x351748(0x15c)](_0xfdb3b2[_0x351748(0x18f)]),'sparklines':_0x2d28f0[_0x351748(0x16d)][_0x351748(0x15c)](_0x8a5b62['clone']())});}}});}const _0x5bdc20={};Object[_0x2e70aa(0x1c9)](_0x466f7b)[_0x2e70aa(0x1c2)](([_0x133fd9,_0x29b8cf])=>{const _0x34e7ea=_0x2e70aa;_0x29b8cf[_0x34e7ea(0x18a)][_0x34e7ea(0x205)]()&&(_0x5bdc20[_0x133fd9]={'config':_0x29b8cf[_0x34e7ea(0x18f)],'sparklines':_0x29b8cf[_0x34e7ea(0x18a)][_0x34e7ea(0x1e4)]()});}),_0x3ad0dc[_0x2e70aa(0x1b1)]&&(_0x1ba917['push']({'id':_0xb050c2['id'],'params':{'unitId':_0x536eed,'subUnitId':_0x5ee64e,'groupIds':Array[_0x2e70aa(0x115)](_0x3ad0dc),'isSingle':!0x1}}),_0x2db446['push']({'id':_0xb050c2['id'],'params':{'unitId':_0x536eed,'subUnitId':_0x5ee64e,'groupIds':Array['from'](_0x3ad0dc),'isSingle':!0x1}}),_0x1ba917[_0x2e70aa(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x536eed,'subUnitId':_0x5ee64e,'sparklineConfigMap':_0x5bdc20}}),_0x2db446[_0x2e70aa(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x536eed,'subUnitId':_0x5ee64e,'sparklineConfigMap':_0x48fb15}}));}return{'redos':_0x1ba917,'undos':_0x2db446};}}));}};_0x21f2f3=_0xa79b98([_0x1fd01a(0x0,_0x2d28f0[_0x26e4aa(0x14b)](_0x2d28f0[_0x26e4aa(0x204)])),_0x1fd01a(0x1,_0x2d28f0[_0x26e4aa(0x14b)](_0x3b710a[_0x26e4aa(0x1ca)])),_0x1fd01a(0x2,_0x2d28f0[_0x26e4aa(0x14b)](_0x4f3fd8['SparklineDataSourceModel']))],_0x21f2f3);var _0x3ee90d=Object[_0x26e4aa(0x1c5)],_0x3c581e=(_0x5d202c,_0x304b63,_0x504ea4,_0x55b757)=>{for(var _0x4487bc=_0x55b757>0x1?void 0x0:_0x55b757?_0x3ee90d(_0x304b63,_0x504ea4):_0x304b63,_0x164452=_0x5d202c['length']-0x1,_0x5641cd;_0x164452>=0x0;_0x164452--)(_0x5641cd=_0x5d202c[_0x164452])&&(_0x4487bc=_0x5641cd(_0x4487bc)||_0x4487bc);return _0x4487bc;},_0x317101=(_0x52b08f,_0x2ddcfa)=>(_0x38e246,_0x2ba022)=>_0x2ddcfa(_0x38e246,_0x2ba022,_0x52b08f);let _0xdf78a1=class extends _0x2d28f0['Disposable']{constructor(_0x1a7999,_0x471f1e,_0xc17b6d,_0x3b2743){const _0x2a74cd=_0x26e4aa;super(),_0x31f139(this,'disposableCollection',new _0x2d28f0[(_0x2a74cd(0x19d))]()),(this['_commandService']=_0x1a7999,this[_0x2a74cd(0xfe)]=_0x471f1e,this[_0x2a74cd(0x15b)]=_0xc17b6d,this[_0x2a74cd(0x11e)]=_0x3b2743,this[_0x2a74cd(0x1a6)](),this[_0x2a74cd(0x1aa)]());}[_0x26e4aa(0x1a6)](){const _0x158036=_0x26e4aa,_0x4568f8=(_0x2e383c,_0x179734)=>{const _0x5a0365=_0x3439,_0x5803d4=this[_0x5a0365(0x15b)][_0x5a0365(0x13f)](_0x2d28f0[_0x5a0365(0x197)]['UNIVER_SHEET']);if(!_0x5803d4||!(_0x5803d4==null?void 0x0:_0x5803d4[_0x5a0365(0x180)](_0x179734)))return;this[_0x5a0365(0x107)][_0x5a0365(0x1fe)]();const _0xd9a0ee=_0x505962=>this['refRangeHandle'](_0x505962,_0x2e383c,_0x179734),_0x202075=[],_0x2c9c35=this[_0x5a0365(0x11e)][_0x5a0365(0x134)](_0x2e383c,_0x179734);if(_0x2c9c35){for(const [_0x3bb790,_0x154878]of _0x2c9c35)_0x154878[_0x5a0365(0x18a)]['forValue']((_0x9dff55,_0x1f3ccd,_0x236779)=>{const _0x3b549e=_0x5a0365,_0x4da778=_0x2d28f0[_0x3b549e(0x103)](_0x9dff55,_0x1f3ccd);_0x202075['push'](_0x4da778);});_0x202075[_0x5a0365(0x1c2)](_0x4929e1=>{const _0x301be4=_0x5a0365;this['disposableCollection'][_0x301be4(0x146)](this[_0x301be4(0xfe)][_0x301be4(0x1ad)](_0x4929e1,_0xd9a0ee,_0x2e383c,_0x179734));});}};this['disposeWithMe'](this[_0x158036(0x1a4)][_0x158036(0x16f)](_0x1fab1d=>{const _0x2a9c85=_0x158036;if(_0x1fab1d['id']===_0x3b710a[_0x2a9c85(0x1be)]['id']){const _0x137760=_0x1fab1d[_0x2a9c85(0x120)],_0x30a2f8=_0x137760[_0x2a9c85(0x1fb)],_0x45167e=_0x137760[_0x2a9c85(0x1bc)];if(!_0x30a2f8||!_0x45167e)return;_0x4568f8(_0x45167e,_0x30a2f8);}if(_0x1fab1d['id']===_0x3d2fda['id']||_0x1fab1d['id']===_0x3cf655['id']){const _0x84b319=_0x1fab1d[_0x2a9c85(0x120)],_0x55eadf=_0x84b319['subUnitId'],_0x4f2a4d=_0x84b319['unitId'];if(!_0x55eadf||!_0x4f2a4d)return;_0x4568f8(_0x4f2a4d,_0x55eadf);}}));}[_0x26e4aa(0x202)](_0x5a8d49,_0x52276c,_0x1245cd){const _0x59e514=_0x26e4aa;switch(_0x5a8d49['id']){case _0x3b710a[_0x59e514(0x1ff)]['id']:return this['_getRefRangeMutationsByDeleteCols'](_0x5a8d49['params'],_0x52276c,_0x1245cd);case _0x3b710a[_0x59e514(0x10d)]['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x5a8d49[_0x59e514(0x120)],_0x52276c,_0x1245cd);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x358425,_0x381677,_0x6d65c1){const _0x11736b=_0x26e4aa;var _0x571e7d,_0x3390ba;const {range:_0x1a18c7}=_0x358425,_0x59a460=new Set(),_0x196ca5={},_0x325f91={},_0x45032a=[],_0x43773a=[],_0x1b62d6=[],_0x973f9a=[];if(!_0x3b710a[_0x11736b(0x145)](this[_0x11736b(0x15b)],{'unitId':_0x381677,'subUnitId':_0x6d65c1}))return{'redos':_0x43773a,'undos':_0x45032a};const _0x3397b5=this[_0x11736b(0x11e)]['getSubUnitSparkline'](_0x381677,_0x6d65c1);if(!_0x3397b5)return{'redos':_0x43773a,'undos':_0x45032a};if(!((_0x3390ba=(_0x571e7d=this[_0x11736b(0x11e)][_0x11736b(0x112)]()['sparklineAnchorMap']['get'](_0x381677))==null?void 0x0:_0x571e7d[_0x11736b(0x1b2)](_0x6d65c1))==null?void 0x0:_0x3390ba[_0x11736b(0x1f6)]))return{'redos':_0x43773a,'undos':_0x45032a};for(const [_0x135a53,_0x13d92c]of _0x3397b5){const _0x1a3cf3=_0x13d92c[_0x11736b(0x18a)];_0x1a3cf3['forValue']((_0x31206f,_0x1e728a,_0x2288f9)=>{const _0x2d7103=_0x11736b;if(_0x2d28f0[_0x2d7103(0x109)][_0x2d7103(0x1d2)](_0x1a18c7,_0x2288f9)){_0x59a460[_0x2d7103(0x146)](_0x135a53);let _0x3d85ee=_0x325f91[_0x135a53];_0x3d85ee||(_0x3d85ee={'config':_0x13d92c['config'],'sparklines':_0x13d92c[_0x2d7103(0x18a)][_0x2d7103(0x1e4)]()},_0x325f91[_0x135a53]=_0x3d85ee);let _0x25dc8d=_0x196ca5[_0x135a53];_0x25dc8d||(_0x25dc8d={'config':_0x13d92c[_0x2d7103(0x18f)],'sparklines':new _0x2d28f0['ObjectMatrix'](_0x13d92c[_0x2d7103(0x18a)]['clone']())},_0x196ca5[_0x135a53]=_0x25dc8d);const _0x25fe48=_0x3b710a[_0x2d7103(0x1c8)](_0x2288f9,{'id':_0x3b710a[_0x2d7103(0x11b)]['id'],'params':_0x358425});_0x25fe48?_0x25dc8d['sparklines'][_0x2d7103(0x153)](_0x31206f,_0x1e728a,_0x25fe48):_0x25dc8d[_0x2d7103(0x18a)][_0x2d7103(0x153)](_0x31206f,_0x1e728a,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x2d28f0[_0x2d7103(0x1cf)]['NORMAL']});}}),_0x1a3cf3[_0x11736b(0x1b7)]((_0x3adf5b,_0x2c26c4,_0x46b7a5)=>{const _0x5f38db=_0x11736b;if(_0x3adf5b<=_0x1a18c7[_0x5f38db(0x17e)]&&_0x3adf5b>=_0x1a18c7[_0x5f38db(0x188)]){_0x59a460[_0x5f38db(0x146)](_0x135a53);let _0x9f3df7=_0x325f91[_0x135a53];_0x9f3df7||(_0x9f3df7={'config':_0x13d92c['config'],'sparklines':_0x13d92c[_0x5f38db(0x18a)][_0x5f38db(0x1e4)]()},_0x325f91[_0x135a53]=_0x9f3df7);let _0x2ddc6a=_0x196ca5[_0x135a53];_0x2ddc6a||(_0x2ddc6a={'config':_0x13d92c[_0x5f38db(0x18f)],'sparklines':new _0x2d28f0[(_0x5f38db(0x16c))](_0x13d92c[_0x5f38db(0x18a)]['clone']())},_0x196ca5[_0x135a53]=_0x2ddc6a);}});}_0x973f9a[_0x11736b(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x381677,'subUnitId':_0x6d65c1,'groupIds':Array[_0x11736b(0x115)](_0x59a460),'isSingle':!0x1}}),_0x1b62d6[_0x11736b(0x1d4)]({'id':_0xb050c2['id'],'params':{'unitId':_0x381677,'subUnitId':_0x6d65c1,'groupIds':Array[_0x11736b(0x115)](_0x59a460),'isSingle':!0x1}});const _0x5b9b3e={};let _0x593517=!0x1;return Object[_0x11736b(0x1c9)](_0x196ca5)['forEach'](([_0x578fb0,_0x6c4ffc])=>{const _0x316fa2=_0x11736b;_0x6c4ffc[_0x316fa2(0x18a)][_0x316fa2(0x205)]()&&(_0x593517=!0x0,_0x6c4ffc['sparklines'][_0x316fa2(0x17d)](_0x1a18c7[_0x316fa2(0x188)],_0x1a18c7[_0x316fa2(0x17e)]-_0x1a18c7[_0x316fa2(0x188)]+0x1),_0x5b9b3e[_0x578fb0]={'config':_0x6c4ffc[_0x316fa2(0x18f)],'sparklines':_0x6c4ffc['sparklines'][_0x316fa2(0x1e4)]()});}),_0x593517&&_0x43773a[_0x11736b(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x381677,'subUnitId':_0x6d65c1,'sparklineConfigMap':_0x5b9b3e}}),_0x45032a['push']({'id':_0x3cf655['id'],'params':{'unitId':_0x381677,'subUnitId':_0x6d65c1,'sparklineConfigMap':_0x325f91}}),{'redos':_0x43773a,'undos':_0x45032a,'preRedos':_0x1b62d6,'preUndos':_0x973f9a};}[_0x26e4aa(0x162)](_0x31a729,_0x202116,_0x4ac821){const _0x223793=_0x26e4aa;var _0x162a52,_0x541ffe;const {range:_0x119059}=_0x31a729,_0x385c96=new Set(),_0x38cbc3={},_0x55b344={},_0x14eee9=[],_0x9ab141=[],_0x499c7a=[],_0x573cdf=[];if(!_0x3b710a[_0x223793(0x145)](this[_0x223793(0x15b)],{'unitId':_0x202116,'subUnitId':_0x4ac821}))return{'redos':_0x9ab141,'undos':_0x14eee9};const _0x3ebe92=this[_0x223793(0x11e)][_0x223793(0x134)](_0x202116,_0x4ac821);if(!_0x3ebe92)return{'redos':_0x9ab141,'undos':_0x14eee9};if(!((_0x541ffe=(_0x162a52=this['_sparklineDataSourceModel'][_0x223793(0x112)]()[_0x223793(0x126)][_0x223793(0x1b2)](_0x202116))==null?void 0x0:_0x162a52['get'](_0x4ac821))==null?void 0x0:_0x541ffe['matrix']))return{'redos':_0x9ab141,'undos':_0x14eee9};for(const [_0x1ca292,_0x12e686]of _0x3ebe92){const _0x452b1b=_0x12e686[_0x223793(0x18a)];_0x452b1b[_0x223793(0x1b7)]((_0x34393e,_0x5d3906,_0x501ced)=>{const _0x16c90c=_0x223793;if(_0x2d28f0[_0x16c90c(0x109)][_0x16c90c(0x1d2)](_0x119059,_0x501ced)){_0x385c96[_0x16c90c(0x146)](_0x1ca292);let _0x7bb42c=_0x55b344[_0x1ca292];_0x7bb42c||(_0x7bb42c={'config':_0x12e686[_0x16c90c(0x18f)],'sparklines':_0x12e686['sparklines'][_0x16c90c(0x1e4)]()},_0x55b344[_0x1ca292]=_0x7bb42c);let _0x5e3798=_0x38cbc3[_0x1ca292];_0x5e3798||(_0x5e3798={'config':_0x12e686['config'],'sparklines':new _0x2d28f0['ObjectMatrix'](_0x12e686['sparklines'][_0x16c90c(0x1e4)]())},_0x38cbc3[_0x1ca292]=_0x5e3798);const _0x18a2cf=_0x3b710a[_0x16c90c(0x1c8)](_0x501ced,{'id':_0x3b710a[_0x16c90c(0x1fa)]['id'],'params':_0x31a729});_0x18a2cf?_0x5e3798[_0x16c90c(0x18a)][_0x16c90c(0x153)](_0x34393e,_0x5d3906,_0x18a2cf):_0x5e3798[_0x16c90c(0x18a)][_0x16c90c(0x153)](_0x34393e,_0x5d3906,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x2d28f0[_0x16c90c(0x1cf)][_0x16c90c(0x19b)]});}}),_0x452b1b['forValue']((_0x5f2a1e,_0x149e35,_0x494156)=>{const _0x3e5dff=_0x223793;if(_0x149e35<=_0x119059[_0x3e5dff(0x128)]&&_0x149e35>=_0x119059['startColumn']){_0x385c96[_0x3e5dff(0x146)](_0x1ca292);let _0x392d49=_0x55b344[_0x1ca292];_0x392d49||(_0x392d49={'config':_0x12e686[_0x3e5dff(0x18f)],'sparklines':_0x12e686['sparklines'][_0x3e5dff(0x1e4)]()},_0x55b344[_0x1ca292]=_0x392d49);let _0x629581=_0x38cbc3[_0x1ca292];_0x629581||(_0x629581={'config':_0x12e686[_0x3e5dff(0x18f)],'sparklines':new _0x2d28f0[(_0x3e5dff(0x16c))](_0x12e686[_0x3e5dff(0x18a)][_0x3e5dff(0x1e4)]())},_0x38cbc3[_0x1ca292]=_0x629581);}});}_0x573cdf['push']({'id':_0xb050c2['id'],'params':{'unitId':_0x202116,'subUnitId':_0x4ac821,'groupIds':Array['from'](_0x385c96),'isSingle':!0x1}}),_0x499c7a['push']({'id':_0xb050c2['id'],'params':{'unitId':_0x202116,'subUnitId':_0x4ac821,'groupIds':Array[_0x223793(0x115)](_0x385c96),'isSingle':!0x1}});const _0x320ed1={};let _0x139888=!0x1;return Object[_0x223793(0x1c9)](_0x38cbc3)[_0x223793(0x1c2)](([_0x51a8a6,_0x17cad0])=>{const _0x188892=_0x223793;_0x17cad0[_0x188892(0x18a)][_0x188892(0x205)]()&&(_0x139888=!0x0,_0x17cad0[_0x188892(0x18a)][_0x188892(0x1ac)](_0x119059['startColumn'],_0x119059[_0x188892(0x128)]-_0x119059[_0x188892(0x1ee)]+0x1),_0x320ed1[_0x51a8a6]={'config':_0x17cad0[_0x188892(0x18f)],'sparklines':_0x17cad0[_0x188892(0x18a)]['clone']()});}),_0x139888&&_0x9ab141[_0x223793(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x202116,'subUnitId':_0x4ac821,'sparklineConfigMap':_0x320ed1}}),_0x14eee9[_0x223793(0x1d4)]({'id':_0x3cf655['id'],'params':{'unitId':_0x202116,'subUnitId':_0x4ac821,'sparklineConfigMap':_0x55b344}}),{'redos':_0x9ab141,'undos':_0x14eee9,'preRedos':_0x499c7a,'preUndos':_0x573cdf};}[_0x26e4aa(0x1aa)](){const _0x10bd1e=_0x26e4aa;this[_0x10bd1e(0x15f)](this['_commandService'][_0x10bd1e(0x16f)](_0x1dbadc=>{const _0x166bf7=_0x10bd1e;if(_0x1dbadc['id']===_0x3b710a['InsertColMutation']['id']){const _0x3e0e96=_0x1dbadc['params'],{unitId:_0x55a64e,subUnitId:_0x47f677,range:_0x1495a3}=_0x3e0e96,_0x3b177c=_0x1495a3[_0x166bf7(0x1ee)],_0x6dbee9=_0x1495a3['endColumn']-_0x1495a3['startColumn']+0x1,_0x7ab370=this[_0x166bf7(0x11e)][_0x166bf7(0x134)](_0x55a64e,_0x47f677);if(!_0x7ab370)return;for(const [_0x23b012,_0x209438]of _0x7ab370){this['_sparklineDataSourceModel'][_0x166bf7(0x12a)](_0x55a64e,_0x47f677,_0x23b012);const _0x280874=_0x209438[_0x166bf7(0x18a)];_0x280874[_0x166bf7(0x1b7)]((_0x916afa,_0x14e40a,_0x484681)=>{const _0x4a44b4=_0x166bf7,_0x282476={..._0x484681};_0x3b177c<=_0x282476[_0x4a44b4(0x1ee)]?(_0x282476[_0x4a44b4(0x1ee)]+=_0x6dbee9,_0x282476[_0x4a44b4(0x128)]+=_0x6dbee9):_0x3b177c>_0x282476['endColumn']||(_0x282476['endColumn']+=_0x6dbee9),_0x280874['setValue'](_0x916afa,_0x14e40a,_0x282476);});const _0x1d770f=_0x280874[_0x166bf7(0x14d)]();for(const _0x274212 in _0x1d770f){const _0x58199f=_0x1d770f[Number(_0x274212)];if(!_0x58199f)continue;const _0x5447ed=Object['keys'](_0x58199f)[_0x166bf7(0x1d7)](Number),_0x3dd97a=Math[_0x166bf7(0x1c4)](..._0x5447ed);for(let _0x3e6950=_0x3dd97a;_0x3e6950>=_0x3b177c;_0x3e6950--)_0x3e6950>=_0x3b177c&&_0x58199f[_0x3e6950]&&(_0x58199f[_0x3e6950+_0x6dbee9]=_0x58199f[_0x3e6950],delete _0x58199f[_0x3e6950]);}this[_0x166bf7(0x11e)][_0x166bf7(0x183)](_0x55a64e,_0x47f677,_0x23b012);}}else{if(_0x1dbadc['id']===_0x3b710a['InsertRowMutation']['id']){const _0x30cac1=_0x1dbadc[_0x166bf7(0x120)],{unitId:_0x25d61,subUnitId:_0x1c210e,range:_0x2d4fb8}=_0x30cac1,_0x409a92=_0x2d4fb8[_0x166bf7(0x188)],_0x21ba6f=_0x2d4fb8[_0x166bf7(0x17e)]-_0x2d4fb8[_0x166bf7(0x188)]+0x1,_0x145d19=this[_0x166bf7(0x11e)][_0x166bf7(0x134)](_0x25d61,_0x1c210e);if(!_0x145d19)return;for(const [_0x243130,_0xbbf760]of _0x145d19){this['_sparklineDataSourceModel']['clearSparklineCache'](_0x25d61,_0x1c210e,_0x243130);const _0x177c57=_0xbbf760[_0x166bf7(0x18a)];_0x177c57['forValue']((_0x2fffb0,_0x3812ff,_0x4a35d7)=>{const _0x36afd8=_0x166bf7,_0x86c293={..._0x4a35d7};_0x409a92<=_0x86c293[_0x36afd8(0x188)]?(_0x86c293['startRow']+=_0x21ba6f,_0x86c293['endRow']+=_0x21ba6f):_0x409a92>_0x86c293['endRow']||(_0x86c293[_0x36afd8(0x17e)]+=_0x21ba6f),_0x177c57[_0x36afd8(0x153)](_0x2fffb0,_0x3812ff,_0x86c293);});const _0x5a2512=_0x177c57[_0x166bf7(0x14d)](),_0x347e2b=Object[_0x166bf7(0x10b)](_0x5a2512)[_0x166bf7(0x1d7)](Number),_0x37fd54=Math['max'](..._0x347e2b);for(let _0x3a49d3=_0x37fd54;_0x3a49d3>=_0x409a92;_0x3a49d3--)_0x3a49d3>=_0x409a92&&_0x5a2512[_0x3a49d3]&&(_0x5a2512[_0x3a49d3+_0x21ba6f]=_0x5a2512[_0x3a49d3],delete _0x5a2512[_0x3a49d3]);this[_0x166bf7(0x11e)][_0x166bf7(0x183)](_0x25d61,_0x1c210e,_0x243130);}}else{if(_0x1dbadc['id']===_0x3b710a['RemoveColMutation']['id']){const _0x1c4c6e=_0x1dbadc[_0x166bf7(0x120)],{range:_0x475418,unitId:_0x2a1b10,subUnitId:_0xbd44e0}=_0x1c4c6e,_0x10294f=this[_0x166bf7(0x11e)][_0x166bf7(0x134)](_0x2a1b10,_0xbd44e0);if(!_0x10294f)return;for(const [_0x44f4f6,_0x4d7059]of _0x10294f){const _0x17a960=_0x4d7059['sparklines'];_0x17a960['forValue']((_0x371b1e,_0xf25a71,_0xca2b6b)=>{const _0x2e2007=_0x166bf7,_0x31dd44=_0x3b710a[_0x2e2007(0x1c8)](_0xca2b6b,_0x1dbadc);_0x31dd44?_0x17a960[_0x2e2007(0x153)](_0x371b1e,_0xf25a71,_0x31dd44):_0x17a960[_0x2e2007(0x153)](_0x371b1e,_0xf25a71,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x2d28f0[_0x2e2007(0x1cf)][_0x2e2007(0x19b)]});}),_0x17a960[_0x166bf7(0x1ac)](_0x475418['startColumn'],_0x475418[_0x166bf7(0x128)]-_0x475418[_0x166bf7(0x1ee)]+0x1);}this['_sparklineDataSourceModel']['reBuildAnchorCache'](_0x2a1b10,_0xbd44e0);}else{if(_0x1dbadc['id']===_0x3b710a[_0x166bf7(0x11b)]['id']){const _0x1ec847=_0x1dbadc[_0x166bf7(0x120)],{range:_0x2a425f,unitId:_0x3aa325,subUnitId:_0x5b735e}=_0x1ec847,_0x1631e8=this[_0x166bf7(0x11e)][_0x166bf7(0x134)](_0x3aa325,_0x5b735e);if(!_0x1631e8)return;for(const [_0x1a61d7,_0x1af201]of _0x1631e8){const _0x43c2bb=_0x1af201[_0x166bf7(0x18a)];_0x43c2bb[_0x166bf7(0x1b7)]((_0x142b6d,_0x4cb801,_0xf08575)=>{const _0x5a8040=_0x166bf7,_0x5d844f=_0x3b710a['adjustRangeOnMutation'](_0xf08575,_0x1dbadc);_0x5d844f?_0x43c2bb[_0x5a8040(0x153)](_0x142b6d,_0x4cb801,_0x5d844f):_0x43c2bb[_0x5a8040(0x153)](_0x142b6d,_0x4cb801,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x2d28f0[_0x5a8040(0x1cf)][_0x5a8040(0x19b)]});}),_0x43c2bb['removeRows'](_0x2a425f[_0x166bf7(0x188)],_0x2a425f[_0x166bf7(0x17e)]-_0x2a425f['startRow']+0x1);}this[_0x166bf7(0x11e)][_0x166bf7(0x149)](_0x3aa325,_0x5b735e);}else{if(_0x1dbadc['id']===_0x3b710a[_0x166bf7(0x150)]['id']){const _0x1c03d2=_0x1dbadc[_0x166bf7(0x120)],{unitId:_0xbf77d1,subUnitId:_0x426ff3,sourceRange:_0x446d88,targetRange:_0x4398aa}=_0x1c03d2,_0x38b631=this[_0x166bf7(0x11e)][_0x166bf7(0x134)](_0xbf77d1,_0x426ff3);if(!_0x38b631)return;for(const [_0x3c8611,_0x5ade28]of _0x38b631){const _0x419cf6=_0x5ade28[_0x166bf7(0x18a)];_0x419cf6[_0x166bf7(0x1b7)]((_0xac8314,_0x1acdf8,_0x2d9e45)=>{const _0x25bcac=_0x166bf7,_0x46cba0=_0x3b710a[_0x25bcac(0x1c8)](_0x2d9e45,_0x1dbadc);_0x46cba0?_0x419cf6[_0x25bcac(0x153)](_0xac8314,_0x1acdf8,_0x46cba0):_0x419cf6[_0x25bcac(0x153)](_0xac8314,_0x1acdf8,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x2d28f0[_0x25bcac(0x1cf)][_0x25bcac(0x19b)]});}),_0x419cf6[_0x166bf7(0x198)](_0x446d88[_0x166bf7(0x1ee)],_0x446d88['endColumn']-_0x446d88[_0x166bf7(0x1ee)]+0x1,_0x4398aa['startColumn']);}this[_0x166bf7(0x11e)][_0x166bf7(0x149)](_0xbf77d1,_0x426ff3);}else{if(_0x1dbadc['id']===_0x3b710a[_0x166bf7(0x15e)]['id']){const _0x348208=_0x1dbadc['params'],{unitId:_0x42456f,subUnitId:_0x4b7f3a,sourceRange:_0x17a9a6,targetRange:_0x568340}=_0x348208,_0x55e546=this['_sparklineDataSourceModel'][_0x166bf7(0x134)](_0x42456f,_0x4b7f3a);if(!_0x55e546)return;for(const [_0x448b4f,_0xa7dce9]of _0x55e546){const _0x31dc24=_0xa7dce9[_0x166bf7(0x18a)];_0x31dc24['forValue']((_0x20052d,_0x48d1e3,_0x35fa26)=>{const _0x1d968a=_0x166bf7,_0x5bcafa=_0x3b710a[_0x1d968a(0x1c8)](_0x35fa26,_0x1dbadc);_0x5bcafa?_0x31dc24[_0x1d968a(0x153)](_0x20052d,_0x48d1e3,_0x5bcafa):_0x31dc24[_0x1d968a(0x153)](_0x20052d,_0x48d1e3,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x2d28f0['RANGE_TYPE'][_0x1d968a(0x19b)]});}),_0x31dc24['moveRows'](_0x17a9a6[_0x166bf7(0x188)],_0x17a9a6['endRow']-_0x17a9a6[_0x166bf7(0x188)]+0x1,_0x568340[_0x166bf7(0x188)]);}this[_0x166bf7(0x11e)][_0x166bf7(0x149)](_0x42456f,_0x4b7f3a);}else{if(_0x1dbadc['id']===_0x3b710a[_0x166bf7(0x15a)]['id']){const _0x431f09=_0x1dbadc[_0x166bf7(0x120)],{fromRange:_0x35b189,toRange:_0x1d4ffb,unitId:_0x33499e,from:_0xf3416,to:_0x49687a}=_0x431f09;if(_0xf3416[_0x166bf7(0x1fb)]!==_0x49687a[_0x166bf7(0x1fb)])return;const _0x59409c=_0xf3416[_0x166bf7(0x1fb)],{startRow:_0x164821,endRow:_0x21d7fb,startColumn:_0x170533,endColumn:_0x449f65}=_0x35b189,{startRow:_0x3f50da,startColumn:_0x5e1f8f}=_0x1d4ffb,_0x2e5767=_0x3f50da-_0x164821,_0x310a7=_0x5e1f8f-_0x170533,_0x4d22af=this[_0x166bf7(0x11e)][_0x166bf7(0x134)](_0x33499e,_0x59409c);if(!(_0x4d22af!=null&&_0x4d22af[_0x166bf7(0x1b1)]))return;for(let _0x5bfc7f=_0x164821;_0x5bfc7f<=_0x21d7fb;_0x5bfc7f++)for(let _0xd8e0af=_0x170533;_0xd8e0af<=_0x449f65;_0xd8e0af++){const _0x43b46a=this[_0x166bf7(0x11e)]['getSparkline'](_0x33499e,_0x59409c,_0x5bfc7f,_0xd8e0af);if(_0x43b46a){const _0x4bee60=this[_0x166bf7(0x11e)]['getSparklineById'](_0x33499e,_0x59409c,_0x43b46a);if(_0x4bee60){const _0x238646=_0x4bee60[_0x166bf7(0x18a)][_0x166bf7(0x1ea)](_0x5bfc7f,_0xd8e0af);_0x238646&&(_0x4bee60[_0x166bf7(0x18a)][_0x166bf7(0x153)](_0x5bfc7f+_0x2e5767,_0xd8e0af+_0x310a7,_0x238646),_0x4bee60['sparklines']['realDeleteValue'](_0x5bfc7f,_0xd8e0af));}}}for(const [_0x185a0a,_0x43643e]of _0x4d22af){const _0x2143fb=_0x43643e[_0x166bf7(0x18a)];_0x2143fb['forValue']((_0x210ce4,_0x2ee998,_0x391e69)=>{const _0x174b16=_0x166bf7,_0xb74bc5={..._0x391e69};_0x2d28f0[_0x174b16(0x109)]['contains'](_0x35b189,_0x391e69)&&(_0xb74bc5[_0x174b16(0x188)]+=_0x2e5767,_0xb74bc5[_0x174b16(0x17e)]+=_0x2e5767,_0xb74bc5[_0x174b16(0x1ee)]+=_0x310a7,_0xb74bc5[_0x174b16(0x128)]+=_0x310a7),_0x2143fb[_0x174b16(0x153)](_0x210ce4,_0x2ee998,_0xb74bc5);});}this[_0x166bf7(0x11e)][_0x166bf7(0x149)](_0x33499e,_0x59409c);}}}}}}}}));}};_0xdf78a1=_0x3c581e([_0x317101(0x0,_0x2d28f0[_0x26e4aa(0x14b)](_0x2d28f0[_0x26e4aa(0x204)])),_0x317101(0x1,_0x2d28f0[_0x26e4aa(0x14b)](_0x3b710a['RefRangeService'])),_0x317101(0x2,_0x2d28f0[_0x26e4aa(0x175)]),_0x317101(0x3,_0x2d28f0[_0x26e4aa(0x14b)](_0x4f3fd8[_0x26e4aa(0x168)]))],_0xdf78a1);var _0x3e6b61=Object[_0x26e4aa(0x1c5)],_0x1509d2=(_0x26c39a,_0x4639ed,_0x2b36c7,_0x196837)=>{const _0x2f9c06=_0x26e4aa;for(var _0xc8b86e=_0x196837>0x1?void 0x0:_0x196837?_0x3e6b61(_0x4639ed,_0x2b36c7):_0x4639ed,_0x1e768e=_0x26c39a[_0x2f9c06(0x1dc)]-0x1,_0x1bdbb1;_0x1e768e>=0x0;_0x1e768e--)(_0x1bdbb1=_0x26c39a[_0x1e768e])&&(_0xc8b86e=_0x1bdbb1(_0xc8b86e)||_0xc8b86e);return _0xc8b86e;},_0x567115=(_0x5b420f,_0x1ff180)=>(_0x5e3a1b,_0x136d4a)=>_0x1ff180(_0x5e3a1b,_0x136d4a,_0x5b420f);let _0x49f7bd=class extends _0x2d28f0['Disposable']{constructor(_0x130983,_0x2b9b25){const _0x5ff189=_0x26e4aa;super(),this[_0x5ff189(0x1b8)]=_0x130983,this[_0x5ff189(0x11e)]=_0x2b9b25,this[_0x5ff189(0x1ae)]();}[_0x26e4aa(0x1ae)](){const _0x5f1867=_0x26e4aa,_0x4297e7=_0x222e50=>{const _0x2ed8ff=_0x3439,_0x32e478=this['_sparklineDataSourceModel'][_0x2ed8ff(0x1e3)](_0x222e50);return _0x32e478?JSON[_0x2ed8ff(0x143)](_0x32e478):'';},_0x3e9e7b=_0x3f2e17=>_0x3f2e17?JSON[_0x5f1867(0x1a2)](_0x3f2e17):{};this['disposeWithMe'](this[_0x5f1867(0x1b8)]['registerPluginResource']({'toJson':_0x4297e7,'parseJson':_0x3e9e7b,'pluginName':_0xc8b9a3,'businesses':[_0x2d28f0[_0x5f1867(0x197)][_0x5f1867(0x1fc)]],'onLoad':(_0x544d5b,_0x4b3edb)=>{const _0x5e1b65=_0x5f1867;this['_sparklineDataSourceModel'][_0x5e1b65(0x158)](_0x4b3edb);},'onUnLoad':_0x1531d1=>{const _0x2f4fe5=_0x5f1867;this[_0x2f4fe5(0x11e)][_0x2f4fe5(0x1c3)](_0x1531d1);}}));}};_0x49f7bd=_0x1509d2([_0x567115(0x0,_0x2d28f0[_0x26e4aa(0x14b)](_0x2d28f0[_0x26e4aa(0x1cd)])),_0x567115(0x1,_0x2d28f0[_0x26e4aa(0x14b)](_0x4f3fd8[_0x26e4aa(0x168)]))],_0x49f7bd);var _0x487c85=Object[_0x26e4aa(0x17c)],_0x3902e=Object[_0x26e4aa(0x1c5)],_0x1cc4d5=(_0xfcf0e1,_0x27c50b,_0x21e765)=>_0x27c50b in _0xfcf0e1?_0x487c85(_0xfcf0e1,_0x27c50b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21e765}):_0xfcf0e1[_0x27c50b]=_0x21e765,_0x354783=(_0xb49c53,_0x3299e3,_0x11add3,_0x610d70)=>{const _0x5467be=_0x26e4aa;for(var _0x358ab1=_0x610d70>0x1?void 0x0:_0x610d70?_0x3902e(_0x3299e3,_0x11add3):_0x3299e3,_0x42a846=_0xb49c53[_0x5467be(0x1dc)]-0x1,_0x2d49b5;_0x42a846>=0x0;_0x42a846--)(_0x2d49b5=_0xb49c53[_0x42a846])&&(_0x358ab1=_0x2d49b5(_0x358ab1)||_0x358ab1);return _0x358ab1;},_0x510eb2=(_0x3b8573,_0x226243)=>(_0x47406e,_0x36a0ee)=>_0x226243(_0x47406e,_0x36a0ee,_0x3b8573),_0x10c514=(_0x1522ec,_0xb9cbeb,_0x59446d)=>_0x1cc4d5(_0x1522ec,typeof _0xb9cbeb!=_0x26e4aa(0x114)?_0xb9cbeb+'':_0xb9cbeb,_0x59446d);_0x4f3fd8['UniverSheetSparklinePlugin']=class extends _0x2d28f0[_0x26e4aa(0x1ed)]{constructor(_0x20815c={},_0x2c63b0,_0x43ff44){const _0x41ec26=_0x26e4aa;super(),this[_0x41ec26(0x1e7)]=_0x20815c,this[_0x41ec26(0x1f1)]=_0x2c63b0,this['_commandService']=_0x43ff44,this['_initDependencies'](),this[_0x41ec26(0x10c)]();}[_0x26e4aa(0x203)](){const _0x13cb26=_0x26e4aa;[[_0x4f3fd8[_0x13cb26(0x168)]],[_0x5084a7],[_0x21f2f3],[_0x289b21],[_0xdf78a1],[_0x4d100d],[_0x13ccbf],[_0x49f7bd]][_0x13cb26(0x1c2)](_0x325e03=>{const _0x280b81=_0x13cb26;this[_0x280b81(0x1f1)][_0x280b81(0x146)](_0x325e03);}),_0x2d28f0[_0x13cb26(0x124)](this[_0x13cb26(0x1f1)],[[_0x49f7bd]]);}[_0x26e4aa(0x194)](){const _0x373b42=_0x26e4aa;_0x2d28f0[_0x373b42(0x124)](this[_0x373b42(0x1f1)],[[_0x5084a7],[_0x21f2f3],[_0x289b21],[_0xdf78a1],[_0x4d100d],[_0x13ccbf]]);}[_0x26e4aa(0x10c)](){const _0x5066d5=_0x26e4aa;[_0x2004ab,_0x3cf655,_0x26c73e,_0xb050c2,_0x513e4a,_0x3d2fda][_0x5066d5(0x1c2)](_0x581348=>this[_0x5066d5(0x1a4)][_0x5066d5(0x1a9)](_0x581348));}},_0x10c514(_0x4f3fd8['UniverSheetSparklinePlugin'],_0x26e4aa(0x171),_0xc8b9a3),_0x10c514(_0x4f3fd8[_0x26e4aa(0x191)],_0x26e4aa(0x136),_0x2d28f0['UniverInstanceType'][_0x26e4aa(0x1fc)]),_0x4f3fd8[_0x26e4aa(0x191)]=_0x354783([_0x2d28f0[_0x26e4aa(0x118)](_0x61c0da[_0x26e4aa(0x185)]),_0x510eb2(0x1,_0x2d28f0['Inject'](_0x2d28f0[_0x26e4aa(0x131)])),_0x510eb2(0x2,_0x2d28f0['Inject'](_0x2d28f0[_0x26e4aa(0x204)]))],_0x4f3fd8[_0x26e4aa(0x191)]),_0x4f3fd8[_0x26e4aa(0x199)]=_0x2004ab,_0x4f3fd8[_0x26e4aa(0x113)]=_0x3cf655,_0x4f3fd8[_0x26e4aa(0x1ec)]=_0xc8b9a3,_0x4f3fd8[_0x26e4aa(0x1a7)]=_0x26c73e,_0x4f3fd8[_0x26e4aa(0x144)]=_0xb050c2,_0x4f3fd8['SetSheetSparklineCommand']=_0x513e4a,_0x4f3fd8[_0x26e4aa(0x1dd)]=_0x3d2fda,_0x4f3fd8[_0x26e4aa(0x1f5)]=_0x2785ad,_0x4f3fd8[_0x26e4aa(0x19f)]=_0x5de2aa,_0x4f3fd8[_0x26e4aa(0x11f)]=_0x5f51dc,_0x4f3fd8[_0x26e4aa(0x170)]=_0x25764f,_0x4f3fd8['SparklineThemeTypeEnum']=_0x5c6c1f,_0x4f3fd8[_0x26e4aa(0x102)]=_0x5ed5b9,_0x4f3fd8[_0x26e4aa(0x1da)]=_0x23432c,Object['defineProperty'](_0x4f3fd8,Symbol[_0x26e4aa(0x1f9)],{'value':_0x26e4aa(0x140)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-sparkline",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0-nightly.202511220628",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "sparkline for Univer.",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -62,16 +62,16 @@
|
|
|
62
62
|
"rxjs": ">=7.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@univerjs-pro/license": "0.
|
|
66
|
-
"@univerjs/
|
|
67
|
-
"@univerjs/
|
|
65
|
+
"@univerjs-pro/license": "0.12.0-nightly.202511220628",
|
|
66
|
+
"@univerjs/sheets": "0.12.0-nightly.202511220628",
|
|
67
|
+
"@univerjs/core": "0.12.0-nightly.202511220628"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^5.9.3",
|
|
72
72
|
"vite": "^7.2.2",
|
|
73
73
|
"vitest": "^3.2.4",
|
|
74
|
-
"@univerjs-infra/shared": "0.
|
|
74
|
+
"@univerjs-infra/shared": "0.12.0"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"test": "vitest run",
|