@univerjs-pro/sheets-sparkline 0.10.12 → 0.10.13
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 _0x2366(_0x2e826a,_0x392973){const _0x450c54=_0x450c();return _0x2366=function(_0x2366da,_0x26f50e){_0x2366da=_0x2366da-0x124;let _0x5dba85=_0x450c54[_0x2366da];return _0x5dba85;},_0x2366(_0x2e826a,_0x392973);}(function(_0x42893b,_0x249f53){const _0x17c32e=_0x2366,_0x54ed01=_0x42893b();while(!![]){try{const _0x4711cc=-parseInt(_0x17c32e(0x1d3))/0x1+parseInt(_0x17c32e(0x188))/0x2*(-parseInt(_0x17c32e(0x183))/0x3)+-parseInt(_0x17c32e(0x17e))/0x4+parseInt(_0x17c32e(0x208))/0x5*(-parseInt(_0x17c32e(0x1af))/0x6)+parseInt(_0x17c32e(0x1bb))/0x7+parseInt(_0x17c32e(0x1e4))/0x8+parseInt(_0x17c32e(0x201))/0x9*(parseInt(_0x17c32e(0x13a))/0xa);if(_0x4711cc===_0x249f53)break;else _0x54ed01['push'](_0x54ed01['shift']());}catch(_0xca3983){_0x54ed01['push'](_0x54ed01['shift']());}}}(_0x450c,0xcc4ad),function(_0x5be841,_0x1ea330){const _0x12631d=_0x2366;typeof exports==_0x12631d(0x191)&&typeof module<'u'?_0x1ea330(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x12631d(0x133)&&define[_0x12631d(0x1be)]?define([_0x12631d(0x143),_0x12631d(0x1d9),'@univerjs/sheets',_0x12631d(0x154),_0x12631d(0x193)],_0x1ea330):(_0x5be841=typeof globalThis<'u'?globalThis:_0x5be841||self,_0x1ea330(_0x5be841[_0x12631d(0x187)]={},_0x5be841[_0x12631d(0x212)],_0x5be841[_0x12631d(0x1cc)],_0x5be841[_0x12631d(0x154)],_0x5be841[_0x12631d(0x198)]));}(this,function(_0x18aa2b,_0x1c6071,_0x3a66cf,_0x4668e9,_0x50bc71){'use strict';const _0x3aa980=_0x2366;var _0xf7f6c5=Object[_0x3aa980(0x218)],_0x306ada=(_0x245e53,_0x3d7f13,_0x35c507)=>_0x3d7f13 in _0x245e53?_0xf7f6c5(_0x245e53,_0x3d7f13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35c507}):_0x245e53[_0x3d7f13]=_0x35c507,_0x14fdc8=(_0x54c5fb,_0x34ae4c,_0x37bae3)=>_0x306ada(_0x54c5fb,typeof _0x34ae4c!=_0x3aa980(0x18f)?_0x34ae4c+'':_0x34ae4c,_0x37bae3);function _0x1193b9(_0x1df05d,_0x1d1624){const _0x2372a7=_0x3aa980,_0x341f4f=new _0x1c6071[(_0x2372a7(0x1e2))](),_0x397de1=[],_0x2d65f7=_0x1df05d[_0x2372a7(0x182)]>0x1;let _0x5ce5cd=0x0,_0x7c2475=0x0;for(const _0x389fa5 of _0x1df05d)_0x5ce5cd+=_0x389fa5[_0x2372a7(0x1ff)]-_0x389fa5[_0x2372a7(0x1ba)]+0x1,_0x7c2475+=_0x389fa5[_0x2372a7(0x1ad)]-_0x389fa5[_0x2372a7(0x216)]+0x1;for(const _0x45d27c of _0x1d1624)for(let _0x328dc1=_0x45d27c['startRow'];_0x328dc1<=_0x45d27c['endRow'];_0x328dc1++)for(let _0x50a4fd=_0x45d27c[_0x2372a7(0x216)];_0x50a4fd<=_0x45d27c[_0x2372a7(0x1ad)];_0x50a4fd++)_0x397de1[_0x2372a7(0x1cf)]({'row':_0x328dc1,'column':_0x50a4fd});if(_0x397de1[_0x2372a7(0x182)]===_0x5ce5cd)_0x2d65f7?_0x397de1['forEach']((_0x2d1bcd,_0x45a842)=>{const _0x1e7d27=_0x2372a7,_0x4a1948=_0x1df05d[_0x45a842],_0x45c26d={'startRow':_0x4a1948[_0x1e7d27(0x1ba)],'startColumn':_0x4a1948[_0x1e7d27(0x216)],'endRow':_0x4a1948['startRow'],'endColumn':_0x4a1948[_0x1e7d27(0x1ad)]};_0x341f4f[_0x1e7d27(0x15c)](_0x2d1bcd[_0x1e7d27(0x1b1)],_0x2d1bcd['column'],_0x45c26d);}):_0x397de1['forEach']((_0x5396f6,_0x466729)=>{const _0x12879e=_0x2372a7,_0x24644f=_0x1df05d[0x0],_0x4e90a4={'startRow':_0x24644f[_0x12879e(0x1ba)]+_0x466729,'startColumn':_0x24644f[_0x12879e(0x216)],'endRow':_0x24644f[_0x12879e(0x1ba)]+_0x466729,'endColumn':_0x24644f[_0x12879e(0x1ad)]};_0x341f4f[_0x12879e(0x15c)](_0x5396f6['row'],_0x5396f6['column'],_0x4e90a4);});else{if(_0x397de1[_0x2372a7(0x182)]===_0x7c2475)_0x2d65f7?_0x397de1['forEach']((_0x44d582,_0x76b72b)=>{const _0x193717=_0x2372a7,_0x399329=_0x1df05d[_0x76b72b],_0x4652a9={'startRow':_0x399329['startRow'],'startColumn':_0x399329[_0x193717(0x216)],'endRow':_0x399329[_0x193717(0x1ff)],'endColumn':_0x399329['startColumn']};_0x341f4f['setValue'](_0x44d582[_0x193717(0x1b1)],_0x44d582[_0x193717(0x164)],_0x4652a9);}):_0x397de1[_0x2372a7(0x18d)]((_0x274ac3,_0x3434cb)=>{const _0x559c36=_0x2372a7,_0x38f0f1=_0x1df05d[0x0],_0x15fb0e={'startRow':_0x38f0f1[_0x559c36(0x1ba)],'startColumn':_0x38f0f1[_0x559c36(0x216)]+_0x3434cb,'endRow':_0x38f0f1[_0x559c36(0x1ff)],'endColumn':_0x38f0f1['startColumn']+_0x3434cb};_0x341f4f[_0x559c36(0x15c)](_0x274ac3[_0x559c36(0x1b1)],_0x274ac3[_0x559c36(0x164)],_0x15fb0e);});else{if(_0x397de1[_0x2372a7(0x182)]===_0x1df05d['length'])_0x1df05d['every'](_0x1bfeb4=>!(_0x1bfeb4[_0x2372a7(0x1ba)]!==_0x1bfeb4[_0x2372a7(0x1ff)]&&_0x1bfeb4['startColumn']!==_0x1bfeb4[_0x2372a7(0x1ad)]))&&_0x397de1[_0x2372a7(0x18d)]((_0x1be131,_0x30b30a)=>{const _0x51fb48=_0x2372a7,_0x1bc7c4=_0x1df05d[_0x30b30a];_0x341f4f[_0x51fb48(0x15c)](_0x1be131[_0x51fb48(0x1b1)],_0x1be131[_0x51fb48(0x164)],_0x1bc7c4);});else throw new Error(_0x2372a7(0x1b6));}}return _0x341f4f;}const _0x58b70a=_0x3aa980(0x1c4),_0x6ea30c={'standard':[_0x3aa980(0x12c),_0x3aa980(0x211)],'specialty':[_0x3aa980(0x137),_0x3aa980(0x1fd)],'distinctive':[_0x3aa980(0x1a2),_0x3aa980(0x165)],'soft':['rgb(80,102,248)','rgb(244,104,249)'],'fresh':[_0x3aa980(0x214),_0x3aa980(0x1d1)]},_0x1299f4=['highPoint','firstPoint',_0x3aa980(0x161),_0x3aa980(0x21b),'negativePoint','markersPoint'];var _0x40916b=(_0x2ddcbd=>(_0x2ddcbd['STANDARD']=_0x3aa980(0x1e1),_0x2ddcbd[_0x3aa980(0x206)]=_0x3aa980(0x1ef),_0x2ddcbd[_0x3aa980(0x17a)]=_0x3aa980(0x1b7),_0x2ddcbd[_0x3aa980(0x16e)]='soft',_0x2ddcbd[_0x3aa980(0x19b)]=_0x3aa980(0x1db),_0x2ddcbd['CUSTOM']=_0x3aa980(0x19c),_0x2ddcbd))(_0x40916b||{}),_0x2d0b70=(_0x4a8e6b=>(_0x4a8e6b[_0x4a8e6b[_0x3aa980(0x15d)]=0x1]=_0x3aa980(0x15d),_0x4a8e6b[_0x4a8e6b['BAR_CHART']=0x2]='BAR_CHART',_0x4a8e6b[_0x4a8e6b[_0x3aa980(0x136)]=0x3]='PROFIT_AND_LOSS_CHART',_0x4a8e6b[_0x4a8e6b['PIE_CHART']=0x4]=_0x3aa980(0x134),_0x4a8e6b))(_0x2d0b70||{}),_0x4474cd=(_0x5c7699=>(_0x5c7699[_0x3aa980(0x1d0)]=_0x3aa980(0x125),_0x5c7699['ZERO_VALUE']='zero_value',_0x5c7699[_0x3aa980(0x1f5)]='connect_with_line',_0x5c7699))(_0x4474cd||{}),_0x2c88dc=(_0x2abe2b=>(_0x2abe2b[_0x2abe2b[_0x3aa980(0x129)]=0x1]=_0x3aa980(0x129),_0x2abe2b[_0x2abe2b[_0x3aa980(0x210)]=0x2]='GROUP_EXTREMUM',_0x2abe2b[_0x2abe2b['CUSTOM_EXTREMUM']=0x3]=_0x3aa980(0x176),_0x2abe2b))(_0x2c88dc||{}),_0x43fce0=Object[_0x3aa980(0x205)],_0x3f1c66=(_0x47565b,_0x59dfa0,_0x277020,_0x40344b)=>{const _0x1867ef=_0x3aa980;for(var _0x656c37=_0x40344b>0x1?void 0x0:_0x40344b?_0x43fce0(_0x59dfa0,_0x277020):_0x59dfa0,_0xa169d8=_0x47565b[_0x1867ef(0x182)]-0x1,_0x112317;_0xa169d8>=0x0;_0xa169d8--)(_0x112317=_0x47565b[_0xa169d8])&&(_0x656c37=_0x112317(_0x656c37)||_0x656c37);return _0x656c37;},_0x2d35e1=(_0xd03ca2,_0x25c36d)=>(_0x475bf0,_0x1a5b40)=>_0x25c36d(_0x475bf0,_0x1a5b40,_0xd03ca2);_0x18aa2b[_0x3aa980(0x162)]=class extends _0x1c6071[_0x3aa980(0x1da)]{constructor(_0x2b5ada){const _0x51a55f=_0x3aa980;super(),_0x14fdc8(this,'_sparklineModel',new Map()),_0x14fdc8(this,_0x51a55f(0x14d),new Map()),_0x14fdc8(this,'_updateConfig$',new _0x4668e9['Subject']()),_0x14fdc8(this,_0x51a55f(0x151),this[_0x51a55f(0x12b)][_0x51a55f(0x1ec)]()),this['_univerInstanceService']=_0x2b5ada;}['_ensureConfigMap'](_0x78c07d,_0x5c5dcf){const _0x37535c=_0x3aa980;let _0x25f3db=this[_0x37535c(0x1a0)][_0x37535c(0x157)](_0x78c07d);_0x25f3db||(_0x25f3db=new Map(),this[_0x37535c(0x1a0)]['set'](_0x78c07d,_0x25f3db));let _0x45de5f=_0x25f3db[_0x37535c(0x157)](_0x5c5dcf);return _0x45de5f||(_0x45de5f=new Map(),_0x25f3db['set'](_0x5c5dcf,_0x45de5f)),_0x45de5f;}[_0x3aa980(0x200)](_0x431bd3,_0x20cb09){const _0x11fc3b=_0x3aa980;let _0x3b50df=this[_0x11fc3b(0x14d)]['get'](_0x431bd3);_0x3b50df||(_0x3b50df=new Map(),this[_0x11fc3b(0x14d)][_0x11fc3b(0x213)](_0x431bd3,_0x3b50df));let _0x40dc9d=_0x3b50df[_0x11fc3b(0x157)](_0x20cb09);return _0x40dc9d||(_0x40dc9d={'matrix':new _0x1c6071[(_0x11fc3b(0x1e2))](),'extra':{}},_0x3b50df[_0x11fc3b(0x213)](_0x20cb09,_0x40dc9d)),_0x40dc9d;}[_0x3aa980(0x132)](_0x16b13d,_0x5ece84,_0x581087,_0xa4e1a0='set'){const _0x4f1088=_0x3aa980;var _0x37c36d,_0x3e4a9d,_0x4abaf2,_0x45b5b9,_0x5bf12e,_0x2d2ae5,_0x318e20,_0x355146,_0x5e062a,_0x59d357,_0x4a8fb6,_0x1bbf4c,_0x34b0cc;const _0x1184e7=(_0x3e4a9d=(_0x37c36d=this[_0x4f1088(0x1a0)][_0x4f1088(0x157)](_0x16b13d))==null?void 0x0:_0x37c36d[_0x4f1088(0x157)](_0x5ece84))==null?void 0x0:_0x3e4a9d[_0x4f1088(0x157)](_0x581087);if(!_0x1184e7)return;const _0x4fba67=_0x3a66cf[_0x4f1088(0x1c6)](this['_univerInstanceService'],{'unitId':_0x16b13d,'subUnitId':_0x5ece84});if(!_0x4fba67)return;const _0x460794=this['_ensureAnchorMatrix'](_0x16b13d,_0x5ece84),{extra:_0x12335c,matrix:_0x4c9f1d}=_0x460794,{worksheet:_0x40e00c}=_0x4fba67;let _0x295690=Number['MIN_SAFE_INTEGER'],_0x2535a6=Number[_0x4f1088(0x1f3)];const _0x4b8f21=(_0x4abaf2=_0x1184e7[_0x4f1088(0x1e3)][_0x4f1088(0x209)])!=null?_0x4abaf2:!0x1;_0x1184e7['sparklines'][_0x4f1088(0x1cd)]((_0x7bfb58,_0x508b38,_0x421303)=>{const _0x6f810f=_0x4f1088;var _0x46e5c0,_0x4478da,_0x169590;const _0x5a52b7=_0x421303;let _0x2ded9b=Number[_0x6f810f(0x126)],_0x52ad9d=Number[_0x6f810f(0x1f3)],_0x2c1118=0x0,_0x58f365=0x0;const _0x25ea67=[];if(!_0x1c6071['isValidRange'](_0x5a52b7))_0x4c9f1d[_0x6f810f(0x15c)](_0x7bfb58,_0x508b38,{'groupId':_0x581087,'data':[],'max':_0x2ded9b,'min':_0x52ad9d,'highIndex':_0x2c1118,'lowIndex':_0x58f365,'negativeIndexes':_0x25ea67});else{const _0x2a4e6e=[];for(let _0xac6ce4=_0x5a52b7[_0x6f810f(0x1ba)];_0xac6ce4<=_0x5a52b7[_0x6f810f(0x1ff)];_0xac6ce4++){for(let _0x5e0d36=_0x5a52b7[_0x6f810f(0x216)];_0x5e0d36<=_0x5a52b7[_0x6f810f(0x1ad)];_0x5e0d36++){const _0x511f39=_0x40e00c[_0x6f810f(0x19a)](_0xac6ce4),_0x5d1d34=_0x40e00c['getColVisible'](_0x5e0d36);if(!_0x4b8f21&&(!_0x511f39||!_0x5d1d34))continue;let _0x24232=0x0;const _0xa8d01=((_0x46e5c0=_0x40e00c['getCellRaw'](_0xac6ce4,_0x5e0d36))==null?void 0x0:_0x46e5c0['v'])!==void 0x0?_0x40e00c[_0x6f810f(0x1f6)](_0xac6ce4,_0x5e0d36):_0x40e00c['getCell'](_0xac6ce4,_0x5e0d36);if(!_0xa8d01||_0xa8d01['v']===void 0x0||_0xa8d01['v']===null){const _0x5e8465=(_0x4478da=_0x1184e7[_0x6f810f(0x1e3)]['emptyShowAs'])!=null?_0x4478da:_0x4474cd[_0x6f810f(0x1d0)];_0x5e8465===_0x4474cd[_0x6f810f(0x1d7)]?_0x24232=0x0:_0x5e8465===_0x4474cd[_0x6f810f(0x1d0)]?_0x24232=_0x6f810f(0x147):_0x5e8465===_0x4474cd[_0x6f810f(0x1f5)]&&(_0x24232='u-connect');}else{if(_0xa8d01['t']===_0x1c6071[_0x6f810f(0x153)][_0x6f810f(0x1f9)]||_0xa8d01['t']===_0x1c6071[_0x6f810f(0x153)][_0x6f810f(0x152)]){const _0x473f61=(_0x169590=_0x1184e7[_0x6f810f(0x1e3)][_0x6f810f(0x141)])!=null?_0x169590:_0x4474cd['SPACING'];_0x473f61===_0x4474cd['ZERO_VALUE']?_0x24232=0x0:_0x473f61===_0x4474cd[_0x6f810f(0x1d0)]?_0x24232=_0x6f810f(0x147):_0x473f61===_0x4474cd[_0x6f810f(0x1f5)]&&(_0x24232='u-connect');}else _0xa8d01['t']===_0x1c6071[_0x6f810f(0x153)][_0x6f810f(0x1ac)]?_0x24232=_0xa8d01['v']?0x1:0x0:_0xa8d01['t']===_0x1c6071[_0x6f810f(0x153)][_0x6f810f(0x14c)]?_0x24232=Number(_0xa8d01['v']):_0x24232=_0xa8d01['v'];}if(_0x2a4e6e[_0x6f810f(0x1cf)](_0x24232),typeof _0x24232==_0x6f810f(0x1e9)){_0x2ded9b=Math['max'](_0x2ded9b,_0x24232),_0x295690=Math[_0x6f810f(0x173)](_0x295690,_0x24232),_0x2535a6=Math[_0x6f810f(0x1de)](_0x2535a6,_0x24232),_0x52ad9d=Math[_0x6f810f(0x1de)](_0x52ad9d,_0x24232);const _0x34d7f6=typeof _0x2a4e6e[_0x2c1118]=='number'?Number(_0x2a4e6e[_0x2c1118]):Number[_0x6f810f(0x126)];_0x24232>_0x34d7f6&&(_0x2c1118=_0x2a4e6e[_0x6f810f(0x182)]-0x1);const _0x4b6f61=typeof _0x2a4e6e[_0x58f365]=='number'?Number(_0x2a4e6e[_0x58f365]):Number['MAX_SAFE_INTEGER'];_0x24232<_0x4b6f61&&(_0x58f365=_0x2a4e6e['length']-0x1),_0x24232<0x0&&_0x25ea67[_0x6f810f(0x1cf)](_0x2a4e6e[_0x6f810f(0x182)]-0x1);}}_0x4c9f1d['setValue'](_0x7bfb58,_0x508b38,{'groupId':_0x581087,'data':_0x2a4e6e,'max':_0x2ded9b,'min':_0x52ad9d,'highIndex':_0x2c1118,'lowIndex':_0x58f365,'negativeIndexes':_0x25ea67});}}});let _0x1c1d68=_0x295690;((_0x45b5b9=_0x1184e7[_0x4f1088(0x1e3)][_0x4f1088(0x1c5)])==null?void 0x0:_0x45b5b9['type'])===_0x2c88dc[_0x4f1088(0x176)]&&(_0x1c1d68=(_0x2d2ae5=(_0x5bf12e=_0x1184e7[_0x4f1088(0x1e3)][_0x4f1088(0x1c5)])==null?void 0x0:_0x5bf12e['value'])!=null?_0x2d2ae5:_0x295690);let _0x1f972a=_0x2535a6;((_0x318e20=_0x1184e7['config'][_0x4f1088(0x1b8)])==null?void 0x0:_0x318e20['type'])===_0x2c88dc[_0x4f1088(0x176)]&&(_0x1f972a=(_0x5e062a=(_0x355146=_0x1184e7[_0x4f1088(0x1e3)][_0x4f1088(0x1b8)])==null?void 0x0:_0x355146['value'])!=null?_0x5e062a:_0x2535a6);const _0x472959=(_0x59d357=_0x1184e7[_0x4f1088(0x1e3)][_0x4f1088(0x178)])!=null?_0x59d357:_0x40916b[_0x4f1088(0x1ed)],_0x1801fc=(_0x34b0cc=(_0x1bbf4c=_0x1184e7[_0x4f1088(0x1e3)]['seriesColor'])!=null?_0x1bbf4c:(_0x4a8fb6=_0x6ea30c[_0x472959])==null?void 0x0:_0x4a8fb6[0x0])!=null?_0x34b0cc:_0x6ea30c[_0x4f1088(0x1e1)][0x0],_0xa4791b=new _0x1c6071[(_0x4f1088(0x1c2))](_0x1801fc),_0x4e1934=_0xa4791b[_0x4f1088(0x12d)](0.2)[_0x4f1088(0x1ee)](),_0x354cc6=_0xa4791b[_0x4f1088(0x12d)](0.05)[_0x4f1088(0x1ee)]();_0x12335c[_0x581087]={'groupMax':_0x295690,'groupMin':_0x2535a6,'showMax':_0x1c1d68,'showMin':_0x1f972a,'startGradient':_0x4e1934,'endGradient':_0x354cc6},this[_0x4f1088(0x12b)][_0x4f1088(0x195)]({'unitId':_0x16b13d,'subUnitId':_0x5ece84,'groupId':_0x581087,'config':_0x1184e7,'type':_0xa4e1a0});}[_0x3aa980(0x1c8)](_0x256145,_0x4303d8,_0x17452f,_0x35d911){const _0x95104=_0x3aa980;this[_0x95104(0x1d5)](_0x256145,_0x4303d8)[_0x95104(0x213)](_0x17452f,_0x35d911),this[_0x95104(0x132)](_0x256145,_0x4303d8,_0x17452f,'add');}[_0x3aa980(0x1eb)](_0x117cf5,_0x28a815,_0x2b4bd1,_0x351d62){const _0x5b5c58=_0x3aa980;var _0x237f38;const _0x2331b2=(_0x237f38=this[_0x5b5c58(0x1a0)][_0x5b5c58(0x157)](_0x117cf5))==null?void 0x0:_0x237f38[_0x5b5c58(0x157)](_0x28a815);_0x2b4bd1[_0x5b5c58(0x18d)](_0xc173bf=>{const _0x2a1401=_0x5b5c58;_0x2331b2!=null&&_0x2331b2['has'](_0xc173bf)&&(_0x2331b2[_0x2a1401(0x213)](_0xc173bf,_0x351d62),this[_0x2a1401(0x132)](_0x117cf5,_0x28a815,_0xc173bf));});}[_0x3aa980(0x184)](_0x19f1eb,_0x346f1d,_0x10ef43){const _0x4f69dd=_0x3aa980;var _0x2fc093,_0x3d2d85;const _0x2ba51a=this[_0x4f69dd(0x1a0)]['get'](_0x19f1eb);if(_0x2ba51a){const _0xcfca48=_0x2ba51a[_0x4f69dd(0x157)](_0x346f1d);if(_0xcfca48){_0xcfca48[_0x4f69dd(0x19e)](_0x10ef43);const _0x804322=(_0x2fc093=this[_0x4f69dd(0x14d)]['get'](_0x19f1eb))==null?void 0x0:_0x2fc093[_0x4f69dd(0x157)](_0x346f1d);(_0x3d2d85=_0x804322==null?void 0x0:_0x804322[_0x4f69dd(0x21d)])==null||_0x3d2d85[_0x4f69dd(0x1cd)]((_0x49ca4e,_0x308dee,_0x2ca2ee)=>{const _0x3afa3=_0x4f69dd;(_0x2ca2ee==null?void 0x0:_0x2ca2ee[_0x3afa3(0x1fa)])===_0x10ef43&&(_0x804322==null||_0x804322[_0x3afa3(0x21d)]['realDeleteValue'](_0x49ca4e,_0x308dee));}),this[_0x4f69dd(0x12b)][_0x4f69dd(0x195)]({'unitId':_0x19f1eb,'subUnitId':_0x346f1d,'groupId':_0x10ef43,'type':_0x4f69dd(0x159)});}}}[_0x3aa980(0x1fe)](_0x464eae,_0x2aef0f,_0x351c7a,_0x3472d2){const _0x389aee=_0x3aa980;var _0x17d921,_0x5dcacd,_0xa0a8fe,_0x3f9e36;const _0x394bbd=(_0x17d921=this[_0x389aee(0x14d)][_0x389aee(0x157)](_0x464eae))==null?void 0x0:_0x17d921[_0x389aee(0x157)](_0x2aef0f),_0x53585c=_0x394bbd==null?void 0x0:_0x394bbd[_0x389aee(0x21d)][_0x389aee(0x20e)](_0x351c7a,_0x3472d2);if(_0x53585c){const {groupId:_0x250215}=_0x53585c,_0x4b3058=(_0x5dcacd=this[_0x389aee(0x1a0)][_0x389aee(0x157)](_0x464eae))==null?void 0x0:_0x5dcacd[_0x389aee(0x157)](_0x2aef0f);(_0xa0a8fe=_0x4b3058==null?void 0x0:_0x4b3058[_0x389aee(0x157)](_0x250215))==null||_0xa0a8fe[_0x389aee(0x127)]['realDeleteValue'](_0x351c7a,_0x3472d2),(_0x3f9e36=_0x4b3058==null?void 0x0:_0x4b3058[_0x389aee(0x157)](_0x250215))!=null&&_0x3f9e36[_0x389aee(0x127)][_0x389aee(0x1fb)]()||_0x4b3058==null||_0x4b3058['delete'](_0x250215),_0x394bbd==null||_0x394bbd['matrix']['realDeleteValue'](_0x351c7a,_0x3472d2),this[_0x389aee(0x12b)]['next']({'unitId':_0x464eae,'subUnitId':_0x2aef0f,'groupId':_0x250215,'type':_0x389aee(0x159)});}}[_0x3aa980(0x21a)](_0x45d8e3,_0x5195eb,_0x4ec849){const _0x25db90=_0x3aa980;var _0x1aab09,_0x33f478,_0x47b414,_0x108a81;const _0xa6b378=(_0x47b414=(_0x33f478=(_0x1aab09=this[_0x25db90(0x1a0)][_0x25db90(0x157)](_0x45d8e3))==null?void 0x0:_0x1aab09[_0x25db90(0x157)](_0x5195eb))==null?void 0x0:_0x33f478['get'](_0x4ec849))==null?void 0x0:_0x47b414['sparklines'],_0x16edbf=(_0x108a81=this[_0x25db90(0x14d)][_0x25db90(0x157)](_0x45d8e3))==null?void 0x0:_0x108a81[_0x25db90(0x157)](_0x5195eb);if(_0xa6b378&&_0x16edbf){const {matrix:_0x46e0ab,extra:_0x3d1d46}=_0x16edbf;_0xa6b378[_0x25db90(0x1cd)]((_0x5b5c0f,_0x5c7b0f,_0x2eca06)=>{const _0x1a4c0c=_0x25db90;_0x46e0ab[_0x1a4c0c(0x1e0)](_0x5b5c0f,_0x5c7b0f);}),delete _0x3d1d46[_0x4ec849];}}['getSubUnitSparkline'](_0x2f5eec,_0x223872){const _0x3f0cc9=_0x3aa980;var _0x215d08;return(_0x215d08=this[_0x3f0cc9(0x1a0)]['get'](_0x2f5eec))==null?void 0x0:_0x215d08['get'](_0x223872);}[_0x3aa980(0x13e)](_0x4f7dbc,_0x1fae80,_0x213c9d){const _0x573d56=_0x3aa980;var _0x330f3a,_0x255168;return(_0x255168=(_0x330f3a=this['_sparklineModel']['get'](_0x4f7dbc))==null?void 0x0:_0x330f3a[_0x573d56(0x157)](_0x1fae80))==null?void 0x0:_0x255168[_0x573d56(0x157)](_0x213c9d);}[_0x3aa980(0x12e)](_0x1ab6cd,_0x4e58a0,_0x48df3d,_0x29a838){const _0x4e70ef=_0x3aa980;var _0x5e4f6b,_0x5c6ed3,_0x2d0e19;return(_0x2d0e19=(_0x5c6ed3=(_0x5e4f6b=this[_0x4e70ef(0x14d)][_0x4e70ef(0x157)](_0x1ab6cd))==null?void 0x0:_0x5e4f6b[_0x4e70ef(0x157)](_0x4e58a0))==null?void 0x0:_0x5c6ed3[_0x4e70ef(0x21d)]['getValue'](_0x48df3d,_0x29a838))==null?void 0x0:_0x2d0e19[_0x4e70ef(0x1fa)];}[_0x3aa980(0x174)](_0x51a4b6,_0x1667c9){const _0x3e39e3=_0x3aa980;var _0x4d6419;const _0xfe721b=this[_0x3e39e3(0x200)](_0x51a4b6,_0x1667c9);_0xfe721b[_0x3e39e3(0x21d)][_0x3e39e3(0x1cd)]((_0x3f695d,_0x4d233c)=>{const _0xfa8c9e=_0x3e39e3;_0xfe721b[_0xfa8c9e(0x21d)][_0xfa8c9e(0x1e0)](_0x3f695d,_0x4d233c);});const _0x56a576=(_0x4d6419=this[_0x3e39e3(0x1a0)]['get'](_0x51a4b6))==null?void 0x0:_0x4d6419[_0x3e39e3(0x157)](_0x1667c9);if(_0x56a576){for(const [_0xfa17e7]of _0x56a576)this[_0x3e39e3(0x132)](_0x51a4b6,_0x1667c9,_0xfa17e7);}}[_0x3aa980(0x1a8)](){const _0x18d2a5=_0x3aa980;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x18d2a5(0x14d)]};}[_0x3aa980(0x166)](_0x13f0ff){const _0x39bf36=_0x3aa980,_0x3110f3={};if(this[_0x39bf36(0x1a0)][_0x39bf36(0x1a1)](_0x13f0ff)){_0x3110f3[_0x13f0ff]={};const _0x33770e=this[_0x39bf36(0x1a0)]['get'](_0x13f0ff);_0x33770e!=null&&_0x33770e[_0x39bf36(0x16a)]&&Array[_0x39bf36(0x1f8)](_0x33770e[_0x39bf36(0x16b)]())[_0x39bf36(0x18d)](_0x28bad0=>{const _0x2d0bdd=_0x39bf36;_0x3110f3[_0x13f0ff][_0x28bad0]={};const _0x5307ec=_0x33770e[_0x2d0bdd(0x157)](_0x28bad0);_0x5307ec!=null&&_0x5307ec['size']&&Array[_0x2d0bdd(0x1f8)](_0x5307ec[_0x2d0bdd(0x16b)]())[_0x2d0bdd(0x18d)](_0x4025fe=>{const _0x393ca0=_0x2d0bdd,_0xf534cb=_0x5307ec[_0x393ca0(0x157)](_0x4025fe);_0xf534cb&&(_0x3110f3[_0x13f0ff][_0x28bad0][_0x4025fe]={'config':_0xf534cb['config'],'sparklines':_0xf534cb[_0x393ca0(0x127)][_0x393ca0(0x18b)]()});});});}return _0x3110f3;}[_0x3aa980(0x197)](_0x67c47b){const _0x337b82=_0x3aa980;if(!_0x67c47b)return;Object['keys'](_0x67c47b)[_0x337b82(0x18d)](_0x16042e=>{const _0xbd6368=_0x337b82,_0x1f5612=_0x67c47b[_0x16042e];_0x1f5612&&Object[_0xbd6368(0x16b)](_0x1f5612)[_0xbd6368(0x18d)](_0x53cbd4=>{const _0x1eb8a5=_0xbd6368,_0x315365=_0x1f5612[_0x53cbd4];_0x315365&&Object[_0x1eb8a5(0x16b)](_0x315365)['forEach'](_0x6eefa1=>{const _0x5b03cd=_0x1eb8a5,_0x25f54c=_0x315365[_0x6eefa1];if(_0x25f54c){const _0x14061a={'config':_0x25f54c[_0x5b03cd(0x1e3)],'sparklines':new _0x1c6071[(_0x5b03cd(0x1e2))](_0x25f54c[_0x5b03cd(0x127)])};this[_0x5b03cd(0x1c8)](_0x16042e,_0x53cbd4,_0x6eefa1,_0x14061a);}});});});}[_0x3aa980(0x180)](_0x3bbdaa){const _0x275d92=_0x3aa980,_0x3be8e8=this[_0x275d92(0x1a0)][_0x275d92(0x157)](_0x3bbdaa);if(_0x3be8e8){for(const [_0x3b38a7]of _0x3be8e8){const _0x66db6f=_0x3be8e8[_0x275d92(0x157)](_0x3b38a7);if(_0x66db6f){for(const [_0x5d6b3c]of _0x66db6f)this[_0x275d92(0x21a)](_0x3bbdaa,_0x3b38a7,_0x5d6b3c);}}this[_0x275d92(0x1a0)][_0x275d92(0x19e)](_0x3bbdaa);}}},_0x18aa2b[_0x3aa980(0x162)]=_0x3f1c66([_0x2d35e1(0x0,_0x1c6071[_0x3aa980(0x1ce)](_0x1c6071[_0x3aa980(0x128)]))],_0x18aa2b[_0x3aa980(0x162)]);const _0x4f2e31={'id':'sheet.mutation.add-sparkline','type':_0x1c6071[_0x3aa980(0x1e5)][_0x3aa980(0x1c7)],'handler':(_0x1dda0e,_0x3758f7)=>{const _0x12b7a3=_0x3aa980;if(!_0x3758f7)return!0x1;const {sparklineConfigMap:_0xd3688c,unitId:_0x391678,subUnitId:_0x14291c}=_0x3758f7,_0x3eee3e=_0x1dda0e[_0x12b7a3(0x157)](_0x18aa2b[_0x12b7a3(0x162)]);return Object[_0x12b7a3(0x13c)](_0xd3688c)[_0x12b7a3(0x18d)](([_0x4e5f8c,_0x3f9dff])=>{const _0x22b277=_0x12b7a3,_0x57989a={'config':_0x3f9dff[_0x22b277(0x1e3)],'sparklines':new _0x1c6071[(_0x22b277(0x1e2))](_0x3f9dff[_0x22b277(0x127)])};_0x3eee3e['addSparkline'](_0x391678,_0x14291c,_0x4e5f8c,_0x57989a);}),!0x0;}},_0x24f8f4={'id':_0x3aa980(0x13d),'type':_0x1c6071[_0x3aa980(0x1e5)][_0x3aa980(0x1c7)],'handler':(_0x17d09e,_0x44dc40)=>{const _0x31eee4=_0x3aa980;if(!_0x44dc40)return!0x1;const {unitId:_0x3f64d7,subUnitId:_0x330ea8,ranges:_0x437795,isSingle:_0xb65fdb,groupIds:_0x2b15f8}=_0x44dc40,_0x46a61a=_0x17d09e[_0x31eee4(0x157)](_0x18aa2b[_0x31eee4(0x162)]);return _0x2b15f8?(_0x2b15f8['forEach'](_0x3b3cc1=>{const _0x24e2da=_0x31eee4;_0x46a61a[_0x24e2da(0x184)](_0x3f64d7,_0x330ea8,_0x3b3cc1);}),!0x0):_0x437795?(_0x437795['forEach'](_0x21712f=>{const _0x4c5235=_0x31eee4;_0x1c6071[_0x4c5235(0x144)]['foreach'](_0x21712f,(_0x5a627a,_0x26406d)=>{const _0xdb72f8=_0x4c5235,_0x3918d5=_0x46a61a[_0xdb72f8(0x12e)](_0x3f64d7,_0x330ea8,_0x5a627a,_0x26406d);_0x3918d5&&(_0xb65fdb?_0x46a61a[_0xdb72f8(0x1fe)](_0x3f64d7,_0x330ea8,_0x5a627a,_0x26406d):_0x46a61a[_0xdb72f8(0x184)](_0x3f64d7,_0x330ea8,_0x3918d5));});}),!0x0):!0x1;}},_0x1a0ba6={'id':_0x3aa980(0x1fc),'type':_0x1c6071['CommandType'][_0x3aa980(0x177)],'handler':(_0x4c89db,_0xa87ce3)=>{const _0x559f60=_0x3aa980;if(!_0xa87ce3)return!0x1;const {sourceRanges:_0x5acc72,targetRanges:_0x269e2e,config:_0x58fa58}=_0xa87ce3,_0x7f00fa=_0x4c89db[_0x559f60(0x157)](_0x1c6071['IUndoRedoService']),_0x2f56e3='g_'+_0x1c6071[_0x559f60(0x146)](0x6),_0x209eff=_0x1193b9(_0x5acc72,_0x269e2e),_0x21ee30={'config':_0x58fa58!=null?_0x58fa58:{},'sparklines':_0x209eff[_0x559f60(0x18b)]()},_0x54a177=_0x4c89db[_0x559f60(0x157)](_0x1c6071[_0x559f60(0x128)]),_0x81c963=_0x4c89db[_0x559f60(0x157)](_0x18aa2b[_0x559f60(0x162)]),_0x4e4d9d=_0x3a66cf[_0x559f60(0x1c6)](_0x54a177);if(!_0x4e4d9d)return!0x1;const {unitId:_0x465958,subUnitId:_0x315b81}=_0x4e4d9d,_0x316d92=_0x4c89db[_0x559f60(0x157)](_0x1c6071[_0x559f60(0x16c)]),_0x187e28=[],_0x3caabe=[],_0x55b863={},_0x5d93ab={},_0x4d4586=new Set([_0x2f56e3]);_0x209eff[_0x559f60(0x1cd)]((_0x20cd37,_0x6d3a07,_0x3db16b)=>{const _0x5a1934=_0x559f60,_0x347d7e=_0x81c963[_0x5a1934(0x12e)](_0x465958,_0x315b81,_0x20cd37,_0x6d3a07);if(_0x347d7e){const _0x5416cf=_0x81c963['getSparklineById'](_0x465958,_0x315b81,_0x347d7e);if(_0x5416cf){_0x4d4586[_0x5a1934(0x1ca)](_0x347d7e);let _0x20d9f8=_0x55b863[_0x347d7e],_0x150292=_0x5d93ab[_0x347d7e];_0x150292||(_0x150292={'config':_0x1c6071[_0x5a1934(0x1cb)][_0x5a1934(0x16f)](_0x5416cf[_0x5a1934(0x1e3)]),'sparklines':new _0x1c6071['ObjectMatrix'](_0x5416cf[_0x5a1934(0x127)][_0x5a1934(0x124)]())},_0x5d93ab[_0x347d7e]=_0x150292),_0x20d9f8||(_0x20d9f8={'config':_0x1c6071[_0x5a1934(0x1cb)]['deepClone'](_0x5416cf[_0x5a1934(0x1e3)]),'sparklines':_0x5416cf['sparklines'][_0x5a1934(0x124)]()},_0x55b863[_0x347d7e]=_0x20d9f8),_0x150292[_0x5a1934(0x127)]['realDeleteValue'](_0x20cd37,_0x6d3a07);}}});const _0x289b3e={};return Object[_0x559f60(0x13c)](_0x5d93ab)[_0x559f60(0x18d)](([_0x3ac4e8,_0x1898d0])=>{const _0x56ed43=_0x559f60;_0x1898d0[_0x56ed43(0x127)]['getSizeOf']()&&(_0x289b3e[_0x3ac4e8]={'config':_0x1898d0['config'],'sparklines':_0x1898d0[_0x56ed43(0x127)]['clone']()});}),_0x289b3e[_0x2f56e3]=_0x21ee30,_0x187e28['push']({'id':_0x24f8f4['id'],'params':{'unitId':_0x465958,'subUnitId':_0x315b81,'groupIds':Array[_0x559f60(0x1f8)](_0x4d4586),'isSingle':!0x1}}),_0x4d4586[_0x559f60(0x16a)]>0x1&&(_0x3caabe[_0x559f60(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x465958,'subUnitId':_0x315b81,'groupIds':Array[_0x559f60(0x1f8)](_0x4d4586),'isSingle':!0x1}}),_0x187e28['push']({'id':_0x4f2e31['id'],'params':{'unitId':_0x465958,'subUnitId':_0x315b81,'sparklineConfigMap':_0x55b863}})),_0x3caabe[_0x559f60(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x465958,'subUnitId':_0x315b81,'sparklineConfigMap':_0x289b3e}}),_0x1c6071['sequenceExecute'](_0x3caabe,_0x316d92),_0x7f00fa[_0x559f60(0x202)]({'unitID':_0x465958,'undoMutations':_0x187e28,'redoMutations':_0x3caabe}),!0x0;}},_0x539a6a={'id':'sheet.command.remove-sparkline','type':_0x1c6071[_0x3aa980(0x1e5)][_0x3aa980(0x177)],'handler':(_0x5c2d2c,_0x5321be)=>{const _0x3198bc=_0x3aa980;var _0x101629;const {isSingle:_0x5d2ebe=!0x0}=_0x5321be||{},_0x39b89b=_0x5c2d2c[_0x3198bc(0x157)](_0x1c6071[_0x3198bc(0x16c)]),_0x3ed5dc=_0x5c2d2c['get'](_0x1c6071[_0x3198bc(0x128)]),_0x39aa35=_0x5c2d2c[_0x3198bc(0x157)](_0x18aa2b[_0x3198bc(0x162)]),_0x394483=_0x5c2d2c[_0x3198bc(0x157)](_0x1c6071[_0x3198bc(0x15e)]),_0x6692fa=_0x3a66cf['getSheetCommandTarget'](_0x3ed5dc);if(!_0x6692fa)return!0x1;const _0x212d59=_0x5c2d2c['get'](_0x3a66cf[_0x3198bc(0x167)]),_0x1131c0=(_0x101629=_0x5321be==null?void 0x0:_0x5321be[_0x3198bc(0x21c)])!=null?_0x101629:_0x212d59[_0x3198bc(0x1e7)]()[_0x3198bc(0x138)](_0x8867bc=>_0x8867bc[_0x3198bc(0x12a)]),{unitId:_0xc475f1,subUnitId:_0x26b00a}=_0x6692fa,_0x33574d=[],_0x15301d=[];_0x33574d['push']({'id':_0x24f8f4['id'],'params':{'unitId':_0xc475f1,'subUnitId':_0x26b00a,'ranges':_0x1131c0,'isSingle':_0x5d2ebe}});const _0x2dbc34=[],_0x290914={};return _0x1131c0[_0x3198bc(0x18d)](_0x1c3f75=>{const _0x220a05=_0x3198bc;_0x1c6071[_0x220a05(0x144)]['foreach'](_0x1c3f75,(_0x1d4f5c,_0x4a4183)=>{const _0x10befc=_0x220a05,_0x4df96c=_0x39aa35['getSparkline'](_0xc475f1,_0x26b00a,_0x1d4f5c,_0x4a4183);if(_0x4df96c){const _0x1a0040=_0x39aa35['getSparklineById'](_0xc475f1,_0x26b00a,_0x4df96c);_0x1a0040&&(_0x2dbc34[_0x10befc(0x1cf)](_0x4df96c),_0x290914[_0x4df96c]={'config':_0x1c6071[_0x10befc(0x1cb)]['deepClone'](_0x1a0040[_0x10befc(0x1e3)]),'sparklines':_0x1c6071[_0x10befc(0x1cb)][_0x10befc(0x16f)](_0x1a0040[_0x10befc(0x127)][_0x10befc(0x124)]())});}});}),_0x15301d[_0x3198bc(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0xc475f1,'subUnitId':_0x26b00a,'groupIds':_0x2dbc34,'isSingle':!0x1}}),_0x15301d['push']({'id':_0x4f2e31['id'],'params':{'unitId':_0xc475f1,'subUnitId':_0x26b00a,'sparklineConfigMap':_0x290914}}),_0x1c6071['sequenceExecute'](_0x33574d,_0x39b89b),_0x394483[_0x3198bc(0x202)]({'unitID':_0xc475f1,'undoMutations':_0x15301d,'redoMutations':_0x33574d}),!0x0;}},_0xaf9021={'id':_0x3aa980(0x135),'type':_0x1c6071[_0x3aa980(0x1e5)][_0x3aa980(0x1c7)],'handler':(_0x3b7a9d,_0x1fe7cc)=>{const _0xa1931e=_0x3aa980;if(!_0x1fe7cc)return!0x1;const {unitId:_0x531445,subUnitId:_0x1fb50,groupIds:_0x28ecac,config:_0x3f4fda}=_0x1fe7cc,_0x2b078f=_0x3b7a9d[_0xa1931e(0x157)](_0x18aa2b[_0xa1931e(0x162)]);return _0x28ecac[_0xa1931e(0x18d)](_0x35229d=>{const _0x3aa8b6=_0xa1931e,_0xb5c298=_0x2b078f[_0x3aa8b6(0x13e)](_0x531445,_0x1fb50,_0x35229d);if(_0xb5c298){const _0x2cfece={'config':Object[_0x3aa8b6(0x15b)]({},_0xb5c298[_0x3aa8b6(0x1e3)],_0x3f4fda[_0x3aa8b6(0x1e3)]),'sparklines':new _0x1c6071[(_0x3aa8b6(0x1e2))](_0xb5c298[_0x3aa8b6(0x127)][_0x3aa8b6(0x124)]())};_0x2b078f[_0x3aa8b6(0x1eb)](_0x531445,_0x1fb50,[_0x35229d],_0x2cfece);}}),!0x0;}},_0x18b122={'id':_0x3aa980(0x1bf),'type':_0x1c6071[_0x3aa980(0x1e5)][_0x3aa980(0x177)],'handler':(_0x21ccfb,_0x198135)=>{const _0x8a7655=_0x3aa980;var _0x7db7f9,_0x4a1a9c,_0xc349a2,_0x3b9f64;if(!_0x198135)return!0x1;const _0x1ef599=_0x21ccfb[_0x8a7655(0x157)](_0x1c6071[_0x8a7655(0x16c)]),_0x1b0895=_0x21ccfb[_0x8a7655(0x157)](_0x3a66cf['SheetsSelectionsService']),_0x5bfe92=_0x21ccfb[_0x8a7655(0x157)](_0x18aa2b[_0x8a7655(0x162)]),_0x3aa81b=_0x21ccfb[_0x8a7655(0x157)](_0x1c6071[_0x8a7655(0x128)]),_0x1aae68=_0x21ccfb[_0x8a7655(0x157)](_0x1c6071['IUndoRedoService']),_0x2c5f14=_0x3a66cf[_0x8a7655(0x1c6)](_0x3aa81b);if(!_0x2c5f14)return!0x1;const {unitId:_0x316b28,subUnitId:_0x2077e5}=_0x2c5f14,_0x230a85=(_0x7db7f9=_0x198135==null?void 0x0:_0x198135[_0x8a7655(0x21c)])!=null?_0x7db7f9:_0x1b0895[_0x8a7655(0x1e7)]()[_0x8a7655(0x138)](_0x7e3970=>_0x7e3970[_0x8a7655(0x12a)]),_0x41e6f7=(_0x4a1a9c=_0x5bfe92['getSparklineCache']()[_0x8a7655(0x18e)]['get'](_0x316b28))==null?void 0x0:_0x4a1a9c[_0x8a7655(0x157)](_0x2077e5),{isChangeDataSource:_0xcf77b,config:_0x4131cf,combine:_0xbf99ba,unCombine:_0x36e67c}=_0x198135;if(_0xbf99ba){const _0x1db7db=[],_0x1ea530=[];_0x1db7db[_0x8a7655(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'ranges':_0x230a85,'isSingle':!0x0}});const _0x140c21='g_'+_0x1c6071[_0x8a7655(0x146)](0x6),_0x279d4b=new _0x1c6071[(_0x8a7655(0x1e2))](),_0x135284=(_0xc349a2=_0x5bfe92[_0x8a7655(0x1a8)]()[_0x8a7655(0x1f2)][_0x8a7655(0x157)](_0x316b28))==null?void 0x0:_0xc349a2[_0x8a7655(0x157)](_0x2077e5),_0x4a7bfe=new Set([_0x140c21]),_0x291a82={};return _0x230a85[_0x8a7655(0x18d)](_0x596b49=>{const _0x424aad=_0x8a7655;var _0x12a049,_0x1e24d8;const {startRow:_0x31965e,endRow:_0x4ea0b1,startColumn:_0xc00b3d,endColumn:_0x1a291c}=_0x596b49;for(let _0x3bf4fb=_0x31965e;_0x3bf4fb<=_0x4ea0b1;_0x3bf4fb++)for(let _0x10d578=_0xc00b3d;_0x10d578<=_0x1a291c;_0x10d578++){const _0x34eecc=(_0x12a049=_0x41e6f7==null?void 0x0:_0x41e6f7[_0x424aad(0x21d)]['getValue'](_0x3bf4fb,_0x10d578))==null?void 0x0:_0x12a049[_0x424aad(0x1fa)];if(_0x34eecc){_0x4a7bfe[_0x424aad(0x1ca)](_0x34eecc);const _0x18ab77=_0x5bfe92[_0x424aad(0x13e)](_0x316b28,_0x2077e5,_0x34eecc);_0x18ab77&&(_0x291a82[_0x34eecc]={'config':_0x1c6071[_0x424aad(0x1cb)][_0x424aad(0x16f)](_0x18ab77[_0x424aad(0x1e3)]),'sparklines':_0x1c6071[_0x424aad(0x1cb)][_0x424aad(0x16f)](_0x18ab77['sparklines'][_0x424aad(0x124)]())});const _0x3528f0=(_0x1e24d8=_0x135284==null?void 0x0:_0x135284[_0x424aad(0x157)](_0x34eecc))==null?void 0x0:_0x1e24d8[_0x424aad(0x127)][_0x424aad(0x20e)](_0x3bf4fb,_0x10d578);_0x3528f0&&_0x279d4b['setValue'](_0x3bf4fb,_0x10d578,_0x3528f0);}}}),_0x1db7db[_0x8a7655(0x1cf)]({'id':_0x4f2e31['id'],'params':{'sparklineConfigMap':{[_0x140c21]:{'config':_0x1c6071[_0x8a7655(0x1cb)][_0x8a7655(0x16f)](_0x4131cf[_0x8a7655(0x1e3)]),'sparklines':_0x279d4b[_0x8a7655(0x18b)]()}},'unitId':_0x316b28,'subUnitId':_0x2077e5}}),_0x1ea530['push']({'id':_0x24f8f4['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'isSingle':!0x1,'groupIds':Array[_0x8a7655(0x1f8)](_0x4a7bfe)}}),_0x1ea530[_0x8a7655(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'sparklineConfigMap':_0x291a82}}),_0x1c6071[_0x8a7655(0x1a5)](_0x1db7db,_0x1ef599),_0x1aae68[_0x8a7655(0x202)]({'unitID':_0x316b28,'undoMutations':_0x1ea530,'redoMutations':_0x1db7db}),!0x0;}else{if(_0x36e67c){const _0x14fda5=[],_0x19e463=[];_0x14fda5['push']({'id':_0x24f8f4['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'ranges':_0x230a85,'isSingle':!0x0}});const _0x42f35b=(_0x3b9f64=_0x5bfe92[_0x8a7655(0x1a8)]()[_0x8a7655(0x1f2)]['get'](_0x316b28))==null?void 0x0:_0x3b9f64['get'](_0x2077e5),_0x7e01f={},_0x597426=new Set(),_0x408b73={};return _0x230a85[_0x8a7655(0x18d)](_0x384a22=>{const _0x4c0552=_0x8a7655;var _0x17e238,_0x15eea7;const {startRow:_0x4a3d40,endRow:_0x4689f4,startColumn:_0x4da176,endColumn:_0x1ddfc7}=_0x384a22;for(let _0x5ce8a9=_0x4a3d40;_0x5ce8a9<=_0x4689f4;_0x5ce8a9++)for(let _0x35c418=_0x4da176;_0x35c418<=_0x1ddfc7;_0x35c418++){const _0x3de3d3=(_0x17e238=_0x41e6f7==null?void 0x0:_0x41e6f7[_0x4c0552(0x21d)][_0x4c0552(0x20e)](_0x5ce8a9,_0x35c418))==null?void 0x0:_0x17e238['groupId'];if(_0x3de3d3){const _0x372b1f=new _0x1c6071['ObjectMatrix'](),_0x47c907='g_'+_0x1c6071[_0x4c0552(0x146)](0x6);_0x597426[_0x4c0552(0x1ca)](_0x3de3d3),_0x597426[_0x4c0552(0x1ca)](_0x47c907);const _0x4eb8f5=_0x5bfe92[_0x4c0552(0x13e)](_0x316b28,_0x2077e5,_0x3de3d3);_0x4eb8f5&&(_0x408b73[_0x3de3d3]={'config':_0x1c6071[_0x4c0552(0x1cb)]['deepClone'](_0x4eb8f5['config']),'sparklines':_0x1c6071[_0x4c0552(0x1cb)]['deepClone'](_0x4eb8f5[_0x4c0552(0x127)][_0x4c0552(0x124)]())});const _0x58246a=(_0x15eea7=_0x42f35b==null?void 0x0:_0x42f35b[_0x4c0552(0x157)](_0x3de3d3))==null?void 0x0:_0x15eea7[_0x4c0552(0x127)][_0x4c0552(0x20e)](_0x5ce8a9,_0x35c418);_0x58246a&&_0x372b1f[_0x4c0552(0x15c)](_0x5ce8a9,_0x35c418,_0x58246a),_0x7e01f[_0x47c907]={'sparklines':_0x372b1f[_0x4c0552(0x18b)](),'config':_0x1c6071[_0x4c0552(0x1cb)][_0x4c0552(0x16f)](_0x4131cf['config'])};}}}),_0x14fda5[_0x8a7655(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'sparklineConfigMap':_0x7e01f}}),_0x19e463[_0x8a7655(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'isSingle':!0x1,'groupIds':Array[_0x8a7655(0x1f8)](_0x597426)}}),_0x19e463['push']({'id':_0x4f2e31['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'sparklineConfigMap':_0x408b73}}),_0x1c6071[_0x8a7655(0x1a5)](_0x14fda5,_0x1ef599),_0x1aae68[_0x8a7655(0x202)]({'unitID':_0x316b28,'undoMutations':_0x19e463,'redoMutations':_0x14fda5}),!0x0;}}if(_0xcf77b){const _0x2fd82d=_0x198135[_0x8a7655(0x189)];if(!_0x2fd82d)return!0x1;const {groupId:_0x8cfd40,sourceRanges:_0x45a1c1,targetRanges:_0x47593c,resetType:_0x4745b5,primary:_0x27b72d}=_0x2fd82d,_0xdc9fe8=[],_0x2c2eb1=[];_0xdc9fe8[_0x8a7655(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'ranges':_0x230a85,'isSingle':!0x1,'groupIds':[_0x8cfd40]}}),_0x2c2eb1[_0x8a7655(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'ranges':_0x230a85,'isSingle':!0x1,'groupIds':[_0x8cfd40]}});let _0xb9b335;_0x4745b5==='item'?(_0xb9b335=new _0x1c6071['ObjectMatrix'](_0x4131cf[_0x8a7655(0x127)][_0x8a7655(0x124)]()),_0xb9b335[_0x8a7655(0x1e0)](_0x27b72d[_0x8a7655(0x1d2)],_0x27b72d['actualColumn']),_0xb9b335[_0x8a7655(0x15c)](_0x47593c[0x0]['startRow'],_0x47593c[0x0][_0x8a7655(0x216)],_0x45a1c1[0x0])):_0xb9b335=_0x1193b9(_0x45a1c1,_0x47593c);const _0x532fce={'config':_0x1c6071['Tools'][_0x8a7655(0x16f)](_0x4131cf[_0x8a7655(0x1e3)]),'sparklines':_0xb9b335['getMatrix']()},_0x3d62c2={'config':_0x1c6071[_0x8a7655(0x1cb)]['deepClone'](_0x4131cf[_0x8a7655(0x1e3)]),'sparklines':_0x1c6071[_0x8a7655(0x1cb)][_0x8a7655(0x16f)](_0x4131cf['sparklines'][_0x8a7655(0x124)]())};_0xdc9fe8['push']({'id':_0x4f2e31['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'sparklineConfigMap':{[_0x8cfd40]:_0x532fce}}}),_0x2c2eb1['push']({'id':_0x4f2e31['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'sparklineConfigMap':{[_0x8cfd40]:_0x3d62c2}}}),_0x1c6071[_0x8a7655(0x1a5)](_0xdc9fe8,_0x1ef599),_0x1aae68[_0x8a7655(0x202)]({'unitID':_0x316b28,'undoMutations':_0x2c2eb1,'redoMutations':_0xdc9fe8});}else{const _0x5ccee4=[],_0xa5b81b=[],_0x3b9449=new Set(),_0x550c08={};_0x230a85[_0x8a7655(0x18d)](_0x3c6160=>{const _0x5088b9=_0x8a7655;var _0x15f721;const {startRow:_0x56f3e7,endRow:_0x14d360,startColumn:_0x4e1d56,endColumn:_0x395337}=_0x3c6160;for(let _0x38a778=_0x56f3e7;_0x38a778<=_0x14d360;_0x38a778++)for(let _0x59dfc7=_0x4e1d56;_0x59dfc7<=_0x395337;_0x59dfc7++){const _0x11e68c=(_0x15f721=_0x41e6f7==null?void 0x0:_0x41e6f7[_0x5088b9(0x21d)][_0x5088b9(0x20e)](_0x38a778,_0x59dfc7))==null?void 0x0:_0x15f721[_0x5088b9(0x1fa)];if(_0x11e68c){_0x3b9449[_0x5088b9(0x1ca)](_0x11e68c);const _0x5c3df3=_0x5bfe92['getSparklineById'](_0x316b28,_0x2077e5,_0x11e68c);_0x5c3df3&&(_0x550c08[_0x11e68c]={'config':_0x1c6071['Tools']['deepClone'](_0x5c3df3[_0x5088b9(0x1e3)]),'sparklines':_0x1c6071[_0x5088b9(0x1cb)]['deepClone'](_0x5c3df3[_0x5088b9(0x127)][_0x5088b9(0x124)]())});}}}),_0xa5b81b[_0x8a7655(0x1cf)]({'id':_0xaf9021['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'groupIds':Array[_0x8a7655(0x1f8)](_0x3b9449),'config':{'config':_0x1c6071[_0x8a7655(0x1cb)][_0x8a7655(0x16f)](_0x4131cf[_0x8a7655(0x1e3)]),'sparklines':_0x4131cf[_0x8a7655(0x127)][_0x8a7655(0x18b)]()}}}),_0x5ccee4[_0x8a7655(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'isSingle':!0x1,'groupIds':Array[_0x8a7655(0x1f8)](_0x3b9449)}}),_0x5ccee4[_0x8a7655(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x316b28,'subUnitId':_0x2077e5,'sparklineConfigMap':_0x550c08}}),_0x1c6071['sequenceExecute'](_0xa5b81b,_0x1ef599),_0x1aae68[_0x8a7655(0x202)]({'unitID':_0x316b28,'undoMutations':_0x5ccee4,'redoMutations':_0xa5b81b});}return!0x0;}};var _0x14b7d5=Object[_0x3aa980(0x205)],_0x584222=(_0x145600,_0x31139e,_0x266f38,_0x1b2975)=>{const _0x1722af=_0x3aa980;for(var _0x40c115=_0x1b2975>0x1?void 0x0:_0x1b2975?_0x14b7d5(_0x31139e,_0x266f38):_0x31139e,_0x57e6c7=_0x145600[_0x1722af(0x182)]-0x1,_0x4cb410;_0x57e6c7>=0x0;_0x57e6c7--)(_0x4cb410=_0x145600[_0x57e6c7])&&(_0x40c115=_0x4cb410(_0x40c115)||_0x40c115);return _0x40c115;},_0x9015d1=(_0x3393ea,_0x4bb1ee)=>(_0x27f069,_0x28c1b0)=>_0x4bb1ee(_0x27f069,_0x28c1b0,_0x3393ea);let _0xd679db=class extends _0x1c6071['Disposable']{constructor(_0x57ae80,_0x164c4d,_0x552dda,_0x3c14ec){const _0x4f75eb=_0x3aa980;super(),this[_0x4f75eb(0x215)]=_0x57ae80,this[_0x4f75eb(0x1f1)]=_0x164c4d,this[_0x4f75eb(0x190)]=_0x552dda,this['_sheetSelectionService']=_0x3c14ec,this[_0x4f75eb(0x14a)]();}['_initClearWithSparkline'](){const _0x3de9c1=_0x3aa980;this[_0x3de9c1(0x1b3)](this['_sheetInterceptorService'][_0x3de9c1(0x15a)]({'getMutations':_0x1b25f2=>{const _0x41698b=_0x3de9c1,_0x3c9464=[],_0x146b56=[];if(_0x1b25f2['id']===_0x3a66cf[_0x41698b(0x1a9)]['id']){const _0x32b4d3=_0x3a66cf['getSheetCommandTarget'](this[_0x41698b(0x190)]);if(!_0x32b4d3)return{'redos':_0x3c9464,'undos':_0x146b56};const {unitId:_0x6b6fc2,subUnitId:_0xa4509d,worksheet:_0x4e5d43}=_0x32b4d3,_0x320f39=this['_sheetSelectionService'][_0x41698b(0x1e7)]()['map'](_0x2c3c27=>_0x2c3c27[_0x41698b(0x12a)]),_0x2ea691=new Set(),_0x14b492={},_0x55b622={};_0x320f39[_0x41698b(0x18d)](_0x487da8=>{const _0x5215e8=_0x41698b;_0x1c6071[_0x5215e8(0x144)][_0x5215e8(0x1e8)](_0x487da8,(_0x310a53,_0x58d858)=>{const _0x535d92=_0x5215e8,_0x27c6cf=this[_0x535d92(0x215)][_0x535d92(0x12e)](_0x6b6fc2,_0xa4509d,_0x310a53,_0x58d858);if(_0x27c6cf&&!_0x2ea691[_0x535d92(0x1a1)](_0x27c6cf)){const _0x1cf910=this[_0x535d92(0x215)]['getSparklineById'](_0x6b6fc2,_0xa4509d,_0x27c6cf);_0x1cf910&&(_0x2ea691['add'](_0x27c6cf),_0x14b492[_0x27c6cf]={'config':_0x1c6071['Tools'][_0x535d92(0x16f)](_0x1cf910[_0x535d92(0x1e3)]),'sparklines':_0x1c6071[_0x535d92(0x1cb)][_0x535d92(0x16f)](_0x1cf910[_0x535d92(0x127)]['clone']())},_0x55b622[_0x27c6cf]={'config':_0x1c6071['Tools'][_0x535d92(0x16f)](_0x1cf910[_0x535d92(0x1e3)]),'sparklines':_0x1c6071[_0x535d92(0x1cb)][_0x535d92(0x16f)](_0x1cf910[_0x535d92(0x127)][_0x535d92(0x124)]())});}});}),Object[_0x41698b(0x194)](_0x55b622)['forEach'](_0x4a81c5=>{const _0x5c9137=_0x41698b,_0x1a1941=_0x4a81c5[_0x5c9137(0x127)];new _0x1c6071[(_0x5c9137(0x1e2))](_0x1a1941)[_0x5c9137(0x1cd)]((_0xc1448c,_0x4131cc,_0x225df3)=>{const _0x25dcfc=_0x5c9137;_0x320f39[_0x25dcfc(0x168)](_0x211fe1=>_0x1c6071[_0x25dcfc(0x1ae)][_0x25dcfc(0x17b)](_0x211fe1,_0x1c6071[_0x25dcfc(0x1aa)](_0xc1448c,_0x4131cc)))&&delete _0x1a1941[_0xc1448c][_0x4131cc];});}),_0x3c9464[_0x41698b(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x6b6fc2,'subUnitId':_0xa4509d,'groupIds':Array[_0x41698b(0x1f8)](_0x2ea691),'isSingle':!0x1}}),_0x3c9464[_0x41698b(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x6b6fc2,'subUnitId':_0xa4509d,'sparklineConfigMap':_0x55b622}}),_0x146b56['push']({'id':_0x24f8f4['id'],'params':{'unitId':_0x6b6fc2,'subUnitId':_0xa4509d,'groupIds':Array[_0x41698b(0x1f8)](_0x2ea691),'isSingle':!0x1}}),_0x146b56[_0x41698b(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x6b6fc2,'subUnitId':_0xa4509d,'sparklineConfigMap':_0x14b492}});}return{'redos':_0x3c9464,'undos':_0x146b56};}}));}};_0xd679db=_0x584222([_0x9015d1(0x0,_0x1c6071[_0x3aa980(0x1ce)](_0x18aa2b[_0x3aa980(0x162)])),_0x9015d1(0x1,_0x1c6071[_0x3aa980(0x1ce)](_0x3a66cf['SheetInterceptorService'])),_0x9015d1(0x2,_0x1c6071[_0x3aa980(0x1ce)](_0x1c6071['IUniverInstanceService'])),_0x9015d1(0x3,_0x1c6071[_0x3aa980(0x1ce)](_0x3a66cf['SheetsSelectionsService']))],_0xd679db);var _0x224081=Object[_0x3aa980(0x205)],_0x42d0db=(_0xe667a0,_0x1f2f6d,_0x3f5870,_0x499c6d)=>{const _0xd806ea=_0x3aa980;for(var _0xa78962=_0x499c6d>0x1?void 0x0:_0x499c6d?_0x224081(_0x1f2f6d,_0x3f5870):_0x1f2f6d,_0x4f13d9=_0xe667a0[_0xd806ea(0x182)]-0x1,_0x4dec02;_0x4f13d9>=0x0;_0x4f13d9--)(_0x4dec02=_0xe667a0[_0x4f13d9])&&(_0xa78962=_0x4dec02(_0xa78962)||_0xa78962);return _0xa78962;},_0x1aac1c=(_0x17538f,_0xb2d248)=>(_0x5a74c7,_0x1167b5)=>_0xb2d248(_0x5a74c7,_0x1167b5,_0x17538f);let _0x3e7c2a=class extends _0x1c6071['Disposable']{constructor(_0x3a047e,_0x1a3959){const _0x1f5e6c=_0x3aa980;super(),this[_0x1f5e6c(0x1f1)]=_0x3a047e,this[_0x1f5e6c(0x215)]=_0x1a3959,this['_initCopySheetWithSparkline']();}[_0x3aa980(0x181)](){const _0x48c62f=_0x3aa980;this[_0x48c62f(0x1b3)](this[_0x48c62f(0x1f1)]['interceptCommand']({'getMutations':_0x5b2623=>{const _0x5b0dfe=_0x48c62f,_0x5bc657=[],_0x34031b=[];if(_0x5b2623['id']===_0x3a66cf[_0x5b0dfe(0x1f0)]['id']){const _0x21a388=_0x5b2623[_0x5b0dfe(0x1b0)];if(!_0x21a388)return{'redos':_0x5bc657,'undos':_0x34031b};const {unitId:_0x29a161,subUnitId:_0x5b5162,targetSubUnitId:_0x42a5d1}=_0x21a388;if(!_0x29a161||!_0x5b5162||!_0x42a5d1)return{'redos':_0x5bc657,'undos':_0x34031b};const _0x41793c=new Set(),_0x4d6a25={},_0x309b6b=this[_0x5b0dfe(0x215)][_0x5b0dfe(0x142)](_0x29a161,_0x5b5162);if(!_0x309b6b)return{'redos':_0x5bc657,'undos':_0x34031b};for(const [_0x5ba99a,_0x35dd7d]of _0x309b6b){const _0x559c98='g_'+_0x1c6071[_0x5b0dfe(0x146)](0x6);_0x41793c[_0x5b0dfe(0x1ca)](_0x5ba99a),_0x4d6a25[_0x559c98]={'config':_0x1c6071[_0x5b0dfe(0x1cb)]['deepClone'](_0x35dd7d[_0x5b0dfe(0x1e3)]),'sparklines':_0x1c6071['Tools'][_0x5b0dfe(0x16f)](_0x35dd7d[_0x5b0dfe(0x127)]['clone']())};}_0x41793c[_0x5b0dfe(0x16a)]&&(_0x34031b['push']({'id':_0x24f8f4['id'],'params':{'unitId':_0x29a161,'subUnitId':_0x42a5d1,'groupIds':Array['from'](_0x41793c),'isSingle':!0x1}}),_0x5bc657[_0x5b0dfe(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x29a161,'subUnitId':_0x42a5d1,'sparklineConfigMap':_0x4d6a25}}));}return{'redos':_0x5bc657,'undos':_0x34031b};}}));}};_0x3e7c2a=_0x42d0db([_0x1aac1c(0x0,_0x1c6071[_0x3aa980(0x1ce)](_0x3a66cf[_0x3aa980(0x18a)])),_0x1aac1c(0x1,_0x1c6071[_0x3aa980(0x1ce)](_0x18aa2b['SparklineDataSourceModel']))],_0x3e7c2a);var _0x535d78=Object[_0x3aa980(0x205)],_0x15d12f=(_0x2d42b4,_0x7e48d6,_0x27d8c2,_0x4c463a)=>{const _0x108fb1=_0x3aa980;for(var _0x439feb=_0x4c463a>0x1?void 0x0:_0x4c463a?_0x535d78(_0x7e48d6,_0x27d8c2):_0x7e48d6,_0x291dd1=_0x2d42b4[_0x108fb1(0x182)]-0x1,_0x423514;_0x291dd1>=0x0;_0x291dd1--)(_0x423514=_0x2d42b4[_0x291dd1])&&(_0x439feb=_0x423514(_0x439feb)||_0x439feb);return _0x439feb;},_0x366a38=(_0xdd94,_0x125a03)=>(_0x1670cb,_0x1f1bff)=>_0x125a03(_0x1670cb,_0x1f1bff,_0xdd94);let _0x3b286e=class extends _0x1c6071['Disposable']{constructor(_0xe5e6e6,_0xc2fe26,_0x256697){const _0x1ba156=_0x3aa980;super(),this[_0x1ba156(0x1c3)]=_0xe5e6e6,this['_sparklineDataSourceModel']=_0xc2fe26,this[_0x1ba156(0x196)]=_0x256697,this['_initDataChangeListener'](),this[_0x1ba156(0x175)]();}[_0x3aa980(0x207)](){const _0x567feb=_0x3aa980;this[_0x567feb(0x1b3)](this['_commandService'][_0x567feb(0x171)](_0x3b57e=>{const _0x4b307d=_0x567feb;if(_0x3b57e['id']===_0x3a66cf[_0x4b307d(0x145)]['id']){const _0x1d2804=_0x3b57e[_0x4b307d(0x1b0)],{cellValue:_0x52d8c6,unitId:_0xd142c,subUnitId:_0x131e54}=_0x1d2804,_0x2d30c4=new _0x1c6071['ObjectMatrix'](_0x52d8c6),_0x36a760=new Set(),_0x1f3c98=this[_0x4b307d(0x215)][_0x4b307d(0x142)](_0xd142c,_0x131e54);if(!_0x1f3c98)return;const _0x489a55=Array[_0x4b307d(0x1f8)](_0x1f3c98);_0x2d30c4[_0x4b307d(0x1cd)]((_0x138c84,_0x3f5022,_0x204d1e)=>{const _0x4fd942=_0x4b307d,_0x38a09a=_0x1c6071[_0x4fd942(0x1aa)](_0x138c84,_0x3f5022);for(let _0x1c1d6f=0x0;_0x1c1d6f<_0x489a55[_0x4fd942(0x182)];_0x1c1d6f++){const [_0x40b660,_0x3d2653]=_0x489a55[_0x1c1d6f],_0x1c9325=_0x36a760[_0x4fd942(0x1a1)](_0x40b660);_0x1c9325||_0x3d2653[_0x4fd942(0x127)][_0x4fd942(0x1cd)]((_0x79994e,_0x214067,_0x17886d)=>{const _0xe6fb9=_0x4fd942,_0x2e919b=_0x17886d;if(_0x2e919b&&!_0x1c9325&&_0x1c6071['Rectangle'][_0xe6fb9(0x17b)](_0x38a09a,_0x2e919b))return _0x36a760[_0xe6fb9(0x1ca)](_0x40b660),!0x0;});}}),_0x36a760[_0x4b307d(0x18d)](_0x4699fa=>{const _0x1c64a1=_0x4b307d;this[_0x1c64a1(0x215)][_0x1c64a1(0x21a)](_0xd142c,_0x131e54,_0x4699fa),this['_sparklineDataSourceModel']['updateSparklineExtraNum'](_0xd142c,_0x131e54,_0x4699fa);});}else{if(_0x3b57e['id']===_0x3a66cf[_0x4b307d(0x1c9)]['id']){const _0xb6310f=_0x3b57e[_0x4b307d(0x1b0)],{range:_0x756f79,unitId:_0x7ea478,subUnitId:_0x1aaf13}=_0xb6310f,_0x56bfac=new Set(),_0x2e271d=this[_0x4b307d(0x215)]['getSubUnitSparkline'](_0x7ea478,_0x1aaf13);if(!_0x2e271d)return;const _0x524b6e=Array[_0x4b307d(0x1f8)](_0x2e271d);for(let _0x538324=0x0;_0x538324<_0x524b6e[_0x4b307d(0x182)];_0x538324++){const [_0x1e8d11,_0xaf0fc9]=_0x524b6e[_0x538324],_0x2ed275=_0x56bfac[_0x4b307d(0x1a1)](_0x1e8d11);_0x2ed275||_0xaf0fc9[_0x4b307d(0x127)][_0x4b307d(0x1cd)]((_0x2d4602,_0x30f630,_0x4e7823)=>{const _0x28c648=_0x4b307d,_0x1e5f26=_0x4e7823;if(_0x1e5f26&&!_0x2ed275&&_0x1c6071['Rectangle'][_0x28c648(0x17b)](_0x756f79,_0x1e5f26))return _0x56bfac[_0x28c648(0x1ca)](_0x1e8d11),!0x0;});}_0x56bfac[_0x4b307d(0x18d)](_0xd8c4e2=>{const _0x3dc7a3=_0x4b307d;this[_0x3dc7a3(0x215)][_0x3dc7a3(0x21a)](_0x7ea478,_0x1aaf13,_0xd8c4e2),this[_0x3dc7a3(0x215)][_0x3dc7a3(0x132)](_0x7ea478,_0x1aaf13,_0xd8c4e2);});}}}));}[_0x3aa980(0x175)](){const _0x43b926=_0x3aa980;this[_0x43b926(0x1b3)](this[_0x43b926(0x196)][_0x43b926(0x1e6)][_0x43b926(0x17c)](_0x531069=>{const _0x4a4a1b=_0x43b926,{unitId:_0x3153b9,subUnitId:_0x3f12a6,ranges:_0x50f43e}=_0x531069,_0x1a193c=this[_0x4a4a1b(0x215)][_0x4a4a1b(0x142)](_0x3153b9,_0x3f12a6);if(!_0x1a193c)return;const _0x49f2f7=Array[_0x4a4a1b(0x1f8)](_0x1a193c),_0x2e4aad=new Set();for(let _0x3d8dc4=0x0;_0x3d8dc4<_0x49f2f7[_0x4a4a1b(0x182)];_0x3d8dc4++){const [_0x4e6b8d,_0x4f5d04]=_0x49f2f7[_0x3d8dc4],_0x16d53a=_0x2e4aad[_0x4a4a1b(0x1a1)](_0x4e6b8d);_0x16d53a||_0x4f5d04['sparklines'][_0x4a4a1b(0x1cd)]((_0x56f50c,_0x51f463,_0x4a8da1)=>{const _0x1a1756=_0x4a4a1b,_0x1885be=_0x4a8da1;if(_0x1885be&&!_0x16d53a){for(const _0x3fd231 of _0x50f43e)if(_0x1c6071['Rectangle'][_0x1a1756(0x17b)](_0x3fd231,_0x1885be)){_0x2e4aad[_0x1a1756(0x1ca)](_0x4e6b8d);break;}}});}_0x2e4aad['forEach'](_0x313625=>{const _0x1e7aab=_0x4a4a1b;this[_0x1e7aab(0x215)]['clearSparklineCache'](_0x3153b9,_0x3f12a6,_0x313625),this[_0x1e7aab(0x215)][_0x1e7aab(0x132)](_0x3153b9,_0x3f12a6,_0x313625);});}));}};_0x3b286e=_0x15d12f([_0x366a38(0x0,_0x1c6071['Inject'](_0x1c6071[_0x3aa980(0x16c)])),_0x366a38(0x1,_0x1c6071[_0x3aa980(0x1ce)](_0x18aa2b[_0x3aa980(0x162)])),_0x366a38(0x2,_0x1c6071[_0x3aa980(0x1ce)](_0x3a66cf[_0x3aa980(0x219)]))],_0x3b286e);var _0x2f5406=Object[_0x3aa980(0x205)],_0x2c55a6=(_0x7f357e,_0x1500a3,_0x375f5e,_0x4dab97)=>{const _0x3eb44a=_0x3aa980;for(var _0x149b50=_0x4dab97>0x1?void 0x0:_0x4dab97?_0x2f5406(_0x1500a3,_0x375f5e):_0x1500a3,_0x7db5e0=_0x7f357e[_0x3eb44a(0x182)]-0x1,_0x5c4b17;_0x7db5e0>=0x0;_0x7db5e0--)(_0x5c4b17=_0x7f357e[_0x7db5e0])&&(_0x149b50=_0x5c4b17(_0x149b50)||_0x149b50);return _0x149b50;},_0x4d554e=(_0x1a635c,_0x565a5d)=>(_0x40082f,_0x1338a8)=>_0x565a5d(_0x40082f,_0x1338a8,_0x1a635c);let _0x4cfaac=class extends _0x1c6071[_0x3aa980(0x1da)]{constructor(_0x97b829,_0x202ebd){const _0x41d003=_0x3aa980;super(),this[_0x41d003(0x1c3)]=_0x97b829,this[_0x41d003(0x215)]=_0x202ebd,this[_0x41d003(0x179)]();}[_0x3aa980(0x179)](){const _0x568ce0=_0x3aa980;this[_0x568ce0(0x1c3)][_0x568ce0(0x171)](_0x35b9d9=>{const _0x1f08f7=_0x568ce0;if(_0x35b9d9['id']===_0x3a66cf[_0x1f08f7(0x130)]['id']||_0x35b9d9['id']===_0x3a66cf[_0x1f08f7(0x1c1)]['id']||_0x35b9d9['id']===_0x3a66cf[_0x1f08f7(0x16d)]['id']||_0x35b9d9['id']===_0x3a66cf[_0x1f08f7(0x160)]['id']){const _0xfd726b=_0x35b9d9[_0x1f08f7(0x1b0)],{ranges:_0x5cd556,unitId:_0x2e12af,subUnitId:_0x5558ca}=_0xfd726b,_0x53a8c6=new Set(),_0x2a4476=this[_0x1f08f7(0x215)][_0x1f08f7(0x142)](_0x2e12af,_0x5558ca);if(!_0x2a4476)return;const _0x20370a=Array[_0x1f08f7(0x1f8)](_0x2a4476);_0x5cd556['forEach'](_0x2a62fc=>{const _0x3f7f19=_0x1f08f7;_0x1c6071[_0x3f7f19(0x144)][_0x3f7f19(0x1e8)](_0x2a62fc,(_0x1ee1be,_0x399b48)=>{const _0x23c1d9=_0x3f7f19,_0x5baf3b=_0x1c6071[_0x23c1d9(0x1aa)](_0x1ee1be,_0x399b48);for(let _0x32a08d=0x0;_0x32a08d<_0x20370a[_0x23c1d9(0x182)];_0x32a08d++){const [_0x489ae3,_0x5ea809]=_0x20370a[_0x32a08d],_0x5d7445=_0x53a8c6[_0x23c1d9(0x1a1)](_0x489ae3);_0x5d7445||_0x5ea809[_0x23c1d9(0x127)][_0x23c1d9(0x1cd)]((_0x4558c1,_0x3c2a5d,_0x41a225)=>{const _0x3e283d=_0x23c1d9,_0x3e7f4f=_0x41a225;if(_0x3e7f4f&&!_0x5d7445&&_0x1c6071[_0x3e283d(0x1ae)][_0x3e283d(0x17b)](_0x5baf3b,_0x3e7f4f))return _0x53a8c6[_0x3e283d(0x1ca)](_0x489ae3),!0x0;});}});}),_0x53a8c6[_0x1f08f7(0x18d)](_0x7178a2=>{const _0x48fb37=_0x1f08f7;this[_0x48fb37(0x215)][_0x48fb37(0x21a)](_0x2e12af,_0x5558ca,_0x7178a2),this[_0x48fb37(0x215)][_0x48fb37(0x132)](_0x2e12af,_0x5558ca,_0x7178a2);});}});}};_0x4cfaac=_0x2c55a6([_0x4d554e(0x0,_0x1c6071[_0x3aa980(0x1ce)](_0x1c6071[_0x3aa980(0x16c)])),_0x4d554e(0x1,_0x1c6071[_0x3aa980(0x1ce)](_0x18aa2b[_0x3aa980(0x162)]))],_0x4cfaac);var _0x417fdd=Object[_0x3aa980(0x205)],_0x32a4dd=(_0x33519e,_0x42c7e7,_0xe4c891,_0x41f33d)=>{const _0x438887=_0x3aa980;for(var _0x248d45=_0x41f33d>0x1?void 0x0:_0x41f33d?_0x417fdd(_0x42c7e7,_0xe4c891):_0x42c7e7,_0xa65f80=_0x33519e[_0x438887(0x182)]-0x1,_0x472944;_0xa65f80>=0x0;_0xa65f80--)(_0x472944=_0x33519e[_0xa65f80])&&(_0x248d45=_0x472944(_0x248d45)||_0x248d45);return _0x248d45;},_0x17525b=(_0x34c345,_0x3ba14b)=>(_0x3f9d08,_0xc661d3)=>_0x3ba14b(_0x3f9d08,_0xc661d3,_0x34c345);let _0x3235a3=class extends _0x1c6071[_0x3aa980(0x1da)]{constructor(_0x4d8919,_0x562130,_0x23a234){const _0x2fee5f=_0x3aa980;super(),this[_0x2fee5f(0x1c3)]=_0x4d8919,this[_0x2fee5f(0x1f1)]=_0x562130,this['_sparklineDataSourceModel']=_0x23a234,this['_initMergeWithSparkline']();}[_0x3aa980(0x1c0)](){const _0x3783df=_0x3aa980;this[_0x3783df(0x1b3)](this[_0x3783df(0x1f1)]['interceptCommand']({'getMutations':_0x483d1c=>{const _0x252ef2=_0x3783df,_0x272f71=[],_0x4eb48b=[];if(_0x483d1c['id']===_0x3a66cf[_0x252ef2(0x1ab)]['id']){const _0x156ed3=_0x483d1c[_0x252ef2(0x1b0)];if(!_0x156ed3)return{'redos':_0x272f71,'undos':_0x4eb48b};const {unitId:_0x250bdf,subUnitId:_0x5e69e9,ranges:_0x317aa1}=_0x156ed3,_0x7e07b1=this[_0x252ef2(0x215)][_0x252ef2(0x142)](_0x250bdf,_0x5e69e9);if(!_0x7e07b1)return{'redos':_0x272f71,'undos':_0x4eb48b};const _0x5e48e7={},_0x2a94f1={},_0x5083aa=new Set();_0x317aa1[_0x252ef2(0x18d)](_0x2fa690=>{const _0x12fc78=_0x252ef2,_0x1d9c26=_0x2fa690[_0x12fc78(0x1ba)],_0x5dd667=_0x2fa690[_0x12fc78(0x216)];_0x1c6071[_0x12fc78(0x144)]['foreach'](_0x2fa690,(_0x363712,_0x68dd9c)=>{const _0x1b343d=_0x12fc78,_0x185c01=this[_0x1b343d(0x215)]['getSparkline'](_0x250bdf,_0x5e69e9,_0x363712,_0x68dd9c);if(_0x185c01&&!(_0x363712===_0x1d9c26&&_0x68dd9c===_0x5dd667)){const _0x322ae0=this[_0x1b343d(0x215)][_0x1b343d(0x13e)](_0x250bdf,_0x5e69e9,_0x185c01);if(_0x322ae0){_0x5083aa['add'](_0x185c01);let _0x3479b3=_0x5e48e7[_0x185c01];_0x3479b3||(_0x3479b3={'config':_0x1c6071[_0x1b343d(0x1cb)][_0x1b343d(0x16f)](_0x322ae0[_0x1b343d(0x1e3)]),'sparklines':new _0x1c6071['ObjectMatrix'](_0x322ae0[_0x1b343d(0x127)]['clone']())},_0x5e48e7[_0x185c01]=_0x3479b3),_0x3479b3['sparklines'][_0x1b343d(0x1e0)](_0x363712,_0x68dd9c),_0x2a94f1[_0x185c01]={'config':_0x1c6071['Tools'][_0x1b343d(0x16f)](_0x322ae0[_0x1b343d(0x1e3)]),'sparklines':_0x1c6071[_0x1b343d(0x1cb)][_0x1b343d(0x16f)](_0x322ae0[_0x1b343d(0x127)]['clone']())};}}});});for(const [_0x1292f5,_0x1b0089]of _0x7e07b1){const _0x3a28db=_0x1b0089[_0x252ef2(0x127)];_0x3a28db[_0x252ef2(0x1cd)]((_0x5f583e,_0x5a759e,_0x4ecb67)=>{const _0x338026=_0x252ef2;for(let _0x263b36=0x0;_0x263b36<_0x317aa1[_0x338026(0x182)];_0x263b36++){const _0x30fe0f=_0x317aa1[_0x263b36];if(_0x1c6071[_0x338026(0x1ae)]['contains'](_0x30fe0f,_0x4ecb67)){_0x5083aa[_0x338026(0x1ca)](_0x1292f5);let _0x998ed6=_0x5e48e7[_0x1292f5];_0x998ed6||(_0x998ed6={'config':_0x1c6071[_0x338026(0x1cb)][_0x338026(0x16f)](_0x1b0089[_0x338026(0x1e3)]),'sparklines':new _0x1c6071[(_0x338026(0x1e2))](_0x3a28db['clone']())},_0x5e48e7[_0x1292f5]=_0x998ed6),_0x998ed6[_0x338026(0x127)][_0x338026(0x1e0)](_0x5f583e,_0x5a759e),_0x2a94f1[_0x1292f5]||(_0x2a94f1[_0x1292f5]={'config':_0x1c6071[_0x338026(0x1cb)][_0x338026(0x16f)](_0x1b0089[_0x338026(0x1e3)]),'sparklines':_0x1c6071[_0x338026(0x1cb)][_0x338026(0x16f)](_0x3a28db[_0x338026(0x124)]())});}}});}const _0x1baf79={};Object[_0x252ef2(0x13c)](_0x5e48e7)[_0x252ef2(0x18d)](([_0x294015,_0x333258])=>{const _0x42e9ac=_0x252ef2;_0x333258[_0x42e9ac(0x127)][_0x42e9ac(0x20c)]()&&(_0x1baf79[_0x294015]={'config':_0x333258[_0x42e9ac(0x1e3)],'sparklines':_0x333258[_0x42e9ac(0x127)]['clone']()});}),_0x5083aa[_0x252ef2(0x16a)]&&(_0x272f71[_0x252ef2(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x250bdf,'subUnitId':_0x5e69e9,'groupIds':Array['from'](_0x5083aa),'isSingle':!0x1}}),_0x4eb48b[_0x252ef2(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x250bdf,'subUnitId':_0x5e69e9,'groupIds':Array['from'](_0x5083aa),'isSingle':!0x1}}),_0x272f71['push']({'id':_0x4f2e31['id'],'params':{'unitId':_0x250bdf,'subUnitId':_0x5e69e9,'sparklineConfigMap':_0x1baf79}}),_0x4eb48b[_0x252ef2(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x250bdf,'subUnitId':_0x5e69e9,'sparklineConfigMap':_0x2a94f1}}));}return{'redos':_0x272f71,'undos':_0x4eb48b};}}));}};_0x3235a3=_0x32a4dd([_0x17525b(0x0,_0x1c6071[_0x3aa980(0x1ce)](_0x1c6071[_0x3aa980(0x16c)])),_0x17525b(0x1,_0x1c6071['Inject'](_0x3a66cf['SheetInterceptorService'])),_0x17525b(0x2,_0x1c6071[_0x3aa980(0x1ce)](_0x18aa2b[_0x3aa980(0x162)]))],_0x3235a3);var _0x28b10a=Object[_0x3aa980(0x205)],_0x2da4fe=(_0x2390c2,_0x3dbe85,_0x4f4e65,_0x538297)=>{const _0x4880da=_0x3aa980;for(var _0xbd5941=_0x538297>0x1?void 0x0:_0x538297?_0x28b10a(_0x3dbe85,_0x4f4e65):_0x3dbe85,_0x43c19d=_0x2390c2[_0x4880da(0x182)]-0x1,_0xa68a6e;_0x43c19d>=0x0;_0x43c19d--)(_0xa68a6e=_0x2390c2[_0x43c19d])&&(_0xbd5941=_0xa68a6e(_0xbd5941)||_0xbd5941);return _0xbd5941;},_0xfd63dd=(_0x5a3f52,_0x289762)=>(_0x5af9e0,_0x199af3)=>_0x289762(_0x5af9e0,_0x199af3,_0x5a3f52);let _0xbd22cf=class extends _0x1c6071[_0x3aa980(0x1da)]{constructor(_0x273abd,_0x245ca2,_0x510d24,_0x7a75f1){const _0x2b34be=_0x3aa980;super(),_0x14fdc8(this,_0x2b34be(0x15f),new _0x1c6071[(_0x2b34be(0x1dc))]()),(this[_0x2b34be(0x1c3)]=_0x273abd,this[_0x2b34be(0x1bc)]=_0x245ca2,this[_0x2b34be(0x190)]=_0x510d24,this[_0x2b34be(0x215)]=_0x7a75f1,this[_0x2b34be(0x12f)](),this[_0x2b34be(0x1ea)]());}['_onRefRangeChange'](){const _0xeeba1b=_0x3aa980,_0x2aef3e=(_0x12b2d6,_0xd1d667)=>{const _0x3f3bf9=_0x2366,_0x4df6b2=this['_univerInstanceService'][_0x3f3bf9(0x13b)](_0x1c6071[_0x3f3bf9(0x156)][_0x3f3bf9(0x19d)]);if(!_0x4df6b2||!(_0x4df6b2==null?void 0x0:_0x4df6b2[_0x3f3bf9(0x172)](_0xd1d667)))return;this[_0x3f3bf9(0x15f)][_0x3f3bf9(0x192)]();const _0x499410=_0x4a2f24=>this[_0x3f3bf9(0x19f)](_0x4a2f24,_0x12b2d6,_0xd1d667),_0x5023b6=[],_0x289d30=this[_0x3f3bf9(0x215)]['getSubUnitSparkline'](_0x12b2d6,_0xd1d667);if(_0x289d30){for(const [_0x5b0dc4,_0x297c3a]of _0x289d30)_0x297c3a[_0x3f3bf9(0x127)][_0x3f3bf9(0x1cd)]((_0x50567a,_0x2b8c25,_0x5e6ac5)=>{const _0x5062aa=_0x3f3bf9,_0x3bd72f=_0x1c6071[_0x5062aa(0x1aa)](_0x50567a,_0x2b8c25);_0x5023b6[_0x5062aa(0x1cf)](_0x3bd72f);});_0x5023b6[_0x3f3bf9(0x18d)](_0x31ffa9=>{const _0xf946fe=_0x3f3bf9;this[_0xf946fe(0x15f)][_0xf946fe(0x1ca)](this[_0xf946fe(0x1bc)][_0xf946fe(0x1d8)](_0x31ffa9,_0x499410,_0x12b2d6,_0xd1d667));});}};this['disposeWithMe'](this[_0xeeba1b(0x1c3)]['onCommandExecuted'](_0x1aa1ec=>{const _0x543c5b=_0xeeba1b;if(_0x1aa1ec['id']===_0x3a66cf[_0x543c5b(0x17f)]['id']){const _0x33c3cf=_0x1aa1ec['params'],_0x4ad307=_0x33c3cf[_0x543c5b(0x1f7)],_0x422670=_0x33c3cf[_0x543c5b(0x204)];if(!_0x4ad307||!_0x422670)return;_0x2aef3e(_0x422670,_0x4ad307);}if(_0x1aa1ec['id']===_0xaf9021['id']||_0x1aa1ec['id']===_0x4f2e31['id']){const _0x19b9ee=_0x1aa1ec[_0x543c5b(0x1b0)],_0x166e04=_0x19b9ee[_0x543c5b(0x1f7)],_0x3b4ac2=_0x19b9ee['unitId'];if(!_0x166e04||!_0x3b4ac2)return;_0x2aef3e(_0x3b4ac2,_0x166e04);}}));}[_0x3aa980(0x19f)](_0x58b565,_0x1f888d,_0x42538e){const _0x5b37ea=_0x3aa980;switch(_0x58b565['id']){case _0x3a66cf[_0x5b37ea(0x20f)]['id']:return this[_0x5b37ea(0x20b)](_0x58b565[_0x5b37ea(0x1b0)],_0x1f888d,_0x42538e);case _0x3a66cf['RemoveRowCommand']['id']:return this[_0x5b37ea(0x139)](_0x58b565[_0x5b37ea(0x1b0)],_0x1f888d,_0x42538e);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x1fbb5f,_0x40285c,_0x5688dd){const _0x245425=_0x3aa980;var _0x47fb4f,_0xa2e3e1;const {range:_0xcd9bea}=_0x1fbb5f,_0x463a74=new Set(),_0x519483={},_0x56ae3c={},_0x1ade74=[],_0x58bc95=[],_0x2f5bdc=[],_0x3c6529=[];if(!_0x3a66cf[_0x245425(0x1c6)](this['_univerInstanceService'],{'unitId':_0x40285c,'subUnitId':_0x5688dd}))return{'redos':_0x58bc95,'undos':_0x1ade74};const _0x32e530=this[_0x245425(0x215)]['getSubUnitSparkline'](_0x40285c,_0x5688dd);if(!_0x32e530)return{'redos':_0x58bc95,'undos':_0x1ade74};if(!((_0xa2e3e1=(_0x47fb4f=this[_0x245425(0x215)][_0x245425(0x1a8)]()[_0x245425(0x18e)][_0x245425(0x157)](_0x40285c))==null?void 0x0:_0x47fb4f[_0x245425(0x157)](_0x5688dd))==null?void 0x0:_0xa2e3e1[_0x245425(0x21d)]))return{'redos':_0x58bc95,'undos':_0x1ade74};for(const [_0x47f4a1,_0x428b86]of _0x32e530){const _0x47d641=_0x428b86[_0x245425(0x127)];_0x47d641['forValue']((_0x5b8073,_0x39cd87,_0x208c3c)=>{const _0x542dc3=_0x245425;if(_0x1c6071[_0x542dc3(0x1ae)][_0x542dc3(0x17b)](_0xcd9bea,_0x208c3c)){_0x463a74[_0x542dc3(0x1ca)](_0x47f4a1);let _0x2d171e=_0x56ae3c[_0x47f4a1];_0x2d171e||(_0x2d171e={'config':_0x428b86[_0x542dc3(0x1e3)],'sparklines':_0x428b86[_0x542dc3(0x127)][_0x542dc3(0x124)]()},_0x56ae3c[_0x47f4a1]=_0x2d171e);let _0x2a6d0a=_0x519483[_0x47f4a1];_0x2a6d0a||(_0x2a6d0a={'config':_0x428b86[_0x542dc3(0x1e3)],'sparklines':new _0x1c6071[(_0x542dc3(0x1e2))](_0x428b86[_0x542dc3(0x127)][_0x542dc3(0x124)]())},_0x519483[_0x47f4a1]=_0x2a6d0a);const _0x157246=_0x3a66cf[_0x542dc3(0x1b2)](_0x208c3c,{'id':_0x3a66cf[_0x542dc3(0x1a6)]['id'],'params':_0x1fbb5f});_0x157246?_0x2a6d0a[_0x542dc3(0x127)][_0x542dc3(0x15c)](_0x5b8073,_0x39cd87,_0x157246):_0x2a6d0a[_0x542dc3(0x127)][_0x542dc3(0x15c)](_0x5b8073,_0x39cd87,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1c6071[_0x542dc3(0x1df)]['NORMAL']});}}),_0x47d641[_0x245425(0x1cd)]((_0x4eb9e6,_0x5e9a05,_0x14d02b)=>{const _0x203354=_0x245425;if(_0x4eb9e6<=_0xcd9bea[_0x203354(0x1ff)]&&_0x4eb9e6>=_0xcd9bea[_0x203354(0x1ba)]){_0x463a74['add'](_0x47f4a1);let _0x173dd2=_0x56ae3c[_0x47f4a1];_0x173dd2||(_0x173dd2={'config':_0x428b86[_0x203354(0x1e3)],'sparklines':_0x428b86[_0x203354(0x127)]['clone']()},_0x56ae3c[_0x47f4a1]=_0x173dd2);let _0x5c7eae=_0x519483[_0x47f4a1];_0x5c7eae||(_0x5c7eae={'config':_0x428b86[_0x203354(0x1e3)],'sparklines':new _0x1c6071[(_0x203354(0x1e2))](_0x428b86[_0x203354(0x127)][_0x203354(0x124)]())},_0x519483[_0x47f4a1]=_0x5c7eae);}});}_0x3c6529[_0x245425(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x40285c,'subUnitId':_0x5688dd,'groupIds':Array[_0x245425(0x1f8)](_0x463a74),'isSingle':!0x1}}),_0x2f5bdc[_0x245425(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x40285c,'subUnitId':_0x5688dd,'groupIds':Array[_0x245425(0x1f8)](_0x463a74),'isSingle':!0x1}});const _0x1d3d06={};let _0x30e803=!0x1;return Object[_0x245425(0x13c)](_0x519483)[_0x245425(0x18d)](([_0x1daf29,_0x65deeb])=>{const _0x591837=_0x245425;_0x65deeb[_0x591837(0x127)][_0x591837(0x20c)]()&&(_0x30e803=!0x0,_0x65deeb[_0x591837(0x127)][_0x591837(0x155)](_0xcd9bea['startRow'],_0xcd9bea['endRow']-_0xcd9bea[_0x591837(0x1ba)]+0x1),_0x1d3d06[_0x1daf29]={'config':_0x65deeb[_0x591837(0x1e3)],'sparklines':_0x65deeb[_0x591837(0x127)][_0x591837(0x124)]()});}),_0x30e803&&_0x58bc95[_0x245425(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x40285c,'subUnitId':_0x5688dd,'sparklineConfigMap':_0x1d3d06}}),_0x1ade74['push']({'id':_0x4f2e31['id'],'params':{'unitId':_0x40285c,'subUnitId':_0x5688dd,'sparklineConfigMap':_0x56ae3c}}),{'redos':_0x58bc95,'undos':_0x1ade74,'preRedos':_0x2f5bdc,'preUndos':_0x3c6529};}[_0x3aa980(0x20b)](_0x4c53ba,_0x52b56f,_0x5f0758){const _0x5a6c6f=_0x3aa980;var _0x5487ea,_0x5727ba;const {range:_0x181068}=_0x4c53ba,_0x57dcbe=new Set(),_0x281fe6={},_0x655476={},_0x412c25=[],_0xb4c7f0=[],_0x63d111=[],_0x35ca97=[];if(!_0x3a66cf[_0x5a6c6f(0x1c6)](this['_univerInstanceService'],{'unitId':_0x52b56f,'subUnitId':_0x5f0758}))return{'redos':_0xb4c7f0,'undos':_0x412c25};const _0x596993=this['_sparklineDataSourceModel'][_0x5a6c6f(0x142)](_0x52b56f,_0x5f0758);if(!_0x596993)return{'redos':_0xb4c7f0,'undos':_0x412c25};if(!((_0x5727ba=(_0x5487ea=this[_0x5a6c6f(0x215)]['getSparklineCache']()[_0x5a6c6f(0x18e)][_0x5a6c6f(0x157)](_0x52b56f))==null?void 0x0:_0x5487ea[_0x5a6c6f(0x157)](_0x5f0758))==null?void 0x0:_0x5727ba[_0x5a6c6f(0x21d)]))return{'redos':_0xb4c7f0,'undos':_0x412c25};for(const [_0x131437,_0x33f4e4]of _0x596993){const _0x2e872f=_0x33f4e4[_0x5a6c6f(0x127)];_0x2e872f[_0x5a6c6f(0x1cd)]((_0x77797b,_0x4482de,_0x4fca63)=>{const _0x1235bc=_0x5a6c6f;if(_0x1c6071[_0x1235bc(0x1ae)][_0x1235bc(0x17b)](_0x181068,_0x4fca63)){_0x57dcbe['add'](_0x131437);let _0x4cfe66=_0x655476[_0x131437];_0x4cfe66||(_0x4cfe66={'config':_0x33f4e4['config'],'sparklines':_0x33f4e4[_0x1235bc(0x127)][_0x1235bc(0x124)]()},_0x655476[_0x131437]=_0x4cfe66);let _0x349a65=_0x281fe6[_0x131437];_0x349a65||(_0x349a65={'config':_0x33f4e4[_0x1235bc(0x1e3)],'sparklines':new _0x1c6071['ObjectMatrix'](_0x33f4e4[_0x1235bc(0x127)]['clone']())},_0x281fe6[_0x131437]=_0x349a65);const _0x13592c=_0x3a66cf[_0x1235bc(0x1b2)](_0x4fca63,{'id':_0x3a66cf[_0x1235bc(0x150)]['id'],'params':_0x4c53ba});_0x13592c?_0x349a65[_0x1235bc(0x127)]['setValue'](_0x77797b,_0x4482de,_0x13592c):_0x349a65[_0x1235bc(0x127)]['setValue'](_0x77797b,_0x4482de,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1c6071[_0x1235bc(0x1df)][_0x1235bc(0x14f)]});}}),_0x2e872f[_0x5a6c6f(0x1cd)]((_0x3ad1bb,_0x24725b,_0x10f825)=>{const _0xe466cb=_0x5a6c6f;if(_0x24725b<=_0x181068[_0xe466cb(0x1ad)]&&_0x24725b>=_0x181068['startColumn']){_0x57dcbe['add'](_0x131437);let _0x4c793d=_0x655476[_0x131437];_0x4c793d||(_0x4c793d={'config':_0x33f4e4[_0xe466cb(0x1e3)],'sparklines':_0x33f4e4[_0xe466cb(0x127)][_0xe466cb(0x124)]()},_0x655476[_0x131437]=_0x4c793d);let _0xac1293=_0x281fe6[_0x131437];_0xac1293||(_0xac1293={'config':_0x33f4e4[_0xe466cb(0x1e3)],'sparklines':new _0x1c6071[(_0xe466cb(0x1e2))](_0x33f4e4['sparklines'][_0xe466cb(0x124)]())},_0x281fe6[_0x131437]=_0xac1293);}});}_0x35ca97[_0x5a6c6f(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x52b56f,'subUnitId':_0x5f0758,'groupIds':Array[_0x5a6c6f(0x1f8)](_0x57dcbe),'isSingle':!0x1}}),_0x63d111[_0x5a6c6f(0x1cf)]({'id':_0x24f8f4['id'],'params':{'unitId':_0x52b56f,'subUnitId':_0x5f0758,'groupIds':Array[_0x5a6c6f(0x1f8)](_0x57dcbe),'isSingle':!0x1}});const _0x38d98d={};let _0x55d62d=!0x1;return Object[_0x5a6c6f(0x13c)](_0x281fe6)[_0x5a6c6f(0x18d)](([_0x12fe1b,_0x3d18e4])=>{const _0x4e60fb=_0x5a6c6f;_0x3d18e4[_0x4e60fb(0x127)][_0x4e60fb(0x20c)]()&&(_0x55d62d=!0x0,_0x3d18e4[_0x4e60fb(0x127)]['removeColumns'](_0x181068['startColumn'],_0x181068[_0x4e60fb(0x1ad)]-_0x181068[_0x4e60fb(0x216)]+0x1),_0x38d98d[_0x12fe1b]={'config':_0x3d18e4['config'],'sparklines':_0x3d18e4[_0x4e60fb(0x127)][_0x4e60fb(0x124)]()});}),_0x55d62d&&_0xb4c7f0[_0x5a6c6f(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x52b56f,'subUnitId':_0x5f0758,'sparklineConfigMap':_0x38d98d}}),_0x412c25[_0x5a6c6f(0x1cf)]({'id':_0x4f2e31['id'],'params':{'unitId':_0x52b56f,'subUnitId':_0x5f0758,'sparklineConfigMap':_0x655476}}),{'redos':_0xb4c7f0,'undos':_0x412c25,'preRedos':_0x63d111,'preUndos':_0x35ca97};}['_initCorrectRangeWithSparkline'](){const _0x5172f6=_0x3aa980;this[_0x5172f6(0x1b3)](this['_commandService'][_0x5172f6(0x171)](_0x59734a=>{const _0x428f27=_0x5172f6;if(_0x59734a['id']===_0x3a66cf['InsertColMutation']['id']){const _0x26f48a=_0x59734a[_0x428f27(0x1b0)],{unitId:_0x5f1303,subUnitId:_0x34e416,range:_0x42ec8d}=_0x26f48a,_0x3f1d24=_0x42ec8d[_0x428f27(0x216)],_0x4507d6=_0x42ec8d[_0x428f27(0x1ad)]-_0x42ec8d[_0x428f27(0x216)]+0x1,_0xed8318=this[_0x428f27(0x215)][_0x428f27(0x142)](_0x5f1303,_0x34e416);if(!_0xed8318)return;for(const [_0x1d7f5,_0x7e1c12]of _0xed8318){this[_0x428f27(0x215)][_0x428f27(0x21a)](_0x5f1303,_0x34e416,_0x1d7f5);const _0x23c911=_0x7e1c12['sparklines'];_0x23c911['forValue']((_0x1675cb,_0x537eaf,_0x20b344)=>{const _0x43d44a=_0x428f27,_0x4b3119={..._0x20b344};_0x3f1d24<=_0x4b3119[_0x43d44a(0x216)]?(_0x4b3119[_0x43d44a(0x216)]+=_0x4507d6,_0x4b3119[_0x43d44a(0x1ad)]+=_0x4507d6):_0x3f1d24>_0x4b3119[_0x43d44a(0x1ad)]||(_0x4b3119[_0x43d44a(0x1ad)]+=_0x4507d6),_0x23c911['setValue'](_0x1675cb,_0x537eaf,_0x4b3119);});const _0x3434e8=_0x23c911[_0x428f27(0x18b)]();for(const _0x315d4f in _0x3434e8){const _0x543163=_0x3434e8[Number(_0x315d4f)];if(!_0x543163)continue;const _0x1ebc6b=Object[_0x428f27(0x16b)](_0x543163)[_0x428f27(0x138)](Number),_0x84f485=Math[_0x428f27(0x173)](..._0x1ebc6b);for(let _0x4cdb01=_0x84f485;_0x4cdb01>=_0x3f1d24;_0x4cdb01--)_0x4cdb01>=_0x3f1d24&&_0x543163[_0x4cdb01]&&(_0x543163[_0x4cdb01+_0x4507d6]=_0x543163[_0x4cdb01],delete _0x543163[_0x4cdb01]);}this['_sparklineDataSourceModel'][_0x428f27(0x132)](_0x5f1303,_0x34e416,_0x1d7f5);}}else{if(_0x59734a['id']===_0x3a66cf[_0x428f27(0x169)]['id']){const _0x4217c6=_0x59734a[_0x428f27(0x1b0)],{unitId:_0x3a8a1b,subUnitId:_0x1a52b9,range:_0x31d003}=_0x4217c6,_0x192d82=_0x31d003[_0x428f27(0x1ba)],_0x54a6c5=_0x31d003[_0x428f27(0x1ff)]-_0x31d003['startRow']+0x1,_0x591037=this[_0x428f27(0x215)][_0x428f27(0x142)](_0x3a8a1b,_0x1a52b9);if(!_0x591037)return;for(const [_0x4d2ef7,_0x214395]of _0x591037){this[_0x428f27(0x215)][_0x428f27(0x21a)](_0x3a8a1b,_0x1a52b9,_0x4d2ef7);const _0x43c00c=_0x214395['sparklines'];_0x43c00c[_0x428f27(0x1cd)]((_0x1b23f3,_0x4fccdf,_0x38693e)=>{const _0x8e65c5=_0x428f27,_0x207a37={..._0x38693e};_0x192d82<=_0x207a37['startRow']?(_0x207a37['startRow']+=_0x54a6c5,_0x207a37[_0x8e65c5(0x1ff)]+=_0x54a6c5):_0x192d82>_0x207a37[_0x8e65c5(0x1ff)]||(_0x207a37[_0x8e65c5(0x1ff)]+=_0x54a6c5),_0x43c00c[_0x8e65c5(0x15c)](_0x1b23f3,_0x4fccdf,_0x207a37);});const _0x1690d9=_0x43c00c['getMatrix'](),_0x3f8fa2=Object[_0x428f27(0x16b)](_0x1690d9)['map'](Number),_0x467146=Math[_0x428f27(0x173)](..._0x3f8fa2);for(let _0x3a38f2=_0x467146;_0x3a38f2>=_0x192d82;_0x3a38f2--)_0x3a38f2>=_0x192d82&&_0x1690d9[_0x3a38f2]&&(_0x1690d9[_0x3a38f2+_0x54a6c5]=_0x1690d9[_0x3a38f2],delete _0x1690d9[_0x3a38f2]);this['_sparklineDataSourceModel']['updateSparklineExtraNum'](_0x3a8a1b,_0x1a52b9,_0x4d2ef7);}}else{if(_0x59734a['id']===_0x3a66cf[_0x428f27(0x150)]['id']){const _0x9b31e2=_0x59734a[_0x428f27(0x1b0)],{range:_0x167183,unitId:_0x26bedb,subUnitId:_0x8dfbd3}=_0x9b31e2,_0x232909=this[_0x428f27(0x215)]['getSubUnitSparkline'](_0x26bedb,_0x8dfbd3);if(!_0x232909)return;for(const [_0x719944,_0x10384e]of _0x232909){const _0x4b47d9=_0x10384e['sparklines'];_0x4b47d9['forValue']((_0x56ab82,_0x4d982d,_0x52b6bc)=>{const _0x3a3f54=_0x428f27,_0x313e4a=_0x3a66cf[_0x3a3f54(0x1b2)](_0x52b6bc,_0x59734a);_0x313e4a?_0x4b47d9['setValue'](_0x56ab82,_0x4d982d,_0x313e4a):_0x4b47d9['setValue'](_0x56ab82,_0x4d982d,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1c6071[_0x3a3f54(0x1df)][_0x3a3f54(0x14f)]});}),_0x4b47d9[_0x428f27(0x20d)](_0x167183[_0x428f27(0x216)],_0x167183[_0x428f27(0x1ad)]-_0x167183[_0x428f27(0x216)]+0x1);}this[_0x428f27(0x215)][_0x428f27(0x174)](_0x26bedb,_0x8dfbd3);}else{if(_0x59734a['id']===_0x3a66cf['RemoveRowMutation']['id']){const _0x5bf2f5=_0x59734a[_0x428f27(0x1b0)],{range:_0x48d992,unitId:_0x4f5d17,subUnitId:_0x2c0ea9}=_0x5bf2f5,_0x21d454=this['_sparklineDataSourceModel'][_0x428f27(0x142)](_0x4f5d17,_0x2c0ea9);if(!_0x21d454)return;for(const [_0x2fc01a,_0x25f64a]of _0x21d454){const _0x15ef24=_0x25f64a[_0x428f27(0x127)];_0x15ef24[_0x428f27(0x1cd)]((_0x120be6,_0x1f7220,_0x347b0a)=>{const _0x1824fa=_0x428f27,_0x21e2e3=_0x3a66cf['adjustRangeOnMutation'](_0x347b0a,_0x59734a);_0x21e2e3?_0x15ef24['setValue'](_0x120be6,_0x1f7220,_0x21e2e3):_0x15ef24[_0x1824fa(0x15c)](_0x120be6,_0x1f7220,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1c6071[_0x1824fa(0x1df)][_0x1824fa(0x14f)]});}),_0x15ef24['removeRows'](_0x48d992[_0x428f27(0x1ba)],_0x48d992[_0x428f27(0x1ff)]-_0x48d992['startRow']+0x1);}this[_0x428f27(0x215)][_0x428f27(0x174)](_0x4f5d17,_0x2c0ea9);}else{if(_0x59734a['id']===_0x3a66cf[_0x428f27(0x1b5)]['id']){const _0x4638d9=_0x59734a[_0x428f27(0x1b0)],{unitId:_0x16a376,subUnitId:_0x397cae,sourceRange:_0x463708,targetRange:_0x28536e}=_0x4638d9,_0x4b35d6=this[_0x428f27(0x215)][_0x428f27(0x142)](_0x16a376,_0x397cae);if(!_0x4b35d6)return;for(const [_0xed38e4,_0x501d07]of _0x4b35d6){const _0x1a44cd=_0x501d07[_0x428f27(0x127)];_0x1a44cd[_0x428f27(0x1cd)]((_0x1eb9f6,_0x310769,_0x2dddfd)=>{const _0x2ec1d8=_0x428f27,_0x3c5365=_0x3a66cf['adjustRangeOnMutation'](_0x2dddfd,_0x59734a);_0x3c5365?_0x1a44cd[_0x2ec1d8(0x15c)](_0x1eb9f6,_0x310769,_0x3c5365):_0x1a44cd[_0x2ec1d8(0x15c)](_0x1eb9f6,_0x310769,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1c6071[_0x2ec1d8(0x1df)][_0x2ec1d8(0x14f)]});}),_0x1a44cd[_0x428f27(0x140)](_0x463708[_0x428f27(0x216)],_0x463708[_0x428f27(0x1ad)]-_0x463708[_0x428f27(0x216)]+0x1,_0x28536e[_0x428f27(0x216)]);}this[_0x428f27(0x215)][_0x428f27(0x174)](_0x16a376,_0x397cae);}else{if(_0x59734a['id']===_0x3a66cf[_0x428f27(0x148)]['id']){const _0x2148a5=_0x59734a[_0x428f27(0x1b0)],{unitId:_0x51416d,subUnitId:_0x16de06,sourceRange:_0x58fbbc,targetRange:_0x92b564}=_0x2148a5,_0x50daa=this['_sparklineDataSourceModel'][_0x428f27(0x142)](_0x51416d,_0x16de06);if(!_0x50daa)return;for(const [_0x34edb5,_0x24b8c6]of _0x50daa){const _0x12a2da=_0x24b8c6['sparklines'];_0x12a2da['forValue']((_0x17f6bb,_0x48673d,_0x57ed52)=>{const _0x3ea397=_0x428f27,_0x25c221=_0x3a66cf[_0x3ea397(0x1b2)](_0x57ed52,_0x59734a);_0x25c221?_0x12a2da['setValue'](_0x17f6bb,_0x48673d,_0x25c221):_0x12a2da[_0x3ea397(0x15c)](_0x17f6bb,_0x48673d,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1c6071[_0x3ea397(0x1df)][_0x3ea397(0x14f)]});}),_0x12a2da['moveRows'](_0x58fbbc['startRow'],_0x58fbbc['endRow']-_0x58fbbc[_0x428f27(0x1ba)]+0x1,_0x92b564['startRow']);}this[_0x428f27(0x215)][_0x428f27(0x174)](_0x51416d,_0x16de06);}else{if(_0x59734a['id']===_0x3a66cf['MoveRangeMutation']['id']){const _0xcbe7de=_0x59734a[_0x428f27(0x1b0)],{fromRange:_0x5ea095,toRange:_0xbc2b8e,unitId:_0x36cb05,from:_0x13443f,to:_0x3de11c}=_0xcbe7de;if(_0x13443f[_0x428f27(0x1f7)]!==_0x3de11c[_0x428f27(0x1f7)])return;const _0x2379ad=_0x13443f[_0x428f27(0x1f7)],{startRow:_0x5e606e,endRow:_0x4435ea,startColumn:_0xf40488,endColumn:_0x13c4f4}=_0x5ea095,{startRow:_0x142f70,startColumn:_0x9f86a1}=_0xbc2b8e,_0x52a26e=_0x142f70-_0x5e606e,_0x3053a2=_0x9f86a1-_0xf40488,_0x2a904f=this[_0x428f27(0x215)]['getSubUnitSparkline'](_0x36cb05,_0x2379ad);if(!(_0x2a904f!=null&&_0x2a904f['size']))return;for(let _0x40b75d=_0x5e606e;_0x40b75d<=_0x4435ea;_0x40b75d++)for(let _0x4ac30d=_0xf40488;_0x4ac30d<=_0x13c4f4;_0x4ac30d++){const _0x3799a9=this[_0x428f27(0x215)]['getSparkline'](_0x36cb05,_0x2379ad,_0x40b75d,_0x4ac30d);if(_0x3799a9){const _0x3e73a6=this[_0x428f27(0x215)][_0x428f27(0x13e)](_0x36cb05,_0x2379ad,_0x3799a9);if(_0x3e73a6){const _0x229234=_0x3e73a6[_0x428f27(0x127)]['getValue'](_0x40b75d,_0x4ac30d);_0x229234&&(_0x3e73a6[_0x428f27(0x127)][_0x428f27(0x15c)](_0x40b75d+_0x52a26e,_0x4ac30d+_0x3053a2,_0x229234),_0x3e73a6[_0x428f27(0x127)]['realDeleteValue'](_0x40b75d,_0x4ac30d));}}}for(const [_0x55b28e,_0x471a2e]of _0x2a904f){const _0x3a0919=_0x471a2e[_0x428f27(0x127)];_0x3a0919['forValue']((_0x2e03d3,_0x5a86fa,_0x15c278)=>{const _0x39da42=_0x428f27,_0x486fed={..._0x15c278};_0x1c6071[_0x39da42(0x1ae)][_0x39da42(0x163)](_0x5ea095,_0x15c278)&&(_0x486fed[_0x39da42(0x1ba)]+=_0x52a26e,_0x486fed['endRow']+=_0x52a26e,_0x486fed[_0x39da42(0x216)]+=_0x3053a2,_0x486fed[_0x39da42(0x1ad)]+=_0x3053a2),_0x3a0919[_0x39da42(0x15c)](_0x2e03d3,_0x5a86fa,_0x486fed);});}this['_sparklineDataSourceModel'][_0x428f27(0x174)](_0x36cb05,_0x2379ad);}}}}}}}}));}};_0xbd22cf=_0x2da4fe([_0xfd63dd(0x0,_0x1c6071[_0x3aa980(0x1ce)](_0x1c6071[_0x3aa980(0x16c)])),_0xfd63dd(0x1,_0x1c6071['Inject'](_0x3a66cf['RefRangeService'])),_0xfd63dd(0x2,_0x1c6071[_0x3aa980(0x128)]),_0xfd63dd(0x3,_0x1c6071[_0x3aa980(0x1ce)](_0x18aa2b[_0x3aa980(0x162)]))],_0xbd22cf);var _0x2f2d49=Object[_0x3aa980(0x205)],_0x2f96a4=(_0x226c16,_0xad19b6,_0x5ddec8,_0x528a4a)=>{for(var _0x5b4213=_0x528a4a>0x1?void 0x0:_0x528a4a?_0x2f2d49(_0xad19b6,_0x5ddec8):_0xad19b6,_0x22a636=_0x226c16['length']-0x1,_0x1f5183;_0x22a636>=0x0;_0x22a636--)(_0x1f5183=_0x226c16[_0x22a636])&&(_0x5b4213=_0x1f5183(_0x5b4213)||_0x5b4213);return _0x5b4213;},_0x45547c=(_0x44e50b,_0x848b45)=>(_0x30cc53,_0x316591)=>_0x848b45(_0x30cc53,_0x316591,_0x44e50b);let _0x1d974d=class extends _0x1c6071[_0x3aa980(0x1da)]{constructor(_0x2d9a0f,_0x565877){const _0x53c9b0=_0x3aa980;super(),this['_resourceManagerService']=_0x2d9a0f,this['_sparklineDataSourceModel']=_0x565877,this[_0x53c9b0(0x217)]();}[_0x3aa980(0x217)](){const _0x536a7d=_0x3aa980,_0x24bf2d=_0x4239e8=>{const _0x13a32a=_0x2366,_0x333eab=this[_0x13a32a(0x215)]['toJSON'](_0x4239e8);return _0x333eab?JSON[_0x13a32a(0x1a7)](_0x333eab):'';},_0x4d06a7=_0x58b816=>_0x58b816?JSON['parse'](_0x58b816):{};this[_0x536a7d(0x1b3)](this[_0x536a7d(0x1b9)]['registerPluginResource']({'toJson':_0x24bf2d,'parseJson':_0x4d06a7,'pluginName':_0x58b70a,'businesses':[_0x1c6071['UniverInstanceType']['UNIVER_SHEET']],'onLoad':(_0x279991,_0x2d0950)=>{const _0x117d5c=_0x536a7d;this[_0x117d5c(0x215)]['fromJSON'](_0x2d0950);},'onUnLoad':_0x53f88b=>{const _0x4d50e3=_0x536a7d;this[_0x4d50e3(0x215)][_0x4d50e3(0x180)](_0x53f88b);}}));}};_0x1d974d=_0x2f96a4([_0x45547c(0x0,_0x1c6071['Inject'](_0x1c6071[_0x3aa980(0x199)])),_0x45547c(0x1,_0x1c6071[_0x3aa980(0x1ce)](_0x18aa2b[_0x3aa980(0x162)]))],_0x1d974d);var _0x20c305=Object['defineProperty'],_0x114701=Object[_0x3aa980(0x205)],_0x509c16=(_0x2184a7,_0x2840f8,_0x485ae3)=>_0x2840f8 in _0x2184a7?_0x20c305(_0x2184a7,_0x2840f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x485ae3}):_0x2184a7[_0x2840f8]=_0x485ae3,_0x508ef1=(_0x59055c,_0x2ea22c,_0x300cf7,_0x53a070)=>{const _0x2816ad=_0x3aa980;for(var _0x4e07eb=_0x53a070>0x1?void 0x0:_0x53a070?_0x114701(_0x2ea22c,_0x300cf7):_0x2ea22c,_0x4e958c=_0x59055c[_0x2816ad(0x182)]-0x1,_0x4a4d9d;_0x4e958c>=0x0;_0x4e958c--)(_0x4a4d9d=_0x59055c[_0x4e958c])&&(_0x4e07eb=_0x4a4d9d(_0x4e07eb)||_0x4e07eb);return _0x4e07eb;},_0x2d85fc=(_0x2aaf49,_0xb29e5)=>(_0x3fcf64,_0x13b3a2)=>_0xb29e5(_0x3fcf64,_0x13b3a2,_0x2aaf49),_0x3c9f9e=(_0x33feba,_0x465323,_0x47bbe5)=>_0x509c16(_0x33feba,typeof _0x465323!=_0x3aa980(0x18f)?_0x465323+'':_0x465323,_0x47bbe5);_0x18aa2b[_0x3aa980(0x1a3)]=class extends _0x1c6071['Plugin']{constructor(_0x5a92a7={},_0x192299,_0x2b8c89){const _0x2200a3=_0x3aa980;super(),this['_config']=_0x5a92a7,this[_0x2200a3(0x170)]=_0x192299,this['_commandService']=_0x2b8c89,this[_0x2200a3(0x14b)](),this[_0x2200a3(0x185)]();}['_initDependencies'](){const _0xd046c1=_0x3aa980;[[_0x18aa2b['SparklineDataSourceModel']],[_0x3b286e],[_0x3235a3],[_0xd679db],[_0xbd22cf],[_0x4cfaac],[_0x3e7c2a],[_0x1d974d]][_0xd046c1(0x18d)](_0x3aa4a6=>{const _0x23a814=_0xd046c1;this[_0x23a814(0x170)][_0x23a814(0x1ca)](_0x3aa4a6);}),_0x1c6071[_0xd046c1(0x1d4)](this[_0xd046c1(0x170)],[[_0x1d974d]]);}['onReady'](){const _0x230051=_0x3aa980;_0x1c6071['touchDependencies'](this[_0x230051(0x170)],[[_0x3b286e],[_0x3235a3],[_0xd679db],[_0xbd22cf],[_0x4cfaac],[_0x3e7c2a]]);}['_initRegisterCommand'](){const _0xe0bfe0=_0x3aa980;[_0x1a0ba6,_0x4f2e31,_0x539a6a,_0x24f8f4,_0x18b122,_0xaf9021]['forEach'](_0x42b8f8=>this[_0xe0bfe0(0x1c3)]['registerCommand'](_0x42b8f8));}},_0x3c9f9e(_0x18aa2b[_0x3aa980(0x1a3)],_0x3aa980(0x203),_0x58b70a),_0x3c9f9e(_0x18aa2b['UniverSheetSparklinePlugin'],_0x3aa980(0x1bd),_0x1c6071[_0x3aa980(0x156)][_0x3aa980(0x19d)]),_0x18aa2b[_0x3aa980(0x1a3)]=_0x508ef1([_0x1c6071['DependentOn'](_0x50bc71[_0x3aa980(0x17d)]),_0x2d85fc(0x1,_0x1c6071[_0x3aa980(0x1ce)](_0x1c6071[_0x3aa980(0x158)])),_0x2d85fc(0x2,_0x1c6071[_0x3aa980(0x1ce)](_0x1c6071[_0x3aa980(0x16c)]))],_0x18aa2b['UniverSheetSparklinePlugin']),_0x18aa2b[_0x3aa980(0x1dd)]=_0x1a0ba6,_0x18aa2b[_0x3aa980(0x1b4)]=_0x4f2e31,_0x18aa2b[_0x3aa980(0x1a4)]=_0x58b70a,_0x18aa2b[_0x3aa980(0x186)]=_0x539a6a,_0x18aa2b[_0x3aa980(0x20a)]=_0x24f8f4,_0x18aa2b['SetSheetSparklineCommand']=_0x18b122,_0x18aa2b[_0x3aa980(0x18c)]=_0xaf9021,_0x18aa2b[_0x3aa980(0x149)]=_0x4474cd,_0x18aa2b[_0x3aa980(0x13f)]=_0x2c88dc,_0x18aa2b['SparklinePointsNames']=_0x1299f4,_0x18aa2b[_0x3aa980(0x1f4)]=_0x6ea30c,_0x18aa2b['SparklineThemeTypeEnum']=_0x40916b,_0x18aa2b[_0x3aa980(0x14e)]=_0x2d0b70,_0x18aa2b[_0x3aa980(0x1d6)]=_0x1193b9,Object[_0x3aa980(0x218)](_0x18aa2b,Symbol[_0x3aa980(0x131)],{'value':'Module'});}));function _0x450c(){const _0x5ebe10=['refRangeHandle','_sparklineModel','has','rgb(124,66,147)','UniverSheetSparklinePlugin','PLUGIN_NAME','sequenceExecute','RemoveRowMutation','stringify','getSparklineCache','ClearSelectionAllCommand','cellToRange','AddWorksheetMergeCommand','BOOLEAN','endColumn','Rectangle','6hrxqKW','params','row','adjustRangeOnMutation','disposeWithMe','AddSheetSparklineMutation','MoveColsMutation','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','distinctive','extremumMin','_resourceManagerService','startRow','4151525gtOReO','_refRangeService','type','amd','sheet.command.set-sparkline','_initMergeWithSparkline','SetColHiddenMutation','ColorKit','_commandService','SHEET_SPARKLINE_PLUGIN','extremumMax','getSheetCommandTarget','MUTATION','addSparkline','ReorderRangeMutation','add','Tools','UniverSheets','forValue','Inject','push','SPACING','rgb(248,190,21)','actualRow','1239846JNSlai','touchDependencies','_ensureConfigMap','getSparklinePlacement','ZERO_VALUE','registerRefRange','@univerjs/core','Disposable','fresh','DisposableCollection','AddSheetSparklineCommand','min','RANGE_TYPE','realDeleteValue','standard','ObjectMatrix','config','11953960STECUK','CommandType','exclusiveRangesChange$','getCurrentSelections','foreach','number','_initCorrectRangeWithSparkline','setSparkline','asObservable','STANDARD','toRgbString','specialty','CopySheetCommand','_sheetInterceptorService','sparklineModel','MAX_SAFE_INTEGER','SparklineThemeMapping','CONNECT_WITH_LINE','getCellRaw','subUnitId','from','STRING','groupId','hasValue','sheet.command.add-sparkline','rgb(30,177,189)','removePartSparkline','endRow','_ensureAnchorMatrix','9cnXUpZ','pushUndoRedo','pluginName','unitId','getOwnPropertyDescriptor','SPECIALTY','_initDataChangeListener','269975PqUooJ','containHiddenCells','RemoveSheetSparklineMutation','_getRefRangeMutationsByDeleteCols','getSizeOf','removeColumns','getValue','RemoveColCommand','GROUP_EXTREMUM','rgb(236,100,169)','UniverCore','set','rgb(46,187,122)','_sparklineDataSourceModel','startColumn','_initSnapshot','defineProperty','IExclusiveRangeService','clearSparklineCache','lowPoint','ranges','matrix','clone','spacing','MIN_SAFE_INTEGER','sparklines','IUniverInstanceService','SELF_EXTREMUM','range','_updateConfig$','rgb(54,78,244)','setAlpha','getSparkline','_onRefRangeChange','SetRowHiddenMutation','toStringTag','updateSparklineExtraNum','function','PIE_CHART','sheet.mutation.set-sparkline','PROFIT_AND_LOSS_CHART','rgb(49,106,246)','map','_getRefRangeMutationsByDeleteRows','22062140hOuzYI','getCurrentUnitForType','entries','sheet.mutation.remove-sparkline','getSparklineById','SparklineExtremumTypeEnum','moveColumns','nonNumShowAs','getSubUnitSparkline','exports','Range','SetRangeValuesMutation','generateRandomId','u-spacing','MoveRowsMutation','SpacialShowAsEnum','_initClearWithSparkline','_initDependencies','NUMBER','_sparklineAnchorMap','SparklineTypeEnum','NORMAL','RemoveColMutation','updateConfig$','FORCE_STRING','CellValueType','rxjs','removeRows','UniverInstanceType','get','Injector','remove','interceptCommand','assign','setValue','LINE_CHART','IUndoRedoService','disposableCollection','SetColVisibleMutation','lastPoint','SparklineDataSourceModel','contains','column','rgb(252,117,60)','toJSON','SheetsSelectionsService','some','InsertRowMutation','size','keys','ICommandService','SetRowVisibleMutation','SOFT','deepClone','_injector','onCommandExecuted','getSheetBySheetId','max','reBuildAnchorCache','_initExclusiveRangeChange','CUSTOM_EXTREMUM','COMMAND','themeType','_initHideRowColWithSparkline','DISTINCTIVE','intersects','subscribe','UniverLicensePlugin','2858336hrZmPl','SetWorksheetActivateCommand','deleteUnit','_initCopySheetWithSparkline','length','666ORnjbQ','removeSparkline','_initRegisterCommand','RemoveSheetSparklineCommand','UniverProSheetsSparkline','13048MBfNxU','changeDataSourceInfo','SheetInterceptorService','getMatrix','SetSheetSparklineMutation','forEach','sparklineAnchorMap','symbol','_univerInstanceService','object','dispose','@univerjs-pro/license','values','next','_exclusiveRangeService','fromJSON','UniverProLicense','IResourceManagerService','getRowVisible','FRESH','custom','UNIVER_SHEET','delete'];_0x450c=function(){return _0x5ebe10;};return _0x450c();}
|
|
1
|
+
(function(_0x58d1ff,_0x4b853c){const _0x369ed6=_0x2e49,_0x55b9dd=_0x58d1ff();while(!![]){try{const _0x8039ff=parseInt(_0x369ed6(0x162))/0x1*(parseInt(_0x369ed6(0x13d))/0x2)+parseInt(_0x369ed6(0x15a))/0x3+-parseInt(_0x369ed6(0xfd))/0x4*(-parseInt(_0x369ed6(0xf7))/0x5)+-parseInt(_0x369ed6(0x19f))/0x6*(parseInt(_0x369ed6(0x18a))/0x7)+-parseInt(_0x369ed6(0x13a))/0x8+-parseInt(_0x369ed6(0x126))/0x9+parseInt(_0x369ed6(0x1bd))/0xa*(parseInt(_0x369ed6(0x1a4))/0xb);if(_0x8039ff===_0x4b853c)break;else _0x55b9dd['push'](_0x55b9dd['shift']());}catch(_0x5ab322){_0x55b9dd['push'](_0x55b9dd['shift']());}}}(_0x39cc,0x7ac81),function(_0x418efb,_0x2ccb4e){const _0x389209=_0x2e49;typeof exports==_0x389209(0x17b)&&typeof module<'u'?_0x2ccb4e(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x389209(0x184)&&define['amd']?define([_0x389209(0x132),_0x389209(0xd2),_0x389209(0x193),'rxjs',_0x389209(0x164)],_0x2ccb4e):(_0x418efb=typeof globalThis<'u'?globalThis:_0x418efb||self,_0x2ccb4e(_0x418efb[_0x389209(0x14f)]={},_0x418efb[_0x389209(0x158)],_0x418efb[_0x389209(0x1be)],_0x418efb[_0x389209(0x1a3)],_0x418efb[_0x389209(0x170)]));}(this,function(_0x4d2b36,_0x1018ea,_0x3b01ec,_0x4523d1,_0x41581c){'use strict';const _0x3d63b3=_0x2e49;var _0x1fd9d8=Object[_0x3d63b3(0x160)],_0x47592f=(_0x58500c,_0x276ce4,_0x1a724b)=>_0x276ce4 in _0x58500c?_0x1fd9d8(_0x58500c,_0x276ce4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a724b}):_0x58500c[_0x276ce4]=_0x1a724b,_0x32e568=(_0x45a141,_0x37ca03,_0x1bae57)=>_0x47592f(_0x45a141,typeof _0x37ca03!='symbol'?_0x37ca03+'':_0x37ca03,_0x1bae57);function _0x52086d(_0xde4d0e,_0xfc3491){const _0x3fdf9e=_0x3d63b3,_0x56a6cd=new _0x1018ea['ObjectMatrix'](),_0xbf35da=[],_0x5d66c9=_0xde4d0e[_0x3fdf9e(0x1bb)]>0x1;let _0x2f7709=0x0,_0x40b213=0x0;for(const _0x1fe0f8 of _0xde4d0e)_0x2f7709+=_0x1fe0f8[_0x3fdf9e(0x14a)]-_0x1fe0f8[_0x3fdf9e(0x100)]+0x1,_0x40b213+=_0x1fe0f8[_0x3fdf9e(0xec)]-_0x1fe0f8[_0x3fdf9e(0x199)]+0x1;for(const _0xbc3493 of _0xfc3491)for(let _0x3fcf2b=_0xbc3493[_0x3fdf9e(0x100)];_0x3fcf2b<=_0xbc3493['endRow'];_0x3fcf2b++)for(let _0x4e93f4=_0xbc3493[_0x3fdf9e(0x199)];_0x4e93f4<=_0xbc3493[_0x3fdf9e(0xec)];_0x4e93f4++)_0xbf35da[_0x3fdf9e(0x197)]({'row':_0x3fcf2b,'column':_0x4e93f4});if(_0xbf35da[_0x3fdf9e(0x1bb)]===_0x2f7709)_0x5d66c9?_0xbf35da[_0x3fdf9e(0xf2)]((_0x414cdd,_0x616170)=>{const _0x50e574=_0x3fdf9e,_0x3dcd1d=_0xde4d0e[_0x616170],_0x5c9d4f={'startRow':_0x3dcd1d[_0x50e574(0x100)],'startColumn':_0x3dcd1d['startColumn'],'endRow':_0x3dcd1d[_0x50e574(0x100)],'endColumn':_0x3dcd1d[_0x50e574(0xec)]};_0x56a6cd[_0x50e574(0xf6)](_0x414cdd['row'],_0x414cdd[_0x50e574(0x103)],_0x5c9d4f);}):_0xbf35da[_0x3fdf9e(0xf2)]((_0x2e30a8,_0x1ce280)=>{const _0x325272=_0x3fdf9e,_0x4d2596=_0xde4d0e[0x0],_0x3ebf7f={'startRow':_0x4d2596[_0x325272(0x100)]+_0x1ce280,'startColumn':_0x4d2596[_0x325272(0x199)],'endRow':_0x4d2596[_0x325272(0x100)]+_0x1ce280,'endColumn':_0x4d2596[_0x325272(0xec)]};_0x56a6cd[_0x325272(0xf6)](_0x2e30a8[_0x325272(0x122)],_0x2e30a8['column'],_0x3ebf7f);});else{if(_0xbf35da[_0x3fdf9e(0x1bb)]===_0x40b213)_0x5d66c9?_0xbf35da[_0x3fdf9e(0xf2)]((_0x477173,_0x26bb98)=>{const _0x3aea2e=_0x3fdf9e,_0xcedd79=_0xde4d0e[_0x26bb98],_0x41c070={'startRow':_0xcedd79[_0x3aea2e(0x100)],'startColumn':_0xcedd79[_0x3aea2e(0x199)],'endRow':_0xcedd79[_0x3aea2e(0x14a)],'endColumn':_0xcedd79['startColumn']};_0x56a6cd[_0x3aea2e(0xf6)](_0x477173[_0x3aea2e(0x122)],_0x477173[_0x3aea2e(0x103)],_0x41c070);}):_0xbf35da['forEach']((_0x101230,_0x4c9da5)=>{const _0x3c7a1b=_0x3fdf9e,_0x33b534=_0xde4d0e[0x0],_0x1c1950={'startRow':_0x33b534[_0x3c7a1b(0x100)],'startColumn':_0x33b534[_0x3c7a1b(0x199)]+_0x4c9da5,'endRow':_0x33b534['endRow'],'endColumn':_0x33b534[_0x3c7a1b(0x199)]+_0x4c9da5};_0x56a6cd[_0x3c7a1b(0xf6)](_0x101230[_0x3c7a1b(0x122)],_0x101230[_0x3c7a1b(0x103)],_0x1c1950);});else{if(_0xbf35da[_0x3fdf9e(0x1bb)]===_0xde4d0e['length'])_0xde4d0e[_0x3fdf9e(0x16a)](_0x19a347=>!(_0x19a347[_0x3fdf9e(0x100)]!==_0x19a347['endRow']&&_0x19a347['startColumn']!==_0x19a347[_0x3fdf9e(0xec)]))&&_0xbf35da['forEach']((_0xf925a4,_0x44108e)=>{const _0x44b7ec=_0x3fdf9e,_0x4e6556=_0xde4d0e[_0x44108e];_0x56a6cd[_0x44b7ec(0xf6)](_0xf925a4[_0x44b7ec(0x122)],_0xf925a4['column'],_0x4e6556);});else throw new Error(_0x3fdf9e(0xdd));}}return _0x56a6cd;}const _0xd4d8af=_0x3d63b3(0x1b6),_0x435b5e={'standard':[_0x3d63b3(0xbb),_0x3d63b3(0x1ab)],'specialty':[_0x3d63b3(0x155),'rgb(30,177,189)'],'distinctive':[_0x3d63b3(0xe8),_0x3d63b3(0x142)],'soft':[_0x3d63b3(0xb9),'rgb(244,104,249)'],'fresh':[_0x3d63b3(0x17c),_0x3d63b3(0x183)]},_0x2cda3e=[_0x3d63b3(0x16f),_0x3d63b3(0xcc),_0x3d63b3(0x173),_0x3d63b3(0x16d),_0x3d63b3(0x11b),_0x3d63b3(0xf3)];var _0x1ac9fd=(_0x43039b=>(_0x43039b[_0x3d63b3(0x17d)]=_0x3d63b3(0x1bf),_0x43039b[_0x3d63b3(0x198)]='specialty',_0x43039b[_0x3d63b3(0x144)]=_0x3d63b3(0x178),_0x43039b[_0x3d63b3(0xd4)]=_0x3d63b3(0x1a6),_0x43039b['FRESH']=_0x3d63b3(0x18c),_0x43039b[_0x3d63b3(0x166)]='custom',_0x43039b))(_0x1ac9fd||{}),_0x471270=(_0x13411a=>(_0x13411a[_0x13411a[_0x3d63b3(0x110)]=0x1]='LINE_CHART',_0x13411a[_0x13411a[_0x3d63b3(0x167)]=0x2]=_0x3d63b3(0x167),_0x13411a[_0x13411a['PROFIT_AND_LOSS_CHART']=0x3]=_0x3d63b3(0x1a1),_0x13411a[_0x13411a[_0x3d63b3(0x10d)]=0x4]=_0x3d63b3(0x10d),_0x13411a))(_0x471270||{}),_0x3e08c5=(_0x2e06d5=>(_0x2e06d5[_0x3d63b3(0xfb)]='spacing',_0x2e06d5[_0x3d63b3(0x1a2)]=_0x3d63b3(0x16b),_0x2e06d5[_0x3d63b3(0xbc)]=_0x3d63b3(0x105),_0x2e06d5))(_0x3e08c5||{}),_0x18fd33=(_0xe98b37=>(_0xe98b37[_0xe98b37[_0x3d63b3(0xcb)]=0x1]=_0x3d63b3(0xcb),_0xe98b37[_0xe98b37[_0x3d63b3(0x145)]=0x2]='GROUP_EXTREMUM',_0xe98b37[_0xe98b37['CUSTOM_EXTREMUM']=0x3]=_0x3d63b3(0x13b),_0xe98b37))(_0x18fd33||{}),_0x183312=Object[_0x3d63b3(0x15d)],_0x4aa701=(_0x477a79,_0x36cff6,_0x57059c,_0x38bfe8)=>{for(var _0xe6329=_0x38bfe8>0x1?void 0x0:_0x38bfe8?_0x183312(_0x36cff6,_0x57059c):_0x36cff6,_0x49c874=_0x477a79['length']-0x1,_0x4768d1;_0x49c874>=0x0;_0x49c874--)(_0x4768d1=_0x477a79[_0x49c874])&&(_0xe6329=_0x4768d1(_0xe6329)||_0xe6329);return _0xe6329;},_0x525c90=(_0x457001,_0x353e23)=>(_0x547f71,_0x5b6db2)=>_0x353e23(_0x547f71,_0x5b6db2,_0x457001);_0x4d2b36['SparklineDataSourceModel']=class extends _0x1018ea[_0x3d63b3(0x18e)]{constructor(_0x20faa9){const _0x1f3f45=_0x3d63b3;super(),_0x32e568(this,'_sparklineModel',new Map()),_0x32e568(this,_0x1f3f45(0x159),new Map()),_0x32e568(this,_0x1f3f45(0xf0),new _0x4523d1[(_0x1f3f45(0x17a))]()),_0x32e568(this,_0x1f3f45(0x17e),this[_0x1f3f45(0xf0)][_0x1f3f45(0xd8)]()),this[_0x1f3f45(0xb8)]=_0x20faa9;}[_0x3d63b3(0x15e)](_0x30e5d3,_0x265090){const _0x3605e1=_0x3d63b3;let _0x4d7bb1=this['_sparklineModel'][_0x3605e1(0xcf)](_0x30e5d3);_0x4d7bb1||(_0x4d7bb1=new Map(),this[_0x3605e1(0xe0)][_0x3605e1(0x12f)](_0x30e5d3,_0x4d7bb1));let _0x52974c=_0x4d7bb1[_0x3605e1(0xcf)](_0x265090);return _0x52974c||(_0x52974c=new Map(),_0x4d7bb1[_0x3605e1(0x12f)](_0x265090,_0x52974c)),_0x52974c;}[_0x3d63b3(0x11a)](_0x46cc4c,_0x3f4f5c){const _0xbc2eab=_0x3d63b3;let _0x278964=this[_0xbc2eab(0x159)][_0xbc2eab(0xcf)](_0x46cc4c);_0x278964||(_0x278964=new Map(),this[_0xbc2eab(0x159)][_0xbc2eab(0x12f)](_0x46cc4c,_0x278964));let _0x8665ba=_0x278964[_0xbc2eab(0xcf)](_0x3f4f5c);return _0x8665ba||(_0x8665ba={'matrix':new _0x1018ea[(_0xbc2eab(0xe2))](),'extra':{}},_0x278964[_0xbc2eab(0x12f)](_0x3f4f5c,_0x8665ba)),_0x8665ba;}[_0x3d63b3(0x1ba)](_0x54004b,_0x2478b7,_0x463554,_0x4ec672=_0x3d63b3(0x12f)){const _0x4218c0=_0x3d63b3;var _0x41f0d2,_0x7681e3,_0xf17f42,_0x3bb23c,_0x145515,_0x4400f7,_0x3af38f,_0x499384,_0x2ffb1d,_0x53e737,_0x41fad2,_0xc2a2a7,_0x269925;const _0x39470d=(_0x7681e3=(_0x41f0d2=this[_0x4218c0(0xe0)][_0x4218c0(0xcf)](_0x54004b))==null?void 0x0:_0x41f0d2['get'](_0x2478b7))==null?void 0x0:_0x7681e3[_0x4218c0(0xcf)](_0x463554);if(!_0x39470d)return;const _0x4d3281=_0x3b01ec[_0x4218c0(0x196)](this[_0x4218c0(0xb8)],{'unitId':_0x54004b,'subUnitId':_0x2478b7});if(!_0x4d3281)return;const _0x345809=this[_0x4218c0(0x11a)](_0x54004b,_0x2478b7),{extra:_0x160406,matrix:_0x3ac8c8}=_0x345809,{worksheet:_0x182f5a}=_0x4d3281;let _0x3a6bba=Number[_0x4218c0(0x12c)],_0x41efd6=Number[_0x4218c0(0x14b)];const _0x37152f=(_0xf17f42=_0x39470d[_0x4218c0(0x195)][_0x4218c0(0x137)])!=null?_0xf17f42:!0x1;_0x39470d[_0x4218c0(0xc2)][_0x4218c0(0x1b1)]((_0x52e803,_0x3a3f9c,_0x30fa57)=>{const _0x269950=_0x4218c0;var _0x1228d1,_0x37e0a0,_0x2f9c2a;const _0x4da0ea=_0x30fa57;let _0x1d7bd6=Number['MIN_SAFE_INTEGER'],_0x36c578=Number[_0x269950(0x14b)],_0x4897ca=0x0,_0x22528d=0x0;const _0x3fb0c7=[];if(!_0x1018ea['isValidRange'](_0x4da0ea))_0x3ac8c8[_0x269950(0xf6)](_0x52e803,_0x3a3f9c,{'groupId':_0x463554,'data':[],'max':_0x1d7bd6,'min':_0x36c578,'highIndex':_0x4897ca,'lowIndex':_0x22528d,'negativeIndexes':_0x3fb0c7});else{const _0xc6bfd8=[];for(let _0x36dfce=_0x4da0ea[_0x269950(0x100)];_0x36dfce<=_0x4da0ea[_0x269950(0x14a)];_0x36dfce++){for(let _0x103cd8=_0x4da0ea[_0x269950(0x199)];_0x103cd8<=_0x4da0ea[_0x269950(0xec)];_0x103cd8++){const _0x198896=_0x182f5a['getRowVisible'](_0x36dfce),_0x234070=_0x182f5a[_0x269950(0x175)](_0x103cd8);if(!_0x37152f&&(!_0x198896||!_0x234070))continue;let _0x24db9d=0x0;const _0x5596eb=((_0x1228d1=_0x182f5a[_0x269950(0x104)](_0x36dfce,_0x103cd8))==null?void 0x0:_0x1228d1['v'])!==void 0x0?_0x182f5a[_0x269950(0x104)](_0x36dfce,_0x103cd8):_0x182f5a[_0x269950(0xc4)](_0x36dfce,_0x103cd8);if(!_0x5596eb||_0x5596eb['v']===void 0x0||_0x5596eb['v']===null){const _0x560dce=(_0x37e0a0=_0x39470d[_0x269950(0x195)][_0x269950(0x177)])!=null?_0x37e0a0:_0x3e08c5['SPACING'];_0x560dce===_0x3e08c5[_0x269950(0x1a2)]?_0x24db9d=0x0:_0x560dce===_0x3e08c5[_0x269950(0xfb)]?_0x24db9d=_0x269950(0x123):_0x560dce===_0x3e08c5['CONNECT_WITH_LINE']&&(_0x24db9d=_0x269950(0xdb));}else{if(_0x5596eb['t']===_0x1018ea[_0x269950(0xe1)]['STRING']||_0x5596eb['t']===_0x1018ea[_0x269950(0xe1)][_0x269950(0x1c1)]){const _0x445f7b=(_0x2f9c2a=_0x39470d[_0x269950(0x195)][_0x269950(0xde)])!=null?_0x2f9c2a:_0x3e08c5[_0x269950(0xfb)];_0x445f7b===_0x3e08c5[_0x269950(0x1a2)]?_0x24db9d=0x0:_0x445f7b===_0x3e08c5[_0x269950(0xfb)]?_0x24db9d='u-spacing':_0x445f7b===_0x3e08c5[_0x269950(0xbc)]&&(_0x24db9d='u-connect');}else _0x5596eb['t']===_0x1018ea['CellValueType'][_0x269950(0x136)]?_0x24db9d=_0x5596eb['v']?0x1:0x0:_0x5596eb['t']===_0x1018ea[_0x269950(0xe1)][_0x269950(0x116)]?_0x24db9d=Number(_0x5596eb['v']):_0x24db9d=_0x5596eb['v'];}if(_0xc6bfd8[_0x269950(0x197)](_0x24db9d),typeof _0x24db9d==_0x269950(0xc6)){_0x1d7bd6=Math['max'](_0x1d7bd6,_0x24db9d),_0x3a6bba=Math[_0x269950(0x151)](_0x3a6bba,_0x24db9d),_0x41efd6=Math['min'](_0x41efd6,_0x24db9d),_0x36c578=Math[_0x269950(0x133)](_0x36c578,_0x24db9d);const _0x3b92ee=typeof _0xc6bfd8[_0x4897ca]==_0x269950(0xc6)?Number(_0xc6bfd8[_0x4897ca]):Number[_0x269950(0x12c)];_0x24db9d>_0x3b92ee&&(_0x4897ca=_0xc6bfd8['length']-0x1);const _0x5ea87e=typeof _0xc6bfd8[_0x22528d]==_0x269950(0xc6)?Number(_0xc6bfd8[_0x22528d]):Number[_0x269950(0x14b)];_0x24db9d<_0x5ea87e&&(_0x22528d=_0xc6bfd8['length']-0x1),_0x24db9d<0x0&&_0x3fb0c7[_0x269950(0x197)](_0xc6bfd8['length']-0x1);}}_0x3ac8c8[_0x269950(0xf6)](_0x52e803,_0x3a3f9c,{'groupId':_0x463554,'data':_0xc6bfd8,'max':_0x1d7bd6,'min':_0x36c578,'highIndex':_0x4897ca,'lowIndex':_0x22528d,'negativeIndexes':_0x3fb0c7});}}});let _0x3b4755=_0x3a6bba;((_0x3bb23c=_0x39470d[_0x4218c0(0x195)]['extremumMax'])==null?void 0x0:_0x3bb23c[_0x4218c0(0x11c)])===_0x18fd33[_0x4218c0(0x13b)]&&(_0x3b4755=(_0x4400f7=(_0x145515=_0x39470d[_0x4218c0(0x195)][_0x4218c0(0x117)])==null?void 0x0:_0x145515[_0x4218c0(0x130)])!=null?_0x4400f7:_0x3a6bba);let _0x1c2f3a=_0x41efd6;((_0x3af38f=_0x39470d[_0x4218c0(0x195)][_0x4218c0(0x10c)])==null?void 0x0:_0x3af38f['type'])===_0x18fd33[_0x4218c0(0x13b)]&&(_0x1c2f3a=(_0x2ffb1d=(_0x499384=_0x39470d[_0x4218c0(0x195)][_0x4218c0(0x10c)])==null?void 0x0:_0x499384[_0x4218c0(0x130)])!=null?_0x2ffb1d:_0x41efd6);const _0x146469=(_0x53e737=_0x39470d['config'][_0x4218c0(0x108)])!=null?_0x53e737:_0x1ac9fd['STANDARD'],_0x5680fc=(_0x269925=(_0xc2a2a7=_0x39470d[_0x4218c0(0x195)][_0x4218c0(0xe4)])!=null?_0xc2a2a7:(_0x41fad2=_0x435b5e[_0x146469])==null?void 0x0:_0x41fad2[0x0])!=null?_0x269925:_0x435b5e[_0x4218c0(0x1bf)][0x0],_0x1f3ba3=new _0x1018ea[(_0x4218c0(0xce))](_0x5680fc),_0x1a9afc=_0x1f3ba3['setAlpha'](0.2)[_0x4218c0(0x14c)](),_0x2f1bbd=_0x1f3ba3[_0x4218c0(0x1b8)](0.05)[_0x4218c0(0x14c)]();_0x160406[_0x463554]={'groupMax':_0x3a6bba,'groupMin':_0x41efd6,'showMax':_0x3b4755,'showMin':_0x1c2f3a,'startGradient':_0x1a9afc,'endGradient':_0x2f1bbd},this[_0x4218c0(0xf0)]['next']({'unitId':_0x54004b,'subUnitId':_0x2478b7,'groupId':_0x463554,'config':_0x39470d,'type':_0x4ec672});}['addSparkline'](_0xe7b5e7,_0x455746,_0x51b722,_0x5da929){const _0x2dcbaf=_0x3d63b3;this['_ensureConfigMap'](_0xe7b5e7,_0x455746)['set'](_0x51b722,_0x5da929),this[_0x2dcbaf(0x1ba)](_0xe7b5e7,_0x455746,_0x51b722,_0x2dcbaf(0xff));}['setSparkline'](_0x48cfb5,_0x4b4981,_0x521f08,_0x4c2f98){const _0x461a7f=_0x3d63b3;var _0x51cd31;const _0x2e8e11=(_0x51cd31=this[_0x461a7f(0xe0)][_0x461a7f(0xcf)](_0x48cfb5))==null?void 0x0:_0x51cd31[_0x461a7f(0xcf)](_0x4b4981);_0x521f08[_0x461a7f(0xf2)](_0x498250=>{const _0x37fe28=_0x461a7f;_0x2e8e11!=null&&_0x2e8e11[_0x37fe28(0x163)](_0x498250)&&(_0x2e8e11[_0x37fe28(0x12f)](_0x498250,_0x4c2f98),this[_0x37fe28(0x1ba)](_0x48cfb5,_0x4b4981,_0x498250));});}[_0x3d63b3(0x12b)](_0x4f286a,_0x8a5682,_0x54249c){const _0x145a3c=_0x3d63b3;var _0x208dcd,_0x1fc16f;const _0x454c03=this['_sparklineModel']['get'](_0x4f286a);if(_0x454c03){const _0x371162=_0x454c03['get'](_0x8a5682);if(_0x371162){_0x371162[_0x145a3c(0x102)](_0x54249c);const _0x4438c8=(_0x208dcd=this[_0x145a3c(0x159)]['get'](_0x4f286a))==null?void 0x0:_0x208dcd[_0x145a3c(0xcf)](_0x8a5682);(_0x1fc16f=_0x4438c8==null?void 0x0:_0x4438c8['matrix'])==null||_0x1fc16f['forValue']((_0x277472,_0x122534,_0x478f11)=>{const _0x38f801=_0x145a3c;(_0x478f11==null?void 0x0:_0x478f11[_0x38f801(0xbe)])===_0x54249c&&(_0x4438c8==null||_0x4438c8[_0x38f801(0x10a)][_0x38f801(0x10e)](_0x277472,_0x122534));}),this[_0x145a3c(0xf0)][_0x145a3c(0x1b2)]({'unitId':_0x4f286a,'subUnitId':_0x8a5682,'groupId':_0x54249c,'type':_0x145a3c(0x143)});}}}[_0x3d63b3(0xcd)](_0xb0b278,_0x1bc104,_0x4fa5f3,_0x406adc){const _0xf6ca3a=_0x3d63b3;var _0x1ce812,_0x15a848,_0x5c05ad,_0x398e38;const _0x26a68f=(_0x1ce812=this[_0xf6ca3a(0x159)][_0xf6ca3a(0xcf)](_0xb0b278))==null?void 0x0:_0x1ce812[_0xf6ca3a(0xcf)](_0x1bc104),_0x48a40e=_0x26a68f==null?void 0x0:_0x26a68f['matrix'][_0xf6ca3a(0x131)](_0x4fa5f3,_0x406adc);if(_0x48a40e){const {groupId:_0x3addcc}=_0x48a40e,_0xf4703a=(_0x15a848=this[_0xf6ca3a(0xe0)][_0xf6ca3a(0xcf)](_0xb0b278))==null?void 0x0:_0x15a848[_0xf6ca3a(0xcf)](_0x1bc104);(_0x5c05ad=_0xf4703a==null?void 0x0:_0xf4703a[_0xf6ca3a(0xcf)](_0x3addcc))==null||_0x5c05ad[_0xf6ca3a(0xc2)][_0xf6ca3a(0x10e)](_0x4fa5f3,_0x406adc),(_0x398e38=_0xf4703a==null?void 0x0:_0xf4703a[_0xf6ca3a(0xcf)](_0x3addcc))!=null&&_0x398e38['sparklines']['hasValue']()||_0xf4703a==null||_0xf4703a[_0xf6ca3a(0x102)](_0x3addcc),_0x26a68f==null||_0x26a68f[_0xf6ca3a(0x10a)][_0xf6ca3a(0x10e)](_0x4fa5f3,_0x406adc),this[_0xf6ca3a(0xf0)][_0xf6ca3a(0x1b2)]({'unitId':_0xb0b278,'subUnitId':_0x1bc104,'groupId':_0x3addcc,'type':'remove'});}}[_0x3d63b3(0xed)](_0x5659f0,_0x4b9665,_0x4ffe55){const _0xe5b0f6=_0x3d63b3;var _0x328f7e,_0x326397,_0x1d2560,_0x1fab3d;const _0x23db2e=(_0x1d2560=(_0x326397=(_0x328f7e=this[_0xe5b0f6(0xe0)][_0xe5b0f6(0xcf)](_0x5659f0))==null?void 0x0:_0x328f7e['get'](_0x4b9665))==null?void 0x0:_0x326397[_0xe5b0f6(0xcf)](_0x4ffe55))==null?void 0x0:_0x1d2560['sparklines'],_0x122371=(_0x1fab3d=this['_sparklineAnchorMap'][_0xe5b0f6(0xcf)](_0x5659f0))==null?void 0x0:_0x1fab3d[_0xe5b0f6(0xcf)](_0x4b9665);if(_0x23db2e&&_0x122371){const {matrix:_0x44bd1d,extra:_0x374347}=_0x122371;_0x23db2e['forValue']((_0x55a8dd,_0x556c39,_0x16848f)=>{_0x44bd1d['realDeleteValue'](_0x55a8dd,_0x556c39);}),delete _0x374347[_0x4ffe55];}}[_0x3d63b3(0xd1)](_0x2bc9bb,_0xf7fedc){const _0x53fe95=_0x3d63b3;var _0x3bb5b1;return(_0x3bb5b1=this[_0x53fe95(0xe0)][_0x53fe95(0xcf)](_0x2bc9bb))==null?void 0x0:_0x3bb5b1[_0x53fe95(0xcf)](_0xf7fedc);}['getSparklineById'](_0x1aa986,_0x2fd720,_0x1da695){const _0x433dc9=_0x3d63b3;var _0x47549b,_0xac4033;return(_0xac4033=(_0x47549b=this['_sparklineModel'][_0x433dc9(0xcf)](_0x1aa986))==null?void 0x0:_0x47549b['get'](_0x2fd720))==null?void 0x0:_0xac4033[_0x433dc9(0xcf)](_0x1da695);}['getSparkline'](_0x63464a,_0x3a0fc8,_0x5cc9cd,_0x2a34ac){const _0x416cb5=_0x3d63b3;var _0x50e20f,_0x4e66c0,_0x115cc0;return(_0x115cc0=(_0x4e66c0=(_0x50e20f=this['_sparklineAnchorMap'][_0x416cb5(0xcf)](_0x63464a))==null?void 0x0:_0x50e20f[_0x416cb5(0xcf)](_0x3a0fc8))==null?void 0x0:_0x4e66c0[_0x416cb5(0x10a)][_0x416cb5(0x131)](_0x5cc9cd,_0x2a34ac))==null?void 0x0:_0x115cc0[_0x416cb5(0xbe)];}[_0x3d63b3(0xda)](_0x375eef,_0x370ade){const _0x5ef8f3=_0x3d63b3;var _0x1404a7;const _0x1edd77=this[_0x5ef8f3(0x11a)](_0x375eef,_0x370ade);_0x1edd77[_0x5ef8f3(0x10a)][_0x5ef8f3(0x1b1)]((_0x3f5aa2,_0x212927)=>{const _0x6e95ed=_0x5ef8f3;_0x1edd77[_0x6e95ed(0x10a)][_0x6e95ed(0x10e)](_0x3f5aa2,_0x212927);});const _0x3a06e9=(_0x1404a7=this['_sparklineModel']['get'](_0x375eef))==null?void 0x0:_0x1404a7[_0x5ef8f3(0xcf)](_0x370ade);if(_0x3a06e9){for(const [_0x14a7a9]of _0x3a06e9)this['updateSparklineExtraNum'](_0x375eef,_0x370ade,_0x14a7a9);}}[_0x3d63b3(0x134)](){const _0x488158=_0x3d63b3;return{'sparklineModel':this[_0x488158(0xe0)],'sparklineAnchorMap':this[_0x488158(0x159)]};}[_0x3d63b3(0xc3)](_0x146bf3){const _0x1433da=_0x3d63b3,_0x9d5407={};if(this[_0x1433da(0xe0)]['has'](_0x146bf3)){_0x9d5407[_0x146bf3]={};const _0x68334c=this[_0x1433da(0xe0)]['get'](_0x146bf3);_0x68334c!=null&&_0x68334c[_0x1433da(0xf1)]&&Array[_0x1433da(0x129)](_0x68334c['keys']())[_0x1433da(0xf2)](_0x285ecf=>{const _0x57ad4a=_0x1433da;_0x9d5407[_0x146bf3][_0x285ecf]={};const _0xd28556=_0x68334c[_0x57ad4a(0xcf)](_0x285ecf);_0xd28556!=null&&_0xd28556[_0x57ad4a(0xf1)]&&Array[_0x57ad4a(0x129)](_0xd28556[_0x57ad4a(0xd9)]())[_0x57ad4a(0xf2)](_0x231a2e=>{const _0x27b13d=_0x57ad4a,_0x566a92=_0xd28556[_0x27b13d(0xcf)](_0x231a2e);_0x566a92&&(_0x9d5407[_0x146bf3][_0x285ecf][_0x231a2e]={'config':_0x566a92['config'],'sparklines':_0x566a92[_0x27b13d(0xc2)]['getMatrix']()});});});}return _0x9d5407;}[_0x3d63b3(0xfa)](_0x59e319){const _0x114f50=_0x3d63b3;if(!_0x59e319)return;Object[_0x114f50(0xd9)](_0x59e319)['forEach'](_0x34fc39=>{const _0x36d8ab=_0x114f50,_0x649781=_0x59e319[_0x34fc39];_0x649781&&Object[_0x36d8ab(0xd9)](_0x649781)[_0x36d8ab(0xf2)](_0x3ddf57=>{const _0x507610=_0x36d8ab,_0x1ec5c1=_0x649781[_0x3ddf57];_0x1ec5c1&&Object['keys'](_0x1ec5c1)[_0x507610(0xf2)](_0x2117bf=>{const _0x1445b0=_0x507610,_0x2ad1c6=_0x1ec5c1[_0x2117bf];if(_0x2ad1c6){const _0x1be8d0={'config':_0x2ad1c6[_0x1445b0(0x195)],'sparklines':new _0x1018ea[(_0x1445b0(0xe2))](_0x2ad1c6['sparklines'])};this[_0x1445b0(0x17f)](_0x34fc39,_0x3ddf57,_0x2117bf,_0x1be8d0);}});});});}[_0x3d63b3(0x186)](_0x5dc693){const _0x34e0b1=_0x3d63b3,_0x1cdfc8=this['_sparklineModel']['get'](_0x5dc693);if(_0x1cdfc8){for(const [_0x5b6233]of _0x1cdfc8){const _0x4504c8=_0x1cdfc8[_0x34e0b1(0xcf)](_0x5b6233);if(_0x4504c8){for(const [_0x4b63e9]of _0x4504c8)this[_0x34e0b1(0xed)](_0x5dc693,_0x5b6233,_0x4b63e9);}}this['_sparklineModel'][_0x34e0b1(0x102)](_0x5dc693);}}},_0x4d2b36[_0x3d63b3(0x156)]=_0x4aa701([_0x525c90(0x0,_0x1018ea['Inject'](_0x1018ea['IUniverInstanceService']))],_0x4d2b36[_0x3d63b3(0x156)]);const _0x45c6b9={'id':_0x3d63b3(0x1b7),'type':_0x1018ea[_0x3d63b3(0x172)][_0x3d63b3(0x124)],'handler':(_0x3f452d,_0x532997)=>{const _0x5d3942=_0x3d63b3;if(!_0x532997)return!0x1;const {sparklineConfigMap:_0x3e70aa,unitId:_0xace700,subUnitId:_0x19b874}=_0x532997,_0x2eedfc=_0x3f452d[_0x5d3942(0xcf)](_0x4d2b36[_0x5d3942(0x156)]);return Object[_0x5d3942(0x148)](_0x3e70aa)[_0x5d3942(0xf2)](([_0xc222e9,_0x1b5350])=>{const _0x438f88=_0x5d3942,_0x3c6f26={'config':_0x1b5350[_0x438f88(0x195)],'sparklines':new _0x1018ea['ObjectMatrix'](_0x1b5350[_0x438f88(0xc2)])};_0x2eedfc[_0x438f88(0x17f)](_0xace700,_0x19b874,_0xc222e9,_0x3c6f26);}),!0x0;}},_0x80bdf0={'id':_0x3d63b3(0x189),'type':_0x1018ea[_0x3d63b3(0x172)][_0x3d63b3(0x124)],'handler':(_0x308c8b,_0x19c3ad)=>{const _0x21709f=_0x3d63b3;if(!_0x19c3ad)return!0x1;const {unitId:_0x431196,subUnitId:_0xc3f851,ranges:_0x5a867e,isSingle:_0x2914db,groupIds:_0x407c53}=_0x19c3ad,_0x14ee2a=_0x308c8b[_0x21709f(0xcf)](_0x4d2b36[_0x21709f(0x156)]);return _0x407c53?(_0x407c53[_0x21709f(0xf2)](_0x5a0ce1=>{const _0x28ac3c=_0x21709f;_0x14ee2a[_0x28ac3c(0x12b)](_0x431196,_0xc3f851,_0x5a0ce1);}),!0x0):_0x5a867e?(_0x5a867e[_0x21709f(0xf2)](_0x16f6e9=>{const _0x217f1c=_0x21709f;_0x1018ea[_0x217f1c(0xdc)][_0x217f1c(0x12e)](_0x16f6e9,(_0x579186,_0x39c9bf)=>{const _0x3847b3=_0x217f1c,_0x32dda0=_0x14ee2a['getSparkline'](_0x431196,_0xc3f851,_0x579186,_0x39c9bf);_0x32dda0&&(_0x2914db?_0x14ee2a[_0x3847b3(0xcd)](_0x431196,_0xc3f851,_0x579186,_0x39c9bf):_0x14ee2a['removeSparkline'](_0x431196,_0xc3f851,_0x32dda0));});}),!0x0):!0x1;}},_0x4dc326={'id':_0x3d63b3(0xe5),'type':_0x1018ea[_0x3d63b3(0x172)]['COMMAND'],'handler':(_0x678d35,_0x540e2a)=>{const _0x23d070=_0x3d63b3;if(!_0x540e2a)return!0x1;const {sourceRanges:_0x5e2f40,targetRanges:_0x1ebb58,config:_0x40f295}=_0x540e2a,_0x4b2293=_0x678d35[_0x23d070(0xcf)](_0x1018ea[_0x23d070(0xc1)]),_0x559d4f='g_'+_0x1018ea['generateRandomId'](0x6),_0x22005c=_0x52086d(_0x5e2f40,_0x1ebb58),_0x230084={'config':_0x40f295!=null?_0x40f295:{},'sparklines':_0x22005c['getMatrix']()},_0xf024b0=_0x678d35['get'](_0x1018ea[_0x23d070(0x11d)]),_0x4e1994=_0x678d35['get'](_0x4d2b36['SparklineDataSourceModel']),_0x25f682=_0x3b01ec[_0x23d070(0x196)](_0xf024b0);if(!_0x25f682)return!0x1;const {unitId:_0x395644,subUnitId:_0x29ef0d}=_0x25f682,_0x50fe2e=_0x678d35[_0x23d070(0xcf)](_0x1018ea[_0x23d070(0x101)]),_0x3ec9d1=[],_0x42bd4b=[],_0x468e6d={},_0x386a15={},_0x4fc1d9=new Set([_0x559d4f]);_0x22005c['forValue']((_0x38614e,_0x3df9da,_0x29c26f)=>{const _0x5f39eb=_0x23d070,_0x504500=_0x4e1994[_0x5f39eb(0xe6)](_0x395644,_0x29ef0d,_0x38614e,_0x3df9da);if(_0x504500){const _0x5631ad=_0x4e1994[_0x5f39eb(0x1a7)](_0x395644,_0x29ef0d,_0x504500);if(_0x5631ad){_0x4fc1d9[_0x5f39eb(0xff)](_0x504500);let _0x495e31=_0x468e6d[_0x504500],_0x5e1228=_0x386a15[_0x504500];_0x5e1228||(_0x5e1228={'config':_0x1018ea['Tools'][_0x5f39eb(0xef)](_0x5631ad[_0x5f39eb(0x195)]),'sparklines':new _0x1018ea[(_0x5f39eb(0xe2))](_0x5631ad[_0x5f39eb(0xc2)][_0x5f39eb(0x125)]())},_0x386a15[_0x504500]=_0x5e1228),_0x495e31||(_0x495e31={'config':_0x1018ea[_0x5f39eb(0x13c)][_0x5f39eb(0xef)](_0x5631ad[_0x5f39eb(0x195)]),'sparklines':_0x5631ad[_0x5f39eb(0xc2)]['clone']()},_0x468e6d[_0x504500]=_0x495e31),_0x5e1228[_0x5f39eb(0xc2)]['realDeleteValue'](_0x38614e,_0x3df9da);}}});const _0xedc441={};return Object[_0x23d070(0x148)](_0x386a15)['forEach'](([_0x48fea0,_0x196be3])=>{const _0x45e4ff=_0x23d070;_0x196be3['sparklines']['getSizeOf']()&&(_0xedc441[_0x48fea0]={'config':_0x196be3[_0x45e4ff(0x195)],'sparklines':_0x196be3[_0x45e4ff(0xc2)][_0x45e4ff(0x125)]()});}),_0xedc441[_0x559d4f]=_0x230084,_0x3ec9d1['push']({'id':_0x80bdf0['id'],'params':{'unitId':_0x395644,'subUnitId':_0x29ef0d,'groupIds':Array[_0x23d070(0x129)](_0x4fc1d9),'isSingle':!0x1}}),_0x4fc1d9[_0x23d070(0xf1)]>0x1&&(_0x42bd4b[_0x23d070(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0x395644,'subUnitId':_0x29ef0d,'groupIds':Array[_0x23d070(0x129)](_0x4fc1d9),'isSingle':!0x1}}),_0x3ec9d1[_0x23d070(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x395644,'subUnitId':_0x29ef0d,'sparklineConfigMap':_0x468e6d}})),_0x42bd4b[_0x23d070(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x395644,'subUnitId':_0x29ef0d,'sparklineConfigMap':_0xedc441}}),_0x1018ea[_0x23d070(0x115)](_0x42bd4b,_0x50fe2e),_0x4b2293[_0x23d070(0x138)]({'unitID':_0x395644,'undoMutations':_0x3ec9d1,'redoMutations':_0x42bd4b}),!0x0;}},_0x430cbe={'id':_0x3d63b3(0x141),'type':_0x1018ea['CommandType']['COMMAND'],'handler':(_0x10f29b,_0x31c779)=>{const _0x59e89b=_0x3d63b3;var _0x2e0c82;const {isSingle:_0x1df987=!0x0}=_0x31c779||{},_0x50a31d=_0x10f29b[_0x59e89b(0xcf)](_0x1018ea[_0x59e89b(0x101)]),_0x561432=_0x10f29b[_0x59e89b(0xcf)](_0x1018ea[_0x59e89b(0x11d)]),_0xe1adb1=_0x10f29b[_0x59e89b(0xcf)](_0x4d2b36[_0x59e89b(0x156)]),_0x46f7eb=_0x10f29b['get'](_0x1018ea[_0x59e89b(0xc1)]),_0x5de18b=_0x3b01ec['getSheetCommandTarget'](_0x561432);if(!_0x5de18b)return!0x1;const _0xc15f99=_0x10f29b['get'](_0x3b01ec[_0x59e89b(0x118)]),_0x42467b=(_0x2e0c82=_0x31c779==null?void 0x0:_0x31c779['ranges'])!=null?_0x2e0c82:_0xc15f99['getCurrentSelections']()[_0x59e89b(0x11e)](_0x120275=>_0x120275['range']),{unitId:_0x58cbb5,subUnitId:_0x3e339e}=_0x5de18b,_0xdd2707=[],_0x3d082e=[];_0xdd2707[_0x59e89b(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0x58cbb5,'subUnitId':_0x3e339e,'ranges':_0x42467b,'isSingle':_0x1df987}});const _0x59d527=[],_0x491e1c={};return _0x42467b[_0x59e89b(0xf2)](_0x53da50=>{const _0x115726=_0x59e89b;_0x1018ea[_0x115726(0xdc)][_0x115726(0x12e)](_0x53da50,(_0x5dad3f,_0x29c3a7)=>{const _0x50f24f=_0x115726,_0x4d4801=_0xe1adb1[_0x50f24f(0xe6)](_0x58cbb5,_0x3e339e,_0x5dad3f,_0x29c3a7);if(_0x4d4801){const _0x2317f7=_0xe1adb1[_0x50f24f(0x1a7)](_0x58cbb5,_0x3e339e,_0x4d4801);_0x2317f7&&(_0x59d527[_0x50f24f(0x197)](_0x4d4801),_0x491e1c[_0x4d4801]={'config':_0x1018ea['Tools'][_0x50f24f(0xef)](_0x2317f7['config']),'sparklines':_0x1018ea[_0x50f24f(0x13c)]['deepClone'](_0x2317f7['sparklines'][_0x50f24f(0x125)]())});}});}),_0x3d082e[_0x59e89b(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0x58cbb5,'subUnitId':_0x3e339e,'groupIds':_0x59d527,'isSingle':!0x1}}),_0x3d082e[_0x59e89b(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x58cbb5,'subUnitId':_0x3e339e,'sparklineConfigMap':_0x491e1c}}),_0x1018ea[_0x59e89b(0x115)](_0xdd2707,_0x50a31d),_0x46f7eb[_0x59e89b(0x138)]({'unitID':_0x58cbb5,'undoMutations':_0x3d082e,'redoMutations':_0xdd2707}),!0x0;}},_0x2857d4={'id':_0x3d63b3(0x14d),'type':_0x1018ea[_0x3d63b3(0x172)][_0x3d63b3(0x124)],'handler':(_0x4e0a0a,_0x27bc95)=>{const _0x3f61fd=_0x3d63b3;if(!_0x27bc95)return!0x1;const {unitId:_0x3c4b70,subUnitId:_0x321edf,groupIds:_0x4462a4,config:_0x1fcdb9}=_0x27bc95,_0x218cb2=_0x4e0a0a[_0x3f61fd(0xcf)](_0x4d2b36[_0x3f61fd(0x156)]);return _0x4462a4['forEach'](_0x51a87d=>{const _0x215946=_0x3f61fd,_0x2db43c=_0x218cb2[_0x215946(0x1a7)](_0x3c4b70,_0x321edf,_0x51a87d);if(_0x2db43c){const _0x51c69b={'config':Object[_0x215946(0x19a)]({},_0x2db43c[_0x215946(0x195)],_0x1fcdb9[_0x215946(0x195)]),'sparklines':new _0x1018ea[(_0x215946(0xe2))](_0x2db43c[_0x215946(0xc2)][_0x215946(0x125)]())};_0x218cb2[_0x215946(0x11f)](_0x3c4b70,_0x321edf,[_0x51a87d],_0x51c69b);}}),!0x0;}},_0x573703={'id':_0x3d63b3(0xf4),'type':_0x1018ea[_0x3d63b3(0x172)][_0x3d63b3(0x152)],'handler':(_0x232786,_0x5c52be)=>{const _0x30cec1=_0x3d63b3;var _0x5b33c2,_0x1cdc88,_0x158357,_0x109e86;if(!_0x5c52be)return!0x1;const _0x9b29de=_0x232786['get'](_0x1018ea[_0x30cec1(0x101)]),_0xe43892=_0x232786[_0x30cec1(0xcf)](_0x3b01ec[_0x30cec1(0x118)]),_0x9b982d=_0x232786[_0x30cec1(0xcf)](_0x4d2b36[_0x30cec1(0x156)]),_0x39c3d2=_0x232786[_0x30cec1(0xcf)](_0x1018ea[_0x30cec1(0x11d)]),_0x6fa3df=_0x232786[_0x30cec1(0xcf)](_0x1018ea[_0x30cec1(0xc1)]),_0x32dfaa=_0x3b01ec[_0x30cec1(0x196)](_0x39c3d2);if(!_0x32dfaa)return!0x1;const {unitId:_0xc00fb0,subUnitId:_0x4a4af2}=_0x32dfaa,_0x303f91=(_0x5b33c2=_0x5c52be==null?void 0x0:_0x5c52be[_0x30cec1(0x16e)])!=null?_0x5b33c2:_0xe43892['getCurrentSelections']()[_0x30cec1(0x11e)](_0x593044=>_0x593044[_0x30cec1(0xd3)]),_0x572baa=(_0x1cdc88=_0x9b982d[_0x30cec1(0x134)]()[_0x30cec1(0x180)][_0x30cec1(0xcf)](_0xc00fb0))==null?void 0x0:_0x1cdc88[_0x30cec1(0xcf)](_0x4a4af2),{isChangeDataSource:_0x2a26d5,config:_0x736942,combine:_0xb9b53f,unCombine:_0x3aca60}=_0x5c52be;if(_0xb9b53f){const _0xc7af6b=[],_0x9befca=[];_0xc7af6b[_0x30cec1(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'ranges':_0x303f91,'isSingle':!0x0}});const _0x3e59c1='g_'+_0x1018ea[_0x30cec1(0x176)](0x6),_0x112f6d=new _0x1018ea[(_0x30cec1(0xe2))](),_0x3d2b00=(_0x158357=_0x9b982d[_0x30cec1(0x134)]()[_0x30cec1(0xf5)][_0x30cec1(0xcf)](_0xc00fb0))==null?void 0x0:_0x158357[_0x30cec1(0xcf)](_0x4a4af2),_0x10d679=new Set([_0x3e59c1]),_0x5e2dd1={};return _0x303f91[_0x30cec1(0xf2)](_0x31b196=>{const _0xe673ae=_0x30cec1;var _0x407b68,_0x137c4b;const {startRow:_0x58c34b,endRow:_0x5115f2,startColumn:_0x45c83e,endColumn:_0x3727f5}=_0x31b196;for(let _0x2ea925=_0x58c34b;_0x2ea925<=_0x5115f2;_0x2ea925++)for(let _0x3eaaa2=_0x45c83e;_0x3eaaa2<=_0x3727f5;_0x3eaaa2++){const _0x78119b=(_0x407b68=_0x572baa==null?void 0x0:_0x572baa['matrix']['getValue'](_0x2ea925,_0x3eaaa2))==null?void 0x0:_0x407b68[_0xe673ae(0xbe)];if(_0x78119b){_0x10d679['add'](_0x78119b);const _0x52787c=_0x9b982d['getSparklineById'](_0xc00fb0,_0x4a4af2,_0x78119b);_0x52787c&&(_0x5e2dd1[_0x78119b]={'config':_0x1018ea[_0xe673ae(0x13c)][_0xe673ae(0xef)](_0x52787c[_0xe673ae(0x195)]),'sparklines':_0x1018ea[_0xe673ae(0x13c)][_0xe673ae(0xef)](_0x52787c['sparklines'][_0xe673ae(0x125)]())});const _0x5d82e3=(_0x137c4b=_0x3d2b00==null?void 0x0:_0x3d2b00['get'](_0x78119b))==null?void 0x0:_0x137c4b['sparklines']['getValue'](_0x2ea925,_0x3eaaa2);_0x5d82e3&&_0x112f6d['setValue'](_0x2ea925,_0x3eaaa2,_0x5d82e3);}}}),_0xc7af6b[_0x30cec1(0x197)]({'id':_0x45c6b9['id'],'params':{'sparklineConfigMap':{[_0x3e59c1]:{'config':_0x1018ea['Tools']['deepClone'](_0x736942[_0x30cec1(0x195)]),'sparklines':_0x112f6d[_0x30cec1(0xd0)]()}},'unitId':_0xc00fb0,'subUnitId':_0x4a4af2}}),_0x9befca[_0x30cec1(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'isSingle':!0x1,'groupIds':Array[_0x30cec1(0x129)](_0x10d679)}}),_0x9befca[_0x30cec1(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'sparklineConfigMap':_0x5e2dd1}}),_0x1018ea[_0x30cec1(0x115)](_0xc7af6b,_0x9b29de),_0x6fa3df[_0x30cec1(0x138)]({'unitID':_0xc00fb0,'undoMutations':_0x9befca,'redoMutations':_0xc7af6b}),!0x0;}else{if(_0x3aca60){const _0x29d3e8=[],_0x5e85fc=[];_0x29d3e8[_0x30cec1(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'ranges':_0x303f91,'isSingle':!0x0}});const _0x3c5da7=(_0x109e86=_0x9b982d[_0x30cec1(0x134)]()['sparklineModel'][_0x30cec1(0xcf)](_0xc00fb0))==null?void 0x0:_0x109e86[_0x30cec1(0xcf)](_0x4a4af2),_0x4deb64={},_0xe2a3b5=new Set(),_0xa15f2={};return _0x303f91['forEach'](_0x41cd26=>{const _0x1cc820=_0x30cec1;var _0x56dd0d,_0x1d0215;const {startRow:_0xe1fc73,endRow:_0x57d10e,startColumn:_0xfe978e,endColumn:_0x2af109}=_0x41cd26;for(let _0x1a500c=_0xe1fc73;_0x1a500c<=_0x57d10e;_0x1a500c++)for(let _0xffcaf6=_0xfe978e;_0xffcaf6<=_0x2af109;_0xffcaf6++){const _0x430b63=(_0x56dd0d=_0x572baa==null?void 0x0:_0x572baa['matrix'][_0x1cc820(0x131)](_0x1a500c,_0xffcaf6))==null?void 0x0:_0x56dd0d[_0x1cc820(0xbe)];if(_0x430b63){const _0x2e24cc=new _0x1018ea[(_0x1cc820(0xe2))](),_0x5dbb2d='g_'+_0x1018ea['generateRandomId'](0x6);_0xe2a3b5[_0x1cc820(0xff)](_0x430b63),_0xe2a3b5['add'](_0x5dbb2d);const _0x3f9043=_0x9b982d[_0x1cc820(0x1a7)](_0xc00fb0,_0x4a4af2,_0x430b63);_0x3f9043&&(_0xa15f2[_0x430b63]={'config':_0x1018ea['Tools']['deepClone'](_0x3f9043['config']),'sparklines':_0x1018ea[_0x1cc820(0x13c)][_0x1cc820(0xef)](_0x3f9043[_0x1cc820(0xc2)]['clone']())});const _0x342564=(_0x1d0215=_0x3c5da7==null?void 0x0:_0x3c5da7[_0x1cc820(0xcf)](_0x430b63))==null?void 0x0:_0x1d0215['sparklines'][_0x1cc820(0x131)](_0x1a500c,_0xffcaf6);_0x342564&&_0x2e24cc['setValue'](_0x1a500c,_0xffcaf6,_0x342564),_0x4deb64[_0x5dbb2d]={'sparklines':_0x2e24cc['getMatrix'](),'config':_0x1018ea[_0x1cc820(0x13c)][_0x1cc820(0xef)](_0x736942['config'])};}}}),_0x29d3e8[_0x30cec1(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'sparklineConfigMap':_0x4deb64}}),_0x5e85fc[_0x30cec1(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'isSingle':!0x1,'groupIds':Array[_0x30cec1(0x129)](_0xe2a3b5)}}),_0x5e85fc[_0x30cec1(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'sparklineConfigMap':_0xa15f2}}),_0x1018ea[_0x30cec1(0x115)](_0x29d3e8,_0x9b29de),_0x6fa3df[_0x30cec1(0x138)]({'unitID':_0xc00fb0,'undoMutations':_0x5e85fc,'redoMutations':_0x29d3e8}),!0x0;}}if(_0x2a26d5){const _0x6dba01=_0x5c52be['changeDataSourceInfo'];if(!_0x6dba01)return!0x1;const {groupId:_0x7d2633,sourceRanges:_0x288742,targetRanges:_0x3f670b,resetType:_0x1cbbe6,primary:_0x46ed04}=_0x6dba01,_0x317de8=[],_0x4a454a=[];_0x317de8[_0x30cec1(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'ranges':_0x303f91,'isSingle':!0x1,'groupIds':[_0x7d2633]}}),_0x4a454a['push']({'id':_0x80bdf0['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'ranges':_0x303f91,'isSingle':!0x1,'groupIds':[_0x7d2633]}});let _0xdef2c2;_0x1cbbe6===_0x30cec1(0xd5)?(_0xdef2c2=new _0x1018ea['ObjectMatrix'](_0x736942[_0x30cec1(0xc2)][_0x30cec1(0x125)]()),_0xdef2c2[_0x30cec1(0x10e)](_0x46ed04[_0x30cec1(0x1b3)],_0x46ed04[_0x30cec1(0x18d)]),_0xdef2c2['setValue'](_0x3f670b[0x0][_0x30cec1(0x100)],_0x3f670b[0x0]['startColumn'],_0x288742[0x0])):_0xdef2c2=_0x52086d(_0x288742,_0x3f670b);const _0x108696={'config':_0x1018ea[_0x30cec1(0x13c)][_0x30cec1(0xef)](_0x736942[_0x30cec1(0x195)]),'sparklines':_0xdef2c2[_0x30cec1(0xd0)]()},_0x2cc9bf={'config':_0x1018ea[_0x30cec1(0x13c)]['deepClone'](_0x736942[_0x30cec1(0x195)]),'sparklines':_0x1018ea[_0x30cec1(0x13c)][_0x30cec1(0xef)](_0x736942[_0x30cec1(0xc2)][_0x30cec1(0x125)]())};_0x317de8[_0x30cec1(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'sparklineConfigMap':{[_0x7d2633]:_0x108696}}}),_0x4a454a['push']({'id':_0x45c6b9['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'sparklineConfigMap':{[_0x7d2633]:_0x2cc9bf}}}),_0x1018ea[_0x30cec1(0x115)](_0x317de8,_0x9b29de),_0x6fa3df[_0x30cec1(0x138)]({'unitID':_0xc00fb0,'undoMutations':_0x4a454a,'redoMutations':_0x317de8});}else{const _0x35c42b=[],_0x30cc2c=[],_0x20b4ed=new Set(),_0x4aee2e={};_0x303f91[_0x30cec1(0xf2)](_0x2664f8=>{const _0x1d1bb7=_0x30cec1;var _0x11a448;const {startRow:_0x2742ec,endRow:_0x30aa1f,startColumn:_0x33cce1,endColumn:_0x4bf512}=_0x2664f8;for(let _0x1d8b3e=_0x2742ec;_0x1d8b3e<=_0x30aa1f;_0x1d8b3e++)for(let _0x5a5940=_0x33cce1;_0x5a5940<=_0x4bf512;_0x5a5940++){const _0x341062=(_0x11a448=_0x572baa==null?void 0x0:_0x572baa[_0x1d1bb7(0x10a)][_0x1d1bb7(0x131)](_0x1d8b3e,_0x5a5940))==null?void 0x0:_0x11a448[_0x1d1bb7(0xbe)];if(_0x341062){_0x20b4ed[_0x1d1bb7(0xff)](_0x341062);const _0x5c4a51=_0x9b982d[_0x1d1bb7(0x1a7)](_0xc00fb0,_0x4a4af2,_0x341062);_0x5c4a51&&(_0x4aee2e[_0x341062]={'config':_0x1018ea[_0x1d1bb7(0x13c)][_0x1d1bb7(0xef)](_0x5c4a51[_0x1d1bb7(0x195)]),'sparklines':_0x1018ea[_0x1d1bb7(0x13c)]['deepClone'](_0x5c4a51[_0x1d1bb7(0xc2)][_0x1d1bb7(0x125)]())});}}}),_0x30cc2c[_0x30cec1(0x197)]({'id':_0x2857d4['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'groupIds':Array[_0x30cec1(0x129)](_0x20b4ed),'config':{'config':_0x1018ea[_0x30cec1(0x13c)][_0x30cec1(0xef)](_0x736942['config']),'sparklines':_0x736942[_0x30cec1(0xc2)][_0x30cec1(0xd0)]()}}}),_0x35c42b[_0x30cec1(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'isSingle':!0x1,'groupIds':Array[_0x30cec1(0x129)](_0x20b4ed)}}),_0x35c42b[_0x30cec1(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0xc00fb0,'subUnitId':_0x4a4af2,'sparklineConfigMap':_0x4aee2e}}),_0x1018ea[_0x30cec1(0x115)](_0x30cc2c,_0x9b29de),_0x6fa3df['pushUndoRedo']({'unitID':_0xc00fb0,'undoMutations':_0x35c42b,'redoMutations':_0x30cc2c});}return!0x0;}};var _0x6cd71=Object[_0x3d63b3(0x15d)],_0x17c729=(_0x36fd87,_0x342148,_0x5386ed,_0x53d4d7)=>{const _0x30f94f=_0x3d63b3;for(var _0x19ff5c=_0x53d4d7>0x1?void 0x0:_0x53d4d7?_0x6cd71(_0x342148,_0x5386ed):_0x342148,_0x14590c=_0x36fd87[_0x30f94f(0x1bb)]-0x1,_0x1838eb;_0x14590c>=0x0;_0x14590c--)(_0x1838eb=_0x36fd87[_0x14590c])&&(_0x19ff5c=_0x1838eb(_0x19ff5c)||_0x19ff5c);return _0x19ff5c;},_0x44a8d1=(_0x152cb5,_0x54f296)=>(_0x2615bb,_0x469608)=>_0x54f296(_0x2615bb,_0x469608,_0x152cb5);let _0x2d90e7=class extends _0x1018ea[_0x3d63b3(0x18e)]{constructor(_0x184c20,_0x12fce4,_0x302b78,_0xdbd80b){const _0x21a337=_0x3d63b3;super(),this[_0x21a337(0xc7)]=_0x184c20,this[_0x21a337(0xf9)]=_0x12fce4,this[_0x21a337(0xb8)]=_0x302b78,this['_sheetSelectionService']=_0xdbd80b,this['_initClearWithSparkline']();}[_0x3d63b3(0x1b4)](){const _0x48520d=_0x3d63b3;this[_0x48520d(0xb6)](this['_sheetInterceptorService'][_0x48520d(0x19d)]({'getMutations':_0x1090ff=>{const _0x3b3f2c=_0x48520d,_0x40d51d=[],_0x277e02=[];if(_0x1090ff['id']===_0x3b01ec[_0x3b3f2c(0xba)]['id']){const _0x5514c7=_0x3b01ec[_0x3b3f2c(0x196)](this[_0x3b3f2c(0xb8)]);if(!_0x5514c7)return{'redos':_0x40d51d,'undos':_0x277e02};const {unitId:_0x59c60f,subUnitId:_0x213965,worksheet:_0x39cde8}=_0x5514c7,_0x453779=this[_0x3b3f2c(0x1ad)]['getCurrentSelections']()[_0x3b3f2c(0x11e)](_0x509818=>_0x509818[_0x3b3f2c(0xd3)]),_0x538229=new Set(),_0x1a3b70={},_0x5d30de={};_0x453779['forEach'](_0x47ab80=>{const _0xe27270=_0x3b3f2c;_0x1018ea[_0xe27270(0xdc)]['foreach'](_0x47ab80,(_0xe14a5f,_0x33ef08)=>{const _0x52ea68=_0xe27270,_0x8dd3ab=this[_0x52ea68(0xc7)][_0x52ea68(0xe6)](_0x59c60f,_0x213965,_0xe14a5f,_0x33ef08);if(_0x8dd3ab&&!_0x538229[_0x52ea68(0x163)](_0x8dd3ab)){const _0xddabce=this[_0x52ea68(0xc7)][_0x52ea68(0x1a7)](_0x59c60f,_0x213965,_0x8dd3ab);_0xddabce&&(_0x538229[_0x52ea68(0xff)](_0x8dd3ab),_0x1a3b70[_0x8dd3ab]={'config':_0x1018ea[_0x52ea68(0x13c)][_0x52ea68(0xef)](_0xddabce['config']),'sparklines':_0x1018ea[_0x52ea68(0x13c)]['deepClone'](_0xddabce[_0x52ea68(0xc2)][_0x52ea68(0x125)]())},_0x5d30de[_0x8dd3ab]={'config':_0x1018ea[_0x52ea68(0x13c)][_0x52ea68(0xef)](_0xddabce[_0x52ea68(0x195)]),'sparklines':_0x1018ea[_0x52ea68(0x13c)]['deepClone'](_0xddabce[_0x52ea68(0xc2)][_0x52ea68(0x125)]())});}});}),Object[_0x3b3f2c(0x1a5)](_0x5d30de)[_0x3b3f2c(0xf2)](_0xa51f7b=>{const _0x4c9469=_0x3b3f2c,_0x4647da=_0xa51f7b[_0x4c9469(0xc2)];new _0x1018ea['ObjectMatrix'](_0x4647da)['forValue']((_0x6fcd5f,_0x4bc42a,_0x59070b)=>{const _0x2ed22c=_0x4c9469;_0x453779[_0x2ed22c(0xb7)](_0x2fb412=>_0x1018ea[_0x2ed22c(0x154)]['intersects'](_0x2fb412,_0x1018ea['cellToRange'](_0x6fcd5f,_0x4bc42a)))&&delete _0x4647da[_0x6fcd5f][_0x4bc42a];});}),_0x40d51d[_0x3b3f2c(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0x59c60f,'subUnitId':_0x213965,'groupIds':Array['from'](_0x538229),'isSingle':!0x1}}),_0x40d51d[_0x3b3f2c(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x59c60f,'subUnitId':_0x213965,'sparklineConfigMap':_0x5d30de}}),_0x277e02['push']({'id':_0x80bdf0['id'],'params':{'unitId':_0x59c60f,'subUnitId':_0x213965,'groupIds':Array[_0x3b3f2c(0x129)](_0x538229),'isSingle':!0x1}}),_0x277e02[_0x3b3f2c(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x59c60f,'subUnitId':_0x213965,'sparklineConfigMap':_0x1a3b70}});}return{'redos':_0x40d51d,'undos':_0x277e02};}}));}};_0x2d90e7=_0x17c729([_0x44a8d1(0x0,_0x1018ea[_0x3d63b3(0xf8)](_0x4d2b36[_0x3d63b3(0x156)])),_0x44a8d1(0x1,_0x1018ea['Inject'](_0x3b01ec[_0x3d63b3(0x111)])),_0x44a8d1(0x2,_0x1018ea[_0x3d63b3(0xf8)](_0x1018ea[_0x3d63b3(0x11d)])),_0x44a8d1(0x3,_0x1018ea[_0x3d63b3(0xf8)](_0x3b01ec['SheetsSelectionsService']))],_0x2d90e7);var _0x22f400=Object[_0x3d63b3(0x15d)],_0x2f6621=(_0x54c49e,_0x266e53,_0x2ea27a,_0xb58b53)=>{for(var _0x1131df=_0xb58b53>0x1?void 0x0:_0xb58b53?_0x22f400(_0x266e53,_0x2ea27a):_0x266e53,_0x5dadc7=_0x54c49e['length']-0x1,_0x51ac05;_0x5dadc7>=0x0;_0x5dadc7--)(_0x51ac05=_0x54c49e[_0x5dadc7])&&(_0x1131df=_0x51ac05(_0x1131df)||_0x1131df);return _0x1131df;},_0x38e30f=(_0x10dab4,_0x3b69bf)=>(_0x44509d,_0x5e69cf)=>_0x3b69bf(_0x44509d,_0x5e69cf,_0x10dab4);let _0x1e6d4a=class extends _0x1018ea[_0x3d63b3(0x18e)]{constructor(_0x24e54a,_0x5ea165){const _0x482722=_0x3d63b3;super(),this[_0x482722(0xf9)]=_0x24e54a,this[_0x482722(0xc7)]=_0x5ea165,this['_initCopySheetWithSparkline']();}[_0x3d63b3(0x147)](){const _0x2a8aea=_0x3d63b3;this[_0x2a8aea(0xb6)](this[_0x2a8aea(0xf9)]['interceptCommand']({'getMutations':_0x178eda=>{const _0x1e5734=_0x2a8aea,_0x14dc6c=[],_0x451c99=[];if(_0x178eda['id']===_0x3b01ec[_0x1e5734(0x120)]['id']){const _0x22c19f=_0x178eda[_0x1e5734(0x128)];if(!_0x22c19f)return{'redos':_0x14dc6c,'undos':_0x451c99};const {unitId:_0x125090,subUnitId:_0x86563f,targetSubUnitId:_0xbc0d18}=_0x22c19f;if(!_0x125090||!_0x86563f||!_0xbc0d18)return{'redos':_0x14dc6c,'undos':_0x451c99};const _0x7f14b8=new Set(),_0x3f087c={},_0xaa7931=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x125090,_0x86563f);if(!_0xaa7931)return{'redos':_0x14dc6c,'undos':_0x451c99};for(const [_0x30b122,_0x793c46]of _0xaa7931){const _0xfca5c1='g_'+_0x1018ea['generateRandomId'](0x6);_0x7f14b8['add'](_0x30b122),_0x3f087c[_0xfca5c1]={'config':_0x1018ea[_0x1e5734(0x13c)][_0x1e5734(0xef)](_0x793c46[_0x1e5734(0x195)]),'sparklines':_0x1018ea['Tools'][_0x1e5734(0xef)](_0x793c46[_0x1e5734(0xc2)][_0x1e5734(0x125)]())};}_0x7f14b8[_0x1e5734(0xf1)]&&(_0x451c99[_0x1e5734(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0x125090,'subUnitId':_0xbc0d18,'groupIds':Array[_0x1e5734(0x129)](_0x7f14b8),'isSingle':!0x1}}),_0x14dc6c[_0x1e5734(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x125090,'subUnitId':_0xbc0d18,'sparklineConfigMap':_0x3f087c}}));}return{'redos':_0x14dc6c,'undos':_0x451c99};}}));}};_0x1e6d4a=_0x2f6621([_0x38e30f(0x0,_0x1018ea['Inject'](_0x3b01ec[_0x3d63b3(0x111)])),_0x38e30f(0x1,_0x1018ea[_0x3d63b3(0xf8)](_0x4d2b36[_0x3d63b3(0x156)]))],_0x1e6d4a);var _0x3955b4=Object[_0x3d63b3(0x15d)],_0x198bb2=(_0x45b411,_0x4a35ef,_0x149e02,_0x4b583a)=>{for(var _0x4f92ec=_0x4b583a>0x1?void 0x0:_0x4b583a?_0x3955b4(_0x4a35ef,_0x149e02):_0x4a35ef,_0x5f0d00=_0x45b411['length']-0x1,_0x3527ff;_0x5f0d00>=0x0;_0x5f0d00--)(_0x3527ff=_0x45b411[_0x5f0d00])&&(_0x4f92ec=_0x3527ff(_0x4f92ec)||_0x4f92ec);return _0x4f92ec;},_0x521569=(_0x597c25,_0x559bc1)=>(_0x3699a7,_0x1c0cf0)=>_0x559bc1(_0x3699a7,_0x1c0cf0,_0x597c25);let _0x107539=class extends _0x1018ea[_0x3d63b3(0x18e)]{constructor(_0x4b6106,_0x436c90,_0x35cf36){const _0x58d0c3=_0x3d63b3;super(),this[_0x58d0c3(0x1c0)]=_0x4b6106,this[_0x58d0c3(0xc7)]=_0x436c90,this[_0x58d0c3(0x15f)]=_0x35cf36,this[_0x58d0c3(0x114)](),this[_0x58d0c3(0x1b5)]();}[_0x3d63b3(0x114)](){const _0x4d062c=_0x3d63b3;this[_0x4d062c(0xb6)](this[_0x4d062c(0x1c0)][_0x4d062c(0xd6)](_0x395eda=>{const _0xd02e2f=_0x4d062c;if(_0x395eda['id']===_0x3b01ec[_0xd02e2f(0xfc)]['id']){const _0x28965b=_0x395eda[_0xd02e2f(0x128)],{cellValue:_0x2b4677,unitId:_0x16555c,subUnitId:_0x24af73}=_0x28965b,_0x5ef5b7=new _0x1018ea['ObjectMatrix'](_0x2b4677),_0x341c89=new Set(),_0x53ee79=this[_0xd02e2f(0xc7)][_0xd02e2f(0xd1)](_0x16555c,_0x24af73);if(!_0x53ee79)return;const _0x3a34db=Array['from'](_0x53ee79);_0x5ef5b7[_0xd02e2f(0x1b1)]((_0x47ff7b,_0x51f0a0,_0x1f3e8a)=>{const _0x86a948=_0xd02e2f,_0x1232ad=_0x1018ea[_0x86a948(0x157)](_0x47ff7b,_0x51f0a0);for(let _0x486b5b=0x0;_0x486b5b<_0x3a34db[_0x86a948(0x1bb)];_0x486b5b++){const [_0x39086c,_0x383636]=_0x3a34db[_0x486b5b],_0x2231df=_0x341c89[_0x86a948(0x163)](_0x39086c);_0x2231df||_0x383636[_0x86a948(0xc2)]['forValue']((_0x32c6b3,_0x1ce40a,_0x581e53)=>{const _0x37a56a=_0x86a948,_0x3e03fb=_0x581e53;if(_0x3e03fb&&!_0x2231df&&_0x1018ea['Rectangle'][_0x37a56a(0x1ac)](_0x1232ad,_0x3e03fb))return _0x341c89[_0x37a56a(0xff)](_0x39086c),!0x0;});}}),_0x341c89[_0xd02e2f(0xf2)](_0x4b0886=>{const _0x543ddf=_0xd02e2f;this['_sparklineDataSourceModel'][_0x543ddf(0xed)](_0x16555c,_0x24af73,_0x4b0886),this[_0x543ddf(0xc7)]['updateSparklineExtraNum'](_0x16555c,_0x24af73,_0x4b0886);});}else{if(_0x395eda['id']===_0x3b01ec[_0xd02e2f(0x1b0)]['id']){const _0x41ec14=_0x395eda['params'],{range:_0x40a8b4,unitId:_0x16ff4f,subUnitId:_0x59c320}=_0x41ec14,_0x36a126=new Set(),_0x3760f6=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x16ff4f,_0x59c320);if(!_0x3760f6)return;const _0x1bf3c0=Array[_0xd02e2f(0x129)](_0x3760f6);for(let _0x49e92b=0x0;_0x49e92b<_0x1bf3c0['length'];_0x49e92b++){const [_0x5a2b5c,_0x485527]=_0x1bf3c0[_0x49e92b],_0x6ca436=_0x36a126[_0xd02e2f(0x163)](_0x5a2b5c);_0x6ca436||_0x485527[_0xd02e2f(0xc2)][_0xd02e2f(0x1b1)]((_0xa73907,_0xb82093,_0x5c12c6)=>{const _0x541168=_0xd02e2f,_0x4bee92=_0x5c12c6;if(_0x4bee92&&!_0x6ca436&&_0x1018ea[_0x541168(0x154)][_0x541168(0x1ac)](_0x40a8b4,_0x4bee92))return _0x36a126[_0x541168(0xff)](_0x5a2b5c),!0x0;});}_0x36a126[_0xd02e2f(0xf2)](_0xfa8a68=>{const _0x21d6f8=_0xd02e2f;this[_0x21d6f8(0xc7)][_0x21d6f8(0xed)](_0x16ff4f,_0x59c320,_0xfa8a68),this[_0x21d6f8(0xc7)]['updateSparklineExtraNum'](_0x16ff4f,_0x59c320,_0xfa8a68);});}}}));}['_initExclusiveRangeChange'](){const _0x198b5b=_0x3d63b3;this[_0x198b5b(0xb6)](this[_0x198b5b(0x15f)]['exclusiveRangesChange$'][_0x198b5b(0x14e)](_0x262503=>{const _0x55c2de=_0x198b5b,{unitId:_0x503290,subUnitId:_0x55ba6b,ranges:_0x4993c6}=_0x262503,_0x56261b=this[_0x55c2de(0xc7)][_0x55c2de(0xd1)](_0x503290,_0x55ba6b);if(!_0x56261b)return;const _0x84b929=Array[_0x55c2de(0x129)](_0x56261b),_0x478437=new Set();for(let _0x44013c=0x0;_0x44013c<_0x84b929[_0x55c2de(0x1bb)];_0x44013c++){const [_0x482877,_0x5f4b28]=_0x84b929[_0x44013c],_0xfe4f13=_0x478437[_0x55c2de(0x163)](_0x482877);_0xfe4f13||_0x5f4b28[_0x55c2de(0xc2)][_0x55c2de(0x1b1)]((_0x4d4dd3,_0x406f7a,_0x30ae8f)=>{const _0x4367eb=_0x55c2de,_0x5e4271=_0x30ae8f;if(_0x5e4271&&!_0xfe4f13){for(const _0x21e8a4 of _0x4993c6)if(_0x1018ea[_0x4367eb(0x154)][_0x4367eb(0x1ac)](_0x21e8a4,_0x5e4271)){_0x478437[_0x4367eb(0xff)](_0x482877);break;}}});}_0x478437[_0x55c2de(0xf2)](_0x43feaa=>{const _0x2460d3=_0x55c2de;this['_sparklineDataSourceModel']['clearSparklineCache'](_0x503290,_0x55ba6b,_0x43feaa),this[_0x2460d3(0xc7)][_0x2460d3(0x1ba)](_0x503290,_0x55ba6b,_0x43feaa);});}));}};_0x107539=_0x198bb2([_0x521569(0x0,_0x1018ea[_0x3d63b3(0xf8)](_0x1018ea[_0x3d63b3(0x101)])),_0x521569(0x1,_0x1018ea[_0x3d63b3(0xf8)](_0x4d2b36[_0x3d63b3(0x156)])),_0x521569(0x2,_0x1018ea[_0x3d63b3(0xf8)](_0x3b01ec[_0x3d63b3(0x146)]))],_0x107539);var _0x185018=Object[_0x3d63b3(0x15d)],_0x24ecc3=(_0xcbfe30,_0x4c194b,_0x29c9f6,_0x3acc32)=>{const _0xe884c3=_0x3d63b3;for(var _0x2de6cf=_0x3acc32>0x1?void 0x0:_0x3acc32?_0x185018(_0x4c194b,_0x29c9f6):_0x4c194b,_0xbd5647=_0xcbfe30[_0xe884c3(0x1bb)]-0x1,_0x21e4a5;_0xbd5647>=0x0;_0xbd5647--)(_0x21e4a5=_0xcbfe30[_0xbd5647])&&(_0x2de6cf=_0x21e4a5(_0x2de6cf)||_0x2de6cf);return _0x2de6cf;},_0x1f5470=(_0x5cc193,_0x21c1ba)=>(_0x12155a,_0x4836e0)=>_0x21c1ba(_0x12155a,_0x4836e0,_0x5cc193);let _0x2d1df8=class extends _0x1018ea[_0x3d63b3(0x18e)]{constructor(_0x51516f,_0x4fddf5){const _0x267442=_0x3d63b3;super(),this[_0x267442(0x1c0)]=_0x51516f,this[_0x267442(0xc7)]=_0x4fddf5,this[_0x267442(0x153)]();}[_0x3d63b3(0x153)](){const _0x5161d5=_0x3d63b3;this[_0x5161d5(0x1c0)][_0x5161d5(0xd6)](_0x2f0a3d=>{const _0x3492cc=_0x5161d5;if(_0x2f0a3d['id']===_0x3b01ec[_0x3492cc(0x191)]['id']||_0x2f0a3d['id']===_0x3b01ec['SetColHiddenMutation']['id']||_0x2f0a3d['id']===_0x3b01ec[_0x3492cc(0x15c)]['id']||_0x2f0a3d['id']===_0x3b01ec[_0x3492cc(0x149)]['id']){const _0x4edf86=_0x2f0a3d[_0x3492cc(0x128)],{ranges:_0x58ca50,unitId:_0x13f775,subUnitId:_0x1f170a}=_0x4edf86,_0x844dce=new Set(),_0x76d5fe=this[_0x3492cc(0xc7)][_0x3492cc(0xd1)](_0x13f775,_0x1f170a);if(!_0x76d5fe)return;const _0x229922=Array[_0x3492cc(0x129)](_0x76d5fe);_0x58ca50[_0x3492cc(0xf2)](_0x1b2633=>{const _0x55a376=_0x3492cc;_0x1018ea[_0x55a376(0xdc)][_0x55a376(0x12e)](_0x1b2633,(_0x3a56bb,_0xefed3e)=>{const _0x105bf7=_0x55a376,_0x351b7d=_0x1018ea['cellToRange'](_0x3a56bb,_0xefed3e);for(let _0x2b7fa3=0x0;_0x2b7fa3<_0x229922[_0x105bf7(0x1bb)];_0x2b7fa3++){const [_0x3a0f5e,_0x4dabf5]=_0x229922[_0x2b7fa3],_0x23dc30=_0x844dce['has'](_0x3a0f5e);_0x23dc30||_0x4dabf5[_0x105bf7(0xc2)][_0x105bf7(0x1b1)]((_0x52ac43,_0x3e0c7a,_0x523e0a)=>{const _0x2b4351=_0x105bf7,_0x5ec912=_0x523e0a;if(_0x5ec912&&!_0x23dc30&&_0x1018ea[_0x2b4351(0x154)][_0x2b4351(0x1ac)](_0x351b7d,_0x5ec912))return _0x844dce[_0x2b4351(0xff)](_0x3a0f5e),!0x0;});}});}),_0x844dce[_0x3492cc(0xf2)](_0x176991=>{const _0x2fa3e3=_0x3492cc;this[_0x2fa3e3(0xc7)][_0x2fa3e3(0xed)](_0x13f775,_0x1f170a,_0x176991),this[_0x2fa3e3(0xc7)][_0x2fa3e3(0x1ba)](_0x13f775,_0x1f170a,_0x176991);});}});}};_0x2d1df8=_0x24ecc3([_0x1f5470(0x0,_0x1018ea[_0x3d63b3(0xf8)](_0x1018ea[_0x3d63b3(0x101)])),_0x1f5470(0x1,_0x1018ea[_0x3d63b3(0xf8)](_0x4d2b36[_0x3d63b3(0x156)]))],_0x2d1df8);var _0xf1a61f=Object[_0x3d63b3(0x15d)],_0x56849b=(_0x543e63,_0x3a25e9,_0x17599c,_0x3ede32)=>{const _0x52a79c=_0x3d63b3;for(var _0x56392e=_0x3ede32>0x1?void 0x0:_0x3ede32?_0xf1a61f(_0x3a25e9,_0x17599c):_0x3a25e9,_0x1e415d=_0x543e63[_0x52a79c(0x1bb)]-0x1,_0x1f7cf7;_0x1e415d>=0x0;_0x1e415d--)(_0x1f7cf7=_0x543e63[_0x1e415d])&&(_0x56392e=_0x1f7cf7(_0x56392e)||_0x56392e);return _0x56392e;},_0xce9a0f=(_0x49529b,_0x1d64a3)=>(_0x49076d,_0x2d8781)=>_0x1d64a3(_0x49076d,_0x2d8781,_0x49529b);let _0x2f01b8=class extends _0x1018ea[_0x3d63b3(0x18e)]{constructor(_0x1b7206,_0x31e8f4,_0x1e68ab){const _0x10d025=_0x3d63b3;super(),this[_0x10d025(0x1c0)]=_0x1b7206,this[_0x10d025(0xf9)]=_0x31e8f4,this['_sparklineDataSourceModel']=_0x1e68ab,this[_0x10d025(0xe3)]();}[_0x3d63b3(0xe3)](){const _0x38c3a7=_0x3d63b3;this[_0x38c3a7(0xb6)](this[_0x38c3a7(0xf9)][_0x38c3a7(0x19d)]({'getMutations':_0x2e59d8=>{const _0x283956=_0x38c3a7,_0x20c8ca=[],_0x14ff88=[];if(_0x2e59d8['id']===_0x3b01ec[_0x283956(0xbf)]['id']){const _0x4ebb4b=_0x2e59d8[_0x283956(0x128)];if(!_0x4ebb4b)return{'redos':_0x20c8ca,'undos':_0x14ff88};const {unitId:_0x22d3dd,subUnitId:_0x3e187b,ranges:_0x2451db}=_0x4ebb4b,_0x3a4f1a=this[_0x283956(0xc7)]['getSubUnitSparkline'](_0x22d3dd,_0x3e187b);if(!_0x3a4f1a)return{'redos':_0x20c8ca,'undos':_0x14ff88};const _0x110cd5={},_0x4ac490={},_0xea0dfb=new Set();_0x2451db[_0x283956(0xf2)](_0x26f561=>{const _0x407f93=_0x283956,_0x18bdf9=_0x26f561[_0x407f93(0x100)],_0x3ccaa6=_0x26f561[_0x407f93(0x199)];_0x1018ea['Range'][_0x407f93(0x12e)](_0x26f561,(_0x5848de,_0x1cde0e)=>{const _0x6a28ab=_0x407f93,_0x17a5bb=this['_sparklineDataSourceModel'][_0x6a28ab(0xe6)](_0x22d3dd,_0x3e187b,_0x5848de,_0x1cde0e);if(_0x17a5bb&&!(_0x5848de===_0x18bdf9&&_0x1cde0e===_0x3ccaa6)){const _0x452a21=this[_0x6a28ab(0xc7)][_0x6a28ab(0x1a7)](_0x22d3dd,_0x3e187b,_0x17a5bb);if(_0x452a21){_0xea0dfb[_0x6a28ab(0xff)](_0x17a5bb);let _0xe30559=_0x110cd5[_0x17a5bb];_0xe30559||(_0xe30559={'config':_0x1018ea['Tools']['deepClone'](_0x452a21[_0x6a28ab(0x195)]),'sparklines':new _0x1018ea[(_0x6a28ab(0xe2))](_0x452a21[_0x6a28ab(0xc2)][_0x6a28ab(0x125)]())},_0x110cd5[_0x17a5bb]=_0xe30559),_0xe30559['sparklines'][_0x6a28ab(0x10e)](_0x5848de,_0x1cde0e),_0x4ac490[_0x17a5bb]={'config':_0x1018ea['Tools']['deepClone'](_0x452a21[_0x6a28ab(0x195)]),'sparklines':_0x1018ea['Tools'][_0x6a28ab(0xef)](_0x452a21[_0x6a28ab(0xc2)][_0x6a28ab(0x125)]())};}}});});for(const [_0x35eaee,_0x2043dd]of _0x3a4f1a){const _0x222b90=_0x2043dd[_0x283956(0xc2)];_0x222b90[_0x283956(0x1b1)]((_0x1dd97b,_0x424598,_0x5dea98)=>{const _0x121e49=_0x283956;for(let _0x1cdcb7=0x0;_0x1cdcb7<_0x2451db[_0x121e49(0x1bb)];_0x1cdcb7++){const _0x1773a9=_0x2451db[_0x1cdcb7];if(_0x1018ea[_0x121e49(0x154)][_0x121e49(0x19c)](_0x1773a9,_0x5dea98)){_0xea0dfb[_0x121e49(0xff)](_0x35eaee);let _0x2f839d=_0x110cd5[_0x35eaee];_0x2f839d||(_0x2f839d={'config':_0x1018ea[_0x121e49(0x13c)][_0x121e49(0xef)](_0x2043dd[_0x121e49(0x195)]),'sparklines':new _0x1018ea[(_0x121e49(0xe2))](_0x222b90[_0x121e49(0x125)]())},_0x110cd5[_0x35eaee]=_0x2f839d),_0x2f839d[_0x121e49(0xc2)][_0x121e49(0x10e)](_0x1dd97b,_0x424598),_0x4ac490[_0x35eaee]||(_0x4ac490[_0x35eaee]={'config':_0x1018ea[_0x121e49(0x13c)][_0x121e49(0xef)](_0x2043dd['config']),'sparklines':_0x1018ea[_0x121e49(0x13c)][_0x121e49(0xef)](_0x222b90[_0x121e49(0x125)]())});}}});}const _0xa138f1={};Object[_0x283956(0x148)](_0x110cd5)[_0x283956(0xf2)](([_0x5d7533,_0x10e44d])=>{const _0x1401ae=_0x283956;_0x10e44d[_0x1401ae(0xc2)][_0x1401ae(0xc9)]()&&(_0xa138f1[_0x5d7533]={'config':_0x10e44d[_0x1401ae(0x195)],'sparklines':_0x10e44d['sparklines']['clone']()});}),_0xea0dfb[_0x283956(0xf1)]&&(_0x20c8ca['push']({'id':_0x80bdf0['id'],'params':{'unitId':_0x22d3dd,'subUnitId':_0x3e187b,'groupIds':Array['from'](_0xea0dfb),'isSingle':!0x1}}),_0x14ff88[_0x283956(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0x22d3dd,'subUnitId':_0x3e187b,'groupIds':Array[_0x283956(0x129)](_0xea0dfb),'isSingle':!0x1}}),_0x20c8ca[_0x283956(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x22d3dd,'subUnitId':_0x3e187b,'sparklineConfigMap':_0xa138f1}}),_0x14ff88['push']({'id':_0x45c6b9['id'],'params':{'unitId':_0x22d3dd,'subUnitId':_0x3e187b,'sparklineConfigMap':_0x4ac490}}));}return{'redos':_0x20c8ca,'undos':_0x14ff88};}}));}};_0x2f01b8=_0x56849b([_0xce9a0f(0x0,_0x1018ea[_0x3d63b3(0xf8)](_0x1018ea[_0x3d63b3(0x101)])),_0xce9a0f(0x1,_0x1018ea[_0x3d63b3(0xf8)](_0x3b01ec[_0x3d63b3(0x111)])),_0xce9a0f(0x2,_0x1018ea['Inject'](_0x4d2b36[_0x3d63b3(0x156)]))],_0x2f01b8);var _0x3728d1=Object[_0x3d63b3(0x15d)],_0x5248be=(_0x1e2571,_0x1cc7e4,_0x5337d1,_0x5521a1)=>{const _0x4e4c2f=_0x3d63b3;for(var _0x4fbb4c=_0x5521a1>0x1?void 0x0:_0x5521a1?_0x3728d1(_0x1cc7e4,_0x5337d1):_0x1cc7e4,_0x8c44a2=_0x1e2571[_0x4e4c2f(0x1bb)]-0x1,_0x1b8b88;_0x8c44a2>=0x0;_0x8c44a2--)(_0x1b8b88=_0x1e2571[_0x8c44a2])&&(_0x4fbb4c=_0x1b8b88(_0x4fbb4c)||_0x4fbb4c);return _0x4fbb4c;},_0xdb6c9a=(_0x378aff,_0x116933)=>(_0x1f5b34,_0x304e93)=>_0x116933(_0x1f5b34,_0x304e93,_0x378aff);let _0x3e52bd=class extends _0x1018ea['Disposable']{constructor(_0x1b3bb8,_0x34a444,_0x371b2a,_0x2ed758){const _0x3630ed=_0x3d63b3;super(),_0x32e568(this,'disposableCollection',new _0x1018ea[(_0x3630ed(0xc8))]()),(this[_0x3630ed(0x1c0)]=_0x1b3bb8,this['_refRangeService']=_0x34a444,this[_0x3630ed(0xb8)]=_0x371b2a,this[_0x3630ed(0xc7)]=_0x2ed758,this[_0x3630ed(0xfe)](),this[_0x3630ed(0x107)]());}[_0x3d63b3(0xfe)](){const _0x7763fb=_0x3d63b3,_0x5f41f3=(_0x51e7fa,_0x42ed16)=>{const _0x2d77f8=_0x2e49,_0x4a9838=this[_0x2d77f8(0xb8)][_0x2d77f8(0xdf)](_0x1018ea['UniverInstanceType'][_0x2d77f8(0x127)]);if(!_0x4a9838||!(_0x4a9838==null?void 0x0:_0x4a9838[_0x2d77f8(0x192)](_0x42ed16)))return;this[_0x2d77f8(0xee)]['dispose']();const _0x2249ed=_0xd70255=>this[_0x2d77f8(0x13f)](_0xd70255,_0x51e7fa,_0x42ed16),_0x1151a0=[],_0x587de8=this[_0x2d77f8(0xc7)][_0x2d77f8(0xd1)](_0x51e7fa,_0x42ed16);if(_0x587de8){for(const [_0x33610b,_0x1944a9]of _0x587de8)_0x1944a9[_0x2d77f8(0xc2)]['forValue']((_0x3afb9f,_0x6eb2f6,_0x471e43)=>{const _0x7369a9=_0x2d77f8,_0x331142=_0x1018ea[_0x7369a9(0x157)](_0x3afb9f,_0x6eb2f6);_0x1151a0[_0x7369a9(0x197)](_0x331142);});_0x1151a0['forEach'](_0x459416=>{const _0x54090c=_0x2d77f8;this[_0x54090c(0xee)][_0x54090c(0xff)](this[_0x54090c(0x181)][_0x54090c(0x179)](_0x459416,_0x2249ed,_0x51e7fa,_0x42ed16));});}};this[_0x7763fb(0xb6)](this['_commandService'][_0x7763fb(0xd6)](_0x3d60a3=>{const _0x16cc68=_0x7763fb;if(_0x3d60a3['id']===_0x3b01ec[_0x16cc68(0x139)]['id']){const _0x59d214=_0x3d60a3[_0x16cc68(0x128)],_0x2729c4=_0x59d214[_0x16cc68(0x135)],_0x558197=_0x59d214[_0x16cc68(0x1b9)];if(!_0x2729c4||!_0x558197)return;_0x5f41f3(_0x558197,_0x2729c4);}if(_0x3d60a3['id']===_0x2857d4['id']||_0x3d60a3['id']===_0x45c6b9['id']){const _0xe12eac=_0x3d60a3[_0x16cc68(0x128)],_0x5671d7=_0xe12eac[_0x16cc68(0x135)],_0x35fedf=_0xe12eac['unitId'];if(!_0x5671d7||!_0x35fedf)return;_0x5f41f3(_0x35fedf,_0x5671d7);}}));}[_0x3d63b3(0x13f)](_0x51133b,_0xe7fa6c,_0x5265a4){const _0x3cba0a=_0x3d63b3;switch(_0x51133b['id']){case _0x3b01ec['RemoveColCommand']['id']:return this[_0x3cba0a(0x182)](_0x51133b[_0x3cba0a(0x128)],_0xe7fa6c,_0x5265a4);case _0x3b01ec[_0x3cba0a(0x165)]['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x51133b[_0x3cba0a(0x128)],_0xe7fa6c,_0x5265a4);}return{'redos':[],'undos':[]};}[_0x3d63b3(0x19b)](_0x2c97c0,_0x4a7961,_0x1c94fd){const _0x3b0285=_0x3d63b3;var _0x48e728,_0x263f75;const {range:_0x255549}=_0x2c97c0,_0x3cb229=new Set(),_0x2cb2de={},_0x5db0e3={},_0x54c9c5=[],_0x44b263=[],_0x2b201c=[],_0x13c453=[];if(!_0x3b01ec['getSheetCommandTarget'](this[_0x3b0285(0xb8)],{'unitId':_0x4a7961,'subUnitId':_0x1c94fd}))return{'redos':_0x44b263,'undos':_0x54c9c5};const _0x31956b=this[_0x3b0285(0xc7)][_0x3b0285(0xd1)](_0x4a7961,_0x1c94fd);if(!_0x31956b)return{'redos':_0x44b263,'undos':_0x54c9c5};if(!((_0x263f75=(_0x48e728=this[_0x3b0285(0xc7)][_0x3b0285(0x134)]()[_0x3b0285(0x180)][_0x3b0285(0xcf)](_0x4a7961))==null?void 0x0:_0x48e728[_0x3b0285(0xcf)](_0x1c94fd))==null?void 0x0:_0x263f75[_0x3b0285(0x10a)]))return{'redos':_0x44b263,'undos':_0x54c9c5};for(const [_0x5eb910,_0x293c16]of _0x31956b){const _0x1e4b9b=_0x293c16[_0x3b0285(0xc2)];_0x1e4b9b[_0x3b0285(0x1b1)]((_0x67e95d,_0xfcd11c,_0x402f98)=>{const _0x1130f3=_0x3b0285;if(_0x1018ea[_0x1130f3(0x154)]['intersects'](_0x255549,_0x402f98)){_0x3cb229[_0x1130f3(0xff)](_0x5eb910);let _0x125f93=_0x5db0e3[_0x5eb910];_0x125f93||(_0x125f93={'config':_0x293c16['config'],'sparklines':_0x293c16[_0x1130f3(0xc2)][_0x1130f3(0x125)]()},_0x5db0e3[_0x5eb910]=_0x125f93);let _0x1ab262=_0x2cb2de[_0x5eb910];_0x1ab262||(_0x1ab262={'config':_0x293c16[_0x1130f3(0x195)],'sparklines':new _0x1018ea[(_0x1130f3(0xe2))](_0x293c16[_0x1130f3(0xc2)][_0x1130f3(0x125)]())},_0x2cb2de[_0x5eb910]=_0x1ab262);const _0x4a7f1f=_0x3b01ec[_0x1130f3(0x1a9)](_0x402f98,{'id':_0x3b01ec[_0x1130f3(0x150)]['id'],'params':_0x2c97c0});_0x4a7f1f?_0x1ab262[_0x1130f3(0xc2)][_0x1130f3(0xf6)](_0x67e95d,_0xfcd11c,_0x4a7f1f):_0x1ab262[_0x1130f3(0xc2)]['setValue'](_0x67e95d,_0xfcd11c,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1018ea[_0x1130f3(0x1af)]['NORMAL']});}}),_0x1e4b9b['forValue']((_0x182fb4,_0x238c65,_0x4c895c)=>{const _0x323f81=_0x3b0285;if(_0x182fb4<=_0x255549[_0x323f81(0x14a)]&&_0x182fb4>=_0x255549[_0x323f81(0x100)]){_0x3cb229['add'](_0x5eb910);let _0x27e6e0=_0x5db0e3[_0x5eb910];_0x27e6e0||(_0x27e6e0={'config':_0x293c16[_0x323f81(0x195)],'sparklines':_0x293c16['sparklines'][_0x323f81(0x125)]()},_0x5db0e3[_0x5eb910]=_0x27e6e0);let _0x553f45=_0x2cb2de[_0x5eb910];_0x553f45||(_0x553f45={'config':_0x293c16[_0x323f81(0x195)],'sparklines':new _0x1018ea[(_0x323f81(0xe2))](_0x293c16['sparklines'][_0x323f81(0x125)]())},_0x2cb2de[_0x5eb910]=_0x553f45);}});}_0x13c453[_0x3b0285(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0x4a7961,'subUnitId':_0x1c94fd,'groupIds':Array[_0x3b0285(0x129)](_0x3cb229),'isSingle':!0x1}}),_0x2b201c[_0x3b0285(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0x4a7961,'subUnitId':_0x1c94fd,'groupIds':Array[_0x3b0285(0x129)](_0x3cb229),'isSingle':!0x1}});const _0x2ea87c={};let _0x122584=!0x1;return Object[_0x3b0285(0x148)](_0x2cb2de)[_0x3b0285(0xf2)](([_0x44ba2c,_0x853fba])=>{const _0x5ba43d=_0x3b0285;_0x853fba[_0x5ba43d(0xc2)]['getSizeOf']()&&(_0x122584=!0x0,_0x853fba[_0x5ba43d(0xc2)][_0x5ba43d(0x169)](_0x255549['startRow'],_0x255549[_0x5ba43d(0x14a)]-_0x255549['startRow']+0x1),_0x2ea87c[_0x44ba2c]={'config':_0x853fba['config'],'sparklines':_0x853fba[_0x5ba43d(0xc2)][_0x5ba43d(0x125)]()});}),_0x122584&&_0x44b263[_0x3b0285(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x4a7961,'subUnitId':_0x1c94fd,'sparklineConfigMap':_0x2ea87c}}),_0x54c9c5[_0x3b0285(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x4a7961,'subUnitId':_0x1c94fd,'sparklineConfigMap':_0x5db0e3}}),{'redos':_0x44b263,'undos':_0x54c9c5,'preRedos':_0x2b201c,'preUndos':_0x13c453};}[_0x3d63b3(0x182)](_0x5c16e7,_0x1afc7b,_0x33f7cd){const _0x59593c=_0x3d63b3;var _0x52a2cb,_0x3c44e0;const {range:_0x3a607f}=_0x5c16e7,_0xe22aac=new Set(),_0x5eaae4={},_0x15dcf6={},_0x57106f=[],_0x315e32=[],_0x44de0e=[],_0x52c71e=[];if(!_0x3b01ec[_0x59593c(0x196)](this[_0x59593c(0xb8)],{'unitId':_0x1afc7b,'subUnitId':_0x33f7cd}))return{'redos':_0x315e32,'undos':_0x57106f};const _0x406073=this[_0x59593c(0xc7)][_0x59593c(0xd1)](_0x1afc7b,_0x33f7cd);if(!_0x406073)return{'redos':_0x315e32,'undos':_0x57106f};if(!((_0x3c44e0=(_0x52a2cb=this[_0x59593c(0xc7)]['getSparklineCache']()['sparklineAnchorMap'][_0x59593c(0xcf)](_0x1afc7b))==null?void 0x0:_0x52a2cb['get'](_0x33f7cd))==null?void 0x0:_0x3c44e0[_0x59593c(0x10a)]))return{'redos':_0x315e32,'undos':_0x57106f};for(const [_0x635d60,_0x24c1eb]of _0x406073){const _0x4d4338=_0x24c1eb[_0x59593c(0xc2)];_0x4d4338[_0x59593c(0x1b1)]((_0x247334,_0x528ad2,_0x292b4a)=>{const _0x3cd45b=_0x59593c;if(_0x1018ea[_0x3cd45b(0x154)]['intersects'](_0x3a607f,_0x292b4a)){_0xe22aac[_0x3cd45b(0xff)](_0x635d60);let _0x5d663b=_0x15dcf6[_0x635d60];_0x5d663b||(_0x5d663b={'config':_0x24c1eb[_0x3cd45b(0x195)],'sparklines':_0x24c1eb[_0x3cd45b(0xc2)][_0x3cd45b(0x125)]()},_0x15dcf6[_0x635d60]=_0x5d663b);let _0x257a52=_0x5eaae4[_0x635d60];_0x257a52||(_0x257a52={'config':_0x24c1eb[_0x3cd45b(0x195)],'sparklines':new _0x1018ea['ObjectMatrix'](_0x24c1eb['sparklines'][_0x3cd45b(0x125)]())},_0x5eaae4[_0x635d60]=_0x257a52);const _0x392997=_0x3b01ec['adjustRangeOnMutation'](_0x292b4a,{'id':_0x3b01ec[_0x3cd45b(0x194)]['id'],'params':_0x5c16e7});_0x392997?_0x257a52['sparklines'][_0x3cd45b(0xf6)](_0x247334,_0x528ad2,_0x392997):_0x257a52[_0x3cd45b(0xc2)][_0x3cd45b(0xf6)](_0x247334,_0x528ad2,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1018ea['RANGE_TYPE'][_0x3cd45b(0xca)]});}}),_0x4d4338[_0x59593c(0x1b1)]((_0x4e27af,_0xaeddd4,_0x4a6a45)=>{const _0x325d9=_0x59593c;if(_0xaeddd4<=_0x3a607f[_0x325d9(0xec)]&&_0xaeddd4>=_0x3a607f['startColumn']){_0xe22aac[_0x325d9(0xff)](_0x635d60);let _0x53c537=_0x15dcf6[_0x635d60];_0x53c537||(_0x53c537={'config':_0x24c1eb[_0x325d9(0x195)],'sparklines':_0x24c1eb['sparklines'][_0x325d9(0x125)]()},_0x15dcf6[_0x635d60]=_0x53c537);let _0x4faa90=_0x5eaae4[_0x635d60];_0x4faa90||(_0x4faa90={'config':_0x24c1eb['config'],'sparklines':new _0x1018ea[(_0x325d9(0xe2))](_0x24c1eb[_0x325d9(0xc2)][_0x325d9(0x125)]())},_0x5eaae4[_0x635d60]=_0x4faa90);}});}_0x52c71e[_0x59593c(0x197)]({'id':_0x80bdf0['id'],'params':{'unitId':_0x1afc7b,'subUnitId':_0x33f7cd,'groupIds':Array[_0x59593c(0x129)](_0xe22aac),'isSingle':!0x1}}),_0x44de0e['push']({'id':_0x80bdf0['id'],'params':{'unitId':_0x1afc7b,'subUnitId':_0x33f7cd,'groupIds':Array['from'](_0xe22aac),'isSingle':!0x1}});const _0x340541={};let _0x3f22fc=!0x1;return Object['entries'](_0x5eaae4)[_0x59593c(0xf2)](([_0x31f5b7,_0x53cf17])=>{const _0x42443e=_0x59593c;_0x53cf17[_0x42443e(0xc2)][_0x42443e(0xc9)]()&&(_0x3f22fc=!0x0,_0x53cf17[_0x42443e(0xc2)][_0x42443e(0xeb)](_0x3a607f[_0x42443e(0x199)],_0x3a607f['endColumn']-_0x3a607f['startColumn']+0x1),_0x340541[_0x31f5b7]={'config':_0x53cf17[_0x42443e(0x195)],'sparklines':_0x53cf17[_0x42443e(0xc2)][_0x42443e(0x125)]()});}),_0x3f22fc&&_0x315e32[_0x59593c(0x197)]({'id':_0x45c6b9['id'],'params':{'unitId':_0x1afc7b,'subUnitId':_0x33f7cd,'sparklineConfigMap':_0x340541}}),_0x57106f['push']({'id':_0x45c6b9['id'],'params':{'unitId':_0x1afc7b,'subUnitId':_0x33f7cd,'sparklineConfigMap':_0x15dcf6}}),{'redos':_0x315e32,'undos':_0x57106f,'preRedos':_0x44de0e,'preUndos':_0x52c71e};}['_initCorrectRangeWithSparkline'](){const _0x3d77a3=_0x3d63b3;this['disposeWithMe'](this[_0x3d77a3(0x1c0)]['onCommandExecuted'](_0x349d4d=>{const _0x27adc9=_0x3d77a3;if(_0x349d4d['id']===_0x3b01ec[_0x27adc9(0x19e)]['id']){const _0x36e375=_0x349d4d['params'],{unitId:_0x4bf0bc,subUnitId:_0x2beebd,range:_0x4c4625}=_0x36e375,_0x419313=_0x4c4625[_0x27adc9(0x199)],_0x49f5a1=_0x4c4625['endColumn']-_0x4c4625[_0x27adc9(0x199)]+0x1,_0x1c7d80=this[_0x27adc9(0xc7)][_0x27adc9(0xd1)](_0x4bf0bc,_0x2beebd);if(!_0x1c7d80)return;for(const [_0x26f2a6,_0x44e898]of _0x1c7d80){this[_0x27adc9(0xc7)][_0x27adc9(0xed)](_0x4bf0bc,_0x2beebd,_0x26f2a6);const _0x2572d1=_0x44e898[_0x27adc9(0xc2)];_0x2572d1[_0x27adc9(0x1b1)]((_0x3930b7,_0x537bab,_0x380346)=>{const _0x2a1c7a=_0x27adc9,_0x3eb68f={..._0x380346};_0x419313<=_0x3eb68f[_0x2a1c7a(0x199)]?(_0x3eb68f[_0x2a1c7a(0x199)]+=_0x49f5a1,_0x3eb68f['endColumn']+=_0x49f5a1):_0x419313>_0x3eb68f[_0x2a1c7a(0xec)]||(_0x3eb68f['endColumn']+=_0x49f5a1),_0x2572d1['setValue'](_0x3930b7,_0x537bab,_0x3eb68f);});const _0xa48bde=_0x2572d1[_0x27adc9(0xd0)]();for(const _0x3ea2d8 in _0xa48bde){const _0x454c8e=_0xa48bde[Number(_0x3ea2d8)];if(!_0x454c8e)continue;const _0x1ae1db=Object['keys'](_0x454c8e)[_0x27adc9(0x11e)](Number),_0x43ee47=Math[_0x27adc9(0x151)](..._0x1ae1db);for(let _0x3eb420=_0x43ee47;_0x3eb420>=_0x419313;_0x3eb420--)_0x3eb420>=_0x419313&&_0x454c8e[_0x3eb420]&&(_0x454c8e[_0x3eb420+_0x49f5a1]=_0x454c8e[_0x3eb420],delete _0x454c8e[_0x3eb420]);}this[_0x27adc9(0xc7)][_0x27adc9(0x1ba)](_0x4bf0bc,_0x2beebd,_0x26f2a6);}}else{if(_0x349d4d['id']===_0x3b01ec[_0x27adc9(0x13e)]['id']){const _0x32db1d=_0x349d4d[_0x27adc9(0x128)],{unitId:_0x34d70a,subUnitId:_0x333cc7,range:_0x47b4f1}=_0x32db1d,_0x1fd2d9=_0x47b4f1[_0x27adc9(0x100)],_0x273199=_0x47b4f1[_0x27adc9(0x14a)]-_0x47b4f1['startRow']+0x1,_0x3bd021=this[_0x27adc9(0xc7)][_0x27adc9(0xd1)](_0x34d70a,_0x333cc7);if(!_0x3bd021)return;for(const [_0x3a8996,_0x2bd8cc]of _0x3bd021){this[_0x27adc9(0xc7)][_0x27adc9(0xed)](_0x34d70a,_0x333cc7,_0x3a8996);const _0x2caca2=_0x2bd8cc[_0x27adc9(0xc2)];_0x2caca2['forValue']((_0x5ef112,_0x52e273,_0x6549a1)=>{const _0x999bce=_0x27adc9,_0x225618={..._0x6549a1};_0x1fd2d9<=_0x225618['startRow']?(_0x225618[_0x999bce(0x100)]+=_0x273199,_0x225618[_0x999bce(0x14a)]+=_0x273199):_0x1fd2d9>_0x225618[_0x999bce(0x14a)]||(_0x225618[_0x999bce(0x14a)]+=_0x273199),_0x2caca2[_0x999bce(0xf6)](_0x5ef112,_0x52e273,_0x225618);});const _0x16851e=_0x2caca2['getMatrix'](),_0x40e0e3=Object[_0x27adc9(0xd9)](_0x16851e)[_0x27adc9(0x11e)](Number),_0x3b684f=Math['max'](..._0x40e0e3);for(let _0x2a4627=_0x3b684f;_0x2a4627>=_0x1fd2d9;_0x2a4627--)_0x2a4627>=_0x1fd2d9&&_0x16851e[_0x2a4627]&&(_0x16851e[_0x2a4627+_0x273199]=_0x16851e[_0x2a4627],delete _0x16851e[_0x2a4627]);this[_0x27adc9(0xc7)][_0x27adc9(0x1ba)](_0x34d70a,_0x333cc7,_0x3a8996);}}else{if(_0x349d4d['id']===_0x3b01ec[_0x27adc9(0x194)]['id']){const _0x2fbba6=_0x349d4d[_0x27adc9(0x128)],{range:_0x594d23,unitId:_0x8b2d2,subUnitId:_0x5e5c82}=_0x2fbba6,_0x2ab29e=this[_0x27adc9(0xc7)][_0x27adc9(0xd1)](_0x8b2d2,_0x5e5c82);if(!_0x2ab29e)return;for(const [_0x29a54,_0x4fc695]of _0x2ab29e){const _0x26af06=_0x4fc695[_0x27adc9(0xc2)];_0x26af06['forValue']((_0x186572,_0x2ec35a,_0x3cd6e9)=>{const _0x2d874e=_0x27adc9,_0x103739=_0x3b01ec[_0x2d874e(0x1a9)](_0x3cd6e9,_0x349d4d);_0x103739?_0x26af06['setValue'](_0x186572,_0x2ec35a,_0x103739):_0x26af06['setValue'](_0x186572,_0x2ec35a,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1018ea[_0x2d874e(0x1af)][_0x2d874e(0xca)]});}),_0x26af06[_0x27adc9(0xeb)](_0x594d23[_0x27adc9(0x199)],_0x594d23[_0x27adc9(0xec)]-_0x594d23[_0x27adc9(0x199)]+0x1);}this[_0x27adc9(0xc7)][_0x27adc9(0xda)](_0x8b2d2,_0x5e5c82);}else{if(_0x349d4d['id']===_0x3b01ec['RemoveRowMutation']['id']){const _0x14bea1=_0x349d4d[_0x27adc9(0x128)],{range:_0x5bc57e,unitId:_0x484df7,subUnitId:_0x235c8a}=_0x14bea1,_0x3d75ab=this[_0x27adc9(0xc7)][_0x27adc9(0xd1)](_0x484df7,_0x235c8a);if(!_0x3d75ab)return;for(const [_0x160ee7,_0x126eb6]of _0x3d75ab){const _0x516f72=_0x126eb6['sparklines'];_0x516f72[_0x27adc9(0x1b1)]((_0x1b8cb3,_0x5b834f,_0x39790b)=>{const _0x100f2e=_0x27adc9,_0x14e7c1=_0x3b01ec[_0x100f2e(0x1a9)](_0x39790b,_0x349d4d);_0x14e7c1?_0x516f72[_0x100f2e(0xf6)](_0x1b8cb3,_0x5b834f,_0x14e7c1):_0x516f72[_0x100f2e(0xf6)](_0x1b8cb3,_0x5b834f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1018ea[_0x100f2e(0x1af)]['NORMAL']});}),_0x516f72['removeRows'](_0x5bc57e[_0x27adc9(0x100)],_0x5bc57e[_0x27adc9(0x14a)]-_0x5bc57e[_0x27adc9(0x100)]+0x1);}this[_0x27adc9(0xc7)][_0x27adc9(0xda)](_0x484df7,_0x235c8a);}else{if(_0x349d4d['id']===_0x3b01ec['MoveColsMutation']['id']){const _0x27deca=_0x349d4d[_0x27adc9(0x128)],{unitId:_0x5d000e,subUnitId:_0x38cc59,sourceRange:_0xaf3428,targetRange:_0x205936}=_0x27deca,_0x185159=this[_0x27adc9(0xc7)]['getSubUnitSparkline'](_0x5d000e,_0x38cc59);if(!_0x185159)return;for(const [_0x1a20f0,_0x53bea5]of _0x185159){const _0x58f665=_0x53bea5[_0x27adc9(0xc2)];_0x58f665[_0x27adc9(0x1b1)]((_0x1e2974,_0x42df09,_0x5d421f)=>{const _0x34e8e0=_0x27adc9,_0x1dc49e=_0x3b01ec[_0x34e8e0(0x1a9)](_0x5d421f,_0x349d4d);_0x1dc49e?_0x58f665['setValue'](_0x1e2974,_0x42df09,_0x1dc49e):_0x58f665[_0x34e8e0(0xf6)](_0x1e2974,_0x42df09,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1018ea[_0x34e8e0(0x1af)][_0x34e8e0(0xca)]});}),_0x58f665[_0x27adc9(0xe7)](_0xaf3428['startColumn'],_0xaf3428[_0x27adc9(0xec)]-_0xaf3428[_0x27adc9(0x199)]+0x1,_0x205936[_0x27adc9(0x199)]);}this['_sparklineDataSourceModel'][_0x27adc9(0xda)](_0x5d000e,_0x38cc59);}else{if(_0x349d4d['id']===_0x3b01ec[_0x27adc9(0x12d)]['id']){const _0xeba429=_0x349d4d['params'],{unitId:_0x1704fe,subUnitId:_0x338a28,sourceRange:_0x2a3177,targetRange:_0x3f0a1f}=_0xeba429,_0x511b21=this['_sparklineDataSourceModel'][_0x27adc9(0xd1)](_0x1704fe,_0x338a28);if(!_0x511b21)return;for(const [_0x392da5,_0x4b11df]of _0x511b21){const _0x4c5bcc=_0x4b11df[_0x27adc9(0xc2)];_0x4c5bcc[_0x27adc9(0x1b1)]((_0x89b5d8,_0xb7f223,_0x46cade)=>{const _0x547366=_0x27adc9,_0x52567f=_0x3b01ec['adjustRangeOnMutation'](_0x46cade,_0x349d4d);_0x52567f?_0x4c5bcc[_0x547366(0xf6)](_0x89b5d8,_0xb7f223,_0x52567f):_0x4c5bcc[_0x547366(0xf6)](_0x89b5d8,_0xb7f223,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x1018ea['RANGE_TYPE'][_0x547366(0xca)]});}),_0x4c5bcc['moveRows'](_0x2a3177['startRow'],_0x2a3177[_0x27adc9(0x14a)]-_0x2a3177[_0x27adc9(0x100)]+0x1,_0x3f0a1f['startRow']);}this['_sparklineDataSourceModel'][_0x27adc9(0xda)](_0x1704fe,_0x338a28);}else{if(_0x349d4d['id']===_0x3b01ec[_0x27adc9(0x1aa)]['id']){const _0x53cee7=_0x349d4d[_0x27adc9(0x128)],{fromRange:_0x2b0632,toRange:_0x54b313,unitId:_0x2eed1d,from:_0x579393,to:_0x263452}=_0x53cee7;if(_0x579393[_0x27adc9(0x135)]!==_0x263452[_0x27adc9(0x135)])return;const _0x1a6547=_0x579393[_0x27adc9(0x135)],{startRow:_0x19e837,endRow:_0x579020,startColumn:_0x484540,endColumn:_0x40fc22}=_0x2b0632,{startRow:_0x511769,startColumn:_0x46286a}=_0x54b313,_0x2d9e8f=_0x511769-_0x19e837,_0xc93fd7=_0x46286a-_0x484540,_0x173b8b=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x2eed1d,_0x1a6547);if(!(_0x173b8b!=null&&_0x173b8b[_0x27adc9(0xf1)]))return;for(let _0x57ef10=_0x19e837;_0x57ef10<=_0x579020;_0x57ef10++)for(let _0x693d92=_0x484540;_0x693d92<=_0x40fc22;_0x693d92++){const _0x555bfd=this[_0x27adc9(0xc7)][_0x27adc9(0xe6)](_0x2eed1d,_0x1a6547,_0x57ef10,_0x693d92);if(_0x555bfd){const _0x4f2f08=this[_0x27adc9(0xc7)][_0x27adc9(0x1a7)](_0x2eed1d,_0x1a6547,_0x555bfd);if(_0x4f2f08){const _0x50985a=_0x4f2f08[_0x27adc9(0xc2)]['getValue'](_0x57ef10,_0x693d92);_0x50985a&&(_0x4f2f08[_0x27adc9(0xc2)]['setValue'](_0x57ef10+_0x2d9e8f,_0x693d92+_0xc93fd7,_0x50985a),_0x4f2f08[_0x27adc9(0xc2)][_0x27adc9(0x10e)](_0x57ef10,_0x693d92));}}}for(const [_0x5e202c,_0x1e96bc]of _0x173b8b){const _0x4c83b4=_0x1e96bc[_0x27adc9(0xc2)];_0x4c83b4['forValue']((_0x17a050,_0x5862e0,_0x2c9a93)=>{const _0x8c20db=_0x27adc9,_0x452944={..._0x2c9a93};_0x1018ea[_0x8c20db(0x154)][_0x8c20db(0x19c)](_0x2b0632,_0x2c9a93)&&(_0x452944[_0x8c20db(0x100)]+=_0x2d9e8f,_0x452944[_0x8c20db(0x14a)]+=_0x2d9e8f,_0x452944[_0x8c20db(0x199)]+=_0xc93fd7,_0x452944[_0x8c20db(0xec)]+=_0xc93fd7),_0x4c83b4['setValue'](_0x17a050,_0x5862e0,_0x452944);});}this['_sparklineDataSourceModel'][_0x27adc9(0xda)](_0x2eed1d,_0x1a6547);}}}}}}}}));}};_0x3e52bd=_0x5248be([_0xdb6c9a(0x0,_0x1018ea[_0x3d63b3(0xf8)](_0x1018ea[_0x3d63b3(0x101)])),_0xdb6c9a(0x1,_0x1018ea['Inject'](_0x3b01ec[_0x3d63b3(0x113)])),_0xdb6c9a(0x2,_0x1018ea[_0x3d63b3(0x11d)]),_0xdb6c9a(0x3,_0x1018ea[_0x3d63b3(0xf8)](_0x4d2b36[_0x3d63b3(0x156)]))],_0x3e52bd);var _0x5e4f51=Object['getOwnPropertyDescriptor'],_0x14981e=(_0x2fc4fa,_0x47fcfe,_0x2f70bf,_0x2ef435)=>{const _0x43ab0f=_0x3d63b3;for(var _0x5b124d=_0x2ef435>0x1?void 0x0:_0x2ef435?_0x5e4f51(_0x47fcfe,_0x2f70bf):_0x47fcfe,_0x389487=_0x2fc4fa[_0x43ab0f(0x1bb)]-0x1,_0x55298f;_0x389487>=0x0;_0x389487--)(_0x55298f=_0x2fc4fa[_0x389487])&&(_0x5b124d=_0x55298f(_0x5b124d)||_0x5b124d);return _0x5b124d;},_0x9ffccd=(_0x5418f8,_0x585613)=>(_0x236766,_0xa21952)=>_0x585613(_0x236766,_0xa21952,_0x5418f8);let _0x35c5dc=class extends _0x1018ea[_0x3d63b3(0x18e)]{constructor(_0xb95f1a,_0x2afbc8){const _0x494445=_0x3d63b3;super(),this['_resourceManagerService']=_0xb95f1a,this[_0x494445(0xc7)]=_0x2afbc8,this[_0x494445(0x174)]();}['_initSnapshot'](){const _0x1bba10=_0x3d63b3,_0x878295=_0x1dcbae=>{const _0xd684e0=_0x2e49,_0x548c02=this[_0xd684e0(0xc7)][_0xd684e0(0xc3)](_0x1dcbae);return _0x548c02?JSON['stringify'](_0x548c02):'';},_0x18b7cb=_0x47d02f=>_0x47d02f?JSON[_0x1bba10(0xbd)](_0x47d02f):{};this['disposeWithMe'](this[_0x1bba10(0x1c2)][_0x1bba10(0xc5)]({'toJson':_0x878295,'parseJson':_0x18b7cb,'pluginName':_0xd4d8af,'businesses':[_0x1018ea[_0x1bba10(0x10f)][_0x1bba10(0x127)]],'onLoad':(_0x242e92,_0x5a8c4d)=>{const _0x11ab78=_0x1bba10;this[_0x11ab78(0xc7)][_0x11ab78(0xfa)](_0x5a8c4d);},'onUnLoad':_0x5cff06=>{this['_sparklineDataSourceModel']['deleteUnit'](_0x5cff06);}}));}};_0x35c5dc=_0x14981e([_0x9ffccd(0x0,_0x1018ea['Inject'](_0x1018ea[_0x3d63b3(0x1bc)])),_0x9ffccd(0x1,_0x1018ea[_0x3d63b3(0xf8)](_0x4d2b36[_0x3d63b3(0x156)]))],_0x35c5dc);var _0x340262=Object['defineProperty'],_0x47e5a8=Object['getOwnPropertyDescriptor'],_0x4a1ec9=(_0x116d9a,_0x3a7962,_0x57df20)=>_0x3a7962 in _0x116d9a?_0x340262(_0x116d9a,_0x3a7962,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57df20}):_0x116d9a[_0x3a7962]=_0x57df20,_0x4bdefb=(_0xd9e131,_0x59c10c,_0xc21239,_0x57ebca)=>{const _0x5d419d=_0x3d63b3;for(var _0x41d528=_0x57ebca>0x1?void 0x0:_0x57ebca?_0x47e5a8(_0x59c10c,_0xc21239):_0x59c10c,_0x4da8bf=_0xd9e131[_0x5d419d(0x1bb)]-0x1,_0xf5fb40;_0x4da8bf>=0x0;_0x4da8bf--)(_0xf5fb40=_0xd9e131[_0x4da8bf])&&(_0x41d528=_0xf5fb40(_0x41d528)||_0x41d528);return _0x41d528;},_0x6f7706=(_0x5eadaa,_0x50273b)=>(_0x3a5bac,_0x4d5536)=>_0x50273b(_0x3a5bac,_0x4d5536,_0x5eadaa),_0x5f577c=(_0x6aa281,_0x5dca64,_0x5c4ca8)=>_0x4a1ec9(_0x6aa281,typeof _0x5dca64!='symbol'?_0x5dca64+'':_0x5dca64,_0x5c4ca8);_0x4d2b36[_0x3d63b3(0x188)]=class extends _0x1018ea[_0x3d63b3(0xc0)]{constructor(_0x81ca9a={},_0x5318b7,_0x19889c){const _0x2a8bdc=_0x3d63b3;super(),this['_config']=_0x81ca9a,this[_0x2a8bdc(0x18b)]=_0x5318b7,this[_0x2a8bdc(0x1c0)]=_0x19889c,this['_initDependencies'](),this['_initRegisterCommand']();}[_0x3d63b3(0x18f)](){const _0x53c686=_0x3d63b3;[[_0x4d2b36[_0x53c686(0x156)]],[_0x107539],[_0x2f01b8],[_0x2d90e7],[_0x3e52bd],[_0x2d1df8],[_0x1e6d4a],[_0x35c5dc]][_0x53c686(0xf2)](_0x39d10a=>{const _0x54b7a2=_0x53c686;this[_0x54b7a2(0x18b)]['add'](_0x39d10a);}),_0x1018ea[_0x53c686(0x109)](this[_0x53c686(0x18b)],[[_0x35c5dc]]);}[_0x3d63b3(0x106)](){const _0xd4087e=_0x3d63b3;_0x1018ea[_0xd4087e(0x109)](this['_injector'],[[_0x107539],[_0x2f01b8],[_0x2d90e7],[_0x3e52bd],[_0x2d1df8],[_0x1e6d4a]]);}[_0x3d63b3(0x1a0)](){const _0x39ef50=_0x3d63b3;[_0x4dc326,_0x45c6b9,_0x430cbe,_0x80bdf0,_0x573703,_0x2857d4][_0x39ef50(0xf2)](_0x3dfc88=>this[_0x39ef50(0x1c0)][_0x39ef50(0x187)](_0x3dfc88));}},_0x5f577c(_0x4d2b36[_0x3d63b3(0x188)],_0x3d63b3(0x10b),_0xd4d8af),_0x5f577c(_0x4d2b36['UniverSheetSparklinePlugin'],_0x3d63b3(0x11c),_0x1018ea[_0x3d63b3(0x10f)][_0x3d63b3(0x127)]),_0x4d2b36['UniverSheetSparklinePlugin']=_0x4bdefb([_0x1018ea[_0x3d63b3(0x121)](_0x41581c[_0x3d63b3(0x161)]),_0x6f7706(0x1,_0x1018ea['Inject'](_0x1018ea[_0x3d63b3(0x185)])),_0x6f7706(0x2,_0x1018ea[_0x3d63b3(0xf8)](_0x1018ea[_0x3d63b3(0x101)]))],_0x4d2b36[_0x3d63b3(0x188)]),_0x4d2b36[_0x3d63b3(0xe9)]=_0x4dc326,_0x4d2b36[_0x3d63b3(0x168)]=_0x45c6b9,_0x4d2b36[_0x3d63b3(0x112)]=_0xd4d8af,_0x4d2b36[_0x3d63b3(0xd7)]=_0x430cbe,_0x4d2b36[_0x3d63b3(0x1a8)]=_0x80bdf0,_0x4d2b36['SetSheetSparklineCommand']=_0x573703,_0x4d2b36['SetSheetSparklineMutation']=_0x2857d4,_0x4d2b36[_0x3d63b3(0x1ae)]=_0x3e08c5,_0x4d2b36[_0x3d63b3(0x190)]=_0x18fd33,_0x4d2b36[_0x3d63b3(0x12a)]=_0x2cda3e,_0x4d2b36[_0x3d63b3(0x16c)]=_0x435b5e,_0x4d2b36[_0x3d63b3(0x119)]=_0x1ac9fd,_0x4d2b36[_0x3d63b3(0x140)]=_0x471270,_0x4d2b36[_0x3d63b3(0xea)]=_0x52086d,Object['defineProperty'](_0x4d2b36,Symbol[_0x3d63b3(0x15b)],{'value':_0x3d63b3(0x171)});}));function _0x2e49(_0x2e4421,_0x10b415){const _0x39cc6b=_0x39cc();return _0x2e49=function(_0x2e49c0,_0x5cfb5d){_0x2e49c0=_0x2e49c0-0xb6;let _0x43d9f2=_0x39cc6b[_0x2e49c0];return _0x43d9f2;},_0x2e49(_0x2e4421,_0x10b415);}function _0x39cc(){const _0x1b2788=['_updateConfig$','size','forEach','markersPoint','sheet.command.set-sparkline','sparklineModel','setValue','17495gftJHC','Inject','_sheetInterceptorService','fromJSON','SPACING','SetRangeValuesMutation','584QGsvjx','_onRefRangeChange','add','startRow','ICommandService','delete','column','getCellRaw','connect_with_line','onReady','_initCorrectRangeWithSparkline','themeType','touchDependencies','matrix','pluginName','extremumMin','PIE_CHART','realDeleteValue','UniverInstanceType','LINE_CHART','SheetInterceptorService','PLUGIN_NAME','RefRangeService','_initDataChangeListener','sequenceExecute','NUMBER','extremumMax','SheetsSelectionsService','SparklineThemeTypeEnum','_ensureAnchorMatrix','negativePoint','type','IUniverInstanceService','map','setSparkline','CopySheetCommand','DependentOn','row','u-spacing','MUTATION','clone','6411033dvhyoB','UNIVER_SHEET','params','from','SparklinePointsNames','removeSparkline','MIN_SAFE_INTEGER','MoveRowsMutation','foreach','set','value','getValue','exports','min','getSparklineCache','subUnitId','BOOLEAN','containHiddenCells','pushUndoRedo','SetWorksheetActivateCommand','3645080wHQqGB','CUSTOM_EXTREMUM','Tools','5690TvlFBG','InsertRowMutation','refRangeHandle','SparklineTypeEnum','sheet.command.remove-sparkline','rgb(252,117,60)','remove','DISTINCTIVE','GROUP_EXTREMUM','IExclusiveRangeService','_initCopySheetWithSparkline','entries','SetColVisibleMutation','endRow','MAX_SAFE_INTEGER','toRgbString','sheet.mutation.set-sparkline','subscribe','UniverProSheetsSparkline','RemoveRowMutation','max','COMMAND','_initHideRowColWithSparkline','Rectangle','rgb(49,106,246)','SparklineDataSourceModel','cellToRange','UniverCore','_sparklineAnchorMap','1697352QEZICT','toStringTag','SetRowVisibleMutation','getOwnPropertyDescriptor','_ensureConfigMap','_exclusiveRangeService','defineProperty','UniverLicensePlugin','227rKqABX','has','@univerjs-pro/license','RemoveRowCommand','CUSTOM','BAR_CHART','AddSheetSparklineMutation','removeRows','every','zero_value','SparklineThemeMapping','lowPoint','ranges','highPoint','UniverProLicense','Module','CommandType','lastPoint','_initSnapshot','getColVisible','generateRandomId','emptyShowAs','distinctive','registerRefRange','Subject','object','rgb(46,187,122)','STANDARD','updateConfig$','addSparkline','sparklineAnchorMap','_refRangeService','_getRefRangeMutationsByDeleteCols','rgb(248,190,21)','function','Injector','deleteUnit','registerCommand','UniverSheetSparklinePlugin','sheet.mutation.remove-sparkline','14inAyDd','_injector','fresh','actualColumn','Disposable','_initDependencies','SparklineExtremumTypeEnum','SetRowHiddenMutation','getSheetBySheetId','@univerjs/sheets','RemoveColMutation','config','getSheetCommandTarget','push','SPECIALTY','startColumn','assign','_getRefRangeMutationsByDeleteRows','contains','interceptCommand','InsertColMutation','1470336hMkclO','_initRegisterCommand','PROFIT_AND_LOSS_CHART','ZERO_VALUE','rxjs','176FyrACV','values','soft','getSparklineById','RemoveSheetSparklineMutation','adjustRangeOnMutation','MoveRangeMutation','rgb(236,100,169)','intersects','_sheetSelectionService','SpacialShowAsEnum','RANGE_TYPE','ReorderRangeMutation','forValue','next','actualRow','_initClearWithSparkline','_initExclusiveRangeChange','SHEET_SPARKLINE_PLUGIN','sheet.mutation.add-sparkline','setAlpha','unitId','updateSparklineExtraNum','length','IResourceManagerService','274090GaSndT','UniverSheets','standard','_commandService','FORCE_STRING','_resourceManagerService','disposeWithMe','some','_univerInstanceService','rgb(80,102,248)','ClearSelectionAllCommand','rgb(54,78,244)','CONNECT_WITH_LINE','parse','groupId','AddWorksheetMergeCommand','Plugin','IUndoRedoService','sparklines','toJSON','getCell','registerPluginResource','number','_sparklineDataSourceModel','DisposableCollection','getSizeOf','NORMAL','SELF_EXTREMUM','firstPoint','removePartSparkline','ColorKit','get','getMatrix','getSubUnitSparkline','@univerjs/core','range','SOFT','item','onCommandExecuted','RemoveSheetSparklineCommand','asObservable','keys','reBuildAnchorCache','u-connect','Range','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','nonNumShowAs','getCurrentUnitForType','_sparklineModel','CellValueType','ObjectMatrix','_initMergeWithSparkline','seriesColor','sheet.command.add-sparkline','getSparkline','moveColumns','rgb(124,66,147)','AddSheetSparklineCommand','getSparklinePlacement','removeColumns','endColumn','clearSparklineCache','disposableCollection','deepClone'];_0x39cc=function(){return _0x1b2788;};return _0x39cc();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-sparkline",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "sparkline for Univer.",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -62,16 +62,16 @@
|
|
|
62
62
|
"rxjs": ">=7.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@univerjs-pro/license": "0.10.
|
|
66
|
-
"@univerjs/core": "0.10.
|
|
67
|
-
"@univerjs/sheets": "0.10.
|
|
65
|
+
"@univerjs-pro/license": "0.10.13",
|
|
66
|
+
"@univerjs/core": "0.10.13",
|
|
67
|
+
"@univerjs/sheets": "0.10.13"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^5.9.3",
|
|
72
72
|
"vite": "^7.1.10",
|
|
73
73
|
"vitest": "^3.2.4",
|
|
74
|
-
"@univerjs-infra/shared": "0.10.
|
|
74
|
+
"@univerjs-infra/shared": "0.10.13"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"test": "vitest run",
|