@univerjs-pro/sheets-sparkline 0.10.6-experimental.20250904-9591d16 → 0.10.6-nightly.202509060614
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x72397f=_0x2522;(function(_0x50e7e9,_0x26b58b){const _0xc9b57=_0x2522,_0x4eedc2=_0x50e7e9();while(!![]){try{const _0x2b62d5=-parseInt(_0xc9b57(0x162))/0x1*(parseInt(_0xc9b57(0x12a))/0x2)+parseInt(_0xc9b57(0x14c))/0x3+parseInt(_0xc9b57(0xc3))/0x4+-parseInt(_0xc9b57(0xd7))/0x5*(-parseInt(_0xc9b57(0xce))/0x6)+parseInt(_0xc9b57(0x147))/0x7*(parseInt(_0xc9b57(0x104))/0x8)+-parseInt(_0xc9b57(0xd9))/0x9+-parseInt(_0xc9b57(0x149))/0xa*(-parseInt(_0xc9b57(0xd1))/0xb);if(_0x2b62d5===_0x26b58b)break;else _0x4eedc2['push'](_0x4eedc2['shift']());}catch(_0x127182){_0x4eedc2['push'](_0x4eedc2['shift']());}}}(_0x13f8,0x392c2));var qe=Object[_0x72397f(0xb0)],Qe=(_0x1aff39,_0x4f2d50,_0x754f6e)=>_0x4f2d50 in _0x1aff39?qe(_0x1aff39,_0x4f2d50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x754f6e}):_0x1aff39[_0x4f2d50]=_0x754f6e,se=(_0x4f81e2,_0x469f66,_0x6a19c6)=>Qe(_0x4f81e2,typeof _0x469f66!=_0x72397f(0x141)?_0x469f66+'':_0x469f66,_0x6a19c6);import{ObjectMatrix as _0x192dcd,Inject as _0x54d2a7,IUniverInstanceService as _0x224779,Disposable as _0x329963,isValidRange as _0x40acb2,CellValueType as _0x2023a4,ColorKit as _0x5aa8f2,CommandType as _0x55ea25,Range as _0x540300,IUndoRedoService as _0x4d0b6a,generateRandomId as _0x16eeff,ICommandService as _0x272bff,Tools as _0x538207,sequenceExecute as _0x414131,Rectangle as _0x5d17c9,cellToRange as _0x8811d0,DisposableCollection as _0xaf0177,RANGE_TYPE as _0x540415,UniverInstanceType as _0x594f9d,IResourceManagerService as _0x2c7267,DependentOn as _0x5432f8,Injector as _0x563a9d,Plugin as _0x33da54,touchDependencies as _0x309222}from'@univerjs/core';import{getSheetCommandTarget as _0x582456,SheetsSelectionsService as _0x2bf808,SheetInterceptorService as _0x3be193,ClearSelectionAllCommand as _0x40c800,CopySheetCommand as _0xdc7885,IExclusiveRangeService as _0x371992,SetRangeValuesMutation as _0x138dad,ReorderRangeMutation as _0x3378d1,SetRowHiddenMutation as _0x2234d4,SetColHiddenMutation as _0x481ee0,SetRowVisibleMutation as _0x7eea43,SetColVisibleMutation as _0x4a2bec,AddWorksheetMergeCommand as _0x25227c,RefRangeService as _0x475f93,SetWorksheetActivateCommand as _0x568a28,RemoveRowCommand as _0x2f68ec,RemoveColCommand as _0x89abdb,adjustRangeOnMutation as _0x517451,RemoveRowMutation as _0x11a2f4,RemoveColMutation as _0x14761e,InsertColMutation as _0x4180ff,InsertRowMutation as _0x9b28a3,MoveColsMutation as _0x3409db,MoveRowsMutation as _0x165f9b,MoveRangeMutation as _0x5c1875}from'@univerjs/sheets';import{Subject as _0x524b08}from'rxjs';import{UniverLicensePlugin as _0x3f9b9a}from'@univerjs-pro/license';function Fe(_0x1fd5f7,_0x4501d1){const _0x233ea1=_0x72397f,_0x257b76=new _0x192dcd(),_0x427b2f=[],_0xcd4c80=_0x1fd5f7[_0x233ea1(0x148)]>0x1;let _0x2a2550=0x0,_0x3e0624=0x0;for(const _0x635b6d of _0x1fd5f7)_0x2a2550+=_0x635b6d[_0x233ea1(0xdd)]-_0x635b6d[_0x233ea1(0xbf)]+0x1,_0x3e0624+=_0x635b6d['endColumn']-_0x635b6d[_0x233ea1(0x157)]+0x1;for(const _0x11a3e3 of _0x4501d1)for(let _0x1abe29=_0x11a3e3[_0x233ea1(0xbf)];_0x1abe29<=_0x11a3e3[_0x233ea1(0xdd)];_0x1abe29++)for(let _0x17f8fb=_0x11a3e3['startColumn'];_0x17f8fb<=_0x11a3e3['endColumn'];_0x17f8fb++)_0x427b2f['push']({'row':_0x1abe29,'column':_0x17f8fb});if(_0x427b2f['length']===_0x2a2550)_0xcd4c80?_0x427b2f[_0x233ea1(0x10b)]((_0x5ef69b,_0x18ed7d)=>{const _0xba2793=_0x233ea1,_0x5eae33=_0x1fd5f7[_0x18ed7d],_0x3c6118={'startRow':_0x5eae33['startRow'],'startColumn':_0x5eae33['startColumn'],'endRow':_0x5eae33[_0xba2793(0xbf)],'endColumn':_0x5eae33[_0xba2793(0xcb)]};_0x257b76[_0xba2793(0xef)](_0x5ef69b['row'],_0x5ef69b[_0xba2793(0xed)],_0x3c6118);}):_0x427b2f['forEach']((_0x526734,_0x10bd3a)=>{const _0x808733=_0x233ea1,_0x39ca12=_0x1fd5f7[0x0],_0x4eba46={'startRow':_0x39ca12[_0x808733(0xbf)]+_0x10bd3a,'startColumn':_0x39ca12['startColumn'],'endRow':_0x39ca12['startRow']+_0x10bd3a,'endColumn':_0x39ca12['endColumn']};_0x257b76[_0x808733(0xef)](_0x526734[_0x808733(0xba)],_0x526734[_0x808733(0xed)],_0x4eba46);});else{if(_0x427b2f[_0x233ea1(0x148)]===_0x3e0624)_0xcd4c80?_0x427b2f[_0x233ea1(0x10b)]((_0x51dbad,_0x259cff)=>{const _0x3b9fca=_0x233ea1,_0xea8498=_0x1fd5f7[_0x259cff],_0x4520a6={'startRow':_0xea8498[_0x3b9fca(0xbf)],'startColumn':_0xea8498[_0x3b9fca(0x157)],'endRow':_0xea8498[_0x3b9fca(0xdd)],'endColumn':_0xea8498[_0x3b9fca(0x157)]};_0x257b76[_0x3b9fca(0xef)](_0x51dbad[_0x3b9fca(0xba)],_0x51dbad[_0x3b9fca(0xed)],_0x4520a6);}):_0x427b2f[_0x233ea1(0x10b)]((_0x31e1f6,_0x24d6a6)=>{const _0x13fef1=_0x233ea1,_0x197613=_0x1fd5f7[0x0],_0x1cbc09={'startRow':_0x197613[_0x13fef1(0xbf)],'startColumn':_0x197613[_0x13fef1(0x157)]+_0x24d6a6,'endRow':_0x197613[_0x13fef1(0xdd)],'endColumn':_0x197613[_0x13fef1(0x157)]+_0x24d6a6};_0x257b76[_0x13fef1(0xef)](_0x31e1f6[_0x13fef1(0xba)],_0x31e1f6[_0x13fef1(0xed)],_0x1cbc09);});else{if(_0x427b2f['length']===_0x1fd5f7['length'])_0x1fd5f7[_0x233ea1(0x127)](_0x126ba0=>!(_0x126ba0[_0x233ea1(0xbf)]!==_0x126ba0['endRow']&&_0x126ba0[_0x233ea1(0x157)]!==_0x126ba0[_0x233ea1(0xcb)]))&&_0x427b2f[_0x233ea1(0x10b)]((_0x1c617e,_0x564a0c)=>{const _0x7380bd=_0x233ea1,_0x3b3de9=_0x1fd5f7[_0x564a0c];_0x257b76[_0x7380bd(0xef)](_0x1c617e[_0x7380bd(0xba)],_0x1c617e[_0x7380bd(0xed)],_0x3b3de9);});else throw new Error(_0x233ea1(0x11f));}}return _0x257b76;}const Ke=_0x72397f(0x15b),Le={'standard':[_0x72397f(0xe0),_0x72397f(0x133)],'specialty':['rgb(49,106,246)',_0x72397f(0x121)],'distinctive':[_0x72397f(0xc9),'rgb(252,117,60)'],'soft':[_0x72397f(0x145),_0x72397f(0xe3)],'fresh':[_0x72397f(0x10c),'rgb(248,190,21)']},on=[_0x72397f(0x123),'firstPoint',_0x72397f(0x151),_0x72397f(0xf3),'negativePoint',_0x72397f(0x163)];var Xe=(_0x6d76b6=>(_0x6d76b6[_0x72397f(0x109)]=_0x72397f(0x13f),_0x6d76b6[_0x72397f(0xeb)]=_0x72397f(0x13c),_0x6d76b6[_0x72397f(0x164)]=_0x72397f(0xbd),_0x6d76b6[_0x72397f(0xc0)]=_0x72397f(0x13d),_0x6d76b6[_0x72397f(0xfa)]='fresh',_0x6d76b6[_0x72397f(0x153)]=_0x72397f(0x111),_0x6d76b6))(Xe||{}),Dt=(_0x50b73f=>(_0x50b73f[_0x50b73f[_0x72397f(0xd6)]=0x1]=_0x72397f(0xd6),_0x50b73f[_0x50b73f[_0x72397f(0xe4)]=0x2]=_0x72397f(0xe4),_0x50b73f[_0x50b73f[_0x72397f(0x136)]=0x3]=_0x72397f(0x136),_0x50b73f[_0x50b73f[_0x72397f(0x129)]=0x4]=_0x72397f(0x129),_0x50b73f))(Dt||{}),J=(_0x2600d9=>(_0x2600d9[_0x72397f(0x156)]='spacing',_0x2600d9['ZERO_VALUE']='zero_value',_0x2600d9[_0x72397f(0x130)]=_0x72397f(0x10a),_0x2600d9))(J||{}),De=(_0x20321f=>(_0x20321f[_0x20321f['SELF_EXTREMUM']=0x1]='SELF_EXTREMUM',_0x20321f[_0x20321f[_0x72397f(0x12d)]=0x2]='GROUP_EXTREMUM',_0x20321f[_0x20321f[_0x72397f(0x106)]=0x3]=_0x72397f(0x106),_0x20321f))(De||{}),Et=Object[_0x72397f(0x11d)],Vt=(_0x454001,_0x2d43d9,_0x3c54fc,_0x4650b2)=>{const _0xbcce2=_0x72397f;for(var _0x516086=_0x4650b2>0x1?void 0x0:_0x4650b2?Et(_0x2d43d9,_0x3c54fc):_0x2d43d9,_0x5e025c=_0x454001[_0xbcce2(0x148)]-0x1,_0x303d2e;_0x5e025c>=0x0;_0x5e025c--)(_0x303d2e=_0x454001[_0x5e025c])&&(_0x516086=_0x303d2e(_0x516086)||_0x516086);return _0x516086;},yt=(_0x3191e1,_0x323b06)=>(_0x23d172,_0x3a1028)=>_0x323b06(_0x23d172,_0x3a1028,_0x3191e1);function _0x2522(_0x472ca2,_0x440f72){const _0x13f829=_0x13f8();return _0x2522=function(_0x252251,_0x32c748){_0x252251=_0x252251-0xad;let _0x12f434=_0x13f829[_0x252251];return _0x12f434;},_0x2522(_0x472ca2,_0x440f72);}let x=class extends _0x329963{constructor(_0x5ceb51){const _0x9b8ae0=_0x72397f;super(),se(this,'_sparklineModel',new Map()),se(this,_0x9b8ae0(0xfd),new Map()),se(this,'_updateConfig$',new _0x524b08()),se(this,'updateConfig$',this['_updateConfig$']['asObservable']()),this[_0x9b8ae0(0xc6)]=_0x5ceb51;}[_0x72397f(0xd2)](_0x1d0a18,_0x46212c){const _0x55decf=_0x72397f;let _0x35731f=this[_0x55decf(0x159)][_0x55decf(0xd5)](_0x1d0a18);_0x35731f||(_0x35731f=new Map(),this[_0x55decf(0x159)][_0x55decf(0x101)](_0x1d0a18,_0x35731f));let _0x2a5f59=_0x35731f[_0x55decf(0xd5)](_0x46212c);return _0x2a5f59||(_0x2a5f59=new Map(),_0x35731f['set'](_0x46212c,_0x2a5f59)),_0x2a5f59;}[_0x72397f(0xf0)](_0x311db9,_0x4c6736){const _0x15b96a=_0x72397f;let _0x578fb4=this[_0x15b96a(0xfd)][_0x15b96a(0xd5)](_0x311db9);_0x578fb4||(_0x578fb4=new Map(),this[_0x15b96a(0xfd)]['set'](_0x311db9,_0x578fb4));let _0xedbb54=_0x578fb4['get'](_0x4c6736);return _0xedbb54||(_0xedbb54={'matrix':new _0x192dcd(),'extra':{}},_0x578fb4[_0x15b96a(0x101)](_0x4c6736,_0xedbb54)),_0xedbb54;}[_0x72397f(0x11b)](_0xee0244,_0x2c3015,_0x18c5cb,_0x474eea=_0x72397f(0x101)){const _0x2586a1=_0x72397f;var _0x2cb720,_0x1ad0e8,_0x379ae8,_0x4fef5b,_0x506f56,_0x39fc42,_0x5ca023,_0x3152bd,_0x1d68f9,_0x3a27a9,_0x435adf,_0x112d54,_0x3830c1;const _0x4d212f=(_0x1ad0e8=(_0x2cb720=this[_0x2586a1(0x159)]['get'](_0xee0244))==null?void 0x0:_0x2cb720[_0x2586a1(0xd5)](_0x2c3015))==null?void 0x0:_0x1ad0e8['get'](_0x18c5cb);if(!_0x4d212f)return;const _0x33a2fd=_0x582456(this['_univerInstanceService'],{'unitId':_0xee0244,'subUnitId':_0x2c3015});if(!_0x33a2fd)return;const _0x5c90ee=this[_0x2586a1(0xf0)](_0xee0244,_0x2c3015),{extra:_0x2594de,matrix:_0x156b3b}=_0x5c90ee,{worksheet:_0x419b90}=_0x33a2fd;let _0x7f1687=Number[_0x2586a1(0x113)],_0x2e4963=Number[_0x2586a1(0xcf)];const _0x49d6f4=(_0x379ae8=_0x4d212f[_0x2586a1(0x110)][_0x2586a1(0xd3)])!=null?_0x379ae8:!0x1;_0x4d212f[_0x2586a1(0xbb)][_0x2586a1(0x138)]((_0x487bef,_0x318750,_0x398d52)=>{const _0x10e601=_0x2586a1;var _0x426d8c,_0xd78c70,_0x2e58f1;const _0x166fd7=_0x398d52;let _0x5aa9f2=Number['MIN_SAFE_INTEGER'],_0x31a37e=Number[_0x10e601(0xcf)],_0xd2f9da=0x0,_0x2776ca=0x0;const _0x5aea5e=[];if(!_0x40acb2(_0x166fd7))_0x156b3b[_0x10e601(0xef)](_0x487bef,_0x318750,{'groupId':_0x18c5cb,'data':[],'max':_0x5aa9f2,'min':_0x31a37e,'highIndex':_0xd2f9da,'lowIndex':_0x2776ca,'negativeIndexes':_0x5aea5e});else{const _0x1c98ca=[];for(let _0xe8b07c=_0x166fd7[_0x10e601(0xbf)];_0xe8b07c<=_0x166fd7['endRow'];_0xe8b07c++){for(let _0x31c3bd=_0x166fd7[_0x10e601(0x157)];_0x31c3bd<=_0x166fd7[_0x10e601(0xcb)];_0x31c3bd++){const _0xa9728d=_0x419b90['getRowVisible'](_0xe8b07c),_0x1063cf=_0x419b90['getColVisible'](_0x31c3bd);if(!_0x49d6f4&&(!_0xa9728d||!_0x1063cf))continue;let _0x3ef81d=0x0;const _0x5f97a6=((_0x426d8c=_0x419b90['getCellRaw'](_0xe8b07c,_0x31c3bd))==null?void 0x0:_0x426d8c['v'])!==void 0x0?_0x419b90[_0x10e601(0x165)](_0xe8b07c,_0x31c3bd):_0x419b90[_0x10e601(0xad)](_0xe8b07c,_0x31c3bd);if(!_0x5f97a6||_0x5f97a6['v']===void 0x0||_0x5f97a6['v']===null){const _0x405785=(_0xd78c70=_0x4d212f[_0x10e601(0x110)]['emptyShowAs'])!=null?_0xd78c70:J[_0x10e601(0x156)];_0x405785===J[_0x10e601(0x140)]?_0x3ef81d=0x0:_0x405785===J[_0x10e601(0x156)]?_0x3ef81d=_0x10e601(0xcc):_0x405785===J[_0x10e601(0x130)]&&(_0x3ef81d=_0x10e601(0x15c));}else{if(_0x5f97a6['t']===_0x2023a4[_0x10e601(0x143)]||_0x5f97a6['t']===_0x2023a4[_0x10e601(0x14f)]){const _0x36816c=(_0x2e58f1=_0x4d212f['config']['nonNumShowAs'])!=null?_0x2e58f1:J[_0x10e601(0x156)];_0x36816c===J['ZERO_VALUE']?_0x3ef81d=0x0:_0x36816c===J[_0x10e601(0x156)]?_0x3ef81d=_0x10e601(0xcc):_0x36816c===J['CONNECT_WITH_LINE']&&(_0x3ef81d='u-connect');}else _0x5f97a6['t']===_0x2023a4[_0x10e601(0x154)]?_0x3ef81d=_0x5f97a6['v']?0x1:0x0:_0x5f97a6['t']===_0x2023a4[_0x10e601(0xf6)]?_0x3ef81d=Number(_0x5f97a6['v']):_0x3ef81d=_0x5f97a6['v'];}if(_0x1c98ca[_0x10e601(0x131)](_0x3ef81d),typeof _0x3ef81d==_0x10e601(0x158)){_0x5aa9f2=Math['max'](_0x5aa9f2,_0x3ef81d),_0x7f1687=Math[_0x10e601(0x161)](_0x7f1687,_0x3ef81d),_0x2e4963=Math[_0x10e601(0x114)](_0x2e4963,_0x3ef81d),_0x31a37e=Math[_0x10e601(0x114)](_0x31a37e,_0x3ef81d);const _0x332dc5=typeof _0x1c98ca[_0xd2f9da]=='number'?Number(_0x1c98ca[_0xd2f9da]):Number[_0x10e601(0x113)];_0x3ef81d>_0x332dc5&&(_0xd2f9da=_0x1c98ca[_0x10e601(0x148)]-0x1);const _0x435224=typeof _0x1c98ca[_0x2776ca]==_0x10e601(0x158)?Number(_0x1c98ca[_0x2776ca]):Number[_0x10e601(0xcf)];_0x3ef81d<_0x435224&&(_0x2776ca=_0x1c98ca[_0x10e601(0x148)]-0x1),_0x3ef81d<0x0&&_0x5aea5e[_0x10e601(0x131)](_0x1c98ca['length']-0x1);}}_0x156b3b[_0x10e601(0xef)](_0x487bef,_0x318750,{'groupId':_0x18c5cb,'data':_0x1c98ca,'max':_0x5aa9f2,'min':_0x31a37e,'highIndex':_0xd2f9da,'lowIndex':_0x2776ca,'negativeIndexes':_0x5aea5e});}}});let _0x319e8f=_0x7f1687;((_0x4fef5b=_0x4d212f['config'][_0x2586a1(0x14a)])==null?void 0x0:_0x4fef5b[_0x2586a1(0xe8)])===De[_0x2586a1(0x106)]&&(_0x319e8f=(_0x39fc42=(_0x506f56=_0x4d212f[_0x2586a1(0x110)][_0x2586a1(0x14a)])==null?void 0x0:_0x506f56[_0x2586a1(0x10e)])!=null?_0x39fc42:_0x7f1687);let _0x661405=_0x2e4963;((_0x5ca023=_0x4d212f[_0x2586a1(0x110)][_0x2586a1(0xb1)])==null?void 0x0:_0x5ca023['type'])===De[_0x2586a1(0x106)]&&(_0x661405=(_0x1d68f9=(_0x3152bd=_0x4d212f[_0x2586a1(0x110)]['extremumMin'])==null?void 0x0:_0x3152bd[_0x2586a1(0x10e)])!=null?_0x1d68f9:_0x2e4963);const _0x335058=(_0x3a27a9=_0x4d212f['config'][_0x2586a1(0xb9)])!=null?_0x3a27a9:Xe[_0x2586a1(0x109)],_0xb4501=(_0x3830c1=(_0x112d54=_0x4d212f[_0x2586a1(0x110)]['seriesColor'])!=null?_0x112d54:(_0x435adf=Le[_0x335058])==null?void 0x0:_0x435adf[0x0])!=null?_0x3830c1:Le[_0x2586a1(0x13f)][0x0],_0x146cf7=new _0x5aa8f2(_0xb4501),_0x353243=_0x146cf7[_0x2586a1(0x13b)](0.2)[_0x2586a1(0x103)](),_0x1507d6=_0x146cf7[_0x2586a1(0x13b)](0.05)[_0x2586a1(0x103)]();_0x2594de[_0x18c5cb]={'groupMax':_0x7f1687,'groupMin':_0x2e4963,'showMax':_0x319e8f,'showMin':_0x661405,'startGradient':_0x353243,'endGradient':_0x1507d6},this[_0x2586a1(0x105)]['next']({'unitId':_0xee0244,'subUnitId':_0x2c3015,'groupId':_0x18c5cb,'config':_0x4d212f,'type':_0x474eea});}[_0x72397f(0xb7)](_0x42d932,_0xf44a72,_0x3fc167,_0x4cbb2d){const _0x1460da=_0x72397f;this[_0x1460da(0xd2)](_0x42d932,_0xf44a72)[_0x1460da(0x101)](_0x3fc167,_0x4cbb2d),this[_0x1460da(0x11b)](_0x42d932,_0xf44a72,_0x3fc167,_0x1460da(0x152));}[_0x72397f(0xb8)](_0x345916,_0xdacd3c,_0x47f0a9,_0x1c6c82){const _0x41198e=_0x72397f;var _0x2ae4b4;const _0x390d6a=(_0x2ae4b4=this['_sparklineModel'][_0x41198e(0xd5)](_0x345916))==null?void 0x0:_0x2ae4b4[_0x41198e(0xd5)](_0xdacd3c);_0x47f0a9[_0x41198e(0x10b)](_0x57b0c5=>{const _0x1a5a05=_0x41198e;_0x390d6a!=null&&_0x390d6a[_0x1a5a05(0x118)](_0x57b0c5)&&(_0x390d6a[_0x1a5a05(0x101)](_0x57b0c5,_0x1c6c82),this[_0x1a5a05(0x11b)](_0x345916,_0xdacd3c,_0x57b0c5));});}[_0x72397f(0xdf)](_0xd15050,_0x12bcd5,_0x2ad673){const _0x4791d2=_0x72397f;var _0x1f4cab,_0x177348;const _0x5d1d7f=this[_0x4791d2(0x159)]['get'](_0xd15050);if(_0x5d1d7f){const _0x47d8c3=_0x5d1d7f[_0x4791d2(0xd5)](_0x12bcd5);if(_0x47d8c3){_0x47d8c3[_0x4791d2(0x14e)](_0x2ad673);const _0x2cf0d3=(_0x1f4cab=this[_0x4791d2(0xfd)][_0x4791d2(0xd5)](_0xd15050))==null?void 0x0:_0x1f4cab[_0x4791d2(0xd5)](_0x12bcd5);(_0x177348=_0x2cf0d3==null?void 0x0:_0x2cf0d3[_0x4791d2(0x15d)])==null||_0x177348[_0x4791d2(0x138)]((_0x31303c,_0x56efd,_0x13aee2)=>{const _0xde3e86=_0x4791d2;(_0x13aee2==null?void 0x0:_0x13aee2['groupId'])===_0x2ad673&&(_0x2cf0d3==null||_0x2cf0d3['matrix'][_0xde3e86(0xdb)](_0x31303c,_0x56efd));}),this[_0x4791d2(0x105)][_0x4791d2(0x117)]({'unitId':_0xd15050,'subUnitId':_0x12bcd5,'groupId':_0x2ad673,'type':_0x4791d2(0xc2)});}}}[_0x72397f(0x135)](_0x1e283b,_0x587e87,_0x3f2165,_0x5dd181){const _0x1f6ed1=_0x72397f;var _0x850faa,_0x330f2f,_0x44437c,_0x374eb4;const _0x2536ed=(_0x850faa=this[_0x1f6ed1(0xfd)]['get'](_0x1e283b))==null?void 0x0:_0x850faa['get'](_0x587e87),_0x5929e4=_0x2536ed==null?void 0x0:_0x2536ed[_0x1f6ed1(0x15d)][_0x1f6ed1(0xf2)](_0x3f2165,_0x5dd181);if(_0x5929e4){const {groupId:_0x2856e6}=_0x5929e4,_0x3d696c=(_0x330f2f=this[_0x1f6ed1(0x159)]['get'](_0x1e283b))==null?void 0x0:_0x330f2f[_0x1f6ed1(0xd5)](_0x587e87);(_0x44437c=_0x3d696c==null?void 0x0:_0x3d696c[_0x1f6ed1(0xd5)](_0x2856e6))==null||_0x44437c[_0x1f6ed1(0xbb)]['realDeleteValue'](_0x3f2165,_0x5dd181),(_0x374eb4=_0x3d696c==null?void 0x0:_0x3d696c['get'](_0x2856e6))!=null&&_0x374eb4[_0x1f6ed1(0xbb)][_0x1f6ed1(0x15e)]()||_0x3d696c==null||_0x3d696c[_0x1f6ed1(0x14e)](_0x2856e6),_0x2536ed==null||_0x2536ed[_0x1f6ed1(0x15d)]['realDeleteValue'](_0x3f2165,_0x5dd181),this[_0x1f6ed1(0x105)]['next']({'unitId':_0x1e283b,'subUnitId':_0x587e87,'groupId':_0x2856e6,'type':'remove'});}}[_0x72397f(0xf5)](_0x1b1b64,_0xa52057,_0x27b19){const _0x39c94c=_0x72397f;var _0x3faf8b,_0x5cd36c,_0x424e94,_0xd6b282;const _0x5ce957=(_0x424e94=(_0x5cd36c=(_0x3faf8b=this[_0x39c94c(0x159)][_0x39c94c(0xd5)](_0x1b1b64))==null?void 0x0:_0x3faf8b[_0x39c94c(0xd5)](_0xa52057))==null?void 0x0:_0x5cd36c[_0x39c94c(0xd5)](_0x27b19))==null?void 0x0:_0x424e94[_0x39c94c(0xbb)],_0x14378d=(_0xd6b282=this['_sparklineAnchorMap']['get'](_0x1b1b64))==null?void 0x0:_0xd6b282[_0x39c94c(0xd5)](_0xa52057);if(_0x5ce957&&_0x14378d){const {matrix:_0x3e04e9,extra:_0x37add6}=_0x14378d;_0x5ce957[_0x39c94c(0x138)]((_0x43816f,_0x58be28,_0x2c15a2)=>{const _0x50b58e=_0x39c94c;_0x3e04e9[_0x50b58e(0xdb)](_0x43816f,_0x58be28);}),delete _0x37add6[_0x27b19];}}[_0x72397f(0xd4)](_0x57a122,_0x45076b){const _0xee0c90=_0x72397f;var _0x1def22;return(_0x1def22=this[_0xee0c90(0x159)][_0xee0c90(0xd5)](_0x57a122))==null?void 0x0:_0x1def22[_0xee0c90(0xd5)](_0x45076b);}[_0x72397f(0x137)](_0x325553,_0x28b1a2,_0x293b92){const _0x4b826e=_0x72397f;var _0x240082,_0x4b4dad;return(_0x4b4dad=(_0x240082=this['_sparklineModel']['get'](_0x325553))==null?void 0x0:_0x240082[_0x4b826e(0xd5)](_0x28b1a2))==null?void 0x0:_0x4b4dad[_0x4b826e(0xd5)](_0x293b92);}[_0x72397f(0xe5)](_0x4a76c6,_0x3c9531,_0xa20ae9,_0x493553){const _0x586ec3=_0x72397f;var _0x4194c8,_0x2683e0,_0x36ded1;return(_0x36ded1=(_0x2683e0=(_0x4194c8=this[_0x586ec3(0xfd)][_0x586ec3(0xd5)](_0x4a76c6))==null?void 0x0:_0x4194c8[_0x586ec3(0xd5)](_0x3c9531))==null?void 0x0:_0x2683e0[_0x586ec3(0x15d)][_0x586ec3(0xf2)](_0xa20ae9,_0x493553))==null?void 0x0:_0x36ded1[_0x586ec3(0xe2)];}[_0x72397f(0x15f)](_0x51f4b8,_0x130338){const _0x1ad1e9=_0x72397f;var _0x2dc849;const _0x82e14e=this[_0x1ad1e9(0xf0)](_0x51f4b8,_0x130338);_0x82e14e[_0x1ad1e9(0x15d)][_0x1ad1e9(0x138)]((_0x5ef4bc,_0x55ceb4)=>{const _0x50a4a3=_0x1ad1e9;_0x82e14e['matrix'][_0x50a4a3(0xdb)](_0x5ef4bc,_0x55ceb4);});const _0x324999=(_0x2dc849=this[_0x1ad1e9(0x159)][_0x1ad1e9(0xd5)](_0x51f4b8))==null?void 0x0:_0x2dc849[_0x1ad1e9(0xd5)](_0x130338);if(_0x324999){for(const [_0x2a138a]of _0x324999)this['updateSparklineExtraNum'](_0x51f4b8,_0x130338,_0x2a138a);}}[_0x72397f(0x115)](){const _0x1dcaef=_0x72397f;return{'sparklineModel':this[_0x1dcaef(0x159)],'sparklineAnchorMap':this[_0x1dcaef(0xfd)]};}[_0x72397f(0x125)](_0x4d358b){const _0x5efebe=_0x72397f,_0x38a59a={};if(this[_0x5efebe(0x159)][_0x5efebe(0x118)](_0x4d358b)){_0x38a59a[_0x4d358b]={};const _0x3c2753=this[_0x5efebe(0x159)][_0x5efebe(0xd5)](_0x4d358b);_0x3c2753!=null&&_0x3c2753[_0x5efebe(0x11c)]&&Array[_0x5efebe(0x12e)](_0x3c2753[_0x5efebe(0xea)]())[_0x5efebe(0x10b)](_0x1ddaf2=>{const _0x3bcf49=_0x5efebe;_0x38a59a[_0x4d358b][_0x1ddaf2]={};const _0x50e9e2=_0x3c2753['get'](_0x1ddaf2);_0x50e9e2!=null&&_0x50e9e2[_0x3bcf49(0x11c)]&&Array[_0x3bcf49(0x12e)](_0x50e9e2[_0x3bcf49(0xea)]())[_0x3bcf49(0x10b)](_0x541975=>{const _0x239df3=_0x3bcf49,_0x5507ad=_0x50e9e2[_0x239df3(0xd5)](_0x541975);_0x5507ad&&(_0x38a59a[_0x4d358b][_0x1ddaf2][_0x541975]={'config':_0x5507ad[_0x239df3(0x110)],'sparklines':_0x5507ad[_0x239df3(0xbb)][_0x239df3(0xf4)]()});});});}return _0x38a59a;}[_0x72397f(0x108)](_0x46edca){const _0x50b4ec=_0x72397f;if(!_0x46edca)return;Object['keys'](_0x46edca)[_0x50b4ec(0x10b)](_0x3d5928=>{const _0x2f60da=_0x50b4ec,_0x249f70=_0x46edca[_0x3d5928];_0x249f70&&Object[_0x2f60da(0xea)](_0x249f70)[_0x2f60da(0x10b)](_0x6dba1d=>{const _0x2835b6=_0x2f60da,_0x4b6fff=_0x249f70[_0x6dba1d];_0x4b6fff&&Object[_0x2835b6(0xea)](_0x4b6fff)[_0x2835b6(0x10b)](_0x1356dc=>{const _0x47fab7=_0x2835b6,_0x250fc6=_0x4b6fff[_0x1356dc];if(_0x250fc6){const _0x26ef00={'config':_0x250fc6[_0x47fab7(0x110)],'sparklines':new _0x192dcd(_0x250fc6[_0x47fab7(0xbb)])};this[_0x47fab7(0xb7)](_0x3d5928,_0x6dba1d,_0x1356dc,_0x26ef00);}});});});}[_0x72397f(0x11a)](_0x17371){const _0x179ffa=_0x72397f,_0x3b153d=this['_sparklineModel'][_0x179ffa(0xd5)](_0x17371);if(_0x3b153d){for(const [_0x456933]of _0x3b153d){const _0x4fdf61=_0x3b153d[_0x179ffa(0xd5)](_0x456933);if(_0x4fdf61){for(const [_0x204cf0]of _0x4fdf61)this['clearSparklineCache'](_0x17371,_0x456933,_0x204cf0);}}this[_0x179ffa(0x159)][_0x179ffa(0x14e)](_0x17371);}}};x=Vt([yt(0x0,_0x54d2a7(_0x224779))],x);const V={'id':_0x72397f(0x134),'type':_0x55ea25[_0x72397f(0xc8)],'handler':(_0x4c8ff0,_0x3c879b)=>{const _0x366855=_0x72397f;if(!_0x3c879b)return!0x1;const {sparklineConfigMap:_0x4d63ef,unitId:_0x986c8b,subUnitId:_0xc7a57a}=_0x3c879b,_0x31bc97=_0x4c8ff0['get'](x);return Object[_0x366855(0x142)](_0x4d63ef)[_0x366855(0x10b)](([_0x3577e4,_0x2d509c])=>{const _0x5d309d=_0x366855,_0x1052db={'config':_0x2d509c[_0x5d309d(0x110)],'sparklines':new _0x192dcd(_0x2d509c['sparklines'])};_0x31bc97[_0x5d309d(0xb7)](_0x986c8b,_0xc7a57a,_0x3577e4,_0x1052db);}),!0x0;}},y={'id':_0x72397f(0x160),'type':_0x55ea25['MUTATION'],'handler':(_0x995d05,_0x345413)=>{const _0x317ea7=_0x72397f;if(!_0x345413)return!0x1;const {unitId:_0x2bb43f,subUnitId:_0x1890d0,ranges:_0x1ac355,isSingle:_0x478b96,groupIds:_0x2032de}=_0x345413,_0x2433c8=_0x995d05[_0x317ea7(0xd5)](x);return _0x2032de?(_0x2032de[_0x317ea7(0x10b)](_0x222f48=>{const _0x528c1d=_0x317ea7;_0x2433c8[_0x528c1d(0xdf)](_0x2bb43f,_0x1890d0,_0x222f48);}),!0x0):_0x1ac355?(_0x1ac355[_0x317ea7(0x10b)](_0x461587=>{const _0x3b8fb=_0x317ea7;_0x540300[_0x3b8fb(0x139)](_0x461587,(_0x3cfcab,_0x184a64)=>{const _0x5572b8=_0x3b8fb,_0x30507b=_0x2433c8[_0x5572b8(0xe5)](_0x2bb43f,_0x1890d0,_0x3cfcab,_0x184a64);_0x30507b&&(_0x478b96?_0x2433c8[_0x5572b8(0x135)](_0x2bb43f,_0x1890d0,_0x3cfcab,_0x184a64):_0x2433c8[_0x5572b8(0xdf)](_0x2bb43f,_0x1890d0,_0x30507b));});}),!0x0):!0x1;}},Nt={'id':_0x72397f(0xc5),'type':_0x55ea25['COMMAND'],'handler':(_0x2b27d7,_0x577de5)=>{const _0x222f35=_0x72397f;if(!_0x577de5)return!0x1;const {sourceRanges:_0x3d1694,targetRanges:_0x51a60c,config:_0x53d28d}=_0x577de5,_0x1b9281=_0x2b27d7[_0x222f35(0xd5)](_0x4d0b6a),_0x4a42aa='g_'+_0x16eeff(0x6),_0x2bbb69=Fe(_0x3d1694,_0x51a60c),_0x30f1ec={'config':_0x53d28d!=null?_0x53d28d:{},'sparklines':_0x2bbb69['getMatrix']()},_0x29a237=_0x2b27d7['get'](_0x224779),_0x4bb72b=_0x2b27d7[_0x222f35(0xd5)](x),_0x38b9c6=_0x582456(_0x29a237);if(!_0x38b9c6)return!0x1;const {unitId:_0xc563c3,subUnitId:_0x53bb1a}=_0x38b9c6,_0x462bbe=_0x2b27d7[_0x222f35(0xd5)](_0x272bff),_0x46c50d=[],_0x305a79=[],_0x554629={},_0x24e37f={},_0x4f12f8=new Set([_0x4a42aa]);_0x2bbb69[_0x222f35(0x138)]((_0x14003b,_0x44aa65,_0x3074f7)=>{const _0xb05372=_0x222f35,_0x412986=_0x4bb72b['getSparkline'](_0xc563c3,_0x53bb1a,_0x14003b,_0x44aa65);if(_0x412986){const _0x178304=_0x4bb72b['getSparklineById'](_0xc563c3,_0x53bb1a,_0x412986);if(_0x178304){_0x4f12f8[_0xb05372(0x152)](_0x412986);let _0x2be895=_0x554629[_0x412986],_0x2aef71=_0x24e37f[_0x412986];_0x2aef71||(_0x2aef71={'config':_0x538207[_0xb05372(0xf8)](_0x178304[_0xb05372(0x110)]),'sparklines':new _0x192dcd(_0x178304[_0xb05372(0xbb)][_0xb05372(0x126)]())},_0x24e37f[_0x412986]=_0x2aef71),_0x2be895||(_0x2be895={'config':_0x538207[_0xb05372(0xf8)](_0x178304[_0xb05372(0x110)]),'sparklines':_0x178304[_0xb05372(0xbb)][_0xb05372(0x126)]()},_0x554629[_0x412986]=_0x2be895),_0x2aef71[_0xb05372(0xbb)][_0xb05372(0xdb)](_0x14003b,_0x44aa65);}}});const _0x3a7dce={};return Object[_0x222f35(0x142)](_0x24e37f)['forEach'](([_0x495b04,_0x25d603])=>{const _0x4cc569=_0x222f35;_0x25d603[_0x4cc569(0xbb)]['getSizeOf']()&&(_0x3a7dce[_0x495b04]={'config':_0x25d603[_0x4cc569(0x110)],'sparklines':_0x25d603['sparklines']['clone']()});}),_0x3a7dce[_0x4a42aa]=_0x30f1ec,_0x46c50d[_0x222f35(0x131)]({'id':y['id'],'params':{'unitId':_0xc563c3,'subUnitId':_0x53bb1a,'groupIds':Array[_0x222f35(0x12e)](_0x4f12f8),'isSingle':!0x1}}),_0x4f12f8[_0x222f35(0x11c)]>0x1&&(_0x305a79['push']({'id':y['id'],'params':{'unitId':_0xc563c3,'subUnitId':_0x53bb1a,'groupIds':Array['from'](_0x4f12f8),'isSingle':!0x1}}),_0x46c50d[_0x222f35(0x131)]({'id':V['id'],'params':{'unitId':_0xc563c3,'subUnitId':_0x53bb1a,'sparklineConfigMap':_0x554629}})),_0x305a79['push']({'id':V['id'],'params':{'unitId':_0xc563c3,'subUnitId':_0x53bb1a,'sparklineConfigMap':_0x3a7dce}}),_0x414131(_0x305a79,_0x462bbe),_0x1b9281[_0x222f35(0xec)]({'unitID':_0xc563c3,'undoMutations':_0x46c50d,'redoMutations':_0x305a79}),!0x0;}},Ot={'id':_0x72397f(0xc1),'type':_0x55ea25[_0x72397f(0xe9)],'handler':(_0x2146f4,_0x58b202)=>{const _0x5977ec=_0x72397f;var _0x108d31;const {isSingle:_0x22786d=!0x0}=_0x58b202||{},_0x16af7a=_0x2146f4[_0x5977ec(0xd5)](_0x272bff),_0x468158=_0x2146f4['get'](_0x224779),_0x26a838=_0x2146f4['get'](x),_0x3ab51a=_0x2146f4[_0x5977ec(0xd5)](_0x4d0b6a),_0x4969e1=_0x582456(_0x468158);if(!_0x4969e1)return!0x1;const _0x480dfe=_0x2146f4[_0x5977ec(0xd5)](_0x2bf808),_0x9b7b93=(_0x108d31=_0x58b202==null?void 0x0:_0x58b202[_0x5977ec(0xb4)])!=null?_0x108d31:_0x480dfe['getCurrentSelections']()[_0x5977ec(0x10d)](_0xa23c1a=>_0xa23c1a[_0x5977ec(0xc4)]),{unitId:_0x2459b6,subUnitId:_0x4a8c00}=_0x4969e1,_0x9f12a5=[],_0x4fe2d2=[];_0x9f12a5[_0x5977ec(0x131)]({'id':y['id'],'params':{'unitId':_0x2459b6,'subUnitId':_0x4a8c00,'ranges':_0x9b7b93,'isSingle':_0x22786d}});const _0x436fb4=[],_0x3f7f4d={};return _0x9b7b93[_0x5977ec(0x10b)](_0x4377e9=>{_0x540300['foreach'](_0x4377e9,(_0x49fe47,_0x310356)=>{const _0x2044ed=_0x2522,_0x5dfd62=_0x26a838[_0x2044ed(0xe5)](_0x2459b6,_0x4a8c00,_0x49fe47,_0x310356);if(_0x5dfd62){const _0x13ba14=_0x26a838['getSparklineById'](_0x2459b6,_0x4a8c00,_0x5dfd62);_0x13ba14&&(_0x436fb4[_0x2044ed(0x131)](_0x5dfd62),_0x3f7f4d[_0x5dfd62]={'config':_0x538207[_0x2044ed(0xf8)](_0x13ba14['config']),'sparklines':_0x538207['deepClone'](_0x13ba14['sparklines'][_0x2044ed(0x126)]())});}});}),_0x4fe2d2[_0x5977ec(0x131)]({'id':y['id'],'params':{'unitId':_0x2459b6,'subUnitId':_0x4a8c00,'groupIds':_0x436fb4,'isSingle':!0x1}}),_0x4fe2d2[_0x5977ec(0x131)]({'id':V['id'],'params':{'unitId':_0x2459b6,'subUnitId':_0x4a8c00,'sparklineConfigMap':_0x3f7f4d}}),_0x414131(_0x9f12a5,_0x16af7a),_0x3ab51a[_0x5977ec(0xec)]({'unitID':_0x2459b6,'undoMutations':_0x4fe2d2,'redoMutations':_0x9f12a5}),!0x0;}},Oe={'id':_0x72397f(0xfc),'type':_0x55ea25[_0x72397f(0xc8)],'handler':(_0x28700a,_0x2f6732)=>{if(!_0x2f6732)return!0x1;const {unitId:_0x46a584,subUnitId:_0x41c7f1,groupIds:_0x4e5f8c,config:_0x2241fd}=_0x2f6732,_0x4a20be=_0x28700a['get'](x);return _0x4e5f8c['forEach'](_0x522aa0=>{const _0x59f7f0=_0x2522,_0x47bcc2=_0x4a20be[_0x59f7f0(0x137)](_0x46a584,_0x41c7f1,_0x522aa0);if(_0x47bcc2){const _0x392ecf={'config':Object['assign']({},_0x47bcc2[_0x59f7f0(0x110)],_0x2241fd['config']),'sparklines':new _0x192dcd(_0x47bcc2['sparklines'][_0x59f7f0(0x126)]())};_0x4a20be[_0x59f7f0(0xb8)](_0x46a584,_0x41c7f1,[_0x522aa0],_0x392ecf);}}),!0x0;}},xt={'id':'sheet.command.set-sparkline','type':_0x55ea25[_0x72397f(0xe9)],'handler':(_0x1c8839,_0x56e900)=>{const _0x15777c=_0x72397f;var _0xe98e71,_0x42cc85,_0x3d4ed3,_0x59d9e6;if(!_0x56e900)return!0x1;const _0x821b35=_0x1c8839[_0x15777c(0xd5)](_0x272bff),_0x5c7ac4=_0x1c8839[_0x15777c(0xd5)](_0x2bf808),_0x2b5218=_0x1c8839[_0x15777c(0xd5)](x),_0xbcc5c4=_0x1c8839[_0x15777c(0xd5)](_0x224779),_0xdb999b=_0x1c8839[_0x15777c(0xd5)](_0x4d0b6a),_0xaf307d=_0x582456(_0xbcc5c4);if(!_0xaf307d)return!0x1;const {unitId:_0x2c98e8,subUnitId:_0x52e381}=_0xaf307d,_0x1b4e07=(_0xe98e71=_0x56e900==null?void 0x0:_0x56e900[_0x15777c(0xb4)])!=null?_0xe98e71:_0x5c7ac4[_0x15777c(0x132)]()['map'](_0x7edc65=>_0x7edc65['range']),_0x1de346=(_0x42cc85=_0x2b5218[_0x15777c(0x115)]()[_0x15777c(0xfb)][_0x15777c(0xd5)](_0x2c98e8))==null?void 0x0:_0x42cc85[_0x15777c(0xd5)](_0x52e381),{isChangeDataSource:_0x32862c,config:_0x49794a,combine:_0x8093a9,unCombine:_0x497c3d}=_0x56e900;if(_0x8093a9){const _0x5c7268=[],_0x480896=[];_0x5c7268[_0x15777c(0x131)]({'id':y['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'ranges':_0x1b4e07,'isSingle':!0x0}});const _0x1564c7='g_'+_0x16eeff(0x6),_0xb7af75=new _0x192dcd(),_0xcc07ef=(_0x3d4ed3=_0x2b5218['getSparklineCache']()[_0x15777c(0xf7)]['get'](_0x2c98e8))==null?void 0x0:_0x3d4ed3[_0x15777c(0xd5)](_0x52e381),_0x54b32e=new Set([_0x1564c7]),_0x359cf3={};return _0x1b4e07['forEach'](_0x439e86=>{const _0x21f220=_0x15777c;var _0x27c575,_0x57ce57;const {startRow:_0x3bc7f0,endRow:_0x259a34,startColumn:_0x3b2b73,endColumn:_0x46961c}=_0x439e86;for(let _0x3de618=_0x3bc7f0;_0x3de618<=_0x259a34;_0x3de618++)for(let _0x101054=_0x3b2b73;_0x101054<=_0x46961c;_0x101054++){const _0x2f1269=(_0x27c575=_0x1de346==null?void 0x0:_0x1de346[_0x21f220(0x15d)][_0x21f220(0xf2)](_0x3de618,_0x101054))==null?void 0x0:_0x27c575[_0x21f220(0xe2)];if(_0x2f1269){_0x54b32e[_0x21f220(0x152)](_0x2f1269);const _0x4a12b6=_0x2b5218[_0x21f220(0x137)](_0x2c98e8,_0x52e381,_0x2f1269);_0x4a12b6&&(_0x359cf3[_0x2f1269]={'config':_0x538207['deepClone'](_0x4a12b6[_0x21f220(0x110)]),'sparklines':_0x538207[_0x21f220(0xf8)](_0x4a12b6[_0x21f220(0xbb)][_0x21f220(0x126)]())});const _0x17c6a0=(_0x57ce57=_0xcc07ef==null?void 0x0:_0xcc07ef[_0x21f220(0xd5)](_0x2f1269))==null?void 0x0:_0x57ce57[_0x21f220(0xbb)][_0x21f220(0xf2)](_0x3de618,_0x101054);_0x17c6a0&&_0xb7af75['setValue'](_0x3de618,_0x101054,_0x17c6a0);}}}),_0x5c7268['push']({'id':V['id'],'params':{'sparklineConfigMap':{[_0x1564c7]:{'config':_0x538207['deepClone'](_0x49794a[_0x15777c(0x110)]),'sparklines':_0xb7af75[_0x15777c(0xf4)]()}},'unitId':_0x2c98e8,'subUnitId':_0x52e381}}),_0x480896[_0x15777c(0x131)]({'id':y['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'isSingle':!0x1,'groupIds':Array[_0x15777c(0x12e)](_0x54b32e)}}),_0x480896[_0x15777c(0x131)]({'id':V['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'sparklineConfigMap':_0x359cf3}}),_0x414131(_0x5c7268,_0x821b35),_0xdb999b[_0x15777c(0xec)]({'unitID':_0x2c98e8,'undoMutations':_0x480896,'redoMutations':_0x5c7268}),!0x0;}else{if(_0x497c3d){const _0xbafd=[],_0x229131=[];_0xbafd['push']({'id':y['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'ranges':_0x1b4e07,'isSingle':!0x0}});const _0x4e885a=(_0x59d9e6=_0x2b5218[_0x15777c(0x115)]()[_0x15777c(0xf7)][_0x15777c(0xd5)](_0x2c98e8))==null?void 0x0:_0x59d9e6[_0x15777c(0xd5)](_0x52e381),_0x178af8={},_0x54dff4=new Set(),_0x230355={};return _0x1b4e07['forEach'](_0x24852c=>{const _0xd96d72=_0x15777c;var _0x4c83a7,_0x14e5fd;const {startRow:_0x4d7750,endRow:_0x22e28a,startColumn:_0x381a00,endColumn:_0x30133a}=_0x24852c;for(let _0x41afbd=_0x4d7750;_0x41afbd<=_0x22e28a;_0x41afbd++)for(let _0x44abae=_0x381a00;_0x44abae<=_0x30133a;_0x44abae++){const _0x164666=(_0x4c83a7=_0x1de346==null?void 0x0:_0x1de346[_0xd96d72(0x15d)]['getValue'](_0x41afbd,_0x44abae))==null?void 0x0:_0x4c83a7[_0xd96d72(0xe2)];if(_0x164666){const _0x3526f6=new _0x192dcd(),_0x5b5cb7='g_'+_0x16eeff(0x6);_0x54dff4['add'](_0x164666),_0x54dff4[_0xd96d72(0x152)](_0x5b5cb7);const _0x5a735a=_0x2b5218[_0xd96d72(0x137)](_0x2c98e8,_0x52e381,_0x164666);_0x5a735a&&(_0x230355[_0x164666]={'config':_0x538207['deepClone'](_0x5a735a[_0xd96d72(0x110)]),'sparklines':_0x538207[_0xd96d72(0xf8)](_0x5a735a[_0xd96d72(0xbb)][_0xd96d72(0x126)]())});const _0x163299=(_0x14e5fd=_0x4e885a==null?void 0x0:_0x4e885a['get'](_0x164666))==null?void 0x0:_0x14e5fd['sparklines'][_0xd96d72(0xf2)](_0x41afbd,_0x44abae);_0x163299&&_0x3526f6['setValue'](_0x41afbd,_0x44abae,_0x163299),_0x178af8[_0x5b5cb7]={'sparklines':_0x3526f6[_0xd96d72(0xf4)](),'config':_0x538207[_0xd96d72(0xf8)](_0x49794a[_0xd96d72(0x110)])};}}}),_0xbafd['push']({'id':V['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'sparklineConfigMap':_0x178af8}}),_0x229131[_0x15777c(0x131)]({'id':y['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'isSingle':!0x1,'groupIds':Array[_0x15777c(0x12e)](_0x54dff4)}}),_0x229131[_0x15777c(0x131)]({'id':V['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'sparklineConfigMap':_0x230355}}),_0x414131(_0xbafd,_0x821b35),_0xdb999b[_0x15777c(0xec)]({'unitID':_0x2c98e8,'undoMutations':_0x229131,'redoMutations':_0xbafd}),!0x0;}}if(_0x32862c){const _0x3e7d96=_0x56e900['changeDataSourceInfo'];if(!_0x3e7d96)return!0x1;const {groupId:_0xfae9e3,sourceRanges:_0x4a5880,targetRanges:_0x290f2c,resetType:_0x2bddc9,primary:_0x450fae}=_0x3e7d96,_0x558ac3=[],_0x9ca22e=[];_0x558ac3[_0x15777c(0x131)]({'id':y['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'ranges':_0x1b4e07,'isSingle':!0x1,'groupIds':[_0xfae9e3]}}),_0x9ca22e[_0x15777c(0x131)]({'id':y['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'ranges':_0x1b4e07,'isSingle':!0x1,'groupIds':[_0xfae9e3]}});let _0x15788b;_0x2bddc9===_0x15777c(0xb3)?(_0x15788b=new _0x192dcd(_0x49794a[_0x15777c(0xbb)][_0x15777c(0x126)]()),_0x15788b[_0x15777c(0xdb)](_0x450fae[_0x15777c(0x150)],_0x450fae['actualColumn']),_0x15788b['setValue'](_0x290f2c[0x0][_0x15777c(0xbf)],_0x290f2c[0x0][_0x15777c(0x157)],_0x4a5880[0x0])):_0x15788b=Fe(_0x4a5880,_0x290f2c);const _0xef9249={'config':_0x538207[_0x15777c(0xf8)](_0x49794a[_0x15777c(0x110)]),'sparklines':_0x15788b['getMatrix']()},_0x57a4c2={'config':_0x538207[_0x15777c(0xf8)](_0x49794a[_0x15777c(0x110)]),'sparklines':_0x538207[_0x15777c(0xf8)](_0x49794a[_0x15777c(0xbb)][_0x15777c(0x126)]())};_0x558ac3['push']({'id':V['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'sparklineConfigMap':{[_0xfae9e3]:_0xef9249}}}),_0x9ca22e[_0x15777c(0x131)]({'id':V['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'sparklineConfigMap':{[_0xfae9e3]:_0x57a4c2}}}),_0x414131(_0x558ac3,_0x821b35),_0xdb999b[_0x15777c(0xec)]({'unitID':_0x2c98e8,'undoMutations':_0x9ca22e,'redoMutations':_0x558ac3});}else{const _0x281bcc=[],_0x6e86a4=[],_0x25dee9=new Set(),_0x474e84={};_0x1b4e07[_0x15777c(0x10b)](_0x1e7b38=>{const _0x1c8876=_0x15777c;var _0x567fe1;const {startRow:_0xbe4d24,endRow:_0x1fed87,startColumn:_0x1ee18b,endColumn:_0x3ec874}=_0x1e7b38;for(let _0x3241bc=_0xbe4d24;_0x3241bc<=_0x1fed87;_0x3241bc++)for(let _0x410195=_0x1ee18b;_0x410195<=_0x3ec874;_0x410195++){const _0x3f8fa3=(_0x567fe1=_0x1de346==null?void 0x0:_0x1de346[_0x1c8876(0x15d)]['getValue'](_0x3241bc,_0x410195))==null?void 0x0:_0x567fe1['groupId'];if(_0x3f8fa3){_0x25dee9['add'](_0x3f8fa3);const _0x581ccd=_0x2b5218['getSparklineById'](_0x2c98e8,_0x52e381,_0x3f8fa3);_0x581ccd&&(_0x474e84[_0x3f8fa3]={'config':_0x538207[_0x1c8876(0xf8)](_0x581ccd[_0x1c8876(0x110)]),'sparklines':_0x538207[_0x1c8876(0xf8)](_0x581ccd[_0x1c8876(0xbb)][_0x1c8876(0x126)]())});}}}),_0x6e86a4['push']({'id':Oe['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'groupIds':Array[_0x15777c(0x12e)](_0x25dee9),'config':{'config':_0x538207[_0x15777c(0xf8)](_0x49794a['config']),'sparklines':_0x49794a[_0x15777c(0xbb)][_0x15777c(0xf4)]()}}}),_0x281bcc['push']({'id':y['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'isSingle':!0x1,'groupIds':Array[_0x15777c(0x12e)](_0x25dee9)}}),_0x281bcc[_0x15777c(0x131)]({'id':V['id'],'params':{'unitId':_0x2c98e8,'subUnitId':_0x52e381,'sparklineConfigMap':_0x474e84}}),_0x414131(_0x6e86a4,_0x821b35),_0xdb999b[_0x15777c(0xec)]({'unitID':_0x2c98e8,'undoMutations':_0x281bcc,'redoMutations':_0x6e86a4});}return!0x0;}};var Ut=Object[_0x72397f(0x11d)],Pt=(_0x37ed15,_0x1608ba,_0x2b984c,_0x408f34)=>{const _0x2f684a=_0x72397f;for(var _0x5eb420=_0x408f34>0x1?void 0x0:_0x408f34?Ut(_0x1608ba,_0x2b984c):_0x1608ba,_0x44c59a=_0x37ed15[_0x2f684a(0x148)]-0x1,_0x1def0f;_0x44c59a>=0x0;_0x44c59a--)(_0x1def0f=_0x37ed15[_0x44c59a])&&(_0x5eb420=_0x1def0f(_0x5eb420)||_0x5eb420);return _0x5eb420;},fe=(_0x2df48c,_0x4c47fc)=>(_0x22b832,_0x13541b)=>_0x4c47fc(_0x22b832,_0x13541b,_0x2df48c);let Se=class extends _0x329963{constructor(_0x3a7de1,_0x363dc0,_0x2d1744,_0x41925c){const _0x56f7c8=_0x72397f;super(),this[_0x56f7c8(0xdc)]=_0x3a7de1,this[_0x56f7c8(0x120)]=_0x363dc0,this['_univerInstanceService']=_0x2d1744,this['_sheetSelectionService']=_0x41925c,this[_0x56f7c8(0x12c)]();}[_0x72397f(0x12c)](){const _0x1f8b6e=_0x72397f;this[_0x1f8b6e(0xb2)](this[_0x1f8b6e(0x120)][_0x1f8b6e(0x14d)]({'getMutations':_0x529d68=>{const _0x3a8eab=_0x1f8b6e,_0x1946a9=[],_0x27c09f=[];if(_0x529d68['id']===_0x40c800['id']){const _0x2b85ef=_0x582456(this['_univerInstanceService']);if(!_0x2b85ef)return{'redos':_0x1946a9,'undos':_0x27c09f};const {unitId:_0x2ad2ea,subUnitId:_0x48c574,worksheet:_0x1db504}=_0x2b85ef,_0x59518a=this[_0x3a8eab(0x146)][_0x3a8eab(0x132)]()[_0x3a8eab(0x10d)](_0x12158c=>_0x12158c[_0x3a8eab(0xc4)]),_0x298a13=new Set(),_0x4f023a={},_0x2f05fb={};_0x59518a[_0x3a8eab(0x10b)](_0x20bf6f=>{const _0x5de28c=_0x3a8eab;_0x540300[_0x5de28c(0x139)](_0x20bf6f,(_0x22a91e,_0x34f26f)=>{const _0x5f272e=_0x5de28c,_0x5b63dc=this[_0x5f272e(0xdc)][_0x5f272e(0xe5)](_0x2ad2ea,_0x48c574,_0x22a91e,_0x34f26f);if(_0x5b63dc&&!_0x298a13['has'](_0x5b63dc)){const _0x2aaf81=this[_0x5f272e(0xdc)]['getSparklineById'](_0x2ad2ea,_0x48c574,_0x5b63dc);_0x2aaf81&&(_0x298a13['add'](_0x5b63dc),_0x4f023a[_0x5b63dc]={'config':_0x538207[_0x5f272e(0xf8)](_0x2aaf81['config']),'sparklines':_0x538207[_0x5f272e(0xf8)](_0x2aaf81[_0x5f272e(0xbb)][_0x5f272e(0x126)]())},_0x2f05fb[_0x5b63dc]={'config':_0x538207[_0x5f272e(0xf8)](_0x2aaf81[_0x5f272e(0x110)]),'sparklines':_0x538207['deepClone'](_0x2aaf81[_0x5f272e(0xbb)][_0x5f272e(0x126)]())});}});}),Object[_0x3a8eab(0xb5)](_0x2f05fb)[_0x3a8eab(0x10b)](_0x458de1=>{const _0x99cd0f=_0x3a8eab,_0x4bb04e=_0x458de1[_0x99cd0f(0xbb)];new _0x192dcd(_0x4bb04e)[_0x99cd0f(0x138)]((_0x5b5a6f,_0x9f0ce,_0x1e7c00)=>{const _0x4a67f6=_0x99cd0f;_0x59518a[_0x4a67f6(0x102)](_0x48793b=>_0x5d17c9[_0x4a67f6(0xb6)](_0x48793b,_0x8811d0(_0x5b5a6f,_0x9f0ce)))&&delete _0x4bb04e[_0x5b5a6f][_0x9f0ce];});}),_0x1946a9[_0x3a8eab(0x131)]({'id':y['id'],'params':{'unitId':_0x2ad2ea,'subUnitId':_0x48c574,'groupIds':Array[_0x3a8eab(0x12e)](_0x298a13),'isSingle':!0x1}}),_0x1946a9[_0x3a8eab(0x131)]({'id':V['id'],'params':{'unitId':_0x2ad2ea,'subUnitId':_0x48c574,'sparklineConfigMap':_0x2f05fb}}),_0x27c09f[_0x3a8eab(0x131)]({'id':y['id'],'params':{'unitId':_0x2ad2ea,'subUnitId':_0x48c574,'groupIds':Array[_0x3a8eab(0x12e)](_0x298a13),'isSingle':!0x1}}),_0x27c09f['push']({'id':V['id'],'params':{'unitId':_0x2ad2ea,'subUnitId':_0x48c574,'sparklineConfigMap':_0x4f023a}});}return{'redos':_0x1946a9,'undos':_0x27c09f};}}));}};Se=Pt([fe(0x0,_0x54d2a7(x)),fe(0x1,_0x54d2a7(_0x3be193)),fe(0x2,_0x54d2a7(_0x224779)),fe(0x3,_0x54d2a7(_0x2bf808))],Se);var Tt=Object['getOwnPropertyDescriptor'],$t=(_0x397365,_0x54488f,_0x2b1983,_0x14a1ff)=>{const _0x39309b=_0x72397f;for(var _0x4cc3d8=_0x14a1ff>0x1?void 0x0:_0x14a1ff?Tt(_0x54488f,_0x2b1983):_0x54488f,_0x26796b=_0x397365[_0x39309b(0x148)]-0x1,_0x3d39d4;_0x26796b>=0x0;_0x26796b--)(_0x3d39d4=_0x397365[_0x26796b])&&(_0x4cc3d8=_0x3d39d4(_0x4cc3d8)||_0x4cc3d8);return _0x4cc3d8;},Ge=(_0x539c1f,_0x5e91dd)=>(_0x591f78,_0x5cd435)=>_0x5e91dd(_0x591f78,_0x5cd435,_0x539c1f);function _0x13f8(){const _0x2106ce=['groupId','rgb(244,104,249)','BAR_CHART','getSparkline','subUnitId','_getRefRangeMutationsByDeleteCols','type','COMMAND','keys','SPECIALTY','pushUndoRedo','column','_initRegisterCommand','setValue','_ensureAnchorMatrix','_initHideRowColWithSparkline','getValue','lowPoint','getMatrix','clearSparklineCache','NUMBER','sparklineModel','deepClone','moveRows','FRESH','sparklineAnchorMap','sheet.mutation.set-sparkline','_sparklineAnchorMap','_initSnapshot','registerPluginResource','unitId','set','some','toRgbString','3208OZHshz','_updateConfig$','CUSTOM_EXTREMUM','_initDependencies','fromJSON','STANDARD','connect_with_line','forEach','rgb(46,187,122)','map','value','disposableCollection','config','custom','getSheetBySheetId','MIN_SAFE_INTEGER','min','getSparklineCache','removeColumns','next','has','refRangeHandle','deleteUnit','updateSparklineExtraNum','size','getOwnPropertyDescriptor','removeRows','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','_sheetInterceptorService','rgb(30,177,189)','_initDataChangeListener','highPoint','_initMergeWithSparkline','toJSON','clone','every','registerRefRange','PIE_CHART','1672skkuSF','_initCorrectRangeWithSparkline','_initClearWithSparkline','GROUP_EXTREMUM','from','subscribe','CONNECT_WITH_LINE','push','getCurrentSelections','rgb(236,100,169)','sheet.mutation.add-sparkline','removePartSparkline','PROFIT_AND_LOSS_CHART','getSparklineById','forValue','foreach','NORMAL','setAlpha','specialty','soft','parse','standard','ZERO_VALUE','symbol','entries','STRING','_resourceManagerService','rgb(80,102,248)','_sheetSelectionService','1274hyGyZg','length','10hTkdMO','extremumMax','_initCopySheetWithSparkline','538404DchfQD','interceptCommand','delete','FORCE_STRING','actualRow','lastPoint','add','CUSTOM','BOOLEAN','onCommandExecuted','SPACING','startColumn','number','_sparklineModel','_config','SHEET_SPARKLINE_PLUGIN','u-connect','matrix','hasValue','reBuildAnchorCache','sheet.mutation.remove-sparkline','max','457sRpvVp','markersPoint','DISTINCTIVE','getCellRaw','getCell','_getRefRangeMutationsByDeleteRows','stringify','defineProperty','extremumMin','disposeWithMe','item','ranges','values','intersects','addSparkline','setSparkline','themeType','row','sparklines','onReady','distinctive','_commandService','startRow','SOFT','sheet.command.remove-sparkline','remove','720092wBDDPC','range','sheet.command.add-sparkline','_univerInstanceService','_onRefRangeChange','MUTATION','rgb(124,66,147)','contains','endColumn','u-spacing','pluginName','404778eYbhoN','MAX_SAFE_INTEGER','_injector','4823731PZVfXl','_ensureConfigMap','containHiddenCells','getSubUnitSparkline','get','LINE_CHART','10wQRTNW','UNIVER_SHEET','3507210zhTRLm','getSizeOf','realDeleteValue','_sparklineDataSourceModel','endRow','params','removeSparkline','rgb(54,78,244)','registerCommand'];_0x13f8=function(){return _0x2106ce;};return _0x13f8();}let ke=class extends _0x329963{constructor(_0x38a9a4,_0x2d591a){const _0x546cca=_0x72397f;super(),this['_sheetInterceptorService']=_0x38a9a4,this[_0x546cca(0xdc)]=_0x2d591a,this[_0x546cca(0x14b)]();}[_0x72397f(0x14b)](){const _0x1494d0=_0x72397f;this[_0x1494d0(0xb2)](this[_0x1494d0(0x120)][_0x1494d0(0x14d)]({'getMutations':_0xb654a1=>{const _0x576a6e=_0x1494d0,_0x291626=[],_0x99e18f=[];if(_0xb654a1['id']===_0xdc7885['id']){const _0x1e4197=_0xb654a1['params'];if(!_0x1e4197)return{'redos':_0x291626,'undos':_0x99e18f};const {unitId:_0x2c8c77,subUnitId:_0x1cc190,targetSubUnitId:_0x47c300}=_0x1e4197;if(!_0x2c8c77||!_0x1cc190||!_0x47c300)return{'redos':_0x291626,'undos':_0x99e18f};const _0x344220=new Set(),_0x2b9597={},_0xb96ffc=this[_0x576a6e(0xdc)][_0x576a6e(0xd4)](_0x2c8c77,_0x1cc190);if(!_0xb96ffc)return{'redos':_0x291626,'undos':_0x99e18f};for(const [_0x8d4282,_0x4312ac]of _0xb96ffc){const _0x220d72='g_'+_0x16eeff(0x6);_0x344220[_0x576a6e(0x152)](_0x8d4282),_0x2b9597[_0x220d72]={'config':_0x538207['deepClone'](_0x4312ac[_0x576a6e(0x110)]),'sparklines':_0x538207[_0x576a6e(0xf8)](_0x4312ac[_0x576a6e(0xbb)][_0x576a6e(0x126)]())};}_0x344220[_0x576a6e(0x11c)]&&(_0x99e18f[_0x576a6e(0x131)]({'id':y['id'],'params':{'unitId':_0x2c8c77,'subUnitId':_0x47c300,'groupIds':Array[_0x576a6e(0x12e)](_0x344220),'isSingle':!0x1}}),_0x291626[_0x576a6e(0x131)]({'id':V['id'],'params':{'unitId':_0x2c8c77,'subUnitId':_0x47c300,'sparklineConfigMap':_0x2b9597}}));}return{'redos':_0x291626,'undos':_0x99e18f};}}));}};ke=$t([Ge(0x0,_0x54d2a7(_0x3be193)),Ge(0x1,_0x54d2a7(x))],ke);var jt=Object[_0x72397f(0x11d)],Lt=(_0x2e2565,_0x28f7ca,_0x14557,_0x2ac378)=>{for(var _0x2d4a08=_0x2ac378>0x1?void 0x0:_0x2ac378?jt(_0x28f7ca,_0x14557):_0x28f7ca,_0x5ec0a5=_0x2e2565['length']-0x1,_0x147771;_0x5ec0a5>=0x0;_0x5ec0a5--)(_0x147771=_0x2e2565[_0x5ec0a5])&&(_0x2d4a08=_0x147771(_0x2d4a08)||_0x2d4a08);return _0x2d4a08;},Ie=(_0x9e1e1e,_0x21c321)=>(_0x5c11fc,_0xdeb27b)=>_0x21c321(_0x5c11fc,_0xdeb27b,_0x9e1e1e);let me=class extends _0x329963{constructor(_0x84c532,_0x1ae5ec,_0x169ce2){const _0x4bb2dc=_0x72397f;super(),this['_commandService']=_0x84c532,this['_sparklineDataSourceModel']=_0x1ae5ec,this['_exclusiveRangeService']=_0x169ce2,this[_0x4bb2dc(0x122)](),this['_initExclusiveRangeChange']();}['_initDataChangeListener'](){const _0x25e243=_0x72397f;this['disposeWithMe'](this[_0x25e243(0xbe)][_0x25e243(0x155)](_0x2f352c=>{const _0x26b840=_0x25e243;if(_0x2f352c['id']===_0x138dad['id']){const _0x3bf778=_0x2f352c[_0x26b840(0xde)],{cellValue:_0x3ed3a5,unitId:_0x12d9e3,subUnitId:_0x3edd37}=_0x3bf778,_0x422475=new _0x192dcd(_0x3ed3a5),_0x375301=new Set(),_0x4a38c2=this[_0x26b840(0xdc)][_0x26b840(0xd4)](_0x12d9e3,_0x3edd37);if(!_0x4a38c2)return;const _0x390fe5=Array[_0x26b840(0x12e)](_0x4a38c2);_0x422475[_0x26b840(0x138)]((_0x979cc0,_0x4d4913,_0x11f0c8)=>{const _0x476e36=_0x26b840,_0x4d8d14=_0x8811d0(_0x979cc0,_0x4d4913);for(let _0x21354a=0x0;_0x21354a<_0x390fe5[_0x476e36(0x148)];_0x21354a++){const [_0x53288b,_0x5eeeae]=_0x390fe5[_0x21354a],_0x57d002=_0x375301[_0x476e36(0x118)](_0x53288b);_0x57d002||_0x5eeeae[_0x476e36(0xbb)][_0x476e36(0x138)]((_0x120ab3,_0x494fd4,_0x39864b)=>{const _0x39c176=_0x476e36,_0x24fbb9=_0x39864b;if(_0x24fbb9&&!_0x57d002&&_0x5d17c9[_0x39c176(0xb6)](_0x4d8d14,_0x24fbb9))return _0x375301[_0x39c176(0x152)](_0x53288b),!0x0;});}}),_0x375301[_0x26b840(0x10b)](_0x193748=>{const _0x53e819=_0x26b840;this['_sparklineDataSourceModel'][_0x53e819(0xf5)](_0x12d9e3,_0x3edd37,_0x193748),this['_sparklineDataSourceModel']['updateSparklineExtraNum'](_0x12d9e3,_0x3edd37,_0x193748);});}else{if(_0x2f352c['id']===_0x3378d1['id']){const _0x20f18a=_0x2f352c[_0x26b840(0xde)],{range:_0x3b80ea,unitId:_0x4d34fb,subUnitId:_0xfb5955}=_0x20f18a,_0x4baa2e=new Set(),_0x2be20f=this[_0x26b840(0xdc)]['getSubUnitSparkline'](_0x4d34fb,_0xfb5955);if(!_0x2be20f)return;const _0x522262=Array[_0x26b840(0x12e)](_0x2be20f);for(let _0x1b5d49=0x0;_0x1b5d49<_0x522262[_0x26b840(0x148)];_0x1b5d49++){const [_0x58b188,_0x2646dc]=_0x522262[_0x1b5d49],_0x2965a5=_0x4baa2e[_0x26b840(0x118)](_0x58b188);_0x2965a5||_0x2646dc[_0x26b840(0xbb)]['forValue']((_0x15151f,_0x115466,_0x2ffb08)=>{const _0x25f7b3=_0x26b840,_0x2f43b7=_0x2ffb08;if(_0x2f43b7&&!_0x2965a5&&_0x5d17c9[_0x25f7b3(0xb6)](_0x3b80ea,_0x2f43b7))return _0x4baa2e['add'](_0x58b188),!0x0;});}_0x4baa2e[_0x26b840(0x10b)](_0x51c027=>{const _0x38e83e=_0x26b840;this[_0x38e83e(0xdc)][_0x38e83e(0xf5)](_0x4d34fb,_0xfb5955,_0x51c027),this['_sparklineDataSourceModel'][_0x38e83e(0x11b)](_0x4d34fb,_0xfb5955,_0x51c027);});}}}));}['_initExclusiveRangeChange'](){const _0x5e1898=_0x72397f;this[_0x5e1898(0xb2)](this['_exclusiveRangeService']['exclusiveRangesChange$'][_0x5e1898(0x12f)](_0x19e5ed=>{const _0x1e5def=_0x5e1898,{unitId:_0x352968,subUnitId:_0x5bd1a6,ranges:_0x44e329}=_0x19e5ed,_0x3c0254=this[_0x1e5def(0xdc)]['getSubUnitSparkline'](_0x352968,_0x5bd1a6);if(!_0x3c0254)return;const _0x31c5c4=Array['from'](_0x3c0254),_0x4538b1=new Set();for(let _0x212ce5=0x0;_0x212ce5<_0x31c5c4[_0x1e5def(0x148)];_0x212ce5++){const [_0x502fe3,_0x3ca63e]=_0x31c5c4[_0x212ce5],_0x6bd0cb=_0x4538b1[_0x1e5def(0x118)](_0x502fe3);_0x6bd0cb||_0x3ca63e[_0x1e5def(0xbb)][_0x1e5def(0x138)]((_0x5b529e,_0x3c5742,_0x5758d2)=>{const _0x129f28=_0x1e5def,_0x59bdd5=_0x5758d2;if(_0x59bdd5&&!_0x6bd0cb){for(const _0x314e95 of _0x44e329)if(_0x5d17c9[_0x129f28(0xb6)](_0x314e95,_0x59bdd5)){_0x4538b1[_0x129f28(0x152)](_0x502fe3);break;}}});}_0x4538b1['forEach'](_0x3cca32=>{const _0x5ab0a9=_0x1e5def;this[_0x5ab0a9(0xdc)][_0x5ab0a9(0xf5)](_0x352968,_0x5bd1a6,_0x3cca32),this[_0x5ab0a9(0xdc)][_0x5ab0a9(0x11b)](_0x352968,_0x5bd1a6,_0x3cca32);});}));}};me=Lt([Ie(0x0,_0x54d2a7(_0x272bff)),Ie(0x1,_0x54d2a7(x)),Ie(0x2,_0x54d2a7(_0x371992))],me);var Gt=Object[_0x72397f(0x11d)],Wt=(_0x17dc3a,_0x148d90,_0x1cf78d,_0x360f70)=>{const _0x2ccf21=_0x72397f;for(var _0x4df493=_0x360f70>0x1?void 0x0:_0x360f70?Gt(_0x148d90,_0x1cf78d):_0x148d90,_0x29d12a=_0x17dc3a[_0x2ccf21(0x148)]-0x1,_0x414a2;_0x29d12a>=0x0;_0x29d12a--)(_0x414a2=_0x17dc3a[_0x29d12a])&&(_0x4df493=_0x414a2(_0x4df493)||_0x4df493);return _0x4df493;},We=(_0x42d25f,_0x1b072c)=>(_0x1d0940,_0x4d0554)=>_0x1b072c(_0x1d0940,_0x4d0554,_0x42d25f);let Ce=class extends _0x329963{constructor(_0x41a3f1,_0x742f3c){const _0x76847f=_0x72397f;super(),this[_0x76847f(0xbe)]=_0x41a3f1,this['_sparklineDataSourceModel']=_0x742f3c,this[_0x76847f(0xf1)]();}['_initHideRowColWithSparkline'](){const _0x13ef21=_0x72397f;this[_0x13ef21(0xbe)][_0x13ef21(0x155)](_0x21d126=>{const _0x46be4f=_0x13ef21;if(_0x21d126['id']===_0x2234d4['id']||_0x21d126['id']===_0x481ee0['id']||_0x21d126['id']===_0x7eea43['id']||_0x21d126['id']===_0x4a2bec['id']){const _0x473413=_0x21d126[_0x46be4f(0xde)],{ranges:_0x28984e,unitId:_0x1efbe2,subUnitId:_0x109ae0}=_0x473413,_0x273dd2=new Set(),_0xce6611=this['_sparklineDataSourceModel'][_0x46be4f(0xd4)](_0x1efbe2,_0x109ae0);if(!_0xce6611)return;const _0x5ed3b7=Array[_0x46be4f(0x12e)](_0xce6611);_0x28984e[_0x46be4f(0x10b)](_0x4528ca=>{_0x540300['foreach'](_0x4528ca,(_0x34b09f,_0x1a69f4)=>{const _0x9bfae7=_0x2522,_0x542d1c=_0x8811d0(_0x34b09f,_0x1a69f4);for(let _0x411f89=0x0;_0x411f89<_0x5ed3b7[_0x9bfae7(0x148)];_0x411f89++){const [_0x2fb20a,_0x1f700f]=_0x5ed3b7[_0x411f89],_0x55e91a=_0x273dd2[_0x9bfae7(0x118)](_0x2fb20a);_0x55e91a||_0x1f700f[_0x9bfae7(0xbb)]['forValue']((_0x1f2f65,_0x37ef54,_0xa692d5)=>{const _0x1aa76c=_0x9bfae7,_0x21f4d2=_0xa692d5;if(_0x21f4d2&&!_0x55e91a&&_0x5d17c9['intersects'](_0x542d1c,_0x21f4d2))return _0x273dd2[_0x1aa76c(0x152)](_0x2fb20a),!0x0;});}});}),_0x273dd2[_0x46be4f(0x10b)](_0x340cab=>{const _0x28e84c=_0x46be4f;this[_0x28e84c(0xdc)][_0x28e84c(0xf5)](_0x1efbe2,_0x109ae0,_0x340cab),this[_0x28e84c(0xdc)]['updateSparklineExtraNum'](_0x1efbe2,_0x109ae0,_0x340cab);});}});}};Ce=Wt([We(0x0,_0x54d2a7(_0x272bff)),We(0x1,_0x54d2a7(x))],Ce);var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x58ead8,_0xf55164,_0x42cb2e,_0x43fccd)=>{const _0x3b894d=_0x72397f;for(var _0x5d3f50=_0x43fccd>0x1?void 0x0:_0x43fccd?Bt(_0xf55164,_0x42cb2e):_0xf55164,_0x26b027=_0x58ead8[_0x3b894d(0x148)]-0x1,_0xab0bda;_0x26b027>=0x0;_0x26b027--)(_0xab0bda=_0x58ead8[_0x26b027])&&(_0x5d3f50=_0xab0bda(_0x5d3f50)||_0x5d3f50);return _0x5d3f50;},be=(_0x406a1e,_0x210480)=>(_0x4c42e7,_0x5a7ed4)=>_0x210480(_0x4c42e7,_0x5a7ed4,_0x406a1e);let _e=class extends _0x329963{constructor(_0x1fa801,_0x362d05,_0x4eb214){const _0x4c166c=_0x72397f;super(),this[_0x4c166c(0xbe)]=_0x1fa801,this[_0x4c166c(0x120)]=_0x362d05,this['_sparklineDataSourceModel']=_0x4eb214,this['_initMergeWithSparkline']();}[_0x72397f(0x124)](){const _0x581364=_0x72397f;this[_0x581364(0xb2)](this[_0x581364(0x120)][_0x581364(0x14d)]({'getMutations':_0x23cbf9=>{const _0x559962=_0x581364,_0x31c5d1=[],_0x37b9b2=[];if(_0x23cbf9['id']===_0x25227c['id']){const _0x3d9835=_0x23cbf9['params'];if(!_0x3d9835)return{'redos':_0x31c5d1,'undos':_0x37b9b2};const {unitId:_0x130bb0,subUnitId:_0x461c5e,ranges:_0x21f761}=_0x3d9835,_0x3cdab5=this[_0x559962(0xdc)][_0x559962(0xd4)](_0x130bb0,_0x461c5e);if(!_0x3cdab5)return{'redos':_0x31c5d1,'undos':_0x37b9b2};const _0x428719={},_0x43d328={},_0x41c639=new Set();_0x21f761[_0x559962(0x10b)](_0x2d0cb0=>{const _0x1ebf79=_0x559962,_0xf1041e=_0x2d0cb0[_0x1ebf79(0xbf)],_0x35a00f=_0x2d0cb0['startColumn'];_0x540300['foreach'](_0x2d0cb0,(_0x3d9952,_0x3ef2f6)=>{const _0x5d048d=_0x1ebf79,_0x70ee21=this[_0x5d048d(0xdc)][_0x5d048d(0xe5)](_0x130bb0,_0x461c5e,_0x3d9952,_0x3ef2f6);if(_0x70ee21&&!(_0x3d9952===_0xf1041e&&_0x3ef2f6===_0x35a00f)){const _0x4d0860=this[_0x5d048d(0xdc)][_0x5d048d(0x137)](_0x130bb0,_0x461c5e,_0x70ee21);if(_0x4d0860){_0x41c639[_0x5d048d(0x152)](_0x70ee21);let _0x1c81b6=_0x428719[_0x70ee21];_0x1c81b6||(_0x1c81b6={'config':_0x538207[_0x5d048d(0xf8)](_0x4d0860[_0x5d048d(0x110)]),'sparklines':new _0x192dcd(_0x4d0860['sparklines'][_0x5d048d(0x126)]())},_0x428719[_0x70ee21]=_0x1c81b6),_0x1c81b6[_0x5d048d(0xbb)][_0x5d048d(0xdb)](_0x3d9952,_0x3ef2f6),_0x43d328[_0x70ee21]={'config':_0x538207[_0x5d048d(0xf8)](_0x4d0860['config']),'sparklines':_0x538207[_0x5d048d(0xf8)](_0x4d0860[_0x5d048d(0xbb)]['clone']())};}}});});for(const [_0x41fb8e,_0x163407]of _0x3cdab5){const _0x51a416=_0x163407[_0x559962(0xbb)];_0x51a416[_0x559962(0x138)]((_0x350129,_0x2c9735,_0x3f7dad)=>{const _0xc62f21=_0x559962;for(let _0x29a6b9=0x0;_0x29a6b9<_0x21f761[_0xc62f21(0x148)];_0x29a6b9++){const _0x11620b=_0x21f761[_0x29a6b9];if(_0x5d17c9[_0xc62f21(0xca)](_0x11620b,_0x3f7dad)){_0x41c639[_0xc62f21(0x152)](_0x41fb8e);let _0xeb0417=_0x428719[_0x41fb8e];_0xeb0417||(_0xeb0417={'config':_0x538207[_0xc62f21(0xf8)](_0x163407[_0xc62f21(0x110)]),'sparklines':new _0x192dcd(_0x51a416[_0xc62f21(0x126)]())},_0x428719[_0x41fb8e]=_0xeb0417),_0xeb0417[_0xc62f21(0xbb)][_0xc62f21(0xdb)](_0x350129,_0x2c9735),_0x43d328[_0x41fb8e]||(_0x43d328[_0x41fb8e]={'config':_0x538207[_0xc62f21(0xf8)](_0x163407['config']),'sparklines':_0x538207['deepClone'](_0x51a416[_0xc62f21(0x126)]())});}}});}const _0x459aa5={};Object[_0x559962(0x142)](_0x428719)['forEach'](([_0x1e4869,_0x4b14e2])=>{const _0x3a5d40=_0x559962;_0x4b14e2[_0x3a5d40(0xbb)][_0x3a5d40(0xda)]()&&(_0x459aa5[_0x1e4869]={'config':_0x4b14e2[_0x3a5d40(0x110)],'sparklines':_0x4b14e2[_0x3a5d40(0xbb)]['clone']()});}),_0x41c639[_0x559962(0x11c)]&&(_0x31c5d1[_0x559962(0x131)]({'id':y['id'],'params':{'unitId':_0x130bb0,'subUnitId':_0x461c5e,'groupIds':Array[_0x559962(0x12e)](_0x41c639),'isSingle':!0x1}}),_0x37b9b2[_0x559962(0x131)]({'id':y['id'],'params':{'unitId':_0x130bb0,'subUnitId':_0x461c5e,'groupIds':Array[_0x559962(0x12e)](_0x41c639),'isSingle':!0x1}}),_0x31c5d1[_0x559962(0x131)]({'id':V['id'],'params':{'unitId':_0x130bb0,'subUnitId':_0x461c5e,'sparklineConfigMap':_0x459aa5}}),_0x37b9b2[_0x559962(0x131)]({'id':V['id'],'params':{'unitId':_0x130bb0,'subUnitId':_0x461c5e,'sparklineConfigMap':_0x43d328}}));}return{'redos':_0x31c5d1,'undos':_0x37b9b2};}}));}};_e=Ht([be(0x0,_0x54d2a7(_0x272bff)),be(0x1,_0x54d2a7(_0x3be193)),be(0x2,_0x54d2a7(x))],_e);var Ft=Object[_0x72397f(0x11d)],Kt=(_0x57cf7b,_0x5dea7e,_0x745082,_0x4f10ed)=>{const _0x49312a=_0x72397f;for(var _0x5052af=_0x4f10ed>0x1?void 0x0:_0x4f10ed?Ft(_0x5dea7e,_0x745082):_0x5dea7e,_0x56bf7b=_0x57cf7b[_0x49312a(0x148)]-0x1,_0x516396;_0x56bf7b>=0x0;_0x56bf7b--)(_0x516396=_0x57cf7b[_0x56bf7b])&&(_0x5052af=_0x516396(_0x5052af)||_0x5052af);return _0x5052af;},ge=(_0x4fac0d,_0x5ee76f)=>(_0x5e734b,_0x2aac5b)=>_0x5ee76f(_0x5e734b,_0x2aac5b,_0x4fac0d);let Me=class extends _0x329963{constructor(_0xac64bb,_0xbbaa3a,_0x21edbd,_0x1d6f67){const _0x21a175=_0x72397f;super(),se(this,_0x21a175(0x10f),new _0xaf0177()),(this[_0x21a175(0xbe)]=_0xac64bb,this['_refRangeService']=_0xbbaa3a,this[_0x21a175(0xc6)]=_0x21edbd,this[_0x21a175(0xdc)]=_0x1d6f67,this[_0x21a175(0xc7)](),this[_0x21a175(0x12b)]());}['_onRefRangeChange'](){const _0x5157e9=_0x72397f,_0x58944e=(_0x3fcda5,_0x44f4e0)=>{const _0x25d17e=_0x2522,_0x8d8c17=this[_0x25d17e(0xc6)]['getCurrentUnitForType'](_0x594f9d['UNIVER_SHEET']);if(!_0x8d8c17||!(_0x8d8c17==null?void 0x0:_0x8d8c17[_0x25d17e(0x112)](_0x44f4e0)))return;this[_0x25d17e(0x10f)]['dispose']();const _0x30d2da=_0x2d45f0=>this[_0x25d17e(0x119)](_0x2d45f0,_0x3fcda5,_0x44f4e0),_0x3c64e9=[],_0xea0aff=this['_sparklineDataSourceModel'][_0x25d17e(0xd4)](_0x3fcda5,_0x44f4e0);if(_0xea0aff){for(const [_0x57a9f4,_0x542c3a]of _0xea0aff)_0x542c3a['sparklines'][_0x25d17e(0x138)]((_0x36fa6e,_0x268c49,_0x39fd3f)=>{const _0x2167b6=_0x25d17e,_0x3a773f=_0x8811d0(_0x36fa6e,_0x268c49);_0x3c64e9[_0x2167b6(0x131)](_0x3a773f);});_0x3c64e9['forEach'](_0x2c0506=>{const _0x497d5c=_0x25d17e;this[_0x497d5c(0x10f)][_0x497d5c(0x152)](this['_refRangeService'][_0x497d5c(0x128)](_0x2c0506,_0x30d2da,_0x3fcda5,_0x44f4e0));});}};this['disposeWithMe'](this[_0x5157e9(0xbe)][_0x5157e9(0x155)](_0x479e39=>{const _0x3cc559=_0x5157e9;if(_0x479e39['id']===_0x568a28['id']){const _0x2d18ec=_0x479e39[_0x3cc559(0xde)],_0x3d2304=_0x2d18ec[_0x3cc559(0xe6)],_0x46b00b=_0x2d18ec[_0x3cc559(0x100)];if(!_0x3d2304||!_0x46b00b)return;_0x58944e(_0x46b00b,_0x3d2304);}if(_0x479e39['id']===Oe['id']||_0x479e39['id']===V['id']){const _0x7ea3eb=_0x479e39[_0x3cc559(0xde)],_0x5c7700=_0x7ea3eb[_0x3cc559(0xe6)],_0x173405=_0x7ea3eb[_0x3cc559(0x100)];if(!_0x5c7700||!_0x173405)return;_0x58944e(_0x173405,_0x5c7700);}}));}[_0x72397f(0x119)](_0x5502dd,_0x2ea00b,_0x306d0d){const _0x6de6df=_0x72397f;switch(_0x5502dd['id']){case _0x89abdb['id']:return this[_0x6de6df(0xe7)](_0x5502dd[_0x6de6df(0xde)],_0x2ea00b,_0x306d0d);case _0x2f68ec['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x5502dd[_0x6de6df(0xde)],_0x2ea00b,_0x306d0d);}return{'redos':[],'undos':[]};}[_0x72397f(0xae)](_0x29f3ca,_0x3f913b,_0x40e93f){const _0x1aab1e=_0x72397f;var _0x1ea72d,_0x5d6380;const {range:_0x56519c}=_0x29f3ca,_0x581c93=new Set(),_0x3801fa={},_0x453eec={},_0x357b59=[],_0xd8f44f=[],_0x236e7c=[],_0x1e0bd7=[];if(!_0x582456(this[_0x1aab1e(0xc6)],{'unitId':_0x3f913b,'subUnitId':_0x40e93f}))return{'redos':_0xd8f44f,'undos':_0x357b59};const _0x1f6f52=this[_0x1aab1e(0xdc)][_0x1aab1e(0xd4)](_0x3f913b,_0x40e93f);if(!_0x1f6f52)return{'redos':_0xd8f44f,'undos':_0x357b59};if(!((_0x5d6380=(_0x1ea72d=this['_sparklineDataSourceModel'][_0x1aab1e(0x115)]()['sparklineAnchorMap'][_0x1aab1e(0xd5)](_0x3f913b))==null?void 0x0:_0x1ea72d['get'](_0x40e93f))==null?void 0x0:_0x5d6380[_0x1aab1e(0x15d)]))return{'redos':_0xd8f44f,'undos':_0x357b59};for(const [_0x31451d,_0x108c22]of _0x1f6f52){const _0x312255=_0x108c22[_0x1aab1e(0xbb)];_0x312255['forValue']((_0x47e949,_0x35da68,_0x1e7377)=>{const _0x32e5cb=_0x1aab1e;if(_0x5d17c9[_0x32e5cb(0xb6)](_0x56519c,_0x1e7377)){_0x581c93[_0x32e5cb(0x152)](_0x31451d);let _0x55580b=_0x453eec[_0x31451d];_0x55580b||(_0x55580b={'config':_0x108c22[_0x32e5cb(0x110)],'sparklines':_0x108c22[_0x32e5cb(0xbb)]['clone']()},_0x453eec[_0x31451d]=_0x55580b);let _0x3b9228=_0x3801fa[_0x31451d];_0x3b9228||(_0x3b9228={'config':_0x108c22[_0x32e5cb(0x110)],'sparklines':new _0x192dcd(_0x108c22[_0x32e5cb(0xbb)][_0x32e5cb(0x126)]())},_0x3801fa[_0x31451d]=_0x3b9228);const _0x3b5a50=_0x517451(_0x1e7377,{'id':_0x11a2f4['id'],'params':_0x29f3ca});_0x3b5a50?_0x3b9228[_0x32e5cb(0xbb)][_0x32e5cb(0xef)](_0x47e949,_0x35da68,_0x3b5a50):_0x3b9228[_0x32e5cb(0xbb)]['setValue'](_0x47e949,_0x35da68,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x540415[_0x32e5cb(0x13a)]});}}),_0x312255['forValue']((_0x4e4cb9,_0x9198c8,_0x235958)=>{const _0x5cff5f=_0x1aab1e;if(_0x4e4cb9<=_0x56519c[_0x5cff5f(0xdd)]&&_0x4e4cb9>=_0x56519c[_0x5cff5f(0xbf)]){_0x581c93[_0x5cff5f(0x152)](_0x31451d);let _0x41c3f5=_0x453eec[_0x31451d];_0x41c3f5||(_0x41c3f5={'config':_0x108c22['config'],'sparklines':_0x108c22[_0x5cff5f(0xbb)][_0x5cff5f(0x126)]()},_0x453eec[_0x31451d]=_0x41c3f5);let _0x4c535c=_0x3801fa[_0x31451d];_0x4c535c||(_0x4c535c={'config':_0x108c22['config'],'sparklines':new _0x192dcd(_0x108c22[_0x5cff5f(0xbb)]['clone']())},_0x3801fa[_0x31451d]=_0x4c535c);}});}_0x1e0bd7[_0x1aab1e(0x131)]({'id':y['id'],'params':{'unitId':_0x3f913b,'subUnitId':_0x40e93f,'groupIds':Array[_0x1aab1e(0x12e)](_0x581c93),'isSingle':!0x1}}),_0x236e7c[_0x1aab1e(0x131)]({'id':y['id'],'params':{'unitId':_0x3f913b,'subUnitId':_0x40e93f,'groupIds':Array[_0x1aab1e(0x12e)](_0x581c93),'isSingle':!0x1}});const _0x37c0ea={};let _0x58275b=!0x1;return Object[_0x1aab1e(0x142)](_0x3801fa)[_0x1aab1e(0x10b)](([_0x2790eb,_0x527a6e])=>{const _0x2cf67e=_0x1aab1e;_0x527a6e[_0x2cf67e(0xbb)][_0x2cf67e(0xda)]()&&(_0x58275b=!0x0,_0x527a6e[_0x2cf67e(0xbb)][_0x2cf67e(0x11e)](_0x56519c['startRow'],_0x56519c[_0x2cf67e(0xdd)]-_0x56519c[_0x2cf67e(0xbf)]+0x1),_0x37c0ea[_0x2790eb]={'config':_0x527a6e['config'],'sparklines':_0x527a6e['sparklines'][_0x2cf67e(0x126)]()});}),_0x58275b&&_0xd8f44f['push']({'id':V['id'],'params':{'unitId':_0x3f913b,'subUnitId':_0x40e93f,'sparklineConfigMap':_0x37c0ea}}),_0x357b59[_0x1aab1e(0x131)]({'id':V['id'],'params':{'unitId':_0x3f913b,'subUnitId':_0x40e93f,'sparklineConfigMap':_0x453eec}}),{'redos':_0xd8f44f,'undos':_0x357b59,'preRedos':_0x236e7c,'preUndos':_0x1e0bd7};}[_0x72397f(0xe7)](_0x1ebd29,_0x403ece,_0x123e98){const _0x371e45=_0x72397f;var _0x5db946,_0x3a6ae2;const {range:_0x26fb66}=_0x1ebd29,_0x87055e=new Set(),_0x2ff9c3={},_0x125936={},_0x27d0d4=[],_0xf7dead=[],_0x2dfc5c=[],_0x97e503=[];if(!_0x582456(this[_0x371e45(0xc6)],{'unitId':_0x403ece,'subUnitId':_0x123e98}))return{'redos':_0xf7dead,'undos':_0x27d0d4};const _0x548fc6=this[_0x371e45(0xdc)][_0x371e45(0xd4)](_0x403ece,_0x123e98);if(!_0x548fc6)return{'redos':_0xf7dead,'undos':_0x27d0d4};if(!((_0x3a6ae2=(_0x5db946=this[_0x371e45(0xdc)][_0x371e45(0x115)]()[_0x371e45(0xfb)]['get'](_0x403ece))==null?void 0x0:_0x5db946['get'](_0x123e98))==null?void 0x0:_0x3a6ae2['matrix']))return{'redos':_0xf7dead,'undos':_0x27d0d4};for(const [_0x4834eb,_0x541663]of _0x548fc6){const _0xa287a6=_0x541663[_0x371e45(0xbb)];_0xa287a6[_0x371e45(0x138)]((_0x5a3602,_0x217de0,_0x4f0b8e)=>{const _0x3e787b=_0x371e45;if(_0x5d17c9[_0x3e787b(0xb6)](_0x26fb66,_0x4f0b8e)){_0x87055e[_0x3e787b(0x152)](_0x4834eb);let _0x3aa574=_0x125936[_0x4834eb];_0x3aa574||(_0x3aa574={'config':_0x541663['config'],'sparklines':_0x541663[_0x3e787b(0xbb)][_0x3e787b(0x126)]()},_0x125936[_0x4834eb]=_0x3aa574);let _0x5352e7=_0x2ff9c3[_0x4834eb];_0x5352e7||(_0x5352e7={'config':_0x541663['config'],'sparklines':new _0x192dcd(_0x541663[_0x3e787b(0xbb)][_0x3e787b(0x126)]())},_0x2ff9c3[_0x4834eb]=_0x5352e7);const _0x57e682=_0x517451(_0x4f0b8e,{'id':_0x14761e['id'],'params':_0x1ebd29});_0x57e682?_0x5352e7[_0x3e787b(0xbb)][_0x3e787b(0xef)](_0x5a3602,_0x217de0,_0x57e682):_0x5352e7['sparklines'][_0x3e787b(0xef)](_0x5a3602,_0x217de0,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x540415[_0x3e787b(0x13a)]});}}),_0xa287a6[_0x371e45(0x138)]((_0x25e00c,_0x30521c,_0x42639a)=>{const _0x2ee06c=_0x371e45;if(_0x30521c<=_0x26fb66[_0x2ee06c(0xcb)]&&_0x30521c>=_0x26fb66[_0x2ee06c(0x157)]){_0x87055e[_0x2ee06c(0x152)](_0x4834eb);let _0x1e78a2=_0x125936[_0x4834eb];_0x1e78a2||(_0x1e78a2={'config':_0x541663[_0x2ee06c(0x110)],'sparklines':_0x541663['sparklines'][_0x2ee06c(0x126)]()},_0x125936[_0x4834eb]=_0x1e78a2);let _0x1c4afc=_0x2ff9c3[_0x4834eb];_0x1c4afc||(_0x1c4afc={'config':_0x541663[_0x2ee06c(0x110)],'sparklines':new _0x192dcd(_0x541663[_0x2ee06c(0xbb)]['clone']())},_0x2ff9c3[_0x4834eb]=_0x1c4afc);}});}_0x97e503[_0x371e45(0x131)]({'id':y['id'],'params':{'unitId':_0x403ece,'subUnitId':_0x123e98,'groupIds':Array['from'](_0x87055e),'isSingle':!0x1}}),_0x2dfc5c[_0x371e45(0x131)]({'id':y['id'],'params':{'unitId':_0x403ece,'subUnitId':_0x123e98,'groupIds':Array[_0x371e45(0x12e)](_0x87055e),'isSingle':!0x1}});const _0x54ad4f={};let _0x19da5b=!0x1;return Object[_0x371e45(0x142)](_0x2ff9c3)['forEach'](([_0x3c1ef2,_0x10783b])=>{const _0x347c09=_0x371e45;_0x10783b[_0x347c09(0xbb)]['getSizeOf']()&&(_0x19da5b=!0x0,_0x10783b[_0x347c09(0xbb)]['removeColumns'](_0x26fb66['startColumn'],_0x26fb66['endColumn']-_0x26fb66['startColumn']+0x1),_0x54ad4f[_0x3c1ef2]={'config':_0x10783b[_0x347c09(0x110)],'sparklines':_0x10783b[_0x347c09(0xbb)][_0x347c09(0x126)]()});}),_0x19da5b&&_0xf7dead['push']({'id':V['id'],'params':{'unitId':_0x403ece,'subUnitId':_0x123e98,'sparklineConfigMap':_0x54ad4f}}),_0x27d0d4[_0x371e45(0x131)]({'id':V['id'],'params':{'unitId':_0x403ece,'subUnitId':_0x123e98,'sparklineConfigMap':_0x125936}}),{'redos':_0xf7dead,'undos':_0x27d0d4,'preRedos':_0x2dfc5c,'preUndos':_0x97e503};}[_0x72397f(0x12b)](){const _0x25a83c=_0x72397f;this[_0x25a83c(0xb2)](this[_0x25a83c(0xbe)]['onCommandExecuted'](_0x5ad29e=>{const _0x4db960=_0x25a83c;if(_0x5ad29e['id']===_0x4180ff['id']){const _0x62f545=_0x5ad29e['params'],{unitId:_0x5a5f65,subUnitId:_0x3b5442,range:_0x51f4f6}=_0x62f545,_0x42f5b4=_0x51f4f6[_0x4db960(0x157)],_0x479037=_0x51f4f6[_0x4db960(0xcb)]-_0x51f4f6['startColumn']+0x1,_0x256292=this[_0x4db960(0xdc)][_0x4db960(0xd4)](_0x5a5f65,_0x3b5442);if(!_0x256292)return;for(const [_0x2e1b31,_0x17d28b]of _0x256292){this['_sparklineDataSourceModel'][_0x4db960(0xf5)](_0x5a5f65,_0x3b5442,_0x2e1b31);const _0x49a97d=_0x17d28b[_0x4db960(0xbb)];_0x49a97d[_0x4db960(0x138)]((_0x2ddeb0,_0x90e6f1,_0x268f59)=>{const _0x5e6829=_0x4db960,_0x14f44e={..._0x268f59};_0x42f5b4<=_0x14f44e[_0x5e6829(0x157)]?(_0x14f44e[_0x5e6829(0x157)]+=_0x479037,_0x14f44e[_0x5e6829(0xcb)]+=_0x479037):_0x42f5b4>_0x14f44e[_0x5e6829(0xcb)]||(_0x14f44e['endColumn']+=_0x479037),_0x49a97d[_0x5e6829(0xef)](_0x2ddeb0,_0x90e6f1,_0x14f44e);});const _0x3f4206=_0x49a97d['getMatrix']();for(const _0xa20df2 in _0x3f4206){const _0x5a577f=_0x3f4206[Number(_0xa20df2)];if(!_0x5a577f)continue;const _0x3dce78=Object[_0x4db960(0xea)](_0x5a577f)['map'](Number),_0x56e998=Math[_0x4db960(0x161)](..._0x3dce78);for(let _0x303472=_0x56e998;_0x303472>=_0x42f5b4;_0x303472--)_0x303472>=_0x42f5b4&&_0x5a577f[_0x303472]&&(_0x5a577f[_0x303472+_0x479037]=_0x5a577f[_0x303472],delete _0x5a577f[_0x303472]);}this[_0x4db960(0xdc)][_0x4db960(0x11b)](_0x5a5f65,_0x3b5442,_0x2e1b31);}}else{if(_0x5ad29e['id']===_0x9b28a3['id']){const _0x580857=_0x5ad29e[_0x4db960(0xde)],{unitId:_0xb99bb7,subUnitId:_0x1cb527,range:_0x1b6b16}=_0x580857,_0x5b9811=_0x1b6b16[_0x4db960(0xbf)],_0x104984=_0x1b6b16[_0x4db960(0xdd)]-_0x1b6b16[_0x4db960(0xbf)]+0x1,_0x2e5d40=this[_0x4db960(0xdc)][_0x4db960(0xd4)](_0xb99bb7,_0x1cb527);if(!_0x2e5d40)return;for(const [_0x1b9b52,_0x2cb19f]of _0x2e5d40){this[_0x4db960(0xdc)][_0x4db960(0xf5)](_0xb99bb7,_0x1cb527,_0x1b9b52);const _0x22517d=_0x2cb19f[_0x4db960(0xbb)];_0x22517d[_0x4db960(0x138)]((_0x49d37d,_0x1cb3f3,_0x4fc1f7)=>{const _0x1ed4ca=_0x4db960,_0x327124={..._0x4fc1f7};_0x5b9811<=_0x327124['startRow']?(_0x327124[_0x1ed4ca(0xbf)]+=_0x104984,_0x327124[_0x1ed4ca(0xdd)]+=_0x104984):_0x5b9811>_0x327124[_0x1ed4ca(0xdd)]||(_0x327124[_0x1ed4ca(0xdd)]+=_0x104984),_0x22517d[_0x1ed4ca(0xef)](_0x49d37d,_0x1cb3f3,_0x327124);});const _0xcfee3e=_0x22517d[_0x4db960(0xf4)](),_0xd6a5d2=Object[_0x4db960(0xea)](_0xcfee3e)[_0x4db960(0x10d)](Number),_0x5c83dd=Math[_0x4db960(0x161)](..._0xd6a5d2);for(let _0x3cf48e=_0x5c83dd;_0x3cf48e>=_0x5b9811;_0x3cf48e--)_0x3cf48e>=_0x5b9811&&_0xcfee3e[_0x3cf48e]&&(_0xcfee3e[_0x3cf48e+_0x104984]=_0xcfee3e[_0x3cf48e],delete _0xcfee3e[_0x3cf48e]);this['_sparklineDataSourceModel'][_0x4db960(0x11b)](_0xb99bb7,_0x1cb527,_0x1b9b52);}}else{if(_0x5ad29e['id']===_0x14761e['id']){const _0xab760f=_0x5ad29e[_0x4db960(0xde)],{range:_0x27ee47,unitId:_0x5b5495,subUnitId:_0x6568ee}=_0xab760f,_0x98648e=this[_0x4db960(0xdc)][_0x4db960(0xd4)](_0x5b5495,_0x6568ee);if(!_0x98648e)return;for(const [_0x346e4c,_0x169d0e]of _0x98648e){const _0x33aac0=_0x169d0e['sparklines'];_0x33aac0[_0x4db960(0x138)]((_0x291357,_0x4e2b12,_0x5db11d)=>{const _0x312e71=_0x4db960,_0x1b2574=_0x517451(_0x5db11d,_0x5ad29e);_0x1b2574?_0x33aac0[_0x312e71(0xef)](_0x291357,_0x4e2b12,_0x1b2574):_0x33aac0[_0x312e71(0xef)](_0x291357,_0x4e2b12,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x540415[_0x312e71(0x13a)]});}),_0x33aac0[_0x4db960(0x116)](_0x27ee47['startColumn'],_0x27ee47[_0x4db960(0xcb)]-_0x27ee47[_0x4db960(0x157)]+0x1);}this[_0x4db960(0xdc)][_0x4db960(0x15f)](_0x5b5495,_0x6568ee);}else{if(_0x5ad29e['id']===_0x11a2f4['id']){const _0x3f8ebe=_0x5ad29e[_0x4db960(0xde)],{range:_0x2c80ac,unitId:_0x517b4e,subUnitId:_0x23239f}=_0x3f8ebe,_0x1927ef=this[_0x4db960(0xdc)][_0x4db960(0xd4)](_0x517b4e,_0x23239f);if(!_0x1927ef)return;for(const [_0x20d0d9,_0x4f8158]of _0x1927ef){const _0x5dcf86=_0x4f8158['sparklines'];_0x5dcf86[_0x4db960(0x138)]((_0x38acab,_0x27fd0f,_0x3f4bea)=>{const _0x529943=_0x4db960,_0x1d2936=_0x517451(_0x3f4bea,_0x5ad29e);_0x1d2936?_0x5dcf86[_0x529943(0xef)](_0x38acab,_0x27fd0f,_0x1d2936):_0x5dcf86[_0x529943(0xef)](_0x38acab,_0x27fd0f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x540415[_0x529943(0x13a)]});}),_0x5dcf86[_0x4db960(0x11e)](_0x2c80ac['startRow'],_0x2c80ac['endRow']-_0x2c80ac[_0x4db960(0xbf)]+0x1);}this['_sparklineDataSourceModel']['reBuildAnchorCache'](_0x517b4e,_0x23239f);}else{if(_0x5ad29e['id']===_0x3409db['id']){const _0x4d9b39=_0x5ad29e['params'],{unitId:_0x5372c1,subUnitId:_0x54385c,sourceRange:_0x4b5856,targetRange:_0xe915f6}=_0x4d9b39,_0x407444=this[_0x4db960(0xdc)]['getSubUnitSparkline'](_0x5372c1,_0x54385c);if(!_0x407444)return;for(const [_0x8ed50f,_0x5c054c]of _0x407444){const _0x519ec5=_0x5c054c[_0x4db960(0xbb)];_0x519ec5[_0x4db960(0x138)]((_0x22b011,_0xde0a0e,_0xec3f34)=>{const _0x47a2c8=_0x4db960,_0x47d6cd=_0x517451(_0xec3f34,_0x5ad29e);_0x47d6cd?_0x519ec5[_0x47a2c8(0xef)](_0x22b011,_0xde0a0e,_0x47d6cd):_0x519ec5[_0x47a2c8(0xef)](_0x22b011,_0xde0a0e,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x540415[_0x47a2c8(0x13a)]});}),_0x519ec5['moveColumns'](_0x4b5856['startColumn'],_0x4b5856[_0x4db960(0xcb)]-_0x4b5856['startColumn']+0x1,_0xe915f6[_0x4db960(0x157)]);}this[_0x4db960(0xdc)][_0x4db960(0x15f)](_0x5372c1,_0x54385c);}else{if(_0x5ad29e['id']===_0x165f9b['id']){const _0x2b32fb=_0x5ad29e['params'],{unitId:_0x5267ee,subUnitId:_0xabe1d0,sourceRange:_0x1d1068,targetRange:_0x5934ec}=_0x2b32fb,_0x27eed6=this[_0x4db960(0xdc)][_0x4db960(0xd4)](_0x5267ee,_0xabe1d0);if(!_0x27eed6)return;for(const [_0xa4b109,_0x541657]of _0x27eed6){const _0x30bef2=_0x541657['sparklines'];_0x30bef2[_0x4db960(0x138)]((_0x2f8a78,_0x39f36e,_0x29d582)=>{const _0x54268d=_0x4db960,_0x13ec12=_0x517451(_0x29d582,_0x5ad29e);_0x13ec12?_0x30bef2[_0x54268d(0xef)](_0x2f8a78,_0x39f36e,_0x13ec12):_0x30bef2['setValue'](_0x2f8a78,_0x39f36e,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x540415[_0x54268d(0x13a)]});}),_0x30bef2[_0x4db960(0xf9)](_0x1d1068['startRow'],_0x1d1068[_0x4db960(0xdd)]-_0x1d1068['startRow']+0x1,_0x5934ec['startRow']);}this[_0x4db960(0xdc)][_0x4db960(0x15f)](_0x5267ee,_0xabe1d0);}else{if(_0x5ad29e['id']===_0x5c1875['id']){const _0x581ca9=_0x5ad29e[_0x4db960(0xde)],{fromRange:_0x1ea053,toRange:_0x2ec066,unitId:_0x4dfb05,from:_0x30872c,to:_0x33e285}=_0x581ca9;if(_0x30872c[_0x4db960(0xe6)]!==_0x33e285[_0x4db960(0xe6)])return;const _0x334b57=_0x30872c[_0x4db960(0xe6)],{startRow:_0x15d201,endRow:_0x587b81,startColumn:_0x2e1973,endColumn:_0x11eeeb}=_0x1ea053,{startRow:_0x47796a,startColumn:_0x3fb8b6}=_0x2ec066,_0x5332d0=_0x47796a-_0x15d201,_0x17bf89=_0x3fb8b6-_0x2e1973,_0x29b9b8=this[_0x4db960(0xdc)][_0x4db960(0xd4)](_0x4dfb05,_0x334b57);if(!(_0x29b9b8!=null&&_0x29b9b8['size']))return;for(let _0x562c20=_0x15d201;_0x562c20<=_0x587b81;_0x562c20++)for(let _0x3b9003=_0x2e1973;_0x3b9003<=_0x11eeeb;_0x3b9003++){const _0x42beb8=this[_0x4db960(0xdc)][_0x4db960(0xe5)](_0x4dfb05,_0x334b57,_0x562c20,_0x3b9003);if(_0x42beb8){const _0x642138=this[_0x4db960(0xdc)][_0x4db960(0x137)](_0x4dfb05,_0x334b57,_0x42beb8);if(_0x642138){const _0x466260=_0x642138[_0x4db960(0xbb)][_0x4db960(0xf2)](_0x562c20,_0x3b9003);_0x466260&&(_0x642138[_0x4db960(0xbb)]['setValue'](_0x562c20+_0x5332d0,_0x3b9003+_0x17bf89,_0x466260),_0x642138['sparklines'][_0x4db960(0xdb)](_0x562c20,_0x3b9003));}}}for(const [_0xf07191,_0x1ea48f]of _0x29b9b8){const _0x4b3b65=_0x1ea48f['sparklines'];_0x4b3b65[_0x4db960(0x138)]((_0x35e870,_0x30a4b6,_0x1a7044)=>{const _0x22fbe3=_0x4db960,_0x5c85b8={..._0x1a7044};_0x5d17c9[_0x22fbe3(0xca)](_0x1ea053,_0x1a7044)&&(_0x5c85b8[_0x22fbe3(0xbf)]+=_0x5332d0,_0x5c85b8['endRow']+=_0x5332d0,_0x5c85b8[_0x22fbe3(0x157)]+=_0x17bf89,_0x5c85b8[_0x22fbe3(0xcb)]+=_0x17bf89),_0x4b3b65['setValue'](_0x35e870,_0x30a4b6,_0x5c85b8);});}this[_0x4db960(0xdc)][_0x4db960(0x15f)](_0x4dfb05,_0x334b57);}}}}}}}}));}};Me=Kt([ge(0x0,_0x54d2a7(_0x272bff)),ge(0x1,_0x54d2a7(_0x475f93)),ge(0x2,_0x224779),ge(0x3,_0x54d2a7(x))],Me);var Xt=Object[_0x72397f(0x11d)],zt=(_0x4f50a6,_0x44f97f,_0x2eec00,_0x479f84)=>{const _0x4d3ba2=_0x72397f;for(var _0x3010ef=_0x479f84>0x1?void 0x0:_0x479f84?Xt(_0x44f97f,_0x2eec00):_0x44f97f,_0x2f4396=_0x4f50a6[_0x4d3ba2(0x148)]-0x1,_0x4c1f63;_0x2f4396>=0x0;_0x2f4396--)(_0x4c1f63=_0x4f50a6[_0x2f4396])&&(_0x3010ef=_0x4c1f63(_0x3010ef)||_0x3010ef);return _0x3010ef;},Be=(_0x382db0,_0x5af651)=>(_0x8656c8,_0x2d6851)=>_0x5af651(_0x8656c8,_0x2d6851,_0x382db0);let Re=class extends _0x329963{constructor(_0xa1d081,_0xf3b40f){const _0xbaa3b1=_0x72397f;super(),this['_resourceManagerService']=_0xa1d081,this[_0xbaa3b1(0xdc)]=_0xf3b40f,this[_0xbaa3b1(0xfe)]();}[_0x72397f(0xfe)](){const _0x1410b7=_0x72397f,_0xb3ebbb=_0x456709=>{const _0xa2f94f=_0x2522,_0x5a311f=this['_sparklineDataSourceModel'][_0xa2f94f(0x125)](_0x456709);return _0x5a311f?JSON[_0xa2f94f(0xaf)](_0x5a311f):'';},_0x145c13=_0x1a74cb=>_0x1a74cb?JSON[_0x1410b7(0x13e)](_0x1a74cb):{};this[_0x1410b7(0xb2)](this[_0x1410b7(0x144)][_0x1410b7(0xff)]({'toJson':_0xb3ebbb,'parseJson':_0x145c13,'pluginName':Ke,'businesses':[_0x594f9d[_0x1410b7(0xd8)]],'onLoad':(_0x13402e,_0x21aa76)=>{const _0x404ef1=_0x1410b7;this['_sparklineDataSourceModel'][_0x404ef1(0x108)](_0x21aa76);},'onUnLoad':_0x2ee7d1=>{const _0x3fda46=_0x1410b7;this[_0x3fda46(0xdc)][_0x3fda46(0x11a)](_0x2ee7d1);}}));}};Re=zt([Be(0x0,_0x54d2a7(_0x2c7267)),Be(0x1,_0x54d2a7(x))],Re);var Jt=Object[_0x72397f(0xb0)],Zt=Object[_0x72397f(0x11d)],Yt=(_0x23ce31,_0x4d9cfe,_0x57077d)=>_0x4d9cfe in _0x23ce31?Jt(_0x23ce31,_0x4d9cfe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57077d}):_0x23ce31[_0x4d9cfe]=_0x57077d,qt=(_0x1630bc,_0x5c9e29,_0x3ca8ab,_0x11d0e1)=>{const _0x1218cc=_0x72397f;for(var _0x3c10ef=_0x11d0e1>0x1?void 0x0:_0x11d0e1?Zt(_0x5c9e29,_0x3ca8ab):_0x5c9e29,_0x110cd3=_0x1630bc[_0x1218cc(0x148)]-0x1,_0x1238ee;_0x110cd3>=0x0;_0x110cd3--)(_0x1238ee=_0x1630bc[_0x110cd3])&&(_0x3c10ef=_0x1238ee(_0x3c10ef)||_0x3c10ef);return _0x3c10ef;},He=(_0x4bf93c,_0x51c5d6)=>(_0x4dcef7,_0x372e38)=>_0x51c5d6(_0x4dcef7,_0x372e38,_0x4bf93c),ze=(_0x160f6d,_0x4841ac,_0x5b25f3)=>Yt(_0x160f6d,typeof _0x4841ac!=_0x72397f(0x141)?_0x4841ac+'':_0x4841ac,_0x5b25f3);let ve=class extends _0x33da54{constructor(_0x4dcb56={},_0x48e4f0,_0x328fbf){const _0x3eaeef=_0x72397f;super(),this[_0x3eaeef(0x15a)]=_0x4dcb56,this[_0x3eaeef(0xd0)]=_0x48e4f0,this['_commandService']=_0x328fbf,this[_0x3eaeef(0x107)](),this[_0x3eaeef(0xee)]();}[_0x72397f(0x107)](){const _0x31c464=_0x72397f;[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]][_0x31c464(0x10b)](_0x472c80=>{const _0x5032cd=_0x31c464;this[_0x5032cd(0xd0)][_0x5032cd(0x152)](_0x472c80);}),_0x309222(this[_0x31c464(0xd0)],[[Re]]);}[_0x72397f(0xbc)](){_0x309222(this['_injector'],[[me],[_e],[Se],[Me],[Ce],[ke]]);}[_0x72397f(0xee)](){const _0x3d2614=_0x72397f;[Nt,V,Ot,y,xt,Oe][_0x3d2614(0x10b)](_0xbd1738=>this[_0x3d2614(0xbe)][_0x3d2614(0xe1)](_0xbd1738));}};ze(ve,_0x72397f(0xcd),Ke),ze(ve,'type',_0x594f9d[_0x72397f(0xd8)]),ve=qt([_0x5432f8(_0x3f9b9a),He(0x1,_0x54d2a7(_0x563a9d)),He(0x2,_0x54d2a7(_0x272bff))],ve);export{Nt as AddSheetSparklineCommand,V as AddSheetSparklineMutation,Ke as PLUGIN_NAME,Ot as RemoveSheetSparklineCommand,y as RemoveSheetSparklineMutation,xt as SetSheetSparklineCommand,Oe as SetSheetSparklineMutation,J as SpacialShowAsEnum,x as SparklineDataSourceModel,De as SparklineExtremumTypeEnum,on as SparklinePointsNames,Le as SparklineThemeMapping,Xe as SparklineThemeTypeEnum,Dt as SparklineTypeEnum,ve as UniverSheetSparklinePlugin,Fe as getSparklinePlacement};
|
|
1
|
+
const _0x457c39=_0x2868;(function(_0x7997ce,_0x7db4cf){const _0x5abbda=_0x2868,_0x116a71=_0x7997ce();while(!![]){try{const _0x2f4b11=-parseInt(_0x5abbda(0x207))/0x1+parseInt(_0x5abbda(0x230))/0x2*(parseInt(_0x5abbda(0x269))/0x3)+-parseInt(_0x5abbda(0x27f))/0x4+parseInt(_0x5abbda(0x264))/0x5*(-parseInt(_0x5abbda(0x1fd))/0x6)+parseInt(_0x5abbda(0x237))/0x7+-parseInt(_0x5abbda(0x27c))/0x8+parseInt(_0x5abbda(0x1ea))/0x9;if(_0x2f4b11===_0x7db4cf)break;else _0x116a71['push'](_0x116a71['shift']());}catch(_0x3127d5){_0x116a71['push'](_0x116a71['shift']());}}}(_0x125a,0x8529e));var qe=Object[_0x457c39(0x21e)],Qe=(_0xba1be,_0x276d90,_0x3a57a1)=>_0x276d90 in _0xba1be?qe(_0xba1be,_0x276d90,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a57a1}):_0xba1be[_0x276d90]=_0x3a57a1,se=(_0x90ad71,_0x26bd25,_0xf77a45)=>Qe(_0x90ad71,typeof _0x26bd25!=_0x457c39(0x21a)?_0x26bd25+'':_0x26bd25,_0xf77a45);import{ObjectMatrix as _0x7156f0,Inject as _0x1ee6de,IUniverInstanceService as _0x38b140,Disposable as _0x486845,isValidRange as _0x41fccb,CellValueType as _0x2df5f2,ColorKit as _0x2068ab,CommandType as _0x1d9dba,Range as _0x2fd36e,IUndoRedoService as _0x31c206,generateRandomId as _0x3768bd,ICommandService as _0x496f25,Tools as _0x370ae7,sequenceExecute as _0x3af742,Rectangle as _0x5cc02f,cellToRange as _0x18d16b,DisposableCollection as _0x1c6f67,RANGE_TYPE as _0x554083,UniverInstanceType as _0x7f2523,IResourceManagerService as _0x18e659,DependentOn as _0x430d07,Injector as _0x104ff8,Plugin as _0x158ab0,touchDependencies as _0x58bc7f}from'@univerjs/core';import{getSheetCommandTarget as _0x52e565,SheetsSelectionsService as _0x345bfe,SheetInterceptorService as _0x30e4aa,ClearSelectionAllCommand as _0x1f9ce3,CopySheetCommand as _0x429b82,IExclusiveRangeService as _0x1f4131,SetRangeValuesMutation as _0x1627bf,ReorderRangeMutation as _0x3ab708,SetRowHiddenMutation as _0x593709,SetColHiddenMutation as _0x4d58de,SetRowVisibleMutation as _0x23e026,SetColVisibleMutation as _0x3f9bd9,AddWorksheetMergeCommand as _0x3cc48f,RefRangeService as _0x4db193,SetWorksheetActivateCommand as _0x51a33b,RemoveRowCommand as _0x150c90,RemoveColCommand as _0x64a7b,adjustRangeOnMutation as _0x201685,RemoveRowMutation as _0x40019b,RemoveColMutation as _0x1be026,InsertColMutation as _0x21085c,InsertRowMutation as _0x1abfb9,MoveColsMutation as _0x347a34,MoveRowsMutation as _0x2abb03,MoveRangeMutation as _0x308381}from'@univerjs/sheets';import{Subject as _0x4ea8f0}from'rxjs';import{UniverLicensePlugin as _0x4aac18}from'@univerjs-pro/license';function Fe(_0x54a45a,_0x2e90cf){const _0x4ae5fd=_0x457c39,_0x4e8195=new _0x7156f0(),_0x2035be=[],_0x25adab=_0x54a45a[_0x4ae5fd(0x208)]>0x1;let _0xf2c9cd=0x0,_0x398844=0x0;for(const _0x2c87ce of _0x54a45a)_0xf2c9cd+=_0x2c87ce[_0x4ae5fd(0x204)]-_0x2c87ce[_0x4ae5fd(0x26a)]+0x1,_0x398844+=_0x2c87ce[_0x4ae5fd(0x201)]-_0x2c87ce[_0x4ae5fd(0x1f6)]+0x1;for(const _0x267b4c of _0x2e90cf)for(let _0x33314d=_0x267b4c[_0x4ae5fd(0x26a)];_0x33314d<=_0x267b4c[_0x4ae5fd(0x204)];_0x33314d++)for(let _0x2050d4=_0x267b4c[_0x4ae5fd(0x1f6)];_0x2050d4<=_0x267b4c[_0x4ae5fd(0x201)];_0x2050d4++)_0x2035be[_0x4ae5fd(0x268)]({'row':_0x33314d,'column':_0x2050d4});if(_0x2035be[_0x4ae5fd(0x208)]===_0xf2c9cd)_0x25adab?_0x2035be[_0x4ae5fd(0x256)]((_0x2b7960,_0x401b93)=>{const _0x40e6f2=_0x4ae5fd,_0x437cd0=_0x54a45a[_0x401b93],_0x2c57bc={'startRow':_0x437cd0[_0x40e6f2(0x26a)],'startColumn':_0x437cd0[_0x40e6f2(0x1f6)],'endRow':_0x437cd0['startRow'],'endColumn':_0x437cd0[_0x40e6f2(0x201)]};_0x4e8195[_0x40e6f2(0x286)](_0x2b7960[_0x40e6f2(0x282)],_0x2b7960[_0x40e6f2(0x22a)],_0x2c57bc);}):_0x2035be['forEach']((_0x9bd54c,_0x23b47c)=>{const _0xdb5acf=_0x4ae5fd,_0x3927b6=_0x54a45a[0x0],_0x3b3d5b={'startRow':_0x3927b6[_0xdb5acf(0x26a)]+_0x23b47c,'startColumn':_0x3927b6[_0xdb5acf(0x1f6)],'endRow':_0x3927b6[_0xdb5acf(0x26a)]+_0x23b47c,'endColumn':_0x3927b6[_0xdb5acf(0x201)]};_0x4e8195[_0xdb5acf(0x286)](_0x9bd54c['row'],_0x9bd54c['column'],_0x3b3d5b);});else{if(_0x2035be[_0x4ae5fd(0x208)]===_0x398844)_0x25adab?_0x2035be['forEach']((_0x42c07b,_0x4c23de)=>{const _0x30908b=_0x4ae5fd,_0x19f48c=_0x54a45a[_0x4c23de],_0x3fea85={'startRow':_0x19f48c['startRow'],'startColumn':_0x19f48c[_0x30908b(0x1f6)],'endRow':_0x19f48c[_0x30908b(0x204)],'endColumn':_0x19f48c[_0x30908b(0x1f6)]};_0x4e8195['setValue'](_0x42c07b['row'],_0x42c07b[_0x30908b(0x22a)],_0x3fea85);}):_0x2035be[_0x4ae5fd(0x256)]((_0x1faaa3,_0x51e50e)=>{const _0x13b8a1=_0x4ae5fd,_0x453838=_0x54a45a[0x0],_0x10e773={'startRow':_0x453838[_0x13b8a1(0x26a)],'startColumn':_0x453838[_0x13b8a1(0x1f6)]+_0x51e50e,'endRow':_0x453838['endRow'],'endColumn':_0x453838[_0x13b8a1(0x1f6)]+_0x51e50e};_0x4e8195['setValue'](_0x1faaa3[_0x13b8a1(0x282)],_0x1faaa3[_0x13b8a1(0x22a)],_0x10e773);});else{if(_0x2035be[_0x4ae5fd(0x208)]===_0x54a45a[_0x4ae5fd(0x208)])_0x54a45a['every'](_0x31afa1=>!(_0x31afa1['startRow']!==_0x31afa1['endRow']&&_0x31afa1['startColumn']!==_0x31afa1['endColumn']))&&_0x2035be['forEach']((_0x2d42b4,_0x10613b)=>{const _0x215389=_0x4ae5fd,_0x4c42a1=_0x54a45a[_0x10613b];_0x4e8195[_0x215389(0x286)](_0x2d42b4[_0x215389(0x282)],_0x2d42b4[_0x215389(0x22a)],_0x4c42a1);});else throw new Error('Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.');}}return _0x4e8195;}const Ke='SHEET_SPARKLINE_PLUGIN',Le={'standard':[_0x457c39(0x24c),_0x457c39(0x1e6)],'specialty':[_0x457c39(0x21d),_0x457c39(0x25f)],'distinctive':[_0x457c39(0x1e1),_0x457c39(0x266)],'soft':[_0x457c39(0x227),_0x457c39(0x209)],'fresh':[_0x457c39(0x213),_0x457c39(0x23e)]},on=[_0x457c39(0x1ff),_0x457c39(0x212),_0x457c39(0x293),_0x457c39(0x274),_0x457c39(0x289),_0x457c39(0x222)];var Xe=(_0x137534=>(_0x137534[_0x457c39(0x263)]='standard',_0x137534[_0x457c39(0x287)]=_0x457c39(0x26d),_0x137534[_0x457c39(0x295)]='distinctive',_0x137534[_0x457c39(0x261)]=_0x457c39(0x236),_0x137534[_0x457c39(0x246)]='fresh',_0x137534[_0x457c39(0x294)]=_0x457c39(0x24d),_0x137534))(Xe||{}),Dt=(_0x261eb3=>(_0x261eb3[_0x261eb3[_0x457c39(0x248)]=0x1]=_0x457c39(0x248),_0x261eb3[_0x261eb3['BAR_CHART']=0x2]='BAR_CHART',_0x261eb3[_0x261eb3[_0x457c39(0x25d)]=0x3]=_0x457c39(0x25d),_0x261eb3[_0x261eb3[_0x457c39(0x29d)]=0x4]=_0x457c39(0x29d),_0x261eb3))(Dt||{}),J=(_0xdb3bbc=>(_0xdb3bbc[_0x457c39(0x285)]=_0x457c39(0x296),_0xdb3bbc[_0x457c39(0x1fe)]=_0x457c39(0x1e4),_0xdb3bbc['CONNECT_WITH_LINE']=_0x457c39(0x290),_0xdb3bbc))(J||{}),De=(_0x2ca78a=>(_0x2ca78a[_0x2ca78a[_0x457c39(0x297)]=0x1]=_0x457c39(0x297),_0x2ca78a[_0x2ca78a['GROUP_EXTREMUM']=0x2]=_0x457c39(0x27a),_0x2ca78a[_0x2ca78a[_0x457c39(0x26b)]=0x3]=_0x457c39(0x26b),_0x2ca78a))(De||{}),Et=Object['getOwnPropertyDescriptor'],Vt=(_0x58aad4,_0x6ceb0c,_0x2f927e,_0x3ff5ee)=>{const _0x325d63=_0x457c39;for(var _0x702d9c=_0x3ff5ee>0x1?void 0x0:_0x3ff5ee?Et(_0x6ceb0c,_0x2f927e):_0x6ceb0c,_0x2e87ed=_0x58aad4[_0x325d63(0x208)]-0x1,_0x2e4c05;_0x2e87ed>=0x0;_0x2e87ed--)(_0x2e4c05=_0x58aad4[_0x2e87ed])&&(_0x702d9c=_0x2e4c05(_0x702d9c)||_0x702d9c);return _0x702d9c;},yt=(_0x4d2128,_0x55c521)=>(_0x2582c5,_0x26947f)=>_0x55c521(_0x2582c5,_0x26947f,_0x4d2128);let x=class extends _0x486845{constructor(_0x3e737f){const _0x35c1c9=_0x457c39;super(),se(this,'_sparklineModel',new Map()),se(this,_0x35c1c9(0x258),new Map()),se(this,'_updateConfig$',new _0x4ea8f0()),se(this,_0x35c1c9(0x223),this[_0x35c1c9(0x216)][_0x35c1c9(0x1e3)]()),this['_univerInstanceService']=_0x3e737f;}[_0x457c39(0x23a)](_0x5ba1bc,_0x609b11){const _0x276b8c=_0x457c39;let _0x418fb1=this[_0x276b8c(0x24f)]['get'](_0x5ba1bc);_0x418fb1||(_0x418fb1=new Map(),this['_sparklineModel'][_0x276b8c(0x1f0)](_0x5ba1bc,_0x418fb1));let _0x58e1a8=_0x418fb1[_0x276b8c(0x279)](_0x609b11);return _0x58e1a8||(_0x58e1a8=new Map(),_0x418fb1[_0x276b8c(0x1f0)](_0x609b11,_0x58e1a8)),_0x58e1a8;}[_0x457c39(0x29e)](_0x2f45f9,_0x5cb080){const _0x219727=_0x457c39;let _0xb8352e=this[_0x219727(0x258)][_0x219727(0x279)](_0x2f45f9);_0xb8352e||(_0xb8352e=new Map(),this[_0x219727(0x258)][_0x219727(0x1f0)](_0x2f45f9,_0xb8352e));let _0x29c67e=_0xb8352e[_0x219727(0x279)](_0x5cb080);return _0x29c67e||(_0x29c67e={'matrix':new _0x7156f0(),'extra':{}},_0xb8352e[_0x219727(0x1f0)](_0x5cb080,_0x29c67e)),_0x29c67e;}['updateSparklineExtraNum'](_0x1d2d73,_0x52c3af,_0x6227e7,_0x45a2a8=_0x457c39(0x1f0)){const _0xef435d=_0x457c39;var _0x445ff9,_0x1aa864,_0x5324be,_0x2336b4,_0x3c743f,_0x4e76e2,_0x41841e,_0x5ea0ed,_0x5d711c,_0x1708ef,_0x2b357c,_0x50b785,_0x34fef6;const _0x45fedb=(_0x1aa864=(_0x445ff9=this[_0xef435d(0x24f)][_0xef435d(0x279)](_0x1d2d73))==null?void 0x0:_0x445ff9['get'](_0x52c3af))==null?void 0x0:_0x1aa864[_0xef435d(0x279)](_0x6227e7);if(!_0x45fedb)return;const _0x433f33=_0x52e565(this[_0xef435d(0x202)],{'unitId':_0x1d2d73,'subUnitId':_0x52c3af});if(!_0x433f33)return;const _0x3a716d=this[_0xef435d(0x29e)](_0x1d2d73,_0x52c3af),{extra:_0x44d9dd,matrix:_0x1878e4}=_0x3a716d,{worksheet:_0x259e63}=_0x433f33;let _0x1b46e6=Number[_0xef435d(0x217)],_0x3a7ba8=Number[_0xef435d(0x221)];const _0x26cd95=(_0x5324be=_0x45fedb['config'][_0xef435d(0x1eb)])!=null?_0x5324be:!0x1;_0x45fedb[_0xef435d(0x24b)]['forValue']((_0x451e1a,_0x53b4c8,_0x1c461e)=>{const _0x5a8130=_0xef435d;var _0x172d0a,_0x22f677,_0x3d0ed9;const _0x2c898d=_0x1c461e;let _0x2ff937=Number['MIN_SAFE_INTEGER'],_0x11588e=Number[_0x5a8130(0x221)],_0x477e4a=0x0,_0x525e7c=0x0;const _0x506a60=[];if(!_0x41fccb(_0x2c898d))_0x1878e4['setValue'](_0x451e1a,_0x53b4c8,{'groupId':_0x6227e7,'data':[],'max':_0x2ff937,'min':_0x11588e,'highIndex':_0x477e4a,'lowIndex':_0x525e7c,'negativeIndexes':_0x506a60});else{const _0x40ef9a=[];for(let _0x1e3ecb=_0x2c898d[_0x5a8130(0x26a)];_0x1e3ecb<=_0x2c898d[_0x5a8130(0x204)];_0x1e3ecb++){for(let _0x2a31d9=_0x2c898d['startColumn'];_0x2a31d9<=_0x2c898d[_0x5a8130(0x201)];_0x2a31d9++){const _0x50b223=_0x259e63[_0x5a8130(0x1f9)](_0x1e3ecb),_0x4428ab=_0x259e63[_0x5a8130(0x288)](_0x2a31d9);if(!_0x26cd95&&(!_0x50b223||!_0x4428ab))continue;let _0x4002de=0x0;const _0x174f42=((_0x172d0a=_0x259e63[_0x5a8130(0x247)](_0x1e3ecb,_0x2a31d9))==null?void 0x0:_0x172d0a['v'])!==void 0x0?_0x259e63[_0x5a8130(0x247)](_0x1e3ecb,_0x2a31d9):_0x259e63['getCell'](_0x1e3ecb,_0x2a31d9);if(!_0x174f42||_0x174f42['v']===void 0x0||_0x174f42['v']===null){const _0x3f8906=(_0x22f677=_0x45fedb['config'][_0x5a8130(0x250)])!=null?_0x22f677:J[_0x5a8130(0x285)];_0x3f8906===J[_0x5a8130(0x1fe)]?_0x4002de=0x0:_0x3f8906===J[_0x5a8130(0x285)]?_0x4002de=_0x5a8130(0x25b):_0x3f8906===J[_0x5a8130(0x22f)]&&(_0x4002de='u-connect');}else{if(_0x174f42['t']===_0x2df5f2['STRING']||_0x174f42['t']===_0x2df5f2[_0x5a8130(0x1ef)]){const _0x12b892=(_0x3d0ed9=_0x45fedb[_0x5a8130(0x1e2)]['nonNumShowAs'])!=null?_0x3d0ed9:J[_0x5a8130(0x285)];_0x12b892===J[_0x5a8130(0x1fe)]?_0x4002de=0x0:_0x12b892===J[_0x5a8130(0x285)]?_0x4002de='u-spacing':_0x12b892===J[_0x5a8130(0x22f)]&&(_0x4002de=_0x5a8130(0x1f1));}else _0x174f42['t']===_0x2df5f2[_0x5a8130(0x22e)]?_0x4002de=_0x174f42['v']?0x1:0x0:_0x174f42['t']===_0x2df5f2[_0x5a8130(0x23c)]?_0x4002de=Number(_0x174f42['v']):_0x4002de=_0x174f42['v'];}if(_0x40ef9a[_0x5a8130(0x268)](_0x4002de),typeof _0x4002de==_0x5a8130(0x219)){_0x2ff937=Math[_0x5a8130(0x298)](_0x2ff937,_0x4002de),_0x1b46e6=Math[_0x5a8130(0x298)](_0x1b46e6,_0x4002de),_0x3a7ba8=Math[_0x5a8130(0x23b)](_0x3a7ba8,_0x4002de),_0x11588e=Math[_0x5a8130(0x23b)](_0x11588e,_0x4002de);const _0x248d42=typeof _0x40ef9a[_0x477e4a]==_0x5a8130(0x219)?Number(_0x40ef9a[_0x477e4a]):Number[_0x5a8130(0x217)];_0x4002de>_0x248d42&&(_0x477e4a=_0x40ef9a['length']-0x1);const _0x4517e6=typeof _0x40ef9a[_0x525e7c]=='number'?Number(_0x40ef9a[_0x525e7c]):Number[_0x5a8130(0x221)];_0x4002de<_0x4517e6&&(_0x525e7c=_0x40ef9a[_0x5a8130(0x208)]-0x1),_0x4002de<0x0&&_0x506a60[_0x5a8130(0x268)](_0x40ef9a[_0x5a8130(0x208)]-0x1);}}_0x1878e4[_0x5a8130(0x286)](_0x451e1a,_0x53b4c8,{'groupId':_0x6227e7,'data':_0x40ef9a,'max':_0x2ff937,'min':_0x11588e,'highIndex':_0x477e4a,'lowIndex':_0x525e7c,'negativeIndexes':_0x506a60});}}});let _0x36677d=_0x1b46e6;((_0x2336b4=_0x45fedb['config'][_0xef435d(0x239)])==null?void 0x0:_0x2336b4[_0xef435d(0x270)])===De[_0xef435d(0x26b)]&&(_0x36677d=(_0x4e76e2=(_0x3c743f=_0x45fedb[_0xef435d(0x1e2)][_0xef435d(0x239)])==null?void 0x0:_0x3c743f[_0xef435d(0x28c)])!=null?_0x4e76e2:_0x1b46e6);let _0x33f1dc=_0x3a7ba8;((_0x41841e=_0x45fedb[_0xef435d(0x1e2)]['extremumMin'])==null?void 0x0:_0x41841e[_0xef435d(0x270)])===De['CUSTOM_EXTREMUM']&&(_0x33f1dc=(_0x5d711c=(_0x5ea0ed=_0x45fedb[_0xef435d(0x1e2)][_0xef435d(0x28d)])==null?void 0x0:_0x5ea0ed[_0xef435d(0x28c)])!=null?_0x5d711c:_0x3a7ba8);const _0x4f8575=(_0x1708ef=_0x45fedb[_0xef435d(0x1e2)][_0xef435d(0x259)])!=null?_0x1708ef:Xe['STANDARD'],_0x1188f3=(_0x34fef6=(_0x50b785=_0x45fedb[_0xef435d(0x1e2)][_0xef435d(0x241)])!=null?_0x50b785:(_0x2b357c=Le[_0x4f8575])==null?void 0x0:_0x2b357c[0x0])!=null?_0x34fef6:Le[_0xef435d(0x1f3)][0x0],_0x44b321=new _0x2068ab(_0x1188f3),_0x297286=_0x44b321[_0xef435d(0x253)](0.2)[_0xef435d(0x25c)](),_0x4b3d42=_0x44b321[_0xef435d(0x253)](0.05)['toRgbString']();_0x44d9dd[_0x6227e7]={'groupMax':_0x1b46e6,'groupMin':_0x3a7ba8,'showMax':_0x36677d,'showMin':_0x33f1dc,'startGradient':_0x297286,'endGradient':_0x4b3d42},this[_0xef435d(0x216)][_0xef435d(0x29c)]({'unitId':_0x1d2d73,'subUnitId':_0x52c3af,'groupId':_0x6227e7,'config':_0x45fedb,'type':_0x45a2a8});}[_0x457c39(0x1e5)](_0x31febf,_0x5a1942,_0x3fdf02,_0x4169d1){const _0x4caf7b=_0x457c39;this['_ensureConfigMap'](_0x31febf,_0x5a1942)[_0x4caf7b(0x1f0)](_0x3fdf02,_0x4169d1),this[_0x4caf7b(0x28f)](_0x31febf,_0x5a1942,_0x3fdf02,'add');}[_0x457c39(0x210)](_0x5a1936,_0xc830dd,_0x17a176,_0x147347){const _0x1f874e=_0x457c39;var _0x116727;const _0xe742ba=(_0x116727=this['_sparklineModel']['get'](_0x5a1936))==null?void 0x0:_0x116727[_0x1f874e(0x279)](_0xc830dd);_0x17a176[_0x1f874e(0x256)](_0x429b12=>{const _0x3cf20a=_0x1f874e;_0xe742ba!=null&&_0xe742ba['has'](_0x429b12)&&(_0xe742ba[_0x3cf20a(0x1f0)](_0x429b12,_0x147347),this[_0x3cf20a(0x28f)](_0x5a1936,_0xc830dd,_0x429b12));});}[_0x457c39(0x291)](_0x376cd1,_0x83285,_0x52aba3){const _0x4ba393=_0x457c39;var _0x3e14d3,_0x37fa63;const _0x5af6cd=this[_0x4ba393(0x24f)][_0x4ba393(0x279)](_0x376cd1);if(_0x5af6cd){const _0x6272aa=_0x5af6cd[_0x4ba393(0x279)](_0x83285);if(_0x6272aa){_0x6272aa[_0x4ba393(0x29f)](_0x52aba3);const _0x4a2492=(_0x3e14d3=this['_sparklineAnchorMap'][_0x4ba393(0x279)](_0x376cd1))==null?void 0x0:_0x3e14d3['get'](_0x83285);(_0x37fa63=_0x4a2492==null?void 0x0:_0x4a2492['matrix'])==null||_0x37fa63['forValue']((_0x2adb7f,_0x52308c,_0x2b2b71)=>{const _0x684d50=_0x4ba393;(_0x2b2b71==null?void 0x0:_0x2b2b71['groupId'])===_0x52aba3&&(_0x4a2492==null||_0x4a2492['matrix'][_0x684d50(0x20b)](_0x2adb7f,_0x52308c));}),this[_0x4ba393(0x216)][_0x4ba393(0x29c)]({'unitId':_0x376cd1,'subUnitId':_0x83285,'groupId':_0x52aba3,'type':_0x4ba393(0x1ed)});}}}[_0x457c39(0x276)](_0x3bb734,_0x13fd5c,_0x23caab,_0x303511){const _0x3b1830=_0x457c39;var _0x359c72,_0x54bee2,_0x747827,_0x1fa25b;const _0x19bc26=(_0x359c72=this[_0x3b1830(0x258)]['get'](_0x3bb734))==null?void 0x0:_0x359c72[_0x3b1830(0x279)](_0x13fd5c),_0x25817f=_0x19bc26==null?void 0x0:_0x19bc26['matrix'][_0x3b1830(0x255)](_0x23caab,_0x303511);if(_0x25817f){const {groupId:_0x2d100b}=_0x25817f,_0x12664d=(_0x54bee2=this['_sparklineModel'][_0x3b1830(0x279)](_0x3bb734))==null?void 0x0:_0x54bee2[_0x3b1830(0x279)](_0x13fd5c);(_0x747827=_0x12664d==null?void 0x0:_0x12664d['get'](_0x2d100b))==null||_0x747827[_0x3b1830(0x24b)]['realDeleteValue'](_0x23caab,_0x303511),(_0x1fa25b=_0x12664d==null?void 0x0:_0x12664d[_0x3b1830(0x279)](_0x2d100b))!=null&&_0x1fa25b[_0x3b1830(0x24b)][_0x3b1830(0x283)]()||_0x12664d==null||_0x12664d[_0x3b1830(0x29f)](_0x2d100b),_0x19bc26==null||_0x19bc26[_0x3b1830(0x20a)]['realDeleteValue'](_0x23caab,_0x303511),this[_0x3b1830(0x216)][_0x3b1830(0x29c)]({'unitId':_0x3bb734,'subUnitId':_0x13fd5c,'groupId':_0x2d100b,'type':_0x3b1830(0x1ed)});}}['clearSparklineCache'](_0x2b6a54,_0x58482a,_0x312930){const _0x1e2fdb=_0x457c39;var _0x51a644,_0x1ca249,_0x243b28,_0x1ac4d1;const _0x471d9a=(_0x243b28=(_0x1ca249=(_0x51a644=this[_0x1e2fdb(0x24f)][_0x1e2fdb(0x279)](_0x2b6a54))==null?void 0x0:_0x51a644[_0x1e2fdb(0x279)](_0x58482a))==null?void 0x0:_0x1ca249[_0x1e2fdb(0x279)](_0x312930))==null?void 0x0:_0x243b28[_0x1e2fdb(0x24b)],_0x165d52=(_0x1ac4d1=this[_0x1e2fdb(0x258)][_0x1e2fdb(0x279)](_0x2b6a54))==null?void 0x0:_0x1ac4d1[_0x1e2fdb(0x279)](_0x58482a);if(_0x471d9a&&_0x165d52){const {matrix:_0x4a1a81,extra:_0x3f48f3}=_0x165d52;_0x471d9a[_0x1e2fdb(0x24e)]((_0x277b0b,_0x497f2e,_0x89f759)=>{const _0x8f2411=_0x1e2fdb;_0x4a1a81[_0x8f2411(0x20b)](_0x277b0b,_0x497f2e);}),delete _0x3f48f3[_0x312930];}}[_0x457c39(0x20c)](_0x1f4949,_0x47f83c){const _0x3bdab6=_0x457c39;var _0x254595;return(_0x254595=this['_sparklineModel']['get'](_0x1f4949))==null?void 0x0:_0x254595[_0x3bdab6(0x279)](_0x47f83c);}[_0x457c39(0x2a0)](_0x538ecd,_0x75b09c,_0x54ea30){const _0x409744=_0x457c39;var _0x588acf,_0x2e3847;return(_0x2e3847=(_0x588acf=this[_0x409744(0x24f)]['get'](_0x538ecd))==null?void 0x0:_0x588acf[_0x409744(0x279)](_0x75b09c))==null?void 0x0:_0x2e3847['get'](_0x54ea30);}[_0x457c39(0x262)](_0x420c6e,_0x42adf4,_0x2801ef,_0x80688a){const _0x1b06d5=_0x457c39;var _0xf66bfd,_0x56cf63,_0x3b926a;return(_0x3b926a=(_0x56cf63=(_0xf66bfd=this['_sparklineAnchorMap'][_0x1b06d5(0x279)](_0x420c6e))==null?void 0x0:_0xf66bfd[_0x1b06d5(0x279)](_0x42adf4))==null?void 0x0:_0x56cf63[_0x1b06d5(0x20a)][_0x1b06d5(0x255)](_0x2801ef,_0x80688a))==null?void 0x0:_0x3b926a[_0x1b06d5(0x23d)];}[_0x457c39(0x240)](_0x5eedd9,_0xbc0fc8){const _0x33173d=_0x457c39;var _0x44b174;const _0x2463b1=this[_0x33173d(0x29e)](_0x5eedd9,_0xbc0fc8);_0x2463b1[_0x33173d(0x20a)][_0x33173d(0x24e)]((_0x53dcb1,_0x4ed874)=>{const _0x2b1b01=_0x33173d;_0x2463b1['matrix'][_0x2b1b01(0x20b)](_0x53dcb1,_0x4ed874);});const _0x1e8fb2=(_0x44b174=this[_0x33173d(0x24f)][_0x33173d(0x279)](_0x5eedd9))==null?void 0x0:_0x44b174['get'](_0xbc0fc8);if(_0x1e8fb2){for(const [_0xe2ab37]of _0x1e8fb2)this[_0x33173d(0x28f)](_0x5eedd9,_0xbc0fc8,_0xe2ab37);}}[_0x457c39(0x277)](){const _0x155473=_0x457c39;return{'sparklineModel':this[_0x155473(0x24f)],'sparklineAnchorMap':this['_sparklineAnchorMap']};}['toJSON'](_0x524afb){const _0x511cbd=_0x457c39,_0x16c21e={};if(this[_0x511cbd(0x24f)][_0x511cbd(0x211)](_0x524afb)){_0x16c21e[_0x524afb]={};const _0x4f4f85=this[_0x511cbd(0x24f)][_0x511cbd(0x279)](_0x524afb);_0x4f4f85!=null&&_0x4f4f85[_0x511cbd(0x214)]&&Array[_0x511cbd(0x22b)](_0x4f4f85[_0x511cbd(0x1f5)]())['forEach'](_0x124621=>{const _0x28d647=_0x511cbd;_0x16c21e[_0x524afb][_0x124621]={};const _0x47bd79=_0x4f4f85[_0x28d647(0x279)](_0x124621);_0x47bd79!=null&&_0x47bd79[_0x28d647(0x214)]&&Array['from'](_0x47bd79[_0x28d647(0x1f5)]())['forEach'](_0x48498b=>{const _0x2af16d=_0x28d647,_0x4bacd2=_0x47bd79[_0x2af16d(0x279)](_0x48498b);_0x4bacd2&&(_0x16c21e[_0x524afb][_0x124621][_0x48498b]={'config':_0x4bacd2['config'],'sparklines':_0x4bacd2['sparklines'][_0x2af16d(0x26c)]()});});});}return _0x16c21e;}[_0x457c39(0x234)](_0x3dfadf){const _0xeb7fe1=_0x457c39;if(!_0x3dfadf)return;Object[_0xeb7fe1(0x1f5)](_0x3dfadf)[_0xeb7fe1(0x256)](_0x5d8272=>{const _0x45a27f=_0x3dfadf[_0x5d8272];_0x45a27f&&Object['keys'](_0x45a27f)['forEach'](_0x46af3d=>{const _0x38f605=_0x2868,_0x1ffc72=_0x45a27f[_0x46af3d];_0x1ffc72&&Object[_0x38f605(0x1f5)](_0x1ffc72)['forEach'](_0x4d534b=>{const _0x7645a1=_0x38f605,_0x46ba72=_0x1ffc72[_0x4d534b];if(_0x46ba72){const _0x20e5d4={'config':_0x46ba72[_0x7645a1(0x1e2)],'sparklines':new _0x7156f0(_0x46ba72[_0x7645a1(0x24b)])};this[_0x7645a1(0x1e5)](_0x5d8272,_0x46af3d,_0x4d534b,_0x20e5d4);}});});});}['deleteUnit'](_0x1d4581){const _0x3d02ad=_0x457c39,_0x19beba=this[_0x3d02ad(0x24f)][_0x3d02ad(0x279)](_0x1d4581);if(_0x19beba){for(const [_0x23eda8]of _0x19beba){const _0x241238=_0x19beba[_0x3d02ad(0x279)](_0x23eda8);if(_0x241238){for(const [_0x1a8b2b]of _0x241238)this[_0x3d02ad(0x238)](_0x1d4581,_0x23eda8,_0x1a8b2b);}}this[_0x3d02ad(0x24f)][_0x3d02ad(0x29f)](_0x1d4581);}}};x=Vt([yt(0x0,_0x1ee6de(_0x38b140))],x);const V={'id':_0x457c39(0x1f8),'type':_0x1d9dba[_0x457c39(0x231)],'handler':(_0x1a2d51,_0x58b4d2)=>{if(!_0x58b4d2)return!0x1;const {sparklineConfigMap:_0x5b3bb0,unitId:_0x1ff887,subUnitId:_0x3de925}=_0x58b4d2,_0x2131f5=_0x1a2d51['get'](x);return Object['entries'](_0x5b3bb0)['forEach'](([_0x456c26,_0x9badf0])=>{const _0x173da0=_0x2868,_0x287a7f={'config':_0x9badf0[_0x173da0(0x1e2)],'sparklines':new _0x7156f0(_0x9badf0[_0x173da0(0x24b)])};_0x2131f5[_0x173da0(0x1e5)](_0x1ff887,_0x3de925,_0x456c26,_0x287a7f);}),!0x0;}},y={'id':'sheet.mutation.remove-sparkline','type':_0x1d9dba[_0x457c39(0x231)],'handler':(_0x758c36,_0x45513f)=>{const _0x5450bf=_0x457c39;if(!_0x45513f)return!0x1;const {unitId:_0x50754d,subUnitId:_0x58ec71,ranges:_0xd0d52f,isSingle:_0x420d73,groupIds:_0x594709}=_0x45513f,_0x126fbf=_0x758c36[_0x5450bf(0x279)](x);return _0x594709?(_0x594709[_0x5450bf(0x256)](_0x38cebe=>{const _0x13dbe2=_0x5450bf;_0x126fbf[_0x13dbe2(0x291)](_0x50754d,_0x58ec71,_0x38cebe);}),!0x0):_0xd0d52f?(_0xd0d52f['forEach'](_0x41a1d9=>{const _0x4e8f82=_0x5450bf;_0x2fd36e[_0x4e8f82(0x23f)](_0x41a1d9,(_0x1279e4,_0x2d3659)=>{const _0x26fdc9=_0x4e8f82,_0xaa581d=_0x126fbf[_0x26fdc9(0x262)](_0x50754d,_0x58ec71,_0x1279e4,_0x2d3659);_0xaa581d&&(_0x420d73?_0x126fbf['removePartSparkline'](_0x50754d,_0x58ec71,_0x1279e4,_0x2d3659):_0x126fbf[_0x26fdc9(0x291)](_0x50754d,_0x58ec71,_0xaa581d));});}),!0x0):!0x1;}},Nt={'id':_0x457c39(0x27b),'type':_0x1d9dba[_0x457c39(0x20f)],'handler':(_0x4c60da,_0x56ac5b)=>{const _0x3ad1e6=_0x457c39;if(!_0x56ac5b)return!0x1;const {sourceRanges:_0x2c0d97,targetRanges:_0x398910,config:_0x3e7cb6}=_0x56ac5b,_0x5ba5cd=_0x4c60da[_0x3ad1e6(0x279)](_0x31c206),_0x1e8a4f='g_'+_0x3768bd(0x6),_0x1eb3e7=Fe(_0x2c0d97,_0x398910),_0x3d52cd={'config':_0x3e7cb6!=null?_0x3e7cb6:{},'sparklines':_0x1eb3e7['getMatrix']()},_0x91910f=_0x4c60da[_0x3ad1e6(0x279)](_0x38b140),_0x1d6675=_0x4c60da['get'](x),_0x1cf2b7=_0x52e565(_0x91910f);if(!_0x1cf2b7)return!0x1;const {unitId:_0x5bd548,subUnitId:_0x3ee1f0}=_0x1cf2b7,_0x2917b6=_0x4c60da[_0x3ad1e6(0x279)](_0x496f25),_0x5bfaf3=[],_0xa81618=[],_0x1e1c59={},_0x2f9bb1={},_0x1f8159=new Set([_0x1e8a4f]);_0x1eb3e7[_0x3ad1e6(0x24e)]((_0x3f5c5d,_0x28d984,_0x49fbac)=>{const _0x554fe7=_0x3ad1e6,_0x1baf5a=_0x1d6675[_0x554fe7(0x262)](_0x5bd548,_0x3ee1f0,_0x3f5c5d,_0x28d984);if(_0x1baf5a){const _0x62d087=_0x1d6675[_0x554fe7(0x2a0)](_0x5bd548,_0x3ee1f0,_0x1baf5a);if(_0x62d087){_0x1f8159[_0x554fe7(0x232)](_0x1baf5a);let _0x19f6d9=_0x1e1c59[_0x1baf5a],_0x4730de=_0x2f9bb1[_0x1baf5a];_0x4730de||(_0x4730de={'config':_0x370ae7['deepClone'](_0x62d087[_0x554fe7(0x1e2)]),'sparklines':new _0x7156f0(_0x62d087['sparklines'][_0x554fe7(0x22d)]())},_0x2f9bb1[_0x1baf5a]=_0x4730de),_0x19f6d9||(_0x19f6d9={'config':_0x370ae7['deepClone'](_0x62d087[_0x554fe7(0x1e2)]),'sparklines':_0x62d087['sparklines'][_0x554fe7(0x22d)]()},_0x1e1c59[_0x1baf5a]=_0x19f6d9),_0x4730de[_0x554fe7(0x24b)]['realDeleteValue'](_0x3f5c5d,_0x28d984);}}});const _0x356017={};return Object['entries'](_0x2f9bb1)[_0x3ad1e6(0x256)](([_0x445aab,_0x3c894])=>{const _0x57606c=_0x3ad1e6;_0x3c894[_0x57606c(0x24b)][_0x57606c(0x26e)]()&&(_0x356017[_0x445aab]={'config':_0x3c894['config'],'sparklines':_0x3c894[_0x57606c(0x24b)][_0x57606c(0x22d)]()});}),_0x356017[_0x1e8a4f]=_0x3d52cd,_0x5bfaf3[_0x3ad1e6(0x268)]({'id':y['id'],'params':{'unitId':_0x5bd548,'subUnitId':_0x3ee1f0,'groupIds':Array[_0x3ad1e6(0x22b)](_0x1f8159),'isSingle':!0x1}}),_0x1f8159[_0x3ad1e6(0x214)]>0x1&&(_0xa81618['push']({'id':y['id'],'params':{'unitId':_0x5bd548,'subUnitId':_0x3ee1f0,'groupIds':Array['from'](_0x1f8159),'isSingle':!0x1}}),_0x5bfaf3['push']({'id':V['id'],'params':{'unitId':_0x5bd548,'subUnitId':_0x3ee1f0,'sparklineConfigMap':_0x1e1c59}})),_0xa81618['push']({'id':V['id'],'params':{'unitId':_0x5bd548,'subUnitId':_0x3ee1f0,'sparklineConfigMap':_0x356017}}),_0x3af742(_0xa81618,_0x2917b6),_0x5ba5cd[_0x3ad1e6(0x284)]({'unitID':_0x5bd548,'undoMutations':_0x5bfaf3,'redoMutations':_0xa81618}),!0x0;}},Ot={'id':_0x457c39(0x1fa),'type':_0x1d9dba['COMMAND'],'handler':(_0xfe61af,_0x10df4d)=>{const _0x562845=_0x457c39;var _0x577c56;const {isSingle:_0x238b09=!0x0}=_0x10df4d||{},_0x5d6a8a=_0xfe61af[_0x562845(0x279)](_0x496f25),_0x541e0a=_0xfe61af[_0x562845(0x279)](_0x38b140),_0x2bb513=_0xfe61af[_0x562845(0x279)](x),_0x5eab54=_0xfe61af[_0x562845(0x279)](_0x31c206),_0x486be0=_0x52e565(_0x541e0a);if(!_0x486be0)return!0x1;const _0x2f7044=_0xfe61af[_0x562845(0x279)](_0x345bfe),_0x3e03d6=(_0x577c56=_0x10df4d==null?void 0x0:_0x10df4d[_0x562845(0x228)])!=null?_0x577c56:_0x2f7044['getCurrentSelections']()[_0x562845(0x25a)](_0x50a2e5=>_0x50a2e5[_0x562845(0x21f)]),{unitId:_0x42ccd3,subUnitId:_0x575a30}=_0x486be0,_0x41e200=[],_0x1bd3a3=[];_0x41e200['push']({'id':y['id'],'params':{'unitId':_0x42ccd3,'subUnitId':_0x575a30,'ranges':_0x3e03d6,'isSingle':_0x238b09}});const _0x46c234=[],_0x211599={};return _0x3e03d6['forEach'](_0x4a3ce2=>{const _0x308d15=_0x562845;_0x2fd36e[_0x308d15(0x23f)](_0x4a3ce2,(_0x891130,_0x7048b0)=>{const _0x5f535e=_0x308d15,_0x51da51=_0x2bb513[_0x5f535e(0x262)](_0x42ccd3,_0x575a30,_0x891130,_0x7048b0);if(_0x51da51){const _0xc4d808=_0x2bb513[_0x5f535e(0x2a0)](_0x42ccd3,_0x575a30,_0x51da51);_0xc4d808&&(_0x46c234[_0x5f535e(0x268)](_0x51da51),_0x211599[_0x51da51]={'config':_0x370ae7[_0x5f535e(0x257)](_0xc4d808[_0x5f535e(0x1e2)]),'sparklines':_0x370ae7[_0x5f535e(0x257)](_0xc4d808[_0x5f535e(0x24b)][_0x5f535e(0x22d)]())});}});}),_0x1bd3a3[_0x562845(0x268)]({'id':y['id'],'params':{'unitId':_0x42ccd3,'subUnitId':_0x575a30,'groupIds':_0x46c234,'isSingle':!0x1}}),_0x1bd3a3[_0x562845(0x268)]({'id':V['id'],'params':{'unitId':_0x42ccd3,'subUnitId':_0x575a30,'sparklineConfigMap':_0x211599}}),_0x3af742(_0x41e200,_0x5d6a8a),_0x5eab54[_0x562845(0x284)]({'unitID':_0x42ccd3,'undoMutations':_0x1bd3a3,'redoMutations':_0x41e200}),!0x0;}},Oe={'id':_0x457c39(0x265),'type':_0x1d9dba[_0x457c39(0x231)],'handler':(_0x5cfc00,_0x3a0fb1)=>{const _0x3bac1e=_0x457c39;if(!_0x3a0fb1)return!0x1;const {unitId:_0x450105,subUnitId:_0x4322dd,groupIds:_0x1afbfa,config:_0xa42b89}=_0x3a0fb1,_0x4dd35a=_0x5cfc00[_0x3bac1e(0x279)](x);return _0x1afbfa[_0x3bac1e(0x256)](_0x88bc4a=>{const _0x5a8b94=_0x3bac1e,_0x142a0a=_0x4dd35a[_0x5a8b94(0x2a0)](_0x450105,_0x4322dd,_0x88bc4a);if(_0x142a0a){const _0x306fc5={'config':Object[_0x5a8b94(0x245)]({},_0x142a0a[_0x5a8b94(0x1e2)],_0xa42b89['config']),'sparklines':new _0x7156f0(_0x142a0a[_0x5a8b94(0x24b)][_0x5a8b94(0x22d)]())};_0x4dd35a[_0x5a8b94(0x210)](_0x450105,_0x4322dd,[_0x88bc4a],_0x306fc5);}}),!0x0;}},xt={'id':'sheet.command.set-sparkline','type':_0x1d9dba['COMMAND'],'handler':(_0x4907b7,_0x2a6790)=>{const _0x414846=_0x457c39;var _0x36ce54,_0x315fc6,_0x5f134d,_0x25f353;if(!_0x2a6790)return!0x1;const _0x185109=_0x4907b7[_0x414846(0x279)](_0x496f25),_0x27d990=_0x4907b7['get'](_0x345bfe),_0x5e6dd2=_0x4907b7[_0x414846(0x279)](x),_0xe6d05f=_0x4907b7[_0x414846(0x279)](_0x38b140),_0x42d1aa=_0x4907b7[_0x414846(0x279)](_0x31c206),_0x5b0165=_0x52e565(_0xe6d05f);if(!_0x5b0165)return!0x1;const {unitId:_0x332300,subUnitId:_0x99118e}=_0x5b0165,_0x2d6c9c=(_0x36ce54=_0x2a6790==null?void 0x0:_0x2a6790[_0x414846(0x228)])!=null?_0x36ce54:_0x27d990[_0x414846(0x251)]()[_0x414846(0x25a)](_0x461716=>_0x461716['range']),_0x3f597b=(_0x315fc6=_0x5e6dd2[_0x414846(0x277)]()['sparklineAnchorMap']['get'](_0x332300))==null?void 0x0:_0x315fc6['get'](_0x99118e),{isChangeDataSource:_0x5f5512,config:_0x3f22a3,combine:_0x2b8c90,unCombine:_0x2d6a05}=_0x2a6790;if(_0x2b8c90){const _0x4df95d=[],_0x39e111=[];_0x4df95d['push']({'id':y['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'ranges':_0x2d6c9c,'isSingle':!0x0}});const _0x343466='g_'+_0x3768bd(0x6),_0x4c3734=new _0x7156f0(),_0xcc0b89=(_0x5f134d=_0x5e6dd2[_0x414846(0x277)]()['sparklineModel'][_0x414846(0x279)](_0x332300))==null?void 0x0:_0x5f134d[_0x414846(0x279)](_0x99118e),_0x52c6e5=new Set([_0x343466]),_0x3014f4={};return _0x2d6c9c['forEach'](_0x3aabd0=>{const _0x4ea76e=_0x414846;var _0xf4b1b2,_0x3b1b24;const {startRow:_0x45dd68,endRow:_0x17cda4,startColumn:_0x5bdba7,endColumn:_0x57dab7}=_0x3aabd0;for(let _0x38294c=_0x45dd68;_0x38294c<=_0x17cda4;_0x38294c++)for(let _0x58b9e0=_0x5bdba7;_0x58b9e0<=_0x57dab7;_0x58b9e0++){const _0x55f7f3=(_0xf4b1b2=_0x3f597b==null?void 0x0:_0x3f597b[_0x4ea76e(0x20a)]['getValue'](_0x38294c,_0x58b9e0))==null?void 0x0:_0xf4b1b2[_0x4ea76e(0x23d)];if(_0x55f7f3){_0x52c6e5[_0x4ea76e(0x232)](_0x55f7f3);const _0x5092c7=_0x5e6dd2[_0x4ea76e(0x2a0)](_0x332300,_0x99118e,_0x55f7f3);_0x5092c7&&(_0x3014f4[_0x55f7f3]={'config':_0x370ae7['deepClone'](_0x5092c7[_0x4ea76e(0x1e2)]),'sparklines':_0x370ae7[_0x4ea76e(0x257)](_0x5092c7['sparklines']['clone']())});const _0x755e0a=(_0x3b1b24=_0xcc0b89==null?void 0x0:_0xcc0b89['get'](_0x55f7f3))==null?void 0x0:_0x3b1b24['sparklines'][_0x4ea76e(0x255)](_0x38294c,_0x58b9e0);_0x755e0a&&_0x4c3734['setValue'](_0x38294c,_0x58b9e0,_0x755e0a);}}}),_0x4df95d[_0x414846(0x268)]({'id':V['id'],'params':{'sparklineConfigMap':{[_0x343466]:{'config':_0x370ae7[_0x414846(0x257)](_0x3f22a3[_0x414846(0x1e2)]),'sparklines':_0x4c3734['getMatrix']()}},'unitId':_0x332300,'subUnitId':_0x99118e}}),_0x39e111[_0x414846(0x268)]({'id':y['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'isSingle':!0x1,'groupIds':Array[_0x414846(0x22b)](_0x52c6e5)}}),_0x39e111[_0x414846(0x268)]({'id':V['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'sparklineConfigMap':_0x3014f4}}),_0x3af742(_0x4df95d,_0x185109),_0x42d1aa[_0x414846(0x284)]({'unitID':_0x332300,'undoMutations':_0x39e111,'redoMutations':_0x4df95d}),!0x0;}else{if(_0x2d6a05){const _0x3b69b7=[],_0x47f9ba=[];_0x3b69b7[_0x414846(0x268)]({'id':y['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'ranges':_0x2d6c9c,'isSingle':!0x0}});const _0x561753=(_0x25f353=_0x5e6dd2[_0x414846(0x277)]()[_0x414846(0x260)][_0x414846(0x279)](_0x332300))==null?void 0x0:_0x25f353[_0x414846(0x279)](_0x99118e),_0x46a5c9={},_0x5bc5fe=new Set(),_0x1a8acf={};return _0x2d6c9c[_0x414846(0x256)](_0x5b19b9=>{const _0xd0ce7=_0x414846;var _0x37fb65,_0x3934af;const {startRow:_0x51b9e5,endRow:_0x15e1a1,startColumn:_0x21a79c,endColumn:_0x3344a9}=_0x5b19b9;for(let _0x508353=_0x51b9e5;_0x508353<=_0x15e1a1;_0x508353++)for(let _0x2a1e90=_0x21a79c;_0x2a1e90<=_0x3344a9;_0x2a1e90++){const _0x4b4810=(_0x37fb65=_0x3f597b==null?void 0x0:_0x3f597b[_0xd0ce7(0x20a)][_0xd0ce7(0x255)](_0x508353,_0x2a1e90))==null?void 0x0:_0x37fb65[_0xd0ce7(0x23d)];if(_0x4b4810){const _0x5aa05f=new _0x7156f0(),_0x3bf930='g_'+_0x3768bd(0x6);_0x5bc5fe[_0xd0ce7(0x232)](_0x4b4810),_0x5bc5fe[_0xd0ce7(0x232)](_0x3bf930);const _0xddbcfa=_0x5e6dd2[_0xd0ce7(0x2a0)](_0x332300,_0x99118e,_0x4b4810);_0xddbcfa&&(_0x1a8acf[_0x4b4810]={'config':_0x370ae7[_0xd0ce7(0x257)](_0xddbcfa['config']),'sparklines':_0x370ae7[_0xd0ce7(0x257)](_0xddbcfa[_0xd0ce7(0x24b)][_0xd0ce7(0x22d)]())});const _0x1e9b21=(_0x3934af=_0x561753==null?void 0x0:_0x561753['get'](_0x4b4810))==null?void 0x0:_0x3934af[_0xd0ce7(0x24b)]['getValue'](_0x508353,_0x2a1e90);_0x1e9b21&&_0x5aa05f[_0xd0ce7(0x286)](_0x508353,_0x2a1e90,_0x1e9b21),_0x46a5c9[_0x3bf930]={'sparklines':_0x5aa05f[_0xd0ce7(0x26c)](),'config':_0x370ae7['deepClone'](_0x3f22a3[_0xd0ce7(0x1e2)])};}}}),_0x3b69b7['push']({'id':V['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'sparklineConfigMap':_0x46a5c9}}),_0x47f9ba['push']({'id':y['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'isSingle':!0x1,'groupIds':Array[_0x414846(0x22b)](_0x5bc5fe)}}),_0x47f9ba[_0x414846(0x268)]({'id':V['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'sparklineConfigMap':_0x1a8acf}}),_0x3af742(_0x3b69b7,_0x185109),_0x42d1aa[_0x414846(0x284)]({'unitID':_0x332300,'undoMutations':_0x47f9ba,'redoMutations':_0x3b69b7}),!0x0;}}if(_0x5f5512){const _0x41756b=_0x2a6790['changeDataSourceInfo'];if(!_0x41756b)return!0x1;const {groupId:_0x5bf1c5,sourceRanges:_0xbdcf7e,targetRanges:_0x45ad62,resetType:_0xcd40b8,primary:_0x518394}=_0x41756b,_0x4a9e69=[],_0x5e07b8=[];_0x4a9e69[_0x414846(0x268)]({'id':y['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'ranges':_0x2d6c9c,'isSingle':!0x1,'groupIds':[_0x5bf1c5]}}),_0x5e07b8['push']({'id':y['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'ranges':_0x2d6c9c,'isSingle':!0x1,'groupIds':[_0x5bf1c5]}});let _0x5a18bb;_0xcd40b8===_0x414846(0x29a)?(_0x5a18bb=new _0x7156f0(_0x3f22a3[_0x414846(0x24b)][_0x414846(0x22d)]()),_0x5a18bb[_0x414846(0x20b)](_0x518394[_0x414846(0x215)],_0x518394[_0x414846(0x254)]),_0x5a18bb['setValue'](_0x45ad62[0x0]['startRow'],_0x45ad62[0x0][_0x414846(0x1f6)],_0xbdcf7e[0x0])):_0x5a18bb=Fe(_0xbdcf7e,_0x45ad62);const _0x5030c6={'config':_0x370ae7['deepClone'](_0x3f22a3[_0x414846(0x1e2)]),'sparklines':_0x5a18bb['getMatrix']()},_0x104bb1={'config':_0x370ae7[_0x414846(0x257)](_0x3f22a3[_0x414846(0x1e2)]),'sparklines':_0x370ae7[_0x414846(0x257)](_0x3f22a3[_0x414846(0x24b)][_0x414846(0x22d)]())};_0x4a9e69[_0x414846(0x268)]({'id':V['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'sparklineConfigMap':{[_0x5bf1c5]:_0x5030c6}}}),_0x5e07b8['push']({'id':V['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'sparklineConfigMap':{[_0x5bf1c5]:_0x104bb1}}}),_0x3af742(_0x4a9e69,_0x185109),_0x42d1aa[_0x414846(0x284)]({'unitID':_0x332300,'undoMutations':_0x5e07b8,'redoMutations':_0x4a9e69});}else{const _0x18c70b=[],_0x3ada20=[],_0xf41959=new Set(),_0x265bb0={};_0x2d6c9c['forEach'](_0x3d6d1f=>{const _0x21d751=_0x414846;var _0x1ce697;const {startRow:_0x12b1b0,endRow:_0x47c054,startColumn:_0x37f2bb,endColumn:_0x307095}=_0x3d6d1f;for(let _0x5be922=_0x12b1b0;_0x5be922<=_0x47c054;_0x5be922++)for(let _0x4bbf2e=_0x37f2bb;_0x4bbf2e<=_0x307095;_0x4bbf2e++){const _0x5cee70=(_0x1ce697=_0x3f597b==null?void 0x0:_0x3f597b['matrix'][_0x21d751(0x255)](_0x5be922,_0x4bbf2e))==null?void 0x0:_0x1ce697[_0x21d751(0x23d)];if(_0x5cee70){_0xf41959[_0x21d751(0x232)](_0x5cee70);const _0x309c5d=_0x5e6dd2['getSparklineById'](_0x332300,_0x99118e,_0x5cee70);_0x309c5d&&(_0x265bb0[_0x5cee70]={'config':_0x370ae7['deepClone'](_0x309c5d[_0x21d751(0x1e2)]),'sparklines':_0x370ae7[_0x21d751(0x257)](_0x309c5d['sparklines'][_0x21d751(0x22d)]())});}}}),_0x3ada20[_0x414846(0x268)]({'id':Oe['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'groupIds':Array[_0x414846(0x22b)](_0xf41959),'config':{'config':_0x370ae7[_0x414846(0x257)](_0x3f22a3[_0x414846(0x1e2)]),'sparklines':_0x3f22a3['sparklines'][_0x414846(0x26c)]()}}}),_0x18c70b[_0x414846(0x268)]({'id':y['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'isSingle':!0x1,'groupIds':Array[_0x414846(0x22b)](_0xf41959)}}),_0x18c70b[_0x414846(0x268)]({'id':V['id'],'params':{'unitId':_0x332300,'subUnitId':_0x99118e,'sparklineConfigMap':_0x265bb0}}),_0x3af742(_0x3ada20,_0x185109),_0x42d1aa[_0x414846(0x284)]({'unitID':_0x332300,'undoMutations':_0x18c70b,'redoMutations':_0x3ada20});}return!0x0;}};var Ut=Object[_0x457c39(0x21b)],Pt=(_0xfb9e70,_0x57a435,_0x3bed2e,_0x45bc12)=>{for(var _0x172ff3=_0x45bc12>0x1?void 0x0:_0x45bc12?Ut(_0x57a435,_0x3bed2e):_0x57a435,_0x177e4b=_0xfb9e70['length']-0x1,_0x57971b;_0x177e4b>=0x0;_0x177e4b--)(_0x57971b=_0xfb9e70[_0x177e4b])&&(_0x172ff3=_0x57971b(_0x172ff3)||_0x172ff3);return _0x172ff3;},fe=(_0x39e737,_0x49945d)=>(_0x1197d2,_0xe3c306)=>_0x49945d(_0x1197d2,_0xe3c306,_0x39e737);let Se=class extends _0x486845{constructor(_0x2b25a7,_0x5809d1,_0x6e6506,_0x5c5e96){const _0x3045fc=_0x457c39;super(),this['_sparklineDataSourceModel']=_0x2b25a7,this[_0x3045fc(0x218)]=_0x5809d1,this['_univerInstanceService']=_0x6e6506,this[_0x3045fc(0x235)]=_0x5c5e96,this['_initClearWithSparkline']();}[_0x457c39(0x1fb)](){const _0x1e062b=_0x457c39;this[_0x1e062b(0x206)](this[_0x1e062b(0x218)][_0x1e062b(0x225)]({'getMutations':_0x531979=>{const _0x1e7d87=_0x1e062b,_0x377bbd=[],_0x15eb27=[];if(_0x531979['id']===_0x1f9ce3['id']){const _0x133c8c=_0x52e565(this[_0x1e7d87(0x202)]);if(!_0x133c8c)return{'redos':_0x377bbd,'undos':_0x15eb27};const {unitId:_0x19700e,subUnitId:_0x264c15,worksheet:_0x292e1c}=_0x133c8c,_0x471b72=this[_0x1e7d87(0x235)]['getCurrentSelections']()[_0x1e7d87(0x25a)](_0x392d3f=>_0x392d3f[_0x1e7d87(0x21f)]),_0x13936c=new Set(),_0x45e61a={},_0x30cfc7={};_0x471b72['forEach'](_0x20e3af=>{const _0x55240f=_0x1e7d87;_0x2fd36e[_0x55240f(0x23f)](_0x20e3af,(_0x16c6cb,_0x4570ad)=>{const _0x1a817e=_0x55240f,_0x5496f0=this[_0x1a817e(0x267)][_0x1a817e(0x262)](_0x19700e,_0x264c15,_0x16c6cb,_0x4570ad);if(_0x5496f0&&!_0x13936c[_0x1a817e(0x211)](_0x5496f0)){const _0x5a57ee=this['_sparklineDataSourceModel'][_0x1a817e(0x2a0)](_0x19700e,_0x264c15,_0x5496f0);_0x5a57ee&&(_0x13936c['add'](_0x5496f0),_0x45e61a[_0x5496f0]={'config':_0x370ae7[_0x1a817e(0x257)](_0x5a57ee[_0x1a817e(0x1e2)]),'sparklines':_0x370ae7[_0x1a817e(0x257)](_0x5a57ee['sparklines'][_0x1a817e(0x22d)]())},_0x30cfc7[_0x5496f0]={'config':_0x370ae7['deepClone'](_0x5a57ee[_0x1a817e(0x1e2)]),'sparklines':_0x370ae7[_0x1a817e(0x257)](_0x5a57ee['sparklines'][_0x1a817e(0x22d)]())});}});}),Object[_0x1e7d87(0x224)](_0x30cfc7)[_0x1e7d87(0x256)](_0x2d4596=>{const _0x342505=_0x1e7d87,_0x1b5597=_0x2d4596[_0x342505(0x24b)];new _0x7156f0(_0x1b5597)['forValue']((_0x2a82da,_0x57d460,_0x3fefdd)=>{const _0x404708=_0x342505;_0x471b72[_0x404708(0x27d)](_0x43362e=>_0x5cc02f[_0x404708(0x1ec)](_0x43362e,_0x18d16b(_0x2a82da,_0x57d460)))&&delete _0x1b5597[_0x2a82da][_0x57d460];});}),_0x377bbd[_0x1e7d87(0x268)]({'id':y['id'],'params':{'unitId':_0x19700e,'subUnitId':_0x264c15,'groupIds':Array[_0x1e7d87(0x22b)](_0x13936c),'isSingle':!0x1}}),_0x377bbd[_0x1e7d87(0x268)]({'id':V['id'],'params':{'unitId':_0x19700e,'subUnitId':_0x264c15,'sparklineConfigMap':_0x30cfc7}}),_0x15eb27[_0x1e7d87(0x268)]({'id':y['id'],'params':{'unitId':_0x19700e,'subUnitId':_0x264c15,'groupIds':Array['from'](_0x13936c),'isSingle':!0x1}}),_0x15eb27[_0x1e7d87(0x268)]({'id':V['id'],'params':{'unitId':_0x19700e,'subUnitId':_0x264c15,'sparklineConfigMap':_0x45e61a}});}return{'redos':_0x377bbd,'undos':_0x15eb27};}}));}};Se=Pt([fe(0x0,_0x1ee6de(x)),fe(0x1,_0x1ee6de(_0x30e4aa)),fe(0x2,_0x1ee6de(_0x38b140)),fe(0x3,_0x1ee6de(_0x345bfe))],Se);var Tt=Object['getOwnPropertyDescriptor'],$t=(_0x4e4791,_0x48a589,_0x188e52,_0x252ecb)=>{for(var _0x369f67=_0x252ecb>0x1?void 0x0:_0x252ecb?Tt(_0x48a589,_0x188e52):_0x48a589,_0x43d0f4=_0x4e4791['length']-0x1,_0x2a025f;_0x43d0f4>=0x0;_0x43d0f4--)(_0x2a025f=_0x4e4791[_0x43d0f4])&&(_0x369f67=_0x2a025f(_0x369f67)||_0x369f67);return _0x369f67;},Ge=(_0x1b2afc,_0x2bfc9e)=>(_0x18fa05,_0x4a0988)=>_0x2bfc9e(_0x18fa05,_0x4a0988,_0x1b2afc);let ke=class extends _0x486845{constructor(_0xe36b84,_0xb8684d){const _0x18e13d=_0x457c39;super(),this['_sheetInterceptorService']=_0xe36b84,this[_0x18e13d(0x267)]=_0xb8684d,this['_initCopySheetWithSparkline']();}[_0x457c39(0x1fc)](){const _0x340e51=_0x457c39;this[_0x340e51(0x206)](this[_0x340e51(0x218)][_0x340e51(0x225)]({'getMutations':_0x1453e5=>{const _0x14976b=_0x340e51,_0x9c7582=[],_0x1dbbe7=[];if(_0x1453e5['id']===_0x429b82['id']){const _0x539988=_0x1453e5[_0x14976b(0x1f2)];if(!_0x539988)return{'redos':_0x9c7582,'undos':_0x1dbbe7};const {unitId:_0x1a3c36,subUnitId:_0x411d62,targetSubUnitId:_0x513165}=_0x539988;if(!_0x1a3c36||!_0x411d62||!_0x513165)return{'redos':_0x9c7582,'undos':_0x1dbbe7};const _0x4aa179=new Set(),_0x1609f5={},_0x2d9b76=this[_0x14976b(0x267)][_0x14976b(0x20c)](_0x1a3c36,_0x411d62);if(!_0x2d9b76)return{'redos':_0x9c7582,'undos':_0x1dbbe7};for(const [_0xafe944,_0x223623]of _0x2d9b76){const _0x1b9447='g_'+_0x3768bd(0x6);_0x4aa179[_0x14976b(0x232)](_0xafe944),_0x1609f5[_0x1b9447]={'config':_0x370ae7['deepClone'](_0x223623[_0x14976b(0x1e2)]),'sparklines':_0x370ae7[_0x14976b(0x257)](_0x223623['sparklines'][_0x14976b(0x22d)]())};}_0x4aa179[_0x14976b(0x214)]&&(_0x1dbbe7[_0x14976b(0x268)]({'id':y['id'],'params':{'unitId':_0x1a3c36,'subUnitId':_0x513165,'groupIds':Array[_0x14976b(0x22b)](_0x4aa179),'isSingle':!0x1}}),_0x9c7582[_0x14976b(0x268)]({'id':V['id'],'params':{'unitId':_0x1a3c36,'subUnitId':_0x513165,'sparklineConfigMap':_0x1609f5}}));}return{'redos':_0x9c7582,'undos':_0x1dbbe7};}}));}};ke=$t([Ge(0x0,_0x1ee6de(_0x30e4aa)),Ge(0x1,_0x1ee6de(x))],ke);var jt=Object['getOwnPropertyDescriptor'],Lt=(_0x468199,_0x101a4b,_0xe1fd45,_0x13293d)=>{for(var _0x1efd96=_0x13293d>0x1?void 0x0:_0x13293d?jt(_0x101a4b,_0xe1fd45):_0x101a4b,_0x2a0058=_0x468199['length']-0x1,_0x313649;_0x2a0058>=0x0;_0x2a0058--)(_0x313649=_0x468199[_0x2a0058])&&(_0x1efd96=_0x313649(_0x1efd96)||_0x1efd96);return _0x1efd96;},Ie=(_0x406cf4,_0x3b0843)=>(_0x2da15f,_0x4cbd03)=>_0x3b0843(_0x2da15f,_0x4cbd03,_0x406cf4);function _0x2868(_0x208e03,_0x5f2aa){const _0x125a5c=_0x125a();return _0x2868=function(_0x2868d1,_0x28b271){_0x2868d1=_0x2868d1-0x1e1;let _0x39c7ad=_0x125a5c[_0x2868d1];return _0x39c7ad;},_0x2868(_0x208e03,_0x5f2aa);}let me=class extends _0x486845{constructor(_0x54147e,_0x3e5cd0,_0x19da99){const _0x24d706=_0x457c39;super(),this[_0x24d706(0x1e8)]=_0x54147e,this['_sparklineDataSourceModel']=_0x3e5cd0,this[_0x24d706(0x252)]=_0x19da99,this[_0x24d706(0x28e)](),this[_0x24d706(0x226)]();}[_0x457c39(0x28e)](){const _0x3483a6=_0x457c39;this[_0x3483a6(0x206)](this[_0x3483a6(0x1e8)][_0x3483a6(0x292)](_0x30870a=>{const _0x338b3b=_0x3483a6;if(_0x30870a['id']===_0x1627bf['id']){const _0x59c774=_0x30870a['params'],{cellValue:_0x5b0b73,unitId:_0x327c78,subUnitId:_0x255767}=_0x59c774,_0x185607=new _0x7156f0(_0x5b0b73),_0x4326de=new Set(),_0x6fa1fc=this[_0x338b3b(0x267)]['getSubUnitSparkline'](_0x327c78,_0x255767);if(!_0x6fa1fc)return;const _0xc077=Array[_0x338b3b(0x22b)](_0x6fa1fc);_0x185607[_0x338b3b(0x24e)]((_0x105e5f,_0x5f00df,_0x361a5f)=>{const _0x1c17c3=_0x338b3b,_0x36e1df=_0x18d16b(_0x105e5f,_0x5f00df);for(let _0xbfc186=0x0;_0xbfc186<_0xc077[_0x1c17c3(0x208)];_0xbfc186++){const [_0x5aacea,_0x141199]=_0xc077[_0xbfc186],_0x50105f=_0x4326de['has'](_0x5aacea);_0x50105f||_0x141199['sparklines'][_0x1c17c3(0x24e)]((_0x5d7c5b,_0x3d295f,_0xe00dda)=>{const _0x38eebf=_0x1c17c3,_0x5c91ed=_0xe00dda;if(_0x5c91ed&&!_0x50105f&&_0x5cc02f[_0x38eebf(0x1ec)](_0x36e1df,_0x5c91ed))return _0x4326de[_0x38eebf(0x232)](_0x5aacea),!0x0;});}}),_0x4326de['forEach'](_0x29398c=>{const _0x384a3f=_0x338b3b;this[_0x384a3f(0x267)]['clearSparklineCache'](_0x327c78,_0x255767,_0x29398c),this[_0x384a3f(0x267)][_0x384a3f(0x28f)](_0x327c78,_0x255767,_0x29398c);});}else{if(_0x30870a['id']===_0x3ab708['id']){const _0x103d63=_0x30870a[_0x338b3b(0x1f2)],{range:_0x381f20,unitId:_0x2a90d9,subUnitId:_0x29a8fa}=_0x103d63,_0x22382a=new Set(),_0x1b0f79=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x2a90d9,_0x29a8fa);if(!_0x1b0f79)return;const _0x3abd1c=Array[_0x338b3b(0x22b)](_0x1b0f79);for(let _0x202b2d=0x0;_0x202b2d<_0x3abd1c[_0x338b3b(0x208)];_0x202b2d++){const [_0x570ae0,_0x539ed5]=_0x3abd1c[_0x202b2d],_0x3e7ef1=_0x22382a[_0x338b3b(0x211)](_0x570ae0);_0x3e7ef1||_0x539ed5['sparklines'][_0x338b3b(0x24e)]((_0x54a87a,_0xad51f0,_0x405c4a)=>{const _0x3bd90c=_0x338b3b,_0x72a73d=_0x405c4a;if(_0x72a73d&&!_0x3e7ef1&&_0x5cc02f[_0x3bd90c(0x1ec)](_0x381f20,_0x72a73d))return _0x22382a[_0x3bd90c(0x232)](_0x570ae0),!0x0;});}_0x22382a['forEach'](_0x87d707=>{const _0x5ea193=_0x338b3b;this[_0x5ea193(0x267)][_0x5ea193(0x238)](_0x2a90d9,_0x29a8fa,_0x87d707),this[_0x5ea193(0x267)][_0x5ea193(0x28f)](_0x2a90d9,_0x29a8fa,_0x87d707);});}}}));}[_0x457c39(0x226)](){const _0xe34696=_0x457c39;this['disposeWithMe'](this[_0xe34696(0x252)]['exclusiveRangesChange$'][_0xe34696(0x1e9)](_0x1c2e07=>{const _0x228f0d=_0xe34696,{unitId:_0x3e5aef,subUnitId:_0x14ae88,ranges:_0x40fc14}=_0x1c2e07,_0x21ecfb=this[_0x228f0d(0x267)]['getSubUnitSparkline'](_0x3e5aef,_0x14ae88);if(!_0x21ecfb)return;const _0x26a78c=Array[_0x228f0d(0x22b)](_0x21ecfb),_0x5d9d23=new Set();for(let _0xd64039=0x0;_0xd64039<_0x26a78c[_0x228f0d(0x208)];_0xd64039++){const [_0x99901b,_0x5dfb53]=_0x26a78c[_0xd64039],_0x1e594b=_0x5d9d23['has'](_0x99901b);_0x1e594b||_0x5dfb53[_0x228f0d(0x24b)][_0x228f0d(0x24e)]((_0x16a7e0,_0x222c21,_0x5e7a2a)=>{const _0x1025fe=_0x228f0d,_0x4bbf88=_0x5e7a2a;if(_0x4bbf88&&!_0x1e594b){for(const _0x39ca8e of _0x40fc14)if(_0x5cc02f[_0x1025fe(0x1ec)](_0x39ca8e,_0x4bbf88)){_0x5d9d23[_0x1025fe(0x232)](_0x99901b);break;}}});}_0x5d9d23[_0x228f0d(0x256)](_0xcab54c=>{const _0x5c518c=_0x228f0d;this[_0x5c518c(0x267)][_0x5c518c(0x238)](_0x3e5aef,_0x14ae88,_0xcab54c),this[_0x5c518c(0x267)][_0x5c518c(0x28f)](_0x3e5aef,_0x14ae88,_0xcab54c);});}));}};me=Lt([Ie(0x0,_0x1ee6de(_0x496f25)),Ie(0x1,_0x1ee6de(x)),Ie(0x2,_0x1ee6de(_0x1f4131))],me);var Gt=Object[_0x457c39(0x21b)],Wt=(_0x5b354e,_0x567100,_0x3225c6,_0x290afa)=>{const _0x45a6f5=_0x457c39;for(var _0x1b2b52=_0x290afa>0x1?void 0x0:_0x290afa?Gt(_0x567100,_0x3225c6):_0x567100,_0x7e4b59=_0x5b354e[_0x45a6f5(0x208)]-0x1,_0x4c6406;_0x7e4b59>=0x0;_0x7e4b59--)(_0x4c6406=_0x5b354e[_0x7e4b59])&&(_0x1b2b52=_0x4c6406(_0x1b2b52)||_0x1b2b52);return _0x1b2b52;},We=(_0x3cf2ec,_0x2c70f9)=>(_0x51cf13,_0x3119b5)=>_0x2c70f9(_0x51cf13,_0x3119b5,_0x3cf2ec);let Ce=class extends _0x486845{constructor(_0x5bb33d,_0x18e195){const _0x31660d=_0x457c39;super(),this['_commandService']=_0x5bb33d,this[_0x31660d(0x267)]=_0x18e195,this[_0x31660d(0x1f4)]();}['_initHideRowColWithSparkline'](){const _0x6f74b7=_0x457c39;this[_0x6f74b7(0x1e8)][_0x6f74b7(0x292)](_0x4c0afb=>{const _0x5778be=_0x6f74b7;if(_0x4c0afb['id']===_0x593709['id']||_0x4c0afb['id']===_0x4d58de['id']||_0x4c0afb['id']===_0x23e026['id']||_0x4c0afb['id']===_0x3f9bd9['id']){const _0x34f231=_0x4c0afb[_0x5778be(0x1f2)],{ranges:_0x38e036,unitId:_0x12e283,subUnitId:_0x3d7f21}=_0x34f231,_0x5cbf23=new Set(),_0x2bcebe=this[_0x5778be(0x267)][_0x5778be(0x20c)](_0x12e283,_0x3d7f21);if(!_0x2bcebe)return;const _0x1fc8b1=Array[_0x5778be(0x22b)](_0x2bcebe);_0x38e036[_0x5778be(0x256)](_0x59f7e5=>{const _0x5ef97b=_0x5778be;_0x2fd36e[_0x5ef97b(0x23f)](_0x59f7e5,(_0xa2c3bb,_0x711ae3)=>{const _0x216ff3=_0x5ef97b,_0x332ae4=_0x18d16b(_0xa2c3bb,_0x711ae3);for(let _0x2f4dc5=0x0;_0x2f4dc5<_0x1fc8b1[_0x216ff3(0x208)];_0x2f4dc5++){const [_0xc2192c,_0x124a8d]=_0x1fc8b1[_0x2f4dc5],_0x32fbee=_0x5cbf23[_0x216ff3(0x211)](_0xc2192c);_0x32fbee||_0x124a8d[_0x216ff3(0x24b)][_0x216ff3(0x24e)]((_0x3ece3e,_0x403390,_0x54c7eb)=>{const _0xba3044=_0x216ff3,_0x1cbafb=_0x54c7eb;if(_0x1cbafb&&!_0x32fbee&&_0x5cc02f[_0xba3044(0x1ec)](_0x332ae4,_0x1cbafb))return _0x5cbf23[_0xba3044(0x232)](_0xc2192c),!0x0;});}});}),_0x5cbf23['forEach'](_0x408cff=>{const _0x4d029a=_0x5778be;this[_0x4d029a(0x267)][_0x4d029a(0x238)](_0x12e283,_0x3d7f21,_0x408cff),this[_0x4d029a(0x267)][_0x4d029a(0x28f)](_0x12e283,_0x3d7f21,_0x408cff);});}});}};Ce=Wt([We(0x0,_0x1ee6de(_0x496f25)),We(0x1,_0x1ee6de(x))],Ce);var Bt=Object[_0x457c39(0x21b)],Ht=(_0x3b32a9,_0x4675b3,_0xa0fd2c,_0x30f42e)=>{const _0x241a03=_0x457c39;for(var _0x3b8ce4=_0x30f42e>0x1?void 0x0:_0x30f42e?Bt(_0x4675b3,_0xa0fd2c):_0x4675b3,_0x4b2a04=_0x3b32a9[_0x241a03(0x208)]-0x1,_0x96c539;_0x4b2a04>=0x0;_0x4b2a04--)(_0x96c539=_0x3b32a9[_0x4b2a04])&&(_0x3b8ce4=_0x96c539(_0x3b8ce4)||_0x3b8ce4);return _0x3b8ce4;},be=(_0x58e641,_0x52ff2e)=>(_0x413ddb,_0x5de359)=>_0x52ff2e(_0x413ddb,_0x5de359,_0x58e641);let _e=class extends _0x486845{constructor(_0x42d852,_0x3c895c,_0x4617ef){const _0x18e9a3=_0x457c39;super(),this[_0x18e9a3(0x1e8)]=_0x42d852,this[_0x18e9a3(0x218)]=_0x3c895c,this['_sparklineDataSourceModel']=_0x4617ef,this[_0x18e9a3(0x22c)]();}[_0x457c39(0x22c)](){const _0xbc1fa5=_0x457c39;this[_0xbc1fa5(0x206)](this['_sheetInterceptorService'][_0xbc1fa5(0x225)]({'getMutations':_0x2df8b8=>{const _0x1b84bb=_0xbc1fa5,_0x953feb=[],_0x251f8a=[];if(_0x2df8b8['id']===_0x3cc48f['id']){const _0x2219c5=_0x2df8b8[_0x1b84bb(0x1f2)];if(!_0x2219c5)return{'redos':_0x953feb,'undos':_0x251f8a};const {unitId:_0xad3aac,subUnitId:_0x31e634,ranges:_0x2efcd1}=_0x2219c5,_0x2db817=this[_0x1b84bb(0x267)][_0x1b84bb(0x20c)](_0xad3aac,_0x31e634);if(!_0x2db817)return{'redos':_0x953feb,'undos':_0x251f8a};const _0x67eb46={},_0x376ac0={},_0x2d9d11=new Set();_0x2efcd1[_0x1b84bb(0x256)](_0x380e28=>{const _0x1ea77b=_0x1b84bb,_0x59820b=_0x380e28[_0x1ea77b(0x26a)],_0x1b2e46=_0x380e28[_0x1ea77b(0x1f6)];_0x2fd36e[_0x1ea77b(0x23f)](_0x380e28,(_0x264c31,_0x411ec9)=>{const _0x11d0c5=_0x1ea77b,_0x3e28f4=this[_0x11d0c5(0x267)][_0x11d0c5(0x262)](_0xad3aac,_0x31e634,_0x264c31,_0x411ec9);if(_0x3e28f4&&!(_0x264c31===_0x59820b&&_0x411ec9===_0x1b2e46)){const _0x1ac741=this[_0x11d0c5(0x267)][_0x11d0c5(0x2a0)](_0xad3aac,_0x31e634,_0x3e28f4);if(_0x1ac741){_0x2d9d11['add'](_0x3e28f4);let _0xe35b30=_0x67eb46[_0x3e28f4];_0xe35b30||(_0xe35b30={'config':_0x370ae7[_0x11d0c5(0x257)](_0x1ac741['config']),'sparklines':new _0x7156f0(_0x1ac741['sparklines']['clone']())},_0x67eb46[_0x3e28f4]=_0xe35b30),_0xe35b30[_0x11d0c5(0x24b)][_0x11d0c5(0x20b)](_0x264c31,_0x411ec9),_0x376ac0[_0x3e28f4]={'config':_0x370ae7['deepClone'](_0x1ac741[_0x11d0c5(0x1e2)]),'sparklines':_0x370ae7[_0x11d0c5(0x257)](_0x1ac741[_0x11d0c5(0x24b)][_0x11d0c5(0x22d)]())};}}});});for(const [_0x39181b,_0x5bd0bd]of _0x2db817){const _0x45798e=_0x5bd0bd[_0x1b84bb(0x24b)];_0x45798e['forValue']((_0x13dca1,_0x321b02,_0x3a8674)=>{const _0xa1f11e=_0x1b84bb;for(let _0x16f247=0x0;_0x16f247<_0x2efcd1[_0xa1f11e(0x208)];_0x16f247++){const _0x482879=_0x2efcd1[_0x16f247];if(_0x5cc02f[_0xa1f11e(0x271)](_0x482879,_0x3a8674)){_0x2d9d11[_0xa1f11e(0x232)](_0x39181b);let _0x1e5fd7=_0x67eb46[_0x39181b];_0x1e5fd7||(_0x1e5fd7={'config':_0x370ae7['deepClone'](_0x5bd0bd[_0xa1f11e(0x1e2)]),'sparklines':new _0x7156f0(_0x45798e[_0xa1f11e(0x22d)]())},_0x67eb46[_0x39181b]=_0x1e5fd7),_0x1e5fd7[_0xa1f11e(0x24b)]['realDeleteValue'](_0x13dca1,_0x321b02),_0x376ac0[_0x39181b]||(_0x376ac0[_0x39181b]={'config':_0x370ae7[_0xa1f11e(0x257)](_0x5bd0bd[_0xa1f11e(0x1e2)]),'sparklines':_0x370ae7[_0xa1f11e(0x257)](_0x45798e[_0xa1f11e(0x22d)]())});}}});}const _0x2824d4={};Object[_0x1b84bb(0x229)](_0x67eb46)[_0x1b84bb(0x256)](([_0x5819df,_0x47a38e])=>{const _0x4ea57a=_0x1b84bb;_0x47a38e[_0x4ea57a(0x24b)]['getSizeOf']()&&(_0x2824d4[_0x5819df]={'config':_0x47a38e[_0x4ea57a(0x1e2)],'sparklines':_0x47a38e['sparklines'][_0x4ea57a(0x22d)]()});}),_0x2d9d11[_0x1b84bb(0x214)]&&(_0x953feb['push']({'id':y['id'],'params':{'unitId':_0xad3aac,'subUnitId':_0x31e634,'groupIds':Array[_0x1b84bb(0x22b)](_0x2d9d11),'isSingle':!0x1}}),_0x251f8a['push']({'id':y['id'],'params':{'unitId':_0xad3aac,'subUnitId':_0x31e634,'groupIds':Array[_0x1b84bb(0x22b)](_0x2d9d11),'isSingle':!0x1}}),_0x953feb['push']({'id':V['id'],'params':{'unitId':_0xad3aac,'subUnitId':_0x31e634,'sparklineConfigMap':_0x2824d4}}),_0x251f8a[_0x1b84bb(0x268)]({'id':V['id'],'params':{'unitId':_0xad3aac,'subUnitId':_0x31e634,'sparklineConfigMap':_0x376ac0}}));}return{'redos':_0x953feb,'undos':_0x251f8a};}}));}};_e=Ht([be(0x0,_0x1ee6de(_0x496f25)),be(0x1,_0x1ee6de(_0x30e4aa)),be(0x2,_0x1ee6de(x))],_e);var Ft=Object['getOwnPropertyDescriptor'],Kt=(_0x1024ae,_0x469840,_0x4f5637,_0x57616e)=>{const _0x52fada=_0x457c39;for(var _0x3d3f62=_0x57616e>0x1?void 0x0:_0x57616e?Ft(_0x469840,_0x4f5637):_0x469840,_0xc1ab71=_0x1024ae[_0x52fada(0x208)]-0x1,_0x56014b;_0xc1ab71>=0x0;_0xc1ab71--)(_0x56014b=_0x1024ae[_0xc1ab71])&&(_0x3d3f62=_0x56014b(_0x3d3f62)||_0x3d3f62);return _0x3d3f62;},ge=(_0x5aec4b,_0x3bcdf5)=>(_0x15a7a0,_0x35adb8)=>_0x3bcdf5(_0x15a7a0,_0x35adb8,_0x5aec4b);let Me=class extends _0x486845{constructor(_0x4ad4b9,_0x5801ed,_0xb1c3f3,_0x413f22){const _0x2e087c=_0x457c39;super(),se(this,'disposableCollection',new _0x1c6f67()),(this[_0x2e087c(0x1e8)]=_0x4ad4b9,this[_0x2e087c(0x272)]=_0x5801ed,this[_0x2e087c(0x202)]=_0xb1c3f3,this[_0x2e087c(0x267)]=_0x413f22,this[_0x2e087c(0x242)](),this[_0x2e087c(0x1f7)]());}[_0x457c39(0x242)](){const _0x52098b=_0x457c39,_0x35d475=(_0x2bca21,_0x269538)=>{const _0x1a7311=_0x2868,_0x2d5f39=this[_0x1a7311(0x202)][_0x1a7311(0x205)](_0x7f2523[_0x1a7311(0x24a)]);if(!_0x2d5f39||!(_0x2d5f39==null?void 0x0:_0x2d5f39[_0x1a7311(0x203)](_0x269538)))return;this[_0x1a7311(0x275)][_0x1a7311(0x273)]();const _0x293081=_0x4a98a9=>this[_0x1a7311(0x26f)](_0x4a98a9,_0x2bca21,_0x269538),_0x53b6ad=[],_0x440cd5=this[_0x1a7311(0x267)][_0x1a7311(0x20c)](_0x2bca21,_0x269538);if(_0x440cd5){for(const [_0x474821,_0x79170d]of _0x440cd5)_0x79170d[_0x1a7311(0x24b)][_0x1a7311(0x24e)]((_0x550601,_0x46a499,_0x1c275c)=>{const _0x3e3f7d=_0x1a7311,_0x51ef92=_0x18d16b(_0x550601,_0x46a499);_0x53b6ad[_0x3e3f7d(0x268)](_0x51ef92);});_0x53b6ad[_0x1a7311(0x256)](_0x3a4047=>{const _0x41afb2=_0x1a7311;this[_0x41afb2(0x275)][_0x41afb2(0x232)](this[_0x41afb2(0x272)][_0x41afb2(0x25e)](_0x3a4047,_0x293081,_0x2bca21,_0x269538));});}};this[_0x52098b(0x206)](this[_0x52098b(0x1e8)][_0x52098b(0x292)](_0x9faa9=>{const _0x28f2d4=_0x52098b;if(_0x9faa9['id']===_0x51a33b['id']){const _0x192ad5=_0x9faa9[_0x28f2d4(0x1f2)],_0x3f4cde=_0x192ad5[_0x28f2d4(0x299)],_0x591f84=_0x192ad5[_0x28f2d4(0x28b)];if(!_0x3f4cde||!_0x591f84)return;_0x35d475(_0x591f84,_0x3f4cde);}if(_0x9faa9['id']===Oe['id']||_0x9faa9['id']===V['id']){const _0x17e7cf=_0x9faa9['params'],_0xe3b205=_0x17e7cf[_0x28f2d4(0x299)],_0x5ea964=_0x17e7cf['unitId'];if(!_0xe3b205||!_0x5ea964)return;_0x35d475(_0x5ea964,_0xe3b205);}}));}[_0x457c39(0x26f)](_0x37abc7,_0x5df693,_0x46c95e){const _0x41559d=_0x457c39;switch(_0x37abc7['id']){case _0x64a7b['id']:return this[_0x41559d(0x1ee)](_0x37abc7[_0x41559d(0x1f2)],_0x5df693,_0x46c95e);case _0x150c90['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x37abc7[_0x41559d(0x1f2)],_0x5df693,_0x46c95e);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x595ff2,_0xa912a2,_0x308e9b){const _0x1653c6=_0x457c39;var _0x45da9d,_0x14d060;const {range:_0x1a411e}=_0x595ff2,_0x18cdcf=new Set(),_0x5114cf={},_0x211eff={},_0x46b9db=[],_0x484842=[],_0x351ba4=[],_0x38334d=[];if(!_0x52e565(this[_0x1653c6(0x202)],{'unitId':_0xa912a2,'subUnitId':_0x308e9b}))return{'redos':_0x484842,'undos':_0x46b9db};const _0x31bc99=this[_0x1653c6(0x267)]['getSubUnitSparkline'](_0xa912a2,_0x308e9b);if(!_0x31bc99)return{'redos':_0x484842,'undos':_0x46b9db};if(!((_0x14d060=(_0x45da9d=this['_sparklineDataSourceModel'][_0x1653c6(0x277)]()[_0x1653c6(0x20d)][_0x1653c6(0x279)](_0xa912a2))==null?void 0x0:_0x45da9d[_0x1653c6(0x279)](_0x308e9b))==null?void 0x0:_0x14d060['matrix']))return{'redos':_0x484842,'undos':_0x46b9db};for(const [_0x258faa,_0x2a73ec]of _0x31bc99){const _0x3c6c67=_0x2a73ec['sparklines'];_0x3c6c67[_0x1653c6(0x24e)]((_0x3ab527,_0x313da4,_0x3368b3)=>{const _0x5ef3a6=_0x1653c6;if(_0x5cc02f[_0x5ef3a6(0x1ec)](_0x1a411e,_0x3368b3)){_0x18cdcf[_0x5ef3a6(0x232)](_0x258faa);let _0x22ab82=_0x211eff[_0x258faa];_0x22ab82||(_0x22ab82={'config':_0x2a73ec[_0x5ef3a6(0x1e2)],'sparklines':_0x2a73ec[_0x5ef3a6(0x24b)][_0x5ef3a6(0x22d)]()},_0x211eff[_0x258faa]=_0x22ab82);let _0x5ed8de=_0x5114cf[_0x258faa];_0x5ed8de||(_0x5ed8de={'config':_0x2a73ec['config'],'sparklines':new _0x7156f0(_0x2a73ec['sparklines'][_0x5ef3a6(0x22d)]())},_0x5114cf[_0x258faa]=_0x5ed8de);const _0xd17426=_0x201685(_0x3368b3,{'id':_0x40019b['id'],'params':_0x595ff2});_0xd17426?_0x5ed8de[_0x5ef3a6(0x24b)][_0x5ef3a6(0x286)](_0x3ab527,_0x313da4,_0xd17426):_0x5ed8de[_0x5ef3a6(0x24b)]['setValue'](_0x3ab527,_0x313da4,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x554083[_0x5ef3a6(0x220)]});}}),_0x3c6c67['forValue']((_0x2c26ff,_0x310bc4,_0x5f29b4)=>{const _0x4c5d53=_0x1653c6;if(_0x2c26ff<=_0x1a411e[_0x4c5d53(0x204)]&&_0x2c26ff>=_0x1a411e[_0x4c5d53(0x26a)]){_0x18cdcf['add'](_0x258faa);let _0x3206a2=_0x211eff[_0x258faa];_0x3206a2||(_0x3206a2={'config':_0x2a73ec[_0x4c5d53(0x1e2)],'sparklines':_0x2a73ec[_0x4c5d53(0x24b)][_0x4c5d53(0x22d)]()},_0x211eff[_0x258faa]=_0x3206a2);let _0x354e40=_0x5114cf[_0x258faa];_0x354e40||(_0x354e40={'config':_0x2a73ec[_0x4c5d53(0x1e2)],'sparklines':new _0x7156f0(_0x2a73ec[_0x4c5d53(0x24b)][_0x4c5d53(0x22d)]())},_0x5114cf[_0x258faa]=_0x354e40);}});}_0x38334d[_0x1653c6(0x268)]({'id':y['id'],'params':{'unitId':_0xa912a2,'subUnitId':_0x308e9b,'groupIds':Array[_0x1653c6(0x22b)](_0x18cdcf),'isSingle':!0x1}}),_0x351ba4[_0x1653c6(0x268)]({'id':y['id'],'params':{'unitId':_0xa912a2,'subUnitId':_0x308e9b,'groupIds':Array[_0x1653c6(0x22b)](_0x18cdcf),'isSingle':!0x1}});const _0x386351={};let _0x456eae=!0x1;return Object[_0x1653c6(0x229)](_0x5114cf)[_0x1653c6(0x256)](([_0x4f9ee0,_0x58d402])=>{const _0x559a26=_0x1653c6;_0x58d402[_0x559a26(0x24b)][_0x559a26(0x26e)]()&&(_0x456eae=!0x0,_0x58d402[_0x559a26(0x24b)][_0x559a26(0x278)](_0x1a411e[_0x559a26(0x26a)],_0x1a411e['endRow']-_0x1a411e['startRow']+0x1),_0x386351[_0x4f9ee0]={'config':_0x58d402['config'],'sparklines':_0x58d402[_0x559a26(0x24b)][_0x559a26(0x22d)]()});}),_0x456eae&&_0x484842[_0x1653c6(0x268)]({'id':V['id'],'params':{'unitId':_0xa912a2,'subUnitId':_0x308e9b,'sparklineConfigMap':_0x386351}}),_0x46b9db[_0x1653c6(0x268)]({'id':V['id'],'params':{'unitId':_0xa912a2,'subUnitId':_0x308e9b,'sparklineConfigMap':_0x211eff}}),{'redos':_0x484842,'undos':_0x46b9db,'preRedos':_0x351ba4,'preUndos':_0x38334d};}[_0x457c39(0x1ee)](_0x14093c,_0xa2eb3e,_0x429869){const _0x36f8d9=_0x457c39;var _0x13686f,_0xbdad66;const {range:_0x59999a}=_0x14093c,_0xff02c9=new Set(),_0x3e26e0={},_0x3dffdf={},_0x5ccd08=[],_0x897c98=[],_0x4be58c=[],_0x2d954f=[];if(!_0x52e565(this[_0x36f8d9(0x202)],{'unitId':_0xa2eb3e,'subUnitId':_0x429869}))return{'redos':_0x897c98,'undos':_0x5ccd08};const _0x90570a=this[_0x36f8d9(0x267)][_0x36f8d9(0x20c)](_0xa2eb3e,_0x429869);if(!_0x90570a)return{'redos':_0x897c98,'undos':_0x5ccd08};if(!((_0xbdad66=(_0x13686f=this[_0x36f8d9(0x267)]['getSparklineCache']()[_0x36f8d9(0x20d)][_0x36f8d9(0x279)](_0xa2eb3e))==null?void 0x0:_0x13686f['get'](_0x429869))==null?void 0x0:_0xbdad66[_0x36f8d9(0x20a)]))return{'redos':_0x897c98,'undos':_0x5ccd08};for(const [_0x2d294a,_0x212f70]of _0x90570a){const _0xf37cb7=_0x212f70[_0x36f8d9(0x24b)];_0xf37cb7[_0x36f8d9(0x24e)]((_0x20d8b3,_0x432ea2,_0xf941de)=>{const _0x58123e=_0x36f8d9;if(_0x5cc02f[_0x58123e(0x1ec)](_0x59999a,_0xf941de)){_0xff02c9[_0x58123e(0x232)](_0x2d294a);let _0x4c4158=_0x3dffdf[_0x2d294a];_0x4c4158||(_0x4c4158={'config':_0x212f70[_0x58123e(0x1e2)],'sparklines':_0x212f70[_0x58123e(0x24b)][_0x58123e(0x22d)]()},_0x3dffdf[_0x2d294a]=_0x4c4158);let _0x2b20a8=_0x3e26e0[_0x2d294a];_0x2b20a8||(_0x2b20a8={'config':_0x212f70[_0x58123e(0x1e2)],'sparklines':new _0x7156f0(_0x212f70[_0x58123e(0x24b)][_0x58123e(0x22d)]())},_0x3e26e0[_0x2d294a]=_0x2b20a8);const _0xd9423=_0x201685(_0xf941de,{'id':_0x1be026['id'],'params':_0x14093c});_0xd9423?_0x2b20a8[_0x58123e(0x24b)][_0x58123e(0x286)](_0x20d8b3,_0x432ea2,_0xd9423):_0x2b20a8[_0x58123e(0x24b)]['setValue'](_0x20d8b3,_0x432ea2,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x554083['NORMAL']});}}),_0xf37cb7['forValue']((_0x3ed24f,_0x3291de,_0x4127d8)=>{const _0x30a62e=_0x36f8d9;if(_0x3291de<=_0x59999a[_0x30a62e(0x201)]&&_0x3291de>=_0x59999a['startColumn']){_0xff02c9[_0x30a62e(0x232)](_0x2d294a);let _0x472f64=_0x3dffdf[_0x2d294a];_0x472f64||(_0x472f64={'config':_0x212f70[_0x30a62e(0x1e2)],'sparklines':_0x212f70[_0x30a62e(0x24b)][_0x30a62e(0x22d)]()},_0x3dffdf[_0x2d294a]=_0x472f64);let _0x130e23=_0x3e26e0[_0x2d294a];_0x130e23||(_0x130e23={'config':_0x212f70['config'],'sparklines':new _0x7156f0(_0x212f70[_0x30a62e(0x24b)][_0x30a62e(0x22d)]())},_0x3e26e0[_0x2d294a]=_0x130e23);}});}_0x2d954f[_0x36f8d9(0x268)]({'id':y['id'],'params':{'unitId':_0xa2eb3e,'subUnitId':_0x429869,'groupIds':Array[_0x36f8d9(0x22b)](_0xff02c9),'isSingle':!0x1}}),_0x4be58c['push']({'id':y['id'],'params':{'unitId':_0xa2eb3e,'subUnitId':_0x429869,'groupIds':Array[_0x36f8d9(0x22b)](_0xff02c9),'isSingle':!0x1}});const _0x551bea={};let _0x3e2779=!0x1;return Object[_0x36f8d9(0x229)](_0x3e26e0)[_0x36f8d9(0x256)](([_0x28fa39,_0x1a5a27])=>{const _0x19df43=_0x36f8d9;_0x1a5a27['sparklines'][_0x19df43(0x26e)]()&&(_0x3e2779=!0x0,_0x1a5a27[_0x19df43(0x24b)][_0x19df43(0x21c)](_0x59999a[_0x19df43(0x1f6)],_0x59999a[_0x19df43(0x201)]-_0x59999a['startColumn']+0x1),_0x551bea[_0x28fa39]={'config':_0x1a5a27[_0x19df43(0x1e2)],'sparklines':_0x1a5a27[_0x19df43(0x24b)][_0x19df43(0x22d)]()});}),_0x3e2779&&_0x897c98[_0x36f8d9(0x268)]({'id':V['id'],'params':{'unitId':_0xa2eb3e,'subUnitId':_0x429869,'sparklineConfigMap':_0x551bea}}),_0x5ccd08[_0x36f8d9(0x268)]({'id':V['id'],'params':{'unitId':_0xa2eb3e,'subUnitId':_0x429869,'sparklineConfigMap':_0x3dffdf}}),{'redos':_0x897c98,'undos':_0x5ccd08,'preRedos':_0x4be58c,'preUndos':_0x2d954f};}['_initCorrectRangeWithSparkline'](){const _0x39834d=_0x457c39;this[_0x39834d(0x206)](this[_0x39834d(0x1e8)][_0x39834d(0x292)](_0x44ed04=>{const _0x11fb3d=_0x39834d;if(_0x44ed04['id']===_0x21085c['id']){const _0x413c24=_0x44ed04['params'],{unitId:_0xb74cd5,subUnitId:_0x26f1ae,range:_0x50da90}=_0x413c24,_0x5222e2=_0x50da90[_0x11fb3d(0x1f6)],_0x51f727=_0x50da90[_0x11fb3d(0x201)]-_0x50da90[_0x11fb3d(0x1f6)]+0x1,_0x7f8ebc=this[_0x11fb3d(0x267)][_0x11fb3d(0x20c)](_0xb74cd5,_0x26f1ae);if(!_0x7f8ebc)return;for(const [_0x33d24f,_0x5c83b7]of _0x7f8ebc){this[_0x11fb3d(0x267)][_0x11fb3d(0x238)](_0xb74cd5,_0x26f1ae,_0x33d24f);const _0x5c029e=_0x5c83b7[_0x11fb3d(0x24b)];_0x5c029e[_0x11fb3d(0x24e)]((_0x3e557b,_0x45e378,_0x187298)=>{const _0x517bec=_0x11fb3d,_0x547257={..._0x187298};_0x5222e2<=_0x547257[_0x517bec(0x1f6)]?(_0x547257[_0x517bec(0x1f6)]+=_0x51f727,_0x547257[_0x517bec(0x201)]+=_0x51f727):_0x5222e2>_0x547257[_0x517bec(0x201)]||(_0x547257['endColumn']+=_0x51f727),_0x5c029e[_0x517bec(0x286)](_0x3e557b,_0x45e378,_0x547257);});const _0x1428b7=_0x5c029e[_0x11fb3d(0x26c)]();for(const _0x4a4e38 in _0x1428b7){const _0x4feb7a=_0x1428b7[Number(_0x4a4e38)];if(!_0x4feb7a)continue;const _0x4d82ca=Object['keys'](_0x4feb7a)['map'](Number),_0x13e123=Math[_0x11fb3d(0x298)](..._0x4d82ca);for(let _0x50182c=_0x13e123;_0x50182c>=_0x5222e2;_0x50182c--)_0x50182c>=_0x5222e2&&_0x4feb7a[_0x50182c]&&(_0x4feb7a[_0x50182c+_0x51f727]=_0x4feb7a[_0x50182c],delete _0x4feb7a[_0x50182c]);}this[_0x11fb3d(0x267)][_0x11fb3d(0x28f)](_0xb74cd5,_0x26f1ae,_0x33d24f);}}else{if(_0x44ed04['id']===_0x1abfb9['id']){const _0x8efc48=_0x44ed04[_0x11fb3d(0x1f2)],{unitId:_0x4c534d,subUnitId:_0x343567,range:_0x356e0b}=_0x8efc48,_0x31fe57=_0x356e0b[_0x11fb3d(0x26a)],_0xdcd51d=_0x356e0b[_0x11fb3d(0x204)]-_0x356e0b['startRow']+0x1,_0x1e69ad=this[_0x11fb3d(0x267)][_0x11fb3d(0x20c)](_0x4c534d,_0x343567);if(!_0x1e69ad)return;for(const [_0x5b4b41,_0x1f03f8]of _0x1e69ad){this[_0x11fb3d(0x267)]['clearSparklineCache'](_0x4c534d,_0x343567,_0x5b4b41);const _0x15b99e=_0x1f03f8[_0x11fb3d(0x24b)];_0x15b99e[_0x11fb3d(0x24e)]((_0x165104,_0x5fd4db,_0x19e171)=>{const _0x7e451a=_0x11fb3d,_0x3a7eb5={..._0x19e171};_0x31fe57<=_0x3a7eb5[_0x7e451a(0x26a)]?(_0x3a7eb5[_0x7e451a(0x26a)]+=_0xdcd51d,_0x3a7eb5[_0x7e451a(0x204)]+=_0xdcd51d):_0x31fe57>_0x3a7eb5['endRow']||(_0x3a7eb5[_0x7e451a(0x204)]+=_0xdcd51d),_0x15b99e['setValue'](_0x165104,_0x5fd4db,_0x3a7eb5);});const _0x258ec5=_0x15b99e[_0x11fb3d(0x26c)](),_0x225826=Object['keys'](_0x258ec5)[_0x11fb3d(0x25a)](Number),_0x2c8d6f=Math[_0x11fb3d(0x298)](..._0x225826);for(let _0x4346b3=_0x2c8d6f;_0x4346b3>=_0x31fe57;_0x4346b3--)_0x4346b3>=_0x31fe57&&_0x258ec5[_0x4346b3]&&(_0x258ec5[_0x4346b3+_0xdcd51d]=_0x258ec5[_0x4346b3],delete _0x258ec5[_0x4346b3]);this[_0x11fb3d(0x267)]['updateSparklineExtraNum'](_0x4c534d,_0x343567,_0x5b4b41);}}else{if(_0x44ed04['id']===_0x1be026['id']){const _0x77455b=_0x44ed04[_0x11fb3d(0x1f2)],{range:_0x380331,unitId:_0x2a03ed,subUnitId:_0x5eba78}=_0x77455b,_0x4d3385=this[_0x11fb3d(0x267)]['getSubUnitSparkline'](_0x2a03ed,_0x5eba78);if(!_0x4d3385)return;for(const [_0x54ae72,_0x1dc0e3]of _0x4d3385){const _0x38356f=_0x1dc0e3['sparklines'];_0x38356f[_0x11fb3d(0x24e)]((_0x27d2f4,_0x76b01d,_0x574017)=>{const _0xb83a4d=_0x11fb3d,_0x143b83=_0x201685(_0x574017,_0x44ed04);_0x143b83?_0x38356f['setValue'](_0x27d2f4,_0x76b01d,_0x143b83):_0x38356f[_0xb83a4d(0x286)](_0x27d2f4,_0x76b01d,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x554083['NORMAL']});}),_0x38356f[_0x11fb3d(0x21c)](_0x380331[_0x11fb3d(0x1f6)],_0x380331[_0x11fb3d(0x201)]-_0x380331['startColumn']+0x1);}this[_0x11fb3d(0x267)]['reBuildAnchorCache'](_0x2a03ed,_0x5eba78);}else{if(_0x44ed04['id']===_0x40019b['id']){const _0x38d713=_0x44ed04[_0x11fb3d(0x1f2)],{range:_0x190bb1,unitId:_0x217f2b,subUnitId:_0x4396f6}=_0x38d713,_0x18efc3=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x217f2b,_0x4396f6);if(!_0x18efc3)return;for(const [_0x700f4c,_0x4f8f4f]of _0x18efc3){const _0x4fcf74=_0x4f8f4f[_0x11fb3d(0x24b)];_0x4fcf74[_0x11fb3d(0x24e)]((_0x55596f,_0x344e6f,_0x3bf211)=>{const _0xfa53b8=_0x11fb3d,_0x4fbd62=_0x201685(_0x3bf211,_0x44ed04);_0x4fbd62?_0x4fcf74[_0xfa53b8(0x286)](_0x55596f,_0x344e6f,_0x4fbd62):_0x4fcf74[_0xfa53b8(0x286)](_0x55596f,_0x344e6f,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x554083['NORMAL']});}),_0x4fcf74['removeRows'](_0x190bb1[_0x11fb3d(0x26a)],_0x190bb1[_0x11fb3d(0x204)]-_0x190bb1['startRow']+0x1);}this[_0x11fb3d(0x267)][_0x11fb3d(0x240)](_0x217f2b,_0x4396f6);}else{if(_0x44ed04['id']===_0x347a34['id']){const _0x426a2e=_0x44ed04['params'],{unitId:_0x55eebe,subUnitId:_0x558af2,sourceRange:_0x34fc60,targetRange:_0x466999}=_0x426a2e,_0x1feb54=this['_sparklineDataSourceModel'][_0x11fb3d(0x20c)](_0x55eebe,_0x558af2);if(!_0x1feb54)return;for(const [_0x37a6d5,_0x406402]of _0x1feb54){const _0x4c5b49=_0x406402[_0x11fb3d(0x24b)];_0x4c5b49[_0x11fb3d(0x24e)]((_0x8839fe,_0x323d30,_0x1e3bf0)=>{const _0x5a2311=_0x11fb3d,_0x141d9c=_0x201685(_0x1e3bf0,_0x44ed04);_0x141d9c?_0x4c5b49[_0x5a2311(0x286)](_0x8839fe,_0x323d30,_0x141d9c):_0x4c5b49['setValue'](_0x8839fe,_0x323d30,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x554083['NORMAL']});}),_0x4c5b49[_0x11fb3d(0x244)](_0x34fc60[_0x11fb3d(0x1f6)],_0x34fc60[_0x11fb3d(0x201)]-_0x34fc60[_0x11fb3d(0x1f6)]+0x1,_0x466999[_0x11fb3d(0x1f6)]);}this[_0x11fb3d(0x267)][_0x11fb3d(0x240)](_0x55eebe,_0x558af2);}else{if(_0x44ed04['id']===_0x2abb03['id']){const _0x17241c=_0x44ed04['params'],{unitId:_0x103af9,subUnitId:_0x5d0ee8,sourceRange:_0x1d00ce,targetRange:_0xa8f7f5}=_0x17241c,_0x475190=this[_0x11fb3d(0x267)]['getSubUnitSparkline'](_0x103af9,_0x5d0ee8);if(!_0x475190)return;for(const [_0x34c8b6,_0x539017]of _0x475190){const _0x3898b0=_0x539017['sparklines'];_0x3898b0[_0x11fb3d(0x24e)]((_0x4760c5,_0x375fca,_0x589e2d)=>{const _0x376da1=_0x11fb3d,_0x1ec052=_0x201685(_0x589e2d,_0x44ed04);_0x1ec052?_0x3898b0[_0x376da1(0x286)](_0x4760c5,_0x375fca,_0x1ec052):_0x3898b0[_0x376da1(0x286)](_0x4760c5,_0x375fca,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x554083[_0x376da1(0x220)]});}),_0x3898b0[_0x11fb3d(0x29b)](_0x1d00ce['startRow'],_0x1d00ce[_0x11fb3d(0x204)]-_0x1d00ce[_0x11fb3d(0x26a)]+0x1,_0xa8f7f5[_0x11fb3d(0x26a)]);}this[_0x11fb3d(0x267)][_0x11fb3d(0x240)](_0x103af9,_0x5d0ee8);}else{if(_0x44ed04['id']===_0x308381['id']){const _0x540a1f=_0x44ed04[_0x11fb3d(0x1f2)],{fromRange:_0x4220c0,toRange:_0x4ffa46,unitId:_0x2c4b88,from:_0x36f836,to:_0x3de6f1}=_0x540a1f;if(_0x36f836[_0x11fb3d(0x299)]!==_0x3de6f1[_0x11fb3d(0x299)])return;const _0x1911d=_0x36f836[_0x11fb3d(0x299)],{startRow:_0x48a4f1,endRow:_0x30358e,startColumn:_0x10d4b2,endColumn:_0x5bcad5}=_0x4220c0,{startRow:_0x8394e8,startColumn:_0x1e426a}=_0x4ffa46,_0x3f1abd=_0x8394e8-_0x48a4f1,_0x221808=_0x1e426a-_0x10d4b2,_0x20f5a8=this[_0x11fb3d(0x267)][_0x11fb3d(0x20c)](_0x2c4b88,_0x1911d);if(!(_0x20f5a8!=null&&_0x20f5a8[_0x11fb3d(0x214)]))return;for(let _0x7645fd=_0x48a4f1;_0x7645fd<=_0x30358e;_0x7645fd++)for(let _0x5a64ba=_0x10d4b2;_0x5a64ba<=_0x5bcad5;_0x5a64ba++){const _0xbb9abd=this['_sparklineDataSourceModel'][_0x11fb3d(0x262)](_0x2c4b88,_0x1911d,_0x7645fd,_0x5a64ba);if(_0xbb9abd){const _0x518c75=this[_0x11fb3d(0x267)][_0x11fb3d(0x2a0)](_0x2c4b88,_0x1911d,_0xbb9abd);if(_0x518c75){const _0x37ffd6=_0x518c75['sparklines'][_0x11fb3d(0x255)](_0x7645fd,_0x5a64ba);_0x37ffd6&&(_0x518c75[_0x11fb3d(0x24b)]['setValue'](_0x7645fd+_0x3f1abd,_0x5a64ba+_0x221808,_0x37ffd6),_0x518c75[_0x11fb3d(0x24b)]['realDeleteValue'](_0x7645fd,_0x5a64ba));}}}for(const [_0x15d141,_0x476981]of _0x20f5a8){const _0x29a886=_0x476981[_0x11fb3d(0x24b)];_0x29a886[_0x11fb3d(0x24e)]((_0x15df0d,_0x504de0,_0x4f1fe3)=>{const _0x1d20b2=_0x11fb3d,_0x90772b={..._0x4f1fe3};_0x5cc02f[_0x1d20b2(0x271)](_0x4220c0,_0x4f1fe3)&&(_0x90772b['startRow']+=_0x3f1abd,_0x90772b['endRow']+=_0x3f1abd,_0x90772b[_0x1d20b2(0x1f6)]+=_0x221808,_0x90772b[_0x1d20b2(0x201)]+=_0x221808),_0x29a886['setValue'](_0x15df0d,_0x504de0,_0x90772b);});}this[_0x11fb3d(0x267)][_0x11fb3d(0x240)](_0x2c4b88,_0x1911d);}}}}}}}}));}};Me=Kt([ge(0x0,_0x1ee6de(_0x496f25)),ge(0x1,_0x1ee6de(_0x4db193)),ge(0x2,_0x38b140),ge(0x3,_0x1ee6de(x))],Me);var Xt=Object[_0x457c39(0x21b)],zt=(_0x2efc62,_0x32a74f,_0x1420d5,_0x3e4b73)=>{for(var _0x1a3c27=_0x3e4b73>0x1?void 0x0:_0x3e4b73?Xt(_0x32a74f,_0x1420d5):_0x32a74f,_0x37369d=_0x2efc62['length']-0x1,_0xbbc5e9;_0x37369d>=0x0;_0x37369d--)(_0xbbc5e9=_0x2efc62[_0x37369d])&&(_0x1a3c27=_0xbbc5e9(_0x1a3c27)||_0x1a3c27);return _0x1a3c27;},Be=(_0x5713e1,_0xe54d4d)=>(_0x29c5e4,_0x1793ea)=>_0xe54d4d(_0x29c5e4,_0x1793ea,_0x5713e1);let Re=class extends _0x486845{constructor(_0x28d68f,_0x34035e){const _0x1280fa=_0x457c39;super(),this[_0x1280fa(0x200)]=_0x28d68f,this[_0x1280fa(0x267)]=_0x34035e,this[_0x1280fa(0x249)]();}[_0x457c39(0x249)](){const _0x2f70c6=_0x457c39,_0x3bebd6=_0x4faf9d=>{const _0x5ca9ae=_0x2868,_0xfbf1cb=this[_0x5ca9ae(0x267)][_0x5ca9ae(0x233)](_0x4faf9d);return _0xfbf1cb?JSON[_0x5ca9ae(0x20e)](_0xfbf1cb):'';},_0x2960b1=_0x583373=>_0x583373?JSON[_0x2f70c6(0x281)](_0x583373):{};this[_0x2f70c6(0x206)](this['_resourceManagerService'][_0x2f70c6(0x2a1)]({'toJson':_0x3bebd6,'parseJson':_0x2960b1,'pluginName':Ke,'businesses':[_0x7f2523[_0x2f70c6(0x24a)]],'onLoad':(_0x4e9aa0,_0x3b16e9)=>{const _0x4bac4c=_0x2f70c6;this[_0x4bac4c(0x267)][_0x4bac4c(0x234)](_0x3b16e9);},'onUnLoad':_0x40b40a=>{const _0x507ed6=_0x2f70c6;this[_0x507ed6(0x267)]['deleteUnit'](_0x40b40a);}}));}};Re=zt([Be(0x0,_0x1ee6de(_0x18e659)),Be(0x1,_0x1ee6de(x))],Re);var Jt=Object['defineProperty'],Zt=Object[_0x457c39(0x21b)],Yt=(_0x128f42,_0x434f39,_0x3ef814)=>_0x434f39 in _0x128f42?Jt(_0x128f42,_0x434f39,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ef814}):_0x128f42[_0x434f39]=_0x3ef814,qt=(_0x338f53,_0x58ef85,_0x4080ee,_0x38654e)=>{const _0x14230c=_0x457c39;for(var _0x56d3c6=_0x38654e>0x1?void 0x0:_0x38654e?Zt(_0x58ef85,_0x4080ee):_0x58ef85,_0x8c7ead=_0x338f53[_0x14230c(0x208)]-0x1,_0x34babd;_0x8c7ead>=0x0;_0x8c7ead--)(_0x34babd=_0x338f53[_0x8c7ead])&&(_0x56d3c6=_0x34babd(_0x56d3c6)||_0x56d3c6);return _0x56d3c6;},He=(_0x48165c,_0x327ce8)=>(_0x5e67b8,_0x42f0d6)=>_0x327ce8(_0x5e67b8,_0x42f0d6,_0x48165c),ze=(_0x38f9d7,_0x3b0b43,_0x520bc5)=>Yt(_0x38f9d7,typeof _0x3b0b43!=_0x457c39(0x21a)?_0x3b0b43+'':_0x3b0b43,_0x520bc5);let ve=class extends _0x158ab0{constructor(_0x1474da={},_0x8f323b,_0x29ee12){const _0x5723a2=_0x457c39;super(),this[_0x5723a2(0x280)]=_0x1474da,this[_0x5723a2(0x27e)]=_0x8f323b,this[_0x5723a2(0x1e8)]=_0x29ee12,this[_0x5723a2(0x1e7)](),this[_0x5723a2(0x28a)]();}['_initDependencies'](){const _0x2842f2=_0x457c39;[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]][_0x2842f2(0x256)](_0x20d4bf=>{const _0x5e0f8a=_0x2842f2;this['_injector'][_0x5e0f8a(0x232)](_0x20d4bf);}),_0x58bc7f(this['_injector'],[[Re]]);}[_0x457c39(0x243)](){const _0xf1a645=_0x457c39;_0x58bc7f(this[_0xf1a645(0x27e)],[[me],[_e],[Se],[Me],[Ce],[ke]]);}[_0x457c39(0x28a)](){const _0x1aae85=_0x457c39;[Nt,V,Ot,y,xt,Oe][_0x1aae85(0x256)](_0x360bfd=>this[_0x1aae85(0x1e8)]['registerCommand'](_0x360bfd));}};ze(ve,'pluginName',Ke),ze(ve,_0x457c39(0x270),_0x7f2523[_0x457c39(0x24a)]),ve=qt([_0x430d07(_0x4aac18),He(0x1,_0x1ee6de(_0x104ff8)),He(0x2,_0x1ee6de(_0x496f25))],ve);function _0x125a(){const _0x36a364=['_sheetSelectionService','soft','2350334kSQQxU','clearSparklineCache','extremumMax','_ensureConfigMap','min','NUMBER','groupId','rgb(248,190,21)','foreach','reBuildAnchorCache','seriesColor','_onRefRangeChange','onReady','moveColumns','assign','FRESH','getCellRaw','LINE_CHART','_initSnapshot','UNIVER_SHEET','sparklines','rgb(54,78,244)','custom','forValue','_sparklineModel','emptyShowAs','getCurrentSelections','_exclusiveRangeService','setAlpha','actualColumn','getValue','forEach','deepClone','_sparklineAnchorMap','themeType','map','u-spacing','toRgbString','PROFIT_AND_LOSS_CHART','registerRefRange','rgb(30,177,189)','sparklineModel','SOFT','getSparkline','STANDARD','1015cUCGTI','sheet.mutation.set-sparkline','rgb(252,117,60)','_sparklineDataSourceModel','push','9oWmWBN','startRow','CUSTOM_EXTREMUM','getMatrix','specialty','getSizeOf','refRangeHandle','type','contains','_refRangeService','dispose','lowPoint','disposableCollection','removePartSparkline','getSparklineCache','removeRows','get','GROUP_EXTREMUM','sheet.command.add-sparkline','234840tJcHSi','some','_injector','1704380wCbhmC','_config','parse','row','hasValue','pushUndoRedo','SPACING','setValue','SPECIALTY','getColVisible','negativePoint','_initRegisterCommand','unitId','value','extremumMin','_initDataChangeListener','updateSparklineExtraNum','connect_with_line','removeSparkline','onCommandExecuted','lastPoint','CUSTOM','DISTINCTIVE','spacing','SELF_EXTREMUM','max','subUnitId','item','moveRows','next','PIE_CHART','_ensureAnchorMatrix','delete','getSparklineById','registerPluginResource','rgb(124,66,147)','config','asObservable','zero_value','addSparkline','rgb(236,100,169)','_initDependencies','_commandService','subscribe','13452129SlysqR','containHiddenCells','intersects','remove','_getRefRangeMutationsByDeleteCols','FORCE_STRING','set','u-connect','params','standard','_initHideRowColWithSparkline','keys','startColumn','_initCorrectRangeWithSparkline','sheet.mutation.add-sparkline','getRowVisible','sheet.command.remove-sparkline','_initClearWithSparkline','_initCopySheetWithSparkline','20028dzktjI','ZERO_VALUE','highPoint','_resourceManagerService','endColumn','_univerInstanceService','getSheetBySheetId','endRow','getCurrentUnitForType','disposeWithMe','643308DobETl','length','rgb(244,104,249)','matrix','realDeleteValue','getSubUnitSparkline','sparklineAnchorMap','stringify','COMMAND','setSparkline','has','firstPoint','rgb(46,187,122)','size','actualRow','_updateConfig$','MIN_SAFE_INTEGER','_sheetInterceptorService','number','symbol','getOwnPropertyDescriptor','removeColumns','rgb(49,106,246)','defineProperty','range','NORMAL','MAX_SAFE_INTEGER','markersPoint','updateConfig$','values','interceptCommand','_initExclusiveRangeChange','rgb(80,102,248)','ranges','entries','column','from','_initMergeWithSparkline','clone','BOOLEAN','CONNECT_WITH_LINE','327578EsVUAG','MUTATION','add','toJSON','fromJSON'];_0x125a=function(){return _0x36a364;};return _0x125a();}export{Nt as AddSheetSparklineCommand,V as AddSheetSparklineMutation,Ke as PLUGIN_NAME,Ot as RemoveSheetSparklineCommand,y as RemoveSheetSparklineMutation,xt as SetSheetSparklineCommand,Oe as SetSheetSparklineMutation,J as SpacialShowAsEnum,x as SparklineDataSourceModel,De as SparklineExtremumTypeEnum,on as SparklinePointsNames,Le as SparklineThemeMapping,Xe as SparklineThemeTypeEnum,Dt as SparklineTypeEnum,ve as UniverSheetSparklinePlugin,Fe as getSparklinePlacement};
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5edd(_0x1b965e,_0x503463){const _0x42ab77=_0x42ab();return _0x5edd=function(_0x5edd89,_0x2e1360){_0x5edd89=_0x5edd89-0x8e;let _0x39da2e=_0x42ab77[_0x5edd89];return _0x39da2e;},_0x5edd(_0x1b965e,_0x503463);}(function(_0x37b7c1,_0x1ff4de){const _0x4741f2=_0x5edd,_0x564061=_0x37b7c1();while(!![]){try{const _0x3fd5b5=-parseInt(_0x4741f2(0x9a))/0x1+-parseInt(_0x4741f2(0x95))/0x2*(parseInt(_0x4741f2(0xc8))/0x3)+-parseInt(_0x4741f2(0xb5))/0x4+parseInt(_0x4741f2(0xdb))/0x5+-parseInt(_0x4741f2(0xe3))/0x6+-parseInt(_0x4741f2(0xc9))/0x7+-parseInt(_0x4741f2(0xac))/0x8*(-parseInt(_0x4741f2(0xdd))/0x9);if(_0x3fd5b5===_0x1ff4de)break;else _0x564061['push'](_0x564061['shift']());}catch(_0x1e4bc9){_0x564061['push'](_0x564061['shift']());}}}(_0x42ab,0xa764e),function(_0x17dfa5,_0x256007){const _0x142bc0=_0x5edd;typeof exports==_0x142bc0(0xd2)&&typeof module<'u'?_0x256007(exports,require('@univerjs-pro/sheets-sparkline'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs/sheets')):typeof define=='function'&&define[_0x142bc0(0xc6)]?define([_0x142bc0(0xcd),_0x142bc0(0xc2),'@univerjs/core',_0x142bc0(0xce),_0x142bc0(0x9e),_0x142bc0(0xe5)],_0x256007):(_0x17dfa5=typeof globalThis<'u'?globalThis:_0x17dfa5||self,_0x256007(_0x17dfa5['UniverProSheetsSparklineFacade']={},_0x17dfa5[_0x142bc0(0xbe)],_0x17dfa5[_0x142bc0(0xec)],_0x17dfa5[_0x142bc0(0xb2)],_0x17dfa5[_0x142bc0(0xbd)],_0x17dfa5['UniverSheets']));}(this,function(_0x31d2,_0x136cf3,_0x5442b0,_0x30f8c3,_0x1c100e,_0x2df56f){'use strict';const _0x2b3fc1=_0x5edd;var _0x128aed=Object[_0x2b3fc1(0xb0)],_0xc7ec56=(_0x353a37,_0x12d391,_0x46281a,_0x34a923)=>{for(var _0x1f3bb7=_0x34a923>0x1?void 0x0:_0x34a923?_0x128aed(_0x12d391,_0x46281a):_0x12d391,_0x543776=_0x353a37['length']-0x1,_0x250bb3;_0x543776>=0x0;_0x543776--)(_0x250bb3=_0x353a37[_0x543776])&&(_0x1f3bb7=_0x250bb3(_0x1f3bb7)||_0x1f3bb7);return _0x1f3bb7;},_0x5c3275=(_0x76e9c6,_0x4da7a9)=>(_0x565380,_0x1ccba6)=>_0x4da7a9(_0x565380,_0x1ccba6,_0x76e9c6);_0x31d2[_0x2b3fc1(0xa2)]=class{constructor(_0x3cbfe7,_0x29f726,_0x40c59b,_0x564220,_0x35c4ff,_0x59cc04){const _0x50e269=_0x2b3fc1;this[_0x50e269(0xe2)]=_0x3cbfe7,this[_0x50e269(0xe8)]=_0x29f726,this[_0x50e269(0xd4)]=_0x40c59b,this[_0x50e269(0x94)]=_0x564220,this[_0x50e269(0x8f)]=_0x35c4ff,this[_0x50e269(0xaa)]=_0x59cc04;}[_0x2b3fc1(0xa6)](_0xfb7110,_0x67834b){const _0x486ef6=_0x2b3fc1,_0x428a78=this['_injector'][_0x486ef6(0xe1)](_0x136cf3['SparklineDataSourceModel']),_0x36f606=this[_0x486ef6(0xaa)][_0x486ef6(0xe1)](_0x5442b0[_0x486ef6(0xa7)]),_0x3c0636=_0x428a78[_0x486ef6(0xe6)](this[_0x486ef6(0xe2)],this['_subUnitId'],this[_0x486ef6(0xd4)]);if(!_0x3c0636)return;const _0x5b757a={'config':_0x3c0636,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x486ef6(0xd4)],'resetType':_0x486ef6(0x91),'sourceRanges':[_0xfb7110],'targetRanges':[_0x67834b],'primary':{'startRow':this[_0x486ef6(0x94)],'startColumn':this['_col'],'endRow':this[_0x486ef6(0x94)],'endColumn':this[_0x486ef6(0x8f)],'actualRow':this[_0x486ef6(0x94)],'actualColumn':this[_0x486ef6(0x8f)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x36f606[_0x486ef6(0xd7)](_0x136cf3['SetSheetSparklineCommand']['id'],_0x5b757a),this[_0x486ef6(0x94)]=_0x67834b[_0x486ef6(0xa4)],this[_0x486ef6(0x8f)]=_0x67834b['startColumn'],this;}[_0x2b3fc1(0xba)](){const _0x455f0b=_0x2b3fc1,_0x5d042f=this[_0x455f0b(0xaa)]['get'](_0x5442b0[_0x455f0b(0xa7)]),_0x58d54b={'isSingle':!0x0,'ranges':[{'startRow':this['_row'],'startColumn':this[_0x455f0b(0x8f)],'endRow':this[_0x455f0b(0x94)],'endColumn':this['_col']}]};_0x5d042f[_0x455f0b(0xd7)](_0x136cf3[_0x455f0b(0xa9)]['id'],_0x58d54b);}},_0x31d2[_0x2b3fc1(0xa2)]=_0xc7ec56([_0x5c3275(0x5,_0x5442b0[_0x2b3fc1(0xa3)](_0x5442b0[_0x2b3fc1(0xad)]))],_0x31d2['FSparkline']);var _0x24eac9=Object[_0x2b3fc1(0xb0)],_0x18d6e4=(_0x30b1c7,_0x1e97b2,_0x4605ad,_0x5b03c3)=>{const _0x3b5d18=_0x2b3fc1;for(var _0x2a9ef3=_0x5b03c3>0x1?void 0x0:_0x5b03c3?_0x24eac9(_0x1e97b2,_0x4605ad):_0x1e97b2,_0x526b37=_0x30b1c7[_0x3b5d18(0x8e)]-0x1,_0x6f7e32;_0x526b37>=0x0;_0x526b37--)(_0x6f7e32=_0x30b1c7[_0x526b37])&&(_0x2a9ef3=_0x6f7e32(_0x2a9ef3)||_0x2a9ef3);return _0x2a9ef3;},_0x43c535=(_0x5ce321,_0x49b0e5)=>(_0x2850e3,_0x2e8710)=>_0x49b0e5(_0x2850e3,_0x2e8710,_0x5ce321);_0x31d2[_0x2b3fc1(0xe4)]=class{constructor(_0x1eae22,_0xc69ed5,_0x3e9f7c,_0x31edee,_0xf1e513,_0xe61f63){const _0x3f532a=_0x2b3fc1;this[_0x3f532a(0xe2)]=_0x1eae22,this[_0x3f532a(0xe8)]=_0xc69ed5,this[_0x3f532a(0xd4)]=_0x3e9f7c,this[_0x3f532a(0x94)]=_0x31edee,this[_0x3f532a(0x8f)]=_0xf1e513,this[_0x3f532a(0xaa)]=_0xe61f63;}[_0x2b3fc1(0xa6)](_0x4a374d,_0x1e162f){const _0x3e58e8=_0x2b3fc1,_0x4f7065=this['_injector'][_0x3e58e8(0xe1)](_0x136cf3['SparklineDataSourceModel']),_0x3946f8=this[_0x3e58e8(0xaa)][_0x3e58e8(0xe1)](_0x5442b0[_0x3e58e8(0xa7)]),_0x656234=_0x4f7065[_0x3e58e8(0xe6)](this['_unitId'],this['_subUnitId'],this['_groupId']);if(!_0x656234)return;const _0x447a26={'config':_0x656234,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this['_groupId'],'resetType':_0x3e58e8(0xd6),'sourceRanges':_0x4a374d,'targetRanges':_0x1e162f,'primary':{'startRow':this[_0x3e58e8(0x94)],'startColumn':this[_0x3e58e8(0x8f)],'endRow':this[_0x3e58e8(0x94)],'endColumn':this[_0x3e58e8(0x8f)],'actualRow':this['_row'],'actualColumn':this[_0x3e58e8(0x8f)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x3946f8[_0x3e58e8(0xd7)](_0x136cf3[_0x3e58e8(0x98)]['id'],_0x447a26),this[_0x3e58e8(0x94)]=_0x1e162f[0x0][_0x3e58e8(0xa4)],this[_0x3e58e8(0x8f)]=_0x1e162f[0x0][_0x3e58e8(0xc4)],this;}[_0x2b3fc1(0xd3)](){const _0x2b0513=_0x2b3fc1,_0x5334a8=this[_0x2b0513(0xaa)][_0x2b0513(0xe1)](_0x5442b0[_0x2b0513(0xa7)]),_0x1ddd2b={'isSingle':!0x1,'ranges':[{'startRow':this[_0x2b0513(0x94)],'startColumn':this[_0x2b0513(0x8f)],'endRow':this['_row'],'endColumn':this['_col']}]};_0x5334a8[_0x2b0513(0xd7)](_0x136cf3[_0x2b0513(0xa9)]['id'],_0x1ddd2b);}[_0x2b3fc1(0x93)](_0x41d0dc){const _0x1cc44e=_0x2b3fc1,_0x1e895c=this[_0x1cc44e(0xaa)][_0x1cc44e(0xe1)](_0x136cf3[_0x1cc44e(0xea)])[_0x1cc44e(0xe6)](this[_0x1cc44e(0xe2)],this['_subUnitId'],this['_groupId']);if(_0x1e895c){const _0x2ba70a={'config':{'config':_0x41d0dc,'sparklines':_0x1e895c['sparklines']},'isChangeDataSource':!0x1};this['_injector'][_0x1cc44e(0xe1)](_0x5442b0[_0x1cc44e(0xa7)])[_0x1cc44e(0xd7)](_0x136cf3['SetSheetSparklineCommand']['id'],_0x2ba70a);}return this;}},_0x31d2['FSparklineGroup']=_0x18d6e4([_0x43c535(0x5,_0x5442b0[_0x2b3fc1(0xa3)](_0x5442b0['Injector']))],_0x31d2[_0x2b3fc1(0xe4)]);class _0x4edd41 extends _0x30f8c3[_0x2b3fc1(0x9b)]{[_0x2b3fc1(0xc5)](_0x415096,_0x3450cd,_0xae46e9){const _0x4551f9=_0x2b3fc1;if(this[_0x4551f9(0xa1)][_0x4551f9(0xd7)](_0x136cf3['AddSheetSparklineCommand']['id'],{'sourceRanges':_0x415096,'targetRanges':_0x3450cd,'targetInfo':{'unitId':this['_workbook'][_0x4551f9(0xdf)](),'subUnitId':this['_worksheet'][_0x4551f9(0xd0)]()},'config':{'type':_0xae46e9}})){const {startRow:_0x3e4d56,startColumn:_0x17ee86}=_0x3450cd[0x0];return this[_0x4551f9(0xaf)](_0x3e4d56,_0x17ee86);}}['getAllSubSparkline'](){const _0x1a5c0d=_0x2b3fc1;return this[_0x1a5c0d(0xaa)][_0x1a5c0d(0xe1)](_0x136cf3[_0x1a5c0d(0xea)])[_0x1a5c0d(0xbc)](this[_0x1a5c0d(0xd8)][_0x1a5c0d(0xdf)](),this[_0x1a5c0d(0xcf)][_0x1a5c0d(0xd0)]());}['composeSparkline'](_0x5b50cc){const _0x2564f8=_0x2b3fc1,_0x4852df=this[_0x2564f8(0xaa)][_0x2564f8(0xe1)](_0x136cf3[_0x2564f8(0xea)]);let _0x2739e0;for(let _0x25a8e8=0x0;_0x25a8e8<_0x5b50cc[_0x2564f8(0x8e)];_0x25a8e8++){const _0x242a81=_0x5b50cc[_0x25a8e8],{startRow:_0x458273,endRow:_0x52edf8,startColumn:_0xeefe28,endColumn:_0x3ba4f7}=_0x242a81;for(let _0xae87b1=_0x458273;_0xae87b1<=_0x52edf8;_0xae87b1++)for(let _0x12ffcf=_0xeefe28;_0x12ffcf<=_0x3ba4f7;_0x12ffcf++){const _0xcc12e7=_0x4852df[_0x2564f8(0xcc)](this[_0x2564f8(0xd8)][_0x2564f8(0xdf)](),this[_0x2564f8(0xcf)][_0x2564f8(0xd0)](),_0xae87b1,_0x12ffcf);if(_0xcc12e7){const _0x4d2243=_0x4852df[_0x2564f8(0xe6)](this[_0x2564f8(0xd8)][_0x2564f8(0xdf)](),this[_0x2564f8(0xcf)][_0x2564f8(0xd0)](),_0xcc12e7);if(_0x4d2243){_0x2739e0=_0x5442b0['Tools'][_0x2564f8(0xab)](_0x4d2243);break;}}}}_0x2739e0&&this[_0x2564f8(0xa1)]['executeCommand'](_0x136cf3['SetSheetSparklineCommand']['id'],{'ranges':_0x5b50cc,'combine':!0x0,'config':_0x2739e0,'isChangeDataSource':!0x1});}[_0x2b3fc1(0x9f)](_0x3a4c41){const _0x1869af=_0x2b3fc1,_0x44881a=this['_injector'][_0x1869af(0xe1)](_0x136cf3[_0x1869af(0xea)]);let _0x112b79;for(let _0x56504f=0x0;_0x56504f<_0x3a4c41[_0x1869af(0x8e)];_0x56504f++){const _0x5ce236=_0x3a4c41[_0x56504f],{startRow:_0x392ac9,endRow:_0xfc8f08,startColumn:_0x1cbbdc,endColumn:_0x1c9175}=_0x5ce236;for(let _0x35e8a8=_0x392ac9;_0x35e8a8<=_0xfc8f08;_0x35e8a8++)for(let _0xad536e=_0x1cbbdc;_0xad536e<=_0x1c9175;_0xad536e++){const _0x31a830=_0x44881a[_0x1869af(0xcc)](this[_0x1869af(0xd8)][_0x1869af(0xdf)](),this[_0x1869af(0xcf)][_0x1869af(0xd0)](),_0x35e8a8,_0xad536e);if(_0x31a830){const _0x2b56bd=_0x44881a[_0x1869af(0xe6)](this['_workbook'][_0x1869af(0xdf)](),this[_0x1869af(0xcf)]['getSheetId'](),_0x31a830);if(_0x2b56bd){_0x112b79=_0x5442b0[_0x1869af(0xb7)][_0x1869af(0xab)](_0x2b56bd);break;}}}}_0x112b79||this[_0x1869af(0xa1)][_0x1869af(0xa0)](_0x136cf3[_0x1869af(0x98)]['id'],{'ranges':_0x3a4c41,'unCombine':!0x0,'config':_0x112b79,'isChangeDataSource':!0x1});}[_0x2b3fc1(0xaf)](_0x298585,_0x41b907){const _0x1f1538=_0x2b3fc1,_0x102309=this[_0x1f1538(0xaa)]['get'](_0x136cf3[_0x1f1538(0xea)]),_0x34c84e=this[_0x1f1538(0xd8)][_0x1f1538(0xdf)](),_0x170519=this['_worksheet'][_0x1f1538(0xd0)](),_0xa491c2=_0x102309['getSparkline'](_0x34c84e,_0x170519,_0x298585,_0x41b907);if(_0xa491c2)return this['_injector'][_0x1f1538(0xb9)](_0x31d2[_0x1f1538(0xa2)],_0x34c84e,_0x170519,_0xa491c2,_0x298585,_0x41b907);}[_0x2b3fc1(0xed)](_0x413215,_0x5d6b9c){const _0x1682fd=_0x2b3fc1,_0x29baa2=this[_0x1682fd(0xaa)][_0x1682fd(0xe1)](_0x136cf3[_0x1682fd(0xea)]),_0xf2672f=this[_0x1682fd(0xd8)][_0x1682fd(0xdf)](),_0x3b12cb=this[_0x1682fd(0xcf)][_0x1682fd(0xd0)](),_0x4873d4=_0x29baa2[_0x1682fd(0xcc)](_0xf2672f,_0x3b12cb,_0x413215,_0x5d6b9c);if(_0x4873d4)return this[_0x1682fd(0xaa)][_0x1682fd(0xb9)](_0x31d2[_0x1682fd(0xe4)],_0xf2672f,_0x3b12cb,_0x4873d4,_0x413215,_0x5d6b9c);}}_0x30f8c3['FWorksheet'][_0x2b3fc1(0xe0)](_0x4edd41);class _0x2892be extends _0x1c100e[_0x2b3fc1(0xb4)]{get[_0x2b3fc1(0xb1)](){const _0x24532e=_0x2b3fc1;return _0x136cf3[_0x24532e(0xb1)];}}_0x1c100e[_0x2b3fc1(0xb4)][_0x2b3fc1(0xe0)](_0x2892be);class _0xd31cde extends _0x1c100e[_0x2b3fc1(0xda)]{get[_0x2b3fc1(0xcb)](){const _0x51cdcf=_0x2b3fc1;return _0x51cdcf(0xcb);}}_0x1c100e['FEventName'][_0x2b3fc1(0xe0)](_0xd31cde);class _0x3dcd0f extends _0x1c100e[_0x2b3fc1(0xa8)]{[_0x2b3fc1(0xd5)](_0x5798c0){const _0x433ad4=_0x2b3fc1,_0xf1ac6b=_0x5798c0[_0x433ad4(0xe1)](_0x5442b0[_0x433ad4(0xa7)]);this[_0x433ad4(0xb6)](this[_0x433ad4(0xc7)]['SheetSparklineChanged'],()=>_0xf1ac6b[_0x433ad4(0xa5)](_0x4c3ec5=>{const _0x1041dc=_0x433ad4;var _0xdd46ea,_0x4100a1;if(_0x4c3ec5['id']===_0x136cf3['SetSheetSparklineCommand']['id']){const _0x149eff=_0x4c3ec5[_0x1041dc(0xc3)];if(!_0x149eff[_0x1041dc(0x99)]){const _0x1ab185=this[_0x1041dc(0x9d)](),_0x48fd6d=_0x1ab185==null?void 0x0:_0x1ab185[_0x1041dc(0xc1)]();if(!_0x1ab185||!_0x48fd6d)return;const _0x5a1fd2=_0x1ab185[_0x1041dc(0x9c)](),_0x8e1315=_0x48fd6d['getSheetId'](),_0x2a99f6=this[_0x1041dc(0xaa)][_0x1041dc(0xe1)](_0x2df56f[_0x1041dc(0xb3)]),_0x4d1432=this[_0x1041dc(0xaa)][_0x1041dc(0xe1)](_0x136cf3[_0x1041dc(0xea)]),_0x39d7d0=(_0xdd46ea=_0x149eff==null?void 0x0:_0x149eff[_0x1041dc(0xc0)])!=null?_0xdd46ea:_0x2a99f6[_0x1041dc(0x97)]()['map'](_0x2c2ef1=>_0x2c2ef1[_0x1041dc(0xb8)]),_0x281e73=(_0x4100a1=_0x4d1432[_0x1041dc(0x92)]()[_0x1041dc(0xd9)]['get'](_0x5a1fd2))==null?void 0x0:_0x4100a1[_0x1041dc(0xe1)](_0x8e1315),_0x12a091=new Set();_0x39d7d0[_0x1041dc(0xde)](_0x585961=>{const _0xfaa129=_0x1041dc;var _0x2be50a;const {startRow:_0x571dbd,endRow:_0x57882f,startColumn:_0x4bfdfa,endColumn:_0x1a17b6}=_0x585961;for(let _0xf27a04=_0x571dbd;_0xf27a04<=_0x57882f;_0xf27a04++)for(let _0x576e30=_0x4bfdfa;_0x576e30<=_0x1a17b6;_0x576e30++){const _0x3eec7e=(_0x2be50a=_0x281e73==null?void 0x0:_0x281e73[_0xfaa129(0x96)][_0xfaa129(0xca)](_0xf27a04,_0x576e30))==null?void 0x0:_0x2be50a[_0xfaa129(0xd1)];_0x3eec7e&&_0x12a091[_0xfaa129(0xeb)](_0x3eec7e);}});const _0x2c69ba=Array['from'](_0x12a091)[_0x1041dc(0x90)](_0x1c2e57=>_0x4d1432[_0x1041dc(0xe6)](_0x5a1fd2,_0x8e1315,_0x1c2e57))[_0x1041dc(0xae)](_0x1e9172=>!!_0x1e9172),_0x56f9c1={'workbook':_0x1ab185,'worksheet':_0x48fd6d,'sparklines':_0x2c69ba};if(this[_0x1041dc(0xbf)](this[_0x1041dc(0xc7)][_0x1041dc(0xcb)],_0x56f9c1),_0x56f9c1[_0x1041dc(0xe9)])throw new Error(_0x1041dc(0xdc));}}}));}}_0x1c100e[_0x2b3fc1(0xa8)][_0x2b3fc1(0xe0)](_0x3dcd0f),Object[_0x2b3fc1(0xbb)](_0x31d2,Symbol['toStringTag'],{'value':_0x2b3fc1(0xe7)});}));function _0x42ab(){const _0x6e6efb=['UniverProSheetsSparkline','fireEvent','ranges','getActiveSheet','@univerjs-pro/sheets-sparkline','params','startColumn','addSparkline','amd','Event','159363xxbZMp','2425402DXyfln','getValue','SheetSparklineChanged','getSparkline','exports','@univerjs/sheets/facade','_worksheet','getSheetId','groupId','object','removeSparklineGroup','_groupId','_initialize','group','syncExecuteCommand','_workbook','sparklineAnchorMap','FEventName','1728390bjgVey','Sheet\x20create\x20canceled\x20by\x20facade\x20api.','18LKllbl','forEach','getUnitId','extend','get','_unitId','1216500AuqlNP','FSparklineGroup','@univerjs/sheets','getSparklineById','Module','_subUnitId','cancel','SparklineDataSourceModel','add','UniverCore','getSparklineGroupByCell','length','_col','map','item','getSparklineCache','setConfig','_row','46qyhZaO','matrix','getCurrentSelections','SetSheetSparklineCommand','isChangeDataSource','1072732sNbuQV','FWorksheet','getId','getActiveWorkbook','@univerjs/core/facade','unComposeSparkline','executeCommand','_commandService','FSparkline','Inject','startRow','onCommandExecuted','changeDataSource','ICommandService','FUniver','RemoveSheetSparklineCommand','_injector','deepClone','17050984rMUJYD','Injector','filter','getSparklineByCell','getOwnPropertyDescriptor','SparklineTypeEnum','UniverSheetsFacade','SheetsSelectionsService','FEnum','4316108vwSwjY','registerEventHandler','Tools','range','createInstance','removeSparkline','defineProperty','getSubUnitSparkline','UniverCoreFacade'];_0x42ab=function(){return _0x6e6efb;};return _0x42ab();}
|
|
1
|
+
function _0x2121(){const _0x53853e=['@univerjs/core/facade','changeDataSource','getSheetId','getValue','createInstance','removeSparkline','FUniver','ranges','setConfig','getUnitId','map','FWorksheet','_commandService','UniverSheets','UniverCoreFacade','range','getSparklineByCell','getActiveWorkbook','FSparkline','getSparklineGroupByCell','SparklineDataSourceModel','SheetSparklineChanged','SetSheetSparklineCommand','deepClone','_injector','Injector','@univerjs-pro/sheets-sparkline','RemoveSheetSparklineCommand','amd','3274362NMAGhF','unComposeSparkline','matrix','_unitId','FSparklineGroup','getSparkline','sparklines','_row','extend','Inject','defineProperty','get','getSparklineCache','function','564504tuqzmQ','UniverProSheetsSparkline','SheetsSelectionsService','308278ryYCEv','composeSparkline','getAllSubSparkline','Sheet\x20create\x20canceled\x20by\x20facade\x20api.','object','_workbook','81FHVbeB','FEventName','_col','getOwnPropertyDescriptor','_groupId','882745elTZYx','length','Module','Tools','startRow','onCommandExecuted','14382500PifqXN','Event','SparklineTypeEnum','getSubUnitSparkline','getSparklineById','_initialize','item','2dUQyhI','UniverProSheetsSparklineFacade','addSparkline','getActiveSheet','forEach','startColumn','getId','UniverSheetsFacade','_subUnitId','executeCommand','syncExecuteCommand','4zSWsLg','614775apTyxq','_worksheet','@univerjs/sheets/facade','FEnum','525060GJnQFm','UniverCore','ICommandService'];_0x2121=function(){return _0x53853e;};return _0x2121();}function _0x2e76(_0x1f4b81,_0x485282){const _0x21213e=_0x2121();return _0x2e76=function(_0x2e7616,_0x2f654b){_0x2e7616=_0x2e7616-0x1f0;let _0x33557e=_0x21213e[_0x2e7616];return _0x33557e;},_0x2e76(_0x1f4b81,_0x485282);}(function(_0x4af3c5,_0x1fca81){const _0x21fa98=_0x2e76,_0x7ab08e=_0x4af3c5();while(!![]){try{const _0x22d961=-parseInt(_0x21fa98(0x216))/0x1*(parseInt(_0x21fa98(0x1fe))/0x2)+parseInt(_0x21fa98(0x222))/0x3+-parseInt(_0x21fa98(0x221))/0x4*(-parseInt(_0x21fa98(0x209))/0x5)+-parseInt(_0x21fa98(0x226))/0x6+-parseInt(_0x21fa98(0x246))/0x7+parseInt(_0x21fa98(0x1fb))/0x8*(-parseInt(_0x21fa98(0x204))/0x9)+parseInt(_0x21fa98(0x20f))/0xa;if(_0x22d961===_0x1fca81)break;else _0x7ab08e['push'](_0x7ab08e['shift']());}catch(_0x1a3054){_0x7ab08e['push'](_0x7ab08e['shift']());}}}(_0x2121,0x4e64f),function(_0x1b9abb,_0x11251b){const _0x24cbed=_0x2e76;typeof exports==_0x24cbed(0x202)&&typeof module<'u'?_0x11251b(exports,require('@univerjs-pro/sheets-sparkline'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs/sheets')):typeof define==_0x24cbed(0x1fa)&&define[_0x24cbed(0x245)]?define(['exports',_0x24cbed(0x243),'@univerjs/core',_0x24cbed(0x224),_0x24cbed(0x229),'@univerjs/sheets'],_0x11251b):(_0x1b9abb=typeof globalThis<'u'?globalThis:_0x1b9abb||self,_0x11251b(_0x1b9abb[_0x24cbed(0x217)]={},_0x1b9abb[_0x24cbed(0x1fc)],_0x1b9abb[_0x24cbed(0x227)],_0x1b9abb[_0x24cbed(0x21d)],_0x1b9abb[_0x24cbed(0x237)],_0x1b9abb[_0x24cbed(0x236)]));}(this,function(_0xd1e9d1,_0x3b8032,_0xaaae2f,_0x4144e6,_0x44f884,_0x3e5f84){'use strict';const _0x56020b=_0x2e76;var _0x54e679=Object['getOwnPropertyDescriptor'],_0x522edc=(_0x52eb95,_0x2b710d,_0x4cbd37,_0xde3597)=>{const _0x12e03a=_0x2e76;for(var _0x343c3e=_0xde3597>0x1?void 0x0:_0xde3597?_0x54e679(_0x2b710d,_0x4cbd37):_0x2b710d,_0x1259e9=_0x52eb95[_0x12e03a(0x20a)]-0x1,_0x3b70b3;_0x1259e9>=0x0;_0x1259e9--)(_0x3b70b3=_0x52eb95[_0x1259e9])&&(_0x343c3e=_0x3b70b3(_0x343c3e)||_0x343c3e);return _0x343c3e;},_0xd27ab9=(_0x5b92fc,_0x4538dd)=>(_0x118228,_0x120396)=>_0x4538dd(_0x118228,_0x120396,_0x5b92fc);_0xd1e9d1[_0x56020b(0x23b)]=class{constructor(_0x318170,_0x8eb9ef,_0x23502d,_0x141f64,_0x4ade3e,_0x2adbb1){const _0x3ffef8=_0x56020b;this[_0x3ffef8(0x1f0)]=_0x318170,this[_0x3ffef8(0x21e)]=_0x8eb9ef,this[_0x3ffef8(0x208)]=_0x23502d,this['_row']=_0x141f64,this[_0x3ffef8(0x206)]=_0x4ade3e,this[_0x3ffef8(0x241)]=_0x2adbb1;}['changeDataSource'](_0x132b7a,_0x179322){const _0x4374ad=_0x56020b,_0x40cb65=this['_injector'][_0x4374ad(0x1f8)](_0x3b8032['SparklineDataSourceModel']),_0x5065a6=this['_injector']['get'](_0xaaae2f[_0x4374ad(0x228)]),_0x324b10=_0x40cb65[_0x4374ad(0x213)](this[_0x4374ad(0x1f0)],this[_0x4374ad(0x21e)],this['_groupId']);if(!_0x324b10)return;const _0x157ecc={'config':_0x324b10,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x4374ad(0x208)],'resetType':_0x4374ad(0x215),'sourceRanges':[_0x132b7a],'targetRanges':[_0x179322],'primary':{'startRow':this[_0x4374ad(0x1f4)],'startColumn':this[_0x4374ad(0x206)],'endRow':this['_row'],'endColumn':this[_0x4374ad(0x206)],'actualRow':this['_row'],'actualColumn':this['_col'],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x5065a6[_0x4374ad(0x220)](_0x3b8032[_0x4374ad(0x23f)]['id'],_0x157ecc),this[_0x4374ad(0x1f4)]=_0x179322[_0x4374ad(0x20d)],this[_0x4374ad(0x206)]=_0x179322[_0x4374ad(0x21b)],this;}[_0x56020b(0x22e)](){const _0x1170a7=_0x56020b,_0x376c91=this[_0x1170a7(0x241)][_0x1170a7(0x1f8)](_0xaaae2f[_0x1170a7(0x228)]),_0x33efb6={'isSingle':!0x0,'ranges':[{'startRow':this[_0x1170a7(0x1f4)],'startColumn':this[_0x1170a7(0x206)],'endRow':this[_0x1170a7(0x1f4)],'endColumn':this[_0x1170a7(0x206)]}]};_0x376c91[_0x1170a7(0x220)](_0x3b8032['RemoveSheetSparklineCommand']['id'],_0x33efb6);}},_0xd1e9d1[_0x56020b(0x23b)]=_0x522edc([_0xd27ab9(0x5,_0xaaae2f['Inject'](_0xaaae2f[_0x56020b(0x242)]))],_0xd1e9d1[_0x56020b(0x23b)]);var _0x1a217b=Object[_0x56020b(0x207)],_0x1a090a=(_0x55417b,_0x4a5e99,_0x59f98c,_0x33da44)=>{const _0x216a40=_0x56020b;for(var _0xd44649=_0x33da44>0x1?void 0x0:_0x33da44?_0x1a217b(_0x4a5e99,_0x59f98c):_0x4a5e99,_0x177694=_0x55417b[_0x216a40(0x20a)]-0x1,_0xca8d39;_0x177694>=0x0;_0x177694--)(_0xca8d39=_0x55417b[_0x177694])&&(_0xd44649=_0xca8d39(_0xd44649)||_0xd44649);return _0xd44649;},_0x4ac875=(_0x553161,_0xd3b610)=>(_0x33503b,_0xd90b98)=>_0xd3b610(_0x33503b,_0xd90b98,_0x553161);_0xd1e9d1[_0x56020b(0x1f1)]=class{constructor(_0x21a0fb,_0x40065b,_0x501512,_0x6efa9d,_0x557463,_0x356dcc){const _0x18be46=_0x56020b;this[_0x18be46(0x1f0)]=_0x21a0fb,this['_subUnitId']=_0x40065b,this[_0x18be46(0x208)]=_0x501512,this[_0x18be46(0x1f4)]=_0x6efa9d,this[_0x18be46(0x206)]=_0x557463,this['_injector']=_0x356dcc;}[_0x56020b(0x22a)](_0x3cbaa3,_0x286e2c){const _0x267584=_0x56020b,_0x5cb53e=this[_0x267584(0x241)][_0x267584(0x1f8)](_0x3b8032[_0x267584(0x23d)]),_0x406023=this[_0x267584(0x241)][_0x267584(0x1f8)](_0xaaae2f[_0x267584(0x228)]),_0x4fbedd=_0x5cb53e[_0x267584(0x213)](this['_unitId'],this[_0x267584(0x21e)],this[_0x267584(0x208)]);if(!_0x4fbedd)return;const _0x33644a={'config':_0x4fbedd,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x267584(0x208)],'resetType':'group','sourceRanges':_0x3cbaa3,'targetRanges':_0x286e2c,'primary':{'startRow':this[_0x267584(0x1f4)],'startColumn':this[_0x267584(0x206)],'endRow':this[_0x267584(0x1f4)],'endColumn':this[_0x267584(0x206)],'actualRow':this[_0x267584(0x1f4)],'actualColumn':this[_0x267584(0x206)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x406023[_0x267584(0x220)](_0x3b8032[_0x267584(0x23f)]['id'],_0x33644a),this[_0x267584(0x1f4)]=_0x286e2c[0x0][_0x267584(0x20d)],this[_0x267584(0x206)]=_0x286e2c[0x0][_0x267584(0x21b)],this;}['removeSparklineGroup'](){const _0xfa0818=_0x56020b,_0x274011=this['_injector'][_0xfa0818(0x1f8)](_0xaaae2f[_0xfa0818(0x228)]),_0x3eed5b={'isSingle':!0x1,'ranges':[{'startRow':this[_0xfa0818(0x1f4)],'startColumn':this[_0xfa0818(0x206)],'endRow':this[_0xfa0818(0x1f4)],'endColumn':this[_0xfa0818(0x206)]}]};_0x274011[_0xfa0818(0x220)](_0x3b8032[_0xfa0818(0x244)]['id'],_0x3eed5b);}[_0x56020b(0x231)](_0x565c3b){const _0x45e92d=_0x56020b,_0x5ba977=this[_0x45e92d(0x241)]['get'](_0x3b8032[_0x45e92d(0x23d)])[_0x45e92d(0x213)](this[_0x45e92d(0x1f0)],this['_subUnitId'],this[_0x45e92d(0x208)]);if(_0x5ba977){const _0x54b9af={'config':{'config':_0x565c3b,'sparklines':_0x5ba977[_0x45e92d(0x1f3)]},'isChangeDataSource':!0x1};this['_injector'][_0x45e92d(0x1f8)](_0xaaae2f[_0x45e92d(0x228)])[_0x45e92d(0x220)](_0x3b8032[_0x45e92d(0x23f)]['id'],_0x54b9af);}return this;}},_0xd1e9d1[_0x56020b(0x1f1)]=_0x1a090a([_0x4ac875(0x5,_0xaaae2f[_0x56020b(0x1f6)](_0xaaae2f[_0x56020b(0x242)]))],_0xd1e9d1['FSparklineGroup']);class _0x4a7b0f extends _0x4144e6[_0x56020b(0x234)]{[_0x56020b(0x218)](_0x3e47ec,_0x32e34d,_0x224e1e){const _0x3de0b5=_0x56020b;if(this['_commandService'][_0x3de0b5(0x220)](_0x3b8032['AddSheetSparklineCommand']['id'],{'sourceRanges':_0x3e47ec,'targetRanges':_0x32e34d,'targetInfo':{'unitId':this[_0x3de0b5(0x203)][_0x3de0b5(0x232)](),'subUnitId':this['_worksheet'][_0x3de0b5(0x22b)]()},'config':{'type':_0x224e1e}})){const {startRow:_0x383510,startColumn:_0x194c48}=_0x32e34d[0x0];return this[_0x3de0b5(0x239)](_0x383510,_0x194c48);}}[_0x56020b(0x200)](){const _0x215a97=_0x56020b;return this[_0x215a97(0x241)][_0x215a97(0x1f8)](_0x3b8032['SparklineDataSourceModel'])[_0x215a97(0x212)](this[_0x215a97(0x203)][_0x215a97(0x232)](),this[_0x215a97(0x223)][_0x215a97(0x22b)]());}[_0x56020b(0x1ff)](_0x34c8a8){const _0x2712ce=_0x56020b,_0x3ed3d4=this['_injector'][_0x2712ce(0x1f8)](_0x3b8032['SparklineDataSourceModel']);let _0x1c55cd;for(let _0x4fe477=0x0;_0x4fe477<_0x34c8a8[_0x2712ce(0x20a)];_0x4fe477++){const _0x3f340b=_0x34c8a8[_0x4fe477],{startRow:_0x1e19bc,endRow:_0x1bcaed,startColumn:_0x459914,endColumn:_0x15a9ab}=_0x3f340b;for(let _0x499fbd=_0x1e19bc;_0x499fbd<=_0x1bcaed;_0x499fbd++)for(let _0x321a96=_0x459914;_0x321a96<=_0x15a9ab;_0x321a96++){const _0x1f7a75=_0x3ed3d4[_0x2712ce(0x1f2)](this[_0x2712ce(0x203)][_0x2712ce(0x232)](),this['_worksheet']['getSheetId'](),_0x499fbd,_0x321a96);if(_0x1f7a75){const _0x3c5628=_0x3ed3d4['getSparklineById'](this[_0x2712ce(0x203)][_0x2712ce(0x232)](),this[_0x2712ce(0x223)][_0x2712ce(0x22b)](),_0x1f7a75);if(_0x3c5628){_0x1c55cd=_0xaaae2f[_0x2712ce(0x20c)]['deepClone'](_0x3c5628);break;}}}}_0x1c55cd&&this[_0x2712ce(0x235)][_0x2712ce(0x21f)](_0x3b8032[_0x2712ce(0x23f)]['id'],{'ranges':_0x34c8a8,'combine':!0x0,'config':_0x1c55cd,'isChangeDataSource':!0x1});}[_0x56020b(0x247)](_0x3c7a6d){const _0x33ff60=_0x56020b,_0x2a7113=this[_0x33ff60(0x241)][_0x33ff60(0x1f8)](_0x3b8032[_0x33ff60(0x23d)]);let _0x310eef;for(let _0x2b68d1=0x0;_0x2b68d1<_0x3c7a6d[_0x33ff60(0x20a)];_0x2b68d1++){const _0x16bfcf=_0x3c7a6d[_0x2b68d1],{startRow:_0x2270f5,endRow:_0x48653d,startColumn:_0x2bd112,endColumn:_0x33cbfa}=_0x16bfcf;for(let _0x4294df=_0x2270f5;_0x4294df<=_0x48653d;_0x4294df++)for(let _0x2f36b3=_0x2bd112;_0x2f36b3<=_0x33cbfa;_0x2f36b3++){const _0x4553dc=_0x2a7113[_0x33ff60(0x1f2)](this[_0x33ff60(0x203)][_0x33ff60(0x232)](),this[_0x33ff60(0x223)][_0x33ff60(0x22b)](),_0x4294df,_0x2f36b3);if(_0x4553dc){const _0x439406=_0x2a7113[_0x33ff60(0x213)](this[_0x33ff60(0x203)][_0x33ff60(0x232)](),this[_0x33ff60(0x223)][_0x33ff60(0x22b)](),_0x4553dc);if(_0x439406){_0x310eef=_0xaaae2f[_0x33ff60(0x20c)][_0x33ff60(0x240)](_0x439406);break;}}}}_0x310eef||this['_commandService']['executeCommand'](_0x3b8032[_0x33ff60(0x23f)]['id'],{'ranges':_0x3c7a6d,'unCombine':!0x0,'config':_0x310eef,'isChangeDataSource':!0x1});}['getSparklineByCell'](_0x686550,_0x1d6ec9){const _0x1435ec=_0x56020b,_0x1bf97f=this[_0x1435ec(0x241)][_0x1435ec(0x1f8)](_0x3b8032[_0x1435ec(0x23d)]),_0x350be2=this[_0x1435ec(0x203)][_0x1435ec(0x232)](),_0x372ea3=this['_worksheet'][_0x1435ec(0x22b)](),_0x2101f3=_0x1bf97f['getSparkline'](_0x350be2,_0x372ea3,_0x686550,_0x1d6ec9);if(_0x2101f3)return this[_0x1435ec(0x241)][_0x1435ec(0x22d)](_0xd1e9d1[_0x1435ec(0x23b)],_0x350be2,_0x372ea3,_0x2101f3,_0x686550,_0x1d6ec9);}[_0x56020b(0x23c)](_0x108612,_0x4fdd9b){const _0x36ae1b=_0x56020b,_0x8cc985=this[_0x36ae1b(0x241)][_0x36ae1b(0x1f8)](_0x3b8032[_0x36ae1b(0x23d)]),_0x212efc=this[_0x36ae1b(0x203)][_0x36ae1b(0x232)](),_0x23c368=this[_0x36ae1b(0x223)]['getSheetId'](),_0x518980=_0x8cc985[_0x36ae1b(0x1f2)](_0x212efc,_0x23c368,_0x108612,_0x4fdd9b);if(_0x518980)return this['_injector'][_0x36ae1b(0x22d)](_0xd1e9d1[_0x36ae1b(0x1f1)],_0x212efc,_0x23c368,_0x518980,_0x108612,_0x4fdd9b);}}_0x4144e6['FWorksheet'][_0x56020b(0x1f5)](_0x4a7b0f);class _0x167ede extends _0x44f884[_0x56020b(0x225)]{get[_0x56020b(0x211)](){const _0xe70e53=_0x56020b;return _0x3b8032[_0xe70e53(0x211)];}}_0x44f884[_0x56020b(0x225)][_0x56020b(0x1f5)](_0x167ede);class _0x47f193 extends _0x44f884[_0x56020b(0x205)]{get[_0x56020b(0x23e)](){const _0x7e250a=_0x56020b;return _0x7e250a(0x23e);}}_0x44f884['FEventName'][_0x56020b(0x1f5)](_0x47f193);class _0x33ef9c extends _0x44f884[_0x56020b(0x22f)]{[_0x56020b(0x214)](_0x1c61a6){const _0x34479f=_0x56020b,_0x37b2c7=_0x1c61a6['get'](_0xaaae2f[_0x34479f(0x228)]);this['registerEventHandler'](this[_0x34479f(0x210)]['SheetSparklineChanged'],()=>_0x37b2c7[_0x34479f(0x20e)](_0x443005=>{const _0x29b0f3=_0x34479f;var _0x3d38b3,_0x1a21e5;if(_0x443005['id']===_0x3b8032['SetSheetSparklineCommand']['id']){const _0x4b1839=_0x443005['params'];if(!_0x4b1839['isChangeDataSource']){const _0x476d1f=this[_0x29b0f3(0x23a)](),_0x3afc08=_0x476d1f==null?void 0x0:_0x476d1f[_0x29b0f3(0x219)]();if(!_0x476d1f||!_0x3afc08)return;const _0x1a29a5=_0x476d1f[_0x29b0f3(0x21c)](),_0x8b6889=_0x3afc08[_0x29b0f3(0x22b)](),_0x225d28=this[_0x29b0f3(0x241)]['get'](_0x3e5f84[_0x29b0f3(0x1fd)]),_0x1276af=this['_injector'][_0x29b0f3(0x1f8)](_0x3b8032[_0x29b0f3(0x23d)]),_0x4f0f1e=(_0x3d38b3=_0x4b1839==null?void 0x0:_0x4b1839[_0x29b0f3(0x230)])!=null?_0x3d38b3:_0x225d28['getCurrentSelections']()[_0x29b0f3(0x233)](_0x1b11d5=>_0x1b11d5[_0x29b0f3(0x238)]),_0x438377=(_0x1a21e5=_0x1276af[_0x29b0f3(0x1f9)]()['sparklineAnchorMap'][_0x29b0f3(0x1f8)](_0x1a29a5))==null?void 0x0:_0x1a21e5['get'](_0x8b6889),_0x52badb=new Set();_0x4f0f1e[_0x29b0f3(0x21a)](_0x29cab2=>{const _0x1e619d=_0x29b0f3;var _0x35892e;const {startRow:_0x2ea2c0,endRow:_0x29a3f0,startColumn:_0x500507,endColumn:_0x45223a}=_0x29cab2;for(let _0x4fe617=_0x2ea2c0;_0x4fe617<=_0x29a3f0;_0x4fe617++)for(let _0x33ff8e=_0x500507;_0x33ff8e<=_0x45223a;_0x33ff8e++){const _0x32b5fa=(_0x35892e=_0x438377==null?void 0x0:_0x438377[_0x1e619d(0x248)][_0x1e619d(0x22c)](_0x4fe617,_0x33ff8e))==null?void 0x0:_0x35892e['groupId'];_0x32b5fa&&_0x52badb['add'](_0x32b5fa);}});const _0x4efe2b=Array['from'](_0x52badb)['map'](_0x27dbc1=>_0x1276af['getSparklineById'](_0x1a29a5,_0x8b6889,_0x27dbc1))['filter'](_0x59d58f=>!!_0x59d58f),_0xd2ead5={'workbook':_0x476d1f,'worksheet':_0x3afc08,'sparklines':_0x4efe2b};if(this['fireEvent'](this[_0x29b0f3(0x210)]['SheetSparklineChanged'],_0xd2ead5),_0xd2ead5['cancel'])throw new Error(_0x29b0f3(0x201));}}}));}}_0x44f884[_0x56020b(0x22f)][_0x56020b(0x1f5)](_0x33ef9c),Object[_0x56020b(0x1f7)](_0xd1e9d1,Symbol['toStringTag'],{'value':_0x56020b(0x20b)});}));
|