@univerjs-pro/sheets-sparkline 0.10.1 → 0.10.2-nightly.202508071209

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1fd208=_0x4ea4;(function(_0x1aa775,_0x26d507){const _0x280157=_0x4ea4,_0x3f7d1=_0x1aa775();while(!![]){try{const _0x16b667=-parseInt(_0x280157(0x7d))/0x1*(-parseInt(_0x280157(0x10c))/0x2)+-parseInt(_0x280157(0x112))/0x3+-parseInt(_0x280157(0xf2))/0x4+-parseInt(_0x280157(0xc4))/0x5+-parseInt(_0x280157(0xa7))/0x6*(parseInt(_0x280157(0xc5))/0x7)+parseInt(_0x280157(0x124))/0x8+-parseInt(_0x280157(0x78))/0x9*(-parseInt(_0x280157(0x6c))/0xa);if(_0x16b667===_0x26d507)break;else _0x3f7d1['push'](_0x3f7d1['shift']());}catch(_0x29715c){_0x3f7d1['push'](_0x3f7d1['shift']());}}}(_0x4488,0x9eeae));function _0x4488(){const _0x46bd9b=['_initRegisterCommand','getCurrentUnitForType','_commandService','extremumMin','subUnitId','connect_with_line','_initCorrectRangeWithSparkline','sheet.command.add-sparkline','push','sheet.command.remove-sparkline','SELF_EXTREMUM','map','2387415OxZjEf','119mxlfiX','rgb(46,187,122)','fresh','firstPoint','extremumMax','getSizeOf','COMMAND','disposeWithMe','clone','unitId','moveRows','getCell','startRow','PROFIT_AND_LOSS_CHART','BOOLEAN','removeColumns','pluginName','DISTINCTIVE','next','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','actualColumn','updateConfig$','_sparklineDataSourceModel','u-connect','getSubUnitSparkline','rgb(80,102,248)','getCurrentSelections','delete','_config','lowPoint','values','hasValue','set','containHiddenCells','sparklineAnchorMap','rgb(49,106,246)','_ensureConfigMap','parse','getColVisible','FRESH','_injector','_sheetInterceptorService','foreach','matrix','_exclusiveRangeService','1965368dlVHEr','_initHideRowColWithSparkline','clearSparklineCache','FORCE_STRING','contains','defineProperty','_updateConfig$','MUTATION','has','intersects','getMatrix','realDeleteValue','range','specialty','setValue','deepClone','UNIVER_SHEET','min','SHEET_SPARKLINE_PLUGIN','emptyShowAs','moveColumns','_univerInstanceService','registerPluginResource','length','pushUndoRedo','ranges','6veVtek','custom','getValue','size','_getRefRangeMutationsByDeleteRows','setAlpha','1359039AQhHgh','max','subscribe','reBuildAnchorCache','highPoint','removeSparkline','_sparklineModel','forEach','removeRows','config','deleteUnit','column','sheet.command.set-sparkline','getSheetBySheetId','keys','toJSON','STANDARD','_getRefRangeMutationsByDeleteCols','6486712JtXBmo','refRangeHandle','setSparkline','onCommandExecuted','stringify','actualRow','entries','changeDataSourceInfo','10240030NCCqKy','_ensureAnchorMatrix','fromJSON','symbol','asObservable','endRow','getOwnPropertyDescriptor','LINE_CHART','getSparkline','SPECIALTY','distinctive','item','9hYZBSz','rgb(244,104,249)','remove','get','some','233503ApfWpa','sparklineModel','CUSTOM_EXTREMUM','from','removePartSparkline','nonNumShowAs','params','u-spacing','rgb(54,78,244)','CONNECT_WITH_LINE','getSparklineCache','SPACING','updateSparklineExtraNum','_sparklineAnchorMap','BAR_CHART','_initSnapshot','_initCopySheetWithSparkline','NORMAL','type','startColumn','_onRefRangeChange','getSparklineById','toRgbString','assign','groupId','GROUP_EXTREMUM','add','ZERO_VALUE','rgb(30,177,189)','_initDependencies','NUMBER','disposableCollection','negativePoint','standard','row','MAX_SAFE_INTEGER','dispose','getCellRaw','addSparkline','_initExclusiveRangeChange','zero_value','rgb(248,190,21)','163266EQLiqV','forValue','_refRangeService','CUSTOM','number','_initClearWithSparkline','spacing','_initDataChangeListener','interceptCommand','value','endColumn','markersPoint','PIE_CHART','sparklines','sheet.mutation.set-sparkline','rgb(236,100,169)','MIN_SAFE_INTEGER'];_0x4488=function(){return _0x46bd9b;};return _0x4488();}var qe=Object[_0x1fd208(0xf7)],Qe=(_0x136927,_0x60dc49,_0x3db34f)=>_0x60dc49 in _0x136927?qe(_0x136927,_0x60dc49,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3db34f}):_0x136927[_0x60dc49]=_0x3db34f,se=(_0x1cdcae,_0x335a4e,_0xeffcf4)=>Qe(_0x1cdcae,typeof _0x335a4e!=_0x1fd208(0x6f)?_0x335a4e+'':_0x335a4e,_0xeffcf4);import{UniverLicensePlugin as _0x42a012}from'@univerjs-pro/license';import{ObjectMatrix as _0x2d5f79,Inject as _0x504c27,IUniverInstanceService as _0x4e9356,Disposable as _0x34fa33,isValidRange as _0x1b1c71,CellValueType as _0x54c480,ColorKit as _0x1a226b,CommandType as _0x4f2a14,Range as _0x236b43,IUndoRedoService as _0x596a33,generateRandomId as _0x3ce919,ICommandService as _0x17fffc,Tools as _0x4dfb71,sequenceExecute as _0x451f02,Rectangle as _0x5de43d,cellToRange as _0xbf1113,DisposableCollection as _0x4d9c41,RANGE_TYPE as _0x4d62f7,UniverInstanceType as _0x19d6b6,IResourceManagerService as _0x593678,DependentOn as _0x5d2c78,Injector as _0x24d248,Plugin as _0x5b2493,touchDependencies as _0x4b167b}from'@univerjs/core';import{getSheetCommandTarget as _0x2a5460,SheetsSelectionsService as _0x3c5f2b,SheetInterceptorService as _0x218176,ClearSelectionAllCommand as _0x401e9b,CopySheetCommand as _0x481386,IExclusiveRangeService as _0x5e564f,SetRangeValuesMutation as _0x3daf68,ReorderRangeMutation as _0x2e6ff3,SetRowHiddenMutation as _0x21e3c9,SetColHiddenMutation as _0x1fdede,SetRowVisibleMutation as _0x15267f,SetColVisibleMutation as _0x1e3430,AddWorksheetMergeCommand as _0x51bd9d,RefRangeService as _0xac2ac7,SetWorksheetActivateCommand as _0x490b8a,RemoveRowCommand as _0x5bcc3e,RemoveColCommand as _0xd59311,adjustRangeOnMutation as _0x258a99,RemoveRowMutation as _0x2b791a,RemoveColMutation as _0x361ea4,InsertColMutation as _0x2f67f3,InsertRowMutation as _0x4400c6,MoveColsMutation as _0xc21219,MoveRowsMutation as _0x36ebf1,MoveRangeMutation as _0x418f59}from'@univerjs/sheets';import{Subject as _0x11931c}from'rxjs';function Fe(_0x4df470,_0x45cc94){const _0x22b64c=_0x1fd208,_0xf727b8=new _0x2d5f79(),_0x4ce220=[],_0x440027=_0x4df470[_0x22b64c(0x109)]>0x1;let _0x303042=0x0,_0x5de910=0x0;for(const _0x580e6b of _0x4df470)_0x303042+=_0x580e6b[_0x22b64c(0x71)]-_0x580e6b[_0x22b64c(0xd1)]+0x1,_0x5de910+=_0x580e6b[_0x22b64c(0xb1)]-_0x580e6b[_0x22b64c(0x90)]+0x1;for(const _0x2d13d3 of _0x45cc94)for(let _0x21b1c4=_0x2d13d3[_0x22b64c(0xd1)];_0x21b1c4<=_0x2d13d3[_0x22b64c(0x71)];_0x21b1c4++)for(let _0x3ec7d9=_0x2d13d3['startColumn'];_0x3ec7d9<=_0x2d13d3['endColumn'];_0x3ec7d9++)_0x4ce220[_0x22b64c(0xc0)]({'row':_0x21b1c4,'column':_0x3ec7d9});if(_0x4ce220[_0x22b64c(0x109)]===_0x303042)_0x440027?_0x4ce220[_0x22b64c(0x119)]((_0x24c35d,_0x24b94f)=>{const _0x561b25=_0x22b64c,_0x526339=_0x4df470[_0x24b94f],_0x3e898d={'startRow':_0x526339[_0x561b25(0xd1)],'startColumn':_0x526339[_0x561b25(0x90)],'endRow':_0x526339[_0x561b25(0xd1)],'endColumn':_0x526339[_0x561b25(0xb1)]};_0xf727b8['setValue'](_0x24c35d[_0x561b25(0x9f)],_0x24c35d[_0x561b25(0x11d)],_0x3e898d);}):_0x4ce220['forEach']((_0x385c7f,_0x5bb33e)=>{const _0x4a08a5=_0x22b64c,_0x2f6a9c=_0x4df470[0x0],_0x3a33eb={'startRow':_0x2f6a9c['startRow']+_0x5bb33e,'startColumn':_0x2f6a9c[_0x4a08a5(0x90)],'endRow':_0x2f6a9c[_0x4a08a5(0xd1)]+_0x5bb33e,'endColumn':_0x2f6a9c[_0x4a08a5(0xb1)]};_0xf727b8[_0x4a08a5(0x100)](_0x385c7f[_0x4a08a5(0x9f)],_0x385c7f[_0x4a08a5(0x11d)],_0x3a33eb);});else{if(_0x4ce220[_0x22b64c(0x109)]===_0x5de910)_0x440027?_0x4ce220['forEach']((_0x20cf18,_0x122633)=>{const _0x2a058b=_0x22b64c,_0x4cdfde=_0x4df470[_0x122633],_0x5af2f4={'startRow':_0x4cdfde[_0x2a058b(0xd1)],'startColumn':_0x4cdfde[_0x2a058b(0x90)],'endRow':_0x4cdfde['endRow'],'endColumn':_0x4cdfde[_0x2a058b(0x90)]};_0xf727b8['setValue'](_0x20cf18[_0x2a058b(0x9f)],_0x20cf18['column'],_0x5af2f4);}):_0x4ce220[_0x22b64c(0x119)]((_0x4c0ac2,_0x585683)=>{const _0x585c03=_0x22b64c,_0xeecc4=_0x4df470[0x0],_0x2f11b9={'startRow':_0xeecc4['startRow'],'startColumn':_0xeecc4[_0x585c03(0x90)]+_0x585683,'endRow':_0xeecc4[_0x585c03(0x71)],'endColumn':_0xeecc4[_0x585c03(0x90)]+_0x585683};_0xf727b8['setValue'](_0x4c0ac2[_0x585c03(0x9f)],_0x4c0ac2[_0x585c03(0x11d)],_0x2f11b9);});else{if(_0x4ce220[_0x22b64c(0x109)]===_0x4df470[_0x22b64c(0x109)])_0x4df470['every'](_0x57a6c8=>!(_0x57a6c8[_0x22b64c(0xd1)]!==_0x57a6c8[_0x22b64c(0x71)]&&_0x57a6c8['startColumn']!==_0x57a6c8[_0x22b64c(0xb1)]))&&_0x4ce220[_0x22b64c(0x119)]((_0x25caa3,_0x97b2c0)=>{const _0x3a5c8c=_0x22b64c,_0x4fcc30=_0x4df470[_0x97b2c0];_0xf727b8[_0x3a5c8c(0x100)](_0x25caa3[_0x3a5c8c(0x9f)],_0x25caa3['column'],_0x4fcc30);});else throw new Error(_0x22b64c(0xd8));}}return _0xf727b8;}const Ke=_0x1fd208(0x104),Le={'standard':[_0x1fd208(0x85),_0x1fd208(0xb6)],'specialty':[_0x1fd208(0xe8),_0x1fd208(0x99)],'distinctive':['rgb(124,66,147)','rgb(252,117,60)'],'soft':[_0x1fd208(0xde),_0x1fd208(0x79)],'fresh':[_0x1fd208(0xc6),_0x1fd208(0xa6)]},on=[_0x1fd208(0x116),_0x1fd208(0xc8),'lastPoint',_0x1fd208(0xe2),_0x1fd208(0x9d),_0x1fd208(0xb2)];var Xe=(_0x2f9ba7=>(_0x2f9ba7[_0x1fd208(0x122)]='standard',_0x2f9ba7[_0x1fd208(0x75)]=_0x1fd208(0xff),_0x2f9ba7[_0x1fd208(0xd6)]=_0x1fd208(0x76),_0x2f9ba7['SOFT']='soft',_0x2f9ba7[_0x1fd208(0xec)]=_0x1fd208(0xc7),_0x2f9ba7[_0x1fd208(0xaa)]=_0x1fd208(0x10d),_0x2f9ba7))(Xe||{}),Dt=(_0x966d2a=>(_0x966d2a[_0x966d2a[_0x1fd208(0x73)]=0x1]=_0x1fd208(0x73),_0x966d2a[_0x966d2a[_0x1fd208(0x8b)]=0x2]=_0x1fd208(0x8b),_0x966d2a[_0x966d2a[_0x1fd208(0xd2)]=0x3]=_0x1fd208(0xd2),_0x966d2a[_0x966d2a[_0x1fd208(0xb3)]=0x4]=_0x1fd208(0xb3),_0x966d2a))(Dt||{}),J=(_0x11feb0=>(_0x11feb0[_0x1fd208(0x88)]=_0x1fd208(0xad),_0x11feb0[_0x1fd208(0x98)]=_0x1fd208(0xa5),_0x11feb0['CONNECT_WITH_LINE']=_0x1fd208(0xbd),_0x11feb0))(J||{}),De=(_0x439368=>(_0x439368[_0x439368[_0x1fd208(0xc2)]=0x1]=_0x1fd208(0xc2),_0x439368[_0x439368[_0x1fd208(0x96)]=0x2]=_0x1fd208(0x96),_0x439368[_0x439368[_0x1fd208(0x7f)]=0x3]=_0x1fd208(0x7f),_0x439368))(De||{}),Et=Object[_0x1fd208(0x72)],Vt=(_0x190dfb,_0x16a27d,_0x4e545f,_0xb3c802)=>{const _0x3b53ee=_0x1fd208;for(var _0x26dcbf=_0xb3c802>0x1?void 0x0:_0xb3c802?Et(_0x16a27d,_0x4e545f):_0x16a27d,_0x2fc897=_0x190dfb[_0x3b53ee(0x109)]-0x1,_0x59ce28;_0x2fc897>=0x0;_0x2fc897--)(_0x59ce28=_0x190dfb[_0x2fc897])&&(_0x26dcbf=_0x59ce28(_0x26dcbf)||_0x26dcbf);return _0x26dcbf;},yt=(_0x8b11bf,_0x20e320)=>(_0xb7d8dd,_0x218698)=>_0x20e320(_0xb7d8dd,_0x218698,_0x8b11bf);let x=class extends _0x34fa33{constructor(_0x285bd9){const _0x48238d=_0x1fd208;super(),se(this,'_sparklineModel',new Map()),se(this,_0x48238d(0x8a),new Map()),se(this,_0x48238d(0xf8),new _0x11931c()),se(this,_0x48238d(0xda),this[_0x48238d(0xf8)][_0x48238d(0x70)]()),this[_0x48238d(0x107)]=_0x285bd9;}[_0x1fd208(0xe9)](_0x13a223,_0x4f77d1){const _0x458303=_0x1fd208;let _0x48b531=this[_0x458303(0x118)][_0x458303(0x7b)](_0x13a223);_0x48b531||(_0x48b531=new Map(),this[_0x458303(0x118)][_0x458303(0xe5)](_0x13a223,_0x48b531));let _0x3489ea=_0x48b531['get'](_0x4f77d1);return _0x3489ea||(_0x3489ea=new Map(),_0x48b531[_0x458303(0xe5)](_0x4f77d1,_0x3489ea)),_0x3489ea;}[_0x1fd208(0x6d)](_0x233ddd,_0x222905){const _0xae31a8=_0x1fd208;let _0x14c63b=this[_0xae31a8(0x8a)][_0xae31a8(0x7b)](_0x233ddd);_0x14c63b||(_0x14c63b=new Map(),this[_0xae31a8(0x8a)][_0xae31a8(0xe5)](_0x233ddd,_0x14c63b));let _0xa92d81=_0x14c63b[_0xae31a8(0x7b)](_0x222905);return _0xa92d81||(_0xa92d81={'matrix':new _0x2d5f79(),'extra':{}},_0x14c63b[_0xae31a8(0xe5)](_0x222905,_0xa92d81)),_0xa92d81;}[_0x1fd208(0x89)](_0x3c5a6c,_0x1a5607,_0x5278dc,_0x36dbc1=_0x1fd208(0xe5)){const _0xd56fa=_0x1fd208;var _0x2ed5f7,_0x19000b,_0x24af41,_0x5a7b5e,_0x281a87,_0xdf0405,_0x3df71e,_0x1b3368,_0x43ac5a,_0x2db2c3,_0x34bd77,_0x3a7b4c,_0x10eec3;const _0x87ca98=(_0x19000b=(_0x2ed5f7=this[_0xd56fa(0x118)][_0xd56fa(0x7b)](_0x3c5a6c))==null?void 0x0:_0x2ed5f7[_0xd56fa(0x7b)](_0x1a5607))==null?void 0x0:_0x19000b[_0xd56fa(0x7b)](_0x5278dc);if(!_0x87ca98)return;const _0x7cc7ca=_0x2a5460(this[_0xd56fa(0x107)],{'unitId':_0x3c5a6c,'subUnitId':_0x1a5607});if(!_0x7cc7ca)return;const _0x399f4f=this[_0xd56fa(0x6d)](_0x3c5a6c,_0x1a5607),{extra:_0x297412,matrix:_0x858d57}=_0x399f4f,{worksheet:_0x5c8cc0}=_0x7cc7ca;let _0x551784=Number[_0xd56fa(0xb7)],_0x5619c5=Number[_0xd56fa(0xa0)];const _0x1efc16=(_0x24af41=_0x87ca98[_0xd56fa(0x11b)][_0xd56fa(0xe6)])!=null?_0x24af41:!0x1;_0x87ca98[_0xd56fa(0xb4)]['forValue']((_0xe4644,_0x16a4d5,_0x17ee95)=>{const _0x25e3f9=_0xd56fa;var _0x247067,_0x4e6518,_0x3ee8a6;const _0x552146=_0x17ee95;let _0xc64437=Number[_0x25e3f9(0xb7)],_0x570f79=Number[_0x25e3f9(0xa0)],_0x3a1c06=0x0,_0x2ba7fb=0x0;const _0x55446e=[];if(!_0x1b1c71(_0x552146))_0x858d57[_0x25e3f9(0x100)](_0xe4644,_0x16a4d5,{'groupId':_0x5278dc,'data':[],'max':_0xc64437,'min':_0x570f79,'highIndex':_0x3a1c06,'lowIndex':_0x2ba7fb,'negativeIndexes':_0x55446e});else{const _0x532f02=[];for(let _0x46e015=_0x552146[_0x25e3f9(0xd1)];_0x46e015<=_0x552146['endRow'];_0x46e015++){for(let _0x2fc4dd=_0x552146[_0x25e3f9(0x90)];_0x2fc4dd<=_0x552146['endColumn'];_0x2fc4dd++){const _0x3c235e=_0x5c8cc0['getRowVisible'](_0x46e015),_0x13c5c5=_0x5c8cc0[_0x25e3f9(0xeb)](_0x2fc4dd);if(!_0x1efc16&&(!_0x3c235e||!_0x13c5c5))continue;let _0x17999f=0x0;const _0x4a994a=((_0x247067=_0x5c8cc0[_0x25e3f9(0xa2)](_0x46e015,_0x2fc4dd))==null?void 0x0:_0x247067['v'])!==void 0x0?_0x5c8cc0[_0x25e3f9(0xa2)](_0x46e015,_0x2fc4dd):_0x5c8cc0[_0x25e3f9(0xd0)](_0x46e015,_0x2fc4dd);if(!_0x4a994a||_0x4a994a['v']===void 0x0||_0x4a994a['v']===null){const _0x2849eb=(_0x4e6518=_0x87ca98[_0x25e3f9(0x11b)][_0x25e3f9(0x105)])!=null?_0x4e6518:J[_0x25e3f9(0x88)];_0x2849eb===J[_0x25e3f9(0x98)]?_0x17999f=0x0:_0x2849eb===J[_0x25e3f9(0x88)]?_0x17999f='u-spacing':_0x2849eb===J[_0x25e3f9(0x86)]&&(_0x17999f=_0x25e3f9(0xdc));}else{if(_0x4a994a['t']===_0x54c480['STRING']||_0x4a994a['t']===_0x54c480[_0x25e3f9(0xf5)]){const _0x35478b=(_0x3ee8a6=_0x87ca98['config'][_0x25e3f9(0x82)])!=null?_0x3ee8a6:J[_0x25e3f9(0x88)];_0x35478b===J[_0x25e3f9(0x98)]?_0x17999f=0x0:_0x35478b===J[_0x25e3f9(0x88)]?_0x17999f=_0x25e3f9(0x84):_0x35478b===J['CONNECT_WITH_LINE']&&(_0x17999f=_0x25e3f9(0xdc));}else _0x4a994a['t']===_0x54c480[_0x25e3f9(0xd3)]?_0x17999f=_0x4a994a['v']?0x1:0x0:_0x4a994a['t']===_0x54c480[_0x25e3f9(0x9b)]?_0x17999f=Number(_0x4a994a['v']):_0x17999f=_0x4a994a['v'];}if(_0x532f02[_0x25e3f9(0xc0)](_0x17999f),typeof _0x17999f==_0x25e3f9(0xab)){_0xc64437=Math[_0x25e3f9(0x113)](_0xc64437,_0x17999f),_0x551784=Math['max'](_0x551784,_0x17999f),_0x5619c5=Math['min'](_0x5619c5,_0x17999f),_0x570f79=Math[_0x25e3f9(0x103)](_0x570f79,_0x17999f);const _0x1ea5c0=typeof _0x532f02[_0x3a1c06]==_0x25e3f9(0xab)?Number(_0x532f02[_0x3a1c06]):Number[_0x25e3f9(0xb7)];_0x17999f>_0x1ea5c0&&(_0x3a1c06=_0x532f02[_0x25e3f9(0x109)]-0x1);const _0x36fd03=typeof _0x532f02[_0x2ba7fb]==_0x25e3f9(0xab)?Number(_0x532f02[_0x2ba7fb]):Number[_0x25e3f9(0xa0)];_0x17999f<_0x36fd03&&(_0x2ba7fb=_0x532f02[_0x25e3f9(0x109)]-0x1),_0x17999f<0x0&&_0x55446e[_0x25e3f9(0xc0)](_0x532f02[_0x25e3f9(0x109)]-0x1);}}_0x858d57[_0x25e3f9(0x100)](_0xe4644,_0x16a4d5,{'groupId':_0x5278dc,'data':_0x532f02,'max':_0xc64437,'min':_0x570f79,'highIndex':_0x3a1c06,'lowIndex':_0x2ba7fb,'negativeIndexes':_0x55446e});}}});let _0x47b85a=_0x551784;((_0x5a7b5e=_0x87ca98[_0xd56fa(0x11b)][_0xd56fa(0xc9)])==null?void 0x0:_0x5a7b5e[_0xd56fa(0x8f)])===De[_0xd56fa(0x7f)]&&(_0x47b85a=(_0xdf0405=(_0x281a87=_0x87ca98[_0xd56fa(0x11b)][_0xd56fa(0xc9)])==null?void 0x0:_0x281a87[_0xd56fa(0xb0)])!=null?_0xdf0405:_0x551784);let _0x563321=_0x5619c5;((_0x3df71e=_0x87ca98[_0xd56fa(0x11b)]['extremumMin'])==null?void 0x0:_0x3df71e[_0xd56fa(0x8f)])===De[_0xd56fa(0x7f)]&&(_0x563321=(_0x43ac5a=(_0x1b3368=_0x87ca98[_0xd56fa(0x11b)][_0xd56fa(0xbb)])==null?void 0x0:_0x1b3368[_0xd56fa(0xb0)])!=null?_0x43ac5a:_0x5619c5);const _0x3229f2=(_0x2db2c3=_0x87ca98['config']['themeType'])!=null?_0x2db2c3:Xe['STANDARD'],_0x21b8da=(_0x10eec3=(_0x3a7b4c=_0x87ca98['config']['seriesColor'])!=null?_0x3a7b4c:(_0x34bd77=Le[_0x3229f2])==null?void 0x0:_0x34bd77[0x0])!=null?_0x10eec3:Le[_0xd56fa(0x9e)][0x0],_0x1d111d=new _0x1a226b(_0x21b8da),_0x44ee5f=_0x1d111d[_0xd56fa(0x111)](0.2)['toRgbString'](),_0x5e0013=_0x1d111d['setAlpha'](0.05)[_0xd56fa(0x93)]();_0x297412[_0x5278dc]={'groupMax':_0x551784,'groupMin':_0x5619c5,'showMax':_0x47b85a,'showMin':_0x563321,'startGradient':_0x44ee5f,'endGradient':_0x5e0013},this[_0xd56fa(0xf8)]['next']({'unitId':_0x3c5a6c,'subUnitId':_0x1a5607,'groupId':_0x5278dc,'config':_0x87ca98,'type':_0x36dbc1});}[_0x1fd208(0xa3)](_0x46ed6f,_0x3a317c,_0xe18af5,_0x90481a){const _0x3ac6d6=_0x1fd208;this[_0x3ac6d6(0xe9)](_0x46ed6f,_0x3a317c)[_0x3ac6d6(0xe5)](_0xe18af5,_0x90481a),this[_0x3ac6d6(0x89)](_0x46ed6f,_0x3a317c,_0xe18af5,_0x3ac6d6(0x97));}['setSparkline'](_0xa15418,_0x59d743,_0x5f2534,_0x36e904){const _0x38f979=_0x1fd208;var _0xc362e8;const _0x54bd43=(_0xc362e8=this[_0x38f979(0x118)][_0x38f979(0x7b)](_0xa15418))==null?void 0x0:_0xc362e8['get'](_0x59d743);_0x5f2534[_0x38f979(0x119)](_0x2ccfb3=>{const _0x5b6823=_0x38f979;_0x54bd43!=null&&_0x54bd43[_0x5b6823(0xfa)](_0x2ccfb3)&&(_0x54bd43[_0x5b6823(0xe5)](_0x2ccfb3,_0x36e904),this[_0x5b6823(0x89)](_0xa15418,_0x59d743,_0x2ccfb3));});}['removeSparkline'](_0xae697e,_0xa99ce5,_0x291291){const _0x5c695a=_0x1fd208;var _0x76271d,_0x4c8fee;const _0x54cf51=this['_sparklineModel'][_0x5c695a(0x7b)](_0xae697e);if(_0x54cf51){const _0x2f8479=_0x54cf51[_0x5c695a(0x7b)](_0xa99ce5);if(_0x2f8479){_0x2f8479['delete'](_0x291291);const _0x166090=(_0x76271d=this[_0x5c695a(0x8a)]['get'](_0xae697e))==null?void 0x0:_0x76271d[_0x5c695a(0x7b)](_0xa99ce5);(_0x4c8fee=_0x166090==null?void 0x0:_0x166090[_0x5c695a(0xf0)])==null||_0x4c8fee['forValue']((_0x178156,_0x5f0c8e,_0x792756)=>{const _0x1b2765=_0x5c695a;(_0x792756==null?void 0x0:_0x792756['groupId'])===_0x291291&&(_0x166090==null||_0x166090[_0x1b2765(0xf0)][_0x1b2765(0xfd)](_0x178156,_0x5f0c8e));}),this[_0x5c695a(0xf8)][_0x5c695a(0xd7)]({'unitId':_0xae697e,'subUnitId':_0xa99ce5,'groupId':_0x291291,'type':_0x5c695a(0x7a)});}}}[_0x1fd208(0x81)](_0x177758,_0x22a237,_0x4ff7e1,_0x401e9d){const _0x14e389=_0x1fd208;var _0x134ce9,_0x233601,_0x4e4938,_0x37c929;const _0x3a22dc=(_0x134ce9=this[_0x14e389(0x8a)][_0x14e389(0x7b)](_0x177758))==null?void 0x0:_0x134ce9[_0x14e389(0x7b)](_0x22a237),_0x5a1471=_0x3a22dc==null?void 0x0:_0x3a22dc[_0x14e389(0xf0)][_0x14e389(0x10e)](_0x4ff7e1,_0x401e9d);if(_0x5a1471){const {groupId:_0x55d982}=_0x5a1471,_0xb893cc=(_0x233601=this[_0x14e389(0x118)][_0x14e389(0x7b)](_0x177758))==null?void 0x0:_0x233601['get'](_0x22a237);(_0x4e4938=_0xb893cc==null?void 0x0:_0xb893cc['get'](_0x55d982))==null||_0x4e4938['sparklines'][_0x14e389(0xfd)](_0x4ff7e1,_0x401e9d),(_0x37c929=_0xb893cc==null?void 0x0:_0xb893cc[_0x14e389(0x7b)](_0x55d982))!=null&&_0x37c929['sparklines'][_0x14e389(0xe4)]()||_0xb893cc==null||_0xb893cc[_0x14e389(0xe0)](_0x55d982),_0x3a22dc==null||_0x3a22dc[_0x14e389(0xf0)][_0x14e389(0xfd)](_0x4ff7e1,_0x401e9d),this[_0x14e389(0xf8)][_0x14e389(0xd7)]({'unitId':_0x177758,'subUnitId':_0x22a237,'groupId':_0x55d982,'type':_0x14e389(0x7a)});}}['clearSparklineCache'](_0x5d5650,_0x2bfa38,_0xa91759){const _0x156f6b=_0x1fd208;var _0x2bbe06,_0x520686,_0x4460f5,_0x395e7e;const _0x56d559=(_0x4460f5=(_0x520686=(_0x2bbe06=this[_0x156f6b(0x118)][_0x156f6b(0x7b)](_0x5d5650))==null?void 0x0:_0x2bbe06[_0x156f6b(0x7b)](_0x2bfa38))==null?void 0x0:_0x520686[_0x156f6b(0x7b)](_0xa91759))==null?void 0x0:_0x4460f5['sparklines'],_0x3dc5ea=(_0x395e7e=this[_0x156f6b(0x8a)]['get'](_0x5d5650))==null?void 0x0:_0x395e7e[_0x156f6b(0x7b)](_0x2bfa38);if(_0x56d559&&_0x3dc5ea){const {matrix:_0x332ef2,extra:_0x4feddf}=_0x3dc5ea;_0x56d559['forValue']((_0x5aefbf,_0x4ead24,_0x2f9b77)=>{const _0x2eab14=_0x156f6b;_0x332ef2[_0x2eab14(0xfd)](_0x5aefbf,_0x4ead24);}),delete _0x4feddf[_0xa91759];}}[_0x1fd208(0xdd)](_0x398bf1,_0x205dc7){const _0x243c5b=_0x1fd208;var _0x4528d1;return(_0x4528d1=this[_0x243c5b(0x118)][_0x243c5b(0x7b)](_0x398bf1))==null?void 0x0:_0x4528d1[_0x243c5b(0x7b)](_0x205dc7);}['getSparklineById'](_0x56a4f1,_0x10538d,_0x4a473a){const _0x50d044=_0x1fd208;var _0x43c429,_0x1d3b8d;return(_0x1d3b8d=(_0x43c429=this[_0x50d044(0x118)][_0x50d044(0x7b)](_0x56a4f1))==null?void 0x0:_0x43c429['get'](_0x10538d))==null?void 0x0:_0x1d3b8d[_0x50d044(0x7b)](_0x4a473a);}[_0x1fd208(0x74)](_0x1a9323,_0x105cd3,_0x2c211a,_0x2a1787){const _0x52a493=_0x1fd208;var _0x306097,_0x202447,_0xada8d4;return(_0xada8d4=(_0x202447=(_0x306097=this['_sparklineAnchorMap'][_0x52a493(0x7b)](_0x1a9323))==null?void 0x0:_0x306097['get'](_0x105cd3))==null?void 0x0:_0x202447[_0x52a493(0xf0)]['getValue'](_0x2c211a,_0x2a1787))==null?void 0x0:_0xada8d4['groupId'];}[_0x1fd208(0x115)](_0x399478,_0x35027e){const _0x158388=_0x1fd208;var _0x32ddac;const _0x40c4cd=this[_0x158388(0x6d)](_0x399478,_0x35027e);_0x40c4cd[_0x158388(0xf0)]['forValue']((_0x234552,_0x9ef21e)=>{const _0x3c01ba=_0x158388;_0x40c4cd['matrix'][_0x3c01ba(0xfd)](_0x234552,_0x9ef21e);});const _0x261ef0=(_0x32ddac=this['_sparklineModel'][_0x158388(0x7b)](_0x399478))==null?void 0x0:_0x32ddac['get'](_0x35027e);if(_0x261ef0){for(const [_0x376071]of _0x261ef0)this[_0x158388(0x89)](_0x399478,_0x35027e,_0x376071);}}[_0x1fd208(0x87)](){const _0xb6494=_0x1fd208;return{'sparklineModel':this[_0xb6494(0x118)],'sparklineAnchorMap':this[_0xb6494(0x8a)]};}['toJSON'](_0x8d7c88){const _0x34555e=_0x1fd208,_0x3ea8f9={};if(this['_sparklineModel']['has'](_0x8d7c88)){_0x3ea8f9[_0x8d7c88]={};const _0x206a2e=this[_0x34555e(0x118)][_0x34555e(0x7b)](_0x8d7c88);_0x206a2e!=null&&_0x206a2e[_0x34555e(0x10f)]&&Array[_0x34555e(0x80)](_0x206a2e[_0x34555e(0x120)]())[_0x34555e(0x119)](_0x40f73a=>{const _0x27f75d=_0x34555e;_0x3ea8f9[_0x8d7c88][_0x40f73a]={};const _0x3367c2=_0x206a2e[_0x27f75d(0x7b)](_0x40f73a);_0x3367c2!=null&&_0x3367c2[_0x27f75d(0x10f)]&&Array[_0x27f75d(0x80)](_0x3367c2[_0x27f75d(0x120)]())['forEach'](_0x21bc4e=>{const _0x5297cd=_0x27f75d,_0xc89065=_0x3367c2[_0x5297cd(0x7b)](_0x21bc4e);_0xc89065&&(_0x3ea8f9[_0x8d7c88][_0x40f73a][_0x21bc4e]={'config':_0xc89065[_0x5297cd(0x11b)],'sparklines':_0xc89065[_0x5297cd(0xb4)][_0x5297cd(0xfc)]()});});});}return _0x3ea8f9;}[_0x1fd208(0x6e)](_0x187936){const _0x192bb3=_0x1fd208;if(!_0x187936)return;Object[_0x192bb3(0x120)](_0x187936)[_0x192bb3(0x119)](_0x200c30=>{const _0x433a9c=_0x192bb3,_0x3d9d47=_0x187936[_0x200c30];_0x3d9d47&&Object[_0x433a9c(0x120)](_0x3d9d47)[_0x433a9c(0x119)](_0x144aa5=>{const _0x42744e=_0x433a9c,_0x53b515=_0x3d9d47[_0x144aa5];_0x53b515&&Object[_0x42744e(0x120)](_0x53b515)['forEach'](_0x259a78=>{const _0x2ca09e=_0x42744e,_0x43167f=_0x53b515[_0x259a78];if(_0x43167f){const _0x40908d={'config':_0x43167f[_0x2ca09e(0x11b)],'sparklines':new _0x2d5f79(_0x43167f[_0x2ca09e(0xb4)])};this['addSparkline'](_0x200c30,_0x144aa5,_0x259a78,_0x40908d);}});});});}[_0x1fd208(0x11c)](_0x4c1e08){const _0x96a8b=_0x1fd208,_0x1cf310=this['_sparklineModel'][_0x96a8b(0x7b)](_0x4c1e08);if(_0x1cf310){for(const [_0x16501b]of _0x1cf310){const _0x2ad4c2=_0x1cf310[_0x96a8b(0x7b)](_0x16501b);if(_0x2ad4c2){for(const [_0x55f58c]of _0x2ad4c2)this[_0x96a8b(0xf4)](_0x4c1e08,_0x16501b,_0x55f58c);}}this[_0x96a8b(0x118)][_0x96a8b(0xe0)](_0x4c1e08);}}};x=Vt([yt(0x0,_0x504c27(_0x4e9356))],x);const V={'id':'sheet.mutation.add-sparkline','type':_0x4f2a14[_0x1fd208(0xf9)],'handler':(_0x16c454,_0x4e4150)=>{const _0x22096e=_0x1fd208;if(!_0x4e4150)return!0x1;const {sparklineConfigMap:_0x1ed033,unitId:_0x426e0a,subUnitId:_0x47993d}=_0x4e4150,_0x31ecdd=_0x16c454['get'](x);return Object[_0x22096e(0x6a)](_0x1ed033)[_0x22096e(0x119)](([_0x34ec5e,_0x16a932])=>{const _0x4c96a0=_0x22096e,_0xc756={'config':_0x16a932[_0x4c96a0(0x11b)],'sparklines':new _0x2d5f79(_0x16a932[_0x4c96a0(0xb4)])};_0x31ecdd[_0x4c96a0(0xa3)](_0x426e0a,_0x47993d,_0x34ec5e,_0xc756);}),!0x0;}},y={'id':'sheet.mutation.remove-sparkline','type':_0x4f2a14[_0x1fd208(0xf9)],'handler':(_0x2ff507,_0x4895ba)=>{const _0x2e6bf1=_0x1fd208;if(!_0x4895ba)return!0x1;const {unitId:_0x3a6952,subUnitId:_0x1de8a6,ranges:_0x2e3823,isSingle:_0x48082b,groupIds:_0x355446}=_0x4895ba,_0x3c53f8=_0x2ff507[_0x2e6bf1(0x7b)](x);return _0x355446?(_0x355446[_0x2e6bf1(0x119)](_0x12cd91=>{const _0x3d3004=_0x2e6bf1;_0x3c53f8[_0x3d3004(0x117)](_0x3a6952,_0x1de8a6,_0x12cd91);}),!0x0):_0x2e3823?(_0x2e3823[_0x2e6bf1(0x119)](_0x2dd11a=>{_0x236b43['foreach'](_0x2dd11a,(_0x3172f6,_0x53fee7)=>{const _0x39106a=_0x4ea4,_0x4a0722=_0x3c53f8[_0x39106a(0x74)](_0x3a6952,_0x1de8a6,_0x3172f6,_0x53fee7);_0x4a0722&&(_0x48082b?_0x3c53f8['removePartSparkline'](_0x3a6952,_0x1de8a6,_0x3172f6,_0x53fee7):_0x3c53f8[_0x39106a(0x117)](_0x3a6952,_0x1de8a6,_0x4a0722));});}),!0x0):!0x1;}},Nt={'id':_0x1fd208(0xbf),'type':_0x4f2a14[_0x1fd208(0xcb)],'handler':(_0x206263,_0x151784)=>{const _0x22f46c=_0x1fd208;if(!_0x151784)return!0x1;const {sourceRanges:_0x48806c,targetRanges:_0x5f0677,config:_0x2b4950}=_0x151784,_0x1a5928=_0x206263[_0x22f46c(0x7b)](_0x596a33),_0xaed765='g_'+_0x3ce919(0x6),_0x2d96d5=Fe(_0x48806c,_0x5f0677),_0x552bca={'config':_0x2b4950!=null?_0x2b4950:{},'sparklines':_0x2d96d5[_0x22f46c(0xfc)]()},_0x3f3481=_0x206263['get'](_0x4e9356),_0x2fa4e9=_0x206263[_0x22f46c(0x7b)](x),_0x5829a3=_0x2a5460(_0x3f3481);if(!_0x5829a3)return!0x1;const {unitId:_0x2e894e,subUnitId:_0xf4908c}=_0x5829a3,_0x3cc7ae=_0x206263[_0x22f46c(0x7b)](_0x17fffc),_0x582c86=[],_0xf34081=[],_0x27d1fd={},_0x3586bf={},_0x521f79=new Set([_0xaed765]);_0x2d96d5[_0x22f46c(0xa8)]((_0x13f866,_0x35a222,_0x42dcaf)=>{const _0x125ee8=_0x22f46c,_0x164a4a=_0x2fa4e9[_0x125ee8(0x74)](_0x2e894e,_0xf4908c,_0x13f866,_0x35a222);if(_0x164a4a){const _0x52b7dd=_0x2fa4e9[_0x125ee8(0x92)](_0x2e894e,_0xf4908c,_0x164a4a);if(_0x52b7dd){_0x521f79['add'](_0x164a4a);let _0x5efe02=_0x27d1fd[_0x164a4a],_0x47fc56=_0x3586bf[_0x164a4a];_0x47fc56||(_0x47fc56={'config':_0x4dfb71[_0x125ee8(0x101)](_0x52b7dd[_0x125ee8(0x11b)]),'sparklines':new _0x2d5f79(_0x52b7dd['sparklines'][_0x125ee8(0xcd)]())},_0x3586bf[_0x164a4a]=_0x47fc56),_0x5efe02||(_0x5efe02={'config':_0x4dfb71['deepClone'](_0x52b7dd['config']),'sparklines':_0x52b7dd[_0x125ee8(0xb4)][_0x125ee8(0xcd)]()},_0x27d1fd[_0x164a4a]=_0x5efe02),_0x47fc56['sparklines'][_0x125ee8(0xfd)](_0x13f866,_0x35a222);}}});const _0x21004f={};return Object[_0x22f46c(0x6a)](_0x3586bf)[_0x22f46c(0x119)](([_0x4f5670,_0x282e33])=>{const _0x5468c6=_0x22f46c;_0x282e33[_0x5468c6(0xb4)][_0x5468c6(0xca)]()&&(_0x21004f[_0x4f5670]={'config':_0x282e33[_0x5468c6(0x11b)],'sparklines':_0x282e33[_0x5468c6(0xb4)][_0x5468c6(0xcd)]()});}),_0x21004f[_0xaed765]=_0x552bca,_0x582c86[_0x22f46c(0xc0)]({'id':y['id'],'params':{'unitId':_0x2e894e,'subUnitId':_0xf4908c,'groupIds':Array[_0x22f46c(0x80)](_0x521f79),'isSingle':!0x1}}),_0x521f79[_0x22f46c(0x10f)]>0x1&&(_0xf34081[_0x22f46c(0xc0)]({'id':y['id'],'params':{'unitId':_0x2e894e,'subUnitId':_0xf4908c,'groupIds':Array[_0x22f46c(0x80)](_0x521f79),'isSingle':!0x1}}),_0x582c86['push']({'id':V['id'],'params':{'unitId':_0x2e894e,'subUnitId':_0xf4908c,'sparklineConfigMap':_0x27d1fd}})),_0xf34081[_0x22f46c(0xc0)]({'id':V['id'],'params':{'unitId':_0x2e894e,'subUnitId':_0xf4908c,'sparklineConfigMap':_0x21004f}}),_0x451f02(_0xf34081,_0x3cc7ae),_0x1a5928[_0x22f46c(0x10a)]({'unitID':_0x2e894e,'undoMutations':_0x582c86,'redoMutations':_0xf34081}),!0x0;}},Ot={'id':_0x1fd208(0xc1),'type':_0x4f2a14['COMMAND'],'handler':(_0x5073b3,_0x52448c)=>{const _0x352bf0=_0x1fd208;var _0x4a6e23;const {isSingle:_0x295795=!0x0}=_0x52448c||{},_0x5ca53e=_0x5073b3[_0x352bf0(0x7b)](_0x17fffc),_0x1d94c6=_0x5073b3[_0x352bf0(0x7b)](_0x4e9356),_0x25d9aa=_0x5073b3[_0x352bf0(0x7b)](x),_0x2b39c2=_0x5073b3[_0x352bf0(0x7b)](_0x596a33),_0x107b6f=_0x2a5460(_0x1d94c6);if(!_0x107b6f)return!0x1;const _0x518c4b=_0x5073b3[_0x352bf0(0x7b)](_0x3c5f2b),_0x37a989=(_0x4a6e23=_0x52448c==null?void 0x0:_0x52448c[_0x352bf0(0x10b)])!=null?_0x4a6e23:_0x518c4b[_0x352bf0(0xdf)]()[_0x352bf0(0xc3)](_0x23e36d=>_0x23e36d['range']),{unitId:_0x2e66a8,subUnitId:_0x32402c}=_0x107b6f,_0x2706f0=[],_0x2be0e1=[];_0x2706f0['push']({'id':y['id'],'params':{'unitId':_0x2e66a8,'subUnitId':_0x32402c,'ranges':_0x37a989,'isSingle':_0x295795}});const _0x5ced04=[],_0x4d20c9={};return _0x37a989[_0x352bf0(0x119)](_0x4a8198=>{const _0x7d5b00=_0x352bf0;_0x236b43[_0x7d5b00(0xef)](_0x4a8198,(_0x55d7af,_0x2732b6)=>{const _0x1139f9=_0x7d5b00,_0x418028=_0x25d9aa[_0x1139f9(0x74)](_0x2e66a8,_0x32402c,_0x55d7af,_0x2732b6);if(_0x418028){const _0x5d4173=_0x25d9aa[_0x1139f9(0x92)](_0x2e66a8,_0x32402c,_0x418028);_0x5d4173&&(_0x5ced04['push'](_0x418028),_0x4d20c9[_0x418028]={'config':_0x4dfb71['deepClone'](_0x5d4173[_0x1139f9(0x11b)]),'sparklines':_0x4dfb71[_0x1139f9(0x101)](_0x5d4173[_0x1139f9(0xb4)]['clone']())});}});}),_0x2be0e1[_0x352bf0(0xc0)]({'id':y['id'],'params':{'unitId':_0x2e66a8,'subUnitId':_0x32402c,'groupIds':_0x5ced04,'isSingle':!0x1}}),_0x2be0e1[_0x352bf0(0xc0)]({'id':V['id'],'params':{'unitId':_0x2e66a8,'subUnitId':_0x32402c,'sparklineConfigMap':_0x4d20c9}}),_0x451f02(_0x2706f0,_0x5ca53e),_0x2b39c2[_0x352bf0(0x10a)]({'unitID':_0x2e66a8,'undoMutations':_0x2be0e1,'redoMutations':_0x2706f0}),!0x0;}},Oe={'id':_0x1fd208(0xb5),'type':_0x4f2a14[_0x1fd208(0xf9)],'handler':(_0x3535b6,_0x34b6c5)=>{const _0x195a85=_0x1fd208;if(!_0x34b6c5)return!0x1;const {unitId:_0x341b82,subUnitId:_0x2f2945,groupIds:_0x5c0054,config:_0x496a7a}=_0x34b6c5,_0xfe4b59=_0x3535b6[_0x195a85(0x7b)](x);return _0x5c0054[_0x195a85(0x119)](_0x3fffe3=>{const _0x127238=_0x195a85,_0x4a8d11=_0xfe4b59['getSparklineById'](_0x341b82,_0x2f2945,_0x3fffe3);if(_0x4a8d11){const _0x5d9cd0={'config':Object[_0x127238(0x94)]({},_0x4a8d11[_0x127238(0x11b)],_0x496a7a['config']),'sparklines':new _0x2d5f79(_0x4a8d11[_0x127238(0xb4)][_0x127238(0xcd)]())};_0xfe4b59[_0x127238(0x66)](_0x341b82,_0x2f2945,[_0x3fffe3],_0x5d9cd0);}}),!0x0;}},xt={'id':_0x1fd208(0x11e),'type':_0x4f2a14[_0x1fd208(0xcb)],'handler':(_0x274385,_0x3728a6)=>{const _0x36ec74=_0x1fd208;var _0x3442d9,_0x395b53,_0xc099f6,_0x454d13;if(!_0x3728a6)return!0x1;const _0x56917d=_0x274385[_0x36ec74(0x7b)](_0x17fffc),_0x4439cd=_0x274385['get'](_0x3c5f2b),_0x42bd9b=_0x274385[_0x36ec74(0x7b)](x),_0x308f7c=_0x274385['get'](_0x4e9356),_0x405c31=_0x274385[_0x36ec74(0x7b)](_0x596a33),_0x5015ec=_0x2a5460(_0x308f7c);if(!_0x5015ec)return!0x1;const {unitId:_0x4cb29b,subUnitId:_0x154bf9}=_0x5015ec,_0x47bdd0=(_0x3442d9=_0x3728a6==null?void 0x0:_0x3728a6[_0x36ec74(0x10b)])!=null?_0x3442d9:_0x4439cd['getCurrentSelections']()['map'](_0x299dc3=>_0x299dc3['range']),_0x23f2be=(_0x395b53=_0x42bd9b[_0x36ec74(0x87)]()[_0x36ec74(0xe7)][_0x36ec74(0x7b)](_0x4cb29b))==null?void 0x0:_0x395b53[_0x36ec74(0x7b)](_0x154bf9),{isChangeDataSource:_0x3f11ed,config:_0x1f797b,combine:_0xdfd2f8,unCombine:_0x1e9b2e}=_0x3728a6;if(_0xdfd2f8){const _0x2de447=[],_0x3f1888=[];_0x2de447[_0x36ec74(0xc0)]({'id':y['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'ranges':_0x47bdd0,'isSingle':!0x0}});const _0x59302a='g_'+_0x3ce919(0x6),_0x2d5c58=new _0x2d5f79(),_0x125416=(_0xc099f6=_0x42bd9b[_0x36ec74(0x87)]()[_0x36ec74(0x7e)][_0x36ec74(0x7b)](_0x4cb29b))==null?void 0x0:_0xc099f6[_0x36ec74(0x7b)](_0x154bf9),_0x303ddc=new Set([_0x59302a]),_0x30550b={};return _0x47bdd0[_0x36ec74(0x119)](_0x35cdae=>{const _0x53f1e1=_0x36ec74;var _0x328781,_0x1d0507;const {startRow:_0x35a8d4,endRow:_0x99c04f,startColumn:_0x146699,endColumn:_0x5da692}=_0x35cdae;for(let _0x4f68c3=_0x35a8d4;_0x4f68c3<=_0x99c04f;_0x4f68c3++)for(let _0x30a424=_0x146699;_0x30a424<=_0x5da692;_0x30a424++){const _0x2249f7=(_0x328781=_0x23f2be==null?void 0x0:_0x23f2be[_0x53f1e1(0xf0)][_0x53f1e1(0x10e)](_0x4f68c3,_0x30a424))==null?void 0x0:_0x328781[_0x53f1e1(0x95)];if(_0x2249f7){_0x303ddc['add'](_0x2249f7);const _0x432375=_0x42bd9b['getSparklineById'](_0x4cb29b,_0x154bf9,_0x2249f7);_0x432375&&(_0x30550b[_0x2249f7]={'config':_0x4dfb71['deepClone'](_0x432375[_0x53f1e1(0x11b)]),'sparklines':_0x4dfb71[_0x53f1e1(0x101)](_0x432375[_0x53f1e1(0xb4)]['clone']())});const _0x2eba93=(_0x1d0507=_0x125416==null?void 0x0:_0x125416[_0x53f1e1(0x7b)](_0x2249f7))==null?void 0x0:_0x1d0507['sparklines'][_0x53f1e1(0x10e)](_0x4f68c3,_0x30a424);_0x2eba93&&_0x2d5c58[_0x53f1e1(0x100)](_0x4f68c3,_0x30a424,_0x2eba93);}}}),_0x2de447[_0x36ec74(0xc0)]({'id':V['id'],'params':{'sparklineConfigMap':{[_0x59302a]:{'config':_0x4dfb71[_0x36ec74(0x101)](_0x1f797b[_0x36ec74(0x11b)]),'sparklines':_0x2d5c58['getMatrix']()}},'unitId':_0x4cb29b,'subUnitId':_0x154bf9}}),_0x3f1888[_0x36ec74(0xc0)]({'id':y['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'isSingle':!0x1,'groupIds':Array[_0x36ec74(0x80)](_0x303ddc)}}),_0x3f1888[_0x36ec74(0xc0)]({'id':V['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'sparklineConfigMap':_0x30550b}}),_0x451f02(_0x2de447,_0x56917d),_0x405c31[_0x36ec74(0x10a)]({'unitID':_0x4cb29b,'undoMutations':_0x3f1888,'redoMutations':_0x2de447}),!0x0;}else{if(_0x1e9b2e){const _0x43de5e=[],_0xb6d6c7=[];_0x43de5e[_0x36ec74(0xc0)]({'id':y['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'ranges':_0x47bdd0,'isSingle':!0x0}});const _0x4ca2a2=(_0x454d13=_0x42bd9b[_0x36ec74(0x87)]()[_0x36ec74(0x7e)][_0x36ec74(0x7b)](_0x4cb29b))==null?void 0x0:_0x454d13[_0x36ec74(0x7b)](_0x154bf9),_0x179e46={},_0x76622a=new Set(),_0x200d3a={};return _0x47bdd0['forEach'](_0x6fbc12=>{const _0xd8d331=_0x36ec74;var _0x56ef54,_0x3db58c;const {startRow:_0x1eccc0,endRow:_0x58ddbc,startColumn:_0x41dcfc,endColumn:_0x211839}=_0x6fbc12;for(let _0xf0d22d=_0x1eccc0;_0xf0d22d<=_0x58ddbc;_0xf0d22d++)for(let _0x3ba450=_0x41dcfc;_0x3ba450<=_0x211839;_0x3ba450++){const _0x45e66b=(_0x56ef54=_0x23f2be==null?void 0x0:_0x23f2be[_0xd8d331(0xf0)]['getValue'](_0xf0d22d,_0x3ba450))==null?void 0x0:_0x56ef54[_0xd8d331(0x95)];if(_0x45e66b){const _0xdd79a0=new _0x2d5f79(),_0x1c94b8='g_'+_0x3ce919(0x6);_0x76622a[_0xd8d331(0x97)](_0x45e66b),_0x76622a['add'](_0x1c94b8);const _0x573480=_0x42bd9b[_0xd8d331(0x92)](_0x4cb29b,_0x154bf9,_0x45e66b);_0x573480&&(_0x200d3a[_0x45e66b]={'config':_0x4dfb71['deepClone'](_0x573480[_0xd8d331(0x11b)]),'sparklines':_0x4dfb71['deepClone'](_0x573480['sparklines'][_0xd8d331(0xcd)]())});const _0x306982=(_0x3db58c=_0x4ca2a2==null?void 0x0:_0x4ca2a2[_0xd8d331(0x7b)](_0x45e66b))==null?void 0x0:_0x3db58c[_0xd8d331(0xb4)][_0xd8d331(0x10e)](_0xf0d22d,_0x3ba450);_0x306982&&_0xdd79a0[_0xd8d331(0x100)](_0xf0d22d,_0x3ba450,_0x306982),_0x179e46[_0x1c94b8]={'sparklines':_0xdd79a0[_0xd8d331(0xfc)](),'config':_0x4dfb71[_0xd8d331(0x101)](_0x1f797b[_0xd8d331(0x11b)])};}}}),_0x43de5e[_0x36ec74(0xc0)]({'id':V['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'sparklineConfigMap':_0x179e46}}),_0xb6d6c7['push']({'id':y['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'isSingle':!0x1,'groupIds':Array['from'](_0x76622a)}}),_0xb6d6c7['push']({'id':V['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'sparklineConfigMap':_0x200d3a}}),_0x451f02(_0x43de5e,_0x56917d),_0x405c31[_0x36ec74(0x10a)]({'unitID':_0x4cb29b,'undoMutations':_0xb6d6c7,'redoMutations':_0x43de5e}),!0x0;}}if(_0x3f11ed){const _0x24a9f3=_0x3728a6[_0x36ec74(0x6b)];if(!_0x24a9f3)return!0x1;const {groupId:_0x2f5dee,sourceRanges:_0x45c649,targetRanges:_0x2f01d1,resetType:_0x5c90ed,primary:_0x39521f}=_0x24a9f3,_0x27473d=[],_0xabadbc=[];_0x27473d['push']({'id':y['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'ranges':_0x47bdd0,'isSingle':!0x1,'groupIds':[_0x2f5dee]}}),_0xabadbc[_0x36ec74(0xc0)]({'id':y['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'ranges':_0x47bdd0,'isSingle':!0x1,'groupIds':[_0x2f5dee]}});let _0x35961f;_0x5c90ed===_0x36ec74(0x77)?(_0x35961f=new _0x2d5f79(_0x1f797b[_0x36ec74(0xb4)][_0x36ec74(0xcd)]()),_0x35961f[_0x36ec74(0xfd)](_0x39521f[_0x36ec74(0x69)],_0x39521f[_0x36ec74(0xd9)]),_0x35961f[_0x36ec74(0x100)](_0x2f01d1[0x0][_0x36ec74(0xd1)],_0x2f01d1[0x0][_0x36ec74(0x90)],_0x45c649[0x0])):_0x35961f=Fe(_0x45c649,_0x2f01d1);const _0xa788bc={'config':_0x4dfb71[_0x36ec74(0x101)](_0x1f797b[_0x36ec74(0x11b)]),'sparklines':_0x35961f[_0x36ec74(0xfc)]()},_0x3cfd03={'config':_0x4dfb71[_0x36ec74(0x101)](_0x1f797b[_0x36ec74(0x11b)]),'sparklines':_0x4dfb71[_0x36ec74(0x101)](_0x1f797b[_0x36ec74(0xb4)][_0x36ec74(0xcd)]())};_0x27473d[_0x36ec74(0xc0)]({'id':V['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'sparklineConfigMap':{[_0x2f5dee]:_0xa788bc}}}),_0xabadbc['push']({'id':V['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'sparklineConfigMap':{[_0x2f5dee]:_0x3cfd03}}}),_0x451f02(_0x27473d,_0x56917d),_0x405c31[_0x36ec74(0x10a)]({'unitID':_0x4cb29b,'undoMutations':_0xabadbc,'redoMutations':_0x27473d});}else{const _0x4debb4=[],_0x4da8c6=[],_0x48c33a=new Set(),_0x463f0a={};_0x47bdd0[_0x36ec74(0x119)](_0x3c8e2f=>{const _0x426342=_0x36ec74;var _0xf3f666;const {startRow:_0x5954f9,endRow:_0x592e88,startColumn:_0xc732f8,endColumn:_0x1f19ff}=_0x3c8e2f;for(let _0x3947a4=_0x5954f9;_0x3947a4<=_0x592e88;_0x3947a4++)for(let _0x3add88=_0xc732f8;_0x3add88<=_0x1f19ff;_0x3add88++){const _0x52e787=(_0xf3f666=_0x23f2be==null?void 0x0:_0x23f2be[_0x426342(0xf0)][_0x426342(0x10e)](_0x3947a4,_0x3add88))==null?void 0x0:_0xf3f666['groupId'];if(_0x52e787){_0x48c33a['add'](_0x52e787);const _0x390f54=_0x42bd9b[_0x426342(0x92)](_0x4cb29b,_0x154bf9,_0x52e787);_0x390f54&&(_0x463f0a[_0x52e787]={'config':_0x4dfb71[_0x426342(0x101)](_0x390f54[_0x426342(0x11b)]),'sparklines':_0x4dfb71[_0x426342(0x101)](_0x390f54[_0x426342(0xb4)][_0x426342(0xcd)]())});}}}),_0x4da8c6[_0x36ec74(0xc0)]({'id':Oe['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'groupIds':Array['from'](_0x48c33a),'config':{'config':_0x4dfb71[_0x36ec74(0x101)](_0x1f797b[_0x36ec74(0x11b)]),'sparklines':_0x1f797b[_0x36ec74(0xb4)][_0x36ec74(0xfc)]()}}}),_0x4debb4[_0x36ec74(0xc0)]({'id':y['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'isSingle':!0x1,'groupIds':Array['from'](_0x48c33a)}}),_0x4debb4['push']({'id':V['id'],'params':{'unitId':_0x4cb29b,'subUnitId':_0x154bf9,'sparklineConfigMap':_0x463f0a}}),_0x451f02(_0x4da8c6,_0x56917d),_0x405c31['pushUndoRedo']({'unitID':_0x4cb29b,'undoMutations':_0x4debb4,'redoMutations':_0x4da8c6});}return!0x0;}};function _0x4ea4(_0x50c75f,_0x3a252b){const _0x448848=_0x4488();return _0x4ea4=function(_0x4ea4be,_0x52e605){_0x4ea4be=_0x4ea4be-0x65;let _0xc198c4=_0x448848[_0x4ea4be];return _0xc198c4;},_0x4ea4(_0x50c75f,_0x3a252b);}var Ut=Object['getOwnPropertyDescriptor'],Pt=(_0x410d6e,_0x3513c4,_0x43e4ff,_0x2dac8c)=>{for(var _0x5a3354=_0x2dac8c>0x1?void 0x0:_0x2dac8c?Ut(_0x3513c4,_0x43e4ff):_0x3513c4,_0x231ef8=_0x410d6e['length']-0x1,_0x3ddd96;_0x231ef8>=0x0;_0x231ef8--)(_0x3ddd96=_0x410d6e[_0x231ef8])&&(_0x5a3354=_0x3ddd96(_0x5a3354)||_0x5a3354);return _0x5a3354;},fe=(_0x4b06ec,_0x235596)=>(_0x3d7d4a,_0x4e18bd)=>_0x235596(_0x3d7d4a,_0x4e18bd,_0x4b06ec);let Se=class extends _0x34fa33{constructor(_0x2a7ee3,_0x53be03,_0x171a08,_0xa5943b){const _0x479471=_0x1fd208;super(),this[_0x479471(0xdb)]=_0x2a7ee3,this['_sheetInterceptorService']=_0x53be03,this[_0x479471(0x107)]=_0x171a08,this['_sheetSelectionService']=_0xa5943b,this[_0x479471(0xac)]();}[_0x1fd208(0xac)](){const _0xe1a3d0=_0x1fd208;this[_0xe1a3d0(0xcc)](this[_0xe1a3d0(0xee)][_0xe1a3d0(0xaf)]({'getMutations':_0x4aa3bd=>{const _0x12bd1d=_0xe1a3d0,_0x27c332=[],_0x292d07=[];if(_0x4aa3bd['id']===_0x401e9b['id']){const _0x266ae1=_0x2a5460(this[_0x12bd1d(0x107)]);if(!_0x266ae1)return{'redos':_0x27c332,'undos':_0x292d07};const {unitId:_0x39da36,subUnitId:_0x36ab0c,worksheet:_0x2ba463}=_0x266ae1,_0x3455a5=this['_sheetSelectionService'][_0x12bd1d(0xdf)]()[_0x12bd1d(0xc3)](_0x2cf608=>_0x2cf608[_0x12bd1d(0xfe)]),_0x15488f=new Set(),_0x4b6e10={},_0x17b529={};_0x3455a5[_0x12bd1d(0x119)](_0x31819b=>{const _0x2f6726=_0x12bd1d;_0x236b43[_0x2f6726(0xef)](_0x31819b,(_0x1a75fc,_0xb5f69d)=>{const _0x460dcc=_0x2f6726,_0xd94083=this['_sparklineDataSourceModel'][_0x460dcc(0x74)](_0x39da36,_0x36ab0c,_0x1a75fc,_0xb5f69d);if(_0xd94083&&!_0x15488f[_0x460dcc(0xfa)](_0xd94083)){const _0x5d4ae8=this['_sparklineDataSourceModel'][_0x460dcc(0x92)](_0x39da36,_0x36ab0c,_0xd94083);_0x5d4ae8&&(_0x15488f['add'](_0xd94083),_0x4b6e10[_0xd94083]={'config':_0x4dfb71[_0x460dcc(0x101)](_0x5d4ae8[_0x460dcc(0x11b)]),'sparklines':_0x4dfb71[_0x460dcc(0x101)](_0x5d4ae8[_0x460dcc(0xb4)][_0x460dcc(0xcd)]())},_0x17b529[_0xd94083]={'config':_0x4dfb71['deepClone'](_0x5d4ae8[_0x460dcc(0x11b)]),'sparklines':_0x4dfb71[_0x460dcc(0x101)](_0x5d4ae8[_0x460dcc(0xb4)][_0x460dcc(0xcd)]())});}});}),Object[_0x12bd1d(0xe3)](_0x17b529)['forEach'](_0x2a09fb=>{const _0x414b87=_0x2a09fb['sparklines'];new _0x2d5f79(_0x414b87)['forValue']((_0x1d312a,_0x2e3971,_0x192ec4)=>{const _0x28a870=_0x4ea4;_0x3455a5[_0x28a870(0x7c)](_0x4a40bd=>_0x5de43d[_0x28a870(0xfb)](_0x4a40bd,_0xbf1113(_0x1d312a,_0x2e3971)))&&delete _0x414b87[_0x1d312a][_0x2e3971];});}),_0x27c332[_0x12bd1d(0xc0)]({'id':y['id'],'params':{'unitId':_0x39da36,'subUnitId':_0x36ab0c,'groupIds':Array[_0x12bd1d(0x80)](_0x15488f),'isSingle':!0x1}}),_0x27c332['push']({'id':V['id'],'params':{'unitId':_0x39da36,'subUnitId':_0x36ab0c,'sparklineConfigMap':_0x17b529}}),_0x292d07[_0x12bd1d(0xc0)]({'id':y['id'],'params':{'unitId':_0x39da36,'subUnitId':_0x36ab0c,'groupIds':Array[_0x12bd1d(0x80)](_0x15488f),'isSingle':!0x1}}),_0x292d07['push']({'id':V['id'],'params':{'unitId':_0x39da36,'subUnitId':_0x36ab0c,'sparklineConfigMap':_0x4b6e10}});}return{'redos':_0x27c332,'undos':_0x292d07};}}));}};Se=Pt([fe(0x0,_0x504c27(x)),fe(0x1,_0x504c27(_0x218176)),fe(0x2,_0x504c27(_0x4e9356)),fe(0x3,_0x504c27(_0x3c5f2b))],Se);var Tt=Object[_0x1fd208(0x72)],$t=(_0x263d96,_0x419ac5,_0x403a30,_0x2e58c3)=>{const _0x33df82=_0x1fd208;for(var _0x4c0fa8=_0x2e58c3>0x1?void 0x0:_0x2e58c3?Tt(_0x419ac5,_0x403a30):_0x419ac5,_0x298a86=_0x263d96[_0x33df82(0x109)]-0x1,_0xe9da02;_0x298a86>=0x0;_0x298a86--)(_0xe9da02=_0x263d96[_0x298a86])&&(_0x4c0fa8=_0xe9da02(_0x4c0fa8)||_0x4c0fa8);return _0x4c0fa8;},Ge=(_0x1478ba,_0x517ca7)=>(_0xb99c11,_0x13e808)=>_0x517ca7(_0xb99c11,_0x13e808,_0x1478ba);let ke=class extends _0x34fa33{constructor(_0x3cf63b,_0x4bc074){const _0x480d7e=_0x1fd208;super(),this[_0x480d7e(0xee)]=_0x3cf63b,this[_0x480d7e(0xdb)]=_0x4bc074,this['_initCopySheetWithSparkline']();}[_0x1fd208(0x8d)](){const _0x2c3d59=_0x1fd208;this[_0x2c3d59(0xcc)](this[_0x2c3d59(0xee)]['interceptCommand']({'getMutations':_0x3cba51=>{const _0x410f7d=_0x2c3d59,_0x5c9364=[],_0xfd9326=[];if(_0x3cba51['id']===_0x481386['id']){const _0x49309b=_0x3cba51['params'];if(!_0x49309b)return{'redos':_0x5c9364,'undos':_0xfd9326};const {unitId:_0x2b48e9,subUnitId:_0x11d74d,targetSubUnitId:_0x4bf5e6}=_0x49309b;if(!_0x2b48e9||!_0x11d74d||!_0x4bf5e6)return{'redos':_0x5c9364,'undos':_0xfd9326};const _0x3543b9=new Set(),_0x42c3eb={},_0x28ff9f=this[_0x410f7d(0xdb)][_0x410f7d(0xdd)](_0x2b48e9,_0x11d74d);if(!_0x28ff9f)return{'redos':_0x5c9364,'undos':_0xfd9326};for(const [_0x32ea01,_0x2b1196]of _0x28ff9f){const _0x3bc991='g_'+_0x3ce919(0x6);_0x3543b9[_0x410f7d(0x97)](_0x32ea01),_0x42c3eb[_0x3bc991]={'config':_0x4dfb71[_0x410f7d(0x101)](_0x2b1196['config']),'sparklines':_0x4dfb71[_0x410f7d(0x101)](_0x2b1196[_0x410f7d(0xb4)][_0x410f7d(0xcd)]())};}_0x3543b9[_0x410f7d(0x10f)]&&(_0xfd9326[_0x410f7d(0xc0)]({'id':y['id'],'params':{'unitId':_0x2b48e9,'subUnitId':_0x4bf5e6,'groupIds':Array[_0x410f7d(0x80)](_0x3543b9),'isSingle':!0x1}}),_0x5c9364[_0x410f7d(0xc0)]({'id':V['id'],'params':{'unitId':_0x2b48e9,'subUnitId':_0x4bf5e6,'sparklineConfigMap':_0x42c3eb}}));}return{'redos':_0x5c9364,'undos':_0xfd9326};}}));}};ke=$t([Ge(0x0,_0x504c27(_0x218176)),Ge(0x1,_0x504c27(x))],ke);var jt=Object['getOwnPropertyDescriptor'],Lt=(_0x508492,_0x1ab5e5,_0x221e33,_0x2f80bb)=>{const _0x1564cc=_0x1fd208;for(var _0x2a89b7=_0x2f80bb>0x1?void 0x0:_0x2f80bb?jt(_0x1ab5e5,_0x221e33):_0x1ab5e5,_0x2e9727=_0x508492[_0x1564cc(0x109)]-0x1,_0x13a10f;_0x2e9727>=0x0;_0x2e9727--)(_0x13a10f=_0x508492[_0x2e9727])&&(_0x2a89b7=_0x13a10f(_0x2a89b7)||_0x2a89b7);return _0x2a89b7;},Ie=(_0x56e354,_0x44ed07)=>(_0x1b972a,_0x1249ea)=>_0x44ed07(_0x1b972a,_0x1249ea,_0x56e354);let me=class extends _0x34fa33{constructor(_0x568d89,_0x3d072f,_0x20e986){const _0x58ab57=_0x1fd208;super(),this[_0x58ab57(0xba)]=_0x568d89,this[_0x58ab57(0xdb)]=_0x3d072f,this[_0x58ab57(0xf1)]=_0x20e986,this[_0x58ab57(0xae)](),this[_0x58ab57(0xa4)]();}[_0x1fd208(0xae)](){const _0x23d1aa=_0x1fd208;this[_0x23d1aa(0xcc)](this[_0x23d1aa(0xba)][_0x23d1aa(0x67)](_0x3dd4df=>{const _0x1f2320=_0x23d1aa;if(_0x3dd4df['id']===_0x3daf68['id']){const _0x43f79d=_0x3dd4df['params'],{cellValue:_0x156e56,unitId:_0x20b4d5,subUnitId:_0x4c0804}=_0x43f79d,_0x3054a8=new _0x2d5f79(_0x156e56),_0x9c301e=new Set(),_0x4cf71c=this[_0x1f2320(0xdb)][_0x1f2320(0xdd)](_0x20b4d5,_0x4c0804);if(!_0x4cf71c)return;const _0x2cc80a=Array['from'](_0x4cf71c);_0x3054a8[_0x1f2320(0xa8)]((_0x301d23,_0x550867,_0x2fb255)=>{const _0x791886=_0x1f2320,_0x1ebed5=_0xbf1113(_0x301d23,_0x550867);for(let _0x34df55=0x0;_0x34df55<_0x2cc80a[_0x791886(0x109)];_0x34df55++){const [_0x1acef4,_0x4f89c8]=_0x2cc80a[_0x34df55],_0x3a08d7=_0x9c301e['has'](_0x1acef4);_0x3a08d7||_0x4f89c8[_0x791886(0xb4)]['forValue']((_0x11d555,_0x1ed425,_0x4225b4)=>{const _0x608365=_0x791886,_0x218dc7=_0x4225b4;if(_0x218dc7&&!_0x3a08d7&&_0x5de43d[_0x608365(0xfb)](_0x1ebed5,_0x218dc7))return _0x9c301e[_0x608365(0x97)](_0x1acef4),!0x0;});}}),_0x9c301e['forEach'](_0x337925=>{const _0x4ead6=_0x1f2320;this[_0x4ead6(0xdb)][_0x4ead6(0xf4)](_0x20b4d5,_0x4c0804,_0x337925),this[_0x4ead6(0xdb)][_0x4ead6(0x89)](_0x20b4d5,_0x4c0804,_0x337925);});}else{if(_0x3dd4df['id']===_0x2e6ff3['id']){const _0x1f1828=_0x3dd4df[_0x1f2320(0x83)],{range:_0x4fb482,unitId:_0x398dd7,subUnitId:_0x5192f0}=_0x1f1828,_0x166625=new Set(),_0x57c80a=this[_0x1f2320(0xdb)]['getSubUnitSparkline'](_0x398dd7,_0x5192f0);if(!_0x57c80a)return;const _0x72897b=Array['from'](_0x57c80a);for(let _0x40c55c=0x0;_0x40c55c<_0x72897b['length'];_0x40c55c++){const [_0x525c66,_0x241682]=_0x72897b[_0x40c55c],_0x555715=_0x166625[_0x1f2320(0xfa)](_0x525c66);_0x555715||_0x241682[_0x1f2320(0xb4)][_0x1f2320(0xa8)]((_0x3c4338,_0x4c5031,_0x409ba4)=>{const _0x337610=_0x1f2320,_0x58279f=_0x409ba4;if(_0x58279f&&!_0x555715&&_0x5de43d[_0x337610(0xfb)](_0x4fb482,_0x58279f))return _0x166625[_0x337610(0x97)](_0x525c66),!0x0;});}_0x166625['forEach'](_0xa463dc=>{const _0x9c767d=_0x1f2320;this['_sparklineDataSourceModel']['clearSparklineCache'](_0x398dd7,_0x5192f0,_0xa463dc),this[_0x9c767d(0xdb)][_0x9c767d(0x89)](_0x398dd7,_0x5192f0,_0xa463dc);});}}}));}[_0x1fd208(0xa4)](){const _0x3b2486=_0x1fd208;this[_0x3b2486(0xcc)](this[_0x3b2486(0xf1)]['exclusiveRangesChange$'][_0x3b2486(0x114)](_0x29e523=>{const _0x5ea407=_0x3b2486,{unitId:_0x4b7751,subUnitId:_0x4fc6e3,ranges:_0x4a7523}=_0x29e523,_0x4c3756=this[_0x5ea407(0xdb)][_0x5ea407(0xdd)](_0x4b7751,_0x4fc6e3);if(!_0x4c3756)return;const _0x53693e=Array[_0x5ea407(0x80)](_0x4c3756),_0x5a586f=new Set();for(let _0x1a67a9=0x0;_0x1a67a9<_0x53693e[_0x5ea407(0x109)];_0x1a67a9++){const [_0x4ec17b,_0x4d1d19]=_0x53693e[_0x1a67a9],_0x1398a6=_0x5a586f[_0x5ea407(0xfa)](_0x4ec17b);_0x1398a6||_0x4d1d19[_0x5ea407(0xb4)]['forValue']((_0x3461d0,_0x503bf1,_0xe4e73e)=>{const _0x15ee8e=_0x5ea407,_0x20cf72=_0xe4e73e;if(_0x20cf72&&!_0x1398a6){for(const _0x371d0f of _0x4a7523)if(_0x5de43d[_0x15ee8e(0xfb)](_0x371d0f,_0x20cf72)){_0x5a586f['add'](_0x4ec17b);break;}}});}_0x5a586f['forEach'](_0x49d443=>{const _0x29d888=_0x5ea407;this[_0x29d888(0xdb)][_0x29d888(0xf4)](_0x4b7751,_0x4fc6e3,_0x49d443),this[_0x29d888(0xdb)][_0x29d888(0x89)](_0x4b7751,_0x4fc6e3,_0x49d443);});}));}};me=Lt([Ie(0x0,_0x504c27(_0x17fffc)),Ie(0x1,_0x504c27(x)),Ie(0x2,_0x504c27(_0x5e564f))],me);var Gt=Object[_0x1fd208(0x72)],Wt=(_0x373cda,_0x313975,_0x2697a5,_0x149d64)=>{const _0x1c968e=_0x1fd208;for(var _0x132be9=_0x149d64>0x1?void 0x0:_0x149d64?Gt(_0x313975,_0x2697a5):_0x313975,_0xdc8446=_0x373cda[_0x1c968e(0x109)]-0x1,_0x4000ba;_0xdc8446>=0x0;_0xdc8446--)(_0x4000ba=_0x373cda[_0xdc8446])&&(_0x132be9=_0x4000ba(_0x132be9)||_0x132be9);return _0x132be9;},We=(_0x598a79,_0x281622)=>(_0x5a6507,_0x3ad33e)=>_0x281622(_0x5a6507,_0x3ad33e,_0x598a79);let Ce=class extends _0x34fa33{constructor(_0x4f24fd,_0x20d43d){const _0x46fa19=_0x1fd208;super(),this[_0x46fa19(0xba)]=_0x4f24fd,this[_0x46fa19(0xdb)]=_0x20d43d,this[_0x46fa19(0xf3)]();}['_initHideRowColWithSparkline'](){const _0x40083b=_0x1fd208;this[_0x40083b(0xba)][_0x40083b(0x67)](_0x5ac4d5=>{const _0x25dda5=_0x40083b;if(_0x5ac4d5['id']===_0x21e3c9['id']||_0x5ac4d5['id']===_0x1fdede['id']||_0x5ac4d5['id']===_0x15267f['id']||_0x5ac4d5['id']===_0x1e3430['id']){const _0x7d8a5d=_0x5ac4d5['params'],{ranges:_0x43a462,unitId:_0x1487d1,subUnitId:_0x3dd6c6}=_0x7d8a5d,_0x31fd8d=new Set(),_0x356e93=this['_sparklineDataSourceModel'][_0x25dda5(0xdd)](_0x1487d1,_0x3dd6c6);if(!_0x356e93)return;const _0x1546b1=Array[_0x25dda5(0x80)](_0x356e93);_0x43a462[_0x25dda5(0x119)](_0x48de6d=>{const _0x266c5a=_0x25dda5;_0x236b43[_0x266c5a(0xef)](_0x48de6d,(_0x382b17,_0x3aa07a)=>{const _0x18cdc1=_0x266c5a,_0x8bb326=_0xbf1113(_0x382b17,_0x3aa07a);for(let _0xf12ae0=0x0;_0xf12ae0<_0x1546b1['length'];_0xf12ae0++){const [_0x4c5b41,_0x270ff2]=_0x1546b1[_0xf12ae0],_0xce7b57=_0x31fd8d[_0x18cdc1(0xfa)](_0x4c5b41);_0xce7b57||_0x270ff2['sparklines'][_0x18cdc1(0xa8)]((_0x3ea325,_0x2c6796,_0x35118e)=>{const _0x3b397b=_0x18cdc1,_0xe009fd=_0x35118e;if(_0xe009fd&&!_0xce7b57&&_0x5de43d[_0x3b397b(0xfb)](_0x8bb326,_0xe009fd))return _0x31fd8d[_0x3b397b(0x97)](_0x4c5b41),!0x0;});}});}),_0x31fd8d[_0x25dda5(0x119)](_0x38e685=>{const _0x2c600f=_0x25dda5;this[_0x2c600f(0xdb)][_0x2c600f(0xf4)](_0x1487d1,_0x3dd6c6,_0x38e685),this[_0x2c600f(0xdb)][_0x2c600f(0x89)](_0x1487d1,_0x3dd6c6,_0x38e685);});}});}};Ce=Wt([We(0x0,_0x504c27(_0x17fffc)),We(0x1,_0x504c27(x))],Ce);var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x5cc651,_0x135394,_0x288994,_0x406887)=>{const _0x48a818=_0x1fd208;for(var _0x48d9c8=_0x406887>0x1?void 0x0:_0x406887?Bt(_0x135394,_0x288994):_0x135394,_0x23d164=_0x5cc651[_0x48a818(0x109)]-0x1,_0x422d0c;_0x23d164>=0x0;_0x23d164--)(_0x422d0c=_0x5cc651[_0x23d164])&&(_0x48d9c8=_0x422d0c(_0x48d9c8)||_0x48d9c8);return _0x48d9c8;},be=(_0x50a42d,_0x594b1c)=>(_0x33142b,_0x41bfb0)=>_0x594b1c(_0x33142b,_0x41bfb0,_0x50a42d);let _e=class extends _0x34fa33{constructor(_0x398464,_0x251f51,_0x236618){super(),this['_commandService']=_0x398464,this['_sheetInterceptorService']=_0x251f51,this['_sparklineDataSourceModel']=_0x236618,this['_initMergeWithSparkline']();}['_initMergeWithSparkline'](){const _0x291812=_0x1fd208;this[_0x291812(0xcc)](this[_0x291812(0xee)][_0x291812(0xaf)]({'getMutations':_0x339457=>{const _0x391690=_0x291812,_0x20f18b=[],_0x54b1c3=[];if(_0x339457['id']===_0x51bd9d['id']){const _0x2b4f2e=_0x339457[_0x391690(0x83)];if(!_0x2b4f2e)return{'redos':_0x20f18b,'undos':_0x54b1c3};const {unitId:_0x4c9c02,subUnitId:_0x1e21f3,ranges:_0x2a6b74}=_0x2b4f2e,_0x478993=this[_0x391690(0xdb)][_0x391690(0xdd)](_0x4c9c02,_0x1e21f3);if(!_0x478993)return{'redos':_0x20f18b,'undos':_0x54b1c3};const _0x417a97={},_0xc3063f={},_0x4c285c=new Set();_0x2a6b74[_0x391690(0x119)](_0x46dfb3=>{const _0x229ae6=_0x391690,_0x41802d=_0x46dfb3['startRow'],_0x1ea3f1=_0x46dfb3[_0x229ae6(0x90)];_0x236b43[_0x229ae6(0xef)](_0x46dfb3,(_0x44835a,_0x441404)=>{const _0x4f1764=_0x229ae6,_0x33c4f2=this[_0x4f1764(0xdb)][_0x4f1764(0x74)](_0x4c9c02,_0x1e21f3,_0x44835a,_0x441404);if(_0x33c4f2&&!(_0x44835a===_0x41802d&&_0x441404===_0x1ea3f1)){const _0x5eabd0=this[_0x4f1764(0xdb)][_0x4f1764(0x92)](_0x4c9c02,_0x1e21f3,_0x33c4f2);if(_0x5eabd0){_0x4c285c[_0x4f1764(0x97)](_0x33c4f2);let _0x5a3b5d=_0x417a97[_0x33c4f2];_0x5a3b5d||(_0x5a3b5d={'config':_0x4dfb71[_0x4f1764(0x101)](_0x5eabd0[_0x4f1764(0x11b)]),'sparklines':new _0x2d5f79(_0x5eabd0['sparklines']['clone']())},_0x417a97[_0x33c4f2]=_0x5a3b5d),_0x5a3b5d['sparklines'][_0x4f1764(0xfd)](_0x44835a,_0x441404),_0xc3063f[_0x33c4f2]={'config':_0x4dfb71['deepClone'](_0x5eabd0[_0x4f1764(0x11b)]),'sparklines':_0x4dfb71[_0x4f1764(0x101)](_0x5eabd0['sparklines'][_0x4f1764(0xcd)]())};}}});});for(const [_0x15c2e2,_0x1e75d2]of _0x478993){const _0x253008=_0x1e75d2['sparklines'];_0x253008['forValue']((_0x1df9af,_0x325b35,_0xbdbbb0)=>{const _0x25aa9b=_0x391690;for(let _0x51c033=0x0;_0x51c033<_0x2a6b74[_0x25aa9b(0x109)];_0x51c033++){const _0x11b404=_0x2a6b74[_0x51c033];if(_0x5de43d[_0x25aa9b(0xf6)](_0x11b404,_0xbdbbb0)){_0x4c285c['add'](_0x15c2e2);let _0x80d9e7=_0x417a97[_0x15c2e2];_0x80d9e7||(_0x80d9e7={'config':_0x4dfb71[_0x25aa9b(0x101)](_0x1e75d2['config']),'sparklines':new _0x2d5f79(_0x253008[_0x25aa9b(0xcd)]())},_0x417a97[_0x15c2e2]=_0x80d9e7),_0x80d9e7[_0x25aa9b(0xb4)][_0x25aa9b(0xfd)](_0x1df9af,_0x325b35),_0xc3063f[_0x15c2e2]||(_0xc3063f[_0x15c2e2]={'config':_0x4dfb71[_0x25aa9b(0x101)](_0x1e75d2[_0x25aa9b(0x11b)]),'sparklines':_0x4dfb71[_0x25aa9b(0x101)](_0x253008[_0x25aa9b(0xcd)]())});}}});}const _0x86d18f={};Object['entries'](_0x417a97)[_0x391690(0x119)](([_0x5c638e,_0xaf26c3])=>{const _0x22de54=_0x391690;_0xaf26c3['sparklines'][_0x22de54(0xca)]()&&(_0x86d18f[_0x5c638e]={'config':_0xaf26c3[_0x22de54(0x11b)],'sparklines':_0xaf26c3['sparklines'][_0x22de54(0xcd)]()});}),_0x4c285c['size']&&(_0x20f18b[_0x391690(0xc0)]({'id':y['id'],'params':{'unitId':_0x4c9c02,'subUnitId':_0x1e21f3,'groupIds':Array[_0x391690(0x80)](_0x4c285c),'isSingle':!0x1}}),_0x54b1c3[_0x391690(0xc0)]({'id':y['id'],'params':{'unitId':_0x4c9c02,'subUnitId':_0x1e21f3,'groupIds':Array[_0x391690(0x80)](_0x4c285c),'isSingle':!0x1}}),_0x20f18b[_0x391690(0xc0)]({'id':V['id'],'params':{'unitId':_0x4c9c02,'subUnitId':_0x1e21f3,'sparklineConfigMap':_0x86d18f}}),_0x54b1c3['push']({'id':V['id'],'params':{'unitId':_0x4c9c02,'subUnitId':_0x1e21f3,'sparklineConfigMap':_0xc3063f}}));}return{'redos':_0x20f18b,'undos':_0x54b1c3};}}));}};_e=Ht([be(0x0,_0x504c27(_0x17fffc)),be(0x1,_0x504c27(_0x218176)),be(0x2,_0x504c27(x))],_e);var Ft=Object['getOwnPropertyDescriptor'],Kt=(_0x123cfb,_0x45ac9a,_0x4bd2d2,_0x4a6702)=>{const _0x44e480=_0x1fd208;for(var _0x35c5df=_0x4a6702>0x1?void 0x0:_0x4a6702?Ft(_0x45ac9a,_0x4bd2d2):_0x45ac9a,_0x39bcf1=_0x123cfb[_0x44e480(0x109)]-0x1,_0x3add7e;_0x39bcf1>=0x0;_0x39bcf1--)(_0x3add7e=_0x123cfb[_0x39bcf1])&&(_0x35c5df=_0x3add7e(_0x35c5df)||_0x35c5df);return _0x35c5df;},ge=(_0x3691c8,_0x137035)=>(_0x1d9fb5,_0x72485e)=>_0x137035(_0x1d9fb5,_0x72485e,_0x3691c8);let Me=class extends _0x34fa33{constructor(_0x3468c6,_0x37495a,_0x520aa5,_0x478140){const _0x402c0e=_0x1fd208;super(),se(this,'disposableCollection',new _0x4d9c41()),(this[_0x402c0e(0xba)]=_0x3468c6,this[_0x402c0e(0xa9)]=_0x37495a,this[_0x402c0e(0x107)]=_0x520aa5,this[_0x402c0e(0xdb)]=_0x478140,this[_0x402c0e(0x91)](),this[_0x402c0e(0xbe)]());}[_0x1fd208(0x91)](){const _0x41d966=_0x1fd208,_0xb9af9=(_0x15c7e6,_0x5d9051)=>{const _0x4bc0db=_0x4ea4,_0x3fe46b=this[_0x4bc0db(0x107)][_0x4bc0db(0xb9)](_0x19d6b6[_0x4bc0db(0x102)]);if(!_0x3fe46b||!(_0x3fe46b==null?void 0x0:_0x3fe46b[_0x4bc0db(0x11f)](_0x5d9051)))return;this[_0x4bc0db(0x9c)][_0x4bc0db(0xa1)]();const _0x2a6cb9=_0x4b59d0=>this[_0x4bc0db(0x65)](_0x4b59d0,_0x15c7e6,_0x5d9051),_0x463897=[],_0xcf2cb9=this['_sparklineDataSourceModel'][_0x4bc0db(0xdd)](_0x15c7e6,_0x5d9051);if(_0xcf2cb9){for(const [_0x2c3e62,_0x1f9fe0]of _0xcf2cb9)_0x1f9fe0[_0x4bc0db(0xb4)][_0x4bc0db(0xa8)]((_0x54c013,_0x3a0ac9,_0x3bc6e0)=>{const _0x371e02=_0xbf1113(_0x54c013,_0x3a0ac9);_0x463897['push'](_0x371e02);});_0x463897['forEach'](_0x55a7b6=>{const _0x53c939=_0x4bc0db;this[_0x53c939(0x9c)][_0x53c939(0x97)](this[_0x53c939(0xa9)]['registerRefRange'](_0x55a7b6,_0x2a6cb9,_0x15c7e6,_0x5d9051));});}};this[_0x41d966(0xcc)](this[_0x41d966(0xba)][_0x41d966(0x67)](_0x30cbf0=>{const _0x56dcc2=_0x41d966;if(_0x30cbf0['id']===_0x490b8a['id']){const _0x4f4692=_0x30cbf0['params'],_0x56aefc=_0x4f4692[_0x56dcc2(0xbc)],_0x10cf80=_0x4f4692['unitId'];if(!_0x56aefc||!_0x10cf80)return;_0xb9af9(_0x10cf80,_0x56aefc);}if(_0x30cbf0['id']===Oe['id']||_0x30cbf0['id']===V['id']){const _0x3ed13c=_0x30cbf0[_0x56dcc2(0x83)],_0x134753=_0x3ed13c[_0x56dcc2(0xbc)],_0x486844=_0x3ed13c[_0x56dcc2(0xce)];if(!_0x134753||!_0x486844)return;_0xb9af9(_0x486844,_0x134753);}}));}[_0x1fd208(0x65)](_0x4ca577,_0x1f5885,_0x5df3ba){const _0x2d378a=_0x1fd208;switch(_0x4ca577['id']){case _0xd59311['id']:return this[_0x2d378a(0x123)](_0x4ca577['params'],_0x1f5885,_0x5df3ba);case _0x5bcc3e['id']:return this['_getRefRangeMutationsByDeleteRows'](_0x4ca577[_0x2d378a(0x83)],_0x1f5885,_0x5df3ba);}return{'redos':[],'undos':[]};}[_0x1fd208(0x110)](_0x1aa985,_0x2ca017,_0xf178a2){const _0x24e5d5=_0x1fd208;var _0x21a10a,_0x1d2c64;const {range:_0x5651a6}=_0x1aa985,_0x19e675=new Set(),_0x9fb5b3={},_0x3d8332={},_0x2b0bec=[],_0x22739c=[],_0x11b78d=[],_0xfa4d10=[];if(!_0x2a5460(this[_0x24e5d5(0x107)],{'unitId':_0x2ca017,'subUnitId':_0xf178a2}))return{'redos':_0x22739c,'undos':_0x2b0bec};const _0x3d836c=this[_0x24e5d5(0xdb)][_0x24e5d5(0xdd)](_0x2ca017,_0xf178a2);if(!_0x3d836c)return{'redos':_0x22739c,'undos':_0x2b0bec};if(!((_0x1d2c64=(_0x21a10a=this[_0x24e5d5(0xdb)][_0x24e5d5(0x87)]()[_0x24e5d5(0xe7)]['get'](_0x2ca017))==null?void 0x0:_0x21a10a[_0x24e5d5(0x7b)](_0xf178a2))==null?void 0x0:_0x1d2c64[_0x24e5d5(0xf0)]))return{'redos':_0x22739c,'undos':_0x2b0bec};for(const [_0x112027,_0x289553]of _0x3d836c){const _0x2d72a8=_0x289553['sparklines'];_0x2d72a8[_0x24e5d5(0xa8)]((_0x2e3f04,_0x200975,_0x3c979b)=>{const _0x52acce=_0x24e5d5;if(_0x5de43d[_0x52acce(0xfb)](_0x5651a6,_0x3c979b)){_0x19e675[_0x52acce(0x97)](_0x112027);let _0x1dd85d=_0x3d8332[_0x112027];_0x1dd85d||(_0x1dd85d={'config':_0x289553['config'],'sparklines':_0x289553[_0x52acce(0xb4)][_0x52acce(0xcd)]()},_0x3d8332[_0x112027]=_0x1dd85d);let _0x17e0a3=_0x9fb5b3[_0x112027];_0x17e0a3||(_0x17e0a3={'config':_0x289553[_0x52acce(0x11b)],'sparklines':new _0x2d5f79(_0x289553[_0x52acce(0xb4)][_0x52acce(0xcd)]())},_0x9fb5b3[_0x112027]=_0x17e0a3);const _0x4239ff=_0x258a99(_0x3c979b,{'id':_0x2b791a['id'],'params':_0x1aa985});_0x4239ff?_0x17e0a3['sparklines'][_0x52acce(0x100)](_0x2e3f04,_0x200975,_0x4239ff):_0x17e0a3['sparklines'][_0x52acce(0x100)](_0x2e3f04,_0x200975,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x4d62f7[_0x52acce(0x8e)]});}}),_0x2d72a8[_0x24e5d5(0xa8)]((_0x1da8ec,_0x25ab4a,_0x3c489b)=>{const _0x3cac65=_0x24e5d5;if(_0x1da8ec<=_0x5651a6['endRow']&&_0x1da8ec>=_0x5651a6['startRow']){_0x19e675['add'](_0x112027);let _0x10cdbd=_0x3d8332[_0x112027];_0x10cdbd||(_0x10cdbd={'config':_0x289553['config'],'sparklines':_0x289553[_0x3cac65(0xb4)][_0x3cac65(0xcd)]()},_0x3d8332[_0x112027]=_0x10cdbd);let _0x393f84=_0x9fb5b3[_0x112027];_0x393f84||(_0x393f84={'config':_0x289553['config'],'sparklines':new _0x2d5f79(_0x289553[_0x3cac65(0xb4)][_0x3cac65(0xcd)]())},_0x9fb5b3[_0x112027]=_0x393f84);}});}_0xfa4d10[_0x24e5d5(0xc0)]({'id':y['id'],'params':{'unitId':_0x2ca017,'subUnitId':_0xf178a2,'groupIds':Array[_0x24e5d5(0x80)](_0x19e675),'isSingle':!0x1}}),_0x11b78d[_0x24e5d5(0xc0)]({'id':y['id'],'params':{'unitId':_0x2ca017,'subUnitId':_0xf178a2,'groupIds':Array[_0x24e5d5(0x80)](_0x19e675),'isSingle':!0x1}});const _0x52f289={};let _0x3bcc00=!0x1;return Object['entries'](_0x9fb5b3)['forEach'](([_0x36e0d8,_0x1d5c52])=>{const _0x253898=_0x24e5d5;_0x1d5c52[_0x253898(0xb4)][_0x253898(0xca)]()&&(_0x3bcc00=!0x0,_0x1d5c52[_0x253898(0xb4)]['removeRows'](_0x5651a6[_0x253898(0xd1)],_0x5651a6['endRow']-_0x5651a6[_0x253898(0xd1)]+0x1),_0x52f289[_0x36e0d8]={'config':_0x1d5c52[_0x253898(0x11b)],'sparklines':_0x1d5c52['sparklines'][_0x253898(0xcd)]()});}),_0x3bcc00&&_0x22739c[_0x24e5d5(0xc0)]({'id':V['id'],'params':{'unitId':_0x2ca017,'subUnitId':_0xf178a2,'sparklineConfigMap':_0x52f289}}),_0x2b0bec[_0x24e5d5(0xc0)]({'id':V['id'],'params':{'unitId':_0x2ca017,'subUnitId':_0xf178a2,'sparklineConfigMap':_0x3d8332}}),{'redos':_0x22739c,'undos':_0x2b0bec,'preRedos':_0x11b78d,'preUndos':_0xfa4d10};}[_0x1fd208(0x123)](_0xd7498f,_0x1030f1,_0x304d47){const _0x2427e8=_0x1fd208;var _0xe84f2d,_0x2dcffd;const {range:_0x551bad}=_0xd7498f,_0x350668=new Set(),_0x4fe115={},_0x416aef={},_0x5b77b0=[],_0x1af596=[],_0x248b33=[],_0x203460=[];if(!_0x2a5460(this[_0x2427e8(0x107)],{'unitId':_0x1030f1,'subUnitId':_0x304d47}))return{'redos':_0x1af596,'undos':_0x5b77b0};const _0x3eb03a=this[_0x2427e8(0xdb)][_0x2427e8(0xdd)](_0x1030f1,_0x304d47);if(!_0x3eb03a)return{'redos':_0x1af596,'undos':_0x5b77b0};if(!((_0x2dcffd=(_0xe84f2d=this[_0x2427e8(0xdb)]['getSparklineCache']()[_0x2427e8(0xe7)]['get'](_0x1030f1))==null?void 0x0:_0xe84f2d[_0x2427e8(0x7b)](_0x304d47))==null?void 0x0:_0x2dcffd[_0x2427e8(0xf0)]))return{'redos':_0x1af596,'undos':_0x5b77b0};for(const [_0x239c1c,_0x34d116]of _0x3eb03a){const _0x2f800a=_0x34d116['sparklines'];_0x2f800a[_0x2427e8(0xa8)]((_0x3c5de4,_0x379071,_0x39c0d9)=>{const _0x35656d=_0x2427e8;if(_0x5de43d[_0x35656d(0xfb)](_0x551bad,_0x39c0d9)){_0x350668[_0x35656d(0x97)](_0x239c1c);let _0x613f67=_0x416aef[_0x239c1c];_0x613f67||(_0x613f67={'config':_0x34d116['config'],'sparklines':_0x34d116[_0x35656d(0xb4)][_0x35656d(0xcd)]()},_0x416aef[_0x239c1c]=_0x613f67);let _0x2c5dc9=_0x4fe115[_0x239c1c];_0x2c5dc9||(_0x2c5dc9={'config':_0x34d116[_0x35656d(0x11b)],'sparklines':new _0x2d5f79(_0x34d116[_0x35656d(0xb4)][_0x35656d(0xcd)]())},_0x4fe115[_0x239c1c]=_0x2c5dc9);const _0x5f0e91=_0x258a99(_0x39c0d9,{'id':_0x361ea4['id'],'params':_0xd7498f});_0x5f0e91?_0x2c5dc9[_0x35656d(0xb4)][_0x35656d(0x100)](_0x3c5de4,_0x379071,_0x5f0e91):_0x2c5dc9[_0x35656d(0xb4)][_0x35656d(0x100)](_0x3c5de4,_0x379071,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x4d62f7[_0x35656d(0x8e)]});}}),_0x2f800a[_0x2427e8(0xa8)]((_0x24f3c4,_0x1ffc7d,_0x10c8d9)=>{const _0x47f7af=_0x2427e8;if(_0x1ffc7d<=_0x551bad['endColumn']&&_0x1ffc7d>=_0x551bad[_0x47f7af(0x90)]){_0x350668[_0x47f7af(0x97)](_0x239c1c);let _0x4f517b=_0x416aef[_0x239c1c];_0x4f517b||(_0x4f517b={'config':_0x34d116[_0x47f7af(0x11b)],'sparklines':_0x34d116[_0x47f7af(0xb4)][_0x47f7af(0xcd)]()},_0x416aef[_0x239c1c]=_0x4f517b);let _0x8e9bca=_0x4fe115[_0x239c1c];_0x8e9bca||(_0x8e9bca={'config':_0x34d116[_0x47f7af(0x11b)],'sparklines':new _0x2d5f79(_0x34d116[_0x47f7af(0xb4)][_0x47f7af(0xcd)]())},_0x4fe115[_0x239c1c]=_0x8e9bca);}});}_0x203460[_0x2427e8(0xc0)]({'id':y['id'],'params':{'unitId':_0x1030f1,'subUnitId':_0x304d47,'groupIds':Array[_0x2427e8(0x80)](_0x350668),'isSingle':!0x1}}),_0x248b33[_0x2427e8(0xc0)]({'id':y['id'],'params':{'unitId':_0x1030f1,'subUnitId':_0x304d47,'groupIds':Array[_0x2427e8(0x80)](_0x350668),'isSingle':!0x1}});const _0x15aad9={};let _0x435cf0=!0x1;return Object[_0x2427e8(0x6a)](_0x4fe115)['forEach'](([_0xc89639,_0x31d45b])=>{const _0x37476f=_0x2427e8;_0x31d45b[_0x37476f(0xb4)][_0x37476f(0xca)]()&&(_0x435cf0=!0x0,_0x31d45b[_0x37476f(0xb4)][_0x37476f(0xd4)](_0x551bad[_0x37476f(0x90)],_0x551bad[_0x37476f(0xb1)]-_0x551bad[_0x37476f(0x90)]+0x1),_0x15aad9[_0xc89639]={'config':_0x31d45b[_0x37476f(0x11b)],'sparklines':_0x31d45b[_0x37476f(0xb4)][_0x37476f(0xcd)]()});}),_0x435cf0&&_0x1af596[_0x2427e8(0xc0)]({'id':V['id'],'params':{'unitId':_0x1030f1,'subUnitId':_0x304d47,'sparklineConfigMap':_0x15aad9}}),_0x5b77b0[_0x2427e8(0xc0)]({'id':V['id'],'params':{'unitId':_0x1030f1,'subUnitId':_0x304d47,'sparklineConfigMap':_0x416aef}}),{'redos':_0x1af596,'undos':_0x5b77b0,'preRedos':_0x248b33,'preUndos':_0x203460};}['_initCorrectRangeWithSparkline'](){const _0x16d134=_0x1fd208;this[_0x16d134(0xcc)](this[_0x16d134(0xba)][_0x16d134(0x67)](_0x516e82=>{const _0x3e2009=_0x16d134;if(_0x516e82['id']===_0x2f67f3['id']){const _0x3a69b5=_0x516e82[_0x3e2009(0x83)],{unitId:_0x22f9c1,subUnitId:_0x5f462d,range:_0x4e03d6}=_0x3a69b5,_0x3b3d81=_0x4e03d6[_0x3e2009(0x90)],_0x31b676=_0x4e03d6[_0x3e2009(0xb1)]-_0x4e03d6[_0x3e2009(0x90)]+0x1,_0x221450=this[_0x3e2009(0xdb)][_0x3e2009(0xdd)](_0x22f9c1,_0x5f462d);if(!_0x221450)return;for(const [_0x43f04d,_0x57444b]of _0x221450){this[_0x3e2009(0xdb)][_0x3e2009(0xf4)](_0x22f9c1,_0x5f462d,_0x43f04d);const _0x15288f=_0x57444b['sparklines'];_0x15288f[_0x3e2009(0xa8)]((_0x3410a1,_0x4a6c92,_0xa687fe)=>{const _0x495e51=_0x3e2009,_0x49106e={..._0xa687fe};_0x3b3d81<=_0x49106e[_0x495e51(0x90)]?(_0x49106e['startColumn']+=_0x31b676,_0x49106e['endColumn']+=_0x31b676):_0x3b3d81>_0x49106e[_0x495e51(0xb1)]||(_0x49106e[_0x495e51(0xb1)]+=_0x31b676),_0x15288f[_0x495e51(0x100)](_0x3410a1,_0x4a6c92,_0x49106e);});const _0x16d8e5=_0x15288f['getMatrix']();for(const _0x5bec12 in _0x16d8e5){const _0x348ca5=_0x16d8e5[Number(_0x5bec12)];if(!_0x348ca5)continue;const _0x3765a7=Object[_0x3e2009(0x120)](_0x348ca5)[_0x3e2009(0xc3)](Number),_0x5e140c=Math[_0x3e2009(0x113)](..._0x3765a7);for(let _0x550316=_0x5e140c;_0x550316>=_0x3b3d81;_0x550316--)_0x550316>=_0x3b3d81&&_0x348ca5[_0x550316]&&(_0x348ca5[_0x550316+_0x31b676]=_0x348ca5[_0x550316],delete _0x348ca5[_0x550316]);}this[_0x3e2009(0xdb)]['updateSparklineExtraNum'](_0x22f9c1,_0x5f462d,_0x43f04d);}}else{if(_0x516e82['id']===_0x4400c6['id']){const _0x59e908=_0x516e82[_0x3e2009(0x83)],{unitId:_0x159257,subUnitId:_0x3d9ed1,range:_0x487306}=_0x59e908,_0x112b5f=_0x487306[_0x3e2009(0xd1)],_0x4022cf=_0x487306['endRow']-_0x487306[_0x3e2009(0xd1)]+0x1,_0x42df61=this['_sparklineDataSourceModel'][_0x3e2009(0xdd)](_0x159257,_0x3d9ed1);if(!_0x42df61)return;for(const [_0x4ee193,_0x4a0b80]of _0x42df61){this[_0x3e2009(0xdb)][_0x3e2009(0xf4)](_0x159257,_0x3d9ed1,_0x4ee193);const _0x56dc17=_0x4a0b80['sparklines'];_0x56dc17[_0x3e2009(0xa8)]((_0x4faaf7,_0x4562c1,_0xc00294)=>{const _0x59438c=_0x3e2009,_0x3ef084={..._0xc00294};_0x112b5f<=_0x3ef084['startRow']?(_0x3ef084[_0x59438c(0xd1)]+=_0x4022cf,_0x3ef084['endRow']+=_0x4022cf):_0x112b5f>_0x3ef084['endRow']||(_0x3ef084[_0x59438c(0x71)]+=_0x4022cf),_0x56dc17['setValue'](_0x4faaf7,_0x4562c1,_0x3ef084);});const _0x2e69ae=_0x56dc17[_0x3e2009(0xfc)](),_0x4def48=Object[_0x3e2009(0x120)](_0x2e69ae)['map'](Number),_0x2df424=Math[_0x3e2009(0x113)](..._0x4def48);for(let _0x58da28=_0x2df424;_0x58da28>=_0x112b5f;_0x58da28--)_0x58da28>=_0x112b5f&&_0x2e69ae[_0x58da28]&&(_0x2e69ae[_0x58da28+_0x4022cf]=_0x2e69ae[_0x58da28],delete _0x2e69ae[_0x58da28]);this['_sparklineDataSourceModel'][_0x3e2009(0x89)](_0x159257,_0x3d9ed1,_0x4ee193);}}else{if(_0x516e82['id']===_0x361ea4['id']){const _0xad99e3=_0x516e82[_0x3e2009(0x83)],{range:_0x3be499,unitId:_0x558800,subUnitId:_0x5226cc}=_0xad99e3,_0x1bb09f=this[_0x3e2009(0xdb)]['getSubUnitSparkline'](_0x558800,_0x5226cc);if(!_0x1bb09f)return;for(const [_0x299b2d,_0xcd713e]of _0x1bb09f){const _0x3e9fb9=_0xcd713e['sparklines'];_0x3e9fb9[_0x3e2009(0xa8)]((_0x39c31b,_0x206c16,_0x5e43b3)=>{const _0x5eaace=_0x3e2009,_0x11498a=_0x258a99(_0x5e43b3,_0x516e82);_0x11498a?_0x3e9fb9[_0x5eaace(0x100)](_0x39c31b,_0x206c16,_0x11498a):_0x3e9fb9[_0x5eaace(0x100)](_0x39c31b,_0x206c16,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x4d62f7[_0x5eaace(0x8e)]});}),_0x3e9fb9[_0x3e2009(0xd4)](_0x3be499['startColumn'],_0x3be499[_0x3e2009(0xb1)]-_0x3be499[_0x3e2009(0x90)]+0x1);}this[_0x3e2009(0xdb)][_0x3e2009(0x115)](_0x558800,_0x5226cc);}else{if(_0x516e82['id']===_0x2b791a['id']){const _0x16fda5=_0x516e82[_0x3e2009(0x83)],{range:_0x287f63,unitId:_0x50bce7,subUnitId:_0x24e8f4}=_0x16fda5,_0xcac9ab=this[_0x3e2009(0xdb)][_0x3e2009(0xdd)](_0x50bce7,_0x24e8f4);if(!_0xcac9ab)return;for(const [_0xc8fe88,_0x31d42f]of _0xcac9ab){const _0x1b9895=_0x31d42f['sparklines'];_0x1b9895[_0x3e2009(0xa8)]((_0x9f0459,_0x30b990,_0x41d818)=>{const _0x4cff12=_0x3e2009,_0x5eb823=_0x258a99(_0x41d818,_0x516e82);_0x5eb823?_0x1b9895['setValue'](_0x9f0459,_0x30b990,_0x5eb823):_0x1b9895['setValue'](_0x9f0459,_0x30b990,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x4d62f7[_0x4cff12(0x8e)]});}),_0x1b9895[_0x3e2009(0x11a)](_0x287f63['startRow'],_0x287f63[_0x3e2009(0x71)]-_0x287f63['startRow']+0x1);}this[_0x3e2009(0xdb)][_0x3e2009(0x115)](_0x50bce7,_0x24e8f4);}else{if(_0x516e82['id']===_0xc21219['id']){const _0x22080c=_0x516e82[_0x3e2009(0x83)],{unitId:_0x4306d2,subUnitId:_0x321c0b,sourceRange:_0x5e110d,targetRange:_0x5e292d}=_0x22080c,_0xe1502c=this[_0x3e2009(0xdb)][_0x3e2009(0xdd)](_0x4306d2,_0x321c0b);if(!_0xe1502c)return;for(const [_0x90010c,_0xbb23af]of _0xe1502c){const _0x3ca6f8=_0xbb23af[_0x3e2009(0xb4)];_0x3ca6f8[_0x3e2009(0xa8)]((_0x187069,_0x1106d9,_0x35f9e8)=>{const _0x2f2db8=_0x3e2009,_0x2e42d8=_0x258a99(_0x35f9e8,_0x516e82);_0x2e42d8?_0x3ca6f8[_0x2f2db8(0x100)](_0x187069,_0x1106d9,_0x2e42d8):_0x3ca6f8[_0x2f2db8(0x100)](_0x187069,_0x1106d9,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x4d62f7[_0x2f2db8(0x8e)]});}),_0x3ca6f8[_0x3e2009(0x106)](_0x5e110d[_0x3e2009(0x90)],_0x5e110d[_0x3e2009(0xb1)]-_0x5e110d[_0x3e2009(0x90)]+0x1,_0x5e292d[_0x3e2009(0x90)]);}this[_0x3e2009(0xdb)]['reBuildAnchorCache'](_0x4306d2,_0x321c0b);}else{if(_0x516e82['id']===_0x36ebf1['id']){const _0xbc28e1=_0x516e82['params'],{unitId:_0x3ff054,subUnitId:_0x8b175b,sourceRange:_0x489f14,targetRange:_0x497310}=_0xbc28e1,_0xc4a6c4=this[_0x3e2009(0xdb)]['getSubUnitSparkline'](_0x3ff054,_0x8b175b);if(!_0xc4a6c4)return;for(const [_0x444027,_0x211809]of _0xc4a6c4){const _0x404b45=_0x211809[_0x3e2009(0xb4)];_0x404b45[_0x3e2009(0xa8)]((_0x5b1beb,_0x2f95b4,_0x5a688a)=>{const _0x4d0cd9=_0x3e2009,_0x4c2ea3=_0x258a99(_0x5a688a,_0x516e82);_0x4c2ea3?_0x404b45[_0x4d0cd9(0x100)](_0x5b1beb,_0x2f95b4,_0x4c2ea3):_0x404b45[_0x4d0cd9(0x100)](_0x5b1beb,_0x2f95b4,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x4d62f7[_0x4d0cd9(0x8e)]});}),_0x404b45[_0x3e2009(0xcf)](_0x489f14[_0x3e2009(0xd1)],_0x489f14[_0x3e2009(0x71)]-_0x489f14['startRow']+0x1,_0x497310[_0x3e2009(0xd1)]);}this[_0x3e2009(0xdb)]['reBuildAnchorCache'](_0x3ff054,_0x8b175b);}else{if(_0x516e82['id']===_0x418f59['id']){const _0x2f5370=_0x516e82[_0x3e2009(0x83)],{fromRange:_0xd25709,toRange:_0x3261e9,unitId:_0x252a21,from:_0x10de7b,to:_0x28cafb}=_0x2f5370;if(_0x10de7b[_0x3e2009(0xbc)]!==_0x28cafb[_0x3e2009(0xbc)])return;const _0x2eaac1=_0x10de7b[_0x3e2009(0xbc)],{startRow:_0xce995b,endRow:_0x41af0d,startColumn:_0x1efced,endColumn:_0x80d12f}=_0xd25709,{startRow:_0x19c74f,startColumn:_0x3622ec}=_0x3261e9,_0x57f969=_0x19c74f-_0xce995b,_0x9a81d9=_0x3622ec-_0x1efced,_0x472d5b=this[_0x3e2009(0xdb)][_0x3e2009(0xdd)](_0x252a21,_0x2eaac1);if(!(_0x472d5b!=null&&_0x472d5b[_0x3e2009(0x10f)]))return;for(let _0x4f7bf0=_0xce995b;_0x4f7bf0<=_0x41af0d;_0x4f7bf0++)for(let _0x45da4e=_0x1efced;_0x45da4e<=_0x80d12f;_0x45da4e++){const _0x3a95fe=this['_sparklineDataSourceModel'][_0x3e2009(0x74)](_0x252a21,_0x2eaac1,_0x4f7bf0,_0x45da4e);if(_0x3a95fe){const _0x8ca411=this[_0x3e2009(0xdb)]['getSparklineById'](_0x252a21,_0x2eaac1,_0x3a95fe);if(_0x8ca411){const _0x51f74c=_0x8ca411[_0x3e2009(0xb4)][_0x3e2009(0x10e)](_0x4f7bf0,_0x45da4e);_0x51f74c&&(_0x8ca411[_0x3e2009(0xb4)][_0x3e2009(0x100)](_0x4f7bf0+_0x57f969,_0x45da4e+_0x9a81d9,_0x51f74c),_0x8ca411[_0x3e2009(0xb4)][_0x3e2009(0xfd)](_0x4f7bf0,_0x45da4e));}}}for(const [_0x39e526,_0x4d71cc]of _0x472d5b){const _0x406b1e=_0x4d71cc[_0x3e2009(0xb4)];_0x406b1e['forValue']((_0x2ee368,_0x3c0a5a,_0x9db2bc)=>{const _0x3b515e=_0x3e2009,_0x684aa5={..._0x9db2bc};_0x5de43d[_0x3b515e(0xf6)](_0xd25709,_0x9db2bc)&&(_0x684aa5[_0x3b515e(0xd1)]+=_0x57f969,_0x684aa5[_0x3b515e(0x71)]+=_0x57f969,_0x684aa5[_0x3b515e(0x90)]+=_0x9a81d9,_0x684aa5['endColumn']+=_0x9a81d9),_0x406b1e['setValue'](_0x2ee368,_0x3c0a5a,_0x684aa5);});}this[_0x3e2009(0xdb)][_0x3e2009(0x115)](_0x252a21,_0x2eaac1);}}}}}}}}));}};Me=Kt([ge(0x0,_0x504c27(_0x17fffc)),ge(0x1,_0x504c27(_0xac2ac7)),ge(0x2,_0x4e9356),ge(0x3,_0x504c27(x))],Me);var Xt=Object[_0x1fd208(0x72)],zt=(_0x4b3e9f,_0x5ad6b4,_0x28075a,_0x7492c5)=>{for(var _0x342651=_0x7492c5>0x1?void 0x0:_0x7492c5?Xt(_0x5ad6b4,_0x28075a):_0x5ad6b4,_0x3be8af=_0x4b3e9f['length']-0x1,_0x189fc6;_0x3be8af>=0x0;_0x3be8af--)(_0x189fc6=_0x4b3e9f[_0x3be8af])&&(_0x342651=_0x189fc6(_0x342651)||_0x342651);return _0x342651;},Be=(_0x5d8db4,_0x2cd5f8)=>(_0x580a86,_0x58024a)=>_0x2cd5f8(_0x580a86,_0x58024a,_0x5d8db4);let Re=class extends _0x34fa33{constructor(_0x59248f,_0x1c8fce){const _0x3be76e=_0x1fd208;super(),this['_resourceManagerService']=_0x59248f,this[_0x3be76e(0xdb)]=_0x1c8fce,this[_0x3be76e(0x8c)]();}[_0x1fd208(0x8c)](){const _0x51239e=_0x1fd208,_0xd03663=_0xd640e8=>{const _0x1bb2ab=_0x4ea4,_0x358b65=this['_sparklineDataSourceModel'][_0x1bb2ab(0x121)](_0xd640e8);return _0x358b65?JSON[_0x1bb2ab(0x68)](_0x358b65):'';},_0x44bb19=_0x1cddcb=>_0x1cddcb?JSON[_0x51239e(0xea)](_0x1cddcb):{};this[_0x51239e(0xcc)](this['_resourceManagerService'][_0x51239e(0x108)]({'toJson':_0xd03663,'parseJson':_0x44bb19,'pluginName':Ke,'businesses':[_0x19d6b6[_0x51239e(0x102)]],'onLoad':(_0x293fcf,_0x4c0e82)=>{const _0x38bd3a=_0x51239e;this['_sparklineDataSourceModel'][_0x38bd3a(0x6e)](_0x4c0e82);},'onUnLoad':_0x2e095a=>{const _0xd5c8cb=_0x51239e;this[_0xd5c8cb(0xdb)]['deleteUnit'](_0x2e095a);}}));}};Re=zt([Be(0x0,_0x504c27(_0x593678)),Be(0x1,_0x504c27(x))],Re);var Jt=Object[_0x1fd208(0xf7)],Zt=Object[_0x1fd208(0x72)],Yt=(_0x968c84,_0x1bf605,_0x556f87)=>_0x1bf605 in _0x968c84?Jt(_0x968c84,_0x1bf605,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x556f87}):_0x968c84[_0x1bf605]=_0x556f87,qt=(_0xdcfe2c,_0x3ff3ef,_0x310925,_0x407129)=>{const _0x3e3584=_0x1fd208;for(var _0x15a6da=_0x407129>0x1?void 0x0:_0x407129?Zt(_0x3ff3ef,_0x310925):_0x3ff3ef,_0x13bb23=_0xdcfe2c[_0x3e3584(0x109)]-0x1,_0x48b04f;_0x13bb23>=0x0;_0x13bb23--)(_0x48b04f=_0xdcfe2c[_0x13bb23])&&(_0x15a6da=_0x48b04f(_0x15a6da)||_0x15a6da);return _0x15a6da;},He=(_0x13168e,_0x2cb8e4)=>(_0x26106b,_0x1ddfa2)=>_0x2cb8e4(_0x26106b,_0x1ddfa2,_0x13168e),ze=(_0x356009,_0x29648e,_0x34b08d)=>Yt(_0x356009,typeof _0x29648e!=_0x1fd208(0x6f)?_0x29648e+'':_0x29648e,_0x34b08d);let ve=class extends _0x5b2493{constructor(_0x253a2d={},_0x51e031,_0x40fb85){const _0x3f03d6=_0x1fd208;super(),this[_0x3f03d6(0xe1)]=_0x253a2d,this[_0x3f03d6(0xed)]=_0x51e031,this[_0x3f03d6(0xba)]=_0x40fb85,this[_0x3f03d6(0x9a)](),this[_0x3f03d6(0xb8)]();}[_0x1fd208(0x9a)](){const _0x2844a0=_0x1fd208;[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]][_0x2844a0(0x119)](_0xa02c10=>{const _0x4a89b5=_0x2844a0;this[_0x4a89b5(0xed)][_0x4a89b5(0x97)](_0xa02c10);}),_0x4b167b(this[_0x2844a0(0xed)],[[Re]]);}['onReady'](){const _0x20fcdd=_0x1fd208;_0x4b167b(this[_0x20fcdd(0xed)],[[me],[_e],[Se],[Me],[Ce],[ke]]);}[_0x1fd208(0xb8)](){const _0xdd5f49=_0x1fd208;[Nt,V,Ot,y,xt,Oe][_0xdd5f49(0x119)](_0x50fc04=>this['_commandService']['registerCommand'](_0x50fc04));}};ze(ve,_0x1fd208(0xd5),Ke),ze(ve,_0x1fd208(0x8f),_0x19d6b6[_0x1fd208(0x102)]),ve=qt([_0x5d2c78(_0x42a012),He(0x1,_0x504c27(_0x24d248)),He(0x2,_0x504c27(_0x17fffc))],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 _0x4925c1=_0x4718;(function(_0x4c19d5,_0x140c79){const _0x2d4093=_0x4718,_0x2195aa=_0x4c19d5();while(!![]){try{const _0x330abe=-parseInt(_0x2d4093(0xbf))/0x1*(parseInt(_0x2d4093(0xea))/0x2)+-parseInt(_0x2d4093(0x10c))/0x3+-parseInt(_0x2d4093(0x76))/0x4*(-parseInt(_0x2d4093(0xc7))/0x5)+-parseInt(_0x2d4093(0xe6))/0x6+parseInt(_0x2d4093(0xfa))/0x7*(parseInt(_0x2d4093(0x10e))/0x8)+parseInt(_0x2d4093(0x113))/0x9*(parseInt(_0x2d4093(0xcf))/0xa)+-parseInt(_0x2d4093(0xb2))/0xb*(-parseInt(_0x2d4093(0x75))/0xc);if(_0x330abe===_0x140c79)break;else _0x2195aa['push'](_0x2195aa['shift']());}catch(_0x4fe219){_0x2195aa['push'](_0x2195aa['shift']());}}}(_0xe873,0x4c41a));var qe=Object[_0x4925c1(0x114)],Qe=(_0x27f574,_0x11394e,_0x21883b)=>_0x11394e in _0x27f574?qe(_0x27f574,_0x11394e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21883b}):_0x27f574[_0x11394e]=_0x21883b,se=(_0x41f178,_0xeaa095,_0x4f7aa7)=>Qe(_0x41f178,typeof _0xeaa095!=_0x4925c1(0xd8)?_0xeaa095+'':_0xeaa095,_0x4f7aa7);import{ObjectMatrix as _0x566221,Inject as _0x5858d2,IUniverInstanceService as _0x49ace0,Disposable as _0x4f0dd5,isValidRange as _0x9b5284,CellValueType as _0x13742d,ColorKit as _0x303354,CommandType as _0x32f3e0,Range as _0x154c02,IUndoRedoService as _0x271ae1,generateRandomId as _0x503d00,ICommandService as _0x246433,Tools as _0x34f535,sequenceExecute as _0x19f097,Rectangle as _0x489cca,cellToRange as _0x501aed,DisposableCollection as _0x544d73,RANGE_TYPE as _0x347f18,UniverInstanceType as _0x1374ff,IResourceManagerService as _0x55f5da,DependentOn as _0x566c77,Injector as _0x370f87,Plugin as _0x5db67a,touchDependencies as _0x532587}from'@univerjs/core';import{getSheetCommandTarget as _0x1476b5,SheetsSelectionsService as _0x4a2951,SheetInterceptorService as _0x4c2cc9,ClearSelectionAllCommand as _0x380e98,CopySheetCommand as _0x352fe4,IExclusiveRangeService as _0x2141f1,SetRangeValuesMutation as _0x45ea97,ReorderRangeMutation as _0xece4f9,SetRowHiddenMutation as _0x1ec080,SetColHiddenMutation as _0xe30fcc,SetRowVisibleMutation as _0xfb5277,SetColVisibleMutation as _0x4f8079,AddWorksheetMergeCommand as _0x545433,RefRangeService as _0x24ad55,SetWorksheetActivateCommand as _0x31f7c6,RemoveRowCommand as _0x42aaf4,RemoveColCommand as _0x176eab,adjustRangeOnMutation as _0x5225e5,RemoveRowMutation as _0x48ec1e,RemoveColMutation as _0x312d83,InsertColMutation as _0x48afea,InsertRowMutation as _0x15c753,MoveColsMutation as _0x4c34d0,MoveRowsMutation as _0x374ee5,MoveRangeMutation as _0xd32508}from'@univerjs/sheets';import{Subject as _0x5b0579}from'rxjs';function _0xe873(){const _0x411e7e=['_univerInstanceService','standard','entries','getSparkline','removeRows','subscribe','sheet.mutation.set-sparkline','negativePoint','sparklineAnchorMap','_initCorrectRangeWithSparkline','UNIVER_SHEET','unitId','SELF_EXTREMUM','clone','refRangeHandle','map','getColVisible','_sparklineDataSourceModel','soft','endColumn','sheet.mutation.remove-sparkline','MAX_SAFE_INTEGER','714540KyXmDT','5768FiRtwE','get','MUTATION','range','setAlpha','_sheetInterceptorService','_initClearWithSparkline','matrix','FORCE_STRING','actualRow','_config','groupId','rgb(80,102,248)','GROUP_EXTREMUM','getCurrentSelections','fresh','extremumMax','startColumn','COMMAND','setValue','intersects','_ensureAnchorMatrix','max','_initDependencies','asObservable','stringify','SPECIALTY','next','size','_initExclusiveRangeChange','u-spacing','CONNECT_WITH_LINE','set','DISTINCTIVE','_resourceManagerService','_sparklineAnchorMap','removeSparkline','_exclusiveRangeService','registerRefRange','disposableCollection','length','spacing','sparklineModel','NORMAL','setSparkline','_updateConfig$','nonNumShowAs','row','moveColumns','toRgbString','foreach','from','_initSnapshot','hasValue','_refRangeService','contains','updateConfig$','delete','STRING','rgb(30,177,189)','66gzvAdv','disposeWithMe','onReady','highPoint','startRow','type','_sparklineModel','forValue','realDeleteValue','BOOLEAN','fromJSON','forEach','getSparklineCache','1493fEnReG','u-connect','getSparklineById','getCellRaw','rgb(124,66,147)','lastPoint','rgb(248,190,21)','_initHideRowColWithSparkline','2020WEanqk','onCommandExecuted','remove','keys','toJSON','_getRefRangeMutationsByDeleteRows','rgb(54,78,244)','getMatrix','3230fSGwPB','PIE_CHART','ZERO_VALUE','endRow','CUSTOM','_getRefRangeMutationsByDeleteCols','seriesColor','custom','item','symbol','extremumMin','CUSTOM_EXTREMUM','exclusiveRangesChange$','sheet.command.add-sparkline','MIN_SAFE_INTEGER','reBuildAnchorCache','min','updateSparklineExtraNum','interceptCommand','_initDataChangeListener','SPACING','number','BAR_CHART','1258674DRDgcY','connect_with_line','pluginName','rgb(49,106,246)','466uRvjrJ','_sheetSelectionService','getOwnPropertyDescriptor','STANDARD','push','_injector','params','SHEET_SPARKLINE_PLUGIN','Mismatch\x20between\x20the\x20number\x20of\x20target\x20cells\x20and\x20the\x20source\x20range\x20dimensions.','subUnitId','_initCopySheetWithSparkline','rgb(252,117,60)','themeType','sparklines','_commandService','pushUndoRedo','14ljKPcE','_ensureConfigMap','deepClone','_onRefRangeChange','value','getValue','add','PROFIT_AND_LOSS_CHART','clearSparklineCache','removeColumns','registerCommand','deleteUnit','ranges','LINE_CHART','column','addSparkline','zero_value','sheet.command.remove-sparkline','1761174Oxftfs','getSizeOf','1831128QBVInd','getSubUnitSparkline','config','has','removePartSparkline','1656loNbUP','defineProperty'];_0xe873=function(){return _0x411e7e;};return _0xe873();}import{UniverLicensePlugin as _0x3a80c1}from'@univerjs-pro/license';function Fe(_0x3c210e,_0x1ede6c){const _0x55427c=_0x4925c1,_0x700a71=new _0x566221(),_0x3166a7=[],_0x4d775d=_0x3c210e[_0x55427c(0x9e)]>0x1;let _0x232570=0x0,_0x10ad52=0x0;for(const _0xeeb0d5 of _0x3c210e)_0x232570+=_0xeeb0d5[_0x55427c(0xd2)]-_0xeeb0d5[_0x55427c(0xb6)]+0x1,_0x10ad52+=_0xeeb0d5['endColumn']-_0xeeb0d5[_0x55427c(0x87)]+0x1;for(const _0x22f1df of _0x1ede6c)for(let _0x5306d6=_0x22f1df['startRow'];_0x5306d6<=_0x22f1df[_0x55427c(0xd2)];_0x5306d6++)for(let _0x3c3ea5=_0x22f1df['startColumn'];_0x3c3ea5<=_0x22f1df[_0x55427c(0x72)];_0x3c3ea5++)_0x3166a7[_0x55427c(0xee)]({'row':_0x5306d6,'column':_0x3c3ea5});if(_0x3166a7[_0x55427c(0x9e)]===_0x232570)_0x4d775d?_0x3166a7[_0x55427c(0xbd)]((_0x2a5234,_0x301f3a)=>{const _0x201ccb=_0x55427c,_0x354443=_0x3c210e[_0x301f3a],_0x5b7de2={'startRow':_0x354443['startRow'],'startColumn':_0x354443[_0x201ccb(0x87)],'endRow':_0x354443[_0x201ccb(0xb6)],'endColumn':_0x354443['endColumn']};_0x700a71[_0x201ccb(0x89)](_0x2a5234[_0x201ccb(0xa5)],_0x2a5234[_0x201ccb(0x108)],_0x5b7de2);}):_0x3166a7[_0x55427c(0xbd)]((_0x2e57af,_0x346b41)=>{const _0xbecb63=_0x55427c,_0x127fc0=_0x3c210e[0x0],_0x1660de={'startRow':_0x127fc0[_0xbecb63(0xb6)]+_0x346b41,'startColumn':_0x127fc0[_0xbecb63(0x87)],'endRow':_0x127fc0[_0xbecb63(0xb6)]+_0x346b41,'endColumn':_0x127fc0[_0xbecb63(0x72)]};_0x700a71[_0xbecb63(0x89)](_0x2e57af[_0xbecb63(0xa5)],_0x2e57af['column'],_0x1660de);});else{if(_0x3166a7[_0x55427c(0x9e)]===_0x10ad52)_0x4d775d?_0x3166a7['forEach']((_0x2ae7f6,_0x4a02bf)=>{const _0x252b8d=_0x55427c,_0x80ab89=_0x3c210e[_0x4a02bf],_0x222b1b={'startRow':_0x80ab89['startRow'],'startColumn':_0x80ab89[_0x252b8d(0x87)],'endRow':_0x80ab89[_0x252b8d(0xd2)],'endColumn':_0x80ab89['startColumn']};_0x700a71['setValue'](_0x2ae7f6[_0x252b8d(0xa5)],_0x2ae7f6[_0x252b8d(0x108)],_0x222b1b);}):_0x3166a7[_0x55427c(0xbd)]((_0x50644f,_0x2c0627)=>{const _0x1b536c=_0x55427c,_0xbdb6c9=_0x3c210e[0x0],_0xa7a585={'startRow':_0xbdb6c9['startRow'],'startColumn':_0xbdb6c9[_0x1b536c(0x87)]+_0x2c0627,'endRow':_0xbdb6c9[_0x1b536c(0xd2)],'endColumn':_0xbdb6c9[_0x1b536c(0x87)]+_0x2c0627};_0x700a71['setValue'](_0x50644f[_0x1b536c(0xa5)],_0x50644f[_0x1b536c(0x108)],_0xa7a585);});else{if(_0x3166a7[_0x55427c(0x9e)]===_0x3c210e[_0x55427c(0x9e)])_0x3c210e['every'](_0x21e94a=>!(_0x21e94a[_0x55427c(0xb6)]!==_0x21e94a['endRow']&&_0x21e94a[_0x55427c(0x87)]!==_0x21e94a[_0x55427c(0x72)]))&&_0x3166a7[_0x55427c(0xbd)]((_0x15976c,_0x4c4987)=>{const _0x44cc0c=_0x55427c,_0x1f2ebd=_0x3c210e[_0x4c4987];_0x700a71[_0x44cc0c(0x89)](_0x15976c[_0x44cc0c(0xa5)],_0x15976c[_0x44cc0c(0x108)],_0x1f2ebd);});else throw new Error(_0x55427c(0xf2));}}return _0x700a71;}const Ke=_0x4925c1(0xf1),Le={'standard':[_0x4925c1(0xcd),'rgb(236,100,169)'],'specialty':[_0x4925c1(0xe9),_0x4925c1(0xb1)],'distinctive':[_0x4925c1(0xc3),_0x4925c1(0xf5)],'soft':[_0x4925c1(0x82),'rgb(244,104,249)'],'fresh':['rgb(46,187,122)',_0x4925c1(0xc5)]},on=[_0x4925c1(0xb5),'firstPoint',_0x4925c1(0xc4),'lowPoint',_0x4925c1(0x66),'markersPoint'];var Xe=(_0x52c5ab=>(_0x52c5ab[_0x4925c1(0xed)]=_0x4925c1(0x116),_0x52c5ab[_0x4925c1(0x90)]='specialty',_0x52c5ab[_0x4925c1(0x97)]='distinctive',_0x52c5ab['SOFT']=_0x4925c1(0x71),_0x52c5ab['FRESH']=_0x4925c1(0x85),_0x52c5ab[_0x4925c1(0xd3)]=_0x4925c1(0xd6),_0x52c5ab))(Xe||{}),Dt=(_0x1d56c6=>(_0x1d56c6[_0x1d56c6[_0x4925c1(0x107)]=0x1]=_0x4925c1(0x107),_0x1d56c6[_0x1d56c6[_0x4925c1(0xe5)]=0x2]='BAR_CHART',_0x1d56c6[_0x1d56c6[_0x4925c1(0x101)]=0x3]=_0x4925c1(0x101),_0x1d56c6[_0x1d56c6[_0x4925c1(0xd0)]=0x4]=_0x4925c1(0xd0),_0x1d56c6))(Dt||{}),J=(_0x4de9c8=>(_0x4de9c8[_0x4925c1(0xe3)]=_0x4925c1(0x9f),_0x4de9c8['ZERO_VALUE']=_0x4925c1(0x10a),_0x4de9c8[_0x4925c1(0x95)]=_0x4925c1(0xe7),_0x4de9c8))(J||{}),De=(_0x21baab=>(_0x21baab[_0x21baab[_0x4925c1(0x6b)]=0x1]='SELF_EXTREMUM',_0x21baab[_0x21baab[_0x4925c1(0x83)]=0x2]=_0x4925c1(0x83),_0x21baab[_0x21baab['CUSTOM_EXTREMUM']=0x3]=_0x4925c1(0xda),_0x21baab))(De||{}),Et=Object[_0x4925c1(0xec)],Vt=(_0x20451d,_0x9e809c,_0x315a1d,_0xe92a27)=>{const _0x36cf70=_0x4925c1;for(var _0xe7dc64=_0xe92a27>0x1?void 0x0:_0xe92a27?Et(_0x9e809c,_0x315a1d):_0x9e809c,_0x24482c=_0x20451d[_0x36cf70(0x9e)]-0x1,_0x9d1ae6;_0x24482c>=0x0;_0x24482c--)(_0x9d1ae6=_0x20451d[_0x24482c])&&(_0xe7dc64=_0x9d1ae6(_0xe7dc64)||_0xe7dc64);return _0xe7dc64;},yt=(_0x1eca45,_0x5ef810)=>(_0x19f9e0,_0x50295a)=>_0x5ef810(_0x19f9e0,_0x50295a,_0x1eca45);let x=class extends _0x4f0dd5{constructor(_0xf778cc){const _0x45a01b=_0x4925c1;super(),se(this,_0x45a01b(0xb8),new Map()),se(this,_0x45a01b(0x99),new Map()),se(this,_0x45a01b(0xa3),new _0x5b0579()),se(this,_0x45a01b(0xae),this[_0x45a01b(0xa3)][_0x45a01b(0x8e)]()),this[_0x45a01b(0x115)]=_0xf778cc;}['_ensureConfigMap'](_0x36c355,_0x48a1a7){const _0x33f188=_0x4925c1;let _0xe5aaa6=this[_0x33f188(0xb8)]['get'](_0x36c355);_0xe5aaa6||(_0xe5aaa6=new Map(),this['_sparklineModel']['set'](_0x36c355,_0xe5aaa6));let _0x1792d4=_0xe5aaa6[_0x33f188(0x77)](_0x48a1a7);return _0x1792d4||(_0x1792d4=new Map(),_0xe5aaa6[_0x33f188(0x96)](_0x48a1a7,_0x1792d4)),_0x1792d4;}[_0x4925c1(0x8b)](_0x3bb470,_0x421cd3){const _0x519943=_0x4925c1;let _0x4f9c06=this['_sparklineAnchorMap'][_0x519943(0x77)](_0x3bb470);_0x4f9c06||(_0x4f9c06=new Map(),this[_0x519943(0x99)][_0x519943(0x96)](_0x3bb470,_0x4f9c06));let _0xa6adb4=_0x4f9c06[_0x519943(0x77)](_0x421cd3);return _0xa6adb4||(_0xa6adb4={'matrix':new _0x566221(),'extra':{}},_0x4f9c06[_0x519943(0x96)](_0x421cd3,_0xa6adb4)),_0xa6adb4;}[_0x4925c1(0xe0)](_0x1e3251,_0x41f0d6,_0x1a3d6e,_0x5112ba=_0x4925c1(0x96)){const _0x1f49f4=_0x4925c1;var _0x14dc0e,_0x283dc9,_0x9c967c,_0x4e42dc,_0x23bb4f,_0x17a78a,_0x382c5d,_0x3ef048,_0x393648,_0x54d3fc,_0x4476d5,_0x31264f,_0x1ef62e;const _0x2127a8=(_0x283dc9=(_0x14dc0e=this[_0x1f49f4(0xb8)][_0x1f49f4(0x77)](_0x1e3251))==null?void 0x0:_0x14dc0e[_0x1f49f4(0x77)](_0x41f0d6))==null?void 0x0:_0x283dc9[_0x1f49f4(0x77)](_0x1a3d6e);if(!_0x2127a8)return;const _0x5912e3=_0x1476b5(this['_univerInstanceService'],{'unitId':_0x1e3251,'subUnitId':_0x41f0d6});if(!_0x5912e3)return;const _0x13e4db=this[_0x1f49f4(0x8b)](_0x1e3251,_0x41f0d6),{extra:_0xdbb74c,matrix:_0x386f05}=_0x13e4db,{worksheet:_0x30616c}=_0x5912e3;let _0x5139a7=Number[_0x1f49f4(0xdd)],_0x38f92c=Number['MAX_SAFE_INTEGER'];const _0x1017ae=(_0x9c967c=_0x2127a8['config']['containHiddenCells'])!=null?_0x9c967c:!0x1;_0x2127a8[_0x1f49f4(0xf7)][_0x1f49f4(0xb9)]((_0x1496a2,_0x15a4f7,_0x1eb977)=>{const _0x28e967=_0x1f49f4;var _0x337300,_0x1b0ed3,_0x4b1fc2;const _0x386b3b=_0x1eb977;let _0x581a68=Number[_0x28e967(0xdd)],_0x272761=Number[_0x28e967(0x74)],_0x3d9395=0x0,_0x19963b=0x0;const _0x454470=[];if(!_0x9b5284(_0x386b3b))_0x386f05[_0x28e967(0x89)](_0x1496a2,_0x15a4f7,{'groupId':_0x1a3d6e,'data':[],'max':_0x581a68,'min':_0x272761,'highIndex':_0x3d9395,'lowIndex':_0x19963b,'negativeIndexes':_0x454470});else{const _0x1889f6=[];for(let _0x2e40fb=_0x386b3b[_0x28e967(0xb6)];_0x2e40fb<=_0x386b3b[_0x28e967(0xd2)];_0x2e40fb++){for(let _0x98d8bf=_0x386b3b['startColumn'];_0x98d8bf<=_0x386b3b[_0x28e967(0x72)];_0x98d8bf++){const _0x22311e=_0x30616c['getRowVisible'](_0x2e40fb),_0x5ee273=_0x30616c[_0x28e967(0x6f)](_0x98d8bf);if(!_0x1017ae&&(!_0x22311e||!_0x5ee273))continue;let _0x5745d6=0x0;const _0x52be0b=((_0x337300=_0x30616c[_0x28e967(0xc2)](_0x2e40fb,_0x98d8bf))==null?void 0x0:_0x337300['v'])!==void 0x0?_0x30616c['getCellRaw'](_0x2e40fb,_0x98d8bf):_0x30616c['getCell'](_0x2e40fb,_0x98d8bf);if(!_0x52be0b||_0x52be0b['v']===void 0x0||_0x52be0b['v']===null){const _0x490865=(_0x1b0ed3=_0x2127a8[_0x28e967(0x110)]['emptyShowAs'])!=null?_0x1b0ed3:J[_0x28e967(0xe3)];_0x490865===J[_0x28e967(0xd1)]?_0x5745d6=0x0:_0x490865===J['SPACING']?_0x5745d6=_0x28e967(0x94):_0x490865===J[_0x28e967(0x95)]&&(_0x5745d6='u-connect');}else{if(_0x52be0b['t']===_0x13742d[_0x28e967(0xb0)]||_0x52be0b['t']===_0x13742d[_0x28e967(0x7e)]){const _0xc5b068=(_0x4b1fc2=_0x2127a8[_0x28e967(0x110)][_0x28e967(0xa4)])!=null?_0x4b1fc2:J[_0x28e967(0xe3)];_0xc5b068===J[_0x28e967(0xd1)]?_0x5745d6=0x0:_0xc5b068===J['SPACING']?_0x5745d6='u-spacing':_0xc5b068===J[_0x28e967(0x95)]&&(_0x5745d6=_0x28e967(0xc0));}else _0x52be0b['t']===_0x13742d[_0x28e967(0xbb)]?_0x5745d6=_0x52be0b['v']?0x1:0x0:_0x52be0b['t']===_0x13742d['NUMBER']?_0x5745d6=Number(_0x52be0b['v']):_0x5745d6=_0x52be0b['v'];}if(_0x1889f6[_0x28e967(0xee)](_0x5745d6),typeof _0x5745d6==_0x28e967(0xe4)){_0x581a68=Math['max'](_0x581a68,_0x5745d6),_0x5139a7=Math[_0x28e967(0x8c)](_0x5139a7,_0x5745d6),_0x38f92c=Math[_0x28e967(0xdf)](_0x38f92c,_0x5745d6),_0x272761=Math[_0x28e967(0xdf)](_0x272761,_0x5745d6);const _0x749386=typeof _0x1889f6[_0x3d9395]==_0x28e967(0xe4)?Number(_0x1889f6[_0x3d9395]):Number[_0x28e967(0xdd)];_0x5745d6>_0x749386&&(_0x3d9395=_0x1889f6[_0x28e967(0x9e)]-0x1);const _0x133c45=typeof _0x1889f6[_0x19963b]=='number'?Number(_0x1889f6[_0x19963b]):Number['MAX_SAFE_INTEGER'];_0x5745d6<_0x133c45&&(_0x19963b=_0x1889f6[_0x28e967(0x9e)]-0x1),_0x5745d6<0x0&&_0x454470[_0x28e967(0xee)](_0x1889f6[_0x28e967(0x9e)]-0x1);}}_0x386f05['setValue'](_0x1496a2,_0x15a4f7,{'groupId':_0x1a3d6e,'data':_0x1889f6,'max':_0x581a68,'min':_0x272761,'highIndex':_0x3d9395,'lowIndex':_0x19963b,'negativeIndexes':_0x454470});}}});let _0x26afca=_0x5139a7;((_0x4e42dc=_0x2127a8[_0x1f49f4(0x110)]['extremumMax'])==null?void 0x0:_0x4e42dc[_0x1f49f4(0xb7)])===De['CUSTOM_EXTREMUM']&&(_0x26afca=(_0x17a78a=(_0x23bb4f=_0x2127a8[_0x1f49f4(0x110)][_0x1f49f4(0x86)])==null?void 0x0:_0x23bb4f[_0x1f49f4(0xfe)])!=null?_0x17a78a:_0x5139a7);let _0x19c334=_0x38f92c;((_0x382c5d=_0x2127a8[_0x1f49f4(0x110)][_0x1f49f4(0xd9)])==null?void 0x0:_0x382c5d[_0x1f49f4(0xb7)])===De[_0x1f49f4(0xda)]&&(_0x19c334=(_0x393648=(_0x3ef048=_0x2127a8[_0x1f49f4(0x110)][_0x1f49f4(0xd9)])==null?void 0x0:_0x3ef048[_0x1f49f4(0xfe)])!=null?_0x393648:_0x38f92c);const _0x57c187=(_0x54d3fc=_0x2127a8['config'][_0x1f49f4(0xf6)])!=null?_0x54d3fc:Xe['STANDARD'],_0x3518a0=(_0x1ef62e=(_0x31264f=_0x2127a8[_0x1f49f4(0x110)][_0x1f49f4(0xd5)])!=null?_0x31264f:(_0x4476d5=Le[_0x57c187])==null?void 0x0:_0x4476d5[0x0])!=null?_0x1ef62e:Le['standard'][0x0],_0x52b1b5=new _0x303354(_0x3518a0),_0x388240=_0x52b1b5[_0x1f49f4(0x7a)](0.2)[_0x1f49f4(0xa7)](),_0x2b7d6e=_0x52b1b5[_0x1f49f4(0x7a)](0.05)[_0x1f49f4(0xa7)]();_0xdbb74c[_0x1a3d6e]={'groupMax':_0x5139a7,'groupMin':_0x38f92c,'showMax':_0x26afca,'showMin':_0x19c334,'startGradient':_0x388240,'endGradient':_0x2b7d6e},this['_updateConfig$'][_0x1f49f4(0x91)]({'unitId':_0x1e3251,'subUnitId':_0x41f0d6,'groupId':_0x1a3d6e,'config':_0x2127a8,'type':_0x5112ba});}[_0x4925c1(0x109)](_0x2822ff,_0x48b1b7,_0x55d070,_0x31eb75){const _0x21ceac=_0x4925c1;this[_0x21ceac(0xfb)](_0x2822ff,_0x48b1b7)['set'](_0x55d070,_0x31eb75),this[_0x21ceac(0xe0)](_0x2822ff,_0x48b1b7,_0x55d070,_0x21ceac(0x100));}['setSparkline'](_0x265521,_0x55b8b4,_0x48a579,_0x5bb881){const _0x43cf46=_0x4925c1;var _0x3cd4dc;const _0x368bb1=(_0x3cd4dc=this[_0x43cf46(0xb8)]['get'](_0x265521))==null?void 0x0:_0x3cd4dc[_0x43cf46(0x77)](_0x55b8b4);_0x48a579['forEach'](_0x1aee54=>{const _0x2b314f=_0x43cf46;_0x368bb1!=null&&_0x368bb1[_0x2b314f(0x111)](_0x1aee54)&&(_0x368bb1[_0x2b314f(0x96)](_0x1aee54,_0x5bb881),this[_0x2b314f(0xe0)](_0x265521,_0x55b8b4,_0x1aee54));});}[_0x4925c1(0x9a)](_0x125aea,_0x483153,_0x36d17f){const _0x38d663=_0x4925c1;var _0x1ec64b,_0x35af96;const _0x275a16=this[_0x38d663(0xb8)]['get'](_0x125aea);if(_0x275a16){const _0x1c4ddd=_0x275a16[_0x38d663(0x77)](_0x483153);if(_0x1c4ddd){_0x1c4ddd[_0x38d663(0xaf)](_0x36d17f);const _0x269e4a=(_0x1ec64b=this[_0x38d663(0x99)][_0x38d663(0x77)](_0x125aea))==null?void 0x0:_0x1ec64b[_0x38d663(0x77)](_0x483153);(_0x35af96=_0x269e4a==null?void 0x0:_0x269e4a[_0x38d663(0x7d)])==null||_0x35af96[_0x38d663(0xb9)]((_0x230d0b,_0x2be89f,_0x28e798)=>{const _0x1152c2=_0x38d663;(_0x28e798==null?void 0x0:_0x28e798[_0x1152c2(0x81)])===_0x36d17f&&(_0x269e4a==null||_0x269e4a[_0x1152c2(0x7d)][_0x1152c2(0xba)](_0x230d0b,_0x2be89f));}),this[_0x38d663(0xa3)]['next']({'unitId':_0x125aea,'subUnitId':_0x483153,'groupId':_0x36d17f,'type':_0x38d663(0xc9)});}}}[_0x4925c1(0x112)](_0xb095d5,_0xc6ac5c,_0x46732b,_0x8bceef){const _0x1802af=_0x4925c1;var _0x3d908b,_0x543b66,_0x442cae,_0x17336b;const _0x4dce70=(_0x3d908b=this[_0x1802af(0x99)][_0x1802af(0x77)](_0xb095d5))==null?void 0x0:_0x3d908b[_0x1802af(0x77)](_0xc6ac5c),_0x3a57a3=_0x4dce70==null?void 0x0:_0x4dce70[_0x1802af(0x7d)][_0x1802af(0xff)](_0x46732b,_0x8bceef);if(_0x3a57a3){const {groupId:_0x27f8f1}=_0x3a57a3,_0x6dc3b1=(_0x543b66=this[_0x1802af(0xb8)][_0x1802af(0x77)](_0xb095d5))==null?void 0x0:_0x543b66[_0x1802af(0x77)](_0xc6ac5c);(_0x442cae=_0x6dc3b1==null?void 0x0:_0x6dc3b1['get'](_0x27f8f1))==null||_0x442cae[_0x1802af(0xf7)]['realDeleteValue'](_0x46732b,_0x8bceef),(_0x17336b=_0x6dc3b1==null?void 0x0:_0x6dc3b1['get'](_0x27f8f1))!=null&&_0x17336b[_0x1802af(0xf7)][_0x1802af(0xab)]()||_0x6dc3b1==null||_0x6dc3b1[_0x1802af(0xaf)](_0x27f8f1),_0x4dce70==null||_0x4dce70[_0x1802af(0x7d)]['realDeleteValue'](_0x46732b,_0x8bceef),this['_updateConfig$']['next']({'unitId':_0xb095d5,'subUnitId':_0xc6ac5c,'groupId':_0x27f8f1,'type':_0x1802af(0xc9)});}}['clearSparklineCache'](_0x2c612f,_0x31dffe,_0xbe752c){const _0x507753=_0x4925c1;var _0x2bc82e,_0x4ff754,_0x534fef,_0x365f69;const _0x39760a=(_0x534fef=(_0x4ff754=(_0x2bc82e=this[_0x507753(0xb8)][_0x507753(0x77)](_0x2c612f))==null?void 0x0:_0x2bc82e[_0x507753(0x77)](_0x31dffe))==null?void 0x0:_0x4ff754[_0x507753(0x77)](_0xbe752c))==null?void 0x0:_0x534fef[_0x507753(0xf7)],_0xc07c11=(_0x365f69=this[_0x507753(0x99)][_0x507753(0x77)](_0x2c612f))==null?void 0x0:_0x365f69[_0x507753(0x77)](_0x31dffe);if(_0x39760a&&_0xc07c11){const {matrix:_0x5ca37c,extra:_0x274a85}=_0xc07c11;_0x39760a['forValue']((_0x3405ba,_0x15af53,_0x1bb34a)=>{const _0x20a51e=_0x507753;_0x5ca37c[_0x20a51e(0xba)](_0x3405ba,_0x15af53);}),delete _0x274a85[_0xbe752c];}}[_0x4925c1(0x10f)](_0x26dc99,_0xa1dc4c){const _0x1dea1d=_0x4925c1;var _0x1665de;return(_0x1665de=this[_0x1dea1d(0xb8)][_0x1dea1d(0x77)](_0x26dc99))==null?void 0x0:_0x1665de['get'](_0xa1dc4c);}[_0x4925c1(0xc1)](_0x2e112f,_0x2547ca,_0x4908f9){const _0xc5641e=_0x4925c1;var _0x2b9418,_0x159b67;return(_0x159b67=(_0x2b9418=this[_0xc5641e(0xb8)][_0xc5641e(0x77)](_0x2e112f))==null?void 0x0:_0x2b9418[_0xc5641e(0x77)](_0x2547ca))==null?void 0x0:_0x159b67['get'](_0x4908f9);}[_0x4925c1(0x118)](_0x1ec705,_0x5f25f7,_0x2a9e19,_0x542021){const _0xc3a391=_0x4925c1;var _0x23d050,_0x4e00e3,_0x35c880;return(_0x35c880=(_0x4e00e3=(_0x23d050=this[_0xc3a391(0x99)][_0xc3a391(0x77)](_0x1ec705))==null?void 0x0:_0x23d050['get'](_0x5f25f7))==null?void 0x0:_0x4e00e3[_0xc3a391(0x7d)][_0xc3a391(0xff)](_0x2a9e19,_0x542021))==null?void 0x0:_0x35c880['groupId'];}[_0x4925c1(0xde)](_0x4fa836,_0x1ae2e1){const _0x4c6091=_0x4925c1;var _0x1854c7;const _0x20779a=this['_ensureAnchorMatrix'](_0x4fa836,_0x1ae2e1);_0x20779a[_0x4c6091(0x7d)][_0x4c6091(0xb9)]((_0x5f3d29,_0x746f9f)=>{const _0x4258d7=_0x4c6091;_0x20779a[_0x4258d7(0x7d)][_0x4258d7(0xba)](_0x5f3d29,_0x746f9f);});const _0x24f951=(_0x1854c7=this[_0x4c6091(0xb8)]['get'](_0x4fa836))==null?void 0x0:_0x1854c7[_0x4c6091(0x77)](_0x1ae2e1);if(_0x24f951){for(const [_0x40bbc5]of _0x24f951)this[_0x4c6091(0xe0)](_0x4fa836,_0x1ae2e1,_0x40bbc5);}}[_0x4925c1(0xbe)](){const _0x1f8408=_0x4925c1;return{'sparklineModel':this['_sparklineModel'],'sparklineAnchorMap':this[_0x1f8408(0x99)]};}[_0x4925c1(0xcb)](_0x2dc8fe){const _0x3ea3e2=_0x4925c1,_0x54e88c={};if(this[_0x3ea3e2(0xb8)][_0x3ea3e2(0x111)](_0x2dc8fe)){_0x54e88c[_0x2dc8fe]={};const _0x2b1632=this['_sparklineModel'][_0x3ea3e2(0x77)](_0x2dc8fe);_0x2b1632!=null&&_0x2b1632[_0x3ea3e2(0x92)]&&Array[_0x3ea3e2(0xa9)](_0x2b1632['keys']())[_0x3ea3e2(0xbd)](_0x2927c9=>{const _0x332f7a=_0x3ea3e2;_0x54e88c[_0x2dc8fe][_0x2927c9]={};const _0x22f06b=_0x2b1632[_0x332f7a(0x77)](_0x2927c9);_0x22f06b!=null&&_0x22f06b[_0x332f7a(0x92)]&&Array[_0x332f7a(0xa9)](_0x22f06b[_0x332f7a(0xca)]())['forEach'](_0x38c3e4=>{const _0x38c155=_0x332f7a,_0x13636d=_0x22f06b[_0x38c155(0x77)](_0x38c3e4);_0x13636d&&(_0x54e88c[_0x2dc8fe][_0x2927c9][_0x38c3e4]={'config':_0x13636d[_0x38c155(0x110)],'sparklines':_0x13636d[_0x38c155(0xf7)][_0x38c155(0xce)]()});});});}return _0x54e88c;}[_0x4925c1(0xbc)](_0x43a69a){const _0x53658f=_0x4925c1;if(!_0x43a69a)return;Object[_0x53658f(0xca)](_0x43a69a)[_0x53658f(0xbd)](_0x2855ae=>{const _0x15b768=_0x53658f,_0x4ee709=_0x43a69a[_0x2855ae];_0x4ee709&&Object[_0x15b768(0xca)](_0x4ee709)[_0x15b768(0xbd)](_0x3d75da=>{const _0x2be430=_0x15b768,_0x45e2e3=_0x4ee709[_0x3d75da];_0x45e2e3&&Object[_0x2be430(0xca)](_0x45e2e3)['forEach'](_0x5ad0f1=>{const _0x349ad3=_0x2be430,_0xfabb30=_0x45e2e3[_0x5ad0f1];if(_0xfabb30){const _0x20e05a={'config':_0xfabb30[_0x349ad3(0x110)],'sparklines':new _0x566221(_0xfabb30[_0x349ad3(0xf7)])};this['addSparkline'](_0x2855ae,_0x3d75da,_0x5ad0f1,_0x20e05a);}});});});}[_0x4925c1(0x105)](_0x488556){const _0x3ab83d=_0x4925c1,_0x3314b1=this['_sparklineModel'][_0x3ab83d(0x77)](_0x488556);if(_0x3314b1){for(const [_0x4e514a]of _0x3314b1){const _0x1c8f3b=_0x3314b1[_0x3ab83d(0x77)](_0x4e514a);if(_0x1c8f3b){for(const [_0x532183]of _0x1c8f3b)this['clearSparklineCache'](_0x488556,_0x4e514a,_0x532183);}}this[_0x3ab83d(0xb8)][_0x3ab83d(0xaf)](_0x488556);}}};x=Vt([yt(0x0,_0x5858d2(_0x49ace0))],x);const V={'id':'sheet.mutation.add-sparkline','type':_0x32f3e0[_0x4925c1(0x78)],'handler':(_0x43d916,_0x4893e8)=>{const _0x10ce1d=_0x4925c1;if(!_0x4893e8)return!0x1;const {sparklineConfigMap:_0x2aa54a,unitId:_0x40597b,subUnitId:_0x501132}=_0x4893e8,_0xaf7e6c=_0x43d916[_0x10ce1d(0x77)](x);return Object[_0x10ce1d(0x117)](_0x2aa54a)[_0x10ce1d(0xbd)](([_0x484b6d,_0xe14aaf])=>{const _0xad2e28=_0x10ce1d,_0x485221={'config':_0xe14aaf['config'],'sparklines':new _0x566221(_0xe14aaf[_0xad2e28(0xf7)])};_0xaf7e6c[_0xad2e28(0x109)](_0x40597b,_0x501132,_0x484b6d,_0x485221);}),!0x0;}},y={'id':_0x4925c1(0x73),'type':_0x32f3e0[_0x4925c1(0x78)],'handler':(_0x31f122,_0x257846)=>{const _0x22025f=_0x4925c1;if(!_0x257846)return!0x1;const {unitId:_0x5d8f4d,subUnitId:_0x5aa9b4,ranges:_0x25abd6,isSingle:_0x3c1218,groupIds:_0x2b909a}=_0x257846,_0x505d7e=_0x31f122[_0x22025f(0x77)](x);return _0x2b909a?(_0x2b909a[_0x22025f(0xbd)](_0x145d18=>{const _0x12c568=_0x22025f;_0x505d7e[_0x12c568(0x9a)](_0x5d8f4d,_0x5aa9b4,_0x145d18);}),!0x0):_0x25abd6?(_0x25abd6[_0x22025f(0xbd)](_0x1a48ff=>{_0x154c02['foreach'](_0x1a48ff,(_0x481e8e,_0x2173fe)=>{const _0xe12888=_0x4718,_0x565b4d=_0x505d7e['getSparkline'](_0x5d8f4d,_0x5aa9b4,_0x481e8e,_0x2173fe);_0x565b4d&&(_0x3c1218?_0x505d7e[_0xe12888(0x112)](_0x5d8f4d,_0x5aa9b4,_0x481e8e,_0x2173fe):_0x505d7e[_0xe12888(0x9a)](_0x5d8f4d,_0x5aa9b4,_0x565b4d));});}),!0x0):!0x1;}},Nt={'id':_0x4925c1(0xdc),'type':_0x32f3e0[_0x4925c1(0x88)],'handler':(_0x1aa0df,_0x399e58)=>{const _0x5d62be=_0x4925c1;if(!_0x399e58)return!0x1;const {sourceRanges:_0x2cb728,targetRanges:_0x287227,config:_0x315961}=_0x399e58,_0x5a94c1=_0x1aa0df[_0x5d62be(0x77)](_0x271ae1),_0x7ebf10='g_'+_0x503d00(0x6),_0x3dcc9b=Fe(_0x2cb728,_0x287227),_0x16d82b={'config':_0x315961!=null?_0x315961:{},'sparklines':_0x3dcc9b['getMatrix']()},_0x379ae0=_0x1aa0df[_0x5d62be(0x77)](_0x49ace0),_0x4621ba=_0x1aa0df[_0x5d62be(0x77)](x),_0x4f4101=_0x1476b5(_0x379ae0);if(!_0x4f4101)return!0x1;const {unitId:_0x532dc6,subUnitId:_0x5a93e6}=_0x4f4101,_0x303a2d=_0x1aa0df[_0x5d62be(0x77)](_0x246433),_0x38d91c=[],_0x24e19b=[],_0x446c5f={},_0x42636f={},_0x57a68a=new Set([_0x7ebf10]);_0x3dcc9b['forValue']((_0x2255f0,_0x78a7d2,_0x487ce2)=>{const _0x5ddbd9=_0x5d62be,_0x2bb1c9=_0x4621ba[_0x5ddbd9(0x118)](_0x532dc6,_0x5a93e6,_0x2255f0,_0x78a7d2);if(_0x2bb1c9){const _0x3a4103=_0x4621ba[_0x5ddbd9(0xc1)](_0x532dc6,_0x5a93e6,_0x2bb1c9);if(_0x3a4103){_0x57a68a[_0x5ddbd9(0x100)](_0x2bb1c9);let _0x184b62=_0x446c5f[_0x2bb1c9],_0x3ad10d=_0x42636f[_0x2bb1c9];_0x3ad10d||(_0x3ad10d={'config':_0x34f535['deepClone'](_0x3a4103[_0x5ddbd9(0x110)]),'sparklines':new _0x566221(_0x3a4103[_0x5ddbd9(0xf7)][_0x5ddbd9(0x6c)]())},_0x42636f[_0x2bb1c9]=_0x3ad10d),_0x184b62||(_0x184b62={'config':_0x34f535[_0x5ddbd9(0xfc)](_0x3a4103['config']),'sparklines':_0x3a4103['sparklines'][_0x5ddbd9(0x6c)]()},_0x446c5f[_0x2bb1c9]=_0x184b62),_0x3ad10d[_0x5ddbd9(0xf7)][_0x5ddbd9(0xba)](_0x2255f0,_0x78a7d2);}}});const _0xfad746={};return Object[_0x5d62be(0x117)](_0x42636f)[_0x5d62be(0xbd)](([_0x392eb3,_0x1efb45])=>{const _0x43d847=_0x5d62be;_0x1efb45[_0x43d847(0xf7)][_0x43d847(0x10d)]()&&(_0xfad746[_0x392eb3]={'config':_0x1efb45['config'],'sparklines':_0x1efb45[_0x43d847(0xf7)][_0x43d847(0x6c)]()});}),_0xfad746[_0x7ebf10]=_0x16d82b,_0x38d91c[_0x5d62be(0xee)]({'id':y['id'],'params':{'unitId':_0x532dc6,'subUnitId':_0x5a93e6,'groupIds':Array[_0x5d62be(0xa9)](_0x57a68a),'isSingle':!0x1}}),_0x57a68a[_0x5d62be(0x92)]>0x1&&(_0x24e19b['push']({'id':y['id'],'params':{'unitId':_0x532dc6,'subUnitId':_0x5a93e6,'groupIds':Array[_0x5d62be(0xa9)](_0x57a68a),'isSingle':!0x1}}),_0x38d91c[_0x5d62be(0xee)]({'id':V['id'],'params':{'unitId':_0x532dc6,'subUnitId':_0x5a93e6,'sparklineConfigMap':_0x446c5f}})),_0x24e19b[_0x5d62be(0xee)]({'id':V['id'],'params':{'unitId':_0x532dc6,'subUnitId':_0x5a93e6,'sparklineConfigMap':_0xfad746}}),_0x19f097(_0x24e19b,_0x303a2d),_0x5a94c1['pushUndoRedo']({'unitID':_0x532dc6,'undoMutations':_0x38d91c,'redoMutations':_0x24e19b}),!0x0;}},Ot={'id':_0x4925c1(0x10b),'type':_0x32f3e0[_0x4925c1(0x88)],'handler':(_0x3d8818,_0x46fc60)=>{const _0x5f0fac=_0x4925c1;var _0x51ccef;const {isSingle:_0x4e5782=!0x0}=_0x46fc60||{},_0x4265ac=_0x3d8818[_0x5f0fac(0x77)](_0x246433),_0x51af21=_0x3d8818[_0x5f0fac(0x77)](_0x49ace0),_0x4fbe29=_0x3d8818[_0x5f0fac(0x77)](x),_0x51d5c4=_0x3d8818[_0x5f0fac(0x77)](_0x271ae1),_0x36e7ab=_0x1476b5(_0x51af21);if(!_0x36e7ab)return!0x1;const _0x3e781a=_0x3d8818[_0x5f0fac(0x77)](_0x4a2951),_0x172508=(_0x51ccef=_0x46fc60==null?void 0x0:_0x46fc60[_0x5f0fac(0x106)])!=null?_0x51ccef:_0x3e781a[_0x5f0fac(0x84)]()[_0x5f0fac(0x6e)](_0x35832d=>_0x35832d[_0x5f0fac(0x79)]),{unitId:_0x52aab3,subUnitId:_0x1321e4}=_0x36e7ab,_0x800421=[],_0x58bec0=[];_0x800421['push']({'id':y['id'],'params':{'unitId':_0x52aab3,'subUnitId':_0x1321e4,'ranges':_0x172508,'isSingle':_0x4e5782}});const _0x5b2c55=[],_0x120993={};return _0x172508[_0x5f0fac(0xbd)](_0x3a84d4=>{_0x154c02['foreach'](_0x3a84d4,(_0x1e7512,_0x20e909)=>{const _0x5460d0=_0x4718,_0x2bdad5=_0x4fbe29[_0x5460d0(0x118)](_0x52aab3,_0x1321e4,_0x1e7512,_0x20e909);if(_0x2bdad5){const _0x80d99e=_0x4fbe29[_0x5460d0(0xc1)](_0x52aab3,_0x1321e4,_0x2bdad5);_0x80d99e&&(_0x5b2c55[_0x5460d0(0xee)](_0x2bdad5),_0x120993[_0x2bdad5]={'config':_0x34f535[_0x5460d0(0xfc)](_0x80d99e[_0x5460d0(0x110)]),'sparklines':_0x34f535['deepClone'](_0x80d99e['sparklines'][_0x5460d0(0x6c)]())});}});}),_0x58bec0[_0x5f0fac(0xee)]({'id':y['id'],'params':{'unitId':_0x52aab3,'subUnitId':_0x1321e4,'groupIds':_0x5b2c55,'isSingle':!0x1}}),_0x58bec0['push']({'id':V['id'],'params':{'unitId':_0x52aab3,'subUnitId':_0x1321e4,'sparklineConfigMap':_0x120993}}),_0x19f097(_0x800421,_0x4265ac),_0x51d5c4[_0x5f0fac(0xf9)]({'unitID':_0x52aab3,'undoMutations':_0x58bec0,'redoMutations':_0x800421}),!0x0;}},Oe={'id':_0x4925c1(0x65),'type':_0x32f3e0[_0x4925c1(0x78)],'handler':(_0x336f15,_0x19cbdf)=>{const _0x4a92e8=_0x4925c1;if(!_0x19cbdf)return!0x1;const {unitId:_0x4febfc,subUnitId:_0x1d8c03,groupIds:_0x4c63da,config:_0x2df48d}=_0x19cbdf,_0x58dd91=_0x336f15['get'](x);return _0x4c63da[_0x4a92e8(0xbd)](_0x53de90=>{const _0x5d193b=_0x4a92e8,_0x42061a=_0x58dd91[_0x5d193b(0xc1)](_0x4febfc,_0x1d8c03,_0x53de90);if(_0x42061a){const _0x224d98={'config':Object['assign']({},_0x42061a[_0x5d193b(0x110)],_0x2df48d[_0x5d193b(0x110)]),'sparklines':new _0x566221(_0x42061a[_0x5d193b(0xf7)][_0x5d193b(0x6c)]())};_0x58dd91[_0x5d193b(0xa2)](_0x4febfc,_0x1d8c03,[_0x53de90],_0x224d98);}}),!0x0;}},xt={'id':'sheet.command.set-sparkline','type':_0x32f3e0[_0x4925c1(0x88)],'handler':(_0x2fc8e1,_0x1ffc48)=>{const _0x380623=_0x4925c1;var _0xb5df78,_0x4bbd92,_0x36fed6,_0x441c18;if(!_0x1ffc48)return!0x1;const _0x478846=_0x2fc8e1[_0x380623(0x77)](_0x246433),_0x400af2=_0x2fc8e1[_0x380623(0x77)](_0x4a2951),_0x46ccb6=_0x2fc8e1[_0x380623(0x77)](x),_0x4d5623=_0x2fc8e1['get'](_0x49ace0),_0x553687=_0x2fc8e1[_0x380623(0x77)](_0x271ae1),_0x4063cc=_0x1476b5(_0x4d5623);if(!_0x4063cc)return!0x1;const {unitId:_0x3a2b7e,subUnitId:_0x40cd18}=_0x4063cc,_0x1b347a=(_0xb5df78=_0x1ffc48==null?void 0x0:_0x1ffc48[_0x380623(0x106)])!=null?_0xb5df78:_0x400af2[_0x380623(0x84)]()[_0x380623(0x6e)](_0x41151c=>_0x41151c[_0x380623(0x79)]),_0x51112d=(_0x4bbd92=_0x46ccb6[_0x380623(0xbe)]()[_0x380623(0x67)][_0x380623(0x77)](_0x3a2b7e))==null?void 0x0:_0x4bbd92['get'](_0x40cd18),{isChangeDataSource:_0x471279,config:_0x2aa5d3,combine:_0x3f3ae3,unCombine:_0x15e5a0}=_0x1ffc48;if(_0x3f3ae3){const _0x1b5a73=[],_0x33dbf8=[];_0x1b5a73[_0x380623(0xee)]({'id':y['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'ranges':_0x1b347a,'isSingle':!0x0}});const _0x39c80d='g_'+_0x503d00(0x6),_0x43bb1a=new _0x566221(),_0xb81993=(_0x36fed6=_0x46ccb6[_0x380623(0xbe)]()[_0x380623(0xa0)][_0x380623(0x77)](_0x3a2b7e))==null?void 0x0:_0x36fed6[_0x380623(0x77)](_0x40cd18),_0x3dbdbf=new Set([_0x39c80d]),_0x560fb7={};return _0x1b347a[_0x380623(0xbd)](_0x4e07f6=>{const _0x34b60d=_0x380623;var _0x3b638a,_0x3aed64;const {startRow:_0x3cdd48,endRow:_0x43fb3f,startColumn:_0x239c95,endColumn:_0x6b8a86}=_0x4e07f6;for(let _0x3f8fb0=_0x3cdd48;_0x3f8fb0<=_0x43fb3f;_0x3f8fb0++)for(let _0x434850=_0x239c95;_0x434850<=_0x6b8a86;_0x434850++){const _0x10e50a=(_0x3b638a=_0x51112d==null?void 0x0:_0x51112d[_0x34b60d(0x7d)][_0x34b60d(0xff)](_0x3f8fb0,_0x434850))==null?void 0x0:_0x3b638a[_0x34b60d(0x81)];if(_0x10e50a){_0x3dbdbf[_0x34b60d(0x100)](_0x10e50a);const _0x3bd1de=_0x46ccb6[_0x34b60d(0xc1)](_0x3a2b7e,_0x40cd18,_0x10e50a);_0x3bd1de&&(_0x560fb7[_0x10e50a]={'config':_0x34f535[_0x34b60d(0xfc)](_0x3bd1de[_0x34b60d(0x110)]),'sparklines':_0x34f535[_0x34b60d(0xfc)](_0x3bd1de['sparklines'][_0x34b60d(0x6c)]())});const _0x5783c9=(_0x3aed64=_0xb81993==null?void 0x0:_0xb81993[_0x34b60d(0x77)](_0x10e50a))==null?void 0x0:_0x3aed64[_0x34b60d(0xf7)]['getValue'](_0x3f8fb0,_0x434850);_0x5783c9&&_0x43bb1a['setValue'](_0x3f8fb0,_0x434850,_0x5783c9);}}}),_0x1b5a73['push']({'id':V['id'],'params':{'sparklineConfigMap':{[_0x39c80d]:{'config':_0x34f535[_0x380623(0xfc)](_0x2aa5d3['config']),'sparklines':_0x43bb1a[_0x380623(0xce)]()}},'unitId':_0x3a2b7e,'subUnitId':_0x40cd18}}),_0x33dbf8[_0x380623(0xee)]({'id':y['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'isSingle':!0x1,'groupIds':Array['from'](_0x3dbdbf)}}),_0x33dbf8[_0x380623(0xee)]({'id':V['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'sparklineConfigMap':_0x560fb7}}),_0x19f097(_0x1b5a73,_0x478846),_0x553687[_0x380623(0xf9)]({'unitID':_0x3a2b7e,'undoMutations':_0x33dbf8,'redoMutations':_0x1b5a73}),!0x0;}else{if(_0x15e5a0){const _0x40aee5=[],_0xd74b31=[];_0x40aee5['push']({'id':y['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'ranges':_0x1b347a,'isSingle':!0x0}});const _0x4bea10=(_0x441c18=_0x46ccb6[_0x380623(0xbe)]()['sparklineModel'][_0x380623(0x77)](_0x3a2b7e))==null?void 0x0:_0x441c18[_0x380623(0x77)](_0x40cd18),_0x2471b4={},_0x1d2405=new Set(),_0x2b36fe={};return _0x1b347a[_0x380623(0xbd)](_0x3cfbad=>{const _0x49b69c=_0x380623;var _0x4235ad,_0x203467;const {startRow:_0x51fd76,endRow:_0x1931d5,startColumn:_0x5e70b9,endColumn:_0x1c4578}=_0x3cfbad;for(let _0x4bbddc=_0x51fd76;_0x4bbddc<=_0x1931d5;_0x4bbddc++)for(let _0x5a6534=_0x5e70b9;_0x5a6534<=_0x1c4578;_0x5a6534++){const _0xeac5bf=(_0x4235ad=_0x51112d==null?void 0x0:_0x51112d[_0x49b69c(0x7d)][_0x49b69c(0xff)](_0x4bbddc,_0x5a6534))==null?void 0x0:_0x4235ad[_0x49b69c(0x81)];if(_0xeac5bf){const _0x3a9eab=new _0x566221(),_0x5edab7='g_'+_0x503d00(0x6);_0x1d2405[_0x49b69c(0x100)](_0xeac5bf),_0x1d2405[_0x49b69c(0x100)](_0x5edab7);const _0x4b3e69=_0x46ccb6[_0x49b69c(0xc1)](_0x3a2b7e,_0x40cd18,_0xeac5bf);_0x4b3e69&&(_0x2b36fe[_0xeac5bf]={'config':_0x34f535[_0x49b69c(0xfc)](_0x4b3e69[_0x49b69c(0x110)]),'sparklines':_0x34f535['deepClone'](_0x4b3e69['sparklines'][_0x49b69c(0x6c)]())});const _0x4cbd53=(_0x203467=_0x4bea10==null?void 0x0:_0x4bea10[_0x49b69c(0x77)](_0xeac5bf))==null?void 0x0:_0x203467[_0x49b69c(0xf7)][_0x49b69c(0xff)](_0x4bbddc,_0x5a6534);_0x4cbd53&&_0x3a9eab[_0x49b69c(0x89)](_0x4bbddc,_0x5a6534,_0x4cbd53),_0x2471b4[_0x5edab7]={'sparklines':_0x3a9eab[_0x49b69c(0xce)](),'config':_0x34f535['deepClone'](_0x2aa5d3[_0x49b69c(0x110)])};}}}),_0x40aee5[_0x380623(0xee)]({'id':V['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'sparklineConfigMap':_0x2471b4}}),_0xd74b31['push']({'id':y['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'isSingle':!0x1,'groupIds':Array[_0x380623(0xa9)](_0x1d2405)}}),_0xd74b31['push']({'id':V['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'sparklineConfigMap':_0x2b36fe}}),_0x19f097(_0x40aee5,_0x478846),_0x553687[_0x380623(0xf9)]({'unitID':_0x3a2b7e,'undoMutations':_0xd74b31,'redoMutations':_0x40aee5}),!0x0;}}if(_0x471279){const _0x39e60e=_0x1ffc48['changeDataSourceInfo'];if(!_0x39e60e)return!0x1;const {groupId:_0x5e7b0e,sourceRanges:_0x186887,targetRanges:_0x404cda,resetType:_0x312061,primary:_0xa3a651}=_0x39e60e,_0x484640=[],_0x157c7c=[];_0x484640['push']({'id':y['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'ranges':_0x1b347a,'isSingle':!0x1,'groupIds':[_0x5e7b0e]}}),_0x157c7c['push']({'id':y['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'ranges':_0x1b347a,'isSingle':!0x1,'groupIds':[_0x5e7b0e]}});let _0x2628d9;_0x312061===_0x380623(0xd7)?(_0x2628d9=new _0x566221(_0x2aa5d3[_0x380623(0xf7)]['clone']()),_0x2628d9[_0x380623(0xba)](_0xa3a651[_0x380623(0x7f)],_0xa3a651['actualColumn']),_0x2628d9[_0x380623(0x89)](_0x404cda[0x0][_0x380623(0xb6)],_0x404cda[0x0][_0x380623(0x87)],_0x186887[0x0])):_0x2628d9=Fe(_0x186887,_0x404cda);const _0x4da051={'config':_0x34f535[_0x380623(0xfc)](_0x2aa5d3[_0x380623(0x110)]),'sparklines':_0x2628d9['getMatrix']()},_0x18b718={'config':_0x34f535[_0x380623(0xfc)](_0x2aa5d3[_0x380623(0x110)]),'sparklines':_0x34f535[_0x380623(0xfc)](_0x2aa5d3[_0x380623(0xf7)][_0x380623(0x6c)]())};_0x484640['push']({'id':V['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'sparklineConfigMap':{[_0x5e7b0e]:_0x4da051}}}),_0x157c7c[_0x380623(0xee)]({'id':V['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'sparklineConfigMap':{[_0x5e7b0e]:_0x18b718}}}),_0x19f097(_0x484640,_0x478846),_0x553687[_0x380623(0xf9)]({'unitID':_0x3a2b7e,'undoMutations':_0x157c7c,'redoMutations':_0x484640});}else{const _0xfb8068=[],_0x3b2a76=[],_0x4156fd=new Set(),_0x4ec596={};_0x1b347a[_0x380623(0xbd)](_0x3c132c=>{const _0x16b019=_0x380623;var _0x202223;const {startRow:_0x5770e2,endRow:_0x6fd5a1,startColumn:_0x39589e,endColumn:_0x34b374}=_0x3c132c;for(let _0x5f27ae=_0x5770e2;_0x5f27ae<=_0x6fd5a1;_0x5f27ae++)for(let _0x5903b1=_0x39589e;_0x5903b1<=_0x34b374;_0x5903b1++){const _0x5ab4a2=(_0x202223=_0x51112d==null?void 0x0:_0x51112d['matrix'][_0x16b019(0xff)](_0x5f27ae,_0x5903b1))==null?void 0x0:_0x202223['groupId'];if(_0x5ab4a2){_0x4156fd[_0x16b019(0x100)](_0x5ab4a2);const _0x326597=_0x46ccb6[_0x16b019(0xc1)](_0x3a2b7e,_0x40cd18,_0x5ab4a2);_0x326597&&(_0x4ec596[_0x5ab4a2]={'config':_0x34f535['deepClone'](_0x326597['config']),'sparklines':_0x34f535[_0x16b019(0xfc)](_0x326597[_0x16b019(0xf7)][_0x16b019(0x6c)]())});}}}),_0x3b2a76[_0x380623(0xee)]({'id':Oe['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'groupIds':Array['from'](_0x4156fd),'config':{'config':_0x34f535[_0x380623(0xfc)](_0x2aa5d3['config']),'sparklines':_0x2aa5d3[_0x380623(0xf7)]['getMatrix']()}}}),_0xfb8068[_0x380623(0xee)]({'id':y['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'isSingle':!0x1,'groupIds':Array[_0x380623(0xa9)](_0x4156fd)}}),_0xfb8068['push']({'id':V['id'],'params':{'unitId':_0x3a2b7e,'subUnitId':_0x40cd18,'sparklineConfigMap':_0x4ec596}}),_0x19f097(_0x3b2a76,_0x478846),_0x553687[_0x380623(0xf9)]({'unitID':_0x3a2b7e,'undoMutations':_0xfb8068,'redoMutations':_0x3b2a76});}return!0x0;}};var Ut=Object['getOwnPropertyDescriptor'],Pt=(_0x3034e7,_0x3e74ff,_0x28d6b6,_0x109d81)=>{const _0x581d6c=_0x4925c1;for(var _0x3b2405=_0x109d81>0x1?void 0x0:_0x109d81?Ut(_0x3e74ff,_0x28d6b6):_0x3e74ff,_0x59230e=_0x3034e7[_0x581d6c(0x9e)]-0x1,_0x4acf29;_0x59230e>=0x0;_0x59230e--)(_0x4acf29=_0x3034e7[_0x59230e])&&(_0x3b2405=_0x4acf29(_0x3b2405)||_0x3b2405);return _0x3b2405;},fe=(_0xbfb2d3,_0x2c478d)=>(_0x420086,_0x5c20e2)=>_0x2c478d(_0x420086,_0x5c20e2,_0xbfb2d3);let Se=class extends _0x4f0dd5{constructor(_0xbae9e7,_0x21b093,_0x185b52,_0x218feb){const _0x18fd87=_0x4925c1;super(),this[_0x18fd87(0x70)]=_0xbae9e7,this[_0x18fd87(0x7b)]=_0x21b093,this[_0x18fd87(0x115)]=_0x185b52,this[_0x18fd87(0xeb)]=_0x218feb,this[_0x18fd87(0x7c)]();}['_initClearWithSparkline'](){const _0x4bea84=_0x4925c1;this[_0x4bea84(0xb3)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x5cdf8b=>{const _0x312904=_0x4bea84,_0x5d0855=[],_0x4d9c99=[];if(_0x5cdf8b['id']===_0x380e98['id']){const _0x34407d=_0x1476b5(this[_0x312904(0x115)]);if(!_0x34407d)return{'redos':_0x5d0855,'undos':_0x4d9c99};const {unitId:_0x157a10,subUnitId:_0x408077,worksheet:_0x4af699}=_0x34407d,_0x458fbd=this[_0x312904(0xeb)][_0x312904(0x84)]()[_0x312904(0x6e)](_0x8db41c=>_0x8db41c[_0x312904(0x79)]),_0xd4f123=new Set(),_0x331726={},_0x3fe87b={};_0x458fbd['forEach'](_0x4f4696=>{const _0x17a232=_0x312904;_0x154c02[_0x17a232(0xa8)](_0x4f4696,(_0x42fa2f,_0xd7bec0)=>{const _0x2fe635=_0x17a232,_0x217c27=this['_sparklineDataSourceModel'][_0x2fe635(0x118)](_0x157a10,_0x408077,_0x42fa2f,_0xd7bec0);if(_0x217c27&&!_0xd4f123[_0x2fe635(0x111)](_0x217c27)){const _0x214861=this[_0x2fe635(0x70)][_0x2fe635(0xc1)](_0x157a10,_0x408077,_0x217c27);_0x214861&&(_0xd4f123[_0x2fe635(0x100)](_0x217c27),_0x331726[_0x217c27]={'config':_0x34f535['deepClone'](_0x214861['config']),'sparklines':_0x34f535[_0x2fe635(0xfc)](_0x214861['sparklines'][_0x2fe635(0x6c)]())},_0x3fe87b[_0x217c27]={'config':_0x34f535[_0x2fe635(0xfc)](_0x214861[_0x2fe635(0x110)]),'sparklines':_0x34f535[_0x2fe635(0xfc)](_0x214861['sparklines'][_0x2fe635(0x6c)]())});}});}),Object['values'](_0x3fe87b)[_0x312904(0xbd)](_0x1871b8=>{const _0x512861=_0x312904,_0x82b90f=_0x1871b8[_0x512861(0xf7)];new _0x566221(_0x82b90f)[_0x512861(0xb9)]((_0x49c8b5,_0x20260d,_0x55039e)=>{const _0x3f4697=_0x512861;_0x458fbd['some'](_0x268734=>_0x489cca[_0x3f4697(0x8a)](_0x268734,_0x501aed(_0x49c8b5,_0x20260d)))&&delete _0x82b90f[_0x49c8b5][_0x20260d];});}),_0x5d0855[_0x312904(0xee)]({'id':y['id'],'params':{'unitId':_0x157a10,'subUnitId':_0x408077,'groupIds':Array[_0x312904(0xa9)](_0xd4f123),'isSingle':!0x1}}),_0x5d0855[_0x312904(0xee)]({'id':V['id'],'params':{'unitId':_0x157a10,'subUnitId':_0x408077,'sparklineConfigMap':_0x3fe87b}}),_0x4d9c99['push']({'id':y['id'],'params':{'unitId':_0x157a10,'subUnitId':_0x408077,'groupIds':Array[_0x312904(0xa9)](_0xd4f123),'isSingle':!0x1}}),_0x4d9c99['push']({'id':V['id'],'params':{'unitId':_0x157a10,'subUnitId':_0x408077,'sparklineConfigMap':_0x331726}});}return{'redos':_0x5d0855,'undos':_0x4d9c99};}}));}};Se=Pt([fe(0x0,_0x5858d2(x)),fe(0x1,_0x5858d2(_0x4c2cc9)),fe(0x2,_0x5858d2(_0x49ace0)),fe(0x3,_0x5858d2(_0x4a2951))],Se);function _0x4718(_0x2935d2,_0x881cab){const _0xe87391=_0xe873();return _0x4718=function(_0x4718ae,_0x3c8ad2){_0x4718ae=_0x4718ae-0x65;let _0xc2cb2f=_0xe87391[_0x4718ae];return _0xc2cb2f;},_0x4718(_0x2935d2,_0x881cab);}var Tt=Object[_0x4925c1(0xec)],$t=(_0x2058e1,_0x38d2d5,_0x409cfa,_0x3ecab8)=>{const _0x1033fb=_0x4925c1;for(var _0xc3f114=_0x3ecab8>0x1?void 0x0:_0x3ecab8?Tt(_0x38d2d5,_0x409cfa):_0x38d2d5,_0x1968fa=_0x2058e1[_0x1033fb(0x9e)]-0x1,_0x114a4d;_0x1968fa>=0x0;_0x1968fa--)(_0x114a4d=_0x2058e1[_0x1968fa])&&(_0xc3f114=_0x114a4d(_0xc3f114)||_0xc3f114);return _0xc3f114;},Ge=(_0x9b8c64,_0x53f199)=>(_0x2a61ec,_0x408053)=>_0x53f199(_0x2a61ec,_0x408053,_0x9b8c64);let ke=class extends _0x4f0dd5{constructor(_0x4f4b8f,_0x1f58c3){const _0x5207ad=_0x4925c1;super(),this[_0x5207ad(0x7b)]=_0x4f4b8f,this[_0x5207ad(0x70)]=_0x1f58c3,this[_0x5207ad(0xf4)]();}[_0x4925c1(0xf4)](){const _0x24a109=_0x4925c1;this['disposeWithMe'](this[_0x24a109(0x7b)][_0x24a109(0xe1)]({'getMutations':_0x32779e=>{const _0x2bf8e4=_0x24a109,_0x3cb6c1=[],_0x377919=[];if(_0x32779e['id']===_0x352fe4['id']){const _0x47f3f6=_0x32779e[_0x2bf8e4(0xf0)];if(!_0x47f3f6)return{'redos':_0x3cb6c1,'undos':_0x377919};const {unitId:_0x58ce07,subUnitId:_0x3a4947,targetSubUnitId:_0x369467}=_0x47f3f6;if(!_0x58ce07||!_0x3a4947||!_0x369467)return{'redos':_0x3cb6c1,'undos':_0x377919};const _0x3d9bc9=new Set(),_0x427607={},_0x5a20fe=this[_0x2bf8e4(0x70)][_0x2bf8e4(0x10f)](_0x58ce07,_0x3a4947);if(!_0x5a20fe)return{'redos':_0x3cb6c1,'undos':_0x377919};for(const [_0x22cf50,_0x2de5d7]of _0x5a20fe){const _0x3a1e01='g_'+_0x503d00(0x6);_0x3d9bc9[_0x2bf8e4(0x100)](_0x22cf50),_0x427607[_0x3a1e01]={'config':_0x34f535[_0x2bf8e4(0xfc)](_0x2de5d7[_0x2bf8e4(0x110)]),'sparklines':_0x34f535[_0x2bf8e4(0xfc)](_0x2de5d7[_0x2bf8e4(0xf7)][_0x2bf8e4(0x6c)]())};}_0x3d9bc9[_0x2bf8e4(0x92)]&&(_0x377919['push']({'id':y['id'],'params':{'unitId':_0x58ce07,'subUnitId':_0x369467,'groupIds':Array[_0x2bf8e4(0xa9)](_0x3d9bc9),'isSingle':!0x1}}),_0x3cb6c1['push']({'id':V['id'],'params':{'unitId':_0x58ce07,'subUnitId':_0x369467,'sparklineConfigMap':_0x427607}}));}return{'redos':_0x3cb6c1,'undos':_0x377919};}}));}};ke=$t([Ge(0x0,_0x5858d2(_0x4c2cc9)),Ge(0x1,_0x5858d2(x))],ke);var jt=Object['getOwnPropertyDescriptor'],Lt=(_0x2552d0,_0x2e7ec1,_0xa881ca,_0x428024)=>{const _0x21e58d=_0x4925c1;for(var _0x2e8f75=_0x428024>0x1?void 0x0:_0x428024?jt(_0x2e7ec1,_0xa881ca):_0x2e7ec1,_0x9797c1=_0x2552d0[_0x21e58d(0x9e)]-0x1,_0xbd1a60;_0x9797c1>=0x0;_0x9797c1--)(_0xbd1a60=_0x2552d0[_0x9797c1])&&(_0x2e8f75=_0xbd1a60(_0x2e8f75)||_0x2e8f75);return _0x2e8f75;},Ie=(_0x8c7986,_0x265dfa)=>(_0x43feb0,_0x305b34)=>_0x265dfa(_0x43feb0,_0x305b34,_0x8c7986);let me=class extends _0x4f0dd5{constructor(_0xf71be7,_0x3d1b76,_0x177622){const _0x552650=_0x4925c1;super(),this[_0x552650(0xf8)]=_0xf71be7,this[_0x552650(0x70)]=_0x3d1b76,this['_exclusiveRangeService']=_0x177622,this[_0x552650(0xe2)](),this[_0x552650(0x93)]();}[_0x4925c1(0xe2)](){const _0x162c30=_0x4925c1;this['disposeWithMe'](this[_0x162c30(0xf8)]['onCommandExecuted'](_0x469df3=>{const _0x3840c1=_0x162c30;if(_0x469df3['id']===_0x45ea97['id']){const _0x1e61b1=_0x469df3['params'],{cellValue:_0x31b33d,unitId:_0x1b5867,subUnitId:_0x4d9f3a}=_0x1e61b1,_0x42409c=new _0x566221(_0x31b33d),_0xaaeaa1=new Set(),_0x5508ad=this[_0x3840c1(0x70)][_0x3840c1(0x10f)](_0x1b5867,_0x4d9f3a);if(!_0x5508ad)return;const _0xf797fb=Array[_0x3840c1(0xa9)](_0x5508ad);_0x42409c[_0x3840c1(0xb9)]((_0x3fad37,_0x270605,_0x27894b)=>{const _0x589450=_0x3840c1,_0x108ba6=_0x501aed(_0x3fad37,_0x270605);for(let _0x718ac6=0x0;_0x718ac6<_0xf797fb[_0x589450(0x9e)];_0x718ac6++){const [_0x1843b4,_0x133f03]=_0xf797fb[_0x718ac6],_0x473150=_0xaaeaa1[_0x589450(0x111)](_0x1843b4);_0x473150||_0x133f03[_0x589450(0xf7)][_0x589450(0xb9)]((_0x30f46d,_0x1d1777,_0x2df39e)=>{const _0x35eac6=_0x589450,_0x2cf6b0=_0x2df39e;if(_0x2cf6b0&&!_0x473150&&_0x489cca[_0x35eac6(0x8a)](_0x108ba6,_0x2cf6b0))return _0xaaeaa1[_0x35eac6(0x100)](_0x1843b4),!0x0;});}}),_0xaaeaa1['forEach'](_0x1be673=>{const _0x3f50da=_0x3840c1;this[_0x3f50da(0x70)][_0x3f50da(0x102)](_0x1b5867,_0x4d9f3a,_0x1be673),this[_0x3f50da(0x70)][_0x3f50da(0xe0)](_0x1b5867,_0x4d9f3a,_0x1be673);});}else{if(_0x469df3['id']===_0xece4f9['id']){const _0x11572c=_0x469df3['params'],{range:_0xadcb4f,unitId:_0x427248,subUnitId:_0x2aa212}=_0x11572c,_0x3c0b4a=new Set(),_0x28d61f=this[_0x3840c1(0x70)][_0x3840c1(0x10f)](_0x427248,_0x2aa212);if(!_0x28d61f)return;const _0x3e5a3a=Array[_0x3840c1(0xa9)](_0x28d61f);for(let _0x47e51a=0x0;_0x47e51a<_0x3e5a3a[_0x3840c1(0x9e)];_0x47e51a++){const [_0x40088a,_0x34ea06]=_0x3e5a3a[_0x47e51a],_0x411df0=_0x3c0b4a[_0x3840c1(0x111)](_0x40088a);_0x411df0||_0x34ea06[_0x3840c1(0xf7)][_0x3840c1(0xb9)]((_0x7d7e06,_0xec550f,_0x22f25e)=>{const _0x17946a=_0x3840c1,_0x5f06a4=_0x22f25e;if(_0x5f06a4&&!_0x411df0&&_0x489cca['intersects'](_0xadcb4f,_0x5f06a4))return _0x3c0b4a[_0x17946a(0x100)](_0x40088a),!0x0;});}_0x3c0b4a['forEach'](_0xd7ac0d=>{const _0xde8c5=_0x3840c1;this[_0xde8c5(0x70)][_0xde8c5(0x102)](_0x427248,_0x2aa212,_0xd7ac0d),this[_0xde8c5(0x70)][_0xde8c5(0xe0)](_0x427248,_0x2aa212,_0xd7ac0d);});}}}));}[_0x4925c1(0x93)](){const _0x40f791=_0x4925c1;this[_0x40f791(0xb3)](this[_0x40f791(0x9b)][_0x40f791(0xdb)][_0x40f791(0x11a)](_0x26f4cf=>{const _0x5b2bff=_0x40f791,{unitId:_0x526209,subUnitId:_0x287a31,ranges:_0x1093ec}=_0x26f4cf,_0x46b745=this[_0x5b2bff(0x70)][_0x5b2bff(0x10f)](_0x526209,_0x287a31);if(!_0x46b745)return;const _0x5b29f7=Array[_0x5b2bff(0xa9)](_0x46b745),_0x2d29f3=new Set();for(let _0x1e54e9=0x0;_0x1e54e9<_0x5b29f7['length'];_0x1e54e9++){const [_0x24aa15,_0x29b6b2]=_0x5b29f7[_0x1e54e9],_0x45b56e=_0x2d29f3['has'](_0x24aa15);_0x45b56e||_0x29b6b2[_0x5b2bff(0xf7)]['forValue']((_0x2aa7d5,_0x137fa1,_0x145e68)=>{const _0x255a36=_0x5b2bff,_0x19864a=_0x145e68;if(_0x19864a&&!_0x45b56e){for(const _0x30ae9f of _0x1093ec)if(_0x489cca[_0x255a36(0x8a)](_0x30ae9f,_0x19864a)){_0x2d29f3['add'](_0x24aa15);break;}}});}_0x2d29f3[_0x5b2bff(0xbd)](_0x529fa8=>{const _0x356df5=_0x5b2bff;this[_0x356df5(0x70)]['clearSparklineCache'](_0x526209,_0x287a31,_0x529fa8),this[_0x356df5(0x70)][_0x356df5(0xe0)](_0x526209,_0x287a31,_0x529fa8);});}));}};me=Lt([Ie(0x0,_0x5858d2(_0x246433)),Ie(0x1,_0x5858d2(x)),Ie(0x2,_0x5858d2(_0x2141f1))],me);var Gt=Object[_0x4925c1(0xec)],Wt=(_0xbe5576,_0x183fdf,_0x3c6f45,_0x419ca6)=>{for(var _0x17dd0e=_0x419ca6>0x1?void 0x0:_0x419ca6?Gt(_0x183fdf,_0x3c6f45):_0x183fdf,_0x22a6f6=_0xbe5576['length']-0x1,_0x2158b4;_0x22a6f6>=0x0;_0x22a6f6--)(_0x2158b4=_0xbe5576[_0x22a6f6])&&(_0x17dd0e=_0x2158b4(_0x17dd0e)||_0x17dd0e);return _0x17dd0e;},We=(_0x551617,_0x2f6366)=>(_0x50c53c,_0x2b4cfd)=>_0x2f6366(_0x50c53c,_0x2b4cfd,_0x551617);let Ce=class extends _0x4f0dd5{constructor(_0x6ba7db,_0x427cd9){const _0x140105=_0x4925c1;super(),this[_0x140105(0xf8)]=_0x6ba7db,this[_0x140105(0x70)]=_0x427cd9,this['_initHideRowColWithSparkline']();}[_0x4925c1(0xc6)](){this['_commandService']['onCommandExecuted'](_0x4ad5cb=>{const _0x4dc646=_0x4718;if(_0x4ad5cb['id']===_0x1ec080['id']||_0x4ad5cb['id']===_0xe30fcc['id']||_0x4ad5cb['id']===_0xfb5277['id']||_0x4ad5cb['id']===_0x4f8079['id']){const _0x41836f=_0x4ad5cb['params'],{ranges:_0x191c70,unitId:_0x333b74,subUnitId:_0x2a7fab}=_0x41836f,_0x5687dd=new Set(),_0x3b5272=this['_sparklineDataSourceModel']['getSubUnitSparkline'](_0x333b74,_0x2a7fab);if(!_0x3b5272)return;const _0x32700b=Array[_0x4dc646(0xa9)](_0x3b5272);_0x191c70[_0x4dc646(0xbd)](_0x3ceede=>{const _0x557411=_0x4dc646;_0x154c02[_0x557411(0xa8)](_0x3ceede,(_0x34115b,_0x5aa049)=>{const _0x3dbf77=_0x557411,_0x44229d=_0x501aed(_0x34115b,_0x5aa049);for(let _0x520f16=0x0;_0x520f16<_0x32700b['length'];_0x520f16++){const [_0x2a7125,_0x238858]=_0x32700b[_0x520f16],_0x117c47=_0x5687dd[_0x3dbf77(0x111)](_0x2a7125);_0x117c47||_0x238858[_0x3dbf77(0xf7)]['forValue']((_0x1674ed,_0x56e08d,_0x2c0854)=>{const _0x3ba14e=_0x3dbf77,_0x1ba76f=_0x2c0854;if(_0x1ba76f&&!_0x117c47&&_0x489cca['intersects'](_0x44229d,_0x1ba76f))return _0x5687dd[_0x3ba14e(0x100)](_0x2a7125),!0x0;});}});}),_0x5687dd['forEach'](_0x6e0621=>{const _0x39f5ef=_0x4dc646;this[_0x39f5ef(0x70)]['clearSparklineCache'](_0x333b74,_0x2a7fab,_0x6e0621),this[_0x39f5ef(0x70)]['updateSparklineExtraNum'](_0x333b74,_0x2a7fab,_0x6e0621);});}});}};Ce=Wt([We(0x0,_0x5858d2(_0x246433)),We(0x1,_0x5858d2(x))],Ce);var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x325a1b,_0x2ebba0,_0x50697a,_0x5200ca)=>{const _0x394b32=_0x4925c1;for(var _0x24c73c=_0x5200ca>0x1?void 0x0:_0x5200ca?Bt(_0x2ebba0,_0x50697a):_0x2ebba0,_0x2da61b=_0x325a1b[_0x394b32(0x9e)]-0x1,_0x471177;_0x2da61b>=0x0;_0x2da61b--)(_0x471177=_0x325a1b[_0x2da61b])&&(_0x24c73c=_0x471177(_0x24c73c)||_0x24c73c);return _0x24c73c;},be=(_0x42a01f,_0x2f1c42)=>(_0xd25096,_0x39bac4)=>_0x2f1c42(_0xd25096,_0x39bac4,_0x42a01f);let _e=class extends _0x4f0dd5{constructor(_0x3a151c,_0x1e60c8,_0x203487){const _0x3df824=_0x4925c1;super(),this[_0x3df824(0xf8)]=_0x3a151c,this[_0x3df824(0x7b)]=_0x1e60c8,this[_0x3df824(0x70)]=_0x203487,this['_initMergeWithSparkline']();}['_initMergeWithSparkline'](){const _0x5b9dff=_0x4925c1;this['disposeWithMe'](this[_0x5b9dff(0x7b)][_0x5b9dff(0xe1)]({'getMutations':_0xdaf1e=>{const _0x8bbf2e=_0x5b9dff,_0x379315=[],_0x1a6d2a=[];if(_0xdaf1e['id']===_0x545433['id']){const _0x4a2369=_0xdaf1e[_0x8bbf2e(0xf0)];if(!_0x4a2369)return{'redos':_0x379315,'undos':_0x1a6d2a};const {unitId:_0x4d1f43,subUnitId:_0x3219ff,ranges:_0x3edb45}=_0x4a2369,_0x3747d6=this[_0x8bbf2e(0x70)][_0x8bbf2e(0x10f)](_0x4d1f43,_0x3219ff);if(!_0x3747d6)return{'redos':_0x379315,'undos':_0x1a6d2a};const _0x1e232e={},_0x145be6={},_0x378baa=new Set();_0x3edb45[_0x8bbf2e(0xbd)](_0x2358b2=>{const _0x4b3204=_0x8bbf2e,_0x4b3def=_0x2358b2[_0x4b3204(0xb6)],_0x1f6709=_0x2358b2[_0x4b3204(0x87)];_0x154c02[_0x4b3204(0xa8)](_0x2358b2,(_0x2c9069,_0x28d3f7)=>{const _0x460d63=_0x4b3204,_0x1d9922=this[_0x460d63(0x70)][_0x460d63(0x118)](_0x4d1f43,_0x3219ff,_0x2c9069,_0x28d3f7);if(_0x1d9922&&!(_0x2c9069===_0x4b3def&&_0x28d3f7===_0x1f6709)){const _0x5c66e9=this[_0x460d63(0x70)][_0x460d63(0xc1)](_0x4d1f43,_0x3219ff,_0x1d9922);if(_0x5c66e9){_0x378baa[_0x460d63(0x100)](_0x1d9922);let _0x189ea0=_0x1e232e[_0x1d9922];_0x189ea0||(_0x189ea0={'config':_0x34f535[_0x460d63(0xfc)](_0x5c66e9[_0x460d63(0x110)]),'sparklines':new _0x566221(_0x5c66e9[_0x460d63(0xf7)]['clone']())},_0x1e232e[_0x1d9922]=_0x189ea0),_0x189ea0[_0x460d63(0xf7)][_0x460d63(0xba)](_0x2c9069,_0x28d3f7),_0x145be6[_0x1d9922]={'config':_0x34f535['deepClone'](_0x5c66e9[_0x460d63(0x110)]),'sparklines':_0x34f535[_0x460d63(0xfc)](_0x5c66e9[_0x460d63(0xf7)][_0x460d63(0x6c)]())};}}});});for(const [_0x40f524,_0xd43c65]of _0x3747d6){const _0x385f69=_0xd43c65['sparklines'];_0x385f69[_0x8bbf2e(0xb9)]((_0x409c70,_0x27e91f,_0x2482fb)=>{const _0x2f7059=_0x8bbf2e;for(let _0x3ec8bf=0x0;_0x3ec8bf<_0x3edb45[_0x2f7059(0x9e)];_0x3ec8bf++){const _0x3a01bd=_0x3edb45[_0x3ec8bf];if(_0x489cca[_0x2f7059(0xad)](_0x3a01bd,_0x2482fb)){_0x378baa[_0x2f7059(0x100)](_0x40f524);let _0x8d792d=_0x1e232e[_0x40f524];_0x8d792d||(_0x8d792d={'config':_0x34f535[_0x2f7059(0xfc)](_0xd43c65[_0x2f7059(0x110)]),'sparklines':new _0x566221(_0x385f69['clone']())},_0x1e232e[_0x40f524]=_0x8d792d),_0x8d792d['sparklines']['realDeleteValue'](_0x409c70,_0x27e91f),_0x145be6[_0x40f524]||(_0x145be6[_0x40f524]={'config':_0x34f535['deepClone'](_0xd43c65[_0x2f7059(0x110)]),'sparklines':_0x34f535['deepClone'](_0x385f69[_0x2f7059(0x6c)]())});}}});}const _0x43b0db={};Object[_0x8bbf2e(0x117)](_0x1e232e)[_0x8bbf2e(0xbd)](([_0x139575,_0x52a365])=>{const _0x341fb8=_0x8bbf2e;_0x52a365['sparklines'][_0x341fb8(0x10d)]()&&(_0x43b0db[_0x139575]={'config':_0x52a365[_0x341fb8(0x110)],'sparklines':_0x52a365[_0x341fb8(0xf7)][_0x341fb8(0x6c)]()});}),_0x378baa[_0x8bbf2e(0x92)]&&(_0x379315[_0x8bbf2e(0xee)]({'id':y['id'],'params':{'unitId':_0x4d1f43,'subUnitId':_0x3219ff,'groupIds':Array[_0x8bbf2e(0xa9)](_0x378baa),'isSingle':!0x1}}),_0x1a6d2a[_0x8bbf2e(0xee)]({'id':y['id'],'params':{'unitId':_0x4d1f43,'subUnitId':_0x3219ff,'groupIds':Array[_0x8bbf2e(0xa9)](_0x378baa),'isSingle':!0x1}}),_0x379315['push']({'id':V['id'],'params':{'unitId':_0x4d1f43,'subUnitId':_0x3219ff,'sparklineConfigMap':_0x43b0db}}),_0x1a6d2a[_0x8bbf2e(0xee)]({'id':V['id'],'params':{'unitId':_0x4d1f43,'subUnitId':_0x3219ff,'sparklineConfigMap':_0x145be6}}));}return{'redos':_0x379315,'undos':_0x1a6d2a};}}));}};_e=Ht([be(0x0,_0x5858d2(_0x246433)),be(0x1,_0x5858d2(_0x4c2cc9)),be(0x2,_0x5858d2(x))],_e);var Ft=Object[_0x4925c1(0xec)],Kt=(_0x2c7d75,_0x2d690c,_0x34c35c,_0x14f5b0)=>{const _0x2f5cff=_0x4925c1;for(var _0x49f99a=_0x14f5b0>0x1?void 0x0:_0x14f5b0?Ft(_0x2d690c,_0x34c35c):_0x2d690c,_0x3bc96d=_0x2c7d75[_0x2f5cff(0x9e)]-0x1,_0x4b62a3;_0x3bc96d>=0x0;_0x3bc96d--)(_0x4b62a3=_0x2c7d75[_0x3bc96d])&&(_0x49f99a=_0x4b62a3(_0x49f99a)||_0x49f99a);return _0x49f99a;},ge=(_0x9d558d,_0x19f969)=>(_0x4f7a5e,_0x220dab)=>_0x19f969(_0x4f7a5e,_0x220dab,_0x9d558d);let Me=class extends _0x4f0dd5{constructor(_0x514268,_0x5b4c90,_0x375ef6,_0x335eee){const _0x54d0d9=_0x4925c1;super(),se(this,_0x54d0d9(0x9d),new _0x544d73()),(this[_0x54d0d9(0xf8)]=_0x514268,this[_0x54d0d9(0xac)]=_0x5b4c90,this[_0x54d0d9(0x115)]=_0x375ef6,this[_0x54d0d9(0x70)]=_0x335eee,this[_0x54d0d9(0xfd)](),this['_initCorrectRangeWithSparkline']());}['_onRefRangeChange'](){const _0x64e000=_0x4925c1,_0x551293=(_0x5d7355,_0x1e7b17)=>{const _0x49a765=_0x4718,_0x3ee3af=this[_0x49a765(0x115)]['getCurrentUnitForType'](_0x1374ff[_0x49a765(0x69)]);if(!_0x3ee3af||!(_0x3ee3af==null?void 0x0:_0x3ee3af['getSheetBySheetId'](_0x1e7b17)))return;this['disposableCollection']['dispose']();const _0x1fcae5=_0x35e6a1=>this[_0x49a765(0x6d)](_0x35e6a1,_0x5d7355,_0x1e7b17),_0x268491=[],_0xda0fba=this[_0x49a765(0x70)][_0x49a765(0x10f)](_0x5d7355,_0x1e7b17);if(_0xda0fba){for(const [_0x4ac118,_0x5e61b1]of _0xda0fba)_0x5e61b1[_0x49a765(0xf7)]['forValue']((_0x158fac,_0x29472c,_0x3f8809)=>{const _0x14cbfc=_0x501aed(_0x158fac,_0x29472c);_0x268491['push'](_0x14cbfc);});_0x268491[_0x49a765(0xbd)](_0x1c32e5=>{const _0x1df5f0=_0x49a765;this[_0x1df5f0(0x9d)][_0x1df5f0(0x100)](this[_0x1df5f0(0xac)][_0x1df5f0(0x9c)](_0x1c32e5,_0x1fcae5,_0x5d7355,_0x1e7b17));});}};this[_0x64e000(0xb3)](this[_0x64e000(0xf8)][_0x64e000(0xc8)](_0x1ca65d=>{const _0x566428=_0x64e000;if(_0x1ca65d['id']===_0x31f7c6['id']){const _0x23956a=_0x1ca65d['params'],_0x240dfa=_0x23956a['subUnitId'],_0x55b8a2=_0x23956a[_0x566428(0x6a)];if(!_0x240dfa||!_0x55b8a2)return;_0x551293(_0x55b8a2,_0x240dfa);}if(_0x1ca65d['id']===Oe['id']||_0x1ca65d['id']===V['id']){const _0x557967=_0x1ca65d[_0x566428(0xf0)],_0x3a1f80=_0x557967[_0x566428(0xf3)],_0x33de43=_0x557967['unitId'];if(!_0x3a1f80||!_0x33de43)return;_0x551293(_0x33de43,_0x3a1f80);}}));}[_0x4925c1(0x6d)](_0x437006,_0x5c00b7,_0x1dd5e4){const _0x5c3fdf=_0x4925c1;switch(_0x437006['id']){case _0x176eab['id']:return this['_getRefRangeMutationsByDeleteCols'](_0x437006[_0x5c3fdf(0xf0)],_0x5c00b7,_0x1dd5e4);case _0x42aaf4['id']:return this[_0x5c3fdf(0xcc)](_0x437006[_0x5c3fdf(0xf0)],_0x5c00b7,_0x1dd5e4);}return{'redos':[],'undos':[]};}['_getRefRangeMutationsByDeleteRows'](_0x37ce98,_0x2ae692,_0x2ea9d0){const _0x2244a0=_0x4925c1;var _0x63d3ef,_0x2629d8;const {range:_0x2f0be9}=_0x37ce98,_0x533524=new Set(),_0xec10e2={},_0x509451={},_0xd6e7c7=[],_0x97fd0d=[],_0x5bcbf0=[],_0x3b73ff=[];if(!_0x1476b5(this[_0x2244a0(0x115)],{'unitId':_0x2ae692,'subUnitId':_0x2ea9d0}))return{'redos':_0x97fd0d,'undos':_0xd6e7c7};const _0x7990ee=this[_0x2244a0(0x70)][_0x2244a0(0x10f)](_0x2ae692,_0x2ea9d0);if(!_0x7990ee)return{'redos':_0x97fd0d,'undos':_0xd6e7c7};if(!((_0x2629d8=(_0x63d3ef=this[_0x2244a0(0x70)]['getSparklineCache']()[_0x2244a0(0x67)]['get'](_0x2ae692))==null?void 0x0:_0x63d3ef[_0x2244a0(0x77)](_0x2ea9d0))==null?void 0x0:_0x2629d8[_0x2244a0(0x7d)]))return{'redos':_0x97fd0d,'undos':_0xd6e7c7};for(const [_0x3197a8,_0x4aed86]of _0x7990ee){const _0x1a2445=_0x4aed86[_0x2244a0(0xf7)];_0x1a2445['forValue']((_0x1b653d,_0x371be6,_0x4818ca)=>{const _0x171fe6=_0x2244a0;if(_0x489cca[_0x171fe6(0x8a)](_0x2f0be9,_0x4818ca)){_0x533524['add'](_0x3197a8);let _0x27fb44=_0x509451[_0x3197a8];_0x27fb44||(_0x27fb44={'config':_0x4aed86[_0x171fe6(0x110)],'sparklines':_0x4aed86[_0x171fe6(0xf7)][_0x171fe6(0x6c)]()},_0x509451[_0x3197a8]=_0x27fb44);let _0x2f5945=_0xec10e2[_0x3197a8];_0x2f5945||(_0x2f5945={'config':_0x4aed86['config'],'sparklines':new _0x566221(_0x4aed86[_0x171fe6(0xf7)][_0x171fe6(0x6c)]())},_0xec10e2[_0x3197a8]=_0x2f5945);const _0x3a1ff6=_0x5225e5(_0x4818ca,{'id':_0x48ec1e['id'],'params':_0x37ce98});_0x3a1ff6?_0x2f5945[_0x171fe6(0xf7)]['setValue'](_0x1b653d,_0x371be6,_0x3a1ff6):_0x2f5945[_0x171fe6(0xf7)]['setValue'](_0x1b653d,_0x371be6,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x347f18[_0x171fe6(0xa1)]});}}),_0x1a2445[_0x2244a0(0xb9)]((_0x2d5042,_0x19c03e,_0x31fe2d)=>{const _0x14dd28=_0x2244a0;if(_0x2d5042<=_0x2f0be9[_0x14dd28(0xd2)]&&_0x2d5042>=_0x2f0be9[_0x14dd28(0xb6)]){_0x533524['add'](_0x3197a8);let _0x4b47de=_0x509451[_0x3197a8];_0x4b47de||(_0x4b47de={'config':_0x4aed86['config'],'sparklines':_0x4aed86[_0x14dd28(0xf7)][_0x14dd28(0x6c)]()},_0x509451[_0x3197a8]=_0x4b47de);let _0x283a30=_0xec10e2[_0x3197a8];_0x283a30||(_0x283a30={'config':_0x4aed86['config'],'sparklines':new _0x566221(_0x4aed86[_0x14dd28(0xf7)]['clone']())},_0xec10e2[_0x3197a8]=_0x283a30);}});}_0x3b73ff['push']({'id':y['id'],'params':{'unitId':_0x2ae692,'subUnitId':_0x2ea9d0,'groupIds':Array[_0x2244a0(0xa9)](_0x533524),'isSingle':!0x1}}),_0x5bcbf0[_0x2244a0(0xee)]({'id':y['id'],'params':{'unitId':_0x2ae692,'subUnitId':_0x2ea9d0,'groupIds':Array[_0x2244a0(0xa9)](_0x533524),'isSingle':!0x1}});const _0x12d853={};let _0x10a32e=!0x1;return Object[_0x2244a0(0x117)](_0xec10e2)[_0x2244a0(0xbd)](([_0x1477be,_0x12d1f8])=>{const _0x53a0e0=_0x2244a0;_0x12d1f8['sparklines'][_0x53a0e0(0x10d)]()&&(_0x10a32e=!0x0,_0x12d1f8['sparklines'][_0x53a0e0(0x119)](_0x2f0be9[_0x53a0e0(0xb6)],_0x2f0be9[_0x53a0e0(0xd2)]-_0x2f0be9[_0x53a0e0(0xb6)]+0x1),_0x12d853[_0x1477be]={'config':_0x12d1f8[_0x53a0e0(0x110)],'sparklines':_0x12d1f8[_0x53a0e0(0xf7)][_0x53a0e0(0x6c)]()});}),_0x10a32e&&_0x97fd0d['push']({'id':V['id'],'params':{'unitId':_0x2ae692,'subUnitId':_0x2ea9d0,'sparklineConfigMap':_0x12d853}}),_0xd6e7c7[_0x2244a0(0xee)]({'id':V['id'],'params':{'unitId':_0x2ae692,'subUnitId':_0x2ea9d0,'sparklineConfigMap':_0x509451}}),{'redos':_0x97fd0d,'undos':_0xd6e7c7,'preRedos':_0x5bcbf0,'preUndos':_0x3b73ff};}[_0x4925c1(0xd4)](_0x1de121,_0x496820,_0x1b74c5){const _0x3a008d=_0x4925c1;var _0x3741db,_0x294f46;const {range:_0x3b618d}=_0x1de121,_0x386880=new Set(),_0x170b2d={},_0x4e18c2={},_0x40bde2=[],_0x529c87=[],_0x18d4b2=[],_0x522864=[];if(!_0x1476b5(this[_0x3a008d(0x115)],{'unitId':_0x496820,'subUnitId':_0x1b74c5}))return{'redos':_0x529c87,'undos':_0x40bde2};const _0x212e8e=this[_0x3a008d(0x70)][_0x3a008d(0x10f)](_0x496820,_0x1b74c5);if(!_0x212e8e)return{'redos':_0x529c87,'undos':_0x40bde2};if(!((_0x294f46=(_0x3741db=this[_0x3a008d(0x70)]['getSparklineCache']()[_0x3a008d(0x67)][_0x3a008d(0x77)](_0x496820))==null?void 0x0:_0x3741db[_0x3a008d(0x77)](_0x1b74c5))==null?void 0x0:_0x294f46[_0x3a008d(0x7d)]))return{'redos':_0x529c87,'undos':_0x40bde2};for(const [_0x5514bc,_0x4e8179]of _0x212e8e){const _0x197386=_0x4e8179[_0x3a008d(0xf7)];_0x197386[_0x3a008d(0xb9)]((_0x34f3ac,_0x4bd1d2,_0x5acc1a)=>{const _0x25ac97=_0x3a008d;if(_0x489cca[_0x25ac97(0x8a)](_0x3b618d,_0x5acc1a)){_0x386880[_0x25ac97(0x100)](_0x5514bc);let _0x294990=_0x4e18c2[_0x5514bc];_0x294990||(_0x294990={'config':_0x4e8179[_0x25ac97(0x110)],'sparklines':_0x4e8179[_0x25ac97(0xf7)]['clone']()},_0x4e18c2[_0x5514bc]=_0x294990);let _0x453262=_0x170b2d[_0x5514bc];_0x453262||(_0x453262={'config':_0x4e8179['config'],'sparklines':new _0x566221(_0x4e8179['sparklines'][_0x25ac97(0x6c)]())},_0x170b2d[_0x5514bc]=_0x453262);const _0xd289bf=_0x5225e5(_0x5acc1a,{'id':_0x312d83['id'],'params':_0x1de121});_0xd289bf?_0x453262[_0x25ac97(0xf7)][_0x25ac97(0x89)](_0x34f3ac,_0x4bd1d2,_0xd289bf):_0x453262['sparklines'][_0x25ac97(0x89)](_0x34f3ac,_0x4bd1d2,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x347f18['NORMAL']});}}),_0x197386[_0x3a008d(0xb9)]((_0x4c0557,_0xfda3ba,_0x1d1a01)=>{const _0x35dfb0=_0x3a008d;if(_0xfda3ba<=_0x3b618d[_0x35dfb0(0x72)]&&_0xfda3ba>=_0x3b618d['startColumn']){_0x386880[_0x35dfb0(0x100)](_0x5514bc);let _0x324788=_0x4e18c2[_0x5514bc];_0x324788||(_0x324788={'config':_0x4e8179[_0x35dfb0(0x110)],'sparklines':_0x4e8179['sparklines'][_0x35dfb0(0x6c)]()},_0x4e18c2[_0x5514bc]=_0x324788);let _0x2e739d=_0x170b2d[_0x5514bc];_0x2e739d||(_0x2e739d={'config':_0x4e8179[_0x35dfb0(0x110)],'sparklines':new _0x566221(_0x4e8179['sparklines']['clone']())},_0x170b2d[_0x5514bc]=_0x2e739d);}});}_0x522864[_0x3a008d(0xee)]({'id':y['id'],'params':{'unitId':_0x496820,'subUnitId':_0x1b74c5,'groupIds':Array[_0x3a008d(0xa9)](_0x386880),'isSingle':!0x1}}),_0x18d4b2[_0x3a008d(0xee)]({'id':y['id'],'params':{'unitId':_0x496820,'subUnitId':_0x1b74c5,'groupIds':Array[_0x3a008d(0xa9)](_0x386880),'isSingle':!0x1}});const _0x3ad691={};let _0x2ac2af=!0x1;return Object['entries'](_0x170b2d)['forEach'](([_0x27b1cf,_0x3e74fc])=>{const _0x259753=_0x3a008d;_0x3e74fc[_0x259753(0xf7)]['getSizeOf']()&&(_0x2ac2af=!0x0,_0x3e74fc[_0x259753(0xf7)][_0x259753(0x103)](_0x3b618d[_0x259753(0x87)],_0x3b618d[_0x259753(0x72)]-_0x3b618d[_0x259753(0x87)]+0x1),_0x3ad691[_0x27b1cf]={'config':_0x3e74fc[_0x259753(0x110)],'sparklines':_0x3e74fc[_0x259753(0xf7)]['clone']()});}),_0x2ac2af&&_0x529c87['push']({'id':V['id'],'params':{'unitId':_0x496820,'subUnitId':_0x1b74c5,'sparklineConfigMap':_0x3ad691}}),_0x40bde2[_0x3a008d(0xee)]({'id':V['id'],'params':{'unitId':_0x496820,'subUnitId':_0x1b74c5,'sparklineConfigMap':_0x4e18c2}}),{'redos':_0x529c87,'undos':_0x40bde2,'preRedos':_0x18d4b2,'preUndos':_0x522864};}[_0x4925c1(0x68)](){const _0x254258=_0x4925c1;this[_0x254258(0xb3)](this['_commandService'][_0x254258(0xc8)](_0x336dfc=>{const _0x1aa19b=_0x254258;if(_0x336dfc['id']===_0x48afea['id']){const _0x248177=_0x336dfc['params'],{unitId:_0xb6179b,subUnitId:_0x5e1515,range:_0x56e3fd}=_0x248177,_0x4854f1=_0x56e3fd[_0x1aa19b(0x87)],_0x4ad4ca=_0x56e3fd[_0x1aa19b(0x72)]-_0x56e3fd[_0x1aa19b(0x87)]+0x1,_0x19f370=this[_0x1aa19b(0x70)][_0x1aa19b(0x10f)](_0xb6179b,_0x5e1515);if(!_0x19f370)return;for(const [_0x400c43,_0x1da884]of _0x19f370){this[_0x1aa19b(0x70)][_0x1aa19b(0x102)](_0xb6179b,_0x5e1515,_0x400c43);const _0x4c58e5=_0x1da884['sparklines'];_0x4c58e5[_0x1aa19b(0xb9)]((_0x5a22d9,_0x8638fc,_0x310ec0)=>{const _0x1f6c31=_0x1aa19b,_0x3ad8fe={..._0x310ec0};_0x4854f1<=_0x3ad8fe['startColumn']?(_0x3ad8fe['startColumn']+=_0x4ad4ca,_0x3ad8fe[_0x1f6c31(0x72)]+=_0x4ad4ca):_0x4854f1>_0x3ad8fe[_0x1f6c31(0x72)]||(_0x3ad8fe[_0x1f6c31(0x72)]+=_0x4ad4ca),_0x4c58e5['setValue'](_0x5a22d9,_0x8638fc,_0x3ad8fe);});const _0x5d20bc=_0x4c58e5[_0x1aa19b(0xce)]();for(const _0x12eeec in _0x5d20bc){const _0x21b346=_0x5d20bc[Number(_0x12eeec)];if(!_0x21b346)continue;const _0x568862=Object[_0x1aa19b(0xca)](_0x21b346)[_0x1aa19b(0x6e)](Number),_0x1ac5ee=Math[_0x1aa19b(0x8c)](..._0x568862);for(let _0x478ae7=_0x1ac5ee;_0x478ae7>=_0x4854f1;_0x478ae7--)_0x478ae7>=_0x4854f1&&_0x21b346[_0x478ae7]&&(_0x21b346[_0x478ae7+_0x4ad4ca]=_0x21b346[_0x478ae7],delete _0x21b346[_0x478ae7]);}this['_sparklineDataSourceModel'][_0x1aa19b(0xe0)](_0xb6179b,_0x5e1515,_0x400c43);}}else{if(_0x336dfc['id']===_0x15c753['id']){const _0x2d5f74=_0x336dfc[_0x1aa19b(0xf0)],{unitId:_0x25b5fc,subUnitId:_0x4a9891,range:_0x598b9d}=_0x2d5f74,_0x5602a6=_0x598b9d[_0x1aa19b(0xb6)],_0x47a5dd=_0x598b9d['endRow']-_0x598b9d[_0x1aa19b(0xb6)]+0x1,_0x19ce92=this['_sparklineDataSourceModel'][_0x1aa19b(0x10f)](_0x25b5fc,_0x4a9891);if(!_0x19ce92)return;for(const [_0x179b56,_0x22a0b3]of _0x19ce92){this[_0x1aa19b(0x70)][_0x1aa19b(0x102)](_0x25b5fc,_0x4a9891,_0x179b56);const _0xba5d5c=_0x22a0b3['sparklines'];_0xba5d5c[_0x1aa19b(0xb9)]((_0x2be62f,_0x4c9ba2,_0x4ae795)=>{const _0x477e75=_0x1aa19b,_0x5a7aa5={..._0x4ae795};_0x5602a6<=_0x5a7aa5['startRow']?(_0x5a7aa5[_0x477e75(0xb6)]+=_0x47a5dd,_0x5a7aa5[_0x477e75(0xd2)]+=_0x47a5dd):_0x5602a6>_0x5a7aa5[_0x477e75(0xd2)]||(_0x5a7aa5[_0x477e75(0xd2)]+=_0x47a5dd),_0xba5d5c[_0x477e75(0x89)](_0x2be62f,_0x4c9ba2,_0x5a7aa5);});const _0x1399e7=_0xba5d5c['getMatrix'](),_0x449980=Object[_0x1aa19b(0xca)](_0x1399e7)[_0x1aa19b(0x6e)](Number),_0x2f0074=Math[_0x1aa19b(0x8c)](..._0x449980);for(let _0x4ac7c4=_0x2f0074;_0x4ac7c4>=_0x5602a6;_0x4ac7c4--)_0x4ac7c4>=_0x5602a6&&_0x1399e7[_0x4ac7c4]&&(_0x1399e7[_0x4ac7c4+_0x47a5dd]=_0x1399e7[_0x4ac7c4],delete _0x1399e7[_0x4ac7c4]);this['_sparklineDataSourceModel'][_0x1aa19b(0xe0)](_0x25b5fc,_0x4a9891,_0x179b56);}}else{if(_0x336dfc['id']===_0x312d83['id']){const _0x5e7775=_0x336dfc[_0x1aa19b(0xf0)],{range:_0x62789,unitId:_0x3ae052,subUnitId:_0xfe1559}=_0x5e7775,_0x265768=this[_0x1aa19b(0x70)][_0x1aa19b(0x10f)](_0x3ae052,_0xfe1559);if(!_0x265768)return;for(const [_0x3cbc13,_0x32bd10]of _0x265768){const _0x4acb1d=_0x32bd10[_0x1aa19b(0xf7)];_0x4acb1d[_0x1aa19b(0xb9)]((_0x1a62f0,_0x1e3293,_0x2e578c)=>{const _0x509212=_0x1aa19b,_0x70ad97=_0x5225e5(_0x2e578c,_0x336dfc);_0x70ad97?_0x4acb1d['setValue'](_0x1a62f0,_0x1e3293,_0x70ad97):_0x4acb1d[_0x509212(0x89)](_0x1a62f0,_0x1e3293,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x347f18[_0x509212(0xa1)]});}),_0x4acb1d[_0x1aa19b(0x103)](_0x62789[_0x1aa19b(0x87)],_0x62789[_0x1aa19b(0x72)]-_0x62789['startColumn']+0x1);}this[_0x1aa19b(0x70)][_0x1aa19b(0xde)](_0x3ae052,_0xfe1559);}else{if(_0x336dfc['id']===_0x48ec1e['id']){const _0x68d593=_0x336dfc[_0x1aa19b(0xf0)],{range:_0x2883be,unitId:_0x5cac26,subUnitId:_0x40291d}=_0x68d593,_0x5db4b4=this[_0x1aa19b(0x70)][_0x1aa19b(0x10f)](_0x5cac26,_0x40291d);if(!_0x5db4b4)return;for(const [_0x43bf89,_0x190bde]of _0x5db4b4){const _0x1c88dc=_0x190bde[_0x1aa19b(0xf7)];_0x1c88dc[_0x1aa19b(0xb9)]((_0x59ebaa,_0x49733e,_0x48b899)=>{const _0x536d00=_0x1aa19b,_0x38b710=_0x5225e5(_0x48b899,_0x336dfc);_0x38b710?_0x1c88dc[_0x536d00(0x89)](_0x59ebaa,_0x49733e,_0x38b710):_0x1c88dc[_0x536d00(0x89)](_0x59ebaa,_0x49733e,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x347f18[_0x536d00(0xa1)]});}),_0x1c88dc[_0x1aa19b(0x119)](_0x2883be[_0x1aa19b(0xb6)],_0x2883be[_0x1aa19b(0xd2)]-_0x2883be[_0x1aa19b(0xb6)]+0x1);}this[_0x1aa19b(0x70)][_0x1aa19b(0xde)](_0x5cac26,_0x40291d);}else{if(_0x336dfc['id']===_0x4c34d0['id']){const _0x292596=_0x336dfc[_0x1aa19b(0xf0)],{unitId:_0x4fbcca,subUnitId:_0xc22724,sourceRange:_0x4ed863,targetRange:_0x490d3f}=_0x292596,_0x14a68f=this[_0x1aa19b(0x70)][_0x1aa19b(0x10f)](_0x4fbcca,_0xc22724);if(!_0x14a68f)return;for(const [_0x33f4d5,_0x1cb813]of _0x14a68f){const _0x1bdd84=_0x1cb813[_0x1aa19b(0xf7)];_0x1bdd84[_0x1aa19b(0xb9)]((_0x2d1983,_0x5011e4,_0x1cf2ff)=>{const _0x286861=_0x1aa19b,_0xed8009=_0x5225e5(_0x1cf2ff,_0x336dfc);_0xed8009?_0x1bdd84[_0x286861(0x89)](_0x2d1983,_0x5011e4,_0xed8009):_0x1bdd84[_0x286861(0x89)](_0x2d1983,_0x5011e4,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x347f18[_0x286861(0xa1)]});}),_0x1bdd84[_0x1aa19b(0xa6)](_0x4ed863[_0x1aa19b(0x87)],_0x4ed863[_0x1aa19b(0x72)]-_0x4ed863[_0x1aa19b(0x87)]+0x1,_0x490d3f[_0x1aa19b(0x87)]);}this[_0x1aa19b(0x70)][_0x1aa19b(0xde)](_0x4fbcca,_0xc22724);}else{if(_0x336dfc['id']===_0x374ee5['id']){const _0xbbcfa6=_0x336dfc[_0x1aa19b(0xf0)],{unitId:_0x2509ce,subUnitId:_0x4e964a,sourceRange:_0x141e44,targetRange:_0x43e47b}=_0xbbcfa6,_0x1e525e=this[_0x1aa19b(0x70)][_0x1aa19b(0x10f)](_0x2509ce,_0x4e964a);if(!_0x1e525e)return;for(const [_0xefb802,_0x4d31a9]of _0x1e525e){const _0x29a692=_0x4d31a9[_0x1aa19b(0xf7)];_0x29a692[_0x1aa19b(0xb9)]((_0xe1eb25,_0xf1cb79,_0x46058a)=>{const _0x594b9c=_0x1aa19b,_0x3b214a=_0x5225e5(_0x46058a,_0x336dfc);_0x3b214a?_0x29a692[_0x594b9c(0x89)](_0xe1eb25,_0xf1cb79,_0x3b214a):_0x29a692[_0x594b9c(0x89)](_0xe1eb25,_0xf1cb79,{'startRow':-0x270f,'endRow':-0x270f,'startColumn':-0x270f,'endColumn':-0x270f,'rangeType':_0x347f18[_0x594b9c(0xa1)]});}),_0x29a692['moveRows'](_0x141e44[_0x1aa19b(0xb6)],_0x141e44[_0x1aa19b(0xd2)]-_0x141e44[_0x1aa19b(0xb6)]+0x1,_0x43e47b['startRow']);}this[_0x1aa19b(0x70)]['reBuildAnchorCache'](_0x2509ce,_0x4e964a);}else{if(_0x336dfc['id']===_0xd32508['id']){const _0x103a50=_0x336dfc[_0x1aa19b(0xf0)],{fromRange:_0x16aace,toRange:_0x44f77c,unitId:_0x5b1dea,from:_0x3c2b4e,to:_0x3cdd3b}=_0x103a50;if(_0x3c2b4e[_0x1aa19b(0xf3)]!==_0x3cdd3b[_0x1aa19b(0xf3)])return;const _0x4723ea=_0x3c2b4e['subUnitId'],{startRow:_0x127ece,endRow:_0x2c849c,startColumn:_0x222fba,endColumn:_0xfbabaf}=_0x16aace,{startRow:_0x18b9a0,startColumn:_0x3ac9dc}=_0x44f77c,_0x358876=_0x18b9a0-_0x127ece,_0x5c87c9=_0x3ac9dc-_0x222fba,_0x7c5108=this['_sparklineDataSourceModel'][_0x1aa19b(0x10f)](_0x5b1dea,_0x4723ea);if(!(_0x7c5108!=null&&_0x7c5108[_0x1aa19b(0x92)]))return;for(let _0x57818f=_0x127ece;_0x57818f<=_0x2c849c;_0x57818f++)for(let _0x13baee=_0x222fba;_0x13baee<=_0xfbabaf;_0x13baee++){const _0x5628bf=this[_0x1aa19b(0x70)][_0x1aa19b(0x118)](_0x5b1dea,_0x4723ea,_0x57818f,_0x13baee);if(_0x5628bf){const _0x51aa29=this['_sparklineDataSourceModel'][_0x1aa19b(0xc1)](_0x5b1dea,_0x4723ea,_0x5628bf);if(_0x51aa29){const _0x7d2f98=_0x51aa29['sparklines'][_0x1aa19b(0xff)](_0x57818f,_0x13baee);_0x7d2f98&&(_0x51aa29[_0x1aa19b(0xf7)]['setValue'](_0x57818f+_0x358876,_0x13baee+_0x5c87c9,_0x7d2f98),_0x51aa29[_0x1aa19b(0xf7)][_0x1aa19b(0xba)](_0x57818f,_0x13baee));}}}for(const [_0x3703e1,_0x33fc97]of _0x7c5108){const _0x15abda=_0x33fc97[_0x1aa19b(0xf7)];_0x15abda['forValue']((_0x166987,_0x534fb6,_0x89a79a)=>{const _0x528250=_0x1aa19b,_0xba46ed={..._0x89a79a};_0x489cca[_0x528250(0xad)](_0x16aace,_0x89a79a)&&(_0xba46ed['startRow']+=_0x358876,_0xba46ed['endRow']+=_0x358876,_0xba46ed[_0x528250(0x87)]+=_0x5c87c9,_0xba46ed[_0x528250(0x72)]+=_0x5c87c9),_0x15abda[_0x528250(0x89)](_0x166987,_0x534fb6,_0xba46ed);});}this['_sparklineDataSourceModel'][_0x1aa19b(0xde)](_0x5b1dea,_0x4723ea);}}}}}}}}));}};Me=Kt([ge(0x0,_0x5858d2(_0x246433)),ge(0x1,_0x5858d2(_0x24ad55)),ge(0x2,_0x49ace0),ge(0x3,_0x5858d2(x))],Me);var Xt=Object[_0x4925c1(0xec)],zt=(_0x1c4575,_0x1d1460,_0x1d0769,_0x576640)=>{const _0x2835fa=_0x4925c1;for(var _0x26e8c9=_0x576640>0x1?void 0x0:_0x576640?Xt(_0x1d1460,_0x1d0769):_0x1d1460,_0x529586=_0x1c4575[_0x2835fa(0x9e)]-0x1,_0x2db47e;_0x529586>=0x0;_0x529586--)(_0x2db47e=_0x1c4575[_0x529586])&&(_0x26e8c9=_0x2db47e(_0x26e8c9)||_0x26e8c9);return _0x26e8c9;},Be=(_0x193051,_0x4ad3c1)=>(_0x52d37b,_0x16ecc5)=>_0x4ad3c1(_0x52d37b,_0x16ecc5,_0x193051);let Re=class extends _0x4f0dd5{constructor(_0x1cc48b,_0x126e07){const _0x5eae10=_0x4925c1;super(),this[_0x5eae10(0x98)]=_0x1cc48b,this[_0x5eae10(0x70)]=_0x126e07,this[_0x5eae10(0xaa)]();}[_0x4925c1(0xaa)](){const _0x121d92=_0x4925c1,_0x50c35d=_0x268f03=>{const _0x21c2b0=_0x4718,_0x4bec7f=this[_0x21c2b0(0x70)]['toJSON'](_0x268f03);return _0x4bec7f?JSON[_0x21c2b0(0x8f)](_0x4bec7f):'';},_0x6b99c=_0x30da88=>_0x30da88?JSON['parse'](_0x30da88):{};this[_0x121d92(0xb3)](this[_0x121d92(0x98)]['registerPluginResource']({'toJson':_0x50c35d,'parseJson':_0x6b99c,'pluginName':Ke,'businesses':[_0x1374ff[_0x121d92(0x69)]],'onLoad':(_0x3871d2,_0x30dda4)=>{const _0xbd82b5=_0x121d92;this[_0xbd82b5(0x70)][_0xbd82b5(0xbc)](_0x30dda4);},'onUnLoad':_0x44b16b=>{this['_sparklineDataSourceModel']['deleteUnit'](_0x44b16b);}}));}};Re=zt([Be(0x0,_0x5858d2(_0x55f5da)),Be(0x1,_0x5858d2(x))],Re);var Jt=Object[_0x4925c1(0x114)],Zt=Object[_0x4925c1(0xec)],Yt=(_0x573a73,_0x2b1261,_0x2bde9d)=>_0x2b1261 in _0x573a73?Jt(_0x573a73,_0x2b1261,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2bde9d}):_0x573a73[_0x2b1261]=_0x2bde9d,qt=(_0x34ed2a,_0x279803,_0x68a340,_0x29203d)=>{const _0x5958da=_0x4925c1;for(var _0x2d31fa=_0x29203d>0x1?void 0x0:_0x29203d?Zt(_0x279803,_0x68a340):_0x279803,_0x3b3cf6=_0x34ed2a[_0x5958da(0x9e)]-0x1,_0x369a24;_0x3b3cf6>=0x0;_0x3b3cf6--)(_0x369a24=_0x34ed2a[_0x3b3cf6])&&(_0x2d31fa=_0x369a24(_0x2d31fa)||_0x2d31fa);return _0x2d31fa;},He=(_0x2b5037,_0x39d985)=>(_0x4fa10d,_0x10e4a8)=>_0x39d985(_0x4fa10d,_0x10e4a8,_0x2b5037),ze=(_0x2ddaeb,_0x31946a,_0x78721d)=>Yt(_0x2ddaeb,typeof _0x31946a!=_0x4925c1(0xd8)?_0x31946a+'':_0x31946a,_0x78721d);let ve=class extends _0x5db67a{constructor(_0x43533c={},_0x1e2ea0,_0x42d0cf){const _0x53d806=_0x4925c1;super(),this[_0x53d806(0x80)]=_0x43533c,this[_0x53d806(0xef)]=_0x1e2ea0,this['_commandService']=_0x42d0cf,this['_initDependencies'](),this['_initRegisterCommand']();}[_0x4925c1(0x8d)](){[[x],[me],[_e],[Se],[Me],[Ce],[ke],[Re]]['forEach'](_0xea7e29=>{const _0x1a1677=_0x4718;this[_0x1a1677(0xef)]['add'](_0xea7e29);}),_0x532587(this['_injector'],[[Re]]);}[_0x4925c1(0xb4)](){const _0x2680bf=_0x4925c1;_0x532587(this[_0x2680bf(0xef)],[[me],[_e],[Se],[Me],[Ce],[ke]]);}['_initRegisterCommand'](){const _0x5c1570=_0x4925c1;[Nt,V,Ot,y,xt,Oe][_0x5c1570(0xbd)](_0x272b8f=>this[_0x5c1570(0xf8)][_0x5c1570(0x104)](_0x272b8f));}};ze(ve,_0x4925c1(0xe8),Ke),ze(ve,'type',_0x1374ff['UNIVER_SHEET']),ve=qt([_0x566c77(_0x3a80c1),He(0x1,_0x5858d2(_0x370f87)),He(0x2,_0x5858d2(_0x246433))],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};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x36843e=_0xb786;(function(_0x2a948a,_0x1c73e7){const _0x2f41ff=_0xb786,_0x4e3ddd=_0x2a948a();while(!![]){try{const _0x4f10bf=-parseInt(_0x2f41ff(0x1f3))/0x1+-parseInt(_0x2f41ff(0x1e0))/0x2*(parseInt(_0x2f41ff(0x1ea))/0x3)+-parseInt(_0x2f41ff(0x1de))/0x4+parseInt(_0x2f41ff(0x1eb))/0x5+-parseInt(_0x2f41ff(0x1dc))/0x6*(-parseInt(_0x2f41ff(0x209))/0x7)+parseInt(_0x2f41ff(0x205))/0x8*(parseInt(_0x2f41ff(0x208))/0x9)+-parseInt(_0x2f41ff(0x1f8))/0xa;if(_0x4f10bf===_0x1c73e7)break;else _0x4e3ddd['push'](_0x4e3ddd['shift']());}catch(_0x52ab7e){_0x4e3ddd['push'](_0x4e3ddd['shift']());}}}(_0x39d1,0x1e703));import{SparklineDataSourceModel as _0x463d0a,SetSheetSparklineCommand as _0x327e39,RemoveSheetSparklineCommand as _0x20f47b,AddSheetSparklineCommand as _0x3ebda2,SparklineTypeEnum as _0x3a9fcd}from'@univerjs-pro/sheets-sparkline';import{Inject as _0xf426b4,Injector as _0x2922b1,ICommandService as _0x3abfc5,Tools as _0x4f056e}from'@univerjs/core';import{FWorksheet as _0x549aff}from'@univerjs/sheets/facade';import{FEnum as _0xe6821d,FEventName as _0x2f4163,FUniver as _0x128bf}from'@univerjs/core/facade';import{SheetsSelectionsService as _0x50d26e}from'@univerjs/sheets';var z=Object['getOwnPropertyDescriptor'],H=(_0x453785,_0x4a67f9,_0x6116c4,_0x50003a)=>{const _0x43146e=_0xb786;for(var _0x3b2407=_0x50003a>0x1?void 0x0:_0x50003a?z(_0x4a67f9,_0x6116c4):_0x4a67f9,_0x323b9d=_0x453785[_0x43146e(0x1f4)]-0x1,_0x25441f;_0x323b9d>=0x0;_0x323b9d--)(_0x25441f=_0x453785[_0x323b9d])&&(_0x3b2407=_0x25441f(_0x3b2407)||_0x3b2407);return _0x3b2407;},V=(_0x2016a5,_0x304fdc)=>(_0x2e81cf,_0x58b6b3)=>_0x304fdc(_0x2e81cf,_0x58b6b3,_0x2016a5);let C=class{constructor(_0x45f27a,_0xcd7ad,_0x47e801,_0x5159a0,_0x5a4d19,_0x419557){const _0x3a6b94=_0xb786;this[_0x3a6b94(0x203)]=_0x45f27a,this[_0x3a6b94(0x1fc)]=_0xcd7ad,this[_0x3a6b94(0x1d5)]=_0x47e801,this[_0x3a6b94(0x1e4)]=_0x5159a0,this[_0x3a6b94(0x1f1)]=_0x5a4d19,this[_0x3a6b94(0x1fb)]=_0x419557;}[_0x36843e(0x207)](_0x172ff5,_0x5b94d5){const _0x323690=_0x36843e,_0x53aefe=this[_0x323690(0x1fb)][_0x323690(0x206)](_0x463d0a),_0x243f10=this[_0x323690(0x1fb)][_0x323690(0x206)](_0x3abfc5),_0x2c11d6=_0x53aefe['getSparklineById'](this['_unitId'],this[_0x323690(0x1fc)],this[_0x323690(0x1d5)]);if(!_0x2c11d6)return;const _0x227196={'config':_0x2c11d6,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0x323690(0x1d5)],'resetType':_0x323690(0x20f),'sourceRanges':[_0x172ff5],'targetRanges':[_0x5b94d5],'primary':{'startRow':this['_row'],'startColumn':this['_col'],'endRow':this['_row'],'endColumn':this[_0x323690(0x1f1)],'actualRow':this['_row'],'actualColumn':this['_col'],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x243f10['syncExecuteCommand'](_0x327e39['id'],_0x227196),this[_0x323690(0x1e4)]=_0x5b94d5['startRow'],this['_col']=_0x5b94d5['startColumn'],this;}[_0x36843e(0x20c)](){const _0x29b77d=_0x36843e,_0x148f5b=this[_0x29b77d(0x1fb)]['get'](_0x3abfc5),_0x188f6b={'isSingle':!0x0,'ranges':[{'startRow':this['_row'],'startColumn':this['_col'],'endRow':this[_0x29b77d(0x1e4)],'endColumn':this['_col']}]};_0x148f5b[_0x29b77d(0x1d7)](_0x20f47b['id'],_0x188f6b);}};C=H([V(0x5,_0xf426b4(_0x2922b1))],C);var q=Object['getOwnPropertyDescriptor'],J=(_0x3defee,_0x5321d6,_0x124bd3,_0x44d6a1)=>{const _0x4d0493=_0x36843e;for(var _0x5e99af=_0x44d6a1>0x1?void 0x0:_0x44d6a1?q(_0x5321d6,_0x124bd3):_0x5321d6,_0x52e3a2=_0x3defee[_0x4d0493(0x1f4)]-0x1,_0x40ed61;_0x52e3a2>=0x0;_0x52e3a2--)(_0x40ed61=_0x3defee[_0x52e3a2])&&(_0x5e99af=_0x40ed61(_0x5e99af)||_0x5e99af);return _0x5e99af;},K=(_0x3fa3f0,_0x5c1a40)=>(_0x5971a0,_0x239499)=>_0x5c1a40(_0x5971a0,_0x239499,_0x3fa3f0);let w=class{constructor(_0x591cfd,_0x562051,_0x3f475d,_0x346688,_0xacb6ca,_0x20c457){const _0x4beff0=_0x36843e;this['_unitId']=_0x591cfd,this[_0x4beff0(0x1fc)]=_0x562051,this[_0x4beff0(0x1d5)]=_0x3f475d,this[_0x4beff0(0x1e4)]=_0x346688,this['_col']=_0xacb6ca,this[_0x4beff0(0x1fb)]=_0x20c457;}['changeDataSource'](_0x4ead1e,_0x10940f){const _0x40117c=_0x36843e,_0x15bda1=this[_0x40117c(0x1fb)][_0x40117c(0x206)](_0x463d0a),_0x49140d=this[_0x40117c(0x1fb)]['get'](_0x3abfc5),_0x3d16bd=_0x15bda1[_0x40117c(0x202)](this[_0x40117c(0x203)],this[_0x40117c(0x1fc)],this[_0x40117c(0x1d5)]);if(!_0x3d16bd)return;const _0x4eb56c={'config':_0x3d16bd,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this['_groupId'],'resetType':'group','sourceRanges':_0x4ead1e,'targetRanges':_0x10940f,'primary':{'startRow':this[_0x40117c(0x1e4)],'startColumn':this[_0x40117c(0x1f1)],'endRow':this[_0x40117c(0x1e4)],'endColumn':this[_0x40117c(0x1f1)],'actualRow':this[_0x40117c(0x1e4)],'actualColumn':this[_0x40117c(0x1f1)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x49140d['syncExecuteCommand'](_0x327e39['id'],_0x4eb56c),this[_0x40117c(0x1e4)]=_0x10940f[0x0][_0x40117c(0x20d)],this[_0x40117c(0x1f1)]=_0x10940f[0x0]['startColumn'],this;}['removeSparklineGroup'](){const _0x3a51cd=_0x36843e,_0x51923e=this[_0x3a51cd(0x1fb)][_0x3a51cd(0x206)](_0x3abfc5),_0x14041b={'isSingle':!0x1,'ranges':[{'startRow':this[_0x3a51cd(0x1e4)],'startColumn':this[_0x3a51cd(0x1f1)],'endRow':this[_0x3a51cd(0x1e4)],'endColumn':this[_0x3a51cd(0x1f1)]}]};_0x51923e[_0x3a51cd(0x1d7)](_0x20f47b['id'],_0x14041b);}[_0x36843e(0x1e8)](_0x4d2424){const _0x167ed8=_0x36843e,_0x1a76a8=this['_injector'][_0x167ed8(0x206)](_0x463d0a)[_0x167ed8(0x202)](this[_0x167ed8(0x203)],this[_0x167ed8(0x1fc)],this[_0x167ed8(0x1d5)]);if(_0x1a76a8){const _0x8c5ef9={'config':{'config':_0x4d2424,'sparklines':_0x1a76a8['sparklines']},'isChangeDataSource':!0x1};this[_0x167ed8(0x1fb)][_0x167ed8(0x206)](_0x3abfc5)['syncExecuteCommand'](_0x327e39['id'],_0x8c5ef9);}return this;}};function _0x39d1(){const _0xcce7ca=['getAllSubSparkline','2mIPUUV','matrix','extend','forEach','_row','SheetSparklineChanged','deepClone','_initialize','setConfig','cancel','193389whMSOe','101540SrbssI','getSparkline','onCommandExecuted','addSparkline','fireEvent','range','_col','groupId','31465qCExmR','length','createInstance','sparklineAnchorMap','getUnitId','93780NrobqB','getId','registerEventHandler','_injector','_subUnitId','getActiveSheet','getValue','getSubUnitSparkline','SparklineTypeEnum','getActiveWorkbook','getSparklineById','_unitId','getCurrentSelections','1362344rnKCsI','get','changeDataSource','9JTWIeN','7Nwydlc','_workbook','_worksheet','removeSparkline','startRow','ranges','item','from','_groupId','getSheetId','syncExecuteCommand','isChangeDataSource','getSparklineByCell','Sheet\x20create\x20canceled\x20by\x20facade\x20api.','params','552174AAXJjx','_commandService','210596GjddQZ'];_0x39d1=function(){return _0xcce7ca;};return _0x39d1();}w=J([K(0x5,_0xf426b4(_0x2922b1))],w);class L extends _0x549aff{[_0x36843e(0x1ee)](_0x449196,_0x4e1126,_0x3c97e3){const _0x54c22a=_0x36843e;if(this['_commandService'][_0x54c22a(0x1d7)](_0x3ebda2['id'],{'sourceRanges':_0x449196,'targetRanges':_0x4e1126,'targetInfo':{'unitId':this[_0x54c22a(0x20a)][_0x54c22a(0x1f7)](),'subUnitId':this[_0x54c22a(0x20b)][_0x54c22a(0x1d6)]()},'config':{'type':_0x3c97e3}})){const {startRow:_0xd47a79,startColumn:_0x39b357}=_0x4e1126[0x0];return this[_0x54c22a(0x1d9)](_0xd47a79,_0x39b357);}}[_0x36843e(0x1df)](){const _0x2f9fb9=_0x36843e;return this['_injector'][_0x2f9fb9(0x206)](_0x463d0a)[_0x2f9fb9(0x1ff)](this[_0x2f9fb9(0x20a)][_0x2f9fb9(0x1f7)](),this[_0x2f9fb9(0x20b)][_0x2f9fb9(0x1d6)]());}['composeSparkline'](_0x1e2218){const _0x47254f=_0x36843e,_0x48899f=this[_0x47254f(0x1fb)][_0x47254f(0x206)](_0x463d0a);let _0x3b6a79;for(let _0x13d10f=0x0;_0x13d10f<_0x1e2218[_0x47254f(0x1f4)];_0x13d10f++){const _0x32e831=_0x1e2218[_0x13d10f],{startRow:_0x1ad970,endRow:_0x4fa963,startColumn:_0x44049b,endColumn:_0x4eb351}=_0x32e831;for(let _0x53e6fc=_0x1ad970;_0x53e6fc<=_0x4fa963;_0x53e6fc++)for(let _0x2efea8=_0x44049b;_0x2efea8<=_0x4eb351;_0x2efea8++){const _0x5ab849=_0x48899f[_0x47254f(0x1ec)](this[_0x47254f(0x20a)][_0x47254f(0x1f7)](),this[_0x47254f(0x20b)][_0x47254f(0x1d6)](),_0x53e6fc,_0x2efea8);if(_0x5ab849){const _0x5457d8=_0x48899f[_0x47254f(0x202)](this[_0x47254f(0x20a)][_0x47254f(0x1f7)](),this[_0x47254f(0x20b)][_0x47254f(0x1d6)](),_0x5ab849);if(_0x5457d8){_0x3b6a79=_0x4f056e[_0x47254f(0x1e6)](_0x5457d8);break;}}}}_0x3b6a79&&this[_0x47254f(0x1dd)]['executeCommand'](_0x327e39['id'],{'ranges':_0x1e2218,'combine':!0x0,'config':_0x3b6a79,'isChangeDataSource':!0x1});}['unComposeSparkline'](_0x316cda){const _0x3c40ec=_0x36843e,_0x203b57=this[_0x3c40ec(0x1fb)][_0x3c40ec(0x206)](_0x463d0a);let _0x25dcb0;for(let _0x1e3ebc=0x0;_0x1e3ebc<_0x316cda[_0x3c40ec(0x1f4)];_0x1e3ebc++){const _0x28d140=_0x316cda[_0x1e3ebc],{startRow:_0xcc7928,endRow:_0x4adc77,startColumn:_0x48c788,endColumn:_0x4a5bf1}=_0x28d140;for(let _0x230b37=_0xcc7928;_0x230b37<=_0x4adc77;_0x230b37++)for(let _0x3ff64d=_0x48c788;_0x3ff64d<=_0x4a5bf1;_0x3ff64d++){const _0x5b7581=_0x203b57[_0x3c40ec(0x1ec)](this[_0x3c40ec(0x20a)][_0x3c40ec(0x1f7)](),this[_0x3c40ec(0x20b)][_0x3c40ec(0x1d6)](),_0x230b37,_0x3ff64d);if(_0x5b7581){const _0x32260e=_0x203b57[_0x3c40ec(0x202)](this['_workbook'][_0x3c40ec(0x1f7)](),this[_0x3c40ec(0x20b)][_0x3c40ec(0x1d6)](),_0x5b7581);if(_0x32260e){_0x25dcb0=_0x4f056e[_0x3c40ec(0x1e6)](_0x32260e);break;}}}}_0x25dcb0||this[_0x3c40ec(0x1dd)]['executeCommand'](_0x327e39['id'],{'ranges':_0x316cda,'unCombine':!0x0,'config':_0x25dcb0,'isChangeDataSource':!0x1});}[_0x36843e(0x1d9)](_0x24d2ba,_0x522a53){const _0x448b3f=_0x36843e,_0x41175f=this[_0x448b3f(0x1fb)]['get'](_0x463d0a),_0x46756=this[_0x448b3f(0x20a)][_0x448b3f(0x1f7)](),_0x42277a=this[_0x448b3f(0x20b)]['getSheetId'](),_0x11eafa=_0x41175f[_0x448b3f(0x1ec)](_0x46756,_0x42277a,_0x24d2ba,_0x522a53);if(_0x11eafa)return this[_0x448b3f(0x1fb)][_0x448b3f(0x1f5)](C,_0x46756,_0x42277a,_0x11eafa,_0x24d2ba,_0x522a53);}['getSparklineGroupByCell'](_0x12437e,_0x3302e3){const _0xa604a7=_0x36843e,_0x562ed3=this[_0xa604a7(0x1fb)][_0xa604a7(0x206)](_0x463d0a),_0x37025c=this[_0xa604a7(0x20a)][_0xa604a7(0x1f7)](),_0x345af9=this['_worksheet'][_0xa604a7(0x1d6)](),_0xa071ce=_0x562ed3[_0xa604a7(0x1ec)](_0x37025c,_0x345af9,_0x12437e,_0x3302e3);if(_0xa071ce)return this['_injector'][_0xa604a7(0x1f5)](w,_0x37025c,_0x345af9,_0xa071ce,_0x12437e,_0x3302e3);}}_0x549aff['extend'](L);class Q extends _0xe6821d{get[_0x36843e(0x200)](){return _0x3a9fcd;}}_0xe6821d[_0x36843e(0x1e2)](Q);function _0xb786(_0x48c17f,_0x3635de){const _0x39d139=_0x39d1();return _0xb786=function(_0xb786f6,_0x50bd8d){_0xb786f6=_0xb786f6-0x1d5;let _0x580bd1=_0x39d139[_0xb786f6];return _0x580bd1;},_0xb786(_0x48c17f,_0x3635de);}class X extends _0x2f4163{get[_0x36843e(0x1e5)](){const _0x4e7e81=_0x36843e;return _0x4e7e81(0x1e5);}}_0x2f4163[_0x36843e(0x1e2)](X);class Y extends _0x128bf{[_0x36843e(0x1e7)](_0x252c68){const _0x4ea510=_0x36843e,_0x1f87ef=_0x252c68['get'](_0x3abfc5);this[_0x4ea510(0x1fa)](this['Event'][_0x4ea510(0x1e5)],()=>_0x1f87ef[_0x4ea510(0x1ed)](_0x46585b=>{const _0x205b32=_0x4ea510;var _0x50cfdc,_0x3782b9;if(_0x46585b['id']===_0x327e39['id']){const _0x352cf5=_0x46585b[_0x205b32(0x1db)];if(!_0x352cf5[_0x205b32(0x1d8)]){const _0x49eb18=this[_0x205b32(0x201)](),_0x4ff840=_0x49eb18==null?void 0x0:_0x49eb18[_0x205b32(0x1fd)]();if(!_0x49eb18||!_0x4ff840)return;const _0x55f9eb=_0x49eb18[_0x205b32(0x1f9)](),_0x4332da=_0x4ff840[_0x205b32(0x1d6)](),_0x468825=this['_injector'][_0x205b32(0x206)](_0x50d26e),_0x3d6b56=this['_injector']['get'](_0x463d0a),_0x5a45fa=(_0x50cfdc=_0x352cf5==null?void 0x0:_0x352cf5[_0x205b32(0x20e)])!=null?_0x50cfdc:_0x468825[_0x205b32(0x204)]()['map'](_0xb418=>_0xb418[_0x205b32(0x1f0)]),_0x14b5d2=(_0x3782b9=_0x3d6b56['getSparklineCache']()[_0x205b32(0x1f6)][_0x205b32(0x206)](_0x55f9eb))==null?void 0x0:_0x3782b9[_0x205b32(0x206)](_0x4332da),_0x3cce21=new Set();_0x5a45fa[_0x205b32(0x1e3)](_0x11ab27=>{const _0x3d9b51=_0x205b32;var _0x3ca083;const {startRow:_0x565029,endRow:_0xfc4298,startColumn:_0x41b808,endColumn:_0x4bcaa7}=_0x11ab27;for(let _0x975315=_0x565029;_0x975315<=_0xfc4298;_0x975315++)for(let _0x415767=_0x41b808;_0x415767<=_0x4bcaa7;_0x415767++){const _0x371796=(_0x3ca083=_0x14b5d2==null?void 0x0:_0x14b5d2[_0x3d9b51(0x1e1)][_0x3d9b51(0x1fe)](_0x975315,_0x415767))==null?void 0x0:_0x3ca083[_0x3d9b51(0x1f2)];_0x371796&&_0x3cce21['add'](_0x371796);}});const _0x7c7274=Array[_0x205b32(0x210)](_0x3cce21)['map'](_0x1c8ca0=>_0x3d6b56[_0x205b32(0x202)](_0x55f9eb,_0x4332da,_0x1c8ca0))['filter'](_0x311448=>!!_0x311448),_0x5a57e0={'workbook':_0x49eb18,'worksheet':_0x4ff840,'sparklines':_0x7c7274};if(this[_0x205b32(0x1ef)](this['Event'][_0x205b32(0x1e5)],_0x5a57e0),_0x5a57e0[_0x205b32(0x1e9)])throw new Error(_0x205b32(0x1da));}}}));}}_0x128bf['extend'](Y);export{C as FSparkline,w as FSparklineGroup};
1
+ const _0x1e5605=_0x222a;(function(_0xe4cf3c,_0x55eb9e){const _0x131747=_0x222a,_0xc63293=_0xe4cf3c();while(!![]){try{const _0x1f0d65=parseInt(_0x131747(0x190))/0x1*(-parseInt(_0x131747(0x189))/0x2)+parseInt(_0x131747(0x182))/0x3+parseInt(_0x131747(0x19a))/0x4+parseInt(_0x131747(0x16e))/0x5*(-parseInt(_0x131747(0x18e))/0x6)+parseInt(_0x131747(0x1a4))/0x7*(-parseInt(_0x131747(0x1a1))/0x8)+parseInt(_0x131747(0x19c))/0x9*(parseInt(_0x131747(0x184))/0xa)+-parseInt(_0x131747(0x198))/0xb*(-parseInt(_0x131747(0x183))/0xc);if(_0x1f0d65===_0x55eb9e)break;else _0xc63293['push'](_0xc63293['shift']());}catch(_0x43ad14){_0xc63293['push'](_0xc63293['shift']());}}}(_0x87d5,0x23ef8));import{SparklineDataSourceModel as _0x162056,SetSheetSparklineCommand as _0x530779,RemoveSheetSparklineCommand as _0x31a725,AddSheetSparklineCommand as _0x4fc27c,SparklineTypeEnum as _0x59e2d2}from'@univerjs-pro/sheets-sparkline';import{Inject as _0xa5ab47,Injector as _0x289db3,ICommandService as _0x32c9ad,Tools as _0x2c64ee}from'@univerjs/core';import{FWorksheet as _0x2efd6a}from'@univerjs/sheets/facade';import{FEnum as _0x2ab083,FEventName as _0x25c7a0,FUniver as _0xdbdf61}from'@univerjs/core/facade';import{SheetsSelectionsService as _0x28681d}from'@univerjs/sheets';var z=Object[_0x1e5605(0x19d)],H=(_0x25b802,_0x38ab95,_0x5a72a6,_0x58d952)=>{const _0x56fbb7=_0x1e5605;for(var _0x4c27ab=_0x58d952>0x1?void 0x0:_0x58d952?z(_0x38ab95,_0x5a72a6):_0x38ab95,_0x4df93b=_0x25b802[_0x56fbb7(0x18f)]-0x1,_0x2a6a84;_0x4df93b>=0x0;_0x4df93b--)(_0x2a6a84=_0x25b802[_0x4df93b])&&(_0x4c27ab=_0x2a6a84(_0x4c27ab)||_0x4c27ab);return _0x4c27ab;},V=(_0x543bc5,_0x616ee1)=>(_0x32dde3,_0x409b20)=>_0x616ee1(_0x32dde3,_0x409b20,_0x543bc5);let C=class{constructor(_0x47556a,_0x24f835,_0x498f4e,_0x29988b,_0x4cfcd4,_0x314bf8){const _0x148f90=_0x1e5605;this[_0x148f90(0x197)]=_0x47556a,this[_0x148f90(0x196)]=_0x24f835,this[_0x148f90(0x1a7)]=_0x498f4e,this['_row']=_0x29988b,this[_0x148f90(0x175)]=_0x4cfcd4,this[_0x148f90(0x17b)]=_0x314bf8;}[_0x1e5605(0x181)](_0x1c5826,_0x2e5bf5){const _0x4f2b7f=_0x1e5605,_0x5ebeaa=this[_0x4f2b7f(0x17b)]['get'](_0x162056),_0x42360b=this[_0x4f2b7f(0x17b)][_0x4f2b7f(0x18a)](_0x32c9ad),_0x4f2ad2=_0x5ebeaa['getSparklineById'](this[_0x4f2b7f(0x197)],this[_0x4f2b7f(0x196)],this[_0x4f2b7f(0x1a7)]);if(!_0x4f2ad2)return;const _0x58bd23={'config':_0x4f2ad2,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this['_groupId'],'resetType':_0x4f2b7f(0x1a0),'sourceRanges':[_0x1c5826],'targetRanges':[_0x2e5bf5],'primary':{'startRow':this['_row'],'startColumn':this[_0x4f2b7f(0x175)],'endRow':this[_0x4f2b7f(0x172)],'endColumn':this[_0x4f2b7f(0x175)],'actualRow':this[_0x4f2b7f(0x172)],'actualColumn':this['_col'],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x42360b[_0x4f2b7f(0x18c)](_0x530779['id'],_0x58bd23),this[_0x4f2b7f(0x172)]=_0x2e5bf5['startRow'],this[_0x4f2b7f(0x175)]=_0x2e5bf5[_0x4f2b7f(0x177)],this;}['removeSparkline'](){const _0x505135=_0x1e5605,_0x6fa974=this[_0x505135(0x17b)]['get'](_0x32c9ad),_0xf7cd3={'isSingle':!0x0,'ranges':[{'startRow':this[_0x505135(0x172)],'startColumn':this[_0x505135(0x175)],'endRow':this['_row'],'endColumn':this['_col']}]};_0x6fa974['syncExecuteCommand'](_0x31a725['id'],_0xf7cd3);}};C=H([V(0x5,_0xa5ab47(_0x289db3))],C);var q=Object[_0x1e5605(0x19d)],J=(_0x181a7e,_0x74b82d,_0x2d9ae8,_0x3ad032)=>{const _0x28ca84=_0x1e5605;for(var _0x3d09df=_0x3ad032>0x1?void 0x0:_0x3ad032?q(_0x74b82d,_0x2d9ae8):_0x74b82d,_0x92f0c7=_0x181a7e[_0x28ca84(0x18f)]-0x1,_0x3cf7fb;_0x92f0c7>=0x0;_0x92f0c7--)(_0x3cf7fb=_0x181a7e[_0x92f0c7])&&(_0x3d09df=_0x3cf7fb(_0x3d09df)||_0x3d09df);return _0x3d09df;},K=(_0x5e6280,_0xcd47e2)=>(_0x1df8f9,_0x5076ae)=>_0xcd47e2(_0x1df8f9,_0x5076ae,_0x5e6280);let w=class{constructor(_0x4e6816,_0x503416,_0x25f558,_0x2472a8,_0x194c20,_0x399403){const _0x2902c1=_0x1e5605;this[_0x2902c1(0x197)]=_0x4e6816,this[_0x2902c1(0x196)]=_0x503416,this[_0x2902c1(0x1a7)]=_0x25f558,this[_0x2902c1(0x172)]=_0x2472a8,this[_0x2902c1(0x175)]=_0x194c20,this[_0x2902c1(0x17b)]=_0x399403;}['changeDataSource'](_0x48782c,_0x1be21a){const _0xee1f72=_0x1e5605,_0x59391d=this[_0xee1f72(0x17b)]['get'](_0x162056),_0x1ba7e3=this[_0xee1f72(0x17b)][_0xee1f72(0x18a)](_0x32c9ad),_0x1ae9e0=_0x59391d[_0xee1f72(0x180)](this[_0xee1f72(0x197)],this['_subUnitId'],this[_0xee1f72(0x1a7)]);if(!_0x1ae9e0)return;const _0x776695={'config':_0x1ae9e0,'isChangeDataSource':!0x0,'changeDataSourceInfo':{'groupId':this[_0xee1f72(0x1a7)],'resetType':_0xee1f72(0x16a),'sourceRanges':_0x48782c,'targetRanges':_0x1be21a,'primary':{'startRow':this['_row'],'startColumn':this[_0xee1f72(0x175)],'endRow':this['_row'],'endColumn':this[_0xee1f72(0x175)],'actualRow':this[_0xee1f72(0x172)],'actualColumn':this[_0xee1f72(0x175)],'isMerged':!0x1,'isMergedMainCell':!0x1}}};return _0x1ba7e3[_0xee1f72(0x18c)](_0x530779['id'],_0x776695),this[_0xee1f72(0x172)]=_0x1be21a[0x0][_0xee1f72(0x1a5)],this[_0xee1f72(0x175)]=_0x1be21a[0x0]['startColumn'],this;}[_0x1e5605(0x17c)](){const _0x245d0a=_0x1e5605,_0x12f0e4=this[_0x245d0a(0x17b)][_0x245d0a(0x18a)](_0x32c9ad),_0x22d88e={'isSingle':!0x1,'ranges':[{'startRow':this[_0x245d0a(0x172)],'startColumn':this[_0x245d0a(0x175)],'endRow':this['_row'],'endColumn':this[_0x245d0a(0x175)]}]};_0x12f0e4[_0x245d0a(0x18c)](_0x31a725['id'],_0x22d88e);}[_0x1e5605(0x199)](_0x3fb222){const _0x24db88=_0x1e5605,_0x244e54=this[_0x24db88(0x17b)]['get'](_0x162056)[_0x24db88(0x180)](this[_0x24db88(0x197)],this[_0x24db88(0x196)],this['_groupId']);if(_0x244e54){const _0x2af23e={'config':{'config':_0x3fb222,'sparklines':_0x244e54[_0x24db88(0x191)]},'isChangeDataSource':!0x1};this[_0x24db88(0x17b)]['get'](_0x32c9ad)['syncExecuteCommand'](_0x530779['id'],_0x2af23e);}return this;}};w=J([K(0x5,_0xa5ab47(_0x289db3))],w);function _0x87d5(){const _0x26edf4=['createInstance','_groupId','group','addSparkline','getSheetId','_commandService','25ruWywa','_initialize','executeCommand','getActiveSheet','_row','cancel','SparklineTypeEnum','_col','getSparkline','startColumn','params','Event','onCommandExecuted','_injector','removeSparklineGroup','getSparklineGroupByCell','getSparklineByCell','getValue','getSparklineById','changeDataSource','534942ixLyNW','17412ZLLjDZ','1150AIpnXl','_worksheet','getUnitId','_workbook','registerEventHandler','10grzdfI','get','deepClone','syncExecuteCommand','getSparklineCache','308316JSUrHC','length','23477AlRTea','sparklines','ranges','getAllSubSparkline','SheetSparklineChanged','from','_subUnitId','_unitId','1034oXRGVb','setConfig','69828djyKrN','getId','18279flcJxE','getOwnPropertyDescriptor','extend','add','item','24AVjjlC','range','map','103187ajnKrV','startRow'];_0x87d5=function(){return _0x26edf4;};return _0x87d5();}class L extends _0x2efd6a{[_0x1e5605(0x16b)](_0x571230,_0x1263b7,_0x415c78){const _0xa35a27=_0x1e5605;if(this[_0xa35a27(0x16d)]['syncExecuteCommand'](_0x4fc27c['id'],{'sourceRanges':_0x571230,'targetRanges':_0x1263b7,'targetInfo':{'unitId':this[_0xa35a27(0x187)][_0xa35a27(0x186)](),'subUnitId':this[_0xa35a27(0x185)][_0xa35a27(0x16c)]()},'config':{'type':_0x415c78}})){const {startRow:_0x421ffd,startColumn:_0x4d3117}=_0x1263b7[0x0];return this['getSparklineByCell'](_0x421ffd,_0x4d3117);}}[_0x1e5605(0x193)](){const _0x118817=_0x1e5605;return this[_0x118817(0x17b)][_0x118817(0x18a)](_0x162056)['getSubUnitSparkline'](this[_0x118817(0x187)][_0x118817(0x186)](),this['_worksheet'][_0x118817(0x16c)]());}['composeSparkline'](_0x161324){const _0x29e672=_0x1e5605,_0x161f81=this[_0x29e672(0x17b)][_0x29e672(0x18a)](_0x162056);let _0x51a53d;for(let _0x392ae1=0x0;_0x392ae1<_0x161324[_0x29e672(0x18f)];_0x392ae1++){const _0x70a7d9=_0x161324[_0x392ae1],{startRow:_0xb6c5dd,endRow:_0x279a22,startColumn:_0x50f583,endColumn:_0x1c6744}=_0x70a7d9;for(let _0x55f872=_0xb6c5dd;_0x55f872<=_0x279a22;_0x55f872++)for(let _0x1eb237=_0x50f583;_0x1eb237<=_0x1c6744;_0x1eb237++){const _0x21f71c=_0x161f81[_0x29e672(0x176)](this['_workbook']['getUnitId'](),this[_0x29e672(0x185)]['getSheetId'](),_0x55f872,_0x1eb237);if(_0x21f71c){const _0x510a88=_0x161f81[_0x29e672(0x180)](this[_0x29e672(0x187)][_0x29e672(0x186)](),this[_0x29e672(0x185)][_0x29e672(0x16c)](),_0x21f71c);if(_0x510a88){_0x51a53d=_0x2c64ee[_0x29e672(0x18b)](_0x510a88);break;}}}}_0x51a53d&&this[_0x29e672(0x16d)][_0x29e672(0x170)](_0x530779['id'],{'ranges':_0x161324,'combine':!0x0,'config':_0x51a53d,'isChangeDataSource':!0x1});}['unComposeSparkline'](_0x23aaae){const _0x1d58da=_0x1e5605,_0x4f0ce0=this[_0x1d58da(0x17b)]['get'](_0x162056);let _0x5eca7d;for(let _0x48752a=0x0;_0x48752a<_0x23aaae[_0x1d58da(0x18f)];_0x48752a++){const _0x510a50=_0x23aaae[_0x48752a],{startRow:_0x450de5,endRow:_0x42dbd5,startColumn:_0x30daf4,endColumn:_0x389157}=_0x510a50;for(let _0x175d86=_0x450de5;_0x175d86<=_0x42dbd5;_0x175d86++)for(let _0x4407de=_0x30daf4;_0x4407de<=_0x389157;_0x4407de++){const _0x37d769=_0x4f0ce0['getSparkline'](this[_0x1d58da(0x187)][_0x1d58da(0x186)](),this[_0x1d58da(0x185)][_0x1d58da(0x16c)](),_0x175d86,_0x4407de);if(_0x37d769){const _0x3778cc=_0x4f0ce0[_0x1d58da(0x180)](this['_workbook'][_0x1d58da(0x186)](),this[_0x1d58da(0x185)][_0x1d58da(0x16c)](),_0x37d769);if(_0x3778cc){_0x5eca7d=_0x2c64ee[_0x1d58da(0x18b)](_0x3778cc);break;}}}}_0x5eca7d||this[_0x1d58da(0x16d)][_0x1d58da(0x170)](_0x530779['id'],{'ranges':_0x23aaae,'unCombine':!0x0,'config':_0x5eca7d,'isChangeDataSource':!0x1});}[_0x1e5605(0x17e)](_0xf0e8f9,_0x447349){const _0x2c82e5=_0x1e5605,_0x970c2f=this[_0x2c82e5(0x17b)]['get'](_0x162056),_0x33c4d4=this[_0x2c82e5(0x187)]['getUnitId'](),_0x76f589=this[_0x2c82e5(0x185)][_0x2c82e5(0x16c)](),_0x167610=_0x970c2f[_0x2c82e5(0x176)](_0x33c4d4,_0x76f589,_0xf0e8f9,_0x447349);if(_0x167610)return this[_0x2c82e5(0x17b)][_0x2c82e5(0x1a6)](C,_0x33c4d4,_0x76f589,_0x167610,_0xf0e8f9,_0x447349);}[_0x1e5605(0x17d)](_0x4e551c,_0x53c1e7){const _0x5cd186=_0x1e5605,_0x43fd31=this[_0x5cd186(0x17b)][_0x5cd186(0x18a)](_0x162056),_0x332233=this[_0x5cd186(0x187)][_0x5cd186(0x186)](),_0x676eb0=this[_0x5cd186(0x185)][_0x5cd186(0x16c)](),_0x263608=_0x43fd31[_0x5cd186(0x176)](_0x332233,_0x676eb0,_0x4e551c,_0x53c1e7);if(_0x263608)return this[_0x5cd186(0x17b)]['createInstance'](w,_0x332233,_0x676eb0,_0x263608,_0x4e551c,_0x53c1e7);}}_0x2efd6a['extend'](L);class Q extends _0x2ab083{get[_0x1e5605(0x174)](){return _0x59e2d2;}}_0x2ab083[_0x1e5605(0x19e)](Q);class X extends _0x25c7a0{get[_0x1e5605(0x194)](){return'SheetSparklineChanged';}}_0x25c7a0['extend'](X);function _0x222a(_0x4f1ff6,_0x1b6a6e){const _0x87d573=_0x87d5();return _0x222a=function(_0x222a16,_0x574b6a){_0x222a16=_0x222a16-0x16a;let _0x2cfe9c=_0x87d573[_0x222a16];return _0x2cfe9c;},_0x222a(_0x4f1ff6,_0x1b6a6e);}class Y extends _0xdbdf61{[_0x1e5605(0x16f)](_0x4a19a5){const _0x47e8a5=_0x1e5605,_0x211d07=_0x4a19a5['get'](_0x32c9ad);this[_0x47e8a5(0x188)](this[_0x47e8a5(0x179)][_0x47e8a5(0x194)],()=>_0x211d07[_0x47e8a5(0x17a)](_0x523295=>{const _0x103e25=_0x47e8a5;var _0xe74923,_0x28dfb0;if(_0x523295['id']===_0x530779['id']){const _0x2a7aad=_0x523295[_0x103e25(0x178)];if(!_0x2a7aad['isChangeDataSource']){const _0x14e070=this['getActiveWorkbook'](),_0x26a774=_0x14e070==null?void 0x0:_0x14e070[_0x103e25(0x171)]();if(!_0x14e070||!_0x26a774)return;const _0x5402f1=_0x14e070[_0x103e25(0x19b)](),_0xee2ad4=_0x26a774['getSheetId'](),_0x26d898=this[_0x103e25(0x17b)][_0x103e25(0x18a)](_0x28681d),_0x190b80=this[_0x103e25(0x17b)][_0x103e25(0x18a)](_0x162056),_0x4106d6=(_0xe74923=_0x2a7aad==null?void 0x0:_0x2a7aad[_0x103e25(0x192)])!=null?_0xe74923:_0x26d898['getCurrentSelections']()['map'](_0x217d48=>_0x217d48[_0x103e25(0x1a2)]),_0x58995d=(_0x28dfb0=_0x190b80[_0x103e25(0x18d)]()['sparklineAnchorMap'][_0x103e25(0x18a)](_0x5402f1))==null?void 0x0:_0x28dfb0[_0x103e25(0x18a)](_0xee2ad4),_0x58da87=new Set();_0x4106d6['forEach'](_0x37f1d0=>{const _0xa2d08e=_0x103e25;var _0x1c22b0;const {startRow:_0xfca17d,endRow:_0x1274a2,startColumn:_0x1bda54,endColumn:_0x33780a}=_0x37f1d0;for(let _0x265b57=_0xfca17d;_0x265b57<=_0x1274a2;_0x265b57++)for(let _0x42a26c=_0x1bda54;_0x42a26c<=_0x33780a;_0x42a26c++){const _0x34973b=(_0x1c22b0=_0x58995d==null?void 0x0:_0x58995d['matrix'][_0xa2d08e(0x17f)](_0x265b57,_0x42a26c))==null?void 0x0:_0x1c22b0['groupId'];_0x34973b&&_0x58da87[_0xa2d08e(0x19f)](_0x34973b);}});const _0x2b2067=Array[_0x103e25(0x195)](_0x58da87)[_0x103e25(0x1a3)](_0x446d76=>_0x190b80[_0x103e25(0x180)](_0x5402f1,_0xee2ad4,_0x446d76))['filter'](_0x1a28c1=>!!_0x1a28c1),_0x5bfe59={'workbook':_0x14e070,'worksheet':_0x26a774,'sparklines':_0x2b2067};if(this['fireEvent'](this['Event'][_0x103e25(0x194)],_0x5bfe59),_0x5bfe59[_0x103e25(0x173)])throw new Error('Sheet\x20create\x20canceled\x20by\x20facade\x20api.');}}}));}}_0xdbdf61[_0x1e5605(0x19e)](Y);export{C as FSparkline,w as FSparklineGroup};