@univerjs-pro/sheets-sparkline 0.13.0-insiders.20251216-1519cb7 → 0.13.0-insiders.20251220-0a5ea4d

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x52334a,_0x2fb3b2){const _0x25f146=_0x2ddb,_0x34ffcd=_0x52334a();while(!![]){try{const _0x479061=-parseInt(_0x25f146(0x218))/0x1+-parseInt(_0x25f146(0x1d2))/0x2+-parseInt(_0x25f146(0x1c5))/0x3*(-parseInt(_0x25f146(0x1ec))/0x4)+-parseInt(_0x25f146(0x1a7))/0x5*(parseInt(_0x25f146(0x1bb))/0x6)+parseInt(_0x25f146(0x233))/0x7+parseInt(_0x25f146(0x214))/0x8+-parseInt(_0x25f146(0x208))/0x9*(-parseInt(_0x25f146(0x1b4))/0xa);if(_0x479061===_0x2fb3b2)break;else _0x34ffcd['push'](_0x34ffcd['shift']());}catch(_0x287a5c){_0x34ffcd['push'](_0x34ffcd['shift']());}}}(_0x4d70,0xa357f),function(_0x3e1d3a,_0x16628f){const _0x3bd09f=_0x2ddb;typeof exports==_0x3bd09f(0x26e)&&typeof module<'u'?_0x16628f(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x3bd09f(0x1f9)&&define[_0x3bd09f(0x1ca)]?define([_0x3bd09f(0x1bd),'@univerjs/core','@univerjs/sheets',_0x3bd09f(0x19a),_0x3bd09f(0x1a8)],_0x16628f):(_0x3e1d3a=typeof globalThis<'u'?globalThis:_0x3e1d3a||self,_0x16628f(_0x3e1d3a[_0x3bd09f(0x1c7)]={},_0x3e1d3a[_0x3bd09f(0x217)],_0x3e1d3a[_0x3bd09f(0x1c8)],_0x3e1d3a[_0x3bd09f(0x19a)],_0x3e1d3a[_0x3bd09f(0x283)]));}(this,function(_0x23ea5f,_0x3dbeb7,_0x1bf07b,_0xed7aa2,_0x269043){'use strict';const _0x2450b4=_0x2ddb;var _0x43695e=Object[_0x2450b4(0x1fe)],_0x1b853e=(_0x556d42,_0x1d3d6c,_0x3f089c)=>_0x1d3d6c in _0x556d42?_0x43695e(_0x556d42,_0x1d3d6c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f089c}):_0x556d42[_0x1d3d6c]=_0x3f089c,_0xc976ee=(_0x2a7227,_0x291919,_0x1b2dc7)=>_0x1b853e(_0x2a7227,typeof _0x291919!='symbol'?_0x291919+'':_0x291919,_0x1b2dc7);function _0x1ba785(_0x127b4b,_0x552100){const _0x2bcd33=_0x2450b4,_0x156f53=new _0x3dbeb7[(_0x2bcd33(0x1ea))](),_0x20266c=[],_0x32adf7=_0x127b4b['length']>0x1;let _0x2b830a=0x0,_0x527d29=0x0;for(const _0x217a43 of _0x127b4b)_0x2b830a+=_0x217a43[_0x2bcd33(0x26a)]-_0x217a43[_0x2bcd33(0x243)]+0x1,_0x527d29+=_0x217a43[_0x2bcd33(0x1be)]-_0x217a43[_0x2bcd33(0x26b)]+0x1;for(const _0x3bffa1 of _0x552100)for(let _0x31770a=_0x3bffa1[_0x2bcd33(0x243)];_0x31770a<=_0x3bffa1[_0x2bcd33(0x26a)];_0x31770a++)for(let _0x2fbe61=_0x3bffa1[_0x2bcd33(0x26b)];_0x2fbe61<=_0x3bffa1['endColumn'];_0x2fbe61++)_0x20266c[_0x2bcd33(0x1c4)]({'row':_0x31770a,'column':_0x2fbe61});if(_0x20266c[_0x2bcd33(0x255)]===_0x2b830a)_0x32adf7?_0x20266c[_0x2bcd33(0x289)]((_0x1d0fd7,_0x3c6b88)=>{const _0x3f3a61=_0x2bcd33,_0x4c4074=_0x127b4b[_0x3c6b88],_0x17c168={'startRow':_0x4c4074[_0x3f3a61(0x243)],'startColumn':_0x4c4074[_0x3f3a61(0x26b)],'endRow':_0x4c4074[_0x3f3a61(0x243)],'endColumn':_0x4c4074[_0x3f3a61(0x1be)]};_0x156f53[_0x3f3a61(0x1c0)](_0x1d0fd7[_0x3f3a61(0x17a)],_0x1d0fd7[_0x3f3a61(0x228)],_0x17c168);}):_0x20266c[_0x2bcd33(0x289)]((_0x4e861e,_0x1de28e)=>{const _0x9c8d49=_0x2bcd33,_0x1992ae=_0x127b4b[0x0],_0xea2580={'startRow':_0x1992ae['startRow']+_0x1de28e,'startColumn':_0x1992ae[_0x9c8d49(0x26b)],'endRow':_0x1992ae[_0x9c8d49(0x243)]+_0x1de28e,'endColumn':_0x1992ae[_0x9c8d49(0x1be)]};_0x156f53['setValue'](_0x4e861e[_0x9c8d49(0x17a)],_0x4e861e[_0x9c8d49(0x228)],_0xea2580);});else{if(_0x20266c['length']===_0x527d29)_0x32adf7?_0x20266c[_0x2bcd33(0x289)]((_0x262c98,_0x194471)=>{const _0x249df3=_0x2bcd33,_0x384907=_0x127b4b[_0x194471],_0x381caa={'startRow':_0x384907[_0x249df3(0x243)],'startColumn':_0x384907['startColumn'],'endRow':_0x384907['endRow'],'endColumn':_0x384907['startColumn']};_0x156f53[_0x249df3(0x1c0)](_0x262c98[_0x249df3(0x17a)],_0x262c98[_0x249df3(0x228)],_0x381caa);}):_0x20266c[_0x2bcd33(0x289)]((_0x3d9c6b,_0x7bac56)=>{const _0x1a2f15=_0x2bcd33,_0x361c8b=_0x127b4b[0x0],_0x3e78b0={'startRow':_0x361c8b[_0x1a2f15(0x243)],'startColumn':_0x361c8b[_0x1a2f15(0x26b)]+_0x7bac56,'endRow':_0x361c8b['endRow'],'endColumn':_0x361c8b[_0x1a2f15(0x26b)]+_0x7bac56};_0x156f53[_0x1a2f15(0x1c0)](_0x3d9c6b[_0x1a2f15(0x17a)],_0x3d9c6b[_0x1a2f15(0x228)],_0x3e78b0);});else{if(_0x20266c[_0x2bcd33(0x255)]===_0x127b4b[_0x2bcd33(0x255)])_0x127b4b[_0x2bcd33(0x19c)](_0x39d947=>!(_0x39d947['startRow']!==_0x39d947[_0x2bcd33(0x26a)]&&_0x39d947[_0x2bcd33(0x26b)]!==_0x39d947['endColumn']))&&_0x20266c['forEach']((_0x46b6d9,_0x44a2ab)=>{const _0x2a8925=_0x2bcd33,_0x546972=_0x127b4b[_0x44a2ab];_0x156f53[_0x2a8925(0x1c0)](_0x46b6d9['row'],_0x46b6d9[_0x2a8925(0x228)],_0x546972);});else throw new Error(_0x2bcd33(0x18a));}}return _0x156f53;}const _0x31b3ee=_0x2450b4(0x1f3),_0x3e2287={'standard':[_0x2450b4(0x286),_0x2450b4(0x245)],'specialty':[_0x2450b4(0x23b),_0x2450b4(0x211)],'distinctive':[_0x2450b4(0x28e),_0x2450b4(0x224)],'soft':['rgb(80,102,248)',_0x2450b4(0x183)],'fresh':[_0x2450b4(0x20a),_0x2450b4(0x195)]},_0x38c129=[_0x2450b4(0x1b6),_0x2450b4(0x27f),_0x2450b4(0x254),_0x2450b4(0x1df),'negativePoint',_0x2450b4(0x1fa)];var _0x3cfbbd=(_0x1ddda9=>(_0x1ddda9[_0x2450b4(0x20c)]=_0x2450b4(0x262),_0x1ddda9[_0x2450b4(0x20b)]=_0x2450b4(0x191),_0x1ddda9[_0x2450b4(0x19f)]=_0x2450b4(0x17f),_0x1ddda9[_0x2450b4(0x247)]=_0x2450b4(0x213),_0x1ddda9[_0x2450b4(0x259)]=_0x2450b4(0x1b8),_0x1ddda9[_0x2450b4(0x276)]=_0x2450b4(0x260),_0x1ddda9))(_0x3cfbbd||{}),_0x3b11f7=(_0x1502de=>(_0x1502de[_0x1502de['LINE_CHART']=0x1]=_0x2450b4(0x1c2),_0x1502de[_0x1502de[_0x2450b4(0x1e2)]=0x2]=_0x2450b4(0x1e2),_0x1502de[_0x1502de[_0x2450b4(0x1da)]=0x3]='PROFIT_AND_LOSS_CHART',_0x1502de[_0x1502de[_0x2450b4(0x1af)]=0x4]=_0x2450b4(0x1af),_0x1502de))(_0x3b11f7||{}),_0x1a9777=(_0x24f546=>(_0x24f546[_0x2450b4(0x21e)]=_0x2450b4(0x1cb),_0x24f546[_0x2450b4(0x212)]=_0x2450b4(0x17b),_0x24f546[_0x2450b4(0x207)]=_0x2450b4(0x1a9),_0x24f546))(_0x1a9777||{}),_0x5a33d0=(_0x58167a=>(_0x58167a[_0x58167a[_0x2450b4(0x20d)]=0x1]=_0x2450b4(0x20d),_0x58167a[_0x58167a[_0x2450b4(0x181)]=0x2]=_0x2450b4(0x181),_0x58167a[_0x58167a[_0x2450b4(0x244)]=0x3]=_0x2450b4(0x244),_0x58167a))(_0x5a33d0||{}),_0x470376=Object[_0x2450b4(0x1ce)],_0x1d00a3=(_0xed6793,_0x3506a8,_0x1c316e,_0x49a507)=>{const _0x43f787=_0x2450b4;for(var _0x285f39=_0x49a507>0x1?void 0x0:_0x49a507?_0x470376(_0x3506a8,_0x1c316e):_0x3506a8,_0x376467=_0xed6793[_0x43f787(0x255)]-0x1,_0xb09cf0;_0x376467>=0x0;_0x376467--)(_0xb09cf0=_0xed6793[_0x376467])&&(_0x285f39=_0xb09cf0(_0x285f39)||_0x285f39);return _0x285f39;},_0x5aa641=(_0x25ef37,_0x19ba2a)=>(_0x1f077e,_0x4f5bd7)=>_0x19ba2a(_0x1f077e,_0x4f5bd7,_0x25ef37);_0x23ea5f[_0x2450b4(0x28b)]=class extends _0x3dbeb7[_0x2450b4(0x1a2)]{constructor(_0x4660d1){const _0xd8e916=_0x2450b4;super(),_0xc976ee(this,'_sparklineModel',new Map()),_0xc976ee(this,'_sparklineAnchorMap',new Map()),_0xc976ee(this,_0xd8e916(0x1d3),new _0xed7aa2[(_0xd8e916(0x1e8))]()),_0xc976ee(this,_0xd8e916(0x1e9),this[_0xd8e916(0x1d3)][_0xd8e916(0x1aa)]()),this['_univerInstanceService']=_0x4660d1;}['_ensureConfigMap'](_0x3fecae,_0x58ec38){const _0x9251c6=_0x2450b4;let _0x1ab405=this['_sparklineModel'][_0x9251c6(0x1b5)](_0x3fecae);_0x1ab405||(_0x1ab405=new Map(),this[_0x9251c6(0x209)][_0x9251c6(0x20e)](_0x3fecae,_0x1ab405));let _0x39c2f9=_0x1ab405[_0x9251c6(0x1b5)](_0x58ec38);return _0x39c2f9||(_0x39c2f9=new Map(),_0x1ab405[_0x9251c6(0x20e)](_0x58ec38,_0x39c2f9)),_0x39c2f9;}[_0x2450b4(0x290)](_0x25a1c1,_0x243953){const _0x34655b=_0x2450b4;let _0x3df4aa=this['_sparklineAnchorMap']['get'](_0x25a1c1);_0x3df4aa||(_0x3df4aa=new Map(),this[_0x34655b(0x18f)][_0x34655b(0x20e)](_0x25a1c1,_0x3df4aa));let _0x47c60a=_0x3df4aa['get'](_0x243953);return _0x47c60a||(_0x47c60a={'matrix':new _0x3dbeb7[(_0x34655b(0x1ea))](),'extra':{}},_0x3df4aa[_0x34655b(0x20e)](_0x243953,_0x47c60a)),_0x47c60a;}[_0x2450b4(0x19d)](_0x27c6f7,_0x28eb02,_0x3cb476,_0xdb50dd=_0x2450b4(0x20e)){const _0xb71904=_0x2450b4;var _0x22ff75,_0x422002,_0x1202eb,_0x176525,_0xbac3a1,_0x31d635,_0x383269,_0x39287f,_0x76c473,_0x3fa190,_0x450bde,_0x223a7f,_0x3b7c89;const _0x21a63f=(_0x422002=(_0x22ff75=this[_0xb71904(0x209)][_0xb71904(0x1b5)](_0x27c6f7))==null?void 0x0:_0x22ff75[_0xb71904(0x1b5)](_0x28eb02))==null?void 0x0:_0x422002[_0xb71904(0x1b5)](_0x3cb476);if(!_0x21a63f)return;const _0x312880=_0x1bf07b['getSheetCommandTarget'](this['_univerInstanceService'],{'unitId':_0x27c6f7,'subUnitId':_0x28eb02});if(!_0x312880)return;const _0x192f7c=this[_0xb71904(0x290)](_0x27c6f7,_0x28eb02),{extra:_0x256e45,matrix:_0x4d9d53}=_0x192f7c,{worksheet:_0x1b42bf}=_0x312880;let _0x4f9c27=Number[_0xb71904(0x22c)],_0x580c57=Number[_0xb71904(0x18c)];const _0x4344a3=(_0x1202eb=_0x21a63f[_0xb71904(0x201)][_0xb71904(0x24b)])!=null?_0x1202eb:!0x1;_0x21a63f['sparklines'][_0xb71904(0x1c3)]((_0x35739e,_0x20a3ff,_0x13ebc8)=>{const _0x23b42f=_0xb71904;var _0x1c2ada,_0xf16515,_0x1949b6;const _0x3dbb5a=_0x13ebc8;let _0x553d6f=Number[_0x23b42f(0x22c)],_0x41ce7c=Number[_0x23b42f(0x18c)],_0x894c59=0x0,_0x11f66a=0x0;const _0x4d646e=[];if(!_0x3dbeb7[_0x23b42f(0x186)](_0x3dbb5a))_0x4d9d53[_0x23b42f(0x1c0)](_0x35739e,_0x20a3ff,{'groupId':_0x3cb476,'data':[],'max':_0x553d6f,'min':_0x41ce7c,'highIndex':_0x894c59,'lowIndex':_0x11f66a,'negativeIndexes':_0x4d646e});else{const _0x41b950=[];for(let _0x437089=_0x3dbb5a[_0x23b42f(0x243)];_0x437089<=_0x3dbb5a[_0x23b42f(0x26a)];_0x437089++){for(let _0x3c9ef1=_0x3dbb5a['startColumn'];_0x3c9ef1<=_0x3dbb5a[_0x23b42f(0x1be)];_0x3c9ef1++){const _0x4e7ca4=_0x1b42bf[_0x23b42f(0x25e)](_0x437089),_0x1d7434=_0x1b42bf['getColVisible'](_0x3c9ef1);if(!_0x4344a3&&(!_0x4e7ca4||!_0x1d7434))continue;let _0x4304f9=0x0;const _0x27a30f=((_0x1c2ada=_0x1b42bf[_0x23b42f(0x288)](_0x437089,_0x3c9ef1))==null?void 0x0:_0x1c2ada['v'])!==void 0x0?_0x1b42bf[_0x23b42f(0x288)](_0x437089,_0x3c9ef1):_0x1b42bf[_0x23b42f(0x1d8)](_0x437089,_0x3c9ef1);if(!_0x27a30f||_0x27a30f['v']===void 0x0||_0x27a30f['v']===null){const _0x25b48d=(_0xf16515=_0x21a63f[_0x23b42f(0x201)][_0x23b42f(0x23a)])!=null?_0xf16515:_0x1a9777[_0x23b42f(0x21e)];_0x25b48d===_0x1a9777[_0x23b42f(0x212)]?_0x4304f9=0x0:_0x25b48d===_0x1a9777[_0x23b42f(0x21e)]?_0x4304f9='u-spacing':_0x25b48d===_0x1a9777[_0x23b42f(0x207)]&&(_0x4304f9='u-connect');}else{if(_0x27a30f['t']===_0x3dbeb7[_0x23b42f(0x23f)][_0x23b42f(0x187)]||_0x27a30f['t']===_0x3dbeb7['CellValueType'][_0x23b42f(0x17c)]){const _0x762711=(_0x1949b6=_0x21a63f[_0x23b42f(0x201)]['nonNumShowAs'])!=null?_0x1949b6:_0x1a9777[_0x23b42f(0x21e)];_0x762711===_0x1a9777[_0x23b42f(0x212)]?_0x4304f9=0x0:_0x762711===_0x1a9777[_0x23b42f(0x21e)]?_0x4304f9=_0x23b42f(0x22d):_0x762711===_0x1a9777[_0x23b42f(0x207)]&&(_0x4304f9=_0x23b42f(0x1ee));}else _0x27a30f['t']===_0x3dbeb7['CellValueType'][_0x23b42f(0x1b9)]?_0x4304f9=_0x27a30f['v']?0x1:0x0:_0x27a30f['t']===_0x3dbeb7[_0x23b42f(0x23f)][_0x23b42f(0x239)]?_0x4304f9=Number(_0x27a30f['v']):_0x4304f9=_0x27a30f['v'];}if(_0x41b950['push'](_0x4304f9),typeof _0x4304f9==_0x23b42f(0x198)){_0x553d6f=Math[_0x23b42f(0x231)](_0x553d6f,_0x4304f9),_0x4f9c27=Math[_0x23b42f(0x231)](_0x4f9c27,_0x4304f9),_0x580c57=Math[_0x23b42f(0x1e4)](_0x580c57,_0x4304f9),_0x41ce7c=Math[_0x23b42f(0x1e4)](_0x41ce7c,_0x4304f9);const _0x1a7ebd=typeof _0x41b950[_0x894c59]==_0x23b42f(0x198)?Number(_0x41b950[_0x894c59]):Number['MIN_SAFE_INTEGER'];_0x4304f9>_0x1a7ebd&&(_0x894c59=_0x41b950[_0x23b42f(0x255)]-0x1);const _0x49dd3e=typeof _0x41b950[_0x11f66a]==_0x23b42f(0x198)?Number(_0x41b950[_0x11f66a]):Number['MAX_SAFE_INTEGER'];_0x4304f9<_0x49dd3e&&(_0x11f66a=_0x41b950[_0x23b42f(0x255)]-0x1),_0x4304f9<0x0&&_0x4d646e['push'](_0x41b950[_0x23b42f(0x255)]-0x1);}}_0x4d9d53[_0x23b42f(0x1c0)](_0x35739e,_0x20a3ff,{'groupId':_0x3cb476,'data':_0x41b950,'max':_0x553d6f,'min':_0x41ce7c,'highIndex':_0x894c59,'lowIndex':_0x11f66a,'negativeIndexes':_0x4d646e});}}});let _0x7ba079=_0x4f9c27;((_0x176525=_0x21a63f[_0xb71904(0x201)]['extremumMax'])==null?void 0x0:_0x176525['type'])===_0x5a33d0[_0xb71904(0x244)]&&(_0x7ba079=(_0x31d635=(_0xbac3a1=_0x21a63f[_0xb71904(0x201)][_0xb71904(0x199)])==null?void 0x0:_0xbac3a1[_0xb71904(0x27b)])!=null?_0x31d635:_0x4f9c27);let _0x2eab11=_0x580c57;((_0x383269=_0x21a63f['config'][_0xb71904(0x182)])==null?void 0x0:_0x383269[_0xb71904(0x282)])===_0x5a33d0[_0xb71904(0x244)]&&(_0x2eab11=(_0x76c473=(_0x39287f=_0x21a63f[_0xb71904(0x201)]['extremumMin'])==null?void 0x0:_0x39287f[_0xb71904(0x27b)])!=null?_0x76c473:_0x580c57);const _0x49ba30=(_0x3fa190=_0x21a63f[_0xb71904(0x201)][_0xb71904(0x226)])!=null?_0x3fa190:_0x3cfbbd[_0xb71904(0x20c)],_0x482bb8=(_0x3b7c89=(_0x223a7f=_0x21a63f[_0xb71904(0x201)][_0xb71904(0x1ad)])!=null?_0x223a7f:(_0x450bde=_0x3e2287[_0x49ba30])==null?void 0x0:_0x450bde[0x0])!=null?_0x3b7c89:_0x3e2287[_0xb71904(0x262)][0x0],_0x28649e=new _0x3dbeb7['ColorKit'](_0x482bb8),_0x19ee4e=_0x28649e['setAlpha'](0.2)[_0xb71904(0x197)](),_0x5a2cd8=_0x28649e[_0xb71904(0x1fd)](0.05)[_0xb71904(0x197)]();_0x256e45[_0x3cb476]={'groupMax':_0x4f9c27,'groupMin':_0x580c57,'showMax':_0x7ba079,'showMin':_0x2eab11,'startGradient':_0x19ee4e,'endGradient':_0x5a2cd8},this['_updateConfig$'][_0xb71904(0x268)]({'unitId':_0x27c6f7,'subUnitId':_0x28eb02,'groupId':_0x3cb476,'config':_0x21a63f,'type':_0xdb50dd});}[_0x2450b4(0x24e)](_0x2d83c,_0x2fca22,_0x1eff4b,_0x4d13c4){const _0x3840d5=_0x2450b4;this[_0x3840d5(0x188)](_0x2d83c,_0x2fca22)[_0x3840d5(0x20e)](_0x1eff4b,_0x4d13c4),this[_0x3840d5(0x19d)](_0x2d83c,_0x2fca22,_0x1eff4b,_0x3840d5(0x1a5));}[_0x2450b4(0x210)](_0x13f701,_0x487cd3,_0x202b12,_0x1cca37){const _0x25b3dd=_0x2450b4;var _0x521858;const _0x1ef995=(_0x521858=this[_0x25b3dd(0x209)][_0x25b3dd(0x1b5)](_0x13f701))==null?void 0x0:_0x521858[_0x25b3dd(0x1b5)](_0x487cd3);_0x202b12[_0x25b3dd(0x289)](_0x8ecd07=>{const _0x563549=_0x25b3dd;_0x1ef995!=null&&_0x1ef995[_0x563549(0x272)](_0x8ecd07)&&(_0x1ef995[_0x563549(0x20e)](_0x8ecd07,_0x1cca37),this['updateSparklineExtraNum'](_0x13f701,_0x487cd3,_0x8ecd07));});}[_0x2450b4(0x1b7)](_0x13af60,_0xd95955,_0x3b8fbe){const _0x294e40=_0x2450b4;var _0x5f2035,_0x27d158;const _0x335a2d=this[_0x294e40(0x209)][_0x294e40(0x1b5)](_0x13af60);if(_0x335a2d){const _0x395dc3=_0x335a2d[_0x294e40(0x1b5)](_0xd95955);if(_0x395dc3){_0x395dc3[_0x294e40(0x219)](_0x3b8fbe);const _0x273a15=(_0x5f2035=this[_0x294e40(0x18f)][_0x294e40(0x1b5)](_0x13af60))==null?void 0x0:_0x5f2035[_0x294e40(0x1b5)](_0xd95955);(_0x27d158=_0x273a15==null?void 0x0:_0x273a15['matrix'])==null||_0x27d158[_0x294e40(0x1c3)]((_0x27d5d6,_0x26b33a,_0x4f5574)=>{const _0x1580ac=_0x294e40;(_0x4f5574==null?void 0x0:_0x4f5574['groupId'])===_0x3b8fbe&&(_0x273a15==null||_0x273a15[_0x1580ac(0x266)][_0x1580ac(0x258)](_0x27d5d6,_0x26b33a));}),this['_updateConfig$'][_0x294e40(0x268)]({'unitId':_0x13af60,'subUnitId':_0xd95955,'groupId':_0x3b8fbe,'type':_0x294e40(0x1d4)}),_0x395dc3[_0x294e40(0x1e3)]===0x0&&_0x335a2d['delete'](_0xd95955);}}}['removePartSparkline'](_0x2f71a6,_0x54642,_0x2ff02f,_0x27e49b){const _0x59fb1b=_0x2450b4;var _0x18eb45,_0x5d973d,_0x16eb2c,_0x2c65e4;const _0xbbc2cc=(_0x18eb45=this[_0x59fb1b(0x18f)][_0x59fb1b(0x1b5)](_0x2f71a6))==null?void 0x0:_0x18eb45[_0x59fb1b(0x1b5)](_0x54642),_0x3b45df=_0xbbc2cc==null?void 0x0:_0xbbc2cc['matrix'][_0x59fb1b(0x193)](_0x2ff02f,_0x27e49b);if(_0x3b45df){const {groupId:_0x5a0ae8}=_0x3b45df,_0x1471ec=(_0x5d973d=this['_sparklineModel'][_0x59fb1b(0x1b5)](_0x2f71a6))==null?void 0x0:_0x5d973d['get'](_0x54642);(_0x16eb2c=_0x1471ec==null?void 0x0:_0x1471ec[_0x59fb1b(0x1b5)](_0x5a0ae8))==null||_0x16eb2c['sparklines']['realDeleteValue'](_0x2ff02f,_0x27e49b),(_0x2c65e4=_0x1471ec==null?void 0x0:_0x1471ec[_0x59fb1b(0x1b5)](_0x5a0ae8))!=null&&_0x2c65e4['sparklines'][_0x59fb1b(0x275)]()||_0x1471ec==null||_0x1471ec[_0x59fb1b(0x219)](_0x5a0ae8),_0xbbc2cc==null||_0xbbc2cc[_0x59fb1b(0x266)][_0x59fb1b(0x258)](_0x2ff02f,_0x27e49b),this[_0x59fb1b(0x1d3)][_0x59fb1b(0x268)]({'unitId':_0x2f71a6,'subUnitId':_0x54642,'groupId':_0x5a0ae8,'type':'remove'});}}[_0x2450b4(0x223)](_0x34b8d1,_0x35e2b9,_0x544533){const _0x262023=_0x2450b4;var _0x106980,_0x2b91a0,_0xecebda,_0x425321;const _0x4fdb05=(_0xecebda=(_0x2b91a0=(_0x106980=this[_0x262023(0x209)][_0x262023(0x1b5)](_0x34b8d1))==null?void 0x0:_0x106980['get'](_0x35e2b9))==null?void 0x0:_0x2b91a0['get'](_0x544533))==null?void 0x0:_0xecebda[_0x262023(0x234)],_0x1255f0=(_0x425321=this[_0x262023(0x18f)][_0x262023(0x1b5)](_0x34b8d1))==null?void 0x0:_0x425321['get'](_0x35e2b9);if(_0x4fdb05&&_0x1255f0){const {matrix:_0x38ab7c,extra:_0x1331ec}=_0x1255f0;_0x4fdb05[_0x262023(0x1c3)]((_0x11c452,_0x1aee0b,_0x25844d)=>{const _0xe5006e=_0x262023;_0x38ab7c[_0xe5006e(0x258)](_0x11c452,_0x1aee0b);}),delete _0x1331ec[_0x544533];}}[_0x2450b4(0x24d)](_0x5dbb97,_0x326643){const _0xb4d397=_0x2450b4;var _0x1f9754;return(_0x1f9754=this['_sparklineModel'][_0xb4d397(0x1b5)](_0x5dbb97))==null?void 0x0:_0x1f9754[_0xb4d397(0x1b5)](_0x326643);}[_0x2450b4(0x284)](_0x23d058,_0x30882f,_0x12b108){const _0x2d725f=_0x2450b4;var _0x22c3c9,_0x409f74;return(_0x409f74=(_0x22c3c9=this[_0x2d725f(0x209)][_0x2d725f(0x1b5)](_0x23d058))==null?void 0x0:_0x22c3c9[_0x2d725f(0x1b5)](_0x30882f))==null?void 0x0:_0x409f74[_0x2d725f(0x1b5)](_0x12b108);}[_0x2450b4(0x267)](_0x505d2a,_0x12ebaf,_0x5e8c7e,_0x1ffc60){const _0x5568ce=_0x2450b4;var _0x357cbb,_0xc2ccd2,_0x45606f;return(_0x45606f=(_0xc2ccd2=(_0x357cbb=this[_0x5568ce(0x18f)][_0x5568ce(0x1b5)](_0x505d2a))==null?void 0x0:_0x357cbb[_0x5568ce(0x1b5)](_0x12ebaf))==null?void 0x0:_0xc2ccd2[_0x5568ce(0x266)][_0x5568ce(0x193)](_0x5e8c7e,_0x1ffc60))==null?void 0x0:_0x45606f[_0x5568ce(0x1c6)];}[_0x2450b4(0x190)](_0x500c0b,_0x853747){const _0x4e16e5=_0x2450b4;var _0x3399b2;const _0x54d5bc=this[_0x4e16e5(0x290)](_0x500c0b,_0x853747);_0x54d5bc[_0x4e16e5(0x266)][_0x4e16e5(0x1c3)]((_0x1815bb,_0x49481b)=>{const _0x40f680=_0x4e16e5;_0x54d5bc[_0x40f680(0x266)]['realDeleteValue'](_0x1815bb,_0x49481b);});const _0x2c37b9=(_0x3399b2=this[_0x4e16e5(0x209)][_0x4e16e5(0x1b5)](_0x500c0b))==null?void 0x0:_0x3399b2[_0x4e16e5(0x1b5)](_0x853747);if(_0x2c37b9){for(const [_0x3fb4c0]of _0x2c37b9)this[_0x4e16e5(0x19d)](_0x500c0b,_0x853747,_0x3fb4c0);}}[_0x2450b4(0x1a3)](){const _0x3fcdae=_0x2450b4;return{'sparklineModel':this[_0x3fcdae(0x209)],'sparklineAnchorMap':this['_sparklineAnchorMap']};}['toJSON'](_0x24f545){const _0x32ea47=_0x2450b4,_0x393da7={};if(this['_sparklineModel']['has'](_0x24f545)){_0x393da7[_0x24f545]={};const _0x88ee0a=this[_0x32ea47(0x209)][_0x32ea47(0x1b5)](_0x24f545);_0x88ee0a!=null&&_0x88ee0a[_0x32ea47(0x1e3)]&&Array[_0x32ea47(0x24a)](_0x88ee0a[_0x32ea47(0x240)]())[_0x32ea47(0x289)](_0x4be60c=>{const _0x2c40b2=_0x32ea47;_0x393da7[_0x24f545][_0x4be60c]={};const _0x2c0609=_0x88ee0a[_0x2c40b2(0x1b5)](_0x4be60c);_0x2c0609!=null&&_0x2c0609['size']&&Array[_0x2c40b2(0x24a)](_0x2c0609[_0x2c40b2(0x240)]())['forEach'](_0x58e657=>{const _0x2f37fa=_0x2c40b2,_0x2c9564=_0x2c0609[_0x2f37fa(0x1b5)](_0x58e657);_0x2c9564&&(_0x393da7[_0x24f545][_0x4be60c][_0x58e657]={'config':_0x2c9564['config'],'sparklines':_0x2c9564[_0x2f37fa(0x234)][_0x2f37fa(0x1f4)]()});});});}return _0x393da7;}['fromJSON'](_0x105bc5){const _0x96eb51=_0x2450b4;if(!_0x105bc5)return;Object[_0x96eb51(0x240)](_0x105bc5)['forEach'](_0x2651b5=>{const _0x4df36f=_0x96eb51,_0x5d89c7=_0x105bc5[_0x2651b5];_0x5d89c7&&Object[_0x4df36f(0x240)](_0x5d89c7)[_0x4df36f(0x289)](_0x2741fe=>{const _0x4a1161=_0x4df36f,_0x4f06dc=_0x5d89c7[_0x2741fe];_0x4f06dc&&Object[_0x4a1161(0x240)](_0x4f06dc)[_0x4a1161(0x289)](_0x2bf46a=>{const _0x12d280=_0x4a1161,_0x1b6d89=_0x4f06dc[_0x2bf46a];if(_0x1b6d89){const _0x7dbd23={'config':_0x1b6d89['config'],'sparklines':new _0x3dbeb7[(_0x12d280(0x1ea))](_0x1b6d89[_0x12d280(0x234)])};this[_0x12d280(0x24e)](_0x2651b5,_0x2741fe,_0x2bf46a,_0x7dbd23);}});});});}[_0x2450b4(0x196)](_0x42f52e){const _0xfa4a4f=_0x2450b4,_0x3f1fff=this[_0xfa4a4f(0x209)][_0xfa4a4f(0x1b5)](_0x42f52e);if(_0x3f1fff){for(const [_0x24b851]of _0x3f1fff){const _0x2d85ed=_0x3f1fff[_0xfa4a4f(0x1b5)](_0x24b851);if(_0x2d85ed){for(const [_0x26e75e]of _0x2d85ed)this[_0xfa4a4f(0x223)](_0x42f52e,_0x24b851,_0x26e75e);}}this[_0xfa4a4f(0x209)]['delete'](_0x42f52e);}}},_0x23ea5f[_0x2450b4(0x28b)]=_0x1d00a3([_0x5aa641(0x0,_0x3dbeb7['Inject'](_0x3dbeb7[_0x2450b4(0x18b)]))],_0x23ea5f[_0x2450b4(0x28b)]);const _0x49d89b={'id':_0x2450b4(0x249),'type':_0x3dbeb7[_0x2450b4(0x263)][_0x2450b4(0x185)],'handler':(_0x20b84e,_0x35926e)=>{const _0x51a4d2=_0x2450b4;if(!_0x35926e)return!0x1;const {sparklineConfigMap:_0xbb764d,unitId:_0x3e4e22,subUnitId:_0x32a45b}=_0x35926e,_0x5b939a=_0x20b84e[_0x51a4d2(0x1b5)](_0x23ea5f[_0x51a4d2(0x28b)]);return Object['entries'](_0xbb764d)[_0x51a4d2(0x289)](([_0x282cbe,_0x533215])=>{const _0x23d093=_0x51a4d2,_0x3e9d4f={'config':_0x533215[_0x23d093(0x201)],'sparklines':new _0x3dbeb7[(_0x23d093(0x1ea))](_0x533215[_0x23d093(0x234)])};_0x5b939a['addSparkline'](_0x3e4e22,_0x32a45b,_0x282cbe,_0x3e9d4f);}),!0x0;}},_0xe90930={'id':_0x2450b4(0x252),'type':_0x3dbeb7[_0x2450b4(0x263)]['MUTATION'],'handler':(_0x163ae0,_0x1928ec)=>{const _0x31b613=_0x2450b4;if(!_0x1928ec)return!0x1;const {unitId:_0x4c51ec,subUnitId:_0x3b978a,ranges:_0x2dd2f6,isSingle:_0x4f096e,groupIds:_0x4aa5a1}=_0x1928ec,_0xeca605=_0x163ae0[_0x31b613(0x1b5)](_0x23ea5f[_0x31b613(0x28b)]);return _0x4aa5a1?(_0x4aa5a1['forEach'](_0x5c2b56=>{const _0x181123=_0x31b613;_0xeca605[_0x181123(0x1b7)](_0x4c51ec,_0x3b978a,_0x5c2b56);}),!0x0):_0x2dd2f6?(_0x2dd2f6[_0x31b613(0x289)](_0x3c5637=>{const _0xd0e093=_0x31b613;_0x3dbeb7[_0xd0e093(0x1dd)][_0xd0e093(0x204)](_0x3c5637,(_0x1a3e81,_0x358ee6)=>{const _0xc52f2d=_0xd0e093,_0x813ddb=_0xeca605[_0xc52f2d(0x267)](_0x4c51ec,_0x3b978a,_0x1a3e81,_0x358ee6);_0x813ddb&&(_0x4f096e?_0xeca605[_0xc52f2d(0x27d)](_0x4c51ec,_0x3b978a,_0x1a3e81,_0x358ee6):_0xeca605[_0xc52f2d(0x1b7)](_0x4c51ec,_0x3b978a,_0x813ddb));});}),!0x0):!0x1;}},_0x33f2aa={'id':_0x2450b4(0x235),'type':_0x3dbeb7[_0x2450b4(0x263)][_0x2450b4(0x230)],'handler':(_0x3528e5,_0x116794)=>{const _0x58d768=_0x2450b4;if(!_0x116794)return!0x1;const {sourceRanges:_0x272b7f,targetRanges:_0x4e523a,config:_0x1d2c73}=_0x116794,_0x4a097c=_0x3528e5[_0x58d768(0x1b5)](_0x3dbeb7['IUndoRedoService']),_0x333cdd='g_'+_0x3dbeb7[_0x58d768(0x281)](0x6),_0xc61dcf=_0x1ba785(_0x272b7f,_0x4e523a),_0x1c5709={'config':_0x1d2c73!=null?_0x1d2c73:{},'sparklines':_0xc61dcf[_0x58d768(0x1f4)]()},_0x2d6531=_0x3528e5[_0x58d768(0x1b5)](_0x3dbeb7[_0x58d768(0x18b)]),_0x24290d=_0x3528e5[_0x58d768(0x1b5)](_0x23ea5f[_0x58d768(0x28b)]),_0x439cd8=_0x1bf07b['getSheetCommandTarget'](_0x2d6531);if(!_0x439cd8)return!0x1;const {unitId:_0x114281,subUnitId:_0x21a0d9}=_0x439cd8,_0x3f7161=_0x3528e5['get'](_0x3dbeb7[_0x58d768(0x216)]),_0x475de1=[],_0xcd2715=[],_0x26ea14={},_0x4db6a1={},_0x17af2d=new Set([_0x333cdd]);_0xc61dcf['forValue']((_0x2e0c3f,_0x492574,_0x17b59e)=>{const _0x3f39bf=_0x58d768,_0x21ebd9=_0x24290d[_0x3f39bf(0x267)](_0x114281,_0x21a0d9,_0x2e0c3f,_0x492574);if(_0x21ebd9){const _0x579e5b=_0x24290d['getSparklineById'](_0x114281,_0x21a0d9,_0x21ebd9);if(_0x579e5b){_0x17af2d['add'](_0x21ebd9);let _0x33ee47=_0x26ea14[_0x21ebd9],_0x26179d=_0x4db6a1[_0x21ebd9];_0x26179d||(_0x26179d={'config':_0x3dbeb7[_0x3f39bf(0x1de)][_0x3f39bf(0x18d)](_0x579e5b[_0x3f39bf(0x201)]),'sparklines':new _0x3dbeb7['ObjectMatrix'](_0x579e5b[_0x3f39bf(0x234)][_0x3f39bf(0x1f6)]())},_0x4db6a1[_0x21ebd9]=_0x26179d),_0x33ee47||(_0x33ee47={'config':_0x3dbeb7[_0x3f39bf(0x1de)][_0x3f39bf(0x18d)](_0x579e5b['config']),'sparklines':_0x579e5b[_0x3f39bf(0x234)]['clone']()},_0x26ea14[_0x21ebd9]=_0x33ee47),_0x26179d[_0x3f39bf(0x234)][_0x3f39bf(0x258)](_0x2e0c3f,_0x492574);}}});const _0x499e34={};return Object[_0x58d768(0x1ef)](_0x4db6a1)[_0x58d768(0x289)](([_0xee66b2,_0x5e7414])=>{const _0x3f313a=_0x58d768;_0x5e7414[_0x3f313a(0x234)][_0x3f313a(0x265)]()&&(_0x499e34[_0xee66b2]={'config':_0x5e7414[_0x3f313a(0x201)],'sparklines':_0x5e7414[_0x3f313a(0x234)]['clone']()});}),_0x499e34[_0x333cdd]=_0x1c5709,_0x475de1['push']({'id':_0xe90930['id'],'params':{'unitId':_0x114281,'subUnitId':_0x21a0d9,'groupIds':Array[_0x58d768(0x24a)](_0x17af2d),'isSingle':!0x1}}),_0x17af2d['size']>0x1&&(_0xcd2715[_0x58d768(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x114281,'subUnitId':_0x21a0d9,'groupIds':Array['from'](_0x17af2d),'isSingle':!0x1}}),_0x475de1[_0x58d768(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x114281,'subUnitId':_0x21a0d9,'sparklineConfigMap':_0x26ea14}})),_0xcd2715[_0x58d768(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x114281,'subUnitId':_0x21a0d9,'sparklineConfigMap':_0x499e34}}),_0x3dbeb7[_0x58d768(0x27e)](_0xcd2715,_0x3f7161),_0x4a097c[_0x58d768(0x21a)]({'unitID':_0x114281,'undoMutations':_0x475de1,'redoMutations':_0xcd2715}),!0x0;}},_0x598cf5={'id':_0x2450b4(0x1d0),'type':_0x3dbeb7['CommandType'][_0x2450b4(0x230)],'handler':(_0x2423a9,_0x16714f)=>{const _0x36f9f5=_0x2450b4;var _0x39563e;const {isSingle:_0x3088f9=!0x0}=_0x16714f||{},_0x2d5879=_0x2423a9[_0x36f9f5(0x1b5)](_0x3dbeb7[_0x36f9f5(0x216)]),_0x45caa9=_0x2423a9[_0x36f9f5(0x1b5)](_0x3dbeb7[_0x36f9f5(0x18b)]),_0x2fa253=_0x2423a9[_0x36f9f5(0x1b5)](_0x23ea5f['SparklineDataSourceModel']),_0x2bcddf=_0x2423a9['get'](_0x3dbeb7[_0x36f9f5(0x25d)]),_0x39c6c6=_0x1bf07b[_0x36f9f5(0x17d)](_0x45caa9);if(!_0x39c6c6)return!0x1;const _0x19a941=_0x2423a9[_0x36f9f5(0x1b5)](_0x1bf07b['SheetsSelectionsService']),_0x43b0e7=(_0x39563e=_0x16714f==null?void 0x0:_0x16714f[_0x36f9f5(0x238)])!=null?_0x39563e:_0x19a941[_0x36f9f5(0x1a6)]()[_0x36f9f5(0x27c)](_0x1e443d=>_0x1e443d['range']),{unitId:_0x3c8a2f,subUnitId:_0x9ca988}=_0x39c6c6,_0x41c557=[],_0x30eb85=[];_0x41c557[_0x36f9f5(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x3c8a2f,'subUnitId':_0x9ca988,'ranges':_0x43b0e7,'isSingle':_0x3088f9}});const _0x3c31ed=[],_0x1160d1={};return _0x43b0e7[_0x36f9f5(0x289)](_0x3c8f4e=>{const _0x5c27af=_0x36f9f5;_0x3dbeb7['Range'][_0x5c27af(0x204)](_0x3c8f4e,(_0x456fef,_0x2f6665)=>{const _0x247781=_0x5c27af,_0x1016e5=_0x2fa253[_0x247781(0x267)](_0x3c8a2f,_0x9ca988,_0x456fef,_0x2f6665);if(_0x1016e5){const _0x5e4e0d=_0x2fa253[_0x247781(0x284)](_0x3c8a2f,_0x9ca988,_0x1016e5);_0x5e4e0d&&(_0x3c31ed[_0x247781(0x1c4)](_0x1016e5),_0x1160d1[_0x1016e5]={'config':_0x3dbeb7['Tools']['deepClone'](_0x5e4e0d['config']),'sparklines':_0x3dbeb7[_0x247781(0x1de)][_0x247781(0x18d)](_0x5e4e0d[_0x247781(0x234)][_0x247781(0x1f6)]())});}});}),_0x30eb85[_0x36f9f5(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x3c8a2f,'subUnitId':_0x9ca988,'groupIds':_0x3c31ed,'isSingle':!0x1}}),_0x30eb85[_0x36f9f5(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x3c8a2f,'subUnitId':_0x9ca988,'sparklineConfigMap':_0x1160d1}}),_0x3dbeb7[_0x36f9f5(0x27e)](_0x41c557,_0x2d5879),_0x2bcddf[_0x36f9f5(0x21a)]({'unitID':_0x3c8a2f,'undoMutations':_0x30eb85,'redoMutations':_0x41c557}),!0x0;}},_0xc41240={'id':_0x2450b4(0x274),'type':_0x3dbeb7[_0x2450b4(0x263)][_0x2450b4(0x185)],'handler':(_0x3dc931,_0x261db1)=>{const _0x5e4516=_0x2450b4;if(!_0x261db1)return!0x1;const {unitId:_0x240e71,subUnitId:_0x144bb4,groupIds:_0x412cd8,config:_0xc59ea1}=_0x261db1,_0x257e89=_0x3dc931[_0x5e4516(0x1b5)](_0x23ea5f[_0x5e4516(0x28b)]);return _0x412cd8[_0x5e4516(0x289)](_0xfe89a2=>{const _0x566866=_0x5e4516,_0x2be21a=_0x257e89['getSparklineById'](_0x240e71,_0x144bb4,_0xfe89a2);if(_0x2be21a){const _0x50321b={'config':Object['assign']({},_0x2be21a[_0x566866(0x201)],_0xc59ea1[_0x566866(0x201)]),'sparklines':new _0x3dbeb7['ObjectMatrix'](_0x2be21a[_0x566866(0x234)][_0x566866(0x1f6)]())};_0x257e89[_0x566866(0x210)](_0x240e71,_0x144bb4,[_0xfe89a2],_0x50321b);}}),!0x0;}},_0x1a97af={'id':_0x2450b4(0x1cc),'type':_0x3dbeb7[_0x2450b4(0x263)][_0x2450b4(0x230)],'handler':(_0x4be981,_0x209081)=>{const _0x477b05=_0x2450b4;var _0x3f2ad2,_0x4d5496,_0x1b02df,_0x356315;if(!_0x209081)return!0x1;const _0x16f24c=_0x4be981[_0x477b05(0x1b5)](_0x3dbeb7[_0x477b05(0x216)]),_0x3fbf1a=_0x4be981[_0x477b05(0x1b5)](_0x1bf07b[_0x477b05(0x28d)]),_0x4e179e=_0x4be981['get'](_0x23ea5f['SparklineDataSourceModel']),_0x659623=_0x4be981['get'](_0x3dbeb7[_0x477b05(0x18b)]),_0x280e70=_0x4be981[_0x477b05(0x1b5)](_0x3dbeb7[_0x477b05(0x25d)]),_0x3fc661=_0x1bf07b[_0x477b05(0x17d)](_0x659623);if(!_0x3fc661)return!0x1;const {unitId:_0x49268a,subUnitId:_0xc16c44}=_0x3fc661,_0x1f86a4=(_0x3f2ad2=_0x209081==null?void 0x0:_0x209081[_0x477b05(0x238)])!=null?_0x3f2ad2:_0x3fbf1a[_0x477b05(0x1a6)]()['map'](_0x5598b6=>_0x5598b6['range']),_0x23c82b=(_0x4d5496=_0x4e179e[_0x477b05(0x1a3)]()[_0x477b05(0x250)][_0x477b05(0x1b5)](_0x49268a))==null?void 0x0:_0x4d5496['get'](_0xc16c44),{isChangeDataSource:_0x15e11a,config:_0x2e94b6,combine:_0x4336a9,unCombine:_0x117bc2}=_0x209081;if(_0x4336a9){const _0x4cfb90=[],_0x276397=[];_0x4cfb90[_0x477b05(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'ranges':_0x1f86a4,'isSingle':!0x0}});const _0x41ab61='g_'+_0x3dbeb7['generateRandomId'](0x6),_0x54ba1d=new _0x3dbeb7[(_0x477b05(0x1ea))](),_0x1cd13e=(_0x1b02df=_0x4e179e[_0x477b05(0x1a3)]()['sparklineModel'][_0x477b05(0x1b5)](_0x49268a))==null?void 0x0:_0x1b02df[_0x477b05(0x1b5)](_0xc16c44),_0x40bf63=new Set([_0x41ab61]),_0x16841f={};return _0x1f86a4[_0x477b05(0x289)](_0x1201f7=>{const _0x9d7f85=_0x477b05;var _0x55eced,_0x3e1e63;const {startRow:_0x1f5211,endRow:_0x47b002,startColumn:_0x51ac65,endColumn:_0x56ea67}=_0x1201f7;for(let _0x5732c0=_0x1f5211;_0x5732c0<=_0x47b002;_0x5732c0++)for(let _0x3c0cde=_0x51ac65;_0x3c0cde<=_0x56ea67;_0x3c0cde++){const _0xdc0622=(_0x55eced=_0x23c82b==null?void 0x0:_0x23c82b[_0x9d7f85(0x266)]['getValue'](_0x5732c0,_0x3c0cde))==null?void 0x0:_0x55eced[_0x9d7f85(0x1c6)];if(_0xdc0622){_0x40bf63[_0x9d7f85(0x1a5)](_0xdc0622);const _0x5c2ab3=_0x4e179e[_0x9d7f85(0x284)](_0x49268a,_0xc16c44,_0xdc0622);_0x5c2ab3&&(_0x16841f[_0xdc0622]={'config':_0x3dbeb7[_0x9d7f85(0x1de)][_0x9d7f85(0x18d)](_0x5c2ab3[_0x9d7f85(0x201)]),'sparklines':_0x3dbeb7[_0x9d7f85(0x1de)][_0x9d7f85(0x18d)](_0x5c2ab3[_0x9d7f85(0x234)]['clone']())});const _0x367d07=(_0x3e1e63=_0x1cd13e==null?void 0x0:_0x1cd13e['get'](_0xdc0622))==null?void 0x0:_0x3e1e63['sparklines'][_0x9d7f85(0x193)](_0x5732c0,_0x3c0cde);_0x367d07&&_0x54ba1d['setValue'](_0x5732c0,_0x3c0cde,_0x367d07);}}}),_0x4cfb90[_0x477b05(0x1c4)]({'id':_0x49d89b['id'],'params':{'sparklineConfigMap':{[_0x41ab61]:{'config':_0x3dbeb7[_0x477b05(0x1de)]['deepClone'](_0x2e94b6[_0x477b05(0x201)]),'sparklines':_0x54ba1d['getMatrix']()}},'unitId':_0x49268a,'subUnitId':_0xc16c44}}),_0x276397[_0x477b05(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'isSingle':!0x1,'groupIds':Array['from'](_0x40bf63)}}),_0x276397['push']({'id':_0x49d89b['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'sparklineConfigMap':_0x16841f}}),_0x3dbeb7[_0x477b05(0x27e)](_0x4cfb90,_0x16f24c),_0x280e70['pushUndoRedo']({'unitID':_0x49268a,'undoMutations':_0x276397,'redoMutations':_0x4cfb90}),!0x0;}else{if(_0x117bc2){const _0x172a5a=[],_0x222c9d=[];_0x172a5a[_0x477b05(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'ranges':_0x1f86a4,'isSingle':!0x0}});const _0x7f0cf1=(_0x356315=_0x4e179e[_0x477b05(0x1a3)]()['sparklineModel'][_0x477b05(0x1b5)](_0x49268a))==null?void 0x0:_0x356315['get'](_0xc16c44),_0x22956e={},_0x4b8a38=new Set(),_0x302a4d={};return _0x1f86a4[_0x477b05(0x289)](_0x44be28=>{const _0x3e12ab=_0x477b05;var _0x4323f1,_0x1e1fb0;const {startRow:_0x3a71be,endRow:_0x343207,startColumn:_0x3ed522,endColumn:_0x412127}=_0x44be28;for(let _0x238950=_0x3a71be;_0x238950<=_0x343207;_0x238950++)for(let _0x4a0b39=_0x3ed522;_0x4a0b39<=_0x412127;_0x4a0b39++){const _0x236409=(_0x4323f1=_0x23c82b==null?void 0x0:_0x23c82b[_0x3e12ab(0x266)][_0x3e12ab(0x193)](_0x238950,_0x4a0b39))==null?void 0x0:_0x4323f1[_0x3e12ab(0x1c6)];if(_0x236409){const _0x1b2041=new _0x3dbeb7[(_0x3e12ab(0x1ea))](),_0x3dbd42='g_'+_0x3dbeb7[_0x3e12ab(0x281)](0x6);_0x4b8a38[_0x3e12ab(0x1a5)](_0x236409),_0x4b8a38[_0x3e12ab(0x1a5)](_0x3dbd42);const _0x554628=_0x4e179e[_0x3e12ab(0x284)](_0x49268a,_0xc16c44,_0x236409);_0x554628&&(_0x302a4d[_0x236409]={'config':_0x3dbeb7['Tools']['deepClone'](_0x554628[_0x3e12ab(0x201)]),'sparklines':_0x3dbeb7[_0x3e12ab(0x1de)]['deepClone'](_0x554628[_0x3e12ab(0x234)][_0x3e12ab(0x1f6)]())});const _0x23599e=(_0x1e1fb0=_0x7f0cf1==null?void 0x0:_0x7f0cf1['get'](_0x236409))==null?void 0x0:_0x1e1fb0[_0x3e12ab(0x234)][_0x3e12ab(0x193)](_0x238950,_0x4a0b39);_0x23599e&&_0x1b2041['setValue'](_0x238950,_0x4a0b39,_0x23599e),_0x22956e[_0x3dbd42]={'sparklines':_0x1b2041['getMatrix'](),'config':_0x3dbeb7['Tools']['deepClone'](_0x2e94b6['config'])};}}}),_0x172a5a[_0x477b05(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'sparklineConfigMap':_0x22956e}}),_0x222c9d[_0x477b05(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'isSingle':!0x1,'groupIds':Array['from'](_0x4b8a38)}}),_0x222c9d[_0x477b05(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'sparklineConfigMap':_0x302a4d}}),_0x3dbeb7[_0x477b05(0x27e)](_0x172a5a,_0x16f24c),_0x280e70[_0x477b05(0x21a)]({'unitID':_0x49268a,'undoMutations':_0x222c9d,'redoMutations':_0x172a5a}),!0x0;}}if(_0x15e11a){const _0x2318f4=_0x209081['changeDataSourceInfo'];if(!_0x2318f4)return!0x1;const {groupId:_0x6142e5,sourceRanges:_0x573c74,targetRanges:_0x596493,resetType:_0x65b1e7,primary:_0x4d49ac}=_0x2318f4,_0x1f238a=[],_0x399955=[];_0x1f238a['push']({'id':_0xe90930['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'ranges':_0x1f86a4,'isSingle':!0x1,'groupIds':[_0x6142e5]}}),_0x399955[_0x477b05(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'ranges':_0x1f86a4,'isSingle':!0x1,'groupIds':[_0x6142e5]}});let _0x3da9c0;_0x65b1e7===_0x477b05(0x253)?(_0x3da9c0=new _0x3dbeb7[(_0x477b05(0x1ea))](_0x2e94b6['sparklines']['clone']()),_0x3da9c0['realDeleteValue'](_0x4d49ac[_0x477b05(0x1b3)],_0x4d49ac[_0x477b05(0x26d)]),_0x3da9c0[_0x477b05(0x1c0)](_0x596493[0x0][_0x477b05(0x243)],_0x596493[0x0][_0x477b05(0x26b)],_0x573c74[0x0])):_0x3da9c0=_0x1ba785(_0x573c74,_0x596493);const _0x35eed7={'config':_0x3dbeb7[_0x477b05(0x1de)][_0x477b05(0x18d)](_0x2e94b6[_0x477b05(0x201)]),'sparklines':_0x3da9c0[_0x477b05(0x1f4)]()},_0x299e4a={'config':_0x3dbeb7[_0x477b05(0x1de)][_0x477b05(0x18d)](_0x2e94b6['config']),'sparklines':_0x3dbeb7[_0x477b05(0x1de)]['deepClone'](_0x2e94b6[_0x477b05(0x234)][_0x477b05(0x1f6)]())};_0x1f238a['push']({'id':_0x49d89b['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'sparklineConfigMap':{[_0x6142e5]:_0x35eed7}}}),_0x399955[_0x477b05(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'sparklineConfigMap':{[_0x6142e5]:_0x299e4a}}}),_0x3dbeb7[_0x477b05(0x27e)](_0x1f238a,_0x16f24c),_0x280e70[_0x477b05(0x21a)]({'unitID':_0x49268a,'undoMutations':_0x399955,'redoMutations':_0x1f238a});}else{const _0x1b8965=[],_0x1b4987=[],_0x36f387=new Set(),_0x4aa5b9={};_0x1f86a4[_0x477b05(0x289)](_0x8f3a80=>{const _0x46d627=_0x477b05;var _0x4c24b8;const {startRow:_0x45e8ed,endRow:_0x2bf4e7,startColumn:_0x10c78c,endColumn:_0x59e58b}=_0x8f3a80;for(let _0x456c17=_0x45e8ed;_0x456c17<=_0x2bf4e7;_0x456c17++)for(let _0x99259c=_0x10c78c;_0x99259c<=_0x59e58b;_0x99259c++){const _0x1db48f=(_0x4c24b8=_0x23c82b==null?void 0x0:_0x23c82b[_0x46d627(0x266)][_0x46d627(0x193)](_0x456c17,_0x99259c))==null?void 0x0:_0x4c24b8[_0x46d627(0x1c6)];if(_0x1db48f){_0x36f387[_0x46d627(0x1a5)](_0x1db48f);const _0x1f3559=_0x4e179e[_0x46d627(0x284)](_0x49268a,_0xc16c44,_0x1db48f);_0x1f3559&&(_0x4aa5b9[_0x1db48f]={'config':_0x3dbeb7[_0x46d627(0x1de)][_0x46d627(0x18d)](_0x1f3559[_0x46d627(0x201)]),'sparklines':_0x3dbeb7[_0x46d627(0x1de)][_0x46d627(0x18d)](_0x1f3559[_0x46d627(0x234)]['clone']())});}}}),_0x1b4987[_0x477b05(0x1c4)]({'id':_0xc41240['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'groupIds':Array[_0x477b05(0x24a)](_0x36f387),'config':{'config':_0x3dbeb7[_0x477b05(0x1de)]['deepClone'](_0x2e94b6[_0x477b05(0x201)]),'sparklines':_0x2e94b6[_0x477b05(0x234)][_0x477b05(0x1f4)]()}}}),_0x1b8965[_0x477b05(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'isSingle':!0x1,'groupIds':Array['from'](_0x36f387)}}),_0x1b8965[_0x477b05(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x49268a,'subUnitId':_0xc16c44,'sparklineConfigMap':_0x4aa5b9}}),_0x3dbeb7[_0x477b05(0x27e)](_0x1b4987,_0x16f24c),_0x280e70['pushUndoRedo']({'unitID':_0x49268a,'undoMutations':_0x1b8965,'redoMutations':_0x1b4987});}return!0x0;}};var _0x59e2b8=Object[_0x2450b4(0x1ce)],_0x337f68=(_0x1a1937,_0x5f0d9b,_0x45a40a,_0x1ee93f)=>{for(var _0x28e75a=_0x1ee93f>0x1?void 0x0:_0x1ee93f?_0x59e2b8(_0x5f0d9b,_0x45a40a):_0x5f0d9b,_0x3e3b12=_0x1a1937['length']-0x1,_0x4081ca;_0x3e3b12>=0x0;_0x3e3b12--)(_0x4081ca=_0x1a1937[_0x3e3b12])&&(_0x28e75a=_0x4081ca(_0x28e75a)||_0x28e75a);return _0x28e75a;},_0x47b2bf=(_0x449b3e,_0x4af63e)=>(_0x24990b,_0x27c070)=>_0x4af63e(_0x24990b,_0x27c070,_0x449b3e);let _0x5a5a4b=class extends _0x3dbeb7[_0x2450b4(0x1a2)]{constructor(_0x36aac1,_0x48ad04,_0x5904d8,_0x4748a7){const _0x1573a2=_0x2450b4;super(),this[_0x1573a2(0x28a)]=_0x36aac1,this[_0x1573a2(0x180)]=_0x48ad04,this[_0x1573a2(0x1ae)]=_0x5904d8,this['_sheetSelectionService']=_0x4748a7,this[_0x1573a2(0x24f)]();}['_initClearWithSparkline'](){const _0x28a894=_0x2450b4;this['disposeWithMe'](this['_sheetInterceptorService'][_0x28a894(0x241)]({'getMutations':_0x4238ea=>{const _0x5edfc5=_0x28a894,_0x4f5fcb=[],_0x6deaac=[];if(_0x4238ea['id']===_0x1bf07b[_0x5edfc5(0x189)]['id']){const _0x551247=_0x1bf07b[_0x5edfc5(0x17d)](this[_0x5edfc5(0x1ae)]);if(!_0x551247)return{'redos':_0x4f5fcb,'undos':_0x6deaac};const {unitId:_0xd6b1b5,subUnitId:_0x272ea6,worksheet:_0x2e5d09}=_0x551247,_0x2cfa51=this[_0x5edfc5(0x22b)]['getCurrentSelections']()['map'](_0x42a238=>_0x42a238[_0x5edfc5(0x279)]),_0x339e09=new Set(),_0x29db9c={},_0x49b6ef={};_0x2cfa51[_0x5edfc5(0x289)](_0xa10f11=>{const _0x51b7f0=_0x5edfc5;_0x3dbeb7[_0x51b7f0(0x1dd)]['foreach'](_0xa10f11,(_0x136777,_0x336f6a)=>{const _0x5ecf92=_0x51b7f0,_0x36a517=this[_0x5ecf92(0x28a)]['getSparkline'](_0xd6b1b5,_0x272ea6,_0x136777,_0x336f6a);if(_0x36a517&&!_0x339e09[_0x5ecf92(0x272)](_0x36a517)){const _0x42f0b8=this[_0x5ecf92(0x28a)]['getSparklineById'](_0xd6b1b5,_0x272ea6,_0x36a517);_0x42f0b8&&(_0x339e09['add'](_0x36a517),_0x29db9c[_0x36a517]={'config':_0x3dbeb7[_0x5ecf92(0x1de)]['deepClone'](_0x42f0b8['config']),'sparklines':_0x3dbeb7['Tools'][_0x5ecf92(0x18d)](_0x42f0b8[_0x5ecf92(0x234)]['clone']())},_0x49b6ef[_0x36a517]={'config':_0x3dbeb7[_0x5ecf92(0x1de)][_0x5ecf92(0x18d)](_0x42f0b8[_0x5ecf92(0x201)]),'sparklines':_0x3dbeb7[_0x5ecf92(0x1de)][_0x5ecf92(0x18d)](_0x42f0b8[_0x5ecf92(0x234)][_0x5ecf92(0x1f6)]())});}});}),Object[_0x5edfc5(0x1bf)](_0x49b6ef)[_0x5edfc5(0x289)](_0x5dcb9f=>{const _0x78da3b=_0x5edfc5,_0x328e53=_0x5dcb9f[_0x78da3b(0x234)];new _0x3dbeb7[(_0x78da3b(0x1ea))](_0x328e53)[_0x78da3b(0x1c3)]((_0x1938a3,_0x4fbd61,_0x35d47c)=>{const _0x470264=_0x78da3b;_0x2cfa51[_0x470264(0x1b0)](_0x576764=>_0x3dbeb7['Rectangle'][_0x470264(0x1ab)](_0x576764,_0x3dbeb7[_0x470264(0x1ed)](_0x1938a3,_0x4fbd61)))&&delete _0x328e53[_0x1938a3][_0x4fbd61];});}),_0x4f5fcb[_0x5edfc5(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0xd6b1b5,'subUnitId':_0x272ea6,'groupIds':Array[_0x5edfc5(0x24a)](_0x339e09),'isSingle':!0x1}}),_0x4f5fcb[_0x5edfc5(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0xd6b1b5,'subUnitId':_0x272ea6,'sparklineConfigMap':_0x49b6ef}}),_0x6deaac['push']({'id':_0xe90930['id'],'params':{'unitId':_0xd6b1b5,'subUnitId':_0x272ea6,'groupIds':Array[_0x5edfc5(0x24a)](_0x339e09),'isSingle':!0x1}}),_0x6deaac[_0x5edfc5(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0xd6b1b5,'subUnitId':_0x272ea6,'sparklineConfigMap':_0x29db9c}});}return{'redos':_0x4f5fcb,'undos':_0x6deaac};}}));}};_0x5a5a4b=_0x337f68([_0x47b2bf(0x0,_0x3dbeb7[_0x2450b4(0x221)](_0x23ea5f[_0x2450b4(0x28b)])),_0x47b2bf(0x1,_0x3dbeb7['Inject'](_0x1bf07b[_0x2450b4(0x1eb)])),_0x47b2bf(0x2,_0x3dbeb7[_0x2450b4(0x221)](_0x3dbeb7[_0x2450b4(0x18b)])),_0x47b2bf(0x3,_0x3dbeb7[_0x2450b4(0x221)](_0x1bf07b[_0x2450b4(0x28d)]))],_0x5a5a4b);var _0x5707bd=Object['getOwnPropertyDescriptor'],_0x41f279=(_0xb974c3,_0x10c81c,_0x1b7cc0,_0x4d4907)=>{const _0x598318=_0x2450b4;for(var _0x2dab91=_0x4d4907>0x1?void 0x0:_0x4d4907?_0x5707bd(_0x10c81c,_0x1b7cc0):_0x10c81c,_0x18d44a=_0xb974c3[_0x598318(0x255)]-0x1,_0x1b2e69;_0x18d44a>=0x0;_0x18d44a--)(_0x1b2e69=_0xb974c3[_0x18d44a])&&(_0x2dab91=_0x1b2e69(_0x2dab91)||_0x2dab91);return _0x2dab91;},_0x3cccb4=(_0x16f410,_0xf1c721)=>(_0x548b78,_0x3ced96)=>_0xf1c721(_0x548b78,_0x3ced96,_0x16f410);let _0x5b8694=class extends _0x3dbeb7['Disposable']{constructor(_0x591341,_0xa99158,_0x25bb45){const _0x3b092d=_0x2450b4;super(),this[_0x3b092d(0x25b)]=_0x591341,this['_sparklineDataSourceModel']=_0xa99158,this[_0x3b092d(0x1fb)]=_0x25bb45,this[_0x3b092d(0x194)](),this[_0x3b092d(0x1e0)]();}[_0x2450b4(0x194)](){const _0x1770d3=_0x2450b4;this[_0x1770d3(0x1d9)](this[_0x1770d3(0x25b)][_0x1770d3(0x21f)](_0x47c863=>{const _0x20f7a3=_0x1770d3;if(_0x47c863['id']===_0x1bf07b[_0x20f7a3(0x202)]['id']){const _0x1d2cb5=_0x47c863['params'],{cellValue:_0x3f1e53,unitId:_0x1b3027,subUnitId:_0x3d904a}=_0x1d2cb5,_0x381916=new _0x3dbeb7[(_0x20f7a3(0x1ea))](_0x3f1e53),_0x3cb0bd=new Set(),_0x3f2652=this[_0x20f7a3(0x28a)][_0x20f7a3(0x24d)](_0x1b3027,_0x3d904a);if(!_0x3f2652)return;const _0x3c7bee=Array[_0x20f7a3(0x24a)](_0x3f2652);_0x381916[_0x20f7a3(0x1c3)]((_0x152aed,_0x56bd6d,_0x291dd4)=>{const _0x585c13=_0x20f7a3,_0x598cf8=_0x3dbeb7[_0x585c13(0x1ed)](_0x152aed,_0x56bd6d);for(let _0x9d8abc=0x0;_0x9d8abc<_0x3c7bee[_0x585c13(0x255)];_0x9d8abc++){const [_0x32c7d5,_0x3a0d39]=_0x3c7bee[_0x9d8abc],_0x357fac=_0x3cb0bd['has'](_0x32c7d5);_0x357fac||_0x3a0d39['sparklines'][_0x585c13(0x1c3)]((_0xdab1c5,_0x1e9b4c,_0x3563df)=>{const _0xcc222b=_0x585c13,_0xcd7bc6=_0x3563df;if(_0xcd7bc6&&!_0x357fac&&_0x3dbeb7[_0xcc222b(0x1d1)][_0xcc222b(0x1ab)](_0x598cf8,_0xcd7bc6))return _0x3cb0bd[_0xcc222b(0x1a5)](_0x32c7d5),!0x0;});}}),_0x3cb0bd['forEach'](_0x5824c5=>{const _0x250cea=_0x20f7a3;this[_0x250cea(0x28a)][_0x250cea(0x223)](_0x1b3027,_0x3d904a,_0x5824c5),this[_0x250cea(0x28a)][_0x250cea(0x19d)](_0x1b3027,_0x3d904a,_0x5824c5);});}else{if(_0x47c863['id']===_0x1bf07b[_0x20f7a3(0x26f)]['id']){const _0x5ed7eb=_0x47c863[_0x20f7a3(0x28f)],{range:_0x562876,unitId:_0x5815a7,subUnitId:_0x142029}=_0x5ed7eb,_0x171a42=new Set(),_0x47167f=this[_0x20f7a3(0x28a)][_0x20f7a3(0x24d)](_0x5815a7,_0x142029);if(!_0x47167f)return;const _0x46b0ff=Array['from'](_0x47167f);for(let _0x514d19=0x0;_0x514d19<_0x46b0ff[_0x20f7a3(0x255)];_0x514d19++){const [_0x2d8ac1,_0x31e133]=_0x46b0ff[_0x514d19],_0x2b0e41=_0x171a42['has'](_0x2d8ac1);_0x2b0e41||_0x31e133[_0x20f7a3(0x234)][_0x20f7a3(0x1c3)]((_0x2a9760,_0x44f0ac,_0x1087ed)=>{const _0x187b99=_0x20f7a3,_0x187713=_0x1087ed;if(_0x187713&&!_0x2b0e41&&_0x3dbeb7[_0x187b99(0x1d1)][_0x187b99(0x1ab)](_0x562876,_0x187713))return _0x171a42[_0x187b99(0x1a5)](_0x2d8ac1),!0x0;});}_0x171a42['forEach'](_0x577585=>{const _0x7daa7a=_0x20f7a3;this['_sparklineDataSourceModel'][_0x7daa7a(0x223)](_0x5815a7,_0x142029,_0x577585),this[_0x7daa7a(0x28a)][_0x7daa7a(0x19d)](_0x5815a7,_0x142029,_0x577585);});}}}));}[_0x2450b4(0x1e0)](){const _0x1ff764=_0x2450b4;this['disposeWithMe'](this[_0x1ff764(0x1fb)]['exclusiveRangesChange$']['subscribe'](_0x4f9393=>{const _0x2ae8ab=_0x1ff764,{unitId:_0x2770d3,subUnitId:_0x23d9d8,ranges:_0xdf479c}=_0x4f9393,_0x7ec0aa=this[_0x2ae8ab(0x28a)][_0x2ae8ab(0x24d)](_0x2770d3,_0x23d9d8);if(!_0x7ec0aa)return;const _0x2cf8e8=Array[_0x2ae8ab(0x24a)](_0x7ec0aa),_0x30a1=new Set();for(let _0x1ba881=0x0;_0x1ba881<_0x2cf8e8[_0x2ae8ab(0x255)];_0x1ba881++){const [_0x54f309,_0xde9728]=_0x2cf8e8[_0x1ba881],_0x51c4c5=_0x30a1['has'](_0x54f309);_0x51c4c5||_0xde9728[_0x2ae8ab(0x234)]['forValue']((_0x2a20e6,_0x4e27fa,_0x2d958d)=>{const _0x406498=_0x2ae8ab,_0x590e45=_0x2d958d;if(_0x590e45&&!_0x51c4c5){for(const _0xe4c629 of _0xdf479c)if(_0x3dbeb7[_0x406498(0x1d1)][_0x406498(0x1ab)](_0xe4c629,_0x590e45)){_0x30a1[_0x406498(0x1a5)](_0x54f309);break;}}});}_0x30a1[_0x2ae8ab(0x289)](_0x2f0065=>{const _0x4158d0=_0x2ae8ab;this[_0x4158d0(0x28a)][_0x4158d0(0x223)](_0x2770d3,_0x23d9d8,_0x2f0065),this['_sparklineDataSourceModel'][_0x4158d0(0x19d)](_0x2770d3,_0x23d9d8,_0x2f0065);});}));}};_0x5b8694=_0x41f279([_0x3cccb4(0x0,_0x3dbeb7[_0x2450b4(0x221)](_0x3dbeb7['ICommandService'])),_0x3cccb4(0x1,_0x3dbeb7[_0x2450b4(0x221)](_0x23ea5f[_0x2450b4(0x28b)])),_0x3cccb4(0x2,_0x3dbeb7['Inject'](_0x1bf07b[_0x2450b4(0x1e1)]))],_0x5b8694);var _0x27e149=Object['getOwnPropertyDescriptor'],_0x220da6=(_0x453d1d,_0x2fd223,_0x479122,_0x1d075d)=>{const _0x2d0afb=_0x2450b4;for(var _0x59e3d6=_0x1d075d>0x1?void 0x0:_0x1d075d?_0x27e149(_0x2fd223,_0x479122):_0x2fd223,_0x14d4be=_0x453d1d[_0x2d0afb(0x255)]-0x1,_0x3b4c83;_0x14d4be>=0x0;_0x14d4be--)(_0x3b4c83=_0x453d1d[_0x14d4be])&&(_0x59e3d6=_0x3b4c83(_0x59e3d6)||_0x59e3d6);return _0x59e3d6;},_0x10f2bf=(_0xc1fc1d,_0x4730a1)=>(_0x54d80b,_0x22289b)=>_0x4730a1(_0x54d80b,_0x22289b,_0xc1fc1d);let _0x3034d3=class extends _0x3dbeb7['Disposable']{constructor(_0x3c1eee,_0x36b47f){const _0x27bd5c=_0x2450b4;super(),this[_0x27bd5c(0x25b)]=_0x3c1eee,this['_sparklineDataSourceModel']=_0x36b47f,this[_0x27bd5c(0x236)]();}[_0x2450b4(0x236)](){const _0x30f563=_0x2450b4;this[_0x30f563(0x25b)]['onCommandExecuted'](_0x3324e1=>{const _0x317fb3=_0x30f563;if(_0x3324e1['id']===_0x1bf07b['SetRowHiddenMutation']['id']||_0x3324e1['id']===_0x1bf07b[_0x317fb3(0x227)]['id']||_0x3324e1['id']===_0x1bf07b[_0x317fb3(0x1f2)]['id']||_0x3324e1['id']===_0x1bf07b[_0x317fb3(0x23e)]['id']){const _0x10c673=_0x3324e1[_0x317fb3(0x28f)],{ranges:_0x1747d2,unitId:_0x3bfb02,subUnitId:_0x2f6d54}=_0x10c673,_0x886984=new Set(),_0x442904=this[_0x317fb3(0x28a)]['getSubUnitSparkline'](_0x3bfb02,_0x2f6d54);if(!_0x442904)return;const _0x194732=Array['from'](_0x442904);_0x1747d2['forEach'](_0x83049d=>{_0x3dbeb7['Range']['foreach'](_0x83049d,(_0x583274,_0x51706f)=>{const _0x42e2eb=_0x2ddb,_0x3d9e33=_0x3dbeb7[_0x42e2eb(0x1ed)](_0x583274,_0x51706f);for(let _0x228070=0x0;_0x228070<_0x194732[_0x42e2eb(0x255)];_0x228070++){const [_0xc6009a,_0xc8c38e]=_0x194732[_0x228070],_0x5be62f=_0x886984[_0x42e2eb(0x272)](_0xc6009a);_0x5be62f||_0xc8c38e[_0x42e2eb(0x234)][_0x42e2eb(0x1c3)]((_0x13bc31,_0xb9af23,_0x325515)=>{const _0x3a39a4=_0x42e2eb,_0x240b9d=_0x325515;if(_0x240b9d&&!_0x5be62f&&_0x3dbeb7[_0x3a39a4(0x1d1)]['intersects'](_0x3d9e33,_0x240b9d))return _0x886984['add'](_0xc6009a),!0x0;});}});}),_0x886984[_0x317fb3(0x289)](_0x47ae4d=>{const _0x815786=_0x317fb3;this[_0x815786(0x28a)][_0x815786(0x223)](_0x3bfb02,_0x2f6d54,_0x47ae4d),this[_0x815786(0x28a)]['updateSparklineExtraNum'](_0x3bfb02,_0x2f6d54,_0x47ae4d);});}});}};_0x3034d3=_0x220da6([_0x10f2bf(0x0,_0x3dbeb7['Inject'](_0x3dbeb7['ICommandService'])),_0x10f2bf(0x1,_0x3dbeb7[_0x2450b4(0x221)](_0x23ea5f['SparklineDataSourceModel']))],_0x3034d3);var _0x5a0d48=Object[_0x2450b4(0x1ce)],_0x4f4eca=(_0x36033a,_0x396987,_0x3889d1,_0x43e9f3)=>{const _0x3ea3e2=_0x2450b4;for(var _0x226808=_0x43e9f3>0x1?void 0x0:_0x43e9f3?_0x5a0d48(_0x396987,_0x3889d1):_0x396987,_0x4369ac=_0x36033a[_0x3ea3e2(0x255)]-0x1,_0x30b3eb;_0x4369ac>=0x0;_0x4369ac--)(_0x30b3eb=_0x36033a[_0x4369ac])&&(_0x226808=_0x30b3eb(_0x226808)||_0x226808);return _0x226808;},_0xae75ed=(_0x5bc2b4,_0x38d501)=>(_0x363a75,_0x1be6d2)=>_0x38d501(_0x363a75,_0x1be6d2,_0x5bc2b4);let _0x2412ca=class extends _0x3dbeb7[_0x2450b4(0x1a2)]{constructor(_0x372935,_0xf334ff,_0x5857d0){const _0x363355=_0x2450b4;super(),this[_0x363355(0x25b)]=_0x372935,this[_0x363355(0x180)]=_0xf334ff,this[_0x363355(0x28a)]=_0x5857d0,this[_0x363355(0x25a)]();}[_0x2450b4(0x25a)](){const _0x8479a3=_0x2450b4;this[_0x8479a3(0x1d9)](this[_0x8479a3(0x180)]['interceptCommand']({'getMutations':_0xe09ffb=>{const _0x12610d=_0x8479a3,_0x5f1609=[],_0x29bd90=[];if(_0xe09ffb['id']===_0x1bf07b[_0x12610d(0x264)]['id']){const _0x2f8137=_0xe09ffb[_0x12610d(0x28f)];if(!_0x2f8137)return{'redos':_0x5f1609,'undos':_0x29bd90};const {unitId:_0x55821b,subUnitId:_0x4cfd0e,ranges:_0x2f6d63}=_0x2f8137,_0x518c21=this[_0x12610d(0x28a)][_0x12610d(0x24d)](_0x55821b,_0x4cfd0e);if(!_0x518c21)return{'redos':_0x5f1609,'undos':_0x29bd90};const _0x2d39bb={},_0x4ffb7f={},_0x4b202e=new Set();_0x2f6d63['forEach'](_0x1c012a=>{const _0x136083=_0x12610d,_0x1b7ccd=_0x1c012a[_0x136083(0x243)],_0x328d09=_0x1c012a[_0x136083(0x26b)];_0x3dbeb7[_0x136083(0x1dd)][_0x136083(0x204)](_0x1c012a,(_0x5c5846,_0x343e29)=>{const _0x67a126=_0x136083,_0x54f999=this[_0x67a126(0x28a)][_0x67a126(0x267)](_0x55821b,_0x4cfd0e,_0x5c5846,_0x343e29);if(_0x54f999&&!(_0x5c5846===_0x1b7ccd&&_0x343e29===_0x328d09)){const _0x1383bd=this[_0x67a126(0x28a)][_0x67a126(0x284)](_0x55821b,_0x4cfd0e,_0x54f999);if(_0x1383bd){_0x4b202e[_0x67a126(0x1a5)](_0x54f999);let _0x703ca7=_0x2d39bb[_0x54f999];_0x703ca7||(_0x703ca7={'config':_0x3dbeb7[_0x67a126(0x1de)][_0x67a126(0x18d)](_0x1383bd['config']),'sparklines':new _0x3dbeb7[(_0x67a126(0x1ea))](_0x1383bd[_0x67a126(0x234)][_0x67a126(0x1f6)]())},_0x2d39bb[_0x54f999]=_0x703ca7),_0x703ca7[_0x67a126(0x234)][_0x67a126(0x258)](_0x5c5846,_0x343e29),_0x4ffb7f[_0x54f999]={'config':_0x3dbeb7[_0x67a126(0x1de)][_0x67a126(0x18d)](_0x1383bd['config']),'sparklines':_0x3dbeb7[_0x67a126(0x1de)][_0x67a126(0x18d)](_0x1383bd[_0x67a126(0x234)][_0x67a126(0x1f6)]())};}}});});for(const [_0x5031f3,_0x291a3b]of _0x518c21){const _0x3acd17=_0x291a3b[_0x12610d(0x234)];_0x3acd17[_0x12610d(0x1c3)]((_0x499379,_0x438105,_0xb2fb0d)=>{const _0x1ebf59=_0x12610d;for(let _0xb2a168=0x0;_0xb2a168<_0x2f6d63[_0x1ebf59(0x255)];_0xb2a168++){const _0x102c0f=_0x2f6d63[_0xb2a168];if(_0x3dbeb7['Rectangle'][_0x1ebf59(0x1f5)](_0x102c0f,_0xb2fb0d)){_0x4b202e[_0x1ebf59(0x1a5)](_0x5031f3);let _0x49431f=_0x2d39bb[_0x5031f3];_0x49431f||(_0x49431f={'config':_0x3dbeb7[_0x1ebf59(0x1de)]['deepClone'](_0x291a3b['config']),'sparklines':new _0x3dbeb7[(_0x1ebf59(0x1ea))](_0x3acd17[_0x1ebf59(0x1f6)]())},_0x2d39bb[_0x5031f3]=_0x49431f),_0x49431f[_0x1ebf59(0x234)][_0x1ebf59(0x258)](_0x499379,_0x438105),_0x4ffb7f[_0x5031f3]||(_0x4ffb7f[_0x5031f3]={'config':_0x3dbeb7[_0x1ebf59(0x1de)]['deepClone'](_0x291a3b[_0x1ebf59(0x201)]),'sparklines':_0x3dbeb7['Tools'][_0x1ebf59(0x18d)](_0x3acd17[_0x1ebf59(0x1f6)]())});}}});}const _0x326994={};Object[_0x12610d(0x1ef)](_0x2d39bb)[_0x12610d(0x289)](([_0x3fa89b,_0x118406])=>{const _0x336f04=_0x12610d;_0x118406[_0x336f04(0x234)][_0x336f04(0x265)]()&&(_0x326994[_0x3fa89b]={'config':_0x118406[_0x336f04(0x201)],'sparklines':_0x118406[_0x336f04(0x234)]['clone']()});}),_0x4b202e[_0x12610d(0x1e3)]&&(_0x5f1609[_0x12610d(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x55821b,'subUnitId':_0x4cfd0e,'groupIds':Array[_0x12610d(0x24a)](_0x4b202e),'isSingle':!0x1}}),_0x29bd90[_0x12610d(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x55821b,'subUnitId':_0x4cfd0e,'groupIds':Array[_0x12610d(0x24a)](_0x4b202e),'isSingle':!0x1}}),_0x5f1609[_0x12610d(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x55821b,'subUnitId':_0x4cfd0e,'sparklineConfigMap':_0x326994}}),_0x29bd90[_0x12610d(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x55821b,'subUnitId':_0x4cfd0e,'sparklineConfigMap':_0x4ffb7f}}));}return{'redos':_0x5f1609,'undos':_0x29bd90};}}));}};_0x2412ca=_0x4f4eca([_0xae75ed(0x0,_0x3dbeb7[_0x2450b4(0x221)](_0x3dbeb7[_0x2450b4(0x216)])),_0xae75ed(0x1,_0x3dbeb7[_0x2450b4(0x221)](_0x1bf07b[_0x2450b4(0x1eb)])),_0xae75ed(0x2,_0x3dbeb7[_0x2450b4(0x221)](_0x23ea5f[_0x2450b4(0x28b)]))],_0x2412ca);var _0x426c38=Object[_0x2450b4(0x1ce)],_0x2de370=(_0x3a3fd3,_0x2f0cbd,_0x5d1c30,_0xf199d6)=>{const _0xa3fde8=_0x2450b4;for(var _0x1e6935=_0xf199d6>0x1?void 0x0:_0xf199d6?_0x426c38(_0x2f0cbd,_0x5d1c30):_0x2f0cbd,_0xe0147f=_0x3a3fd3[_0xa3fde8(0x255)]-0x1,_0xbed982;_0xe0147f>=0x0;_0xe0147f--)(_0xbed982=_0x3a3fd3[_0xe0147f])&&(_0x1e6935=_0xbed982(_0x1e6935)||_0x1e6935);return _0x1e6935;},_0x9d00e9=(_0x206cb5,_0xed5b07)=>(_0x4150d8,_0x4f3772)=>_0xed5b07(_0x4150d8,_0x4f3772,_0x206cb5);let _0x301d42=class extends _0x3dbeb7[_0x2450b4(0x1a2)]{constructor(_0x39f7e3,_0x54dbb1,_0x3fc54b,_0x3bbaf4){const _0x22734a=_0x2450b4;super(),_0xc976ee(this,'disposableCollection',new _0x3dbeb7[(_0x22734a(0x25f))]()),(this[_0x22734a(0x25b)]=_0x39f7e3,this[_0x22734a(0x269)]=_0x54dbb1,this[_0x22734a(0x1ae)]=_0x3fc54b,this['_sparklineDataSourceModel']=_0x3bbaf4,this[_0x22734a(0x1e6)](),this['_initCorrectRangeWithSparkline']());}['_onRefRangeChange'](){const _0x44c58b=_0x2450b4,_0x50c6ee=(_0x3f21a9,_0xe877d6)=>{const _0x562ace=_0x2ddb,_0x2b484e=this[_0x562ace(0x1ae)]['getCurrentUnitForType'](_0x3dbeb7['UniverInstanceType']['UNIVER_SHEET']);if(!_0x2b484e||!(_0x2b484e==null?void 0x0:_0x2b484e[_0x562ace(0x19e)](_0xe877d6)))return;this['disposableCollection'][_0x562ace(0x19b)]();const _0x228f5b=_0x30aa29=>this['refRangeHandle'](_0x30aa29,_0x3f21a9,_0xe877d6),_0x1c5e60=[],_0x1b632d=this[_0x562ace(0x28a)][_0x562ace(0x24d)](_0x3f21a9,_0xe877d6);if(_0x1b632d){for(const [_0x4c2dd8,_0xb2ca9f]of _0x1b632d)_0xb2ca9f[_0x562ace(0x234)][_0x562ace(0x1c3)]((_0x6c0c40,_0x3f924c,_0x26598c)=>{const _0x3f375b=_0x562ace,_0x1e0d46=_0x3dbeb7[_0x3f375b(0x1ed)](_0x6c0c40,_0x3f924c);_0x1c5e60[_0x3f375b(0x1c4)](_0x1e0d46);});_0x1c5e60['forEach'](_0x1b0775=>{const _0x2194d2=_0x562ace;this[_0x2194d2(0x278)][_0x2194d2(0x1a5)](this[_0x2194d2(0x269)][_0x2194d2(0x23c)](_0x1b0775,_0x228f5b,_0x3f21a9,_0xe877d6));});}};this[_0x44c58b(0x1d9)](this[_0x44c58b(0x25b)][_0x44c58b(0x21f)](_0x1bb83b=>{const _0x226420=_0x44c58b;if(_0x1bb83b['id']===_0x1bf07b[_0x226420(0x225)]['id']){const _0x22b9b6=_0x1bb83b[_0x226420(0x28f)],_0x24ef74=_0x22b9b6[_0x226420(0x18e)],_0x500963=_0x22b9b6[_0x226420(0x20f)];if(!_0x24ef74||!_0x500963)return;_0x50c6ee(_0x500963,_0x24ef74);}if(_0x1bb83b['id']===_0xc41240['id']||_0x1bb83b['id']===_0x49d89b['id']){const _0xb79d97=_0x1bb83b[_0x226420(0x28f)],_0x16a128=_0xb79d97[_0x226420(0x18e)],_0x4918e6=_0xb79d97['unitId'];if(!_0x16a128||!_0x4918e6)return;_0x50c6ee(_0x4918e6,_0x16a128);}}));}[_0x2450b4(0x273)](_0x2737f9,_0x39e4c9,_0x2fc553){const _0x272e90=_0x2450b4;switch(_0x2737f9['id']){case _0x1bf07b['RemoveColCommand']['id']:return this[_0x272e90(0x261)](_0x2737f9[_0x272e90(0x28f)],_0x39e4c9,_0x2fc553);case _0x1bf07b[_0x272e90(0x1ba)]['id']:return this[_0x272e90(0x1e7)](_0x2737f9['params'],_0x39e4c9,_0x2fc553);}return{'redos':[],'undos':[]};}[_0x2450b4(0x1e7)](_0x8cef7c,_0x5d1963,_0x2e9ad3){const _0xd32179=_0x2450b4;var _0x1a5c37,_0x506dcc;const {range:_0x14bf47}=_0x8cef7c,_0x5c17ac=new Set(),_0x4d80d5={},_0x5d1037={},_0x57506e=[],_0x5b34cc=[],_0x58b0ba=[],_0x84dc40=[];if(!_0x1bf07b[_0xd32179(0x17d)](this['_univerInstanceService'],{'unitId':_0x5d1963,'subUnitId':_0x2e9ad3}))return{'redos':_0x5b34cc,'undos':_0x57506e};const _0x1ec35a=this[_0xd32179(0x28a)][_0xd32179(0x24d)](_0x5d1963,_0x2e9ad3);if(!_0x1ec35a)return{'redos':_0x5b34cc,'undos':_0x57506e};if(!((_0x506dcc=(_0x1a5c37=this['_sparklineDataSourceModel'][_0xd32179(0x1a3)]()['sparklineAnchorMap'][_0xd32179(0x1b5)](_0x5d1963))==null?void 0x0:_0x1a5c37[_0xd32179(0x1b5)](_0x2e9ad3))==null?void 0x0:_0x506dcc[_0xd32179(0x266)]))return{'redos':_0x5b34cc,'undos':_0x57506e};for(const [_0x5c871a,_0x3be3ab]of _0x1ec35a){const _0x5bab8a=_0x3be3ab['sparklines'];_0x5bab8a['forValue']((_0x4f691a,_0x52de8b,_0x49a94b)=>{const _0x1bcc57=_0xd32179;if(_0x3dbeb7[_0x1bcc57(0x1d1)][_0x1bcc57(0x1ab)](_0x14bf47,_0x49a94b)){_0x5c17ac[_0x1bcc57(0x1a5)](_0x5c871a);let _0x13cc36=_0x5d1037[_0x5c871a];_0x13cc36||(_0x13cc36={'config':_0x3be3ab[_0x1bcc57(0x201)],'sparklines':_0x3be3ab[_0x1bcc57(0x234)][_0x1bcc57(0x1f6)]()},_0x5d1037[_0x5c871a]=_0x13cc36);let _0xf47a41=_0x4d80d5[_0x5c871a];_0xf47a41||(_0xf47a41={'config':_0x3be3ab[_0x1bcc57(0x201)],'sparklines':new _0x3dbeb7['ObjectMatrix'](_0x3be3ab[_0x1bcc57(0x234)][_0x1bcc57(0x1f6)]())},_0x4d80d5[_0x5c871a]=_0xf47a41);const _0x2d0761=_0x1bf07b[_0x1bcc57(0x1e5)](_0x49a94b,{'id':_0x1bf07b[_0x1bcc57(0x22a)]['id'],'params':_0x8cef7c});_0x2d0761?_0xf47a41[_0x1bcc57(0x234)][_0x1bcc57(0x1c0)](_0x4f691a,_0x52de8b,_0x2d0761):_0xf47a41['sparklines'][_0x1bcc57(0x1c0)](_0x4f691a,_0x52de8b,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3dbeb7['RANGE_TYPE']['NORMAL']});}}),_0x5bab8a[_0xd32179(0x1c3)]((_0x3edd43,_0x29ad30,_0x10e2a3)=>{const _0x2bf1d5=_0xd32179;if(_0x3edd43<=_0x14bf47['endRow']&&_0x3edd43>=_0x14bf47[_0x2bf1d5(0x243)]){_0x5c17ac[_0x2bf1d5(0x1a5)](_0x5c871a);let _0x45b2c0=_0x5d1037[_0x5c871a];_0x45b2c0||(_0x45b2c0={'config':_0x3be3ab['config'],'sparklines':_0x3be3ab[_0x2bf1d5(0x234)][_0x2bf1d5(0x1f6)]()},_0x5d1037[_0x5c871a]=_0x45b2c0);let _0x569938=_0x4d80d5[_0x5c871a];_0x569938||(_0x569938={'config':_0x3be3ab[_0x2bf1d5(0x201)],'sparklines':new _0x3dbeb7['ObjectMatrix'](_0x3be3ab['sparklines'][_0x2bf1d5(0x1f6)]())},_0x4d80d5[_0x5c871a]=_0x569938);}});}_0x84dc40[_0xd32179(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x5d1963,'subUnitId':_0x2e9ad3,'groupIds':Array[_0xd32179(0x24a)](_0x5c17ac),'isSingle':!0x1}}),_0x58b0ba[_0xd32179(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x5d1963,'subUnitId':_0x2e9ad3,'groupIds':Array[_0xd32179(0x24a)](_0x5c17ac),'isSingle':!0x1}});const _0x1a0f8d={};let _0x2f067f=!0x1;return Object[_0xd32179(0x1ef)](_0x4d80d5)[_0xd32179(0x289)](([_0x560501,_0x4187b4])=>{const _0x44a473=_0xd32179;_0x4187b4[_0x44a473(0x234)][_0x44a473(0x265)]()&&(_0x2f067f=!0x0,_0x4187b4[_0x44a473(0x234)][_0x44a473(0x246)](_0x14bf47[_0x44a473(0x243)],_0x14bf47[_0x44a473(0x26a)]-_0x14bf47[_0x44a473(0x243)]+0x1),_0x1a0f8d[_0x560501]={'config':_0x4187b4[_0x44a473(0x201)],'sparklines':_0x4187b4[_0x44a473(0x234)][_0x44a473(0x1f6)]()});}),_0x2f067f&&_0x5b34cc[_0xd32179(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x5d1963,'subUnitId':_0x2e9ad3,'sparklineConfigMap':_0x1a0f8d}}),_0x57506e[_0xd32179(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x5d1963,'subUnitId':_0x2e9ad3,'sparklineConfigMap':_0x5d1037}}),{'redos':_0x5b34cc,'undos':_0x57506e,'preRedos':_0x58b0ba,'preUndos':_0x84dc40};}['_getRefRangeMutationsByDeleteCols'](_0x430493,_0x21697e,_0x1e67af){const _0x3500f7=_0x2450b4;var _0x9646fc,_0xca8b2c;const {range:_0x39b757}=_0x430493,_0x1ae22f=new Set(),_0x6af099={},_0x1d9011={},_0x32f00d=[],_0x481e84=[],_0x4e3d94=[],_0x7b26b6=[];if(!_0x1bf07b[_0x3500f7(0x17d)](this[_0x3500f7(0x1ae)],{'unitId':_0x21697e,'subUnitId':_0x1e67af}))return{'redos':_0x481e84,'undos':_0x32f00d};const _0x398c29=this[_0x3500f7(0x28a)][_0x3500f7(0x24d)](_0x21697e,_0x1e67af);if(!_0x398c29)return{'redos':_0x481e84,'undos':_0x32f00d};if(!((_0xca8b2c=(_0x9646fc=this['_sparklineDataSourceModel'][_0x3500f7(0x1a3)]()[_0x3500f7(0x250)][_0x3500f7(0x1b5)](_0x21697e))==null?void 0x0:_0x9646fc[_0x3500f7(0x1b5)](_0x1e67af))==null?void 0x0:_0xca8b2c[_0x3500f7(0x266)]))return{'redos':_0x481e84,'undos':_0x32f00d};for(const [_0x2e9889,_0x577045]of _0x398c29){const _0x323aa1=_0x577045[_0x3500f7(0x234)];_0x323aa1['forValue']((_0x581104,_0x4cf345,_0x38d95f)=>{const _0xdb3f95=_0x3500f7;if(_0x3dbeb7[_0xdb3f95(0x1d1)]['intersects'](_0x39b757,_0x38d95f)){_0x1ae22f[_0xdb3f95(0x1a5)](_0x2e9889);let _0x495196=_0x1d9011[_0x2e9889];_0x495196||(_0x495196={'config':_0x577045[_0xdb3f95(0x201)],'sparklines':_0x577045['sparklines'][_0xdb3f95(0x1f6)]()},_0x1d9011[_0x2e9889]=_0x495196);let _0xb1f2a4=_0x6af099[_0x2e9889];_0xb1f2a4||(_0xb1f2a4={'config':_0x577045[_0xdb3f95(0x201)],'sparklines':new _0x3dbeb7[(_0xdb3f95(0x1ea))](_0x577045[_0xdb3f95(0x234)][_0xdb3f95(0x1f6)]())},_0x6af099[_0x2e9889]=_0xb1f2a4);const _0xa3017d=_0x1bf07b['adjustRangeOnMutation'](_0x38d95f,{'id':_0x1bf07b['RemoveColMutation']['id'],'params':_0x430493});_0xa3017d?_0xb1f2a4['sparklines'][_0xdb3f95(0x1c0)](_0x581104,_0x4cf345,_0xa3017d):_0xb1f2a4['sparklines']['setValue'](_0x581104,_0x4cf345,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3dbeb7[_0xdb3f95(0x280)][_0xdb3f95(0x1f7)]});}}),_0x323aa1[_0x3500f7(0x1c3)]((_0x5b8a48,_0x57b429,_0x579728)=>{const _0x53c9db=_0x3500f7;if(_0x57b429<=_0x39b757['endColumn']&&_0x57b429>=_0x39b757[_0x53c9db(0x26b)]){_0x1ae22f[_0x53c9db(0x1a5)](_0x2e9889);let _0x5c2a9a=_0x1d9011[_0x2e9889];_0x5c2a9a||(_0x5c2a9a={'config':_0x577045[_0x53c9db(0x201)],'sparklines':_0x577045['sparklines'][_0x53c9db(0x1f6)]()},_0x1d9011[_0x2e9889]=_0x5c2a9a);let _0x8f3a7a=_0x6af099[_0x2e9889];_0x8f3a7a||(_0x8f3a7a={'config':_0x577045[_0x53c9db(0x201)],'sparklines':new _0x3dbeb7[(_0x53c9db(0x1ea))](_0x577045[_0x53c9db(0x234)][_0x53c9db(0x1f6)]())},_0x6af099[_0x2e9889]=_0x8f3a7a);}});}_0x7b26b6['push']({'id':_0xe90930['id'],'params':{'unitId':_0x21697e,'subUnitId':_0x1e67af,'groupIds':Array[_0x3500f7(0x24a)](_0x1ae22f),'isSingle':!0x1}}),_0x4e3d94[_0x3500f7(0x1c4)]({'id':_0xe90930['id'],'params':{'unitId':_0x21697e,'subUnitId':_0x1e67af,'groupIds':Array[_0x3500f7(0x24a)](_0x1ae22f),'isSingle':!0x1}});const _0x500595={};let _0x3f2060=!0x1;return Object[_0x3500f7(0x1ef)](_0x6af099)['forEach'](([_0x32b5d9,_0x5bcfc4])=>{const _0xa72962=_0x3500f7;_0x5bcfc4[_0xa72962(0x234)][_0xa72962(0x265)]()&&(_0x3f2060=!0x0,_0x5bcfc4[_0xa72962(0x234)]['removeColumns'](_0x39b757[_0xa72962(0x26b)],_0x39b757[_0xa72962(0x1be)]-_0x39b757['startColumn']+0x1),_0x500595[_0x32b5d9]={'config':_0x5bcfc4['config'],'sparklines':_0x5bcfc4['sparklines']['clone']()});}),_0x3f2060&&_0x481e84[_0x3500f7(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x21697e,'subUnitId':_0x1e67af,'sparklineConfigMap':_0x500595}}),_0x32f00d[_0x3500f7(0x1c4)]({'id':_0x49d89b['id'],'params':{'unitId':_0x21697e,'subUnitId':_0x1e67af,'sparklineConfigMap':_0x1d9011}}),{'redos':_0x481e84,'undos':_0x32f00d,'preRedos':_0x4e3d94,'preUndos':_0x7b26b6};}[_0x2450b4(0x1f0)](){const _0x3f9a91=_0x2450b4;this[_0x3f9a91(0x1d9)](this[_0x3f9a91(0x25b)]['onCommandExecuted'](_0x403e8f=>{const _0x361807=_0x3f9a91;if(_0x403e8f['id']===_0x1bf07b[_0x361807(0x22e)]['id']){const _0x233ce9=_0x403e8f[_0x361807(0x28f)],{unitId:_0x4f63fb,subUnitId:_0x45ee3b,range:_0x1d64f6}=_0x233ce9,_0x2fb8a5=_0x1d64f6['startColumn'],_0x276ecb=_0x1d64f6[_0x361807(0x1be)]-_0x1d64f6[_0x361807(0x26b)]+0x1,_0x376793=this['_sparklineDataSourceModel'][_0x361807(0x24d)](_0x4f63fb,_0x45ee3b);if(!_0x376793)return;for(const [_0x45b7b3,_0x21f275]of _0x376793){this[_0x361807(0x28a)][_0x361807(0x223)](_0x4f63fb,_0x45ee3b,_0x45b7b3);const _0x14bada=_0x21f275[_0x361807(0x234)];_0x14bada['forValue']((_0x547dac,_0x5ef7e8,_0x47960c)=>{const _0x48306d=_0x361807,_0x137f72={..._0x47960c};_0x2fb8a5<=_0x137f72[_0x48306d(0x26b)]?(_0x137f72[_0x48306d(0x26b)]+=_0x276ecb,_0x137f72[_0x48306d(0x1be)]+=_0x276ecb):_0x2fb8a5>_0x137f72[_0x48306d(0x1be)]||(_0x137f72[_0x48306d(0x1be)]+=_0x276ecb),_0x14bada['setValue'](_0x547dac,_0x5ef7e8,_0x137f72);});const _0x13ccbb=_0x14bada['getMatrix']();for(const _0x3ed94b in _0x13ccbb){const _0x13ff89=_0x13ccbb[Number(_0x3ed94b)];if(!_0x13ff89)continue;const _0x22201f=Object[_0x361807(0x240)](_0x13ff89)[_0x361807(0x27c)](Number),_0xb98b60=Math[_0x361807(0x231)](..._0x22201f);for(let _0x48fcf8=_0xb98b60;_0x48fcf8>=_0x2fb8a5;_0x48fcf8--)_0x48fcf8>=_0x2fb8a5&&_0x13ff89[_0x48fcf8]&&(_0x13ff89[_0x48fcf8+_0x276ecb]=_0x13ff89[_0x48fcf8],delete _0x13ff89[_0x48fcf8]);}this[_0x361807(0x28a)][_0x361807(0x19d)](_0x4f63fb,_0x45ee3b,_0x45b7b3);}}else{if(_0x403e8f['id']===_0x1bf07b[_0x361807(0x1ff)]['id']){const _0x21910c=_0x403e8f[_0x361807(0x28f)],{unitId:_0x172c72,subUnitId:_0x16f252,range:_0x8743c3}=_0x21910c,_0x1893f6=_0x8743c3['startRow'],_0x4794b0=_0x8743c3[_0x361807(0x26a)]-_0x8743c3['startRow']+0x1,_0x4e7ad8=this[_0x361807(0x28a)]['getSubUnitSparkline'](_0x172c72,_0x16f252);if(!_0x4e7ad8)return;for(const [_0x2a82ad,_0x365750]of _0x4e7ad8){this[_0x361807(0x28a)][_0x361807(0x223)](_0x172c72,_0x16f252,_0x2a82ad);const _0x256fbf=_0x365750['sparklines'];_0x256fbf[_0x361807(0x1c3)]((_0x3707f2,_0x3c1c47,_0x3f3bc9)=>{const _0x35015c=_0x361807,_0x575959={..._0x3f3bc9};_0x1893f6<=_0x575959[_0x35015c(0x243)]?(_0x575959['startRow']+=_0x4794b0,_0x575959[_0x35015c(0x26a)]+=_0x4794b0):_0x1893f6>_0x575959['endRow']||(_0x575959[_0x35015c(0x26a)]+=_0x4794b0),_0x256fbf[_0x35015c(0x1c0)](_0x3707f2,_0x3c1c47,_0x575959);});const _0x4e0819=_0x256fbf[_0x361807(0x1f4)](),_0x313a6c=Object[_0x361807(0x240)](_0x4e0819)['map'](Number),_0x376d4f=Math['max'](..._0x313a6c);for(let _0x3687c4=_0x376d4f;_0x3687c4>=_0x1893f6;_0x3687c4--)_0x3687c4>=_0x1893f6&&_0x4e0819[_0x3687c4]&&(_0x4e0819[_0x3687c4+_0x4794b0]=_0x4e0819[_0x3687c4],delete _0x4e0819[_0x3687c4]);this[_0x361807(0x28a)][_0x361807(0x19d)](_0x172c72,_0x16f252,_0x2a82ad);}}else{if(_0x403e8f['id']===_0x1bf07b[_0x361807(0x251)]['id']){const _0x2d5859=_0x403e8f[_0x361807(0x28f)],{range:_0x39cb9e,unitId:_0x4ca0b2,subUnitId:_0x2a4aac}=_0x2d5859,_0x1151e3=this[_0x361807(0x28a)][_0x361807(0x24d)](_0x4ca0b2,_0x2a4aac);if(!_0x1151e3)return;for(const [_0x3d2c63,_0x4f96e8]of _0x1151e3){const _0x1ecf1f=_0x4f96e8['sparklines'];_0x1ecf1f[_0x361807(0x1c3)]((_0x44b4ea,_0x2cdeed,_0x4da4aa)=>{const _0x5657e7=_0x361807,_0x13e564=_0x1bf07b['adjustRangeOnMutation'](_0x4da4aa,_0x403e8f);_0x13e564?_0x1ecf1f[_0x5657e7(0x1c0)](_0x44b4ea,_0x2cdeed,_0x13e564):_0x1ecf1f[_0x5657e7(0x1c0)](_0x44b4ea,_0x2cdeed,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3dbeb7[_0x5657e7(0x280)][_0x5657e7(0x1f7)]});}),_0x1ecf1f[_0x361807(0x1a0)](_0x39cb9e['startColumn'],_0x39cb9e[_0x361807(0x1be)]-_0x39cb9e['startColumn']+0x1);}this[_0x361807(0x28a)]['reBuildAnchorCache'](_0x4ca0b2,_0x2a4aac);}else{if(_0x403e8f['id']===_0x1bf07b[_0x361807(0x22a)]['id']){const _0x2624a7=_0x403e8f[_0x361807(0x28f)],{range:_0x2d34cc,unitId:_0x1bc974,subUnitId:_0x5364bd}=_0x2624a7,_0x32d27f=this[_0x361807(0x28a)][_0x361807(0x24d)](_0x1bc974,_0x5364bd);if(!_0x32d27f)return;for(const [_0x1c04ac,_0x41110c]of _0x32d27f){const _0x38d8a8=_0x41110c[_0x361807(0x234)];_0x38d8a8[_0x361807(0x1c3)]((_0x586918,_0xc82c84,_0x5128d0)=>{const _0x22a690=_0x361807,_0x32391f=_0x1bf07b['adjustRangeOnMutation'](_0x5128d0,_0x403e8f);_0x32391f?_0x38d8a8['setValue'](_0x586918,_0xc82c84,_0x32391f):_0x38d8a8[_0x22a690(0x1c0)](_0x586918,_0xc82c84,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3dbeb7[_0x22a690(0x280)]['NORMAL']});}),_0x38d8a8[_0x361807(0x246)](_0x2d34cc[_0x361807(0x243)],_0x2d34cc[_0x361807(0x26a)]-_0x2d34cc[_0x361807(0x243)]+0x1);}this['_sparklineDataSourceModel'][_0x361807(0x190)](_0x1bc974,_0x5364bd);}else{if(_0x403e8f['id']===_0x1bf07b[_0x361807(0x1cd)]['id']){const _0x2552ce=_0x403e8f['params'],{unitId:_0x3a6189,subUnitId:_0x22cafa,sourceRange:_0x117c86,targetRange:_0x2d8ebf}=_0x2552ce,_0xb9a9bd=this[_0x361807(0x28a)]['getSubUnitSparkline'](_0x3a6189,_0x22cafa);if(!_0xb9a9bd)return;for(const [_0x48f820,_0x5a92e0]of _0xb9a9bd){const _0x559dd7=_0x5a92e0[_0x361807(0x234)];_0x559dd7['forValue']((_0x322470,_0x447780,_0x55b1fb)=>{const _0x3116c5=_0x361807,_0x8c08f2=_0x1bf07b[_0x3116c5(0x1e5)](_0x55b1fb,_0x403e8f);_0x8c08f2?_0x559dd7[_0x3116c5(0x1c0)](_0x322470,_0x447780,_0x8c08f2):_0x559dd7[_0x3116c5(0x1c0)](_0x322470,_0x447780,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3dbeb7[_0x3116c5(0x280)][_0x3116c5(0x1f7)]});}),_0x559dd7['moveColumns'](_0x117c86['startColumn'],_0x117c86['endColumn']-_0x117c86['startColumn']+0x1,_0x2d8ebf['startColumn']);}this[_0x361807(0x28a)][_0x361807(0x190)](_0x3a6189,_0x22cafa);}else{if(_0x403e8f['id']===_0x1bf07b[_0x361807(0x271)]['id']){const _0x1b2998=_0x403e8f['params'],{unitId:_0x34e365,subUnitId:_0x5d466b,sourceRange:_0x1ff711,targetRange:_0x3bbaa3}=_0x1b2998,_0x1de988=this[_0x361807(0x28a)][_0x361807(0x24d)](_0x34e365,_0x5d466b);if(!_0x1de988)return;for(const [_0x3d762e,_0xc66e7a]of _0x1de988){const _0x1236a0=_0xc66e7a[_0x361807(0x234)];_0x1236a0[_0x361807(0x1c3)]((_0x364749,_0x40572f,_0x2b3075)=>{const _0x351663=_0x361807,_0x361021=_0x1bf07b[_0x351663(0x1e5)](_0x2b3075,_0x403e8f);_0x361021?_0x1236a0[_0x351663(0x1c0)](_0x364749,_0x40572f,_0x361021):_0x1236a0[_0x351663(0x1c0)](_0x364749,_0x40572f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x3dbeb7[_0x351663(0x280)][_0x351663(0x1f7)]});}),_0x1236a0[_0x361807(0x27a)](_0x1ff711['startRow'],_0x1ff711[_0x361807(0x26a)]-_0x1ff711['startRow']+0x1,_0x3bbaa3['startRow']);}this[_0x361807(0x28a)]['reBuildAnchorCache'](_0x34e365,_0x5d466b);}else{if(_0x403e8f['id']===_0x1bf07b[_0x361807(0x1b1)]['id']){const _0x71432d=_0x403e8f[_0x361807(0x28f)],{fromRange:_0x273c87,toRange:_0x4edf95,unitId:_0x1e0607,from:_0x523265,to:_0x1c0e8e}=_0x71432d;if(_0x523265[_0x361807(0x18e)]!==_0x1c0e8e['subUnitId'])return;const _0x29e925=_0x523265[_0x361807(0x18e)],{startRow:_0x3d4fa4,endRow:_0x58f8cc,startColumn:_0x32ff03,endColumn:_0x1973f5}=_0x273c87,{startRow:_0x47200b,startColumn:_0x3f81db}=_0x4edf95,_0x1f89e9=_0x47200b-_0x3d4fa4,_0x5f4f64=_0x3f81db-_0x32ff03,_0x151836=this[_0x361807(0x28a)]['getSubUnitSparkline'](_0x1e0607,_0x29e925);if(!(_0x151836!=null&&_0x151836['size']))return;for(let _0x579ef6=_0x3d4fa4;_0x579ef6<=_0x58f8cc;_0x579ef6++)for(let _0x143f1c=_0x32ff03;_0x143f1c<=_0x1973f5;_0x143f1c++){const _0x528a79=this[_0x361807(0x28a)][_0x361807(0x267)](_0x1e0607,_0x29e925,_0x579ef6,_0x143f1c);if(_0x528a79){const _0x2ce23e=this['_sparklineDataSourceModel'][_0x361807(0x284)](_0x1e0607,_0x29e925,_0x528a79);if(_0x2ce23e){const _0x333829=_0x2ce23e[_0x361807(0x234)][_0x361807(0x193)](_0x579ef6,_0x143f1c);_0x333829&&(_0x2ce23e[_0x361807(0x234)][_0x361807(0x1c0)](_0x579ef6+_0x1f89e9,_0x143f1c+_0x5f4f64,_0x333829),_0x2ce23e['sparklines'][_0x361807(0x258)](_0x579ef6,_0x143f1c));}}}for(const [_0x552b86,_0x5b4aeb]of _0x151836){const _0x24a433=_0x5b4aeb['sparklines'];_0x24a433[_0x361807(0x1c3)]((_0x386f34,_0x25b4ea,_0x489538)=>{const _0x5385b1=_0x361807,_0x210864={..._0x489538};_0x3dbeb7[_0x5385b1(0x1d1)][_0x5385b1(0x1f5)](_0x273c87,_0x489538)&&(_0x210864[_0x5385b1(0x243)]+=_0x1f89e9,_0x210864[_0x5385b1(0x26a)]+=_0x1f89e9,_0x210864[_0x5385b1(0x26b)]+=_0x5f4f64,_0x210864[_0x5385b1(0x1be)]+=_0x5f4f64),_0x24a433[_0x5385b1(0x1c0)](_0x386f34,_0x25b4ea,_0x210864);});}this['_sparklineDataSourceModel'][_0x361807(0x190)](_0x1e0607,_0x29e925);}}}}}}}}));}};_0x301d42=_0x2de370([_0x9d00e9(0x0,_0x3dbeb7[_0x2450b4(0x221)](_0x3dbeb7[_0x2450b4(0x216)])),_0x9d00e9(0x1,_0x3dbeb7[_0x2450b4(0x221)](_0x1bf07b[_0x2450b4(0x28c)])),_0x9d00e9(0x2,_0x3dbeb7[_0x2450b4(0x18b)]),_0x9d00e9(0x3,_0x3dbeb7[_0x2450b4(0x221)](_0x23ea5f[_0x2450b4(0x28b)]))],_0x301d42);var _0x4c8b16=Object['getOwnPropertyDescriptor'],_0x14071d=(_0x5780dc,_0x5b17fd,_0x53e6dc,_0x5acb67)=>{const _0x416804=_0x2450b4;for(var _0x1262e0=_0x5acb67>0x1?void 0x0:_0x5acb67?_0x4c8b16(_0x5b17fd,_0x53e6dc):_0x5b17fd,_0x3ba14a=_0x5780dc[_0x416804(0x255)]-0x1,_0x11f0f5;_0x3ba14a>=0x0;_0x3ba14a--)(_0x11f0f5=_0x5780dc[_0x3ba14a])&&(_0x1262e0=_0x11f0f5(_0x1262e0)||_0x1262e0);return _0x1262e0;},_0x2803e1=(_0x2cb029,_0x976a25)=>(_0x271098,_0x58eec0)=>_0x976a25(_0x271098,_0x58eec0,_0x2cb029);let _0x4188dc=class extends _0x3dbeb7[_0x2450b4(0x1a2)]{constructor(_0x357969,_0x167219,_0x3893f8){const _0x108a4e=_0x2450b4;super(),this[_0x108a4e(0x1ae)]=_0x357969,this[_0x108a4e(0x180)]=_0x167219,this[_0x108a4e(0x28a)]=_0x3893f8,this[_0x108a4e(0x1f1)]();}[_0x2450b4(0x1f1)](){const _0xa6943f=_0x2450b4;this['disposeWithMe'](this[_0xa6943f(0x180)]['interceptCommand']({'getMutations':_0x20e199=>{const _0x1d0265=_0xa6943f;var _0x338672;if(_0x20e199['id']===_0x1bf07b[_0x1d0265(0x1d5)]['id']){const _0x51ab05=_0x20e199[_0x1d0265(0x28f)],_0x30c982=_0x51ab05['unitId']||this['_univerInstanceService'][_0x1d0265(0x1a1)](_0x3dbeb7[_0x1d0265(0x1fc)][_0x1d0265(0x184)])[_0x1d0265(0x1db)](),_0x708bb4=_0x51ab05[_0x1d0265(0x18e)]||((_0x338672=this[_0x1d0265(0x1ae)][_0x1d0265(0x1a1)](_0x3dbeb7[_0x1d0265(0x1fc)]['UNIVER_SHEET'])[_0x1d0265(0x21b)]())==null?void 0x0:_0x338672[_0x1d0265(0x24c)]());if(!_0x30c982||!_0x708bb4)return{'redos':[],'undos':[]};const _0x672fa1=this[_0x1d0265(0x28a)][_0x1d0265(0x24d)](_0x30c982,_0x708bb4);if(!_0x672fa1)return{'redos':[],'undos':[]};const _0x21a99f=new Set(),_0x5c4010={};for(const [_0x27611b,_0x52b055]of _0x672fa1)_0x21a99f['add'](_0x27611b),_0x5c4010[_0x27611b]={'config':_0x3dbeb7[_0x1d0265(0x1de)]['deepClone'](_0x52b055['config']),'sparklines':_0x3dbeb7[_0x1d0265(0x1de)]['deepClone'](_0x52b055[_0x1d0265(0x234)][_0x1d0265(0x1f6)]())};if(_0x21a99f['size'])return{'redos':[{'id':_0xe90930['id'],'params':{'unitId':_0x30c982,'subUnitId':_0x708bb4,'groupIds':Array[_0x1d0265(0x24a)](_0x21a99f),'isSingle':!0x1}}],'undos':[{'id':_0x49d89b['id'],'params':{'unitId':_0x30c982,'subUnitId':_0x708bb4,'sparklineConfigMap':_0x5c4010}}]};}else{if(_0x20e199['id']===_0x1bf07b[_0x1d0265(0x192)]['id']){const _0x41064f=_0x20e199[_0x1d0265(0x28f)],{unitId:_0x3fc68d,subUnitId:_0x1166bb,targetSubUnitId:_0x25f78c}=_0x41064f;if(!_0x3fc68d||!_0x1166bb||!_0x25f78c)return{'redos':[],'undos':[]};const _0x401db4=this[_0x1d0265(0x28a)][_0x1d0265(0x24d)](_0x3fc68d,_0x1166bb);if(!_0x401db4)return{'redos':[],'undos':[]};const _0x98e948=new Set(),_0x41aadf={};for(const [_0x335cec,_0x40d96b]of _0x401db4){const _0x3ac7fc='g_'+_0x3dbeb7[_0x1d0265(0x281)](0x6);_0x98e948['add'](_0x335cec),_0x41aadf[_0x3ac7fc]={'config':_0x3dbeb7[_0x1d0265(0x1de)]['deepClone'](_0x40d96b[_0x1d0265(0x201)]),'sparklines':_0x3dbeb7[_0x1d0265(0x1de)][_0x1d0265(0x18d)](_0x40d96b[_0x1d0265(0x234)][_0x1d0265(0x1f6)]())};}if(_0x98e948[_0x1d0265(0x1e3)])return{'redos':[{'id':_0x49d89b['id'],'params':{'unitId':_0x3fc68d,'subUnitId':_0x25f78c,'sparklineConfigMap':_0x41aadf}}],'undos':[{'id':_0xe90930['id'],'params':{'unitId':_0x3fc68d,'subUnitId':_0x25f78c,'groupIds':Array[_0x1d0265(0x24a)](_0x98e948),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x4188dc=_0x14071d([_0x2803e1(0x0,_0x3dbeb7[_0x2450b4(0x221)](_0x3dbeb7['IUniverInstanceService'])),_0x2803e1(0x1,_0x3dbeb7[_0x2450b4(0x221)](_0x1bf07b[_0x2450b4(0x1eb)])),_0x2803e1(0x2,_0x3dbeb7[_0x2450b4(0x221)](_0x23ea5f[_0x2450b4(0x28b)]))],_0x4188dc);var _0x58bbb9=Object[_0x2450b4(0x1ce)],_0x310036=(_0x56dc86,_0x572a7f,_0x12c107,_0x5d284c)=>{for(var _0x43cfc8=_0x5d284c>0x1?void 0x0:_0x5d284c?_0x58bbb9(_0x572a7f,_0x12c107):_0x572a7f,_0x51332a=_0x56dc86['length']-0x1,_0x4bd280;_0x51332a>=0x0;_0x51332a--)(_0x4bd280=_0x56dc86[_0x51332a])&&(_0x43cfc8=_0x4bd280(_0x43cfc8)||_0x43cfc8);return _0x43cfc8;},_0x2c0323=(_0x3c782d,_0x309b0d)=>(_0x41e9b1,_0x154a12)=>_0x309b0d(_0x41e9b1,_0x154a12,_0x3c782d);let _0x3fe798=class extends _0x3dbeb7[_0x2450b4(0x1a2)]{constructor(_0x308574,_0x4b26eb){const _0x2ecf15=_0x2450b4;super(),this[_0x2ecf15(0x21d)]=_0x308574,this[_0x2ecf15(0x28a)]=_0x4b26eb,this[_0x2ecf15(0x200)]();}['_initSnapshot'](){const _0x5ae906=_0x2450b4,_0x17f96d=_0x3f66f7=>{const _0x2434bb=_0x2ddb,_0x160bbe=this[_0x2434bb(0x28a)][_0x2434bb(0x1d7)](_0x3f66f7);return _0x160bbe?JSON[_0x2434bb(0x220)](_0x160bbe):'';},_0x366370=_0x30bcf5=>_0x30bcf5?JSON[_0x5ae906(0x242)](_0x30bcf5):{};this[_0x5ae906(0x1d9)](this[_0x5ae906(0x21d)][_0x5ae906(0x1b2)]({'toJson':_0x17f96d,'parseJson':_0x366370,'pluginName':_0x31b3ee,'businesses':[_0x3dbeb7['UniverInstanceType'][_0x5ae906(0x184)]],'onLoad':(_0xcc7b6f,_0x466227)=>{const _0x4df46b=_0x5ae906;this[_0x4df46b(0x28a)][_0x4df46b(0x1c1)](_0x466227);},'onUnLoad':_0x4fcafa=>{this['_sparklineDataSourceModel']['deleteUnit'](_0x4fcafa);}}));}};_0x3fe798=_0x310036([_0x2c0323(0x0,_0x3dbeb7[_0x2450b4(0x221)](_0x3dbeb7[_0x2450b4(0x1c9)])),_0x2c0323(0x1,_0x3dbeb7[_0x2450b4(0x221)](_0x23ea5f[_0x2450b4(0x28b)]))],_0x3fe798);var _0x3fb5ad=Object[_0x2450b4(0x1fe)],_0x2e5a96=Object[_0x2450b4(0x1ce)],_0x33bc06=(_0x6bb321,_0xa155a2,_0x44e815)=>_0xa155a2 in _0x6bb321?_0x3fb5ad(_0x6bb321,_0xa155a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44e815}):_0x6bb321[_0xa155a2]=_0x44e815,_0x1af340=(_0x53f1f3,_0x40bd33,_0x44e1c3,_0x2c0ef7)=>{const _0x48acc7=_0x2450b4;for(var _0x48b01a=_0x2c0ef7>0x1?void 0x0:_0x2c0ef7?_0x2e5a96(_0x40bd33,_0x44e1c3):_0x40bd33,_0x1d15c2=_0x53f1f3[_0x48acc7(0x255)]-0x1,_0x455bcf;_0x1d15c2>=0x0;_0x1d15c2--)(_0x455bcf=_0x53f1f3[_0x1d15c2])&&(_0x48b01a=_0x455bcf(_0x48b01a)||_0x48b01a);return _0x48b01a;},_0x53327e=(_0x3e61fa,_0x1e0a55)=>(_0xa7a512,_0x494e26)=>_0x1e0a55(_0xa7a512,_0x494e26,_0x3e61fa),_0x57d98a=(_0x2a7d6a,_0x853378,_0x35c8ff)=>_0x33bc06(_0x2a7d6a,typeof _0x853378!=_0x2450b4(0x25c)?_0x853378+'':_0x853378,_0x35c8ff);_0x23ea5f['UniverSheetSparklinePlugin']=class extends _0x3dbeb7[_0x2450b4(0x22f)]{constructor(_0x2c05a1={},_0x16c3f7,_0x272aa7){const _0x2f21b0=_0x2450b4;super(),this[_0x2f21b0(0x1ac)]=_0x2c05a1,this['_injector']=_0x16c3f7,this[_0x2f21b0(0x25b)]=_0x272aa7,this[_0x2f21b0(0x215)](),this[_0x2f21b0(0x26c)]();}[_0x2450b4(0x215)](){const _0xd8f42d=_0x2450b4;[[_0x23ea5f['SparklineDataSourceModel']],[_0x5b8694],[_0x2412ca],[_0x5a5a4b],[_0x301d42],[_0x3034d3],[_0x4188dc],[_0x3fe798]][_0xd8f42d(0x289)](_0x3ccfa6=>{const _0x485074=_0xd8f42d;this[_0x485074(0x277)][_0x485074(0x1a5)](_0x3ccfa6);}),_0x3dbeb7[_0xd8f42d(0x287)](this[_0xd8f42d(0x277)],[[_0x3fe798]]);}[_0x2450b4(0x23d)](){_0x3dbeb7['touchDependencies'](this['_injector'],[[_0x5b8694],[_0x2412ca],[_0x5a5a4b],[_0x301d42],[_0x3034d3],[_0x4188dc]]);}[_0x2450b4(0x26c)](){const _0x6d1c63=_0x2450b4;[_0x33f2aa,_0x49d89b,_0x598cf5,_0xe90930,_0x1a97af,_0xc41240][_0x6d1c63(0x289)](_0x3109ff=>this[_0x6d1c63(0x25b)]['registerCommand'](_0x3109ff));}},_0x57d98a(_0x23ea5f[_0x2450b4(0x285)],_0x2450b4(0x1a4),_0x31b3ee),_0x57d98a(_0x23ea5f[_0x2450b4(0x285)],_0x2450b4(0x282),_0x3dbeb7[_0x2450b4(0x1fc)][_0x2450b4(0x184)]),_0x23ea5f['UniverSheetSparklinePlugin']=_0x1af340([_0x3dbeb7[_0x2450b4(0x1f8)](_0x269043[_0x2450b4(0x206)]),_0x53327e(0x1,_0x3dbeb7[_0x2450b4(0x221)](_0x3dbeb7[_0x2450b4(0x1cf)])),_0x53327e(0x2,_0x3dbeb7[_0x2450b4(0x221)](_0x3dbeb7[_0x2450b4(0x216)]))],_0x23ea5f['UniverSheetSparklinePlugin']),_0x23ea5f[_0x2450b4(0x257)]=_0x33f2aa,_0x23ea5f[_0x2450b4(0x229)]=_0x49d89b,_0x23ea5f[_0x2450b4(0x237)]=_0x31b3ee,_0x23ea5f[_0x2450b4(0x21c)]=_0x598cf5,_0x23ea5f[_0x2450b4(0x1bc)]=_0xe90930,_0x23ea5f[_0x2450b4(0x205)]=_0x1a97af,_0x23ea5f[_0x2450b4(0x17e)]=_0xc41240,_0x23ea5f[_0x2450b4(0x203)]=_0x1a9777,_0x23ea5f[_0x2450b4(0x1dc)]=_0x5a33d0,_0x23ea5f[_0x2450b4(0x232)]=_0x38c129,_0x23ea5f['SparklineThemeMapping']=_0x3e2287,_0x23ea5f[_0x2450b4(0x256)]=_0x3cfbbd,_0x23ea5f[_0x2450b4(0x248)]=_0x3b11f7,_0x23ea5f[_0x2450b4(0x270)]=_0x1ba785,Object['defineProperty'](_0x23ea5f,Symbol[_0x2450b4(0x1d6)],{'value':_0x2450b4(0x222)});}));function _0x2ddb(_0x2807ff,_0x218e8b){_0x2807ff=_0x2807ff-0x17a;const _0x4d709d=_0x4d70();let _0x2ddba3=_0x4d709d[_0x2807ff];return _0x2ddba3;}function _0x4d70(){const _0x29b905=['remove','RemoveSheetCommand','toStringTag','toJSON','getCell','disposeWithMe','PROFIT_AND_LOSS_CHART','getUnitId','SparklineExtremumTypeEnum','Range','Tools','lowPoint','_initExclusiveRangeChange','IExclusiveRangeService','BAR_CHART','size','min','adjustRangeOnMutation','_onRefRangeChange','_getRefRangeMutationsByDeleteRows','Subject','updateConfig$','ObjectMatrix','SheetInterceptorService','181840aBrdYT','cellToRange','u-connect','entries','_initCorrectRangeWithSparkline','_initSheetChange','SetRowVisibleMutation','SHEET_SPARKLINE_PLUGIN','getMatrix','contains','clone','NORMAL','DependentOn','function','markersPoint','_exclusiveRangeService','UniverInstanceType','setAlpha','defineProperty','InsertRowMutation','_initSnapshot','config','SetRangeValuesMutation','SpacialShowAsEnum','foreach','SetSheetSparklineCommand','UniverLicensePlugin','CONNECT_WITH_LINE','58176HMWAya','_sparklineModel','rgb(46,187,122)','SPECIALTY','STANDARD','SELF_EXTREMUM','set','unitId','setSparkline','rgb(30,177,189)','ZERO_VALUE','soft','3244904aCFXFP','_initDependencies','ICommandService','UniverCore','826272gRJCiu','delete','pushUndoRedo','getActiveSheet','RemoveSheetSparklineCommand','_resourceManagerService','SPACING','onCommandExecuted','stringify','Inject','Module','clearSparklineCache','rgb(252,117,60)','SetWorksheetActivateCommand','themeType','SetColHiddenMutation','column','AddSheetSparklineMutation','RemoveRowMutation','_sheetSelectionService','MIN_SAFE_INTEGER','u-spacing','InsertColMutation','Plugin','COMMAND','max','SparklinePointsNames','5301002MPYpKX','sparklines','sheet.command.add-sparkline','_initHideRowColWithSparkline','PLUGIN_NAME','ranges','NUMBER','emptyShowAs','rgb(49,106,246)','registerRefRange','onReady','SetColVisibleMutation','CellValueType','keys','interceptCommand','parse','startRow','CUSTOM_EXTREMUM','rgb(236,100,169)','removeRows','SOFT','SparklineTypeEnum','sheet.mutation.add-sparkline','from','containHiddenCells','getSheetId','getSubUnitSparkline','addSparkline','_initClearWithSparkline','sparklineAnchorMap','RemoveColMutation','sheet.mutation.remove-sparkline','item','lastPoint','length','SparklineThemeTypeEnum','AddSheetSparklineCommand','realDeleteValue','FRESH','_initMergeWithSparkline','_commandService','symbol','IUndoRedoService','getRowVisible','DisposableCollection','custom','_getRefRangeMutationsByDeleteCols','standard','CommandType','AddWorksheetMergeCommand','getSizeOf','matrix','getSparkline','next','_refRangeService','endRow','startColumn','_initRegisterCommand','actualColumn','object','ReorderRangeMutation','getSparklinePlacement','MoveRowsMutation','has','refRangeHandle','sheet.mutation.set-sparkline','hasValue','CUSTOM','_injector','disposableCollection','range','moveRows','value','map','removePartSparkline','sequenceExecute','firstPoint','RANGE_TYPE','generateRandomId','type','UniverProLicense','getSparklineById','UniverSheetSparklinePlugin','rgb(54,78,244)','touchDependencies','getCellRaw','forEach','_sparklineDataSourceModel','SparklineDataSourceModel','RefRangeService','SheetsSelectionsService','rgb(124,66,147)','params','_ensureAnchorMatrix','row','zero_value','FORCE_STRING','getSheetCommandTarget','SetSheetSparklineMutation','distinctive','_sheetInterceptorService','GROUP_EXTREMUM','extremumMin','rgb(244,104,249)','UNIVER_SHEET','MUTATION','isValidRange','STRING','_ensureConfigMap','ClearSelectionAllCommand','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','IUniverInstanceService','MAX_SAFE_INTEGER','deepClone','subUnitId','_sparklineAnchorMap','reBuildAnchorCache','specialty','CopySheetCommand','getValue','_initDataChangeListener','rgb(248,190,21)','deleteUnit','toRgbString','number','extremumMax','rxjs','dispose','every','updateSparklineExtraNum','getSheetBySheetId','DISTINCTIVE','removeColumns','getCurrentUnitOfType','Disposable','getSparklineCache','pluginName','add','getCurrentSelections','1170ZGqIcV','@univerjs-pro/license','connect_with_line','asObservable','intersects','_config','seriesColor','_univerInstanceService','PIE_CHART','some','MoveRangeMutation','registerPluginResource','actualRow','2690UmsWTh','get','highPoint','removeSparkline','fresh','BOOLEAN','RemoveRowCommand','19074IUUOIK','RemoveSheetSparklineMutation','exports','endColumn','values','setValue','fromJSON','LINE_CHART','forValue','push','18iryAEZ','groupId','UniverProSheetsSparkline','UniverSheets','IResourceManagerService','amd','spacing','sheet.command.set-sparkline','MoveColsMutation','getOwnPropertyDescriptor','Injector','sheet.command.remove-sparkline','Rectangle','1870524mgZmEo','_updateConfig$'];_0x4d70=function(){return _0x29b905;};return _0x4d70();}
1
+ (function(_0x3bdabb,_0x105dcc){const _0x258469=_0x593e,_0x42a6e0=_0x3bdabb();while(!![]){try{const _0xc50dfd=-parseInt(_0x258469(0x25c))/0x1*(parseInt(_0x258469(0x1fd))/0x2)+parseInt(_0x258469(0x1a1))/0x3*(-parseInt(_0x258469(0x1b2))/0x4)+parseInt(_0x258469(0x174))/0x5*(parseInt(_0x258469(0x212))/0x6)+-parseInt(_0x258469(0x1c2))/0x7*(-parseInt(_0x258469(0x242))/0x8)+-parseInt(_0x258469(0x1f9))/0x9*(parseInt(_0x258469(0x1a6))/0xa)+-parseInt(_0x258469(0x18d))/0xb*(-parseInt(_0x258469(0x24d))/0xc)+parseInt(_0x258469(0x180))/0xd*(parseInt(_0x258469(0x24f))/0xe);if(_0xc50dfd===_0x105dcc)break;else _0x42a6e0['push'](_0x42a6e0['shift']());}catch(_0x29d870){_0x42a6e0['push'](_0x42a6e0['shift']());}}}(_0x3803,0xa9e5b),function(_0x42fb52,_0x1732a3){const _0x10c882=_0x593e;typeof exports==_0x10c882(0x22e)&&typeof module<'u'?_0x1732a3(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x10c882(0x182)&&define[_0x10c882(0x1ed)]?define([_0x10c882(0x188),_0x10c882(0x200),_0x10c882(0x20d),'rxjs',_0x10c882(0x21b)],_0x1732a3):(_0x42fb52=typeof globalThis<'u'?globalThis:_0x42fb52||self,_0x1732a3(_0x42fb52[_0x10c882(0x1b1)]={},_0x42fb52[_0x10c882(0x213)],_0x42fb52['UniverSheets'],_0x42fb52[_0x10c882(0x162)],_0x42fb52[_0x10c882(0x18e)]));}(this,function(_0x33c1ed,_0x31d190,_0x25282a,_0x356350,_0x885d29){'use strict';const _0x15ed9a=_0x593e;var _0x33ea0c=Object['defineProperty'],_0x2e7ff9=(_0x51eb96,_0x1dfe74,_0x585b7d)=>_0x1dfe74 in _0x51eb96?_0x33ea0c(_0x51eb96,_0x1dfe74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x585b7d}):_0x51eb96[_0x1dfe74]=_0x585b7d,_0x2c41c4=(_0x3491fd,_0x249e58,_0x10226a)=>_0x2e7ff9(_0x3491fd,typeof _0x249e58!=_0x15ed9a(0x19a)?_0x249e58+'':_0x249e58,_0x10226a);function _0x68a83c(_0x582842,_0x29bd42){const _0x556e79=_0x15ed9a,_0x1c9c7f=new _0x31d190[(_0x556e79(0x1ca))](),_0x26475c=[],_0x3c6ce2=_0x582842[_0x556e79(0x1d5)]>0x1;let _0x3d7c93=0x0,_0x56d6a4=0x0;for(const _0x668e7 of _0x582842)_0x3d7c93+=_0x668e7[_0x556e79(0x1e9)]-_0x668e7[_0x556e79(0x1a0)]+0x1,_0x56d6a4+=_0x668e7[_0x556e79(0x1d2)]-_0x668e7[_0x556e79(0x168)]+0x1;for(const _0x43e351 of _0x29bd42)for(let _0x5aed0f=_0x43e351['startRow'];_0x5aed0f<=_0x43e351[_0x556e79(0x1e9)];_0x5aed0f++)for(let _0x57b789=_0x43e351[_0x556e79(0x168)];_0x57b789<=_0x43e351['endColumn'];_0x57b789++)_0x26475c[_0x556e79(0x1c0)]({'row':_0x5aed0f,'column':_0x57b789});if(_0x26475c['length']===_0x3d7c93)_0x3c6ce2?_0x26475c[_0x556e79(0x19b)]((_0x68f2db,_0x3187ae)=>{const _0x2d9060=_0x556e79,_0x4c797=_0x582842[_0x3187ae],_0x59e473={'startRow':_0x4c797[_0x2d9060(0x1a0)],'startColumn':_0x4c797[_0x2d9060(0x168)],'endRow':_0x4c797[_0x2d9060(0x1a0)],'endColumn':_0x4c797[_0x2d9060(0x1d2)]};_0x1c9c7f[_0x2d9060(0x1ee)](_0x68f2db[_0x2d9060(0x1e3)],_0x68f2db['column'],_0x59e473);}):_0x26475c[_0x556e79(0x19b)]((_0x1abe4e,_0x38bfcf)=>{const _0x50e4f6=_0x556e79,_0x45cd01=_0x582842[0x0],_0x2e18f8={'startRow':_0x45cd01['startRow']+_0x38bfcf,'startColumn':_0x45cd01[_0x50e4f6(0x168)],'endRow':_0x45cd01['startRow']+_0x38bfcf,'endColumn':_0x45cd01[_0x50e4f6(0x1d2)]};_0x1c9c7f[_0x50e4f6(0x1ee)](_0x1abe4e[_0x50e4f6(0x1e3)],_0x1abe4e[_0x50e4f6(0x1ba)],_0x2e18f8);});else{if(_0x26475c[_0x556e79(0x1d5)]===_0x56d6a4)_0x3c6ce2?_0x26475c['forEach']((_0x20eaea,_0x3f594c)=>{const _0x30a8cb=_0x556e79,_0x4c762d=_0x582842[_0x3f594c],_0x52122f={'startRow':_0x4c762d[_0x30a8cb(0x1a0)],'startColumn':_0x4c762d['startColumn'],'endRow':_0x4c762d[_0x30a8cb(0x1e9)],'endColumn':_0x4c762d[_0x30a8cb(0x168)]};_0x1c9c7f['setValue'](_0x20eaea[_0x30a8cb(0x1e3)],_0x20eaea['column'],_0x52122f);}):_0x26475c[_0x556e79(0x19b)]((_0x101925,_0x2a701c)=>{const _0x450c83=_0x556e79,_0x3ccc86=_0x582842[0x0],_0x358149={'startRow':_0x3ccc86[_0x450c83(0x1a0)],'startColumn':_0x3ccc86[_0x450c83(0x168)]+_0x2a701c,'endRow':_0x3ccc86[_0x450c83(0x1e9)],'endColumn':_0x3ccc86[_0x450c83(0x168)]+_0x2a701c};_0x1c9c7f[_0x450c83(0x1ee)](_0x101925['row'],_0x101925[_0x450c83(0x1ba)],_0x358149);});else{if(_0x26475c[_0x556e79(0x1d5)]===_0x582842[_0x556e79(0x1d5)])_0x582842[_0x556e79(0x1fc)](_0x87c704=>!(_0x87c704[_0x556e79(0x1a0)]!==_0x87c704[_0x556e79(0x1e9)]&&_0x87c704[_0x556e79(0x168)]!==_0x87c704[_0x556e79(0x1d2)]))&&_0x26475c[_0x556e79(0x19b)]((_0x266d8d,_0x5b880a)=>{const _0x4db2c0=_0x556e79,_0x34c5dc=_0x582842[_0x5b880a];_0x1c9c7f[_0x4db2c0(0x1ee)](_0x266d8d[_0x4db2c0(0x1e3)],_0x266d8d[_0x4db2c0(0x1ba)],_0x34c5dc);});else throw new Error('Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.');}}return _0x1c9c7f;}const _0x2bdcee=_0x15ed9a(0x1a7),_0x425d02={'standard':[_0x15ed9a(0x1e0),_0x15ed9a(0x237)],'specialty':[_0x15ed9a(0x1b7),_0x15ed9a(0x1dd)],'distinctive':[_0x15ed9a(0x1a4),'rgb(252,117,60)'],'soft':[_0x15ed9a(0x18a),_0x15ed9a(0x1cc)],'fresh':['rgb(46,187,122)',_0x15ed9a(0x208)]},_0x4da1af=[_0x15ed9a(0x1ff),_0x15ed9a(0x20b),'lastPoint','lowPoint','negativePoint',_0x15ed9a(0x19d)];var _0x1ed78d=(_0x38fdba=>(_0x38fdba['STANDARD']=_0x15ed9a(0x181),_0x38fdba[_0x15ed9a(0x1b4)]=_0x15ed9a(0x18b),_0x38fdba[_0x15ed9a(0x16e)]='distinctive',_0x38fdba[_0x15ed9a(0x1ad)]=_0x15ed9a(0x1ec),_0x38fdba[_0x15ed9a(0x216)]='fresh',_0x38fdba['CUSTOM']=_0x15ed9a(0x172),_0x38fdba))(_0x1ed78d||{}),_0x11d5e6=(_0x486b5e=>(_0x486b5e[_0x486b5e['LINE_CHART']=0x1]=_0x15ed9a(0x260),_0x486b5e[_0x486b5e[_0x15ed9a(0x217)]=0x2]=_0x15ed9a(0x217),_0x486b5e[_0x486b5e[_0x15ed9a(0x17d)]=0x3]=_0x15ed9a(0x17d),_0x486b5e[_0x486b5e[_0x15ed9a(0x198)]=0x4]=_0x15ed9a(0x198),_0x486b5e))(_0x11d5e6||{}),_0x4ddcc1=(_0xbbc3d8=>(_0xbbc3d8[_0x15ed9a(0x25d)]=_0x15ed9a(0x257),_0xbbc3d8[_0x15ed9a(0x230)]='zero_value',_0xbbc3d8['CONNECT_WITH_LINE']=_0x15ed9a(0x25e),_0xbbc3d8))(_0x4ddcc1||{}),_0x22bf49=(_0x4f76f7=>(_0x4f76f7[_0x4f76f7['SELF_EXTREMUM']=0x1]=_0x15ed9a(0x160),_0x4f76f7[_0x4f76f7[_0x15ed9a(0x23c)]=0x2]=_0x15ed9a(0x23c),_0x4f76f7[_0x4f76f7['CUSTOM_EXTREMUM']=0x3]=_0x15ed9a(0x193),_0x4f76f7))(_0x22bf49||{}),_0x29d865=Object[_0x15ed9a(0x1cd)],_0x1921a2=(_0x18e7bb,_0x377fda,_0x1e6f4c,_0x381fd1)=>{const _0x5c88f9=_0x15ed9a;for(var _0x2c7063=_0x381fd1>0x1?void 0x0:_0x381fd1?_0x29d865(_0x377fda,_0x1e6f4c):_0x377fda,_0x419a73=_0x18e7bb[_0x5c88f9(0x1d5)]-0x1,_0x254f65;_0x419a73>=0x0;_0x419a73--)(_0x254f65=_0x18e7bb[_0x419a73])&&(_0x2c7063=_0x254f65(_0x2c7063)||_0x2c7063);return _0x2c7063;},_0x9f7def=(_0x47c391,_0x80568d)=>(_0x3eca49,_0x10c2f0)=>_0x80568d(_0x3eca49,_0x10c2f0,_0x47c391);_0x33c1ed['SparklineDataSourceModel']=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x3c71fb){const _0x27d2d6=_0x15ed9a;super(),_0x2c41c4(this,_0x27d2d6(0x259),new Map()),_0x2c41c4(this,_0x27d2d6(0x23f),new Map()),_0x2c41c4(this,_0x27d2d6(0x1d7),new _0x356350[(_0x27d2d6(0x163))]()),_0x2c41c4(this,_0x27d2d6(0x247),this[_0x27d2d6(0x1d7)]['asObservable']()),this[_0x27d2d6(0x1c6)]=_0x3c71fb;}[_0x15ed9a(0x15b)](_0x458adf,_0x859978){const _0x2ca342=_0x15ed9a;let _0x2b8cb6=this[_0x2ca342(0x259)][_0x2ca342(0x1d9)](_0x458adf);_0x2b8cb6||(_0x2b8cb6=new Map(),this[_0x2ca342(0x259)][_0x2ca342(0x227)](_0x458adf,_0x2b8cb6));let _0x4bdc73=_0x2b8cb6['get'](_0x859978);return _0x4bdc73||(_0x4bdc73=new Map(),_0x2b8cb6[_0x2ca342(0x227)](_0x859978,_0x4bdc73)),_0x4bdc73;}[_0x15ed9a(0x166)](_0x5649c0,_0x4182fb){const _0x42c65a=_0x15ed9a;let _0x17f1a1=this['_sparklineAnchorMap']['get'](_0x5649c0);_0x17f1a1||(_0x17f1a1=new Map(),this[_0x42c65a(0x23f)][_0x42c65a(0x227)](_0x5649c0,_0x17f1a1));let _0x42efbd=_0x17f1a1[_0x42c65a(0x1d9)](_0x4182fb);return _0x42efbd||(_0x42efbd={'matrix':new _0x31d190['ObjectMatrix'](),'extra':{}},_0x17f1a1[_0x42c65a(0x227)](_0x4182fb,_0x42efbd)),_0x42efbd;}[_0x15ed9a(0x1ef)](_0x25dcca,_0x1a70c9,_0x39840f,_0x4371a7=_0x15ed9a(0x227)){const _0x22c371=_0x15ed9a;var _0x270e9e,_0x409f7a,_0x24bbac,_0x1f7a12,_0x22695d,_0x2b9998,_0x12641c,_0x3fe401,_0x4137ad,_0x4cf883,_0x1f6678,_0x56cd7e,_0x760bd0;const _0x4c9960=(_0x409f7a=(_0x270e9e=this['_sparklineModel']['get'](_0x25dcca))==null?void 0x0:_0x270e9e[_0x22c371(0x1d9)](_0x1a70c9))==null?void 0x0:_0x409f7a[_0x22c371(0x1d9)](_0x39840f);if(!_0x4c9960)return;const _0x3db188=_0x25282a[_0x22c371(0x214)](this[_0x22c371(0x1c6)],{'unitId':_0x25dcca,'subUnitId':_0x1a70c9});if(!_0x3db188)return;const _0x4b3a67=this['_ensureAnchorMatrix'](_0x25dcca,_0x1a70c9),{extra:_0x595427,matrix:_0x40958a}=_0x4b3a67,{worksheet:_0x3200eb}=_0x3db188;let _0x58b6a3=Number[_0x22c371(0x24e)],_0x314254=Number[_0x22c371(0x229)];const _0x57e921=(_0x24bbac=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x1f3)])!=null?_0x24bbac:!0x1;_0x4c9960[_0x22c371(0x15c)][_0x22c371(0x1c1)]((_0x297880,_0x3d46ef,_0x50fda2)=>{const _0x35be4b=_0x22c371;var _0x33314e,_0x5f2b86,_0x2e42a5;const _0x5f4601=_0x50fda2;let _0x17d84f=Number['MIN_SAFE_INTEGER'],_0x2147c9=Number['MAX_SAFE_INTEGER'],_0x314860=0x0,_0x9c7854=0x0;const _0x807155=[];if(!_0x31d190[_0x35be4b(0x1bf)](_0x5f4601))_0x40958a['setValue'](_0x297880,_0x3d46ef,{'groupId':_0x39840f,'data':[],'max':_0x17d84f,'min':_0x2147c9,'highIndex':_0x314860,'lowIndex':_0x9c7854,'negativeIndexes':_0x807155});else{const _0x5c4c5c=[];for(let _0x51b8c5=_0x5f4601[_0x35be4b(0x1a0)];_0x51b8c5<=_0x5f4601['endRow'];_0x51b8c5++){for(let _0x34032d=_0x5f4601[_0x35be4b(0x168)];_0x34032d<=_0x5f4601[_0x35be4b(0x1d2)];_0x34032d++){const _0x11f741=_0x3200eb[_0x35be4b(0x171)](_0x51b8c5),_0x210ced=_0x3200eb[_0x35be4b(0x1ac)](_0x34032d);if(!_0x57e921&&(!_0x11f741||!_0x210ced))continue;let _0x304082=0x0;const _0x3275bb=((_0x33314e=_0x3200eb[_0x35be4b(0x199)](_0x51b8c5,_0x34032d))==null?void 0x0:_0x33314e['v'])!==void 0x0?_0x3200eb['getCellRaw'](_0x51b8c5,_0x34032d):_0x3200eb[_0x35be4b(0x243)](_0x51b8c5,_0x34032d);if(!_0x3275bb||_0x3275bb['v']===void 0x0||_0x3275bb['v']===null){const _0x108164=(_0x5f2b86=_0x4c9960[_0x35be4b(0x240)][_0x35be4b(0x1d4)])!=null?_0x5f2b86:_0x4ddcc1[_0x35be4b(0x25d)];_0x108164===_0x4ddcc1[_0x35be4b(0x230)]?_0x304082=0x0:_0x108164===_0x4ddcc1['SPACING']?_0x304082=_0x35be4b(0x239):_0x108164===_0x4ddcc1['CONNECT_WITH_LINE']&&(_0x304082=_0x35be4b(0x233));}else{if(_0x3275bb['t']===_0x31d190[_0x35be4b(0x17f)]['STRING']||_0x3275bb['t']===_0x31d190[_0x35be4b(0x17f)]['FORCE_STRING']){const _0x46c5b8=(_0x2e42a5=_0x4c9960[_0x35be4b(0x240)]['nonNumShowAs'])!=null?_0x2e42a5:_0x4ddcc1['SPACING'];_0x46c5b8===_0x4ddcc1[_0x35be4b(0x230)]?_0x304082=0x0:_0x46c5b8===_0x4ddcc1['SPACING']?_0x304082='u-spacing':_0x46c5b8===_0x4ddcc1[_0x35be4b(0x1fb)]&&(_0x304082=_0x35be4b(0x233));}else _0x3275bb['t']===_0x31d190[_0x35be4b(0x17f)]['BOOLEAN']?_0x304082=_0x3275bb['v']?0x1:0x0:_0x3275bb['t']===_0x31d190['CellValueType'][_0x35be4b(0x219)]?_0x304082=Number(_0x3275bb['v']):_0x304082=_0x3275bb['v'];}if(_0x5c4c5c[_0x35be4b(0x1c0)](_0x304082),typeof _0x304082=='number'){_0x17d84f=Math[_0x35be4b(0x249)](_0x17d84f,_0x304082),_0x58b6a3=Math[_0x35be4b(0x249)](_0x58b6a3,_0x304082),_0x314254=Math['min'](_0x314254,_0x304082),_0x2147c9=Math['min'](_0x2147c9,_0x304082);const _0x344e0d=typeof _0x5c4c5c[_0x314860]==_0x35be4b(0x24b)?Number(_0x5c4c5c[_0x314860]):Number['MIN_SAFE_INTEGER'];_0x304082>_0x344e0d&&(_0x314860=_0x5c4c5c[_0x35be4b(0x1d5)]-0x1);const _0x695615=typeof _0x5c4c5c[_0x9c7854]==_0x35be4b(0x24b)?Number(_0x5c4c5c[_0x9c7854]):Number[_0x35be4b(0x229)];_0x304082<_0x695615&&(_0x9c7854=_0x5c4c5c[_0x35be4b(0x1d5)]-0x1),_0x304082<0x0&&_0x807155[_0x35be4b(0x1c0)](_0x5c4c5c[_0x35be4b(0x1d5)]-0x1);}}_0x40958a['setValue'](_0x297880,_0x3d46ef,{'groupId':_0x39840f,'data':_0x5c4c5c,'max':_0x17d84f,'min':_0x2147c9,'highIndex':_0x314860,'lowIndex':_0x9c7854,'negativeIndexes':_0x807155});}}});let _0x25469b=_0x58b6a3;((_0x1f7a12=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x23a)])==null?void 0x0:_0x1f7a12['type'])===_0x22bf49['CUSTOM_EXTREMUM']&&(_0x25469b=(_0x2b9998=(_0x22695d=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x23a)])==null?void 0x0:_0x22695d['value'])!=null?_0x2b9998:_0x58b6a3);let _0x3e51ec=_0x314254;((_0x12641c=_0x4c9960[_0x22c371(0x240)]['extremumMin'])==null?void 0x0:_0x12641c[_0x22c371(0x1eb)])===_0x22bf49[_0x22c371(0x193)]&&(_0x3e51ec=(_0x4137ad=(_0x3fe401=_0x4c9960['config']['extremumMin'])==null?void 0x0:_0x3fe401[_0x22c371(0x1e4)])!=null?_0x4137ad:_0x314254);const _0x5935ff=(_0x4cf883=_0x4c9960[_0x22c371(0x240)][_0x22c371(0x19c)])!=null?_0x4cf883:_0x1ed78d[_0x22c371(0x15d)],_0x3ffcdd=(_0x760bd0=(_0x56cd7e=_0x4c9960[_0x22c371(0x240)]['seriesColor'])!=null?_0x56cd7e:(_0x1f6678=_0x425d02[_0x5935ff])==null?void 0x0:_0x1f6678[0x0])!=null?_0x760bd0:_0x425d02['standard'][0x0],_0x3fa126=new _0x31d190[(_0x22c371(0x1a3))](_0x3ffcdd),_0x3bc773=_0x3fa126[_0x22c371(0x21c)](0.2)[_0x22c371(0x246)](),_0x220be8=_0x3fa126[_0x22c371(0x21c)](0.05)[_0x22c371(0x246)]();_0x595427[_0x39840f]={'groupMax':_0x58b6a3,'groupMin':_0x314254,'showMax':_0x25469b,'showMin':_0x3e51ec,'startGradient':_0x3bc773,'endGradient':_0x220be8},this[_0x22c371(0x1d7)][_0x22c371(0x21e)]({'unitId':_0x25dcca,'subUnitId':_0x1a70c9,'groupId':_0x39840f,'config':_0x4c9960,'type':_0x4371a7});}[_0x15ed9a(0x17a)](_0x216447,_0x5d1949,_0xf3f732,_0x384e1b){const _0x30c259=_0x15ed9a;this['_ensureConfigMap'](_0x216447,_0x5d1949)[_0x30c259(0x227)](_0xf3f732,_0x384e1b),this[_0x30c259(0x1ef)](_0x216447,_0x5d1949,_0xf3f732,_0x30c259(0x1a9));}['setSparkline'](_0x1613ce,_0x5ca1a5,_0x305335,_0x5cee12){const _0x18da33=_0x15ed9a;var _0x2bbe9a;const _0x273229=(_0x2bbe9a=this['_sparklineModel'][_0x18da33(0x1d9)](_0x1613ce))==null?void 0x0:_0x2bbe9a[_0x18da33(0x1d9)](_0x5ca1a5);_0x305335['forEach'](_0x30da99=>{const _0x526602=_0x18da33;_0x273229!=null&&_0x273229['has'](_0x30da99)&&(_0x273229[_0x526602(0x227)](_0x30da99,_0x5cee12),this[_0x526602(0x1ef)](_0x1613ce,_0x5ca1a5,_0x30da99));});}[_0x15ed9a(0x206)](_0x2d73e3,_0x2c2bf1,_0x1fcf60){const _0x28d2f2=_0x15ed9a;var _0xc5ffdf,_0x2c3e42;const _0x33a021=this[_0x28d2f2(0x259)][_0x28d2f2(0x1d9)](_0x2d73e3);if(_0x33a021){const _0x42d1de=_0x33a021['get'](_0x2c2bf1);if(_0x42d1de){_0x42d1de[_0x28d2f2(0x207)](_0x1fcf60);const _0x2864f7=(_0xc5ffdf=this[_0x28d2f2(0x23f)][_0x28d2f2(0x1d9)](_0x2d73e3))==null?void 0x0:_0xc5ffdf[_0x28d2f2(0x1d9)](_0x2c2bf1);(_0x2c3e42=_0x2864f7==null?void 0x0:_0x2864f7[_0x28d2f2(0x1f8)])==null||_0x2c3e42[_0x28d2f2(0x1c1)]((_0x742d37,_0x3a0597,_0x10603b)=>{const _0xbd8d90=_0x28d2f2;(_0x10603b==null?void 0x0:_0x10603b[_0xbd8d90(0x1e8)])===_0x1fcf60&&(_0x2864f7==null||_0x2864f7['matrix'][_0xbd8d90(0x1bd)](_0x742d37,_0x3a0597));}),this[_0x28d2f2(0x1d7)][_0x28d2f2(0x21e)]({'unitId':_0x2d73e3,'subUnitId':_0x2c2bf1,'groupId':_0x1fcf60,'type':'remove'}),_0x42d1de[_0x28d2f2(0x1a5)]===0x0&&_0x33a021[_0x28d2f2(0x207)](_0x2c2bf1);}}}[_0x15ed9a(0x18f)](_0x5f2203,_0x5f34d8,_0x18e21d,_0x4401f8){const _0x2e57f5=_0x15ed9a;var _0x309983,_0x2d0126,_0x352264,_0x1e41d7;const _0x35f5f2=(_0x309983=this[_0x2e57f5(0x23f)][_0x2e57f5(0x1d9)](_0x5f2203))==null?void 0x0:_0x309983[_0x2e57f5(0x1d9)](_0x5f34d8),_0x3d4ffb=_0x35f5f2==null?void 0x0:_0x35f5f2['matrix'][_0x2e57f5(0x1da)](_0x18e21d,_0x4401f8);if(_0x3d4ffb){const {groupId:_0x49b724}=_0x3d4ffb,_0x593674=(_0x2d0126=this[_0x2e57f5(0x259)][_0x2e57f5(0x1d9)](_0x5f2203))==null?void 0x0:_0x2d0126[_0x2e57f5(0x1d9)](_0x5f34d8);(_0x352264=_0x593674==null?void 0x0:_0x593674[_0x2e57f5(0x1d9)](_0x49b724))==null||_0x352264[_0x2e57f5(0x15c)]['realDeleteValue'](_0x18e21d,_0x4401f8),(_0x1e41d7=_0x593674==null?void 0x0:_0x593674[_0x2e57f5(0x1d9)](_0x49b724))!=null&&_0x1e41d7[_0x2e57f5(0x15c)][_0x2e57f5(0x1af)]()||_0x593674==null||_0x593674['delete'](_0x49b724),_0x35f5f2==null||_0x35f5f2['matrix'][_0x2e57f5(0x1bd)](_0x18e21d,_0x4401f8),this[_0x2e57f5(0x1d7)][_0x2e57f5(0x21e)]({'unitId':_0x5f2203,'subUnitId':_0x5f34d8,'groupId':_0x49b724,'type':_0x2e57f5(0x1d3)});}}[_0x15ed9a(0x211)](_0x3335f8,_0x4761c5,_0x591c5f){const _0x234b8d=_0x15ed9a;var _0x577e10,_0x386562,_0x5a7de9,_0xe8edca;const _0x500fb6=(_0x5a7de9=(_0x386562=(_0x577e10=this[_0x234b8d(0x259)][_0x234b8d(0x1d9)](_0x3335f8))==null?void 0x0:_0x577e10[_0x234b8d(0x1d9)](_0x4761c5))==null?void 0x0:_0x386562['get'](_0x591c5f))==null?void 0x0:_0x5a7de9[_0x234b8d(0x15c)],_0x2f1fe1=(_0xe8edca=this[_0x234b8d(0x23f)][_0x234b8d(0x1d9)](_0x3335f8))==null?void 0x0:_0xe8edca['get'](_0x4761c5);if(_0x500fb6&&_0x2f1fe1){const {matrix:_0x1316b6,extra:_0x6b2076}=_0x2f1fe1;_0x500fb6[_0x234b8d(0x1c1)]((_0x3652b7,_0x1d6248,_0x1e7496)=>{const _0x19aa88=_0x234b8d;_0x1316b6[_0x19aa88(0x1bd)](_0x3652b7,_0x1d6248);}),delete _0x6b2076[_0x591c5f];}}['getSubUnitSparkline'](_0x290120,_0x450af8){const _0x538985=_0x15ed9a;var _0x13502d;return(_0x13502d=this[_0x538985(0x259)][_0x538985(0x1d9)](_0x290120))==null?void 0x0:_0x13502d[_0x538985(0x1d9)](_0x450af8);}[_0x15ed9a(0x248)](_0xfb898a,_0x124618,_0x5750f1){const _0x44b357=_0x15ed9a;var _0x1f379d,_0x2370a0;return(_0x2370a0=(_0x1f379d=this[_0x44b357(0x259)][_0x44b357(0x1d9)](_0xfb898a))==null?void 0x0:_0x1f379d['get'](_0x124618))==null?void 0x0:_0x2370a0[_0x44b357(0x1d9)](_0x5750f1);}[_0x15ed9a(0x23d)](_0x3bdcaa,_0x11c540,_0x5b6d0c,_0x4750d8){const _0x28b642=_0x15ed9a;var _0x25d869,_0x41b69f,_0x407315;return(_0x407315=(_0x41b69f=(_0x25d869=this[_0x28b642(0x23f)][_0x28b642(0x1d9)](_0x3bdcaa))==null?void 0x0:_0x25d869[_0x28b642(0x1d9)](_0x11c540))==null?void 0x0:_0x41b69f[_0x28b642(0x1f8)][_0x28b642(0x1da)](_0x5b6d0c,_0x4750d8))==null?void 0x0:_0x407315[_0x28b642(0x1e8)];}[_0x15ed9a(0x1f5)](_0x3e20e7,_0x3b4a3b){const _0x5019c3=_0x15ed9a;var _0x2a8d38;const _0x5266e5=this[_0x5019c3(0x166)](_0x3e20e7,_0x3b4a3b);_0x5266e5[_0x5019c3(0x1f8)][_0x5019c3(0x1c1)]((_0x45ee36,_0x9da744)=>{const _0x4e160c=_0x5019c3;_0x5266e5[_0x4e160c(0x1f8)][_0x4e160c(0x1bd)](_0x45ee36,_0x9da744);});const _0x5d6f2f=(_0x2a8d38=this[_0x5019c3(0x259)][_0x5019c3(0x1d9)](_0x3e20e7))==null?void 0x0:_0x2a8d38[_0x5019c3(0x1d9)](_0x3b4a3b);if(_0x5d6f2f){for(const [_0x151880]of _0x5d6f2f)this[_0x5019c3(0x1ef)](_0x3e20e7,_0x3b4a3b,_0x151880);}}[_0x15ed9a(0x169)](){const _0x2a665c=_0x15ed9a;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x2a665c(0x23f)]};}[_0x15ed9a(0x258)](_0x5288d6){const _0x4f4893=_0x15ed9a,_0x40278c={};if(this['_sparklineModel'][_0x4f4893(0x189)](_0x5288d6)){_0x40278c[_0x5288d6]={};const _0x2ecdbc=this[_0x4f4893(0x259)]['get'](_0x5288d6);_0x2ecdbc!=null&&_0x2ecdbc['size']&&Array[_0x4f4893(0x1fe)](_0x2ecdbc[_0x4f4893(0x1d6)]())[_0x4f4893(0x19b)](_0x573ec7=>{const _0x463156=_0x4f4893;_0x40278c[_0x5288d6][_0x573ec7]={};const _0x12e09f=_0x2ecdbc['get'](_0x573ec7);_0x12e09f!=null&&_0x12e09f['size']&&Array[_0x463156(0x1fe)](_0x12e09f[_0x463156(0x1d6)]())[_0x463156(0x19b)](_0x49e234=>{const _0x144610=_0x463156,_0x5060bf=_0x12e09f[_0x144610(0x1d9)](_0x49e234);_0x5060bf&&(_0x40278c[_0x5288d6][_0x573ec7][_0x49e234]={'config':_0x5060bf[_0x144610(0x240)],'sparklines':_0x5060bf[_0x144610(0x15c)][_0x144610(0x20c)]()});});});}return _0x40278c;}['fromJSON'](_0x2e7396){const _0x3ab7a2=_0x15ed9a;if(!_0x2e7396)return;Object[_0x3ab7a2(0x1d6)](_0x2e7396)['forEach'](_0x4d90a9=>{const _0x496417=_0x3ab7a2,_0x25dc69=_0x2e7396[_0x4d90a9];_0x25dc69&&Object[_0x496417(0x1d6)](_0x25dc69)[_0x496417(0x19b)](_0x5105c9=>{const _0x27502f=_0x496417,_0x3a2657=_0x25dc69[_0x5105c9];_0x3a2657&&Object[_0x27502f(0x1d6)](_0x3a2657)[_0x27502f(0x19b)](_0x36c5a2=>{const _0xf6c713=_0x27502f,_0x2b7dab=_0x3a2657[_0x36c5a2];if(_0x2b7dab){const _0x2cb5c9={'config':_0x2b7dab['config'],'sparklines':new _0x31d190['ObjectMatrix'](_0x2b7dab[_0xf6c713(0x15c)])};this[_0xf6c713(0x17a)](_0x4d90a9,_0x5105c9,_0x36c5a2,_0x2cb5c9);}});});});}[_0x15ed9a(0x1c5)](_0x57d23d){const _0x26f004=_0x15ed9a,_0x62a5c5=this['_sparklineModel'][_0x26f004(0x1d9)](_0x57d23d);if(_0x62a5c5){for(const [_0x57e2b9]of _0x62a5c5){const _0x3d6c10=_0x62a5c5[_0x26f004(0x1d9)](_0x57e2b9);if(_0x3d6c10){for(const [_0x55febc]of _0x3d6c10)this['clearSparklineCache'](_0x57d23d,_0x57e2b9,_0x55febc);}}this[_0x26f004(0x259)][_0x26f004(0x207)](_0x57d23d);}}},_0x33c1ed[_0x15ed9a(0x159)]=_0x1921a2([_0x9f7def(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x1c8)]))],_0x33c1ed[_0x15ed9a(0x159)]);const _0x3f9b3d={'id':_0x15ed9a(0x170),'type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x22a)],'handler':(_0x272b61,_0x292438)=>{const _0x1a9195=_0x15ed9a;if(!_0x292438)return!0x1;const {sparklineConfigMap:_0x3745f1,unitId:_0x32626c,subUnitId:_0x53f641}=_0x292438,_0x4d2b64=_0x272b61[_0x1a9195(0x1d9)](_0x33c1ed[_0x1a9195(0x159)]);return Object['entries'](_0x3745f1)[_0x1a9195(0x19b)](([_0x221708,_0x31b829])=>{const _0x2ba356=_0x1a9195,_0x5a73ae={'config':_0x31b829['config'],'sparklines':new _0x31d190[(_0x2ba356(0x1ca))](_0x31b829['sparklines'])};_0x4d2b64['addSparkline'](_0x32626c,_0x53f641,_0x221708,_0x5a73ae);}),!0x0;}},_0x38f3fd={'id':_0x15ed9a(0x194),'type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x22a)],'handler':(_0x62f1d1,_0x2a7cbc)=>{const _0x70f574=_0x15ed9a;if(!_0x2a7cbc)return!0x1;const {unitId:_0x1e6729,subUnitId:_0x387594,ranges:_0x405ef2,isSingle:_0x2d1b4c,groupIds:_0x2e14fd}=_0x2a7cbc,_0x250740=_0x62f1d1['get'](_0x33c1ed[_0x70f574(0x159)]);return _0x2e14fd?(_0x2e14fd[_0x70f574(0x19b)](_0x1414b9=>{_0x250740['removeSparkline'](_0x1e6729,_0x387594,_0x1414b9);}),!0x0):_0x405ef2?(_0x405ef2[_0x70f574(0x19b)](_0x5027b6=>{const _0x16da68=_0x70f574;_0x31d190[_0x16da68(0x164)][_0x16da68(0x16b)](_0x5027b6,(_0x5d8362,_0x23cacc)=>{const _0x2cebb0=_0x16da68,_0x28f5b9=_0x250740[_0x2cebb0(0x23d)](_0x1e6729,_0x387594,_0x5d8362,_0x23cacc);_0x28f5b9&&(_0x2d1b4c?_0x250740[_0x2cebb0(0x18f)](_0x1e6729,_0x387594,_0x5d8362,_0x23cacc):_0x250740[_0x2cebb0(0x206)](_0x1e6729,_0x387594,_0x28f5b9));});}),!0x0):!0x1;}},_0x4331aa={'id':_0x15ed9a(0x256),'type':_0x31d190[_0x15ed9a(0x1be)]['COMMAND'],'handler':(_0x52986c,_0x8d7c52)=>{const _0x134437=_0x15ed9a;if(!_0x8d7c52)return!0x1;const {sourceRanges:_0x44f61a,targetRanges:_0x75227d,config:_0xe84d1e}=_0x8d7c52,_0x572a78=_0x52986c['get'](_0x31d190['IUndoRedoService']),_0x22afc0='g_'+_0x31d190[_0x134437(0x18c)](0x6),_0x3465b1=_0x68a83c(_0x44f61a,_0x75227d),_0xce314b={'config':_0xe84d1e!=null?_0xe84d1e:{},'sparklines':_0x3465b1['getMatrix']()},_0x20c984=_0x52986c[_0x134437(0x1d9)](_0x31d190[_0x134437(0x1c8)]),_0x1ae0f8=_0x52986c[_0x134437(0x1d9)](_0x33c1ed[_0x134437(0x159)]),_0x1a9c72=_0x25282a['getSheetCommandTarget'](_0x20c984);if(!_0x1a9c72)return!0x1;const {unitId:_0x4afb7c,subUnitId:_0x17ef73}=_0x1a9c72,_0x20db7a=_0x52986c['get'](_0x31d190['ICommandService']),_0x2da0ea=[],_0x1c4435=[],_0x4f1931={},_0x3bfa78={},_0x258a4e=new Set([_0x22afc0]);_0x3465b1[_0x134437(0x1c1)]((_0x213b12,_0x245ad9,_0x4b45d3)=>{const _0x5b8b34=_0x134437,_0x2d8166=_0x1ae0f8[_0x5b8b34(0x23d)](_0x4afb7c,_0x17ef73,_0x213b12,_0x245ad9);if(_0x2d8166){const _0x408c00=_0x1ae0f8[_0x5b8b34(0x248)](_0x4afb7c,_0x17ef73,_0x2d8166);if(_0x408c00){_0x258a4e['add'](_0x2d8166);let _0x267881=_0x4f1931[_0x2d8166],_0x46c81e=_0x3bfa78[_0x2d8166];_0x46c81e||(_0x46c81e={'config':_0x31d190[_0x5b8b34(0x1f2)][_0x5b8b34(0x201)](_0x408c00[_0x5b8b34(0x240)]),'sparklines':new _0x31d190['ObjectMatrix'](_0x408c00[_0x5b8b34(0x15c)][_0x5b8b34(0x1bc)]())},_0x3bfa78[_0x2d8166]=_0x46c81e),_0x267881||(_0x267881={'config':_0x31d190['Tools'][_0x5b8b34(0x201)](_0x408c00[_0x5b8b34(0x240)]),'sparklines':_0x408c00[_0x5b8b34(0x15c)][_0x5b8b34(0x1bc)]()},_0x4f1931[_0x2d8166]=_0x267881),_0x46c81e[_0x5b8b34(0x15c)][_0x5b8b34(0x1bd)](_0x213b12,_0x245ad9);}}});const _0x528d56={};return Object[_0x134437(0x25a)](_0x3bfa78)[_0x134437(0x19b)](([_0x184c07,_0x29dca2])=>{const _0x55d93c=_0x134437;_0x29dca2[_0x55d93c(0x15c)][_0x55d93c(0x224)]()&&(_0x528d56[_0x184c07]={'config':_0x29dca2[_0x55d93c(0x240)],'sparklines':_0x29dca2[_0x55d93c(0x15c)]['clone']()});}),_0x528d56[_0x22afc0]=_0xce314b,_0x2da0ea[_0x134437(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'groupIds':Array['from'](_0x258a4e),'isSingle':!0x1}}),_0x258a4e[_0x134437(0x1a5)]>0x1&&(_0x1c4435['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'groupIds':Array['from'](_0x258a4e),'isSingle':!0x1}}),_0x2da0ea[_0x134437(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'sparklineConfigMap':_0x4f1931}})),_0x1c4435[_0x134437(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4afb7c,'subUnitId':_0x17ef73,'sparklineConfigMap':_0x528d56}}),_0x31d190[_0x134437(0x1e2)](_0x1c4435,_0x20db7a),_0x572a78[_0x134437(0x1f6)]({'unitID':_0x4afb7c,'undoMutations':_0x2da0ea,'redoMutations':_0x1c4435}),!0x0;}},_0x43b5a7={'id':'sheet.command.remove-sparkline','type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x1d8)],'handler':(_0x837463,_0x40ff3e)=>{const _0x588c88=_0x15ed9a;var _0x5dafe7;const {isSingle:_0x5f5a2c=!0x0}=_0x40ff3e||{},_0x50279a=_0x837463[_0x588c88(0x1d9)](_0x31d190['ICommandService']),_0x4ad318=_0x837463[_0x588c88(0x1d9)](_0x31d190[_0x588c88(0x1c8)]),_0x586fdb=_0x837463[_0x588c88(0x1d9)](_0x33c1ed[_0x588c88(0x159)]),_0x26f977=_0x837463[_0x588c88(0x1d9)](_0x31d190['IUndoRedoService']),_0x5e4b1e=_0x25282a[_0x588c88(0x214)](_0x4ad318);if(!_0x5e4b1e)return!0x1;const _0x1bb273=_0x837463[_0x588c88(0x1d9)](_0x25282a['SheetsSelectionsService']),_0x14dcde=(_0x5dafe7=_0x40ff3e==null?void 0x0:_0x40ff3e['ranges'])!=null?_0x5dafe7:_0x1bb273[_0x588c88(0x186)]()[_0x588c88(0x23e)](_0x44d5be=>_0x44d5be['range']),{unitId:_0x3d61cf,subUnitId:_0x5ef259}=_0x5e4b1e,_0xdc5eb2=[],_0x27b0a0=[];_0xdc5eb2[_0x588c88(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x3d61cf,'subUnitId':_0x5ef259,'ranges':_0x14dcde,'isSingle':_0x5f5a2c}});const _0x44967b=[],_0x1e2079={};return _0x14dcde['forEach'](_0x1cceb5=>{const _0x8da095=_0x588c88;_0x31d190[_0x8da095(0x164)][_0x8da095(0x16b)](_0x1cceb5,(_0x3dbd57,_0x4e1bdd)=>{const _0x5d9130=_0x8da095,_0x447c85=_0x586fdb[_0x5d9130(0x23d)](_0x3d61cf,_0x5ef259,_0x3dbd57,_0x4e1bdd);if(_0x447c85){const _0x2b0490=_0x586fdb['getSparklineById'](_0x3d61cf,_0x5ef259,_0x447c85);_0x2b0490&&(_0x44967b[_0x5d9130(0x1c0)](_0x447c85),_0x1e2079[_0x447c85]={'config':_0x31d190[_0x5d9130(0x1f2)][_0x5d9130(0x201)](_0x2b0490[_0x5d9130(0x240)]),'sparklines':_0x31d190[_0x5d9130(0x1f2)][_0x5d9130(0x201)](_0x2b0490[_0x5d9130(0x15c)][_0x5d9130(0x1bc)]())});}});}),_0x27b0a0[_0x588c88(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x3d61cf,'subUnitId':_0x5ef259,'groupIds':_0x44967b,'isSingle':!0x1}}),_0x27b0a0[_0x588c88(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x3d61cf,'subUnitId':_0x5ef259,'sparklineConfigMap':_0x1e2079}}),_0x31d190[_0x588c88(0x1e2)](_0xdc5eb2,_0x50279a),_0x26f977['pushUndoRedo']({'unitID':_0x3d61cf,'undoMutations':_0x27b0a0,'redoMutations':_0xdc5eb2}),!0x0;}},_0x40f599={'id':_0x15ed9a(0x161),'type':_0x31d190[_0x15ed9a(0x1be)][_0x15ed9a(0x22a)],'handler':(_0x59b03d,_0x5eda46)=>{const _0x2e410e=_0x15ed9a;if(!_0x5eda46)return!0x1;const {unitId:_0x2caba8,subUnitId:_0x4b9af6,groupIds:_0x1b730a,config:_0x852dcc}=_0x5eda46,_0x386cd0=_0x59b03d['get'](_0x33c1ed['SparklineDataSourceModel']);return _0x1b730a[_0x2e410e(0x19b)](_0x2b0019=>{const _0x4504e2=_0x2e410e,_0x4538f4=_0x386cd0[_0x4504e2(0x248)](_0x2caba8,_0x4b9af6,_0x2b0019);if(_0x4538f4){const _0x2fbdc5={'config':Object[_0x4504e2(0x16f)]({},_0x4538f4[_0x4504e2(0x240)],_0x852dcc[_0x4504e2(0x240)]),'sparklines':new _0x31d190[(_0x4504e2(0x1ca))](_0x4538f4[_0x4504e2(0x15c)][_0x4504e2(0x1bc)]())};_0x386cd0['setSparkline'](_0x2caba8,_0x4b9af6,[_0x2b0019],_0x2fbdc5);}}),!0x0;}},_0x46f7a6={'id':_0x15ed9a(0x190),'type':_0x31d190['CommandType'][_0x15ed9a(0x1d8)],'handler':(_0x398d39,_0x112ab2)=>{const _0x48c037=_0x15ed9a;var _0x4aed02,_0x5f4cd2,_0x418ff6,_0x57d4e3;if(!_0x112ab2)return!0x1;const _0x12c611=_0x398d39[_0x48c037(0x1d9)](_0x31d190[_0x48c037(0x192)]),_0x289db8=_0x398d39['get'](_0x25282a['SheetsSelectionsService']),_0x17ed04=_0x398d39[_0x48c037(0x1d9)](_0x33c1ed[_0x48c037(0x159)]),_0x1b1489=_0x398d39[_0x48c037(0x1d9)](_0x31d190['IUniverInstanceService']),_0x229585=_0x398d39[_0x48c037(0x1d9)](_0x31d190[_0x48c037(0x222)]),_0x56d8ce=_0x25282a['getSheetCommandTarget'](_0x1b1489);if(!_0x56d8ce)return!0x1;const {unitId:_0x4b34ba,subUnitId:_0x5a754f}=_0x56d8ce,_0x5dba93=(_0x4aed02=_0x112ab2==null?void 0x0:_0x112ab2[_0x48c037(0x16c)])!=null?_0x4aed02:_0x289db8['getCurrentSelections']()[_0x48c037(0x23e)](_0x3bb116=>_0x3bb116[_0x48c037(0x1b9)]),_0xc8a8bf=(_0x5f4cd2=_0x17ed04['getSparklineCache']()['sparklineAnchorMap'][_0x48c037(0x1d9)](_0x4b34ba))==null?void 0x0:_0x5f4cd2[_0x48c037(0x1d9)](_0x5a754f),{isChangeDataSource:_0x483d11,config:_0x1c0ea2,combine:_0x370fa3,unCombine:_0x16f274}=_0x112ab2;if(_0x370fa3){const _0x3e3780=[],_0x471eab=[];_0x3e3780['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x0}});const _0x11847a='g_'+_0x31d190[_0x48c037(0x18c)](0x6),_0x477330=new _0x31d190[(_0x48c037(0x1ca))](),_0x4cfc0c=(_0x418ff6=_0x17ed04[_0x48c037(0x169)]()[_0x48c037(0x1b8)][_0x48c037(0x1d9)](_0x4b34ba))==null?void 0x0:_0x418ff6[_0x48c037(0x1d9)](_0x5a754f),_0x56a8f8=new Set([_0x11847a]),_0x14d596={};return _0x5dba93[_0x48c037(0x19b)](_0x3ff3e5=>{const _0x43c032=_0x48c037;var _0xd85dfc,_0x201e45;const {startRow:_0x95950c,endRow:_0x239c17,startColumn:_0x3a0417,endColumn:_0x687f1}=_0x3ff3e5;for(let _0x263a16=_0x95950c;_0x263a16<=_0x239c17;_0x263a16++)for(let _0x56577e=_0x3a0417;_0x56577e<=_0x687f1;_0x56577e++){const _0x296b69=(_0xd85dfc=_0xc8a8bf==null?void 0x0:_0xc8a8bf['matrix'][_0x43c032(0x1da)](_0x263a16,_0x56577e))==null?void 0x0:_0xd85dfc[_0x43c032(0x1e8)];if(_0x296b69){_0x56a8f8[_0x43c032(0x1a9)](_0x296b69);const _0x1ef993=_0x17ed04[_0x43c032(0x248)](_0x4b34ba,_0x5a754f,_0x296b69);_0x1ef993&&(_0x14d596[_0x296b69]={'config':_0x31d190['Tools']['deepClone'](_0x1ef993[_0x43c032(0x240)]),'sparklines':_0x31d190[_0x43c032(0x1f2)]['deepClone'](_0x1ef993[_0x43c032(0x15c)][_0x43c032(0x1bc)]())});const _0x4fa75a=(_0x201e45=_0x4cfc0c==null?void 0x0:_0x4cfc0c['get'](_0x296b69))==null?void 0x0:_0x201e45[_0x43c032(0x15c)][_0x43c032(0x1da)](_0x263a16,_0x56577e);_0x4fa75a&&_0x477330[_0x43c032(0x1ee)](_0x263a16,_0x56577e,_0x4fa75a);}}}),_0x3e3780[_0x48c037(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'sparklineConfigMap':{[_0x11847a]:{'config':_0x31d190[_0x48c037(0x1f2)][_0x48c037(0x201)](_0x1c0ea2['config']),'sparklines':_0x477330[_0x48c037(0x20c)]()}},'unitId':_0x4b34ba,'subUnitId':_0x5a754f}}),_0x471eab[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'isSingle':!0x1,'groupIds':Array['from'](_0x56a8f8)}}),_0x471eab['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x14d596}}),_0x31d190[_0x48c037(0x1e2)](_0x3e3780,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0x471eab,'redoMutations':_0x3e3780}),!0x0;}else{if(_0x16f274){const _0x5156f1=[],_0x81e378=[];_0x5156f1[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x0}});const _0xdde15=(_0x57d4e3=_0x17ed04['getSparklineCache']()['sparklineModel'][_0x48c037(0x1d9)](_0x4b34ba))==null?void 0x0:_0x57d4e3[_0x48c037(0x1d9)](_0x5a754f),_0x568f9e={},_0x1ec6d9=new Set(),_0x11d2e6={};return _0x5dba93[_0x48c037(0x19b)](_0x17b22b=>{const _0xe5b18f=_0x48c037;var _0x14ce72,_0x3d156a;const {startRow:_0x167101,endRow:_0x368163,startColumn:_0x5e5395,endColumn:_0x587877}=_0x17b22b;for(let _0x531e3a=_0x167101;_0x531e3a<=_0x368163;_0x531e3a++)for(let _0x4ba078=_0x5e5395;_0x4ba078<=_0x587877;_0x4ba078++){const _0x1b7985=(_0x14ce72=_0xc8a8bf==null?void 0x0:_0xc8a8bf[_0xe5b18f(0x1f8)][_0xe5b18f(0x1da)](_0x531e3a,_0x4ba078))==null?void 0x0:_0x14ce72[_0xe5b18f(0x1e8)];if(_0x1b7985){const _0x351b8c=new _0x31d190['ObjectMatrix'](),_0x10b97c='g_'+_0x31d190[_0xe5b18f(0x18c)](0x6);_0x1ec6d9['add'](_0x1b7985),_0x1ec6d9[_0xe5b18f(0x1a9)](_0x10b97c);const _0x56bb3b=_0x17ed04[_0xe5b18f(0x248)](_0x4b34ba,_0x5a754f,_0x1b7985);_0x56bb3b&&(_0x11d2e6[_0x1b7985]={'config':_0x31d190['Tools'][_0xe5b18f(0x201)](_0x56bb3b['config']),'sparklines':_0x31d190[_0xe5b18f(0x1f2)][_0xe5b18f(0x201)](_0x56bb3b['sparklines']['clone']())});const _0x2df7d0=(_0x3d156a=_0xdde15==null?void 0x0:_0xdde15[_0xe5b18f(0x1d9)](_0x1b7985))==null?void 0x0:_0x3d156a[_0xe5b18f(0x15c)][_0xe5b18f(0x1da)](_0x531e3a,_0x4ba078);_0x2df7d0&&_0x351b8c[_0xe5b18f(0x1ee)](_0x531e3a,_0x4ba078,_0x2df7d0),_0x568f9e[_0x10b97c]={'sparklines':_0x351b8c['getMatrix'](),'config':_0x31d190['Tools']['deepClone'](_0x1c0ea2[_0xe5b18f(0x240)])};}}}),_0x5156f1['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x568f9e}}),_0x81e378[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'isSingle':!0x1,'groupIds':Array['from'](_0x1ec6d9)}}),_0x81e378[_0x48c037(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x11d2e6}}),_0x31d190[_0x48c037(0x1e2)](_0x5156f1,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0x81e378,'redoMutations':_0x5156f1}),!0x0;}}if(_0x483d11){const _0x359a67=_0x112ab2[_0x48c037(0x1c4)];if(!_0x359a67)return!0x1;const {groupId:_0x532a0c,sourceRanges:_0x459044,targetRanges:_0x28d6ce,resetType:_0x4cc9aa,primary:_0x5dd705}=_0x359a67,_0x541bd7=[],_0xe3f03b=[];_0x541bd7[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x1,'groupIds':[_0x532a0c]}}),_0xe3f03b[_0x48c037(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'ranges':_0x5dba93,'isSingle':!0x1,'groupIds':[_0x532a0c]}});let _0x251570;_0x4cc9aa===_0x48c037(0x1f4)?(_0x251570=new _0x31d190[(_0x48c037(0x1ca))](_0x1c0ea2[_0x48c037(0x15c)][_0x48c037(0x1bc)]()),_0x251570[_0x48c037(0x1bd)](_0x5dd705[_0x48c037(0x1dc)],_0x5dd705[_0x48c037(0x22f)]),_0x251570[_0x48c037(0x1ee)](_0x28d6ce[0x0][_0x48c037(0x1a0)],_0x28d6ce[0x0]['startColumn'],_0x459044[0x0])):_0x251570=_0x68a83c(_0x459044,_0x28d6ce);const _0x3d699e={'config':_0x31d190[_0x48c037(0x1f2)]['deepClone'](_0x1c0ea2[_0x48c037(0x240)]),'sparklines':_0x251570[_0x48c037(0x20c)]()},_0x3bf2c6={'config':_0x31d190[_0x48c037(0x1f2)][_0x48c037(0x201)](_0x1c0ea2['config']),'sparklines':_0x31d190[_0x48c037(0x1f2)][_0x48c037(0x201)](_0x1c0ea2[_0x48c037(0x15c)][_0x48c037(0x1bc)]())};_0x541bd7['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':{[_0x532a0c]:_0x3d699e}}}),_0xe3f03b[_0x48c037(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':{[_0x532a0c]:_0x3bf2c6}}}),_0x31d190[_0x48c037(0x1e2)](_0x541bd7,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0xe3f03b,'redoMutations':_0x541bd7});}else{const _0x49f1a7=[],_0x527708=[],_0x3eb69b=new Set(),_0x37555e={};_0x5dba93[_0x48c037(0x19b)](_0x4ced2b=>{const _0x3550b9=_0x48c037;var _0x2ec110;const {startRow:_0x56a1d2,endRow:_0x260520,startColumn:_0x5b7079,endColumn:_0x4648d2}=_0x4ced2b;for(let _0x28edf7=_0x56a1d2;_0x28edf7<=_0x260520;_0x28edf7++)for(let _0x207f90=_0x5b7079;_0x207f90<=_0x4648d2;_0x207f90++){const _0x207e70=(_0x2ec110=_0xc8a8bf==null?void 0x0:_0xc8a8bf['matrix'][_0x3550b9(0x1da)](_0x28edf7,_0x207f90))==null?void 0x0:_0x2ec110[_0x3550b9(0x1e8)];if(_0x207e70){_0x3eb69b[_0x3550b9(0x1a9)](_0x207e70);const _0x18a516=_0x17ed04[_0x3550b9(0x248)](_0x4b34ba,_0x5a754f,_0x207e70);_0x18a516&&(_0x37555e[_0x207e70]={'config':_0x31d190['Tools'][_0x3550b9(0x201)](_0x18a516[_0x3550b9(0x240)]),'sparklines':_0x31d190[_0x3550b9(0x1f2)][_0x3550b9(0x201)](_0x18a516[_0x3550b9(0x15c)][_0x3550b9(0x1bc)]())});}}}),_0x527708[_0x48c037(0x1c0)]({'id':_0x40f599['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'groupIds':Array['from'](_0x3eb69b),'config':{'config':_0x31d190['Tools'][_0x48c037(0x201)](_0x1c0ea2[_0x48c037(0x240)]),'sparklines':_0x1c0ea2['sparklines'][_0x48c037(0x20c)]()}}}),_0x49f1a7['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'isSingle':!0x1,'groupIds':Array[_0x48c037(0x1fe)](_0x3eb69b)}}),_0x49f1a7['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x4b34ba,'subUnitId':_0x5a754f,'sparklineConfigMap':_0x37555e}}),_0x31d190[_0x48c037(0x1e2)](_0x527708,_0x12c611),_0x229585[_0x48c037(0x1f6)]({'unitID':_0x4b34ba,'undoMutations':_0x49f1a7,'redoMutations':_0x527708});}return!0x0;}};var _0x3cee70=Object['getOwnPropertyDescriptor'],_0x4bb52c=(_0x5ee27b,_0x210f67,_0x29b0fa,_0x447fce)=>{const _0x16a4f9=_0x15ed9a;for(var _0x55890b=_0x447fce>0x1?void 0x0:_0x447fce?_0x3cee70(_0x210f67,_0x29b0fa):_0x210f67,_0xc3c391=_0x5ee27b[_0x16a4f9(0x1d5)]-0x1,_0x2e01af;_0xc3c391>=0x0;_0xc3c391--)(_0x2e01af=_0x5ee27b[_0xc3c391])&&(_0x55890b=_0x2e01af(_0x55890b)||_0x55890b);return _0x55890b;},_0x545697=(_0x159c1a,_0x39cd83)=>(_0x174a0a,_0x105487)=>_0x39cd83(_0x174a0a,_0x105487,_0x159c1a);let _0x496dde=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x55b60c,_0x13b3c4,_0x3defd0,_0x522bda){const _0x3de3a7=_0x15ed9a;super(),this[_0x3de3a7(0x20f)]=_0x55b60c,this[_0x3de3a7(0x252)]=_0x13b3c4,this[_0x3de3a7(0x1c6)]=_0x3defd0,this['_sheetSelectionService']=_0x522bda,this[_0x3de3a7(0x238)]();}['_initClearWithSparkline'](){const _0x2bb513=_0x15ed9a;this[_0x2bb513(0x19f)](this[_0x2bb513(0x252)][_0x2bb513(0x1bb)]({'getMutations':_0x4d9945=>{const _0x30e87d=_0x2bb513,_0x3b1c36=[],_0x34ee78=[];if(_0x4d9945['id']===_0x25282a['ClearSelectionAllCommand']['id']){const _0x149398=_0x25282a[_0x30e87d(0x214)](this[_0x30e87d(0x1c6)],_0x4d9945[_0x30e87d(0x1e7)]);if(!_0x149398)return{'redos':_0x3b1c36,'undos':_0x34ee78};const {unitId:_0x57e796,subUnitId:_0x206f4e,worksheet:_0x4b66a4}=_0x149398,_0x522605=this['_sheetSelectionService'][_0x30e87d(0x186)]()[_0x30e87d(0x23e)](_0xed6681=>_0xed6681[_0x30e87d(0x1b9)]),_0x1579b7=new Set(),_0x44f124={},_0x43fa6e={};_0x522605['forEach'](_0x4aec22=>{const _0x3d614e=_0x30e87d;_0x31d190[_0x3d614e(0x164)][_0x3d614e(0x16b)](_0x4aec22,(_0x341f6e,_0x5d77e7)=>{const _0x4f705d=_0x3d614e,_0x3e0b66=this[_0x4f705d(0x20f)][_0x4f705d(0x23d)](_0x57e796,_0x206f4e,_0x341f6e,_0x5d77e7);if(_0x3e0b66&&!_0x1579b7['has'](_0x3e0b66)){const _0x3d6575=this[_0x4f705d(0x20f)][_0x4f705d(0x248)](_0x57e796,_0x206f4e,_0x3e0b66);_0x3d6575&&(_0x1579b7['add'](_0x3e0b66),_0x44f124[_0x3e0b66]={'config':_0x31d190['Tools'][_0x4f705d(0x201)](_0x3d6575['config']),'sparklines':_0x31d190[_0x4f705d(0x1f2)]['deepClone'](_0x3d6575[_0x4f705d(0x15c)][_0x4f705d(0x1bc)]())},_0x43fa6e[_0x3e0b66]={'config':_0x31d190['Tools']['deepClone'](_0x3d6575['config']),'sparklines':_0x31d190['Tools']['deepClone'](_0x3d6575[_0x4f705d(0x15c)][_0x4f705d(0x1bc)]())});}});}),Object[_0x30e87d(0x223)](_0x43fa6e)['forEach'](_0x108744=>{const _0x5870a9=_0x30e87d,_0x29cd8e=_0x108744[_0x5870a9(0x15c)];new _0x31d190['ObjectMatrix'](_0x29cd8e)['forValue']((_0x5e8a0e,_0xdd1906,_0x45c1c0)=>{const _0x13259c=_0x5870a9;_0x522605[_0x13259c(0x179)](_0x54d2b4=>_0x31d190['Rectangle'][_0x13259c(0x15a)](_0x54d2b4,_0x31d190[_0x13259c(0x234)](_0x5e8a0e,_0xdd1906)))&&delete _0x29cd8e[_0x5e8a0e][_0xdd1906];});}),_0x3b1c36[_0x30e87d(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'groupIds':Array['from'](_0x1579b7),'isSingle':!0x1}}),_0x3b1c36[_0x30e87d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'sparklineConfigMap':_0x43fa6e}}),_0x34ee78['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'groupIds':Array['from'](_0x1579b7),'isSingle':!0x1}}),_0x34ee78[_0x30e87d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x57e796,'subUnitId':_0x206f4e,'sparklineConfigMap':_0x44f124}});}return{'redos':_0x3b1c36,'undos':_0x34ee78};}}));}};_0x496dde=_0x4bb52c([_0x545697(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)])),_0x545697(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x25282a[_0x15ed9a(0x178)])),_0x545697(0x2,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x1c8)])),_0x545697(0x3,_0x31d190[_0x15ed9a(0x1b3)](_0x25282a[_0x15ed9a(0x25f)]))],_0x496dde);var _0x29e328=Object['getOwnPropertyDescriptor'],_0x20696b=(_0x3926fd,_0xb4419f,_0x43b515,_0x1b425a)=>{const _0x335f8b=_0x15ed9a;for(var _0x312228=_0x1b425a>0x1?void 0x0:_0x1b425a?_0x29e328(_0xb4419f,_0x43b515):_0xb4419f,_0x265e7f=_0x3926fd[_0x335f8b(0x1d5)]-0x1,_0x37d196;_0x265e7f>=0x0;_0x265e7f--)(_0x37d196=_0x3926fd[_0x265e7f])&&(_0x312228=_0x37d196(_0x312228)||_0x312228);return _0x312228;},_0xcd55b9=(_0x87f6d5,_0x2dae57)=>(_0x15c71d,_0xf51399)=>_0x2dae57(_0x15c71d,_0xf51399,_0x87f6d5);let _0x4973e3=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x5659b3,_0x20f346,_0x3f4c0e){const _0x2dd04c=_0x15ed9a;super(),this['_commandService']=_0x5659b3,this[_0x2dd04c(0x20f)]=_0x20f346,this[_0x2dd04c(0x165)]=_0x3f4c0e,this[_0x2dd04c(0x231)](),this[_0x2dd04c(0x19e)]();}[_0x15ed9a(0x231)](){const _0x2f7366=_0x15ed9a;this[_0x2f7366(0x19f)](this['_commandService'][_0x2f7366(0x16a)](_0x16bd0e=>{const _0x1fc9df=_0x2f7366;if(_0x16bd0e['id']===_0x25282a[_0x1fc9df(0x202)]['id']){const _0x46d62c=_0x16bd0e[_0x1fc9df(0x1e7)],{cellValue:_0x314d60,unitId:_0x326527,subUnitId:_0x240b2c}=_0x46d62c,_0xde938b=new _0x31d190['ObjectMatrix'](_0x314d60),_0x18eed8=new Set(),_0x2dbb5d=this[_0x1fc9df(0x20f)][_0x1fc9df(0x195)](_0x326527,_0x240b2c);if(!_0x2dbb5d)return;const _0xf39b6c=Array[_0x1fc9df(0x1fe)](_0x2dbb5d);_0xde938b[_0x1fc9df(0x1c1)]((_0x392a3a,_0x13f512,_0xa2cf02)=>{const _0x130416=_0x1fc9df,_0x2a9497=_0x31d190[_0x130416(0x234)](_0x392a3a,_0x13f512);for(let _0x508e83=0x0;_0x508e83<_0xf39b6c[_0x130416(0x1d5)];_0x508e83++){const [_0x1a716e,_0x5de8a6]=_0xf39b6c[_0x508e83],_0x45372b=_0x18eed8['has'](_0x1a716e);_0x45372b||_0x5de8a6[_0x130416(0x15c)][_0x130416(0x1c1)]((_0x58dd67,_0x37867d,_0xd48b41)=>{const _0x21d3f2=_0x130416,_0x504a0b=_0xd48b41;if(_0x504a0b&&!_0x45372b&&_0x31d190[_0x21d3f2(0x16d)]['intersects'](_0x2a9497,_0x504a0b))return _0x18eed8[_0x21d3f2(0x1a9)](_0x1a716e),!0x0;});}}),_0x18eed8[_0x1fc9df(0x19b)](_0x17ebd3=>{const _0x1e5d6c=_0x1fc9df;this[_0x1e5d6c(0x20f)][_0x1e5d6c(0x211)](_0x326527,_0x240b2c,_0x17ebd3),this[_0x1e5d6c(0x20f)][_0x1e5d6c(0x1ef)](_0x326527,_0x240b2c,_0x17ebd3);});}else{if(_0x16bd0e['id']===_0x25282a[_0x1fc9df(0x1d1)]['id']){const _0xd38342=_0x16bd0e['params'],{range:_0x2a2722,unitId:_0x698e0a,subUnitId:_0x21c35e}=_0xd38342,_0x552e10=new Set(),_0x441806=this['_sparklineDataSourceModel'][_0x1fc9df(0x195)](_0x698e0a,_0x21c35e);if(!_0x441806)return;const _0xda4a4=Array[_0x1fc9df(0x1fe)](_0x441806);for(let _0x33f999=0x0;_0x33f999<_0xda4a4[_0x1fc9df(0x1d5)];_0x33f999++){const [_0x4d7180,_0x4fb470]=_0xda4a4[_0x33f999],_0x50a958=_0x552e10[_0x1fc9df(0x189)](_0x4d7180);_0x50a958||_0x4fb470[_0x1fc9df(0x15c)][_0x1fc9df(0x1c1)]((_0x35b02e,_0x2aa8b4,_0x36bec9)=>{const _0xcb5c24=_0x1fc9df,_0x41fc9c=_0x36bec9;if(_0x41fc9c&&!_0x50a958&&_0x31d190['Rectangle'][_0xcb5c24(0x15a)](_0x2a2722,_0x41fc9c))return _0x552e10[_0xcb5c24(0x1a9)](_0x4d7180),!0x0;});}_0x552e10[_0x1fc9df(0x19b)](_0x3c1613=>{const _0xc8536=_0x1fc9df;this[_0xc8536(0x20f)][_0xc8536(0x211)](_0x698e0a,_0x21c35e,_0x3c1613),this[_0xc8536(0x20f)][_0xc8536(0x1ef)](_0x698e0a,_0x21c35e,_0x3c1613);});}}}));}['_initExclusiveRangeChange'](){const _0x3d2ff3=_0x15ed9a;this[_0x3d2ff3(0x19f)](this['_exclusiveRangeService']['exclusiveRangesChange$'][_0x3d2ff3(0x1cf)](_0x5360eb=>{const _0xff61db=_0x3d2ff3,{unitId:_0xf251ff,subUnitId:_0x527909,ranges:_0x3ed65a}=_0x5360eb,_0x241ac3=this[_0xff61db(0x20f)][_0xff61db(0x195)](_0xf251ff,_0x527909);if(!_0x241ac3)return;const _0xc1e6a1=Array[_0xff61db(0x1fe)](_0x241ac3),_0x30d54c=new Set();for(let _0xd5dd29=0x0;_0xd5dd29<_0xc1e6a1[_0xff61db(0x1d5)];_0xd5dd29++){const [_0xc2a6d5,_0x4cdd23]=_0xc1e6a1[_0xd5dd29],_0x17b1ab=_0x30d54c[_0xff61db(0x189)](_0xc2a6d5);_0x17b1ab||_0x4cdd23[_0xff61db(0x15c)][_0xff61db(0x1c1)]((_0x4090ae,_0x591e98,_0x492ac4)=>{const _0xc28dd7=_0xff61db,_0x22956d=_0x492ac4;if(_0x22956d&&!_0x17b1ab){for(const _0x4a6f3e of _0x3ed65a)if(_0x31d190['Rectangle'][_0xc28dd7(0x15a)](_0x4a6f3e,_0x22956d)){_0x30d54c['add'](_0xc2a6d5);break;}}});}_0x30d54c['forEach'](_0x16acfd=>{const _0x1f8065=_0xff61db;this[_0x1f8065(0x20f)][_0x1f8065(0x211)](_0xf251ff,_0x527909,_0x16acfd),this[_0x1f8065(0x20f)]['updateSparklineExtraNum'](_0xf251ff,_0x527909,_0x16acfd);});}));}};_0x4973e3=_0x20696b([_0xcd55b9(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x192)])),_0xcd55b9(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)])),_0xcd55b9(0x2,_0x31d190['Inject'](_0x25282a[_0x15ed9a(0x251)]))],_0x4973e3);var _0x3f6f90=Object[_0x15ed9a(0x1cd)],_0xe30a08=(_0x3bc6f3,_0x4344aa,_0x5cc178,_0x1a11a2)=>{const _0xde012f=_0x15ed9a;for(var _0x5a2cd0=_0x1a11a2>0x1?void 0x0:_0x1a11a2?_0x3f6f90(_0x4344aa,_0x5cc178):_0x4344aa,_0x25cc9b=_0x3bc6f3[_0xde012f(0x1d5)]-0x1,_0x4e8f2b;_0x25cc9b>=0x0;_0x25cc9b--)(_0x4e8f2b=_0x3bc6f3[_0x25cc9b])&&(_0x5a2cd0=_0x4e8f2b(_0x5a2cd0)||_0x5a2cd0);return _0x5a2cd0;},_0x2ea907=(_0x22dc60,_0x5f3fce)=>(_0xcfd1a1,_0x45d365)=>_0x5f3fce(_0xcfd1a1,_0x45d365,_0x22dc60);let _0x34823e=class extends _0x31d190['Disposable']{constructor(_0x20cf54,_0xc54654){const _0x3824f3=_0x15ed9a;super(),this[_0x3824f3(0x244)]=_0x20cf54,this['_sparklineDataSourceModel']=_0xc54654,this[_0x3824f3(0x1df)]();}[_0x15ed9a(0x1df)](){const _0x282574=_0x15ed9a;this[_0x282574(0x244)]['onCommandExecuted'](_0x135c37=>{const _0x1c5d72=_0x282574;if(_0x135c37['id']===_0x25282a['SetRowHiddenMutation']['id']||_0x135c37['id']===_0x25282a[_0x1c5d72(0x225)]['id']||_0x135c37['id']===_0x25282a[_0x1c5d72(0x191)]['id']||_0x135c37['id']===_0x25282a[_0x1c5d72(0x1b5)]['id']){const _0x2a7d60=_0x135c37[_0x1c5d72(0x1e7)],{ranges:_0x29fa56,unitId:_0x27cf89,subUnitId:_0x2008cc}=_0x2a7d60,_0xdbc433=new Set(),_0x1c4d3e=this[_0x1c5d72(0x20f)][_0x1c5d72(0x195)](_0x27cf89,_0x2008cc);if(!_0x1c4d3e)return;const _0x2eef8c=Array[_0x1c5d72(0x1fe)](_0x1c4d3e);_0x29fa56[_0x1c5d72(0x19b)](_0x117609=>{const _0x52e5dc=_0x1c5d72;_0x31d190[_0x52e5dc(0x164)][_0x52e5dc(0x16b)](_0x117609,(_0x19cc90,_0x5e6f83)=>{const _0x408411=_0x52e5dc,_0xb15f97=_0x31d190[_0x408411(0x234)](_0x19cc90,_0x5e6f83);for(let _0x520ddb=0x0;_0x520ddb<_0x2eef8c[_0x408411(0x1d5)];_0x520ddb++){const [_0x21231b,_0x564771]=_0x2eef8c[_0x520ddb],_0x248505=_0xdbc433[_0x408411(0x189)](_0x21231b);_0x248505||_0x564771[_0x408411(0x15c)][_0x408411(0x1c1)]((_0x84621c,_0x403d02,_0x5aa19b)=>{const _0x430940=_0x408411,_0x3defaa=_0x5aa19b;if(_0x3defaa&&!_0x248505&&_0x31d190['Rectangle'][_0x430940(0x15a)](_0xb15f97,_0x3defaa))return _0xdbc433[_0x430940(0x1a9)](_0x21231b),!0x0;});}});}),_0xdbc433[_0x1c5d72(0x19b)](_0x15bed8=>{const _0x4f449e=_0x1c5d72;this[_0x4f449e(0x20f)][_0x4f449e(0x211)](_0x27cf89,_0x2008cc,_0x15bed8),this[_0x4f449e(0x20f)][_0x4f449e(0x1ef)](_0x27cf89,_0x2008cc,_0x15bed8);});}});}};_0x34823e=_0xe30a08([_0x2ea907(0x0,_0x31d190['Inject'](_0x31d190['ICommandService'])),_0x2ea907(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)]))],_0x34823e);var _0x1b4b2c=Object[_0x15ed9a(0x1cd)],_0x5e29af=(_0x55e946,_0x56d1af,_0x36fa5f,_0x571a4f)=>{const _0x3d6227=_0x15ed9a;for(var _0x173664=_0x571a4f>0x1?void 0x0:_0x571a4f?_0x1b4b2c(_0x56d1af,_0x36fa5f):_0x56d1af,_0x53f8bc=_0x55e946[_0x3d6227(0x1d5)]-0x1,_0x80e49d;_0x53f8bc>=0x0;_0x53f8bc--)(_0x80e49d=_0x55e946[_0x53f8bc])&&(_0x173664=_0x80e49d(_0x173664)||_0x173664);return _0x173664;},_0x1f4f33=(_0x273dd0,_0x5a2f4f)=>(_0x3bcaeb,_0xa123b3)=>_0x5a2f4f(_0x3bcaeb,_0xa123b3,_0x273dd0);let _0x5110d3=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x4afd37,_0x10f0e7,_0x2a34a1){const _0x56baf7=_0x15ed9a;super(),this[_0x56baf7(0x244)]=_0x4afd37,this[_0x56baf7(0x252)]=_0x10f0e7,this['_sparklineDataSourceModel']=_0x2a34a1,this['_initMergeWithSparkline']();}[_0x15ed9a(0x187)](){const _0x393f7d=_0x15ed9a;this[_0x393f7d(0x19f)](this[_0x393f7d(0x252)][_0x393f7d(0x1bb)]({'getMutations':_0x41d6cd=>{const _0xa24bb=_0x393f7d,_0x3c2414=[],_0x418a1=[];if(_0x41d6cd['id']===_0x25282a[_0xa24bb(0x24a)]['id']){const _0x74a106=_0x41d6cd['params'];if(!_0x74a106)return{'redos':_0x3c2414,'undos':_0x418a1};const {unitId:_0xfd019d,subUnitId:_0xdbdf40,ranges:_0x96913a}=_0x74a106,_0x3703ea=this[_0xa24bb(0x20f)][_0xa24bb(0x195)](_0xfd019d,_0xdbdf40);if(!_0x3703ea)return{'redos':_0x3c2414,'undos':_0x418a1};const _0x1ea676={},_0x30a654={},_0x59e99c=new Set();_0x96913a[_0xa24bb(0x19b)](_0x52ed65=>{const _0x5eba02=_0xa24bb,_0x2d1194=_0x52ed65['startRow'],_0x374134=_0x52ed65['startColumn'];_0x31d190[_0x5eba02(0x164)][_0x5eba02(0x16b)](_0x52ed65,(_0x58ce60,_0x1d6067)=>{const _0x330649=_0x5eba02,_0x3a769a=this[_0x330649(0x20f)][_0x330649(0x23d)](_0xfd019d,_0xdbdf40,_0x58ce60,_0x1d6067);if(_0x3a769a&&!(_0x58ce60===_0x2d1194&&_0x1d6067===_0x374134)){const _0x6b940a=this[_0x330649(0x20f)]['getSparklineById'](_0xfd019d,_0xdbdf40,_0x3a769a);if(_0x6b940a){_0x59e99c['add'](_0x3a769a);let _0x979d2d=_0x1ea676[_0x3a769a];_0x979d2d||(_0x979d2d={'config':_0x31d190[_0x330649(0x1f2)][_0x330649(0x201)](_0x6b940a[_0x330649(0x240)]),'sparklines':new _0x31d190[(_0x330649(0x1ca))](_0x6b940a[_0x330649(0x15c)][_0x330649(0x1bc)]())},_0x1ea676[_0x3a769a]=_0x979d2d),_0x979d2d['sparklines'][_0x330649(0x1bd)](_0x58ce60,_0x1d6067),_0x30a654[_0x3a769a]={'config':_0x31d190[_0x330649(0x1f2)]['deepClone'](_0x6b940a['config']),'sparklines':_0x31d190[_0x330649(0x1f2)][_0x330649(0x201)](_0x6b940a[_0x330649(0x15c)][_0x330649(0x1bc)]())};}}});});for(const [_0xb587be,_0x240d61]of _0x3703ea){const _0x1c0a91=_0x240d61[_0xa24bb(0x15c)];_0x1c0a91['forValue']((_0x46dcc2,_0x590c67,_0xd6d8b4)=>{const _0x16d0a7=_0xa24bb;for(let _0x23226a=0x0;_0x23226a<_0x96913a[_0x16d0a7(0x1d5)];_0x23226a++){const _0x85ce76=_0x96913a[_0x23226a];if(_0x31d190[_0x16d0a7(0x16d)][_0x16d0a7(0x204)](_0x85ce76,_0xd6d8b4)){_0x59e99c['add'](_0xb587be);let _0x3b87d8=_0x1ea676[_0xb587be];_0x3b87d8||(_0x3b87d8={'config':_0x31d190[_0x16d0a7(0x1f2)][_0x16d0a7(0x201)](_0x240d61[_0x16d0a7(0x240)]),'sparklines':new _0x31d190[(_0x16d0a7(0x1ca))](_0x1c0a91['clone']())},_0x1ea676[_0xb587be]=_0x3b87d8),_0x3b87d8['sparklines'][_0x16d0a7(0x1bd)](_0x46dcc2,_0x590c67),_0x30a654[_0xb587be]||(_0x30a654[_0xb587be]={'config':_0x31d190[_0x16d0a7(0x1f2)][_0x16d0a7(0x201)](_0x240d61[_0x16d0a7(0x240)]),'sparklines':_0x31d190['Tools'][_0x16d0a7(0x201)](_0x1c0a91['clone']())});}}});}const _0x56a059={};Object[_0xa24bb(0x25a)](_0x1ea676)[_0xa24bb(0x19b)](([_0x174974,_0x110364])=>{const _0x50245b=_0xa24bb;_0x110364[_0x50245b(0x15c)][_0x50245b(0x224)]()&&(_0x56a059[_0x174974]={'config':_0x110364['config'],'sparklines':_0x110364[_0x50245b(0x15c)][_0x50245b(0x1bc)]()});}),_0x59e99c[_0xa24bb(0x1a5)]&&(_0x3c2414[_0xa24bb(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'groupIds':Array[_0xa24bb(0x1fe)](_0x59e99c),'isSingle':!0x1}}),_0x418a1['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'groupIds':Array[_0xa24bb(0x1fe)](_0x59e99c),'isSingle':!0x1}}),_0x3c2414[_0xa24bb(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'sparklineConfigMap':_0x56a059}}),_0x418a1[_0xa24bb(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0xfd019d,'subUnitId':_0xdbdf40,'sparklineConfigMap':_0x30a654}}));}return{'redos':_0x3c2414,'undos':_0x418a1};}}));}};_0x5110d3=_0x5e29af([_0x1f4f33(0x0,_0x31d190['Inject'](_0x31d190['ICommandService'])),_0x1f4f33(0x1,_0x31d190['Inject'](_0x25282a[_0x15ed9a(0x178)])),_0x1f4f33(0x2,_0x31d190['Inject'](_0x33c1ed[_0x15ed9a(0x159)]))],_0x5110d3);var _0x5c1dc2=Object[_0x15ed9a(0x1cd)],_0x1b2ef9=(_0x2c9cd4,_0x1f0eb6,_0x373e16,_0x5ae55d)=>{for(var _0x5e5eac=_0x5ae55d>0x1?void 0x0:_0x5ae55d?_0x5c1dc2(_0x1f0eb6,_0x373e16):_0x1f0eb6,_0x220952=_0x2c9cd4['length']-0x1,_0x480fa6;_0x220952>=0x0;_0x220952--)(_0x480fa6=_0x2c9cd4[_0x220952])&&(_0x5e5eac=_0x480fa6(_0x5e5eac)||_0x5e5eac);return _0x5e5eac;},_0x35dbad=(_0x3a8e34,_0x4f23d9)=>(_0x52d8ee,_0x3841a)=>_0x4f23d9(_0x52d8ee,_0x3841a,_0x3a8e34);let _0x35feee=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x36f20e,_0x22daba,_0x5886ff,_0xaee44){const _0x2c3030=_0x15ed9a;super(),_0x2c41c4(this,_0x2c3030(0x1de),new _0x31d190[(_0x2c3030(0x176))]()),(this['_commandService']=_0x36f20e,this['_refRangeService']=_0x22daba,this[_0x2c3030(0x1c6)]=_0x5886ff,this[_0x2c3030(0x20f)]=_0xaee44,this['_onRefRangeChange'](),this[_0x2c3030(0x17c)]());}[_0x15ed9a(0x1cb)](){const _0x376d9a=_0x15ed9a,_0x5d2b18=(_0x44e5ac,_0x4be085)=>{const _0x5715da=_0x593e,_0x39f3ec=this[_0x5715da(0x1c6)]['getCurrentUnitForType'](_0x31d190[_0x5715da(0x20a)]['UNIVER_SHEET']);if(!_0x39f3ec||!(_0x39f3ec==null?void 0x0:_0x39f3ec[_0x5715da(0x1c3)](_0x4be085)))return;this[_0x5715da(0x1de)]['dispose']();const _0x299360=_0x398de7=>this[_0x5715da(0x218)](_0x398de7,_0x44e5ac,_0x4be085),_0x360c03=[],_0x124722=this[_0x5715da(0x20f)]['getSubUnitSparkline'](_0x44e5ac,_0x4be085);if(_0x124722){for(const [_0x28c7d9,_0x35d84c]of _0x124722)_0x35d84c[_0x5715da(0x15c)][_0x5715da(0x1c1)]((_0x6e3f06,_0x521b68,_0x194e5c)=>{const _0x3a892a=_0x5715da,_0x1eb93e=_0x31d190[_0x3a892a(0x234)](_0x6e3f06,_0x521b68);_0x360c03['push'](_0x1eb93e);});_0x360c03[_0x5715da(0x19b)](_0x30b866=>{const _0x1f77b0=_0x5715da;this['disposableCollection'][_0x1f77b0(0x1a9)](this[_0x1f77b0(0x1f1)][_0x1f77b0(0x15e)](_0x30b866,_0x299360,_0x44e5ac,_0x4be085));});}};this[_0x376d9a(0x19f)](this[_0x376d9a(0x244)][_0x376d9a(0x16a)](_0x4aa24b=>{const _0xee0fd0=_0x376d9a;if(_0x4aa24b['id']===_0x25282a[_0xee0fd0(0x23b)]['id']){const _0x35afde=_0x4aa24b[_0xee0fd0(0x1e7)],_0x841935=_0x35afde['subUnitId'],_0x5db705=_0x35afde[_0xee0fd0(0x241)];if(!_0x841935||!_0x5db705)return;_0x5d2b18(_0x5db705,_0x841935);}if(_0x4aa24b['id']===_0x40f599['id']||_0x4aa24b['id']===_0x3f9b3d['id']){const _0x43fee7=_0x4aa24b[_0xee0fd0(0x1e7)],_0x44137f=_0x43fee7[_0xee0fd0(0x17e)],_0x39b6d5=_0x43fee7[_0xee0fd0(0x241)];if(!_0x44137f||!_0x39b6d5)return;_0x5d2b18(_0x39b6d5,_0x44137f);}}));}[_0x15ed9a(0x218)](_0x5ea239,_0x19ea7e,_0x2b53fd){const _0x393395=_0x15ed9a;switch(_0x5ea239['id']){case _0x25282a[_0x393395(0x197)]['id']:return this[_0x393395(0x1e5)](_0x5ea239[_0x393395(0x1e7)],_0x19ea7e,_0x2b53fd);case _0x25282a[_0x393395(0x1b6)]['id']:return this[_0x393395(0x205)](_0x5ea239['params'],_0x19ea7e,_0x2b53fd);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x2df6af,_0x45c15b,_0x229ea9){const _0x2f9394=_0x15ed9a;var _0x332c43,_0x8fc24;const {range:_0x35a2e7}=_0x2df6af,_0x5ef825=new Set(),_0x187513={},_0x2ad507={},_0x5e743a=[],_0x3b887c=[],_0x1233c3=[],_0x2b8ddc=[];if(!_0x25282a[_0x2f9394(0x214)](this['_univerInstanceService'],{'unitId':_0x45c15b,'subUnitId':_0x229ea9}))return{'redos':_0x3b887c,'undos':_0x5e743a};const _0x3ae3c0=this[_0x2f9394(0x20f)][_0x2f9394(0x195)](_0x45c15b,_0x229ea9);if(!_0x3ae3c0)return{'redos':_0x3b887c,'undos':_0x5e743a};if(!((_0x8fc24=(_0x332c43=this[_0x2f9394(0x20f)]['getSparklineCache']()['sparklineAnchorMap'][_0x2f9394(0x1d9)](_0x45c15b))==null?void 0x0:_0x332c43[_0x2f9394(0x1d9)](_0x229ea9))==null?void 0x0:_0x8fc24[_0x2f9394(0x1f8)]))return{'redos':_0x3b887c,'undos':_0x5e743a};for(const [_0x5ecfdc,_0x27148d]of _0x3ae3c0){const _0x32436f=_0x27148d['sparklines'];_0x32436f[_0x2f9394(0x1c1)]((_0x30438c,_0x318065,_0x243c41)=>{const _0x163e82=_0x2f9394;if(_0x31d190[_0x163e82(0x16d)][_0x163e82(0x15a)](_0x35a2e7,_0x243c41)){_0x5ef825[_0x163e82(0x1a9)](_0x5ecfdc);let _0x44fbd7=_0x2ad507[_0x5ecfdc];_0x44fbd7||(_0x44fbd7={'config':_0x27148d['config'],'sparklines':_0x27148d[_0x163e82(0x15c)][_0x163e82(0x1bc)]()},_0x2ad507[_0x5ecfdc]=_0x44fbd7);let _0x596cac=_0x187513[_0x5ecfdc];_0x596cac||(_0x596cac={'config':_0x27148d[_0x163e82(0x240)],'sparklines':new _0x31d190['ObjectMatrix'](_0x27148d['sparklines']['clone']())},_0x187513[_0x5ecfdc]=_0x596cac);const _0x3054db=_0x25282a[_0x163e82(0x236)](_0x243c41,{'id':_0x25282a['RemoveRowMutation']['id'],'params':_0x2df6af});_0x3054db?_0x596cac[_0x163e82(0x15c)]['setValue'](_0x30438c,_0x318065,_0x3054db):_0x596cac['sparklines'][_0x163e82(0x1ee)](_0x30438c,_0x318065,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0x163e82(0x209)][_0x163e82(0x167)]});}}),_0x32436f[_0x2f9394(0x1c1)]((_0x3f290b,_0x3416ff,_0x32feb6)=>{const _0x219989=_0x2f9394;if(_0x3f290b<=_0x35a2e7[_0x219989(0x1e9)]&&_0x3f290b>=_0x35a2e7[_0x219989(0x1a0)]){_0x5ef825['add'](_0x5ecfdc);let _0x2ee76e=_0x2ad507[_0x5ecfdc];_0x2ee76e||(_0x2ee76e={'config':_0x27148d[_0x219989(0x240)],'sparklines':_0x27148d[_0x219989(0x15c)][_0x219989(0x1bc)]()},_0x2ad507[_0x5ecfdc]=_0x2ee76e);let _0x2221fe=_0x187513[_0x5ecfdc];_0x2221fe||(_0x2221fe={'config':_0x27148d[_0x219989(0x240)],'sparklines':new _0x31d190[(_0x219989(0x1ca))](_0x27148d[_0x219989(0x15c)]['clone']())},_0x187513[_0x5ecfdc]=_0x2221fe);}});}_0x2b8ddc[_0x2f9394(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'groupIds':Array[_0x2f9394(0x1fe)](_0x5ef825),'isSingle':!0x1}}),_0x1233c3['push']({'id':_0x38f3fd['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'groupIds':Array['from'](_0x5ef825),'isSingle':!0x1}});const _0x94d6b2={};let _0x5ebd15=!0x1;return Object[_0x2f9394(0x25a)](_0x187513)[_0x2f9394(0x19b)](([_0x18ed55,_0x55d6d3])=>{const _0x527adf=_0x2f9394;_0x55d6d3[_0x527adf(0x15c)]['getSizeOf']()&&(_0x5ebd15=!0x0,_0x55d6d3[_0x527adf(0x15c)][_0x527adf(0x1db)](_0x35a2e7[_0x527adf(0x1a0)],_0x35a2e7[_0x527adf(0x1e9)]-_0x35a2e7['startRow']+0x1),_0x94d6b2[_0x18ed55]={'config':_0x55d6d3[_0x527adf(0x240)],'sparklines':_0x55d6d3[_0x527adf(0x15c)]['clone']()});}),_0x5ebd15&&_0x3b887c[_0x2f9394(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'sparklineConfigMap':_0x94d6b2}}),_0x5e743a['push']({'id':_0x3f9b3d['id'],'params':{'unitId':_0x45c15b,'subUnitId':_0x229ea9,'sparklineConfigMap':_0x2ad507}}),{'redos':_0x3b887c,'undos':_0x5e743a,'preRedos':_0x1233c3,'preUndos':_0x2b8ddc};}[_0x15ed9a(0x1e5)](_0x3daefa,_0x478a77,_0x50efda){const _0x19559d=_0x15ed9a;var _0x13dc0e,_0x43c133;const {range:_0x41d2e0}=_0x3daefa,_0x26ed34=new Set(),_0x36abd6={},_0x19e73b={},_0xa5c188=[],_0x575597=[],_0x1e671b=[],_0x14c538=[];if(!_0x25282a['getSheetCommandTarget'](this[_0x19559d(0x1c6)],{'unitId':_0x478a77,'subUnitId':_0x50efda}))return{'redos':_0x575597,'undos':_0xa5c188};const _0xa3fa40=this[_0x19559d(0x20f)]['getSubUnitSparkline'](_0x478a77,_0x50efda);if(!_0xa3fa40)return{'redos':_0x575597,'undos':_0xa5c188};if(!((_0x43c133=(_0x13dc0e=this['_sparklineDataSourceModel'][_0x19559d(0x169)]()[_0x19559d(0x22b)][_0x19559d(0x1d9)](_0x478a77))==null?void 0x0:_0x13dc0e[_0x19559d(0x1d9)](_0x50efda))==null?void 0x0:_0x43c133['matrix']))return{'redos':_0x575597,'undos':_0xa5c188};for(const [_0x48be79,_0x114291]of _0xa3fa40){const _0x331e97=_0x114291['sparklines'];_0x331e97['forValue']((_0x1bc635,_0x5ef61f,_0x331a20)=>{const _0x427114=_0x19559d;if(_0x31d190[_0x427114(0x16d)]['intersects'](_0x41d2e0,_0x331a20)){_0x26ed34[_0x427114(0x1a9)](_0x48be79);let _0x55afa8=_0x19e73b[_0x48be79];_0x55afa8||(_0x55afa8={'config':_0x114291[_0x427114(0x240)],'sparklines':_0x114291[_0x427114(0x15c)][_0x427114(0x1bc)]()},_0x19e73b[_0x48be79]=_0x55afa8);let _0x82efe1=_0x36abd6[_0x48be79];_0x82efe1||(_0x82efe1={'config':_0x114291[_0x427114(0x240)],'sparklines':new _0x31d190[(_0x427114(0x1ca))](_0x114291[_0x427114(0x15c)]['clone']())},_0x36abd6[_0x48be79]=_0x82efe1);const _0x5aadcf=_0x25282a[_0x427114(0x236)](_0x331a20,{'id':_0x25282a['RemoveColMutation']['id'],'params':_0x3daefa});_0x5aadcf?_0x82efe1[_0x427114(0x15c)][_0x427114(0x1ee)](_0x1bc635,_0x5ef61f,_0x5aadcf):_0x82efe1['sparklines'][_0x427114(0x1ee)](_0x1bc635,_0x5ef61f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190['RANGE_TYPE'][_0x427114(0x167)]});}}),_0x331e97['forValue']((_0x518e99,_0x570634,_0x39e1cb)=>{const _0x236033=_0x19559d;if(_0x570634<=_0x41d2e0['endColumn']&&_0x570634>=_0x41d2e0[_0x236033(0x168)]){_0x26ed34[_0x236033(0x1a9)](_0x48be79);let _0x913280=_0x19e73b[_0x48be79];_0x913280||(_0x913280={'config':_0x114291[_0x236033(0x240)],'sparklines':_0x114291[_0x236033(0x15c)][_0x236033(0x1bc)]()},_0x19e73b[_0x48be79]=_0x913280);let _0x29bb3c=_0x36abd6[_0x48be79];_0x29bb3c||(_0x29bb3c={'config':_0x114291[_0x236033(0x240)],'sparklines':new _0x31d190['ObjectMatrix'](_0x114291['sparklines'][_0x236033(0x1bc)]())},_0x36abd6[_0x48be79]=_0x29bb3c);}});}_0x14c538[_0x19559d(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'groupIds':Array[_0x19559d(0x1fe)](_0x26ed34),'isSingle':!0x1}}),_0x1e671b[_0x19559d(0x1c0)]({'id':_0x38f3fd['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'groupIds':Array[_0x19559d(0x1fe)](_0x26ed34),'isSingle':!0x1}});const _0x345bd6={};let _0x558d2a=!0x1;return Object['entries'](_0x36abd6)[_0x19559d(0x19b)](([_0x1387c6,_0x2ae367])=>{const _0x5edc6f=_0x19559d;_0x2ae367['sparklines']['getSizeOf']()&&(_0x558d2a=!0x0,_0x2ae367[_0x5edc6f(0x15c)]['removeColumns'](_0x41d2e0[_0x5edc6f(0x168)],_0x41d2e0[_0x5edc6f(0x1d2)]-_0x41d2e0[_0x5edc6f(0x168)]+0x1),_0x345bd6[_0x1387c6]={'config':_0x2ae367[_0x5edc6f(0x240)],'sparklines':_0x2ae367[_0x5edc6f(0x15c)][_0x5edc6f(0x1bc)]()});}),_0x558d2a&&_0x575597[_0x19559d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'sparklineConfigMap':_0x345bd6}}),_0xa5c188[_0x19559d(0x1c0)]({'id':_0x3f9b3d['id'],'params':{'unitId':_0x478a77,'subUnitId':_0x50efda,'sparklineConfigMap':_0x19e73b}}),{'redos':_0x575597,'undos':_0xa5c188,'preRedos':_0x1e671b,'preUndos':_0x14c538};}[_0x15ed9a(0x17c)](){const _0x1dd0d0=_0x15ed9a;this[_0x1dd0d0(0x19f)](this[_0x1dd0d0(0x244)][_0x1dd0d0(0x16a)](_0x4d4130=>{const _0x3b9232=_0x1dd0d0;if(_0x4d4130['id']===_0x25282a['InsertColMutation']['id']){const _0xd86496=_0x4d4130['params'],{unitId:_0x890ffb,subUnitId:_0x1407a6,range:_0x119b3d}=_0xd86496,_0x181cce=_0x119b3d['startColumn'],_0x221291=_0x119b3d[_0x3b9232(0x1d2)]-_0x119b3d['startColumn']+0x1,_0x50c568=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x890ffb,_0x1407a6);if(!_0x50c568)return;for(const [_0x2fab7e,_0x51bd3a]of _0x50c568){this['_sparklineDataSourceModel'][_0x3b9232(0x211)](_0x890ffb,_0x1407a6,_0x2fab7e);const _0x4d91a0=_0x51bd3a['sparklines'];_0x4d91a0[_0x3b9232(0x1c1)]((_0xa9a408,_0x5c1bf3,_0x490a21)=>{const _0x47bc12=_0x3b9232,_0x444d2c={..._0x490a21};_0x181cce<=_0x444d2c['startColumn']?(_0x444d2c['startColumn']+=_0x221291,_0x444d2c[_0x47bc12(0x1d2)]+=_0x221291):_0x181cce>_0x444d2c[_0x47bc12(0x1d2)]||(_0x444d2c['endColumn']+=_0x221291),_0x4d91a0[_0x47bc12(0x1ee)](_0xa9a408,_0x5c1bf3,_0x444d2c);});const _0x35c70e=_0x4d91a0[_0x3b9232(0x20c)]();for(const _0x2fdf38 in _0x35c70e){const _0x2427cb=_0x35c70e[Number(_0x2fdf38)];if(!_0x2427cb)continue;const _0x5c5b1d=Object[_0x3b9232(0x1d6)](_0x2427cb)['map'](Number),_0x201e36=Math[_0x3b9232(0x249)](..._0x5c5b1d);for(let _0x105437=_0x201e36;_0x105437>=_0x181cce;_0x105437--)_0x105437>=_0x181cce&&_0x2427cb[_0x105437]&&(_0x2427cb[_0x105437+_0x221291]=_0x2427cb[_0x105437],delete _0x2427cb[_0x105437]);}this[_0x3b9232(0x20f)]['updateSparklineExtraNum'](_0x890ffb,_0x1407a6,_0x2fab7e);}}else{if(_0x4d4130['id']===_0x25282a['InsertRowMutation']['id']){const _0xdceb3a=_0x4d4130['params'],{unitId:_0x20d039,subUnitId:_0xbb774c,range:_0x676de5}=_0xdceb3a,_0x2c9cdf=_0x676de5[_0x3b9232(0x1a0)],_0x4096ad=_0x676de5[_0x3b9232(0x1e9)]-_0x676de5['startRow']+0x1,_0xc62708=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x20d039,_0xbb774c);if(!_0xc62708)return;for(const [_0x133dda,_0x55789c]of _0xc62708){this[_0x3b9232(0x20f)][_0x3b9232(0x211)](_0x20d039,_0xbb774c,_0x133dda);const _0x414523=_0x55789c[_0x3b9232(0x15c)];_0x414523['forValue']((_0x23098f,_0x18f96b,_0x5e0845)=>{const _0x419a02=_0x3b9232,_0x1aa890={..._0x5e0845};_0x2c9cdf<=_0x1aa890[_0x419a02(0x1a0)]?(_0x1aa890['startRow']+=_0x4096ad,_0x1aa890[_0x419a02(0x1e9)]+=_0x4096ad):_0x2c9cdf>_0x1aa890[_0x419a02(0x1e9)]||(_0x1aa890[_0x419a02(0x1e9)]+=_0x4096ad),_0x414523[_0x419a02(0x1ee)](_0x23098f,_0x18f96b,_0x1aa890);});const _0x49c544=_0x414523[_0x3b9232(0x20c)](),_0x5119b9=Object['keys'](_0x49c544)[_0x3b9232(0x23e)](Number),_0x59e1a5=Math[_0x3b9232(0x249)](..._0x5119b9);for(let _0x9968c=_0x59e1a5;_0x9968c>=_0x2c9cdf;_0x9968c--)_0x9968c>=_0x2c9cdf&&_0x49c544[_0x9968c]&&(_0x49c544[_0x9968c+_0x4096ad]=_0x49c544[_0x9968c],delete _0x49c544[_0x9968c]);this[_0x3b9232(0x20f)][_0x3b9232(0x1ef)](_0x20d039,_0xbb774c,_0x133dda);}}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x21f)]['id']){const _0x32b824=_0x4d4130['params'],{range:_0x2521cc,unitId:_0x1e521c,subUnitId:_0x379d3b}=_0x32b824,_0x58ca03=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x1e521c,_0x379d3b);if(!_0x58ca03)return;for(const [_0x305a3a,_0x2d004a]of _0x58ca03){const _0x3866fd=_0x2d004a[_0x3b9232(0x15c)];_0x3866fd[_0x3b9232(0x1c1)]((_0x54ed37,_0x417999,_0xb179c4)=>{const _0xf3ce41=_0x3b9232,_0x574907=_0x25282a[_0xf3ce41(0x236)](_0xb179c4,_0x4d4130);_0x574907?_0x3866fd[_0xf3ce41(0x1ee)](_0x54ed37,_0x417999,_0x574907):_0x3866fd[_0xf3ce41(0x1ee)](_0x54ed37,_0x417999,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0xf3ce41(0x209)][_0xf3ce41(0x167)]});}),_0x3866fd[_0x3b9232(0x22c)](_0x2521cc['startColumn'],_0x2521cc[_0x3b9232(0x1d2)]-_0x2521cc['startColumn']+0x1);}this['_sparklineDataSourceModel'][_0x3b9232(0x1f5)](_0x1e521c,_0x379d3b);}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x196)]['id']){const _0x4dd5de=_0x4d4130[_0x3b9232(0x1e7)],{range:_0x39d003,unitId:_0x4c4617,subUnitId:_0x92a51}=_0x4dd5de,_0x2f2f83=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x4c4617,_0x92a51);if(!_0x2f2f83)return;for(const [_0x45722f,_0x564efc]of _0x2f2f83){const _0x37f9fc=_0x564efc[_0x3b9232(0x15c)];_0x37f9fc['forValue']((_0x539919,_0x4ae95f,_0x27c8e6)=>{const _0x4fef70=_0x3b9232,_0x53dc5e=_0x25282a[_0x4fef70(0x236)](_0x27c8e6,_0x4d4130);_0x53dc5e?_0x37f9fc['setValue'](_0x539919,_0x4ae95f,_0x53dc5e):_0x37f9fc[_0x4fef70(0x1ee)](_0x539919,_0x4ae95f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0x4fef70(0x209)]['NORMAL']});}),_0x37f9fc[_0x3b9232(0x1db)](_0x39d003[_0x3b9232(0x1a0)],_0x39d003[_0x3b9232(0x1e9)]-_0x39d003[_0x3b9232(0x1a0)]+0x1);}this[_0x3b9232(0x20f)][_0x3b9232(0x1f5)](_0x4c4617,_0x92a51);}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x232)]['id']){const _0x3ee380=_0x4d4130[_0x3b9232(0x1e7)],{unitId:_0x147d33,subUnitId:_0x570d91,sourceRange:_0x113d6e,targetRange:_0x3e3ec7}=_0x3ee380,_0x34a401=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x147d33,_0x570d91);if(!_0x34a401)return;for(const [_0x1f8233,_0x47e778]of _0x34a401){const _0x61b329=_0x47e778['sparklines'];_0x61b329[_0x3b9232(0x1c1)]((_0x326183,_0x3927d9,_0x1c8191)=>{const _0xec349e=_0x3b9232,_0x27b134=_0x25282a[_0xec349e(0x236)](_0x1c8191,_0x4d4130);_0x27b134?_0x61b329[_0xec349e(0x1ee)](_0x326183,_0x3927d9,_0x27b134):_0x61b329[_0xec349e(0x1ee)](_0x326183,_0x3927d9,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190[_0xec349e(0x209)]['NORMAL']});}),_0x61b329[_0x3b9232(0x24c)](_0x113d6e[_0x3b9232(0x168)],_0x113d6e['endColumn']-_0x113d6e[_0x3b9232(0x168)]+0x1,_0x3e3ec7[_0x3b9232(0x168)]);}this[_0x3b9232(0x20f)]['reBuildAnchorCache'](_0x147d33,_0x570d91);}else{if(_0x4d4130['id']===_0x25282a['MoveRowsMutation']['id']){const _0x9a0676=_0x4d4130[_0x3b9232(0x1e7)],{unitId:_0x403253,subUnitId:_0x54ff8a,sourceRange:_0x3731de,targetRange:_0x20039d}=_0x9a0676,_0x593e27=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x403253,_0x54ff8a);if(!_0x593e27)return;for(const [_0x238b17,_0x28f4e7]of _0x593e27){const _0x497d56=_0x28f4e7[_0x3b9232(0x15c)];_0x497d56[_0x3b9232(0x1c1)]((_0x21f106,_0x6f13b8,_0x4a03da)=>{const _0x1da13c=_0x3b9232,_0x167e0d=_0x25282a[_0x1da13c(0x236)](_0x4a03da,_0x4d4130);_0x167e0d?_0x497d56['setValue'](_0x21f106,_0x6f13b8,_0x167e0d):_0x497d56[_0x1da13c(0x1ee)](_0x21f106,_0x6f13b8,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x31d190['RANGE_TYPE'][_0x1da13c(0x167)]});}),_0x497d56[_0x3b9232(0x210)](_0x3731de[_0x3b9232(0x1a0)],_0x3731de['endRow']-_0x3731de[_0x3b9232(0x1a0)]+0x1,_0x20039d['startRow']);}this[_0x3b9232(0x20f)][_0x3b9232(0x1f5)](_0x403253,_0x54ff8a);}else{if(_0x4d4130['id']===_0x25282a[_0x3b9232(0x255)]['id']){const _0x1302e4=_0x4d4130[_0x3b9232(0x1e7)],{fromRange:_0x3a1d81,toRange:_0x29538d,unitId:_0x1b2332,from:_0xcd74d7,to:_0x24597d}=_0x1302e4;if(_0xcd74d7[_0x3b9232(0x17e)]!==_0x24597d[_0x3b9232(0x17e)])return;const _0x3b5fad=_0xcd74d7[_0x3b9232(0x17e)],{startRow:_0x4d7b81,endRow:_0x4c4f80,startColumn:_0x2d2ff9,endColumn:_0x3de175}=_0x3a1d81,{startRow:_0x2dd2b8,startColumn:_0x392c12}=_0x29538d,_0x286b90=_0x2dd2b8-_0x4d7b81,_0x20ccea=_0x392c12-_0x2d2ff9,_0x425048=this[_0x3b9232(0x20f)][_0x3b9232(0x195)](_0x1b2332,_0x3b5fad);if(!(_0x425048!=null&&_0x425048['size']))return;for(let _0x5d0d63=_0x4d7b81;_0x5d0d63<=_0x4c4f80;_0x5d0d63++)for(let _0x4d6858=_0x2d2ff9;_0x4d6858<=_0x3de175;_0x4d6858++){const _0x4bb677=this[_0x3b9232(0x20f)][_0x3b9232(0x23d)](_0x1b2332,_0x3b5fad,_0x5d0d63,_0x4d6858);if(_0x4bb677){const _0x2579e8=this[_0x3b9232(0x20f)][_0x3b9232(0x248)](_0x1b2332,_0x3b5fad,_0x4bb677);if(_0x2579e8){const _0x4f51de=_0x2579e8[_0x3b9232(0x15c)][_0x3b9232(0x1da)](_0x5d0d63,_0x4d6858);_0x4f51de&&(_0x2579e8[_0x3b9232(0x15c)][_0x3b9232(0x1ee)](_0x5d0d63+_0x286b90,_0x4d6858+_0x20ccea,_0x4f51de),_0x2579e8[_0x3b9232(0x15c)][_0x3b9232(0x1bd)](_0x5d0d63,_0x4d6858));}}}for(const [_0x583990,_0x344fad]of _0x425048){const _0x336032=_0x344fad[_0x3b9232(0x15c)];_0x336032[_0x3b9232(0x1c1)]((_0x4e0010,_0x5416c8,_0x267242)=>{const _0x289ef3=_0x3b9232,_0x112484={..._0x267242};_0x31d190[_0x289ef3(0x16d)][_0x289ef3(0x204)](_0x3a1d81,_0x267242)&&(_0x112484['startRow']+=_0x286b90,_0x112484['endRow']+=_0x286b90,_0x112484[_0x289ef3(0x168)]+=_0x20ccea,_0x112484[_0x289ef3(0x1d2)]+=_0x20ccea),_0x336032['setValue'](_0x4e0010,_0x5416c8,_0x112484);});}this[_0x3b9232(0x20f)]['reBuildAnchorCache'](_0x1b2332,_0x3b5fad);}}}}}}}}));}};_0x35feee=_0x1b2ef9([_0x35dbad(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x192)])),_0x35dbad(0x1,_0x31d190['Inject'](_0x25282a[_0x15ed9a(0x1ab)])),_0x35dbad(0x2,_0x31d190[_0x15ed9a(0x1c8)]),_0x35dbad(0x3,_0x31d190['Inject'](_0x33c1ed['SparklineDataSourceModel']))],_0x35feee);var _0x5cc164=Object[_0x15ed9a(0x1cd)],_0x284c39=(_0x1d1fc9,_0x4c3ccb,_0x53731d,_0x3f63b5)=>{for(var _0x433e40=_0x3f63b5>0x1?void 0x0:_0x3f63b5?_0x5cc164(_0x4c3ccb,_0x53731d):_0x4c3ccb,_0x331047=_0x1d1fc9['length']-0x1,_0x40b53a;_0x331047>=0x0;_0x331047--)(_0x40b53a=_0x1d1fc9[_0x331047])&&(_0x433e40=_0x40b53a(_0x433e40)||_0x433e40);return _0x433e40;},_0x2bc838=(_0x67b812,_0x413a29)=>(_0x2a1f09,_0x555291)=>_0x413a29(_0x2a1f09,_0x555291,_0x67b812);let _0x31876e=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x12d391,_0x16fc4a,_0x13d183){const _0x11214b=_0x15ed9a;super(),this['_univerInstanceService']=_0x12d391,this[_0x11214b(0x252)]=_0x16fc4a,this[_0x11214b(0x20f)]=_0x13d183,this[_0x11214b(0x25b)]();}['_initSheetChange'](){const _0x12fce0=_0x15ed9a;this[_0x12fce0(0x19f)](this[_0x12fce0(0x252)][_0x12fce0(0x1bb)]({'getMutations':_0x364a4d=>{const _0x3bd804=_0x12fce0;var _0x1b2d4b;if(_0x364a4d['id']===_0x25282a['RemoveSheetCommand']['id']){const _0x56ac45=_0x364a4d[_0x3bd804(0x1e7)],_0x586144=_0x56ac45['unitId']||this['_univerInstanceService'][_0x3bd804(0x215)](_0x31d190[_0x3bd804(0x20a)][_0x3bd804(0x185)])[_0x3bd804(0x1d0)](),_0x4ea4b4=_0x56ac45[_0x3bd804(0x17e)]||((_0x1b2d4b=this['_univerInstanceService']['getCurrentUnitOfType'](_0x31d190[_0x3bd804(0x20a)][_0x3bd804(0x185)])[_0x3bd804(0x220)]())==null?void 0x0:_0x1b2d4b[_0x3bd804(0x17b)]());if(!_0x586144||!_0x4ea4b4)return{'redos':[],'undos':[]};const _0x3752d2=this[_0x3bd804(0x20f)][_0x3bd804(0x195)](_0x586144,_0x4ea4b4);if(!_0x3752d2)return{'redos':[],'undos':[]};const _0x34737=new Set(),_0x8292d3={};for(const [_0x39e9dd,_0x26ab71]of _0x3752d2)_0x34737[_0x3bd804(0x1a9)](_0x39e9dd),_0x8292d3[_0x39e9dd]={'config':_0x31d190['Tools'][_0x3bd804(0x201)](_0x26ab71['config']),'sparklines':_0x31d190[_0x3bd804(0x1f2)][_0x3bd804(0x201)](_0x26ab71[_0x3bd804(0x15c)][_0x3bd804(0x1bc)]())};if(_0x34737[_0x3bd804(0x1a5)])return{'redos':[{'id':_0x38f3fd['id'],'params':{'unitId':_0x586144,'subUnitId':_0x4ea4b4,'groupIds':Array[_0x3bd804(0x1fe)](_0x34737),'isSingle':!0x1}}],'undos':[{'id':_0x3f9b3d['id'],'params':{'unitId':_0x586144,'subUnitId':_0x4ea4b4,'sparklineConfigMap':_0x8292d3}}]};}else{if(_0x364a4d['id']===_0x25282a[_0x3bd804(0x177)]['id']){const _0x345f5e=_0x364a4d[_0x3bd804(0x1e7)],{unitId:_0x3286fb,subUnitId:_0x40e56f,targetSubUnitId:_0x477c35}=_0x345f5e;if(!_0x3286fb||!_0x40e56f||!_0x477c35)return{'redos':[],'undos':[]};const _0x9b9e14=this[_0x3bd804(0x20f)][_0x3bd804(0x195)](_0x3286fb,_0x40e56f);if(!_0x9b9e14)return{'redos':[],'undos':[]};const _0x252743=new Set(),_0x1ed8bd={};for(const [_0x5b89de,_0x17e9a5]of _0x9b9e14){const _0x1d83f1='g_'+_0x31d190['generateRandomId'](0x6);_0x252743['add'](_0x5b89de),_0x1ed8bd[_0x1d83f1]={'config':_0x31d190['Tools']['deepClone'](_0x17e9a5[_0x3bd804(0x240)]),'sparklines':_0x31d190[_0x3bd804(0x1f2)][_0x3bd804(0x201)](_0x17e9a5[_0x3bd804(0x15c)]['clone']())};}if(_0x252743['size'])return{'redos':[{'id':_0x3f9b3d['id'],'params':{'unitId':_0x3286fb,'subUnitId':_0x477c35,'sparklineConfigMap':_0x1ed8bd}}],'undos':[{'id':_0x38f3fd['id'],'params':{'unitId':_0x3286fb,'subUnitId':_0x477c35,'groupIds':Array[_0x3bd804(0x1fe)](_0x252743),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x31876e=_0x284c39([_0x2bc838(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x1c8)])),_0x2bc838(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x25282a[_0x15ed9a(0x178)])),_0x2bc838(0x2,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)]))],_0x31876e);var _0x3a825b=Object[_0x15ed9a(0x1cd)],_0xd83ceb=(_0x4c5e58,_0x568a8d,_0xe09aa8,_0xcaee1a)=>{for(var _0x5aabad=_0xcaee1a>0x1?void 0x0:_0xcaee1a?_0x3a825b(_0x568a8d,_0xe09aa8):_0x568a8d,_0x19bd80=_0x4c5e58['length']-0x1,_0x378135;_0x19bd80>=0x0;_0x19bd80--)(_0x378135=_0x4c5e58[_0x19bd80])&&(_0x5aabad=_0x378135(_0x5aabad)||_0x5aabad);return _0x5aabad;},_0x333873=(_0xbd1820,_0x5620e9)=>(_0x3df0bf,_0x22cf41)=>_0x5620e9(_0x3df0bf,_0x22cf41,_0xbd1820);let _0x5932ab=class extends _0x31d190[_0x15ed9a(0x1e6)]{constructor(_0x4deb56,_0x501b90){const _0x421557=_0x15ed9a;super(),this[_0x421557(0x1a8)]=_0x4deb56,this['_sparklineDataSourceModel']=_0x501b90,this[_0x421557(0x20e)]();}[_0x15ed9a(0x20e)](){const _0x35bd86=_0x15ed9a,_0x463e5d=_0x5bcbdf=>{const _0x3a04a6=_0x593e,_0x2a66f7=this[_0x3a04a6(0x20f)]['toJSON'](_0x5bcbdf);return _0x2a66f7?JSON[_0x3a04a6(0x1aa)](_0x2a66f7):'';},_0x565324=_0x4d8536=>_0x4d8536?JSON[_0x35bd86(0x1a2)](_0x4d8536):{};this[_0x35bd86(0x19f)](this[_0x35bd86(0x1a8)][_0x35bd86(0x22d)]({'toJson':_0x463e5d,'parseJson':_0x565324,'pluginName':_0x2bdcee,'businesses':[_0x31d190[_0x35bd86(0x20a)][_0x35bd86(0x185)]],'onLoad':(_0x119664,_0x235792)=>{const _0x4b729c=_0x35bd86;this[_0x4b729c(0x20f)][_0x4b729c(0x228)](_0x235792);},'onUnLoad':_0x3473ae=>{this['_sparklineDataSourceModel']['deleteUnit'](_0x3473ae);}}));}};_0x5932ab=_0xd83ceb([_0x333873(0x0,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x183)])),_0x333873(0x1,_0x31d190[_0x15ed9a(0x1b3)](_0x33c1ed[_0x15ed9a(0x159)]))],_0x5932ab);var _0x2645e8=Object[_0x15ed9a(0x254)],_0x3e6926=Object['getOwnPropertyDescriptor'],_0x5caa1d=(_0x5da73a,_0x4c03ef,_0x289967)=>_0x4c03ef in _0x5da73a?_0x2645e8(_0x5da73a,_0x4c03ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x289967}):_0x5da73a[_0x4c03ef]=_0x289967,_0x45a09d=(_0x565922,_0x43854b,_0x574c52,_0x5e0962)=>{for(var _0x29f91c=_0x5e0962>0x1?void 0x0:_0x5e0962?_0x3e6926(_0x43854b,_0x574c52):_0x43854b,_0xb69e=_0x565922['length']-0x1,_0x1d5f51;_0xb69e>=0x0;_0xb69e--)(_0x1d5f51=_0x565922[_0xb69e])&&(_0x29f91c=_0x1d5f51(_0x29f91c)||_0x29f91c);return _0x29f91c;},_0xc1df5=(_0x49c581,_0x33d3fa)=>(_0x2aadaa,_0x4022e9)=>_0x33d3fa(_0x2aadaa,_0x4022e9,_0x49c581),_0x596041=(_0x49d448,_0x597b96,_0x1d0aa9)=>_0x5caa1d(_0x49d448,typeof _0x597b96!='symbol'?_0x597b96+'':_0x597b96,_0x1d0aa9);_0x33c1ed['UniverSheetSparklinePlugin']=class extends _0x31d190[_0x15ed9a(0x1fa)]{constructor(_0xe461b2={},_0x529332,_0x6492e1){const _0x6f4f0c=_0x15ed9a;super(),this[_0x6f4f0c(0x203)]=_0xe461b2,this[_0x6f4f0c(0x1ae)]=_0x529332,this['_commandService']=_0x6492e1,this['_initDependencies'](),this[_0x6f4f0c(0x1f7)]();}[_0x15ed9a(0x245)](){const _0x492821=_0x15ed9a;[[_0x33c1ed[_0x492821(0x159)]],[_0x4973e3],[_0x5110d3],[_0x496dde],[_0x35feee],[_0x34823e],[_0x31876e],[_0x5932ab]]['forEach'](_0x4131af=>{const _0x23e7cd=_0x492821;this['_injector'][_0x23e7cd(0x1a9)](_0x4131af);}),_0x31d190['touchDependencies'](this[_0x492821(0x1ae)],[[_0x5932ab]]);}[_0x15ed9a(0x226)](){const _0x15e99b=_0x15ed9a;_0x31d190[_0x15e99b(0x1b0)](this[_0x15e99b(0x1ae)],[[_0x4973e3],[_0x5110d3],[_0x496dde],[_0x35feee],[_0x34823e],[_0x31876e]]);}[_0x15ed9a(0x1f7)](){const _0x363f7a=_0x15ed9a;[_0x4331aa,_0x3f9b3d,_0x43b5a7,_0x38f3fd,_0x46f7a6,_0x40f599][_0x363f7a(0x19b)](_0x144727=>this[_0x363f7a(0x244)][_0x363f7a(0x173)](_0x144727));}},_0x596041(_0x33c1ed[_0x15ed9a(0x21a)],_0x15ed9a(0x1e1),_0x2bdcee),_0x596041(_0x33c1ed[_0x15ed9a(0x21a)],_0x15ed9a(0x1eb),_0x31d190['UniverInstanceType'][_0x15ed9a(0x185)]),_0x33c1ed[_0x15ed9a(0x21a)]=_0x45a09d([_0x31d190[_0x15ed9a(0x1ce)](_0x885d29[_0x15ed9a(0x175)]),_0xc1df5(0x1,_0x31d190['Inject'](_0x31d190[_0x15ed9a(0x184)])),_0xc1df5(0x2,_0x31d190[_0x15ed9a(0x1b3)](_0x31d190[_0x15ed9a(0x192)]))],_0x33c1ed['UniverSheetSparklinePlugin']),_0x33c1ed[_0x15ed9a(0x253)]=_0x4331aa,_0x33c1ed[_0x15ed9a(0x15f)]=_0x3f9b3d,_0x33c1ed[_0x15ed9a(0x235)]=_0x2bdcee,_0x33c1ed[_0x15ed9a(0x221)]=_0x43b5a7,_0x33c1ed['RemoveSheetSparklineMutation']=_0x38f3fd,_0x33c1ed['SetSheetSparklineCommand']=_0x46f7a6,_0x33c1ed[_0x15ed9a(0x1c7)]=_0x40f599,_0x33c1ed['SpacialShowAsEnum']=_0x4ddcc1,_0x33c1ed[_0x15ed9a(0x1f0)]=_0x22bf49,_0x33c1ed[_0x15ed9a(0x1ea)]=_0x4da1af,_0x33c1ed[_0x15ed9a(0x1c9)]=_0x425d02,_0x33c1ed['SparklineThemeTypeEnum']=_0x1ed78d,_0x33c1ed['SparklineTypeEnum']=_0x11d5e6,_0x33c1ed['getSparklinePlacement']=_0x68a83c,Object[_0x15ed9a(0x254)](_0x33c1ed,Symbol[_0x15ed9a(0x250)],{'value':_0x15ed9a(0x21d)});}));function _0x593e(_0x2bc704,_0x1fde9c){_0x2bc704=_0x2bc704-0x159;const _0x3803fe=_0x3803();let _0x593e96=_0x3803fe[_0x2bc704];return _0x593e96;}function _0x3803(){const _0x4f358a=['LINE_CHART','SparklineDataSourceModel','intersects','_ensureConfigMap','sparklines','STANDARD','registerRefRange','AddSheetSparklineMutation','SELF_EXTREMUM','sheet.mutation.set-sparkline','rxjs','Subject','Range','_exclusiveRangeService','_ensureAnchorMatrix','NORMAL','startColumn','getSparklineCache','onCommandExecuted','foreach','ranges','Rectangle','DISTINCTIVE','assign','sheet.mutation.add-sparkline','getRowVisible','custom','registerCommand','6202375AqrjIH','UniverLicensePlugin','DisposableCollection','CopySheetCommand','SheetInterceptorService','some','addSparkline','getSheetId','_initCorrectRangeWithSparkline','PROFIT_AND_LOSS_CHART','subUnitId','CellValueType','1209mCLmsw','standard','function','IResourceManagerService','Injector','UNIVER_SHEET','getCurrentSelections','_initMergeWithSparkline','exports','has','rgb(80,102,248)','specialty','generateRandomId','533753dkGskG','UniverProLicense','removePartSparkline','sheet.command.set-sparkline','SetRowVisibleMutation','ICommandService','CUSTOM_EXTREMUM','sheet.mutation.remove-sparkline','getSubUnitSparkline','RemoveRowMutation','RemoveColCommand','PIE_CHART','getCellRaw','symbol','forEach','themeType','markersPoint','_initExclusiveRangeChange','disposeWithMe','startRow','54894iDhaNr','parse','ColorKit','rgb(124,66,147)','size','13854710xVRQKp','SHEET_SPARKLINE_PLUGIN','_resourceManagerService','add','stringify','RefRangeService','getColVisible','SOFT','_injector','hasValue','touchDependencies','UniverProSheetsSparkline','40zvptQW','Inject','SPECIALTY','SetColVisibleMutation','RemoveRowCommand','rgb(49,106,246)','sparklineModel','range','column','interceptCommand','clone','realDeleteValue','CommandType','isValidRange','push','forValue','3010yOKUjP','getSheetBySheetId','changeDataSourceInfo','deleteUnit','_univerInstanceService','SetSheetSparklineMutation','IUniverInstanceService','SparklineThemeMapping','ObjectMatrix','_onRefRangeChange','rgb(244,104,249)','getOwnPropertyDescriptor','DependentOn','subscribe','getUnitId','ReorderRangeMutation','endColumn','remove','emptyShowAs','length','keys','_updateConfig$','COMMAND','get','getValue','removeRows','actualRow','rgb(30,177,189)','disposableCollection','_initHideRowColWithSparkline','rgb(54,78,244)','pluginName','sequenceExecute','row','value','_getRefRangeMutationsByDeleteCols','Disposable','params','groupId','endRow','SparklinePointsNames','type','soft','amd','setValue','updateSparklineExtraNum','SparklineExtremumTypeEnum','_refRangeService','Tools','containHiddenCells','item','reBuildAnchorCache','pushUndoRedo','_initRegisterCommand','matrix','9vrZEog','Plugin','CONNECT_WITH_LINE','every','2221694gJrjzB','from','highPoint','@univerjs/core','deepClone','SetRangeValuesMutation','_config','contains','_getRefRangeMutationsByDeleteRows','removeSparkline','delete','rgb(248,190,21)','RANGE_TYPE','UniverInstanceType','firstPoint','getMatrix','@univerjs/sheets','_initSnapshot','_sparklineDataSourceModel','moveRows','clearSparklineCache','6cftteE','UniverCore','getSheetCommandTarget','getCurrentUnitOfType','FRESH','BAR_CHART','refRangeHandle','NUMBER','UniverSheetSparklinePlugin','@univerjs-pro/license','setAlpha','Module','next','RemoveColMutation','getActiveSheet','RemoveSheetSparklineCommand','IUndoRedoService','values','getSizeOf','SetColHiddenMutation','onReady','set','fromJSON','MAX_SAFE_INTEGER','MUTATION','sparklineAnchorMap','removeColumns','registerPluginResource','object','actualColumn','ZERO_VALUE','_initDataChangeListener','MoveColsMutation','u-connect','cellToRange','PLUGIN_NAME','adjustRangeOnMutation','rgb(236,100,169)','_initClearWithSparkline','u-spacing','extremumMax','SetWorksheetActivateCommand','GROUP_EXTREMUM','getSparkline','map','_sparklineAnchorMap','config','unitId','12728BBxmjM','getCell','_commandService','_initDependencies','toRgbString','updateConfig$','getSparklineById','max','AddWorksheetMergeCommand','number','moveColumns','60spZUXR','MIN_SAFE_INTEGER','181846GCpeQW','toStringTag','IExclusiveRangeService','_sheetInterceptorService','AddSheetSparklineCommand','defineProperty','MoveRangeMutation','sheet.command.add-sparkline','spacing','toJSON','_sparklineModel','entries','_initSheetChange','1iVbsSA','SPACING','connect_with_line','SheetsSelectionsService'];_0x3803=function(){return _0x4f358a;};return _0x3803();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-sparkline",
3
- "version": "0.13.0-insiders.20251216-1519cb7",
3
+ "version": "0.13.0-insiders.20251220-0a5ea4d",
4
4
  "private": false,
5
5
  "description": "sparkline for Univer.",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -62,9 +62,9 @@
62
62
  "rxjs": ">=7.0.0"
63
63
  },
64
64
  "dependencies": {
65
- "@univerjs-pro/license": "0.13.0-insiders.20251216-1519cb7",
66
- "@univerjs/sheets": "0.13.0-insiders.20251216-1519cb7",
67
- "@univerjs/core": "0.13.0-insiders.20251216-1519cb7"
65
+ "@univerjs-pro/license": "0.13.0-insiders.20251220-0a5ea4d",
66
+ "@univerjs/core": "0.13.0-insiders.20251220-0a5ea4d",
67
+ "@univerjs/sheets": "0.13.0-insiders.20251220-0a5ea4d"
68
68
  },
69
69
  "devDependencies": {
70
70
  "rxjs": "7.8.2",