@univerjs-pro/sheets-sparkline 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5603(_0x1a8d9e,_0x3ae8ff){_0x1a8d9e=_0x1a8d9e-0xeb;const _0x321891=_0x3218();let _0x56037d=_0x321891[_0x1a8d9e];return _0x56037d;}(function(_0x41e4dd,_0x2d9c45){const _0x2a3cc5=_0x5603,_0x766c19=_0x41e4dd();while(!![]){try{const _0x96ad88=parseInt(_0x2a3cc5(0x12c))/0x1*(-parseInt(_0x2a3cc5(0x152))/0x2)+-parseInt(_0x2a3cc5(0x118))/0x3*(parseInt(_0x2a3cc5(0x120))/0x4)+parseInt(_0x2a3cc5(0x19f))/0x5*(parseInt(_0x2a3cc5(0x1f8))/0x6)+parseInt(_0x2a3cc5(0x166))/0x7*(-parseInt(_0x2a3cc5(0xff))/0x8)+-parseInt(_0x2a3cc5(0x106))/0x9*(parseInt(_0x2a3cc5(0x18d))/0xa)+parseInt(_0x2a3cc5(0x16a))/0xb*(parseInt(_0x2a3cc5(0x182))/0xc)+parseInt(_0x2a3cc5(0x107))/0xd;if(_0x96ad88===_0x2d9c45)break;else _0x766c19['push'](_0x766c19['shift']());}catch(_0x46097d){_0x766c19['push'](_0x766c19['shift']());}}}(_0x3218,0x99ca5),function(_0x545e3d,_0x46494a){const _0x403ff3=_0x5603;typeof exports=='object'&&typeof module<'u'?_0x46494a(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs-pro/license'),require('rxjs')):typeof define==_0x403ff3(0x194)&&define['amd']?define([_0x403ff3(0x17b),'@univerjs/core','@univerjs/sheets',_0x403ff3(0x13a),'rxjs'],_0x46494a):(_0x545e3d=typeof globalThis<'u'?globalThis:_0x545e3d||self,_0x46494a(_0x545e3d[_0x403ff3(0xfc)]={},_0x545e3d[_0x403ff3(0x1f5)],_0x545e3d[_0x403ff3(0xeb)],_0x545e3d[_0x403ff3(0x111)],_0x545e3d[_0x403ff3(0x1cb)]));}(this,function(_0x23d68e,_0x30085b,_0x3cfe73,_0x207ea1,_0xec31b){const _0x124476=_0x5603;Object[_0x124476(0x162)](_0x23d68e,Symbol[_0x124476(0x114)],{'value':_0x124476(0x138)});function _0x542d70(_0x1e4384){const _0x3cbb79=_0x124476;let {ls:_0x211606,pbk:_0x497388}=_0x1e4384[_0x3cbb79(0x14c)](_0x30085b['IConfigService'])[_0x3cbb79(0x1a2)](_0x207ea1[_0x3cbb79(0x1fa)])??{},{valid:_0x33c095,message:_0x3fddd3}=(0x0,_0x207ea1[_0x3cbb79(0x1bb)])(_0x211606,_0x497388);return!_0x33c095||!(0x0,_0x207ea1[_0x3cbb79(0x19c)])(_0x3fddd3,'sf')?!0x1:(0x0,_0x207ea1[_0x3cbb79(0x1f1)])(_0x3fddd3,!0x0,'s',!0x0,!0x1,!0x1)===!0x0;}function _0x155b3b(_0x148c48,_0x34de80){const _0x29be54=_0x124476;let _0x2ad6b3=new _0x30085b['ObjectMatrix'](),_0x239140=[],_0x593436=_0x148c48[_0x29be54(0xf4)]>0x1,_0x7e0202=0x0,_0x10c6f8=0x0;for(let _0x1fdc89 of _0x148c48)_0x7e0202+=_0x1fdc89[_0x29be54(0x1b8)]-_0x1fdc89['startRow']+0x1,_0x10c6f8+=_0x1fdc89[_0x29be54(0x102)]-_0x1fdc89[_0x29be54(0x18c)]+0x1;for(let _0x298c8a of _0x34de80)for(let _0x56f8f1=_0x298c8a[_0x29be54(0x110)];_0x56f8f1<=_0x298c8a[_0x29be54(0x1b8)];_0x56f8f1++)for(let _0x4dc3e8=_0x298c8a[_0x29be54(0x18c)];_0x4dc3e8<=_0x298c8a['endColumn'];_0x4dc3e8++)_0x239140[_0x29be54(0xf3)]({'row':_0x56f8f1,'column':_0x4dc3e8});if(_0x239140[_0x29be54(0xf4)]===_0x7e0202)_0x593436?_0x239140[_0x29be54(0x109)]((_0x4e2c25,_0x2ab2f5)=>{const _0x4fbc6b=_0x29be54;let _0x1c02ad=_0x148c48[_0x2ab2f5],_0x2c970f={'startRow':_0x1c02ad[_0x4fbc6b(0x110)],'startColumn':_0x1c02ad[_0x4fbc6b(0x18c)],'endRow':_0x1c02ad[_0x4fbc6b(0x110)],'endColumn':_0x1c02ad['endColumn']};_0x2ad6b3[_0x4fbc6b(0x144)](_0x4e2c25[_0x4fbc6b(0x1c5)],_0x4e2c25[_0x4fbc6b(0x15a)],_0x2c970f);}):_0x239140[_0x29be54(0x109)]((_0x581f3e,_0x91ca9a)=>{const _0x8d88e0=_0x29be54;let _0x3ef2a6=_0x148c48[0x0],_0x37057e={'startRow':_0x3ef2a6[_0x8d88e0(0x110)]+_0x91ca9a,'startColumn':_0x3ef2a6['startColumn'],'endRow':_0x3ef2a6[_0x8d88e0(0x110)]+_0x91ca9a,'endColumn':_0x3ef2a6[_0x8d88e0(0x102)]};_0x2ad6b3[_0x8d88e0(0x144)](_0x581f3e['row'],_0x581f3e['column'],_0x37057e);});else{if(_0x239140[_0x29be54(0xf4)]===_0x10c6f8)_0x593436?_0x239140['forEach']((_0x1e3e17,_0x322d2c)=>{const _0x482250=_0x29be54;let _0x358bc2=_0x148c48[_0x322d2c],_0x4c0dc1={'startRow':_0x358bc2[_0x482250(0x110)],'startColumn':_0x358bc2[_0x482250(0x18c)],'endRow':_0x358bc2['endRow'],'endColumn':_0x358bc2['startColumn']};_0x2ad6b3[_0x482250(0x144)](_0x1e3e17[_0x482250(0x1c5)],_0x1e3e17[_0x482250(0x15a)],_0x4c0dc1);}):_0x239140[_0x29be54(0x109)]((_0x584353,_0xabf47c)=>{const _0xedfed9=_0x29be54;let _0x7adf99=_0x148c48[0x0],_0x1ea388={'startRow':_0x7adf99['startRow'],'startColumn':_0x7adf99[_0xedfed9(0x18c)]+_0xabf47c,'endRow':_0x7adf99[_0xedfed9(0x1b8)],'endColumn':_0x7adf99['startColumn']+_0xabf47c};_0x2ad6b3[_0xedfed9(0x144)](_0x584353[_0xedfed9(0x1c5)],_0x584353['column'],_0x1ea388);});else{if(_0x239140[_0x29be54(0xf4)]===_0x148c48[_0x29be54(0xf4)])_0x148c48[_0x29be54(0x12f)](_0x20409f=>_0x20409f['startRow']===_0x20409f[_0x29be54(0x1b8)]||_0x20409f['startColumn']===_0x20409f['endColumn'])&&_0x239140[_0x29be54(0x109)]((_0x3c375a,_0x3e44db)=>{const _0x354f26=_0x29be54;let _0xdc84a5=_0x148c48[_0x3e44db];_0x2ad6b3['setValue'](_0x3c375a[_0x354f26(0x1c5)],_0x3c375a[_0x354f26(0x15a)],_0xdc84a5);});else throw Error(_0x29be54(0x1b9));}}return _0x2ad6b3;}let _0x1f7252='SHEET_SPARKLINE_PLUGIN',_0x5036c6={'standard':[_0x124476(0x190),_0x124476(0x1a5)],'specialty':[_0x124476(0x1fb),_0x124476(0x175)],'distinctive':['rgb(124,66,147)',_0x124476(0x1ba)],'soft':[_0x124476(0x1fd),'rgb(244,104,249)'],'fresh':[_0x124476(0x100),_0x124476(0x165)]},_0x1bfc8e=[_0x124476(0xf2),_0x124476(0x13f),_0x124476(0x121),'lowPoint',_0x124476(0x177),_0x124476(0x1c1)],_0x50aff5=function(_0x66530e){const _0x54e4ca=_0x124476;return _0x66530e[_0x54e4ca(0x18f)]=_0x54e4ca(0x136),_0x66530e['SPECIALTY']='specialty',_0x66530e[_0x54e4ca(0x173)]=_0x54e4ca(0x16f),_0x66530e[_0x54e4ca(0x1ad)]='soft',_0x66530e[_0x54e4ca(0x1b7)]='fresh',_0x66530e['CUSTOM']=_0x54e4ca(0x191),_0x66530e;}({}),_0xf2d37a=function(_0xfe8fe7){const _0xc37a7b=_0x124476;return _0xfe8fe7[_0xfe8fe7[_0xc37a7b(0x1f4)]=0x1]=_0xc37a7b(0x1f4),_0xfe8fe7[_0xfe8fe7[_0xc37a7b(0x192)]=0x2]=_0xc37a7b(0x192),_0xfe8fe7[_0xfe8fe7[_0xc37a7b(0x101)]=0x3]=_0xc37a7b(0x101),_0xfe8fe7[_0xfe8fe7['PIE_CHART']=0x4]=_0xc37a7b(0x126),_0xfe8fe7;}({}),_0x23f2be=function(_0x3ddc90){const _0x3e6ab3=_0x124476;return _0x3ddc90[_0x3e6ab3(0x1fc)]=_0x3e6ab3(0x116),_0x3ddc90[_0x3e6ab3(0x145)]=_0x3e6ab3(0x143),_0x3ddc90[_0x3e6ab3(0x195)]=_0x3e6ab3(0x18a),_0x3ddc90;}({}),_0x12db52=function(_0x4ac1d0){const _0x48b5dc=_0x124476;return _0x4ac1d0[_0x4ac1d0['SELF_EXTREMUM']=0x1]=_0x48b5dc(0x135),_0x4ac1d0[_0x4ac1d0['GROUP_EXTREMUM']=0x2]='GROUP_EXTREMUM',_0x4ac1d0[_0x4ac1d0[_0x48b5dc(0x13b)]=0x3]=_0x48b5dc(0x13b),_0x4ac1d0;}({});function _0x1892bc(_0x501f7a){'@babel/helpers - typeof';const _0x166cf4=_0x124476;return _0x1892bc=typeof Symbol=='function'&&typeof Symbol[_0x166cf4(0x141)]==_0x166cf4(0x188)?function(_0x3a29b7){return typeof _0x3a29b7;}:function(_0x2df3e6){const _0x465465=_0x166cf4;return _0x2df3e6&&typeof Symbol==_0x465465(0x194)&&_0x2df3e6['constructor']===Symbol&&_0x2df3e6!==Symbol[_0x465465(0xf1)]?_0x465465(0x188):typeof _0x2df3e6;},_0x1892bc(_0x501f7a);}function _0x3b73fd(_0x360aa,_0x3b2795){const _0x1a69f1=_0x124476;if(_0x1892bc(_0x360aa)!=_0x1a69f1(0x1ae)||!_0x360aa)return _0x360aa;var _0x479a9a=_0x360aa[Symbol[_0x1a69f1(0x168)]];if(_0x479a9a!==void 0x0){var _0x1a94dc=_0x479a9a[_0x1a69f1(0x1db)](_0x360aa,_0x3b2795||'default');if(_0x1892bc(_0x1a94dc)!='object')return _0x1a94dc;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3b2795===_0x1a69f1(0xf7)?String:Number)(_0x360aa);}function _0x81cb3c(_0x1f67dd){const _0x4082ae=_0x124476;var _0x3b58d1=_0x3b73fd(_0x1f67dd,_0x4082ae(0xf7));return _0x1892bc(_0x3b58d1)==_0x4082ae(0x188)?_0x3b58d1:_0x3b58d1+'';}function _0x21af3f(_0x503b1b,_0x2afb15,_0x24bcc1){return(_0x2afb15=_0x81cb3c(_0x2afb15))in _0x503b1b?Object['defineProperty'](_0x503b1b,_0x2afb15,{'value':_0x24bcc1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x503b1b[_0x2afb15]=_0x24bcc1,_0x503b1b;}function _0x2f52ef(_0x4fd36b,_0x22634f){return function(_0x5ab050,_0x4ffc7b){_0x22634f(_0x5ab050,_0x4ffc7b,_0x4fd36b);};}function _0x5383ad(_0x4faf5c,_0x2e3c18,_0x5161c9,_0x5f5bee){const _0x4ffb87=_0x124476;var _0x3ff2fe=arguments['length'],_0x250b1d=_0x3ff2fe<0x3?_0x2e3c18:_0x5f5bee===null?_0x5f5bee=Object['getOwnPropertyDescriptor'](_0x2e3c18,_0x5161c9):_0x5f5bee,_0x5777bf;if(typeof Reflect==_0x4ffb87(0x1ae)&&typeof Reflect[_0x4ffb87(0x129)]==_0x4ffb87(0x194))_0x250b1d=Reflect[_0x4ffb87(0x129)](_0x4faf5c,_0x2e3c18,_0x5161c9,_0x5f5bee);else{for(var _0x1d470b=_0x4faf5c[_0x4ffb87(0xf4)]-0x1;_0x1d470b>=0x0;_0x1d470b--)(_0x5777bf=_0x4faf5c[_0x1d470b])&&(_0x250b1d=(_0x3ff2fe<0x3?_0x5777bf(_0x250b1d):_0x3ff2fe>0x3?_0x5777bf(_0x2e3c18,_0x5161c9,_0x250b1d):_0x5777bf(_0x2e3c18,_0x5161c9))||_0x250b1d);}return _0x3ff2fe>0x3&&_0x250b1d&&Object['defineProperty'](_0x2e3c18,_0x5161c9,_0x250b1d),_0x250b1d;}let _0x4e1e04=class extends _0x30085b[_0x124476(0x1fe)]{constructor(_0x2ce249){const _0x5279e7=_0x124476;super(),this['_univerInstanceService']=_0x2ce249,_0x21af3f(this,_0x5279e7(0x14e),new Map()),_0x21af3f(this,_0x5279e7(0x193),new Map()),_0x21af3f(this,'_updateConfig$',new _0xec31b[(_0x5279e7(0x176))]()),_0x21af3f(this,_0x5279e7(0x10a),this[_0x5279e7(0x197)]['asObservable']());}[_0x124476(0x157)](_0x5f2cb6,_0x1b26b5){const _0x5aaaac=_0x124476;let _0x199cc2=this[_0x5aaaac(0x14e)][_0x5aaaac(0x14c)](_0x5f2cb6);_0x199cc2||(_0x199cc2=new Map(),this[_0x5aaaac(0x14e)][_0x5aaaac(0x17a)](_0x5f2cb6,_0x199cc2));let _0x4db507=_0x199cc2[_0x5aaaac(0x14c)](_0x1b26b5);return _0x4db507||(_0x4db507=new Map(),_0x199cc2[_0x5aaaac(0x17a)](_0x1b26b5,_0x4db507)),_0x4db507;}['_ensureAnchorMatrix'](_0x762819,_0x3edada){const _0x4b5d7b=_0x124476;let _0x566819=this['_sparklineAnchorMap']['get'](_0x762819);_0x566819||(_0x566819=new Map(),this['_sparklineAnchorMap']['set'](_0x762819,_0x566819));let _0x3d9a19=_0x566819[_0x4b5d7b(0x14c)](_0x3edada);return _0x3d9a19||(_0x3d9a19={'matrix':new _0x30085b[(_0x4b5d7b(0x1da))](),'extra':{}},_0x566819['set'](_0x3edada,_0x3d9a19)),_0x3d9a19;}[_0x124476(0xf0)](_0x45a081,_0x199c97,_0x191cc5,_0x12aecf=_0x124476(0x17a)){const _0x10d1be=_0x124476;var _0x4cad56,_0x4025a1,_0x4dffc9,_0x1a1e30;let _0x1cfd93=(_0x4cad56=this[_0x10d1be(0x14e)][_0x10d1be(0x14c)](_0x45a081))==null||(_0x4cad56=_0x4cad56[_0x10d1be(0x14c)](_0x199c97))==null?void 0x0:_0x4cad56[_0x10d1be(0x14c)](_0x191cc5);if(!_0x1cfd93)return;let _0x5d7bae=(0x0,_0x3cfe73[_0x10d1be(0x1f0)])(this[_0x10d1be(0x115)],{'unitId':_0x45a081,'subUnitId':_0x199c97});if(!_0x5d7bae)return;let {extra:_0x71896e,matrix:_0x23d5b5}=this[_0x10d1be(0x189)](_0x45a081,_0x199c97),{worksheet:_0x4da312}=_0x5d7bae,_0x3a3f0b=-(0x2**0x35-0x1),_0x2a6582=0x2**0x35-0x1,_0x550bd1=_0x1cfd93['config'][_0x10d1be(0x170)]??!0x1;_0x1cfd93[_0x10d1be(0x1c6)][_0x10d1be(0x1a9)]((_0x2de0d6,_0x579a5f,_0x3c9a94)=>{const _0x5b7969=_0x10d1be;let _0xbdc4f6=_0x3c9a94,_0x589a3e=-(0x2**0x35-0x1),_0x51ebf2=0x2**0x35-0x1,_0x330028=0x0,_0x32967a=0x0,_0xca11c3=[];if(!(0x0,_0x30085b[_0x5b7969(0x137)])(_0xbdc4f6))_0x23d5b5[_0x5b7969(0x144)](_0x2de0d6,_0x579a5f,{'groupId':_0x191cc5,'data':[],'max':_0x589a3e,'min':_0x51ebf2,'highIndex':_0x330028,'lowIndex':_0x32967a,'negativeIndexes':_0xca11c3});else{let _0x386c2c=[];for(let _0x78222=_0xbdc4f6['startRow'];_0x78222<=_0xbdc4f6[_0x5b7969(0x1b8)];_0x78222++){for(let _0x4e7d08=_0xbdc4f6[_0x5b7969(0x18c)];_0x4e7d08<=_0xbdc4f6[_0x5b7969(0x102)];_0x4e7d08++){var _0x2f4f9a;let _0x1381b1=_0x4da312[_0x5b7969(0x1d5)](_0x78222),_0x59a314=_0x4da312['getColVisible'](_0x4e7d08);if(!_0x550bd1&&(!_0x1381b1||!_0x59a314))continue;let _0x30d107=0x0,_0x809b32=((_0x2f4f9a=_0x4da312['getCellRaw'](_0x78222,_0x4e7d08))==null?void 0x0:_0x2f4f9a['v'])===void 0x0?_0x4da312[_0x5b7969(0x179)](_0x78222,_0x4e7d08):_0x4da312[_0x5b7969(0x1b2)](_0x78222,_0x4e7d08);if(!_0x809b32||_0x809b32['v']===void 0x0||_0x809b32['v']===null){let _0x108367=_0x1cfd93[_0x5b7969(0xfd)]['emptyShowAs']??_0x5b7969(0x116);_0x108367===_0x5b7969(0x143)?_0x30d107=0x0:_0x108367===_0x5b7969(0x116)?_0x30d107=_0x5b7969(0x1bf):_0x108367===_0x5b7969(0x18a)&&(_0x30d107=_0x5b7969(0x12e));}else{if(_0x809b32['t']===_0x30085b[_0x5b7969(0x1e6)][_0x5b7969(0x18e)]||_0x809b32['t']===_0x30085b[_0x5b7969(0x1e6)][_0x5b7969(0x1c0)]){let _0x36dde8=_0x1cfd93[_0x5b7969(0xfd)][_0x5b7969(0x1ed)]??'spacing';_0x36dde8===_0x5b7969(0x143)?_0x30d107=0x0:_0x36dde8==='spacing'?_0x30d107=_0x5b7969(0x1bf):_0x36dde8===_0x5b7969(0x18a)&&(_0x30d107=_0x5b7969(0x12e));}else _0x30d107=_0x809b32['t']===_0x30085b[_0x5b7969(0x1e6)]['BOOLEAN']?+!!_0x809b32['v']:_0x809b32['t']===_0x30085b[_0x5b7969(0x1e6)][_0x5b7969(0x130)]?Number(_0x809b32['v']):_0x809b32['v'];}if(_0x386c2c[_0x5b7969(0xf3)](_0x30d107),typeof _0x30d107==_0x5b7969(0x17e)){_0x589a3e=Math['max'](_0x589a3e,_0x30d107),_0x3a3f0b=Math[_0x5b7969(0x127)](_0x3a3f0b,_0x30d107),_0x2a6582=Math[_0x5b7969(0xf6)](_0x2a6582,_0x30d107),_0x51ebf2=Math['min'](_0x51ebf2,_0x30d107);let _0x4a29f6=typeof _0x386c2c[_0x330028]==_0x5b7969(0x17e)?Number(_0x386c2c[_0x330028]):-(0x2**0x35-0x1);_0x30d107>_0x4a29f6&&(_0x330028=_0x386c2c[_0x5b7969(0xf4)]-0x1);let _0x6f754e=typeof _0x386c2c[_0x32967a]==_0x5b7969(0x17e)?Number(_0x386c2c[_0x32967a]):0x2**0x35-0x1;_0x30d107<_0x6f754e&&(_0x32967a=_0x386c2c['length']-0x1),_0x30d107<0x0&&_0xca11c3[_0x5b7969(0xf3)](_0x386c2c['length']-0x1);}}_0x23d5b5[_0x5b7969(0x144)](_0x2de0d6,_0x579a5f,{'groupId':_0x191cc5,'data':_0x386c2c,'max':_0x589a3e,'min':_0x51ebf2,'highIndex':_0x330028,'lowIndex':_0x32967a,'negativeIndexes':_0xca11c3});}}});let _0x2dfb6a=_0x3a3f0b;if(((_0x4025a1=_0x1cfd93[_0x10d1be(0xfd)][_0x10d1be(0x16d)])==null?void 0x0:_0x4025a1['type'])===0x3){var _0x202934;_0x2dfb6a=((_0x202934=_0x1cfd93[_0x10d1be(0xfd)][_0x10d1be(0x16d)])==null?void 0x0:_0x202934[_0x10d1be(0x1e0)])??_0x3a3f0b;}let _0x13a004=_0x2a6582;if(((_0x4dffc9=_0x1cfd93[_0x10d1be(0xfd)][_0x10d1be(0x148)])==null?void 0x0:_0x4dffc9[_0x10d1be(0xed)])===0x3){var _0x5d97e1;_0x13a004=((_0x5d97e1=_0x1cfd93['config'][_0x10d1be(0x148)])==null?void 0x0:_0x5d97e1[_0x10d1be(0x1e0)])??_0x2a6582;}let _0x54264b=_0x1cfd93['config']['themeType']??_0x10d1be(0x136),_0x337595=_0x1cfd93[_0x10d1be(0xfd)][_0x10d1be(0x1d9)]??((_0x1a1e30=_0x5036c6[_0x54264b])==null?void 0x0:_0x1a1e30[0x0])??_0x5036c6[_0x10d1be(0x136)][0x0],_0x4320f6=new _0x30085b['ColorKit'](_0x337595),_0x378197=_0x4320f6[_0x10d1be(0x1ff)](0.2)[_0x10d1be(0x164)](),_0x3ca12d=_0x4320f6['setAlpha'](0.05)[_0x10d1be(0x164)]();_0x71896e[_0x191cc5]={'groupMax':_0x3a3f0b,'groupMin':_0x2a6582,'showMax':_0x2dfb6a,'showMin':_0x13a004,'startGradient':_0x378197,'endGradient':_0x3ca12d},this[_0x10d1be(0x197)][_0x10d1be(0x156)]({'unitId':_0x45a081,'subUnitId':_0x199c97,'groupId':_0x191cc5,'config':_0x1cfd93,'type':_0x12aecf});}[_0x124476(0xfb)](_0x39a7eb,_0x4618a8,_0x5c7a58,_0x3f3d77){const _0x70b0d0=_0x124476;this[_0x70b0d0(0x157)](_0x39a7eb,_0x4618a8)[_0x70b0d0(0x17a)](_0x5c7a58,_0x3f3d77),this[_0x70b0d0(0xf0)](_0x39a7eb,_0x4618a8,_0x5c7a58,'add');}[_0x124476(0x1ca)](_0x127f72,_0x935388,_0x210bdf,_0x7ddf41){const _0x404aae=_0x124476;var _0x3a2cef;let _0x5bb14f=(_0x3a2cef=this[_0x404aae(0x14e)][_0x404aae(0x14c)](_0x127f72))==null?void 0x0:_0x3a2cef[_0x404aae(0x14c)](_0x935388);_0x210bdf[_0x404aae(0x109)](_0x3e8e77=>{const _0x2e37d3=_0x404aae;_0x5bb14f!=null&&_0x5bb14f[_0x2e37d3(0x1a6)](_0x3e8e77)&&(_0x5bb14f[_0x2e37d3(0x17a)](_0x3e8e77,_0x7ddf41),this[_0x2e37d3(0xf0)](_0x127f72,_0x935388,_0x3e8e77));});}['removeSparkline'](_0x1ce324,_0x484370,_0x3f42ae){const _0x3052de=_0x124476;let _0x4dd474=this[_0x3052de(0x14e)]['get'](_0x1ce324);if(_0x4dd474){let _0x596554=_0x4dd474[_0x3052de(0x14c)](_0x484370);if(_0x596554){var _0x113bf1,_0x2b2ea2;_0x596554[_0x3052de(0x16c)](_0x3f42ae);let _0x70aa68=(_0x113bf1=this[_0x3052de(0x193)][_0x3052de(0x14c)](_0x1ce324))==null?void 0x0:_0x113bf1[_0x3052de(0x14c)](_0x484370);_0x70aa68==null||(_0x2b2ea2=_0x70aa68[_0x3052de(0x117)])==null||_0x2b2ea2[_0x3052de(0x1a9)]((_0x369555,_0x2396b0,_0xb4800)=>{const _0x11cca4=_0x3052de;(_0xb4800==null?void 0x0:_0xb4800['groupId'])===_0x3f42ae&&(_0x70aa68==null||_0x70aa68['matrix'][_0x11cca4(0x11e)](_0x369555,_0x2396b0));}),this[_0x3052de(0x197)]['next']({'unitId':_0x1ce324,'subUnitId':_0x484370,'groupId':_0x3f42ae,'type':_0x3052de(0x132)}),_0x596554[_0x3052de(0x10c)]===0x0&&_0x4dd474[_0x3052de(0x16c)](_0x484370);}}}['removePartSparkline'](_0x5cc97e,_0x19672b,_0x3f8007,_0x29bc07){const _0x34d53b=_0x124476;var _0x584070;let _0x2c2faa=(_0x584070=this[_0x34d53b(0x193)][_0x34d53b(0x14c)](_0x5cc97e))==null?void 0x0:_0x584070[_0x34d53b(0x14c)](_0x19672b),_0x2f5563=_0x2c2faa==null?void 0x0:_0x2c2faa[_0x34d53b(0x117)]['getValue'](_0x3f8007,_0x29bc07);if(_0x2f5563){var _0x42a223,_0x419bb0,_0x67ec00;let {groupId:_0x4595b7}=_0x2f5563,_0x2147cf=(_0x42a223=this['_sparklineModel'][_0x34d53b(0x14c)](_0x5cc97e))==null?void 0x0:_0x42a223[_0x34d53b(0x14c)](_0x19672b);_0x2147cf==null||(_0x419bb0=_0x2147cf['get'](_0x4595b7))==null||_0x419bb0['sparklines'][_0x34d53b(0x11e)](_0x3f8007,_0x29bc07),_0x2147cf!=null&&(_0x67ec00=_0x2147cf['get'](_0x4595b7))!=null&&_0x67ec00[_0x34d53b(0x1c6)][_0x34d53b(0x1e8)]()||_0x2147cf==null||_0x2147cf[_0x34d53b(0x16c)](_0x4595b7),_0x2c2faa==null||_0x2c2faa['matrix'][_0x34d53b(0x11e)](_0x3f8007,_0x29bc07),this[_0x34d53b(0x197)]['next']({'unitId':_0x5cc97e,'subUnitId':_0x19672b,'groupId':_0x4595b7,'type':_0x34d53b(0x132)});}}[_0x124476(0x133)](_0x193d3f,_0x4c4712,_0x2f6c42){const _0x4999b6=_0x124476;var _0x4ce4ca,_0x472596;let _0x2ee027=(_0x4ce4ca=this[_0x4999b6(0x14e)][_0x4999b6(0x14c)](_0x193d3f))==null||(_0x4ce4ca=_0x4ce4ca['get'](_0x4c4712))==null||(_0x4ce4ca=_0x4ce4ca[_0x4999b6(0x14c)](_0x2f6c42))==null?void 0x0:_0x4ce4ca[_0x4999b6(0x1c6)],_0xbf42da=(_0x472596=this[_0x4999b6(0x193)][_0x4999b6(0x14c)](_0x193d3f))==null?void 0x0:_0x472596[_0x4999b6(0x14c)](_0x4c4712);if(_0x2ee027&&_0xbf42da){let {matrix:_0x4e191f,extra:_0xbbab88}=_0xbf42da;_0x2ee027[_0x4999b6(0x1a9)]((_0x167dcb,_0x407685,_0x2a351)=>{const _0x1447bd=_0x4999b6;_0x4e191f[_0x1447bd(0x11e)](_0x167dcb,_0x407685);}),delete _0xbbab88[_0x2f6c42];}}['getSubUnitSparkline'](_0x33f45f,_0x5bbc29){const _0x337f39=_0x124476;var _0x1aed33;return(_0x1aed33=this[_0x337f39(0x14e)][_0x337f39(0x14c)](_0x33f45f))==null?void 0x0:_0x1aed33[_0x337f39(0x14c)](_0x5bbc29);}[_0x124476(0x125)](_0x431833,_0x10bfd4,_0x49aed0){const _0x1ec21f=_0x124476;var _0x43811d;return(_0x43811d=this[_0x1ec21f(0x14e)]['get'](_0x431833))==null||(_0x43811d=_0x43811d[_0x1ec21f(0x14c)](_0x10bfd4))==null?void 0x0:_0x43811d[_0x1ec21f(0x14c)](_0x49aed0);}[_0x124476(0x17c)](_0x3bad14,_0x38b030,_0x1258cd,_0x116f4c){const _0x462c49=_0x124476;var _0x34b0d9;return(_0x34b0d9=this[_0x462c49(0x193)]['get'](_0x3bad14))==null||(_0x34b0d9=_0x34b0d9[_0x462c49(0x14c)](_0x38b030))==null||(_0x34b0d9=_0x34b0d9['matrix']['getValue'](_0x1258cd,_0x116f4c))==null?void 0x0:_0x34b0d9[_0x462c49(0x171)];}['reBuildAnchorCache'](_0x29499c,_0x453cc7){const _0x1ae24d=_0x124476;var _0x1332df;let _0x130641=this[_0x1ae24d(0x189)](_0x29499c,_0x453cc7);_0x130641[_0x1ae24d(0x117)][_0x1ae24d(0x1a9)]((_0x17d6e9,_0x498780)=>{const _0x4e77cb=_0x1ae24d;_0x130641[_0x4e77cb(0x117)][_0x4e77cb(0x11e)](_0x17d6e9,_0x498780);});let _0x4082d0=(_0x1332df=this[_0x1ae24d(0x14e)][_0x1ae24d(0x14c)](_0x29499c))==null?void 0x0:_0x1332df[_0x1ae24d(0x14c)](_0x453cc7);if(_0x4082d0){for(let [_0x2d575e]of _0x4082d0)this['updateSparklineExtraNum'](_0x29499c,_0x453cc7,_0x2d575e);}}[_0x124476(0x1de)](){const _0x4eb40c=_0x124476;return{'sparklineModel':this[_0x4eb40c(0x14e)],'sparklineAnchorMap':this[_0x4eb40c(0x193)]};}[_0x124476(0x1bc)](_0x562988){const _0x16241f=_0x124476;let _0x54380a={};if(this[_0x16241f(0x14e)][_0x16241f(0x1a6)](_0x562988)){_0x54380a[_0x562988]={};let _0xe9450d=this[_0x16241f(0x14e)][_0x16241f(0x14c)](_0x562988);_0xe9450d!=null&&_0xe9450d[_0x16241f(0x10c)]&&Array['from'](_0xe9450d['keys']())[_0x16241f(0x109)](_0x5d0d32=>{const _0x459d64=_0x16241f;_0x54380a[_0x562988][_0x5d0d32]={};let _0x3b73e2=_0xe9450d[_0x459d64(0x14c)](_0x5d0d32);_0x3b73e2!=null&&_0x3b73e2['size']&&Array[_0x459d64(0x186)](_0x3b73e2[_0x459d64(0x15f)]())['forEach'](_0x3e5b39=>{const _0x4bbffb=_0x459d64;let _0x5599ee=_0x3b73e2[_0x4bbffb(0x14c)](_0x3e5b39);_0x5599ee&&(_0x54380a[_0x562988][_0x5d0d32][_0x3e5b39]={'config':_0x5599ee[_0x4bbffb(0xfd)],'sparklines':_0x5599ee[_0x4bbffb(0x1c6)][_0x4bbffb(0x1f3)]()});});});}return _0x54380a;}[_0x124476(0x160)](_0x4a886b){const _0x5cde63=_0x124476;_0x4a886b&&Object[_0x5cde63(0x15f)](_0x4a886b)[_0x5cde63(0x109)](_0x57601b=>{const _0x3f32d6=_0x5cde63;let _0x2c34c8=_0x4a886b[_0x57601b];_0x2c34c8&&Object[_0x3f32d6(0x15f)](_0x2c34c8)[_0x3f32d6(0x109)](_0xd035be=>{const _0x333832=_0x3f32d6;let _0x56286c=_0x2c34c8[_0xd035be];_0x56286c&&Object[_0x333832(0x15f)](_0x56286c)[_0x333832(0x109)](_0x30b25e=>{const _0x47fc34=_0x333832;let _0x2c160e=_0x56286c[_0x30b25e];if(_0x2c160e){let _0x41e834={'config':_0x2c160e['config'],'sparklines':new _0x30085b['ObjectMatrix'](_0x2c160e[_0x47fc34(0x1c6)])};this[_0x47fc34(0xfb)](_0x57601b,_0xd035be,_0x30b25e,_0x41e834);}});});});}[_0x124476(0x1d7)](_0x322a0c){const _0x3fed96=_0x124476;let _0x3593c8=this['_sparklineModel'][_0x3fed96(0x14c)](_0x322a0c);if(_0x3593c8){for(let [_0x5bff19]of _0x3593c8){let _0x3c8423=_0x3593c8['get'](_0x5bff19);if(_0x3c8423){for(let [_0x5cd5db]of _0x3c8423)this[_0x3fed96(0x133)](_0x322a0c,_0x5bff19,_0x5cd5db);}}this[_0x3fed96(0x14e)][_0x3fed96(0x16c)](_0x322a0c);}}};_0x4e1e04=_0x5383ad([_0x2f52ef(0x0,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x30085b[_0x124476(0x11c)]))],_0x4e1e04);let _0x581160={'id':_0x124476(0x1e4),'type':_0x30085b[_0x124476(0x1be)][_0x124476(0x14f)],'handler':(_0x1fe95c,_0x5be9b7)=>{const _0x42bce2=_0x124476;if(!_0x5be9b7)return!0x1;let {sparklineConfigMap:_0x5ab7d2,unitId:_0x294f01,subUnitId:_0x214fdd}=_0x5be9b7,_0x79001d=_0x1fe95c[_0x42bce2(0x14c)](_0x4e1e04);return Object[_0x42bce2(0x112)](_0x5ab7d2)[_0x42bce2(0x109)](([_0x6d2383,_0x13c39e])=>{const _0x4867bb=_0x42bce2;let _0x213d25={'config':_0x13c39e['config'],'sparklines':new _0x30085b['ObjectMatrix'](_0x13c39e[_0x4867bb(0x1c6)])};_0x79001d[_0x4867bb(0xfb)](_0x294f01,_0x214fdd,_0x6d2383,_0x213d25);}),!0x0;}},_0xf020cb={'id':_0x124476(0x1ee),'type':_0x30085b[_0x124476(0x1be)][_0x124476(0x14f)],'handler':(_0x2e53a0,_0x2ad9ac)=>{const _0x5ebcd4=_0x124476;if(!_0x2ad9ac)return!0x1;let {unitId:_0x5bf5fd,subUnitId:_0x123630,ranges:_0x50ece0,isSingle:_0x200f97,groupIds:_0x481d5}=_0x2ad9ac,_0x2663ee=_0x2e53a0['get'](_0x4e1e04);return _0x481d5?(_0x481d5[_0x5ebcd4(0x109)](_0x7ffd96=>{const _0x488928=_0x5ebcd4;_0x2663ee[_0x488928(0x15c)](_0x5bf5fd,_0x123630,_0x7ffd96);}),!0x0):_0x50ece0?(_0x50ece0['forEach'](_0x42c374=>{const _0x2de410=_0x5ebcd4;_0x30085b[_0x2de410(0x150)][_0x2de410(0x1d4)](_0x42c374,(_0x566150,_0x5e91b9)=>{const _0x11f830=_0x2de410;let _0x2f2c51=_0x2663ee['getSparkline'](_0x5bf5fd,_0x123630,_0x566150,_0x5e91b9);_0x2f2c51&&(_0x200f97?_0x2663ee[_0x11f830(0x131)](_0x5bf5fd,_0x123630,_0x566150,_0x5e91b9):_0x2663ee['removeSparkline'](_0x5bf5fd,_0x123630,_0x2f2c51));});}),!0x0):!0x1;}},_0x12f24d={'id':'sheet.command.add-sparkline','type':_0x30085b[_0x124476(0x1be)][_0x124476(0x13c)],'handler':(_0x45390d,_0x5f0e1d)=>{const _0x138bdf=_0x124476;if(!_0x5f0e1d||!_0x542d70(_0x45390d))return!0x1;let {sourceRanges:_0x506386,targetRanges:_0x37e91a,config:_0x2f1b4a}=_0x5f0e1d,_0xaafea7=_0x45390d[_0x138bdf(0x14c)](_0x30085b[_0x138bdf(0x198)]),_0x324aa6='g_'+(0x0,_0x30085b[_0x138bdf(0x108)])(0x6),_0x557cb3=_0x155b3b(_0x506386,_0x37e91a),_0x27ef30={'config':_0x2f1b4a??{},'sparklines':_0x557cb3[_0x138bdf(0x1f3)]()},_0x56a435=_0x45390d[_0x138bdf(0x14c)](_0x30085b['IUniverInstanceService']),_0x1840f7=_0x45390d['get'](_0x4e1e04),_0x1f2ad1=(0x0,_0x3cfe73[_0x138bdf(0x1f0)])(_0x56a435);if(!_0x1f2ad1)return!0x1;let {unitId:_0x221b03,subUnitId:_0x16e08d}=_0x1f2ad1,_0x661a35=_0x45390d[_0x138bdf(0x14c)](_0x30085b['ICommandService']),_0x55fb39=[],_0x5b2d8c=[],_0x22bce3={},_0x168d1c={},_0x1aca3c=new Set([_0x324aa6]);_0x557cb3[_0x138bdf(0x1a9)]((_0x569a17,_0x1ae966)=>{const _0x55179b=_0x138bdf;let _0x52c717=_0x1840f7[_0x55179b(0x17c)](_0x221b03,_0x16e08d,_0x569a17,_0x1ae966);if(_0x52c717){let _0x5d1141=_0x1840f7[_0x55179b(0x125)](_0x221b03,_0x16e08d,_0x52c717);if(_0x5d1141){_0x1aca3c[_0x55179b(0x151)](_0x52c717);let _0x23aab2=_0x22bce3[_0x52c717],_0x5e3f2f=_0x168d1c[_0x52c717];_0x5e3f2f||(_0x5e3f2f={'config':_0x30085b[_0x55179b(0x187)][_0x55179b(0xf8)](_0x5d1141[_0x55179b(0xfd)]),'sparklines':new _0x30085b['ObjectMatrix'](_0x5d1141[_0x55179b(0x1c6)][_0x55179b(0x161)]())},_0x168d1c[_0x52c717]=_0x5e3f2f),_0x23aab2||(_0x23aab2={'config':_0x30085b[_0x55179b(0x187)][_0x55179b(0xf8)](_0x5d1141[_0x55179b(0xfd)]),'sparklines':_0x5d1141['sparklines'][_0x55179b(0x161)]()},_0x22bce3[_0x52c717]=_0x23aab2),_0x5e3f2f[_0x55179b(0x1c6)][_0x55179b(0x11e)](_0x569a17,_0x1ae966);}}});let _0x59013f={};return Object[_0x138bdf(0x112)](_0x168d1c)[_0x138bdf(0x109)](([_0x45060a,_0x1ce225])=>{const _0x2ae81d=_0x138bdf;_0x1ce225[_0x2ae81d(0x1c6)][_0x2ae81d(0x11d)]()&&(_0x59013f[_0x45060a]={'config':_0x1ce225[_0x2ae81d(0xfd)],'sparklines':_0x1ce225[_0x2ae81d(0x1c6)]['clone']()});}),_0x59013f[_0x324aa6]=_0x27ef30,_0x55fb39['push']({'id':_0xf020cb['id'],'params':{'unitId':_0x221b03,'subUnitId':_0x16e08d,'groupIds':Array[_0x138bdf(0x186)](_0x1aca3c),'isSingle':!0x1}}),_0x1aca3c[_0x138bdf(0x10c)]>0x1&&(_0x5b2d8c[_0x138bdf(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x221b03,'subUnitId':_0x16e08d,'groupIds':Array['from'](_0x1aca3c),'isSingle':!0x1}}),_0x55fb39[_0x138bdf(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x221b03,'subUnitId':_0x16e08d,'sparklineConfigMap':_0x22bce3}})),_0x5b2d8c['push']({'id':_0x581160['id'],'params':{'unitId':_0x221b03,'subUnitId':_0x16e08d,'sparklineConfigMap':_0x59013f}}),(0x0,_0x30085b['sequenceExecute'])(_0x5b2d8c,_0x661a35)['result']?(_0xaafea7[_0x138bdf(0x159)]({'unitID':_0x221b03,'undoMutations':_0x55fb39,'redoMutations':_0x5b2d8c}),!0x0):!0x1;}},_0x4ee207={'id':_0x124476(0x1ab),'type':_0x30085b[_0x124476(0x1be)]['COMMAND'],'handler':(_0x41633f,_0x468b92)=>{const _0x1b70ea=_0x124476;let {isSingle:_0x1441c6=!0x0}=_0x468b92||{},_0x181d3c=_0x41633f['get'](_0x30085b['ICommandService']),_0xdfb2d4=_0x41633f[_0x1b70ea(0x14c)](_0x30085b[_0x1b70ea(0x11c)]),_0xb944a7=_0x41633f['get'](_0x4e1e04),_0x35f94d=_0x41633f['get'](_0x30085b['IUndoRedoService']),_0x5f08a6=(0x0,_0x3cfe73[_0x1b70ea(0x1f0)])(_0xdfb2d4);if(!_0x5f08a6)return!0x1;let _0x14aeb7=_0x41633f[_0x1b70ea(0x14c)](_0x3cfe73[_0x1b70ea(0x1ac)]),_0x5957dc=(_0x468b92==null?void 0x0:_0x468b92['ranges'])??_0x14aeb7['getCurrentSelections']()[_0x1b70ea(0x1d6)](_0x1e5a48=>_0x1e5a48['range']),{unitId:_0x2b6c28,subUnitId:_0x2ee728}=_0x5f08a6,_0x4d4118=[],_0x24af0e=[];_0x4d4118[_0x1b70ea(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x2b6c28,'subUnitId':_0x2ee728,'ranges':_0x5957dc,'isSingle':_0x1441c6}});let _0x4e5b3f=[],_0x2cb3b6={};return _0x5957dc[_0x1b70ea(0x109)](_0x450c38=>{const _0x5cfe46=_0x1b70ea;_0x30085b[_0x5cfe46(0x150)]['foreach'](_0x450c38,(_0x11fabe,_0x2a306b)=>{const _0x34126d=_0x5cfe46;let _0x393331=_0xb944a7[_0x34126d(0x17c)](_0x2b6c28,_0x2ee728,_0x11fabe,_0x2a306b);if(_0x393331){let _0x56038e=_0xb944a7[_0x34126d(0x125)](_0x2b6c28,_0x2ee728,_0x393331);_0x56038e&&(_0x4e5b3f['push'](_0x393331),_0x2cb3b6[_0x393331]={'config':_0x30085b[_0x34126d(0x187)][_0x34126d(0xf8)](_0x56038e[_0x34126d(0xfd)]),'sparklines':_0x30085b[_0x34126d(0x187)]['deepClone'](_0x56038e[_0x34126d(0x1c6)][_0x34126d(0x161)]())});}});}),_0x24af0e[_0x1b70ea(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x2b6c28,'subUnitId':_0x2ee728,'groupIds':_0x4e5b3f,'isSingle':!0x1}}),_0x24af0e[_0x1b70ea(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x2b6c28,'subUnitId':_0x2ee728,'sparklineConfigMap':_0x2cb3b6}}),(0x0,_0x30085b[_0x1b70ea(0x1c2)])(_0x4d4118,_0x181d3c)[_0x1b70ea(0x1a7)]?(_0x35f94d[_0x1b70ea(0x159)]({'unitID':_0x2b6c28,'undoMutations':_0x24af0e,'redoMutations':_0x4d4118}),!0x0):!0x1;}},_0x11f839={'id':'sheet.mutation.set-sparkline','type':_0x30085b[_0x124476(0x1be)][_0x124476(0x14f)],'handler':(_0x3d8b82,_0x22fe58)=>{const _0x2d0394=_0x124476;if(!_0x22fe58)return!0x1;let {unitId:_0x11b5a8,subUnitId:_0x1efd62,groupIds:_0x1d6f74,config:_0x259a92}=_0x22fe58,_0x3d162c=_0x3d8b82[_0x2d0394(0x14c)](_0x4e1e04);return _0x1d6f74['forEach'](_0x2e6923=>{const _0x4620e3=_0x2d0394;let _0x13b175=_0x3d162c[_0x4620e3(0x125)](_0x11b5a8,_0x1efd62,_0x2e6923);if(_0x13b175){let _0x4871d1={'config':Object[_0x4620e3(0xfa)]({},_0x13b175[_0x4620e3(0xfd)],_0x259a92[_0x4620e3(0xfd)]),'sparklines':new _0x30085b['ObjectMatrix'](_0x13b175[_0x4620e3(0x1c6)][_0x4620e3(0x161)]())};_0x3d162c['setSparkline'](_0x11b5a8,_0x1efd62,[_0x2e6923],_0x4871d1);}}),!0x0;}},_0x1f507c={'id':'sheet.command.set-sparkline','type':_0x30085b[_0x124476(0x1be)][_0x124476(0x13c)],'handler':(_0x388646,_0x4a3939)=>{const _0x211d2f=_0x124476;var _0x2bcda1;if(!_0x4a3939||!_0x542d70(_0x388646))return!0x1;let _0x1f7263=_0x388646[_0x211d2f(0x14c)](_0x30085b[_0x211d2f(0x10b)]),_0x1c6d8d=_0x388646[_0x211d2f(0x14c)](_0x3cfe73[_0x211d2f(0x1ac)]),_0x17abd1=_0x388646[_0x211d2f(0x14c)](_0x4e1e04),_0x1906dc=_0x388646[_0x211d2f(0x14c)](_0x30085b[_0x211d2f(0x11c)]),_0x22979d=_0x388646['get'](_0x30085b[_0x211d2f(0x198)]),_0x1f4cd9=(0x0,_0x3cfe73[_0x211d2f(0x1f0)])(_0x1906dc);if(!_0x1f4cd9)return!0x1;let {unitId:_0x2f2b2e,subUnitId:_0xfd8ae6}=_0x1f4cd9,_0x4b72dd=(_0x4a3939==null?void 0x0:_0x4a3939[_0x211d2f(0x1d1)])??_0x1c6d8d['getCurrentSelections']()[_0x211d2f(0x1d6)](_0x30b8d8=>_0x30b8d8[_0x211d2f(0xec)]),_0x9bbd27=(_0x2bcda1=_0x17abd1[_0x211d2f(0x1de)]()['sparklineAnchorMap'][_0x211d2f(0x14c)](_0x2f2b2e))==null?void 0x0:_0x2bcda1['get'](_0xfd8ae6),{isChangeDataSource:_0x5240a8,config:_0x2c1241,combine:_0x147748,unCombine:_0x4d5c96}=_0x4a3939;if(_0x147748){var _0x837096;let _0x11f792=[],_0x45ae2a=[];_0x11f792[_0x211d2f(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'ranges':_0x4b72dd,'isSingle':!0x0}});let _0x3eb4b7='g_'+(0x0,_0x30085b[_0x211d2f(0x108)])(0x6),_0x35075e=new _0x30085b[(_0x211d2f(0x1da))](),_0x14382b=(_0x837096=_0x17abd1[_0x211d2f(0x1de)]()[_0x211d2f(0x1f6)]['get'](_0x2f2b2e))==null?void 0x0:_0x837096['get'](_0xfd8ae6),_0x202685=new Set([_0x3eb4b7]),_0x4e51f9={};return _0x4b72dd['forEach'](_0x3db057=>{const _0x32be1d=_0x211d2f;let {startRow:_0x2645c7,endRow:_0x1a8e2b,startColumn:_0x4dec0e,endColumn:_0x32f02e}=_0x3db057;for(let _0x1abf17=_0x2645c7;_0x1abf17<=_0x1a8e2b;_0x1abf17++)for(let _0x4f5d38=_0x4dec0e;_0x4f5d38<=_0x32f02e;_0x4f5d38++){var _0x5ea31f;let _0x5df15b=_0x9bbd27==null||(_0x5ea31f=_0x9bbd27['matrix'][_0x32be1d(0x15b)](_0x1abf17,_0x4f5d38))==null?void 0x0:_0x5ea31f[_0x32be1d(0x171)];if(_0x5df15b){var _0xefb44a;_0x202685['add'](_0x5df15b);let _0x1e8e92=_0x17abd1[_0x32be1d(0x125)](_0x2f2b2e,_0xfd8ae6,_0x5df15b);_0x1e8e92&&(_0x4e51f9[_0x5df15b]={'config':_0x30085b[_0x32be1d(0x187)]['deepClone'](_0x1e8e92[_0x32be1d(0xfd)]),'sparklines':_0x30085b[_0x32be1d(0x187)]['deepClone'](_0x1e8e92[_0x32be1d(0x1c6)][_0x32be1d(0x161)]())});let _0x4aa9fe=_0x14382b==null||(_0xefb44a=_0x14382b[_0x32be1d(0x14c)](_0x5df15b))==null?void 0x0:_0xefb44a[_0x32be1d(0x1c6)][_0x32be1d(0x15b)](_0x1abf17,_0x4f5d38);_0x4aa9fe&&_0x35075e[_0x32be1d(0x144)](_0x1abf17,_0x4f5d38,_0x4aa9fe);}}}),_0x11f792[_0x211d2f(0xf3)]({'id':_0x581160['id'],'params':{'sparklineConfigMap':{[_0x3eb4b7]:{'config':_0x30085b[_0x211d2f(0x187)][_0x211d2f(0xf8)](_0x2c1241[_0x211d2f(0xfd)]),'sparklines':_0x35075e[_0x211d2f(0x1f3)]()}},'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6}}),_0x45ae2a['push']({'id':_0xf020cb['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'isSingle':!0x1,'groupIds':Array[_0x211d2f(0x186)](_0x202685)}}),_0x45ae2a[_0x211d2f(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'sparklineConfigMap':_0x4e51f9}}),(0x0,_0x30085b[_0x211d2f(0x1c2)])(_0x11f792,_0x1f7263)[_0x211d2f(0x1a7)]?(_0x22979d[_0x211d2f(0x159)]({'unitID':_0x2f2b2e,'undoMutations':_0x45ae2a,'redoMutations':_0x11f792}),!0x0):!0x1;}if(_0x4d5c96){var _0x40f3c5;let _0x473729=[],_0x1a49fc=[];_0x473729[_0x211d2f(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'ranges':_0x4b72dd,'isSingle':!0x0}});let _0x16a536=(_0x40f3c5=_0x17abd1[_0x211d2f(0x1de)]()[_0x211d2f(0x1f6)][_0x211d2f(0x14c)](_0x2f2b2e))==null?void 0x0:_0x40f3c5[_0x211d2f(0x14c)](_0xfd8ae6),_0x1ccce8={},_0x14a561=new Set(),_0x10270b={};return _0x4b72dd[_0x211d2f(0x109)](_0x2d589c=>{const _0xf627bb=_0x211d2f;let {startRow:_0x4cb9bd,endRow:_0x18c078,startColumn:_0x129183,endColumn:_0x5907c5}=_0x2d589c;for(let _0x5618d9=_0x4cb9bd;_0x5618d9<=_0x18c078;_0x5618d9++)for(let _0x4df138=_0x129183;_0x4df138<=_0x5907c5;_0x4df138++){var _0x474064;let _0x2416a0=_0x9bbd27==null||(_0x474064=_0x9bbd27[_0xf627bb(0x117)]['getValue'](_0x5618d9,_0x4df138))==null?void 0x0:_0x474064[_0xf627bb(0x171)];if(_0x2416a0){var _0x5cc8e1;let _0x15295c=new _0x30085b[(_0xf627bb(0x1da))](),_0x22d22e='g_'+(0x0,_0x30085b[_0xf627bb(0x108)])(0x6);_0x14a561['add'](_0x2416a0),_0x14a561[_0xf627bb(0x151)](_0x22d22e);let _0x24677b=_0x17abd1[_0xf627bb(0x125)](_0x2f2b2e,_0xfd8ae6,_0x2416a0);_0x24677b&&(_0x10270b[_0x2416a0]={'config':_0x30085b['Tools']['deepClone'](_0x24677b[_0xf627bb(0xfd)]),'sparklines':_0x30085b[_0xf627bb(0x187)]['deepClone'](_0x24677b[_0xf627bb(0x1c6)]['clone']())});let _0x4a99fe=_0x16a536==null||(_0x5cc8e1=_0x16a536[_0xf627bb(0x14c)](_0x2416a0))==null?void 0x0:_0x5cc8e1[_0xf627bb(0x1c6)][_0xf627bb(0x15b)](_0x5618d9,_0x4df138);_0x4a99fe&&_0x15295c[_0xf627bb(0x144)](_0x5618d9,_0x4df138,_0x4a99fe),_0x1ccce8[_0x22d22e]={'sparklines':_0x15295c[_0xf627bb(0x1f3)](),'config':_0x30085b['Tools']['deepClone'](_0x2c1241[_0xf627bb(0xfd)])};}}}),_0x473729[_0x211d2f(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'sparklineConfigMap':_0x1ccce8}}),_0x1a49fc['push']({'id':_0xf020cb['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'isSingle':!0x1,'groupIds':Array['from'](_0x14a561)}}),_0x1a49fc[_0x211d2f(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'sparklineConfigMap':_0x10270b}}),(0x0,_0x30085b[_0x211d2f(0x1c2)])(_0x473729,_0x1f7263)[_0x211d2f(0x1a7)]?(_0x22979d[_0x211d2f(0x159)]({'unitID':_0x2f2b2e,'undoMutations':_0x1a49fc,'redoMutations':_0x473729}),!0x0):!0x1;}if(_0x5240a8){let _0x54865f=_0x4a3939[_0x211d2f(0x10e)];if(!_0x54865f)return!0x1;let {groupId:_0x46ac40,sourceRanges:_0x1b7676,targetRanges:_0x144ddf,resetType:_0x38eb3b,primary:_0x16ebf4}=_0x54865f,_0x5835ce=[],_0x2e8553=[];_0x5835ce[_0x211d2f(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'ranges':_0x4b72dd,'isSingle':!0x1,'groupIds':[_0x46ac40]}}),_0x2e8553[_0x211d2f(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'ranges':_0x4b72dd,'isSingle':!0x1,'groupIds':[_0x46ac40]}});let _0x409104;_0x38eb3b==='item'?(_0x409104=new _0x30085b[(_0x211d2f(0x1da))](_0x2c1241[_0x211d2f(0x1c6)]['clone']()),_0x409104[_0x211d2f(0x11e)](_0x16ebf4[_0x211d2f(0x1c7)],_0x16ebf4[_0x211d2f(0x174)]),_0x409104[_0x211d2f(0x144)](_0x144ddf[0x0][_0x211d2f(0x110)],_0x144ddf[0x0]['startColumn'],_0x1b7676[0x0])):_0x409104=_0x155b3b(_0x1b7676,_0x144ddf);let _0x112dcf={'config':_0x30085b[_0x211d2f(0x187)][_0x211d2f(0xf8)](_0x2c1241[_0x211d2f(0xfd)]),'sparklines':_0x409104[_0x211d2f(0x1f3)]()},_0x23b994={'config':_0x30085b[_0x211d2f(0x187)][_0x211d2f(0xf8)](_0x2c1241[_0x211d2f(0xfd)]),'sparklines':_0x30085b['Tools'][_0x211d2f(0xf8)](_0x2c1241[_0x211d2f(0x1c6)]['clone']())};return _0x5835ce[_0x211d2f(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'sparklineConfigMap':{[_0x46ac40]:_0x112dcf}}}),_0x2e8553[_0x211d2f(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'sparklineConfigMap':{[_0x46ac40]:_0x23b994}}}),(0x0,_0x30085b[_0x211d2f(0x1c2)])(_0x5835ce,_0x1f7263)[_0x211d2f(0x1a7)]?(_0x22979d['pushUndoRedo']({'unitID':_0x2f2b2e,'undoMutations':_0x2e8553,'redoMutations':_0x5835ce}),!0x0):!0x1;}{let _0x7ea98a=[],_0x51f68c=[],_0x1e59cd=new Set(),_0x4d2297={};return _0x4b72dd[_0x211d2f(0x109)](_0x481155=>{const _0x4f84c3=_0x211d2f;let {startRow:_0x29f85a,endRow:_0x554c1d,startColumn:_0xf7964d,endColumn:_0x2e25fa}=_0x481155;for(let _0xc1216d=_0x29f85a;_0xc1216d<=_0x554c1d;_0xc1216d++)for(let _0xa827b6=_0xf7964d;_0xa827b6<=_0x2e25fa;_0xa827b6++){var _0x4423eb;let _0x474564=_0x9bbd27==null||(_0x4423eb=_0x9bbd27['matrix'][_0x4f84c3(0x15b)](_0xc1216d,_0xa827b6))==null?void 0x0:_0x4423eb[_0x4f84c3(0x171)];if(_0x474564){_0x1e59cd['add'](_0x474564);let _0x381390=_0x17abd1['getSparklineById'](_0x2f2b2e,_0xfd8ae6,_0x474564);_0x381390&&(_0x4d2297[_0x474564]={'config':_0x30085b[_0x4f84c3(0x187)][_0x4f84c3(0xf8)](_0x381390[_0x4f84c3(0xfd)]),'sparklines':_0x30085b[_0x4f84c3(0x187)][_0x4f84c3(0xf8)](_0x381390[_0x4f84c3(0x1c6)][_0x4f84c3(0x161)]())});}}}),_0x51f68c['push']({'id':_0x11f839['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'groupIds':Array[_0x211d2f(0x186)](_0x1e59cd),'config':{'config':_0x30085b[_0x211d2f(0x187)][_0x211d2f(0xf8)](_0x2c1241['config']),'sparklines':_0x2c1241[_0x211d2f(0x1c6)]['getMatrix']()}}}),_0x7ea98a[_0x211d2f(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'isSingle':!0x1,'groupIds':Array['from'](_0x1e59cd)}}),_0x7ea98a['push']({'id':_0x581160['id'],'params':{'unitId':_0x2f2b2e,'subUnitId':_0xfd8ae6,'sparklineConfigMap':_0x4d2297}}),(0x0,_0x30085b[_0x211d2f(0x1c2)])(_0x51f68c,_0x1f7263)[_0x211d2f(0x1a7)]?(_0x22979d['pushUndoRedo']({'unitID':_0x2f2b2e,'undoMutations':_0x7ea98a,'redoMutations':_0x51f68c}),!0x0):!0x1;}}};var _0x27d626=_0x124476(0x1a3),_0x45fa18=_0x124476(0x154);let _0x187796={},_0x5f44b4=class extends _0x30085b['Disposable']{constructor(_0xfceb35,_0x1c107e,_0x1c380c,_0x3b383d){const _0x551125=_0x124476;super(),this[_0x551125(0x1dd)]=_0xfceb35,this['_sheetInterceptorService']=_0x1c107e,this['_univerInstanceService']=_0x1c380c,this[_0x551125(0x1f2)]=_0x3b383d,this[_0x551125(0x1cc)]();}[_0x124476(0x1cc)](){const _0x590598=_0x124476;this[_0x590598(0x1e1)](this[_0x590598(0x196)][_0x590598(0x19d)]({'getMutations':_0x4ed1da=>{const _0x33011a=_0x590598;let _0x35cc45=[],_0x2c3627=[];if(_0x4ed1da['id']===_0x3cfe73[_0x33011a(0x180)]['id']){let _0x5189c9=(0x0,_0x3cfe73[_0x33011a(0x1f0)])(this['_univerInstanceService'],_0x4ed1da[_0x33011a(0x1e7)]);if(!_0x5189c9)return{'redos':_0x35cc45,'undos':_0x2c3627};let {unitId:_0x2d60f6,subUnitId:_0x23fccf}=_0x5189c9,_0x2c888f=this[_0x33011a(0x1f2)][_0x33011a(0x142)]()[_0x33011a(0x1d6)](_0x267f04=>_0x267f04[_0x33011a(0xec)]),_0x2effe6=new Set(),_0x158cd5={},_0x284964={};_0x2c888f['forEach'](_0x57917b=>{const _0x1266b8=_0x33011a;_0x30085b['Range'][_0x1266b8(0x1d4)](_0x57917b,(_0x32a660,_0x126672)=>{const _0x8d4971=_0x1266b8;let _0x3b2ad1=this[_0x8d4971(0x1dd)][_0x8d4971(0x17c)](_0x2d60f6,_0x23fccf,_0x32a660,_0x126672);if(_0x3b2ad1&&!_0x2effe6[_0x8d4971(0x1a6)](_0x3b2ad1)){let _0x4a4e3a=this[_0x8d4971(0x1dd)][_0x8d4971(0x125)](_0x2d60f6,_0x23fccf,_0x3b2ad1);_0x4a4e3a&&(_0x2effe6[_0x8d4971(0x151)](_0x3b2ad1),_0x158cd5[_0x3b2ad1]={'config':_0x30085b[_0x8d4971(0x187)]['deepClone'](_0x4a4e3a[_0x8d4971(0xfd)]),'sparklines':_0x30085b['Tools'][_0x8d4971(0xf8)](_0x4a4e3a[_0x8d4971(0x1c6)][_0x8d4971(0x161)]())},_0x284964[_0x3b2ad1]={'config':_0x30085b[_0x8d4971(0x187)][_0x8d4971(0xf8)](_0x4a4e3a['config']),'sparklines':_0x30085b[_0x8d4971(0x187)]['deepClone'](_0x4a4e3a[_0x8d4971(0x1c6)]['clone']())});}});}),Object[_0x33011a(0x134)](_0x284964)[_0x33011a(0x109)](_0x4ff2f6=>{const _0xde538a=_0x33011a;let _0x2de965=_0x4ff2f6[_0xde538a(0x1c6)];new _0x30085b['ObjectMatrix'](_0x2de965)['forValue']((_0x2968b9,_0x53f8dc,_0x4db69c)=>{const _0x111fd0=_0xde538a;_0x2c888f[_0x111fd0(0x1b4)](_0x36643d=>_0x30085b[_0x111fd0(0x14b)]['intersects'](_0x36643d,(0x0,_0x30085b['cellToRange'])(_0x2968b9,_0x53f8dc)))&&delete _0x2de965[_0x2968b9][_0x53f8dc];});}),_0x2effe6['size']>0x0&&(_0x35cc45['push']({'id':_0xf020cb['id'],'params':{'unitId':_0x2d60f6,'subUnitId':_0x23fccf,'groupIds':Array[_0x33011a(0x186)](_0x2effe6),'isSingle':!0x1}}),_0x2c3627[_0x33011a(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x2d60f6,'subUnitId':_0x23fccf,'groupIds':Array['from'](_0x2effe6),'isSingle':!0x1}})),Object['keys'](_0x284964)[_0x33011a(0xf4)]>0x0&&_0x35cc45[_0x33011a(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x2d60f6,'subUnitId':_0x23fccf,'sparklineConfigMap':_0x284964}}),Object[_0x33011a(0x15f)](_0x158cd5)[_0x33011a(0xf4)]>0x0&&_0x2c3627[_0x33011a(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x2d60f6,'subUnitId':_0x23fccf,'sparklineConfigMap':_0x158cd5}});}return{'redos':_0x35cc45,'undos':_0x2c3627};}}));}};_0x5f44b4=_0x5383ad([_0x2f52ef(0x0,(0x0,_0x30085b['Inject'])(_0x4e1e04)),_0x2f52ef(0x1,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x3cfe73[_0x124476(0x1ea)])),_0x2f52ef(0x2,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x30085b['IUniverInstanceService'])),_0x2f52ef(0x3,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x3cfe73['SheetsSelectionsService']))],_0x5f44b4);let _0x20acee=class extends _0x30085b['Disposable']{constructor(_0x57af46,_0x2fedca,_0x5d4616){const _0x36b5e6=_0x124476;super(),this['_commandService']=_0x57af46,this[_0x36b5e6(0x1dd)]=_0x2fedca,this[_0x36b5e6(0x139)]=_0x5d4616,this['_initDataChangeListener'](),this[_0x36b5e6(0x128)]();}['_initDataChangeListener'](){const _0x575cc8=_0x124476;this['disposeWithMe'](this['_commandService'][_0x575cc8(0x1f7)](_0xd5efb9=>{const _0x30ff58=_0x575cc8;if(_0xd5efb9['id']===_0x3cfe73[_0x30ff58(0x181)]['id']){let {cellValue:_0x5bf7e9,unitId:_0x16d317,subUnitId:_0x450ce1}=_0xd5efb9[_0x30ff58(0x1e7)],_0x2c9e7c=new _0x30085b[(_0x30ff58(0x1da))](_0x5bf7e9),_0x6728e1=new Set(),_0x3f0c16=this['_sparklineDataSourceModel'][_0x30ff58(0x17d)](_0x16d317,_0x450ce1);if(!_0x3f0c16)return;let _0xd5bf46=Array[_0x30ff58(0x186)](_0x3f0c16);_0x2c9e7c[_0x30ff58(0x1a9)]((_0x4cc38d,_0x4dca48,_0xb85561)=>{const _0x531655=_0x30ff58;let _0x464c53=(0x0,_0x30085b['cellToRange'])(_0x4cc38d,_0x4dca48);for(let _0x55f15d=0x0;_0x55f15d<_0xd5bf46[_0x531655(0xf4)];_0x55f15d++){let [_0x8dd343,_0x13a73c]=_0xd5bf46[_0x55f15d],_0x76d4cb=_0x6728e1[_0x531655(0x1a6)](_0x8dd343);_0x76d4cb||_0x13a73c[_0x531655(0x1c6)][_0x531655(0x1a9)]((_0x1b25a8,_0x45d20e,_0x51f248)=>{const _0x325f54=_0x531655;let _0x15f05e=_0x51f248;if(_0x15f05e&&!_0x76d4cb&&_0x30085b[_0x325f54(0x14b)][_0x325f54(0x13e)](_0x464c53,_0x15f05e))return _0x6728e1[_0x325f54(0x151)](_0x8dd343),!0x0;});}}),_0x6728e1[_0x30ff58(0x109)](_0x52e012=>{const _0x5d92bc=_0x30ff58;this[_0x5d92bc(0x1dd)][_0x5d92bc(0x133)](_0x16d317,_0x450ce1,_0x52e012),this[_0x5d92bc(0x1dd)]['updateSparklineExtraNum'](_0x16d317,_0x450ce1,_0x52e012);});}else{if(_0xd5efb9['id']===_0x3cfe73['ReorderRangeMutation']['id']){let {range:_0x3f7fa7,unitId:_0x7a88e7,subUnitId:_0xf653ba}=_0xd5efb9[_0x30ff58(0x1e7)],_0x4cb657=new Set(),_0x5c896c=this['_sparklineDataSourceModel'][_0x30ff58(0x17d)](_0x7a88e7,_0xf653ba);if(!_0x5c896c)return;let _0x78cde8=Array[_0x30ff58(0x186)](_0x5c896c);for(let _0x35c5a0=0x0;_0x35c5a0<_0x78cde8[_0x30ff58(0xf4)];_0x35c5a0++){let [_0x4e1a8e,_0x12d411]=_0x78cde8[_0x35c5a0],_0x36535c=_0x4cb657['has'](_0x4e1a8e);_0x36535c||_0x12d411['sparklines'][_0x30ff58(0x1a9)]((_0x198339,_0x563480,_0x154897)=>{const _0x1c1441=_0x30ff58;let _0x46f40a=_0x154897;if(_0x46f40a&&!_0x36535c&&_0x30085b[_0x1c1441(0x14b)]['intersects'](_0x3f7fa7,_0x46f40a))return _0x4cb657[_0x1c1441(0x151)](_0x4e1a8e),!0x0;});}_0x4cb657[_0x30ff58(0x109)](_0x42818f=>{const _0x5c7281=_0x30ff58;this['_sparklineDataSourceModel']['clearSparklineCache'](_0x7a88e7,_0xf653ba,_0x42818f),this[_0x5c7281(0x1dd)]['updateSparklineExtraNum'](_0x7a88e7,_0xf653ba,_0x42818f);});}}}));}['_initExclusiveRangeChange'](){const _0x42a8b7=_0x124476;this['disposeWithMe'](this[_0x42a8b7(0x139)]['exclusiveRangesChange$']['subscribe'](_0x5aae71=>{const _0x392517=_0x42a8b7;let {unitId:_0x5e8805,subUnitId:_0x4691d8,ranges:_0xbf407e}=_0x5aae71,_0xed5d11=this[_0x392517(0x1dd)][_0x392517(0x17d)](_0x5e8805,_0x4691d8);if(!_0xed5d11)return;let _0x4ce6e4=Array['from'](_0xed5d11),_0x2ce4af=new Set();for(let _0x4c660a=0x0;_0x4c660a<_0x4ce6e4[_0x392517(0xf4)];_0x4c660a++){let [_0x1e9832,_0x1b25d6]=_0x4ce6e4[_0x4c660a],_0xc4e5c8=_0x2ce4af[_0x392517(0x1a6)](_0x1e9832);_0xc4e5c8||_0x1b25d6[_0x392517(0x1c6)][_0x392517(0x1a9)]((_0x433caf,_0x392ce2,_0x409fd5)=>{const _0x2fd0c5=_0x392517;let _0x3d198e=_0x409fd5;if(_0x3d198e&&!_0xc4e5c8){for(let _0x29ccb3 of _0xbf407e)if(_0x30085b[_0x2fd0c5(0x14b)][_0x2fd0c5(0x13e)](_0x29ccb3,_0x3d198e)){_0x2ce4af[_0x2fd0c5(0x151)](_0x1e9832);break;}}});}_0x2ce4af[_0x392517(0x109)](_0x1e5e53=>{const _0x36fab0=_0x392517;this[_0x36fab0(0x1dd)][_0x36fab0(0x133)](_0x5e8805,_0x4691d8,_0x1e5e53),this[_0x36fab0(0x1dd)]['updateSparklineExtraNum'](_0x5e8805,_0x4691d8,_0x1e5e53);});}));}};_0x20acee=_0x5383ad([_0x2f52ef(0x0,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x30085b[_0x124476(0x10b)])),_0x2f52ef(0x1,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x4e1e04)),_0x2f52ef(0x2,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x3cfe73[_0x124476(0x10d)]))],_0x20acee);let _0x2ee4ad=class extends _0x30085b['Disposable']{constructor(_0x125da3,_0x476ce0){const _0x69354a=_0x124476;super(),this[_0x69354a(0x11a)]=_0x125da3,this[_0x69354a(0x1dd)]=_0x476ce0,this[_0x69354a(0x158)]();}[_0x124476(0x158)](){const _0x5db65a=_0x124476;this[_0x5db65a(0x11a)]['onCommandExecuted'](_0x9b0def=>{const _0x4a3818=_0x5db65a;if(_0x9b0def['id']===_0x3cfe73['SetRowHiddenMutation']['id']||_0x9b0def['id']===_0x3cfe73['SetColHiddenMutation']['id']||_0x9b0def['id']===_0x3cfe73[_0x4a3818(0x1ec)]['id']||_0x9b0def['id']===_0x3cfe73[_0x4a3818(0x1c9)]['id']){let {ranges:_0x275041,unitId:_0x173ecf,subUnitId:_0x11f375}=_0x9b0def[_0x4a3818(0x1e7)],_0xa9fbb8=new Set(),_0x41fc6e=this[_0x4a3818(0x1dd)][_0x4a3818(0x17d)](_0x173ecf,_0x11f375);if(!_0x41fc6e)return;let _0x32d910=Array[_0x4a3818(0x186)](_0x41fc6e);_0x275041[_0x4a3818(0x109)](_0x211b01=>{const _0x43736e=_0x4a3818;_0x30085b['Range'][_0x43736e(0x1d4)](_0x211b01,(_0x4977d7,_0x303013)=>{const _0x597d8c=_0x43736e;let _0x113357=(0x0,_0x30085b['cellToRange'])(_0x4977d7,_0x303013);for(let _0x70f967=0x0;_0x70f967<_0x32d910[_0x597d8c(0xf4)];_0x70f967++){let [_0x23b2a0,_0x128c97]=_0x32d910[_0x70f967],_0x402f6c=_0xa9fbb8[_0x597d8c(0x1a6)](_0x23b2a0);_0x402f6c||_0x128c97[_0x597d8c(0x1c6)][_0x597d8c(0x1a9)]((_0x589800,_0x281d9e,_0x470d22)=>{const _0x259341=_0x597d8c;let _0x458eda=_0x470d22;if(_0x458eda&&!_0x402f6c&&_0x30085b[_0x259341(0x14b)][_0x259341(0x13e)](_0x113357,_0x458eda))return _0xa9fbb8[_0x259341(0x151)](_0x23b2a0),!0x0;});}});}),_0xa9fbb8[_0x4a3818(0x109)](_0xe0f5d7=>{const _0x64a28c=_0x4a3818;this['_sparklineDataSourceModel'][_0x64a28c(0x133)](_0x173ecf,_0x11f375,_0xe0f5d7),this[_0x64a28c(0x1dd)]['updateSparklineExtraNum'](_0x173ecf,_0x11f375,_0xe0f5d7);});}});}};_0x2ee4ad=_0x5383ad([_0x2f52ef(0x0,(0x0,_0x30085b['Inject'])(_0x30085b[_0x124476(0x10b)])),_0x2f52ef(0x1,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x4e1e04))],_0x2ee4ad);let _0x108f65=class extends _0x30085b['Disposable']{constructor(_0x2286ca,_0x31a00c,_0x32f926){const _0x51917f=_0x124476;super(),this[_0x51917f(0x11a)]=_0x2286ca,this['_sheetInterceptorService']=_0x31a00c,this['_sparklineDataSourceModel']=_0x32f926,this[_0x51917f(0xef)]();}['_initMergeWithSparkline'](){const _0x413959=_0x124476;this[_0x413959(0x1e1)](this[_0x413959(0x196)]['interceptCommand']({'getMutations':_0x418729=>{const _0x5c3009=_0x413959;let _0x30242f=[],_0xabf467=[];if(_0x418729['id']===_0x3cfe73[_0x5c3009(0x16e)]['id']){let _0x5ac47e=_0x418729['params'];if(!_0x5ac47e)return{'redos':_0x30242f,'undos':_0xabf467};let {unitId:_0x3c7250,subUnitId:_0x15cea4,ranges:_0x3e5f18}=_0x5ac47e,_0x12a267=this[_0x5c3009(0x1dd)][_0x5c3009(0x17d)](_0x3c7250,_0x15cea4);if(!_0x12a267)return{'redos':_0x30242f,'undos':_0xabf467};let _0x30302c={},_0x10f13c={},_0x435044=new Set();_0x3e5f18[_0x5c3009(0x109)](_0x5d47ff=>{const _0x3fb8ec=_0x5c3009;let _0x5d6ba1=_0x5d47ff[_0x3fb8ec(0x110)],_0x385f2b=_0x5d47ff[_0x3fb8ec(0x18c)];_0x30085b['Range'][_0x3fb8ec(0x1d4)](_0x5d47ff,(_0x36c1e0,_0x2d382c)=>{const _0x238309=_0x3fb8ec;let _0x16c7f9=this[_0x238309(0x1dd)][_0x238309(0x17c)](_0x3c7250,_0x15cea4,_0x36c1e0,_0x2d382c);if(_0x16c7f9&&(_0x36c1e0!==_0x5d6ba1||_0x2d382c!==_0x385f2b)){let _0x1512d9=this[_0x238309(0x1dd)][_0x238309(0x125)](_0x3c7250,_0x15cea4,_0x16c7f9);if(_0x1512d9){_0x435044[_0x238309(0x151)](_0x16c7f9);let _0x1c2129=_0x30302c[_0x16c7f9];_0x1c2129||(_0x1c2129={'config':_0x30085b['Tools'][_0x238309(0xf8)](_0x1512d9[_0x238309(0xfd)]),'sparklines':new _0x30085b[(_0x238309(0x1da))](_0x1512d9[_0x238309(0x1c6)]['clone']())},_0x30302c[_0x16c7f9]=_0x1c2129),_0x1c2129[_0x238309(0x1c6)][_0x238309(0x11e)](_0x36c1e0,_0x2d382c),_0x10f13c[_0x16c7f9]={'config':_0x30085b[_0x238309(0x187)]['deepClone'](_0x1512d9['config']),'sparklines':_0x30085b[_0x238309(0x187)][_0x238309(0xf8)](_0x1512d9[_0x238309(0x1c6)][_0x238309(0x161)]())};}}});});for(let [_0x49d3e2,_0x2fcbef]of _0x12a267){let _0x4a1990=_0x2fcbef[_0x5c3009(0x1c6)];_0x4a1990['forValue']((_0x5b8201,_0x5d3c48,_0x4c30d7)=>{const _0x127d89=_0x5c3009;for(let _0xdecfd3=0x0;_0xdecfd3<_0x3e5f18[_0x127d89(0xf4)];_0xdecfd3++){let _0x174c0c=_0x3e5f18[_0xdecfd3];if(_0x30085b[_0x127d89(0x14b)][_0x127d89(0x1ef)](_0x174c0c,_0x4c30d7)){_0x435044[_0x127d89(0x151)](_0x49d3e2);let _0x7aaff4=_0x30302c[_0x49d3e2];_0x7aaff4||(_0x7aaff4={'config':_0x30085b[_0x127d89(0x187)][_0x127d89(0xf8)](_0x2fcbef[_0x127d89(0xfd)]),'sparklines':new _0x30085b[(_0x127d89(0x1da))](_0x4a1990[_0x127d89(0x161)]())},_0x30302c[_0x49d3e2]=_0x7aaff4),_0x7aaff4[_0x127d89(0x1c6)]['realDeleteValue'](_0x5b8201,_0x5d3c48),_0x10f13c[_0x49d3e2]||(_0x10f13c[_0x49d3e2]={'config':_0x30085b[_0x127d89(0x187)][_0x127d89(0xf8)](_0x2fcbef[_0x127d89(0xfd)]),'sparklines':_0x30085b[_0x127d89(0x187)][_0x127d89(0xf8)](_0x4a1990[_0x127d89(0x161)]())});}}});}let _0x123a21={};Object[_0x5c3009(0x112)](_0x30302c)[_0x5c3009(0x109)](([_0x300966,_0x5a5edd])=>{const _0x4d8c51=_0x5c3009;_0x5a5edd[_0x4d8c51(0x1c6)]['getSizeOf']()&&(_0x123a21[_0x300966]={'config':_0x5a5edd[_0x4d8c51(0xfd)],'sparklines':_0x5a5edd[_0x4d8c51(0x1c6)][_0x4d8c51(0x161)]()});}),_0x435044[_0x5c3009(0x10c)]&&(_0x30242f['push']({'id':_0xf020cb['id'],'params':{'unitId':_0x3c7250,'subUnitId':_0x15cea4,'groupIds':Array[_0x5c3009(0x186)](_0x435044),'isSingle':!0x1}}),_0xabf467['push']({'id':_0xf020cb['id'],'params':{'unitId':_0x3c7250,'subUnitId':_0x15cea4,'groupIds':Array['from'](_0x435044),'isSingle':!0x1}}),_0x30242f[_0x5c3009(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x3c7250,'subUnitId':_0x15cea4,'sparklineConfigMap':_0x123a21}}),_0xabf467[_0x5c3009(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x3c7250,'subUnitId':_0x15cea4,'sparklineConfigMap':_0x10f13c}}));}return{'redos':_0x30242f,'undos':_0xabf467};}}));}};_0x108f65=_0x5383ad([_0x2f52ef(0x0,(0x0,_0x30085b['Inject'])(_0x30085b[_0x124476(0x10b)])),_0x2f52ef(0x1,(0x0,_0x30085b['Inject'])(_0x3cfe73[_0x124476(0x1ea)])),_0x2f52ef(0x2,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x4e1e04))],_0x108f65);let _0x48e6dc=class extends _0x30085b[_0x124476(0x1fe)]{constructor(_0x274ce2,_0x25cce2,_0x41686f,_0x3b3b6a){const _0x21376c=_0x124476;super(),this[_0x21376c(0x11a)]=_0x274ce2,this[_0x21376c(0x1a4)]=_0x25cce2,this[_0x21376c(0x115)]=_0x41686f,this[_0x21376c(0x1dd)]=_0x3b3b6a,_0x21af3f(this,_0x21376c(0x1cf),new _0x30085b['DisposableCollection']()),this[_0x21376c(0x1a8)](),this[_0x21376c(0x11f)]();}[_0x124476(0x1a8)](){const _0x4ec62e=_0x124476;let _0x4df336=(_0x5b0292,_0x25fd12)=>{const _0x3c9d56=_0x5603;let _0x2db250=this['_univerInstanceService'][_0x3c9d56(0x1b5)](_0x30085b[_0x3c9d56(0x14d)]['UNIVER_SHEET']);if(!_0x2db250||!(_0x2db250!=null&&_0x2db250['getSheetBySheetId'](_0x25fd12)))return;this[_0x3c9d56(0x1cf)][_0x3c9d56(0x172)]();let _0x5866e6=_0x467d16=>this[_0x3c9d56(0x1c4)](_0x467d16,_0x5b0292,_0x25fd12),_0x296adf=[],_0x2b6bd6=this[_0x3c9d56(0x1dd)]['getSubUnitSparkline'](_0x5b0292,_0x25fd12);if(_0x2b6bd6){for(let [_0x1e473a,_0x44926f]of _0x2b6bd6)_0x44926f['sparklines'][_0x3c9d56(0x1a9)]((_0x100b1a,_0xf59245,_0x566af2)=>{const _0x2b0e94=_0x3c9d56;let _0x3160cf=(0x0,_0x30085b['cellToRange'])(_0x100b1a,_0xf59245);_0x296adf[_0x2b0e94(0xf3)](_0x3160cf);});_0x296adf[_0x3c9d56(0x109)](_0x347494=>{const _0x22235c=_0x3c9d56;this[_0x22235c(0x1cf)][_0x22235c(0x151)](this['_refRangeService'][_0x22235c(0x12a)](_0x347494,_0x5866e6,_0x5b0292,_0x25fd12));});}};this[_0x4ec62e(0x1e1)](this[_0x4ec62e(0x11a)][_0x4ec62e(0x1f7)](_0x1b91d9=>{const _0x5dd089=_0x4ec62e;if(_0x1b91d9['id']===_0x3cfe73[_0x5dd089(0xfe)]['id']){let _0x4110e6=_0x1b91d9['params'],_0x144cd3=_0x4110e6['subUnitId'],_0x140c18=_0x4110e6[_0x5dd089(0x167)];if(!_0x144cd3||!_0x140c18)return;_0x4df336(_0x140c18,_0x144cd3);}if(_0x1b91d9['id']===_0x11f839['id']||_0x1b91d9['id']===_0x581160['id']){let _0x36b714=_0x1b91d9[_0x5dd089(0x1e7)],_0x289be9=_0x36b714[_0x5dd089(0x140)],_0x48d2ee=_0x36b714['unitId'];if(!_0x289be9||!_0x48d2ee)return;_0x4df336(_0x48d2ee,_0x289be9);}}));}[_0x124476(0x1c4)](_0x1f302a,_0x50b013,_0x1b97a7){const _0x49e59a=_0x124476;switch(_0x1f302a['id']){case _0x3cfe73['RemoveColCommand']['id']:return this[_0x49e59a(0x1aa)](_0x1f302a['params'],_0x50b013,_0x1b97a7);case _0x3cfe73[_0x49e59a(0x1a0)]['id']:return this[_0x49e59a(0xf5)](_0x1f302a['params'],_0x50b013,_0x1b97a7);}return{'redos':[],'undos':[]};}[_0x124476(0xf5)](_0xbb85b,_0x10d071,_0x23640c){const _0x934999=_0x124476;var _0x5c55ee;let {range:_0x13e3e5}=_0xbb85b,_0x2027dd=new Set(),_0x2d1029={},_0x56eeed={},_0x284d12=[],_0x6121a=[],_0x141679=[],_0x42fe5b=[];if(!(0x0,_0x3cfe73[_0x934999(0x1f0)])(this[_0x934999(0x115)],{'unitId':_0x10d071,'subUnitId':_0x23640c}))return{'redos':_0x6121a,'undos':_0x284d12};let _0x4e2bca=this[_0x934999(0x1dd)][_0x934999(0x17d)](_0x10d071,_0x23640c);if(!_0x4e2bca||!((_0x5c55ee=this['_sparklineDataSourceModel'][_0x934999(0x1de)]()['sparklineAnchorMap'][_0x934999(0x14c)](_0x10d071))!=null&&(_0x5c55ee=_0x5c55ee[_0x934999(0x14c)](_0x23640c))!=null&&_0x5c55ee[_0x934999(0x117)]))return{'redos':_0x6121a,'undos':_0x284d12};for(let [_0xe6fffa,_0x4601dd]of _0x4e2bca){let _0xa5ed2=_0x4601dd[_0x934999(0x1c6)];_0xa5ed2[_0x934999(0x1a9)]((_0x353697,_0x4656ee,_0x1b609f)=>{const _0x157010=_0x934999;if(_0x30085b[_0x157010(0x14b)][_0x157010(0x13e)](_0x13e3e5,_0x1b609f)){_0x2027dd[_0x157010(0x151)](_0xe6fffa);let _0x16f55a=_0x56eeed[_0xe6fffa];_0x16f55a||(_0x16f55a={'config':_0x4601dd[_0x157010(0xfd)],'sparklines':_0x4601dd[_0x157010(0x1c6)][_0x157010(0x161)]()},_0x56eeed[_0xe6fffa]=_0x16f55a);let _0x2f5136=_0x2d1029[_0xe6fffa];_0x2f5136||(_0x2f5136={'config':_0x4601dd['config'],'sparklines':new _0x30085b[(_0x157010(0x1da))](_0x4601dd[_0x157010(0x1c6)][_0x157010(0x161)]())},_0x2d1029[_0xe6fffa]=_0x2f5136);let _0x4cecc8=(0x0,_0x3cfe73[_0x157010(0x1d3)])(_0x1b609f,{'id':_0x3cfe73[_0x157010(0x146)]['id'],'params':_0xbb85b});_0x4cecc8?_0x2f5136[_0x157010(0x1c6)][_0x157010(0x144)](_0x353697,_0x4656ee,_0x4cecc8):_0x2f5136[_0x157010(0x1c6)]['setValue'](_0x353697,_0x4656ee,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x30085b[_0x157010(0x13d)][_0x157010(0x163)]});}}),_0xa5ed2[_0x934999(0x1a9)](_0x1c8d62=>{const _0x2e33b0=_0x934999;if(_0x1c8d62<=_0x13e3e5[_0x2e33b0(0x1b8)]&&_0x1c8d62>=_0x13e3e5['startRow']){_0x2027dd[_0x2e33b0(0x151)](_0xe6fffa);let _0x14da84=_0x56eeed[_0xe6fffa];_0x14da84||(_0x14da84={'config':_0x4601dd[_0x2e33b0(0xfd)],'sparklines':_0x4601dd['sparklines'][_0x2e33b0(0x161)]()},_0x56eeed[_0xe6fffa]=_0x14da84);let _0x11e80a=_0x2d1029[_0xe6fffa];_0x11e80a||(_0x11e80a={'config':_0x4601dd[_0x2e33b0(0xfd)],'sparklines':new _0x30085b[(_0x2e33b0(0x1da))](_0x4601dd[_0x2e33b0(0x1c6)]['clone']())},_0x2d1029[_0xe6fffa]=_0x11e80a);}});}_0x2027dd[_0x934999(0x10c)]>0x0&&(_0x42fe5b[_0x934999(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x10d071,'subUnitId':_0x23640c,'groupIds':Array[_0x934999(0x186)](_0x2027dd),'isSingle':!0x1}}),_0x141679[_0x934999(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x10d071,'subUnitId':_0x23640c,'groupIds':Array['from'](_0x2027dd),'isSingle':!0x1}}));let _0x122944={},_0x46ed03=!0x1;return Object['entries'](_0x2d1029)[_0x934999(0x109)](([_0x4e63d4,_0xa5a138])=>{const _0x271201=_0x934999;_0xa5a138['sparklines'][_0x271201(0x11d)]()&&(_0x46ed03=!0x0,_0xa5a138[_0x271201(0x1c6)]['removeRows'](_0x13e3e5['startRow'],_0x13e3e5['endRow']-_0x13e3e5[_0x271201(0x110)]+0x1),_0x122944[_0x4e63d4]={'config':_0xa5a138[_0x271201(0xfd)],'sparklines':_0xa5a138['sparklines'][_0x271201(0x161)]()});}),_0x46ed03&&_0x6121a['push']({'id':_0x581160['id'],'params':{'unitId':_0x10d071,'subUnitId':_0x23640c,'sparklineConfigMap':_0x122944}}),Object[_0x934999(0x15f)](_0x56eeed)[_0x934999(0xf4)]>0x0&&_0x284d12[_0x934999(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x10d071,'subUnitId':_0x23640c,'sparklineConfigMap':_0x56eeed}}),{'redos':_0x6121a,'undos':_0x284d12,'preRedos':_0x141679,'preUndos':_0x42fe5b};}[_0x124476(0x1aa)](_0x4b0602,_0x1519a1,_0xd8a8ca){const _0x4621de=_0x124476;var _0xb8acc9;let {range:_0x388d2a}=_0x4b0602,_0x359748=new Set(),_0x1e61d7={},_0x1803ed={},_0x3057d2=[],_0x5a0a35=[],_0x2b3a94=[],_0x351f00=[];if(!(0x0,_0x3cfe73['getSheetCommandTarget'])(this[_0x4621de(0x115)],{'unitId':_0x1519a1,'subUnitId':_0xd8a8ca}))return{'redos':_0x5a0a35,'undos':_0x3057d2};let _0x223f32=this[_0x4621de(0x1dd)][_0x4621de(0x17d)](_0x1519a1,_0xd8a8ca);if(!_0x223f32||!((_0xb8acc9=this['_sparklineDataSourceModel'][_0x4621de(0x1de)]()[_0x4621de(0x17f)]['get'](_0x1519a1))!=null&&(_0xb8acc9=_0xb8acc9['get'](_0xd8a8ca))!=null&&_0xb8acc9[_0x4621de(0x117)]))return{'redos':_0x5a0a35,'undos':_0x3057d2};for(let [_0x35484d,_0x47c08f]of _0x223f32){let _0x4d2d95=_0x47c08f[_0x4621de(0x1c6)];_0x4d2d95[_0x4621de(0x1a9)]((_0x805dd1,_0x230eff,_0x494fe8)=>{const _0x34d545=_0x4621de;if(_0x30085b[_0x34d545(0x14b)][_0x34d545(0x13e)](_0x388d2a,_0x494fe8)){_0x359748[_0x34d545(0x151)](_0x35484d);let _0x48cbd0=_0x1803ed[_0x35484d];_0x48cbd0||(_0x48cbd0={'config':_0x47c08f[_0x34d545(0xfd)],'sparklines':_0x47c08f[_0x34d545(0x1c6)][_0x34d545(0x161)]()},_0x1803ed[_0x35484d]=_0x48cbd0);let _0x7627bc=_0x1e61d7[_0x35484d];_0x7627bc||(_0x7627bc={'config':_0x47c08f[_0x34d545(0xfd)],'sparklines':new _0x30085b[(_0x34d545(0x1da))](_0x47c08f[_0x34d545(0x1c6)]['clone']())},_0x1e61d7[_0x35484d]=_0x7627bc);let _0x72e4de=(0x0,_0x3cfe73[_0x34d545(0x1d3)])(_0x494fe8,{'id':_0x3cfe73[_0x34d545(0x122)]['id'],'params':_0x4b0602});_0x72e4de?_0x7627bc[_0x34d545(0x1c6)][_0x34d545(0x144)](_0x805dd1,_0x230eff,_0x72e4de):_0x7627bc[_0x34d545(0x1c6)][_0x34d545(0x144)](_0x805dd1,_0x230eff,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x30085b[_0x34d545(0x13d)]['NORMAL']});}}),_0x4d2d95[_0x4621de(0x1a9)]((_0x14cab2,_0x1be76e,_0x4f085f)=>{const _0x3a5242=_0x4621de;if(_0x1be76e<=_0x388d2a['endColumn']&&_0x1be76e>=_0x388d2a[_0x3a5242(0x18c)]){_0x359748['add'](_0x35484d);let _0xd0726d=_0x1803ed[_0x35484d];_0xd0726d||(_0xd0726d={'config':_0x47c08f[_0x3a5242(0xfd)],'sparklines':_0x47c08f[_0x3a5242(0x1c6)][_0x3a5242(0x161)]()},_0x1803ed[_0x35484d]=_0xd0726d);let _0x3b74d5=_0x1e61d7[_0x35484d];_0x3b74d5||(_0x3b74d5={'config':_0x47c08f[_0x3a5242(0xfd)],'sparklines':new _0x30085b[(_0x3a5242(0x1da))](_0x47c08f['sparklines'][_0x3a5242(0x161)]())},_0x1e61d7[_0x35484d]=_0x3b74d5);}});}_0x359748[_0x4621de(0x10c)]>0x0&&(_0x351f00[_0x4621de(0xf3)]({'id':_0xf020cb['id'],'params':{'unitId':_0x1519a1,'subUnitId':_0xd8a8ca,'groupIds':Array['from'](_0x359748),'isSingle':!0x1}}),_0x2b3a94['push']({'id':_0xf020cb['id'],'params':{'unitId':_0x1519a1,'subUnitId':_0xd8a8ca,'groupIds':Array['from'](_0x359748),'isSingle':!0x1}}));let _0x3b1a6c={},_0xc538d6=!0x1;return Object['entries'](_0x1e61d7)[_0x4621de(0x109)](([_0x88f6fa,_0x109d97])=>{const _0x1581d3=_0x4621de;_0x109d97['sparklines']['getSizeOf']()&&(_0xc538d6=!0x0,_0x109d97[_0x1581d3(0x1c6)][_0x1581d3(0x1cd)](_0x388d2a['startColumn'],_0x388d2a[_0x1581d3(0x102)]-_0x388d2a[_0x1581d3(0x18c)]+0x1),_0x3b1a6c[_0x88f6fa]={'config':_0x109d97[_0x1581d3(0xfd)],'sparklines':_0x109d97[_0x1581d3(0x1c6)]['clone']()});}),_0xc538d6&&_0x5a0a35['push']({'id':_0x581160['id'],'params':{'unitId':_0x1519a1,'subUnitId':_0xd8a8ca,'sparklineConfigMap':_0x3b1a6c}}),Object[_0x4621de(0x15f)](_0x1803ed)['length']>0x0&&_0x3057d2[_0x4621de(0xf3)]({'id':_0x581160['id'],'params':{'unitId':_0x1519a1,'subUnitId':_0xd8a8ca,'sparklineConfigMap':_0x1803ed}}),{'redos':_0x5a0a35,'undos':_0x3057d2,'preRedos':_0x2b3a94,'preUndos':_0x351f00};}[_0x124476(0x11f)](){const _0x5ed2ed=_0x124476;this[_0x5ed2ed(0x1e1)](this[_0x5ed2ed(0x11a)][_0x5ed2ed(0x1f7)](_0xf10b78=>{const _0x51e14d=_0x5ed2ed;if(_0xf10b78['id']===_0x3cfe73[_0x51e14d(0x1eb)]['id']){let {unitId:_0x43428e,subUnitId:_0x15d862,range:_0x40bc30}=_0xf10b78[_0x51e14d(0x1e7)],_0x5ac2de=_0x40bc30[_0x51e14d(0x18c)],_0x45cbeb=_0x40bc30[_0x51e14d(0x102)]-_0x40bc30[_0x51e14d(0x18c)]+0x1,_0x56a84d=this[_0x51e14d(0x1dd)][_0x51e14d(0x17d)](_0x43428e,_0x15d862);if(!_0x56a84d)return;for(let [_0x40bf28,_0x41c07e]of _0x56a84d){this['_sparklineDataSourceModel'][_0x51e14d(0x133)](_0x43428e,_0x15d862,_0x40bf28);let _0x2a07d5=_0x41c07e[_0x51e14d(0x1c6)];_0x2a07d5[_0x51e14d(0x1a9)]((_0x77f407,_0x2a2f1d,_0x41a52f)=>{const _0x134967=_0x51e14d;let _0xb25be6={..._0x41a52f};_0x5ac2de<=_0xb25be6[_0x134967(0x18c)]?(_0xb25be6[_0x134967(0x18c)]+=_0x45cbeb,_0xb25be6['endColumn']+=_0x45cbeb):_0x5ac2de>_0xb25be6[_0x134967(0x102)]||(_0xb25be6['endColumn']+=_0x45cbeb),_0x2a07d5[_0x134967(0x144)](_0x77f407,_0x2a2f1d,_0xb25be6);});let _0x1ffd6c=_0x2a07d5[_0x51e14d(0x1f3)]();for(let _0x523693 in _0x1ffd6c){let _0x131ff2=_0x1ffd6c[Number(_0x523693)];if(!_0x131ff2)continue;let _0x5c8059=Object[_0x51e14d(0x15f)](_0x131ff2)[_0x51e14d(0x1d6)](Number),_0x45cc6a=Math[_0x51e14d(0x127)](..._0x5c8059);for(let _0x324f7b=_0x45cc6a;_0x324f7b>=_0x5ac2de;_0x324f7b--)_0x324f7b>=_0x5ac2de&&_0x131ff2[_0x324f7b]&&(_0x131ff2[_0x324f7b+_0x45cbeb]=_0x131ff2[_0x324f7b],delete _0x131ff2[_0x324f7b]);}this[_0x51e14d(0x1dd)][_0x51e14d(0xf0)](_0x43428e,_0x15d862,_0x40bf28);}}else{if(_0xf10b78['id']===_0x3cfe73[_0x51e14d(0x1b1)]['id']){let {unitId:_0x10b291,subUnitId:_0x2806cc,range:_0x329da3}=_0xf10b78[_0x51e14d(0x1e7)],_0x5f3c6e=_0x329da3['startRow'],_0x400ed9=_0x329da3[_0x51e14d(0x1b8)]-_0x329da3[_0x51e14d(0x110)]+0x1,_0x25a8c7=this[_0x51e14d(0x1dd)][_0x51e14d(0x17d)](_0x10b291,_0x2806cc);if(!_0x25a8c7)return;for(let [_0xd97353,_0x320e9b]of _0x25a8c7){this['_sparklineDataSourceModel'][_0x51e14d(0x133)](_0x10b291,_0x2806cc,_0xd97353);let _0x2f1bce=_0x320e9b[_0x51e14d(0x1c6)];_0x2f1bce['forValue']((_0x5cfe6c,_0x43a3fa,_0xd0ecfa)=>{const _0x45afe9=_0x51e14d;let _0x4e35a0={..._0xd0ecfa};_0x5f3c6e<=_0x4e35a0[_0x45afe9(0x110)]?(_0x4e35a0[_0x45afe9(0x110)]+=_0x400ed9,_0x4e35a0[_0x45afe9(0x1b8)]+=_0x400ed9):_0x5f3c6e>_0x4e35a0[_0x45afe9(0x1b8)]||(_0x4e35a0[_0x45afe9(0x1b8)]+=_0x400ed9),_0x2f1bce[_0x45afe9(0x144)](_0x5cfe6c,_0x43a3fa,_0x4e35a0);});let _0x2c5723=_0x2f1bce['getMatrix'](),_0x3b77a8=Object[_0x51e14d(0x15f)](_0x2c5723)[_0x51e14d(0x1d6)](Number),_0x145a32=Math[_0x51e14d(0x127)](..._0x3b77a8);for(let _0x5061c5=_0x145a32;_0x5061c5>=_0x5f3c6e;_0x5061c5--)_0x5061c5>=_0x5f3c6e&&_0x2c5723[_0x5061c5]&&(_0x2c5723[_0x5061c5+_0x400ed9]=_0x2c5723[_0x5061c5],delete _0x2c5723[_0x5061c5]);this[_0x51e14d(0x1dd)]['updateSparklineExtraNum'](_0x10b291,_0x2806cc,_0xd97353);}}else{if(_0xf10b78['id']===_0x3cfe73[_0x51e14d(0x122)]['id']){let {range:_0xbabedb,unitId:_0x27644a,subUnitId:_0x1eab66}=_0xf10b78[_0x51e14d(0x1e7)],_0x55a62e=this['_sparklineDataSourceModel'][_0x51e14d(0x17d)](_0x27644a,_0x1eab66);if(!_0x55a62e)return;for(let [_0x26c65b,_0xd3d84]of _0x55a62e){let _0x36c006=_0xd3d84['sparklines'];_0x36c006[_0x51e14d(0x1a9)]((_0x4abc63,_0x3070f6,_0x2ebf17)=>{const _0x1776be=_0x51e14d;let _0x3ef091=(0x0,_0x3cfe73[_0x1776be(0x1d3)])(_0x2ebf17,_0xf10b78);_0x3ef091?_0x36c006[_0x1776be(0x144)](_0x4abc63,_0x3070f6,_0x3ef091):_0x36c006[_0x1776be(0x144)](_0x4abc63,_0x3070f6,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x30085b[_0x1776be(0x13d)]['NORMAL']});}),_0x36c006[_0x51e14d(0x1cd)](_0xbabedb[_0x51e14d(0x18c)],_0xbabedb['endColumn']-_0xbabedb['startColumn']+0x1);}this[_0x51e14d(0x1dd)][_0x51e14d(0x155)](_0x27644a,_0x1eab66);}else{if(_0xf10b78['id']===_0x3cfe73[_0x51e14d(0x146)]['id']){let {range:_0x46d5a3,unitId:_0x5cec5d,subUnitId:_0x20d39d}=_0xf10b78[_0x51e14d(0x1e7)],_0x269c65=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x5cec5d,_0x20d39d);if(!_0x269c65)return;for(let [_0x14478e,_0xbd88bc]of _0x269c65){let _0xc076bc=_0xbd88bc[_0x51e14d(0x1c6)];_0xc076bc[_0x51e14d(0x1a9)]((_0x3407ce,_0x8f18cd,_0x582e43)=>{const _0x3c19c8=_0x51e14d;let _0x3f42d2=(0x0,_0x3cfe73[_0x3c19c8(0x1d3)])(_0x582e43,_0xf10b78);_0x3f42d2?_0xc076bc[_0x3c19c8(0x144)](_0x3407ce,_0x8f18cd,_0x3f42d2):_0xc076bc[_0x3c19c8(0x144)](_0x3407ce,_0x8f18cd,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x30085b[_0x3c19c8(0x13d)][_0x3c19c8(0x163)]});}),_0xc076bc[_0x51e14d(0x1c8)](_0x46d5a3['startRow'],_0x46d5a3[_0x51e14d(0x1b8)]-_0x46d5a3[_0x51e14d(0x110)]+0x1);}this[_0x51e14d(0x1dd)][_0x51e14d(0x155)](_0x5cec5d,_0x20d39d);}else{if(_0xf10b78['id']===_0x3cfe73[_0x51e14d(0x199)]['id']){let {unitId:_0xbf2871,subUnitId:_0x5a0b97,sourceRange:_0x3082c9,targetRange:_0x34f55a}=_0xf10b78[_0x51e14d(0x1e7)],_0x18fe30=this[_0x51e14d(0x1dd)][_0x51e14d(0x17d)](_0xbf2871,_0x5a0b97);if(!_0x18fe30)return;for(let [_0x4be568,_0x6f0cc2]of _0x18fe30){let _0x23ee36=_0x6f0cc2['sparklines'];_0x23ee36[_0x51e14d(0x1a9)]((_0x3d7122,_0x1b8673,_0x39be95)=>{const _0xc893a3=_0x51e14d;let _0x4d1cc6=(0x0,_0x3cfe73['adjustRangeOnMutation'])(_0x39be95,_0xf10b78);_0x4d1cc6?_0x23ee36[_0xc893a3(0x144)](_0x3d7122,_0x1b8673,_0x4d1cc6):_0x23ee36[_0xc893a3(0x144)](_0x3d7122,_0x1b8673,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x30085b['RANGE_TYPE']['NORMAL']});}),_0x23ee36[_0x51e14d(0x19a)](_0x3082c9[_0x51e14d(0x18c)],_0x3082c9[_0x51e14d(0x102)]-_0x3082c9[_0x51e14d(0x18c)]+0x1,_0x34f55a[_0x51e14d(0x18c)]);}this[_0x51e14d(0x1dd)]['reBuildAnchorCache'](_0xbf2871,_0x5a0b97);}else{if(_0xf10b78['id']===_0x3cfe73[_0x51e14d(0x15d)]['id']){let {unitId:_0x95015a,subUnitId:_0x54e95b,sourceRange:_0x1772a0,targetRange:_0x1972da}=_0xf10b78[_0x51e14d(0x1e7)],_0x1680f2=this['_sparklineDataSourceModel'][_0x51e14d(0x17d)](_0x95015a,_0x54e95b);if(!_0x1680f2)return;for(let [_0x3ec6d8,_0xed2342]of _0x1680f2){let _0x1e777c=_0xed2342[_0x51e14d(0x1c6)];_0x1e777c[_0x51e14d(0x1a9)]((_0x2d6441,_0x3aec3f,_0x5151b0)=>{const _0x32e11d=_0x51e14d;let _0x462271=(0x0,_0x3cfe73[_0x32e11d(0x1d3)])(_0x5151b0,_0xf10b78);_0x462271?_0x1e777c[_0x32e11d(0x144)](_0x2d6441,_0x3aec3f,_0x462271):_0x1e777c[_0x32e11d(0x144)](_0x2d6441,_0x3aec3f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x30085b[_0x32e11d(0x13d)][_0x32e11d(0x163)]});}),_0x1e777c[_0x51e14d(0x124)](_0x1772a0['startRow'],_0x1772a0['endRow']-_0x1772a0[_0x51e14d(0x110)]+0x1,_0x1972da[_0x51e14d(0x110)]);}this['_sparklineDataSourceModel'][_0x51e14d(0x155)](_0x95015a,_0x54e95b);}else{if(_0xf10b78['id']===_0x3cfe73['MoveRangeMutation']['id']){let {fromRange:_0xc05543,toRange:_0x19ddd1,unitId:_0xa7498e,from:_0x316cc1,to:_0x87755e}=_0xf10b78[_0x51e14d(0x1e7)];if(_0x316cc1[_0x51e14d(0x140)]!==_0x87755e[_0x51e14d(0x140)])return;let _0x4035c7=_0x316cc1[_0x51e14d(0x140)],{startRow:_0x4c912c,endRow:_0x51bdeb,startColumn:_0x593fa9,endColumn:_0x5696af}=_0xc05543,{startRow:_0x1bd5bd,startColumn:_0x343090}=_0x19ddd1,_0x15f004=_0x1bd5bd-_0x4c912c,_0x5c3e10=_0x343090-_0x593fa9,_0x37d523=this[_0x51e14d(0x1dd)][_0x51e14d(0x17d)](_0xa7498e,_0x4035c7);if(!(_0x37d523!=null&&_0x37d523[_0x51e14d(0x10c)]))return;for(let _0x5cd81c=_0x4c912c;_0x5cd81c<=_0x51bdeb;_0x5cd81c++)for(let _0x35ab73=_0x593fa9;_0x35ab73<=_0x5696af;_0x35ab73++){let _0x22cf45=this[_0x51e14d(0x1dd)][_0x51e14d(0x17c)](_0xa7498e,_0x4035c7,_0x5cd81c,_0x35ab73);if(_0x22cf45){let _0x11548c=this['_sparklineDataSourceModel'][_0x51e14d(0x125)](_0xa7498e,_0x4035c7,_0x22cf45);if(_0x11548c){let _0x2e90de=_0x11548c[_0x51e14d(0x1c6)][_0x51e14d(0x15b)](_0x5cd81c,_0x35ab73);_0x2e90de&&(_0x11548c['sparklines'][_0x51e14d(0x144)](_0x5cd81c+_0x15f004,_0x35ab73+_0x5c3e10,_0x2e90de),_0x11548c[_0x51e14d(0x1c6)][_0x51e14d(0x11e)](_0x5cd81c,_0x35ab73));}}}for(let [_0x59e3a4,_0xdf63ce]of _0x37d523){let _0x397b88=_0xdf63ce[_0x51e14d(0x1c6)];_0x397b88[_0x51e14d(0x1a9)]((_0x79ad6a,_0x54a103,_0x42c39c)=>{const _0x1d3957=_0x51e14d;let _0x8ceed5={..._0x42c39c};_0x30085b['Rectangle'][_0x1d3957(0x1ef)](_0xc05543,_0x42c39c)&&(_0x8ceed5[_0x1d3957(0x110)]+=_0x15f004,_0x8ceed5['endRow']+=_0x15f004,_0x8ceed5[_0x1d3957(0x18c)]+=_0x5c3e10,_0x8ceed5[_0x1d3957(0x102)]+=_0x5c3e10),_0x397b88[_0x1d3957(0x144)](_0x79ad6a,_0x54a103,_0x8ceed5);});}this['_sparklineDataSourceModel'][_0x51e14d(0x155)](_0xa7498e,_0x4035c7);}}}}}}}}));}};_0x48e6dc=_0x5383ad([_0x2f52ef(0x0,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x30085b['ICommandService'])),_0x2f52ef(0x1,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x3cfe73[_0x124476(0x119)])),_0x2f52ef(0x2,_0x30085b[_0x124476(0x11c)]),_0x2f52ef(0x3,(0x0,_0x30085b['Inject'])(_0x4e1e04))],_0x48e6dc);let _0x9d7a30=class extends _0x30085b['Disposable']{constructor(_0x472eb,_0x188225,_0x327d74){const _0x3c9fd5=_0x124476;super(),this['_univerInstanceService']=_0x472eb,this['_sheetInterceptorService']=_0x188225,this[_0x3c9fd5(0x1dd)]=_0x327d74,this[_0x3c9fd5(0x1e2)]();}['_initSheetChange'](){const _0x1534ca=_0x124476;this[_0x1534ca(0x1e1)](this[_0x1534ca(0x196)]['interceptCommand']({'getMutations':_0x37c278=>{const _0x52c5e3=_0x1534ca;if(_0x37c278['id']===_0x3cfe73[_0x52c5e3(0xf9)]['id']){var _0x33d2f0;let _0x2cace2=_0x37c278[_0x52c5e3(0x1e7)],_0x567601=_0x2cace2[_0x52c5e3(0x167)]||this[_0x52c5e3(0x115)][_0x52c5e3(0x1b5)](_0x30085b[_0x52c5e3(0x14d)][_0x52c5e3(0x19b)])[_0x52c5e3(0x12b)](),_0x5b82eb=_0x2cace2[_0x52c5e3(0x140)]||((_0x33d2f0=this['_univerInstanceService'][_0x52c5e3(0x1b5)](_0x30085b[_0x52c5e3(0x14d)][_0x52c5e3(0x19b)])[_0x52c5e3(0x183)]())==null?void 0x0:_0x33d2f0[_0x52c5e3(0x1af)]());if(!_0x567601||!_0x5b82eb)return{'redos':[],'undos':[]};let _0x1cdc89=this[_0x52c5e3(0x1dd)][_0x52c5e3(0x17d)](_0x567601,_0x5b82eb);if(!_0x1cdc89)return{'redos':[],'undos':[]};let _0x60ace6=new Set(),_0x9fb76c={};for(let [_0x4560ab,_0x2496b0]of _0x1cdc89)_0x60ace6[_0x52c5e3(0x151)](_0x4560ab),_0x9fb76c[_0x4560ab]={'config':_0x30085b['Tools'][_0x52c5e3(0xf8)](_0x2496b0[_0x52c5e3(0xfd)]),'sparklines':_0x30085b['Tools'][_0x52c5e3(0xf8)](_0x2496b0[_0x52c5e3(0x1c6)][_0x52c5e3(0x161)]())};if(_0x60ace6[_0x52c5e3(0x10c)])return{'redos':[{'id':_0xf020cb['id'],'params':{'unitId':_0x567601,'subUnitId':_0x5b82eb,'groupIds':Array[_0x52c5e3(0x186)](_0x60ace6),'isSingle':!0x1}}],'undos':[{'id':_0x581160['id'],'params':{'unitId':_0x567601,'subUnitId':_0x5b82eb,'sparklineConfigMap':_0x9fb76c}}]};}else{if(_0x37c278['id']===_0x3cfe73[_0x52c5e3(0x18b)]['id']){let {unitId:_0x5d3405,subUnitId:_0x2b72ad,targetSubUnitId:_0x563c39}=_0x37c278[_0x52c5e3(0x1e7)];if(!_0x5d3405||!_0x2b72ad||!_0x563c39)return{'redos':[],'undos':[]};let _0xac45e7=this['_sparklineDataSourceModel'][_0x52c5e3(0x17d)](_0x5d3405,_0x2b72ad);if(!_0xac45e7)return{'redos':[],'undos':[]};let _0x2d2531=new Set(),_0x12baf1={};for(let [_0x44bfc4,_0x3fe213]of _0xac45e7){let _0x5636ab='g_'+(0x0,_0x30085b[_0x52c5e3(0x108)])(0x6);_0x2d2531[_0x52c5e3(0x151)](_0x44bfc4),_0x12baf1[_0x5636ab]={'config':_0x30085b[_0x52c5e3(0x187)][_0x52c5e3(0xf8)](_0x3fe213['config']),'sparklines':_0x30085b[_0x52c5e3(0x187)][_0x52c5e3(0xf8)](_0x3fe213[_0x52c5e3(0x1c6)][_0x52c5e3(0x161)]())};}if(_0x2d2531[_0x52c5e3(0x10c)])return{'redos':[{'id':_0x581160['id'],'params':{'unitId':_0x5d3405,'subUnitId':_0x563c39,'sparklineConfigMap':_0x12baf1}}],'undos':[{'id':_0xf020cb['id'],'params':{'unitId':_0x5d3405,'subUnitId':_0x563c39,'groupIds':Array['from'](_0x2d2531),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x9d7a30=_0x5383ad([_0x2f52ef(0x0,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x30085b['IUniverInstanceService'])),_0x2f52ef(0x1,(0x0,_0x30085b['Inject'])(_0x3cfe73[_0x124476(0x1ea)])),_0x2f52ef(0x2,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x4e1e04))],_0x9d7a30);let _0x12ba66=class extends _0x30085b['Disposable']{constructor(_0x1bef42,_0x508e4e){const _0x317a43=_0x124476;super(),this['_resourceManagerService']=_0x1bef42,this[_0x317a43(0x1dd)]=_0x508e4e,this[_0x317a43(0x1e9)]();}[_0x124476(0x1e9)](){const _0x1d7433=_0x124476;this[_0x1d7433(0x1e1)](this[_0x1d7433(0xee)][_0x1d7433(0x104)]({'toJson':_0xb62f38=>{let _0x15a13d=this['_sparklineDataSourceModel']['toJSON'](_0xb62f38);return _0x15a13d?JSON['stringify'](_0x15a13d):'';},'parseJson':_0x35a477=>_0x35a477?JSON[_0x1d7433(0x147)](_0x35a477):{},'pluginName':_0x1f7252,'businesses':[_0x30085b[_0x1d7433(0x14d)]['UNIVER_SHEET']],'onLoad':(_0x32de9b,_0x5caeb3)=>{const _0x112f2a=_0x1d7433;this['_sparklineDataSourceModel'][_0x112f2a(0x160)](_0x5caeb3);},'onUnLoad':_0x399614=>{const _0x4fff48=_0x1d7433;this[_0x4fff48(0x1dd)][_0x4fff48(0x1d7)](_0x399614);}}));}};_0x12ba66=_0x5383ad([_0x2f52ef(0x0,(0x0,_0x30085b['Inject'])(_0x30085b['IResourceManagerService'])),_0x2f52ef(0x1,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x4e1e04))],_0x12ba66);let _0x1278c5=class extends _0x30085b[_0x124476(0x1bd)]{constructor(_0x54fdea=_0x187796,_0x209ce2,_0x3f4caa,_0x1bb981){const _0x55e876=_0x124476;super(),this[_0x55e876(0x1c3)]=_0x54fdea,this[_0x55e876(0x19e)]=_0x209ce2,this[_0x55e876(0x1d2)]=_0x3f4caa,this[_0x55e876(0x11a)]=_0x1bb981;let {..._0x476ec6}=(0x0,_0x30085b[_0x55e876(0x1dc)])({},_0x187796,this[_0x55e876(0x1c3)]);this[_0x55e876(0x1d2)][_0x55e876(0x153)](_0x55e876(0x1e3),_0x476ec6),this[_0x55e876(0x105)](),this[_0x55e876(0x11b)]();}[_0x124476(0x105)](){const _0x57bae0=_0x124476;[[_0x4e1e04],[_0x20acee],[_0x108f65],[_0x5f44b4],[_0x48e6dc],[_0x2ee4ad],[_0x9d7a30],[_0x12ba66]][_0x57bae0(0x109)](_0x5e1e15=>{const _0x4c4b1d=_0x57bae0;this[_0x4c4b1d(0x19e)]['add'](_0x5e1e15);}),(0x0,_0x30085b['touchDependencies'])(this[_0x57bae0(0x19e)],[[_0x12ba66]]);}[_0x124476(0x1df)](){const _0x17085b=_0x124476;(0x0,_0x30085b[_0x17085b(0x1f9)])(this[_0x17085b(0x19e)],[[_0x20acee],[_0x108f65],[_0x5f44b4],[_0x48e6dc],[_0x2ee4ad],[_0x9d7a30]]);}[_0x124476(0x11b)](){const _0xfeda65=_0x124476;[_0x12f24d,_0x581160,_0x4ee207,_0xf020cb,_0x1f507c,_0x11f839][_0xfeda65(0x109)](_0x287b96=>this['_commandService'][_0xfeda65(0x169)](_0x287b96));}};_0x21af3f(_0x1278c5,_0x124476(0x149),_0x1f7252),_0x21af3f(_0x1278c5,_0x124476(0x14a),_0x27d626),_0x21af3f(_0x1278c5,_0x124476(0x1e5),_0x45fa18),_0x21af3f(_0x1278c5,'type',_0x30085b['UniverInstanceType'][_0x124476(0x19b)]),_0x1278c5=_0x5383ad([(0x0,_0x30085b[_0x124476(0x1b3)])(_0x207ea1[_0x124476(0x1b6)],_0x3cfe73['UniverSheetsPlugin']),_0x2f52ef(0x1,(0x0,_0x30085b[_0x124476(0x1ce)])(_0x30085b[_0x124476(0x15e)])),_0x2f52ef(0x2,_0x30085b[_0x124476(0x1b0)]),_0x2f52ef(0x3,(0x0,_0x30085b['Inject'])(_0x30085b[_0x124476(0x10b)]))],_0x1278c5),_0x23d68e['AddSheetSparklineCommand']=_0x12f24d,_0x23d68e[_0x124476(0x16b)]=_0x581160,_0x23d68e[_0x124476(0x1d8)]=_0x1f7252,_0x23d68e[_0x124476(0x185)]=_0x4ee207,_0x23d68e[_0x124476(0x12d)]=_0xf020cb,_0x23d68e['SetSheetSparklineCommand']=_0x1f507c,_0x23d68e[_0x124476(0x113)]=_0x11f839,_0x23d68e[_0x124476(0x1a1)]=_0x23f2be,Object[_0x124476(0x162)](_0x23d68e,_0x124476(0x123),{'enumerable':!0x0,'get':function(){return _0x4e1e04;}}),_0x23d68e[_0x124476(0x103)]=_0x12db52,_0x23d68e['SparklinePointsNames']=_0x1bfc8e,_0x23d68e[_0x124476(0x178)]=_0x5036c6,_0x23d68e[_0x124476(0x184)]=_0x50aff5,_0x23d68e[_0x124476(0x1d0)]=_0xf2d37a,Object['defineProperty'](_0x23d68e,_0x124476(0x10f),{'enumerable':!0x0,'get':function(){return _0x1278c5;}});}));function _0x3218(){const _0x495724=['sequenceExecute','_config','refRangeHandle','row','sparklines','actualRow','removeRows','SetColVisibleMutation','setSparkline','rxjs','_initClearWithSparkline','removeColumns','Inject','disposableCollection','SparklineTypeEnum','ranges','_configService','adjustRangeOnMutation','foreach','getRowVisible','map','deleteUnit','PLUGIN_NAME','seriesColor','ObjectMatrix','call','merge','_sparklineDataSourceModel','getSparklineCache','onReady','value','disposeWithMe','_initSheetChange','sheets-sparkline.config','sheet.mutation.add-sparkline','version','CellValueType','params','hasValue','_initSnapshot','SheetInterceptorService','InsertColMutation','SetRowVisibleMutation','nonNumShowAs','sheet.mutation.remove-sparkline','contains','getSheetCommandTarget','getSheetFeatureLimit','_sheetSelectionService','getMatrix','LINE_CHART','UniverCore','sparklineModel','onCommandExecuted','57210cXzSWc','touchDependencies','LS_CONFIG_KEY','rgb(49,106,246)','SPACING','rgb(80,102,248)','Disposable','setAlpha','UniverSheets','range','type','_resourceManagerService','_initMergeWithSparkline','updateSparklineExtraNum','prototype','highPoint','push','length','_getRefRangeMutationsByDeleteRows','min','string','deepClone','RemoveSheetCommand','assign','addSparkline','UniverProSheetsSparkline','config','SetWorksheetActivateCommand','1256344uRfCKb','rgb(46,187,122)','PROFIT_AND_LOSS_CHART','endColumn','SparklineExtremumTypeEnum','registerPluginResource','_initDependencies','531cLFjEG','35481563YRwbjb','generateRandomId','forEach','updateConfig$','ICommandService','size','IExclusiveRangeService','changeDataSourceInfo','UniverSheetSparklinePlugin','startRow','UniverProLicense','entries','SetSheetSparklineMutation','toStringTag','_univerInstanceService','spacing','matrix','3iBVeuF','RefRangeService','_commandService','_initRegisterCommand','IUniverInstanceService','getSizeOf','realDeleteValue','_initCorrectRangeWithSparkline','4998788ACWXfz','lastPoint','RemoveColMutation','SparklineDataSourceModel','moveRows','getSparklineById','PIE_CHART','max','_initExclusiveRangeChange','decorate','registerRefRange','getUnitId','1116409wrtiVG','RemoveSheetSparklineMutation','u-connect','every','NUMBER','removePartSparkline','remove','clearSparklineCache','values','SELF_EXTREMUM','standard','isValidRange','Module','_exclusiveRangeService','@univerjs-pro/license','CUSTOM_EXTREMUM','COMMAND','RANGE_TYPE','intersects','firstPoint','subUnitId','iterator','getCurrentSelections','zero_value','setValue','ZERO_VALUE','RemoveRowMutation','parse','extremumMin','pluginName','packageName','Rectangle','get','UniverInstanceType','_sparklineModel','MUTATION','Range','add','2ifyZZb','setConfig','1.0.0','reBuildAnchorCache','next','_ensureConfigMap','_initHideRowColWithSparkline','pushUndoRedo','column','getValue','removeSparkline','MoveRowsMutation','Injector','keys','fromJSON','clone','defineProperty','NORMAL','toRgbString','rgb(248,190,21)','7hgzAgl','unitId','toPrimitive','registerCommand','6816898WidaKE','AddSheetSparklineMutation','delete','extremumMax','AddWorksheetMergeCommand','distinctive','containHiddenCells','groupId','dispose','DISTINCTIVE','actualColumn','rgb(30,177,189)','Subject','negativePoint','SparklineThemeMapping','getCell','set','exports','getSparkline','getSubUnitSparkline','number','sparklineAnchorMap','ClearSelectionAllCommand','SetRangeValuesMutation','24VvZyfN','getActiveSheet','SparklineThemeTypeEnum','RemoveSheetSparklineCommand','from','Tools','symbol','_ensureAnchorMatrix','connect_with_line','CopySheetCommand','startColumn','194820NqFKYe','STRING','STANDARD','rgb(54,78,244)','custom','BAR_CHART','_sparklineAnchorMap','function','CONNECT_WITH_LINE','_sheetInterceptorService','_updateConfig$','IUndoRedoService','MoveColsMutation','moveColumns','UNIVER_SHEET','isFeatureAuthorizedWithinTime','interceptCommand','_injector','175icuFUq','RemoveRowCommand','SpacialShowAsEnum','getConfig','@univerjs-pro/sheets-sparkline','_refRangeService','rgb(236,100,169)','has','result','_onRefRangeChange','forValue','_getRefRangeMutationsByDeleteCols','sheet.command.remove-sparkline','SheetsSelectionsService','SOFT','object','getSheetId','IConfigService','InsertRowMutation','getCellRaw','DependentOn','some','getCurrentUnitOfType','UniverLicensePlugin','FRESH','endRow','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','rgb(252,117,60)','getLicenseInfo','toJSON','Plugin','CommandType','u-spacing','FORCE_STRING','markersPoint'];_0x3218=function(){return _0x495724;};return _0x3218();}
|
|
1
|
+
function _0x2f8a(_0x537d32,_0x41b2f9){_0x537d32=_0x537d32-0xd0;const _0x1ab2bf=_0x1ab2();let _0x2f8a08=_0x1ab2bf[_0x537d32];return _0x2f8a08;}function _0x1ab2(){const _0x1fd05c=['entries','getCurrentUnitOfType','SheetsSelectionsService','has','subUnitId','unitId','addSparkline','UNIVER_SHEET','rgb(46,187,122)','_initRegisterCommand','toRgbString','remove','default','ICommandService','SPECIALTY','PROFIT_AND_LOSS_CHART','range','setAlpha','AddWorksheetMergeCommand','UniverProSheetsSparkline','getCellRaw','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','InsertRowMutation','_initExclusiveRangeChange','setConfig','endRow','sheet.command.remove-sparkline','exports','seriesColor','amd','_sheetInterceptorService','SparklineThemeTypeEnum','CUSTOM','iterator','connect_with_line','getSubUnitSparkline','registerPluginResource','interceptCommand','clone','deepClone','FORCE_STRING','928647pgNGLx','sequenceExecute','symbol','SPACING','map','Range','DependentOn','rgb(236,100,169)','removeColumns','754103KWQcPN','every','endColumn','sheet.mutation.set-sparkline','NORMAL','sparklines','RemoveRowMutation','getUnitId','SetRangeValuesMutation','custom','subscribe','defineProperty','1.0.1','function','AddSheetSparklineMutation','extremumMax','rgb(248,190,21)','cellToRange','UniverLicensePlugin','_getRefRangeMutationsByDeleteCols','getSheetFeatureLimit','PLUGIN_NAME','RemoveColMutation','push','@univerjs-pro/license','next','MUTATION','IUndoRedoService','getSparklineById','config','delete','ReorderRangeMutation','getCurrentSelections','disposeWithMe','sparklineModel','getSparklineCache','sheet.mutation.add-sparkline','disposableCollection','_ensureAnchorMatrix','Rectangle','_initSheetChange','add','GROUP_EXTREMUM','Disposable','values','_sparklineAnchorMap','SetRowVisibleMutation','u-spacing','contains','registerCommand','MoveColsMutation','COMMAND','_configService','CellValueType','parse','rgb(124,66,147)','stringify','BAR_CHART','u-connect','sheet.mutation.remove-sparkline','UniverCore','row','_initSnapshot','forEach','isValidRange','SHEET_SPARKLINE_PLUGIN','version','type','_initDataChangeListener','foreach','merge','getSizeOf','onCommandExecuted','registerRefRange','realDeleteValue','deleteUnit','UniverProLicense','_sparklineDataSourceModel','IUniverInstanceService','NUMBER','updateConfig$','getRowVisible','LINE_CHART','startColumn','removePartSparkline','sparklineAnchorMap','item','max','dispose','firstPoint','SparklineExtremumTypeEnum','themeType','InsertColMutation','_initClearWithSparkline','_initHideRowColWithSparkline','RemoveColCommand','matrix','Plugin','_commandService','decorate','_updateConfig$','getMatrix','16dpZvPd','_getRefRangeMutationsByDeleteRows','BOOLEAN','constructor','assign','176FVleSN','MoveRowsMutation','getValue','_univerInstanceService','IConfigService','UniverSheets','RemoveSheetCommand','intersects','Subject','sheets-sparkline.config','ObjectMatrix','hasValue','value','setValue','7631768dfHdWx','2546100hNpZAw','column','getSheetCommandTarget','standard','getOwnPropertyDescriptor','FRESH','generateRandomId','@univerjs/core','string','toJSON','_ensureConfigMap','getLicenseInfo','_onRefRangeChange','Tools','rgb(54,78,244)','spacing','exclusiveRangesChange$','keys','rxjs','containHiddenCells','refRangeHandle','SparklineTypeEnum','SparklineDataSourceModel','asObservable','SELF_EXTREMUM','_refRangeService','removeSparkline','moveColumns','@univerjs/sheets','DisposableCollection','negativePoint','_sheetSelectionService','from','lastPoint','PIE_CHART','Inject','lowPoint','forValue','markersPoint','sheet.command.add-sparkline','touchDependencies','updateSparklineExtraNum','CUSTOM_EXTREMUM','get','Module','reBuildAnchorCache','SOFT','RemoveSheetSparklineMutation','SheetInterceptorService','CopySheetCommand','specialty','result','some','startRow','fromJSON','_sparklineModel','STRING','ranges','call','removeRows','CommandType','groupId','88800xVsZpx','UniverInstanceType','set','number','SetColHiddenMutation','getColVisible','AddSheetSparklineCommand','_exclusiveRangeService','RANGE_TYPE','changeDataSourceInfo','_initCorrectRangeWithSparkline','getSparkline','_injector','rgb(244,104,249)','UniverSheetSparklinePlugin','getActiveSheet','ClearSelectionAllCommand','zero_value','packageName','object','SpacialShowAsEnum','size','clearSparklineCache','fresh','getCell','highPoint','MoveRangeMutation','pushUndoRedo','setSparkline','_initMergeWithSparkline','_resourceManagerService','160130BvcctN','IExclusiveRangeService','24928992piEEvM','SetSheetSparklineCommand','RemoveSheetSparklineCommand','length','SparklinePointsNames','adjustRangeOnMutation','_config','params','sheet.command.set-sparkline'];_0x1ab2=function(){return _0x1fd05c;};return _0x1ab2();}(function(_0x312a43,_0x581032){const _0x54f5be=_0x2f8a,_0xd4872=_0x312a43();while(!![]){try{const _0x290d4a=-parseInt(_0x54f5be(0x173))/0x1*(parseInt(_0x54f5be(0x1c5))/0x2)+-parseInt(_0x54f5be(0x104))/0x3+parseInt(_0x54f5be(0x178))/0x4*(-parseInt(_0x54f5be(0xd0))/0x5)+-parseInt(_0x54f5be(0x187))/0x6+-parseInt(_0x54f5be(0x10d))/0x7+parseInt(_0x54f5be(0x186))/0x8+parseInt(_0x54f5be(0xd2))/0x9;if(_0x290d4a===_0x581032)break;else _0xd4872['push'](_0xd4872['shift']());}catch(_0x527933){_0xd4872['push'](_0xd4872['shift']());}}}(_0x1ab2,0xba33f),function(_0x455542,_0x51029a){const _0x3380cb=_0x2f8a;typeof exports==_0x3380cb(0x1d8)&&typeof module<'u'?_0x51029a(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs-pro/license'),require('rxjs')):typeof define=='function'&&define[_0x3380cb(0xf8)]?define([_0x3380cb(0xf6),_0x3380cb(0x18e),_0x3380cb(0x1a3),_0x3380cb(0x125),_0x3380cb(0x199)],_0x51029a):(_0x455542=typeof globalThis<'u'?globalThis:_0x455542||self,_0x51029a(_0x455542[_0x3380cb(0xee)]={},_0x455542[_0x3380cb(0x149)],_0x455542[_0x3380cb(0x17d)],_0x455542[_0x3380cb(0x159)],_0x455542['rxjs']));}(this,function(_0x573cdc,_0x5b7d3d,_0x6aed4,_0x8f8c2d,_0x3339c9){const _0x14da71=_0x2f8a;Object[_0x14da71(0x118)](_0x573cdc,Symbol['toStringTag'],{'value':_0x14da71(0x1b3)});function _0x46f37d(_0x4d8d6a){const _0x1e46b6=_0x14da71;let {ls:_0x13c134,pbk:_0x58058a}=_0x4d8d6a['get'](_0x5b7d3d[_0x1e46b6(0x17c)])['getConfig'](_0x8f8c2d['LS_CONFIG_KEY'])??{},{valid:_0x255567,message:_0x3a6916}=(0x0,_0x8f8c2d[_0x1e46b6(0x192)])(_0x13c134,_0x58058a);return!_0x255567||!(0x0,_0x8f8c2d['isFeatureAuthorizedWithinTime'])(_0x3a6916,'sf')?!0x1:(0x0,_0x8f8c2d[_0x1e46b6(0x121)])(_0x3a6916,!0x0,'s',!0x0,!0x1,!0x1)===!0x0;}function _0x2ad168(_0x2d2ecc,_0x142de7){const _0x46599d=_0x14da71;let _0x3a78b1=new _0x5b7d3d[(_0x46599d(0x182))](),_0x3d367f=[],_0x5c22a4=_0x2d2ecc[_0x46599d(0xd5)]>0x1,_0x409847=0x0,_0x38bba0=0x0;for(let _0x51219c of _0x2d2ecc)_0x409847+=_0x51219c[_0x46599d(0xf4)]-_0x51219c[_0x46599d(0x1bc)]+0x1,_0x38bba0+=_0x51219c[_0x46599d(0x10f)]-_0x51219c[_0x46599d(0x160)]+0x1;for(let _0x5378eb of _0x142de7)for(let _0x59b397=_0x5378eb['startRow'];_0x59b397<=_0x5378eb['endRow'];_0x59b397++)for(let _0x4b8f5b=_0x5378eb[_0x46599d(0x160)];_0x4b8f5b<=_0x5378eb[_0x46599d(0x10f)];_0x4b8f5b++)_0x3d367f[_0x46599d(0x124)]({'row':_0x59b397,'column':_0x4b8f5b});if(_0x3d367f['length']===_0x409847)_0x5c22a4?_0x3d367f[_0x46599d(0x14c)]((_0x4c653a,_0x10a0c0)=>{const _0x4f42df=_0x46599d;let _0x594908=_0x2d2ecc[_0x10a0c0],_0x61db27={'startRow':_0x594908[_0x4f42df(0x1bc)],'startColumn':_0x594908[_0x4f42df(0x160)],'endRow':_0x594908['startRow'],'endColumn':_0x594908['endColumn']};_0x3a78b1[_0x4f42df(0x185)](_0x4c653a[_0x4f42df(0x14a)],_0x4c653a['column'],_0x61db27);}):_0x3d367f['forEach']((_0x500431,_0x39bc03)=>{const _0x53631f=_0x46599d;let _0x356873=_0x2d2ecc[0x0],_0x23856e={'startRow':_0x356873[_0x53631f(0x1bc)]+_0x39bc03,'startColumn':_0x356873[_0x53631f(0x160)],'endRow':_0x356873['startRow']+_0x39bc03,'endColumn':_0x356873[_0x53631f(0x10f)]};_0x3a78b1[_0x53631f(0x185)](_0x500431[_0x53631f(0x14a)],_0x500431['column'],_0x23856e);});else{if(_0x3d367f[_0x46599d(0xd5)]===_0x38bba0)_0x5c22a4?_0x3d367f[_0x46599d(0x14c)]((_0x121c43,_0x502d0d)=>{const _0x31e2a1=_0x46599d;let _0x2f9ff0=_0x2d2ecc[_0x502d0d],_0x55c6f1={'startRow':_0x2f9ff0[_0x31e2a1(0x1bc)],'startColumn':_0x2f9ff0['startColumn'],'endRow':_0x2f9ff0[_0x31e2a1(0xf4)],'endColumn':_0x2f9ff0[_0x31e2a1(0x160)]};_0x3a78b1[_0x31e2a1(0x185)](_0x121c43[_0x31e2a1(0x14a)],_0x121c43[_0x31e2a1(0x188)],_0x55c6f1);}):_0x3d367f[_0x46599d(0x14c)]((_0x324697,_0x52818d)=>{const _0x15c0c4=_0x46599d;let _0x27713e=_0x2d2ecc[0x0],_0x44d91d={'startRow':_0x27713e[_0x15c0c4(0x1bc)],'startColumn':_0x27713e[_0x15c0c4(0x160)]+_0x52818d,'endRow':_0x27713e[_0x15c0c4(0xf4)],'endColumn':_0x27713e[_0x15c0c4(0x160)]+_0x52818d};_0x3a78b1[_0x15c0c4(0x185)](_0x324697['row'],_0x324697[_0x15c0c4(0x188)],_0x44d91d);});else{if(_0x3d367f[_0x46599d(0xd5)]===_0x2d2ecc['length'])_0x2d2ecc[_0x46599d(0x10e)](_0x545dd9=>_0x545dd9[_0x46599d(0x1bc)]===_0x545dd9['endRow']||_0x545dd9[_0x46599d(0x160)]===_0x545dd9[_0x46599d(0x10f)])&&_0x3d367f['forEach']((_0x325740,_0xb4312b)=>{const _0x3dea79=_0x46599d;let _0x3caea4=_0x2d2ecc[_0xb4312b];_0x3a78b1[_0x3dea79(0x185)](_0x325740['row'],_0x325740[_0x3dea79(0x188)],_0x3caea4);});else throw Error('Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.');}}return _0x3a78b1;}let _0x43f5dc=_0x14da71(0x14e),_0x315fa4={'standard':[_0x14da71(0x195),_0x14da71(0x10b)],'specialty':['rgb(49,106,246)','rgb(30,177,189)'],'distinctive':[_0x14da71(0x144),'rgb(252,117,60)'],'soft':['rgb(80,102,248)',_0x14da71(0x1d2)],'fresh':[_0x14da71(0xe3),_0x14da71(0x11d)]},_0x226667=[_0x14da71(0x1de),_0x14da71(0x166),_0x14da71(0x1a8),_0x14da71(0x1ab),_0x14da71(0x1a5),_0x14da71(0x1ad)],_0x3db8eb=function(_0x124a3d){const _0x559952=_0x14da71;return _0x124a3d['STANDARD']=_0x559952(0x18a),_0x124a3d[_0x559952(0xe9)]=_0x559952(0x1b9),_0x124a3d['DISTINCTIVE']='distinctive',_0x124a3d[_0x559952(0x1b5)]='soft',_0x124a3d[_0x559952(0x18c)]=_0x559952(0x1dc),_0x124a3d[_0x559952(0xfb)]=_0x559952(0x116),_0x124a3d;}({}),_0x668918=function(_0x5f3890){const _0x5d425b=_0x14da71;return _0x5f3890[_0x5f3890[_0x5d425b(0x15f)]=0x1]=_0x5d425b(0x15f),_0x5f3890[_0x5f3890[_0x5d425b(0x146)]=0x2]=_0x5d425b(0x146),_0x5f3890[_0x5f3890[_0x5d425b(0xea)]=0x3]=_0x5d425b(0xea),_0x5f3890[_0x5f3890[_0x5d425b(0x1a9)]=0x4]='PIE_CHART',_0x5f3890;}({}),_0x235375=function(_0x2f8c45){const _0x26c58f=_0x14da71;return _0x2f8c45[_0x26c58f(0x107)]=_0x26c58f(0x196),_0x2f8c45['ZERO_VALUE']=_0x26c58f(0x1d6),_0x2f8c45['CONNECT_WITH_LINE']=_0x26c58f(0xfd),_0x2f8c45;}({}),_0x20030e=function(_0x4126ec){const _0x4a5471=_0x14da71;return _0x4126ec[_0x4126ec[_0x4a5471(0x19f)]=0x1]='SELF_EXTREMUM',_0x4126ec[_0x4126ec[_0x4a5471(0x137)]=0x2]='GROUP_EXTREMUM',_0x4126ec[_0x4126ec[_0x4a5471(0x1b1)]=0x3]=_0x4a5471(0x1b1),_0x4126ec;}({});function _0x59d710(_0x4ae654){'@babel/helpers - typeof';const _0x3b7ef0=_0x14da71;return _0x59d710=typeof Symbol==_0x3b7ef0(0x11a)&&typeof Symbol[_0x3b7ef0(0xfc)]==_0x3b7ef0(0x106)?function(_0x20cbc6){return typeof _0x20cbc6;}:function(_0x139496){const _0x302418=_0x3b7ef0;return _0x139496&&typeof Symbol==_0x302418(0x11a)&&_0x139496[_0x302418(0x176)]===Symbol&&_0x139496!==Symbol['prototype']?_0x302418(0x106):typeof _0x139496;},_0x59d710(_0x4ae654);}function _0x318928(_0x33ec1e,_0x685388){const _0x4eb5a8=_0x14da71;if(_0x59d710(_0x33ec1e)!=_0x4eb5a8(0x1d8)||!_0x33ec1e)return _0x33ec1e;var _0x4e1a93=_0x33ec1e[Symbol['toPrimitive']];if(_0x4e1a93!==void 0x0){var _0x282643=_0x4e1a93[_0x4eb5a8(0x1c1)](_0x33ec1e,_0x685388||_0x4eb5a8(0xe7));if(_0x59d710(_0x282643)!=_0x4eb5a8(0x1d8))return _0x282643;throw TypeError(_0x4eb5a8(0xf0));}return(_0x685388===_0x4eb5a8(0x18f)?String:Number)(_0x33ec1e);}function _0x4dd072(_0x3cf47a){const _0x3a6002=_0x14da71;var _0x2fe6fb=_0x318928(_0x3cf47a,'string');return _0x59d710(_0x2fe6fb)==_0x3a6002(0x106)?_0x2fe6fb:_0x2fe6fb+'';}function _0x1fa54c(_0x27290b,_0x3d50ec,_0x1790e3){const _0x46229a=_0x14da71;return(_0x3d50ec=_0x4dd072(_0x3d50ec))in _0x27290b?Object[_0x46229a(0x118)](_0x27290b,_0x3d50ec,{'value':_0x1790e3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27290b[_0x3d50ec]=_0x1790e3,_0x27290b;}function _0x585c4a(_0x2b94d3,_0x1b5ad0){return function(_0x277300,_0xbcb2d8){_0x1b5ad0(_0x277300,_0xbcb2d8,_0x2b94d3);};}function _0x3cc95c(_0x20a696,_0x3c0abf,_0x38342c,_0xccb2b5){const _0x5d40cc=_0x14da71;var _0x2c612e=arguments['length'],_0x24e72f=_0x2c612e<0x3?_0x3c0abf:_0xccb2b5===null?_0xccb2b5=Object[_0x5d40cc(0x18b)](_0x3c0abf,_0x38342c):_0xccb2b5,_0x65c416;if(typeof Reflect==_0x5d40cc(0x1d8)&&typeof Reflect[_0x5d40cc(0x170)]==_0x5d40cc(0x11a))_0x24e72f=Reflect['decorate'](_0x20a696,_0x3c0abf,_0x38342c,_0xccb2b5);else{for(var _0x15cc80=_0x20a696[_0x5d40cc(0xd5)]-0x1;_0x15cc80>=0x0;_0x15cc80--)(_0x65c416=_0x20a696[_0x15cc80])&&(_0x24e72f=(_0x2c612e<0x3?_0x65c416(_0x24e72f):_0x2c612e>0x3?_0x65c416(_0x3c0abf,_0x38342c,_0x24e72f):_0x65c416(_0x3c0abf,_0x38342c))||_0x24e72f);}return _0x2c612e>0x3&&_0x24e72f&&Object[_0x5d40cc(0x118)](_0x3c0abf,_0x38342c,_0x24e72f),_0x24e72f;}let _0x35bc28=class extends _0x5b7d3d[_0x14da71(0x138)]{constructor(_0xf1903f){const _0x29775d=_0x14da71;super(),this[_0x29775d(0x17b)]=_0xf1903f,_0x1fa54c(this,_0x29775d(0x1be),new Map()),_0x1fa54c(this,_0x29775d(0x13a),new Map()),_0x1fa54c(this,_0x29775d(0x171),new _0x3339c9[(_0x29775d(0x180))]()),_0x1fa54c(this,_0x29775d(0x15d),this[_0x29775d(0x171)][_0x29775d(0x19e)]());}['_ensureConfigMap'](_0x51fd75,_0x138ad5){const _0x151051=_0x14da71;let _0xc766ca=this[_0x151051(0x1be)][_0x151051(0x1b2)](_0x51fd75);_0xc766ca||(_0xc766ca=new Map(),this[_0x151051(0x1be)][_0x151051(0x1c7)](_0x51fd75,_0xc766ca));let _0x40bf0a=_0xc766ca[_0x151051(0x1b2)](_0x138ad5);return _0x40bf0a||(_0x40bf0a=new Map(),_0xc766ca[_0x151051(0x1c7)](_0x138ad5,_0x40bf0a)),_0x40bf0a;}[_0x14da71(0x133)](_0x25ba8d,_0x3dece4){const _0x35d033=_0x14da71;let _0x2a99d6=this[_0x35d033(0x13a)]['get'](_0x25ba8d);_0x2a99d6||(_0x2a99d6=new Map(),this[_0x35d033(0x13a)][_0x35d033(0x1c7)](_0x25ba8d,_0x2a99d6));let _0x58a36f=_0x2a99d6['get'](_0x3dece4);return _0x58a36f||(_0x58a36f={'matrix':new _0x5b7d3d[(_0x35d033(0x182))](),'extra':{}},_0x2a99d6[_0x35d033(0x1c7)](_0x3dece4,_0x58a36f)),_0x58a36f;}[_0x14da71(0x1b0)](_0x5bbc23,_0xe97454,_0x2f1844,_0x330cd7=_0x14da71(0x1c7)){const _0x19e7ee=_0x14da71;var _0x507b5e,_0x5aa6a2,_0x175b20,_0x5dcb81;let _0x4f39d1=(_0x507b5e=this[_0x19e7ee(0x1be)][_0x19e7ee(0x1b2)](_0x5bbc23))==null||(_0x507b5e=_0x507b5e[_0x19e7ee(0x1b2)](_0xe97454))==null?void 0x0:_0x507b5e[_0x19e7ee(0x1b2)](_0x2f1844);if(!_0x4f39d1)return;let _0x322710=(0x0,_0x6aed4[_0x19e7ee(0x189)])(this[_0x19e7ee(0x17b)],{'unitId':_0x5bbc23,'subUnitId':_0xe97454});if(!_0x322710)return;let {extra:_0x1078ce,matrix:_0x4bc855}=this[_0x19e7ee(0x133)](_0x5bbc23,_0xe97454),{worksheet:_0x344790}=_0x322710,_0x25b703=-(0x2**0x35-0x1),_0xbe8025=0x2**0x35-0x1,_0x582582=_0x4f39d1[_0x19e7ee(0x12a)][_0x19e7ee(0x19a)]??!0x1;_0x4f39d1['sparklines'][_0x19e7ee(0x1ac)]((_0x2c5704,_0x3bbfd7,_0x4deff0)=>{const _0x49bf0c=_0x19e7ee;let _0x615d72=_0x4deff0,_0x5aa5ba=-(0x2**0x35-0x1),_0x584fff=0x2**0x35-0x1,_0x4fdd55=0x0,_0x5e05c1=0x0,_0x5782c9=[];if(!(0x0,_0x5b7d3d[_0x49bf0c(0x14d)])(_0x615d72))_0x4bc855[_0x49bf0c(0x185)](_0x2c5704,_0x3bbfd7,{'groupId':_0x2f1844,'data':[],'max':_0x5aa5ba,'min':_0x584fff,'highIndex':_0x4fdd55,'lowIndex':_0x5e05c1,'negativeIndexes':_0x5782c9});else{let _0x1906b3=[];for(let _0x33ab53=_0x615d72[_0x49bf0c(0x1bc)];_0x33ab53<=_0x615d72['endRow'];_0x33ab53++){for(let _0x20bc75=_0x615d72[_0x49bf0c(0x160)];_0x20bc75<=_0x615d72[_0x49bf0c(0x10f)];_0x20bc75++){var _0x2bb7d7;let _0x17b191=_0x344790[_0x49bf0c(0x15e)](_0x33ab53),_0x3d583a=_0x344790[_0x49bf0c(0x1ca)](_0x20bc75);if(!_0x582582&&(!_0x17b191||!_0x3d583a))continue;let _0x55e3aa=0x0,_0x4ac1b6=((_0x2bb7d7=_0x344790[_0x49bf0c(0xef)](_0x33ab53,_0x20bc75))==null?void 0x0:_0x2bb7d7['v'])===void 0x0?_0x344790[_0x49bf0c(0x1dd)](_0x33ab53,_0x20bc75):_0x344790['getCellRaw'](_0x33ab53,_0x20bc75);if(!_0x4ac1b6||_0x4ac1b6['v']===void 0x0||_0x4ac1b6['v']===null){let _0x353cd3=_0x4f39d1[_0x49bf0c(0x12a)]['emptyShowAs']??_0x49bf0c(0x196);_0x353cd3===_0x49bf0c(0x1d6)?_0x55e3aa=0x0:_0x353cd3===_0x49bf0c(0x196)?_0x55e3aa=_0x49bf0c(0x13c):_0x353cd3===_0x49bf0c(0xfd)&&(_0x55e3aa=_0x49bf0c(0x147));}else{if(_0x4ac1b6['t']===_0x5b7d3d[_0x49bf0c(0x142)][_0x49bf0c(0x1bf)]||_0x4ac1b6['t']===_0x5b7d3d['CellValueType'][_0x49bf0c(0x103)]){let _0x26f8ca=_0x4f39d1['config']['nonNumShowAs']??'spacing';_0x26f8ca===_0x49bf0c(0x1d6)?_0x55e3aa=0x0:_0x26f8ca===_0x49bf0c(0x196)?_0x55e3aa=_0x49bf0c(0x13c):_0x26f8ca===_0x49bf0c(0xfd)&&(_0x55e3aa='u-connect');}else _0x55e3aa=_0x4ac1b6['t']===_0x5b7d3d[_0x49bf0c(0x142)][_0x49bf0c(0x175)]?+!!_0x4ac1b6['v']:_0x4ac1b6['t']===_0x5b7d3d[_0x49bf0c(0x142)][_0x49bf0c(0x15c)]?Number(_0x4ac1b6['v']):_0x4ac1b6['v'];}if(_0x1906b3[_0x49bf0c(0x124)](_0x55e3aa),typeof _0x55e3aa==_0x49bf0c(0x1c8)){_0x5aa5ba=Math[_0x49bf0c(0x164)](_0x5aa5ba,_0x55e3aa),_0x25b703=Math[_0x49bf0c(0x164)](_0x25b703,_0x55e3aa),_0xbe8025=Math['min'](_0xbe8025,_0x55e3aa),_0x584fff=Math['min'](_0x584fff,_0x55e3aa);let _0x257a9f=typeof _0x1906b3[_0x4fdd55]=='number'?Number(_0x1906b3[_0x4fdd55]):-(0x2**0x35-0x1);_0x55e3aa>_0x257a9f&&(_0x4fdd55=_0x1906b3['length']-0x1);let _0x1880e5=typeof _0x1906b3[_0x5e05c1]==_0x49bf0c(0x1c8)?Number(_0x1906b3[_0x5e05c1]):0x2**0x35-0x1;_0x55e3aa<_0x1880e5&&(_0x5e05c1=_0x1906b3[_0x49bf0c(0xd5)]-0x1),_0x55e3aa<0x0&&_0x5782c9[_0x49bf0c(0x124)](_0x1906b3[_0x49bf0c(0xd5)]-0x1);}}_0x4bc855[_0x49bf0c(0x185)](_0x2c5704,_0x3bbfd7,{'groupId':_0x2f1844,'data':_0x1906b3,'max':_0x5aa5ba,'min':_0x584fff,'highIndex':_0x4fdd55,'lowIndex':_0x5e05c1,'negativeIndexes':_0x5782c9});}}});let _0xe344c5=_0x25b703;if(((_0x5aa6a2=_0x4f39d1[_0x19e7ee(0x12a)][_0x19e7ee(0x11c)])==null?void 0x0:_0x5aa6a2['type'])===0x3){var _0x3f49b1;_0xe344c5=((_0x3f49b1=_0x4f39d1[_0x19e7ee(0x12a)]['extremumMax'])==null?void 0x0:_0x3f49b1[_0x19e7ee(0x184)])??_0x25b703;}let _0x422e25=_0xbe8025;if(((_0x175b20=_0x4f39d1['config']['extremumMin'])==null?void 0x0:_0x175b20[_0x19e7ee(0x150)])===0x3){var _0x3f5015;_0x422e25=((_0x3f5015=_0x4f39d1[_0x19e7ee(0x12a)]['extremumMin'])==null?void 0x0:_0x3f5015[_0x19e7ee(0x184)])??_0xbe8025;}let _0x3a6b30=_0x4f39d1[_0x19e7ee(0x12a)][_0x19e7ee(0x168)]??'standard',_0x341bbd=_0x4f39d1[_0x19e7ee(0x12a)][_0x19e7ee(0xf7)]??((_0x5dcb81=_0x315fa4[_0x3a6b30])==null?void 0x0:_0x5dcb81[0x0])??_0x315fa4[_0x19e7ee(0x18a)][0x0],_0x500e7b=new _0x5b7d3d['ColorKit'](_0x341bbd),_0x23519c=_0x500e7b[_0x19e7ee(0xec)](0.2)[_0x19e7ee(0xe5)](),_0x3316c9=_0x500e7b[_0x19e7ee(0xec)](0.05)[_0x19e7ee(0xe5)]();_0x1078ce[_0x2f1844]={'groupMax':_0x25b703,'groupMin':_0xbe8025,'showMax':_0xe344c5,'showMin':_0x422e25,'startGradient':_0x23519c,'endGradient':_0x3316c9},this[_0x19e7ee(0x171)][_0x19e7ee(0x126)]({'unitId':_0x5bbc23,'subUnitId':_0xe97454,'groupId':_0x2f1844,'config':_0x4f39d1,'type':_0x330cd7});}[_0x14da71(0xe1)](_0x47eb86,_0x43d877,_0x8af071,_0x27256d){const _0x43c0e4=_0x14da71;this[_0x43c0e4(0x191)](_0x47eb86,_0x43d877)[_0x43c0e4(0x1c7)](_0x8af071,_0x27256d),this[_0x43c0e4(0x1b0)](_0x47eb86,_0x43d877,_0x8af071,'add');}[_0x14da71(0x1e1)](_0x51a7a0,_0x1f9b45,_0x2db390,_0x28eebc){const _0x300117=_0x14da71;var _0x36a722;let _0x4cf4d5=(_0x36a722=this['_sparklineModel']['get'](_0x51a7a0))==null?void 0x0:_0x36a722[_0x300117(0x1b2)](_0x1f9b45);_0x2db390[_0x300117(0x14c)](_0x285a8b=>{const _0x37ea18=_0x300117;_0x4cf4d5!=null&&_0x4cf4d5[_0x37ea18(0xde)](_0x285a8b)&&(_0x4cf4d5[_0x37ea18(0x1c7)](_0x285a8b,_0x28eebc),this[_0x37ea18(0x1b0)](_0x51a7a0,_0x1f9b45,_0x285a8b));});}['removeSparkline'](_0x7c1aa5,_0x5f49e7,_0xb48b24){const _0x1f43e5=_0x14da71;let _0xbce176=this[_0x1f43e5(0x1be)][_0x1f43e5(0x1b2)](_0x7c1aa5);if(_0xbce176){let _0x325179=_0xbce176[_0x1f43e5(0x1b2)](_0x5f49e7);if(_0x325179){var _0x4f95a4,_0x488448;_0x325179[_0x1f43e5(0x12b)](_0xb48b24);let _0x4d8978=(_0x4f95a4=this[_0x1f43e5(0x13a)][_0x1f43e5(0x1b2)](_0x7c1aa5))==null?void 0x0:_0x4f95a4[_0x1f43e5(0x1b2)](_0x5f49e7);_0x4d8978==null||(_0x488448=_0x4d8978[_0x1f43e5(0x16d)])==null||_0x488448[_0x1f43e5(0x1ac)]((_0x119cf7,_0x1aa159,_0x10ad51)=>{const _0x19eef5=_0x1f43e5;(_0x10ad51==null?void 0x0:_0x10ad51[_0x19eef5(0x1c4)])===_0xb48b24&&(_0x4d8978==null||_0x4d8978[_0x19eef5(0x16d)][_0x19eef5(0x157)](_0x119cf7,_0x1aa159));}),this['_updateConfig$'][_0x1f43e5(0x126)]({'unitId':_0x7c1aa5,'subUnitId':_0x5f49e7,'groupId':_0xb48b24,'type':_0x1f43e5(0xe6)}),_0x325179[_0x1f43e5(0x1da)]===0x0&&_0xbce176[_0x1f43e5(0x12b)](_0x5f49e7);}}}[_0x14da71(0x161)](_0x3ed4f1,_0x464886,_0x30e4a1,_0x17c159){const _0x5b443c=_0x14da71;var _0x3aa86f;let _0x5af513=(_0x3aa86f=this['_sparklineAnchorMap'][_0x5b443c(0x1b2)](_0x3ed4f1))==null?void 0x0:_0x3aa86f['get'](_0x464886),_0xf4890a=_0x5af513==null?void 0x0:_0x5af513['matrix'][_0x5b443c(0x17a)](_0x30e4a1,_0x17c159);if(_0xf4890a){var _0xa69276,_0x3e73b2,_0x23f217;let {groupId:_0x116dd3}=_0xf4890a,_0x58a9fa=(_0xa69276=this['_sparklineModel'][_0x5b443c(0x1b2)](_0x3ed4f1))==null?void 0x0:_0xa69276[_0x5b443c(0x1b2)](_0x464886);_0x58a9fa==null||(_0x3e73b2=_0x58a9fa[_0x5b443c(0x1b2)](_0x116dd3))==null||_0x3e73b2[_0x5b443c(0x112)][_0x5b443c(0x157)](_0x30e4a1,_0x17c159),_0x58a9fa!=null&&(_0x23f217=_0x58a9fa[_0x5b443c(0x1b2)](_0x116dd3))!=null&&_0x23f217[_0x5b443c(0x112)][_0x5b443c(0x183)]()||_0x58a9fa==null||_0x58a9fa['delete'](_0x116dd3),_0x5af513==null||_0x5af513[_0x5b443c(0x16d)][_0x5b443c(0x157)](_0x30e4a1,_0x17c159),this[_0x5b443c(0x171)]['next']({'unitId':_0x3ed4f1,'subUnitId':_0x464886,'groupId':_0x116dd3,'type':_0x5b443c(0xe6)});}}[_0x14da71(0x1db)](_0x2f5fdf,_0x4d5f97,_0x2a60b3){const _0x3a9e50=_0x14da71;var _0x3a0653,_0x4a1c9c;let _0x17c7b1=(_0x3a0653=this['_sparklineModel']['get'](_0x2f5fdf))==null||(_0x3a0653=_0x3a0653[_0x3a9e50(0x1b2)](_0x4d5f97))==null||(_0x3a0653=_0x3a0653['get'](_0x2a60b3))==null?void 0x0:_0x3a0653[_0x3a9e50(0x112)],_0x21a86a=(_0x4a1c9c=this[_0x3a9e50(0x13a)][_0x3a9e50(0x1b2)](_0x2f5fdf))==null?void 0x0:_0x4a1c9c[_0x3a9e50(0x1b2)](_0x4d5f97);if(_0x17c7b1&&_0x21a86a){let {matrix:_0x52cbff,extra:_0x3246f0}=_0x21a86a;_0x17c7b1[_0x3a9e50(0x1ac)]((_0x296bc6,_0x1c9ab8,_0x51ec35)=>{const _0x2367df=_0x3a9e50;_0x52cbff[_0x2367df(0x157)](_0x296bc6,_0x1c9ab8);}),delete _0x3246f0[_0x2a60b3];}}[_0x14da71(0xfe)](_0x1161a7,_0x239f9b){const _0x1c80fc=_0x14da71;var _0x2ffde6;return(_0x2ffde6=this[_0x1c80fc(0x1be)]['get'](_0x1161a7))==null?void 0x0:_0x2ffde6[_0x1c80fc(0x1b2)](_0x239f9b);}['getSparklineById'](_0x7ba335,_0x26ba22,_0x8a3759){const _0x3768fa=_0x14da71;var _0x4deb3f;return(_0x4deb3f=this['_sparklineModel'][_0x3768fa(0x1b2)](_0x7ba335))==null||(_0x4deb3f=_0x4deb3f['get'](_0x26ba22))==null?void 0x0:_0x4deb3f[_0x3768fa(0x1b2)](_0x8a3759);}[_0x14da71(0x1d0)](_0x2de944,_0x4ecfdf,_0x4d44fa,_0x20cd5a){const _0x1af641=_0x14da71;var _0x31e5f2;return(_0x31e5f2=this['_sparklineAnchorMap']['get'](_0x2de944))==null||(_0x31e5f2=_0x31e5f2[_0x1af641(0x1b2)](_0x4ecfdf))==null||(_0x31e5f2=_0x31e5f2[_0x1af641(0x16d)][_0x1af641(0x17a)](_0x4d44fa,_0x20cd5a))==null?void 0x0:_0x31e5f2[_0x1af641(0x1c4)];}[_0x14da71(0x1b4)](_0x24e121,_0x5007b3){const _0x5a3e4b=_0x14da71;var _0x1aca43;let _0x33c0ff=this[_0x5a3e4b(0x133)](_0x24e121,_0x5007b3);_0x33c0ff[_0x5a3e4b(0x16d)][_0x5a3e4b(0x1ac)]((_0x4cdca7,_0x2f322f)=>{const _0x52aa0e=_0x5a3e4b;_0x33c0ff[_0x52aa0e(0x16d)]['realDeleteValue'](_0x4cdca7,_0x2f322f);});let _0x425967=(_0x1aca43=this[_0x5a3e4b(0x1be)][_0x5a3e4b(0x1b2)](_0x24e121))==null?void 0x0:_0x1aca43[_0x5a3e4b(0x1b2)](_0x5007b3);if(_0x425967){for(let [_0x4bbf2e]of _0x425967)this[_0x5a3e4b(0x1b0)](_0x24e121,_0x5007b3,_0x4bbf2e);}}['getSparklineCache'](){const _0x5ba6a4=_0x14da71;return{'sparklineModel':this[_0x5ba6a4(0x1be)],'sparklineAnchorMap':this[_0x5ba6a4(0x13a)]};}[_0x14da71(0x190)](_0x3429a2){const _0xee2dd2=_0x14da71;let _0x423bdb={};if(this['_sparklineModel'][_0xee2dd2(0xde)](_0x3429a2)){_0x423bdb[_0x3429a2]={};let _0x3f9fc4=this[_0xee2dd2(0x1be)][_0xee2dd2(0x1b2)](_0x3429a2);_0x3f9fc4!=null&&_0x3f9fc4['size']&&Array['from'](_0x3f9fc4[_0xee2dd2(0x198)]())['forEach'](_0x40c8fd=>{const _0x4310be=_0xee2dd2;_0x423bdb[_0x3429a2][_0x40c8fd]={};let _0x25a88f=_0x3f9fc4[_0x4310be(0x1b2)](_0x40c8fd);_0x25a88f!=null&&_0x25a88f[_0x4310be(0x1da)]&&Array[_0x4310be(0x1a7)](_0x25a88f['keys']())[_0x4310be(0x14c)](_0x81f5ab=>{const _0x100665=_0x4310be;let _0xf1a2c2=_0x25a88f[_0x100665(0x1b2)](_0x81f5ab);_0xf1a2c2&&(_0x423bdb[_0x3429a2][_0x40c8fd][_0x81f5ab]={'config':_0xf1a2c2[_0x100665(0x12a)],'sparklines':_0xf1a2c2[_0x100665(0x112)]['getMatrix']()});});});}return _0x423bdb;}[_0x14da71(0x1bd)](_0x51cb49){const _0x562fe0=_0x14da71;_0x51cb49&&Object[_0x562fe0(0x198)](_0x51cb49)[_0x562fe0(0x14c)](_0x34b8e7=>{const _0x5bf026=_0x562fe0;let _0xc4756a=_0x51cb49[_0x34b8e7];_0xc4756a&&Object['keys'](_0xc4756a)[_0x5bf026(0x14c)](_0xdb6e22=>{const _0x1834b9=_0x5bf026;let _0x37f937=_0xc4756a[_0xdb6e22];_0x37f937&&Object[_0x1834b9(0x198)](_0x37f937)[_0x1834b9(0x14c)](_0x160f3e=>{const _0x4b3a72=_0x1834b9;let _0x351aa7=_0x37f937[_0x160f3e];if(_0x351aa7){let _0x463fc8={'config':_0x351aa7[_0x4b3a72(0x12a)],'sparklines':new _0x5b7d3d[(_0x4b3a72(0x182))](_0x351aa7[_0x4b3a72(0x112)])};this[_0x4b3a72(0xe1)](_0x34b8e7,_0xdb6e22,_0x160f3e,_0x463fc8);}});});});}[_0x14da71(0x158)](_0x806d39){const _0x480a82=_0x14da71;let _0x272bac=this[_0x480a82(0x1be)]['get'](_0x806d39);if(_0x272bac){for(let [_0x507e49]of _0x272bac){let _0x300348=_0x272bac[_0x480a82(0x1b2)](_0x507e49);if(_0x300348){for(let [_0x2ac0e4]of _0x300348)this[_0x480a82(0x1db)](_0x806d39,_0x507e49,_0x2ac0e4);}}this[_0x480a82(0x1be)][_0x480a82(0x12b)](_0x806d39);}}};_0x35bc28=_0x3cc95c([_0x585c4a(0x0,(0x0,_0x5b7d3d['Inject'])(_0x5b7d3d[_0x14da71(0x15b)]))],_0x35bc28);let _0x4541ae={'id':_0x14da71(0x131),'type':_0x5b7d3d[_0x14da71(0x1c3)][_0x14da71(0x127)],'handler':(_0x13d86f,_0x14cfd6)=>{const _0x1b9d59=_0x14da71;if(!_0x14cfd6)return!0x1;let {sparklineConfigMap:_0x5f060f,unitId:_0x357a6a,subUnitId:_0x44c7d7}=_0x14cfd6,_0x1e6b74=_0x13d86f[_0x1b9d59(0x1b2)](_0x35bc28);return Object[_0x1b9d59(0xdb)](_0x5f060f)[_0x1b9d59(0x14c)](([_0x403336,_0x2dc8fd])=>{const _0x20941e=_0x1b9d59;let _0xfc7a7c={'config':_0x2dc8fd[_0x20941e(0x12a)],'sparklines':new _0x5b7d3d[(_0x20941e(0x182))](_0x2dc8fd[_0x20941e(0x112)])};_0x1e6b74['addSparkline'](_0x357a6a,_0x44c7d7,_0x403336,_0xfc7a7c);}),!0x0;}},_0x423bd6={'id':_0x14da71(0x148),'type':_0x5b7d3d[_0x14da71(0x1c3)][_0x14da71(0x127)],'handler':(_0x16a855,_0x46b8eb)=>{const _0x2a7b37=_0x14da71;if(!_0x46b8eb)return!0x1;let {unitId:_0x485e21,subUnitId:_0x5d50d7,ranges:_0x53ef1f,isSingle:_0x26f623,groupIds:_0x46d88c}=_0x46b8eb,_0x425b34=_0x16a855[_0x2a7b37(0x1b2)](_0x35bc28);return _0x46d88c?(_0x46d88c[_0x2a7b37(0x14c)](_0x454de6=>{const _0x177cd8=_0x2a7b37;_0x425b34[_0x177cd8(0x1a1)](_0x485e21,_0x5d50d7,_0x454de6);}),!0x0):_0x53ef1f?(_0x53ef1f['forEach'](_0x11c770=>{const _0x314257=_0x2a7b37;_0x5b7d3d[_0x314257(0x109)]['foreach'](_0x11c770,(_0x22473e,_0x58f940)=>{const _0x489b89=_0x314257;let _0x172929=_0x425b34[_0x489b89(0x1d0)](_0x485e21,_0x5d50d7,_0x22473e,_0x58f940);_0x172929&&(_0x26f623?_0x425b34[_0x489b89(0x161)](_0x485e21,_0x5d50d7,_0x22473e,_0x58f940):_0x425b34[_0x489b89(0x1a1)](_0x485e21,_0x5d50d7,_0x172929));});}),!0x0):!0x1;}},_0x33999d={'id':_0x14da71(0x1ae),'type':_0x5b7d3d[_0x14da71(0x1c3)][_0x14da71(0x140)],'handler':(_0x25d871,_0x2a3161)=>{const _0x206219=_0x14da71;if(!_0x2a3161||!_0x46f37d(_0x25d871))return!0x1;let {sourceRanges:_0x3928cd,targetRanges:_0x1ca219,config:_0x402260}=_0x2a3161,_0x108b06=_0x25d871[_0x206219(0x1b2)](_0x5b7d3d['IUndoRedoService']),_0x1f9645='g_'+(0x0,_0x5b7d3d['generateRandomId'])(0x6),_0x14f45d=_0x2ad168(_0x3928cd,_0x1ca219),_0x1b0f83={'config':_0x402260??{},'sparklines':_0x14f45d[_0x206219(0x172)]()},_0x3285bc=_0x25d871[_0x206219(0x1b2)](_0x5b7d3d[_0x206219(0x15b)]),_0x5a07e3=_0x25d871[_0x206219(0x1b2)](_0x35bc28),_0xf4200b=(0x0,_0x6aed4[_0x206219(0x189)])(_0x3285bc);if(!_0xf4200b)return!0x1;let {unitId:_0x5a0383,subUnitId:_0x413c8f}=_0xf4200b,_0x443e30=_0x25d871[_0x206219(0x1b2)](_0x5b7d3d['ICommandService']),_0x53239c=[],_0x507c34=[],_0x224873={},_0x4fd759={},_0x9f9e1e=new Set([_0x1f9645]);_0x14f45d['forValue']((_0x429474,_0x433452)=>{const _0xfecdb1=_0x206219;let _0x3cf649=_0x5a07e3['getSparkline'](_0x5a0383,_0x413c8f,_0x429474,_0x433452);if(_0x3cf649){let _0x5b5fb7=_0x5a07e3['getSparklineById'](_0x5a0383,_0x413c8f,_0x3cf649);if(_0x5b5fb7){_0x9f9e1e['add'](_0x3cf649);let _0x2c9a51=_0x224873[_0x3cf649],_0x2c8151=_0x4fd759[_0x3cf649];_0x2c8151||(_0x2c8151={'config':_0x5b7d3d[_0xfecdb1(0x194)][_0xfecdb1(0x102)](_0x5b5fb7[_0xfecdb1(0x12a)]),'sparklines':new _0x5b7d3d[(_0xfecdb1(0x182))](_0x5b5fb7[_0xfecdb1(0x112)][_0xfecdb1(0x101)]())},_0x4fd759[_0x3cf649]=_0x2c8151),_0x2c9a51||(_0x2c9a51={'config':_0x5b7d3d['Tools'][_0xfecdb1(0x102)](_0x5b5fb7[_0xfecdb1(0x12a)]),'sparklines':_0x5b5fb7[_0xfecdb1(0x112)][_0xfecdb1(0x101)]()},_0x224873[_0x3cf649]=_0x2c9a51),_0x2c8151[_0xfecdb1(0x112)]['realDeleteValue'](_0x429474,_0x433452);}}});let _0x5f3288={};return Object[_0x206219(0xdb)](_0x4fd759)[_0x206219(0x14c)](([_0x4fd136,_0x2d57a8])=>{const _0x542e0d=_0x206219;_0x2d57a8['sparklines']['getSizeOf']()&&(_0x5f3288[_0x4fd136]={'config':_0x2d57a8['config'],'sparklines':_0x2d57a8[_0x542e0d(0x112)][_0x542e0d(0x101)]()});}),_0x5f3288[_0x1f9645]=_0x1b0f83,_0x53239c['push']({'id':_0x423bd6['id'],'params':{'unitId':_0x5a0383,'subUnitId':_0x413c8f,'groupIds':Array[_0x206219(0x1a7)](_0x9f9e1e),'isSingle':!0x1}}),_0x9f9e1e[_0x206219(0x1da)]>0x1&&(_0x507c34['push']({'id':_0x423bd6['id'],'params':{'unitId':_0x5a0383,'subUnitId':_0x413c8f,'groupIds':Array[_0x206219(0x1a7)](_0x9f9e1e),'isSingle':!0x1}}),_0x53239c[_0x206219(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x5a0383,'subUnitId':_0x413c8f,'sparklineConfigMap':_0x224873}})),_0x507c34[_0x206219(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x5a0383,'subUnitId':_0x413c8f,'sparklineConfigMap':_0x5f3288}}),(0x0,_0x5b7d3d['sequenceExecute'])(_0x507c34,_0x443e30)[_0x206219(0x1ba)]?(_0x108b06[_0x206219(0x1e0)]({'unitID':_0x5a0383,'undoMutations':_0x53239c,'redoMutations':_0x507c34}),!0x0):!0x1;}},_0x252db7={'id':_0x14da71(0xf5),'type':_0x5b7d3d[_0x14da71(0x1c3)][_0x14da71(0x140)],'handler':(_0x4208f1,_0x282e2a)=>{const _0x502ece=_0x14da71;let {isSingle:_0x14c996=!0x0}=_0x282e2a||{},_0x126aeb=_0x4208f1[_0x502ece(0x1b2)](_0x5b7d3d['ICommandService']),_0x424a39=_0x4208f1[_0x502ece(0x1b2)](_0x5b7d3d[_0x502ece(0x15b)]),_0x5a0bc4=_0x4208f1[_0x502ece(0x1b2)](_0x35bc28),_0xc8c23b=_0x4208f1[_0x502ece(0x1b2)](_0x5b7d3d[_0x502ece(0x128)]),_0xe97c0e=(0x0,_0x6aed4[_0x502ece(0x189)])(_0x424a39);if(!_0xe97c0e)return!0x1;let _0x462cf1=_0x4208f1[_0x502ece(0x1b2)](_0x6aed4['SheetsSelectionsService']),_0x4d4e5b=(_0x282e2a==null?void 0x0:_0x282e2a['ranges'])??_0x462cf1[_0x502ece(0x12d)]()[_0x502ece(0x108)](_0x111b39=>_0x111b39[_0x502ece(0xeb)]),{unitId:_0x349e78,subUnitId:_0x5ac709}=_0xe97c0e,_0x32b8f4=[],_0xf23e4a=[];_0x32b8f4['push']({'id':_0x423bd6['id'],'params':{'unitId':_0x349e78,'subUnitId':_0x5ac709,'ranges':_0x4d4e5b,'isSingle':_0x14c996}});let _0x2ee542=[],_0x1902a3={};return _0x4d4e5b[_0x502ece(0x14c)](_0x1408a9=>{const _0x535715=_0x502ece;_0x5b7d3d[_0x535715(0x109)]['foreach'](_0x1408a9,(_0x1ec81b,_0x1b29ac)=>{const _0x37bfb1=_0x535715;let _0x4cb5e4=_0x5a0bc4[_0x37bfb1(0x1d0)](_0x349e78,_0x5ac709,_0x1ec81b,_0x1b29ac);if(_0x4cb5e4){let _0x35cdf9=_0x5a0bc4['getSparklineById'](_0x349e78,_0x5ac709,_0x4cb5e4);_0x35cdf9&&(_0x2ee542[_0x37bfb1(0x124)](_0x4cb5e4),_0x1902a3[_0x4cb5e4]={'config':_0x5b7d3d['Tools']['deepClone'](_0x35cdf9[_0x37bfb1(0x12a)]),'sparklines':_0x5b7d3d['Tools'][_0x37bfb1(0x102)](_0x35cdf9[_0x37bfb1(0x112)][_0x37bfb1(0x101)]())});}});}),_0xf23e4a[_0x502ece(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x349e78,'subUnitId':_0x5ac709,'groupIds':_0x2ee542,'isSingle':!0x1}}),_0xf23e4a[_0x502ece(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x349e78,'subUnitId':_0x5ac709,'sparklineConfigMap':_0x1902a3}}),(0x0,_0x5b7d3d[_0x502ece(0x105)])(_0x32b8f4,_0x126aeb)[_0x502ece(0x1ba)]?(_0xc8c23b['pushUndoRedo']({'unitID':_0x349e78,'undoMutations':_0xf23e4a,'redoMutations':_0x32b8f4}),!0x0):!0x1;}},_0x366313={'id':_0x14da71(0x110),'type':_0x5b7d3d[_0x14da71(0x1c3)][_0x14da71(0x127)],'handler':(_0x49f541,_0x1e0815)=>{const _0x5d8e52=_0x14da71;if(!_0x1e0815)return!0x1;let {unitId:_0x39286f,subUnitId:_0xb20ca3,groupIds:_0x425aca,config:_0x3601ef}=_0x1e0815,_0x3165fe=_0x49f541[_0x5d8e52(0x1b2)](_0x35bc28);return _0x425aca['forEach'](_0xe79e39=>{const _0x441eee=_0x5d8e52;let _0x11e556=_0x3165fe[_0x441eee(0x129)](_0x39286f,_0xb20ca3,_0xe79e39);if(_0x11e556){let _0x3734f3={'config':Object[_0x441eee(0x177)]({},_0x11e556[_0x441eee(0x12a)],_0x3601ef[_0x441eee(0x12a)]),'sparklines':new _0x5b7d3d['ObjectMatrix'](_0x11e556[_0x441eee(0x112)][_0x441eee(0x101)]())};_0x3165fe[_0x441eee(0x1e1)](_0x39286f,_0xb20ca3,[_0xe79e39],_0x3734f3);}}),!0x0;}},_0x1f6339={'id':_0x14da71(0xda),'type':_0x5b7d3d[_0x14da71(0x1c3)][_0x14da71(0x140)],'handler':(_0x18907a,_0x543524)=>{const _0x59802a=_0x14da71;var _0x1b7a63;if(!_0x543524||!_0x46f37d(_0x18907a))return!0x1;let _0x1a667c=_0x18907a[_0x59802a(0x1b2)](_0x5b7d3d[_0x59802a(0xe8)]),_0x42311d=_0x18907a[_0x59802a(0x1b2)](_0x6aed4[_0x59802a(0xdd)]),_0x181758=_0x18907a['get'](_0x35bc28),_0x15763c=_0x18907a[_0x59802a(0x1b2)](_0x5b7d3d[_0x59802a(0x15b)]),_0x4b8fa2=_0x18907a[_0x59802a(0x1b2)](_0x5b7d3d['IUndoRedoService']),_0x3577ab=(0x0,_0x6aed4[_0x59802a(0x189)])(_0x15763c);if(!_0x3577ab)return!0x1;let {unitId:_0x2b0921,subUnitId:_0x347642}=_0x3577ab,_0x3f0e46=(_0x543524==null?void 0x0:_0x543524[_0x59802a(0x1c0)])??_0x42311d['getCurrentSelections']()[_0x59802a(0x108)](_0x52a6a1=>_0x52a6a1['range']),_0x85d6c6=(_0x1b7a63=_0x181758[_0x59802a(0x130)]()[_0x59802a(0x162)][_0x59802a(0x1b2)](_0x2b0921))==null?void 0x0:_0x1b7a63['get'](_0x347642),{isChangeDataSource:_0x2ecef0,config:_0x8a1ed2,combine:_0x58c6fc,unCombine:_0x1545db}=_0x543524;if(_0x58c6fc){var _0x1f7afd;let _0x39b823=[],_0x35b97b=[];_0x39b823[_0x59802a(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'ranges':_0x3f0e46,'isSingle':!0x0}});let _0x1c8c81='g_'+(0x0,_0x5b7d3d[_0x59802a(0x18d)])(0x6),_0x1537f5=new _0x5b7d3d[(_0x59802a(0x182))](),_0x68a521=(_0x1f7afd=_0x181758[_0x59802a(0x130)]()[_0x59802a(0x12f)][_0x59802a(0x1b2)](_0x2b0921))==null?void 0x0:_0x1f7afd[_0x59802a(0x1b2)](_0x347642),_0x3d9585=new Set([_0x1c8c81]),_0x252184={};return _0x3f0e46[_0x59802a(0x14c)](_0x4841bf=>{const _0x44791d=_0x59802a;let {startRow:_0x38d0aa,endRow:_0x505bdc,startColumn:_0x573b19,endColumn:_0x56f6e2}=_0x4841bf;for(let _0x3a9d90=_0x38d0aa;_0x3a9d90<=_0x505bdc;_0x3a9d90++)for(let _0x5d8fd7=_0x573b19;_0x5d8fd7<=_0x56f6e2;_0x5d8fd7++){var _0x47b917;let _0x4d4d78=_0x85d6c6==null||(_0x47b917=_0x85d6c6[_0x44791d(0x16d)]['getValue'](_0x3a9d90,_0x5d8fd7))==null?void 0x0:_0x47b917[_0x44791d(0x1c4)];if(_0x4d4d78){var _0x5ead40;_0x3d9585[_0x44791d(0x136)](_0x4d4d78);let _0x351892=_0x181758['getSparklineById'](_0x2b0921,_0x347642,_0x4d4d78);_0x351892&&(_0x252184[_0x4d4d78]={'config':_0x5b7d3d['Tools'][_0x44791d(0x102)](_0x351892[_0x44791d(0x12a)]),'sparklines':_0x5b7d3d[_0x44791d(0x194)]['deepClone'](_0x351892[_0x44791d(0x112)][_0x44791d(0x101)]())});let _0x47ebf0=_0x68a521==null||(_0x5ead40=_0x68a521[_0x44791d(0x1b2)](_0x4d4d78))==null?void 0x0:_0x5ead40[_0x44791d(0x112)][_0x44791d(0x17a)](_0x3a9d90,_0x5d8fd7);_0x47ebf0&&_0x1537f5[_0x44791d(0x185)](_0x3a9d90,_0x5d8fd7,_0x47ebf0);}}}),_0x39b823[_0x59802a(0x124)]({'id':_0x4541ae['id'],'params':{'sparklineConfigMap':{[_0x1c8c81]:{'config':_0x5b7d3d[_0x59802a(0x194)][_0x59802a(0x102)](_0x8a1ed2[_0x59802a(0x12a)]),'sparklines':_0x1537f5['getMatrix']()}},'unitId':_0x2b0921,'subUnitId':_0x347642}}),_0x35b97b[_0x59802a(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'isSingle':!0x1,'groupIds':Array['from'](_0x3d9585)}}),_0x35b97b[_0x59802a(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'sparklineConfigMap':_0x252184}}),(0x0,_0x5b7d3d[_0x59802a(0x105)])(_0x39b823,_0x1a667c)[_0x59802a(0x1ba)]?(_0x4b8fa2['pushUndoRedo']({'unitID':_0x2b0921,'undoMutations':_0x35b97b,'redoMutations':_0x39b823}),!0x0):!0x1;}if(_0x1545db){var _0x2770c2;let _0x17f7f0=[],_0x52b6f7=[];_0x17f7f0[_0x59802a(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'ranges':_0x3f0e46,'isSingle':!0x0}});let _0x2e177f=(_0x2770c2=_0x181758[_0x59802a(0x130)]()[_0x59802a(0x12f)]['get'](_0x2b0921))==null?void 0x0:_0x2770c2[_0x59802a(0x1b2)](_0x347642),_0x1b5bca={},_0xe6ef2a=new Set(),_0x3d5532={};return _0x3f0e46[_0x59802a(0x14c)](_0x531424=>{const _0x35ef64=_0x59802a;let {startRow:_0x190d9b,endRow:_0x2356ac,startColumn:_0xbcdaa,endColumn:_0x41f835}=_0x531424;for(let _0x3141aa=_0x190d9b;_0x3141aa<=_0x2356ac;_0x3141aa++)for(let _0x484970=_0xbcdaa;_0x484970<=_0x41f835;_0x484970++){var _0x3b1864;let _0x462418=_0x85d6c6==null||(_0x3b1864=_0x85d6c6[_0x35ef64(0x16d)][_0x35ef64(0x17a)](_0x3141aa,_0x484970))==null?void 0x0:_0x3b1864['groupId'];if(_0x462418){var _0x586b03;let _0x58c0ce=new _0x5b7d3d[(_0x35ef64(0x182))](),_0x4bec35='g_'+(0x0,_0x5b7d3d[_0x35ef64(0x18d)])(0x6);_0xe6ef2a[_0x35ef64(0x136)](_0x462418),_0xe6ef2a[_0x35ef64(0x136)](_0x4bec35);let _0x377c1b=_0x181758[_0x35ef64(0x129)](_0x2b0921,_0x347642,_0x462418);_0x377c1b&&(_0x3d5532[_0x462418]={'config':_0x5b7d3d[_0x35ef64(0x194)]['deepClone'](_0x377c1b[_0x35ef64(0x12a)]),'sparklines':_0x5b7d3d['Tools'][_0x35ef64(0x102)](_0x377c1b[_0x35ef64(0x112)][_0x35ef64(0x101)]())});let _0x124ba0=_0x2e177f==null||(_0x586b03=_0x2e177f[_0x35ef64(0x1b2)](_0x462418))==null?void 0x0:_0x586b03[_0x35ef64(0x112)][_0x35ef64(0x17a)](_0x3141aa,_0x484970);_0x124ba0&&_0x58c0ce['setValue'](_0x3141aa,_0x484970,_0x124ba0),_0x1b5bca[_0x4bec35]={'sparklines':_0x58c0ce[_0x35ef64(0x172)](),'config':_0x5b7d3d['Tools'][_0x35ef64(0x102)](_0x8a1ed2[_0x35ef64(0x12a)])};}}}),_0x17f7f0['push']({'id':_0x4541ae['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'sparklineConfigMap':_0x1b5bca}}),_0x52b6f7[_0x59802a(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'isSingle':!0x1,'groupIds':Array[_0x59802a(0x1a7)](_0xe6ef2a)}}),_0x52b6f7[_0x59802a(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'sparklineConfigMap':_0x3d5532}}),(0x0,_0x5b7d3d[_0x59802a(0x105)])(_0x17f7f0,_0x1a667c)[_0x59802a(0x1ba)]?(_0x4b8fa2['pushUndoRedo']({'unitID':_0x2b0921,'undoMutations':_0x52b6f7,'redoMutations':_0x17f7f0}),!0x0):!0x1;}if(_0x2ecef0){let _0x540787=_0x543524[_0x59802a(0x1ce)];if(!_0x540787)return!0x1;let {groupId:_0x26a3b7,sourceRanges:_0x43ffc0,targetRanges:_0x4fdbda,resetType:_0x25f24d,primary:_0x3afcd9}=_0x540787,_0x5f1d0a=[],_0x456de4=[];_0x5f1d0a[_0x59802a(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'ranges':_0x3f0e46,'isSingle':!0x1,'groupIds':[_0x26a3b7]}}),_0x456de4['push']({'id':_0x423bd6['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'ranges':_0x3f0e46,'isSingle':!0x1,'groupIds':[_0x26a3b7]}});let _0x57f2cf;_0x25f24d===_0x59802a(0x163)?(_0x57f2cf=new _0x5b7d3d[(_0x59802a(0x182))](_0x8a1ed2['sparklines'][_0x59802a(0x101)]()),_0x57f2cf['realDeleteValue'](_0x3afcd9['actualRow'],_0x3afcd9['actualColumn']),_0x57f2cf[_0x59802a(0x185)](_0x4fdbda[0x0]['startRow'],_0x4fdbda[0x0][_0x59802a(0x160)],_0x43ffc0[0x0])):_0x57f2cf=_0x2ad168(_0x43ffc0,_0x4fdbda);let _0x3e29dc={'config':_0x5b7d3d[_0x59802a(0x194)]['deepClone'](_0x8a1ed2['config']),'sparklines':_0x57f2cf[_0x59802a(0x172)]()},_0x4d1eba={'config':_0x5b7d3d[_0x59802a(0x194)][_0x59802a(0x102)](_0x8a1ed2[_0x59802a(0x12a)]),'sparklines':_0x5b7d3d[_0x59802a(0x194)][_0x59802a(0x102)](_0x8a1ed2[_0x59802a(0x112)][_0x59802a(0x101)]())};return _0x5f1d0a[_0x59802a(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'sparklineConfigMap':{[_0x26a3b7]:_0x3e29dc}}}),_0x456de4['push']({'id':_0x4541ae['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'sparklineConfigMap':{[_0x26a3b7]:_0x4d1eba}}}),(0x0,_0x5b7d3d['sequenceExecute'])(_0x5f1d0a,_0x1a667c)[_0x59802a(0x1ba)]?(_0x4b8fa2[_0x59802a(0x1e0)]({'unitID':_0x2b0921,'undoMutations':_0x456de4,'redoMutations':_0x5f1d0a}),!0x0):!0x1;}{let _0x3f630f=[],_0x2d768d=[],_0x13bb53=new Set(),_0x3d9a9c={};return _0x3f0e46[_0x59802a(0x14c)](_0x396128=>{const _0x3ba5da=_0x59802a;let {startRow:_0x384c4b,endRow:_0x235ca0,startColumn:_0x72bc8b,endColumn:_0x1ad486}=_0x396128;for(let _0x333cda=_0x384c4b;_0x333cda<=_0x235ca0;_0x333cda++)for(let _0x4bfa3e=_0x72bc8b;_0x4bfa3e<=_0x1ad486;_0x4bfa3e++){var _0x3c41e9;let _0x18fd0e=_0x85d6c6==null||(_0x3c41e9=_0x85d6c6['matrix'][_0x3ba5da(0x17a)](_0x333cda,_0x4bfa3e))==null?void 0x0:_0x3c41e9[_0x3ba5da(0x1c4)];if(_0x18fd0e){_0x13bb53[_0x3ba5da(0x136)](_0x18fd0e);let _0x5404c4=_0x181758[_0x3ba5da(0x129)](_0x2b0921,_0x347642,_0x18fd0e);_0x5404c4&&(_0x3d9a9c[_0x18fd0e]={'config':_0x5b7d3d[_0x3ba5da(0x194)][_0x3ba5da(0x102)](_0x5404c4[_0x3ba5da(0x12a)]),'sparklines':_0x5b7d3d[_0x3ba5da(0x194)][_0x3ba5da(0x102)](_0x5404c4['sparklines'][_0x3ba5da(0x101)]())});}}}),_0x2d768d[_0x59802a(0x124)]({'id':_0x366313['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'groupIds':Array[_0x59802a(0x1a7)](_0x13bb53),'config':{'config':_0x5b7d3d[_0x59802a(0x194)][_0x59802a(0x102)](_0x8a1ed2[_0x59802a(0x12a)]),'sparklines':_0x8a1ed2[_0x59802a(0x112)][_0x59802a(0x172)]()}}}),_0x3f630f[_0x59802a(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'isSingle':!0x1,'groupIds':Array[_0x59802a(0x1a7)](_0x13bb53)}}),_0x3f630f[_0x59802a(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x2b0921,'subUnitId':_0x347642,'sparklineConfigMap':_0x3d9a9c}}),(0x0,_0x5b7d3d['sequenceExecute'])(_0x2d768d,_0x1a667c)[_0x59802a(0x1ba)]?(_0x4b8fa2['pushUndoRedo']({'unitID':_0x2b0921,'undoMutations':_0x3f630f,'redoMutations':_0x2d768d}),!0x0):!0x1;}}};var _0x5908e2='@univerjs-pro/sheets-sparkline',_0x41aa04=_0x14da71(0x119);let _0x2ea002={},_0x5d1d6a=class extends _0x5b7d3d[_0x14da71(0x138)]{constructor(_0x42bd3d,_0x5d22d8,_0x5aa1a7,_0x34305a){const _0x3513c=_0x14da71;super(),this[_0x3513c(0x15a)]=_0x42bd3d,this[_0x3513c(0xf9)]=_0x5d22d8,this[_0x3513c(0x17b)]=_0x5aa1a7,this[_0x3513c(0x1a6)]=_0x34305a,this[_0x3513c(0x16a)]();}[_0x14da71(0x16a)](){const _0x3f8bc9=_0x14da71;this[_0x3f8bc9(0x12e)](this[_0x3f8bc9(0xf9)][_0x3f8bc9(0x100)]({'getMutations':_0x45b475=>{const _0x57eeee=_0x3f8bc9;let _0x140bc9=[],_0x3d46d9=[];if(_0x45b475['id']===_0x6aed4[_0x57eeee(0x1d5)]['id']){let _0x410106=(0x0,_0x6aed4[_0x57eeee(0x189)])(this[_0x57eeee(0x17b)],_0x45b475['params']);if(!_0x410106)return{'redos':_0x140bc9,'undos':_0x3d46d9};let {unitId:_0x14ec99,subUnitId:_0x29031a}=_0x410106,_0x5e778d=this['_sheetSelectionService'][_0x57eeee(0x12d)]()[_0x57eeee(0x108)](_0x3bac5c=>_0x3bac5c['range']),_0x18394c=new Set(),_0x4aaad3={},_0x499885={};_0x5e778d[_0x57eeee(0x14c)](_0x1629b4=>{const _0x32fb1a=_0x57eeee;_0x5b7d3d[_0x32fb1a(0x109)][_0x32fb1a(0x152)](_0x1629b4,(_0xb86c8f,_0x43b349)=>{const _0x1f1cf4=_0x32fb1a;let _0x717867=this['_sparklineDataSourceModel'][_0x1f1cf4(0x1d0)](_0x14ec99,_0x29031a,_0xb86c8f,_0x43b349);if(_0x717867&&!_0x18394c[_0x1f1cf4(0xde)](_0x717867)){let _0x19022d=this[_0x1f1cf4(0x15a)][_0x1f1cf4(0x129)](_0x14ec99,_0x29031a,_0x717867);_0x19022d&&(_0x18394c[_0x1f1cf4(0x136)](_0x717867),_0x4aaad3[_0x717867]={'config':_0x5b7d3d['Tools'][_0x1f1cf4(0x102)](_0x19022d['config']),'sparklines':_0x5b7d3d[_0x1f1cf4(0x194)][_0x1f1cf4(0x102)](_0x19022d['sparklines']['clone']())},_0x499885[_0x717867]={'config':_0x5b7d3d['Tools'][_0x1f1cf4(0x102)](_0x19022d[_0x1f1cf4(0x12a)]),'sparklines':_0x5b7d3d['Tools'][_0x1f1cf4(0x102)](_0x19022d[_0x1f1cf4(0x112)][_0x1f1cf4(0x101)]())});}});}),Object[_0x57eeee(0x139)](_0x499885)[_0x57eeee(0x14c)](_0x3a9888=>{const _0x67ebbe=_0x57eeee;let _0x3339a0=_0x3a9888['sparklines'];new _0x5b7d3d[(_0x67ebbe(0x182))](_0x3339a0)[_0x67ebbe(0x1ac)]((_0x2e298a,_0x17409a,_0x4623ad)=>{const _0x504c4a=_0x67ebbe;_0x5e778d[_0x504c4a(0x1bb)](_0x21a207=>_0x5b7d3d[_0x504c4a(0x134)]['intersects'](_0x21a207,(0x0,_0x5b7d3d[_0x504c4a(0x11e)])(_0x2e298a,_0x17409a)))&&delete _0x3339a0[_0x2e298a][_0x17409a];});}),_0x18394c['size']>0x0&&(_0x140bc9['push']({'id':_0x423bd6['id'],'params':{'unitId':_0x14ec99,'subUnitId':_0x29031a,'groupIds':Array[_0x57eeee(0x1a7)](_0x18394c),'isSingle':!0x1}}),_0x3d46d9['push']({'id':_0x423bd6['id'],'params':{'unitId':_0x14ec99,'subUnitId':_0x29031a,'groupIds':Array[_0x57eeee(0x1a7)](_0x18394c),'isSingle':!0x1}})),Object[_0x57eeee(0x198)](_0x499885)[_0x57eeee(0xd5)]>0x0&&_0x140bc9[_0x57eeee(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x14ec99,'subUnitId':_0x29031a,'sparklineConfigMap':_0x499885}}),Object[_0x57eeee(0x198)](_0x4aaad3)[_0x57eeee(0xd5)]>0x0&&_0x3d46d9['push']({'id':_0x4541ae['id'],'params':{'unitId':_0x14ec99,'subUnitId':_0x29031a,'sparklineConfigMap':_0x4aaad3}});}return{'redos':_0x140bc9,'undos':_0x3d46d9};}}));}};_0x5d1d6a=_0x3cc95c([_0x585c4a(0x0,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x35bc28)),_0x585c4a(0x1,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x6aed4[_0x14da71(0x1b7)])),_0x585c4a(0x2,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x5b7d3d[_0x14da71(0x15b)])),_0x585c4a(0x3,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x6aed4['SheetsSelectionsService']))],_0x5d1d6a);let _0x5a5d68=class extends _0x5b7d3d[_0x14da71(0x138)]{constructor(_0x275880,_0x389b41,_0x265cf6){const _0x110b5d=_0x14da71;super(),this[_0x110b5d(0x16f)]=_0x275880,this['_sparklineDataSourceModel']=_0x389b41,this['_exclusiveRangeService']=_0x265cf6,this[_0x110b5d(0x151)](),this[_0x110b5d(0xf2)]();}[_0x14da71(0x151)](){const _0x4bfac0=_0x14da71;this['disposeWithMe'](this['_commandService'][_0x4bfac0(0x155)](_0x333ef2=>{const _0x924ebd=_0x4bfac0;if(_0x333ef2['id']===_0x6aed4[_0x924ebd(0x115)]['id']){let {cellValue:_0x3ccc5b,unitId:_0xe367dd,subUnitId:_0xa243ea}=_0x333ef2[_0x924ebd(0xd9)],_0x57d803=new _0x5b7d3d[(_0x924ebd(0x182))](_0x3ccc5b),_0x182b46=new Set(),_0x2e9c8c=this[_0x924ebd(0x15a)][_0x924ebd(0xfe)](_0xe367dd,_0xa243ea);if(!_0x2e9c8c)return;let _0x44ff76=Array[_0x924ebd(0x1a7)](_0x2e9c8c);_0x57d803[_0x924ebd(0x1ac)]((_0x52df0b,_0x3f32c7,_0xedb3ab)=>{const _0x499536=_0x924ebd;let _0x58eb1e=(0x0,_0x5b7d3d[_0x499536(0x11e)])(_0x52df0b,_0x3f32c7);for(let _0xea4437=0x0;_0xea4437<_0x44ff76[_0x499536(0xd5)];_0xea4437++){let [_0x228b83,_0x4c3e02]=_0x44ff76[_0xea4437],_0x47a387=_0x182b46[_0x499536(0xde)](_0x228b83);_0x47a387||_0x4c3e02[_0x499536(0x112)]['forValue']((_0xdb920e,_0x36224f,_0x3cdd13)=>{const _0x35a076=_0x499536;let _0x1ff40e=_0x3cdd13;if(_0x1ff40e&&!_0x47a387&&_0x5b7d3d[_0x35a076(0x134)][_0x35a076(0x17f)](_0x58eb1e,_0x1ff40e))return _0x182b46[_0x35a076(0x136)](_0x228b83),!0x0;});}}),_0x182b46[_0x924ebd(0x14c)](_0x1d8763=>{const _0x43afa6=_0x924ebd;this[_0x43afa6(0x15a)][_0x43afa6(0x1db)](_0xe367dd,_0xa243ea,_0x1d8763),this[_0x43afa6(0x15a)][_0x43afa6(0x1b0)](_0xe367dd,_0xa243ea,_0x1d8763);});}else{if(_0x333ef2['id']===_0x6aed4[_0x924ebd(0x12c)]['id']){let {range:_0x20c27,unitId:_0x26204c,subUnitId:_0x2b5a95}=_0x333ef2['params'],_0x497c98=new Set(),_0x563a09=this[_0x924ebd(0x15a)][_0x924ebd(0xfe)](_0x26204c,_0x2b5a95);if(!_0x563a09)return;let _0x45ba3b=Array[_0x924ebd(0x1a7)](_0x563a09);for(let _0x1998d4=0x0;_0x1998d4<_0x45ba3b[_0x924ebd(0xd5)];_0x1998d4++){let [_0x2cc518,_0x1befa5]=_0x45ba3b[_0x1998d4],_0x2413b1=_0x497c98[_0x924ebd(0xde)](_0x2cc518);_0x2413b1||_0x1befa5['sparklines'][_0x924ebd(0x1ac)]((_0x44d6a0,_0x19baf8,_0x3bfd2a)=>{const _0x3c6dfb=_0x924ebd;let _0x196c5e=_0x3bfd2a;if(_0x196c5e&&!_0x2413b1&&_0x5b7d3d[_0x3c6dfb(0x134)][_0x3c6dfb(0x17f)](_0x20c27,_0x196c5e))return _0x497c98[_0x3c6dfb(0x136)](_0x2cc518),!0x0;});}_0x497c98['forEach'](_0x4714f3=>{const _0x4e2cb8=_0x924ebd;this['_sparklineDataSourceModel'][_0x4e2cb8(0x1db)](_0x26204c,_0x2b5a95,_0x4714f3),this['_sparklineDataSourceModel'][_0x4e2cb8(0x1b0)](_0x26204c,_0x2b5a95,_0x4714f3);});}}}));}[_0x14da71(0xf2)](){const _0x45641a=_0x14da71;this[_0x45641a(0x12e)](this[_0x45641a(0x1cc)][_0x45641a(0x197)][_0x45641a(0x117)](_0x48f60b=>{const _0x28cbd4=_0x45641a;let {unitId:_0x5ddad9,subUnitId:_0x25e11c,ranges:_0x213bea}=_0x48f60b,_0x3b97f5=this[_0x28cbd4(0x15a)][_0x28cbd4(0xfe)](_0x5ddad9,_0x25e11c);if(!_0x3b97f5)return;let _0x4236e5=Array[_0x28cbd4(0x1a7)](_0x3b97f5),_0x2aea27=new Set();for(let _0x7b7275=0x0;_0x7b7275<_0x4236e5[_0x28cbd4(0xd5)];_0x7b7275++){let [_0xc52d96,_0x4a5632]=_0x4236e5[_0x7b7275],_0xc80a45=_0x2aea27[_0x28cbd4(0xde)](_0xc52d96);_0xc80a45||_0x4a5632[_0x28cbd4(0x112)][_0x28cbd4(0x1ac)]((_0x46687a,_0x273923,_0x3bb65f)=>{const _0x4fc505=_0x28cbd4;let _0x403eaf=_0x3bb65f;if(_0x403eaf&&!_0xc80a45){for(let _0x177d20 of _0x213bea)if(_0x5b7d3d[_0x4fc505(0x134)][_0x4fc505(0x17f)](_0x177d20,_0x403eaf)){_0x2aea27[_0x4fc505(0x136)](_0xc52d96);break;}}});}_0x2aea27[_0x28cbd4(0x14c)](_0x318c41=>{const _0x247eae=_0x28cbd4;this['_sparklineDataSourceModel'][_0x247eae(0x1db)](_0x5ddad9,_0x25e11c,_0x318c41),this['_sparklineDataSourceModel'][_0x247eae(0x1b0)](_0x5ddad9,_0x25e11c,_0x318c41);});}));}};_0x5a5d68=_0x3cc95c([_0x585c4a(0x0,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x5b7d3d['ICommandService'])),_0x585c4a(0x1,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x35bc28)),_0x585c4a(0x2,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x6aed4[_0x14da71(0xd1)]))],_0x5a5d68);let _0x407013=class extends _0x5b7d3d[_0x14da71(0x138)]{constructor(_0x9b4517,_0xf3b6da){const _0x1c15d5=_0x14da71;super(),this[_0x1c15d5(0x16f)]=_0x9b4517,this[_0x1c15d5(0x15a)]=_0xf3b6da,this[_0x1c15d5(0x16b)]();}[_0x14da71(0x16b)](){const _0x574137=_0x14da71;this['_commandService'][_0x574137(0x155)](_0x2f61a4=>{const _0x4e74ba=_0x574137;if(_0x2f61a4['id']===_0x6aed4['SetRowHiddenMutation']['id']||_0x2f61a4['id']===_0x6aed4[_0x4e74ba(0x1c9)]['id']||_0x2f61a4['id']===_0x6aed4[_0x4e74ba(0x13b)]['id']||_0x2f61a4['id']===_0x6aed4['SetColVisibleMutation']['id']){let {ranges:_0x2788c5,unitId:_0x5a8a1e,subUnitId:_0x5ba099}=_0x2f61a4[_0x4e74ba(0xd9)],_0x1747fb=new Set(),_0x28996f=this[_0x4e74ba(0x15a)][_0x4e74ba(0xfe)](_0x5a8a1e,_0x5ba099);if(!_0x28996f)return;let _0x350253=Array[_0x4e74ba(0x1a7)](_0x28996f);_0x2788c5[_0x4e74ba(0x14c)](_0x1ef9c9=>{const _0x1b2dba=_0x4e74ba;_0x5b7d3d[_0x1b2dba(0x109)][_0x1b2dba(0x152)](_0x1ef9c9,(_0x3a1f14,_0x5909d2)=>{const _0x2b147a=_0x1b2dba;let _0x260cd0=(0x0,_0x5b7d3d['cellToRange'])(_0x3a1f14,_0x5909d2);for(let _0x2b5d3b=0x0;_0x2b5d3b<_0x350253[_0x2b147a(0xd5)];_0x2b5d3b++){let [_0x10b668,_0x4ee7a5]=_0x350253[_0x2b5d3b],_0x4f7f70=_0x1747fb[_0x2b147a(0xde)](_0x10b668);_0x4f7f70||_0x4ee7a5[_0x2b147a(0x112)][_0x2b147a(0x1ac)]((_0x51a948,_0x57ff20,_0x494ce7)=>{const _0x182dcb=_0x2b147a;let _0x4b2f5b=_0x494ce7;if(_0x4b2f5b&&!_0x4f7f70&&_0x5b7d3d[_0x182dcb(0x134)][_0x182dcb(0x17f)](_0x260cd0,_0x4b2f5b))return _0x1747fb[_0x182dcb(0x136)](_0x10b668),!0x0;});}});}),_0x1747fb[_0x4e74ba(0x14c)](_0x5198ce=>{const _0x25c28e=_0x4e74ba;this[_0x25c28e(0x15a)]['clearSparklineCache'](_0x5a8a1e,_0x5ba099,_0x5198ce),this[_0x25c28e(0x15a)][_0x25c28e(0x1b0)](_0x5a8a1e,_0x5ba099,_0x5198ce);});}});}};_0x407013=_0x3cc95c([_0x585c4a(0x0,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x5b7d3d[_0x14da71(0xe8)])),_0x585c4a(0x1,(0x0,_0x5b7d3d['Inject'])(_0x35bc28))],_0x407013);let _0x109006=class extends _0x5b7d3d[_0x14da71(0x138)]{constructor(_0xd3656f,_0x40a75f,_0x56be94){const _0x5cb015=_0x14da71;super(),this[_0x5cb015(0x16f)]=_0xd3656f,this[_0x5cb015(0xf9)]=_0x40a75f,this[_0x5cb015(0x15a)]=_0x56be94,this[_0x5cb015(0x1e2)]();}[_0x14da71(0x1e2)](){const _0x41753e=_0x14da71;this['disposeWithMe'](this[_0x41753e(0xf9)]['interceptCommand']({'getMutations':_0x13fa8a=>{const _0x33eaab=_0x41753e;let _0x4d5c06=[],_0x1cd839=[];if(_0x13fa8a['id']===_0x6aed4[_0x33eaab(0xed)]['id']){let _0x4aa11b=_0x13fa8a[_0x33eaab(0xd9)];if(!_0x4aa11b)return{'redos':_0x4d5c06,'undos':_0x1cd839};let {unitId:_0x3b5b3b,subUnitId:_0x1d673d,ranges:_0x59fdcc}=_0x4aa11b,_0x5a0ae0=this['_sparklineDataSourceModel'][_0x33eaab(0xfe)](_0x3b5b3b,_0x1d673d);if(!_0x5a0ae0)return{'redos':_0x4d5c06,'undos':_0x1cd839};let _0xd35fc2={},_0x1d0079={},_0x3bcf2f=new Set();_0x59fdcc[_0x33eaab(0x14c)](_0x420230=>{const _0xc9cf8e=_0x33eaab;let _0x2b3dd2=_0x420230[_0xc9cf8e(0x1bc)],_0x53e62b=_0x420230['startColumn'];_0x5b7d3d['Range'][_0xc9cf8e(0x152)](_0x420230,(_0x52ebb1,_0x5d8c65)=>{const _0xceb49e=_0xc9cf8e;let _0x5998c8=this['_sparklineDataSourceModel']['getSparkline'](_0x3b5b3b,_0x1d673d,_0x52ebb1,_0x5d8c65);if(_0x5998c8&&(_0x52ebb1!==_0x2b3dd2||_0x5d8c65!==_0x53e62b)){let _0x5accff=this['_sparklineDataSourceModel'][_0xceb49e(0x129)](_0x3b5b3b,_0x1d673d,_0x5998c8);if(_0x5accff){_0x3bcf2f['add'](_0x5998c8);let _0x559a44=_0xd35fc2[_0x5998c8];_0x559a44||(_0x559a44={'config':_0x5b7d3d[_0xceb49e(0x194)][_0xceb49e(0x102)](_0x5accff[_0xceb49e(0x12a)]),'sparklines':new _0x5b7d3d[(_0xceb49e(0x182))](_0x5accff[_0xceb49e(0x112)][_0xceb49e(0x101)]())},_0xd35fc2[_0x5998c8]=_0x559a44),_0x559a44[_0xceb49e(0x112)][_0xceb49e(0x157)](_0x52ebb1,_0x5d8c65),_0x1d0079[_0x5998c8]={'config':_0x5b7d3d[_0xceb49e(0x194)][_0xceb49e(0x102)](_0x5accff[_0xceb49e(0x12a)]),'sparklines':_0x5b7d3d[_0xceb49e(0x194)][_0xceb49e(0x102)](_0x5accff[_0xceb49e(0x112)]['clone']())};}}});});for(let [_0x9546,_0x2657fd]of _0x5a0ae0){let _0x118c94=_0x2657fd[_0x33eaab(0x112)];_0x118c94[_0x33eaab(0x1ac)]((_0x2b2431,_0x59ae88,_0xfa1286)=>{const _0x5b36f5=_0x33eaab;for(let _0x37ecf0=0x0;_0x37ecf0<_0x59fdcc[_0x5b36f5(0xd5)];_0x37ecf0++){let _0x2da5cf=_0x59fdcc[_0x37ecf0];if(_0x5b7d3d['Rectangle'][_0x5b36f5(0x13d)](_0x2da5cf,_0xfa1286)){_0x3bcf2f[_0x5b36f5(0x136)](_0x9546);let _0x3a533b=_0xd35fc2[_0x9546];_0x3a533b||(_0x3a533b={'config':_0x5b7d3d[_0x5b36f5(0x194)][_0x5b36f5(0x102)](_0x2657fd['config']),'sparklines':new _0x5b7d3d[(_0x5b36f5(0x182))](_0x118c94['clone']())},_0xd35fc2[_0x9546]=_0x3a533b),_0x3a533b[_0x5b36f5(0x112)]['realDeleteValue'](_0x2b2431,_0x59ae88),_0x1d0079[_0x9546]||(_0x1d0079[_0x9546]={'config':_0x5b7d3d[_0x5b36f5(0x194)][_0x5b36f5(0x102)](_0x2657fd[_0x5b36f5(0x12a)]),'sparklines':_0x5b7d3d[_0x5b36f5(0x194)]['deepClone'](_0x118c94['clone']())});}}});}let _0x35c989={};Object['entries'](_0xd35fc2)[_0x33eaab(0x14c)](([_0x1305c5,_0x2d2f08])=>{const _0x47e07f=_0x33eaab;_0x2d2f08['sparklines'][_0x47e07f(0x154)]()&&(_0x35c989[_0x1305c5]={'config':_0x2d2f08['config'],'sparklines':_0x2d2f08[_0x47e07f(0x112)][_0x47e07f(0x101)]()});}),_0x3bcf2f[_0x33eaab(0x1da)]&&(_0x4d5c06[_0x33eaab(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x3b5b3b,'subUnitId':_0x1d673d,'groupIds':Array[_0x33eaab(0x1a7)](_0x3bcf2f),'isSingle':!0x1}}),_0x1cd839['push']({'id':_0x423bd6['id'],'params':{'unitId':_0x3b5b3b,'subUnitId':_0x1d673d,'groupIds':Array[_0x33eaab(0x1a7)](_0x3bcf2f),'isSingle':!0x1}}),_0x4d5c06[_0x33eaab(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x3b5b3b,'subUnitId':_0x1d673d,'sparklineConfigMap':_0x35c989}}),_0x1cd839['push']({'id':_0x4541ae['id'],'params':{'unitId':_0x3b5b3b,'subUnitId':_0x1d673d,'sparklineConfigMap':_0x1d0079}}));}return{'redos':_0x4d5c06,'undos':_0x1cd839};}}));}};_0x109006=_0x3cc95c([_0x585c4a(0x0,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x5b7d3d[_0x14da71(0xe8)])),_0x585c4a(0x1,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x6aed4[_0x14da71(0x1b7)])),_0x585c4a(0x2,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x35bc28))],_0x109006);let _0x401fe3=class extends _0x5b7d3d[_0x14da71(0x138)]{constructor(_0x4dd88a,_0x3b51de,_0x2adc82,_0x538fee){const _0x2ef2d8=_0x14da71;super(),this[_0x2ef2d8(0x16f)]=_0x4dd88a,this[_0x2ef2d8(0x1a0)]=_0x3b51de,this[_0x2ef2d8(0x17b)]=_0x2adc82,this[_0x2ef2d8(0x15a)]=_0x538fee,_0x1fa54c(this,_0x2ef2d8(0x132),new _0x5b7d3d[(_0x2ef2d8(0x1a4))]()),this[_0x2ef2d8(0x193)](),this[_0x2ef2d8(0x1cf)]();}[_0x14da71(0x193)](){const _0x33228a=_0x14da71;let _0x5e8b95=(_0x5c96f9,_0x956efb)=>{const _0x25967a=_0x2f8a;let _0x2fe4cb=this['_univerInstanceService'][_0x25967a(0xdc)](_0x5b7d3d[_0x25967a(0x1c6)]['UNIVER_SHEET']);if(!_0x2fe4cb||!(_0x2fe4cb!=null&&_0x2fe4cb['getSheetBySheetId'](_0x956efb)))return;this['disposableCollection'][_0x25967a(0x165)]();let _0x3211d4=_0x2cd0c9=>this['refRangeHandle'](_0x2cd0c9,_0x5c96f9,_0x956efb),_0x5a56da=[],_0x2a6eb1=this[_0x25967a(0x15a)][_0x25967a(0xfe)](_0x5c96f9,_0x956efb);if(_0x2a6eb1){for(let [_0x3ccbd8,_0x28386e]of _0x2a6eb1)_0x28386e[_0x25967a(0x112)][_0x25967a(0x1ac)]((_0x99c293,_0x5255c6,_0x14e211)=>{const _0x3da704=_0x25967a;let _0x4d7dbc=(0x0,_0x5b7d3d[_0x3da704(0x11e)])(_0x99c293,_0x5255c6);_0x5a56da[_0x3da704(0x124)](_0x4d7dbc);});_0x5a56da[_0x25967a(0x14c)](_0x4051fa=>{const _0x2ba8aa=_0x25967a;this[_0x2ba8aa(0x132)][_0x2ba8aa(0x136)](this[_0x2ba8aa(0x1a0)][_0x2ba8aa(0x156)](_0x4051fa,_0x3211d4,_0x5c96f9,_0x956efb));});}};this['disposeWithMe'](this[_0x33228a(0x16f)][_0x33228a(0x155)](_0x17c411=>{const _0x7a59ec=_0x33228a;if(_0x17c411['id']===_0x6aed4['SetWorksheetActivateCommand']['id']){let _0xbdc9b9=_0x17c411[_0x7a59ec(0xd9)],_0x4d7147=_0xbdc9b9[_0x7a59ec(0xdf)],_0x22764a=_0xbdc9b9[_0x7a59ec(0xe0)];if(!_0x4d7147||!_0x22764a)return;_0x5e8b95(_0x22764a,_0x4d7147);}if(_0x17c411['id']===_0x366313['id']||_0x17c411['id']===_0x4541ae['id']){let _0x123b82=_0x17c411['params'],_0x39825a=_0x123b82[_0x7a59ec(0xdf)],_0xb45e30=_0x123b82[_0x7a59ec(0xe0)];if(!_0x39825a||!_0xb45e30)return;_0x5e8b95(_0xb45e30,_0x39825a);}}));}[_0x14da71(0x19b)](_0x435c45,_0x809ed4,_0x1e3db9){const _0x2a8c22=_0x14da71;switch(_0x435c45['id']){case _0x6aed4[_0x2a8c22(0x16c)]['id']:return this[_0x2a8c22(0x120)](_0x435c45[_0x2a8c22(0xd9)],_0x809ed4,_0x1e3db9);case _0x6aed4['RemoveRowCommand']['id']:return this[_0x2a8c22(0x174)](_0x435c45[_0x2a8c22(0xd9)],_0x809ed4,_0x1e3db9);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x1f9961,_0x3d6df9,_0x530931){const _0x28498=_0x14da71;var _0x5a2d02;let {range:_0x11649f}=_0x1f9961,_0x46eb0e=new Set(),_0x4de82f={},_0x18a476={},_0x256726=[],_0x13a3fc=[],_0x404e2d=[],_0x14871a=[];if(!(0x0,_0x6aed4[_0x28498(0x189)])(this['_univerInstanceService'],{'unitId':_0x3d6df9,'subUnitId':_0x530931}))return{'redos':_0x13a3fc,'undos':_0x256726};let _0x173c78=this[_0x28498(0x15a)]['getSubUnitSparkline'](_0x3d6df9,_0x530931);if(!_0x173c78||!((_0x5a2d02=this[_0x28498(0x15a)][_0x28498(0x130)]()['sparklineAnchorMap'][_0x28498(0x1b2)](_0x3d6df9))!=null&&(_0x5a2d02=_0x5a2d02[_0x28498(0x1b2)](_0x530931))!=null&&_0x5a2d02['matrix']))return{'redos':_0x13a3fc,'undos':_0x256726};for(let [_0x362e6a,_0x1bfff4]of _0x173c78){let _0x306468=_0x1bfff4[_0x28498(0x112)];_0x306468[_0x28498(0x1ac)]((_0x5ec983,_0x321e48,_0x3351d3)=>{const _0x258326=_0x28498;if(_0x5b7d3d[_0x258326(0x134)][_0x258326(0x17f)](_0x11649f,_0x3351d3)){_0x46eb0e[_0x258326(0x136)](_0x362e6a);let _0xaa65d1=_0x18a476[_0x362e6a];_0xaa65d1||(_0xaa65d1={'config':_0x1bfff4[_0x258326(0x12a)],'sparklines':_0x1bfff4[_0x258326(0x112)][_0x258326(0x101)]()},_0x18a476[_0x362e6a]=_0xaa65d1);let _0x17cdcb=_0x4de82f[_0x362e6a];_0x17cdcb||(_0x17cdcb={'config':_0x1bfff4[_0x258326(0x12a)],'sparklines':new _0x5b7d3d[(_0x258326(0x182))](_0x1bfff4['sparklines'][_0x258326(0x101)]())},_0x4de82f[_0x362e6a]=_0x17cdcb);let _0x17745b=(0x0,_0x6aed4['adjustRangeOnMutation'])(_0x3351d3,{'id':_0x6aed4[_0x258326(0x113)]['id'],'params':_0x1f9961});_0x17745b?_0x17cdcb[_0x258326(0x112)][_0x258326(0x185)](_0x5ec983,_0x321e48,_0x17745b):_0x17cdcb[_0x258326(0x112)][_0x258326(0x185)](_0x5ec983,_0x321e48,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5b7d3d[_0x258326(0x1cd)][_0x258326(0x111)]});}}),_0x306468[_0x28498(0x1ac)](_0x7b9ba5=>{const _0x183c3b=_0x28498;if(_0x7b9ba5<=_0x11649f[_0x183c3b(0xf4)]&&_0x7b9ba5>=_0x11649f[_0x183c3b(0x1bc)]){_0x46eb0e['add'](_0x362e6a);let _0x182f71=_0x18a476[_0x362e6a];_0x182f71||(_0x182f71={'config':_0x1bfff4[_0x183c3b(0x12a)],'sparklines':_0x1bfff4[_0x183c3b(0x112)]['clone']()},_0x18a476[_0x362e6a]=_0x182f71);let _0x8a87bd=_0x4de82f[_0x362e6a];_0x8a87bd||(_0x8a87bd={'config':_0x1bfff4['config'],'sparklines':new _0x5b7d3d[(_0x183c3b(0x182))](_0x1bfff4[_0x183c3b(0x112)][_0x183c3b(0x101)]())},_0x4de82f[_0x362e6a]=_0x8a87bd);}});}_0x46eb0e[_0x28498(0x1da)]>0x0&&(_0x14871a['push']({'id':_0x423bd6['id'],'params':{'unitId':_0x3d6df9,'subUnitId':_0x530931,'groupIds':Array[_0x28498(0x1a7)](_0x46eb0e),'isSingle':!0x1}}),_0x404e2d[_0x28498(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x3d6df9,'subUnitId':_0x530931,'groupIds':Array[_0x28498(0x1a7)](_0x46eb0e),'isSingle':!0x1}}));let _0x1c2ad1={},_0x520b12=!0x1;return Object[_0x28498(0xdb)](_0x4de82f)['forEach'](([_0x2dc837,_0x5d02f4])=>{const _0x35ba43=_0x28498;_0x5d02f4['sparklines'][_0x35ba43(0x154)]()&&(_0x520b12=!0x0,_0x5d02f4[_0x35ba43(0x112)][_0x35ba43(0x1c2)](_0x11649f[_0x35ba43(0x1bc)],_0x11649f['endRow']-_0x11649f[_0x35ba43(0x1bc)]+0x1),_0x1c2ad1[_0x2dc837]={'config':_0x5d02f4[_0x35ba43(0x12a)],'sparklines':_0x5d02f4[_0x35ba43(0x112)][_0x35ba43(0x101)]()});}),_0x520b12&&_0x13a3fc[_0x28498(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x3d6df9,'subUnitId':_0x530931,'sparklineConfigMap':_0x1c2ad1}}),Object[_0x28498(0x198)](_0x18a476)[_0x28498(0xd5)]>0x0&&_0x256726[_0x28498(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x3d6df9,'subUnitId':_0x530931,'sparklineConfigMap':_0x18a476}}),{'redos':_0x13a3fc,'undos':_0x256726,'preRedos':_0x404e2d,'preUndos':_0x14871a};}[_0x14da71(0x120)](_0x47c46c,_0x5cccde,_0x4253ba){const _0x17f951=_0x14da71;var _0x3cdb05;let {range:_0x4e89b3}=_0x47c46c,_0x24e2d3=new Set(),_0x18d63d={},_0x4173e7={},_0x1860fa=[],_0x3954e6=[],_0x594ac3=[],_0x4e0ea8=[];if(!(0x0,_0x6aed4[_0x17f951(0x189)])(this[_0x17f951(0x17b)],{'unitId':_0x5cccde,'subUnitId':_0x4253ba}))return{'redos':_0x3954e6,'undos':_0x1860fa};let _0x197817=this[_0x17f951(0x15a)][_0x17f951(0xfe)](_0x5cccde,_0x4253ba);if(!_0x197817||!((_0x3cdb05=this[_0x17f951(0x15a)][_0x17f951(0x130)]()[_0x17f951(0x162)]['get'](_0x5cccde))!=null&&(_0x3cdb05=_0x3cdb05[_0x17f951(0x1b2)](_0x4253ba))!=null&&_0x3cdb05[_0x17f951(0x16d)]))return{'redos':_0x3954e6,'undos':_0x1860fa};for(let [_0xfa07e8,_0x252ea9]of _0x197817){let _0x5e6a6c=_0x252ea9['sparklines'];_0x5e6a6c[_0x17f951(0x1ac)]((_0x56fad9,_0x22ed1e,_0x35627e)=>{const _0x4663ab=_0x17f951;if(_0x5b7d3d['Rectangle']['intersects'](_0x4e89b3,_0x35627e)){_0x24e2d3[_0x4663ab(0x136)](_0xfa07e8);let _0x2287d5=_0x4173e7[_0xfa07e8];_0x2287d5||(_0x2287d5={'config':_0x252ea9['config'],'sparklines':_0x252ea9[_0x4663ab(0x112)][_0x4663ab(0x101)]()},_0x4173e7[_0xfa07e8]=_0x2287d5);let _0x1e524d=_0x18d63d[_0xfa07e8];_0x1e524d||(_0x1e524d={'config':_0x252ea9[_0x4663ab(0x12a)],'sparklines':new _0x5b7d3d[(_0x4663ab(0x182))](_0x252ea9[_0x4663ab(0x112)][_0x4663ab(0x101)]())},_0x18d63d[_0xfa07e8]=_0x1e524d);let _0x344053=(0x0,_0x6aed4[_0x4663ab(0xd7)])(_0x35627e,{'id':_0x6aed4[_0x4663ab(0x123)]['id'],'params':_0x47c46c});_0x344053?_0x1e524d['sparklines'][_0x4663ab(0x185)](_0x56fad9,_0x22ed1e,_0x344053):_0x1e524d['sparklines'][_0x4663ab(0x185)](_0x56fad9,_0x22ed1e,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5b7d3d[_0x4663ab(0x1cd)][_0x4663ab(0x111)]});}}),_0x5e6a6c[_0x17f951(0x1ac)]((_0x5259b8,_0x580094,_0x7ab696)=>{const _0x31556a=_0x17f951;if(_0x580094<=_0x4e89b3[_0x31556a(0x10f)]&&_0x580094>=_0x4e89b3[_0x31556a(0x160)]){_0x24e2d3[_0x31556a(0x136)](_0xfa07e8);let _0xd9acc0=_0x4173e7[_0xfa07e8];_0xd9acc0||(_0xd9acc0={'config':_0x252ea9[_0x31556a(0x12a)],'sparklines':_0x252ea9[_0x31556a(0x112)][_0x31556a(0x101)]()},_0x4173e7[_0xfa07e8]=_0xd9acc0);let _0x2eb4ab=_0x18d63d[_0xfa07e8];_0x2eb4ab||(_0x2eb4ab={'config':_0x252ea9[_0x31556a(0x12a)],'sparklines':new _0x5b7d3d['ObjectMatrix'](_0x252ea9[_0x31556a(0x112)][_0x31556a(0x101)]())},_0x18d63d[_0xfa07e8]=_0x2eb4ab);}});}_0x24e2d3[_0x17f951(0x1da)]>0x0&&(_0x4e0ea8[_0x17f951(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x5cccde,'subUnitId':_0x4253ba,'groupIds':Array['from'](_0x24e2d3),'isSingle':!0x1}}),_0x594ac3[_0x17f951(0x124)]({'id':_0x423bd6['id'],'params':{'unitId':_0x5cccde,'subUnitId':_0x4253ba,'groupIds':Array[_0x17f951(0x1a7)](_0x24e2d3),'isSingle':!0x1}}));let _0x444116={},_0x345ed3=!0x1;return Object[_0x17f951(0xdb)](_0x18d63d)['forEach'](([_0x5f13f9,_0x456857])=>{const _0x437d3f=_0x17f951;_0x456857[_0x437d3f(0x112)][_0x437d3f(0x154)]()&&(_0x345ed3=!0x0,_0x456857[_0x437d3f(0x112)][_0x437d3f(0x10c)](_0x4e89b3[_0x437d3f(0x160)],_0x4e89b3[_0x437d3f(0x10f)]-_0x4e89b3[_0x437d3f(0x160)]+0x1),_0x444116[_0x5f13f9]={'config':_0x456857[_0x437d3f(0x12a)],'sparklines':_0x456857[_0x437d3f(0x112)]['clone']()});}),_0x345ed3&&_0x3954e6[_0x17f951(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x5cccde,'subUnitId':_0x4253ba,'sparklineConfigMap':_0x444116}}),Object[_0x17f951(0x198)](_0x4173e7)['length']>0x0&&_0x1860fa[_0x17f951(0x124)]({'id':_0x4541ae['id'],'params':{'unitId':_0x5cccde,'subUnitId':_0x4253ba,'sparklineConfigMap':_0x4173e7}}),{'redos':_0x3954e6,'undos':_0x1860fa,'preRedos':_0x594ac3,'preUndos':_0x4e0ea8};}['_initCorrectRangeWithSparkline'](){const _0xb9ef7a=_0x14da71;this[_0xb9ef7a(0x12e)](this[_0xb9ef7a(0x16f)]['onCommandExecuted'](_0x42d94b=>{const _0x2ef835=_0xb9ef7a;if(_0x42d94b['id']===_0x6aed4[_0x2ef835(0x169)]['id']){let {unitId:_0x1a9061,subUnitId:_0x1f1b5e,range:_0x5dc328}=_0x42d94b[_0x2ef835(0xd9)],_0x570887=_0x5dc328[_0x2ef835(0x160)],_0x166f7b=_0x5dc328['endColumn']-_0x5dc328['startColumn']+0x1,_0x249d6d=this[_0x2ef835(0x15a)][_0x2ef835(0xfe)](_0x1a9061,_0x1f1b5e);if(!_0x249d6d)return;for(let [_0x2fa521,_0x4f5598]of _0x249d6d){this[_0x2ef835(0x15a)]['clearSparklineCache'](_0x1a9061,_0x1f1b5e,_0x2fa521);let _0x456603=_0x4f5598['sparklines'];_0x456603[_0x2ef835(0x1ac)]((_0x49f889,_0x217231,_0x1d9894)=>{const _0x3de240=_0x2ef835;let _0x1166f8={..._0x1d9894};_0x570887<=_0x1166f8[_0x3de240(0x160)]?(_0x1166f8[_0x3de240(0x160)]+=_0x166f7b,_0x1166f8['endColumn']+=_0x166f7b):_0x570887>_0x1166f8[_0x3de240(0x10f)]||(_0x1166f8[_0x3de240(0x10f)]+=_0x166f7b),_0x456603[_0x3de240(0x185)](_0x49f889,_0x217231,_0x1166f8);});let _0x4d287b=_0x456603[_0x2ef835(0x172)]();for(let _0x356689 in _0x4d287b){let _0x144cf8=_0x4d287b[Number(_0x356689)];if(!_0x144cf8)continue;let _0x5d5087=Object['keys'](_0x144cf8)[_0x2ef835(0x108)](Number),_0x214796=Math['max'](..._0x5d5087);for(let _0x5161a8=_0x214796;_0x5161a8>=_0x570887;_0x5161a8--)_0x5161a8>=_0x570887&&_0x144cf8[_0x5161a8]&&(_0x144cf8[_0x5161a8+_0x166f7b]=_0x144cf8[_0x5161a8],delete _0x144cf8[_0x5161a8]);}this['_sparklineDataSourceModel'][_0x2ef835(0x1b0)](_0x1a9061,_0x1f1b5e,_0x2fa521);}}else{if(_0x42d94b['id']===_0x6aed4[_0x2ef835(0xf1)]['id']){let {unitId:_0x5c483a,subUnitId:_0x5b5a6,range:_0x536dac}=_0x42d94b[_0x2ef835(0xd9)],_0x1a0678=_0x536dac[_0x2ef835(0x1bc)],_0x5e8928=_0x536dac[_0x2ef835(0xf4)]-_0x536dac[_0x2ef835(0x1bc)]+0x1,_0x40b9ad=this['_sparklineDataSourceModel'][_0x2ef835(0xfe)](_0x5c483a,_0x5b5a6);if(!_0x40b9ad)return;for(let [_0x49007f,_0x508d4e]of _0x40b9ad){this['_sparklineDataSourceModel'][_0x2ef835(0x1db)](_0x5c483a,_0x5b5a6,_0x49007f);let _0x68a3d2=_0x508d4e[_0x2ef835(0x112)];_0x68a3d2[_0x2ef835(0x1ac)]((_0x1f7ecf,_0x2a11d6,_0x2c47ea)=>{const _0x38adfd=_0x2ef835;let _0x23d925={..._0x2c47ea};_0x1a0678<=_0x23d925[_0x38adfd(0x1bc)]?(_0x23d925[_0x38adfd(0x1bc)]+=_0x5e8928,_0x23d925['endRow']+=_0x5e8928):_0x1a0678>_0x23d925[_0x38adfd(0xf4)]||(_0x23d925['endRow']+=_0x5e8928),_0x68a3d2[_0x38adfd(0x185)](_0x1f7ecf,_0x2a11d6,_0x23d925);});let _0x4f9cb7=_0x68a3d2[_0x2ef835(0x172)](),_0x5a745a=Object[_0x2ef835(0x198)](_0x4f9cb7)[_0x2ef835(0x108)](Number),_0x9bcd53=Math[_0x2ef835(0x164)](..._0x5a745a);for(let _0x34d2d0=_0x9bcd53;_0x34d2d0>=_0x1a0678;_0x34d2d0--)_0x34d2d0>=_0x1a0678&&_0x4f9cb7[_0x34d2d0]&&(_0x4f9cb7[_0x34d2d0+_0x5e8928]=_0x4f9cb7[_0x34d2d0],delete _0x4f9cb7[_0x34d2d0]);this[_0x2ef835(0x15a)]['updateSparklineExtraNum'](_0x5c483a,_0x5b5a6,_0x49007f);}}else{if(_0x42d94b['id']===_0x6aed4[_0x2ef835(0x123)]['id']){let {range:_0x232737,unitId:_0x5295b6,subUnitId:_0x1df39e}=_0x42d94b['params'],_0x7729b2=this['_sparklineDataSourceModel'][_0x2ef835(0xfe)](_0x5295b6,_0x1df39e);if(!_0x7729b2)return;for(let [_0x489441,_0xffc77e]of _0x7729b2){let _0x3fd353=_0xffc77e[_0x2ef835(0x112)];_0x3fd353[_0x2ef835(0x1ac)]((_0x461ca8,_0x3dafe9,_0x3dc266)=>{const _0x1edbfd=_0x2ef835;let _0x44669d=(0x0,_0x6aed4[_0x1edbfd(0xd7)])(_0x3dc266,_0x42d94b);_0x44669d?_0x3fd353[_0x1edbfd(0x185)](_0x461ca8,_0x3dafe9,_0x44669d):_0x3fd353[_0x1edbfd(0x185)](_0x461ca8,_0x3dafe9,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5b7d3d[_0x1edbfd(0x1cd)][_0x1edbfd(0x111)]});}),_0x3fd353[_0x2ef835(0x10c)](_0x232737[_0x2ef835(0x160)],_0x232737['endColumn']-_0x232737['startColumn']+0x1);}this[_0x2ef835(0x15a)][_0x2ef835(0x1b4)](_0x5295b6,_0x1df39e);}else{if(_0x42d94b['id']===_0x6aed4[_0x2ef835(0x113)]['id']){let {range:_0xacf6dc,unitId:_0x4223ac,subUnitId:_0x1d18c8}=_0x42d94b['params'],_0x4aadb8=this[_0x2ef835(0x15a)][_0x2ef835(0xfe)](_0x4223ac,_0x1d18c8);if(!_0x4aadb8)return;for(let [_0x5890a1,_0x2cce44]of _0x4aadb8){let _0x58e7fb=_0x2cce44[_0x2ef835(0x112)];_0x58e7fb[_0x2ef835(0x1ac)]((_0x112d28,_0x223cb8,_0x50e5a3)=>{const _0x37e9b6=_0x2ef835;let _0x33ee66=(0x0,_0x6aed4[_0x37e9b6(0xd7)])(_0x50e5a3,_0x42d94b);_0x33ee66?_0x58e7fb[_0x37e9b6(0x185)](_0x112d28,_0x223cb8,_0x33ee66):_0x58e7fb[_0x37e9b6(0x185)](_0x112d28,_0x223cb8,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5b7d3d[_0x37e9b6(0x1cd)]['NORMAL']});}),_0x58e7fb['removeRows'](_0xacf6dc['startRow'],_0xacf6dc[_0x2ef835(0xf4)]-_0xacf6dc[_0x2ef835(0x1bc)]+0x1);}this[_0x2ef835(0x15a)]['reBuildAnchorCache'](_0x4223ac,_0x1d18c8);}else{if(_0x42d94b['id']===_0x6aed4[_0x2ef835(0x13f)]['id']){let {unitId:_0x52c0fc,subUnitId:_0x552700,sourceRange:_0x4a7658,targetRange:_0x32c304}=_0x42d94b['params'],_0x5c651f=this[_0x2ef835(0x15a)][_0x2ef835(0xfe)](_0x52c0fc,_0x552700);if(!_0x5c651f)return;for(let [_0x336a2a,_0x1afb14]of _0x5c651f){let _0x243da8=_0x1afb14[_0x2ef835(0x112)];_0x243da8[_0x2ef835(0x1ac)]((_0x235f02,_0x10f5b7,_0x5bf0a1)=>{const _0x1ea648=_0x2ef835;let _0x1d2475=(0x0,_0x6aed4[_0x1ea648(0xd7)])(_0x5bf0a1,_0x42d94b);_0x1d2475?_0x243da8['setValue'](_0x235f02,_0x10f5b7,_0x1d2475):_0x243da8[_0x1ea648(0x185)](_0x235f02,_0x10f5b7,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5b7d3d[_0x1ea648(0x1cd)]['NORMAL']});}),_0x243da8[_0x2ef835(0x1a2)](_0x4a7658['startColumn'],_0x4a7658[_0x2ef835(0x10f)]-_0x4a7658[_0x2ef835(0x160)]+0x1,_0x32c304[_0x2ef835(0x160)]);}this['_sparklineDataSourceModel'][_0x2ef835(0x1b4)](_0x52c0fc,_0x552700);}else{if(_0x42d94b['id']===_0x6aed4[_0x2ef835(0x179)]['id']){let {unitId:_0x4f6430,subUnitId:_0x455a91,sourceRange:_0x5e49af,targetRange:_0x4a1c8e}=_0x42d94b[_0x2ef835(0xd9)],_0x1727cb=this[_0x2ef835(0x15a)][_0x2ef835(0xfe)](_0x4f6430,_0x455a91);if(!_0x1727cb)return;for(let [_0x5178af,_0x52d9f9]of _0x1727cb){let _0x56b828=_0x52d9f9[_0x2ef835(0x112)];_0x56b828['forValue']((_0x2870a1,_0x3a6a3e,_0x482fe0)=>{const _0xdd870c=_0x2ef835;let _0x48a589=(0x0,_0x6aed4[_0xdd870c(0xd7)])(_0x482fe0,_0x42d94b);_0x48a589?_0x56b828[_0xdd870c(0x185)](_0x2870a1,_0x3a6a3e,_0x48a589):_0x56b828['setValue'](_0x2870a1,_0x3a6a3e,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x5b7d3d['RANGE_TYPE'][_0xdd870c(0x111)]});}),_0x56b828['moveRows'](_0x5e49af[_0x2ef835(0x1bc)],_0x5e49af[_0x2ef835(0xf4)]-_0x5e49af[_0x2ef835(0x1bc)]+0x1,_0x4a1c8e['startRow']);}this[_0x2ef835(0x15a)][_0x2ef835(0x1b4)](_0x4f6430,_0x455a91);}else{if(_0x42d94b['id']===_0x6aed4[_0x2ef835(0x1df)]['id']){let {fromRange:_0x5b45dd,toRange:_0x44ff53,unitId:_0x4570d0,from:_0xfdb726,to:_0x567a75}=_0x42d94b[_0x2ef835(0xd9)];if(_0xfdb726[_0x2ef835(0xdf)]!==_0x567a75[_0x2ef835(0xdf)])return;let _0x590f6b=_0xfdb726['subUnitId'],{startRow:_0xb332ef,endRow:_0x1650db,startColumn:_0x4d8b4b,endColumn:_0x1061d5}=_0x5b45dd,{startRow:_0xe5281c,startColumn:_0x3ea0ef}=_0x44ff53,_0x2f5337=_0xe5281c-_0xb332ef,_0x2ada31=_0x3ea0ef-_0x4d8b4b,_0x2f0c6b=this['_sparklineDataSourceModel'][_0x2ef835(0xfe)](_0x4570d0,_0x590f6b);if(!(_0x2f0c6b!=null&&_0x2f0c6b[_0x2ef835(0x1da)]))return;for(let _0xfc6d48=_0xb332ef;_0xfc6d48<=_0x1650db;_0xfc6d48++)for(let _0x4771bd=_0x4d8b4b;_0x4771bd<=_0x1061d5;_0x4771bd++){let _0x4ed436=this['_sparklineDataSourceModel']['getSparkline'](_0x4570d0,_0x590f6b,_0xfc6d48,_0x4771bd);if(_0x4ed436){let _0x265f2d=this[_0x2ef835(0x15a)][_0x2ef835(0x129)](_0x4570d0,_0x590f6b,_0x4ed436);if(_0x265f2d){let _0x4689bf=_0x265f2d[_0x2ef835(0x112)][_0x2ef835(0x17a)](_0xfc6d48,_0x4771bd);_0x4689bf&&(_0x265f2d[_0x2ef835(0x112)][_0x2ef835(0x185)](_0xfc6d48+_0x2f5337,_0x4771bd+_0x2ada31,_0x4689bf),_0x265f2d['sparklines'][_0x2ef835(0x157)](_0xfc6d48,_0x4771bd));}}}for(let [_0x5e7264,_0xe18cec]of _0x2f0c6b){let _0x5d8c6b=_0xe18cec['sparklines'];_0x5d8c6b[_0x2ef835(0x1ac)]((_0x3447c3,_0x580283,_0x1f88f0)=>{const _0x2ae156=_0x2ef835;let _0x3d62c1={..._0x1f88f0};_0x5b7d3d[_0x2ae156(0x134)]['contains'](_0x5b45dd,_0x1f88f0)&&(_0x3d62c1[_0x2ae156(0x1bc)]+=_0x2f5337,_0x3d62c1['endRow']+=_0x2f5337,_0x3d62c1['startColumn']+=_0x2ada31,_0x3d62c1[_0x2ae156(0x10f)]+=_0x2ada31),_0x5d8c6b[_0x2ae156(0x185)](_0x3447c3,_0x580283,_0x3d62c1);});}this[_0x2ef835(0x15a)]['reBuildAnchorCache'](_0x4570d0,_0x590f6b);}}}}}}}}));}};_0x401fe3=_0x3cc95c([_0x585c4a(0x0,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x5b7d3d[_0x14da71(0xe8)])),_0x585c4a(0x1,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x6aed4['RefRangeService'])),_0x585c4a(0x2,_0x5b7d3d['IUniverInstanceService']),_0x585c4a(0x3,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x35bc28))],_0x401fe3);let _0x21f5b7=class extends _0x5b7d3d[_0x14da71(0x138)]{constructor(_0x2e2d81,_0x1c2e5e,_0x39b961){const _0x233c76=_0x14da71;super(),this['_univerInstanceService']=_0x2e2d81,this['_sheetInterceptorService']=_0x1c2e5e,this['_sparklineDataSourceModel']=_0x39b961,this[_0x233c76(0x135)]();}[_0x14da71(0x135)](){const _0x42fdd8=_0x14da71;this[_0x42fdd8(0x12e)](this[_0x42fdd8(0xf9)]['interceptCommand']({'getMutations':_0x1bce47=>{const _0x29d471=_0x42fdd8;if(_0x1bce47['id']===_0x6aed4[_0x29d471(0x17e)]['id']){var _0x82f12b;let _0x51a658=_0x1bce47[_0x29d471(0xd9)],_0x36f9d3=_0x51a658[_0x29d471(0xe0)]||this[_0x29d471(0x17b)][_0x29d471(0xdc)](_0x5b7d3d['UniverInstanceType'][_0x29d471(0xe2)])[_0x29d471(0x114)](),_0x26ea91=_0x51a658[_0x29d471(0xdf)]||((_0x82f12b=this[_0x29d471(0x17b)][_0x29d471(0xdc)](_0x5b7d3d[_0x29d471(0x1c6)][_0x29d471(0xe2)])[_0x29d471(0x1d4)]())==null?void 0x0:_0x82f12b['getSheetId']());if(!_0x36f9d3||!_0x26ea91)return{'redos':[],'undos':[]};let _0x294ecf=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x36f9d3,_0x26ea91);if(!_0x294ecf)return{'redos':[],'undos':[]};let _0x30a5eb=new Set(),_0x1be726={};for(let [_0x43498b,_0x3444f8]of _0x294ecf)_0x30a5eb[_0x29d471(0x136)](_0x43498b),_0x1be726[_0x43498b]={'config':_0x5b7d3d[_0x29d471(0x194)][_0x29d471(0x102)](_0x3444f8['config']),'sparklines':_0x5b7d3d[_0x29d471(0x194)][_0x29d471(0x102)](_0x3444f8[_0x29d471(0x112)][_0x29d471(0x101)]())};if(_0x30a5eb[_0x29d471(0x1da)])return{'redos':[{'id':_0x423bd6['id'],'params':{'unitId':_0x36f9d3,'subUnitId':_0x26ea91,'groupIds':Array[_0x29d471(0x1a7)](_0x30a5eb),'isSingle':!0x1}}],'undos':[{'id':_0x4541ae['id'],'params':{'unitId':_0x36f9d3,'subUnitId':_0x26ea91,'sparklineConfigMap':_0x1be726}}]};}else{if(_0x1bce47['id']===_0x6aed4[_0x29d471(0x1b8)]['id']){let {unitId:_0x3a8974,subUnitId:_0x5b6863,targetSubUnitId:_0x470edc}=_0x1bce47['params'];if(!_0x3a8974||!_0x5b6863||!_0x470edc)return{'redos':[],'undos':[]};let _0x5351d5=this['_sparklineDataSourceModel'][_0x29d471(0xfe)](_0x3a8974,_0x5b6863);if(!_0x5351d5)return{'redos':[],'undos':[]};let _0x1f24a7=new Set(),_0x205153={};for(let [_0x5742b9,_0x5dcfb1]of _0x5351d5){let _0x48d88c='g_'+(0x0,_0x5b7d3d[_0x29d471(0x18d)])(0x6);_0x1f24a7[_0x29d471(0x136)](_0x5742b9),_0x205153[_0x48d88c]={'config':_0x5b7d3d[_0x29d471(0x194)]['deepClone'](_0x5dcfb1[_0x29d471(0x12a)]),'sparklines':_0x5b7d3d[_0x29d471(0x194)][_0x29d471(0x102)](_0x5dcfb1['sparklines']['clone']())};}if(_0x1f24a7[_0x29d471(0x1da)])return{'redos':[{'id':_0x4541ae['id'],'params':{'unitId':_0x3a8974,'subUnitId':_0x470edc,'sparklineConfigMap':_0x205153}}],'undos':[{'id':_0x423bd6['id'],'params':{'unitId':_0x3a8974,'subUnitId':_0x470edc,'groupIds':Array['from'](_0x1f24a7),'isSingle':!0x1}}]};}}return{'redos':[],'undos':[]};}}));}};_0x21f5b7=_0x3cc95c([_0x585c4a(0x0,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x5b7d3d['IUniverInstanceService'])),_0x585c4a(0x1,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x6aed4[_0x14da71(0x1b7)])),_0x585c4a(0x2,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x35bc28))],_0x21f5b7);let _0x2dcfe2=class extends _0x5b7d3d[_0x14da71(0x138)]{constructor(_0x5aeccf,_0x4b03be){const _0x324bf9=_0x14da71;super(),this['_resourceManagerService']=_0x5aeccf,this[_0x324bf9(0x15a)]=_0x4b03be,this[_0x324bf9(0x14b)]();}[_0x14da71(0x14b)](){const _0x5088a2=_0x14da71;this[_0x5088a2(0x12e)](this[_0x5088a2(0x1e3)][_0x5088a2(0xff)]({'toJson':_0xf9c4bf=>{const _0x33c3b2=_0x5088a2;let _0x764515=this['_sparklineDataSourceModel'][_0x33c3b2(0x190)](_0xf9c4bf);return _0x764515?JSON[_0x33c3b2(0x145)](_0x764515):'';},'parseJson':_0x254f5c=>_0x254f5c?JSON[_0x5088a2(0x143)](_0x254f5c):{},'pluginName':_0x43f5dc,'businesses':[_0x5b7d3d[_0x5088a2(0x1c6)][_0x5088a2(0xe2)]],'onLoad':(_0xf0e832,_0x5b0d01)=>{const _0xf5b3a7=_0x5088a2;this[_0xf5b3a7(0x15a)][_0xf5b3a7(0x1bd)](_0x5b0d01);},'onUnLoad':_0x198cab=>{const _0x427d40=_0x5088a2;this[_0x427d40(0x15a)][_0x427d40(0x158)](_0x198cab);}}));}};_0x2dcfe2=_0x3cc95c([_0x585c4a(0x0,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x5b7d3d['IResourceManagerService'])),_0x585c4a(0x1,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x35bc28))],_0x2dcfe2);let _0x3a00b5=class extends _0x5b7d3d[_0x14da71(0x16e)]{constructor(_0x3fc904=_0x2ea002,_0x274679,_0x41fa39,_0xc6cd77){const _0x295602=_0x14da71;super(),this[_0x295602(0xd8)]=_0x3fc904,this[_0x295602(0x1d1)]=_0x274679,this[_0x295602(0x141)]=_0x41fa39,this[_0x295602(0x16f)]=_0xc6cd77;let {..._0x3d1ea9}=(0x0,_0x5b7d3d[_0x295602(0x153)])({},_0x2ea002,this[_0x295602(0xd8)]);this['_configService'][_0x295602(0xf3)](_0x295602(0x181),_0x3d1ea9),this['_initDependencies'](),this[_0x295602(0xe4)]();}['_initDependencies'](){const _0x491d88=_0x14da71;[[_0x35bc28],[_0x5a5d68],[_0x109006],[_0x5d1d6a],[_0x401fe3],[_0x407013],[_0x21f5b7],[_0x2dcfe2]]['forEach'](_0x49902b=>{const _0x3e5814=_0x2f8a;this[_0x3e5814(0x1d1)]['add'](_0x49902b);}),(0x0,_0x5b7d3d[_0x491d88(0x1af)])(this[_0x491d88(0x1d1)],[[_0x2dcfe2]]);}['onReady'](){const _0x547604=_0x14da71;(0x0,_0x5b7d3d['touchDependencies'])(this[_0x547604(0x1d1)],[[_0x5a5d68],[_0x109006],[_0x5d1d6a],[_0x401fe3],[_0x407013],[_0x21f5b7]]);}[_0x14da71(0xe4)](){const _0x162d4b=_0x14da71;[_0x33999d,_0x4541ae,_0x252db7,_0x423bd6,_0x1f6339,_0x366313][_0x162d4b(0x14c)](_0x31441b=>this[_0x162d4b(0x16f)][_0x162d4b(0x13e)](_0x31441b));}};_0x1fa54c(_0x3a00b5,'pluginName',_0x43f5dc),_0x1fa54c(_0x3a00b5,_0x14da71(0x1d7),_0x5908e2),_0x1fa54c(_0x3a00b5,_0x14da71(0x14f),_0x41aa04),_0x1fa54c(_0x3a00b5,_0x14da71(0x150),_0x5b7d3d[_0x14da71(0x1c6)][_0x14da71(0xe2)]),_0x3a00b5=_0x3cc95c([(0x0,_0x5b7d3d[_0x14da71(0x10a)])(_0x8f8c2d[_0x14da71(0x11f)],_0x6aed4['UniverSheetsPlugin']),_0x585c4a(0x1,(0x0,_0x5b7d3d['Inject'])(_0x5b7d3d['Injector'])),_0x585c4a(0x2,_0x5b7d3d[_0x14da71(0x17c)]),_0x585c4a(0x3,(0x0,_0x5b7d3d[_0x14da71(0x1aa)])(_0x5b7d3d[_0x14da71(0xe8)]))],_0x3a00b5),_0x573cdc[_0x14da71(0x1cb)]=_0x33999d,_0x573cdc[_0x14da71(0x11b)]=_0x4541ae,_0x573cdc[_0x14da71(0x122)]=_0x43f5dc,_0x573cdc[_0x14da71(0xd4)]=_0x252db7,_0x573cdc[_0x14da71(0x1b6)]=_0x423bd6,_0x573cdc[_0x14da71(0xd3)]=_0x1f6339,_0x573cdc['SetSheetSparklineMutation']=_0x366313,_0x573cdc[_0x14da71(0x1d9)]=_0x235375,Object[_0x14da71(0x118)](_0x573cdc,_0x14da71(0x19d),{'enumerable':!0x0,'get':function(){return _0x35bc28;}}),_0x573cdc[_0x14da71(0x167)]=_0x20030e,_0x573cdc[_0x14da71(0xd6)]=_0x226667,_0x573cdc['SparklineThemeMapping']=_0x315fa4,_0x573cdc[_0x14da71(0xfa)]=_0x3db8eb,_0x573cdc[_0x14da71(0x19c)]=_0x668918,Object[_0x14da71(0x118)](_0x573cdc,_0x14da71(0x1d3),{'enumerable':!0x0,'get':function(){return _0x3a00b5;}});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-sparkline",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Sparkline model integration for Univer Sheets.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "1.0.
|
|
65
|
-
"@univerjs/core": "1.0.
|
|
66
|
-
"@univerjs/sheets": "1.0.
|
|
64
|
+
"@univerjs-pro/license": "1.0.1",
|
|
65
|
+
"@univerjs/core": "1.0.1",
|
|
66
|
+
"@univerjs/sheets": "1.0.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@univerjs-infra/shared": "1.0.
|
|
69
|
+
"@univerjs-infra/shared": "1.0.1",
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
72
|
"vitest": "^5.0.0"
|