@univerjs-pro/sheets-pivot 0.8.0-nightly.202506011606 → 0.8.0-nightly.202506021607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x84255b=_0x2084;(function(_0x3f407a,_0x50b04d){const _0x2e82c6=_0x2084,_0x5c8501=_0x3f407a();while(!![]){try{const _0x367b9a=-parseInt(_0x2e82c6(0x249))/0x1+-parseInt(_0x2e82c6(0x1fb))/0x2*(-parseInt(_0x2e82c6(0x446))/0x3)+parseInt(_0x2e82c6(0x25d))/0x4+-parseInt(_0x2e82c6(0x280))/0x5*(-parseInt(_0x2e82c6(0x410))/0x6)+-parseInt(_0x2e82c6(0x28c))/0x7*(-parseInt(_0x2e82c6(0x445))/0x8)+parseInt(_0x2e82c6(0x2b9))/0x9*(parseInt(_0x2e82c6(0x2fe))/0xa)+-parseInt(_0x2e82c6(0x2eb))/0xb;if(_0x367b9a===_0x50b04d)break;else _0x5c8501['push'](_0x5c8501['shift']());}catch(_0x2c5a5b){_0x5c8501['push'](_0x5c8501['shift']());}}}(_0x4ce2,0x824a7));var an=Object[_0x84255b(0x1fd)],rn=(_0x31facc,_0x27f6da,_0x585c2f)=>_0x27f6da in _0x31facc?an(_0x31facc,_0x27f6da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x585c2f}):_0x31facc[_0x27f6da]=_0x585c2f,V=(_0x48fa07,_0x59f7fc,_0x97d872)=>rn(_0x48fa07,typeof _0x59f7fc!=_0x84255b(0x1f5)?_0x59f7fc+'':_0x59f7fc,_0x97d872);import{PivotCellStyleTypeEnum as _0xc084c2,PivotViewCellValueTypeEnum as _0x2545ec,isPrefixValue as _0x4af3c5,isErrorValue as _0x56c787,PivotErrorTypeEnum as _0x5dc93a,PivotDateGroupFieldDateTypeEnum as _0x451ebe,DataFieldManager as _0x1fe3aa,FieldsCollection as _0x5253bc,isDateValue as _0x4edfc3,DataField as _0x5aebc9,generateHexNumber as _0x191751,isBaseGroupField as _0x1a0de8,PivotTable as _0x22ffa2,PivotSubtotalTypeEnum as _0x4f8d16,PivotTableFiledAreaEnum as _0xb32ca5,excelDateToUnixMilliseconds as _0x241c5e,createValueField as _0x11c6ce,createLabelField as _0x5439be,PivotTableChangeTypeEnum as _0x5046fe,BaseGroupField as _0x12cca2,PivotView as _0x272549,isDateGroupFieldJSON as _0x5659f6,PivotCallbackEnum as _0x362ee8,PivotFilterTypeEnum as _0x2162e1,getAutoDisplayName as _0x2cab91,PivotDataFieldDataTypeEnum as _0x4359bf,PivotTableValuePositionEnum as _0x23ab4b,isDateGroupField as _0x338b21,DateGroupField as _0x412f85}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x4eb9f6,ObjectMatrix as _0x3fd261,IUniverInstanceService as _0x30a6c3,UniverInstanceType as _0x3b8577,CellValueType as _0x5d645c,numfmt as _0x33da8b,LocaleService as _0x40a013,createAsyncInterceptorKey as _0x361884,createInterceptorKey as _0x319f09,CommandType as _0x156015,RANGE_TYPE as _0x1cff9,numberToABC as _0x1bcb61,Inject as _0x2459bd,Injector as _0x1034ce,LifecycleService as _0x2deb85,IConfigService as _0x4b6507,ICommandService as _0x324b30,IResourceManagerService as _0x3d6f2a,Disposable as _0x439fd3,Rectangle as _0x2898d2,Tools as _0x1a2dac,AsyncInterceptorManager as _0x3cab1b,InterceptorManager as _0x576008,InterceptorEffectEnum as _0x329818,CustomCommandExecutionError as _0x48c654,IUndoRedoService as _0x48b106,sequenceExecute as _0x3c8c36,mergeWorksheetSnapshotWithDefault as _0x369d4f,generateRandomId as _0x23877c,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x377803,DEFAULT_WORKSHEET_ROW_COUNT as _0x94842b,DisposableCollection as _0x16f7ac,Range as _0x483723,DependentOn as _0x3d4d65,Optional as _0x1c35d6,Plugin as _0x22ddd7,merge as _0x2fbc57}from'@univerjs/core';import{ErrorType as _0x5d460e,serializeRangeWithSpreadsheet as _0x55b36a,IFeatureCalculationManagerService as _0x5e44ce,GlobalComputingStatusService as _0x46a17b,IActiveDirtyManagerService as _0xb6ac72}from'@univerjs/engine-formula';import{generateNullCell as _0x5a652b,SetRangeValuesUndoMutationFactory as _0x34a85b,SetRangeValuesMutation as _0x6311eb,getSheetCommandTarget as _0x2d749e,InsertRowMutation as _0xfd2d5d,RemoveRowMutation as _0x58e78d,InsertColMutation as _0x4ee679,RemoveColMutation as _0x45b872,IExclusiveRangeService as _0x3709bd,SheetInterceptorService as _0x1baed7,INTERCEPTOR_POINT as _0x2e1ff8,InsertSheetCommand as _0x58df55,InsertSheetUndoMutationFactory as _0x36672c,RemoveSheetMutation as _0x269a9a,InsertSheetMutation as _0x1356ad,MoveRangeMutation as _0x36753e,SheetsSelectionsService as _0x13c7f6,ClearSelectionContentCommand as _0x362d44,ClearSelectionAllCommand as _0x58f2f2,SetWorksheetColWidthMutation as _0x24d0ac,RefRangeService as _0xbdbc72,SetWorksheetActiveOperation as _0x45a83c,MoveRangeCommand as _0x4fd1bf,RemoveSheetCommand as _0x3f3883}from'@univerjs/sheets';import{Subject as _0x9f9f60,BehaviorSubject as _0x32efda}from'rxjs';import{LS_CONFIG_KEY as _0x37848f,unshiftString as _0x558d94,isFeatureAuthorizedWithinTime as _0x1df781,getSheetFeatureLimit as _0x23ef31,ReleaseType as _0x541de4,UniverLicensePlugin as _0x486f5f}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x4aa210,RemoveSheetsFilterMutation as _0x54d222}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x10f04b}from'@univerjs/rpc';import{getFontStyleString as _0x5d9ec4,FontCache as _0x354208}from'@univerjs/engine-render';const ko=Number[_0x84255b(0x2d5)](0x683c7b79),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,di='rgb(240,241,243)',ci=_0x84255b(0x316),wt=_0x84255b(0x371),ui=_0x84255b(0x2af),fi=_0x84255b(0x2af),gi=_0x84255b(0x258),hi=_0x84255b(0x40b),vi=_0x84255b(0x219),pi=_0x84255b(0x350),mi=_0x84255b(0x40b),Ii=_0x84255b(0x219),Ci=_0x84255b(0x25c),bi=0xe,Si=0x6;var Lo=(_0x45a814=>(_0x45a814[_0x84255b(0x2f8)]='existing',_0x45a814[_0x84255b(0x3b4)]=_0x84255b(0x2c4),_0x45a814))(Lo||{});const Bo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,je={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':je,'vt':0x2}};function Ti(_0x4b7f00,_0x59dd8d,_0x54728e){const _0x427a15=_0x84255b,_0x387b96=_0x4b7f00[_0x427a15(0x250)](_0x40a013),_0x5ed535=_0x54728e[_0x427a15(0x427)]('_');switch(_0x59dd8d){case _0x451ebe[_0x427a15(0x395)]:return _0x387b96['t'](_0x427a15(0x35b),..._0x5ed535);case _0x451ebe[_0x427a15(0x36d)]:return _0x387b96['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x5ed535);case _0x451ebe[_0x427a15(0x33a)]:return _0x387b96['t'](_0x427a15(0x314),..._0x5ed535);case _0x451ebe[_0x427a15(0x1d5)]:return _0x387b96['t'](_0x427a15(0x41e),..._0x5ed535);case _0x451ebe[_0x427a15(0x2a6)]:return _0x387b96['t'](_0x427a15(0x3dd),..._0x5ed535);case _0x451ebe[_0x427a15(0x235)]:return _0x387b96['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x5ed535);case _0x451ebe[_0x427a15(0x27d)]:return _0x387b96['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x5ed535);case _0x451ebe['YearMonth']:return _0x387b96['t'](_0x427a15(0x435),..._0x5ed535);case _0x451ebe['YearMonthDate']:return _0x387b96['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x5ed535);case _0x451ebe['YearQuarter']:return _0x387b96['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x5ed535);}return'';}const it=(_0x2d64eb,_0x344e85,_0x1fa7c7,_0x243dee)=>{const _0x25f5a6=_0x84255b;let _0x207a50;const _0x4846af=_0x2d64eb[_0x25f5a6(0x250)](_0x30a6c3)[_0x25f5a6(0x20c)](_0x3b8577[_0x25f5a6(0x2ae)]);if(!_0x4846af)return null;const _0x370d95=_0x4846af[_0x25f5a6(0x204)]();let _0xb64279;if(_0x1fa7c7&&(_0xb64279=_0x370d95[_0x25f5a6(0x29c)](_0x1fa7c7)),_0x344e85!=null&&_0x344e85['v']||(_0x344e85==null?void 0x0:_0x344e85['v'])===0x0){_0x207a50||(_0x207a50={});const _0x2b2bf4=$o(_0x344e85['v']);typeof _0x2b2bf4==_0x25f5a6(0x3bc)?_0x207a50['t']=_0x5d645c['NUMBER']:typeof _0x2b2bf4==_0x25f5a6(0x23c)&&(_0x207a50['t']=_0x5d645c[_0x25f5a6(0x43d)]),_0x207a50['v']=_0x2b2bf4;}if((_0x344e85!=null&&_0x344e85['i']||(_0x344e85==null?void 0x0:_0x344e85['i'])===0x0)&&(_0x207a50||(_0x207a50={}),_0x207a50['fi']=_0x344e85['i']),_0x344e85!=null&&_0x344e85['s']&&(_0x207a50||(_0x207a50={}),_0x207a50[_0x25f5a6(0x2f5)]=_0x344e85['s']),_0x1fa7c7&&(_0x207a50||(_0x207a50={}),_0x207a50['s']=_0xb64279),_0x243dee&&_0x207a50!=null&&_0x207a50['v']&&_0x207a50[_0x25f5a6(0x2f5)]!==_0xc084c2[_0x25f5a6(0x267)]&&_0x207a50[_0x25f5a6(0x2f5)]!==_0xc084c2['Subtotal']){const _0x353faf=String(_0x207a50['v']),{dateType:_0x43e55d}=_0x243dee;_0x207a50['v']=Ti(_0x2d64eb,_0x43e55d,_0x353faf),_0x207a50['t']=_0x5d645c[_0x25f5a6(0x43d)];}return _0x207a50;},yi=(_0x2e7bcb,_0x1e85b9,_0x3c65eb,_0x140fd9)=>{const _0x38c7bc=_0x84255b;var _0x43be7e,_0x133d54,_0x14ee81,_0x3c3b66,_0x53b909,_0x4df5fb,_0x399226,_0x22085e,_0x36f956,_0x296c8d,_0x1ca59b,_0x5b41b5,_0x5571d2,_0x24a2a7;const _0x297296=_0x3c65eb[_0x38c7bc(0x2e0)],{cornerView:_0x525bcd,rowView:_0x596fe4,colView:_0x246b74,dataView:_0x3ff980,pageView:_0x1d4e5b,formatMap:_0x49038e,groupInfo:_0x4c2640}=_0x1e85b9,{row:_0xc75c78,col:_0x534bdd}=_0x297296,_0x5b05b0=new _0x3fd261(),_0x1fb6b5={},_0x2bba99={},_0x5b3e1b={},_0x1b4b87={},_0x3017da={};let _0x2ac903=_0xc75c78,_0x2c53ff=_0x534bdd;Object['keys'](_0x1d4e5b[_0x38c7bc(0x308)])[_0x38c7bc(0x447)](_0x2d6782=>{const _0x563c78=_0x38c7bc;Object[_0x563c78(0x275)](_0x1d4e5b[_0x563c78(0x308)][Number(_0x2d6782)])[_0x563c78(0x447)](_0x2debc3=>{const _0x23cae9=_0x563c78,_0x5cc2a9={..._0x1d4e5b[_0x23cae9(0x308)][Number(_0x2d6782)][Number(_0x2debc3)]};_0x5b05b0['setValue'](Number(_0x2d6782)+_0x2ac903,Number(_0x2debc3)+_0x2c53ff,it(_0x2e7bcb,_0x5cc2a9,fe[_0x23cae9(0x1c9)]));});});const _0x1a764e=Object[_0x38c7bc(0x275)](_0x1d4e5b['data'])[_0x38c7bc(0x321)];_0x2ac903+=_0x1a764e+(_0x1a764e?It:0x0);const _0xa3ad15=_0x525bcd[_0x38c7bc(0x207)](),_0x4786b3=_0x525bcd[_0x38c7bc(0x41f)]();for(let _0x211826=0x0;_0x211826<_0xa3ad15;_0x211826++)for(let _0x58c9bb=0x0;_0x58c9bb<_0x4786b3;_0x58c9bb++){const _0x223d09={...(_0x133d54=(_0x43be7e=_0x525bcd[_0x38c7bc(0x308)])==null?void 0x0:_0x43be7e[_0x211826])==null?void 0x0:_0x133d54[_0x58c9bb]};_0x223d09&&((_0x14ee81=_0x596fe4[_0x38c7bc(0x1ff)][_0x58c9bb])!=null&&_0x14ee81['isValue'])&&_0x58c9bb===_0x4786b3-0x1&&_0x211826===_0xa3ad15-0x1&&(_0x223d09['v']=''+_0x140fd9[_0x38c7bc(0x3ba)]),_0x5b05b0['setValue'](_0x211826+_0x2ac903,_0x58c9bb+_0x2c53ff,it(_0x2e7bcb,_0x223d09,fe['cornerStyle']));}for(let _0x77ed81=0x0;_0x77ed81<_0x525bcd[_0x38c7bc(0x272)][_0x38c7bc(0x321)];_0x77ed81++)_0x525bcd[_0x38c7bc(0x272)][_0x77ed81]&&(_0x5b3e1b[''+(_0x77ed81+_0x2c53ff)]=_0x525bcd[_0x38c7bc(0x272)][_0x77ed81]);_0x2c53ff+=_0x4786b3;const _0x2202fd=_0x246b74['headerMap'],_0x554484=_0x246b74['getLastRow']()>=0x0?_0x246b74[_0x38c7bc(0x29b)]()+0x1:0x0,_0x473f6b=_0x246b74[_0x38c7bc(0x352)]()>=0x0?_0x246b74[_0x38c7bc(0x352)]()+0x1:0x0;for(let _0x587e03=0x0;_0x587e03<_0x473f6b;_0x587e03++){for(let _0x4ac984=0x0;_0x4ac984<_0x554484;_0x4ac984++){const _0x3b53e5={...(_0x53b909=(_0x3c3b66=_0x246b74[_0x38c7bc(0x308)])==null?void 0x0:_0x3c3b66[_0x4ac984])==null?void 0x0:_0x53b909[_0x587e03]},_0xd1f3ab=(_0x4df5fb=_0x2202fd[_0x4ac984])==null?void 0x0:_0x4df5fb['tableFieldId'],_0x2bda29=_0x49038e[_0xd1f3ab],_0x1137bb=_0x4c2640[_0xd1f3ab];_0x3b53e5&&(_0x3b53e5['v']=vt(_0x3b53e5,_0x4ac984===0x0&&((_0x399226=_0x246b74['getHeaderMapItem'](_0x587e03+0x1))==null?void 0x0:_0x399226['isValue']),_0x2bda29,_0x140fd9));let _0x1aec9a;_0x2bda29?_0x1aec9a={...fe[_0x38c7bc(0x40a)],'n':{'pattern':_0x2bda29}}:_0x1aec9a={...fe['colStyle']},_0x5b05b0[_0x38c7bc(0x29c)](_0x4ac984+_0x2ac903,_0x587e03+_0x2c53ff,it(_0x2e7bcb,_0x3b53e5,_0x1aec9a,_0x1137bb));}_0x246b74['info'][_0x587e03]&&(_0x2bba99[''+(_0x587e03+_0x2c53ff)]=_0x246b74['info'][_0x587e03]),_0x246b74['headerMap'][_0x587e03+0x1]&&(_0x3017da[''+(_0x587e03+_0x2ac903+0x1)]=_0x246b74[_0x38c7bc(0x1ff)][_0x587e03+0x1]);}_0x2ac903+=_0xa3ad15;const _0x9ab669=_0x596fe4[_0x38c7bc(0x1ff)],_0x1a0538=_0x596fe4[_0x38c7bc(0x29b)]()>=0x0?_0x596fe4[_0x38c7bc(0x29b)]()+0x1:0x0,_0x44010b=_0x596fe4[_0x38c7bc(0x352)]()>=0x0?_0x596fe4[_0x38c7bc(0x352)]()+0x1:0x0;for(let _0x177f76=0x0;_0x177f76<_0x1a0538;_0x177f76++){for(let _0x3d7e7a=0x0;_0x3d7e7a<_0x44010b;_0x3d7e7a++){const _0x3591a1={...(_0x36f956=(_0x22085e=_0x596fe4[_0x38c7bc(0x308)])==null?void 0x0:_0x22085e[_0x177f76])==null?void 0x0:_0x36f956[_0x3d7e7a]},_0x330d9b=(_0x296c8d=_0x9ab669[_0x3d7e7a])==null?void 0x0:_0x296c8d[_0x38c7bc(0x33f)],_0x219112=_0x49038e[_0x330d9b],_0x5d79b4=_0x4c2640[_0x330d9b];_0x3591a1&&(_0x3591a1['v']=vt(_0x3591a1,!0x1,_0x219112,_0x140fd9));let _0x48c69f;_0x596fe4[_0x38c7bc(0x272)][_0x177f76][_0x38c7bc(0x1e3)]===_0x596fe4['getColCount']()?_0x48c69f=fe[_0x38c7bc(0x289)]:_0x596fe4[_0x38c7bc(0x272)][_0x177f76]['isBottomTotal']?_0x48c69f=_0x596fe4[_0x38c7bc(0x272)][_0x177f76][_0x38c7bc(0x1e3)]===0x0?fe[_0x38c7bc(0x370)]:fe[_0x38c7bc(0x2db)]:_0x48c69f=fe['rowStyle'],_0x219112&&(_0x48c69f={..._0x48c69f,'n':{'pattern':_0x219112}}),_0x5b05b0['setValue'](_0x177f76+_0x2ac903,_0x3d7e7a+_0x534bdd,it(_0x2e7bcb,_0x3591a1,_0x48c69f,_0x5d79b4));}_0x596fe4[_0x38c7bc(0x272)][_0x177f76]&&(_0x1fb6b5[''+(_0x177f76+_0x2ac903)]=_0x596fe4['info'][_0x177f76]),_0x596fe4[_0x38c7bc(0x1ff)][_0x177f76]&&(_0x1b4b87[''+(_0x177f76+_0x534bdd)]=_0x596fe4[_0x38c7bc(0x1ff)][_0x177f76]);}const _0x3f17bc=_0x3ff980[_0x38c7bc(0x207)](),_0x4c7f4e=_0x3ff980[_0x38c7bc(0x41f)]();for(let _0x5d0340=0x0;_0x5d0340<_0x3f17bc;_0x5d0340++)for(let _0x4dfdb8=0x0;_0x4dfdb8<_0x4c7f4e;_0x4dfdb8++){const _0x1397fc={...(_0x5b41b5=(_0x1ca59b=_0x3ff980['data'])==null?void 0x0:_0x1ca59b[_0x5d0340])==null?void 0x0:_0x5b41b5[_0x4dfdb8]};let _0x20dda7;_0x596fe4[_0x38c7bc(0x272)][_0x5d0340][_0x38c7bc(0x3f5)]?_0x20dda7=_0x596fe4[_0x38c7bc(0x272)][_0x5d0340]['level']===0x0?fe[_0x38c7bc(0x370)]:fe[_0x38c7bc(0x2db)]:_0x20dda7=fe[_0x38c7bc(0x1e7)];const _0x4a9a5=_0x596fe4['info'][_0x5d0340][_0x38c7bc(0x3c8)],_0x11b8ec=_0x246b74[_0x38c7bc(0x272)][_0x4dfdb8][_0x38c7bc(0x3c8)],_0x143bad=Math[_0x38c7bc(0x42f)](_0x4a9a5,_0x11b8ec),_0x504da9=_0x3c65eb[_0x38c7bc(0x1cf)][_0x38c7bc(0x42c)][_0x38c7bc(0x3d8)]();let _0x28d83b='';_0x143bad<0x0?_0x28d83b=(_0x5571d2=_0x504da9[0x0])!=null?_0x5571d2:'':_0x28d83b=(_0x24a2a7=_0x504da9[_0x143bad])!=null?_0x24a2a7:'';const _0x17abce=_0x49038e[_0x28d83b];_0x17abce&&(_0x20dda7={..._0x20dda7,'n':{'pattern':_0x17abce}}),_0x5b05b0['setValue'](_0x5d0340+_0x2ac903,_0x4dfdb8+_0x2c53ff,it(_0x2e7bcb,_0x1397fc,_0x20dda7));}return{'valueMatrix':_0x5b05b0,'rowInfo':_0x1fb6b5,'colInfo':_0x2bba99,'cornerInfo':_0x5b3e1b,'rowHeaderMap':_0x1b4b87,'colHeaderMap':_0x3017da};};function vt(_0xc8a2e6,_0x1a2050,_0x5a1e03,_0x56e19e){const _0x46cb91=_0x84255b;let _0x8b755a=_0xc8a2e6['v'];_0x1a2050&&(_0x8b755a=''+_0x56e19e['sheets-pivot.value']);const _0x34a6b5=_0xc8a2e6['t']&&(_0xc8a2e6['t']&_0x2545ec[_0x46cb91(0x24f)])>0x0;if(_0x34a6b5&&(_0x8b755a=''+_0x56e19e[_0x46cb91(0x2c6)]),_0xc8a2e6['s']===_0xc084c2[_0x46cb91(0x1d9)]){let _0x3b4713=_0x8b755a,_0x267ba3='';_0x4af3c5(_0x8b755a)&&(_0x3b4713=_0x8b755a[_0x46cb91(0x3a4)],_0x267ba3=_0x8b755a[_0x46cb91(0x2cf)]);const _0x3e9b76=_0x5a1e03&&!_0x34a6b5?_0x33da8b[_0x46cb91(0x32e)](_0x5a1e03,Number(_0x3b4713)):_0x3b4713;_0x267ba3?_0x8b755a=_0x3e9b76+'\x20'+_0x267ba3:_0x8b755a=_0x3e9b76+'\x20'+_0x56e19e[_0x46cb91(0x32d)];}else _0xc8a2e6['s']===_0xc084c2[_0x46cb91(0x267)]&&(_0x8b755a=_0x8b755a+'\x20'+_0x56e19e[_0x46cb91(0x2cd)]);return _0x8b755a;}function $o(_0x5f0ef9){const _0x5ca5a2=_0x84255b;if(_0x56c787(_0x5f0ef9)){const {errorType:_0x4ac680}=_0x5f0ef9;switch(_0x4ac680){case _0x5dc93a['Div0']:return _0x5d460e[_0x5ca5a2(0x24c)];case _0x5dc93a[_0x5ca5a2(0x255)]:return _0x5d460e[_0x5ca5a2(0x384)];case _0x5dc93a['NotFunction']:return _0x5d460e[_0x5ca5a2(0x423)];case _0x5dc93a['NotName']:return _0x5d460e[_0x5ca5a2(0x423)];case _0x5dc93a[_0x5ca5a2(0x245)]:return _0x5d460e[_0x5ca5a2(0x426)];}}return _0x5f0ef9;}function ge(_0xd4866c,_0x1e3f56,_0xe9bde8=!0x1,_0x11499d=!0x1){const _0x353ad2=_0x84255b,{data:_0x50d862}=_0x1e3f56,_0x13214a=_0x1e3f56[_0x353ad2(0x207)](),_0xbdb547=_0x1e3f56[_0x353ad2(0x41f)]();if(_0x13214a<=0x0||_0xbdb547<=0x0)return[];const _0x37d42a=_0x1e3f56['getLastCol'](),_0x474935=_0x1e3f56[_0x353ad2(0x29b)](),_0x34287f=_0x11499d?_0x474935>=0x0?_0x474935+0x1:0x0:_0x13214a,_0x3b568a=_0x11499d?_0x37d42a>=0x0?_0x37d42a+0x1:0x0:_0xbdb547,{row:_0xb1267a,col:_0x3baed6}=_0xd4866c,_0x3349e=_0xb1267a,_0x44d68c=_0x3baed6;if(_0xe9bde8){const _0x14d377=[];for(const [_0x10cbf6,_0x3aeadd]of Object[_0x353ad2(0x3ef)](_0x50d862))for(const [_0x23cc60,_0x425315]of Object[_0x353ad2(0x3ef)](_0x3aeadd))_0x14d377[_0x353ad2(0x1f7)](_0x4eb9f6(_0x3349e+Number(_0x10cbf6),_0x44d68c+Number(_0x23cc60)));return _0x14d377;}else{const _0x1318a7=_0x11499d?_0x34287f>0x0?0x1:0x0:0x1,_0x3a7667=_0x11499d?_0x3b568a>0x0?0x1:0x0:0x1,_0x5b31ea=_0xb1267a+_0x34287f-_0x1318a7,_0x4a90a1=_0x3baed6+_0x3b568a-_0x3a7667;return[{'startRow':_0x3349e,'startColumn':_0x44d68c,'endRow':_0x5b31ea,'endColumn':_0x4a90a1}];}}const q='SHEET_PIVOT_IN_MAIN_THREAD',Lt=_0x84255b(0x329);var k=(_0x942321=>(_0x942321[_0x84255b(0x2c5)]=_0x84255b(0x422),_0x942321[_0x84255b(0x1cb)]='panel',_0x942321[_0x84255b(0x212)]=_0x84255b(0x385),_0x942321[_0x84255b(0x21c)]=_0x84255b(0x21c),_0x942321[_0x84255b(0x2d8)]='addPivotTable',_0x942321[_0x84255b(0x3f8)]=_0x84255b(0x330),_0x942321['RemovePivotField']=_0x84255b(0x3da),_0x942321['SetPivotCollapse']=_0x84255b(0x2d9),_0x942321[_0x84255b(0x27f)]=_0x84255b(0x1e8),_0x942321[_0x84255b(0x35a)]=_0x84255b(0x30c),_0x942321[_0x84255b(0x443)]='setPivotSetting',_0x942321[_0x84255b(0x1d0)]=_0x84255b(0x3fa),_0x942321['UpdateValuePosition']=_0x84255b(0x1fa),_0x942321[_0x84255b(0x1db)]=_0x84255b(0x1f4),_0x942321['SetValuePivotFilter']='setValuePivotFilter',_0x942321[_0x84255b(0x406)]=_0x84255b(0x28d),_0x942321[_0x84255b(0x3f0)]=_0x84255b(0x3e6),_0x942321))(k||{});function _0x2084(_0x37cffb,_0x292aae){const _0x4ce22c=_0x4ce2();return _0x2084=function(_0x208473,_0x26266e){_0x208473=_0x208473-0x1c9;let _0x4e3d4b=_0x4ce22c[_0x208473];return _0x4e3d4b;},_0x2084(_0x37cffb,_0x292aae);}const Mi={'sheets-pivot.blankValue':_0x84255b(0x276),'sheets-pivot.columnName':_0x84255b(0x393),'sheets-pivot.subTotalText':_0x84255b(0x1d2),'sheets-pivot.grandTotalText':_0x84255b(0x292),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x84255b(0x345),'sheets-pivot.countNumsName':_0x84255b(0x345),'sheets-pivot.maxName':_0x84255b(0x291),'sheets-pivot.minName':_0x84255b(0x2a5),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x84255b(0x25b),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x84255b(0x1dd),'sheets-pivot.varpName':_0x84255b(0x23e),'sheets-pivot.subTotal':_0x84255b(0x1d9),'sheets-pivot.grandTotal':_0x84255b(0x292),'sheets-pivot.value':_0x84255b(0x2cf),'sheets-pivot.blank':_0x84255b(0x24f),'sheets-pivot.emptyPivot.filter':_0x84255b(0x2c5),'sheets-pivot.emptyPivot.row':_0x84255b(0x3af),'sheets-pivot.emptyPivot.column':_0x84255b(0x3db),'sheets-pivot.emptyPivot.values':'Values'},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x361884(_0x84255b(0x23d)),Go=_0x319f09(_0x84255b(0x257));var Be=(_0x11c3a1=>(_0x11c3a1[_0x84255b(0x399)]=_0x84255b(0x399),_0x11c3a1[_0x84255b(0x3b7)]=_0x84255b(0x3b7),_0x11c3a1[_0x84255b(0x3a3)]=_0x84255b(0x3a3),_0x11c3a1))(Be||{}),$=(_0x51cc29=>(_0x51cc29[_0x84255b(0x2c9)]=_0x84255b(0x399),_0x51cc29[_0x84255b(0x31e)]=_0x84255b(0x26a),_0x51cc29['Delete']=_0x84255b(0x3b7),_0x51cc29))($||{});const Jo={0x0:'R',0x1:'M',0x2:'i',0x3:'b',0x4:'O',0x5:'V',0x6:'7',0x7:'d',0x8:'8',0x9:'E','e':'0','P':'1','A':'2','r':'3','v':'4','c':'5','N':'6','W':'9','u':'a','a':'c','h':'e','n':'f','q':'g','z':'h','f':'j','C':'k','T':'l','K':'m','b':'n','s':'o','H':'p','y':'q','d':'r','l':'s','U':'t','G':'u','m':'v','M':'w','E':'x','Q':'y','g':'z','D':'A','S':'B','t':'C','k':'D','j':'F','p':'G','Y':'H','V':'I','J':'J','w':'K','o':'L','O':'N','X':'P','R':'Q','L':'S','i':'T','Z':'U','x':'W','I':'X','F':'Y','B':'Z'},Wo=_0x84255b(0x2a8),ro={'type':_0x156015[_0x84255b(0x327)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},lo={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x3ff),'handler':()=>!0x0},Dt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x3ea),'handler':()=>!0x0},co={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x311),'handler':()=>!0x0},uo={'type':_0x156015['MUTATION'],'id':_0x84255b(0x3bb),'handler':()=>!0x0},wi=_0x465e9a=>{const _0x28d9a5=_0x84255b;var _0x2c92b7;return((_0x2c92b7=_0x465e9a[_0x28d9a5(0x43e)])==null?void 0x0:_0x2c92b7[_0x28d9a5(0x3a2)][_0x28d9a5(0x39e)](/\r\n$/,''))||'';};class _i extends _0x1fe3aa{constructor(_0x9d007b,_0x47162d){const _0x3027a2=_0x84255b;super(),V(this,_0x3027a2(0x230),{}),V(this,_0x3027a2(0x20e)),V(this,_0x3027a2(0x304)),(this['_univerInstanceService']=_0x47162d,this['_host']=_0x9d007b);}[_0x84255b(0x351)](){const _0x1bd06c=_0x84255b;for(const _0x161c86 in this[_0x1bd06c(0x3a1)]){const _0x1443d1=this[_0x1bd06c(0x3a1)][_0x161c86],_0x42dc79=_0x1443d1[_0x1bd06c(0x31a)]();this[_0x1bd06c(0x230)][_0x42dc79]=_0x1443d1[_0x1bd06c(0x425)]();}}[_0x84255b(0x424)](){const _0x2771a4=_0x84255b,_0x1def15=this[_0x2771a4(0x304)];return Ei[_0x2771a4(0x279)](_0x1def15);}[_0x84255b(0x41c)](_0x4ef77a){const _0x25afb6=_0x84255b,_0x32bee6=this[_0x25afb6(0x3a1)][_0x4ef77a][_0x25afb6(0x42d)];delete this[_0x25afb6(0x3a1)][_0x4ef77a],delete this[_0x25afb6(0x230)][_0x32bee6];}[_0x84255b(0x2df)](_0x456d42){const _0x2b2c5b=_0x84255b;this[_0x2b2c5b(0x3a1)][_0x456d42[_0x2b2c5b(0x425)]()]=_0x456d42;}[_0x84255b(0x236)](_0x51e60e){const _0x7bcc89=_0x84255b;var _0x2c4f9e,_0xf5db59;const _0x422033=this[_0x7bcc89(0x304)][_0x7bcc89(0x41a)](_0x51e60e);if(_0x422033){const {unitId:_0x16b2cf,subUnitId:_0x78e6ad}=_0x422033,_0x534304=(_0x2c4f9e=this[_0x7bcc89(0x304)][_0x7bcc89(0x3f4)](_0x16b2cf,_0x78e6ad,_0x51e60e))==null?void 0x0:_0x2c4f9e[_0x7bcc89(0x208)];this[_0x7bcc89(0x304)][_0x7bcc89(0x318)]({'token':_0x51e60e,'type':Be['delete'],'dataRangeInfo':_0x534304});}(_0xf5db59=this[_0x7bcc89(0x414)](_0x51e60e))==null||_0xf5db59[_0x7bcc89(0x3d7)](),delete this[_0x7bcc89(0x264)][_0x51e60e];}[_0x84255b(0x31a)](_0x2292f9,_0x53a39b){const {sheetName:_0x26c707,unitId:_0x23bff2,range:_0x501e43}=_0x2292f9,{startRow:_0x296848,endRow:_0x34e399}=_0x501e43;return _0x55b36a(_0x23bff2,_0x26c707,{'startRow':_0x296848,'endRow':_0x34e399,'startColumn':_0x53a39b,'endColumn':_0x53a39b});}['getDataFieldByRangeKey'](_0x11c8a4){return this['dataFields'][this['rangeKeyMap'][_0x11c8a4]];}[_0x84255b(0x36b)](_0x5c9c5f,_0x545b83){this['rangeKeyMap'][_0x5c9c5f]=_0x545b83;}[_0x84255b(0x336)](_0x178cbd,_0x2a13de){const _0x3c1401=_0x84255b;this[_0x3c1401(0x230)][_0x2a13de]=this['rangeKeyMap'][_0x178cbd],delete this[_0x3c1401(0x230)][_0x178cbd];}[_0x84255b(0x21e)](_0x2195dc,_0x390ff9,_0x790b73,_0x5c5c4b){const _0x407657=_0x84255b,_0x585087=new _0x5253bc(this);_0x585087['fromJSON'](_0x390ff9);const _0x3df13e=[];let _0x4ef770=0x0;for(const _0x23d121 of _0x585087[_0x407657(0x223)]){const _0x403275=this[_0x407657(0x31a)](_0x790b73,_0x4ef770),_0xa60931=this[_0x407657(0x3a1)][_0x23d121];_0xa60931&&(_0xa60931[_0x407657(0x42d)]=_0x403275,this[_0x407657(0x36b)](_0x403275,_0x23d121),_0x3df13e[_0x407657(0x1f7)]({'index':_0x4ef770,'dataField':_0xa60931})),_0x4ef770++;}return this[_0x407657(0x3c0)](_0x2195dc,_0x585087,_0x790b73,_0x5c5c4b),{'collection':_0x585087,'updateDataFieldList':_0x3df13e};}[_0x84255b(0x356)](_0x320acb,_0x98bc63){const _0x32b630=_0x84255b;return _0x320acb[_0x32b630(0x30d)]===_0x1cff9['COLUMN']?{'startRow':0x0,'startColumn':_0x320acb[_0x32b630(0x373)],'endRow':_0x98bc63['getRowCount']()-0x1,'endColumn':_0x320acb[_0x32b630(0x444)]}:{'startRow':_0x320acb[_0x32b630(0x37d)],'startColumn':_0x320acb[_0x32b630(0x373)],'endRow':_0x320acb[_0x32b630(0x41d)],'endColumn':_0x320acb[_0x32b630(0x444)]};}[_0x84255b(0x1d6)](_0xfd3ac3){const _0x52f6d2=_0x84255b,{sheetName:_0x2666d7,range:_0x319a47}=_0xfd3ac3,_0x3ac175=this[_0x52f6d2(0x20e)]['getCurrentUnitForType'](_0x3b8577[_0x52f6d2(0x2ae)]),_0x509a0b=_0x3ac175[_0x52f6d2(0x354)](_0x2666d7),_0x52b7bf=_0x509a0b[_0x52f6d2(0x21a)](),{startColumn:_0x3b01a2,startRow:_0xa982da,endColumn:_0x4ec038}=this[_0x52f6d2(0x356)](_0x319a47,_0x509a0b),_0xc26470=_0x3ac175[_0x52f6d2(0x204)](),_0x3fac42=new _0x5253bc(this);_0x3fac42[_0x52f6d2(0x216)](_0xfd3ac3);const _0x186d80=[],_0x30202a={};for(let _0x413529=_0x3b01a2;_0x413529<=_0x4ec038;_0x413529++){const _0x4b0185=_0x52b7bf['getValue'](_0xa982da,_0x413529),_0x4ae875=this[_0x52f6d2(0x31a)](_0xfd3ac3,_0x413529),_0x48c1c5=this['getDataFieldByRangeKey'](_0x4ae875);if(_0x48c1c5)_0x3fac42['addField'](_0x48c1c5[_0x52f6d2(0x425)](),_0x48c1c5[_0x52f6d2(0x24d)]());else{const _0x4b8289=this[_0x52f6d2(0x313)]();let _0x45e95=this[_0x52f6d2(0x3dc)](_0x4b0185,_0xc26470,_0x30202a);_0x4edfc3(_0x45e95)&&(_0x45e95=_0x33da8b['format'](_0x45e95['f'],Number(_0x45e95['v'])));const _0x2450c3=this['uniqueDataFieldName'](_0x45e95,_0x413529),_0x4060c6=new _0x5aebc9(_0x4b8289,_0x2450c3,_0x191751(0x3));_0x4060c6[_0x52f6d2(0x42d)]=_0x4ae875,this[_0x52f6d2(0x3a1)][_0x4b8289]=_0x4060c6,_0x3fac42[_0x52f6d2(0x382)](_0x4b8289,_0x2450c3),_0x186d80[_0x52f6d2(0x1f7)]({'index':_0x413529,'dataField':_0x4060c6});}}return{'updateDataFieldList':_0x186d80,'collection':_0x3fac42};}[_0x84255b(0x3e2)](_0x1c6051){const _0x686f6a=_0x84255b;return this['_host'][_0x686f6a(0x215)]()[_0x686f6a(0x347)]+'\x20'+_0x1bcb61(_0x1c6051);}['uniqueDataFieldName'](_0x56b68a,_0x538550){return _0x56b68a==null||_0x56b68a===''?this['_getAutoName'](_0x538550):String(_0x56b68a);}[_0x84255b(0x414)](_0x3482bf){const _0x1c764e=_0x84255b;return this[_0x1c764e(0x264)][_0x3482bf];}['addCollection'](_0x4e80b3,_0xfd8bfd,_0x36453b,_0x196022){const _0x232a54=_0x84255b;this[_0x232a54(0x264)][_0x4e80b3]=_0xfd8bfd,_0xfd8bfd[_0x232a54(0x216)](_0x36453b),this[_0x232a54(0x304)][_0x232a54(0x318)]({'token':_0x4e80b3,'type':Be['add'],'dataRangeInfo':_0x36453b,'targetCellInfo':_0x196022});}[_0x84255b(0x420)](_0x17bcad,_0x207c6a){const _0x31c427=_0x84255b,_0x4112c1=this[_0x31c427(0x414)](_0x17bcad),_0x4978d1=_0x4112c1[_0x31c427(0x239)]();let _0x542e04=0x0;for(const _0x2561e8 of _0x4978d1){const _0x1dbc42=_0x4112c1[_0x31c427(0x2d3)](_0x2561e8),_0x336558=this[_0x31c427(0x31a)](_0x207c6a,_0x542e04);this['updateRangeKeyMap'](_0x1dbc42['rangeKey'],_0x336558),_0x542e04++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x5cda8c,_0x3e2358){const _0x933cdc=_0x84255b;if(this[_0x933cdc(0x414)](_0x5cda8c)){const _0x6a1876=this[_0x933cdc(0x3d1)](_0x3e2358),_0x3b5dc8=[];for(const _0x14579a of _0x6a1876)this[_0x933cdc(0x230)][_0x14579a]!==void 0x0&&_0x3b5dc8['push'](this[_0x933cdc(0x230)][_0x14579a]);const _0x5cef53=this[_0x933cdc(0x1f8)](_0x5cda8c),_0x470f13=[],_0x5a9099=new Set(_0x3b5dc8);for(const _0x45514a of _0x5cef53)_0x5a9099[_0x933cdc(0x375)](_0x45514a)||_0x470f13[_0x933cdc(0x1f7)](_0x45514a);return _0x470f13;}}[_0x84255b(0x31d)](_0x3f40ef,_0x37940a,_0x5b154e,_0x489a94,_0x55f8ec){const _0x473233=_0x84255b;return _0x37940a&&_0x37940a[_0x473233(0x3e9)](_0x489a94,_0x55f8ec)?_0x37940a[_0x473233(0x3e9)](_0x489a94,_0x55f8ec):_0x5b154e&&_0x5b154e['getValue'](_0x489a94,_0x55f8ec)?_0x5b154e['getValue'](_0x489a94,_0x55f8ec):_0x3f40ef[_0x473233(0x3e9)](_0x489a94,_0x55f8ec);}[_0x84255b(0x434)](_0xf831cf,_0x82b30a,_0xaa49b8,_0x8d498f){const _0x127f6a=_0x84255b,_0x185abd=this['dataFields'][_0xf831cf];if(!_0x185abd)return;const {subUnitId:_0x2dc2d9,range:_0x11080c,unitId:_0x85a14c}=_0x82b30a,_0x3a73d4=this[_0x127f6a(0x20e)]['getUnit'](_0x85a14c);if(!_0x3a73d4){console['error']('workbook\x20is\x20not\x20found');return;}const _0x3afe34=_0x3a73d4['getSheetBySheetId'](_0x2dc2d9),_0x168daa=_0x3afe34[_0x127f6a(0x21a)](),{arrayFormulaCellDataMatrix:_0x3e9881,unitDataMatrix:_0x3955b3}=_0x8d498f||{},{startRow:_0x3bb3ab,startColumn:_0x1d87e8,endRow:_0x6101c4}=this[_0x127f6a(0x356)](_0x11080c,_0x3afe34);_0x185abd[_0x127f6a(0x218)]();const _0x27534e=_0x3a73d4[_0x127f6a(0x204)](),_0x3867b6={},_0x330aeb=this[_0x127f6a(0x31d)](_0x168daa,_0x3e9881,_0x3955b3,_0x3bb3ab,_0x1d87e8+_0xaa49b8);let _0x237cea=this[_0x127f6a(0x3dc)](_0x330aeb,_0x27534e,_0x3867b6);_0x4edfc3(_0x237cea)&&(_0x237cea=_0x33da8b['format'](_0x237cea['f'],Number(_0x237cea['v'])));const _0x4da96c=this[_0x127f6a(0x3fd)](_0x237cea,_0x1d87e8+_0xaa49b8);_0x185abd[_0x127f6a(0x1e4)](_0x4da96c);for(let _0x5aced1=_0x3bb3ab+0x1;_0x5aced1<=_0x6101c4;_0x5aced1++){const _0x1cbb92=this['getMatrixValue'](_0x168daa,_0x3e9881,_0x3955b3,_0x5aced1,_0x1d87e8+_0xaa49b8);_0x185abd['addRecord'](this[_0x127f6a(0x3dc)](_0x1cbb92,_0x27534e,_0x3867b6),_0x5aced1-0x1-_0x3bb3ab);}}['refreshData'](_0x48f1fc,_0x176070,_0x309141){const _0x563323=_0x84255b,{subUnitId:_0xdcfbd9,range:_0xa30198,unitId:_0x3ed99e}=_0x309141,_0x55e6f7=this[_0x563323(0x20e)][_0x563323(0x401)](_0x3ed99e);if(!_0x55e6f7){console[_0x563323(0x37c)](_0x563323(0x392));return;}const _0x41a11a=_0x55e6f7[_0x563323(0x3c3)](_0xdcfbd9),_0x1bfbb0=_0x41a11a[_0x563323(0x21a)](),{startRow:_0x396f20,startColumn:_0x4d40de,endRow:_0x2a9c7f}=this[_0x563323(0x356)](_0xa30198,_0x41a11a),_0x112f6f=_0x55e6f7[_0x563323(0x204)](),_0x4eab28={};for(const {dataField:_0x34d1c3,index:_0xf87d4d}of _0x176070){_0x34d1c3[_0x563323(0x218)]();const _0x2358ed=this[_0x563323(0x31d)](_0x1bfbb0,void 0x0,void 0x0,_0x396f20,_0x4d40de+_0xf87d4d);let _0x3e2bde=this[_0x563323(0x3dc)](_0x2358ed,_0x112f6f,_0x4eab28);_0x4edfc3(_0x3e2bde)&&(_0x3e2bde=_0x33da8b[_0x563323(0x32e)](_0x3e2bde['f'],Number(_0x3e2bde['v'])));const _0x46ca12=this[_0x563323(0x3fd)](_0x3e2bde,_0x4d40de+_0xf87d4d);_0x34d1c3['setName'](_0x46ca12);}_0x48f1fc[_0x563323(0x335)]();for(let _0x32d373=_0x396f20+0x1;_0x32d373<=_0x2a9c7f;_0x32d373++)for(const {index:_0x1ea919,dataField:_0x1ff674}of _0x176070){const _0xd94371=_0x1bfbb0[_0x563323(0x3e9)](_0x32d373,_0x4d40de+_0x1ea919);_0x1ff674[_0x563323(0x297)](this[_0x563323(0x3dc)](_0xd94371,_0x112f6f,_0x4eab28),_0x32d373-0x1-_0x396f20);}_0x48f1fc['setDataRecordCount'](_0x2a9c7f-_0x396f20);}[_0x84255b(0x3d1)](_0x31e36e){const _0x58ce5c=_0x84255b,{range:_0x1beb3a}=_0x31e36e,{startColumn:_0x3778a9,endColumn:_0x3b8a89}=_0x1beb3a,_0x255394=[];for(let _0x374e00=_0x3778a9;_0x374e00<=_0x3b8a89;_0x374e00++)_0x255394[_0x58ce5c(0x1f7)](this[_0x58ce5c(0x31a)](_0x31e36e,_0x374e00));return _0x255394;}[_0x84255b(0x3dc)](_0x11446c,_0x427e23,_0x208947){const _0x14e0b8=_0x84255b;if(_0x11446c){const {s:_0x5eef14,v:_0x5811df,t:_0x37972d,p:_0x24f610}=_0x11446c;if(_0x24f610)return wi(_0x24f610);const _0x15ffdd=_0x427e23[_0x14e0b8(0x250)](_0x5eef14);if(_0x15ffdd&&_0x37972d===_0x5d645c[_0x14e0b8(0x397)]&&_0x15ffdd['n']){const {pattern:_0x47fa35}=_0x15ffdd['n'];_0x208947[_0x47fa35]||(_0x208947[_0x47fa35]=_0x33da8b[_0x14e0b8(0x1ea)](_0x47fa35));const _0x1de15d=_0x208947[_0x47fa35],_0x474dc5=_0x1de15d['isDate'];if(_0x1de15d[_0x14e0b8(0x25a)])return String(_0x5811df);if(_0x474dc5)return{'v':_0x5811df,'f':_0x47fa35};}if(_0x37972d===_0x5d645c[_0x14e0b8(0x397)])return Number(_0x5811df);if(_0x37972d===_0x5d645c[_0x14e0b8(0x43d)]||_0x37972d===_0x5d645c[_0x14e0b8(0x23b)])return String(_0x5811df);if(_0x37972d===void 0x0){const _0x4661ad=Number(_0x5811df);if(!Number['isNaN'](_0x4661ad)&&String(_0x4661ad)===_0x5811df)return _0x4661ad;}return _0x5811df!=null?_0x5811df:null;}else return null;}['getRangeData'](_0xd91997){const _0x12ec20=_0x84255b,{sheetName:_0x3f9300,range:_0x3f4564,unitId:_0x1e6f18}=_0xd91997,_0x16f530=this[_0x12ec20(0x20e)][_0x12ec20(0x401)](_0x1e6f18);if(!_0x16f530)return console[_0x12ec20(0x37c)](_0x12ec20(0x392)),{'header':[],'data':[]};const _0x3c587d=_0x16f530[_0x12ec20(0x354)](_0x3f9300),_0x5d9e2b=_0x3c587d[_0x12ec20(0x21a)](),{startRow:_0x20fa60,startColumn:_0x48b07d,endRow:_0xaa6bdc,endColumn:_0x5707cc}=this[_0x12ec20(0x356)](_0x3f4564,_0x3c587d),_0x16ee97=_0x16f530[_0x12ec20(0x204)](),_0x43e773=[],_0x319a25=[],_0x2e9a7c={};for(let _0x2f632a=_0x20fa60;_0x2f632a<=_0xaa6bdc;_0x2f632a++){const _0xaf65f6=[];for(let _0x12db48=_0x48b07d;_0x12db48<=_0x5707cc;_0x12db48++){const _0x5d5d90=_0x5d9e2b[_0x12ec20(0x3e9)](_0x2f632a,_0x12db48);_0x2f632a===_0x20fa60?_0x43e773[_0x12ec20(0x1f7)](_0x5d5d90==null?null:String(_0x5d5d90['v'])):_0xaf65f6['push'](this[_0x12ec20(0x3dc)](_0x5d5d90,_0x16ee97,_0x2e9a7c));}_0x319a25[_0x12ec20(0x1f7)](_0xaf65f6);}return{'header':_0x43e773,'data':_0x319a25};}['toJSON'](){return super['toJSON']();}[_0x84255b(0x1e1)](_0x501d06){const _0x3b9174=_0x84255b;super[_0x3b9174(0x1e1)](_0x501d06),this[_0x3b9174(0x351)]();}['dispose'](){const _0x2f0477=_0x84255b;super['dispose'](),this['rangeKeyMap']={},this[_0x2f0477(0x304)]=null;}}const Fi=_0x3ad767=>{const _0x643755=_0x84255b,{targetCellInfo:_0x3a8608}=_0x3ad767,{matrixCache:_0x1a5e09,rangesCache:_0x3ff164}=jo({'filter':_0x643755(0x2c5),'row':_0x643755(0x3af),'column':_0x643755(0x3db),'values':'Values'},_0x3a8608),_0x406970=new _0x3fd261();return _0x1a5e09[_0x643755(0x323)]((_0x3cb2cc,_0x55e4f4,_0x274bf2)=>{const _0x4230b2=_0x643755;_0x406970[_0x4230b2(0x29c)](_0x3cb2cc,_0x55e4f4,_0x274bf2);}),{'matrix':_0x406970,'rangesCache':_0x3ff164};},st=_0x2af3da=>{const _0x812793=_0x84255b;let _0x1bbfe4;if(_0x2af3da!=null&&_0x2af3da['v']||(_0x2af3da==null?void 0x0:_0x2af3da['v'])===0x0){_0x1bbfe4||(_0x1bbfe4={});const _0x6bb2ca=$o(_0x2af3da['v']);typeof _0x6bb2ca==_0x812793(0x3bc)?_0x1bbfe4['t']=_0x5d645c['NUMBER']:typeof _0x6bb2ca==_0x812793(0x23c)&&(_0x1bbfe4['t']=_0x5d645c[_0x812793(0x43d)]),_0x1bbfe4['v']=_0x6bb2ca;}return _0x1bbfe4;},Ri=(_0x3cb4c7,_0x507484,_0x5dfdde)=>{const _0x5c40bb=_0x84255b;var _0x199a34,_0x2d677f,_0x1087a3,_0x1f6ace,_0x29d1d7,_0x225d1b,_0x1faa6e,_0x2fa31a,_0x1de1c7,_0x416d20,_0x19bfc3,_0x288ece;const {cornerView:_0x40d43d,rowView:_0x26c47c,colView:_0x5d4ac1,dataView:_0x228830,pageView:_0x5e5c24,formatMap:_0x42959f}=_0x3cb4c7,{row:_0x4742e6,col:_0x52604f}=_0x507484,_0x295d67=new _0x3fd261();let _0x92fcc1=_0x4742e6,_0x14b47b=_0x52604f;Object[_0x5c40bb(0x275)](_0x5e5c24[_0x5c40bb(0x308)])[_0x5c40bb(0x447)](_0x4edaca=>{const _0x4fb674=_0x5c40bb;Object[_0x4fb674(0x275)](_0x5e5c24['data'][Number(_0x4edaca)])[_0x4fb674(0x447)](_0x1ae894=>{const _0x20ee21={..._0x5e5c24['data'][Number(_0x4edaca)][Number(_0x1ae894)]};_0x295d67['setValue'](Number(_0x4edaca)+_0x92fcc1,Number(_0x1ae894)+_0x14b47b,st(_0x20ee21));});});const _0xe49af1=Object[_0x5c40bb(0x275)](_0x5e5c24['data'])[_0x5c40bb(0x321)];_0x92fcc1+=_0xe49af1+(_0xe49af1?It:0x0);const _0x1ac937=_0x40d43d[_0x5c40bb(0x207)](),_0x2c778d=_0x40d43d[_0x5c40bb(0x41f)]();for(let _0x51012a=0x0;_0x51012a<_0x1ac937;_0x51012a++)for(let _0x4d0753=0x0;_0x4d0753<_0x2c778d;_0x4d0753++){const _0x44e300={...(_0x2d677f=(_0x199a34=_0x40d43d[_0x5c40bb(0x308)])==null?void 0x0:_0x199a34[_0x51012a])==null?void 0x0:_0x2d677f[_0x4d0753]};_0x44e300&&((_0x1087a3=_0x26c47c[_0x5c40bb(0x1ff)][_0x4d0753])!=null&&_0x1087a3[_0x5c40bb(0x20b)])&&_0x4d0753===_0x2c778d-0x1&&_0x51012a===_0x1ac937-0x1&&(_0x44e300['v']=''+_0x5dfdde[_0x5c40bb(0x3ba)]),_0x295d67[_0x5c40bb(0x29c)](_0x51012a+_0x92fcc1,_0x4d0753+_0x14b47b,st(_0x44e300));}_0x14b47b+=_0x2c778d;const _0x405634=_0x5d4ac1[_0x5c40bb(0x1ff)],_0x1aa832=_0x5d4ac1[_0x5c40bb(0x29b)]()>=0x0?_0x5d4ac1[_0x5c40bb(0x29b)]()+0x1:0x0,_0x3388ec=_0x5d4ac1[_0x5c40bb(0x352)]()>=0x0?_0x5d4ac1['getLastCol']()+0x1:0x0;for(let _0x4c120d=0x0;_0x4c120d<_0x3388ec;_0x4c120d++)for(let _0x5c12b3=0x0;_0x5c12b3<_0x1aa832;_0x5c12b3++){const _0x5e8355={...(_0x29d1d7=(_0x1f6ace=_0x5d4ac1[_0x5c40bb(0x308)])==null?void 0x0:_0x1f6ace[_0x4c120d])==null?void 0x0:_0x29d1d7[_0x5c12b3]},_0x4a69ae=(_0x225d1b=_0x405634[_0x4c120d])==null?void 0x0:_0x225d1b['tableFieldId'],_0x54c095=_0x42959f[_0x4a69ae];_0x5e8355&&(_0x5e8355['v']=vt(_0x5e8355,_0x4c120d===0x0&&((_0x1faa6e=_0x5d4ac1[_0x5c40bb(0x32b)](_0x5c12b3+0x1))==null?void 0x0:_0x1faa6e[_0x5c40bb(0x20b)]),_0x54c095,_0x5dfdde)),_0x295d67['setValue'](_0x4c120d+_0x92fcc1,_0x5c12b3+_0x14b47b,st(_0x5e8355));}_0x92fcc1+=_0x1ac937;const _0x2de0dd=_0x26c47c[_0x5c40bb(0x1ff)],_0x575dac=_0x26c47c[_0x5c40bb(0x29b)]()>=0x0?_0x26c47c[_0x5c40bb(0x29b)]()+0x1:0x0,_0x58ea9c=_0x26c47c[_0x5c40bb(0x352)]()>=0x0?_0x26c47c[_0x5c40bb(0x352)]()+0x1:0x0;for(let _0x3ae715=0x0;_0x3ae715<_0x575dac;_0x3ae715++)for(let _0x4d0aff=0x0;_0x4d0aff<_0x58ea9c;_0x4d0aff++){const _0x527b99={...(_0x1de1c7=(_0x2fa31a=_0x26c47c['data'])==null?void 0x0:_0x2fa31a[_0x3ae715])==null?void 0x0:_0x1de1c7[_0x4d0aff]},_0x402b19=(_0x416d20=_0x2de0dd[_0x4d0aff])==null?void 0x0:_0x416d20[_0x5c40bb(0x33f)],_0x11a42a=_0x42959f[_0x402b19];_0x527b99&&(_0x527b99['v']=vt(_0x527b99,!0x1,_0x11a42a,_0x5dfdde)),_0x295d67[_0x5c40bb(0x29c)](_0x3ae715+_0x92fcc1,_0x4d0aff+_0x52604f,st(_0x527b99));}const _0x38f22b=_0x228830[_0x5c40bb(0x207)](),_0x209cc6=_0x228830['getColCount']();for(let _0x17a8d1=0x0;_0x17a8d1<_0x38f22b;_0x17a8d1++)for(let _0x1cfec5=0x0;_0x1cfec5<_0x209cc6;_0x1cfec5++){const _0x57abca={...(_0x288ece=(_0x19bfc3=_0x228830[_0x5c40bb(0x308)])==null?void 0x0:_0x19bfc3[_0x17a8d1])==null?void 0x0:_0x288ece[_0x1cfec5]};_0x295d67[_0x5c40bb(0x29c)](_0x17a8d1+_0x92fcc1,_0x1cfec5+_0x14b47b,st(_0x57abca));}return _0x295d67;},Di=_0x296a89=>{const _0xf19f74=_0x84255b,{view:_0x3cc14a,targetCellInfo:_0xf22305,isEmpty:_0x2e6f12,textInfo:_0x3040a9}=_0x296a89;if(_0x2e6f12)return Fi(_0x296a89);const {pageView:_0x3e70e8,cornerView:_0x44d22d,rowView:_0x305a02,colView:_0x4bc0ec,dataView:_0x1884c3}=_0x3cc14a,_0x3984bc=ge(_0xf22305,_0x3e70e8,!0x0),_0x4086e3=_0x3e70e8['lastRow']>=0x0?_0x3e70e8[_0xf19f74(0x3f6)]+0x1:0x0,_0x170457=_0x44d22d[_0xf19f74(0x207)](),_0x59dd66=_0x44d22d[_0xf19f74(0x41f)](),_0x582cff=_0x3984bc[_0xf19f74(0x321)]>0x0?It:0x0,_0x530bd2=ge({'row':_0xf22305['row']+_0x4086e3+_0x582cff,'col':_0xf22305[_0xf19f74(0x26c)]},_0x44d22d,!0x1,!0x1),_0x465c1b=ge({'row':_0xf22305[_0xf19f74(0x241)]+_0x4086e3+_0x582cff+_0x170457,'col':_0xf22305[_0xf19f74(0x26c)]},_0x305a02,!0x1,!0x0),_0x573ff6=ge({'row':_0xf22305[_0xf19f74(0x241)]+_0x4086e3+_0x582cff,'col':_0xf22305['col']+_0x59dd66},_0x4bc0ec,!0x1,!0x0),_0x10172b=ge({'row':_0xf22305[_0xf19f74(0x241)]+_0x4086e3+_0x582cff+_0x170457,'col':_0xf22305[_0xf19f74(0x26c)]+_0x59dd66},_0x1884c3,!0x1,!0x1),_0x76c1d5={'rowRanges':_0x465c1b,'colRanges':_0x573ff6,'cornerRanges':_0x530bd2,'dataRanges':_0x10172b,'pageRanges':_0x3984bc};return{'matrix':Ri(_0x3cc14a,_0xf22305,_0x3040a9),'rangesCache':_0x76c1d5};};var Ui=Object[_0x84255b(0x2c7)],Ni=(_0x1396ad,_0x4c37c2,_0x3c47ff,_0x304336)=>{const _0x3523be=_0x84255b;for(var _0x351583=_0x304336>0x1?void 0x0:_0x304336?Ui(_0x4c37c2,_0x3c47ff):_0x4c37c2,_0x3cbfe4=_0x1396ad[_0x3523be(0x321)]-0x1,_0x3d6f93;_0x3cbfe4>=0x0;_0x3cbfe4--)(_0x3d6f93=_0x1396ad[_0x3cbfe4])&&(_0x351583=_0x3d6f93(_0x351583)||_0x351583);return _0x351583;},Ke=(_0x572577,_0x2cce3f)=>(_0x3c4f40,_0x3c6045)=>_0x2cce3f(_0x3c4f40,_0x3c6045,_0x572577);let G=class extends _0x439fd3{constructor(_0x3c8851,_0x4273c3,_0x39f690,_0x129072,_0x47a9fb,_0x2363c2){const _0x1daf5d=_0x84255b;super(),V(this,_0x1daf5d(0x3d5),new Map()),V(this,_0x1daf5d(0x381),new Map()),V(this,_0x1daf5d(0x3a8),new Map()),V(this,_0x1daf5d(0x232)),V(this,_0x1daf5d(0x274),new _0x9f9f60()),V(this,_0x1daf5d(0x38c),this[_0x1daf5d(0x274)][_0x1daf5d(0x317)]()),V(this,_0x1daf5d(0x30e),new _0x9f9f60()),V(this,'viewData$',this['_viewData$'][_0x1daf5d(0x317)]()),V(this,'_fieldsCollectionChange$',new _0x9f9f60()),V(this,'fieldsCollectionChange$',this[_0x1daf5d(0x237)]['asObservable']()),V(this,'_dataFieldManagerCollection',new Map()),V(this,'needSameDeleteModel',[]),V(this,'_queryingMap',new Map()),(this[_0x1daf5d(0x243)]=_0x3c8851,this[_0x1daf5d(0x20e)]=_0x4273c3,this['_lifecycleService']=_0x39f690,this[_0x1daf5d(0x355)]=_0x129072,this[_0x1daf5d(0x2a0)]=_0x47a9fb,this[_0x1daf5d(0x35d)]=_0x2363c2,this[_0x1daf5d(0x302)]());}[_0x84255b(0x215)](){return this['_textInfo']?this['_textInfo']:Mi;}[_0x84255b(0x3d2)](_0x52f3d8){const _0x35de9e=_0x84255b;this[_0x35de9e(0x232)]=_0x52f3d8;}[_0x84255b(0x420)](_0x2fa4f3){const _0x3f1388=_0x84255b;var _0x5a1a50;const {from:_0x418086,to:_0x2e6b03,unitId:_0x11c343,fromRange:_0x1c0018,toRange:_0x339844}=_0x2fa4f3;if(_0x418086&&_0x2e6b03){const _0x4aec71=this[_0x3f1388(0x1fc)](_0x11c343),_0x3ba9ff=this[_0x3f1388(0x3d5)][_0x3f1388(0x250)](_0x11c343),_0x5450ef=(_0x5a1a50=this['_univerInstanceService'][_0x3f1388(0x401)](_0x11c343))==null?void 0x0:_0x5a1a50[_0x3f1388(0x3c3)](_0x2e6b03[_0x3f1388(0x1d4)]);if(!_0x3ba9ff||!_0x5450ef)return;const _0x3e148c=_0x5450ef==null?void 0x0:_0x5450ef[_0x3f1388(0x24d)]();for(const [_0x34b989,_0x2f262b]of _0x3ba9ff['entries']())for(const [_0x3d3895,_0x2d023f]of _0x2f262b[_0x3f1388(0x3ef)]()){const {sourceRangeInfo:_0x8dc9df}=_0x2d023f;if(_0x8dc9df[_0x3f1388(0x339)]===_0x11c343&&_0x8dc9df['subUnitId']===_0x418086[_0x3f1388(0x1d4)]&&_0x2898d2[_0x3f1388(0x32a)](_0x1c0018,_0x8dc9df['range'])){const _0x41f2ce={'row':_0x8dc9df[_0x3f1388(0x3b9)][_0x3f1388(0x37d)]-_0x1c0018[_0x3f1388(0x37d)],'col':_0x8dc9df['range'][_0x3f1388(0x373)]-_0x1c0018[_0x3f1388(0x373)]},_0x37185e={'unitId':_0x11c343,'subUnitId':_0x2e6b03[_0x3f1388(0x1d4)],'sheetName':_0x3e148c,'range':{'startRow':_0x339844['startRow']+_0x41f2ce[_0x3f1388(0x241)],'endRow':_0x339844[_0x3f1388(0x37d)]+_0x41f2ce[_0x3f1388(0x241)]+_0x8dc9df[_0x3f1388(0x3b9)][_0x3f1388(0x41d)]-_0x8dc9df[_0x3f1388(0x3b9)][_0x3f1388(0x37d)],'startColumn':_0x339844[_0x3f1388(0x373)]+_0x41f2ce[_0x3f1388(0x26c)],'endColumn':_0x339844[_0x3f1388(0x373)]+_0x41f2ce[_0x3f1388(0x26c)]+_0x8dc9df[_0x3f1388(0x3b9)][_0x3f1388(0x444)]-_0x8dc9df['range'][_0x3f1388(0x373)]}};_0x4aec71[_0x3f1388(0x420)](_0x3d3895,_0x37185e);const _0x8e3ef3={..._0x2d023f,'sourceRangeInfo':_0x37185e};this[_0x3f1388(0x3fc)](_0x11c343,_0x2e6b03['subUnitId'],_0x3d3895,_0x8e3ef3),this['broadcastCollectionChange']({'unitId':_0x11c343,'token':_0x3d3895,'type':Be[_0x3f1388(0x3a3)],'oldSourceRangeInfo':_0x8dc9df,'dataRangeInfo':_0x37185e,'targetCellInfo':_0x2d023f['targetCellInfo']}),this['updateConfig']({'unitId':_0x11c343,'subUnitId':_0x2e6b03[_0x3f1388(0x1d4)],'oldSubUnitId':_0x34b989,'pivotTableId':_0x3d3895,'pivotTableConfig':_0x8e3ef3,'collectionConfig':_0x4aec71[_0x3f1388(0x43b)]()});}}}}['broadcastCollectionChange'](_0x24f565){const _0x539a66=_0x84255b;this[_0x539a66(0x274)][_0x539a66(0x22a)](_0x24f565);}[_0x84255b(0x1fc)](_0x39ebe9){const _0x3bd67e=_0x84255b;let _0x46bfb1=this[_0x3bd67e(0x3a5)][_0x3bd67e(0x250)](_0x39ebe9);return _0x46bfb1||(_0x46bfb1=new _i(this,this[_0x3bd67e(0x20e)]),this[_0x3bd67e(0x3a5)][_0x3bd67e(0x26a)](_0x39ebe9,_0x46bfb1)),_0x46bfb1;}[_0x84255b(0x414)](_0xcf2fbc,_0x39e65d){const _0x89c056=_0x84255b;return this[_0x89c056(0x1fc)](_0xcf2fbc)[_0x89c056(0x264)][_0x39e65d];}[_0x84255b(0x209)](_0x24b138,_0x1ef108,_0x4959bf){const _0x1011d9=_0x84255b;return this[_0x1011d9(0x1fc)](_0x24b138)[_0x1011d9(0x209)](_0x1ef108,_0x4959bf);}[_0x84255b(0x32f)](_0x485eb2,_0x2cfbba){const _0x2b4c28=_0x84255b;let _0x38f87c=this[_0x2b4c28(0x3d5)][_0x2b4c28(0x250)](_0x485eb2);_0x38f87c||(_0x38f87c=new Map(),this[_0x2b4c28(0x3d5)][_0x2b4c28(0x26a)](_0x485eb2,_0x38f87c));let _0x567ae8=_0x38f87c[_0x2b4c28(0x250)](_0x2cfbba);return _0x567ae8||(_0x567ae8=new Map(),_0x38f87c[_0x2b4c28(0x26a)](_0x2cfbba,_0x567ae8)),_0x567ae8;}[_0x84255b(0x3fc)](_0x5556ff,_0x44ad58,_0x35f122,_0x303cbc){const _0x395361=_0x84255b;this[_0x395361(0x32f)](_0x5556ff,_0x44ad58)['set'](_0x35f122,_0x303cbc);}[_0x84255b(0x380)](_0xa2800e,_0x19484a,_0x308cdc){const _0x5e9136=_0x84255b;var _0x462a04,_0x5dd880,_0x407605,_0x567c7c;((_0x5dd880=(_0x462a04=this[_0x5e9136(0x3d5)][_0x5e9136(0x250)](_0xa2800e))==null?void 0x0:_0x462a04[_0x5e9136(0x250)](_0x19484a))==null?void 0x0:_0x5dd880[_0x5e9136(0x250)](_0x308cdc))&&((_0x567c7c=(_0x407605=this[_0x5e9136(0x3d5)][_0x5e9136(0x250)](_0xa2800e))==null?void 0x0:_0x407605['get'](_0x19484a))==null||_0x567c7c['delete'](_0x308cdc));}[_0x84255b(0x295)](_0x2dc1d8,_0x484b83){const _0x1f5f8d=_0x84255b;this['_pivotTableInstanceCache'][_0x1f5f8d(0x26a)](_0x2dc1d8,_0x484b83);}['_deletePivotTableInstanceCache'](_0x5a7e5){const _0x30605e=_0x84255b;this[_0x30605e(0x381)][_0x30605e(0x3b7)](_0x5a7e5);}[_0x84255b(0x2c1)](_0xd4d719,_0x4e6bd4){const _0x3d7417=_0x84255b;let _0x427d63=this[_0x3d7417(0x3a8)][_0x3d7417(0x250)](_0xd4d719);_0x427d63||(_0x427d63=new Map(),this['_viewData'][_0x3d7417(0x26a)](_0xd4d719,_0x427d63));let _0x2bdbfb=_0x427d63[_0x3d7417(0x250)](_0x4e6bd4);return _0x2bdbfb||(_0x2bdbfb=new Map(),_0x427d63[_0x3d7417(0x26a)](_0x4e6bd4,_0x2bdbfb)),_0x2bdbfb;}[_0x84255b(0x296)](_0x316bb1){const _0x1e566f=_0x84255b,{unitId:_0x58d2bc,subUnitId:_0x28a2d0,pivotTableId:_0x364126,pivotTableConfig:_0x54c93e,collectionConfig:_0x5a29c5}=_0x316bb1,_0x51e472={'unitId':_0x58d2bc,'subUnitId':_0x28a2d0,'oldSubUnitId':_0x28a2d0,'pivotTableId':_0x364126,'pivotTableConfig':_0x54c93e,'collectionConfig':_0x5a29c5};this[_0x1e566f(0x2a0)]['executeCommand'](co['id'],_0x51e472,{'onlyLocal':!0x0});}[_0x84255b(0x33b)](_0xf786ed,_0x5069ba,_0x498555,_0x1e90a2,_0x511181,_0x422729,_0x566b07,_0x5740d9=!0x1){const _0x37a250=_0x84255b;var _0x51b21a;this['_commandService'][_0x37a250(0x404)](Dt['id'],{'single':{'unitId':_0xf786ed,'subUnitId':_0x5069ba,'type':_0x498555,'pivotTableId':_0x1e90a2,'view':_0x511181,'pivotConfig':_0x422729},'collectionConfig':{[_0xf786ed]:_0x566b07}},{'onlyLocal':!0x0});const _0x1c89ce=!!((_0x51b21a=this[_0x37a250(0x2e6)](_0x1e90a2))!=null&&_0x51b21a[_0x37a250(0x437)]()),_0x1424e5=this[_0x37a250(0x3f4)](_0xf786ed,_0x5069ba,_0x1e90a2);_0x1424e5&&this[_0x37a250(0x3ca)]({'view':_0x511181,'pivotTableId':_0x1e90a2,'textInfo':this[_0x37a250(0x215)](),'isEmpty':_0x1c89ce,'targetCellInfo':_0x1424e5[_0x37a250(0x2e0)]},_0x5740d9);}['updateViewData'](_0x41d10c,_0x19f885){const _0x38cee9=_0x84255b,{targetCellInfo:_0x5c39fb,pivotTableId:_0xf54736}=_0x41d10c,{unitId:_0x3e6640,subUnitId:_0x59a81f}=_0x5c39fb,_0x37ee65=this['_ensureViewDataMap'](_0x3e6640,_0x59a81f),_0x487954=_0x37ee65[_0x38cee9(0x250)](_0xf54736);let _0x20980a,_0x2b05db;_0x487954&&(_0x20980a=_0x487954[_0x38cee9(0x286)],_0x2b05db=_0x487954[_0x38cee9(0x3b5)]);const {rangesCache:_0x581b15,matrix:_0x284b9a}=Di(_0x41d10c);_0x37ee65[_0x38cee9(0x26a)](_0xf54736,{'rangeCache':_0x581b15,'matrix':_0x284b9a,'oldMatrix':_0x2b05db,'oldRangeCache':_0x20980a}),_0x19f885||this[_0x38cee9(0x30e)][_0x38cee9(0x22a)]({'unitId':_0x3e6640,'subUnitId':_0x59a81f,'pivotTableId':_0xf54736});}[_0x84255b(0x442)](_0x168a40,_0x313632,_0x1089c2,_0x5da529,_0x32d76c){const _0x1e5699=_0x84255b;this[_0x1e5699(0x3fc)](_0x168a40,_0x313632,_0x1089c2,_0x32d76c),this['_updatePivotTableInstanceCache'](_0x1089c2,_0x5da529);}[_0x84255b(0x2b2)](_0x545fbf,_0x107354,_0x1e1f1b){const _0x25ea18=_0x84255b,_0x2529a0=this[_0x25ea18(0x1fc)](_0x545fbf);_0x2529a0[_0x25ea18(0x1f8)](_0x1e1f1b)[_0x25ea18(0x447)](_0x2f95de=>{_0x2529a0['deleteDataField'](_0x2f95de);}),this[_0x25ea18(0x3be)](_0x545fbf,_0x1e1f1b),this[_0x25ea18(0x380)](_0x545fbf,_0x107354,_0x1e1f1b),this[_0x25ea18(0x30b)](_0x1e1f1b);}[_0x84255b(0x1e0)](_0x2b2f46,_0x523f13,_0x5724bc,_0x391cd3){const _0x48f218=_0x84255b;this[_0x48f218(0x3fc)](_0x2b2f46,_0x523f13,_0x5724bc,_0x391cd3);}[_0x84255b(0x3f4)](_0x10e7f1,_0x4cd54b,_0x13a03d){const _0x1653d2=_0x84255b;var _0x4b1458,_0xe42bec;const _0x31624b=(_0xe42bec=(_0x4b1458=this[_0x1653d2(0x3d5)][_0x1653d2(0x250)](_0x10e7f1))==null?void 0x0:_0x4b1458[_0x1653d2(0x250)](_0x4cd54b))==null?void 0x0:_0xe42bec[_0x1653d2(0x250)](_0x13a03d);if(_0x31624b)return _0x31624b;}['getPivotTableModelConfig'](_0x78b4a6,_0x34fdda,_0x5f5447){const _0x1fce49=_0x84255b;var _0x21c485,_0x27eded;const _0x5812bb=(_0x27eded=(_0x21c485=this[_0x1fce49(0x3d5)][_0x1fce49(0x250)](_0x78b4a6))==null?void 0x0:_0x21c485[_0x1fce49(0x250)](_0x34fdda))==null?void 0x0:_0x27eded[_0x1fce49(0x250)](_0x5f5447);if(_0x5812bb)return _0x5812bb[_0x1fce49(0x1cf)];}[_0x84255b(0x2e6)](_0x2a4d15){const _0x5ebca6=_0x84255b;return this[_0x5ebca6(0x381)]['get'](_0x2a4d15);}[_0x84255b(0x24e)](_0x50e2dd){const _0x8c8fa8=_0x84255b;this['_model'][_0x8c8fa8(0x3b7)](_0x50e2dd);const _0x53c6b1=this[_0x8c8fa8(0x3a5)][_0x8c8fa8(0x250)](_0x50e2dd);_0x53c6b1&&(_0x53c6b1['dispose'](),this[_0x8c8fa8(0x3a5)][_0x8c8fa8(0x3b7)](_0x50e2dd)),this[_0x8c8fa8(0x3a8)][_0x8c8fa8(0x3b7)](_0x50e2dd),this[_0x8c8fa8(0x324)]['forEach'](_0x19732c=>{const _0x4fb1b5=_0x8c8fa8;_0x19732c[_0x4fb1b5(0x24e)](_0x50e2dd);});}[_0x84255b(0x21e)](_0x5f1f3b,_0x373d15,_0xff6942,_0x5c8b49){const _0x57de36=_0x84255b;return this['getDataFieldManager'](_0xff6942[_0x57de36(0x339)])[_0x57de36(0x21e)](_0x5f1f3b,_0x373d15,_0xff6942,_0x5c8b49);}[_0x84255b(0x1d6)](_0x2e5a7f){const _0x58c2b3=_0x84255b;return this[_0x58c2b3(0x1fc)](_0x2e5a7f[_0x58c2b3(0x339)])[_0x58c2b3(0x1d6)](_0x2e5a7f);}[_0x84255b(0x439)](_0x56f5c2,_0x1cc1f6,_0x17f70e){const _0x8535f6=_0x84255b;this[_0x8535f6(0x1fc)](_0x17f70e[_0x8535f6(0x339)])[_0x8535f6(0x439)](_0x56f5c2,_0x1cc1f6,_0x17f70e);}[_0x84255b(0x2ea)](_0x47d25f,_0x48ba3b){const _0x3a45d2=_0x84255b;this[_0x3a45d2(0x1fc)](_0x47d25f)[_0x3a45d2(0x41c)](_0x48ba3b);}[_0x84255b(0x3be)](_0x33520d,_0x329a85){const _0x330f28=_0x84255b;this[_0x330f28(0x1fc)](_0x33520d)[_0x330f28(0x236)](_0x329a85);}[_0x84255b(0x2c8)](_0x386a0b,_0x4c1c35){const _0x319729=_0x84255b;var _0x51fac9;return(_0x51fac9=this[_0x319729(0x3d5)]['get'](_0x386a0b))==null?void 0x0:_0x51fac9['get'](_0x4c1c35);}['getTargetByPivotId'](_0x470249){const _0x3bedd6=_0x84255b;for(const [_0xa36c0f,_0x3d8316]of this[_0x3bedd6(0x3d5)]['entries']())for(const [_0x19912c,_0x5eb04a]of _0x3d8316[_0x3bedd6(0x3ef)]())if(_0x5eb04a[_0x3bedd6(0x375)](_0x470249))return{'unitId':_0xa36c0f,'subUnitId':_0x19912c};return null;}[_0x84255b(0x1f2)](_0x46fb57,_0x2e8528,_0x2c5afb,_0x2f8138){const _0x4ae4a9=_0x84255b,_0x1e5663=this[_0x4ae4a9(0x2c1)](_0x46fb57,_0x2e8528);_0x2f8138?_0x1e5663[_0x4ae4a9(0x26a)](_0x2c5afb,_0x2f8138):_0x1e5663['delete'](_0x2c5afb),this['_viewData$']['next']({'unitId':_0x46fb57,'subUnitId':_0x2e8528,'pivotTableId':_0x2c5afb});}[_0x84255b(0x3d7)](){super['dispose']();}[_0x84255b(0x35f)](_0x28c6cc,_0x473cf4,_0x2eba35){const _0x51b35e=_0x84255b;var _0x23ace8,_0x285341;const _0x4913c1=(_0x285341=(_0x23ace8=this['_viewData']['get'](_0x28c6cc))==null?void 0x0:_0x23ace8['get'](_0x473cf4))==null?void 0x0:_0x285341[_0x51b35e(0x250)](_0x2eba35);return _0x4913c1||null;}[_0x84255b(0x409)](_0x25ff6f){const _0x2584a3=_0x84255b;this[_0x2584a3(0x39f)](_0x25ff6f);}[_0x84255b(0x39f)](_0x352c2a){const _0x5b5b51=_0x84255b,{token:_0x1c7408,unitId:_0x75f319,subUnitId:_0x449c65}=_0x352c2a,_0x2510d5=_0x75f319+'-'+_0x449c65+'-'+_0x1c7408;this[_0x5b5b51(0x337)][_0x5b5b51(0x250)](_0x2510d5)&&clearTimeout(this[_0x5b5b51(0x337)]['get'](_0x2510d5));const _0x3aa3a9=setTimeout(()=>{const _0x40add2=_0x5b5b51;this[_0x40add2(0x3d0)](_0x352c2a),this[_0x40add2(0x337)][_0x40add2(0x3b7)](_0x2510d5);},Pi);this[_0x5b5b51(0x337)][_0x5b5b51(0x26a)](_0x2510d5,_0x3aa3a9);}[_0x84255b(0x3d0)](_0x4571d7){const _0x56fff0=_0x84255b,{unitId:_0x527857,subUnitId:_0x3f917f,token:_0x7cde81,type:_0x3f59c5,pivotConfig:_0x58a2f8}=_0x4571d7,_0x4f3cdc=this[_0x56fff0(0x2e6)](_0x7cde81),_0xbef4b1=_0x4f3cdc==null?void 0x0:_0x4f3cdc['query'](),_0x1da44a=_0x58a2f8!=null?_0x58a2f8:this[_0x56fff0(0x3f4)](_0x527857,_0x3f917f,_0x7cde81);_0x1da44a&&(_0x1da44a[_0x56fff0(0x437)]=!!(_0x4f3cdc!=null&&_0x4f3cdc['isEmpty']())),(_0xbef4b1||_0x3f59c5===$[_0x56fff0(0x418)])&&this[_0x56fff0(0x33b)](_0x527857,_0x3f917f,_0x3f59c5,_0x7cde81,_0xbef4b1,_0x1da44a,this[_0x56fff0(0x1fc)](_0x527857)[_0x56fff0(0x43b)]());}[_0x84255b(0x43b)](_0x2e0d65){const _0x1d4456=_0x84255b,_0x3e0287={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x2e0d65)&&(_0x3e0287['dataFieldManagerConfig'][_0x2e0d65]=this['getDataFieldManager'](_0x2e0d65)['toJSON']()),this[_0x1d4456(0x3d5)][_0x1d4456(0x250)](_0x2e0d65)){_0x3e0287[_0x1d4456(0x23a)][_0x2e0d65]={};const _0x46d9a0=this['_model'][_0x1d4456(0x250)](_0x2e0d65);_0x46d9a0!=null&&_0x46d9a0[_0x1d4456(0x358)]&&[..._0x46d9a0[_0x1d4456(0x275)]()][_0x1d4456(0x447)](_0x5ce0b5=>{const _0x187498=_0x1d4456,_0x4f9b6c=_0x46d9a0[_0x187498(0x250)](_0x5ce0b5);_0x4f9b6c!=null&&_0x4f9b6c['size']&&(_0x3e0287[_0x187498(0x23a)][_0x2e0d65][_0x5ce0b5]={},[..._0x4f9b6c[_0x187498(0x275)]()]['forEach'](_0x561ac2=>{const _0x170a00=_0x187498,_0x160c74=_0x4f9b6c[_0x170a00(0x250)](_0x561ac2);_0x160c74&&(_0x3e0287['pivotTableConfigs'][_0x2e0d65][_0x5ce0b5][_0x561ac2]=_0x160c74);}));});}return _0x3e0287;}['fromJSON'](_0x173b9a){const _0x534a22=_0x84255b;var _0x2399f2;const {dataFieldManagerConfig:_0xe86620,pivotTableConfigs:_0x2a82e5}=_0x173b9a;_0xe86620&&Object[_0x534a22(0x275)](_0xe86620)['forEach'](_0x1af624=>{const _0x274050=_0x534a22;this['getDataFieldManager'](_0x1af624)[_0x274050(0x1e1)](_0xe86620[_0x1af624]);});const _0x3d1f58=[];if(_0x2a82e5){const _0x3c0b80=(_0x2399f2=this[_0x534a22(0x243)][_0x534a22(0x250)](_0x4b6507)[_0x534a22(0x2d6)](_0x37848f))!=null?_0x2399f2:{},{ls:_0x1b1076,pbk:_0x52c779}=_0x3c0b80,_0xeddcfe=go(so,_0x1b1076,_0x52c779)[_0x534a22(0x31f)];Object['keys'](_0x2a82e5)[_0x534a22(0x447)](_0xcec342=>{const _0x391b22=_0x534a22;let _0x987a7a=0x0;const _0x1df8ed=_0x2a82e5[_0xcec342];Object[_0x391b22(0x275)](_0x1df8ed)['forEach'](_0x5d31d9=>{const _0x106a5d=_0x1df8ed[_0x5d31d9];Object['keys'](_0x106a5d)['forEach'](_0x3011b9=>{const _0x28fdc1=_0x2084,_0xb9c32=_0x106a5d[_0x3011b9];if(_0xb9c32){if(_0x987a7a>=_0xeddcfe)return;_0x987a7a++;const _0x594afe=this[_0x28fdc1(0x1fc)](_0xcec342),_0x37ae9b=_0x594afe[_0x28fdc1(0x264)][_0x3011b9],_0x4564b9=_0x37ae9b[_0x28fdc1(0x239)]();let _0x17cd82=0x0;const _0x46e661=[];for(const _0x49b4ec of _0x4564b9){const _0x50be06=_0x37ae9b[_0x28fdc1(0x2d3)](_0x49b4ec);if(_0x1a0de8(_0x50be06)){const _0x537cc8=_0x50be06[_0x28fdc1(0x2aa)](),_0xc0a4c7=_0x37ae9b[_0x28fdc1(0x2d3)](_0x537cc8);_0xc0a4c7&&_0x46e661['push']([_0x50be06,_0xc0a4c7]);continue;}_0x594afe['refreshDataField'](_0x49b4ec,_0xb9c32[_0x28fdc1(0x208)],_0x17cd82),_0x17cd82++;}_0x46e661['forEach'](([_0x5891c5,_0x1390a4])=>{const _0x19e62a=_0x28fdc1;_0x5891c5[_0x19e62a(0x252)](_0x1390a4);});const _0x567e4a=new _0x22ffa2(_0x37ae9b);_0x567e4a[_0x28fdc1(0x1e1)](_0xb9c32[_0x28fdc1(0x1cf)]),this[_0x28fdc1(0x442)](_0xcec342,_0x5d31d9,_0x3011b9,_0x567e4a,_0xb9c32);const _0x4d101a=_0x567e4a[_0x28fdc1(0x21d)]();_0x3d1f58[_0x28fdc1(0x1f7)]({'unitId':_0xcec342,'subUnitId':_0x5d31d9,'pivotTableId':_0x3011b9,'view':_0x4d101a['toJSON'](),'pivotConfig':_0xb9c32,'type':$[_0x28fdc1(0x2c9)]});const _0x1e2700=!!_0x567e4a[_0x28fdc1(0x437)](),_0x1c8574={'view':_0x4d101a,'pivotTableId':_0x3011b9,'textInfo':this[_0x28fdc1(0x215)](),'isEmpty':_0x1e2700,'targetCellInfo':_0xb9c32[_0x28fdc1(0x2e0)]};this['updateViewData'](_0x1c8574,!0x1);}});});});}_0xe86620&&Object['keys'](_0xe86620)['forEach'](_0x17aa12=>{const _0x538750=_0x534a22,_0x17381e=this[_0x538750(0x1fc)](_0x17aa12);this[_0x538750(0x237)][_0x538750(0x22a)](_0x17381e['collections']);}),this[_0x534a22(0x2a0)][_0x534a22(0x404)](Dt['id'],{'batch':_0x3d1f58,'collectionConfig':_0xe86620},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x21e786=_0x84255b;this[_0x21e786(0x433)](this['_resourceManagerService'][_0x21e786(0x43c)]({'toJson':_0x5895e1=>JSON['stringify'](this[_0x21e786(0x43b)](_0x5895e1)),'parseJson':_0x163b73=>{if(!_0x163b73)return{};try{return JSON['parse'](_0x163b73);}catch{return{};}},'businesses':[_0x3b8577[_0x21e786(0x2ae)]],'pluginName':ao,'onLoad':(_0x1a9d67,_0x266153)=>{this['fromJSON'](_0x266153);},'onUnLoad':_0x197a09=>{this['deleteUnitId'](_0x197a09);}}));}};G=Ni([Ke(0x0,_0x2459bd(_0x1034ce)),Ke(0x1,_0x30a6c3),Ke(0x2,_0x2459bd(_0x2deb85)),Ke(0x3,_0x4b6507),Ke(0x4,_0x324b30),Ke(0x5,_0x2459bd(_0x3d6f2a))],G);const Vi={0x0:{0x0:{'v':_0x84255b(0x422),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':'column','s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x84255b(0x241),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x84255b(0x2fc),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},jo=(_0x58f0d9,_0x405926)=>{const _0x3c47c5=_0x84255b,_0x212f65=new _0x3fd261(),_0x2cbd9e=new _0x3fd261(Vi),{row:_0x40cca7,col:_0x360579}=_0x405926;_0x2cbd9e['forValue']((_0x241107,_0x5e4523,_0xa7b56a)=>{const _0x558b77=_0x2084;let _0x1f8b3d='';_0xa7b56a['v']===_0x558b77(0x422)?_0x1f8b3d=_0x58f0d9['filter']:_0xa7b56a['v']===_0x558b77(0x241)?_0x1f8b3d=_0x58f0d9['row']:_0xa7b56a['v']===_0x558b77(0x3d9)?_0x1f8b3d=_0x58f0d9['column']:_0xa7b56a['v']===_0x558b77(0x2fc)&&(_0x1f8b3d=_0x58f0d9[_0x558b77(0x2fc)]),_0x212f65[_0x558b77(0x29c)](_0x241107+_0x40cca7,_0x5e4523+_0x360579,{..._0xa7b56a,'v':_0x1f8b3d});});const _0x322edf=_0x1a2dac[_0x3c47c5(0x282)](Bt);return Object[_0x3c47c5(0x275)](Bt)['forEach'](_0x2328bb=>{const _0x22a797=_0x3c47c5;_0x322edf[_0x2328bb]=Bt[_0x2328bb][_0x22a797(0x3c5)](_0x130e2a=>({..._0x130e2a,'startRow':_0x130e2a[_0x22a797(0x37d)]+_0x40cca7,'endRow':_0x130e2a[_0x22a797(0x41d)]+_0x40cca7,'startColumn':_0x130e2a[_0x22a797(0x373)]+_0x360579,'endColumn':_0x130e2a[_0x22a797(0x444)]+_0x360579}));}),{'matrixCache':_0x212f65,'rangesCache':_0x322edf};};function _0x4ce2(){const _0x5daf40=['90uoXlml','getValueFilterInfos','asyncInterceptor','rangesInfo','_initSnapshot','_init','_host','getDataFieldId','parse','getSheets','data','_initGlobalComputed','areaInfo','_deletePivotTableInstanceCache','setPivotSort','rangeType','_viewData$','result','name','sheet.mutation.send-pivot-config-local','Value','createDataFieldId','sheets-pivot.cellDateGroupDisplay.hour','rowHeaderMap','rgb(255,255,255)','asObservable','broadcastCollectionChange','collection','getRangeKey','sheets-pivot.config','MonthDate','getMatrixValue','Set','count','colHeaderMap','length','fields','forValue','needSameDeleteModel','_subjectFieldsCollectionChange','iterateFieldDim','MUTATION','dateType','SHEET_PIVOT_EXCLUSIVE_ID','contains','getHeaderMapItem','_markDirty$','sheets-pivot.subTotal','format','_ensurePivotMap','movePivotField','cellValue','pushUndoRedo','stringify','sheet.operation.pivot-table-view-formula-mark-dirty','updateAllDisplayName','updateRangeKeyMap','_queryingMap','product','unitId','Hour','updateView','sheet.command.set-pivot-field-setting','rowInfo','getMatrixFromRunTimeData','tableFieldId','PIVOT_MUTATION_GENERATE','batch','_collectionConfigModel','_initPivotTextInfo','sheet.mutation.add-group-collection','Count\x20of\x20','_generateUniqueVersion','sheets-pivot.columnName','_sheetsSelectionsService','sheet.command.add-pivot-table-with-config','_getPivotAppliedRanges','removeSourceRangeChange','getCurrentSelections','SetFilterInfo','sheets-pivot.countName','interceptCommand','#e6ebfa','initDataRanges','getLastCol','RemoveField','getSheetBySheetName','_configService','getRangeStartEndInfo','pivotConfigChange$','size','getCellRaw','SetPivotSort','sheets-pivot.cellDateGroupDisplay.year','originalFieldId','_resourceManagerService','getFieldCountByArea','getViewData','object','sheets-pivot.emptyPivot.values','MIN_SAFE_INTEGER','updateConfigCache','_subjectViewChange','sheet.mutation.add-pivot-table','message','Collapse','filterId','setDisplayName','pushComputingStatusSubject','setRangeKeyMap','startCollectChangeset','Minute','isColMultiMeasure','addFieldWithSourceId','grandTotal','#b2b2b2','onQueryStart','startColumn','updateDataFieldsCollection','has','oldRangeInfo','setValueFilterInfo','endCollectChangeset','getFieldDataType','SetFieldFormat','getMonth','error','startRow','AddField','pivotTableId','_deleteModelCache','_pivotTableInstanceCache','addField','min','NUM','addPivotField','_initRemoveSheetCommandInterceptor','sum','COMMAND','getPivotTableCellData','date','single','collectionChange$','undos','unshift','registerDirtyService','getFieldPositionInfoById','sheet.command.set-pivot-value-filter','workbook\x20is\x20not\x20found','Column\x20','sheet.command.move-pivot-field','Year','getInterceptPoints','NUMBER','minDate','add','cornerInfo','_initConfig','sourceName','getTextSize','replace','updateDirtyPivotTable','width','dataFields','dataStream','update','prefix','_dataFieldManagerCollection','viewData$','getPivotTableIdByCell','_viewData','_featureCalculationManagerService','pivotTableIndexConfig','params','updateFieldPosition','sheet.mutation.set-pivot-field-subtotal-type','displayName','Row','collapseInfo','sheet.mutation.pivot-update-field-position','_activeDirtyManagerService','sheets-pivot.emptyPivot.row','New','matrix','_ensurePivotItemRenderValueMatrixCache','delete','disposableCollection','range','sheets-pivot.value','sheet.mutation.send-init-pivot-text-local','number','getDisplayName','removeCollections','getPivotTableMatrixInfo','addCollection','setDateType','updateCollectionConfig','getSheetBySheetId','_initLocale','map','UpdateFieldPosition','stdDevp','valueIndex','subtotal','updateViewData','dataFieldManagerConfig','ptn','sheets-pivot.dateGroup.date','sheets-pivot.dateGroup.minute','rowFields','queryDirtyPivotTable','getRangeKeyList','setTextInfo','getPivotItemRenderInfoCache','removeValueFilterInfoByValueFieldId','_model','updateRenderCache','dispose','concat','column','removePivotField','Column','adjustSheetCellData','sheets-pivot.cellDateGroupDisplay.date','getDataFieldByDataFieldId','removeValueFilterInfo','node','sheets-pivot.varpName','_getAutoName','getPivotDisplayConfig','sheets-pivot.emptyPivot.column','getColumnWidth','resetPivotTable','cornerRanges','getIntersects','getValue','sheet.mutation.send-pivot-view-local','prototype','valueFilter','measure','sheet.command.set-pivot-filter','entries','ResetPivotTable','sheet.command.update-date-group','dataRangeInfo','_globalComputedStartHelpFunc','getPivotTableConfig','isBottomTotal','lastRow','getFilterInfo','MovePivotField','_initUnitDisposed','updatePivotSource','MAX_SAFE_INTEGER','_updateModelCache','uniqueDataFieldName','getSourceName','sheet.mutation.send-pivot-data-local','getDate','getUnit','markDirty$','getUnitId','executeCommand','getTargetByPivotTableId','SetPivotTableConfig','getGroupFieldsInfoByIds','dataFieldId','addDirtyPivotTable','colStyle','#1d32e9','toString','_sheetsPivotRpcService','_sheetsPivotTableConfigModel','dataFieldsCollection','1902HOHyJu','setLabelFilterInfo','generateMutationsByRanges','pluginName','getCollection','removeField','getSubUnitPivotRenderCache','_exclusiveRangeService','Delete','getTableFieldById','getTargetByPivotId','setFieldFormat','deleteDataField','endRow','sheets-pivot.cellDateGroupDisplay.hourMinute','getColCount','handleMoveRange','some','filter','NAME','getAutoDisplayNameFunction','getId','REF','split','sheets-pivot.dateGroup.yearMonthDate','panel','paths','rowRanges','valueFields','rangeKey','_refRangeHandle','max','sheet.command.reset-pivot-fields-config','sheet.command.move-pivot-table','SetCollapse','disposeWithMe','refreshDataField','sheets-pivot.cellDateGroupDisplay.yearMonth','iterateField','isEmpty','generateNewSheetName','refreshData','average','toJSON','registerPluginResource','STRING','body','sheets-pivot.dateGroup.yearMonth','version','rowCount','addPivotTable','SetPivotSetting','endColumn','15128rDClpm','591ezvaNl','forEach','filterFields','registerCommand','setSortInfo','pageStyle','getDataFieldItemInfo','Panel','_refRangeService','limit\x20pivot','fieldsCollectionChange$','fieldsConfig','UpdatePivotSource','getFieldFormat','Total','sheet.command.add-pivot-table','subUnitId','HourMinute','createCollectionWithDataRange','setDirty','document','Subtotal','getValuePosition','DrillDown','onQueryEnd','Var\x20of\x20','sheet.mutation.set-pivot-collapse','sheet.mutation.add-pivot-field','setPivotTable','fromJSON','_ensurePivotTableRangeInfo','level','setName','_globalSubject','colRanges','dataStyle','setPivotFilter','getIntersectsPivotTable','getFormatInfo','updateFieldSourceInfo','textInfo','lastCol','_subjectCollectionChange','notExecuteFormula','deleteField','onCommandExecuted','sideEffectUpdateWorkerCache','setPivotInitCompleted','drillDown','symbol','type','push','getNoUsedDataFieldIds','getPivotPerformCheck','updateValuePosition','3994zGVVrt','getDataFieldManager','defineProperty','UpdateSource','headerMap','colCount','getDataFieldByTableId','viewUpdate$','var','getStyles','pivotInitCompleted$','getAutoFitColumnsMutations','getRowCount','sourceRangeInfo','getUpdateRangeDeleteIds','getSubUnitPivotMatrix','isValue','getCurrentUnitForType','oldMatrix','_univerInstanceService','_configVersion$','splice','find','AddPivotField','_initDataSendListener','getFullYear','getTextInfo','setRange','_ensurePivotItemRenderInfoCache','reset','#FFFFFF','getCellMatrix','_initViewModelBySheetInterceptor','AddPivotTableWithConfig','query','addCollectionByJSON','sheet.command.set-pivot-collapse','sheet.mutation.pivot-update-value-position','configVersion$','getValueIndex','fieldIds','YearMonthDate','_initClearSelectionCommandInterceptor','setSubtotalType','stdDev','fetchThroughInterceptors','sheets-pivot.emptyPivot.filter','next','isArray','interceptor','_requestResolvers','SetPivotCollapse','Expand','rangeKeyMap','colInfo','_textInfo','filterInfo','_sheetsPivotTableAdaptorModel','Month','removeCollectionImp','_fieldsCollectionChange$','updatePivotTableRangeInfo','getFieldIds','pivotTableConfigs','FORCE_STRING','string','pivotPerformCheck','Varp\x20of\x20','return\x20','_pivotTableMatrixInfo','row','options','_injector','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','BadReference','getSubtotal','handleSourceRangeChange','redos','529543DTgUtd','updateViewInfo','_localeService','DIV_BY_ZERO','getName','deleteUnitId','blank','get','_pivotRenderInfoCache','refreshGroupField','addPivotTableWithConfig','getFormat','NotNumber','_config','pivotMutationGenerate','#eceeff','sheetName','isText','StdDevp\x20of\x20','#e6ebfb','3807312ihzElB','getColumnCount','_initPivotDataGetListener','_globalComputedEndHelpFunc','sheet.mutation.set-pivot-format','originTargetInfo','_sheetsPivotTableService','collections','setRangeValueRedoMutation','SetOptions','GrandTotal','sheets.tabs.sheet','_initCommandInterceptListener','set','sheets-pivot.productName','col','sheets-pivot.dateGroup.hour','floor','varp','registerRefRange','NORMAL','info','getRefRangeMutationsByMoveRange','_collectionChange$','keys','(Blank)','_globalComputingSrv','fetchThroughAsyncInterceptors','bind','sheet.mutation.rename-pivot-field','ΣValue','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','Quarter','getSheetId','SetPivotFilter','3265kMNmYa','collectionConfig','deepClone','sheets-pivot.minName','getDirtyInfo','subscribe','rangeCache','CELL_CONTENT','_ensurePivotTableMatrixInfo','leafStyle','clearExclusiveRangesByGroupId','fontRenderExtension','1337eFeuZH','setPivotTableConfig','reduce','sheet.mutation.remove-pivot-table','iterateFieldByArea','Max\x20of\x20','Grand\x20Total','_initRegisterCommand','_pivotRenderValueMatrixCache','_updatePivotTableInstanceCache','updateConfig','addRecord','_sheetInterceptorService','ManualFilter','_viewUpdate$','getLastRow','setValue','registerSyncingMutations','sheet.command.update-pivot-value-position','updatePivotTableMatrixInfo','_commandService','setCollapse','getSortInfo','RenameField','sheet.mutation.remove-pivot-field','Min\x20of\x20','Date','_sheetsPivotDataSourceModel','nGbaU2sb\x207hadQHU2sb(T2ahblh,\x20HG3T2awhQ)\x20{\x20\x20\x20\x20UdQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20T2ahblhVbnsXudUDdduQ\x20=\x20T2ahblh.lHT2U(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20sd2q2b1hlluqh\x20=\x20JL4O.Hudlh(uUs3(T2ahblhVbnsXudUDdduQ[A]));\x20\x20\x20\x20\x20\x20\x20\x202n\x20(!sd2q2b1hlluqh.G7)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sd2q2b1hlluqh.G7\x20=\x20OGK3hd(T2ahblhVbnsXudUDdduQ[v]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20asblU\x202lxsdChd\x20=\x20UQHhsn\x20xsdChdpTs3uTLasHh\x20!==\x20\x27Gb7hn2bh7\x27\x20&&\x20lhTn\x202blUubahsn\x20xsdChdpTs3uTLasHh;\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20asbUhEU\x20=\x202lxsdChd\x20?\x20lhTn\x20:\x20M2b7sM;\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20Khlluqhxsd7\x20=\x20asbUhEU.__SulhNv__.Hudlh(T2ahblhVbnsXudUDdduQ[A]);\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20Khlluqh\x20=\x20asbUhEU.__YhE__.lUd2bq2nQ(Khlluqhxsd7);\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20l2qbuUGdhxsd7\x20=\x20asbUhEU.__SulhNv__.Hudlh(T2ahblhVbnsXudUDdduQ[r]);\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20l2qbuUGdh\x20=\x20asbUhEU.__YhE__.lUd2bq2nQ(l2qbuUGdhxsd7);\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20l2qb5uT27\x20=\x20asbUhEU.__mhd2nQ__(l2qbuUGdh,\x20Khlluqh,\x20HG3T2awhQ);\x20\x20\x20\x20\x20\x20\x20\x20asblU\x207sKu2b\x20=\x20sd2q2b1hlluqh.7K;\x20\x20\x20\x20\x20\x20\x20\x20nGbaU2sb\x202lksKu2b1uUaz2bq(sXuUUhdb,\x20sYslU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20HuUUhdb\x20=\x20sXuUUhdb.dhHTuah(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20zslU\x20=\x20sYslU.dhHTuah(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20HuUUhdbXudUl\x20=\x20HuUUhdb.lHT2U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20zslUXudUl\x20=\x20zslU.lHT2U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202n\x20(!HuUUhdb.2baTG7hl(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dhUGdb\x20HuUUhdb\x20===\x20zslU;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202n\x20(HuUUhdbXudUl.ThbqUz\x20<\x20A\x20||\x20HuUUhdbXudUl[e]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dhUGdb\x20nuTlh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20HuUUhdbLGnn2E\x20=\x20HuUUhdbXudUl.lT2ah(P).fs2b(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20zslULGnn2E\x20=\x20zslUXudUl.lT2ah(-HuUUhdbXudUl.ThbqUz\x20+\x20P).fs2b(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dhUGdb\x20HuUUhdbLGnn2E\x20===\x20zslULGnn2E;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ThU\x207sKu2b5uT27\x20=\x20(7sKu2b\x20&&\x207sKu2b.ThbqUz)\x20?\x207sKu2b.lsKh((7KVUhK)\x20=>\x202lksKu2b1uUaz2bq(7KVUhK,\x20TsauU2sb.zslUbuKh))\x20:\x20UdGh;\x20\x20\x20\x20\x20\x20\x20\x202n\x20(TsauU2sb.zslUbuKh\x20===\x20\x27TsauTzslU\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207sKu2b5uT27\x20=\x20UdGh;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20asblU\x20muT27\x20=\x20l2qb5uT27\x20&&\x207sKu2b5uT27;\x20\x20\x20\x20\x20\x20\x20\x20dhUGdb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20muT27,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Khlluqh:\x20sd2q2b1hlluqh,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20auUaz\x20(hddsd)\x20{\x20\x20\x20\x20\x20\x20\x20\x20dhUGdb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20muT27:\x20nuTlh,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Khlluqh:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','intersects','getOriginFieldId','YearQuarter','sheet.mutation.set-pivot-option','columnFields','UNIVER_SHEET','#f4f4f5','renameField','addExclusiveRange','removePivotTable','triggerDirtyFeature','sheet.mutation.set-pivot-filter','sheet.mutation.set-pivot-sort-info','setRangeValueUndoMutation','markDirty','remove','979425xJCoHD','sheet.command.remove-pivot-field','call','setPivotSetting','setValuePivotFilter','sheets-pivot.averageName','sheets-pivot.varName','getTypeOfUnitDisposed$','_ensureViewDataMap','_pivotConfigChange$','setOptions','new','Filter','sheets-pivot.blank','getOwnPropertyDescriptor','getSubUnitPivotConfigs','Add','sheet.command.update-pivot-table-source-range','_updateRenderEmptyCache','valid','sheets-pivot.grandTotal','formJSON','value','_pivotTableRangeInfo','SetSubtotalType','YearMonth','getFieldById','getPivotTableModelConfig','parseInt','getConfig','getMatrix','AddPivotTable','setPivotCollapse','sortInfo','subTotalStyle','PivotMultipleValueId','sheets-pivot.dateGroup.monthDate','_dataSyncPrimaryController','addDataFieldWithoutUnitInfo','targetCellInfo','getformat','includes','dimension','intercept','_createExclusiveRange','getPivotTableInstance','SetValuePivotFilter','from','sheets-pivot.stdDevpName','removeDataField','20125930fTctPO','RemovePivotField','UpdateValuePosition','_pivotInitCompleted$','sheets-pivot.sumName','random','shouldClear','sheets-pivot.stdDevName','clearRenderCache','substring','pbt','sheet.mutation.set-pivot-position','_onRefRangeChange','Existing','hasOwnProperty','charCodeAt','sheets-pivot.dateGroup.yearQuarter','values','sheets-pivot.countNumsName'];_0x4ce2=function(){return _0x5daf40;};return _0x4ce2();}function Ei(_0x5f5033,_0x3a1b65){const _0x4caf4b=_0x84255b;let _0x5ca187='';const _0x8687d8=this[_0x4caf4b(0x215)]();switch(_0x3a1b65){case _0x4f8d16[_0x4caf4b(0x43a)]:_0x5ca187=_0x8687d8[_0x4caf4b(0x2be)]+_0x5f5033;break;case _0x4f8d16[_0x4caf4b(0x31f)]:_0x5ca187=_0x8687d8[_0x4caf4b(0x34e)]+_0x5f5033;break;case _0x4f8d16['countNums']:_0x5ca187=_0x8687d8[_0x4caf4b(0x2fd)]+_0x5f5033;break;case _0x4f8d16[_0x4caf4b(0x42f)]:_0x5ca187=_0x8687d8['sheets-pivot.maxName']+_0x5f5033;break;case _0x4f8d16[_0x4caf4b(0x383)]:_0x5ca187=_0x8687d8[_0x4caf4b(0x283)]+_0x5f5033;break;case _0x4f8d16[_0x4caf4b(0x338)]:_0x5ca187=_0x8687d8[_0x4caf4b(0x26b)]+_0x5f5033;break;case _0x4f8d16[_0x4caf4b(0x227)]:_0x5ca187=_0x8687d8[_0x4caf4b(0x2f2)]+_0x5f5033;break;case _0x4f8d16[_0x4caf4b(0x3c7)]:_0x5ca187=_0x8687d8[_0x4caf4b(0x2e9)]+_0x5f5033;break;case _0x4f8d16[_0x4caf4b(0x387)]:_0x5ca187=_0x8687d8[_0x4caf4b(0x2ef)]+_0x5f5033;break;case _0x4f8d16[_0x4caf4b(0x203)]:_0x5ca187=_0x8687d8[_0x4caf4b(0x2bf)]+_0x5f5033;break;case _0x4f8d16[_0x4caf4b(0x26f)]:_0x5ca187=_0x8687d8[_0x4caf4b(0x3e1)]+_0x5f5033;break;default:_0x5ca187=_0x5f5033;break;}return _0x5ca187;}function xi(_0x18af2c,_0x11b0ab,_0x517f6d,_0x1d9b12,_0x5076a3){const _0x39bddf=_0x84255b;var _0x1c6fdb,_0x365f43,_0xfe3b8e,_0x580258,_0x10124b;const _0x268ecb=_0x4eb9f6(_0x18af2c,_0x11b0ab),{rangesInfo:_0x4e02de,areaInfo:_0x4afaaa,headerMap:_0x5b5a2f}=_0x5076a3;if(!_0x4e02de||!_0x4afaaa||!_0x5b5a2f)return;const _0x4baaa7=Object['keys'](_0x4e02de)[_0x39bddf(0x211)](_0xf96761=>_0x4e02de[_0xf96761][_0x39bddf(0x421)](_0x11e57e=>_0x2898d2[_0x39bddf(0x32a)](_0x11e57e,_0x268ecb))),_0x1d4001=_0x4afaaa;let _0x3714d3,_0x41b5ec,_0x295912;if(_0x4baaa7===_0x39bddf(0x42b))_0x3714d3=(_0x1c6fdb=_0x1d4001==null?void 0x0:_0x1d4001[_0x39bddf(0x33d)])==null?void 0x0:_0x1c6fdb[_0x18af2c],_0x41b5ec=(_0x365f43=_0x5b5a2f==null?void 0x0:_0x5b5a2f[_0x39bddf(0x315)])==null?void 0x0:_0x365f43[_0x11b0ab],_0x295912=_0x41b5ec==null?void 0x0:_0x41b5ec['tableFieldId'];else{if(_0x4baaa7===_0x39bddf(0x1e6))_0x3714d3=(_0xfe3b8e=_0x1d4001==null?void 0x0:_0x1d4001[_0x39bddf(0x231)])==null?void 0x0:_0xfe3b8e[_0x11b0ab],_0x41b5ec=(_0x580258=_0x5b5a2f[_0x39bddf(0x320)])==null?void 0x0:_0x580258[_0x18af2c+0x1+_0x11b0ab-_0x4e02de['colRanges'][0x0][_0x39bddf(0x373)]],_0x295912=_0x41b5ec==null?void 0x0:_0x41b5ec[_0x39bddf(0x33f)];else{if(_0x4baaa7===_0x39bddf(0x3e7))_0x3714d3=(_0x10124b=_0x1d4001==null?void 0x0:_0x1d4001[_0x39bddf(0x39a)])==null?void 0x0:_0x10124b[_0x11b0ab],_0x295912=_0x3714d3==null?void 0x0:_0x3714d3[_0x39bddf(0x33f)];else{if(_0x4baaa7==='pageRanges'){const _0xd8baaa=_0x517f6d==null?void 0x0:_0x517f6d['fi'];_0xd8baaa!==void 0x0&&(_0x295912=_0x1d9b12['getFilterFieldIdByIndex'](_0xd8baaa));}}}}return{'filterId':_0x295912,'info':_0x3714d3,'data':_0x517f6d,'headerInfo':_0x41b5ec};}function Oi(_0x4d4ea0,_0x19ef0e,_0x55ccb8){const _0x3d3701=_0x84255b,_0x57eb53=_0x4d4ea0[_0x3d3701(0x40f)],_0x26610e=_0x57eb53['getFieldIds'](),_0x339f60=new Set();_0x4d4ea0['iterateField'](_0x1cb66d=>{const _0x1ee188=_0x3d3701;_0x339f60[_0x1ee188(0x399)](_0x1cb66d[_0x1ee188(0x408)]);});const _0x1975be=_0x26610e[_0x3d3701(0x3c5)](_0x4ab08d=>{const _0x5a1354=_0x3d3701,_0x3904be=_0x57eb53[_0x5a1354(0x2d3)](_0x4ab08d);return{'checked':_0x339f60[_0x5a1354(0x375)](_0x4ab08d),'dataFieldId':_0x3904be['id'],'id':_0x3904be['id'],'name':_0x57eb53['getDisplayName'](_0x3904be['id']),'type':_0x3904be[_0x5a1354(0x379)](),'pivotTableId':_0x19ef0e};}),_0x1a3bac=[];_0x4d4ea0['iterateFieldByArea'](_0xb32ca5[_0x3d3701(0x3af)],_0x4f4a11=>{const _0x21defd=_0x3d3701;_0x1a3bac[_0x21defd(0x1f7)]({'dataFieldId':_0x4f4a11[_0x21defd(0x408)],'tableFieldId':_0x4f4a11[_0x21defd(0x425)](),'displayName':_0x4f4a11[_0x21defd(0x3bd)]()});});const _0x1fa5d8=[];_0x4d4ea0['iterateFieldByArea'](_0xb32ca5[_0x3d3701(0x3db)],_0x16dbf3=>{const _0x41e959=_0x3d3701;_0x1fa5d8[_0x41e959(0x1f7)]({'dataFieldId':_0x16dbf3[_0x41e959(0x408)],'tableFieldId':_0x16dbf3[_0x41e959(0x425)](),'displayName':_0x16dbf3[_0x41e959(0x3bd)]()});});const _0x100dd5=[];if(_0x4d4ea0[_0x3d3701(0x290)](_0xb32ca5[_0x3d3701(0x312)],_0x1f5f82=>{const _0x3bc558=_0x3d3701;_0x100dd5['push']({'dataFieldId':_0x1f5f82[_0x3bc558(0x408)],'tableFieldId':_0x1f5f82[_0x3bc558(0x425)](),'displayName':_0x1f5f82['getDisplayName'](),'format':_0x1f5f82[_0x3bc558(0x254)](),'subTotalType':_0x1f5f82['getSubtotal']()});}),_0x100dd5[_0x3d3701(0x321)]>0x1){const _0x4db96b=_0x4d4ea0[_0x3d3701(0x222)]();(_0x4d4ea0[_0x3d3701(0x36e)]()?_0x1fa5d8:_0x1a3bac)[_0x3d3701(0x210)](_0x4db96b,0x0,{'dataFieldId':'','tableFieldId':_0x3d3701(0x2dc),'displayName':_0x3d3701(0x27b)});}const _0x24ad00=[];_0x4d4ea0[_0x3d3701(0x290)](_0xb32ca5[_0x3d3701(0x2c5)],_0x128eec=>{const _0x16214=_0x3d3701;_0x24ad00[_0x16214(0x1f7)]({'dataFieldId':_0x128eec[_0x16214(0x408)],'tableFieldId':_0x128eec['getId'](),'displayName':_0x128eec[_0x16214(0x3bd)]()});});const _0x5e4568=_0x55ccb8['sourceRangeInfo'];return{'sourceList':_0x1975be,'sourceRange':_0x5e4568,'rowFields':_0x1a3bac,'columnFields':_0x1fa5d8,'valueFields':_0x100dd5,'filterFields':_0x24ad00,'positionInfo':_0x55ccb8['targetCellInfo']};}function fo(_0x21b988,_0x48ec05,_0xccfd80='',_0x36f7ef={}){const _0x21c99b=_0x84255b,_0x1158e7=_0x21b988[_0x21c99b(0x250)](_0x40a013);for(const _0x45e629 in _0x48ec05)if(Object[_0x21c99b(0x3eb)][_0x21c99b(0x2f9)][_0x21c99b(0x2bb)](_0x48ec05,_0x45e629)){const _0x432144=_0xccfd80?_0xccfd80+'.'+_0x45e629:_0x45e629;typeof _0x48ec05[_0x45e629]==_0x21c99b(0x360)&&_0x48ec05[_0x45e629]!==null&&!Array[_0x21c99b(0x22b)](_0x48ec05[_0x45e629])?fo(_0x21b988,_0x48ec05[_0x45e629],_0x432144,_0x36f7ef):_0x36f7ef[_0x432144]=_0x1158e7['t'](_0x432144);}return _0x36f7ef;}const $t=_0x365f44=>{const _0x1013cf=_0x84255b;if(!_0x365f44)return[];const {rowRanges:_0x5e931d,colRanges:_0x9f8ceb,cornerRanges:_0x5dcd8e,dataRanges:_0x108a00,pageRanges:_0x534e2e}=_0x365f44,_0x442286=[..._0x9f8ceb,..._0x5e931d,..._0x108a00,..._0x5dcd8e]['filter'](_0x5162d4=>_0x5162d4[_0x1013cf(0x37d)]>=0x0&&_0x5162d4[_0x1013cf(0x373)]>=0x0&&_0x5162d4['endRow']>=0x0&&_0x5162d4[_0x1013cf(0x444)]>=0x0);let _0x409fe4=Number[_0x1013cf(0x3fb)],_0xbb4ea4=Number[_0x1013cf(0x362)],_0x6fa124=Number[_0x1013cf(0x3fb)],_0xb62d03=Number[_0x1013cf(0x362)];for(let _0x5ad59c=0x0;_0x5ad59c<_0x442286[_0x1013cf(0x321)];_0x5ad59c++)_0x409fe4=Math['min'](_0x409fe4,_0x442286[_0x5ad59c][_0x1013cf(0x37d)]),_0xbb4ea4=Math['max'](_0xbb4ea4,_0x442286[_0x5ad59c]['endRow']),_0x6fa124=Math[_0x1013cf(0x383)](_0x6fa124,_0x442286[_0x5ad59c][_0x1013cf(0x373)]),_0xb62d03=Math[_0x1013cf(0x42f)](_0xb62d03,_0x442286[_0x5ad59c][_0x1013cf(0x444)]);return[..._0x534e2e,{'startRow':_0x409fe4,'endRow':_0xbb4ea4,'startColumn':_0x6fa124,'endColumn':_0xb62d03}];};function Ai(_0x30a381,_0x3aa893){const _0x46ed42=_0x84255b,_0x169ec0=_0x3aa893[_0x46ed42(0x3ab)][_0x46ed42(0x1f4)],{pivotTableId:_0x11e95c,unitId:_0x1b7ebf,subUnitId:_0x53c19f}=_0x3aa893;if(!_0x169ec0)return;const _0x1e4227=_0x30a381[_0x46ed42(0x250)](G),_0xbb316c=_0x1e4227['getPivotTableInstance'](_0x11e95c),_0x4175d1=_0x1e4227[_0x46ed42(0x3f4)](_0x1b7ebf,_0x53c19f,_0x11e95c);if(!_0xbb316c||!_0x4175d1)return;const _0x39fcc6=_0xbb316c['getIndexesByPathStr'](_0x169ec0['tuple']);if(!(_0x39fcc6!=null&&_0x39fcc6[_0x46ed42(0x321)]))return;const _0x5bb39e=_0x4175d1[_0x46ed42(0x208)],{unitId:_0x396367,subUnitId:_0x97e350,range:_0x36ed6c}=_0x5bb39e;let _0x294856=0x0;const _0x11d7db=_0xbb316c[_0x46ed42(0x40f)][_0x46ed42(0x239)]()[_0x46ed42(0x28e)]((_0x2a0412,_0xf66098)=>{const _0x372089=_0x46ed42;var _0x3953d7;const _0x440264=(_0x3953d7=_0xbb316c[_0x372089(0x3de)](_0xf66098))==null?void 0x0:_0x3953d7['getformat']();return _0x440264&&(_0x2a0412[String(_0x294856)]=_0x440264),_0x294856++,_0x2a0412;},{});return{'indexes':_0x39fcc6,'range':_0x36ed6c,'sourceUnitId':_0x396367,'sourceSubUnitId':_0x97e350,'formatMap':_0x11d7db};}function Ko(_0x592051,_0x13c909){const _0x16fd71=_0x84255b;if(!_0x592051||!_0x13c909)return!0x0;const _0x312ace=_0x558d94(Wo,Jo),_0x46634f=new Function(_0x16fd71(0x23f)+_0x312ace)()(_0x592051,_0x13c909)[_0x16fd71(0x366)],_0x4c348b=_0x1df781(_0x46634f,'sf',ko);return!((_0x46634f==null?void 0x0:_0x46634f['rt'])===_0x541de4['NO_COMMERCIAL']&&!_0x4c348b);}function go(_0x87f916,_0x34dfcb,_0x58cfae){const _0x4d3c24=_0x84255b,_0x4eb71b={'count':_0x87f916,'timeValid':!0x1};if(!_0x34dfcb||!_0x58cfae)return _0x4eb71b;const _0x37b5cf=_0x558d94(Wo,Jo),_0x527a48=new Function(_0x4d3c24(0x23f)+_0x37b5cf)()(_0x34dfcb,_0x58cfae);if(_0x527a48!=null&&_0x527a48[_0x4d3c24(0x2cc)]){const _0x172846=_0x527a48[_0x4d3c24(0x366)],_0x15352e=_0x1df781(_0x172846,'sf',ko);return{'count':_0x23ef31(_0x172846,_0x15352e,_0x4d3c24(0x3cc),_0x87f916,_0x87f916,0x0),'timeValid':_0x15352e};}return _0x4eb71b;}function Ho(_0xd79f5d,_0x294e4d,_0x37cdd7,_0x4fd61d){const _0x3b9d3c=_0x84255b,_0x373e27={'subUnitId':_0x37cdd7,'unitId':_0x294e4d,'cellValue':_0x5a652b(_0x4fd61d)},_0x15252b=_0x34a85b(_0xd79f5d,_0x373e27);let _0x475c6a=!0x1;return new _0x3fd261(_0x15252b[_0x3b9d3c(0x331)])['forValue']((_0x79f0cc,_0x2b849a,_0x12fac0)=>{if(!_0x475c6a&&_0x12fac0&&(_0x12fac0['custom']||_0x12fac0['f']||_0x12fac0['p']||_0x12fac0['s']||_0x12fac0['si']||_0x12fac0['t']||_0x12fac0['v']))return _0x475c6a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x6311eb['id'],'params':_0x15252b},'setRangeValueRedoMutation':{'id':_0x6311eb['id'],'params':_0x373e27},'shouldClear':_0x475c6a};}function ki(_0x54c642){const {row:_0x693a7e,col:_0x796d5c}=_0x54c642,_0x3d9a55={'startRow':_0x693a7e,'endRow':_0x693a7e,'startColumn':_0x796d5c,'endColumn':_0x796d5c},_0xf267ad={'startRow':_0x693a7e+0x2,'endRow':_0x693a7e+0xe,'startColumn':_0x796d5c,'endColumn':_0x796d5c+0x6};return[_0x3d9a55,_0xf267ad];}function Li(_0x23c26c,_0x5e9f86,_0x38dd0f){const _0x36d9f4=_0x84255b,{cornerView:_0x39e426,rowView:_0x24ad76,colView:_0x46c270,pageView:_0x11d311}=_0x23c26c,{row:_0x46af02,col:_0x43567d}=_0x5e9f86;if(_0x38dd0f)return{'rowCount':bi+_0x46af02,'colCount':Si+_0x43567d};const _0x10e20d=_0x11d311[_0x36d9f4(0x3f6)]>-0x1?_0x11d311[_0x36d9f4(0x3f6)]+0x1:0x0,_0x55261b=_0x11d311[_0x36d9f4(0x1ed)]>-0x1?_0x11d311[_0x36d9f4(0x1ed)]:0x0,_0xc86af9=_0x46af02+_0x10e20d+(_0x10e20d?0x1:0x0)+_0x39e426[_0x36d9f4(0x441)]+_0x24ad76[_0x36d9f4(0x441)],_0x1090e1=_0x43567d+_0x55261b,_0x3070ae=_0x43567d+_0x39e426[_0x36d9f4(0x200)]+_0x46c270[_0x36d9f4(0x200)],_0x122919=Math[_0x36d9f4(0x42f)](_0x1090e1,_0x3070ae);return{'rowCount':_0xc86af9,'colCount':_0x122919};}function we(_0x2eced1,_0x11b7aa,_0x1af9ff,_0x415a30){const _0x6c07c3=_0x84255b,{row:_0x35efaf,col:_0x568c94,unitId:_0x10f8c1,subUnitId:_0x564c5a}=_0x1af9ff,_0x4dd0cb=Li(_0x11b7aa,{'row':_0x35efaf,'col':_0x568c94},_0x415a30),_0x36f901=_0x2eced1[_0x6c07c3(0x250)](_0x30a6c3),_0x8fa893=_0x2d749e(_0x36f901,{'unitId':_0x10f8c1,'subUnitId':_0x564c5a}),_0x231dbd=[],_0x336768=[];if(!_0x8fa893)return{'undos':_0x336768,'redos':_0x231dbd};const {worksheet:_0xb3ca28}=_0x8fa893,_0x393b2d=_0xb3ca28[_0x6c07c3(0x207)](),_0x548230=_0xb3ca28[_0x6c07c3(0x25e)]();return _0x393b2d<_0x4dd0cb['rowCount']&&(_0x231dbd[_0x6c07c3(0x1f7)]({'id':_0xfd2d5d['id'],'params':{'unitId':_0x10f8c1,'subUnitId':_0x564c5a,'range':{'startRow':_0x393b2d,'endRow':_0x4dd0cb[_0x6c07c3(0x441)]-0x1,'startColumn':0x0,'endColumn':_0x548230-0x1}}}),_0x336768[_0x6c07c3(0x1f7)]({'id':_0x58e78d['id'],'params':{'unitId':_0x10f8c1,'subUnitId':_0x564c5a,'range':{'startRow':_0x393b2d,'endRow':_0x4dd0cb[_0x6c07c3(0x441)]-0x1,'startColumn':0x0,'endColumn':_0x548230-0x1}}})),_0x548230<_0x4dd0cb[_0x6c07c3(0x200)]&&(_0x231dbd['push']({'id':_0x4ee679['id'],'params':{'unitId':_0x10f8c1,'subUnitId':_0x564c5a,'range':{'startRow':0x0,'endRow':_0x393b2d-0x1,'startColumn':_0x548230,'endColumn':_0x4dd0cb[_0x6c07c3(0x200)]-0x1}}}),_0x336768[_0x6c07c3(0x1f7)]({'id':_0x45b872['id'],'params':{'unitId':_0x10f8c1,'subUnitId':_0x564c5a,'range':{'startRow':0x0,'endRow':_0x393b2d-0x1,'startColumn':_0x548230,'endColumn':_0x4dd0cb[_0x6c07c3(0x200)]-0x1}}})),{'undos':_0x336768,'redos':_0x231dbd};}function Bi(_0x41427c){const _0x1287e6=_0x84255b;let _0x219bfb=0x0;for(let _0xd67614=0x0;_0xd67614<_0x41427c[_0x1287e6(0x321)];_0xd67614++){const _0x91e78f=_0x41427c[_0x1287e6(0x2fa)](_0xd67614);_0x91e78f>=0x4e00&&_0x91e78f<=0x9fff||_0x91e78f>=0x3000&&_0x91e78f<=0x303f||_0x91e78f>=0xff00&&_0x91e78f<=0xffef?_0x219bfb+=0x2:_0x219bfb+=0x1;}return _0x219bfb;}function To(_0x3589ad,_0x3ceb4d,_0x40fb5b,_0x4499e9){const _0x3133c1=_0x84255b;var _0x2c2233,_0x341e6e,_0x39999d,_0x226d08;const {rowCount:_0x19f5ab,colCount:_0x127014,headerMap:_0x2569cb}=_0x3589ad,_0x3b87aa=0x64,_0x135df6=Math[_0x3133c1(0x383)](_0x19f5ab,_0x3b87aa),_0x26b047=Math[_0x3133c1(0x383)](_0x127014,_0x3b87aa);let _0x2eee4d='',_0x400743=0x0;for(let _0x8f8b5d=0x0;_0x8f8b5d<_0x135df6;_0x8f8b5d++)for(let _0x45e74c=0x0;_0x45e74c<_0x26b047;_0x45e74c++){const _0x206a35={...(_0x341e6e=(_0x2c2233=_0x3589ad[_0x3133c1(0x308)])==null?void 0x0:_0x2c2233[_0x8f8b5d])==null?void 0x0:_0x341e6e[_0x45e74c]},_0x4a5980=(_0x39999d=_0x2569cb[_0x8f8b5d])==null?void 0x0:_0x39999d['tableFieldId'],_0x1c3520=_0x4499e9[_0x4a5980];let _0x16bef7=_0x3589ad[_0x3133c1(0x3e9)](_0x8f8b5d,_0x45e74c);if(_0x206a35){const _0x52840d=_0x40fb5b?_0x45e74c===0x0&&((_0x226d08=_0x3589ad[_0x3133c1(0x32b)](_0x45e74c+0x1))==null?void 0x0:_0x226d08[_0x3133c1(0x20b)]):!0x1;_0x16bef7=vt(_0x206a35,_0x52840d,_0x1c3520,_0x3ceb4d);}if(_0x16bef7!==void 0x0){const _0x5ba661=Bi(String(_0x16bef7));_0x400743<_0x5ba661&&(_0x2eee4d=String(_0x16bef7),_0x400743=_0x5ba661);}}return _0x2eee4d;}function $i(_0x5759b8){const _0x56fe86=_0x84255b,{rowCount:_0x33e78a,colCount:_0x1e8ddc}=_0x5759b8;let _0x4e21f9='',_0x7b52cd=0x0;for(let _0x155aad=_0x33e78a-0x1;_0x155aad>0x0&&_0x155aad>_0x33e78a-0x3;_0x155aad--)for(let _0x252185=0x0;_0x252185<_0x1e8ddc;_0x252185++){const _0x11a671=_0x5759b8[_0x56fe86(0x3e9)](_0x155aad,_0x252185);if(_0x11a671!==void 0x0){const _0x428aa1=String(_0x11a671)['length'];_0x7b52cd<_0x428aa1&&(_0x4e21f9=String(_0x11a671),_0x7b52cd=_0x428aa1);}}return _0x4e21f9;}function Gi(_0x3a1b83){const _0x56b660=_0x84255b,{rowCount:_0x37c7ca,colCount:_0x1504ae}=_0x3a1b83;let _0x43ebd7='',_0x52e20d=0x0;for(let _0x4b5b59=0x0;_0x4b5b59<_0x37c7ca;_0x4b5b59++)for(let _0x5809eb=0x0;_0x5809eb<_0x1504ae;_0x5809eb++){const _0x24268e=_0x3a1b83[_0x56b660(0x3e9)](_0x4b5b59,_0x5809eb);if(_0x24268e!==void 0x0){const _0x21e8ac=String(_0x24268e)[_0x56b660(0x321)];_0x52e20d<_0x21e8ac&&(_0x43ebd7=String(_0x24268e),_0x52e20d=_0x21e8ac);}}return _0x43ebd7;}function Ji(_0x2e3fdc,_0x438208){const _0x3a6a3=_0x84255b,{rowFields:_0x114c26,columnFields:_0x721e8d,valueFields:_0x4d88d0,filterFields:_0x25521d,dimension:_0x2fa3a8,measure:_0x142888}=_0x438208;for(const _0x1e627e of _0x114c26){const _0x299e33=_0x2fa3a8[_0x1e627e];_0x299e33&&_0x2e3fdc[_0x3a6a3(0x3de)](_0x299e33[_0x3a6a3(0x408)])&&(_0x2e3fdc[_0x3a6a3(0x36f)](_0x299e33[_0x3a6a3(0x408)],_0xb32ca5[_0x3a6a3(0x3af)],void 0x0,_0x1e627e),_0x299e33[_0x3a6a3(0x3ae)]&&_0x2e3fdc[_0x3a6a3(0x2b0)](_0x299e33['id'],_0x299e33[_0x3a6a3(0x3ae)]),_0x299e33[_0x3a6a3(0x2da)]&&_0x2e3fdc[_0x3a6a3(0x44a)](_0x299e33['id'],_0x299e33[_0x3a6a3(0x2da)]),_0x299e33[_0x3a6a3(0x233)]&&_0x2e3fdc[_0x3a6a3(0x411)](_0x299e33['id'],_0x299e33[_0x3a6a3(0x233)]));}for(const _0x296466 of _0x721e8d){const _0x5288a5=_0x2fa3a8[_0x296466];_0x5288a5&&_0x2e3fdc['getDataFieldByDataFieldId'](_0x5288a5[_0x3a6a3(0x408)])&&(_0x2e3fdc[_0x3a6a3(0x36f)](_0x5288a5[_0x3a6a3(0x408)],_0xb32ca5['Column'],void 0x0,_0x296466),_0x5288a5[_0x3a6a3(0x2da)]&&_0x2e3fdc[_0x3a6a3(0x44a)](_0x5288a5['id'],_0x5288a5['sortInfo']),_0x5288a5[_0x3a6a3(0x233)]&&_0x2e3fdc[_0x3a6a3(0x411)](_0x5288a5['id'],_0x5288a5['filterInfo']),_0x5288a5[_0x3a6a3(0x3ae)]&&_0x2e3fdc['renameField'](_0x5288a5['id'],_0x5288a5[_0x3a6a3(0x3ae)]));}for(const _0x41315d of _0x25521d){const _0x2ed5ab=_0x2fa3a8[_0x41315d];_0x2ed5ab&&_0x2e3fdc['getDataFieldByDataFieldId'](_0x2ed5ab[_0x3a6a3(0x408)])&&(_0x2e3fdc[_0x3a6a3(0x36f)](_0x2ed5ab['dataFieldId'],_0xb32ca5[_0x3a6a3(0x2c5)],void 0x0,_0x41315d),_0x2ed5ab[_0x3a6a3(0x2da)]&&_0x2e3fdc[_0x3a6a3(0x44a)](_0x2ed5ab['id'],_0x2ed5ab['sortInfo']),_0x2ed5ab['filterInfo']&&_0x2e3fdc['setLabelFilterInfo'](_0x2ed5ab['id'],_0x2ed5ab['filterInfo']),_0x2ed5ab[_0x3a6a3(0x3ae)]&&_0x2e3fdc[_0x3a6a3(0x2b0)](_0x2ed5ab['id'],_0x2ed5ab[_0x3a6a3(0x3ae)]));}for(const _0x543d55 of _0x4d88d0){const _0x212060=_0x142888[_0x543d55];_0x212060&&_0x2e3fdc[_0x3a6a3(0x3de)](_0x212060[_0x3a6a3(0x408)])&&(_0x2e3fdc[_0x3a6a3(0x36f)](_0x212060[_0x3a6a3(0x408)],_0xb32ca5[_0x3a6a3(0x312)],void 0x0,_0x543d55),_0x212060[_0x3a6a3(0x3c9)]!==void 0x0&&_0x2e3fdc[_0x3a6a3(0x226)](_0x543d55,_0x212060[_0x3a6a3(0x3c9)]),_0x212060[_0x3a6a3(0x32e)]&&_0x2e3fdc[_0x3a6a3(0x41b)](_0x543d55,_0x212060[_0x3a6a3(0x32e)]),_0x212060[_0x3a6a3(0x3ae)]&&_0x2e3fdc['renameField'](_0x212060['id'],_0x212060[_0x3a6a3(0x3ae)]));}const _0xa69dce=_0x438208[_0x3a6a3(0x3ec)];for(const {fieldId:_0x27f5b0,filterInfo:_0x322124}of _0xa69dce)_0x2e3fdc[_0x3a6a3(0x377)](_0x27f5b0,_0x322124);}function Wi(_0x220805,_0x5d1eee){const _0x28ce6b=_0x84255b,_0x8e7b5e=[];_0x5d1eee===_0xb32ca5[_0x28ce6b(0x3af)]&&_0x220805['iterateFieldByArea'](_0xb32ca5[_0x28ce6b(0x3af)],_0x1fa4ba=>{const _0x24bdf4=_0x28ce6b;_0x8e7b5e['push'](_0x1fa4ba[_0x24bdf4(0x425)]());}),_0x5d1eee===_0xb32ca5[_0x28ce6b(0x3db)]&&_0x220805[_0x28ce6b(0x290)](_0xb32ca5[_0x28ce6b(0x3db)],_0x2de6e7=>{const _0x4f4b98=_0x28ce6b;_0x8e7b5e[_0x4f4b98(0x1f7)](_0x2de6e7[_0x4f4b98(0x425)]());}),_0x5d1eee===_0xb32ca5[_0x28ce6b(0x2c5)]&&_0x220805[_0x28ce6b(0x290)](_0xb32ca5['Filter'],_0x371f2b=>{const _0x5ef9e7=_0x28ce6b;_0x8e7b5e[_0x5ef9e7(0x1f7)](_0x371f2b[_0x5ef9e7(0x425)]());}),_0x5d1eee===_0xb32ca5['Value']&&_0x220805[_0x28ce6b(0x290)](_0xb32ca5['Value'],_0xe6d010=>{const _0x155698=_0x28ce6b;_0x8e7b5e[_0x155698(0x1f7)](_0xe6d010[_0x155698(0x425)]());}),_0x5d1eee===void 0x0&&_0x220805[_0x28ce6b(0x436)](_0x42cbd7=>{const _0xbe73aa=_0x28ce6b;_0x8e7b5e['push'](_0x42cbd7[_0xbe73aa(0x425)]());});const _0x2a960=_0x8e7b5e['length'];for(let _0xcfee69=_0x2a960-0x1;_0xcfee69>=0x0;_0xcfee69--)_0x220805['removeField'](_0x8e7b5e[_0xcfee69]);const _0x454512=_0x220805[_0x28ce6b(0x2ff)]();for(const _0x45ba85 in _0x454512)_0x220805[_0x28ce6b(0x3df)](_0x45ba85);}function ji(_0x27d901,_0x2b4d72){const _0x1a5783=_0x84255b,_0x2fa060=new Date(_0x241c5e(_0x2b4d72)),_0x39ddf5=new Date(_0x241c5e(_0x27d901)),_0x58a91e=_0x2fa060['getFullYear'](),_0xf1e6aa=_0x39ddf5[_0x1a5783(0x214)](),_0x219ab5=_0x2fa060[_0x1a5783(0x37b)](),_0xe3dd60=_0x39ddf5[_0x1a5783(0x37b)](),_0x35218f=_0x2fa060[_0x1a5783(0x400)](),_0x1675b3=_0x39ddf5[_0x1a5783(0x400)](),_0x21a09a=_0x58a91e===_0xf1e6aa,_0x538400=_0x21a09a&&_0x219ab5===_0xe3dd60;return _0x21a09a&&_0x538400&&!(_0x538400&&_0x35218f===_0x1675b3)?_0x451ebe[_0x1a5783(0x224)]:_0x21a09a&&!_0x538400?_0x451ebe[_0x1a5783(0x2d2)]:_0x451ebe[_0x1a5783(0x395)];}function qo(_0x556d96,_0x14b3ea){const _0x106ffe=_0x84255b,_0x1aff31=_0x556d96[_0x106ffe(0x250)](G)[_0x106ffe(0x215)]();let _0x35a9c0='';switch(_0x14b3ea){case _0x451ebe['YearMonthDate']:_0x35a9c0=_0x1aff31[_0x106ffe(0x428)];break;case _0x451ebe['YearMonth']:_0x35a9c0=_0x1aff31[_0x106ffe(0x43f)];break;case _0x451ebe[_0x106ffe(0x395)]:_0x35a9c0=_0x1aff31['sheets-pivot.dateGroup.year'];break;case _0x451ebe[_0x106ffe(0x235)]:_0x35a9c0=_0x1aff31['sheets-pivot.dateGroup.month'];break;case _0x451ebe[_0x106ffe(0x27d)]:_0x35a9c0=_0x1aff31['sheets-pivot.dateGroup.quarter'];break;case _0x451ebe[_0x106ffe(0x2a6)]:_0x35a9c0=_0x1aff31[_0x106ffe(0x3cd)];break;case _0x451ebe['HourMinute']:_0x35a9c0=_0x1aff31['sheets-pivot.dateGroup.hourMinute'];break;case _0x451ebe[_0x106ffe(0x33a)]:_0x35a9c0=_0x1aff31[_0x106ffe(0x26d)];break;case _0x451ebe['Minute']:_0x35a9c0=_0x1aff31[_0x106ffe(0x3ce)];break;case _0x451ebe[_0x106ffe(0x31c)]:_0x35a9c0=_0x1aff31[_0x106ffe(0x2dd)];break;case _0x451ebe[_0x106ffe(0x2ab)]:_0x35a9c0=_0x1aff31[_0x106ffe(0x2fb)];break;default:_0x35a9c0='';break;}return _0x35a9c0;}const zo=_0x84255b(0x31b),yo={};var Ki=Object[_0x84255b(0x2c7)],Hi=(_0x221fb7,_0x3ee605,_0x3a53b5,_0x5ea444)=>{const _0xdc4edc=_0x84255b;for(var _0x1bda2d=_0x5ea444>0x1?void 0x0:_0x5ea444?Ki(_0x3ee605,_0x3a53b5):_0x3ee605,_0x2a0594=_0x221fb7[_0xdc4edc(0x321)]-0x1,_0x2c84d8;_0x2a0594>=0x0;_0x2a0594--)(_0x2c84d8=_0x221fb7[_0x2a0594])&&(_0x1bda2d=_0x2c84d8(_0x1bda2d)||_0x1bda2d);return _0x1bda2d;},at=(_0x5458e9,_0x1822ae)=>(_0x1aaca4,_0x5a9508)=>_0x1822ae(_0x1aaca4,_0x5a9508,_0x5458e9);let ve=class extends _0x439fd3{constructor(_0xd126ab,_0x1f1f31,_0x230332,_0x3b2cb7,_0x2e5c69){const _0xce4dcc=_0x84255b;super(),V(this,_0xce4dcc(0x3d5),new Map()),V(this,_0xce4dcc(0x342),new Map()),V(this,'_pivotTableRangeInfo',new Map()),V(this,_0xce4dcc(0x240),new Map()),V(this,_0xce4dcc(0x20f),new _0x9f9f60()),V(this,_0xce4dcc(0x2ee),new _0x9f9f60()),V(this,'pivotInitCompleted$',this[_0xce4dcc(0x2ee)][_0xce4dcc(0x317)]()),V(this,_0xce4dcc(0x2c2),new _0x9f9f60()),V(this,_0xce4dcc(0x357),this['_pivotConfigChange$'][_0xce4dcc(0x317)]()),V(this,_0xce4dcc(0x232),{}),V(this,_0xce4dcc(0x221),this[_0xce4dcc(0x20f)][_0xce4dcc(0x317)]()),(this['_injector']=_0xd126ab,this[_0xce4dcc(0x2a0)]=_0x1f1f31,this[_0xce4dcc(0x20e)]=_0x230332,this[_0xce4dcc(0x35d)]=_0x3b2cb7,this['_configService']=_0x2e5c69,this[_0xce4dcc(0x3c4)](),this[_0xce4dcc(0x3f9)]());const _0x46505e=this['_configService'][_0xce4dcc(0x2d6)](zo);(_0x46505e==null?void 0x0:_0x46505e['notExecuteFormula'])===!0x0&&this[_0xce4dcc(0x302)]();}[_0x84255b(0x3f9)](){const _0x308e5f=_0x84255b;this[_0x308e5f(0x433)](this['_univerInstanceService'][_0x308e5f(0x2c0)](_0x3b8577[_0x308e5f(0x2ae)])[_0x308e5f(0x285)](_0x1081a5=>{const _0x4dad41=_0x308e5f;this[_0x4dad41(0x24e)](_0x1081a5[_0x4dad41(0x403)]());}));}[_0x84255b(0x1f3)](){const _0x463dc4=_0x84255b;this[_0x463dc4(0x2ee)][_0x463dc4(0x22a)](!0x0);}[_0x84255b(0x3c4)](){const _0x518cf9=_0x84255b,_0x3da009=fo(this['_injector'],Bo,'',{});this[_0x518cf9(0x232)]=_0x3da009,this[_0x518cf9(0x2a0)][_0x518cf9(0x404)](uo['id'],{'textInfo':_0x3da009},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x558560=_0x84255b;return this[_0x558560(0x232)];}['updateViewInfo'](_0xdea0b1,_0x114db5,_0x1837bb,_0x3bcbda,_0x342a38){const _0x508d0d=_0x84255b;this[_0x508d0d(0x29f)](_0xdea0b1,_0x114db5,_0x1837bb,_0x3bcbda),this[_0x508d0d(0x238)](_0xdea0b1,_0x114db5,_0x1837bb,_0x342a38);}[_0x84255b(0x3f4)](_0x2f1314,_0x32f50b,_0x4b94c0){const _0x54f9f0=_0x84255b;var _0xe22ce9;const _0x39a33c=(_0xe22ce9=this[_0x54f9f0(0x3d5)][_0x54f9f0(0x250)](_0x2f1314))==null?void 0x0:_0xe22ce9[_0x54f9f0(0x250)](_0x32f50b);if(_0x39a33c)return _0x39a33c[_0x54f9f0(0x250)](_0x4b94c0);}[_0x84255b(0x405)](_0x43ef8e,_0x5ae00d){const _0x55170a=_0x84255b,_0x577395=this[_0x55170a(0x3d5)]['get'](_0x43ef8e);if(_0x577395){for(const [_0x3c132f,_0x319fcc]of _0x577395[_0x55170a(0x3ef)]())for(const [_0x540c6c,_0x9f3d66]of _0x319fcc[_0x55170a(0x3ef)]())if(_0x540c6c===_0x5ae00d)return _0x9f3d66[_0x55170a(0x2e0)];}}[_0x84255b(0x41a)](_0xbd8a46,_0x4a2e1e,_0x6edb77){const _0xf9626c=_0x84255b,_0x4bb65e=this[_0xf9626c(0x3f4)](_0xbd8a46,_0x4a2e1e,_0x6edb77);return _0x4bb65e==null?void 0x0:_0x4bb65e[_0xf9626c(0x2e0)];}[_0x84255b(0x2c8)](_0xd9cf76,_0x1b58ae){const _0x64f67b=_0x84255b;var _0x570564;return(_0x570564=this['_model'][_0x64f67b(0x250)](_0xd9cf76))==null?void 0x0:_0x570564[_0x64f67b(0x250)](_0x1b58ae);}[_0x84255b(0x363)](_0x5c8e5a,_0x36b2d5,_0x451d9c,_0x5bfd3c){const _0x36b69e=_0x84255b,_0x125bee=this[_0x36b69e(0x32f)](_0x5c8e5a,_0x36b2d5);_0x5bfd3c?_0x125bee[_0x36b69e(0x26a)](_0x451d9c,_0x5bfd3c):_0x125bee[_0x36b69e(0x3b7)](_0x451d9c),this[_0x36b69e(0x2c2)][_0x36b69e(0x22a)]({'unitId':_0x5c8e5a,'subUnitId':_0x36b2d5,'pivotTableId':_0x451d9c,'pivotTableConfig':_0x5bfd3c});}['getCollection'](_0x38bc5c,_0x200def){const _0x1b91cf=_0x84255b;var _0x143812;return(_0x143812=this[_0x1b91cf(0x342)][_0x1b91cf(0x250)](_0x38bc5c))==null?void 0x0:_0x143812[_0x1b91cf(0x264)][_0x200def];}[_0x84255b(0x3c2)](_0x4a45aa,_0x526e63){const _0x2c314e=_0x84255b;this[_0x2c314e(0x342)][_0x2c314e(0x26a)](_0x4a45aa,_0x526e63),this[_0x2c314e(0x20f)]['next'](Math['random']());}[_0x84255b(0x32f)](_0xd08180,_0x595810){const _0x1e78b5=_0x84255b;let _0x3c8751=this[_0x1e78b5(0x3d5)][_0x1e78b5(0x250)](_0xd08180);_0x3c8751||(_0x3c8751=new Map(),this[_0x1e78b5(0x3d5)][_0x1e78b5(0x26a)](_0xd08180,_0x3c8751));let _0x5b731e=_0x3c8751[_0x1e78b5(0x250)](_0x595810);return _0x5b731e||(_0x5b731e=new Map(),_0x3c8751['set'](_0x595810,_0x5b731e)),_0x5b731e;}['_ensurePivotTableRangeInfo'](_0xbf9f5c,_0x383b28){const _0x159a30=_0x84255b;let _0x30f998=this[_0x159a30(0x2d0)][_0x159a30(0x250)](_0xbf9f5c);_0x30f998||(_0x30f998=new Map(),this[_0x159a30(0x2d0)][_0x159a30(0x26a)](_0xbf9f5c,_0x30f998));let _0x481bd8=_0x30f998[_0x159a30(0x250)](_0x383b28);return _0x481bd8||(_0x481bd8=new Map(),_0x30f998['set'](_0x383b28,_0x481bd8)),_0x481bd8;}[_0x84255b(0x288)](_0x331e5f,_0x5b4707){const _0x44e888=_0x84255b;let _0x5265a1=this[_0x44e888(0x240)][_0x44e888(0x250)](_0x331e5f);_0x5265a1||(_0x5265a1=new Map(),this[_0x44e888(0x240)]['set'](_0x331e5f,_0x5265a1));let _0x44592d=_0x5265a1[_0x44e888(0x250)](_0x5b4707);return _0x44592d||(_0x44592d=new Map(),_0x5265a1[_0x44e888(0x26a)](_0x5b4707,_0x44592d)),_0x44592d;}[_0x84255b(0x238)](_0x56de95,_0x57a8cc,_0x5aa874,_0x512eaa){const _0x4fc4ee=_0x84255b;var _0x5ec0a9;const _0x352613=this[_0x4fc4ee(0x1e2)](_0x56de95,_0x57a8cc),_0xa2608c=(_0x5ec0a9=_0x352613[_0x4fc4ee(0x250)](_0x5aa874))==null?void 0x0:_0x5ec0a9[_0x4fc4ee(0x376)];_0x352613[_0x4fc4ee(0x26a)](_0x5aa874,{'oldRangeInfo':_0xa2608c,'rangeInfo':_0x512eaa});}[_0x84255b(0x29f)](_0x2ddf4a,_0x4f7aa2,_0x1f504d,_0x134a49){const _0x9da55b=_0x84255b;var _0x1c2e4f;const _0x361ca=this['_ensurePivotTableMatrixInfo'](_0x2ddf4a,_0x4f7aa2),_0x479100=(_0x1c2e4f=_0x361ca[_0x9da55b(0x250)](_0x1f504d))==null?void 0x0:_0x1c2e4f[_0x9da55b(0x20d)];_0x361ca[_0x9da55b(0x26a)](_0x1f504d,{'oldMatrix':_0x479100,'matrix':_0x134a49});}['getPivotTableRangeInfo'](_0x3febcb,_0x1ba937,_0x2f14b2){const _0xeeccb1=_0x84255b;var _0x193cb6,_0x1ca60d;return(_0x1ca60d=(_0x193cb6=this[_0xeeccb1(0x2d0)][_0xeeccb1(0x250)](_0x3febcb))==null?void 0x0:_0x193cb6['get'](_0x1ba937))==null?void 0x0:_0x1ca60d[_0xeeccb1(0x250)](_0x2f14b2);}[_0x84255b(0x3bf)](_0x6a2a7,_0x284734,_0x580931){const _0xcd87a8=_0x84255b;var _0x2bd7f8,_0x4efdd6;return(_0x4efdd6=(_0x2bd7f8=this[_0xcd87a8(0x240)][_0xcd87a8(0x250)](_0x6a2a7))==null?void 0x0:_0x2bd7f8[_0xcd87a8(0x250)](_0x284734))==null?void 0x0:_0x4efdd6[_0xcd87a8(0x250)](_0x580931);}[_0x84255b(0x24e)](_0x30e9cb){const _0x122700=_0x84255b;this[_0x122700(0x3d5)][_0x122700(0x3b7)](_0x30e9cb),this['_collectionConfigModel'][_0x122700(0x3b7)](_0x30e9cb);}['_toJSON'](_0x2a5b49){const _0x2ff319=_0x84255b,_0x16cb9b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2ff319(0x342)][_0x2ff319(0x250)](_0x2a5b49)&&(_0x16cb9b[_0x2ff319(0x3cb)][_0x2a5b49]=this[_0x2ff319(0x342)][_0x2ff319(0x250)](_0x2a5b49)),this[_0x2ff319(0x3d5)]['get'](_0x2a5b49)){_0x16cb9b[_0x2ff319(0x23a)][_0x2a5b49]={};const _0x498030=this[_0x2ff319(0x3d5)][_0x2ff319(0x250)](_0x2a5b49);_0x498030!=null&&_0x498030[_0x2ff319(0x358)]&&[..._0x498030['keys']()][_0x2ff319(0x447)](_0x1d9773=>{const _0x1934a1=_0x2ff319,_0x507cdf=_0x498030[_0x1934a1(0x250)](_0x1d9773);_0x507cdf!=null&&_0x507cdf[_0x1934a1(0x358)]&&(_0x16cb9b[_0x1934a1(0x23a)][_0x2a5b49][_0x1d9773]={},[..._0x507cdf[_0x1934a1(0x275)]()][_0x1934a1(0x447)](_0x399016=>{const _0x1a889f=_0x1934a1,_0xd3d862=_0x507cdf[_0x1a889f(0x250)](_0x399016);_0xd3d862&&(_0x16cb9b['pivotTableConfigs'][_0x2a5b49][_0x1d9773][_0x399016]=_0xd3d862);}));});}return _0x16cb9b;}[_0x84255b(0x302)](){const _0x5bec3c=_0x84255b;this[_0x5bec3c(0x433)](this[_0x5bec3c(0x35d)]['registerPluginResource']({'toJson':_0x52bab1=>JSON['stringify'](this['_toJSON'](_0x52bab1)),'parseJson':_0x517465=>({}),'businesses':[_0x3b8577['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0xd69f0d,_0x5e697e)=>{},'onUnLoad':_0x34c069=>{const _0x5f28a7=_0x5bec3c;this[_0x5f28a7(0x24e)](_0x34c069);}}));}};ve=Hi([at(0x0,_0x2459bd(_0x1034ce)),at(0x1,_0x2459bd(_0x324b30)),at(0x2,_0x2459bd(_0x30a6c3)),at(0x3,_0x2459bd(_0x3d6f2a)),at(0x4,_0x2459bd(_0x4b6507))],ve);var qi=Object[_0x84255b(0x2c7)],zi=(_0x3b222a,_0x492463,_0x5a1eda,_0x5ca94e)=>{for(var _0x1c4223=_0x5ca94e>0x1?void 0x0:_0x5ca94e?qi(_0x492463,_0x5a1eda):_0x492463,_0x2cbdd5=_0x3b222a['length']-0x1,_0x117ac2;_0x2cbdd5>=0x0;_0x2cbdd5--)(_0x117ac2=_0x3b222a[_0x2cbdd5])&&(_0x1c4223=_0x117ac2(_0x1c4223)||_0x1c4223);return _0x1c4223;},rt=(_0x52fc17,_0x2b6ed5)=>(_0x18b056,_0x551e7c)=>_0x2b6ed5(_0x18b056,_0x551e7c,_0x52fc17);let Ue=class extends _0x439fd3{constructor(_0xf35132,_0xa301d6,_0x32171e,_0x526fbf,_0x164bd7){const _0x36fe2c=_0x84255b;super(),V(this,_0x36fe2c(0x251),new Map()),V(this,_0x36fe2c(0x294),new Map()),V(this,_0x36fe2c(0x32c),new _0x9f9f60()),V(this,_0x36fe2c(0x402),this[_0x36fe2c(0x32c)][_0x36fe2c(0x317)]()),V(this,_0x36fe2c(0x29a),new _0x9f9f60()),V(this,_0x36fe2c(0x202),this['_viewUpdate$']['asObservable']()),V(this,_0x36fe2c(0x232)),(this[_0x36fe2c(0x24b)]=_0xf35132,this[_0x36fe2c(0x243)]=_0xa301d6,this[_0x36fe2c(0x40e)]=_0x32171e,this[_0x36fe2c(0x20e)]=_0x526fbf,this[_0x36fe2c(0x417)]=_0x164bd7,this[_0x36fe2c(0x3c4)](),this['_initUnitDisposed']());}[_0x84255b(0x3f9)](){const _0x1d21ed=_0x84255b;this[_0x1d21ed(0x433)](this['_univerInstanceService'][_0x1d21ed(0x2c0)](_0x3b8577['UNIVER_SHEET'])[_0x1d21ed(0x285)](_0x1fba21=>{const _0x1e2a01=_0x1d21ed;this[_0x1e2a01(0x24e)](_0x1fba21['getUnitId']());}));}[_0x84255b(0x3c4)](){const _0x1c24fe=_0x84255b;this[_0x1c24fe(0x232)]=fo(this['_injector'],Bo,'',{});}[_0x84255b(0x3d6)](_0x48dc07){const _0x17e0a5=_0x84255b,{view:_0x4a1dff,unitId:_0x40d9b4,subUnitId:_0x12244a,pivotTableId:_0x5ddb9e,type:_0x239b88}=_0x48dc07,_0x28fdd3=this[_0x17e0a5(0x40e)]['getPivotTableConfig'](_0x40d9b4,_0x12244a,_0x5ddb9e);if(!_0x4a1dff||!_0x28fdd3||_0x239b88===$[_0x17e0a5(0x418)])return;const {pageView:_0x2882f1,cornerView:_0x55ef32,rowView:_0x13ede6,colView:_0x449156,dataView:_0x5153fc}=_0x4a1dff,_0x49a088=_0x28fdd3[_0x17e0a5(0x2e0)],_0x480c5c=_0x28fdd3[_0x17e0a5(0x437)],_0x1f260e=this[_0x17e0a5(0x3b6)](_0x40d9b4,_0x12244a),_0x39627f=this[_0x17e0a5(0x217)](_0x40d9b4,_0x12244a,_0x5ddb9e);if(_0x480c5c)return this[_0x17e0a5(0x2cb)](_0x48dc07,_0x1f260e,_0x49a088,_0x39627f);{const _0x199f53=ge(_0x49a088,_0x2882f1,!0x0),_0x4e3127=_0x2882f1[_0x17e0a5(0x3f6)]>=0x0?_0x2882f1['lastRow']+0x1:0x0,_0x2e180f=_0x55ef32[_0x17e0a5(0x207)](),_0x4c6f7e=_0x55ef32[_0x17e0a5(0x41f)](),_0x1a32e4=_0x199f53['length']>0x0?It:0x0,_0x4aa53d=ge({'row':_0x49a088[_0x17e0a5(0x241)]+_0x4e3127+_0x1a32e4,'col':_0x49a088[_0x17e0a5(0x26c)]},_0x55ef32,!0x1,!0x1),_0x47472f=ge({'row':_0x49a088['row']+_0x4e3127+_0x1a32e4+_0x2e180f,'col':_0x49a088[_0x17e0a5(0x26c)]},_0x13ede6,!0x1,!0x0),_0x493902=ge({'row':_0x49a088[_0x17e0a5(0x241)]+_0x4e3127+_0x1a32e4,'col':_0x49a088['col']+_0x4c6f7e},_0x449156,!0x1,!0x0),_0x151ea2=ge({'row':_0x49a088[_0x17e0a5(0x241)]+_0x4e3127+_0x1a32e4+_0x2e180f,'col':_0x49a088['col']+_0x4c6f7e},_0x5153fc,!0x1,!0x1);_0x39627f[_0x17e0a5(0x301)]={'rowRanges':_0x47472f,'colRanges':_0x493902,'cornerRanges':_0x4aa53d,'dataRanges':_0x151ea2,'pageRanges':_0x199f53};const _0x185430=yi(this['_injector'],_0x4a1dff,_0x28fdd3,this[_0x17e0a5(0x232)]),{valueMatrix:_0x34e498,rowInfo:_0x138eba,colInfo:_0x45d325,cornerInfo:_0xb6a8ca,rowHeaderMap:_0x3cc5c3,colHeaderMap:_0x40034d}=_0x185430;return _0x39627f['areaInfo']={'rowInfo':_0x138eba,'colInfo':_0x45d325,'cornerInfo':_0xb6a8ca},_0x39627f[_0x17e0a5(0x1ff)]={'rowHeaderMap':_0x3cc5c3,'colHeaderMap':_0x40034d},_0x34e498[_0x17e0a5(0x447)]((_0x598c9d,_0x5bae72)=>{const _0x39cccd=_0x17e0a5;Object['keys'](_0x5bae72)[_0x39cccd(0x447)](_0x106639=>{const _0x3770b8=_0x39cccd,_0x47fb89=+_0x106639,_0x1d62c9=_0x34e498[_0x3770b8(0x3e9)](_0x598c9d,_0x47fb89);_0x1f260e[_0x3770b8(0x29c)](_0x598c9d,_0x47fb89,_0x1d62c9);});}),this[_0x17e0a5(0x29a)][_0x17e0a5(0x22a)]({'unitId':_0x40d9b4,'subUnitId':_0x12244a,'valueMatrix':_0x1f260e,'rangesCache':_0x39627f[_0x17e0a5(0x301)],'pivotTableId':_0x5ddb9e,'type':_0x48dc07['type']}),this[_0x17e0a5(0x40e)][_0x17e0a5(0x24a)](_0x40d9b4,_0x12244a,_0x5ddb9e,_0x1f260e,_0x39627f[_0x17e0a5(0x301)]),this[_0x17e0a5(0x417)][_0x17e0a5(0x2b1)](_0x40d9b4,_0x12244a,Lt,this[_0x17e0a5(0x2e5)](_0x39627f[_0x17e0a5(0x301)],_0x5ddb9e)),{'rangeCache':_0x39627f[_0x17e0a5(0x301)],'matrix':_0x1f260e};}}[_0x84255b(0x2cb)](_0x21a240,_0x4826dc,_0xd5eb35,_0x411c3f){const _0x22425e=_0x84255b,_0x541df0=this[_0x22425e(0x24b)]['t'],{unitId:_0x37b0ad,subUnitId:_0x173edf,pivotTableId:_0x1561b0}=_0x21a240,_0x3b67aa={'filter':_0x541df0(_0x22425e(0x229)),'row':_0x541df0(_0x22425e(0x3b3)),'column':_0x541df0(_0x22425e(0x3e4)),'values':_0x541df0(_0x22425e(0x361))},{matrixCache:_0x1eedc5,rangesCache:_0x2c1d3c}=jo(_0x3b67aa,_0xd5eb35);return _0x1eedc5[_0x22425e(0x323)]((_0xd717ff,_0x44601b,_0x3db4fc)=>{const _0x53d998=_0x22425e;_0x4826dc[_0x53d998(0x29c)](_0xd717ff,_0x44601b,_0x3db4fc);}),_0x411c3f[_0x22425e(0x301)]=_0x2c1d3c,this[_0x22425e(0x29a)]['next']({'unitId':_0x37b0ad,'subUnitId':_0x173edf,'valueMatrix':_0x4826dc,'rangesCache':_0x2c1d3c,'pivotTableId':_0x1561b0,'type':_0x21a240[_0x22425e(0x1f6)],'isEmpty':!0x0}),this[_0x22425e(0x40e)]['updateViewInfo'](_0x37b0ad,_0x173edf,_0x1561b0,_0x4826dc,_0x2c1d3c),this['_exclusiveRangeService']['addExclusiveRange'](_0x37b0ad,_0x173edf,Lt,this[_0x22425e(0x2e5)](_0x2c1d3c,_0x1561b0)),{'rangeCache':_0x411c3f['rangesInfo'],'matrix':_0x4826dc};}[_0x84255b(0x2e5)](_0x430b8c,_0x279189){const _0x31d4b7=_0x84255b,_0xb7b088=[],_0x516114=$t(_0x430b8c);for(const _0x485ae3 of _0x516114)_0xb7b088[_0x31d4b7(0x1f7)]({'groupId':_0x279189,'range':_0x485ae3});return _0xb7b088;}[_0x84255b(0x2f3)](_0x9b7394){const _0x29f530=_0x84255b;var _0x9d91ea,_0x4d940c,_0x67585d,_0x23c920;const {pivotTableId:_0x586af5,unitId:_0xce40db,subUnitId:_0x588854}=_0x9b7394;if(!_0x586af5||!_0xce40db||!_0x588854)return;const _0xacc6d3=this[_0x29f530(0x3b6)](_0xce40db,_0x588854),_0x30a4c0=(_0x4d940c=(_0x9d91ea=this[_0x29f530(0x251)][_0x29f530(0x250)](_0xce40db))==null?void 0x0:_0x9d91ea[_0x29f530(0x250)](_0x588854))==null?void 0x0:_0x4d940c[_0x29f530(0x250)](_0x586af5);if(_0x30a4c0!=null&&_0x30a4c0[_0x29f530(0x301)]){for(const _0x828965 of Object[_0x29f530(0x275)](_0x30a4c0['rangesInfo']))_0x30a4c0[_0x29f530(0x301)][_0x828965][_0x29f530(0x447)](_0x18f703=>{const _0x15a892=_0x29f530;for(let _0x3c1c71=_0x18f703[_0x15a892(0x37d)];_0x3c1c71<=_0x18f703[_0x15a892(0x41d)];_0x3c1c71++)for(let _0x343208=_0x18f703['startColumn'];_0x343208<=_0x18f703[_0x15a892(0x444)];_0x343208++)_0xacc6d3['realDeleteValue'](_0x3c1c71,_0x343208);});}_0x30a4c0&&((_0x23c920=(_0x67585d=this['_pivotRenderInfoCache'][_0x29f530(0x250)](_0xce40db))==null?void 0x0:_0x67585d['get'](_0x588854))==null||_0x23c920[_0x29f530(0x3b7)](_0x586af5)),this['_viewUpdate$'][_0x29f530(0x22a)]({'unitId':_0xce40db,'subUnitId':_0x588854,'valueMatrix':_0xacc6d3,'pivotTableId':_0x586af5,'rangesCache':void 0x0,'type':_0x9b7394[_0x29f530(0x1f6)]}),this[_0x29f530(0x417)][_0x29f530(0x28a)](_0xce40db,_0x588854,Lt,_0x586af5);}[_0x84255b(0x217)](_0x182a9,_0x17ed67,_0x467102){const _0x261612=_0x84255b;var _0x3af784,_0x372176,_0x27ba8e,_0x4e852f,_0x2ee4a1,_0x1ea51d;return this[_0x261612(0x251)][_0x261612(0x375)](_0x182a9)||this[_0x261612(0x251)]['set'](_0x182a9,new Map()),(_0x3af784=this[_0x261612(0x251)][_0x261612(0x250)](_0x182a9))!=null&&_0x3af784['has'](_0x17ed67)||(_0x372176=this[_0x261612(0x251)][_0x261612(0x250)](_0x182a9))==null||_0x372176[_0x261612(0x26a)](_0x17ed67,new Map()),(_0x4e852f=(_0x27ba8e=this[_0x261612(0x251)][_0x261612(0x250)](_0x182a9))==null?void 0x0:_0x27ba8e['get'](_0x17ed67))!=null&&_0x4e852f['has'](_0x467102)||(_0x1ea51d=(_0x2ee4a1=this[_0x261612(0x251)]['get'](_0x182a9))==null?void 0x0:_0x2ee4a1[_0x261612(0x250)](_0x17ed67))==null||_0x1ea51d['set'](_0x467102,{}),this[_0x261612(0x251)][_0x261612(0x250)](_0x182a9)[_0x261612(0x250)](_0x17ed67)[_0x261612(0x250)](_0x467102);}['_ensurePivotItemRenderValueMatrixCache'](_0x2ea963,_0x132bbe){const _0x348255=_0x84255b;var _0x228869,_0x221b93;return this[_0x348255(0x294)][_0x348255(0x375)](_0x2ea963)||this[_0x348255(0x294)][_0x348255(0x26a)](_0x2ea963,new Map()),(_0x228869=this[_0x348255(0x294)][_0x348255(0x250)](_0x2ea963))!=null&&_0x228869['has'](_0x132bbe)||(_0x221b93=this['_pivotRenderValueMatrixCache'][_0x348255(0x250)](_0x2ea963))==null||_0x221b93[_0x348255(0x26a)](_0x132bbe,new _0x3fd261()),this['_pivotRenderValueMatrixCache'][_0x348255(0x250)](_0x2ea963)[_0x348255(0x250)](_0x132bbe);}[_0x84255b(0x389)](_0x287753,_0x52761c,_0x35d83d,_0x468e0a){const _0x4ce6bb=_0x84255b;var _0x202695,_0x10d143;const _0x2a4cb7=(_0x10d143=(_0x202695=this[_0x4ce6bb(0x294)][_0x4ce6bb(0x250)](_0x287753))==null?void 0x0:_0x202695[_0x4ce6bb(0x250)](_0x52761c))==null?void 0x0:_0x10d143['getValue'](_0x35d83d,_0x468e0a);if(_0x2a4cb7!=null)return _0x2a4cb7;}[_0x84255b(0x3a7)](_0x3ff6cf,_0x419cf0,_0x11cf21,_0x5dad5e){const _0xf81df1=_0x84255b;var _0x32fc20;const _0x5b1b4f=_0x4eb9f6(_0x11cf21,_0x5dad5e),_0x575335=(_0x32fc20=this[_0xf81df1(0x251)]['get'](_0x3ff6cf))==null?void 0x0:_0x32fc20[_0xf81df1(0x250)](_0x419cf0);return _0x575335?Array[_0xf81df1(0x2e8)](_0x575335[_0xf81df1(0x275)]())[_0xf81df1(0x211)](_0x1ad3af=>{const _0x5620fa=_0xf81df1,_0x568e1d=_0x575335[_0x5620fa(0x250)](_0x1ad3af),_0x53d6c5=_0x568e1d==null?void 0x0:_0x568e1d['rangesInfo'];return _0x53d6c5?Object[_0x5620fa(0x275)](_0x53d6c5)[_0x5620fa(0x421)](_0x719db5=>_0x53d6c5[_0x719db5][_0x5620fa(0x421)](_0x5cec30=>_0x2898d2[_0x5620fa(0x32a)](_0x5cec30,_0x5b1b4f))):!0x1;}):void 0x0;}[_0x84255b(0x1e9)](_0xa9322d,_0x466730,_0x376bfd){const _0x54e7a9=_0x84255b;var _0x473386;const _0x1f0979=(_0x473386=this['_pivotRenderInfoCache'][_0x54e7a9(0x250)](_0xa9322d))==null?void 0x0:_0x473386[_0x54e7a9(0x250)](_0x466730),_0x15feb9=[];return _0x1f0979&&Array['from'](_0x1f0979[_0x54e7a9(0x275)]())[_0x54e7a9(0x447)](_0x1b03fe=>{const _0x5499f6=_0x54e7a9,_0x717f32=_0x1f0979[_0x5499f6(0x250)](_0x1b03fe),_0x5e4c8a=_0x717f32==null?void 0x0:_0x717f32['rangesInfo'];if(_0x5e4c8a)for(const _0xd29a16 of Object[_0x5499f6(0x2fc)](_0x5e4c8a)){let _0x2399a2=!0x1;for(const _0x4bc54d of _0xd29a16)if(_0x2898d2['intersects'](_0x4bc54d,_0x376bfd)){_0x15feb9['push'](_0x1b03fe),_0x2399a2=!0x0;break;}if(_0x2399a2)break;}}),_0x15feb9;}[_0x84255b(0x20a)](_0x4cf504,_0x1286eb){const _0x117dec=_0x84255b;var _0x3363f8,_0x848adf;return(_0x848adf=(_0x3363f8=this[_0x117dec(0x294)][_0x117dec(0x250)](_0x4cf504))==null?void 0x0:_0x3363f8[_0x117dec(0x250)](_0x1286eb))!=null?_0x848adf:new _0x3fd261();}[_0x84255b(0x416)](_0xe1f3f4,_0x6ddbfe){const _0x1d31b4=_0x84255b;var _0x3c4919;return(_0x3c4919=this[_0x1d31b4(0x251)][_0x1d31b4(0x250)](_0xe1f3f4))==null?void 0x0:_0x3c4919[_0x1d31b4(0x250)](_0x6ddbfe);}[_0x84255b(0x3d3)](_0x5e5b1d,_0x56ae07,_0x22baaf){const _0x5829d3=_0x84255b;var _0x5efc63,_0x34507c;return(_0x34507c=(_0x5efc63=this[_0x5829d3(0x251)]['get'](_0x5e5b1d))==null?void 0x0:_0x5efc63['get'](_0x56ae07))==null?void 0x0:_0x34507c[_0x5829d3(0x250)](_0x22baaf);}[_0x84255b(0x24e)](_0x14060c){const _0x1a229c=_0x84255b;this[_0x1a229c(0x251)][_0x1a229c(0x3b7)](_0x14060c),this[_0x1a229c(0x294)]['delete'](_0x14060c);}[_0x84255b(0x2b7)](_0x5b3c81,_0x307e51){this['_markDirty$']['next']({'unitId':_0x5b3c81,'subUnitId':_0x307e51});}};Ue=zi([rt(0x0,_0x2459bd(_0x40a013)),rt(0x1,_0x2459bd(_0x1034ce)),rt(0x2,_0x2459bd(ve)),rt(0x3,_0x2459bd(_0x30a6c3)),rt(0x4,_0x2459bd(_0x3709bd))],Ue);var Yi=Object[_0x84255b(0x2c7)],Qi=(_0x57ef67,_0x2a611d,_0x2b8d06,_0x3693bb)=>{const _0x556d57=_0x84255b;for(var _0x1a84e1=_0x3693bb>0x1?void 0x0:_0x3693bb?Yi(_0x2a611d,_0x2b8d06):_0x2a611d,_0xbadd0c=_0x57ef67[_0x556d57(0x321)]-0x1,_0x2e1ad8;_0xbadd0c>=0x0;_0xbadd0c--)(_0x2e1ad8=_0x57ef67[_0xbadd0c])&&(_0x1a84e1=_0x2e1ad8(_0x1a84e1)||_0x1a84e1);return _0x1a84e1;},Mo=(_0x3ac9d6,_0x58ead1)=>(_0x222636,_0xaddfc3)=>_0x58ead1(_0x222636,_0xaddfc3,_0x3ac9d6);let ie=class extends _0x439fd3{constructor(_0x20511e,_0x235fea){const _0x2731bf=_0x84255b;super(),V(this,_0x2731bf(0x300),new _0x3cab1b({'PIVOT_PERFORM_CHECK':be})),V(this,_0x2731bf(0x22c),new _0x576008({'PIVOT_MUTATION_GENERATE':Go})),(this[_0x2731bf(0x298)]=_0x20511e,this[_0x2731bf(0x234)]=_0x235fea,this[_0x2731bf(0x303)]());}[_0x84255b(0x303)](){const _0xfa63b1=_0x84255b;this[_0xfa63b1(0x21b)]();}[_0x84255b(0x1f9)](_0x314857){const _0x4bd85f=_0x84255b;return this[_0x4bd85f(0x300)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0x314857);}[_0x84255b(0x21b)](){const _0x5fb880=_0x84255b;this[_0x5fb880(0x433)](this[_0x5fb880(0x298)][_0x5fb880(0x2e4)](_0x2e1ff8[_0x5fb880(0x287)],{'priority':0xc8,'effect':_0x329818[_0x5fb880(0x312)]|_0x329818['Style'],'handler':(_0x4dba11,_0x38f593,_0x2b2e3b)=>{const _0x2cbcca=_0x5fb880,{row:_0x30c914,col:_0x2ec629,unitId:_0x476127,subUnitId:_0x16643d,workbook:_0x5ecae7}=_0x38f593,_0x4fd306=this['_sheetsPivotTableAdaptorModel'][_0x2cbcca(0x389)](_0x476127,_0x16643d,_0x30c914,_0x2ec629);if(!_0x4fd306)return _0x2b2e3b(_0x4dba11);const _0x56bfa3={..._0x4dba11};(_0x4fd306['v']||_0x4fd306['v']===0x0)&&(_0x56bfa3['v']=_0x4fd306['v']),_0x4fd306['t']&&(_0x56bfa3['t']=_0x4fd306['t']);const _0x45e608=(typeof(_0x4dba11==null?void 0x0:_0x4dba11['s'])==_0x2cbcca(0x23c)?_0x5ecae7[_0x2cbcca(0x204)]()[_0x2cbcca(0x250)](_0x4dba11==null?void 0x0:_0x4dba11['s']):_0x4dba11==null?void 0x0:_0x4dba11['s'])||{},_0x288cb3=_0x5ecae7[_0x2cbcca(0x204)]()[_0x2cbcca(0x250)](_0x4fd306['s']),_0x1c884d={..._0x288cb3,..._0x45e608};_0x288cb3!=null&&_0x288cb3['n']&&(_0x1c884d['n']=_0x288cb3['n']);const _0x310db7=_0x5ecae7['getStyles']()['setValue'](_0x1c884d);return _0x56bfa3['s']=_0x310db7,(_0x4fd306[_0x2cbcca(0x2f5)]===_0xc084c2[_0x2cbcca(0x367)]||_0x4fd306[_0x2cbcca(0x2f5)]===_0xc084c2[_0x2cbcca(0x22f)])&&(_0x56bfa3['fontRenderExtension']={},_0x56bfa3[_0x2cbcca(0x28b)]['leftOffset']=li),_0x2b2e3b(_0x56bfa3);}}));}};ie=Qi([Mo(0x0,_0x2459bd(_0x1baed7)),Mo(0x1,_0x2459bd(Ue))],ie);function Ut(_0x2435a8,_0x3fdba0){const _0xbf0c91=_0x84255b;switch(_0x3fdba0){case _0xb32ca5[_0xbf0c91(0x312)]:return _0x2435a8[_0xbf0c91(0x42c)];case _0xb32ca5[_0xbf0c91(0x2c5)]:return _0x2435a8[_0xbf0c91(0x448)];case _0xb32ca5['Row']:return _0x2435a8[_0xbf0c91(0x3cf)];case _0xb32ca5[_0xbf0c91(0x3db)]:return _0x2435a8[_0xbf0c91(0x2ad)];default:return[];}}function Je(_0x324867,_0x4aba5a){const _0x5a6ce2=_0x84255b;return _0x324867['measure'][_0x4aba5a]||_0x324867[_0x5a6ce2(0x2e3)][_0x4aba5a];}function Xi(_0x4a9f7f,_0x218f32){const _0x3b8a4a=_0x84255b,{area:_0x4e5f89,fieldJson:_0x34bc79,index:_0x1df045}=_0x218f32;_0x4e5f89===_0xb32ca5[_0x3b8a4a(0x312)]?_0x4a9f7f[_0x3b8a4a(0x3ed)][_0x34bc79['id']]=_0x34bc79:_0x4a9f7f[_0x3b8a4a(0x2e3)][_0x34bc79['id']]=_0x34bc79,Ut(_0x4a9f7f,_0x4e5f89)['splice'](_0x1df045,0x0,_0x34bc79['id']);}function Zi(_0x33ee55,_0x3bb99a){const _0x2f652f=_0x84255b,{area:_0x25b5cd,fieldId:_0xa19dc9,index:_0x5ad38a}=_0x3bb99a;_0x25b5cd===_0xb32ca5[_0x2f652f(0x312)]?delete _0x33ee55[_0x2f652f(0x3ed)][_0xa19dc9]:delete _0x33ee55[_0x2f652f(0x2e3)][_0xa19dc9],Ut(_0x33ee55,_0x25b5cd)[_0x2f652f(0x210)](_0x5ad38a,0x1);}function es(_0x2bb28b,_0x283d6f){const _0x578158=_0x84255b,{fieldId:_0x505cd0,name:_0x444b0b}=_0x283d6f,_0x457369=Je(_0x2bb28b,_0x505cd0);_0x457369&&(_0x457369[_0x578158(0x3ae)]=_0x444b0b);}function ts(_0x18b495,_0x59f452){const _0x4eca20=_0x84255b,{fieldId:_0x2221a4,collapse:_0x57f35c,item:_0x49afb4}=_0x59f452;_0x49afb4!==void 0x0?(_0x18b495[_0x4eca20(0x3b0)][_0x2221a4]=_0x18b495[_0x4eca20(0x3b0)][_0x2221a4]||{},_0x18b495[_0x4eca20(0x3b0)][_0x2221a4][_0x49afb4]=_0x57f35c):_0x18b495['collapseInfo'][_0x2221a4]=_0x57f35c;}function os(_0x1b956b,_0x462135){const _0x4f5daa=_0x84255b,{fieldId:_0x1ed753,format:_0x3c4d3d}=_0x462135,_0x9d99b8=Je(_0x1b956b,_0x1ed753);_0x9d99b8&&(_0x9d99b8[_0x4f5daa(0x32e)]=_0x3c4d3d);}function ns(_0x4345bb,_0x3afacd){const _0x1b7535=_0x84255b,{fieldId:_0x10af75,filterInfo:_0x5967d8}=_0x3afacd,_0x3e6ed7=Je(_0x4345bb,_0x10af75);_0x3e6ed7&&(_0x3e6ed7[_0x1b7535(0x233)]=_0x5967d8);}function is(_0x5857aa,_0x3188b7){const _0x40256b=_0x84255b,{fieldId:_0x1c8119,filterInfo:_0x4d2374}=_0x3188b7,_0x3616b9=_0x5857aa[_0x40256b(0x3ec)][_0x40256b(0x422)](_0x345393=>_0x345393['fieldId']!==_0x1c8119);_0x4d2374&&_0x3616b9[_0x40256b(0x1f7)]({'fieldId':_0x1c8119,'filterInfo':_0x4d2374}),_0x5857aa[_0x40256b(0x3ec)]=_0x3616b9;}function ss(_0x3fbc73,_0x32128e){const _0x3ac5ec=_0x84255b,{fieldId:_0x5b4886,subtotalType:_0x330de7}=_0x32128e,_0x4877fe=Je(_0x3fbc73,_0x5b4886);_0x4877fe&&(_0x4877fe[_0x3ac5ec(0x3c9)]=_0x330de7);}function as(_0x123176,_0x343f81){const _0x18cc8b=_0x84255b,{fieldId:_0x1be35f,oldArea:_0x8b4184,area:_0x48030a,oldIndex:_0x44d951,index:_0x35c949}=_0x343f81,_0x41b521=_0x8b4184!==_0xb32ca5['Value']&&_0x48030a===_0xb32ca5[_0x18cc8b(0x312)],_0x4c6bb3=_0x8b4184===_0xb32ca5[_0x18cc8b(0x312)]&&_0x48030a!==_0xb32ca5[_0x18cc8b(0x312)];if(_0x41b521||_0x4c6bb3){const _0x35a8c9=Je(_0x123176,_0x1be35f);_0x35a8c9&&(_0x41b521?(delete _0x123176[_0x18cc8b(0x2e3)][_0x1be35f],_0x123176[_0x18cc8b(0x3ed)][_0x1be35f]=_0x35a8c9):(delete _0x123176[_0x18cc8b(0x3ed)][_0x1be35f],_0x123176['dimension'][_0x1be35f]=_0x35a8c9));}const _0x105c30=Ut(_0x123176,_0x8b4184),_0x464b97=Ut(_0x123176,_0x48030a);_0x105c30[_0x18cc8b(0x210)](_0x44d951,0x1),_0x464b97[_0x18cc8b(0x210)](_0x35c949,0x0,_0x1be35f);}function rs(_0x14fd4f,_0x46f85c){const _0x30e77b=_0x84255b,{valuePosition:_0xe80866,index:_0x23c06f}=_0x46f85c;_0x14fd4f['valuePosition']=_0xe80866,_0x14fd4f[_0x30e77b(0x3c8)]=_0x23c06f;}function ls(_0x4ba7d5,_0x5aefd6){const _0x22e2c3=_0x84255b,{tableFieldId:_0x3f82c9,sourceName:_0x258cd7,dataFieldId:_0x4ce687}=_0x5aefd6,_0x5966d9=Je(_0x4ba7d5,_0x3f82c9);_0x5966d9&&(_0x5966d9[_0x22e2c3(0x39c)]=_0x258cd7,_0x5966d9[_0x22e2c3(0x408)]=_0x4ce687);}function ds(_0xdd2f55,_0x36bc7b){const _0x54fd5d=_0x84255b,{fieldId:_0x49eb8b,sortInfo:_0x589e7e}=_0x36bc7b,_0x279af6=Je(_0xdd2f55,_0x49eb8b);_0x279af6&&(_0x279af6[_0x54fd5d(0x2da)]=_0x589e7e);}function cs(_0x38b128,_0x58d371){const _0xdebe85=_0x84255b,{options:_0x3a0fe1}=_0x58d371;_0x38b128[_0xdebe85(0x242)]={..._0x38b128['options'],..._0x3a0fe1};}const Gt={'type':_0x156015['MUTATION'],'id':_0x84255b(0x1df),'handler'(_0x935024,_0x13540e){const _0x2552b7=_0x84255b;if(!_0x13540e)return!0x1;if(!!_0x935024[_0x2552b7(0x250)](_0x4b6507)[_0x2552b7(0x2d6)](q))return!0x0;const _0x5a99ec=_0x935024[_0x2552b7(0x250)](G),{pivotTableId:_0xa929a1,fieldJson:_0x52c14b,area:_0x595a29,index:_0x3b7efa,unitId:_0xdd7e94,subUnitId:_0xd2de61}=_0x13540e,_0x582887=_0x5a99ec[_0x2552b7(0x2e6)](_0xa929a1);if(!_0x582887)return!0x1;let _0xd6272;_0x595a29===_0xb32ca5[_0x2552b7(0x312)]?_0xd6272=_0x11c6ce(_0x52c14b):_0xd6272=_0x5439be(_0x52c14b),_0x582887[_0x2552b7(0x382)](_0xd6272,_0x595a29,_0x3b7efa);const _0x16e17e=_0x5a99ec[_0x2552b7(0x2d4)](_0xdd7e94,_0xd2de61,_0xa929a1);Xi(_0x16e17e,_0x13540e);const _0x5acd4b=_0x5a99ec[_0x2552b7(0x3f4)](_0xdd7e94,_0xd2de61,_0xa929a1);return _0x5a99ec[_0x2552b7(0x409)]({'unitId':_0xdd7e94,'subUnitId':_0xd2de61,'token':_0xa929a1,'type':$[_0x2552b7(0x31e)],'pivotConfig':_0x5acd4b}),!0x0;}},Jt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x2a4),'handler'(_0x5601e0,_0x58315c){const _0x4c5e57=_0x84255b;if(!_0x58315c)return!0x1;if(!!_0x5601e0[_0x4c5e57(0x250)](_0x4b6507)[_0x4c5e57(0x2d6)](q))return!0x0;const _0x3142a6=_0x5601e0[_0x4c5e57(0x250)](G),{pivotTableId:_0x5efbc8,fieldId:_0x2c07ca,unitId:_0x8d3e20,subUnitId:_0x15ccd8}=_0x58315c,_0x2d8561=_0x3142a6[_0x4c5e57(0x2e6)](_0x5efbc8);if(!_0x2d8561)return!0x1;_0x2d8561[_0x4c5e57(0x415)](_0x2c07ca);const _0x13eeb2=_0x3142a6[_0x4c5e57(0x2d4)](_0x8d3e20,_0x15ccd8,_0x5efbc8);Zi(_0x13eeb2,_0x58315c);const _0x27e688=_0x3142a6[_0x4c5e57(0x3f4)](_0x8d3e20,_0x15ccd8,_0x5efbc8);return _0x3142a6[_0x4c5e57(0x409)]({'unitId':_0x8d3e20,'subUnitId':_0x15ccd8,'token':_0x5efbc8,'type':$['Set'],'pivotConfig':_0x27e688}),!0x0;}},Wt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x27a),'handler'(_0x16aa75,_0x301c76){const _0x5c7324=_0x84255b;if(!_0x301c76)return!0x1;if(!!_0x16aa75['get'](_0x4b6507)[_0x5c7324(0x2d6)](q))return!0x0;const _0x2c84b8=_0x16aa75[_0x5c7324(0x250)](G),{unitId:_0x1a921a,subUnitId:_0x473222,pivotTableId:_0x20fec4,fieldId:_0x1dc058,name:_0x19237c}=_0x301c76,_0x476c8c=_0x2c84b8[_0x5c7324(0x2e6)](_0x20fec4);if(!_0x476c8c)return!0x1;_0x476c8c[_0x5c7324(0x2b0)](_0x1dc058,_0x19237c);const _0x3e3a10=_0x2c84b8[_0x5c7324(0x2d4)](_0x1a921a,_0x473222,_0x20fec4);return es(_0x3e3a10,_0x301c76),_0x2c84b8[_0x5c7324(0x409)]({'unitId':_0x1a921a,'subUnitId':_0x473222,'token':_0x20fec4,'type':$[_0x5c7324(0x31e)]}),!0x0;}},jt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x1de),'handler'(_0x2cf042,_0x558526){const _0x347248=_0x84255b;if(!_0x558526)return!0x1;if(!!_0x2cf042['get'](_0x4b6507)[_0x347248(0x2d6)](q))return!0x0;const _0x265f0d=_0x2cf042[_0x347248(0x250)](G),{unitId:_0x592ba6,subUnitId:_0xcbdf4c,pivotTableId:_0x77b784,fieldId:_0x4bda80,collapse:_0x11605e,item:_0x1b416e}=_0x558526,_0x9de157=_0x265f0d['getPivotTableInstance'](_0x77b784);if(!_0x9de157)return!0x1;_0x9de157['setCollapse'](_0x4bda80,_0x11605e,_0x1b416e);const _0x278145=_0x265f0d['getPivotTableModelConfig'](_0x592ba6,_0xcbdf4c,_0x77b784);return ts(_0x278145,_0x558526),_0x265f0d['addDirtyPivotTable']({'unitId':_0x592ba6,'subUnitId':_0xcbdf4c,'token':_0x77b784,'type':$[_0x347248(0x31e)]}),!0x0;}},Kt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x261),'handler'(_0x1d57cc,_0x456bd9){const _0x4a6bef=_0x84255b;if(!_0x456bd9)return!0x1;if(!!_0x1d57cc[_0x4a6bef(0x250)](_0x4b6507)[_0x4a6bef(0x2d6)](q))return!0x0;const _0x4c81f6=_0x1d57cc['get'](G),{unitId:_0x5051d0,subUnitId:_0x94d44b,pivotTableId:_0x5335df,fieldId:_0x183597,format:_0x5f1044}=_0x456bd9,_0xfde359=_0x4c81f6[_0x4a6bef(0x2e6)](_0x5335df);if(!_0xfde359)return!0x1;_0xfde359[_0x4a6bef(0x41b)](_0x183597,_0x5f1044);const _0x143031=_0x4c81f6['getPivotTableModelConfig'](_0x5051d0,_0x94d44b,_0x5335df);return os(_0x143031,_0x456bd9),_0x4c81f6[_0x4a6bef(0x409)]({'unitId':_0x5051d0,'subUnitId':_0x94d44b,'token':_0x5335df,'type':$[_0x4a6bef(0x31e)]}),!0x0;}},Ht={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x2b4),'handler'(_0x4dc083,_0x135bab){const _0x3b5ac9=_0x84255b;if(!_0x135bab)return!0x1;if(!!_0x4dc083[_0x3b5ac9(0x250)](_0x4b6507)[_0x3b5ac9(0x2d6)](q))return!0x0;const _0x6d09d1=_0x4dc083[_0x3b5ac9(0x250)](G),{unitId:_0x20baf7,subUnitId:_0x19897d,pivotTableId:_0x23a5d8,fieldId:_0x16829b,filterInfo:_0x3602c6}=_0x135bab,_0x157b45=_0x6d09d1[_0x3b5ac9(0x2e6)](_0x23a5d8);if(!_0x157b45)return!0x1;_0x157b45[_0x3b5ac9(0x411)](_0x16829b,_0x3602c6);const _0x560cca=_0x6d09d1[_0x3b5ac9(0x2d4)](_0x20baf7,_0x19897d,_0x23a5d8);return ns(_0x560cca,_0x135bab),_0x6d09d1[_0x3b5ac9(0x409)]({'unitId':_0x20baf7,'subUnitId':_0x19897d,'token':_0x23a5d8,'type':$['Set']}),!0x0;}},qt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x2ac),'handler'(_0x96a3d2,_0xeea305){const _0x55f0e2=_0x84255b;if(!_0xeea305)return!0x1;if(!!_0x96a3d2[_0x55f0e2(0x250)](_0x4b6507)[_0x55f0e2(0x2d6)](q))return!0x0;const _0x398208=_0x96a3d2[_0x55f0e2(0x250)](G),{unitId:_0x1126dc,subUnitId:_0x41a08e,pivotTableId:_0x24fa77,options:_0x19ae32}=_0xeea305,_0x38b793=_0x398208[_0x55f0e2(0x2e6)](_0x24fa77);if(!_0x38b793)return!0x1;_0x38b793[_0x55f0e2(0x2c3)](_0x19ae32);const _0x35df08=_0x398208[_0x55f0e2(0x2d4)](_0x1126dc,_0x41a08e,_0x24fa77);return cs(_0x35df08,_0xeea305),_0x398208[_0x55f0e2(0x409)]({'unitId':_0x1126dc,'subUnitId':_0x41a08e,'token':_0x24fa77,'type':$['Set']}),!0x0;}},zt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x2b5),'handler'(_0x3e26fd,_0x5519cb){const _0x364946=_0x84255b;if(!_0x5519cb)return!0x1;if(!!_0x3e26fd['get'](_0x4b6507)[_0x364946(0x2d6)](q))return!0x0;const _0x333849=_0x3e26fd[_0x364946(0x250)](G),{unitId:_0x34f4a3,subUnitId:_0x2e4f99,pivotTableId:_0x3050f9,sortInfo:_0x1ddeda,fieldId:_0x62b08c}=_0x5519cb,_0x1afe29=_0x333849[_0x364946(0x2e6)](_0x3050f9);if(!_0x1afe29)return!0x1;_0x1afe29['setSortInfo'](_0x62b08c,_0x1ddeda);const _0x9b8f3=_0x333849[_0x364946(0x2d4)](_0x34f4a3,_0x2e4f99,_0x3050f9);return ds(_0x9b8f3,_0x5519cb),_0x333849[_0x364946(0x409)]({'unitId':_0x34f4a3,'subUnitId':_0x2e4f99,'token':_0x3050f9,'type':$[_0x364946(0x31e)]}),!0x0;}},Yt={'type':_0x156015['MUTATION'],'id':_0x84255b(0x3ad),'handler'(_0x38f13a,_0x54e332){const _0x3969f3=_0x84255b;if(!_0x54e332)return!0x1;if(!!_0x38f13a[_0x3969f3(0x250)](_0x4b6507)[_0x3969f3(0x2d6)](q))return!0x0;const _0x565dc9=_0x38f13a[_0x3969f3(0x250)](G),{unitId:_0x37c3d3,subUnitId:_0x565b89,pivotTableId:_0x500b3a,fieldId:_0x1a54f6,subtotalType:_0x31e97d}=_0x54e332,_0x8ccf8a=_0x565dc9[_0x3969f3(0x2e6)](_0x500b3a);if(!_0x8ccf8a)return!0x1;_0x8ccf8a['setSubtotalType'](_0x1a54f6,_0x31e97d);const _0x4f6464=_0x565dc9[_0x3969f3(0x2d4)](_0x37c3d3,_0x565b89,_0x500b3a);return ss(_0x4f6464,_0x54e332),_0x565dc9['addDirtyPivotTable']({'unitId':_0x37c3d3,'subUnitId':_0x565b89,'token':_0x500b3a,'type':$[_0x3969f3(0x31e)]}),!0x0;}},Qt={'type':_0x156015['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x186578,_0x3ce519){const _0x1b6a5d=_0x84255b;if(!_0x3ce519)return!0x1;if(!!_0x186578[_0x1b6a5d(0x250)](_0x4b6507)[_0x1b6a5d(0x2d6)](q))return!0x0;const _0x196cff=_0x186578[_0x1b6a5d(0x250)](G),{unitId:_0x5d602a,subUnitId:_0x3f321e,pivotTableId:_0x1e3631,fieldId:_0x72f72e,filterInfo:_0x5e12e2}=_0x3ce519,_0x239a09=_0x196cff[_0x1b6a5d(0x2e6)](_0x1e3631);if(!_0x239a09)return!0x1;_0x239a09[_0x1b6a5d(0x377)](_0x72f72e,_0x5e12e2);const _0x45fae3=_0x196cff[_0x1b6a5d(0x2d4)](_0x5d602a,_0x3f321e,_0x1e3631);return is(_0x45fae3,_0x3ce519),_0x196cff[_0x1b6a5d(0x409)]({'unitId':_0x5d602a,'subUnitId':_0x3f321e,'token':_0x1e3631,'type':$[_0x1b6a5d(0x31e)]}),!0x0;}},Xt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x3b1),'handler'(_0x23de18,_0xfbad09){const _0x58200d=_0x84255b;if(!_0xfbad09)return!0x1;if(!!_0x23de18['get'](_0x4b6507)[_0x58200d(0x2d6)](q))return!0x0;const _0x252a98=_0x23de18[_0x58200d(0x250)](G),{unitId:_0xd6f5a0,subUnitId:_0x18cace,pivotTableId:_0x5f3c53,area:_0x1f2eb5,index:_0x5375ac,fieldId:_0x26e1d2}=_0xfbad09,_0xe8f04e=_0x252a98[_0x58200d(0x2e6)](_0x5f3c53);if(!_0xe8f04e)return!0x1;_0xe8f04e[_0x58200d(0x3ac)](_0x26e1d2,_0x1f2eb5,_0x5375ac);const _0x35a0d2=_0x252a98[_0x58200d(0x2d4)](_0xd6f5a0,_0x18cace,_0x5f3c53);return as(_0x35a0d2,_0xfbad09),_0x252a98[_0x58200d(0x409)]({'unitId':_0xd6f5a0,'subUnitId':_0x18cace,'token':_0x5f3c53,'type':$[_0x58200d(0x31e)]}),!0x0;}},Zt={'type':_0x156015['MUTATION'],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x4a770a,_0x26ec5e){const _0x23cd51=_0x84255b;if(!_0x26ec5e)return!0x1;if(!!_0x4a770a[_0x23cd51(0x250)](_0x4b6507)[_0x23cd51(0x2d6)](q))return!0x0;const _0x159c6e=_0x4a770a[_0x23cd51(0x250)](G),{unitId:_0x43fea0,subUnitId:_0x304dff,pivotTableId:_0x11762e,sourceName:_0x2be559,dataFieldId:_0x536eef,tableFieldId:_0x5fe20c}=_0x26ec5e,_0x4c4132=_0x159c6e[_0x23cd51(0x2e6)](_0x11762e);if(!_0x4c4132)return!0x1;_0x4c4132['updateFieldSourceInfo'](_0x5fe20c,_0x2be559,_0x536eef);const _0x4cc0f0=_0x159c6e[_0x23cd51(0x2d4)](_0x43fea0,_0x304dff,_0x11762e);return ls(_0x4cc0f0,_0x26ec5e),_0x159c6e['addDirtyPivotTable']({'unitId':_0x43fea0,'subUnitId':_0x304dff,'token':_0x11762e,'type':$[_0x23cd51(0x31e)]}),!0x0;}},eo={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x220),'handler'(_0x50fb87,_0x4bbed5){const _0x383584=_0x84255b;if(!_0x4bbed5)return!0x1;if(!!_0x50fb87[_0x383584(0x250)](_0x4b6507)[_0x383584(0x2d6)](q))return!0x0;const _0x562cf9=_0x50fb87['get'](G),{unitId:_0x11ded6,subUnitId:_0x2f0323,pivotTableId:_0x499c9a,valuePosition:_0x3f12e4,index:_0x19b63c}=_0x4bbed5,_0x1b30b6=_0x562cf9[_0x383584(0x2e6)](_0x499c9a);if(!_0x1b30b6)return!0x1;_0x1b30b6[_0x383584(0x1fa)](_0x3f12e4,_0x19b63c);const _0x182840=_0x562cf9[_0x383584(0x2d4)](_0x11ded6,_0x2f0323,_0x499c9a);return rs(_0x182840,_0x4bbed5),_0x562cf9[_0x383584(0x409)]({'unitId':_0x11ded6,'subUnitId':_0x2f0323,'token':_0x499c9a,'type':$[_0x383584(0x31e)]}),!0x0;}};function me(_0x4e4a47,_0x65742d,_0x35b124){const _0x2aa69c=_0x84255b,{pivotTableId:_0x1884f8,unitId:_0x8d5ce6,subUnitId:_0x185d81}=_0x65742d,_0x5dbbd8=[],_0x3eccbf=[];for(const _0x38e04b of _0x35b124)switch(_0x38e04b[_0x2aa69c(0x1f6)]){case _0x5046fe[_0x2aa69c(0x37e)]:{const {fieldJson:_0x4844f1,area:_0x3c1693,index:_0x2e5514}=_0x38e04b,_0x3d26bc={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldJson':_0x4844f1,'area':_0x3c1693,'index':_0x2e5514},_0x22c438={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x4844f1['id'],'area':_0x3c1693,'index':_0x2e5514};_0x5dbbd8['push']({'id':Gt['id'],'params':_0x3d26bc}),_0x3eccbf[_0x2aa69c(0x38e)]({'id':Jt['id'],'params':_0x22c438});}break;case _0x5046fe[_0x2aa69c(0x2d1)]:{const {fieldId:_0x1c590e,newSubtotalType:_0x2354a0,oldSubtotalType:_0x29763d}=_0x38e04b,_0x3525bc={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x1c590e,'subtotalType':_0x2354a0};_0x5dbbd8[_0x2aa69c(0x1f7)]({'id':Yt['id'],'params':_0x3525bc});const _0x5670d4={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x1c590e,'subtotalType':_0x29763d};_0x3eccbf[_0x2aa69c(0x38e)]({'id':Yt['id'],'params':_0x5670d4});}break;case _0x5046fe[_0x2aa69c(0x353)]:{const {fieldId:_0x24d0d5,fieldJson:_0x33e351,area:_0x34e202,index:_0x198bed}=_0x38e04b,_0x37bb0b={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x24d0d5,'index':_0x198bed,'area':_0x34e202};_0x5dbbd8['push']({'id':Jt['id'],'params':_0x37bb0b});const _0x5a54c3={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldJson':_0x33e351,'area':_0x34e202,'index':_0x198bed};_0x3eccbf[_0x2aa69c(0x38e)]({'id':Gt['id'],'params':_0x5a54c3});}break;case _0x5046fe[_0x2aa69c(0x2a3)]:{const {fieldId:_0x55abd9,oldName:_0x63c747,newName:_0x320c74}=_0x38e04b,_0x163ad0={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x55abd9,'name':_0x320c74};_0x5dbbd8[_0x2aa69c(0x1f7)]({'id':Wt['id'],'params':_0x163ad0});const _0x4c735a={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x55abd9,'name':_0x63c747};_0x3eccbf[_0x2aa69c(0x38e)]({'id':Wt['id'],'params':_0x4c735a});}break;case _0x5046fe[_0x2aa69c(0x34d)]:{const {fieldId:_0x5bb380,oldFilterInfo:_0x40b938,newFilterInfo:_0x19d871}=_0x38e04b,_0x338716={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x5bb380,'filterInfo':_0x19d871};_0x5dbbd8[_0x2aa69c(0x1f7)]({'id':Ht['id'],'params':_0x338716});const _0x19da9f={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x5bb380,'filterInfo':_0x40b938};_0x3eccbf['unshift']({'id':Ht['id'],'params':_0x19da9f});}break;case _0x5046fe['SetSortInfo']:{const {fieldId:_0x55e5b5,oldSortInfo:_0x59171d,newSortInfo:_0xa5eda6}=_0x38e04b,_0x232ccc={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x55e5b5,'sortInfo':_0xa5eda6};_0x5dbbd8[_0x2aa69c(0x1f7)]({'id':zt['id'],'params':_0x232ccc});const _0x46bece={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x55e5b5,'sortInfo':_0x59171d};_0x3eccbf[_0x2aa69c(0x38e)]({'id':zt['id'],'params':_0x46bece});}break;case _0x5046fe[_0x2aa69c(0x266)]:{const {oldOptions:_0x1377bf,newOptions:_0x370407}=_0x38e04b,_0x5c4e06={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'options':_0x370407};_0x5dbbd8['push']({'id':qt['id'],'params':_0x5c4e06});const _0x7cc821={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'options':_0x1377bf};_0x3eccbf['unshift']({'id':qt['id'],'params':_0x7cc821});}break;case _0x5046fe[_0x2aa69c(0x3c6)]:{const {oldArea:_0x49f8cb,newArea:_0x5de562,oldIndex:_0x322d8c,newIndex:_0x220e77,fieldId:_0x271997}=_0x38e04b,_0x3314e9={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x271997,'area':_0x5de562,'index':_0x220e77,'oldArea':_0x49f8cb,'oldIndex':_0x322d8c};_0x5dbbd8[_0x2aa69c(0x1f7)]({'id':Xt['id'],'params':_0x3314e9});const _0x52bc0c={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x271997,'area':_0x49f8cb,'index':_0x322d8c,'oldArea':_0x5de562,'oldIndex':_0x220e77};_0x3eccbf[_0x2aa69c(0x38e)]({'id':Xt['id'],'params':_0x52bc0c});}break;case _0x5046fe['UpdateValuePosition']:{const {oldValuePosition:_0x1ba599,newValuePosition:_0x504023,oldIndex:_0x1710b0,newIndex:_0x53cdb4}=_0x38e04b,_0x110c14={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'valuePosition':_0x504023,'index':_0x53cdb4};_0x5dbbd8[_0x2aa69c(0x1f7)]({'id':eo['id'],'params':_0x110c14});const _0x4f0670={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'valuePosition':_0x1ba599,'index':_0x1710b0};_0x3eccbf['unshift']({'id':eo['id'],'params':_0x4f0670});}break;case _0x5046fe[_0x2aa69c(0x432)]:{const {fieldId:_0x16e06c,collapse:_0x4568d7,item:_0x3716dd}=_0x38e04b,_0x1bdb77={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x16e06c,'collapse':_0x4568d7,'item':_0x3716dd};_0x5dbbd8[_0x2aa69c(0x1f7)]({'id':jt['id'],'params':_0x1bdb77});const _0x36af6b={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x16e06c,'collapse':!_0x4568d7,'item':_0x3716dd};_0x3eccbf['unshift']({'id':jt['id'],'params':_0x36af6b});}break;case _0x5046fe[_0x2aa69c(0x37a)]:{const {newFormat:_0x3ce189,oldFormat:_0xbf0848,fieldId:_0x2d58f5}=_0x38e04b,_0x526fa8={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x2d58f5,'format':_0x3ce189};_0x5dbbd8[_0x2aa69c(0x1f7)]({'id':Kt['id'],'params':_0x526fa8});const _0x4b0219={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x2d58f5,'format':_0xbf0848};_0x3eccbf[_0x2aa69c(0x38e)]({'id':Kt['id'],'params':_0x4b0219});}break;case _0x5046fe[_0x2aa69c(0x1fe)]:{const {tableFieldId:_0x5d718c,oldSourceName:_0xe9a671,newSourceName:_0x18fbeb,oldDataFieldId:_0x26f542,newDataFieldId:_0x95a83c}=_0x38e04b,_0x111683={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'tableFieldId':_0x5d718c,'sourceName':_0x18fbeb,'dataFieldId':_0x95a83c};_0x5dbbd8['push']({'id':Zt['id'],'params':_0x111683});const _0x29874f={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'tableFieldId':_0x5d718c,'sourceName':_0xe9a671,'dataFieldId':_0x26f542};_0x3eccbf[_0x2aa69c(0x38e)]({'id':Zt['id'],'params':_0x29874f});}break;case _0x5046fe['SetValueFilter']:{const {fieldId:_0x161169,filterInfo:_0x363a15,oldFilterInfo:_0x53017e}=_0x38e04b,_0x1e583a={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x161169,'filterInfo':_0x363a15};_0x5dbbd8[_0x2aa69c(0x1f7)]({'id':Qt['id'],'params':_0x1e583a});const _0x19372b={'unitId':_0x8d5ce6,'subUnitId':_0x185d81,'pivotTableId':_0x1884f8,'fieldId':_0x161169,'filterInfo':_0x53017e};_0x3eccbf[_0x2aa69c(0x38e)]({'id':Qt['id'],'params':_0x19372b});}}return{'redos':_0x5dbbd8,'undos':_0x3eccbf};}function _e(_0x4a186a,_0x715161){const _0x26dea9=_0x84255b;var _0x332b0f;const _0x4b426e=_0x4a186a[_0x26dea9(0x250)](ie),{cellInfo:_0x40a3a9,view:_0x4cf482,isEmpty:_0x256dcd}=_0x715161;return(_0x332b0f=_0x4b426e[_0x26dea9(0x22c)][_0x26dea9(0x228)](Go)(Po,{'cellInfo':_0x40a3a9,'view':_0x4cf482,'isEmpty':_0x256dcd}))!=null?_0x332b0f:Po;}const us=()=>typeof process<'u'&&process['versions']!=null&&process['versions'][_0x84255b(0x3e0)]!=null,Ct={'type':_0x156015['MUTATION'],'id':_0x84255b(0x365),'handler'(_0x47565e,_0x33a7bf){const _0x35bd0a=_0x84255b;var _0x4165e1;if(!_0x33a7bf)return!0x1;const _0x57e0a1=_0x47565e[_0x35bd0a(0x250)](_0x4b6507);if(!!_0x57e0a1['getConfig'](q))return!0x0;const _0x401ae2=_0x47565e[_0x35bd0a(0x250)](_0x30a6c3),_0x3010e2=_0x47565e[_0x35bd0a(0x250)](G),{pivotTableId:_0x195739,pivotTableConfig:_0xa5f6aa,collectionConfig:_0xefaefa,unitId:_0x412dae,subUnitId:_0xa678c8}=_0x33a7bf,{sourceRangeInfo:_0x49dcb1,fieldsConfig:_0x3859a8,targetCellInfo:_0x165023}=_0xa5f6aa,_0x362ab3=_0x401ae2['getUnit'](_0x412dae);if(!_0x362ab3||!_0x362ab3[_0x35bd0a(0x3c3)](_0xa678c8))return!0x1;if(!us()){let _0x3e496f=0x0;_0x362ab3[_0x35bd0a(0x307)]()[_0x35bd0a(0x447)](_0x1b82ef=>{const _0x152dff=_0x35bd0a;var _0x30a76d,_0x4691fa;_0x3e496f+=(_0x4691fa=(_0x30a76d=_0x3010e2['getSubUnitPivotConfigs'](_0x412dae,_0x1b82ef[_0x152dff(0x27e)]()))==null?void 0x0:_0x30a76d[_0x152dff(0x358)])!=null?_0x4691fa:0x0;});const _0x415f4f=(_0x4165e1=_0x57e0a1[_0x35bd0a(0x2d6)](_0x37848f))!=null?_0x4165e1:{},{ls:_0x52e92a,pbk:_0x426486}=_0x415f4f;if(!Ko(_0x52e92a,_0x426486))throw new _0x48c654(_0x35bd0a(0x1cd));const _0x1402a5=go(so,_0x52e92a,_0x426486)['count'];if(_0x3e496f>=_0x1402a5)throw new _0x48c654(_0x35bd0a(0x1cd));}if(!_0xefaefa||!_0x3859a8)return!0x1;const {collection:_0x24a3ac,updateDataFieldList:_0x3f9026}=_0x3010e2['addCollectionByJSON'](_0x195739,_0xefaefa,_0x49dcb1,_0x165023);_0x3010e2['refreshData'](_0x24a3ac,_0x3f9026,_0x49dcb1);const _0x4f9439=new _0x22ffa2(_0x24a3ac,void 0x0,_0x195739);_0x4f9439['fromJSON'](_0x3859a8);const _0x4cd65f=JSON[_0x35bd0a(0x306)](JSON['stringify'](_0xa5f6aa));return _0x3010e2['addPivotTable'](_0x412dae,_0xa678c8,_0x195739,_0x4f9439,_0x4cd65f),_0x3010e2[_0x35bd0a(0x409)]({'unitId':_0x412dae,'subUnitId':_0xa678c8,'token':_0x195739,'type':$[_0x35bd0a(0x2c9)],'pivotConfig':_0x4cd65f}),!0x0;}},xt={'type':_0x156015['MUTATION'],'id':_0x84255b(0x28f),'handler'(_0x3c1d76,_0x235669){const _0x146dc6=_0x84255b;if(!_0x235669)return!0x1;if(!!_0x3c1d76[_0x146dc6(0x250)](_0x4b6507)[_0x146dc6(0x2d6)](q))return!0x0;const {pivotTableId:_0x1ec275,unitId:_0x4de4cb,subUnitId:_0x24e060}=_0x235669,_0x198c32=_0x3c1d76[_0x146dc6(0x250)](G);return _0x198c32[_0x146dc6(0x3f4)](_0x4de4cb,_0x24e060,_0x1ec275)?(_0x198c32[_0x146dc6(0x409)]({'unitId':_0x4de4cb,'subUnitId':_0x24e060,'token':_0x1ec275,'type':$[_0x146dc6(0x418)]}),_0x198c32[_0x146dc6(0x2b2)](_0x4de4cb,_0x24e060,_0x1ec275),!0x0):!0x1;}},pt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x2f6),'handler'(_0x13e260,_0x303cc3){const _0x1f2b4b=_0x84255b;if(!_0x303cc3)return!0x1;if(!!_0x13e260[_0x1f2b4b(0x250)](_0x4b6507)[_0x1f2b4b(0x2d6)](q))return!0x0;const {pivotTableId:_0x25f1e2,targetCellPosition:_0x3ff1aa,unitId:_0x3af053,subUnitId:_0x239210}=_0x303cc3,_0x380331=_0x13e260[_0x1f2b4b(0x250)](G);if(!_0x380331['getPivotTableInstance'](_0x303cc3['pivotTableId']))return!0x1;const _0x5142ba=_0x380331[_0x1f2b4b(0x41a)](_0x25f1e2);if(!_0x5142ba)return!0x1;const _0x12c2a3=_0x380331[_0x1f2b4b(0x414)](_0x5142ba[_0x1f2b4b(0x339)],_0x303cc3[_0x1f2b4b(0x37f)]);if(!_0x12c2a3)return!0x1;const _0x2df40c=_0x380331[_0x1f2b4b(0x3f4)](_0x5142ba[_0x1f2b4b(0x339)],_0x5142ba[_0x1f2b4b(0x1d4)],_0x25f1e2);if(!_0x2df40c)return!0x1;const _0xe3f15=_0x1a2dac[_0x1f2b4b(0x282)](_0x2df40c);_0xe3f15[_0x1f2b4b(0x2e0)]={'unitId':_0x3af053,'subUnitId':_0x239210,'row':_0x3ff1aa[_0x1f2b4b(0x241)],'col':_0x3ff1aa['col']};const _0x3ea02a=_0x12c2a3[_0x1f2b4b(0x43b)]();if(_0x5142ba['subUnitId']===_0x239210&&_0x5142ba['unitId']===_0x3af053)_0x380331['setPivotTable'](_0x3af053,_0x239210,_0x25f1e2,_0xe3f15),_0x380331[_0x1f2b4b(0x409)]({'unitId':_0x3af053,'subUnitId':_0x239210,'token':_0x25f1e2,'type':$[_0x1f2b4b(0x31e)]});else{_0x380331[_0x1f2b4b(0x409)]({'unitId':_0x5142ba[_0x1f2b4b(0x339)],'subUnitId':_0x5142ba[_0x1f2b4b(0x1d4)],'token':_0x25f1e2,'type':$[_0x1f2b4b(0x418)]}),_0x380331['removePivotTable'](_0x5142ba[_0x1f2b4b(0x339)],_0x5142ba[_0x1f2b4b(0x1d4)],_0x25f1e2);const _0x2d4087=_0x380331['addCollectionByJSON'](_0x25f1e2,_0x3ea02a,_0x2df40c[_0x1f2b4b(0x208)],_0xe3f15[_0x1f2b4b(0x2e0)]),_0x59bd8c=new _0x22ffa2(_0x2d4087[_0x1f2b4b(0x319)],void 0x0,_0x25f1e2);_0x59bd8c[_0x1f2b4b(0x1e1)](_0xe3f15[_0x1f2b4b(0x1cf)]),_0x380331[_0x1f2b4b(0x442)](_0x3af053,_0x239210,_0x25f1e2,_0x59bd8c,_0xe3f15),_0x380331[_0x1f2b4b(0x409)]({'unitId':_0x3af053,'subUnitId':_0x239210,'token':_0x25f1e2,'type':$['Add'],'pivotConfig':_0xe3f15});}return!0x0;}},to={'type':_0x156015[_0x84255b(0x327)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x45da7b,_0x101eb9){const _0x2b792e=_0x84255b;if(!_0x101eb9)return!0x1;if(!!_0x45da7b[_0x2b792e(0x250)](_0x4b6507)[_0x2b792e(0x2d6)](q))return!0x0;const _0x49a320=_0x45da7b['get'](G),{pivotTableId:_0x4fa39b,deleteIds:_0x47fcd6,collectionJSON:_0x26c255,dataRangeInfo:_0x211ff1,unitId:_0x497554,subUnitId:_0x241837}=_0x101eb9,_0x1129cd=_0x49a320[_0x2b792e(0x2e6)](_0x4fa39b),_0x3ccb9d=_0x49a320['getPivotTableConfig'](_0x497554,_0x241837,_0x4fa39b);if(!_0x1129cd||!_0x3ccb9d)return!0x1;const {collection:_0x366d4f,updateDataFieldList:_0x30f4a8}=_0x49a320[_0x2b792e(0x21e)](_0x4fa39b,_0x26c255,_0x211ff1,_0x3ccb9d[_0x2b792e(0x2e0)]);_0x49a320['refreshData'](_0x366d4f,_0x30f4a8,_0x211ff1),_0x1129cd[_0x2b792e(0x374)](_0x366d4f);for(const _0x38186c of _0x47fcd6)_0x49a320[_0x2b792e(0x2ea)](_0x211ff1['unitId'],_0x38186c);const _0x40488d=_0x49a320['getPivotTableConfig'](_0x497554,_0x241837,_0x4fa39b);return _0x40488d[_0x2b792e(0x208)]=JSON['parse'](JSON[_0x2b792e(0x333)](_0x211ff1)),_0x49a320['addDirtyPivotTable']({'unitId':_0x497554,'subUnitId':_0x241837,'token':_0x4fa39b,'type':$[_0x2b792e(0x31e)]}),!0x0;}},Nt={'type':_0x156015[_0x84255b(0x327)],'id':_0x84255b(0x334),'handler'(){return!0x0;}};var fs=Object[_0x84255b(0x2c7)],gs=(_0x5c8763,_0x49f3ba,_0x1818e5,_0x12d71e)=>{const _0xf72e18=_0x84255b;for(var _0x9e393b=_0x12d71e>0x1?void 0x0:_0x12d71e?fs(_0x49f3ba,_0x1818e5):_0x49f3ba,_0x4cd025=_0x5c8763[_0xf72e18(0x321)]-0x1,_0x9d64ff;_0x4cd025>=0x0;_0x4cd025--)(_0x9d64ff=_0x5c8763[_0x4cd025])&&(_0x9e393b=_0x9d64ff(_0x9e393b)||_0x9e393b);return _0x9e393b;},wo=(_0x60a6d9,_0xf1bcc6)=>(_0x5e267a,_0x540103)=>_0xf1bcc6(_0x5e267a,_0x540103,_0x60a6d9);let Z=class extends _0x439fd3{constructor(_0x5197c1,_0x56b13c){const _0x3617f4=_0x84255b;super(),V(this,'_requestResolvers',new Map()),(this['_injector']=_0x5197c1,this[_0x3617f4(0x2a0)]=_0x56b13c);}['handleAsyncResponse'](_0x507a38){const _0x5ddcf6=_0x84255b,{version:_0x1fb5c2}=_0x507a38,_0x55ef63=this[_0x5ddcf6(0x22d)]['get'](_0x1fb5c2);_0x55ef63&&(_0x55ef63(_0x507a38),this[_0x5ddcf6(0x22d)][_0x5ddcf6(0x3b7)](_0x1fb5c2));}[_0x84255b(0x3e3)](_0x341524){return new Promise((_0x165a9a,_0x2c8d8a)=>{const _0xd0a2df=_0x2084,_0x195842=this['_generateUniqueVersion']();this[_0xd0a2df(0x22d)]['set'](_0x195842,_0x165a9a),this[_0xd0a2df(0x2a0)][_0xd0a2df(0x404)](ro['id'],{'version':_0x195842,..._0x341524},{'onlyLocal':!0x0});});}[_0x84255b(0x346)](){const _0x36f2a2=_0x84255b;return Math[_0x36f2a2(0x2f0)]()[_0x36f2a2(0x40c)](0x24)[_0x36f2a2(0x2f4)](0x2,0x10);}};Z=gs([wo(0x0,_0x2459bd(_0x1034ce)),wo(0x1,_0x2459bd(_0x324b30))],Z);const Yo={'id':_0x84255b(0x344),'type':_0x156015[_0x84255b(0x327)],'handler':(_0x58d001,_0x2c8c08)=>{const _0xd719c9=_0x84255b;if(!_0x2c8c08)return!0x1;if(!!_0x58d001[_0xd719c9(0x250)](_0x4b6507)[_0xd719c9(0x2d6)](q))return!0x0;const {pivotTableId:_0x5653a1,fieldJSON:_0x2735f7,unitId:_0x24d7e3,subUnitId:_0x1abfbc}=_0x2c8c08,_0x4aa12c=_0x12cca2['fromJSON'](_0x2735f7);if(!_0x4aa12c)return!0x1;const _0x2d1be0=_0x58d001[_0xd719c9(0x250)](G),_0xde06e6=_0x2d1be0[_0xd719c9(0x1fc)](_0x24d7e3),_0x377447=_0xde06e6[_0xd719c9(0x414)](_0x5653a1);_0xde06e6[_0xd719c9(0x2df)](_0x4aa12c),_0x377447[_0xd719c9(0x382)](_0x4aa12c[_0xd719c9(0x425)](),_0x4aa12c[_0xd719c9(0x24d)]());const _0x2d2d68=_0x377447[_0xd719c9(0x2d3)](_0x4aa12c[_0xd719c9(0x2aa)]());_0x2d2d68&&_0x4aa12c[_0xd719c9(0x252)](_0x2d2d68);const _0x12650d=_0x2d1be0[_0xd719c9(0x3f4)](_0x24d7e3,_0x1abfbc,_0x5653a1);return _0x2d1be0['addDirtyPivotTable']({'unitId':_0x24d7e3,'subUnitId':_0x1abfbc,'token':_0x5653a1,'type':$[_0xd719c9(0x31e)],'pivotConfig':_0x12650d}),!0x0;}},Qo={'id':'sheet.mutation.remove-group-collection','type':_0x156015[_0x84255b(0x327)],'handler':(_0x222621,_0x33fadd)=>{const _0x11dc3f=_0x84255b;if(!_0x33fadd)return!0x1;if(!!_0x222621[_0x11dc3f(0x250)](_0x4b6507)[_0x11dc3f(0x2d6)](q))return!0x0;const {pivotTableId:_0x171898,dataFieldId:_0x410a32,unitId:_0x462b01,subUnitId:_0x24813a}=_0x33fadd,_0x10ddac=_0x222621[_0x11dc3f(0x250)](G),_0x3cb223=_0x10ddac[_0x11dc3f(0x1fc)](_0x462b01);_0x3cb223['getCollection'](_0x171898)[_0x11dc3f(0x1f0)](_0x410a32);let _0x29d5b2=!0x0;for(const _0x24fd75 in _0x3cb223[_0x11dc3f(0x264)])if(_0x3cb223[_0x11dc3f(0x264)][_0x24fd75][_0x11dc3f(0x239)]()[_0x11dc3f(0x2e2)](_0x410a32)){_0x29d5b2=!0x1;break;}_0x29d5b2&&_0x3cb223[_0x11dc3f(0x41c)](_0x410a32);const _0x427431=_0x10ddac[_0x11dc3f(0x3f4)](_0x462b01,_0x24813a,_0x171898);return _0x10ddac[_0x11dc3f(0x409)]({'unitId':_0x462b01,'subUnitId':_0x24813a,'token':_0x171898,'type':$[_0x11dc3f(0x31e)],'pivotConfig':_0x427431}),!0x0;}},hs={'type':_0x156015[_0x84255b(0x388)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x1c03b4,_0x4a429b){const _0x1899c6=_0x84255b;if(!_0x4a429b)return!0x1;const _0x2e5fd5=_0x1c03b4['get'](_0x324b30),_0x3dc667=_0x1c03b4[_0x1899c6(0x250)](Z),_0x30e3a5=_0x1c03b4['get'](_0x48b106),{pivotTableId:_0x1f4ed7,dataFieldId:_0x2dd181,fieldArea:_0x31aac6,index:_0xb63645,unitId:_0x1d84c8,subUnitId:_0x355767}=_0x4a429b,_0x422466=(await _0x3dc667[_0x1899c6(0x3e3)]({'unitId':_0x1d84c8,'subUnitId':_0x355767,'pivotTableId':_0x1f4ed7,'params':{'type':k[_0x1899c6(0x212)],'addPivotField':{'dataFieldId':_0x2dd181,'fieldArea':_0x31aac6,'index':_0xb63645}}}))[_0x1899c6(0x30f)][_0x1899c6(0x385)];if(!_0x422466)return!0x1;const {view:_0x566f7f,changesets:_0x58e739,isEmpty:_0x20f361,pivotTableConfig:_0x4aadc8,shouldBeAddedGroupJSON:_0x42e419}=_0x422466,_0x4c095e=_0x4aadc8[_0x1899c6(0x2e0)],_0x4a20db=new _0x272549();_0x4a20db[_0x1899c6(0x2ce)](_0x566f7f);const _0xcb9c2e={'cellInfo':_0x4c095e,'view':_0x4a20db,'isEmpty':_0x20f361};if(!await _0x1c03b4['get'](ie)['asyncInterceptor'][_0x1899c6(0x278)](be)(!0x0,_0xcb9c2e))return!0x1;const _0xa7d5e9=we(_0x1c03b4,_0x4a20db,_0x4c095e,_0x20f361),_0x35e573=_e(_0x1c03b4,_0xcb9c2e),{undos:_0x1da5b1,redos:_0x13a6b9}=me(_0x2e5fd5,{'pivotTableId':_0x1f4ed7,'unitId':_0x1d84c8,'subUnitId':_0x355767},_0x58e739);return _0x42e419&&(_0x13a6b9[_0x1899c6(0x38e)]({'id':Yo['id'],'params':{'pivotTableId':_0x1f4ed7,'fieldJSON':_0x42e419,'unitId':_0x1d84c8,'subUnitId':_0x355767}}),_0x1da5b1[_0x1899c6(0x1f7)]({'id':Qo['id'],'params':{'pivotTableId':_0x1f4ed7,'dataFieldId':_0x42e419['id'],'unitId':_0x1d84c8,'subUnitId':_0x355767}})),_0x3c8c36([..._0xa7d5e9[_0x1899c6(0x248)],..._0x35e573[_0x1899c6(0x248)],..._0x13a6b9],_0x2e5fd5),_0x30e3a5[_0x1899c6(0x332)]({'unitID':_0x1d84c8,'redoMutations':[..._0xa7d5e9[_0x1899c6(0x248)],..._0x35e573[_0x1899c6(0x248)],..._0x13a6b9],'undoMutations':[..._0xa7d5e9[_0x1899c6(0x38d)],..._0x35e573['undos'],..._0x1da5b1]}),!0x0;}},vs={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x349),async 'handler'(_0x590ae0,_0x122338){const _0x3d451b=_0x84255b;if(!_0x122338)return!0x1;const {sourceDataInfo:_0x56bcca,pivotTableConfig:_0x279c0b}=_0x122338;if(!_0x56bcca||!_0x279c0b)return!0x1;const {unitId:_0x2e7da7,subUnitId:_0x18fe16,range:_0x5147bd}=_0x56bcca,_0x2c4b70=_0x590ae0[_0x3d451b(0x250)](_0x30a6c3),_0x2ba93f=_0x590ae0['get'](Z),_0x153a3f=_0x590ae0[_0x3d451b(0x250)](_0x40a013),_0x38317f=_0x590ae0[_0x3d451b(0x250)](_0x324b30),_0x158509=_0x2c4b70['getUnit'](_0x2e7da7);if(!_0x158509)return!0x1;const _0x485738=_0x158509[_0x3d451b(0x3c3)](_0x18fe16);if(!_0x485738)return!0x1;const _0x501803=_0x191751(0x8),_0x2374fa=_0x5147bd||{'startRow':0x0,'startColumn':0x0,'endRow':_0x485738['getRowCount']()-0x1,'endColumn':_0x485738[_0x3d451b(0x25e)]()-0x1};_0x2374fa[_0x3d451b(0x30d)]=_0x1cff9[_0x3d451b(0x271)];const _0x2e9e97=(await _0x2ba93f[_0x3d451b(0x3e3)]({'unitId':_0x2e7da7,'subUnitId':_0x18fe16,'pivotTableId':_0x501803,'params':{'type':k[_0x3d451b(0x21c)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2e7da7,'sheetName':_0x485738['getName'](),'subUnitId':_0x18fe16,'range':_0x2374fa},'pivotTableId':_0x501803,'pivotTableIndexConfig':_0x279c0b}}}))[_0x3d451b(0x30f)]['addPivotTableWithConfig'];if(!_0x2e9e97)return!0x1;const {isEmpty:_0x262c10,fieldsConfig:_0x5b5de7,collectionConfig:_0x2a86d3,changesets:_0x4c7605}=_0x2e9e97,_0x1a1cc2=_0x158509[_0x3d451b(0x307)]()[_0x3d451b(0x321)],_0x25bca2=_0x369d4f({'rowCount':_0x485738['getRowCount']()-0x1,'columnCount':_0x485738['getColumnCount']()-0x1});_0x25bca2['id']=_0x23877c(),_0x25bca2['name']=_0x158509[_0x3d451b(0x438)](''+_0x153a3f['t'](_0x3d451b(0x268)));const _0x4bc992={'index':_0x1a1cc2,'sheet':_0x25bca2,'unitId':_0x2e7da7},{redos:_0x33bdfe}=me(_0x38317f,{'pivotTableId':_0x501803,'unitId':_0x2e7da7,'subUnitId':_0x25bca2['id']},_0x4c7605),_0x445a2b=[{'id':_0x58df55['id'],'params':_0x4bc992},{'id':Ct['id'],'params':{'unitId':_0x2e7da7,'subUnitId':_0x25bca2['id'],'pivotTableId':_0x501803,'pivotTableConfig':{'isEmpty':_0x262c10,'fieldsConfig':_0x5b5de7,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2e7da7,'subUnitId':_0x25bca2['id']},'sourceRangeInfo':{'subUnitId':_0x18fe16,'unitId':_0x2e7da7,'range':_0x2374fa,'sheetName':_0x485738[_0x3d451b(0x24d)]()}},'collectionConfig':_0x2a86d3}},..._0x33bdfe];return _0x3c8c36(_0x445a2b,_0x38317f),!0x0;}},ps={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x1d3),async 'handler'(_0x2a9a7e,_0x18c793){const _0xee2fff=_0x84255b;var _0x3a2978,_0x47f76b;const _0x171890=_0x2a9a7e[_0xee2fff(0x250)](_0x324b30),_0x35f049=_0x2a9a7e['get'](_0x30a6c3),_0x5730d8=_0x2a9a7e['get'](_0x40a013),_0x4c6109=_0x2a9a7e[_0xee2fff(0x250)](Z),_0x5ba0f0=_0x2a9a7e[_0xee2fff(0x250)](_0x48b106),_0x39f604=_0x2a9a7e[_0xee2fff(0x250)](ve),_0x31ded3=_0x2a9a7e['get'](_0x4b6507);if(!_0x18c793)return!0x1;const {pivotTableConfig:_0x3c9e17,positionType:_0x1a6662}=_0x18c793,{targetCellInfo:_0x54432,sourceRangeInfo:_0x267060}=_0x3c9e17,{unitId:_0x311795,subUnitId:_0x207344}=_0x54432,_0xf2885f=_0x35f049[_0xee2fff(0x401)](_0x311795);if(!_0xf2885f)return!0x1;let _0x52dd7a=0x0;_0xf2885f[_0xee2fff(0x307)]()[_0xee2fff(0x447)](_0x301506=>{const _0x43767f=_0xee2fff;var _0x448be9,_0x48ada9;_0x52dd7a+=(_0x48ada9=(_0x448be9=_0x39f604[_0x43767f(0x2c8)](_0x311795,_0x301506[_0x43767f(0x27e)]()))==null?void 0x0:_0x448be9['size'])!=null?_0x48ada9:0x0;});const _0x160ef3=(_0x3a2978=_0x31ded3[_0xee2fff(0x2d6)](_0x37848f))!=null?_0x3a2978:{},{ls:_0x5716f6,pbk:_0x180555}=_0x160ef3;if(!Ko(_0x5716f6,_0x180555))return!0x1;const _0x2e69d5=go(so,_0x5716f6,_0x180555)[_0xee2fff(0x31f)];if(_0x52dd7a>=_0x2e69d5)return!0x1;const _0x42094d=_0x18c793[_0xee2fff(0x37f)]||_0x191751(0x8),_0x311df1=(await _0x4c6109[_0xee2fff(0x3e3)]({'unitId':_0x311795,'subUnitId':_0x207344,'pivotTableId':_0x42094d,'params':{'type':k[_0xee2fff(0x2d8)],'addPivotTable':{'sourceRangeInfo':_0x267060,'pivotTableId':_0x42094d}}}))[_0xee2fff(0x30f)][_0xee2fff(0x442)];if(!_0x311df1)return!0x1;const {view:_0x58c372,isEmpty:_0x30400a,fieldsConfig:_0x365991,collectionConfig:_0x491c2d}=_0x311df1,_0x2767ee=[],_0x337597=[];if(_0x1a6662===Lo['New']){const _0x4446b5=_0xf2885f[_0xee2fff(0x307)]()[_0xee2fff(0x321)],_0x26958d=_0x369d4f({});_0x26958d['id']=_0x3c9e17['targetCellInfo']['subUnitId'],_0x26958d[_0xee2fff(0x310)]=(_0x47f76b=_0x3c9e17[_0xee2fff(0x2e0)]['sheetName'])!=null?_0x47f76b:_0xf2885f['generateNewSheetName'](''+_0x5730d8['t'](_0xee2fff(0x268)));const _0x2b70b9={'index':_0x4446b5,'sheet':_0x26958d,'unitId':_0x311795},_0x21b043=_0x36672c(_0x2a9a7e,_0x2b70b9);_0x2767ee[_0xee2fff(0x1f7)]({'id':_0x269a9a['id'],'params':_0x21b043}),_0x337597[_0xee2fff(0x1f7)]({'id':_0x1356ad['id'],'params':_0x2b70b9});}else{if(!_0xf2885f[_0xee2fff(0x3c3)](_0x207344))return!0x1;const _0x151182=we(_0x2a9a7e,new _0x272549(),_0x54432,!0x0);_0x337597[_0xee2fff(0x1f7)](..._0x151182[_0xee2fff(0x248)]),_0x2767ee[_0xee2fff(0x1f7)](..._0x151182[_0xee2fff(0x38d)]);const _0x499ab8={'cellInfo':_0x54432,'view':_0x58c372,'isEmpty':_0x30400a};if(!await _0x2a9a7e['get'](ie)['asyncInterceptor'][_0xee2fff(0x278)](be)(!0x0,_0x499ab8))return!0x1;const _0x2955b7=_e(_0x2a9a7e,_0x499ab8);_0x337597[_0xee2fff(0x1f7)](..._0x2955b7[_0xee2fff(0x248)]),_0x2767ee[_0xee2fff(0x1f7)](..._0x2955b7[_0xee2fff(0x38d)]);}return _0x337597['push']({'id':Ct['id'],'params':{'unitId':_0x54432[_0xee2fff(0x339)],'subUnitId':_0x54432[_0xee2fff(0x1d4)],'pivotTableId':_0x42094d,'pivotTableConfig':{'targetCellInfo':_0x54432,'sourceRangeInfo':_0x267060,'fieldsConfig':_0x365991},'collectionConfig':_0x491c2d}}),_0x2767ee[_0xee2fff(0x38e)]({'id':xt['id'],'params':{'unitId':_0x311795,'subUnitId':_0x207344,'pivotTableId':_0x42094d}}),_0x3c8c36(_0x337597,_0x171890)&&_0x5ba0f0[_0xee2fff(0x332)]({'unitID':_0x311795,'undoMutations':_0x2767ee,'redoMutations':_0x337597}),!0x0;}},ms={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x394),async 'handler'(_0x1c22c0,_0x4f7447){const _0x5c1256=_0x84255b;if(!_0x4f7447)return!0x1;const _0x2e3af0=_0x1c22c0['get'](_0x324b30),_0x10f6d7=_0x1c22c0[_0x5c1256(0x250)](Z),_0x4bb013=_0x1c22c0['get'](_0x48b106),{pivotTableId:_0x1d62d7,fieldId:_0x388210,area:_0x411e83,index:_0xcca426,unitId:_0x2cdb4d,subUnitId:_0x44c9a2}=_0x4f7447,_0x1a7595=(await _0x10f6d7[_0x5c1256(0x3e3)]({'unitId':_0x2cdb4d,'subUnitId':_0x44c9a2,'pivotTableId':_0x1d62d7,'params':{'type':k['MovePivotField'],'movePivotField':{'fieldId':_0x388210,'area':_0x411e83,'index':_0xcca426}}}))[_0x5c1256(0x30f)][_0x5c1256(0x330)];if(!_0x1a7595)return!0x1;const {changesets:_0x414fe2,view:_0x41f3e1,isEmpty:_0x6f2c79,pivotTableConfig:_0x44ce68}=_0x1a7595,_0x57ecad=_0x44ce68[_0x5c1256(0x2e0)],_0x526c8c=new _0x272549();_0x526c8c[_0x5c1256(0x2ce)](_0x41f3e1);const _0x149ef8={'cellInfo':_0x57ecad,'view':_0x526c8c,'isEmpty':_0x6f2c79};if(!await _0x1c22c0[_0x5c1256(0x250)](ie)[_0x5c1256(0x300)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x149ef8))return!0x1;const _0x5c022c=we(_0x1c22c0,_0x526c8c,_0x57ecad,_0x6f2c79),_0x93f086=_e(_0x1c22c0,_0x149ef8),{redos:_0x2652d6,undos:_0x328b2a}=me(_0x2e3af0,{'pivotTableId':_0x1d62d7,'unitId':_0x2cdb4d,'subUnitId':_0x44c9a2},_0x414fe2);return _0x3c8c36([..._0x5c022c[_0x5c1256(0x248)],..._0x93f086[_0x5c1256(0x248)],..._0x2652d6],_0x2e3af0),_0x4bb013[_0x5c1256(0x332)]({'unitID':_0x2cdb4d,'redoMutations':[..._0x5c022c[_0x5c1256(0x248)],..._0x93f086[_0x5c1256(0x248)],..._0x2652d6],'undoMutations':[..._0x5c022c['undos'],..._0x93f086[_0x5c1256(0x38d)],..._0x328b2a]}),!0x0;}},Is={'type':_0x156015[_0x84255b(0x388)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x3ce165,_0x203a58){const _0x592694=_0x84255b;var _0x59399f;if(!_0x203a58)return!0x1;const _0x408d8e=_0x3ce165[_0x592694(0x250)](_0x30a6c3),_0x264276=_0x2d749e(_0x408d8e);if(!_0x264276)return!0x1;const {unitId:_0x59b256,subUnitId:_0xd2d4a0,workbook:_0x2579e2}=_0x264276,{row:_0x2706b6,col:_0x1ea7b7}=_0x203a58,_0x5301b8=_0x3ce165[_0x592694(0x250)](Ue),_0x20533e=_0x5301b8[_0x592694(0x3a7)](_0x59b256,_0xd2d4a0,_0x2706b6,_0x1ea7b7);if(!_0x20533e)return!0x1;const _0x5ea695=(_0x59399f=_0x5301b8[_0x592694(0x3d3)](_0x59b256,_0xd2d4a0,_0x20533e))==null?void 0x0:_0x59399f[_0x592694(0x30a)];if(!_0x5ea695)return!0x1;const _0x1499fe=_0x3ce165[_0x592694(0x250)](ve)[_0x592694(0x3f4)](_0x59b256,_0xd2d4a0,_0x20533e);if(!_0x1499fe)return!0x1;const {rowInfo:_0x581ee2,colInfo:_0x1e8bb6}=_0x5ea695,_0x47cfdd=_0x581ee2[_0x2706b6][_0x592694(0x42a)],_0x3beadf=_0x1e8bb6[_0x1ea7b7][_0x592694(0x42a)],_0x349fc5=_0x581ee2[_0x2706b6][_0x592694(0x1e3)],_0x36582c=_0x1e8bb6[_0x1ea7b7][_0x592694(0x1e3)],_0x3dc324=_0x47cfdd[_0x592694(0x3d8)](_0x3beadf),_0x2225d0=_0x1499fe[_0x592694(0x1cf)]['rowFields']['slice'](0x0,_0x349fc5),_0x4ee7ce=_0x1499fe[_0x592694(0x1cf)]['columnFields']['slice'](0x0,_0x36582c),_0x1a4762=_0x2225d0['concat'](_0x4ee7ce),_0xda0350=_0x3dc324[_0x592694(0x3c5)]((_0xd0b75b,_0x955941)=>[_0xd0b75b,_0x1a4762[_0x955941]]),_0x30d33b=(await _0x3ce165[_0x592694(0x250)](Z)[_0x592694(0x3e3)]({'unitId':_0x59b256,'subUnitId':_0xd2d4a0,'pivotTableId':_0x20533e,'params':{'type':k[_0x592694(0x1db)],'drillDown':{'tuple':_0xda0350}}}))[_0x592694(0x30f)][_0x592694(0x1f4)];if(!_0x30d33b)return!0x1;const {indexes:_0x25bd4f,range:_0x23a39a,sourceUnitId:_0x2c0d44,sourceSubUnitId:_0x52991a,formatMap:_0x4ee5f8}=_0x30d33b,{startRow:_0x4dbd8e,endRow:_0x3a40c6,startColumn:_0x457f2e,endColumn:_0x25f4e6}=_0x23a39a,_0x53d9ad=new _0x3fd261(),_0x372ee9=_0x3a40c6-_0x4dbd8e,_0x3c0996=_0x25f4e6-_0x457f2e,_0x1906fa={},_0x458d27=_0x2d749e(_0x408d8e,{'unitId':_0x2c0d44,'subUnitId':_0x52991a});if(!_0x458d27)return!0x1;const _0x32717e=fe[_0x592694(0x40a)],_0x59230c=fe[_0x592694(0x2db)],_0xd217f6=fe[_0x592694(0x2db)],_0x5c8219=_0x2579e2[_0x592694(0x204)]()[_0x592694(0x29c)](_0x32717e),_0x6b5ae2=_0x2579e2[_0x592694(0x204)]()[_0x592694(0x29c)](_0x59230c),_0xedbd35=_0x2579e2[_0x592694(0x204)]()[_0x592694(0x29c)](_0xd217f6),{worksheet:_0x297280}=_0x458d27;let _0x2af827=0x0;const _0x1d7891=0x1;_0x25bd4f[_0x592694(0x447)](_0x4e29a7=>{const _0x58c53a=_0x592694;for(let _0x2a77e8=0x0;_0x2a77e8<=_0x25f4e6-_0x457f2e;_0x2a77e8++)_0x53d9ad['setValue'](_0x2af827,_0x2a77e8,_0x297280[_0x58c53a(0x359)](_0x4e29a7+_0x23a39a[_0x58c53a(0x37d)]+_0x1d7891,_0x2a77e8));_0x2af827++;});for(let _0x3638a=_0x457f2e;_0x3638a<=_0x25f4e6;_0x3638a++){const _0x182865=_0x297280[_0x592694(0x359)](_0x4dbd8e,_0x3638a);_0x1906fa[_0x4dbd8e]||(_0x1906fa[_0x4dbd8e]={}),_0x1906fa[_0x4dbd8e][_0x3638a]={..._0x182865,'s':_0x5c8219};}let _0x131f5f=0x1;const _0x2f4dcf={},_0x2e18fc={};_0x53d9ad['forRow']((_0x4b46d8,_0x5210ec)=>{const _0x293216=_0x592694;_0x5210ec[_0x293216(0x447)](_0x1b1c64=>{const _0x8b4a50=_0x293216,_0x531ac0=_0x53d9ad[_0x8b4a50(0x3e9)](_0x4b46d8,_0x1b1c64);if(_0x1906fa[_0x131f5f]||(_0x1906fa[_0x131f5f]={}),_0x1906fa[_0x131f5f][_0x1b1c64]={..._0x531ac0,'s':_0x131f5f%0x2===0x0?_0xedbd35:_0x6b5ae2},_0x4ee5f8[_0x1b1c64]&&_0x4b46d8>=0x0){const _0x3678bb=_0x131f5f%0x2===0x0;let _0xa85206=_0x3678bb?_0x2e18fc[_0x1b1c64]:_0x2f4dcf[_0x1b1c64];_0xa85206||(_0xa85206=_0x2579e2[_0x8b4a50(0x204)]()[_0x8b4a50(0x29c)]({..._0x3678bb?_0xd217f6:_0x59230c,'n':{'pattern':_0x4ee5f8[_0x1b1c64]}}),_0x3678bb?_0x2e18fc[_0x1b1c64]=_0xa85206:_0x2f4dcf[_0x1b1c64]=_0xa85206),_0x1906fa[_0x131f5f][_0x1b1c64]['s']=_0xa85206;}}),_0x131f5f++;});const _0x35aca9=new _0x3fd261(_0x1906fa),_0xeeb1df={};_0x35aca9[_0x592694(0x323)]((_0x4930db,_0x379798,_0x438c65)=>{_0xeeb1df[_0x4930db]||(_0xeeb1df[_0x4930db]={}),_0xeeb1df[_0x4930db][_0x379798]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0xe82441=[],_0x5f4e0e=[],_0x1ec8fe=_0x2579e2[_0x592694(0x307)]()[_0x592694(0x321)],_0x13d85e=_0x369d4f({'rowCount':Math[_0x592694(0x42f)](_0x94842b,_0x372ee9+0xa),'columnCount':Math['max'](_0x377803,_0x3c0996+0x5)}),_0x7e2884=_0x3ce165[_0x592694(0x250)](_0x40a013);_0x13d85e['id']=_0x23877c(),_0x13d85e[_0x592694(0x310)]=_0x2579e2['generateNewSheetName'](''+_0x7e2884['t'](_0x592694(0x268)));const _0x13a01d={'index':_0x1ec8fe,'sheet':_0x13d85e,'unitId':_0x59b256},_0x41004b=_0x36672c(_0x3ce165,_0x13a01d);_0x5f4e0e[_0x592694(0x1f7)]({'id':_0x1356ad['id'],'params':_0x13a01d}),_0xe82441['push']({'id':_0x269a9a['id'],'params':_0x41004b}),_0x5f4e0e[_0x592694(0x1f7)]({'id':_0x6311eb['id'],'params':{'unitId':_0x59b256,'subUnitId':_0x13d85e['id'],'cellValue':_0x1906fa}}),_0xe82441['unshift']({'id':_0x6311eb['id'],'params':{'unitId':_0x59b256,'subUnitId':_0x13d85e['id'],'cellValue':_0xeeb1df}});const _0x36bd54={'startRow':0x0,'startColumn':0x0,'endRow':_0x131f5f-0x1,'endColumn':_0x25f4e6};_0x5f4e0e[_0x592694(0x1f7)]({'id':_0x4aa210['id'],'params':{'unitId':_0x59b256,'subUnitId':_0x13d85e['id'],'range':_0x36bd54}}),_0xe82441[_0x592694(0x38e)]({'id':_0x54d222['id'],'params':{'unitId':_0x59b256,'subUnitId':_0x13d85e['id']}});const _0x4d0aeb=_0x3ce165[_0x592694(0x250)](_0x324b30);return _0x3c8c36(_0x5f4e0e,_0x4d0aeb)&&_0x3ce165[_0x592694(0x250)](_0x48b106)[_0x592694(0x332)]({'unitID':_0x59b256,'undoMutations':_0xe82441,'redoMutations':_0x5f4e0e}),!0x0;}},Cs={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x2ba),async 'handler'(_0x3bac45,_0xeb5ce5){const _0x18e4fd=_0x84255b;if(!_0xeb5ce5)return!0x1;const _0x562aef=_0x3bac45[_0x18e4fd(0x250)](_0x324b30),_0x1e61f7=_0x3bac45[_0x18e4fd(0x250)](Z),_0x75b1d3=_0x3bac45[_0x18e4fd(0x250)](_0x48b106),{pivotTableId:_0x57ca42,fieldIds:_0x34f6aa,unitId:_0x41eab9,subUnitId:_0x278b2b}=_0xeb5ce5,_0x17158d=(await _0x1e61f7[_0x18e4fd(0x3e3)]({'unitId':_0x41eab9,'subUnitId':_0x278b2b,'pivotTableId':_0x57ca42,'params':{'type':k[_0x18e4fd(0x2ec)],'removePivotField':{'fieldIds':_0x34f6aa}}}))['result'][_0x18e4fd(0x3da)];if(!_0x17158d)return!0x1;const {view:_0xa2ee61,changesets:_0x18d843,isEmpty:_0x31ea54,pivotTableConfig:_0x5a2389}=_0x17158d,_0x100a00=_0x5a2389['targetCellInfo'],_0x46173e=new _0x272549();_0x46173e[_0x18e4fd(0x2ce)](_0xa2ee61);const _0x55ec6d={'cellInfo':_0x100a00,'view':_0x46173e,'isEmpty':_0x31ea54};if(!await _0x3bac45['get'](ie)[_0x18e4fd(0x300)][_0x18e4fd(0x278)](be)(!0x0,_0x55ec6d))return!0x1;const _0x17af7b=we(_0x3bac45,_0x46173e,_0x100a00,_0x31ea54),_0x29f75f=_e(_0x3bac45,_0x55ec6d),{redos:_0xf5002f,undos:_0x47b368}=me(_0x562aef,{'pivotTableId':_0x57ca42,'unitId':_0x41eab9,'subUnitId':_0x278b2b},_0x18d843);return _0x3c8c36([..._0x17af7b[_0x18e4fd(0x248)],..._0x29f75f[_0x18e4fd(0x248)],..._0xf5002f],_0x562aef),_0x75b1d3[_0x18e4fd(0x332)]({'unitID':_0x41eab9,'redoMutations':[..._0x17af7b[_0x18e4fd(0x248)],..._0x29f75f[_0x18e4fd(0x248)],..._0xf5002f],'undoMutations':[..._0x17af7b[_0x18e4fd(0x38d)],..._0x29f75f[_0x18e4fd(0x38d)],..._0x47b368]}),!0x0;}},bs={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x21f),async 'handler'(_0x567b48,_0x4b5073){const _0x50eef1=_0x84255b;var _0x3ab8d8;const _0x55d39f=_0x567b48[_0x50eef1(0x250)](_0x324b30),_0x1d2f9a=_0x567b48['get'](Z),_0x535a63=_0x567b48[_0x50eef1(0x250)](Ue),_0x486b16=_0x567b48[_0x50eef1(0x250)](_0x30a6c3),_0x7d5f11=_0x567b48[_0x50eef1(0x250)](_0x48b106);if(!_0x4b5073)return!0x1;const {unitId:_0x2dba75,subUnitId:_0xd12bc6,row:_0x378826,col:_0x20cd8c,collapse:_0x2d444d}=_0x4b5073,_0x32264a=_0x486b16[_0x50eef1(0x401)](_0x2dba75);if(!_0x32264a||!_0x32264a['getSheetBySheetId'](_0xd12bc6))return!0x1;const _0x368088=_0x535a63['getPivotTableIdByCell'](_0x2dba75,_0xd12bc6,_0x378826,_0x20cd8c);if(!_0x368088)return!0x1;const _0x1f3129=_0x535a63[_0x50eef1(0x3d3)](_0x2dba75,_0xd12bc6,_0x368088);if(!_0x1f3129)return!0x1;const _0x57051e=_0x4eb9f6(_0x378826,_0x20cd8c),{rangesInfo:_0x5eb3e6,areaInfo:_0x9ec1cc,headerMap:_0x4dd26e}=_0x1f3129;if(!_0x5eb3e6||!_0x9ec1cc||!_0x4dd26e)return!0x1;const _0x415fa8=Object[_0x50eef1(0x275)](_0x5eb3e6)['find'](_0xd09ff7=>_0x5eb3e6[_0xd09ff7][_0x50eef1(0x421)](_0x29cac7=>_0x2898d2[_0x50eef1(0x32a)](_0x29cac7,_0x57051e)));let _0xa8350d;_0x415fa8==='rowRanges'?_0xa8350d=_0x4dd26e['rowHeaderMap'][_0x20cd8c]:_0x415fa8===_0x50eef1(0x1e6)&&(_0xa8350d=_0x4dd26e[_0x50eef1(0x320)][_0x378826]);const _0x1ee170=_0xa8350d==null?void 0x0:_0xa8350d[_0x50eef1(0x33f)],_0x1b335b=(_0x3ab8d8=_0x535a63[_0x50eef1(0x389)](_0x2dba75,_0xd12bc6,_0x378826,_0x20cd8c))==null?void 0x0:_0x3ab8d8['v'];if(_0x1b335b==null||!_0x368088||!_0x1ee170)return!0x1;const _0x100ba7=await _0x1d2f9a['getPivotDisplayConfig']({'unitId':_0x2dba75,'subUnitId':_0xd12bc6,'pivotTableId':_0x368088,'params':{'type':k[_0x50eef1(0x22e)],'setPivotCollapse':{'tableFieldId':_0x1ee170,'collapse':_0x2d444d,'item':_0x1b335b}}}),_0x37bd50=_0x100ba7==null?void 0x0:_0x100ba7[_0x50eef1(0x30f)][_0x50eef1(0x2d9)];if(!_0x37bd50)return!0x1;const {view:_0x1b3b3a,pivotTableConfig:_0x584a62,isEmpty:_0x490317,changesets:_0x2495f7}=_0x37bd50,_0x3c5219=new _0x272549();_0x3c5219[_0x50eef1(0x2ce)](_0x1b3b3a);const _0xb2335=_0x584a62['targetCellInfo'],_0x514049={'cellInfo':_0xb2335,'view':_0x3c5219,'isEmpty':_0x490317};if(!await _0x567b48[_0x50eef1(0x250)](ie)[_0x50eef1(0x300)][_0x50eef1(0x278)](be)(!0x0,_0x514049))return!0x1;const _0x66cc98=we(_0x567b48,_0x3c5219,_0xb2335,_0x490317),_0x552663=_e(_0x567b48,_0x514049),{redos:_0x59a0bc,undos:_0x2c8467}=me(_0x55d39f,{'pivotTableId':_0x368088,'unitId':_0x2dba75,'subUnitId':_0xd12bc6},_0x2495f7);return _0x3c8c36([..._0x66cc98['redos'],..._0x552663['redos'],..._0x59a0bc],_0x55d39f),_0x7d5f11[_0x50eef1(0x332)]({'unitID':_0x2dba75,'redoMutations':[..._0x66cc98[_0x50eef1(0x248)],..._0x552663['redos'],..._0x59a0bc],'undoMutations':[..._0x66cc98['undos'],..._0x552663[_0x50eef1(0x38d)],..._0x2c8467]}),!0x0;}},Ss={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x3ee),async 'handler'(_0x394ced,_0x4d5009){const _0x55608d=_0x84255b;if(!_0x4d5009)return!0x1;const _0x454794=_0x394ced['get'](_0x324b30),{pivotTableId:_0x3f6405,tableFieldId:_0x3c4733,items:_0x2e3b0f,unitId:_0x422b9d,subUnitId:_0x16b020,isAll:_0xb89960}=_0x4d5009,_0x17329b=_0x394ced[_0x55608d(0x250)](Z),_0x2f42f5=_0x394ced[_0x55608d(0x250)](_0x48b106),_0x4f9b30=(await _0x17329b['getPivotDisplayConfig']({'unitId':_0x422b9d,'subUnitId':_0x16b020,'pivotTableId':_0x3f6405,'params':{'type':k[_0x55608d(0x27f)],'setPivotFilter':{'tableFieldId':_0x3c4733,'items':_0x2e3b0f,'isAll':_0xb89960}}}))[_0x55608d(0x30f)][_0x55608d(0x1e8)];if(!_0x4f9b30)return!0x1;const {changesets:_0x3abba6,pivotTableConfig:_0x33082e,isEmpty:_0x18fd7a,view:_0x4e2827}=_0x4f9b30,_0x4f0ada=_0x33082e[_0x55608d(0x2e0)],_0xfc5863=new _0x272549();_0xfc5863[_0x55608d(0x2ce)](_0x4e2827);const _0x52d842={'cellInfo':_0x4f0ada,'view':_0xfc5863,'isEmpty':_0x18fd7a};if(!await _0x394ced['get'](ie)[_0x55608d(0x300)][_0x55608d(0x278)](be)(!0x0,_0x52d842))return!0x1;const _0x4e9289=we(_0x394ced,_0xfc5863,_0x4f0ada,_0x18fd7a),_0x3d6f04=_e(_0x394ced,_0x52d842),{undos:_0x3ae53c,redos:_0xdf9074}=me(_0x454794,{'pivotTableId':_0x3f6405,'unitId':_0x422b9d,'subUnitId':_0x16b020},_0x3abba6);return _0x3c8c36([..._0x4e9289['redos'],..._0x3d6f04[_0x55608d(0x248)],..._0xdf9074],_0x454794),_0x2f42f5['pushUndoRedo']({'unitID':_0x422b9d,'redoMutations':[..._0x4e9289[_0x55608d(0x248)],..._0x3d6f04['redos'],..._0xdf9074],'undoMutations':[..._0x4e9289['undos'],..._0x3d6f04[_0x55608d(0x38d)],..._0x3ae53c]}),!0x0;}},Ps={'type':_0x156015[_0x84255b(0x388)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x3ebd65,_0x447825){const _0x5bbaac=_0x84255b;if(!_0x447825)return!0x1;const _0x485f00=_0x3ebd65[_0x5bbaac(0x250)](_0x324b30),_0x10d1af=_0x3ebd65['get'](_0x48b106),_0x415ba5=_0x3ebd65['get'](Z),{info:_0xc25aeb,tableFieldId:_0x38b649,pivotTableId:_0x5becbe,unitId:_0x122975,subUnitId:_0x295430}=_0x447825,_0x1e4158=(await _0x415ba5['getPivotDisplayConfig']({'unitId':_0x122975,'subUnitId':_0x295430,'pivotTableId':_0x5becbe,'params':{'type':k[_0x5bbaac(0x35a)],'setPivotSort':{'tableFieldId':_0x38b649,'info':_0xc25aeb}}}))[_0x5bbaac(0x30f)][_0x5bbaac(0x30c)];if(!_0x1e4158)return!0x1;const {changesets:_0x341035}=_0x1e4158,{redos:_0x34c92c,undos:_0x5838aa}=me(_0x485f00,{'pivotTableId':_0x5becbe,'unitId':_0x122975,'subUnitId':_0x295430},_0x341035);return _0x3c8c36(_0x34c92c,_0x485f00),_0x10d1af[_0x5bbaac(0x332)]({'unitID':_0x122975,'redoMutations':_0x34c92c,'undoMutations':_0x5838aa}),!0x0;}},Ts={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x33c),async 'handler'(_0x1a80e9,_0x102056){const _0x4efe07=_0x84255b;if(!_0x102056)return!0x1;const _0x816c07=_0x1a80e9['get'](_0x324b30),_0x22076c=_0x1a80e9[_0x4efe07(0x250)](_0x48b106),_0x5e6565=_0x1a80e9['get'](Z),{displayName:_0xa5f132,subtotalType:_0x5879ca,format:_0x3e32f4,tableFieldId:_0x184e39,pivotTableId:_0x5e38ab,unitId:_0xc4250b,subUnitId:_0x336428}=_0x102056,_0x4021ce=(await _0x5e6565[_0x4efe07(0x3e3)]({'unitId':_0xc4250b,'subUnitId':_0x336428,'pivotTableId':_0x5e38ab,'params':{'type':k[_0x4efe07(0x443)],'setPivotSetting':{'tableFieldId':_0x184e39,'displayName':_0xa5f132,'subtotalType':_0x5879ca,'format':_0x3e32f4}}}))[_0x4efe07(0x30f)][_0x4efe07(0x2bc)];if(!_0x4021ce)return!0x1;const {changesets:_0xc77150,view:_0x36e274,pivotTableConfig:_0x40446e,isEmpty:_0x39ba1c}=_0x4021ce,_0x29295b=_0x40446e[_0x4efe07(0x2e0)],_0x2edcdf=new _0x272549();_0x2edcdf[_0x4efe07(0x2ce)](_0x36e274);const _0x5c0e97={'cellInfo':_0x29295b,'view':_0x2edcdf,'isEmpty':_0x39ba1c};if(!await _0x1a80e9[_0x4efe07(0x250)](ie)[_0x4efe07(0x300)][_0x4efe07(0x278)](be)(!0x0,_0x5c0e97))return!0x1;const _0x2d204f=we(_0x1a80e9,_0x2edcdf,_0x29295b,_0x39ba1c),_0x496f11=_e(_0x1a80e9,_0x5c0e97),{undos:_0xe5e78c,redos:_0x455724}=me(_0x816c07,{'pivotTableId':_0x5e38ab,'unitId':_0xc4250b,'subUnitId':_0x336428},_0xc77150);return _0x3c8c36([..._0x2d204f['redos'],..._0x496f11[_0x4efe07(0x248)],..._0x455724],_0x816c07),_0x22076c[_0x4efe07(0x332)]({'unitID':_0xc4250b,'redoMutations':[..._0x2d204f[_0x4efe07(0x248)],..._0x496f11[_0x4efe07(0x248)],..._0x455724],'undoMutations':[..._0x2d204f[_0x4efe07(0x38d)],..._0x496f11[_0x4efe07(0x38d)],..._0xe5e78c]}),!0x0;}},ys={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x2ca),async 'handler'(_0xb86681,_0x114e0d){const _0x5c5819=_0x84255b,_0xfbdbdf=_0xb86681[_0x5c5819(0x250)](_0x324b30),_0x2abee2=_0xb86681['get'](Z),_0x3ffe08=_0xb86681[_0x5c5819(0x250)](_0x48b106);if(!_0x114e0d)return!0x1;const {token:_0x1b9047,dataRangeInfo:_0x10a41b,unitId:_0x1c9fbf,subUnitId:_0x1f4f98}=_0x114e0d,_0x12b59f=[],_0x31157d=[],_0x35e14e=(await _0x2abee2[_0x5c5819(0x3e3)]({'unitId':_0x1c9fbf,'subUnitId':_0x1f4f98,'pivotTableId':_0x1b9047,'params':{'type':k[_0x5c5819(0x1d0)],'updatePivotSource':{'dataRangeInfo':_0x10a41b,'unitId':_0x1c9fbf,'subUnitId':_0x1f4f98}}}))[_0x5c5819(0x30f)][_0x5c5819(0x3fa)];if(!_0x35e14e)return!0x1;const {changesets:_0x4c8f96,deleteIds:_0x23e725,collectionConfig:_0x1a5342,oldCollectionConfig:_0xd60ee4,view:_0x57518f,isEmpty:_0x50c5ac,pivotTableConfig:_0x3ae0b0}=_0x35e14e;_0x31157d['push']({'id':to['id'],'params':{'pivotTableId':_0x1b9047,'deleteIds':_0x23e725,'collectionJSON':_0x1a5342,'dataRangeInfo':_0x10a41b,'unitId':_0x1c9fbf,'subUnitId':_0x1f4f98}}),_0x12b59f['unshift']({'id':to['id'],'params':{'pivotTableId':_0x1b9047,'deleteIds':[],'collectionJSON':_0xd60ee4,'dataRangeInfo':_0x3ae0b0[_0x5c5819(0x208)],'unitId':_0x1c9fbf,'subUnitId':_0x1f4f98}});const _0x3913c7=_0x3ae0b0[_0x5c5819(0x2e0)],_0xa08927=new _0x272549();_0xa08927[_0x5c5819(0x2ce)](_0x57518f);const _0xc55b55={'cellInfo':_0x3913c7,'view':_0xa08927,'isEmpty':_0x50c5ac};if(!await _0xb86681[_0x5c5819(0x250)](ie)[_0x5c5819(0x300)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0xc55b55))return!0x1;const _0x7fe27a=we(_0xb86681,_0xa08927,_0x3913c7,_0x50c5ac),_0x3ac99d=_e(_0xb86681,_0xc55b55),{undos:_0x4b021b,redos:_0x4160d5}=me(_0xfbdbdf,{'pivotTableId':_0x1b9047,'unitId':_0x1c9fbf,'subUnitId':_0x1f4f98},_0x4c8f96);return _0x3c8c36([..._0x7fe27a[_0x5c5819(0x248)],..._0x3ac99d[_0x5c5819(0x248)],..._0x31157d,..._0x4b021b],_0xfbdbdf),_0x3ffe08['pushUndoRedo']({'unitID':_0x1c9fbf,'redoMutations':[..._0x7fe27a[_0x5c5819(0x248)],..._0x3ac99d['redos'],..._0x31157d,..._0x4b021b],'undoMutations':[..._0x7fe27a[_0x5c5819(0x38d)],..._0x3ac99d[_0x5c5819(0x38d)],..._0x12b59f,..._0x4160d5]}),!0x0;}},Ms={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x29e),async 'handler'(_0x31be07,_0xe37cbb){const _0x484520=_0x84255b;if(!_0xe37cbb)return!0x1;const _0x151fa3=_0x31be07[_0x484520(0x250)](_0x324b30),_0x57761c=_0x31be07[_0x484520(0x250)](Z),_0x53daf0=_0x31be07['get'](_0x30a6c3),_0x21aa47=_0x31be07[_0x484520(0x250)](_0x48b106),{pivotTableId:_0x13ee48,position:_0x3c7995,index:_0xdbe8d6}=_0xe37cbb,_0x4353e4=_0x2d749e(_0x53daf0);if(!_0x4353e4)return!0x1;const {unitId:_0x23d76a,subUnitId:_0x2ffdb0}=_0x4353e4,_0xf0e756=(await _0x57761c[_0x484520(0x3e3)]({'unitId':_0x23d76a,'subUnitId':_0x2ffdb0,'pivotTableId':_0x13ee48,'params':{'type':k['UpdateValuePosition'],'updateValuePosition':{'position':_0x3c7995,'index':_0xdbe8d6}}}))[_0x484520(0x30f)][_0x484520(0x1fa)];if(!_0xf0e756)return!0x1;const {changesets:_0x5ba9c3,view:_0x9dd701,isEmpty:_0x4f033a,pivotTableConfig:_0x38472b}=_0xf0e756,_0x600384=_0x38472b[_0x484520(0x2e0)],_0x2dddbd=new _0x272549();_0x2dddbd['formJSON'](_0x9dd701);const _0x2adb5d=_0x31be07[_0x484520(0x250)](ie),_0x4bba0e={'cellInfo':_0x600384,'view':_0x2dddbd,'isEmpty':_0x4f033a};if(!await _0x2adb5d[_0x484520(0x300)][_0x484520(0x278)](be)(!0x0,_0x4bba0e))return!0x1;const _0x34cad4=we(_0x31be07,_0x2dddbd,_0x600384,_0x4f033a),_0x48d865=_e(_0x31be07,_0x4bba0e),{undos:_0x3b2fcb,redos:_0x272258}=me(_0x151fa3,{'pivotTableId':_0x13ee48,'unitId':_0x23d76a,'subUnitId':_0x2ffdb0},_0x5ba9c3);return _0x3c8c36([..._0x34cad4['redos'],..._0x48d865[_0x484520(0x248)],..._0x272258],_0x151fa3),_0x21aa47['pushUndoRedo']({'unitID':_0x23d76a,'redoMutations':[..._0x34cad4[_0x484520(0x248)],..._0x48d865[_0x484520(0x248)],..._0x272258],'undoMutations':[..._0x34cad4['undos'],..._0x48d865[_0x484520(0x38d)],..._0x3b2fcb]}),!0x0;}},ws={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x431),'handler':(_0x2a8600,_0x33b1ba)=>{const _0x38f205=_0x84255b,_0x29fc7d=_0x2a8600[_0x38f205(0x250)](_0x324b30),_0x528c38=_0x2a8600[_0x38f205(0x250)](_0x48b106),_0x141568=_0x2a8600['get'](ve),_0x1c45cf=_0x2a8600[_0x38f205(0x250)](_0x30a6c3);if(!_0x33b1ba)return!0x1;const _0x4f5d0e=_0x2d749e(_0x1c45cf);if(!_0x4f5d0e)return!0x1;const {unitId:_0x140dfa,subUnitId:_0x23a0ed,workbook:_0x1c3feb}=_0x4f5d0e,_0x55683e=_0x141568['getPivotTableConfig'](_0x33b1ba[_0x38f205(0x262)][_0x38f205(0x339)],_0x33b1ba[_0x38f205(0x262)][_0x38f205(0x1d4)],_0x33b1ba[_0x38f205(0x37f)]);if(!_0x55683e)return!0x1;const _0x411b85=_0x1c3feb[_0x38f205(0x3c3)](_0x33b1ba['targetCellInfo'][_0x38f205(0x1d4)]);if(!_0x411b85)throw new Error(_0x38f205(0x27c));const _0x498adb=_0x411b85[_0x38f205(0x207)](),_0x1cc119=_0x411b85[_0x38f205(0x25e)]();if(_0x33b1ba[_0x38f205(0x2e0)][_0x38f205(0x241)]>_0x498adb||_0x33b1ba['targetCellInfo']['col']>_0x1cc119)throw new Error(_0x38f205(0x244));const _0x1626ec=[{'id':pt['id'],'params':{'unitId':_0x140dfa,'subUnitId':_0x33b1ba[_0x38f205(0x2e0)][_0x38f205(0x1d4)],'pivotTableId':_0x33b1ba['pivotTableId'],'targetCellPosition':{'row':_0x33b1ba[_0x38f205(0x2e0)][_0x38f205(0x241)],'col':_0x33b1ba[_0x38f205(0x2e0)][_0x38f205(0x26c)]}}}],_0x484ec7=[{'id':pt['id'],'params':{'unitId':_0x140dfa,'subUnitId':_0x23a0ed,'pivotTableId':_0x33b1ba[_0x38f205(0x37f)],'targetCellPosition':{'row':_0x55683e[_0x38f205(0x2e0)][_0x38f205(0x241)],'col':_0x55683e[_0x38f205(0x2e0)][_0x38f205(0x26c)]}}}];return _0x3c8c36(_0x1626ec,_0x29fc7d)&&_0x528c38['pushUndoRedo']({'unitID':_0x140dfa,'undoMutations':_0x484ec7,'redoMutations':_0x1626ec}),!0x0;}},_s={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x391),async 'handler'(_0x20cf49,_0x39f62d){const _0x5efefe=_0x84255b;if(!_0x39f62d)return!0x1;const _0x135350=_0x20cf49[_0x5efefe(0x250)](_0x324b30),{pivotTableId:_0x139ccf,fieldId:_0x31d252,valueFilterInfo:_0x46fee7,unitId:_0x2ca6f8,subUnitId:_0x11ee92}=_0x39f62d,_0x4b58bc=_0x20cf49[_0x5efefe(0x250)](Z),_0x5e17e2=_0x20cf49[_0x5efefe(0x250)](_0x48b106),_0x1d0f8c=(await _0x4b58bc[_0x5efefe(0x3e3)]({'unitId':_0x2ca6f8,'subUnitId':_0x11ee92,'pivotTableId':_0x139ccf,'params':{'type':k[_0x5efefe(0x2e7)],'setValuePivotFilter':{'tableFieldId':_0x31d252,'filterInfo':_0x46fee7}}}))[_0x5efefe(0x30f)][_0x5efefe(0x2bd)];if(!_0x1d0f8c)return!0x1;const {changesets:_0x31f20f,pivotTableConfig:_0x31a825,isEmpty:_0x51aeb7,view:_0x47014c}=_0x1d0f8c,_0x371a06=_0x31a825[_0x5efefe(0x2e0)],_0x4af30d=new _0x272549();_0x4af30d[_0x5efefe(0x2ce)](_0x47014c);const _0x2438ed={'cellInfo':_0x371a06,'view':_0x4af30d,'isEmpty':_0x51aeb7};if(!await _0x20cf49['get'](ie)[_0x5efefe(0x300)][_0x5efefe(0x278)](be)(!0x0,_0x2438ed))return!0x1;const _0x3c93e2=we(_0x20cf49,_0x4af30d,_0x371a06,_0x51aeb7),_0x32df1b=_e(_0x20cf49,_0x2438ed),{undos:_0x10ffc5,redos:_0x364952}=me(_0x135350,{'pivotTableId':_0x139ccf,'unitId':_0x2ca6f8,'subUnitId':_0x11ee92},_0x31f20f);return _0x3c8c36([..._0x3c93e2['redos'],..._0x32df1b[_0x5efefe(0x248)],..._0x364952],_0x135350),_0x5e17e2[_0x5efefe(0x332)]({'unitID':_0x2ca6f8,'redoMutations':[..._0x3c93e2[_0x5efefe(0x248)],..._0x32df1b[_0x5efefe(0x248)],..._0x364952],'undoMutations':[..._0x3c93e2['undos'],..._0x32df1b[_0x5efefe(0x38d)],..._0x10ffc5]}),!0x0;}},Fs={'type':_0x156015[_0x84255b(0x388)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x6b9f36,_0x30f166){const _0x41eeda=_0x84255b;if(!_0x30f166)return!0x1;const _0x267990=_0x6b9f36['get'](_0x324b30),_0x1b847f=_0x6b9f36[_0x41eeda(0x250)](_0x48b106),_0x333b15=_0x6b9f36[_0x41eeda(0x250)](Z),{pivotTableConfig:_0x5c6f80,pivotTableId:_0x39aff5,unitId:_0x50eec7,subUnitId:_0x40f9ac}=_0x30f166,_0x228d00=(await _0x333b15['getPivotDisplayConfig']({'unitId':_0x50eec7,'subUnitId':_0x40f9ac,'pivotTableId':_0x39aff5,'params':{'type':k[_0x41eeda(0x406)],'setPivotTableConfig':{'pivotTableId':_0x39aff5,'pivotTableConfig':_0x5c6f80}}}))[_0x41eeda(0x30f)][_0x41eeda(0x28d)];if(!_0x228d00)return!0x1;const {changesets:_0x37a8e9}=_0x228d00,{redos:_0x1c920d,undos:_0x17c5bd}=me(_0x267990,{'pivotTableId':_0x39aff5,'unitId':_0x50eec7,'subUnitId':_0x40f9ac},_0x37a8e9);return _0x3c8c36(_0x1c920d,_0x267990),_0x1b847f[_0x41eeda(0x332)]({'unitID':_0x50eec7,'redoMutations':_0x1c920d,'undoMutations':_0x17c5bd}),!0x0;}},Rs={'type':_0x156015[_0x84255b(0x388)],'id':_0x84255b(0x430),async 'handler'(_0x45cbad,_0x1fb8b3){const _0x231839=_0x84255b;if(!_0x1fb8b3)return!0x1;const _0x2ac660=_0x45cbad['get'](_0x324b30),_0x170c12=_0x45cbad[_0x231839(0x250)](_0x48b106),_0x50cede=_0x45cbad[_0x231839(0x250)](Z),{resetArea:_0x395d51,pivotTableId:_0x2816ef,unitId:_0x7450bb,subUnitId:_0x13514d}=_0x1fb8b3,_0x23fae9=(await _0x50cede[_0x231839(0x3e3)]({'unitId':_0x7450bb,'subUnitId':_0x13514d,'pivotTableId':_0x2816ef,'params':{'type':k[_0x231839(0x3f0)],'resetPivotTable':{'pivotTableId':_0x2816ef,'resetArea':_0x395d51}}}))[_0x231839(0x30f)][_0x231839(0x3e6)];if(!_0x23fae9)return!0x1;const {changesets:_0x166e28}=_0x23fae9,{redos:_0x5e687a,undos:_0x33e77b}=me(_0x2ac660,{'pivotTableId':_0x2816ef,'unitId':_0x7450bb,'subUnitId':_0x13514d},_0x166e28);return _0x3c8c36(_0x5e687a,_0x2ac660),_0x170c12[_0x231839(0x332)]({'unitID':_0x7450bb,'redoMutations':_0x5e687a,'undoMutations':_0x33e77b}),!0x0;}},oo={'id':'sheet.mutation.update-date-group','type':_0x156015[_0x84255b(0x327)],'handler':(_0x40b4d2,_0x19a97f)=>{const _0x38f57a=_0x84255b;if(!_0x19a97f)return!0x1;if(!!_0x40b4d2[_0x38f57a(0x250)](_0x4b6507)[_0x38f57a(0x2d6)](q))return!0x0;const {unitId:_0x588e63,subUnitId:_0x272cc8,pivotTableId:_0x199d76,tableFieldId:_0x367adf,dateType:_0x32b0bb}=_0x19a97f,_0x406791=_0x40b4d2[_0x38f57a(0x250)](G),_0x14cc01=_0x406791[_0x38f57a(0x2e6)](_0x199d76);if(!_0x14cc01)return!0x1;const _0x3e232d=_0x14cc01['getDataFieldByTableId'](_0x367adf);if(!_0x3e232d)return!0x1;const _0x3e1c93=_0x3e232d[_0x38f57a(0x2aa)](),_0xc8487e=_0x14cc01[_0x38f57a(0x3de)](_0x3e1c93),_0x2ffaea=(_0xc8487e==null?void 0x0:_0xc8487e['getName']())+'\x20'+qo(_0x40b4d2,_0x32b0bb);_0x406791[_0x38f57a(0x414)](_0x588e63,_0x199d76)[_0x38f57a(0x369)](_0x3e232d['id'],_0x2ffaea);const _0x278d27=_0x14cc01['getTableFieldById'](_0x367adf);if(!_0x278d27)return!0x1;_0x14cc01[_0x38f57a(0x2b0)](_0x278d27[_0x38f57a(0x425)](),_0x2ffaea),_0x3e232d[_0x38f57a(0x3c1)](_0x32b0bb);const _0x25a97c=_0x406791[_0x38f57a(0x3f4)](_0x588e63,_0x272cc8,_0x199d76);return _0x406791[_0x38f57a(0x409)]({'unitId':_0x588e63,'subUnitId':_0x272cc8,'token':_0x199d76,'type':$[_0x38f57a(0x31e)],'pivotConfig':_0x25a97c}),!0x0;}},Ds={'id':_0x84255b(0x3f1),'type':_0x156015[_0x84255b(0x388)],'handler':(_0x2ab71b,_0x4d8018)=>{const _0x3fded0=_0x84255b;if(!_0x4d8018)return!0x1;const _0x262ca2=_0x2ab71b['get'](_0x48b106),{unitId:_0x1c7aa0,subUnitId:_0x376ccc,pivotTableId:_0x60987f,tableFieldId:_0x486bcc}=_0x4d8018,_0x575b42=[],_0x62fab3=[],_0x1797f=_0x2ab71b[_0x3fded0(0x250)](ve),_0x4bd1ba=_0x1797f['getCollection'](_0x1c7aa0,_0x60987f),_0x3e3dc4=_0x1797f['getPivotTableConfig'](_0x1c7aa0,_0x376ccc,_0x60987f);if(!(_0x3e3dc4!=null&&_0x3e3dc4[_0x3fded0(0x1cf)][_0x3fded0(0x2e3)]))return!0x1;const _0x2ffc4f=Object[_0x3fded0(0x2fc)](_0x3e3dc4[_0x3fded0(0x1cf)][_0x3fded0(0x2e3)])[_0x3fded0(0x211)](_0x5635b8=>_0x5635b8['id']===_0x486bcc);if(!_0x2ffc4f)return!0x1;const _0x465056=_0x2ffc4f[_0x3fded0(0x408)];if(!(_0x4bd1ba!=null&&_0x4bd1ba[_0x3fded0(0x322)]))return!0x1;const _0x5196e1=Object[_0x3fded0(0x2fc)](_0x4bd1ba==null?void 0x0:_0x4bd1ba['fields'])[_0x3fded0(0x211)](_0x439cba=>_0x439cba['id']===_0x465056);if(!_0x5196e1)return!0x1;_0x5659f6(_0x5196e1)&&_0x575b42['push']({'id':oo['id'],'params':{..._0x4d8018,'dateType':_0x5196e1[_0x3fded0(0x328)]}}),_0x62fab3[_0x3fded0(0x1f7)]({'id':oo['id'],'params':{..._0x4d8018}});const _0x3a8f70=_0x2ab71b[_0x3fded0(0x250)](_0x324b30);return _0x3c8c36(_0x62fab3,_0x3a8f70)&&_0x262ca2[_0x3fded0(0x332)]({'unitID':_0x1c7aa0,'undoMutations':_0x575b42,'redoMutations':_0x62fab3}),!0x0;}};var Us=Object[_0x84255b(0x2c7)],Ns=(_0x257b82,_0x33f4b3,_0x45744f,_0x475487)=>{const _0x35d421=_0x84255b;for(var _0x1b5ee0=_0x475487>0x1?void 0x0:_0x475487?Us(_0x33f4b3,_0x45744f):_0x33f4b3,_0x29e9e6=_0x257b82[_0x35d421(0x321)]-0x1,_0x46cf4b;_0x29e9e6>=0x0;_0x29e9e6--)(_0x46cf4b=_0x257b82[_0x29e9e6])&&(_0x1b5ee0=_0x46cf4b(_0x1b5ee0)||_0x1b5ee0);return _0x1b5ee0;},He=(_0x3b635a,_0x1b5923)=>(_0x1eb6f5,_0x97e826)=>_0x1b5923(_0x1eb6f5,_0x97e826,_0x3b635a);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x4d8e8b,_0x26b15c,_0x2867c3)=>{const _0x5d3feb=_0x84255b,_0x41604d=_0x4d8e8b[_0x5d3feb(0x40f)];_0x4d8e8b[_0x5d3feb(0x326)](_0x4c93c8=>{const _0x40b94f=_0x5d3feb,_0x4906f7=_0x4c93c8[_0x40b94f(0x425)](),_0x37c062=_0x4c93c8[_0x40b94f(0x305)](),_0x27b125=_0x4c93c8['getSourceName'](),_0x26ed18=_0x4c93c8[_0x40b94f(0x3bd)]();_0x26b15c[_0x37c062]&&_0x26b15c[_0x37c062]===_0x26ed18&&_0x27b125===_0x26ed18&&(_0x4d8e8b[_0x40b94f(0x2b0)](_0x4906f7,_0x41604d[_0x40b94f(0x3bd)](_0x37c062)),_0x4c93c8['setSourceName'](_0x41604d[_0x40b94f(0x3bd)](_0x37c062)));}),_0x4d8e8b[_0x5d3feb(0x290)](_0xb32ca5[_0x5d3feb(0x312)],_0x52adad=>{const _0x115e01=_0x5d3feb,_0x470146=_0x52adad[_0x115e01(0x425)](),_0x1cdf37=_0x52adad[_0x115e01(0x305)](),_0x22322e=_0x52adad['getSourceName'](),_0xe010e7=_0x52adad[_0x115e01(0x3bd)](),_0x5e919a=_0x52adad[_0x115e01(0x246)](),_0x4e4551=_0x2867c3(_0x22322e,_0x5e919a);_0x26b15c[_0x1cdf37]&&_0x26b15c[_0x1cdf37]===_0x22322e&&_0x4e4551===_0xe010e7&&(_0x4d8e8b[_0x115e01(0x2b0)](_0x470146,_0x2867c3(_0x41604d[_0x115e01(0x3bd)](_0x1cdf37),_0x5e919a)),_0x52adad['setSourceName'](_0x41604d['getDisplayName'](_0x1cdf37)));});},xs=(_0x1333f4,_0x293627,_0x31f6c2)=>{const _0x18981b=_0x84255b;var _0x2787f0,_0x5ddd7f;const {arrayFormulaCellData:_0x4a66fd,unitData:_0x2a3770}=_0x293627,{unitId:_0x55cb2b,subUnitId:_0x52485e}=_0x31f6c2,_0x323d91=_0x31f6c2[_0x18981b(0x3b9)],{startColumn:_0x29f00e,endColumn:_0x354c93}=_0x323d91,_0x1029cb=(_0x2787f0=_0x4a66fd==null?void 0x0:_0x4a66fd[_0x55cb2b])==null?void 0x0:_0x2787f0[_0x52485e],_0x2e094a=(_0x5ddd7f=_0x2a3770==null?void 0x0:_0x2a3770[_0x55cb2b])==null?void 0x0:_0x5ddd7f[_0x52485e],_0x2371fb=new Set(),_0x85cf04=_0x354c93-_0x29f00e+0x1,{dirtyRanges:_0x5de780}=_0x1333f4;if(_0x5de780)for(const {range:_0x40b380,sheetId:_0x1c0897,unitId:_0x354d4b}of _0x5de780){if(_0x1c0897!==_0x52485e||_0x55cb2b!==_0x354d4b)continue;const _0x4a026a=_0x2898d2[_0x18981b(0x3e8)](_0x40b380,_0x323d91);if(_0x4a026a){const {startColumn:_0x151ebd,endColumn:_0x3f7863}=_0x4a026a;for(let _0x1d91c3=_0x151ebd;_0x1d91c3<=_0x3f7863;_0x1d91c3++)_0x2371fb[_0x18981b(0x399)](_0x1d91c3);}}if(_0x2371fb['size']===_0x85cf04||_0x2371fb[_0x18981b(0x358)]===_0x85cf04)return Array['from'](_0x2371fb);if(_0x2e094a){const _0x4e3611=_0x2e094a[_0x18981b(0x2d7)](),_0xc65e2c=Object[_0x18981b(0x275)](_0x4e3611);for(const _0x1ff04c of _0xc65e2c){const _0x37f0ab=Number(_0x1ff04c),_0x552d6b=_0x4e3611[_0x37f0ab];if(_0x2371fb['size']===_0x85cf04)break;for(const _0x36d7ad in _0x552d6b){const _0x3245a0=Number(_0x36d7ad);_0x3245a0<_0x29f00e||_0x3245a0>_0x354c93||_0x2371fb['add'](_0x3245a0);}}}if(_0x1029cb){const _0x161599=_0x1029cb[_0x18981b(0x2d7)](),_0x4d9917=Object[_0x18981b(0x275)](_0x161599);for(const _0x3f0663 of _0x4d9917){const _0x2fb111=Number(_0x3f0663),_0x3d634b=_0x161599[_0x2fb111];if(_0x2371fb['size']===_0x85cf04)break;for(const _0x2778af in _0x3d634b){const _0x45ae26=Number(_0x2778af);_0x45ae26<_0x29f00e||_0x45ae26>_0x354c93||_0x2371fb[_0x18981b(0x399)](_0x45ae26);}}}return Array[_0x18981b(0x2e8)](_0x2371fb);},Os=_0x4474ae=>{const _0x4fbfe3=_0x84255b,_0x436bf9=new Set(),_0x1b31a0=[];for(const _0x526c45 of _0x4474ae){const _0x3f0137=_0x526c45['startRow']+','+_0x526c45[_0x4fbfe3(0x41d)]+','+_0x526c45[_0x4fbfe3(0x373)]+','+_0x526c45['endColumn'];_0x436bf9['has'](_0x3f0137)||(_0x436bf9[_0x4fbfe3(0x399)](_0x3f0137),_0x1b31a0[_0x4fbfe3(0x1f7)](_0x526c45));}return _0x1b31a0;};let dt=class extends _0x439fd3{constructor(_0x478cc8,_0x5d8009,_0x4d8fff,_0x1520e7,_0x46cdca,_0x5bc863){const _0xd90545=_0x84255b;super(),V(this,_0xd90545(0x1e5),new _0x32efda(!0x0)),V(this,_0xd90545(0x3f3),_0x484bd3=>{const _0x121979=_0xd90545;this[_0x121979(0x1e5)][_0x121979(0x22a)](!0x1);}),V(this,_0xd90545(0x260),_0x251354=>{const _0xada07e=_0xd90545;this[_0xada07e(0x1e5)]['next'](!0x0);}),(this[_0xd90545(0x2a7)]=_0x478cc8,this[_0xd90545(0x355)]=_0x5d8009,this[_0xd90545(0x3a9)]=_0x4d8fff,this[_0xd90545(0x2a0)]=_0x1520e7,this[_0xd90545(0x277)]=_0x46cdca,this[_0xd90545(0x243)]=_0x5bc863,this[_0xd90545(0x303)](),this['_initPivotDataGetListener']());}[_0x84255b(0x303)](){const _0x4b6ecd=_0x84255b;this[_0x4b6ecd(0x1ee)](),this[_0x4b6ecd(0x364)](),this[_0x4b6ecd(0x343)](),this[_0x4b6ecd(0x325)]();}[_0x84255b(0x309)](){const _0xffe19e=_0x84255b;this['_globalComputingSrv'][_0xffe19e(0x36a)](this['_globalSubject']),_0x22ffa2['registerCallbackWithEvent'](_0x362ee8[_0xffe19e(0x372)],this['_globalComputedStartHelpFunc']),_0x22ffa2['registerCallbackWithEvent'](_0x362ee8[_0xffe19e(0x1dc)],this[_0xffe19e(0x260)]);}[_0x84255b(0x25f)](){const _0x1b4c19=_0x84255b;this[_0x1b4c19(0x433)](this[_0x1b4c19(0x2a0)]['onCommandExecuted'](_0x3216f0=>{const _0x4cefd3=_0x1b4c19;_0x3216f0['id']===_0x36753e['id']&&this[_0x4cefd3(0x2a7)][_0x4cefd3(0x420)](_0x3216f0[_0x4cefd3(0x3ab)]);})),this['disposeWithMe'](this[_0x1b4c19(0x2a0)][_0x1b4c19(0x1f1)](_0x536084=>{const _0x4ef3e3=_0x1b4c19;if(_0x536084['id']!==ro['id'])return;const _0x5cd02d=_0x536084[_0x4ef3e3(0x3ab)],{unitId:_0x5ada4a,subUnitId:_0xfa9013,pivotTableId:_0x5afea3}=_0x5cd02d,_0x4a6000=_0x5cd02d['params'][_0x4ef3e3(0x1f6)],_0x379b18={};switch(_0x4a6000){case k[_0x4ef3e3(0x2c5)]:{const _0x15b8dc=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x422)];if(!_0x15b8dc)return;const {row:_0x49ceb4,col:_0x3791e2,cellData:_0x227823,pivotItemRenderInfoCache:_0x17fb23,tableFieldId:_0x2462c3}=_0x15b8dc,_0x1cd4da=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x2e6)](_0x5cd02d['pivotTableId']);if(!_0x1cd4da||!_0x17fb23)return;if(_0x2462c3){const _0x555356=_0x1cd4da[_0x4ef3e3(0x201)](_0x2462c3);if(!_0x555356)return;_0x379b18[_0x4ef3e3(0x422)]={..._0x1cd4da['getDataFieldItemInfo'](_0x555356),'tableFieldId':_0x2462c3,'pivotTableId':_0x5cd02d[_0x4ef3e3(0x37f)],'filterInfo':_0x1cd4da[_0x4ef3e3(0x3f7)](_0x2462c3),'sortInfo':_0x1cd4da[_0x4ef3e3(0x2a2)](_0x2462c3),'format':_0x1cd4da['getFieldFormat'](_0x2462c3)};}else{const _0xad754b=xi(_0x49ceb4,_0x3791e2,_0x227823,_0x1cd4da,_0x17fb23),_0x2d4d3c=_0xad754b==null?void 0x0:_0xad754b[_0x4ef3e3(0x368)];if(!_0x2d4d3c)return;const _0x5a9936=_0x1cd4da[_0x4ef3e3(0x201)](_0x2d4d3c);if(!_0x5a9936)return;_0x379b18['filter']={..._0x1cd4da[_0x4ef3e3(0x1ca)](_0x5a9936),'tableFieldId':_0x2d4d3c,'pivotTableId':_0x5cd02d[_0x4ef3e3(0x37f)],'filterInfo':_0x1cd4da['getFilterInfo'](_0x2d4d3c),'sortInfo':_0x1cd4da[_0x4ef3e3(0x2a2)](_0x2d4d3c),'format':_0x1cd4da[_0x4ef3e3(0x1d1)](_0x2d4d3c)};}}break;case k[_0x4ef3e3(0x1cb)]:{const _0x3312bd=_0x5cd02d['params'][_0x4ef3e3(0x429)];if(!_0x3312bd)return;const {pivotTableId:_0xc299e9}=_0x3312bd,_0x43a59f=this[_0x4ef3e3(0x2a7)]['getPivotTableInstance'](_0xc299e9);if(!_0x43a59f)return;const _0x44c486=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0xc299e9),_0x1dd0f3=Oi(_0x43a59f,_0xc299e9,_0x44c486);_0x379b18[_0x4ef3e3(0x429)]=_0x1dd0f3;}break;case k[_0x4ef3e3(0x212)]:{const _0x231f47=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x2e6)](_0x5afea3),_0xbd09ab=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x1fc)](_0x5ada4a),_0x297dff=_0xbd09ab['getCollection'](_0x5afea3);let _0x191d77=null;const _0x4d99a8=this['_sheetsPivotDataSourceModel'][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0x5afea3),_0x37dba5=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x385)];if(!_0x231f47||!_0x4d99a8||!_0x37dba5)return!0x1;const {dataFieldId:_0x504279,fieldArea:_0x2bbc14,index:_0x3d8d17}=_0x37dba5;_0x231f47[_0x4ef3e3(0x36c)]();const _0x51d18d=_0x231f47['addFieldWithSourceId'](_0x504279,_0x2bbc14,_0x3d8d17);if(_0x51d18d&&_0x2bbc14===_0xb32ca5[_0x4ef3e3(0x312)]){const _0x31cd0f=_0x51d18d[_0x4ef3e3(0x425)](),_0x1d1a93=_0x231f47[_0x4ef3e3(0x201)](_0x31cd0f);if(_0x1d1a93){const _0x4da85b=_0x1d1a93==null?void 0x0:_0x1d1a93[_0x4ef3e3(0x379)]();_0x231f47['setSubtotalType'](_0x51d18d[_0x4ef3e3(0x425)](),_0x4da85b===_0x4359bf['number']?_0x4f8d16[_0x4ef3e3(0x387)]:_0x4f8d16[_0x4ef3e3(0x31f)]);}const _0xcee36d=_0x231f47[_0x4ef3e3(0x222)](),_0x5e2a86=_0x231f47[_0x4ef3e3(0x1da)](),_0x2f04ac=_0x231f47['getFieldCountByArea'](_0xb32ca5['Value']);if(_0xcee36d===-0x1&&_0x2f04ac>0x1){const _0x24d271=_0x5e2a86===_0x23ab4b['None']?_0x23ab4b[_0x4ef3e3(0x3db)]:_0x5e2a86,_0x3bdf83=_0x24d271===_0x23ab4b['Row']?_0xb32ca5[_0x4ef3e3(0x3af)]:_0xb32ca5['Column'];_0x231f47['updateValuePosition'](_0x24d271,_0x231f47[_0x4ef3e3(0x35e)](_0x3bdf83));}}else{if(_0x51d18d&&(_0x2bbc14===_0xb32ca5[_0x4ef3e3(0x3af)]||_0x2bbc14===_0xb32ca5[_0x4ef3e3(0x3db)])){const _0x56994a=_0x51d18d[_0x4ef3e3(0x425)](),_0x2a5ab8=_0x231f47[_0x4ef3e3(0x201)](_0x56994a);if(_0x2a5ab8&&(_0x2a5ab8==null?void 0x0:_0x2a5ab8['getFieldDataType']())===_0x4359bf[_0x4ef3e3(0x38a)]){const _0x307ffa=_0x2a5ab8[_0x4ef3e3(0x2e1)]();if(_0x307ffa&&_0x231f47[_0x4ef3e3(0x41b)](_0x51d18d[_0x4ef3e3(0x425)](),_0x307ffa),!_0x297dff[_0x4ef3e3(0x239)]()[_0x4ef3e3(0x421)](_0x48117f=>{const _0x243dbe=_0x4ef3e3,_0x506f82=_0x297dff[_0x243dbe(0x2d3)](_0x48117f);return _0x338b21(_0x506f82)?_0x506f82['getFieldInfo']()[_0x243dbe(0x35c)]===_0x504279:!0x1;})){const _0x1a3c79=_0xbd09ab[_0x4ef3e3(0x313)](),_0x323200=ji(_0x2a5ab8['maxDate'],_0x2a5ab8[_0x4ef3e3(0x398)]),_0x8a5270=_0x2a5ab8[_0x4ef3e3(0x24d)]()+'\x20-\x20'+qo(this[_0x4ef3e3(0x243)],_0x323200),_0xa64290=new _0x412f85(_0x1a3c79,_0x8a5270,_0x191751(0x3),_0x2a5ab8[_0x4ef3e3(0x425)](),_0x323200);_0xbd09ab[_0x4ef3e3(0x2df)](_0xa64290),_0x297dff[_0x4ef3e3(0x382)](_0x1a3c79,_0x8a5270),_0x231f47[_0x4ef3e3(0x36f)](_0x1a3c79,_0x2bbc14,(_0x3d8d17!=null?_0x3d8d17:0x0)+0x1),_0x191d77=_0xa64290;}}}}const _0x4726c4=_0x231f47[_0x4ef3e3(0x437)](),_0x3d4be4=_0x231f47[_0x4ef3e3(0x21d)]()[_0x4ef3e3(0x43b)]();let _0x57c1d5;if(_0x191d77){_0x57c1d5=_0x191d77['toJSON']();const _0x4760a1=_0x191d77[_0x4ef3e3(0x425)]();_0x297dff[_0x4ef3e3(0x1f0)](_0x4760a1);let _0x4db7ea=!0x0;for(const _0x11828f in _0xbd09ab['collections'])if(_0xbd09ab['collections'][_0x11828f][_0x4ef3e3(0x239)]()['includes'](_0x4760a1)){_0x4db7ea=!0x1;break;}_0x4db7ea&&_0xbd09ab['deleteDataField'](_0x4760a1);}const _0x590dd6=_0x231f47[_0x4ef3e3(0x378)]();_0x379b18[_0x4ef3e3(0x385)]={'view':_0x3d4be4,'changesets':_0x590dd6,'isEmpty':_0x4726c4,'pivotTableConfig':_0x4d99a8,'shouldBeAddedGroupJSON':_0x57c1d5};}break;case k[_0x4ef3e3(0x2d8)]:{const _0x1e6ae5=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x442)];if(!_0x1e6ae5)return;const _0x46016b=_0x1e6ae5[_0x4ef3e3(0x208)],_0x5d9167=_0x1e6ae5[_0x4ef3e3(0x37f)],{collection:_0x49a78a}=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x1d6)]({'unitId':_0x46016b[_0x4ef3e3(0x339)],'sheetName':_0x46016b[_0x4ef3e3(0x259)],'subUnitId':_0x46016b[_0x4ef3e3(0x1d4)],'range':_0x46016b[_0x4ef3e3(0x3b9)]}),_0x425ea4=new _0x22ffa2(_0x49a78a,void 0x0,_0x5d9167),_0x42ce8c=_0x425ea4[_0x4ef3e3(0x21d)](),_0x4a32ce=_0x425ea4['toJSON'](),_0x3632dd=_0x49a78a[_0x4ef3e3(0x43b)]();_0x379b18[_0x4ef3e3(0x442)]={'view':_0x42ce8c,'fieldsConfig':_0x4a32ce,'collectionConfig':_0x3632dd,'isEmpty':_0x425ea4['isEmpty']()};}break;case k[_0x4ef3e3(0x3f8)]:{const _0x42a663=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x330)];if(!_0x42a663)return;const {fieldId:_0x2ddf61,area:_0x6f7d66,index:_0x49979a}=_0x42a663,_0x48e573=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0x48e573)return;const _0x405c8a=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x2e6)](_0x5afea3);if(!_0x405c8a)return;_0x405c8a['startCollectChangeset']();const {area:_0x42b5f3,index:_0x5ec976}=_0x405c8a[_0x4ef3e3(0x390)](_0x2ddf61);if(_0x405c8a['updateFieldPosition'](_0x2ddf61,_0x6f7d66,_0x49979a),_0x6f7d66===_0xb32ca5[_0x4ef3e3(0x312)]&&_0x405c8a[_0x4ef3e3(0x419)](_0x2ddf61)[_0x4ef3e3(0x246)]()===void 0x0){const _0xdd543f=_0x405c8a[_0x4ef3e3(0x419)](_0x2ddf61);if(_0xdd543f&&_0xdd543f[_0x4ef3e3(0x246)]()===void 0x0){const _0x19b2ec=_0x405c8a[_0x4ef3e3(0x201)](_0x2ddf61);if(_0x19b2ec){const _0x448e3b=_0x19b2ec==null?void 0x0:_0x19b2ec[_0x4ef3e3(0x379)]();_0x405c8a['setSubtotalType'](_0x2ddf61,_0x448e3b===_0x4359bf[_0x4ef3e3(0x3bc)]?_0x4f8d16[_0x4ef3e3(0x387)]:_0x4f8d16[_0x4ef3e3(0x31f)]);}}}const _0x3d9bff=_0x405c8a['getValuePosition'](),_0x546bc1=_0x405c8a['getValueIndex'](),_0x439575=_0x405c8a['getFieldCountByArea'](_0xb32ca5[_0x4ef3e3(0x312)])>0x1;if(_0x439575&&_0x42b5f3===_0x6f7d66&&(_0x6f7d66===_0xb32ca5[_0x4ef3e3(0x3af)]&&_0x3d9bff===_0x23ab4b[_0x4ef3e3(0x3af)]||_0x6f7d66===_0xb32ca5[_0x4ef3e3(0x3db)]&&_0x3d9bff===_0x23ab4b[_0x4ef3e3(0x3db)])){let _0x1f6112=_0x546bc1;_0x5ec976<=_0x546bc1&&_0x1f6112--,_0x49979a<=_0x546bc1&&_0x1f6112++,_0x405c8a[_0x4ef3e3(0x1fa)](_0x3d9bff,_0x1f6112);}else _0x439575&&(_0x42b5f3===_0xb32ca5[_0x4ef3e3(0x3af)]&&_0x3d9bff===_0x23ab4b[_0x4ef3e3(0x3af)]||_0x42b5f3===_0xb32ca5[_0x4ef3e3(0x3db)]&&_0x3d9bff===_0x23ab4b[_0x4ef3e3(0x3db)])&&_0x546bc1>=_0x5ec976&&_0x405c8a[_0x4ef3e3(0x1fa)](_0x3d9bff,_0x546bc1-0x1),_0x439575&&(_0x6f7d66===_0xb32ca5[_0x4ef3e3(0x3af)]&&_0x3d9bff===_0x23ab4b[_0x4ef3e3(0x3af)]||_0x6f7d66===_0xb32ca5[_0x4ef3e3(0x3db)]&&_0x3d9bff===_0x23ab4b[_0x4ef3e3(0x3db)])&&_0x546bc1>=_0x49979a&&_0x405c8a[_0x4ef3e3(0x1fa)](_0x3d9bff,_0x546bc1+0x1);const _0x1bd26e=_0x405c8a[_0x4ef3e3(0x21d)](),_0xd1104e=_0x405c8a['isEmpty'](),_0x54a918=_0x405c8a[_0x4ef3e3(0x378)]();_0x379b18['movePivotField']={'view':_0x1bd26e[_0x4ef3e3(0x43b)](),'changesets':_0x54a918,'isEmpty':_0xd1104e,'pivotTableConfig':_0x48e573};}break;case k['RemovePivotField']:{const _0x94a40d=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x3da)];if(!_0x94a40d)return;const _0x4ad52c=_0x94a40d[_0x4ef3e3(0x223)],_0x31ec13=this['_sheetsPivotDataSourceModel'][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0x31ec13)return!0x1;const _0x435ee3=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x2e6)](_0x5afea3);if(!_0x435ee3)return!0x1;_0x435ee3['startCollectChangeset']();for(const _0x204d94 of _0x4ad52c){const {area:_0x2a036b}=_0x435ee3[_0x4ef3e3(0x390)](_0x204d94);_0x2a036b===_0xb32ca5[_0x4ef3e3(0x312)]&&_0x435ee3[_0x4ef3e3(0x3d4)](_0x204d94),(_0x2a036b===_0xb32ca5[_0x4ef3e3(0x3af)]||_0x2a036b===_0xb32ca5['Column'])&&_0x435ee3[_0x4ef3e3(0x3df)](_0x204d94),_0x435ee3[_0x4ef3e3(0x415)](_0x204d94);}const _0x123c39=_0x435ee3['isEmpty'](),_0x3b1812=_0x435ee3['query']()['toJSON'](),_0x47230c=_0x435ee3[_0x4ef3e3(0x378)]();_0x379b18['removePivotField']={'changesets':_0x47230c,'pivotTableConfig':_0x31ec13,'isEmpty':_0x123c39,'view':_0x3b1812};}break;case k[_0x4ef3e3(0x27f)]:{const _0x10b0bd=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x1e8)];if(!_0x10b0bd)return;const {tableFieldId:_0x553ce2,items:_0x43038e,isAll:_0x16dfc0}=_0x10b0bd,_0x4f2f88=this['_sheetsPivotDataSourceModel'][_0x4ef3e3(0x2e6)](_0x5afea3),_0x3b9a1c=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0x4f2f88||!_0x3b9a1c)return;_0x4f2f88[_0x4ef3e3(0x36c)](),_0x4f2f88[_0x4ef3e3(0x411)](_0x553ce2,{'type':_0x2162e1['ManualFilter'],'list':_0x43038e,'isAll':_0x16dfc0});const _0x25d2b3=_0x4f2f88[_0x4ef3e3(0x437)](),_0x3317bc=_0x4f2f88[_0x4ef3e3(0x21d)]()[_0x4ef3e3(0x43b)](),_0x348fe3=_0x4f2f88[_0x4ef3e3(0x378)]();_0x379b18[_0x4ef3e3(0x1e8)]={'view':_0x3317bc,'changesets':_0x348fe3,'isEmpty':_0x25d2b3,'pivotTableConfig':_0x3b9a1c};}break;case k[_0x4ef3e3(0x2e7)]:{const _0x5c122e=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x2bd)];if(!_0x5c122e)return;const {tableFieldId:_0x4fe15b,filterInfo:_0x298371}=_0x5c122e,_0x5f37a1=this['_sheetsPivotDataSourceModel'][_0x4ef3e3(0x2e6)](_0x5afea3),_0x5a17e5=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0x5f37a1||!_0x5a17e5)return;_0x5f37a1[_0x4ef3e3(0x36c)](),_0x5f37a1[_0x4ef3e3(0x377)](_0x4fe15b,_0x298371);const _0x29ec26=_0x5f37a1[_0x4ef3e3(0x437)](),_0x151fe8=_0x5f37a1[_0x4ef3e3(0x21d)]()[_0x4ef3e3(0x43b)](),_0x521180=_0x5f37a1['endCollectChangeset']();_0x379b18[_0x4ef3e3(0x2bd)]={'view':_0x151fe8,'changesets':_0x521180,'isEmpty':_0x29ec26,'pivotTableConfig':_0x5a17e5};}break;case k[_0x4ef3e3(0x35a)]:{const _0x12988a=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x30c)];if(!_0x12988a)return;const {tableFieldId:_0x545a4f,info:_0x20a162}=_0x12988a,_0x5dbe3f=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x2e6)](_0x5afea3),_0x3ee99b=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0x5dbe3f||!_0x3ee99b)return;_0x5dbe3f[_0x4ef3e3(0x36c)](),_0x5dbe3f[_0x4ef3e3(0x44a)](_0x545a4f,_0x20a162);const _0x2561dd=_0x5dbe3f[_0x4ef3e3(0x437)](),_0x1e96d6=_0x5dbe3f[_0x4ef3e3(0x21d)]()[_0x4ef3e3(0x43b)](),_0xd5d61a=_0x5dbe3f[_0x4ef3e3(0x378)]();_0x379b18[_0x4ef3e3(0x30c)]={'view':_0x1e96d6,'changesets':_0xd5d61a,'isEmpty':_0x2561dd,'pivotTableConfig':_0x3ee99b};}break;case k[_0x4ef3e3(0x443)]:{const _0x4f5a49=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x2bc)];if(!_0x4f5a49)return;const {tableFieldId:_0x3c48d4,displayName:_0x331f50,subtotalType:_0xd48450,format:_0xb6be9c}=_0x4f5a49,_0x5ed8ad=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x2e6)](_0x5afea3),_0x1a9f48=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0x5ed8ad||!_0x1a9f48)return;_0x5ed8ad['startCollectChangeset'](),_0x331f50!==void 0x0&&_0x5ed8ad[_0x4ef3e3(0x2b0)](_0x3c48d4,_0x331f50),_0xd48450!==void 0x0&&_0x5ed8ad[_0x4ef3e3(0x226)](_0x3c48d4,_0xd48450),_0xb6be9c!==void 0x0&&_0x5ed8ad[_0x4ef3e3(0x41b)](_0x3c48d4,_0xb6be9c);const _0x4e7877=_0x5ed8ad['isEmpty'](),_0x566876=_0x5ed8ad[_0x4ef3e3(0x21d)]()[_0x4ef3e3(0x43b)](),_0x587cf6=_0x5ed8ad[_0x4ef3e3(0x378)]();_0x379b18[_0x4ef3e3(0x2bc)]={'changesets':_0x587cf6,'pivotTableConfig':_0x1a9f48,'isEmpty':_0x4e7877,'view':_0x566876};}break;case k[_0x4ef3e3(0x1d0)]:{const _0x52a14c=_0x5cd02d['params']['updatePivotSource'];if(!_0x52a14c)return;const {dataRangeInfo:_0x5f875c,unitId:_0x2db018,subUnitId:_0x4283d8}=_0x52a14c,_0x374bbb=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x3f4)](_0x2db018,_0x4283d8,_0x5afea3),_0xd5fb39=this[_0x4ef3e3(0x2a7)]['getPivotTableInstance'](_0x5afea3);if(!this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x414)](_0x2db018,_0x5afea3)||!_0xd5fb39||!_0x374bbb)return;const _0x1a2b13=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x209)](_0x2db018,_0x5afea3,_0x5f875c),_0x25a967=this['_sheetsPivotDataSourceModel'][_0x4ef3e3(0x414)](_0x2db018,_0x5afea3)['toJSON'](),{collection:_0x23c44f}=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x1d6)]({'unitId':_0x5f875c[_0x4ef3e3(0x339)],'sheetName':_0x5f875c['sheetName'],'subUnitId':_0x5f875c[_0x4ef3e3(0x1d4)],'range':_0x5f875c[_0x4ef3e3(0x3b9)]}),_0x24102c=_0x23c44f[_0x4ef3e3(0x43b)]();_0xd5fb39['startCollectChangeset']();const _0x4dfe94=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x1fc)](_0x2db018)[_0x4ef3e3(0x424)]()||_0x2cab91;_0xd5fb39['iterateField'](_0x4a1e4a=>{const _0x3a5c24=_0x4ef3e3,_0x4df788=_0x4a1e4a[_0x3a5c24(0x305)]();if(!_0x23c44f['hasField'](_0x4df788)){const _0x5846a6=_0x23c44f['getDataFieldBySourceName'](_0x4a1e4a[_0x3a5c24(0x3fe)]());if(_0x5846a6){_0xd5fb39[_0x3a5c24(0x1eb)](_0x4a1e4a[_0x3a5c24(0x425)](),_0x5846a6[_0x3a5c24(0x24d)](),_0x5846a6[_0x3a5c24(0x425)]());const {area:_0x34dad8}=_0xd5fb39['getFieldPositionInfoById'](_0x4a1e4a[_0x3a5c24(0x425)]());let _0x431ae5=_0x4a1e4a[_0x3a5c24(0x3fe)]();const _0xf7b6aa=_0x4a1e4a[_0x3a5c24(0x3bd)]();if(_0x34dad8===_0xb32ca5[_0x3a5c24(0x312)]){const _0x56fbd6=_0x4a1e4a[_0x3a5c24(0x246)]();_0x431ae5=_0x4dfe94(_0x5846a6[_0x3a5c24(0x24d)](),_0x56fbd6);}_0xf7b6aa!==_0x431ae5&&_0xd5fb39[_0x3a5c24(0x2b0)](_0x4a1e4a[_0x3a5c24(0x425)](),_0x431ae5);}else _0xd5fb39[_0x3a5c24(0x415)](_0x4a1e4a[_0x3a5c24(0x425)]());}});const _0x1ad44d=_0xd5fb39[_0x4ef3e3(0x437)](),_0xa72f5d=_0xd5fb39[_0x4ef3e3(0x21d)]()[_0x4ef3e3(0x43b)](),_0x3a6b8b=_0xd5fb39['endCollectChangeset']();_0x379b18[_0x4ef3e3(0x3fa)]={'view':_0xa72f5d,'changesets':_0x3a6b8b,'isEmpty':_0x1ad44d,'pivotTableConfig':_0x374bbb,'collectionConfig':_0x24102c,'oldCollectionConfig':_0x25a967,'deleteIds':_0x1a2b13};}break;case k[_0x4ef3e3(0x2ed)]:{const _0x7827cb=_0x5cd02d[_0x4ef3e3(0x3ab)]['updateValuePosition'];if(!_0x7827cb)return;const {position:_0x48bfbd,index:_0x50e583}=_0x7827cb,_0x4174a1=this['_sheetsPivotDataSourceModel'][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0x4174a1)return!0x1;const _0x5bb3c5=this[_0x4ef3e3(0x2a7)]['getPivotTableInstance'](_0x5afea3);if(!_0x5bb3c5)return!0x1;_0x5bb3c5[_0x4ef3e3(0x36c)](),_0x5bb3c5[_0x4ef3e3(0x1fa)](_0x48bfbd,_0x50e583);const _0x32e0d0=_0x5bb3c5[_0x4ef3e3(0x437)](),_0x5e8de1=_0x5bb3c5[_0x4ef3e3(0x21d)]()[_0x4ef3e3(0x43b)](),_0x54682f=_0x5bb3c5[_0x4ef3e3(0x378)]();_0x379b18['updateValuePosition']={'changesets':_0x54682f,'pivotTableConfig':_0x4174a1,'isEmpty':_0x32e0d0,'view':_0x5e8de1};}break;case k[_0x4ef3e3(0x22e)]:{const _0x361ffb=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x2d9)];if(!_0x361ffb)return;const {tableFieldId:_0x33c301,collapse:_0x2b7fa7,item:_0x59780c}=_0x361ffb,_0xd5e2d6=this['_sheetsPivotDataSourceModel'][_0x4ef3e3(0x2e6)](_0x5afea3),_0x253262=this['_sheetsPivotDataSourceModel'][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0xd5e2d6||!_0x253262)return;_0xd5e2d6['startCollectChangeset'](),_0xd5e2d6[_0x4ef3e3(0x2a1)](_0x33c301,_0x2b7fa7,_0x59780c);const _0x325d99=_0xd5e2d6[_0x4ef3e3(0x437)](),_0xb4a47f=_0xd5e2d6['query']()[_0x4ef3e3(0x43b)](),_0x43b31c=_0xd5e2d6[_0x4ef3e3(0x378)]();_0x379b18[_0x4ef3e3(0x2d9)]={'view':_0xb4a47f,'isEmpty':_0x325d99,'pivotTableConfig':_0x253262,'changesets':_0x43b31c};}break;case k[_0x4ef3e3(0x406)]:{const _0x15eb88=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x28d)];if(!_0x15eb88)return;const {pivotTableConfig:_0x4283b5}=_0x15eb88,_0x3ecc03=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x2e6)](_0x5afea3),_0x3c5c2f=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x3f4)](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0x3ecc03||!_0x3c5c2f)return;_0x3ecc03[_0x4ef3e3(0x36c)](),Ji(_0x3ecc03,_0x4283b5);const _0x464064=_0x3ecc03[_0x4ef3e3(0x437)](),_0x11d0a5=_0x3ecc03['query']()[_0x4ef3e3(0x43b)](),_0x152438=_0x3ecc03[_0x4ef3e3(0x378)]();_0x379b18['setPivotTableConfig']={'view':_0x11d0a5,'isEmpty':_0x464064,'pivotTableConfig':{..._0x3c5c2f,'fieldsConfig':_0x3ecc03[_0x4ef3e3(0x43b)]()},'changesets':_0x152438};}break;case k[_0x4ef3e3(0x3f0)]:{const _0x1476f8=_0x5cd02d[_0x4ef3e3(0x3ab)]['resetPivotTable'];if(!_0x1476f8)return;const _0x4112b5=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x5afea3),_0xc5b0bd=this[_0x4ef3e3(0x2a7)]['getPivotTableConfig'](_0x5ada4a,_0xfa9013,_0x5afea3);if(!_0x4112b5||!_0xc5b0bd)return;_0x4112b5[_0x4ef3e3(0x36c)](),Wi(_0x4112b5,_0x1476f8['resetArea']);const _0x351325=_0x4112b5[_0x4ef3e3(0x21d)]()[_0x4ef3e3(0x43b)](),_0x1526c2=_0x4112b5[_0x4ef3e3(0x378)]();_0x379b18[_0x4ef3e3(0x3e6)]={'view':_0x351325,'isEmpty':!0x0,'pivotTableConfig':{..._0xc5b0bd,'fieldsConfig':_0x4112b5['toJSON']()},'changesets':_0x1526c2};}break;case k['AddPivotTableWithConfig']:{const _0x52bb83=_0x5cd02d[_0x4ef3e3(0x3ab)][_0x4ef3e3(0x253)];if(!_0x52bb83)return;const _0x588648=_0x52bb83['sourceRangeInfo'],_0x346d15=_0x52bb83[_0x4ef3e3(0x37f)],{collection:_0x16aa2d}=this[_0x4ef3e3(0x2a7)][_0x4ef3e3(0x1d6)]({'unitId':_0x588648[_0x4ef3e3(0x339)],'sheetName':_0x588648[_0x4ef3e3(0x259)],'subUnitId':_0x588648['subUnitId'],'range':_0x588648['range']}),_0x510abd=new _0x22ffa2(_0x16aa2d,void 0x0,_0x346d15),_0x4e9672=_0x16aa2d[_0x4ef3e3(0x239)](),{rows:_0x696d0d,columns:_0x3c03df,filters:_0x425203,values:_0x285fbf}=_0x52bb83[_0x4ef3e3(0x3aa)];_0x510abd[_0x4ef3e3(0x36c)]();for(const {field:_0x266613,selectedItems:_0x4d7178}of _0x696d0d||[]){const _0x181c30=_0x4e9672[_0x266613];if(_0x181c30){const _0x40143c=_0x510abd[_0x4ef3e3(0x36f)](_0x181c30,_0xb32ca5[_0x4ef3e3(0x3af)]);_0x4d7178&&_0x40143c&&_0x510abd[_0x4ef3e3(0x411)](_0x40143c[_0x4ef3e3(0x425)](),{'type':_0x2162e1[_0x4ef3e3(0x299)],'list':_0x4d7178,'isAll':!0x1});}}for(const {field:_0x3f42de,selectedItems:_0x500554}of _0x3c03df||[]){const _0x465a3f=_0x4e9672[_0x3f42de];if(_0x465a3f){const _0x1b2394=_0x510abd[_0x4ef3e3(0x36f)](_0x465a3f,_0xb32ca5[_0x4ef3e3(0x3db)]);_0x500554&&_0x1b2394&&_0x510abd[_0x4ef3e3(0x411)](_0x1b2394['getId'](),{'type':_0x2162e1[_0x4ef3e3(0x299)],'list':_0x500554,'isAll':!0x1});}}for(const {field:_0x242b47,selectedItems:_0x472c09}of _0x425203||[]){const _0x20ec1a=_0x4e9672[_0x242b47];if(_0x20ec1a){const _0x3f5428=_0x510abd[_0x4ef3e3(0x36f)](_0x20ec1a,_0xb32ca5['Filter']);_0x472c09&&_0x3f5428&&_0x510abd[_0x4ef3e3(0x411)](_0x3f5428[_0x4ef3e3(0x425)](),{'type':_0x2162e1[_0x4ef3e3(0x299)],'list':_0x472c09,'isAll':!0x1});}}for(const {field:_0x473f63,subTotalType:_0xda3af6,formatString:_0x35edae}of _0x285fbf||[]){const _0x47077c=_0x16aa2d[_0x4ef3e3(0x2d3)](_0x4e9672[_0x473f63]);if(!_0x47077c)continue;const _0x12116c=_0x4e9672[_0x473f63];if(_0x12116c){const _0x498e36=_0x510abd[_0x4ef3e3(0x36f)](_0x12116c,_0xb32ca5[_0x4ef3e3(0x312)]);if(_0x498e36){if(_0xda3af6!==void 0x0){_0x510abd[_0x4ef3e3(0x226)](_0x498e36[_0x4ef3e3(0x425)](),_0xda3af6);const _0x241040=this[_0x4ef3e3(0x2a7)]['getDataFieldManager'](_0x588648[_0x4ef3e3(0x339)])[_0x4ef3e3(0x424)]()||_0x2cab91,_0x4dc281=_0x16aa2d[_0x4ef3e3(0x3bd)](_0x12116c),_0x2d4a4c=_0x241040(_0x4dc281,_0xda3af6);_0x510abd[_0x4ef3e3(0x2b0)](_0x498e36[_0x4ef3e3(0x425)](),_0x2d4a4c);}else{if(_0x47077c){const _0x4b1be7=_0x47077c==null?void 0x0:_0x47077c[_0x4ef3e3(0x379)]();_0x510abd['setSubtotalType'](_0x498e36[_0x4ef3e3(0x425)](),_0x4b1be7===_0x4359bf[_0x4ef3e3(0x3bc)]?_0x4f8d16['sum']:_0x4f8d16[_0x4ef3e3(0x31f)]);}}_0x35edae&&_0x510abd['setFieldFormat'](_0x498e36[_0x4ef3e3(0x425)](),_0x35edae);}}}const _0x290b94=_0x510abd[_0x4ef3e3(0x21d)](),_0x496574=_0x510abd['toJSON'](),_0x3d6f1f=_0x510abd[_0x4ef3e3(0x437)](),_0x34fabb=_0x510abd[_0x4ef3e3(0x378)](),_0x2ac06d=_0x16aa2d[_0x4ef3e3(0x43b)]();_0x379b18[_0x4ef3e3(0x253)]={'view':_0x290b94,'fieldsConfig':_0x496574,'collectionConfig':_0x2ac06d,'isEmpty':_0x3d6f1f,'changesets':_0x34fabb};}break;case k[_0x4ef3e3(0x1db)]:{const _0x4e9ff2=Ai(this[_0x4ef3e3(0x243)],_0x5cd02d);if(!_0x4e9ff2)return;const {range:_0x46a820,sourceSubUnitId:_0x28191e,sourceUnitId:_0xf3361e,formatMap:_0x3ca8f3,indexes:_0x1b1b95}=_0x4e9ff2;_0x379b18[_0x4ef3e3(0x1f4)]={'range':_0x46a820,'sourceSubUnitId':_0x28191e,'sourceUnitId':_0xf3361e,'formatMap':_0x3ca8f3,'indexes':_0x1b1b95};}break;}this['_commandService']['executeCommand'](lo['id'],{'version':_0x5cd02d[_0x4ef3e3(0x440)],'result':_0x379b18},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x5de7b1=_0x84255b;this[_0x5de7b1(0x433)](this[_0x5de7b1(0x2a0)][_0x5de7b1(0x1f1)](_0x15880f=>{const _0x13ed41=_0x5de7b1;if(_0x15880f['id']!==uo['id'])return;const _0x553712=_0x15880f[_0x13ed41(0x3ab)];return this[_0x13ed41(0x2a7)][_0x13ed41(0x3d2)](_0x553712[_0x13ed41(0x1ec)]),!0x0;}));}[_0x84255b(0x1ee)](){const _0x6240d7=_0x84255b;this[_0x6240d7(0x2a7)]['collectionChange$'][_0x6240d7(0x285)](_0x335289=>{const _0x239acb=_0x6240d7;switch(_0x335289['type']){case Be[_0x239acb(0x399)]:_0x335289['dataRangeInfo']&&_0x335289[_0x239acb(0x2e0)]&&this[_0x239acb(0x247)](_0x335289['token'],_0x335289[_0x239acb(0x3f2)],_0x335289[_0x239acb(0x2e0)]);break;case Be[_0x239acb(0x3b7)]:{const {unitId:_0x459554,subUnitId:_0x58e66a,token:_0x424c21}=_0x335289;_0x459554&&_0x58e66a&&_0x424c21&&this[_0x239acb(0x34b)](_0x459554,_0x58e66a,_0x424c21);}break;case Be[_0x239acb(0x3a3)]:{const {token:_0x421d47,oldSourceRangeInfo:_0x42e12b,dataRangeInfo:_0x53c235,targetCellInfo:_0x30e77f}=_0x335289,{unitId:_0x124c01,subUnitId:_0x230302}=_0x42e12b||{};_0x124c01&&_0x230302&&_0x421d47&&this[_0x239acb(0x34b)](_0x124c01,_0x230302,_0x421d47),_0x53c235&&_0x30e77f&&this[_0x239acb(0x247)](_0x421d47,_0x53c235,_0x30e77f);}break;}});}[_0x84255b(0x325)](){const _0x32cec0=_0x84255b;this[_0x32cec0(0x2a7)][_0x32cec0(0x1ce)][_0x32cec0(0x285)](_0x22096c=>{const _0x6ac425=_0x32cec0;Object['keys'](_0x22096c)[_0x6ac425(0x447)](_0x3bdfa9=>{const _0x1d95d4=_0x6ac425,_0x2974f4=this[_0x1d95d4(0x2a7)][_0x1d95d4(0x41a)](_0x3bdfa9);if(_0x2974f4){const _0x5e8915=this['_sheetsPivotDataSourceModel'][_0x1d95d4(0x3f4)](_0x2974f4==null?void 0x0:_0x2974f4['unitId'],_0x2974f4==null?void 0x0:_0x2974f4[_0x1d95d4(0x1d4)],_0x3bdfa9);_0x5e8915&&(this[_0x1d95d4(0x247)](_0x3bdfa9,_0x5e8915[_0x1d95d4(0x208)],_0x5e8915[_0x1d95d4(0x2e0)]),this['triggerDirtyFeature']([{'unitId':_0x2974f4[_0x1d95d4(0x339)],'subUnitId':_0x2974f4[_0x1d95d4(0x1d4)],'token':_0x3bdfa9}]));}});});}[_0x84255b(0x364)](){const _0x20e3d2=_0x84255b;this[_0x20e3d2(0x2a7)][_0x20e3d2(0x3a6)]['subscribe'](_0x1311b6=>{const {unitId:_0x364d82,subUnitId:_0x2f1c4b,pivotTableId:_0x54337e}=_0x1311b6;_0x364d82&&_0x2f1c4b&&_0x54337e&&this['triggerDirtyFeature']([{'unitId':_0x364d82,'subUnitId':_0x2f1c4b,'token':_0x54337e}]);});}[_0x84255b(0x2b3)](_0x3168aa){const _0x250f49=_0x84255b,_0x2ddc28={};_0x3168aa[_0x250f49(0x447)](_0x534005=>{var _0x358947,_0x1ef4d8;const {unitId:_0x4f6248,subUnitId:_0x47a523,token:_0x5ce11f}=_0x534005;_0x2ddc28[_0x4f6248]=(_0x358947=_0x2ddc28[_0x4f6248])!=null?_0x358947:{},_0x2ddc28[_0x4f6248][_0x47a523]=(_0x1ef4d8=_0x2ddc28[_0x4f6248][_0x47a523])!=null?_0x1ef4d8:{},_0x2ddc28[_0x4f6248][_0x47a523][_0x5ce11f]=!0x0;}),this[_0x250f49(0x2a0)][_0x250f49(0x404)](Nt['id'],_0x2ddc28);}['removeSourceRangeChange'](_0x4def4a,_0xe9d045,_0x508714){const _0x34e90b=_0x84255b;this[_0x34e90b(0x3a9)][_0x34e90b(0x2b8)](_0x4def4a,_0xe9d045,[_0x508714]);}[_0x84255b(0x247)](_0x519767,_0x52ecf9,_0x18a37f){const _0x481ecc=_0x84255b,{unitId:_0x46f57c,subUnitId:_0x65c2ec}=_0x52ecf9;this[_0x481ecc(0x3a9)][_0x481ecc(0x375)](_0x18a37f[_0x481ecc(0x339)],_0x18a37f['subUnitId'],_0x519767)&&this['removeSourceRangeChange'](_0x46f57c,_0x65c2ec,_0x519767);const _0xa4cb6={'sheetId':_0x65c2ec,..._0x52ecf9};this[_0x481ecc(0x3a9)]['register'](_0x18a37f['unitId'],_0x18a37f[_0x481ecc(0x1d4)],_0x519767,{'unitId':_0x18a37f['unitId'],'subUnitId':_0x18a37f[_0x481ecc(0x1d4)],'dependencyRanges':[_0xa4cb6],'getDirtyData':(_0x24f943,_0x4d2d1b)=>{const _0x20d502=_0x481ecc,_0x4fee8c=this['_sheetsPivotDataSourceModel'],_0x5d2f7a=_0x4fee8c['getTargetByPivotId'](_0x519767);if(!_0x5d2f7a)return Vs();const {unitId:_0x23bb70,subUnitId:_0x35c58d}=_0x5d2f7a,_0x58e1a0=xs(_0x24f943,_0x4d2d1b,_0x52ecf9);if(_0x58e1a0['length']>0x0){const _0x5a06e2=_0x4fee8c[_0x20d502(0x414)](_0x46f57c,_0x519767),_0x259f4b=_0x5a06e2[_0x20d502(0x239)](),_0x34f609=this[_0x20d502(0x33e)](_0x52ecf9[_0x20d502(0x339)],_0x52ecf9[_0x20d502(0x1d4)],_0x4d2d1b),_0x1049b4={},_0x1caf86=this['_sheetsPivotDataSourceModel'][_0x20d502(0x1fc)](_0x23bb70)[_0x20d502(0x424)]()||_0x2cab91,_0x49399a=[];for(const _0x55cc63 of _0x58e1a0){const _0x473393=_0x55cc63-(_0x52ecf9[_0x20d502(0x3b9)][_0x20d502(0x373)]||0x0),_0x5b27bf=_0x259f4b[_0x473393];_0x49399a[_0x20d502(0x1f7)](_0x5b27bf),_0x1049b4[_0x5b27bf]=_0x5a06e2[_0x20d502(0x2d3)](_0x5b27bf)[_0x20d502(0x24d)](),_0x4fee8c[_0x20d502(0x1fc)](_0x46f57c)['refreshDataField'](_0x5b27bf,_0x52ecf9,_0x473393,_0x34f609);}_0x5a06e2[_0x20d502(0x407)](_0x49399a)['forEach'](_0x28a91c=>{const _0x441981=_0x20d502,[_0x42ac6b,_0x2ce020]=_0x28a91c,_0x494166=_0x5a06e2[_0x441981(0x2d3)](_0x42ac6b),_0x3d459c=_0x5a06e2['getFieldById'](_0x2ce020);_0x494166&&_0x3d459c&&_0x494166['refreshGroupField'](_0x3d459c);}),_0x5a06e2[_0x20d502(0x335)]();const _0x2b580=_0x4fee8c[_0x20d502(0x2e6)](_0x519767);if(_0x2b580){Es(_0x2b580,_0x1049b4,_0x1caf86),_0x2b580[_0x20d502(0x1d7)](!0x0);const _0x1f4cf1=_0x2b580[_0x20d502(0x21d)](),_0x1a41ab=_0x4fee8c[_0x20d502(0x3f4)](_0x23bb70,_0x35c58d,_0x519767),_0x29babc=_0x4fee8c['getDataFieldManager'](_0x46f57c)[_0x20d502(0x43b)]();_0x4fee8c[_0x20d502(0x33b)](_0x23bb70,_0x35c58d,$[_0x20d502(0x31e)],_0x519767,_0x1f4cf1,_0x1a41ab,_0x29babc,!0x0);}}return this['getDirtyInfo'](_0x23bb70,_0x35c58d,_0x519767);}});}[_0x84255b(0x33e)](_0x5574a5,_0x25cc9f,_0x570823){var _0x570414,_0x503be7;const {arrayFormulaCellData:_0x137cdd,unitData:_0x13cd12}=_0x570823,_0x5f1332=(_0x570414=_0x137cdd==null?void 0x0:_0x137cdd[_0x5574a5])==null?void 0x0:_0x570414[_0x25cc9f],_0x54d923=(_0x503be7=_0x13cd12==null?void 0x0:_0x13cd12[_0x5574a5])==null?void 0x0:_0x503be7[_0x25cc9f];return{'arrayFormulaCellDataMatrix':_0x5f1332,'unitDataMatrix':_0x54d923};}[_0x84255b(0x284)](_0x4d1560,_0x1f8d01,_0x1142f7){const _0x3c551a=_0x84255b,_0x3d69fc=this[_0x3c551a(0x2a7)]['getViewData'](_0x4d1560,_0x1f8d01,_0x1142f7),_0x457c52=[],_0x55f98b=new _0x3fd261();if(_0x3d69fc){const {rangeCache:_0x4d3105,matrix:_0x2be3be,oldRangeCache:_0x4555b7,oldMatrix:_0x6f6199}=_0x3d69fc,_0x281834=$t(_0x4555b7),_0x3331dc=$t(_0x4d3105);_0x457c52[_0x3c551a(0x1f7)](..._0x3331dc,..._0x281834),_0x6f6199&&_0x4555b7&&_0x281834['forEach'](_0x51b3fd=>{const _0x59b961=_0x3c551a;for(let _0x1e8e7e=_0x51b3fd[_0x59b961(0x37d)];_0x1e8e7e<=_0x51b3fd[_0x59b961(0x41d)];_0x1e8e7e++)for(let _0x4eb9ec=_0x51b3fd[_0x59b961(0x373)];_0x4eb9ec<=_0x51b3fd[_0x59b961(0x444)];_0x4eb9ec++)_0x55f98b['realDeleteValue'](_0x1e8e7e,_0x4eb9ec);}),_0x2be3be&&_0x3331dc&&_0x3331dc[_0x3c551a(0x447)](_0x3600cb=>{const _0x2cfe2c=_0x3c551a;for(let _0x507072=_0x3600cb['startRow'];_0x507072<=_0x3600cb[_0x2cfe2c(0x41d)];_0x507072++)for(let _0x1af49f=_0x3600cb['startColumn'];_0x1af49f<=_0x3600cb['endColumn'];_0x1af49f++)_0x55f98b[_0x2cfe2c(0x29c)](_0x507072,_0x1af49f,_0x2be3be['getValue'](_0x507072,_0x1af49f));});}const _0x1c49fc={};return _0x1c49fc[_0x4d1560]={[_0x1f8d01]:Os(_0x457c52)},{'runtimeCellData':{[_0x4d1560]:{[_0x1f8d01]:_0x55f98b}},'dirtyRanges':_0x1c49fc};}[_0x84255b(0x3d7)](){}};dt=Ns([He(0x0,_0x2459bd(G)),He(0x1,_0x4b6507),He(0x2,_0x2459bd(_0x5e44ce)),He(0x3,_0x2459bd(_0x324b30)),He(0x4,_0x2459bd(_0x46a17b)),He(0x5,_0x2459bd(_0x1034ce))],dt);var As=Object['getOwnPropertyDescriptor'],ks=(_0x5d3cbf,_0x42fe31,_0x551a8a,_0x4cdaf4)=>{const _0x159180=_0x84255b;for(var _0x1b4eea=_0x4cdaf4>0x1?void 0x0:_0x4cdaf4?As(_0x42fe31,_0x551a8a):_0x42fe31,_0x59a6a6=_0x5d3cbf[_0x159180(0x321)]-0x1,_0x19a948;_0x59a6a6>=0x0;_0x59a6a6--)(_0x19a948=_0x5d3cbf[_0x59a6a6])&&(_0x1b4eea=_0x19a948(_0x1b4eea)||_0x1b4eea);return _0x1b4eea;},_t=(_0x540bef,_0x1712fe)=>(_0x5cdac0,_0x251737)=>_0x1712fe(_0x5cdac0,_0x251737,_0x540bef);let ct=class extends _0x439fd3{constructor(_0x365861,_0x6a3689,_0x4b0556,_0x863876){const _0x284771=_0x84255b;super(),V(this,'disposableCollection',new _0x16f7ac()),(this[_0x284771(0x20e)]=_0x365861,this[_0x284771(0x298)]=_0x6a3689,this[_0x284771(0x348)]=_0x4b0556,this[_0x284771(0x40e)]=_0x863876,this['_initClearSelectionCommandInterceptor']());}[_0x84255b(0x225)](){const _0x27c6cd=_0x84255b;this['disposeWithMe'](this[_0x27c6cd(0x298)][_0x27c6cd(0x34f)]({'getMutations':_0x55a2a2=>{const _0x5225db=_0x27c6cd;if(_0x55a2a2['id']===_0x362d44['id']||_0x55a2a2['id']===_0x58f2f2['id']){const _0x18f7c6=[],_0x269e3e=[],_0x43805f=this[_0x5225db(0x348)][_0x5225db(0x34c)]()['map'](_0x150248=>_0x150248[_0x5225db(0x3b9)]),_0x51f27d=_0x2d749e(this[_0x5225db(0x20e)]);if(!_0x51f27d)return{'redos':[],'undos':[]};const {unitId:_0x1fe564,subUnitId:_0x53990d}=_0x51f27d,_0x298daa={},_0x50738c=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x1fe564,_0x53990d);if(_0x50738c!=null&&_0x50738c[_0x5225db(0x358)])for(const [_0x27c501,_0x39e555]of _0x50738c){const {unitId:_0x45e5f2,subUnitId:_0x1e6be4,row:_0x4d771b,col:_0x54bf26}=_0x39e555[_0x5225db(0x2e0)];_0x45e5f2===_0x51f27d[_0x5225db(0x339)]&&_0x1e6be4===_0x51f27d['subUnitId']&&(_0x298daa[_0x4d771b+'-'+_0x54bf26]=_0x27c501);}return _0x43805f&&_0x51f27d&&_0x43805f[_0x5225db(0x447)](_0x2c66ae=>{_0x483723['foreach'](_0x2c66ae,(_0xf59275,_0x2b2af9)=>{const _0x39e990=_0x2084,_0xcbc2c6=_0xf59275+'-'+_0x2b2af9;if(_0x298daa[_0xcbc2c6]){const _0x2e6b91=_0x298daa[_0xcbc2c6];_0x18f7c6[_0x39e990(0x1f7)]({'id':xt['id'],'params':{'unitId':_0x1fe564,'subUnitId':_0x53990d,'pivotTableId':_0x2e6b91}});const _0x9d595=this[_0x39e990(0x40e)][_0x39e990(0x414)](_0x1fe564,_0x2e6b91),_0x5a4bde=this[_0x39e990(0x40e)][_0x39e990(0x3f4)](_0x1fe564,_0x53990d,_0x2e6b91);_0x269e3e[_0x39e990(0x1f7)]({'id':Ct['id'],'params':{'unitId':_0x1fe564,'subUnitId':_0x53990d,'pivotTableId':_0x2e6b91,'pivotTableConfig':_0x5a4bde,'collectionConfig':_0x9d595}});}});}),{'redos':_0x18f7c6,'undos':_0x269e3e};}return{'redos':[],'undos':[]};}}));}};ct=ks([_t(0x0,_0x30a6c3),_t(0x1,_0x2459bd(_0x1baed7)),_t(0x2,_0x2459bd(_0x13c7f6)),_t(0x3,_0x2459bd(ve))],ct);var Ls=Object['getOwnPropertyDescriptor'],Bs=(_0x51755c,_0x58a1da,_0x3cc979,_0x5b79c6)=>{const _0x598b80=_0x84255b;for(var _0x9e737f=_0x5b79c6>0x1?void 0x0:_0x5b79c6?Ls(_0x58a1da,_0x3cc979):_0x58a1da,_0x36ff92=_0x51755c[_0x598b80(0x321)]-0x1,_0x5e3e51;_0x36ff92>=0x0;_0x36ff92--)(_0x5e3e51=_0x51755c[_0x36ff92])&&(_0x9e737f=_0x5e3e51(_0x9e737f)||_0x9e737f);return _0x9e737f;},qe=(_0x61dcfb,_0x23729d)=>(_0x25d082,_0x448652)=>_0x23729d(_0x25d082,_0x448652,_0x61dcfb);let ut=class extends _0x439fd3{constructor(_0x136e7d,_0x52adf5,_0x1ce80a,_0x5bc51d,_0x33637d,_0x10a70f){const _0x52370e=_0x84255b;super(),this[_0x52370e(0x24b)]=_0x136e7d,this[_0x52370e(0x298)]=_0x52adf5,this['_injector']=_0x1ce80a,this['_univerInstanceService']=_0x5bc51d,this[_0x52370e(0x40e)]=_0x33637d,this['_sheetsPivotTableService']=_0x10a70f,this['_initCommandInterceptListener']();}['_getPivotAppliedRanges'](_0x176f40,_0x295b87,_0x3288ac){const _0x261168=_0x84255b,{pageView:_0x5bf021,cornerView:_0x1bf2b2,rowView:_0x4aebd4,colView:_0x5782ec,dataView:_0x8a22bb}=_0x295b87,_0x37a15f=_0x176f40;let _0x345de2;if(_0x3288ac)_0x345de2=[...ki(_0x37a15f)];else{const _0x26fd53=ge(_0x37a15f,_0x5bf021,!0x0),_0x858094=_0x5bf021[_0x261168(0x3f6)]>=0x0?_0x5bf021[_0x261168(0x3f6)]+0x1:0x0,_0x4396be=_0x1bf2b2['rowCount'],_0x1d5add=_0x1bf2b2[_0x261168(0x200)],_0x59fecc=_0x26fd53[_0x261168(0x321)]>0x0?It:0x0,_0x54396e=ge({'row':_0x37a15f['row']+_0x858094+_0x59fecc,'col':_0x37a15f[_0x261168(0x26c)]},_0x1bf2b2,!0x1,!0x1),_0x597796=ge({'row':_0x37a15f[_0x261168(0x241)]+_0x858094+_0x59fecc+_0x4396be,'col':_0x37a15f[_0x261168(0x26c)]},_0x4aebd4,!0x1,!0x0),_0x548621=ge({'row':_0x37a15f['row']+_0x858094+_0x59fecc,'col':_0x37a15f['col']+_0x1d5add},_0x5782ec,!0x1,!0x0),_0x2dfd90=ge({'row':_0x37a15f[_0x261168(0x241)]+_0x858094+_0x59fecc+_0x4396be,'col':_0x37a15f[_0x261168(0x26c)]+_0x1d5add},_0x8a22bb,!0x1,!0x0);_0x345de2=[..._0x26fd53,..._0x54396e,..._0x597796,..._0x548621,..._0x2dfd90];}return _0x345de2;}[_0x84255b(0x269)](){const _0x371988=_0x84255b;this[_0x371988(0x433)](this[_0x371988(0x263)][_0x371988(0x22c)][_0x371988(0x2e4)](this[_0x371988(0x263)][_0x371988(0x22c)][_0x371988(0x396)]()[_0x371988(0x340)],{'handler':(_0x5a8045,_0x23ab4c)=>{const _0x8648e6=_0x371988,{cellInfo:_0x5b1df1,view:_0x345852,isEmpty:_0x1c5603}=_0x23ab4c,_0x20d83b=_0x5b1df1,{unitId:_0x14c793,subUnitId:_0x42ed1e}=_0x20d83b,_0xd82d9c=this[_0x8648e6(0x34a)](_0x5b1df1,_0x345852,_0x1c5603),_0x5b4b11=this[_0x8648e6(0x298)][_0x8648e6(0x412)]({'unitId':_0x14c793,'subUnitId':_0x42ed1e,'ranges':_0xd82d9c}),_0x4c02b6=Ho(this['_injector'],_0x14c793,_0x42ed1e,_0xd82d9c);_0x4c02b6[_0x8648e6(0x2f1)]&&(_0x5b4b11['redos']['push'](_0x4c02b6[_0x8648e6(0x265)]),_0x5b4b11[_0x8648e6(0x38d)][_0x8648e6(0x1f7)](_0x4c02b6[_0x8648e6(0x2b6)]));const _0x3087c1=this[_0x8648e6(0x206)](_0x345852,_0x5b1df1);return _0x5b4b11[_0x8648e6(0x248)][_0x8648e6(0x1f7)](..._0x3087c1['redos']),_0x5b4b11['undos'][_0x8648e6(0x1f7)](..._0x3087c1[_0x8648e6(0x38d)]),{'redos':_0x5b4b11[_0x8648e6(0x248)],'undos':_0x5b4b11[_0x8648e6(0x38d)]};}}));}[_0x84255b(0x206)](_0x1965f0,_0x47a63e){const _0x57ead5=_0x84255b,{col:_0x1ce9b0,unitId:_0x269756,subUnitId:_0x5bd954}=_0x47a63e,_0x51ac15=[],_0x23a3a0=[],_0x536a07=_0x2d749e(this['_univerInstanceService'],{'unitId':_0x269756,'subUnitId':_0x5bd954});if(!_0x47a63e||!_0x1965f0||!_0x536a07)return{'undos':_0x23a3a0,'redos':_0x51ac15};const _0x305e59=this[_0x57ead5(0x40e)][_0x57ead5(0x215)](),{colView:_0x2cc8b1,dataView:_0x36db8b,cornerView:_0x28b906,rowView:_0x828445,formatMap:_0x3f3b8b}=_0x1965f0,_0x31fbf8=To(_0x2cc8b1,_0x305e59,!0x0,_0x3f3b8b),_0x189f45=To(_0x828445,_0x305e59,!0x1,_0x3f3b8b),_0x153df6=$i(_0x36db8b),_0x195762=Gi(_0x28b906),{worksheet:_0x4c0bb8}=_0x536a07;if(typeof window<'u'&&window[_0x57ead5(0x1d8)]){const _0x3c1c76=_0x5d9ec4({...fe[_0x57ead5(0x40a)]}),_0x3876ce=_0x354208[_0x57ead5(0x39d)](_0x31fbf8,_0x3c1c76)[_0x57ead5(0x3a0)]+0x10,_0x525897=_0x354208[_0x57ead5(0x39d)](_0x153df6,_0x3c1c76)[_0x57ead5(0x3a0)],_0x336d60=Math[_0x57ead5(0x26e)](Math[_0x57ead5(0x42f)](_0x3876ce,_0x525897))+0x10,_0x2555c6=Math[_0x57ead5(0x26e)](_0x354208[_0x57ead5(0x39d)](_0x189f45,_0x3c1c76)[_0x57ead5(0x3a0)]),_0x2fa1f1=Math[_0x57ead5(0x26e)](_0x354208[_0x57ead5(0x39d)](_0x195762,_0x3c1c76)['width']),_0x34ae1e=Math['max'](_0x2555c6,_0x2fa1f1,0x28)+0xc,_0x485650=_0x2cc8b1[_0x57ead5(0x200)]+_0x28b906[_0x57ead5(0x200)],_0x34c53e={},_0x99cf0e={};for(let _0xaaa6a=_0x1ce9b0;_0xaaa6a<_0x1ce9b0+_0x485650;_0xaaa6a++){const _0x70c207=_0x4c0bb8[_0x57ead5(0x3e5)](_0xaaa6a);_0x34c53e[_0xaaa6a]=_0x70c207,_0xaaa6a-_0x1ce9b0<_0x28b906[_0x57ead5(0x200)]?_0x99cf0e[_0xaaa6a-_0x1ce9b0]=_0x34ae1e:_0x99cf0e[_0xaaa6a-_0x1ce9b0]=_0x336d60;}_0x51ac15[_0x57ead5(0x1f7)]({'id':_0x24d0ac['id'],'params':{'subUnitId':_0x5bd954,'unitId':_0x269756,'ranges':[{'startColumn':_0x1ce9b0,'endColumn':_0x1ce9b0+_0x485650-0x1,'startRow':0x0,'endRow':_0x4c0bb8[_0x57ead5(0x207)]()-0x1}],'colWidth':_0x99cf0e}}),_0x23a3a0['push']({'id':_0x24d0ac['id'],'params':{'subUnitId':_0x5bd954,'unitId':_0x269756,'ranges':[{'startColumn':_0x1ce9b0,'endColumn':_0x1ce9b0+_0x485650-0x1,'startRow':0x0,'endRow':_0x4c0bb8[_0x57ead5(0x207)]()-0x1}],'colWidth':_0x34c53e}});}return{'undos':_0x23a3a0,'redos':_0x51ac15};}};ut=Bs([qe(0x0,_0x2459bd(_0x40a013)),qe(0x1,_0x2459bd(_0x1baed7)),qe(0x2,_0x2459bd(_0x1034ce)),qe(0x3,_0x2459bd(_0x30a6c3)),qe(0x4,_0x2459bd(ve)),qe(0x5,_0x2459bd(ie))],ut);var $s=Object[_0x84255b(0x2c7)],Gs=(_0x5441f5,_0x10ba28,_0x3265c7,_0x2176fe)=>{const _0x244814=_0x84255b;for(var _0x313750=_0x2176fe>0x1?void 0x0:_0x2176fe?$s(_0x10ba28,_0x3265c7):_0x10ba28,_0x54ee1e=_0x5441f5[_0x244814(0x321)]-0x1,_0x20751e;_0x54ee1e>=0x0;_0x54ee1e--)(_0x20751e=_0x5441f5[_0x54ee1e])&&(_0x313750=_0x20751e(_0x313750)||_0x313750);return _0x313750;},ke=(_0x7e7fc6,_0xe8708a)=>(_0x439886,_0x37b79c)=>_0xe8708a(_0x439886,_0x37b79c,_0x7e7fc6);let ft=class extends _0x439fd3{constructor(_0x3513a6,_0x426e34,_0x18395b,_0x2d1f25,_0x3b1ebb,_0x3de00d,_0x217fdd){const _0x26f2b0=_0x84255b;super(),V(this,_0x26f2b0(0x3b8),new _0x16f7ac()),(this[_0x26f2b0(0x243)]=_0x3513a6,this[_0x26f2b0(0x1cc)]=_0x426e34,this[_0x26f2b0(0x2a0)]=_0x18395b,this[_0x26f2b0(0x20e)]=_0x2d1f25,this[_0x26f2b0(0x40e)]=_0x3b1ebb,this[_0x26f2b0(0x234)]=_0x3de00d,this['_sheetInterceptorService']=_0x217fdd,this['_onRefRangeChange']());}[_0x84255b(0x2f7)](){const _0x33973f=_0x84255b,_0x23f921=(_0xc3e4e3,_0x449cf2)=>{const _0x116f22=_0x2084,_0x1266df=this[_0x116f22(0x20e)][_0x116f22(0x20c)](_0x3b8577[_0x116f22(0x2ae)]);if(!_0x1266df||!(_0x1266df==null?void 0x0:_0x1266df[_0x116f22(0x3c3)](_0x449cf2)))return;this[_0x116f22(0x3b8)]['dispose']();const _0x2cfd34=_0x4fa2df=>this[_0x116f22(0x42e)](_0x4fa2df,_0xc3e4e3,_0x449cf2),_0x5af510=this[_0x116f22(0x40e)][_0x116f22(0x2c8)](_0xc3e4e3,_0x449cf2);if(!(_0x5af510!=null&&_0x5af510[_0x116f22(0x358)]))return;Array[_0x116f22(0x2e8)](_0x5af510[_0x116f22(0x2fc)]())['map'](_0x4a350a=>{const _0x4d89a0=_0x116f22,{row:_0x34edad,col:_0x2c5a7e}=_0x4a350a[_0x4d89a0(0x2e0)];return _0x4eb9f6(_0x34edad,_0x2c5a7e);})[_0x116f22(0x447)](_0x51abec=>{const _0x577afc=_0x116f22;this['disposableCollection']['add'](this[_0x577afc(0x1cc)][_0x577afc(0x270)](_0x51abec,_0x2cfd34,_0xc3e4e3,_0x449cf2));});},_0xaf48fc=()=>{const _0x53c387=_0x2084,_0x35eb40=this[_0x53c387(0x20e)][_0x53c387(0x20c)](_0x3b8577[_0x53c387(0x2ae)]);if(_0x35eb40){const _0xbdbe36=_0x35eb40['getActiveSheet']();if(!_0xbdbe36)return;_0x23f921(_0x35eb40['getUnitId'](),_0xbdbe36[_0x53c387(0x27e)]());}};this['disposeWithMe'](this[_0x33973f(0x2a0)]['onCommandExecuted'](_0x420e4a=>{const _0xe088c0=_0x33973f;if(_0x420e4a['id']===_0x45a83c['id']){const _0x2765b1=_0x420e4a[_0xe088c0(0x3ab)],_0x4c0dfd=_0x2765b1[_0xe088c0(0x1d4)],_0x207f4b=_0x2765b1[_0xe088c0(0x339)];if(!_0x4c0dfd||!_0x207f4b)return;_0x23f921(_0x207f4b,_0x4c0dfd);}})),this['disposeWithMe'](this[_0x33973f(0x40e)][_0x33973f(0x205)][_0x33973f(0x285)](_0x1517d5=>{_0x1517d5&&_0xaf48fc();})),this[_0x33973f(0x433)](this[_0x33973f(0x40e)][_0x33973f(0x357)][_0x33973f(0x285)](_0x10696a=>{const _0xf9318d=_0x33973f,_0x94a07e=_0x2d749e(this[_0xf9318d(0x20e)]);if(!_0x94a07e)return;const {unitId:_0x522a7d,subUnitId:_0x408d59}=_0x94a07e,{unitId:_0x20e5b2,subUnitId:_0x582246}=_0x10696a;_0x522a7d!==_0x20e5b2||_0x408d59!==_0x582246||_0x23f921(_0x522a7d,_0x408d59);})),_0xaf48fc();}['_refRangeHandle'](_0x1c1549,_0x5d488c,_0x16d489){const _0x296460=_0x84255b;switch(_0x1c1549['id']){case _0x4fd1bf['id']:return this[_0x296460(0x273)](_0x1c1549[_0x296460(0x3ab)],_0x5d488c,_0x16d489);}return{'redos':[],'undos':[]};}[_0x84255b(0x273)](_0xcd1ead,_0x5f46bd,_0x7d15a8){const _0x3ec050=_0x84255b,{fromRange:_0x173c04,toRange:_0x2f7bcd}=_0xcd1ead,_0x3eb3c1=[],_0x4b1ceb=[],_0x371997=_0x2d749e(this[_0x3ec050(0x20e)]);if(!_0x371997)return{'undos':_0x4b1ceb,'redos':_0x3eb3c1};if(_0x5f46bd!==_0x371997[_0x3ec050(0x339)]||_0x7d15a8!==_0x371997[_0x3ec050(0x1d4)])return{'undos':_0x4b1ceb,'redos':_0x3eb3c1};const _0x42cee9=this[_0x3ec050(0x40e)]['getSubUnitPivotConfigs'](_0x5f46bd,_0x7d15a8);if(_0x42cee9!=null&&_0x42cee9[_0x3ec050(0x358)])for(const [_0x615ee6,_0x166fc5]of _0x42cee9){const {unitId:_0x279b92,subUnitId:_0x50999c,row:_0x234039,col:_0x267646}=_0x166fc5[_0x3ec050(0x2e0)];if(_0x279b92===_0x371997[_0x3ec050(0x339)]&&_0x50999c===_0x371997[_0x3ec050(0x1d4)]){const _0x483137=_0x4eb9f6(_0x234039,_0x267646);if(_0x2898d2[_0x3ec050(0x2a9)](_0x483137,_0x173c04)){const _0x187b6b=_0x234039-_0x173c04['startRow'],_0x3c659d=_0x267646-_0x173c04[_0x3ec050(0x373)],_0x1e948d={'row':_0x2f7bcd[_0x3ec050(0x37d)]+_0x187b6b,'col':_0x2f7bcd[_0x3ec050(0x373)]+_0x3c659d};_0x3eb3c1[_0x3ec050(0x1f7)]({'id':pt['id'],'params':{'unitId':_0x279b92,'subUnitId':_0x50999c,'pivotTableId':_0x615ee6,'targetCellPosition':_0x1e948d}}),_0x4b1ceb[_0x3ec050(0x1f7)]({'id':pt['id'],'params':{'unitId':_0x279b92,'subUnitId':_0x50999c,'pivotTableId':_0x615ee6,'targetCellPosition':{'row':_0x234039,'col':_0x267646}}});const _0x36e752=_0x1e948d[_0x3ec050(0x241)]-_0x234039,_0x28670a=_0x1e948d[_0x3ec050(0x26c)]-_0x267646,_0x2bdbe3=[],_0x35e2c6=this[_0x3ec050(0x234)]['getPivotItemRenderInfoCache'](_0x279b92,_0x50999c,_0x615ee6),_0x50bc07=_0x35e2c6==null?void 0x0:_0x35e2c6['rangesInfo'];if(_0x50bc07){Object[_0x3ec050(0x275)](_0x50bc07)['forEach'](_0xb13124=>{const _0x2f99b1=_0x3ec050;_0x50bc07[_0xb13124][_0x2f99b1(0x447)](_0xd22f8d=>{const _0x551dd3=_0x2f99b1,_0x50dcd6={..._0xd22f8d};_0x50dcd6['startRow']=_0xd22f8d['startRow']+_0x36e752,_0x50dcd6['endRow']=_0xd22f8d[_0x551dd3(0x41d)]+_0x36e752,_0x50dcd6[_0x551dd3(0x373)]=_0xd22f8d[_0x551dd3(0x373)]+_0x28670a,_0x50dcd6[_0x551dd3(0x444)]=_0xd22f8d[_0x551dd3(0x444)]+_0x28670a,_0x2bdbe3[_0x551dd3(0x1f7)](_0x50dcd6);});});const _0x1d1f61=this[_0x3ec050(0x298)]['generateMutationsByRanges']({'unitId':_0x279b92,'subUnitId':_0x50999c,'ranges':_0x2bdbe3});_0x3eb3c1[_0x3ec050(0x1f7)](..._0x1d1f61[_0x3ec050(0x248)]),_0x4b1ceb[_0x3ec050(0x1f7)](..._0x1d1f61[_0x3ec050(0x38d)]);const _0x5a274f=Ho(this['_injector'],_0x279b92,_0x50999c,_0x2bdbe3);_0x5a274f[_0x3ec050(0x2f1)]&&(_0x3eb3c1[_0x3ec050(0x1f7)](_0x5a274f[_0x3ec050(0x265)]),_0x4b1ceb[_0x3ec050(0x1f7)](_0x5a274f[_0x3ec050(0x2b6)]));}}}}return{'redos':_0x3eb3c1,'undos':_0x4b1ceb};}};ft=Gs([ke(0x0,_0x2459bd(_0x1034ce)),ke(0x1,_0x2459bd(_0xbdbc72)),ke(0x2,_0x324b30),ke(0x3,_0x30a6c3),ke(0x4,_0x2459bd(ve)),ke(0x5,_0x2459bd(Ue)),ke(0x6,_0x2459bd(_0x1baed7))],ft);var Js=Object[_0x84255b(0x2c7)],Ws=(_0x57d6d7,_0x577a2d,_0x309726,_0x5bfe11)=>{const _0x34d72f=_0x84255b;for(var _0x4905e3=_0x5bfe11>0x1?void 0x0:_0x5bfe11?Js(_0x577a2d,_0x309726):_0x577a2d,_0x33f312=_0x57d6d7[_0x34d72f(0x321)]-0x1,_0x3e7d90;_0x33f312>=0x0;_0x33f312--)(_0x3e7d90=_0x57d6d7[_0x33f312])&&(_0x4905e3=_0x3e7d90(_0x4905e3)||_0x4905e3);return _0x4905e3;},_o=(_0x2dab2d,_0x3bd525)=>(_0x2ab9f9,_0x2c3ed1)=>_0x3bd525(_0x2ab9f9,_0x2c3ed1,_0x2dab2d);let gt=class extends _0x439fd3{constructor(_0x2d9c02,_0x65f15f){const _0x75b96c=_0x84255b;super(),this[_0x75b96c(0x298)]=_0x2d9c02,this[_0x75b96c(0x40e)]=_0x65f15f,this[_0x75b96c(0x386)]();}[_0x84255b(0x386)](){const _0x48736c=_0x84255b;this['disposeWithMe'](this[_0x48736c(0x298)][_0x48736c(0x34f)]({'getMutations':_0x24dc1f=>{const _0x268caf=_0x48736c;if(_0x24dc1f['id']===_0x3f3883['id']){const _0x45b8d5=[],_0x308a4b=[],_0x2bce36=_0x24dc1f[_0x268caf(0x3ab)],{unitId:_0x22e84d,subUnitId:_0x4401f6}=_0x2bce36;if(!_0x22e84d||!_0x4401f6)return{'undos':_0x308a4b,'redos':_0x45b8d5};const _0x1b6d53=this[_0x268caf(0x40e)][_0x268caf(0x2c8)](_0x22e84d,_0x4401f6);if(_0x1b6d53!=null&&_0x1b6d53[_0x268caf(0x358)])for(const [_0x515040,_0x4c1c98]of _0x1b6d53){_0x45b8d5[_0x268caf(0x1f7)]({'id':xt['id'],'params':{'unitId':_0x22e84d,'subUnitId':_0x4401f6,'pivotTableId':_0x515040}});const _0x3d0b6f={...this['_sheetsPivotTableConfigModel'][_0x268caf(0x414)](_0x22e84d,_0x515040)};_0x308a4b['push']({'id':Ct['id'],'params':{'unitId':_0x22e84d,'subUnitId':_0x4401f6,'pivotTableId':_0x515040,'pivotTableConfig':_0x4c1c98,'collectionConfig':_0x3d0b6f}});}return{'redos':_0x45b8d5,'undos':_0x308a4b};}return{'redos':[],'undos':[]};}}));}};gt=Ws([_o(0x0,_0x2459bd(_0x1baed7)),_o(0x1,_0x2459bd(ve))],gt);var js=Object[_0x84255b(0x2c7)],Ks=(_0x32d906,_0x4b4127,_0x154b2b,_0x56f731)=>{const _0x332cb5=_0x84255b;for(var _0x4275fe=_0x56f731>0x1?void 0x0:_0x56f731?js(_0x4b4127,_0x154b2b):_0x4b4127,_0x442c30=_0x32d906[_0x332cb5(0x321)]-0x1,_0x470eca;_0x442c30>=0x0;_0x442c30--)(_0x470eca=_0x32d906[_0x442c30])&&(_0x4275fe=_0x470eca(_0x4275fe)||_0x4275fe);return _0x4275fe;},ze=(_0x48940c,_0x24c86f)=>(_0x2f372e,_0x3a3f3d)=>_0x24c86f(_0x2f372e,_0x3a3f3d,_0x48940c);let ht=class extends _0x439fd3{constructor(_0x28f31a,_0x414cb1,_0x152ebd,_0x3d2df9,_0x13956b,_0x5c8b6a){const _0x37b120=_0x84255b;super(),this[_0x37b120(0x2a0)]=_0x28f31a,this[_0x37b120(0x40d)]=_0x414cb1,this[_0x37b120(0x234)]=_0x152ebd,this[_0x37b120(0x40e)]=_0x3d2df9,this[_0x37b120(0x20e)]=_0x13956b,this[_0x37b120(0x3b2)]=_0x5c8b6a,this['_initDataSendListener'](),this[_0x37b120(0x38f)]();}[_0x84255b(0x213)](){const _0x26a9bc=_0x84255b;this['disposeWithMe'](this[_0x26a9bc(0x2a0)][_0x26a9bc(0x1f1)](_0x327094=>{const _0x122bfe=_0x26a9bc;if(_0x327094['id']!==lo['id'])return;const _0x500cb4=_0x327094[_0x122bfe(0x3ab)];this[_0x122bfe(0x40d)]['handleAsyncResponse'](_0x500cb4);})),this[_0x26a9bc(0x433)](this['_commandService']['onCommandExecuted'](_0x1750ba=>{const _0x231cd4=_0x26a9bc;if(_0x1750ba['id']===co['id']){const _0x21bf1b=_0x1750ba[_0x231cd4(0x3ab)];if(_0x21bf1b){const {unitId:_0x3bce8f,subUnitId:_0x2ae2df,oldSubUnitId:_0xea30a8,pivotTableId:_0x572dbc,pivotTableConfig:_0x54ac06,collectionConfig:_0x47d06a}=_0x21bf1b;this['_sheetsPivotTableConfigModel'][_0x231cd4(0x363)](_0x3bce8f,_0xea30a8,_0x21bf1b['pivotTableId'],null),this[_0x231cd4(0x40e)][_0x231cd4(0x363)](_0x3bce8f,_0x2ae2df,_0x572dbc,_0x54ac06),this['_sheetsPivotTableConfigModel'][_0x231cd4(0x3c2)](_0x3bce8f,_0x47d06a);}}})),this[_0x26a9bc(0x433)](this['_commandService'][_0x26a9bc(0x1f1)](_0x44db9e=>{const _0xad022b=_0x26a9bc;if(_0x44db9e['id']!==Dt['id'])return;const _0x3523ef=_0x2d749e(this[_0xad022b(0x20e)]);if(!_0x3523ef)return;const {unitId:_0x52d71a,subUnitId:_0x5f3360}=_0x3523ef,_0x1c6b72=_0x44db9e[_0xad022b(0x3ab)];if(_0x1c6b72[_0xad022b(0x281)]&&Object[_0xad022b(0x275)](_0x1c6b72[_0xad022b(0x281)])[_0xad022b(0x447)](_0x1adcd5=>{const _0x4be52e=_0xad022b;var _0x2f2d92;(_0x2f2d92=_0x1c6b72[_0x4be52e(0x281)])!=null&&_0x2f2d92[_0x1adcd5]&&this[_0x4be52e(0x40e)][_0x4be52e(0x3c2)](_0x1adcd5,_0x1c6b72['collectionConfig'][_0x1adcd5]);}),_0x1c6b72[_0xad022b(0x38b)]){const _0xf6cc5b=_0x1c6b72[_0xad022b(0x38b)],{unitId:_0x3c2f44,subUnitId:_0x340fef,view:_0x118995,pivotTableId:_0x3c0820,type:_0x34f5b3,pivotConfig:_0x4ef6b6}=_0xf6cc5b;if(_0x34f5b3===$[_0xad022b(0x418)])this['_sheetsPivotTableAdaptorModel'][_0xad022b(0x2f3)]({'unitId':_0x3c2f44,'subUnitId':_0x340fef,'pivotTableId':_0x3c0820,'type':_0x34f5b3}),this[_0xad022b(0x40e)][_0xad022b(0x363)](_0x3c2f44,_0x340fef,_0x3c0820,null);else{const _0x1f57bb=new _0x272549();_0x1f57bb[_0xad022b(0x2ce)](_0x118995),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x3c2f44,_0x340fef,_0x3c0820,_0x4ef6b6),this[_0xad022b(0x234)][_0xad022b(0x2f3)]({'unitId':_0x3c2f44,'subUnitId':_0x340fef,'pivotTableId':_0x3c0820,'type':_0x34f5b3,'view':_0x1f57bb}),this['_sheetsPivotTableAdaptorModel'][_0xad022b(0x3d6)]({'unitId':_0x3c2f44,'subUnitId':_0x340fef,'view':_0x1f57bb,'pivotTableId':_0x3c0820,'type':_0x34f5b3});}}else _0x1c6b72['batch']&&(_0x1c6b72[_0xad022b(0x341)][_0xad022b(0x447)](_0x8fd7b4=>{const _0x2796e2=_0xad022b,{unitId:_0x2e3f9d,subUnitId:_0x57938b,view:_0x5d1458,pivotTableId:_0x5bf266,type:_0x4514f8,pivotConfig:_0x36acd8}=_0x8fd7b4,_0x27971c=new _0x272549();_0x27971c[_0x2796e2(0x2ce)](_0x5d1458),this[_0x2796e2(0x40e)]['updateConfigCache'](_0x2e3f9d,_0x57938b,_0x5bf266,_0x36acd8),this['_sheetsPivotTableAdaptorModel'][_0x2796e2(0x3d6)]({'unitId':_0x2e3f9d,'subUnitId':_0x57938b,'view':_0x27971c,'pivotTableId':_0x5bf266,'type':_0x4514f8});}),this[_0xad022b(0x40e)][_0xad022b(0x1f3)]());this[_0xad022b(0x234)][_0xad022b(0x2b7)](_0x52d71a,_0x5f3360);}));}[_0x84255b(0x38f)](){this['_activeDirtyManagerService']['register'](Nt['id'],{'commandId':Nt['id'],'getDirtyData'(_0xe592dd){return{'dirtyUnitFeatureMap':_0xe592dd['params']};}});}};ht=Ks([ze(0x0,_0x2459bd(_0x324b30)),ze(0x1,_0x2459bd(Z)),ze(0x2,_0x2459bd(Ue)),ze(0x3,_0x2459bd(ve)),ze(0x4,_0x2459bd(_0x30a6c3)),ze(0x5,_0xb6ac72)],ht);var Hs=Object[_0x84255b(0x1fd)],qs=Object['getOwnPropertyDescriptor'],zs=(_0x156046,_0x4d41ef,_0x48073f)=>_0x4d41ef in _0x156046?Hs(_0x156046,_0x4d41ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48073f}):_0x156046[_0x4d41ef]=_0x48073f,Ys=(_0x18166a,_0x386632,_0x3f5676,_0x2fefb0)=>{const _0x126c97=_0x84255b;for(var _0x35ceff=_0x2fefb0>0x1?void 0x0:_0x2fefb0?qs(_0x386632,_0x3f5676):_0x386632,_0x5ed92f=_0x18166a[_0x126c97(0x321)]-0x1,_0x20051b;_0x5ed92f>=0x0;_0x5ed92f--)(_0x20051b=_0x18166a[_0x5ed92f])&&(_0x35ceff=_0x20051b(_0x35ceff)||_0x35ceff);return _0x35ceff;},Ft=(_0x32aa7a,_0x5536b8)=>(_0x916652,_0x7604d)=>_0x5536b8(_0x916652,_0x7604d,_0x32aa7a),Xo=(_0x5c97db,_0x487c17,_0x2945aa)=>zs(_0x5c97db,typeof _0x487c17!=_0x84255b(0x1f5)?_0x487c17+'':_0x487c17,_0x2945aa);let Vt=class extends _0x22ddd7{constructor(_0x2c6c86=yo,_0x52b498,_0x3abb1b,_0x149caf,_0x338347){const _0x4d87de=_0x84255b;super(),this['_config']=_0x2c6c86,this[_0x4d87de(0x243)]=_0x52b498,this[_0x4d87de(0x2a0)]=_0x3abb1b,this[_0x4d87de(0x355)]=_0x149caf,this[_0x4d87de(0x2de)]=_0x338347;const {..._0x3d4eae}=_0x2fbc57({},yo,this[_0x4d87de(0x256)]);this[_0x4d87de(0x355)]['setConfig'](zo,_0x3d4eae),this[_0x4d87de(0x293)](),this[_0x4d87de(0x39b)]();}['_initConfig'](){const _0x1fb5a1=_0x84255b;var _0x24d5df;const _0x44c009=(_0x24d5df=this[_0x1fb5a1(0x256)])==null?void 0x0:_0x24d5df[_0x1fb5a1(0x1ef)];this['_configService']['setConfig'](q,_0x44c009===!0x0);}['onStarting'](){const _0x3bcb53=_0x84255b;var _0x5407a5;let _0xd23a5a=[];const _0x2e39bf=(_0x5407a5=this[_0x3bcb53(0x256)])==null?void 0x0:_0x5407a5[_0x3bcb53(0x1ef)];_0x2e39bf===!0x0?_0xd23a5a=[[ie],[Z],[ht],[Ue],[ve],[gt],[ct],[ft],[ut]]:_0x2e39bf===!0x1?_0xd23a5a=[[G],[dt]]:_0x2e39bf===void 0x0&&(_0xd23a5a=[[G],[dt],[ie],[Z],[ht],[Ue],[ve],[gt],[ct],[ft],[ut]]),_0xd23a5a[_0x3bcb53(0x447)](_0x7aa4f0=>this[_0x3bcb53(0x243)][_0x3bcb53(0x399)](_0x7aa4f0)),[dt,ht,ie,ct,gt,ft,ut][_0x3bcb53(0x447)](_0x38a39b=>{const _0x552a1f=_0x3bcb53;this[_0x552a1f(0x243)]['has'](_0x38a39b)&&this['_injector'][_0x552a1f(0x250)](_0x38a39b);});}[_0x84255b(0x293)](){const _0x51860c=_0x84255b;[vs,ps,hs,ms,Cs,Ms,Ds,bs,Ps,Ss,Ts,ys,ws,Is,Ct,oo,xt,Gt,Yo,Qo,Ht,Jt,Wt,jt,zt,qt,pt,ro,lo,Dt,Xt,eo,Yt,Kt,uo,to,Zt,Nt,co,_s,Qt,Fs,Rs][_0x51860c(0x447)](_0x490051=>{const _0x3f080c=_0x51860c;var _0x346344;(_0x346344=this['_dataSyncPrimaryController'])==null||_0x346344[_0x3f080c(0x29d)](_0x490051),this[_0x3f080c(0x2a0)][_0x3f080c(0x449)](_0x490051);});}};Xo(Vt,_0x84255b(0x413),ao),Xo(Vt,_0x84255b(0x1f6),_0x3b8577['UNIVER_SHEET']),Vt=Ys([_0x3d4d65(_0x486f5f),Ft(0x1,_0x2459bd(_0x1034ce)),Ft(0x2,_0x2459bd(_0x324b30)),Ft(0x3,_0x4b6507),Ft(0x4,_0x1c35d6(_0x10f04b))],Vt);export{hs as AddPivotFieldCommand,Gt as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,Is as PivotDrillDownCommand,$ as PivotTableOperationEnum,Nt as PivotTableViewDirtyMarkOperation,Lo as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,xt as RemovePivotTableMutation,Wt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,zo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,jt as SetPivotCollapseMutation,Kt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,zt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ue as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Ko as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,ki as getEmptyPivotRanges,Ut as getFieldListByArea,we as getInsertRowColMutations,xi as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,vt as transFromCellValue,$t as unionPivotViewRange};
1
+ const _0x1675c1=_0x2dae;(function(_0x43f097,_0x66fbd1){const _0x2155ef=_0x2dae,_0x482577=_0x43f097();while(!![]){try{const _0x1d614e=parseInt(_0x2155ef(0x1d9))/0x1*(parseInt(_0x2155ef(0x186))/0x2)+-parseInt(_0x2155ef(0x129))/0x3*(parseInt(_0x2155ef(0x1d7))/0x4)+parseInt(_0x2155ef(0x1db))/0x5+parseInt(_0x2155ef(0x14f))/0x6+parseInt(_0x2155ef(0xa3))/0x7*(-parseInt(_0x2155ef(0x1f7))/0x8)+parseInt(_0x2155ef(0x2a4))/0x9*(parseInt(_0x2155ef(0x16b))/0xa)+-parseInt(_0x2155ef(0x135))/0xb*(parseInt(_0x2155ef(0x17e))/0xc);if(_0x1d614e===_0x66fbd1)break;else _0x482577['push'](_0x482577['shift']());}catch(_0x3af5fd){_0x482577['push'](_0x482577['shift']());}}}(_0x57f5,0xda893));var an=Object[_0x1675c1(0x19e)],rn=(_0x5e0d2b,_0x1498e5,_0xed734c)=>_0x1498e5 in _0x5e0d2b?an(_0x5e0d2b,_0x1498e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xed734c}):_0x5e0d2b[_0x1498e5]=_0xed734c,U=(_0xdaa18,_0x3b2fcb,_0x26ac33)=>rn(_0xdaa18,typeof _0x3b2fcb!=_0x1675c1(0x1bf)?_0x3b2fcb+'':_0x3b2fcb,_0x26ac33);import{PivotCellStyleTypeEnum as _0x3f236f,PivotViewCellValueTypeEnum as _0x285a27,isPrefixValue as _0x5b47fa,isErrorValue as _0x4c370f,PivotErrorTypeEnum as _0x397cf3,PivotDateGroupFieldDateTypeEnum as _0x2d6c66,DataFieldManager as _0x327c99,FieldsCollection as _0x22be67,isDateValue as _0x35e63e,DataField as _0x21dd75,generateHexNumber as _0x248684,isBaseGroupField as _0x467bd5,PivotTable as _0x16e808,PivotSubtotalTypeEnum as _0xd80465,PivotTableFiledAreaEnum as _0x4cc34c,excelDateToUnixMilliseconds as _0x48a5f7,createValueField as _0x3d5287,createLabelField as _0x4d2cb7,PivotTableChangeTypeEnum as _0x267aa9,BaseGroupField as _0x1c07f9,PivotView as _0x14d91f,isDateGroupFieldJSON as _0x465631,PivotCallbackEnum as _0x3cb203,PivotFilterTypeEnum as _0xa63773,getAutoDisplayName as _0x1f98bb,PivotDataFieldDataTypeEnum as _0x4f8f52,PivotTableValuePositionEnum as _0x229120,isDateGroupField as _0x3b4148,DateGroupField as _0x6b76c2}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x34e162,ObjectMatrix as _0x1d8f59,IUniverInstanceService as _0x146954,UniverInstanceType as _0x34c5bf,CellValueType as _0x5ee6bb,numfmt as _0x519cb6,LocaleService as _0x7abaf8,createAsyncInterceptorKey as _0x29104c,createInterceptorKey as _0x3fb09e,CommandType as _0x3fc5c3,RANGE_TYPE as _0x3153b7,numberToABC as _0x553a8c,Inject as _0x2fd05e,Injector as _0x854c25,LifecycleService as _0x254ee5,IConfigService as _0xe8dcbb,ICommandService as _0x3408cd,IResourceManagerService as _0x1c560e,Disposable as _0x5334b7,Rectangle as _0x351caf,Tools as _0x14991f,AsyncInterceptorManager as _0x1e1483,InterceptorManager as _0x102fa2,InterceptorEffectEnum as _0x227340,CustomCommandExecutionError as _0x5146f5,IUndoRedoService as _0x5ea86a,sequenceExecute as _0x2e7d7d,mergeWorksheetSnapshotWithDefault as _0x9aa09a,generateRandomId as _0x4444c1,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x4d9604,DEFAULT_WORKSHEET_ROW_COUNT as _0x2abe75,DisposableCollection as _0x2baf83,Range as _0x3ae671,DependentOn as _0xbd176b,Optional as _0x23ca4f,Plugin as _0x34ad3a,merge as _0x15d8c5}from'@univerjs/core';import{ErrorType as _0x406170,serializeRangeWithSpreadsheet as _0x2b24e0,IFeatureCalculationManagerService as _0x486bfd,GlobalComputingStatusService as _0x2b17f8,IActiveDirtyManagerService as _0x315a9b}from'@univerjs/engine-formula';import{generateNullCell as _0x2f9bd8,SetRangeValuesUndoMutationFactory as _0x59cfd4,SetRangeValuesMutation as _0x3f552b,getSheetCommandTarget as _0x2075c9,InsertRowMutation as _0x324b38,RemoveRowMutation as _0x1bb17f,InsertColMutation as _0x2e534e,RemoveColMutation as _0x4f9e18,IExclusiveRangeService as _0x5dc596,SheetInterceptorService as _0x5ed9f4,INTERCEPTOR_POINT as _0xc1d871,InsertSheetCommand as _0x21737c,InsertSheetUndoMutationFactory as _0x316f56,RemoveSheetMutation as _0x539518,InsertSheetMutation as _0x227c31,MoveRangeMutation as _0x39fdc9,SheetsSelectionsService as _0x434854,ClearSelectionContentCommand as _0x66bb4e,ClearSelectionAllCommand as _0x267fed,SetWorksheetColWidthMutation as _0x532405,RefRangeService as _0x47dc83,SetWorksheetActiveOperation as _0x282476,MoveRangeCommand as _0x3fcf7e,RemoveSheetCommand as _0x52bec3}from'@univerjs/sheets';import{Subject as _0x265f85,BehaviorSubject as _0x3370f8}from'rxjs';import{LS_CONFIG_KEY as _0x59310c,unshiftString as _0x41d392,isFeatureAuthorizedWithinTime as _0x1d0a9e,getSheetFeatureLimit as _0x2196c0,ReleaseType as _0x316ecc,UniverLicensePlugin as _0x5aca44}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x4328ea,RemoveSheetsFilterMutation as _0x1158ed}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x1f987d}from'@univerjs/rpc';import{getFontStyleString as _0x2c4332,FontCache as _0x53eb93}from'@univerjs/engine-render';const Ao=Number[_0x1675c1(0x223)](0x683dcdb3),li=0x10,so=0x1,ao=_0x1675c1(0x298),It=0x1,ci='rgb(240,241,243)',di=_0x1675c1(0x1f4),wt=_0x1675c1(0x1df),ui=_0x1675c1(0x2ce),fi=_0x1675c1(0x2ce),gi='#eceeff',hi='#1d32e9',vi=_0x1675c1(0x1a5),pi=_0x1675c1(0xe3),mi=_0x1675c1(0x163),Ii='#FFFFFF',Ci=_0x1675c1(0x24a),bi=0xe,Si=0x6;var Wo=(_0x5e1f4d=>(_0x5e1f4d[_0x1675c1(0x23d)]='existing',_0x5e1f4d[_0x1675c1(0x11a)]=_0x1675c1(0x122),_0x5e1f4d))(Wo||{});const ko={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,Je={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':Je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':Je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':Je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Je,'vt':0x2}};function Ti(_0x73e960,_0x1e77d5,_0x58cf90){const _0x41c092=_0x1675c1,_0x5c911f=_0x73e960[_0x41c092(0x2e9)](_0x7abaf8),_0x3e159d=_0x58cf90[_0x41c092(0x27a)]('_');switch(_0x1e77d5){case _0x2d6c66[_0x41c092(0x1a4)]:return _0x5c911f['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x3e159d);case _0x2d6c66['Minute']:return _0x5c911f['t'](_0x41c092(0x227),..._0x3e159d);case _0x2d6c66[_0x41c092(0x1d4)]:return _0x5c911f['t'](_0x41c092(0x29e),..._0x3e159d);case _0x2d6c66[_0x41c092(0x148)]:return _0x5c911f['t'](_0x41c092(0x177),..._0x3e159d);case _0x2d6c66[_0x41c092(0x2c9)]:return _0x5c911f['t'](_0x41c092(0x21b),..._0x3e159d);case _0x2d6c66[_0x41c092(0xc8)]:return _0x5c911f['t'](_0x41c092(0x1ca),..._0x3e159d);case _0x2d6c66[_0x41c092(0x2c3)]:return _0x5c911f['t'](_0x41c092(0x242),..._0x3e159d);case _0x2d6c66['YearMonth']:return _0x5c911f['t'](_0x41c092(0x2f7),..._0x3e159d);case _0x2d6c66['YearMonthDate']:return _0x5c911f['t'](_0x41c092(0x304),..._0x3e159d);case _0x2d6c66['YearQuarter']:return _0x5c911f['t'](_0x41c092(0x253),..._0x3e159d);}return'';}const it=(_0x1f4699,_0x39ccdb,_0x511252,_0x34744d)=>{const _0x38e074=_0x1675c1;let _0x8e209c;const _0x78c114=_0x1f4699[_0x38e074(0x2e9)](_0x146954)[_0x38e074(0x20c)](_0x34c5bf['UNIVER_SHEET']);if(!_0x78c114)return null;const _0x45a014=_0x78c114[_0x38e074(0x23f)]();let _0xebd117;if(_0x511252&&(_0xebd117=_0x45a014[_0x38e074(0x2d0)](_0x511252)),_0x39ccdb!=null&&_0x39ccdb['v']||(_0x39ccdb==null?void 0x0:_0x39ccdb['v'])===0x0){_0x8e209c||(_0x8e209c={});const _0x53c34c=Lo(_0x39ccdb['v']);typeof _0x53c34c==_0x38e074(0x12f)?_0x8e209c['t']=_0x5ee6bb[_0x38e074(0x192)]:typeof _0x53c34c=='string'&&(_0x8e209c['t']=_0x5ee6bb[_0x38e074(0x310)]),_0x8e209c['v']=_0x53c34c;}if((_0x39ccdb!=null&&_0x39ccdb['i']||(_0x39ccdb==null?void 0x0:_0x39ccdb['i'])===0x0)&&(_0x8e209c||(_0x8e209c={}),_0x8e209c['fi']=_0x39ccdb['i']),_0x39ccdb!=null&&_0x39ccdb['s']&&(_0x8e209c||(_0x8e209c={}),_0x8e209c[_0x38e074(0x118)]=_0x39ccdb['s']),_0x511252&&(_0x8e209c||(_0x8e209c={}),_0x8e209c['s']=_0xebd117),_0x34744d&&_0x8e209c!=null&&_0x8e209c['v']&&_0x8e209c[_0x38e074(0x118)]!==_0x3f236f[_0x38e074(0xdc)]&&_0x8e209c['pbt']!==_0x3f236f[_0x38e074(0x290)]){const _0x399ea0=String(_0x8e209c['v']),{dateType:_0xac8759}=_0x34744d;_0x8e209c['v']=Ti(_0x1f4699,_0xac8759,_0x399ea0),_0x8e209c['t']=_0x5ee6bb[_0x38e074(0x310)];}return _0x8e209c;},Mi=(_0x4f86c6,_0x4f0662,_0x27e201,_0x40b9e2)=>{const _0x581ffd=_0x1675c1;var _0x49e36e,_0x2a8ec8,_0x4b08cd,_0x3faa09,_0xf59b81,_0x3b596a,_0x3cd815,_0x570ead,_0x3833ca,_0x8f591b,_0x249b0a,_0x52f613,_0x2a8edf,_0x2167b4;const _0x2e13d3=_0x27e201[_0x581ffd(0xb1)],{cornerView:_0x34747c,rowView:_0x4a29e4,colView:_0x25ea38,dataView:_0x58e393,pageView:_0x10769f,formatMap:_0x46b803,groupInfo:_0x4c8c86}=_0x4f0662,{row:_0x43e08c,col:_0x413276}=_0x2e13d3,_0x239dbf=new _0x1d8f59(),_0x3a3d2c={},_0x543220={},_0x185522={},_0x95cebc={},_0x3a9ff7={};let _0x506864=_0x43e08c,_0x5047c4=_0x413276;Object[_0x581ffd(0x121)](_0x10769f[_0x581ffd(0x235)])['forEach'](_0x33bf27=>{const _0x52fd9d=_0x581ffd;Object[_0x52fd9d(0x121)](_0x10769f[_0x52fd9d(0x235)][Number(_0x33bf27)])['forEach'](_0x2f65fd=>{const _0x21c443=_0x52fd9d,_0x214779={..._0x10769f[_0x21c443(0x235)][Number(_0x33bf27)][Number(_0x2f65fd)]};_0x239dbf[_0x21c443(0x2d0)](Number(_0x33bf27)+_0x506864,Number(_0x2f65fd)+_0x5047c4,it(_0x4f86c6,_0x214779,fe[_0x21c443(0x217)]));});});const _0x40abeb=Object[_0x581ffd(0x121)](_0x10769f[_0x581ffd(0x235)])[_0x581ffd(0xff)];_0x506864+=_0x40abeb+(_0x40abeb?It:0x0);const _0x8b9f7e=_0x34747c[_0x581ffd(0x113)](),_0x42a6ef=_0x34747c[_0x581ffd(0x1f6)]();for(let _0x27133b=0x0;_0x27133b<_0x8b9f7e;_0x27133b++)for(let _0x23aade=0x0;_0x23aade<_0x42a6ef;_0x23aade++){const _0x4b9354={...(_0x2a8ec8=(_0x49e36e=_0x34747c[_0x581ffd(0x235)])==null?void 0x0:_0x49e36e[_0x27133b])==null?void 0x0:_0x2a8ec8[_0x23aade]};_0x4b9354&&((_0x4b08cd=_0x4a29e4[_0x581ffd(0x1e8)][_0x23aade])!=null&&_0x4b08cd[_0x581ffd(0x2cf)])&&_0x23aade===_0x42a6ef-0x1&&_0x27133b===_0x8b9f7e-0x1&&(_0x4b9354['v']=''+_0x40b9e2[_0x581ffd(0x30c)]),_0x239dbf['setValue'](_0x27133b+_0x506864,_0x23aade+_0x5047c4,it(_0x4f86c6,_0x4b9354,fe['cornerStyle']));}for(let _0x505874=0x0;_0x505874<_0x34747c[_0x581ffd(0x30f)][_0x581ffd(0xff)];_0x505874++)_0x34747c['info'][_0x505874]&&(_0x185522[''+(_0x505874+_0x5047c4)]=_0x34747c[_0x581ffd(0x30f)][_0x505874]);_0x5047c4+=_0x42a6ef;const _0x3873bd=_0x25ea38[_0x581ffd(0x1e8)],_0x49fa8e=_0x25ea38['getLastRow']()>=0x0?_0x25ea38['getLastRow']()+0x1:0x0,_0x468595=_0x25ea38[_0x581ffd(0x2d8)]()>=0x0?_0x25ea38[_0x581ffd(0x2d8)]()+0x1:0x0;for(let _0x29abb=0x0;_0x29abb<_0x468595;_0x29abb++){for(let _0x2587db=0x0;_0x2587db<_0x49fa8e;_0x2587db++){const _0x1cb173={...(_0xf59b81=(_0x3faa09=_0x25ea38['data'])==null?void 0x0:_0x3faa09[_0x2587db])==null?void 0x0:_0xf59b81[_0x29abb]},_0x27347e=(_0x3b596a=_0x3873bd[_0x2587db])==null?void 0x0:_0x3b596a['tableFieldId'],_0x481009=_0x46b803[_0x27347e],_0x5239a8=_0x4c8c86[_0x27347e];_0x1cb173&&(_0x1cb173['v']=vt(_0x1cb173,_0x2587db===0x0&&((_0x3cd815=_0x25ea38[_0x581ffd(0x272)](_0x29abb+0x1))==null?void 0x0:_0x3cd815['isValue']),_0x481009,_0x40b9e2));let _0x9c3f6c;_0x481009?_0x9c3f6c={...fe[_0x581ffd(0x2e8)],'n':{'pattern':_0x481009}}:_0x9c3f6c={...fe[_0x581ffd(0x2e8)]},_0x239dbf[_0x581ffd(0x2d0)](_0x2587db+_0x506864,_0x29abb+_0x5047c4,it(_0x4f86c6,_0x1cb173,_0x9c3f6c,_0x5239a8));}_0x25ea38[_0x581ffd(0x30f)][_0x29abb]&&(_0x543220[''+(_0x29abb+_0x5047c4)]=_0x25ea38['info'][_0x29abb]),_0x25ea38['headerMap'][_0x29abb+0x1]&&(_0x3a9ff7[''+(_0x29abb+_0x506864+0x1)]=_0x25ea38['headerMap'][_0x29abb+0x1]);}_0x506864+=_0x8b9f7e;const _0x93d7ed=_0x4a29e4['headerMap'],_0x199bbb=_0x4a29e4['getLastRow']()>=0x0?_0x4a29e4[_0x581ffd(0x2b1)]()+0x1:0x0,_0x183d00=_0x4a29e4[_0x581ffd(0x2d8)]()>=0x0?_0x4a29e4['getLastCol']()+0x1:0x0;for(let _0x4054c2=0x0;_0x4054c2<_0x199bbb;_0x4054c2++){for(let _0x572e93=0x0;_0x572e93<_0x183d00;_0x572e93++){const _0x495b2e={...(_0x3833ca=(_0x570ead=_0x4a29e4[_0x581ffd(0x235)])==null?void 0x0:_0x570ead[_0x4054c2])==null?void 0x0:_0x3833ca[_0x572e93]},_0x12d361=(_0x8f591b=_0x93d7ed[_0x572e93])==null?void 0x0:_0x8f591b[_0x581ffd(0x1e6)],_0x4c1775=_0x46b803[_0x12d361],_0x35a6bb=_0x4c8c86[_0x12d361];_0x495b2e&&(_0x495b2e['v']=vt(_0x495b2e,!0x1,_0x4c1775,_0x40b9e2));let _0xb714a8;_0x4a29e4[_0x581ffd(0x30f)][_0x4054c2][_0x581ffd(0x2bf)]===_0x4a29e4[_0x581ffd(0x1f6)]()?_0xb714a8=fe[_0x581ffd(0x2f6)]:_0x4a29e4['info'][_0x4054c2][_0x581ffd(0x30b)]?_0xb714a8=_0x4a29e4['info'][_0x4054c2]['level']===0x0?fe[_0x581ffd(0x286)]:fe[_0x581ffd(0x123)]:_0xb714a8=fe[_0x581ffd(0x12e)],_0x4c1775&&(_0xb714a8={..._0xb714a8,'n':{'pattern':_0x4c1775}}),_0x239dbf[_0x581ffd(0x2d0)](_0x4054c2+_0x506864,_0x572e93+_0x413276,it(_0x4f86c6,_0x495b2e,_0xb714a8,_0x35a6bb));}_0x4a29e4[_0x581ffd(0x30f)][_0x4054c2]&&(_0x3a3d2c[''+(_0x4054c2+_0x506864)]=_0x4a29e4[_0x581ffd(0x30f)][_0x4054c2]),_0x4a29e4[_0x581ffd(0x1e8)][_0x4054c2]&&(_0x95cebc[''+(_0x4054c2+_0x413276)]=_0x4a29e4['headerMap'][_0x4054c2]);}const _0xa04a96=_0x58e393['getRowCount'](),_0x574645=_0x58e393[_0x581ffd(0x1f6)]();for(let _0x9bbf20=0x0;_0x9bbf20<_0xa04a96;_0x9bbf20++)for(let _0x4173aa=0x0;_0x4173aa<_0x574645;_0x4173aa++){const _0x219a8e={...(_0x52f613=(_0x249b0a=_0x58e393[_0x581ffd(0x235)])==null?void 0x0:_0x249b0a[_0x9bbf20])==null?void 0x0:_0x52f613[_0x4173aa]};let _0x1f3179;_0x4a29e4[_0x581ffd(0x30f)][_0x9bbf20][_0x581ffd(0x30b)]?_0x1f3179=_0x4a29e4[_0x581ffd(0x30f)][_0x9bbf20][_0x581ffd(0x2bf)]===0x0?fe[_0x581ffd(0x286)]:fe[_0x581ffd(0x123)]:_0x1f3179=fe[_0x581ffd(0x247)];const _0x4ae98a=_0x4a29e4[_0x581ffd(0x30f)][_0x9bbf20][_0x581ffd(0x2b4)],_0x52b989=_0x25ea38[_0x581ffd(0x30f)][_0x4173aa][_0x581ffd(0x2b4)],_0x2e0d2e=Math[_0x581ffd(0x224)](_0x4ae98a,_0x52b989),_0x290407=_0x27e201[_0x581ffd(0x2bd)][_0x581ffd(0x204)][_0x581ffd(0x164)]();let _0x1aceb0='';_0x2e0d2e<0x0?_0x1aceb0=(_0x2a8edf=_0x290407[0x0])!=null?_0x2a8edf:'':_0x1aceb0=(_0x2167b4=_0x290407[_0x2e0d2e])!=null?_0x2167b4:'';const _0x3ad41a=_0x46b803[_0x1aceb0];_0x3ad41a&&(_0x1f3179={..._0x1f3179,'n':{'pattern':_0x3ad41a}}),_0x239dbf[_0x581ffd(0x2d0)](_0x9bbf20+_0x506864,_0x4173aa+_0x5047c4,it(_0x4f86c6,_0x219a8e,_0x1f3179));}return{'valueMatrix':_0x239dbf,'rowInfo':_0x3a3d2c,'colInfo':_0x543220,'cornerInfo':_0x185522,'rowHeaderMap':_0x95cebc,'colHeaderMap':_0x3a9ff7};};function vt(_0xc9f0a3,_0x240176,_0x22f2a1,_0x53f18f){const _0xfe6f7e=_0x1675c1;let _0x2083c3=_0xc9f0a3['v'];_0x240176&&(_0x2083c3=''+_0x53f18f[_0xfe6f7e(0x30c)]);const _0x189eeb=_0xc9f0a3['t']&&(_0xc9f0a3['t']&_0x285a27[_0xfe6f7e(0x126)])>0x0;if(_0x189eeb&&(_0x2083c3=''+_0x53f18f['sheets-pivot.blank']),_0xc9f0a3['s']===_0x3f236f['Subtotal']){let _0x5f06de=_0x2083c3,_0x5f2123='';_0x5b47fa(_0x2083c3)&&(_0x5f06de=_0x2083c3[_0xfe6f7e(0x13c)],_0x5f2123=_0x2083c3[_0xfe6f7e(0x2cd)]);const _0x5d9a81=_0x22f2a1&&!_0x189eeb?_0x519cb6['format'](_0x22f2a1,Number(_0x5f06de)):_0x5f06de;_0x5f2123?_0x2083c3=_0x5d9a81+'\x20'+_0x5f2123:_0x2083c3=_0x5d9a81+'\x20'+_0x53f18f[_0xfe6f7e(0x2be)];}else _0xc9f0a3['s']===_0x3f236f[_0xfe6f7e(0xdc)]&&(_0x2083c3=_0x2083c3+'\x20'+_0x53f18f[_0xfe6f7e(0x1fb)]);return _0x2083c3;}function Lo(_0x48d612){const _0x5deb34=_0x1675c1;if(_0x4c370f(_0x48d612)){const {errorType:_0x238eed}=_0x48d612;switch(_0x238eed){case _0x397cf3['Div0']:return _0x406170['DIV_BY_ZERO'];case _0x397cf3[_0x5deb34(0x1a8)]:return _0x406170[_0x5deb34(0x146)];case _0x397cf3[_0x5deb34(0x225)]:return _0x406170[_0x5deb34(0x236)];case _0x397cf3[_0x5deb34(0x218)]:return _0x406170[_0x5deb34(0x236)];case _0x397cf3[_0x5deb34(0x193)]:return _0x406170[_0x5deb34(0x1cd)];}}return _0x48d612;}function ge(_0xcf9693,_0xc31aab,_0x1cee96=!0x1,_0x16fd65=!0x1){const _0x2fffe4=_0x1675c1,{data:_0x23716d}=_0xc31aab,_0x490b6a=_0xc31aab[_0x2fffe4(0x113)](),_0x228609=_0xc31aab['getColCount']();if(_0x490b6a<=0x0||_0x228609<=0x0)return[];const _0x413b11=_0xc31aab[_0x2fffe4(0x2d8)](),_0x55aa52=_0xc31aab[_0x2fffe4(0x2b1)](),_0x5c27d4=_0x16fd65?_0x55aa52>=0x0?_0x55aa52+0x1:0x0:_0x490b6a,_0x40fa98=_0x16fd65?_0x413b11>=0x0?_0x413b11+0x1:0x0:_0x228609,{row:_0x7bdb8a,col:_0x471870}=_0xcf9693,_0x26f753=_0x7bdb8a,_0xac090b=_0x471870;if(_0x1cee96){const _0x35aaf8=[];for(const [_0x20cff6,_0x5e5ee4]of Object[_0x2fffe4(0xa8)](_0x23716d))for(const [_0x10368a,_0x2eb9fb]of Object[_0x2fffe4(0xa8)](_0x5e5ee4))_0x35aaf8[_0x2fffe4(0x1a3)](_0x34e162(_0x26f753+Number(_0x20cff6),_0xac090b+Number(_0x10368a)));return _0x35aaf8;}else{const _0x46524d=_0x16fd65?_0x5c27d4>0x0?0x1:0x0:0x1,_0x5499cf=_0x16fd65?_0x40fa98>0x0?0x1:0x0:0x1,_0x244d44=_0x7bdb8a+_0x5c27d4-_0x46524d,_0x3976dd=_0x471870+_0x40fa98-_0x5499cf;return[{'startRow':_0x26f753,'startColumn':_0xac090b,'endRow':_0x244d44,'endColumn':_0x3976dd}];}}const H='SHEET_PIVOT_IN_MAIN_THREAD',Wt='SHEET_PIVOT_EXCLUSIVE_ID';var A=(_0x3518b9=>(_0x3518b9['Filter']=_0x1675c1(0x29a),_0x3518b9['Panel']=_0x1675c1(0x173),_0x3518b9[_0x1675c1(0x13e)]=_0x1675c1(0x2ec),_0x3518b9[_0x1675c1(0x208)]=_0x1675c1(0x208),_0x3518b9[_0x1675c1(0x21d)]='addPivotTable',_0x3518b9[_0x1675c1(0x1c9)]=_0x1675c1(0x2b0),_0x3518b9[_0x1675c1(0x301)]=_0x1675c1(0x10f),_0x3518b9[_0x1675c1(0x319)]=_0x1675c1(0x321),_0x3518b9['SetPivotFilter']=_0x1675c1(0xe6),_0x3518b9[_0x1675c1(0x184)]=_0x1675c1(0x1bb),_0x3518b9[_0x1675c1(0xd8)]='setPivotSetting',_0x3518b9[_0x1675c1(0x10a)]='updatePivotSource',_0x3518b9['UpdateValuePosition']=_0x1675c1(0x2dc),_0x3518b9[_0x1675c1(0x12d)]='drillDown',_0x3518b9[_0x1675c1(0xc3)]=_0x1675c1(0x2d7),_0x3518b9[_0x1675c1(0xef)]=_0x1675c1(0x176),_0x3518b9[_0x1675c1(0x306)]=_0x1675c1(0x1e7),_0x3518b9))(A||{});const yi={'sheets-pivot.blankValue':_0x1675c1(0x22c),'sheets-pivot.columnName':_0x1675c1(0x2fa),'sheets-pivot.subTotalText':_0x1675c1(0x1b9),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x1675c1(0x9c),'sheets-pivot.averageName':_0x1675c1(0xfe),'sheets-pivot.countName':_0x1675c1(0x197),'sheets-pivot.countNumsName':_0x1675c1(0x197),'sheets-pivot.maxName':_0x1675c1(0xab),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x1675c1(0xda),'sheets-pivot.stdDevName':_0x1675c1(0x1ff),'sheets-pivot.stdDevpName':_0x1675c1(0xbd),'sheets-pivot.sumName':_0x1675c1(0x315),'sheets-pivot.varName':_0x1675c1(0x200),'sheets-pivot.varpName':_0x1675c1(0x284),'sheets-pivot.subTotal':_0x1675c1(0x290),'sheets-pivot.grandTotal':_0x1675c1(0xc5),'sheets-pivot.value':_0x1675c1(0x2cd),'sheets-pivot.blank':_0x1675c1(0x126),'sheets-pivot.emptyPivot.filter':_0x1675c1(0x1aa),'sheets-pivot.emptyPivot.row':_0x1675c1(0x1e1),'sheets-pivot.emptyPivot.column':_0x1675c1(0x258),'sheets-pivot.emptyPivot.values':'Values'},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x29104c(_0x1675c1(0x2f3)),Go=_0x3fb09e(_0x1675c1(0x1b8));var ke=(_0x709242=>(_0x709242['add']=_0x1675c1(0x1a7),_0x709242['delete']=_0x1675c1(0x30d),_0x709242[_0x1675c1(0x160)]=_0x1675c1(0x160),_0x709242))(ke||{}),L=(_0x4db197=>(_0x4db197[_0x1675c1(0xa6)]=_0x1675c1(0x1a7),_0x4db197[_0x1675c1(0x2e2)]='set',_0x4db197[_0x1675c1(0x211)]='delete',_0x4db197))(L||{});const $o={0x0:'B',0x1:'m',0x2:'G',0x3:'F',0x4:'1',0x5:'I',0x6:'8',0x7:'c',0x8:'Y',0x9:'i','k':'0','X':'2','S':'3','M':'4','C':'5','o':'6','T':'7','i':'9','E':'a','q':'b','G':'d','D':'e','K':'f','U':'g','v':'h','x':'j','g':'k','w':'l','p':'n','B':'o','s':'p','N':'q','z':'r','W':'s','h':'t','l':'u','R':'v','u':'w','I':'x','O':'y','a':'z','L':'A','j':'C','b':'D','y':'E','Y':'H','t':'J','f':'K','c':'L','r':'M','m':'N','e':'O','d':'P','V':'Q','F':'R','H':'S','P':'T','Z':'U','J':'V','n':'W','Q':'X','A':'Z'},zo='Klp7h9Bp\x20GD7zOsh9Bp(w97DpWD,\x20slqw97fDO)\x20{\x20\x20\x20\x20hzO\x20{\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20w97DpWD5pKBdEzhLzzEO\x20=\x20w97DpWD.Wsw9h(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20Bz9U9prDWWEUD\x20=\x20tHem.sEzWD(EhBq(w97DpWD5pKBdEzhLzzEO[X]));\x20\x20\x20\x20\x20\x20\x20\x209K\x20(!Bz9U9prDWWEUD.lG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bz9U9prDWWEUD.lG\x20=\x20ml1qDz(w97DpWD5pKBdEzhLzzEO[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x209WnBzgDz\x20=\x20hOsDBK\x20nBzgDz2wBqEwH7BsD\x20!==\x20\x27lpGDK9pDG\x27\x20&&\x20WDwK\x209pWhEp7DBK\x20nBzgDz2wBqEwH7BsD;\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x207BphDIh\x20=\x209WnBzgDz\x20?\x20WDwK\x20:\x20u9pGBu;\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x201DWWEUDnBzG\x20=\x207BphDIh.__0EWDoM__.sEzWD(w97DpWD5pKBdEzhLzzEO[X]);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x201DWWEUD\x20=\x207BphDIh.__YDI__.Whz9pU9KO(1DWWEUDnBzG);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpEhlzDnBzG\x20=\x207BphDIh.__0EWDoM__.sEzWD(w97DpWD5pKBdEzhLzzEO[S]);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpEhlzD\x20=\x207BphDIh.__YDI__.Whz9pU9KO(W9UpEhlzDnBzG);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpJEw9G\x20=\x207BphDIh.__RDz9KO__(W9UpEhlzD,\x201DWWEUD,\x20slqw97fDO);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20GB1E9p\x20=\x20Bz9U9prDWWEUD.G1;\x20\x20\x20\x20\x20\x20\x20\x20Klp7h9Bp\x209WbB1E9prEh7v9pU(BdEhhDzp,\x20BYBWh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzp\x20=\x20BdEhhDzp.zDswE7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWh\x20=\x20BYBWh.zDswE7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzpdEzhW\x20=\x20sEhhDzp.Wsw9h(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWhdEzhW\x20=\x20vBWh.Wsw9h(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209K\x20(!sEhhDzp.9p7wlGDW(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20sEhhDzp\x20===\x20vBWh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209K\x20(sEhhDzpdEzhW.wDpUhv\x20<\x20X\x20||\x20sEhhDzpdEzhW[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20KEwWD;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzpHlKK9I\x20=\x20sEhhDzpdEzhW.Ww97D(4).xB9p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWhHlKK9I\x20=\x20vBWhdEzhW.Ww97D(-sEhhDzpdEzhW.wDpUhv\x20+\x204).xB9p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20sEhhDzpHlKK9I\x20===\x20vBWhHlKK9I;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wDh\x20GB1E9pJEw9G\x20=\x20(GB1E9p\x20&&\x20GB1E9p.wDpUhv)\x20?\x20GB1E9p.WB1D((G15hD1)\x20=>\x209WbB1E9prEh7v9pU(G15hD1,\x20wB7Eh9Bp.vBWhpE1D))\x20:\x20hzlD;\x20\x20\x20\x20\x20\x20\x20\x209K\x20(wB7Eh9Bp.vBWhpE1D\x20===\x20\x27wB7EwvBWh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GB1E9pJEw9G\x20=\x20hzlD;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20REw9G\x20=\x20W9UpJEw9G\x20&&\x20GB1E9pJEw9G;\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REw9G,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201DWWEUD:\x20Bz9U9prDWWEUD,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x207Eh7v\x20(DzzBz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REw9G:\x20KEwWD,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201DWWEUD:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',ro={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2e6),'handler':()=>!0x0},lo={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},Rt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x245),'handler':()=>!0x0},co={'type':_0x3fc5c3['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},uo={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2e7),'handler':()=>!0x0},wi=_0x43c8cd=>{const _0xd880e2=_0x1675c1;var _0xb7f7f2;return((_0xb7f7f2=_0x43c8cd[_0xd880e2(0x195)])==null?void 0x0:_0xb7f7f2['dataStream']['replace'](/\r\n$/,''))||'';};class _i extends _0x327c99{constructor(_0x7ce89,_0x459b08){const _0x290492=_0x1675c1;super(),U(this,'rangeKeyMap',{}),U(this,_0x290492(0x27f)),U(this,_0x290492(0x182)),(this['_univerInstanceService']=_0x459b08,this[_0x290492(0x182)]=_0x7ce89);}[_0x1675c1(0x116)](){const _0x15bb37=_0x1675c1;for(const _0x2f180b in this[_0x15bb37(0x1f2)]){const _0x2fa7b2=this[_0x15bb37(0x1f2)][_0x2f180b],_0x105dd0=_0x2fa7b2['getRangeKey']();this[_0x15bb37(0x11e)][_0x105dd0]=_0x2fa7b2[_0x15bb37(0xf5)]();}}[_0x1675c1(0x318)](){const _0x53b824=_0x1675c1,_0x348bda=this[_0x53b824(0x182)];return Vi[_0x53b824(0x1ef)](_0x348bda);}[_0x1675c1(0x137)](_0x178ad6){const _0x3de1f9=_0x1675c1,_0x457f40=this['dataFields'][_0x178ad6]['rangeKey'];delete this[_0x3de1f9(0x1f2)][_0x178ad6],delete this[_0x3de1f9(0x11e)][_0x457f40];}[_0x1675c1(0x282)](_0x24347d){const _0x16d72b=_0x1675c1;this[_0x16d72b(0x1f2)][_0x24347d[_0x16d72b(0xf5)]()]=_0x24347d;}[_0x1675c1(0x1a1)](_0x24053b){const _0x56883f=_0x1675c1;var _0x2f0952,_0x1cd25e;const _0x594e3f=this[_0x56883f(0x182)][_0x56883f(0x209)](_0x24053b);if(_0x594e3f){const {unitId:_0x2d5233,subUnitId:_0x393759}=_0x594e3f,_0x3d5550=(_0x2f0952=this[_0x56883f(0x182)][_0x56883f(0x14e)](_0x2d5233,_0x393759,_0x24053b))==null?void 0x0:_0x2f0952[_0x56883f(0xdb)];this[_0x56883f(0x182)][_0x56883f(0x1e0)]({'token':_0x24053b,'type':ke[_0x56883f(0x30d)],'dataRangeInfo':_0x3d5550});}(_0x1cd25e=this['getCollection'](_0x24053b))==null||_0x1cd25e[_0x56883f(0x239)](),delete this[_0x56883f(0x234)][_0x24053b];}[_0x1675c1(0x257)](_0x4bf6cf,_0x3341be){const {sheetName:_0x20f18b,unitId:_0x5b5386,range:_0x3e6baf}=_0x4bf6cf,{startRow:_0x79732c,endRow:_0x176af3}=_0x3e6baf;return _0x2b24e0(_0x5b5386,_0x20f18b,{'startRow':_0x79732c,'endRow':_0x176af3,'startColumn':_0x3341be,'endColumn':_0x3341be});}[_0x1675c1(0x1bc)](_0x2411db){return this['dataFields'][this['rangeKeyMap'][_0x2411db]];}['setRangeKeyMap'](_0x341b99,_0x12c292){this['rangeKeyMap'][_0x341b99]=_0x12c292;}[_0x1675c1(0x9b)](_0x4316df,_0x1ba2b0){const _0x30e9d9=_0x1675c1;this['rangeKeyMap'][_0x1ba2b0]=this[_0x30e9d9(0x11e)][_0x4316df],delete this['rangeKeyMap'][_0x4316df];}[_0x1675c1(0x105)](_0x3ba8d6,_0x2c76af,_0x213488,_0xb86706){const _0x2ef808=_0x1675c1,_0x4e9a6f=new _0x22be67(this);_0x4e9a6f[_0x2ef808(0x31f)](_0x2c76af);const _0x42f37b=[];let _0x151479=0x0;for(const _0x513304 of _0x4e9a6f[_0x2ef808(0x1e3)]){const _0x360624=this[_0x2ef808(0x257)](_0x213488,_0x151479),_0x1781e8=this[_0x2ef808(0x1f2)][_0x513304];_0x1781e8&&(_0x1781e8['rangeKey']=_0x360624,this['setRangeKeyMap'](_0x360624,_0x513304),_0x42f37b[_0x2ef808(0x1a3)]({'index':_0x151479,'dataField':_0x1781e8})),_0x151479++;}return this[_0x2ef808(0x100)](_0x3ba8d6,_0x4e9a6f,_0x213488,_0xb86706),{'collection':_0x4e9a6f,'updateDataFieldList':_0x42f37b};}[_0x1675c1(0x259)](_0x3c21f2,_0x3d74db){const _0x1f51eb=_0x1675c1;return _0x3c21f2[_0x1f51eb(0x293)]===_0x3153b7['COLUMN']?{'startRow':0x0,'startColumn':_0x3c21f2['startColumn'],'endRow':_0x3d74db[_0x1f51eb(0x113)]()-0x1,'endColumn':_0x3c21f2['endColumn']}:{'startRow':_0x3c21f2['startRow'],'startColumn':_0x3c21f2[_0x1f51eb(0x16d)],'endRow':_0x3c21f2[_0x1f51eb(0x138)],'endColumn':_0x3c21f2['endColumn']};}[_0x1675c1(0x1c0)](_0x23bec8){const _0x3cdc6d=_0x1675c1,{sheetName:_0x3e85e0,range:_0x3655d0}=_0x23bec8,_0x353dc2=this[_0x3cdc6d(0x27f)]['getCurrentUnitForType'](_0x34c5bf[_0x3cdc6d(0x1f3)]),_0x29abe8=_0x353dc2[_0x3cdc6d(0x1f8)](_0x3e85e0),_0x4f2739=_0x29abe8[_0x3cdc6d(0x13f)](),{startColumn:_0x59c299,startRow:_0x1f0879,endColumn:_0x227c4e}=this[_0x3cdc6d(0x259)](_0x3655d0,_0x29abe8),_0x36da2c=_0x353dc2['getStyles'](),_0x3f353f=new _0x22be67(this);_0x3f353f[_0x3cdc6d(0x2c8)](_0x23bec8);const _0x35f978=[],_0xb8eef0={};for(let _0x1eb2eb=_0x59c299;_0x1eb2eb<=_0x227c4e;_0x1eb2eb++){const _0x4a7b1b=_0x4f2739['getValue'](_0x1f0879,_0x1eb2eb),_0x4478cb=this[_0x3cdc6d(0x257)](_0x23bec8,_0x1eb2eb),_0x12d0ee=this[_0x3cdc6d(0x1bc)](_0x4478cb);if(_0x12d0ee)_0x3f353f[_0x3cdc6d(0x273)](_0x12d0ee[_0x3cdc6d(0xf5)](),_0x12d0ee[_0x3cdc6d(0xce)]());else{const _0x1af9d0=this[_0x3cdc6d(0x18c)]();let _0x2d7bef=this['adjustSheetCellData'](_0x4a7b1b,_0x36da2c,_0xb8eef0);_0x35e63e(_0x2d7bef)&&(_0x2d7bef=_0x519cb6['format'](_0x2d7bef['f'],Number(_0x2d7bef['v'])));const _0x346d94=this['uniqueDataFieldName'](_0x2d7bef,_0x1eb2eb),_0x1c06f6=new _0x21dd75(_0x1af9d0,_0x346d94,_0x248684(0x3));_0x1c06f6[_0x3cdc6d(0xb7)]=_0x4478cb,this[_0x3cdc6d(0x1f2)][_0x1af9d0]=_0x1c06f6,_0x3f353f['addField'](_0x1af9d0,_0x346d94),_0x35f978[_0x3cdc6d(0x1a3)]({'index':_0x1eb2eb,'dataField':_0x1c06f6});}}return{'updateDataFieldList':_0x35f978,'collection':_0x3f353f};}[_0x1675c1(0x2f8)](_0x4fda28){const _0x4fc901=_0x1675c1;return this['_host'][_0x4fc901(0x165)]()[_0x4fc901(0x2e5)]+'\x20'+_0x553a8c(_0x4fda28);}[_0x1675c1(0xc9)](_0x3c524a,_0x39796e){return _0x3c524a==null||_0x3c524a===''?this['_getAutoName'](_0x39796e):String(_0x3c524a);}[_0x1675c1(0x28b)](_0x39a8f9){const _0x2909ba=_0x1675c1;return this[_0x2909ba(0x234)][_0x39a8f9];}[_0x1675c1(0x100)](_0x4eb141,_0xe1423a,_0x2fab90,_0x1858d7){const _0x5a285b=_0x1675c1;this[_0x5a285b(0x234)][_0x4eb141]=_0xe1423a,_0xe1423a[_0x5a285b(0x2c8)](_0x2fab90),this[_0x5a285b(0x182)][_0x5a285b(0x1e0)]({'token':_0x4eb141,'type':ke[_0x5a285b(0x1a7)],'dataRangeInfo':_0x2fab90,'targetCellInfo':_0x1858d7});}['handleMoveRange'](_0x24b951,_0x4d0b83){const _0x2107fa=_0x1675c1,_0x288694=this['getCollection'](_0x24b951),_0x2d3055=_0x288694['getFieldIds']();let _0x418aea=0x0;for(const _0x116f21 of _0x2d3055){const _0x22ca3c=_0x288694['getFieldById'](_0x116f21),_0x4c334f=this['getRangeKey'](_0x4d0b83,_0x418aea);this[_0x2107fa(0x9b)](_0x22ca3c['rangeKey'],_0x4c334f),_0x418aea++;}}[_0x1675c1(0x296)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x8421f5,_0x1d45a4){const _0x159eb8=_0x1675c1;if(this['getCollection'](_0x8421f5)){const _0x18c2fe=this[_0x159eb8(0x12b)](_0x1d45a4),_0x41d386=[];for(const _0x1b173c of _0x18c2fe)this[_0x159eb8(0x11e)][_0x1b173c]!==void 0x0&&_0x41d386[_0x159eb8(0x1a3)](this[_0x159eb8(0x11e)][_0x1b173c]);const _0x5b8f45=this['getNoUsedDataFieldIds'](_0x8421f5),_0x498079=[],_0x265ef5=new Set(_0x41d386);for(const _0x506a9e of _0x5b8f45)_0x265ef5[_0x159eb8(0x1b4)](_0x506a9e)||_0x498079[_0x159eb8(0x1a3)](_0x506a9e);return _0x498079;}}['getMatrixValue'](_0x1f215b,_0x348f6a,_0x3a84dc,_0x17bbed,_0x45a0c0){const _0x28581d=_0x1675c1;return _0x348f6a&&_0x348f6a[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0)?_0x348f6a['getValue'](_0x17bbed,_0x45a0c0):_0x3a84dc&&_0x3a84dc[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0)?_0x3a84dc[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0):_0x1f215b[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0);}[_0x1675c1(0x20e)](_0x52b3d0,_0x2970d9,_0xae2b8a,_0x490fd7){const _0x13159e=_0x1675c1,_0x28000c=this[_0x13159e(0x1f2)][_0x52b3d0];if(!_0x28000c)return;const {subUnitId:_0xec2a64,range:_0x3962cf,unitId:_0x136adc}=_0x2970d9,_0x47f7fb=this[_0x13159e(0x27f)][_0x13159e(0x2aa)](_0x136adc);if(!_0x47f7fb){console[_0x13159e(0x108)](_0x13159e(0x1c2));return;}const _0x48cc14=_0x47f7fb[_0x13159e(0x2c0)](_0xec2a64),_0x3b8fda=_0x48cc14['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x405e21,unitDataMatrix:_0x3c19e0}=_0x490fd7||{},{startRow:_0x58dc26,startColumn:_0x327320,endRow:_0x464372}=this[_0x13159e(0x259)](_0x3962cf,_0x48cc14);_0x28000c['reset']();const _0xbc1d32=_0x47f7fb[_0x13159e(0x23f)](),_0x527b70={},_0x1255f3=this[_0x13159e(0x111)](_0x3b8fda,_0x405e21,_0x3c19e0,_0x58dc26,_0x327320+_0xae2b8a);let _0x14db72=this['adjustSheetCellData'](_0x1255f3,_0xbc1d32,_0x527b70);_0x35e63e(_0x14db72)&&(_0x14db72=_0x519cb6['format'](_0x14db72['f'],Number(_0x14db72['v'])));const _0x3ce503=this[_0x13159e(0xc9)](_0x14db72,_0x327320+_0xae2b8a);_0x28000c[_0x13159e(0xf1)](_0x3ce503);for(let _0x36e925=_0x58dc26+0x1;_0x36e925<=_0x464372;_0x36e925++){const _0x4741a8=this[_0x13159e(0x111)](_0x3b8fda,_0x405e21,_0x3c19e0,_0x36e925,_0x327320+_0xae2b8a);_0x28000c['addRecord'](this[_0x13159e(0xbe)](_0x4741a8,_0xbc1d32,_0x527b70),_0x36e925-0x1-_0x58dc26);}}[_0x1675c1(0x15d)](_0x4400c8,_0x3deb82,_0xefb3ca){const _0x37ef2f=_0x1675c1,{subUnitId:_0x4cede7,range:_0x4846e9,unitId:_0x2681fa}=_0xefb3ca,_0x49efc7=this['_univerInstanceService'][_0x37ef2f(0x2aa)](_0x2681fa);if(!_0x49efc7){console['error'](_0x37ef2f(0x1c2));return;}const _0x3985de=_0x49efc7[_0x37ef2f(0x2c0)](_0x4cede7),_0x35ea76=_0x3985de['getCellMatrix'](),{startRow:_0x37b7cd,startColumn:_0xeaad3c,endRow:_0x554cae}=this['getRangeStartEndInfo'](_0x4846e9,_0x3985de),_0x52d129=_0x49efc7[_0x37ef2f(0x23f)](),_0x295ae6={};for(const {dataField:_0x34e100,index:_0x391efc}of _0x3deb82){_0x34e100[_0x37ef2f(0x101)]();const _0x4ac026=this['getMatrixValue'](_0x35ea76,void 0x0,void 0x0,_0x37b7cd,_0xeaad3c+_0x391efc);let _0x58fec6=this[_0x37ef2f(0xbe)](_0x4ac026,_0x52d129,_0x295ae6);_0x35e63e(_0x58fec6)&&(_0x58fec6=_0x519cb6[_0x37ef2f(0x1dd)](_0x58fec6['f'],Number(_0x58fec6['v'])));const _0x11ae36=this[_0x37ef2f(0xc9)](_0x58fec6,_0xeaad3c+_0x391efc);_0x34e100[_0x37ef2f(0xf1)](_0x11ae36);}_0x4400c8[_0x37ef2f(0x31e)]();for(let _0x2bcc4a=_0x37b7cd+0x1;_0x2bcc4a<=_0x554cae;_0x2bcc4a++)for(const {index:_0xe9fb9b,dataField:_0x5c6335}of _0x3deb82){const _0x548f27=_0x35ea76['getValue'](_0x2bcc4a,_0xeaad3c+_0xe9fb9b);_0x5c6335[_0x37ef2f(0x270)](this[_0x37ef2f(0xbe)](_0x548f27,_0x52d129,_0x295ae6),_0x2bcc4a-0x1-_0x37b7cd);}_0x4400c8[_0x37ef2f(0xde)](_0x554cae-_0x37b7cd);}[_0x1675c1(0x12b)](_0x197335){const _0x43515d=_0x1675c1,{range:_0x4dc049}=_0x197335,{startColumn:_0x2c2b00,endColumn:_0x5de737}=_0x4dc049,_0x2bec3f=[];for(let _0x55f850=_0x2c2b00;_0x55f850<=_0x5de737;_0x55f850++)_0x2bec3f['push'](this[_0x43515d(0x257)](_0x197335,_0x55f850));return _0x2bec3f;}[_0x1675c1(0xbe)](_0x3641bf,_0x4ee080,_0x10993b){const _0x565a68=_0x1675c1;if(_0x3641bf){const {s:_0x42b9a4,v:_0x9fa0ce,t:_0x40e821,p:_0x5c9d34}=_0x3641bf;if(_0x5c9d34)return wi(_0x5c9d34);const _0x124a69=_0x4ee080[_0x565a68(0x2e9)](_0x42b9a4);if(_0x124a69&&_0x40e821===_0x5ee6bb[_0x565a68(0x192)]&&_0x124a69['n']){const {pattern:_0x269241}=_0x124a69['n'];_0x10993b[_0x269241]||(_0x10993b[_0x269241]=_0x519cb6[_0x565a68(0x207)](_0x269241));const _0x4b2aae=_0x10993b[_0x269241],_0x16edc0=_0x4b2aae[_0x565a68(0x18a)];if(_0x4b2aae['isText'])return String(_0x9fa0ce);if(_0x16edc0)return{'v':_0x9fa0ce,'f':_0x269241};}if(_0x40e821===_0x5ee6bb[_0x565a68(0x192)])return Number(_0x9fa0ce);if(_0x40e821===_0x5ee6bb[_0x565a68(0x310)]||_0x40e821===_0x5ee6bb[_0x565a68(0x159)])return String(_0x9fa0ce);if(_0x40e821===void 0x0){const _0x51a737=Number(_0x9fa0ce);if(!Number[_0x565a68(0x213)](_0x51a737)&&String(_0x51a737)===_0x9fa0ce)return _0x51a737;}return _0x9fa0ce!=null?_0x9fa0ce:null;}else return null;}[_0x1675c1(0x281)](_0x19a610){const _0x2abed9=_0x1675c1,{sheetName:_0x273750,range:_0x4cbca1,unitId:_0x59a196}=_0x19a610,_0x1ce081=this[_0x2abed9(0x27f)]['getUnit'](_0x59a196);if(!_0x1ce081)return console['error'](_0x2abed9(0x1c2)),{'header':[],'data':[]};const _0x3172ca=_0x1ce081[_0x2abed9(0x1f8)](_0x273750),_0x593cf7=_0x3172ca[_0x2abed9(0x13f)](),{startRow:_0xd09cee,startColumn:_0x100505,endRow:_0x5986ca,endColumn:_0x427a7c}=this['getRangeStartEndInfo'](_0x4cbca1,_0x3172ca),_0x5c38c3=_0x1ce081['getStyles'](),_0xa9cc7c=[],_0x32a647=[],_0x449060={};for(let _0x375078=_0xd09cee;_0x375078<=_0x5986ca;_0x375078++){const _0x15b4c8=[];for(let _0x1b01be=_0x100505;_0x1b01be<=_0x427a7c;_0x1b01be++){const _0x4e2058=_0x593cf7['getValue'](_0x375078,_0x1b01be);_0x375078===_0xd09cee?_0xa9cc7c[_0x2abed9(0x1a3)](_0x4e2058==null?null:String(_0x4e2058['v'])):_0x15b4c8[_0x2abed9(0x1a3)](this[_0x2abed9(0xbe)](_0x4e2058,_0x5c38c3,_0x449060));}_0x32a647[_0x2abed9(0x1a3)](_0x15b4c8);}return{'header':_0xa9cc7c,'data':_0x32a647};}[_0x1675c1(0x132)](){const _0x25bfaa=_0x1675c1;return super[_0x25bfaa(0x132)]();}['fromJSON'](_0x33bf86){const _0x56eb0f=_0x1675c1;super['fromJSON'](_0x33bf86),this[_0x56eb0f(0x116)]();}[_0x1675c1(0x239)](){const _0x45b2e9=_0x1675c1;super[_0x45b2e9(0x239)](),this[_0x45b2e9(0x11e)]={},this[_0x45b2e9(0x182)]=null;}}const Fi=_0x5f17a8=>{const _0x1e22c3=_0x1675c1,{targetCellInfo:_0x46b972}=_0x5f17a8,{matrixCache:_0x5d3aa3,rangesCache:_0x836e1c}=Jo({'filter':_0x1e22c3(0x1aa),'row':'Row','column':'Column','values':_0x1e22c3(0x287)},_0x46b972),_0x462a05=new _0x1d8f59();return _0x5d3aa3['forValue']((_0x386ad2,_0x909149,_0x520c9e)=>{const _0x2cf135=_0x1e22c3;_0x462a05[_0x2cf135(0x2d0)](_0x386ad2,_0x909149,_0x520c9e);}),{'matrix':_0x462a05,'rangesCache':_0x836e1c};},st=_0x5bf8aa=>{const _0x5bae00=_0x1675c1;let _0x20b094;if(_0x5bf8aa!=null&&_0x5bf8aa['v']||(_0x5bf8aa==null?void 0x0:_0x5bf8aa['v'])===0x0){_0x20b094||(_0x20b094={});const _0x4e9a7e=Lo(_0x5bf8aa['v']);typeof _0x4e9a7e=='number'?_0x20b094['t']=_0x5ee6bb[_0x5bae00(0x192)]:typeof _0x4e9a7e==_0x5bae00(0x25c)&&(_0x20b094['t']=_0x5ee6bb[_0x5bae00(0x310)]),_0x20b094['v']=_0x4e9a7e;}return _0x20b094;},Di=(_0x2c8001,_0x2dfcd1,_0x109a38)=>{const _0x7d25d1=_0x1675c1;var _0x47cbcc,_0x1edf43,_0x4043dd,_0x202658,_0x3ceecf,_0x323b1b,_0x1259ec,_0x41e31c,_0x4fd08a,_0x35df84,_0x19d609,_0x2795a0;const {cornerView:_0x4526a0,rowView:_0x4c64b0,colView:_0x4d8d25,dataView:_0x82454b,pageView:_0x1d3013,formatMap:_0x5bc271}=_0x2c8001,{row:_0x3814ab,col:_0x2742c8}=_0x2dfcd1,_0x684f3b=new _0x1d8f59();let _0x3044cb=_0x3814ab,_0x309ff0=_0x2742c8;Object[_0x7d25d1(0x121)](_0x1d3013[_0x7d25d1(0x235)])['forEach'](_0x48ec33=>{const _0x460088=_0x7d25d1;Object['keys'](_0x1d3013[_0x460088(0x235)][Number(_0x48ec33)])[_0x460088(0x2ef)](_0x55ac22=>{const _0x4b0cd0=_0x460088,_0x41d83f={..._0x1d3013[_0x4b0cd0(0x235)][Number(_0x48ec33)][Number(_0x55ac22)]};_0x684f3b[_0x4b0cd0(0x2d0)](Number(_0x48ec33)+_0x3044cb,Number(_0x55ac22)+_0x309ff0,st(_0x41d83f));});});const _0x3536b3=Object['keys'](_0x1d3013[_0x7d25d1(0x235)])['length'];_0x3044cb+=_0x3536b3+(_0x3536b3?It:0x0);const _0x512674=_0x4526a0[_0x7d25d1(0x113)](),_0x3d86cf=_0x4526a0[_0x7d25d1(0x1f6)]();for(let _0x7b91b9=0x0;_0x7b91b9<_0x512674;_0x7b91b9++)for(let _0x2554c9=0x0;_0x2554c9<_0x3d86cf;_0x2554c9++){const _0x3121ac={...(_0x1edf43=(_0x47cbcc=_0x4526a0['data'])==null?void 0x0:_0x47cbcc[_0x7b91b9])==null?void 0x0:_0x1edf43[_0x2554c9]};_0x3121ac&&((_0x4043dd=_0x4c64b0['headerMap'][_0x2554c9])!=null&&_0x4043dd[_0x7d25d1(0x2cf)])&&_0x2554c9===_0x3d86cf-0x1&&_0x7b91b9===_0x512674-0x1&&(_0x3121ac['v']=''+_0x109a38['sheets-pivot.value']),_0x684f3b[_0x7d25d1(0x2d0)](_0x7b91b9+_0x3044cb,_0x2554c9+_0x309ff0,st(_0x3121ac));}_0x309ff0+=_0x3d86cf;const _0x78d872=_0x4d8d25['headerMap'],_0x136a4e=_0x4d8d25[_0x7d25d1(0x2b1)]()>=0x0?_0x4d8d25[_0x7d25d1(0x2b1)]()+0x1:0x0,_0x18f1dc=_0x4d8d25[_0x7d25d1(0x2d8)]()>=0x0?_0x4d8d25['getLastCol']()+0x1:0x0;for(let _0x13b3e9=0x0;_0x13b3e9<_0x18f1dc;_0x13b3e9++)for(let _0x2768b8=0x0;_0x2768b8<_0x136a4e;_0x2768b8++){const _0x1325a2={...(_0x3ceecf=(_0x202658=_0x4d8d25[_0x7d25d1(0x235)])==null?void 0x0:_0x202658[_0x13b3e9])==null?void 0x0:_0x3ceecf[_0x2768b8]},_0x58249e=(_0x323b1b=_0x78d872[_0x13b3e9])==null?void 0x0:_0x323b1b[_0x7d25d1(0x1e6)],_0x1154e9=_0x5bc271[_0x58249e];_0x1325a2&&(_0x1325a2['v']=vt(_0x1325a2,_0x13b3e9===0x0&&((_0x1259ec=_0x4d8d25[_0x7d25d1(0x272)](_0x2768b8+0x1))==null?void 0x0:_0x1259ec[_0x7d25d1(0x2cf)]),_0x1154e9,_0x109a38)),_0x684f3b[_0x7d25d1(0x2d0)](_0x13b3e9+_0x3044cb,_0x2768b8+_0x309ff0,st(_0x1325a2));}_0x3044cb+=_0x512674;const _0x58f860=_0x4c64b0['headerMap'],_0xce7a27=_0x4c64b0[_0x7d25d1(0x2b1)]()>=0x0?_0x4c64b0['getLastRow']()+0x1:0x0,_0x2ed947=_0x4c64b0[_0x7d25d1(0x2d8)]()>=0x0?_0x4c64b0['getLastCol']()+0x1:0x0;for(let _0x513b4d=0x0;_0x513b4d<_0xce7a27;_0x513b4d++)for(let _0x27f794=0x0;_0x27f794<_0x2ed947;_0x27f794++){const _0x532167={...(_0x4fd08a=(_0x41e31c=_0x4c64b0['data'])==null?void 0x0:_0x41e31c[_0x513b4d])==null?void 0x0:_0x4fd08a[_0x27f794]},_0x3dcca2=(_0x35df84=_0x58f860[_0x27f794])==null?void 0x0:_0x35df84['tableFieldId'],_0x46ec18=_0x5bc271[_0x3dcca2];_0x532167&&(_0x532167['v']=vt(_0x532167,!0x1,_0x46ec18,_0x109a38)),_0x684f3b[_0x7d25d1(0x2d0)](_0x513b4d+_0x3044cb,_0x27f794+_0x2742c8,st(_0x532167));}const _0x49c6b2=_0x82454b[_0x7d25d1(0x113)](),_0x4c6bdc=_0x82454b[_0x7d25d1(0x1f6)]();for(let _0x4b0ce0=0x0;_0x4b0ce0<_0x49c6b2;_0x4b0ce0++)for(let _0x3c978b=0x0;_0x3c978b<_0x4c6bdc;_0x3c978b++){const _0x5c8b92={...(_0x2795a0=(_0x19d609=_0x82454b['data'])==null?void 0x0:_0x19d609[_0x4b0ce0])==null?void 0x0:_0x2795a0[_0x3c978b]};_0x684f3b[_0x7d25d1(0x2d0)](_0x4b0ce0+_0x3044cb,_0x3c978b+_0x309ff0,st(_0x5c8b92));}return _0x684f3b;},Ri=_0x41de5c=>{const _0x1c1b9d=_0x1675c1,{view:_0x2fd761,targetCellInfo:_0x23c5ca,isEmpty:_0xe88363,textInfo:_0x20d114}=_0x41de5c;if(_0xe88363)return Fi(_0x41de5c);const {pageView:_0x5d56c7,cornerView:_0x5b221a,rowView:_0x1b9d46,colView:_0x374ef1,dataView:_0xb2293a}=_0x2fd761,_0x121543=ge(_0x23c5ca,_0x5d56c7,!0x0),_0x398298=_0x5d56c7[_0x1c1b9d(0x2b5)]>=0x0?_0x5d56c7[_0x1c1b9d(0x2b5)]+0x1:0x0,_0x4d49f7=_0x5b221a[_0x1c1b9d(0x113)](),_0x52b944=_0x5b221a[_0x1c1b9d(0x1f6)](),_0x5e0944=_0x121543[_0x1c1b9d(0xff)]>0x0?It:0x0,_0x470f1a=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944,'col':_0x23c5ca[_0x1c1b9d(0x1d6)]},_0x5b221a,!0x1,!0x1),_0xd7c0e2=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944+_0x4d49f7,'col':_0x23c5ca['col']},_0x1b9d46,!0x1,!0x0),_0x1de941=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944,'col':_0x23c5ca[_0x1c1b9d(0x1d6)]+_0x52b944},_0x374ef1,!0x1,!0x0),_0x3b3986=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944+_0x4d49f7,'col':_0x23c5ca[_0x1c1b9d(0x1d6)]+_0x52b944},_0xb2293a,!0x1,!0x1),_0x28e251={'rowRanges':_0xd7c0e2,'colRanges':_0x1de941,'cornerRanges':_0x470f1a,'dataRanges':_0x3b3986,'pageRanges':_0x121543};return{'matrix':Di(_0x2fd761,_0x23c5ca,_0x20d114),'rangesCache':_0x28e251};};var Ni=Object[_0x1675c1(0xd3)],Ei=(_0x56725f,_0x477b16,_0x33b153,_0x1a726f)=>{const _0x4d3818=_0x1675c1;for(var _0x437e6c=_0x1a726f>0x1?void 0x0:_0x1a726f?Ni(_0x477b16,_0x33b153):_0x477b16,_0x2aa705=_0x56725f[_0x4d3818(0xff)]-0x1,_0x5ccd1f;_0x2aa705>=0x0;_0x2aa705--)(_0x5ccd1f=_0x56725f[_0x2aa705])&&(_0x437e6c=_0x5ccd1f(_0x437e6c)||_0x437e6c);return _0x437e6c;},je=(_0x8f43cd,_0x4ee066)=>(_0x36e6cd,_0x30705f)=>_0x4ee066(_0x36e6cd,_0x30705f,_0x8f43cd);let G=class extends _0x5334b7{constructor(_0x44c818,_0xfadc14,_0x2670fd,_0x19f31b,_0xd4e530,_0x22d741){const _0x593c54=_0x1675c1;super(),U(this,_0x593c54(0x21a),new Map()),U(this,_0x593c54(0x276),new Map()),U(this,_0x593c54(0x2a2),new Map()),U(this,_0x593c54(0x1a6)),U(this,'_collectionChange$',new _0x265f85()),U(this,_0x593c54(0x19a),this['_collectionChange$'][_0x593c54(0x206)]()),U(this,'_viewData$',new _0x265f85()),U(this,_0x593c54(0x212),this[_0x593c54(0x22f)]['asObservable']()),U(this,_0x593c54(0x29c),new _0x265f85()),U(this,_0x593c54(0x16c),this[_0x593c54(0x29c)][_0x593c54(0x206)]()),U(this,_0x593c54(0x110),new Map()),U(this,_0x593c54(0x15b),[]),U(this,_0x593c54(0xaf),new Map()),(this[_0x593c54(0x312)]=_0x44c818,this[_0x593c54(0x27f)]=_0xfadc14,this[_0x593c54(0x1e5)]=_0x2670fd,this[_0x593c54(0x17a)]=_0x19f31b,this[_0x593c54(0x25d)]=_0xd4e530,this[_0x593c54(0xcb)]=_0x22d741,this[_0x593c54(0x11b)]());}[_0x1675c1(0x165)](){const _0x3e7396=_0x1675c1;return this['_textInfo']?this[_0x3e7396(0x1a6)]:yi;}[_0x1675c1(0x261)](_0x4fc054){const _0x515962=_0x1675c1;this[_0x515962(0x1a6)]=_0x4fc054;}[_0x1675c1(0xa9)](_0x468ca4){const _0x540b62=_0x1675c1;var _0x3c0b29;const {from:_0x599009,to:_0xcaf496,unitId:_0x16edb9,fromRange:_0x4c72e8,toRange:_0x34153}=_0x468ca4;if(_0x599009&&_0xcaf496){const _0x40ad3e=this[_0x540b62(0x23a)](_0x16edb9),_0x155828=this[_0x540b62(0x21a)][_0x540b62(0x2e9)](_0x16edb9),_0x2b4b1c=(_0x3c0b29=this['_univerInstanceService']['getUnit'](_0x16edb9))==null?void 0x0:_0x3c0b29[_0x540b62(0x2c0)](_0xcaf496['subUnitId']);if(!_0x155828||!_0x2b4b1c)return;const _0x3cb663=_0x2b4b1c==null?void 0x0:_0x2b4b1c[_0x540b62(0xce)]();for(const [_0x1969a9,_0x4442ee]of _0x155828[_0x540b62(0xa8)]())for(const [_0xb1878b,_0x5c3a0e]of _0x4442ee[_0x540b62(0xa8)]()){const {sourceRangeInfo:_0x1f0d09}=_0x5c3a0e;if(_0x1f0d09[_0x540b62(0x167)]===_0x16edb9&&_0x1f0d09[_0x540b62(0x20b)]===_0x599009[_0x540b62(0x20b)]&&_0x351caf[_0x540b62(0x1af)](_0x4c72e8,_0x1f0d09[_0x540b62(0x27c)])){const _0x287774={'row':_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x21c)]-_0x4c72e8[_0x540b62(0x21c)],'col':_0x1f0d09['range'][_0x540b62(0x16d)]-_0x4c72e8['startColumn']},_0x4497f9={'unitId':_0x16edb9,'subUnitId':_0xcaf496[_0x540b62(0x20b)],'sheetName':_0x3cb663,'range':{'startRow':_0x34153[_0x540b62(0x21c)]+_0x287774[_0x540b62(0xcd)],'endRow':_0x34153[_0x540b62(0x21c)]+_0x287774[_0x540b62(0xcd)]+_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x138)]-_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x21c)],'startColumn':_0x34153[_0x540b62(0x16d)]+_0x287774[_0x540b62(0x1d6)],'endColumn':_0x34153[_0x540b62(0x16d)]+_0x287774[_0x540b62(0x1d6)]+_0x1f0d09['range']['endColumn']-_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x16d)]}};_0x40ad3e['handleMoveRange'](_0xb1878b,_0x4497f9);const _0x50d582={..._0x5c3a0e,'sourceRangeInfo':_0x4497f9};this[_0x540b62(0x2c2)](_0x16edb9,_0xcaf496[_0x540b62(0x20b)],_0xb1878b,_0x50d582),this[_0x540b62(0x1e0)]({'unitId':_0x16edb9,'token':_0xb1878b,'type':ke[_0x540b62(0x160)],'oldSourceRangeInfo':_0x1f0d09,'dataRangeInfo':_0x4497f9,'targetCellInfo':_0x5c3a0e[_0x540b62(0xb1)]}),this[_0x540b62(0x14b)]({'unitId':_0x16edb9,'subUnitId':_0xcaf496['subUnitId'],'oldSubUnitId':_0x1969a9,'pivotTableId':_0xb1878b,'pivotTableConfig':_0x50d582,'collectionConfig':_0x40ad3e[_0x540b62(0x132)]()});}}}}[_0x1675c1(0x1e0)](_0x38870e){const _0x32cdc9=_0x1675c1;this[_0x32cdc9(0x266)][_0x32cdc9(0x294)](_0x38870e);}[_0x1675c1(0x23a)](_0x24788b){const _0x1d4da8=_0x1675c1;let _0xcc1b47=this[_0x1d4da8(0x110)][_0x1d4da8(0x2e9)](_0x24788b);return _0xcc1b47||(_0xcc1b47=new _i(this,this[_0x1d4da8(0x27f)]),this[_0x1d4da8(0x110)]['set'](_0x24788b,_0xcc1b47)),_0xcc1b47;}[_0x1675c1(0x28b)](_0x5ab532,_0x20abc2){return this['getDataFieldManager'](_0x5ab532)['collections'][_0x20abc2];}[_0x1675c1(0x25a)](_0x303843,_0x59e307,_0x120599){const _0x1b9b64=_0x1675c1;return this['getDataFieldManager'](_0x303843)[_0x1b9b64(0x25a)](_0x59e307,_0x120599);}[_0x1675c1(0x288)](_0x2f74fe,_0x34fefe){const _0x16051a=_0x1675c1;let _0x1efc18=this[_0x16051a(0x21a)][_0x16051a(0x2e9)](_0x2f74fe);_0x1efc18||(_0x1efc18=new Map(),this[_0x16051a(0x21a)]['set'](_0x2f74fe,_0x1efc18));let _0x3bff3b=_0x1efc18[_0x16051a(0x2e9)](_0x34fefe);return _0x3bff3b||(_0x3bff3b=new Map(),_0x1efc18[_0x16051a(0x21f)](_0x34fefe,_0x3bff3b)),_0x3bff3b;}[_0x1675c1(0x2c2)](_0x32d912,_0x224326,_0x39b427,_0x5b9e6e){const _0x1a1ec5=_0x1675c1;this[_0x1a1ec5(0x288)](_0x32d912,_0x224326)['set'](_0x39b427,_0x5b9e6e);}[_0x1675c1(0xe2)](_0x4638fc,_0x15d3de,_0x1857be){const _0x198b8b=_0x1675c1;var _0x1ce5d3,_0x4a5b88,_0x1e18e1,_0x4b3e9f;((_0x4a5b88=(_0x1ce5d3=this[_0x198b8b(0x21a)][_0x198b8b(0x2e9)](_0x4638fc))==null?void 0x0:_0x1ce5d3[_0x198b8b(0x2e9)](_0x15d3de))==null?void 0x0:_0x4a5b88['get'](_0x1857be))&&((_0x4b3e9f=(_0x1e18e1=this['_model'][_0x198b8b(0x2e9)](_0x4638fc))==null?void 0x0:_0x1e18e1[_0x198b8b(0x2e9)](_0x15d3de))==null||_0x4b3e9f[_0x198b8b(0x30d)](_0x1857be));}[_0x1675c1(0x291)](_0x1ce1f6,_0x4ef52b){const _0x1e02ac=_0x1675c1;this[_0x1e02ac(0x276)][_0x1e02ac(0x21f)](_0x1ce1f6,_0x4ef52b);}[_0x1675c1(0x28a)](_0x2da47d){const _0x585b94=_0x1675c1;this[_0x585b94(0x276)][_0x585b94(0x30d)](_0x2da47d);}[_0x1675c1(0x114)](_0x4f8199,_0x2a7f99){const _0x5caa4a=_0x1675c1;let _0xb7afc=this[_0x5caa4a(0x2a2)]['get'](_0x4f8199);_0xb7afc||(_0xb7afc=new Map(),this['_viewData'][_0x5caa4a(0x21f)](_0x4f8199,_0xb7afc));let _0xa83c15=_0xb7afc[_0x5caa4a(0x2e9)](_0x2a7f99);return _0xa83c15||(_0xa83c15=new Map(),_0xb7afc[_0x5caa4a(0x21f)](_0x2a7f99,_0xa83c15)),_0xa83c15;}[_0x1675c1(0x14b)](_0x3d5aa0){const _0x2e0015=_0x1675c1,{unitId:_0x3c274f,subUnitId:_0x1bf0cd,pivotTableId:_0x274644,pivotTableConfig:_0x319fb0,collectionConfig:_0x5ee17b}=_0x3d5aa0,_0x19218e={'unitId':_0x3c274f,'subUnitId':_0x1bf0cd,'oldSubUnitId':_0x1bf0cd,'pivotTableId':_0x274644,'pivotTableConfig':_0x319fb0,'collectionConfig':_0x5ee17b};this[_0x2e0015(0x25d)][_0x2e0015(0x2e1)](co['id'],_0x19218e,{'onlyLocal':!0x0});}[_0x1675c1(0x174)](_0x20aafb,_0x5f1e72,_0x7c3ba5,_0x11a55b,_0x20889f,_0x706e85,_0x4f9942,_0x306ca2=!0x1){const _0x25d140=_0x1675c1;var _0x356024;this['_commandService'][_0x25d140(0x2e1)](Rt['id'],{'single':{'unitId':_0x20aafb,'subUnitId':_0x5f1e72,'type':_0x7c3ba5,'pivotTableId':_0x11a55b,'view':_0x20889f,'pivotConfig':_0x706e85},'collectionConfig':{[_0x20aafb]:_0x4f9942}},{'onlyLocal':!0x0});const _0x52422c=!!((_0x356024=this['getPivotTableInstance'](_0x11a55b))!=null&&_0x356024[_0x25d140(0x22a)]()),_0x2260c4=this['getPivotTableConfig'](_0x20aafb,_0x5f1e72,_0x11a55b);_0x2260c4&&this[_0x25d140(0x219)]({'view':_0x20889f,'pivotTableId':_0x11a55b,'textInfo':this[_0x25d140(0x165)](),'isEmpty':_0x52422c,'targetCellInfo':_0x2260c4['targetCellInfo']},_0x306ca2);}[_0x1675c1(0x219)](_0x2fb939,_0x32dbd7){const _0x56126b=_0x1675c1,{targetCellInfo:_0x5a70d2,pivotTableId:_0x3b65b2}=_0x2fb939,{unitId:_0x3e56fa,subUnitId:_0x2e58a4}=_0x5a70d2,_0x1ce35c=this['_ensureViewDataMap'](_0x3e56fa,_0x2e58a4),_0x2f8c4f=_0x1ce35c['get'](_0x3b65b2);let _0x523a3d,_0x5cf1c6;_0x2f8c4f&&(_0x523a3d=_0x2f8c4f[_0x56126b(0x23b)],_0x5cf1c6=_0x2f8c4f[_0x56126b(0x187)]);const {rangesCache:_0x4190b6,matrix:_0x1c71ff}=Ri(_0x2fb939);_0x1ce35c['set'](_0x3b65b2,{'rangeCache':_0x4190b6,'matrix':_0x1c71ff,'oldMatrix':_0x5cf1c6,'oldRangeCache':_0x523a3d}),_0x32dbd7||this[_0x56126b(0x22f)][_0x56126b(0x294)]({'unitId':_0x3e56fa,'subUnitId':_0x2e58a4,'pivotTableId':_0x3b65b2});}[_0x1675c1(0x199)](_0x34e222,_0x50dd0f,_0x4384fa,_0x5d725f,_0x580836){const _0x1a54eb=_0x1675c1;this['_updateModelCache'](_0x34e222,_0x50dd0f,_0x4384fa,_0x580836),this[_0x1a54eb(0x291)](_0x4384fa,_0x5d725f);}[_0x1675c1(0x2ed)](_0xfb2047,_0x4adcba,_0x3779be){const _0x21ca37=_0x1675c1,_0x21d70e=this[_0x21ca37(0x23a)](_0xfb2047);_0x21d70e['getNoUsedDataFieldIds'](_0x3779be)['forEach'](_0x4243eb=>{const _0x891cb1=_0x21ca37;_0x21d70e[_0x891cb1(0x137)](_0x4243eb);}),this[_0x21ca37(0x244)](_0xfb2047,_0x3779be),this[_0x21ca37(0xe2)](_0xfb2047,_0x4adcba,_0x3779be),this[_0x21ca37(0x28a)](_0x3779be);}['setPivotTable'](_0xb42418,_0x971178,_0x2090f3,_0x1acde2){const _0x1aacae=_0x1675c1;this[_0x1aacae(0x2c2)](_0xb42418,_0x971178,_0x2090f3,_0x1acde2);}[_0x1675c1(0x14e)](_0x543cd3,_0x7ceb01,_0x545c60){const _0x597ff8=_0x1675c1;var _0x119c53,_0x213f70;const _0x3a32c7=(_0x213f70=(_0x119c53=this[_0x597ff8(0x21a)][_0x597ff8(0x2e9)](_0x543cd3))==null?void 0x0:_0x119c53['get'](_0x7ceb01))==null?void 0x0:_0x213f70[_0x597ff8(0x2e9)](_0x545c60);if(_0x3a32c7)return _0x3a32c7;}[_0x1675c1(0x30e)](_0x4bed44,_0x191998,_0x4547fa){const _0x59a499=_0x1675c1;var _0x2a4241,_0x541658;const _0x4ec4f7=(_0x541658=(_0x2a4241=this['_model']['get'](_0x4bed44))==null?void 0x0:_0x2a4241[_0x59a499(0x2e9)](_0x191998))==null?void 0x0:_0x541658[_0x59a499(0x2e9)](_0x4547fa);if(_0x4ec4f7)return _0x4ec4f7[_0x59a499(0x2bd)];}[_0x1675c1(0x220)](_0x1f3f05){const _0x15e2d2=_0x1675c1;return this[_0x15e2d2(0x276)]['get'](_0x1f3f05);}[_0x1675c1(0x161)](_0x585fa9){const _0x3dfaa3=_0x1675c1;this[_0x3dfaa3(0x21a)][_0x3dfaa3(0x30d)](_0x585fa9);const _0x432798=this[_0x3dfaa3(0x110)]['get'](_0x585fa9);_0x432798&&(_0x432798[_0x3dfaa3(0x239)](),this[_0x3dfaa3(0x110)]['delete'](_0x585fa9)),this[_0x3dfaa3(0x2a2)][_0x3dfaa3(0x30d)](_0x585fa9),this[_0x3dfaa3(0x15b)]['forEach'](_0x45597e=>{_0x45597e['deleteUnitId'](_0x585fa9);});}[_0x1675c1(0x105)](_0x2dcea5,_0x5a1381,_0x33c941,_0x51f576){const _0x479399=_0x1675c1;return this[_0x479399(0x23a)](_0x33c941[_0x479399(0x167)])['addCollectionByJSON'](_0x2dcea5,_0x5a1381,_0x33c941,_0x51f576);}[_0x1675c1(0x1c0)](_0x4bb35d){const _0x41b676=_0x1675c1;return this[_0x41b676(0x23a)](_0x4bb35d[_0x41b676(0x167)])[_0x41b676(0x1c0)](_0x4bb35d);}['refreshData'](_0x22aecf,_0x205acc,_0x4c6cd4){const _0x21eb64=_0x1675c1;this['getDataFieldManager'](_0x4c6cd4[_0x21eb64(0x167)])[_0x21eb64(0x15d)](_0x22aecf,_0x205acc,_0x4c6cd4);}[_0x1675c1(0x279)](_0x587ff6,_0x1a6152){const _0x598a06=_0x1675c1;this[_0x598a06(0x23a)](_0x587ff6)[_0x598a06(0x137)](_0x1a6152);}[_0x1675c1(0x244)](_0x1bfa04,_0x5eb07a){const _0x790988=_0x1675c1;this[_0x790988(0x23a)](_0x1bfa04)['removeCollectionImp'](_0x5eb07a);}[_0x1675c1(0x106)](_0x380446,_0x132e29){const _0x2062dc=_0x1675c1;var _0x4c8640;return(_0x4c8640=this[_0x2062dc(0x21a)][_0x2062dc(0x2e9)](_0x380446))==null?void 0x0:_0x4c8640[_0x2062dc(0x2e9)](_0x132e29);}[_0x1675c1(0x209)](_0xb08245){const _0x208b35=_0x1675c1;for(const [_0x3b58c5,_0xf7d18a]of this[_0x208b35(0x21a)][_0x208b35(0xa8)]())for(const [_0x116d3e,_0x268cc8]of _0xf7d18a[_0x208b35(0xa8)]())if(_0x268cc8['has'](_0xb08245))return{'unitId':_0x3b58c5,'subUnitId':_0x116d3e};return null;}[_0x1675c1(0x181)](_0x3507d2,_0x5034d3,_0x1c9005,_0x23d379){const _0x1e77c4=_0x1675c1,_0x1363ac=this[_0x1e77c4(0x114)](_0x3507d2,_0x5034d3);_0x23d379?_0x1363ac[_0x1e77c4(0x21f)](_0x1c9005,_0x23d379):_0x1363ac[_0x1e77c4(0x30d)](_0x1c9005),this[_0x1e77c4(0x22f)]['next']({'unitId':_0x3507d2,'subUnitId':_0x5034d3,'pivotTableId':_0x1c9005});}['dispose'](){const _0x465b77=_0x1675c1;super[_0x465b77(0x239)]();}['getViewData'](_0x171abf,_0x1a1bc1,_0xc9d5b7){const _0x1b9dbd=_0x1675c1;var _0x35d4de,_0x22be49;const _0x56e642=(_0x22be49=(_0x35d4de=this['_viewData'][_0x1b9dbd(0x2e9)](_0x171abf))==null?void 0x0:_0x35d4de['get'](_0x1a1bc1))==null?void 0x0:_0x22be49[_0x1b9dbd(0x2e9)](_0xc9d5b7);return _0x56e642||null;}[_0x1675c1(0x196)](_0x4d9956){const _0xd70526=_0x1675c1;this[_0xd70526(0xdf)](_0x4d9956);}['updateDirtyPivotTable'](_0x574c70){const _0x2e0560=_0x1675c1,{token:_0x1012a1,unitId:_0x104987,subUnitId:_0x214e1d}=_0x574c70,_0x528559=_0x104987+'-'+_0x214e1d+'-'+_0x1012a1;this[_0x2e0560(0xaf)][_0x2e0560(0x2e9)](_0x528559)&&clearTimeout(this['_queryingMap'][_0x2e0560(0x2e9)](_0x528559));const _0x5ec935=setTimeout(()=>{const _0x57c2ba=_0x2e0560;this[_0x57c2ba(0x305)](_0x574c70),this[_0x57c2ba(0xaf)][_0x57c2ba(0x30d)](_0x528559);},Pi);this[_0x2e0560(0xaf)][_0x2e0560(0x21f)](_0x528559,_0x5ec935);}['queryDirtyPivotTable'](_0x398ff3){const _0x5cb381=_0x1675c1,{unitId:_0x40b2bb,subUnitId:_0x563116,token:_0x27a3c5,type:_0x569ee0,pivotConfig:_0x58e997}=_0x398ff3,_0x139a99=this['getPivotTableInstance'](_0x27a3c5),_0x34cc25=_0x139a99==null?void 0x0:_0x139a99['query'](),_0x33230d=_0x58e997!=null?_0x58e997:this[_0x5cb381(0x14e)](_0x40b2bb,_0x563116,_0x27a3c5);_0x33230d&&(_0x33230d[_0x5cb381(0x22a)]=!!(_0x139a99!=null&&_0x139a99[_0x5cb381(0x22a)]())),(_0x34cc25||_0x569ee0===L['Delete'])&&this[_0x5cb381(0x174)](_0x40b2bb,_0x563116,_0x569ee0,_0x27a3c5,_0x34cc25,_0x33230d,this[_0x5cb381(0x23a)](_0x40b2bb)['toJSON']());}[_0x1675c1(0x132)](_0x5aa583){const _0x56608f=_0x1675c1,_0x1b9613={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x56608f(0x23a)](_0x5aa583)&&(_0x1b9613[_0x56608f(0x10d)][_0x5aa583]=this['getDataFieldManager'](_0x5aa583)[_0x56608f(0x132)]()),this[_0x56608f(0x21a)][_0x56608f(0x2e9)](_0x5aa583)){_0x1b9613[_0x56608f(0x210)][_0x5aa583]={};const _0x26c01b=this[_0x56608f(0x21a)]['get'](_0x5aa583);_0x26c01b!=null&&_0x26c01b[_0x56608f(0xb5)]&&[..._0x26c01b[_0x56608f(0x121)]()]['forEach'](_0x5a1e3f=>{const _0xea4291=_0x56608f,_0x455bad=_0x26c01b[_0xea4291(0x2e9)](_0x5a1e3f);_0x455bad!=null&&_0x455bad[_0xea4291(0xb5)]&&(_0x1b9613['pivotTableConfigs'][_0x5aa583][_0x5a1e3f]={},[..._0x455bad[_0xea4291(0x121)]()][_0xea4291(0x2ef)](_0x513322=>{const _0x522079=_0xea4291,_0x1d0260=_0x455bad[_0x522079(0x2e9)](_0x513322);_0x1d0260&&(_0x1b9613[_0x522079(0x210)][_0x5aa583][_0x5a1e3f][_0x513322]=_0x1d0260);}));});}return _0x1b9613;}[_0x1675c1(0x31f)](_0x2a8da1){const _0x277906=_0x1675c1;var _0x497327;const {dataFieldManagerConfig:_0x51d4f3,pivotTableConfigs:_0x52d482}=_0x2a8da1;_0x51d4f3&&Object[_0x277906(0x121)](_0x51d4f3)[_0x277906(0x2ef)](_0x428192=>{const _0x26d64b=_0x277906;this[_0x26d64b(0x23a)](_0x428192)[_0x26d64b(0x31f)](_0x51d4f3[_0x428192]);});const _0x1d5d3c=[];if(_0x52d482){const _0x13de69=(_0x497327=this[_0x277906(0x312)][_0x277906(0x2e9)](_0xe8dcbb)[_0x277906(0x1dc)](_0x59310c))!=null?_0x497327:{},{ls:_0x4c5c01,pbk:_0x1dfdbd}=_0x13de69,_0x4d58ee=go(so,_0x4c5c01,_0x1dfdbd)[_0x277906(0xd1)];Object[_0x277906(0x121)](_0x52d482)[_0x277906(0x2ef)](_0x38e33e=>{const _0x268d9d=_0x277906;let _0x4bf1fd=0x0;const _0x5ef965=_0x52d482[_0x38e33e];Object[_0x268d9d(0x121)](_0x5ef965)['forEach'](_0x1bc037=>{const _0x3e8845=_0x268d9d,_0x4cc07a=_0x5ef965[_0x1bc037];Object[_0x3e8845(0x121)](_0x4cc07a)[_0x3e8845(0x2ef)](_0x1a7841=>{const _0x14bfaa=_0x3e8845,_0x334270=_0x4cc07a[_0x1a7841];if(_0x334270){if(_0x4bf1fd>=_0x4d58ee)return;_0x4bf1fd++;const _0x2f13ca=this['getDataFieldManager'](_0x38e33e),_0x2f5ebe=_0x2f13ca[_0x14bfaa(0x234)][_0x1a7841],_0x412a2b=_0x2f5ebe[_0x14bfaa(0x2eb)]();let _0x1576b7=0x0;const _0x1fb786=[];for(const _0x218dd2 of _0x412a2b){const _0x10fdfe=_0x2f5ebe[_0x14bfaa(0xe0)](_0x218dd2);if(_0x467bd5(_0x10fdfe)){const _0x1e1df7=_0x10fdfe[_0x14bfaa(0x2e3)](),_0x2df83b=_0x2f5ebe['getFieldById'](_0x1e1df7);_0x2df83b&&_0x1fb786[_0x14bfaa(0x1a3)]([_0x10fdfe,_0x2df83b]);continue;}_0x2f13ca[_0x14bfaa(0x20e)](_0x218dd2,_0x334270[_0x14bfaa(0xdb)],_0x1576b7),_0x1576b7++;}_0x1fb786['forEach'](([_0x384c7a,_0x223cd3])=>{_0x384c7a['refreshGroupField'](_0x223cd3);});const _0xad6be3=new _0x16e808(_0x2f5ebe);_0xad6be3[_0x14bfaa(0x31f)](_0x334270[_0x14bfaa(0x2bd)]),this['addPivotTable'](_0x38e33e,_0x1bc037,_0x1a7841,_0xad6be3,_0x334270);const _0x3ead23=_0xad6be3[_0x14bfaa(0x274)]();_0x1d5d3c[_0x14bfaa(0x1a3)]({'unitId':_0x38e33e,'subUnitId':_0x1bc037,'pivotTableId':_0x1a7841,'view':_0x3ead23[_0x14bfaa(0x132)](),'pivotConfig':_0x334270,'type':L[_0x14bfaa(0xa6)]});const _0x1b4fae=!!_0xad6be3[_0x14bfaa(0x22a)](),_0x4286fe={'view':_0x3ead23,'pivotTableId':_0x1a7841,'textInfo':this[_0x14bfaa(0x165)](),'isEmpty':_0x1b4fae,'targetCellInfo':_0x334270[_0x14bfaa(0xb1)]};this['updateViewData'](_0x4286fe,!0x1);}});});});}_0x51d4f3&&Object[_0x277906(0x121)](_0x51d4f3)[_0x277906(0x2ef)](_0x152787=>{const _0x521855=_0x277906,_0x4cf07c=this['getDataFieldManager'](_0x152787);this[_0x521855(0x29c)][_0x521855(0x294)](_0x4cf07c[_0x521855(0x234)]);}),this[_0x277906(0x25d)][_0x277906(0x2e1)](Rt['id'],{'batch':_0x1d5d3c,'collectionConfig':_0x51d4f3},{'onlyLocal':!0x0});}[_0x1675c1(0x11b)](){const _0x1848ed=_0x1675c1;this['disposeWithMe'](this[_0x1848ed(0xcb)][_0x1848ed(0xbc)]({'toJson':_0x3ebf5a=>JSON['stringify'](this[_0x1848ed(0x132)](_0x3ebf5a)),'parseJson':_0x43b456=>{const _0x2a010b=_0x1848ed;if(!_0x43b456)return{};try{return JSON[_0x2a010b(0x175)](_0x43b456);}catch{return{};}},'businesses':[_0x34c5bf['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x1e2d52,_0x4563d9)=>{const _0xd02d85=_0x1848ed;this[_0xd02d85(0x31f)](_0x4563d9);},'onUnLoad':_0x267dfa=>{const _0x2f5fde=_0x1848ed;this[_0x2f5fde(0x161)](_0x267dfa);}}));}};G=Ei([je(0x0,_0x2fd05e(_0x854c25)),je(0x1,_0x146954),je(0x2,_0x2fd05e(_0x254ee5)),je(0x3,_0xe8dcbb),je(0x4,_0x3408cd),je(0x5,_0x2fd05e(_0x1c560e))],G);const Ui={0x0:{0x0:{'v':_0x1675c1(0x29a),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x1675c1(0x133),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x1675c1(0xcd),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},kt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Jo=(_0x447bcb,_0x909eda)=>{const _0x99b77c=_0x1675c1,_0x3bc37b=new _0x1d8f59(),_0x36d3e2=new _0x1d8f59(Ui),{row:_0x5de853,col:_0x18b2fa}=_0x909eda;_0x36d3e2[_0x99b77c(0xa0)]((_0x203fe2,_0x515c32,_0x2bb4a5)=>{const _0x1dbf95=_0x99b77c;let _0xb91a2c='';_0x2bb4a5['v']===_0x1dbf95(0x29a)?_0xb91a2c=_0x447bcb[_0x1dbf95(0x29a)]:_0x2bb4a5['v']===_0x1dbf95(0xcd)?_0xb91a2c=_0x447bcb[_0x1dbf95(0xcd)]:_0x2bb4a5['v']===_0x1dbf95(0x133)?_0xb91a2c=_0x447bcb[_0x1dbf95(0x133)]:_0x2bb4a5['v']===_0x1dbf95(0x13a)&&(_0xb91a2c=_0x447bcb[_0x1dbf95(0x13a)]),_0x3bc37b[_0x1dbf95(0x2d0)](_0x203fe2+_0x5de853,_0x515c32+_0x18b2fa,{..._0x2bb4a5,'v':_0xb91a2c});});const _0x2e3358=_0x14991f[_0x99b77c(0x230)](kt);return Object['keys'](kt)[_0x99b77c(0x2ef)](_0x2fe2b5=>{const _0x49bdb2=_0x99b77c;_0x2e3358[_0x2fe2b5]=kt[_0x2fe2b5][_0x49bdb2(0x11d)](_0x432fa9=>({..._0x432fa9,'startRow':_0x432fa9[_0x49bdb2(0x21c)]+_0x5de853,'endRow':_0x432fa9[_0x49bdb2(0x138)]+_0x5de853,'startColumn':_0x432fa9['startColumn']+_0x18b2fa,'endColumn':_0x432fa9[_0x49bdb2(0xa1)]+_0x18b2fa}));}),{'matrixCache':_0x3bc37b,'rangesCache':_0x2e3358};};function Vi(_0xd53d41,_0x2ef6ea){const _0x47f997=_0x1675c1;let _0x8f0964='';const _0x20dbfc=this['getTextInfo']();switch(_0x2ef6ea){case _0xd80465[_0x47f997(0x188)]:_0x8f0964=_0x20dbfc[_0x47f997(0xc4)]+_0xd53d41;break;case _0xd80465[_0x47f997(0xd1)]:_0x8f0964=_0x20dbfc[_0x47f997(0xed)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x178)]:_0x8f0964=_0x20dbfc['sheets-pivot.countNumsName']+_0xd53d41;break;case _0xd80465[_0x47f997(0x224)]:_0x8f0964=_0x20dbfc[_0x47f997(0x203)]+_0xd53d41;break;case _0xd80465['min']:_0x8f0964=_0x20dbfc[_0x47f997(0xe5)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x2ff)]:_0x8f0964=_0x20dbfc['sheets-pivot.productName']+_0xd53d41;break;case _0xd80465[_0x47f997(0x183)]:_0x8f0964=_0x20dbfc[_0x47f997(0x1d0)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x22d)]:_0x8f0964=_0x20dbfc[_0x47f997(0xf6)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x1ba)]:_0x8f0964=_0x20dbfc[_0x47f997(0x269)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x2f2)]:_0x8f0964=_0x20dbfc[_0x47f997(0x2a6)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x130)]:_0x8f0964=_0x20dbfc[_0x47f997(0x143)]+_0xd53d41;break;default:_0x8f0964=_0xd53d41;break;}return _0x8f0964;}function Oi(_0x3cb966,_0x551790,_0x42df9a,_0x2147bb,_0x460a0a){const _0x53f206=_0x1675c1;var _0x39aa42,_0x1966ac,_0x4e506e,_0x316609,_0x2bdcb1;const _0x51f6bb=_0x34e162(_0x3cb966,_0x551790),{rangesInfo:_0x504244,areaInfo:_0x551e2f,headerMap:_0xca18f5}=_0x460a0a;if(!_0x504244||!_0x551e2f||!_0xca18f5)return;const _0x939bd6=Object[_0x53f206(0x121)](_0x504244)['find'](_0x2b4688=>_0x504244[_0x2b4688]['some'](_0x21548c=>_0x351caf[_0x53f206(0x1af)](_0x21548c,_0x51f6bb))),_0x34225e=_0x551e2f;let _0x2a4131,_0x2714c3,_0xab4814;if(_0x939bd6===_0x53f206(0x2d3))_0x2a4131=(_0x39aa42=_0x34225e==null?void 0x0:_0x34225e[_0x53f206(0x153)])==null?void 0x0:_0x39aa42[_0x3cb966],_0x2714c3=(_0x1966ac=_0xca18f5==null?void 0x0:_0xca18f5['rowHeaderMap'])==null?void 0x0:_0x1966ac[_0x551790],_0xab4814=_0x2714c3==null?void 0x0:_0x2714c3[_0x53f206(0x1e6)];else{if(_0x939bd6===_0x53f206(0x20a))_0x2a4131=(_0x4e506e=_0x34225e==null?void 0x0:_0x34225e[_0x53f206(0x10c)])==null?void 0x0:_0x4e506e[_0x551790],_0x2714c3=(_0x316609=_0xca18f5[_0x53f206(0x2dd)])==null?void 0x0:_0x316609[_0x3cb966+0x1+_0x551790-_0x504244[_0x53f206(0x20a)][0x0]['startColumn']],_0xab4814=_0x2714c3==null?void 0x0:_0x2714c3[_0x53f206(0x1e6)];else{if(_0x939bd6==='cornerRanges')_0x2a4131=(_0x2bdcb1=_0x34225e==null?void 0x0:_0x34225e['cornerInfo'])==null?void 0x0:_0x2bdcb1[_0x551790],_0xab4814=_0x2a4131==null?void 0x0:_0x2a4131[_0x53f206(0x1e6)];else{if(_0x939bd6===_0x53f206(0x1f0)){const _0x730518=_0x42df9a==null?void 0x0:_0x42df9a['fi'];_0x730518!==void 0x0&&(_0xab4814=_0x2147bb[_0x53f206(0x254)](_0x730518));}}}}return{'filterId':_0xab4814,'info':_0x2a4131,'data':_0x42df9a,'headerInfo':_0x2714c3};}function xi(_0x4497f2,_0x4d285e,_0x5e044b){const _0x197758=_0x1675c1,_0x121754=_0x4497f2['dataFieldsCollection'],_0x348398=_0x121754[_0x197758(0x2eb)](),_0x108975=new Set();_0x4497f2['iterateField'](_0x3294c9=>{const _0x41d1e4=_0x197758;_0x108975[_0x41d1e4(0x1a7)](_0x3294c9[_0x41d1e4(0xea)]);});const _0x47b15a=_0x348398[_0x197758(0x11d)](_0x5a2837=>{const _0x3b0d0b=_0x197758,_0x57541a=_0x121754[_0x3b0d0b(0xe0)](_0x5a2837);return{'checked':_0x108975['has'](_0x5a2837),'dataFieldId':_0x57541a['id'],'id':_0x57541a['id'],'name':_0x121754['getDisplayName'](_0x57541a['id']),'type':_0x57541a[_0x3b0d0b(0x2ea)](),'pivotTableId':_0x4d285e};}),_0x27aaa1=[];_0x4497f2['iterateFieldByArea'](_0x4cc34c['Row'],_0x443c7c=>{const _0x4cb74e=_0x197758;_0x27aaa1[_0x4cb74e(0x1a3)]({'dataFieldId':_0x443c7c['dataFieldId'],'tableFieldId':_0x443c7c[_0x4cb74e(0xf5)](),'displayName':_0x443c7c[_0x4cb74e(0x16f)]()});});const _0x34afd3=[];_0x4497f2[_0x197758(0x29b)](_0x4cc34c['Column'],_0x15d2eb=>{const _0x5a6542=_0x197758;_0x34afd3[_0x5a6542(0x1a3)]({'dataFieldId':_0x15d2eb[_0x5a6542(0xea)],'tableFieldId':_0x15d2eb['getId'](),'displayName':_0x15d2eb['getDisplayName']()});});const _0x37b192=[];if(_0x4497f2[_0x197758(0x29b)](_0x4cc34c[_0x197758(0x9c)],_0x4fce93=>{const _0x138b2c=_0x197758;_0x37b192[_0x138b2c(0x1a3)]({'dataFieldId':_0x4fce93['dataFieldId'],'tableFieldId':_0x4fce93['getId'](),'displayName':_0x4fce93[_0x138b2c(0x16f)](),'format':_0x4fce93[_0x138b2c(0x30a)](),'subTotalType':_0x4fce93['getSubtotal']()});}),_0x37b192[_0x197758(0xff)]>0x1){const _0x286752=_0x4497f2[_0x197758(0x125)]();(_0x4497f2[_0x197758(0x109)]()?_0x34afd3:_0x27aaa1)[_0x197758(0x1c1)](_0x286752,0x0,{'dataFieldId':'','tableFieldId':_0x197758(0x240),'displayName':'ΣValue'});}const _0x2a5a61=[];_0x4497f2[_0x197758(0x29b)](_0x4cc34c[_0x197758(0x1aa)],_0x2c56d8=>{const _0x5ca047=_0x197758;_0x2a5a61['push']({'dataFieldId':_0x2c56d8[_0x5ca047(0xea)],'tableFieldId':_0x2c56d8[_0x5ca047(0xf5)](),'displayName':_0x2c56d8['getDisplayName']()});});const _0x3b56b8=_0x5e044b['sourceRangeInfo'];return{'sourceList':_0x47b15a,'sourceRange':_0x3b56b8,'rowFields':_0x27aaa1,'columnFields':_0x34afd3,'valueFields':_0x37b192,'filterFields':_0x2a5a61,'positionInfo':_0x5e044b[_0x197758(0xb1)]};}function fo(_0x3111ed,_0x1f60fa,_0x5ae5ce='',_0x2d42af={}){const _0x16103b=_0x1675c1,_0x5da691=_0x3111ed[_0x16103b(0x2e9)](_0x7abaf8);for(const _0x44b645 in _0x1f60fa)if(Object[_0x16103b(0x2ab)][_0x16103b(0xb2)][_0x16103b(0x18f)](_0x1f60fa,_0x44b645)){const _0x4c71c6=_0x5ae5ce?_0x5ae5ce+'.'+_0x44b645:_0x44b645;typeof _0x1f60fa[_0x44b645]==_0x16103b(0x2c1)&&_0x1f60fa[_0x44b645]!==null&&!Array['isArray'](_0x1f60fa[_0x44b645])?fo(_0x3111ed,_0x1f60fa[_0x44b645],_0x4c71c6,_0x2d42af):_0x2d42af[_0x4c71c6]=_0x5da691['t'](_0x4c71c6);}return _0x2d42af;}const Lt=_0x3187ba=>{const _0x131142=_0x1675c1;if(!_0x3187ba)return[];const {rowRanges:_0xbbdfc,colRanges:_0x208e14,cornerRanges:_0x5b6a97,dataRanges:_0x37d0a0,pageRanges:_0x2c2273}=_0x3187ba,_0x21269b=[..._0x208e14,..._0xbbdfc,..._0x37d0a0,..._0x5b6a97][_0x131142(0x29a)](_0x41bff8=>_0x41bff8['startRow']>=0x0&&_0x41bff8[_0x131142(0x16d)]>=0x0&&_0x41bff8[_0x131142(0x138)]>=0x0&&_0x41bff8[_0x131142(0xa1)]>=0x0);let _0x328a5d=Number[_0x131142(0x154)],_0x1099cd=Number[_0x131142(0x2a0)],_0x1b5587=Number[_0x131142(0x154)],_0x25a696=Number['MIN_SAFE_INTEGER'];for(let _0x5e5fef=0x0;_0x5e5fef<_0x21269b['length'];_0x5e5fef++)_0x328a5d=Math[_0x131142(0xb6)](_0x328a5d,_0x21269b[_0x5e5fef][_0x131142(0x21c)]),_0x1099cd=Math[_0x131142(0x224)](_0x1099cd,_0x21269b[_0x5e5fef][_0x131142(0x138)]),_0x1b5587=Math['min'](_0x1b5587,_0x21269b[_0x5e5fef][_0x131142(0x16d)]),_0x25a696=Math[_0x131142(0x224)](_0x25a696,_0x21269b[_0x5e5fef][_0x131142(0xa1)]);return[..._0x2c2273,{'startRow':_0x328a5d,'endRow':_0x1099cd,'startColumn':_0x1b5587,'endColumn':_0x25a696}];};function Bi(_0x85ff1f,_0x3c7a35){const _0x5cd972=_0x1675c1,_0x57c92e=_0x3c7a35[_0x5cd972(0xa2)]['drillDown'],{pivotTableId:_0x1af21c,unitId:_0x291584,subUnitId:_0x140524}=_0x3c7a35;if(!_0x57c92e)return;const _0x8c4c92=_0x85ff1f['get'](G),_0x30e1ef=_0x8c4c92[_0x5cd972(0x220)](_0x1af21c),_0x1ff202=_0x8c4c92[_0x5cd972(0x14e)](_0x291584,_0x140524,_0x1af21c);if(!_0x30e1ef||!_0x1ff202)return;const _0x21a8d9=_0x30e1ef[_0x5cd972(0x1c3)](_0x57c92e[_0x5cd972(0x229)]);if(!(_0x21a8d9!=null&&_0x21a8d9[_0x5cd972(0xff)]))return;const _0x34354a=_0x1ff202['sourceRangeInfo'],{unitId:_0xbec705,subUnitId:_0x487235,range:_0x3774b3}=_0x34354a;let _0x53e6fa=0x0;const _0x1cd1c3=_0x30e1ef['dataFieldsCollection'][_0x5cd972(0x2eb)]()[_0x5cd972(0x2a5)]((_0x12bbcd,_0x29eeef)=>{const _0x2cbe8a=_0x5cd972;var _0x5ba6f3;const _0x2f7273=(_0x5ba6f3=_0x30e1ef['getDataFieldByDataFieldId'](_0x29eeef))==null?void 0x0:_0x5ba6f3[_0x2cbe8a(0x107)]();return _0x2f7273&&(_0x12bbcd[String(_0x53e6fa)]=_0x2f7273),_0x53e6fa++,_0x12bbcd;},{});return{'indexes':_0x21a8d9,'range':_0x3774b3,'sourceUnitId':_0xbec705,'sourceSubUnitId':_0x487235,'formatMap':_0x1cd1c3};}function jo(_0x107416,_0x2d6629){const _0x2b6c96=_0x1675c1;if(!_0x107416||!_0x2d6629)return!0x0;const _0x127ceb=_0x41d392(zo,$o),_0x469520=new Function(_0x2b6c96(0x2de)+_0x127ceb)()(_0x107416,_0x2d6629)[_0x2b6c96(0x12a)],_0x4c5eea=_0x1d0a9e(_0x469520,'sf',Ao);return!((_0x469520==null?void 0x0:_0x469520['rt'])===_0x316ecc[_0x2b6c96(0x2f4)]&&!_0x4c5eea);}function go(_0x58c54c,_0x29eb96,_0x3d8349){const _0x25418b=_0x1675c1,_0x6439d5={'count':_0x58c54c,'timeValid':!0x1};if(!_0x29eb96||!_0x3d8349)return _0x6439d5;const _0x3b7edb=_0x41d392(zo,$o),_0x38b174=new Function('return\x20'+_0x3b7edb)()(_0x29eb96,_0x3d8349);if(_0x38b174!=null&&_0x38b174[_0x25418b(0xeb)]){const _0x4b94b3=_0x38b174[_0x25418b(0x12a)],_0x24de88=_0x1d0a9e(_0x4b94b3,'sf',Ao);return{'count':_0x2196c0(_0x4b94b3,_0x24de88,_0x25418b(0x191),_0x58c54c,_0x58c54c,0x0),'timeValid':_0x24de88};}return _0x6439d5;}function Ko(_0x56c53d,_0x488f15,_0x428961,_0x981691){const _0x236dfb=_0x1675c1,_0x207044={'subUnitId':_0x428961,'unitId':_0x488f15,'cellValue':_0x2f9bd8(_0x981691)},_0x40d057=_0x59cfd4(_0x56c53d,_0x207044);let _0x429e6a=!0x1;return new _0x1d8f59(_0x40d057[_0x236dfb(0x23e)])[_0x236dfb(0xa0)]((_0x35706a,_0x50cc22,_0x5a27d9)=>{if(!_0x429e6a&&_0x5a27d9&&(_0x5a27d9['custom']||_0x5a27d9['f']||_0x5a27d9['p']||_0x5a27d9['s']||_0x5a27d9['si']||_0x5a27d9['t']||_0x5a27d9['v']))return _0x429e6a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3f552b['id'],'params':_0x40d057},'setRangeValueRedoMutation':{'id':_0x3f552b['id'],'params':_0x207044},'shouldClear':_0x429e6a};}function Ai(_0x48f953){const {row:_0x154410,col:_0x3c8963}=_0x48f953,_0x16dacc={'startRow':_0x154410,'endRow':_0x154410,'startColumn':_0x3c8963,'endColumn':_0x3c8963},_0x195163={'startRow':_0x154410+0x2,'endRow':_0x154410+0xe,'startColumn':_0x3c8963,'endColumn':_0x3c8963+0x6};return[_0x16dacc,_0x195163];}function Wi(_0x42725f,_0x582bb3,_0x4f99db){const _0x4df1d8=_0x1675c1,{cornerView:_0x59f9aa,rowView:_0x26d7fc,colView:_0x21cac3,pageView:_0x1f9927}=_0x42725f,{row:_0x2cab10,col:_0x20960f}=_0x582bb3;if(_0x4f99db)return{'rowCount':bi+_0x2cab10,'colCount':Si+_0x20960f};const _0x87e6eb=_0x1f9927[_0x4df1d8(0x2b5)]>-0x1?_0x1f9927['lastRow']+0x1:0x0,_0x202708=_0x1f9927[_0x4df1d8(0x1d1)]>-0x1?_0x1f9927[_0x4df1d8(0x1d1)]:0x0,_0x4c8fe1=_0x2cab10+_0x87e6eb+(_0x87e6eb?0x1:0x0)+_0x59f9aa[_0x4df1d8(0x297)]+_0x26d7fc['rowCount'],_0x3b6628=_0x20960f+_0x202708,_0x4868a5=_0x20960f+_0x59f9aa[_0x4df1d8(0x285)]+_0x21cac3[_0x4df1d8(0x285)],_0x5147b4=Math[_0x4df1d8(0x224)](_0x3b6628,_0x4868a5);return{'rowCount':_0x4c8fe1,'colCount':_0x5147b4};}function we(_0xf7d4aa,_0x151332,_0x237848,_0x1228f0){const _0x3fa030=_0x1675c1,{row:_0xae0909,col:_0x152658,unitId:_0x2d9ab3,subUnitId:_0xb2d8a7}=_0x237848,_0x263d2a=Wi(_0x151332,{'row':_0xae0909,'col':_0x152658},_0x1228f0),_0x4d7f17=_0xf7d4aa['get'](_0x146954),_0x15f889=_0x2075c9(_0x4d7f17,{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7}),_0x130768=[],_0x2468c6=[];if(!_0x15f889)return{'undos':_0x2468c6,'redos':_0x130768};const {worksheet:_0x4f280c}=_0x15f889,_0x60d108=_0x4f280c[_0x3fa030(0x113)](),_0x1fd0fb=_0x4f280c[_0x3fa030(0xe4)]();return _0x60d108<_0x263d2a[_0x3fa030(0x297)]&&(_0x130768[_0x3fa030(0x1a3)]({'id':_0x324b38['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':_0x60d108,'endRow':_0x263d2a[_0x3fa030(0x297)]-0x1,'startColumn':0x0,'endColumn':_0x1fd0fb-0x1}}}),_0x2468c6[_0x3fa030(0x1a3)]({'id':_0x1bb17f['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':_0x60d108,'endRow':_0x263d2a[_0x3fa030(0x297)]-0x1,'startColumn':0x0,'endColumn':_0x1fd0fb-0x1}}})),_0x1fd0fb<_0x263d2a['colCount']&&(_0x130768[_0x3fa030(0x1a3)]({'id':_0x2e534e['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':0x0,'endRow':_0x60d108-0x1,'startColumn':_0x1fd0fb,'endColumn':_0x263d2a[_0x3fa030(0x285)]-0x1}}}),_0x2468c6[_0x3fa030(0x1a3)]({'id':_0x4f9e18['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':0x0,'endRow':_0x60d108-0x1,'startColumn':_0x1fd0fb,'endColumn':_0x263d2a[_0x3fa030(0x285)]-0x1}}})),{'undos':_0x2468c6,'redos':_0x130768};}function ki(_0x169f6b){let _0x5884d2=0x0;for(let _0x4dd047=0x0;_0x4dd047<_0x169f6b['length'];_0x4dd047++){const _0x1ba1d5=_0x169f6b['charCodeAt'](_0x4dd047);_0x1ba1d5>=0x4e00&&_0x1ba1d5<=0x9fff||_0x1ba1d5>=0x3000&&_0x1ba1d5<=0x303f||_0x1ba1d5>=0xff00&&_0x1ba1d5<=0xffef?_0x5884d2+=0x2:_0x5884d2+=0x1;}return _0x5884d2;}function To(_0x59c9fb,_0x3a8693,_0x2a9312,_0x43ff01){const _0x289955=_0x1675c1;var _0x4623ee,_0x5e8ca6,_0x441d44,_0x1eebc3;const {rowCount:_0xc20e54,colCount:_0x1ddffe,headerMap:_0x19d440}=_0x59c9fb,_0x3c57a1=0x64,_0x5a5cde=Math['min'](_0xc20e54,_0x3c57a1),_0x463137=Math[_0x289955(0xb6)](_0x1ddffe,_0x3c57a1);let _0x24c5a1='',_0x7c3ca7=0x0;for(let _0x1c9bce=0x0;_0x1c9bce<_0x5a5cde;_0x1c9bce++)for(let _0x3e70eb=0x0;_0x3e70eb<_0x463137;_0x3e70eb++){const _0x5a4c63={...(_0x5e8ca6=(_0x4623ee=_0x59c9fb[_0x289955(0x235)])==null?void 0x0:_0x4623ee[_0x1c9bce])==null?void 0x0:_0x5e8ca6[_0x3e70eb]},_0x37c7c1=(_0x441d44=_0x19d440[_0x1c9bce])==null?void 0x0:_0x441d44[_0x289955(0x1e6)],_0x44b1f4=_0x43ff01[_0x37c7c1];let _0x8f6b49=_0x59c9fb['getValue'](_0x1c9bce,_0x3e70eb);if(_0x5a4c63){const _0x36a352=_0x2a9312?_0x3e70eb===0x0&&((_0x1eebc3=_0x59c9fb['getHeaderMapItem'](_0x3e70eb+0x1))==null?void 0x0:_0x1eebc3[_0x289955(0x2cf)]):!0x1;_0x8f6b49=vt(_0x5a4c63,_0x36a352,_0x44b1f4,_0x3a8693);}if(_0x8f6b49!==void 0x0){const _0x420794=ki(String(_0x8f6b49));_0x7c3ca7<_0x420794&&(_0x24c5a1=String(_0x8f6b49),_0x7c3ca7=_0x420794);}}return _0x24c5a1;}function Li(_0x1f3ec2){const {rowCount:_0x2fbaba,colCount:_0x16e07d}=_0x1f3ec2;let _0x1975c2='',_0x17c4bf=0x0;for(let _0x5ddfee=_0x2fbaba-0x1;_0x5ddfee>0x0&&_0x5ddfee>_0x2fbaba-0x3;_0x5ddfee--)for(let _0x897067=0x0;_0x897067<_0x16e07d;_0x897067++){const _0xa09a67=_0x1f3ec2['getValue'](_0x5ddfee,_0x897067);if(_0xa09a67!==void 0x0){const _0x3a45e4=String(_0xa09a67)['length'];_0x17c4bf<_0x3a45e4&&(_0x1975c2=String(_0xa09a67),_0x17c4bf=_0x3a45e4);}}return _0x1975c2;}function Gi(_0x636728){const _0x33da54=_0x1675c1,{rowCount:_0x477a3d,colCount:_0x69c9aa}=_0x636728;let _0x45528a='',_0x1a1623=0x0;for(let _0x12342e=0x0;_0x12342e<_0x477a3d;_0x12342e++)for(let _0x22b36e=0x0;_0x22b36e<_0x69c9aa;_0x22b36e++){const _0x39d42c=_0x636728[_0x33da54(0x22e)](_0x12342e,_0x22b36e);if(_0x39d42c!==void 0x0){const _0x1a5dff=String(_0x39d42c)[_0x33da54(0xff)];_0x1a1623<_0x1a5dff&&(_0x45528a=String(_0x39d42c),_0x1a1623=_0x1a5dff);}}return _0x45528a;}function $i(_0x1c9369,_0x32d59c){const _0x44e4ee=_0x1675c1,{rowFields:_0x5a5026,columnFields:_0x52a0cc,valueFields:_0xbf06df,filterFields:_0x60b940,dimension:_0x292913,measure:_0x26f374}=_0x32d59c;for(const _0x3f8486 of _0x5a5026){const _0x335358=_0x292913[_0x3f8486];_0x335358&&_0x1c9369[_0x44e4ee(0x232)](_0x335358[_0x44e4ee(0xea)])&&(_0x1c9369[_0x44e4ee(0x171)](_0x335358[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x1e1)],void 0x0,_0x3f8486),_0x335358[_0x44e4ee(0x309)]&&_0x1c9369[_0x44e4ee(0x311)](_0x335358['id'],_0x335358['displayName']),_0x335358['sortInfo']&&_0x1c9369['setSortInfo'](_0x335358['id'],_0x335358[_0x44e4ee(0x1da)]),_0x335358[_0x44e4ee(0x15f)]&&_0x1c9369[_0x44e4ee(0xba)](_0x335358['id'],_0x335358['filterInfo']));}for(const _0x28d27d of _0x52a0cc){const _0x1568b9=_0x292913[_0x28d27d];_0x1568b9&&_0x1c9369[_0x44e4ee(0x232)](_0x1568b9[_0x44e4ee(0xea)])&&(_0x1c9369[_0x44e4ee(0x171)](_0x1568b9[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x258)],void 0x0,_0x28d27d),_0x1568b9[_0x44e4ee(0x1da)]&&_0x1c9369[_0x44e4ee(0x17b)](_0x1568b9['id'],_0x1568b9[_0x44e4ee(0x1da)]),_0x1568b9[_0x44e4ee(0x15f)]&&_0x1c9369['setLabelFilterInfo'](_0x1568b9['id'],_0x1568b9[_0x44e4ee(0x15f)]),_0x1568b9[_0x44e4ee(0x309)]&&_0x1c9369[_0x44e4ee(0x311)](_0x1568b9['id'],_0x1568b9[_0x44e4ee(0x309)]));}for(const _0x61b715 of _0x60b940){const _0x458bc7=_0x292913[_0x61b715];_0x458bc7&&_0x1c9369[_0x44e4ee(0x232)](_0x458bc7['dataFieldId'])&&(_0x1c9369[_0x44e4ee(0x171)](_0x458bc7[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x1aa)],void 0x0,_0x61b715),_0x458bc7['sortInfo']&&_0x1c9369['setSortInfo'](_0x458bc7['id'],_0x458bc7[_0x44e4ee(0x1da)]),_0x458bc7[_0x44e4ee(0x15f)]&&_0x1c9369[_0x44e4ee(0xba)](_0x458bc7['id'],_0x458bc7[_0x44e4ee(0x15f)]),_0x458bc7[_0x44e4ee(0x309)]&&_0x1c9369['renameField'](_0x458bc7['id'],_0x458bc7[_0x44e4ee(0x309)]));}for(const _0x3abd7b of _0xbf06df){const _0x1121bc=_0x26f374[_0x3abd7b];_0x1121bc&&_0x1c9369['getDataFieldByDataFieldId'](_0x1121bc['dataFieldId'])&&(_0x1c9369[_0x44e4ee(0x171)](_0x1121bc[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x9c)],void 0x0,_0x3abd7b),_0x1121bc[_0x44e4ee(0xfa)]!==void 0x0&&_0x1c9369[_0x44e4ee(0x231)](_0x3abd7b,_0x1121bc[_0x44e4ee(0xfa)]),_0x1121bc[_0x44e4ee(0x1dd)]&&_0x1c9369[_0x44e4ee(0x308)](_0x3abd7b,_0x1121bc[_0x44e4ee(0x1dd)]),_0x1121bc[_0x44e4ee(0x309)]&&_0x1c9369[_0x44e4ee(0x311)](_0x1121bc['id'],_0x1121bc[_0x44e4ee(0x309)]));}const _0x320476=_0x32d59c[_0x44e4ee(0x15a)];for(const {fieldId:_0x1163a,filterInfo:_0x1330e5}of _0x320476)_0x1c9369[_0x44e4ee(0x23c)](_0x1163a,_0x1330e5);}function zi(_0x19a016,_0x2eeea4){const _0x112a3c=_0x1675c1,_0x287cdc=[];_0x2eeea4===_0x4cc34c[_0x112a3c(0x1e1)]&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c[_0x112a3c(0x1e1)],_0x3d40d0=>{const _0x155227=_0x112a3c;_0x287cdc[_0x155227(0x1a3)](_0x3d40d0[_0x155227(0xf5)]());}),_0x2eeea4===_0x4cc34c['Column']&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c[_0x112a3c(0x258)],_0x93e79f=>{_0x287cdc['push'](_0x93e79f['getId']());}),_0x2eeea4===_0x4cc34c[_0x112a3c(0x1aa)]&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c[_0x112a3c(0x1aa)],_0x30071d=>{const _0x22ac31=_0x112a3c;_0x287cdc[_0x22ac31(0x1a3)](_0x30071d[_0x22ac31(0xf5)]());}),_0x2eeea4===_0x4cc34c[_0x112a3c(0x9c)]&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c['Value'],_0xd37361=>{const _0x590df8=_0x112a3c;_0x287cdc[_0x590df8(0x1a3)](_0xd37361[_0x590df8(0xf5)]());}),_0x2eeea4===void 0x0&&_0x19a016['iterateField'](_0x2b22c2=>{const _0x4b0ac5=_0x112a3c;_0x287cdc[_0x4b0ac5(0x1a3)](_0x2b22c2['getId']());});const _0x53f80d=_0x287cdc[_0x112a3c(0xff)];for(let _0x1f36e5=_0x53f80d-0x1;_0x1f36e5>=0x0;_0x1f36e5--)_0x19a016[_0x112a3c(0x198)](_0x287cdc[_0x1f36e5]);const _0x4eeedb=_0x19a016[_0x112a3c(0x31d)]();for(const _0x109cc8 in _0x4eeedb)_0x19a016['removeValueFilterInfo'](_0x109cc8);}function Ji(_0x383fcd,_0x1fa622){const _0x469fa0=_0x1675c1,_0x467c9f=new Date(_0x48a5f7(_0x1fa622)),_0xc9edc=new Date(_0x48a5f7(_0x383fcd)),_0x1f9b43=_0x467c9f['getFullYear'](),_0x41aadf=_0xc9edc[_0x469fa0(0x237)](),_0x2eab06=_0x467c9f[_0x469fa0(0x277)](),_0x1d89f0=_0xc9edc[_0x469fa0(0x277)](),_0x12f4ec=_0x467c9f['getDate'](),_0x42135c=_0xc9edc['getDate'](),_0x554411=_0x1f9b43===_0x41aadf,_0x42fae8=_0x554411&&_0x2eab06===_0x1d89f0;return _0x554411&&_0x42fae8&&!(_0x42fae8&&_0x12f4ec===_0x42135c)?_0x2d6c66[_0x469fa0(0x12c)]:_0x554411&&!_0x42fae8?_0x2d6c66[_0x469fa0(0x2f1)]:_0x2d6c66['Year'];}function Ho(_0x353a47,_0x5575a1){const _0x3e16f9=_0x1675c1,_0x4bdd04=_0x353a47['get'](G)[_0x3e16f9(0x165)]();let _0x5ec479='';switch(_0x5575a1){case _0x2d6c66['YearMonthDate']:_0x5ec479=_0x4bdd04[_0x3e16f9(0x2c7)];break;case _0x2d6c66[_0x3e16f9(0x2f1)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x1ec)];break;case _0x2d6c66[_0x3e16f9(0x1a4)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.year'];break;case _0x2d6c66[_0x3e16f9(0xc8)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.month'];break;case _0x2d6c66[_0x3e16f9(0x2c3)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.quarter'];break;case _0x2d6c66[_0x3e16f9(0x2c9)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x1a9)];break;case _0x2d6c66[_0x3e16f9(0x148)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.hourMinute'];break;case _0x2d6c66[_0x3e16f9(0x1d4)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x13b)];break;case _0x2d6c66[_0x3e16f9(0x139)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0xa7)];break;case _0x2d6c66[_0x3e16f9(0x1eb)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0xec)];break;case _0x2d6c66[_0x3e16f9(0x1d3)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x2a8)];break;default:_0x5ec479='';break;}return _0x5ec479;}const qo=_0x1675c1(0x295),Mo={};var ji=Object['getOwnPropertyDescriptor'],Ki=(_0x272e08,_0x226078,_0x271283,_0x18efc9)=>{const _0x54fb64=_0x1675c1;for(var _0x5eb73c=_0x18efc9>0x1?void 0x0:_0x18efc9?ji(_0x226078,_0x271283):_0x226078,_0x30e790=_0x272e08[_0x54fb64(0xff)]-0x1,_0x560c22;_0x30e790>=0x0;_0x30e790--)(_0x560c22=_0x272e08[_0x30e790])&&(_0x5eb73c=_0x560c22(_0x5eb73c)||_0x5eb73c);return _0x5eb73c;},at=(_0x3b39a4,_0x5777a8)=>(_0x4e16c2,_0x548f9f)=>_0x5777a8(_0x4e16c2,_0x548f9f,_0x3b39a4);let ve=class extends _0x5334b7{constructor(_0x52ea02,_0x28d801,_0x18bfef,_0x248985,_0x5dfb96){const _0x29b56b=_0x1675c1;super(),U(this,_0x29b56b(0x21a),new Map()),U(this,_0x29b56b(0x26d),new Map()),U(this,_0x29b56b(0x233),new Map()),U(this,_0x29b56b(0x120),new Map()),U(this,_0x29b56b(0xf2),new _0x265f85()),U(this,_0x29b56b(0x2d6),new _0x265f85()),U(this,_0x29b56b(0xfc),this[_0x29b56b(0x2d6)][_0x29b56b(0x206)]()),U(this,_0x29b56b(0x1f9),new _0x265f85()),U(this,_0x29b56b(0x1ed),this[_0x29b56b(0x1f9)][_0x29b56b(0x206)]()),U(this,'_textInfo',{}),U(this,_0x29b56b(0x1a2),this[_0x29b56b(0xf2)][_0x29b56b(0x206)]()),(this[_0x29b56b(0x312)]=_0x52ea02,this[_0x29b56b(0x25d)]=_0x28d801,this[_0x29b56b(0x27f)]=_0x18bfef,this[_0x29b56b(0xcb)]=_0x248985,this[_0x29b56b(0x17a)]=_0x5dfb96,this[_0x29b56b(0xf8)](),this['_initUnitDisposed']());const _0x25de10=this[_0x29b56b(0x17a)][_0x29b56b(0x1dc)](qo);(_0x25de10==null?void 0x0:_0x25de10[_0x29b56b(0x250)])===!0x0&&this['_initSnapshot']();}[_0x1675c1(0x29f)](){const _0x96a65c=_0x1675c1;this[_0x96a65c(0x1ea)](this[_0x96a65c(0x27f)][_0x96a65c(0x256)](_0x34c5bf[_0x96a65c(0x1f3)])[_0x96a65c(0x1b1)](_0x412945=>{const _0x2e9139=_0x96a65c;this[_0x2e9139(0x161)](_0x412945[_0x2e9139(0xc2)]());}));}[_0x1675c1(0x24f)](){const _0x561867=_0x1675c1;this[_0x561867(0x2d6)][_0x561867(0x294)](!0x0);}[_0x1675c1(0xf8)](){const _0x2754bf=_0x1675c1,_0x1bd3f1=fo(this[_0x2754bf(0x312)],ko,'',{});this['_textInfo']=_0x1bd3f1,this[_0x2754bf(0x25d)][_0x2754bf(0x2e1)](uo['id'],{'textInfo':_0x1bd3f1},{'onlyLocal':!0x0});}[_0x1675c1(0x165)](){const _0x2919f7=_0x1675c1;return this[_0x2919f7(0x1a6)];}[_0x1675c1(0x201)](_0x27c560,_0x587e3c,_0x4a50a2,_0x3f1e46,_0x187747){const _0x1a212d=_0x1675c1;this[_0x1a212d(0xf7)](_0x27c560,_0x587e3c,_0x4a50a2,_0x3f1e46),this[_0x1a212d(0x214)](_0x27c560,_0x587e3c,_0x4a50a2,_0x187747);}[_0x1675c1(0x14e)](_0x46c66d,_0x4c0894,_0x5294c6){const _0x274381=_0x1675c1;var _0x24a06c;const _0x1f461c=(_0x24a06c=this[_0x274381(0x21a)]['get'](_0x46c66d))==null?void 0x0:_0x24a06c[_0x274381(0x2e9)](_0x4c0894);if(_0x1f461c)return _0x1f461c[_0x274381(0x2e9)](_0x5294c6);}['getTargetByPivotTableId'](_0x2d70b2,_0x41b89c){const _0x3d9a51=_0x1675c1,_0x19ad07=this[_0x3d9a51(0x21a)][_0x3d9a51(0x2e9)](_0x2d70b2);if(_0x19ad07){for(const [_0x582ccd,_0x40430f]of _0x19ad07[_0x3d9a51(0xa8)]())for(const [_0x225a26,_0x3cf308]of _0x40430f['entries']())if(_0x225a26===_0x41b89c)return _0x3cf308[_0x3d9a51(0xb1)];}}[_0x1675c1(0x209)](_0x26f87e,_0x1cf25f,_0x3e9543){const _0x5c802e=_0x1675c1,_0x22a0f3=this[_0x5c802e(0x14e)](_0x26f87e,_0x1cf25f,_0x3e9543);return _0x22a0f3==null?void 0x0:_0x22a0f3['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x5020a4,_0x74cb1b){const _0x1f13b0=_0x1675c1;var _0x41ae6d;return(_0x41ae6d=this[_0x1f13b0(0x21a)][_0x1f13b0(0x2e9)](_0x5020a4))==null?void 0x0:_0x41ae6d[_0x1f13b0(0x2e9)](_0x74cb1b);}[_0x1675c1(0x283)](_0x21165a,_0x1ab668,_0x3371a6,_0x76023e){const _0xe23216=_0x1675c1,_0x591195=this['_ensurePivotMap'](_0x21165a,_0x1ab668);_0x76023e?_0x591195[_0xe23216(0x21f)](_0x3371a6,_0x76023e):_0x591195['delete'](_0x3371a6),this['_pivotConfigChange$']['next']({'unitId':_0x21165a,'subUnitId':_0x1ab668,'pivotTableId':_0x3371a6,'pivotTableConfig':_0x76023e});}[_0x1675c1(0x28b)](_0x30ea9b,_0x3a3e5f){const _0x4873f5=_0x1675c1;var _0x5964c4;return(_0x5964c4=this[_0x4873f5(0x26d)]['get'](_0x30ea9b))==null?void 0x0:_0x5964c4['collections'][_0x3a3e5f];}[_0x1675c1(0x314)](_0x58644a,_0x2e6154){const _0x46f37d=_0x1675c1;this['_collectionConfigModel'][_0x46f37d(0x21f)](_0x58644a,_0x2e6154),this[_0x46f37d(0xf2)][_0x46f37d(0x294)](Math['random']());}[_0x1675c1(0x288)](_0x39906c,_0x3fcd5f){const _0x5c611a=_0x1675c1;let _0x151849=this[_0x5c611a(0x21a)][_0x5c611a(0x2e9)](_0x39906c);_0x151849||(_0x151849=new Map(),this[_0x5c611a(0x21a)][_0x5c611a(0x21f)](_0x39906c,_0x151849));let _0x2c6465=_0x151849[_0x5c611a(0x2e9)](_0x3fcd5f);return _0x2c6465||(_0x2c6465=new Map(),_0x151849['set'](_0x3fcd5f,_0x2c6465)),_0x2c6465;}[_0x1675c1(0x1b6)](_0x4ccd2a,_0x453a51){const _0x20a873=_0x1675c1;let _0x353e7b=this[_0x20a873(0x233)][_0x20a873(0x2e9)](_0x4ccd2a);_0x353e7b||(_0x353e7b=new Map(),this[_0x20a873(0x233)][_0x20a873(0x21f)](_0x4ccd2a,_0x353e7b));let _0x4d7e00=_0x353e7b['get'](_0x453a51);return _0x4d7e00||(_0x4d7e00=new Map(),_0x353e7b[_0x20a873(0x21f)](_0x453a51,_0x4d7e00)),_0x4d7e00;}['_ensurePivotTableMatrixInfo'](_0x5679c8,_0x289bcc){const _0x42e329=_0x1675c1;let _0x14c2fe=this[_0x42e329(0x120)]['get'](_0x5679c8);_0x14c2fe||(_0x14c2fe=new Map(),this['_pivotTableMatrixInfo'][_0x42e329(0x21f)](_0x5679c8,_0x14c2fe));let _0x564f50=_0x14c2fe['get'](_0x289bcc);return _0x564f50||(_0x564f50=new Map(),_0x14c2fe[_0x42e329(0x21f)](_0x289bcc,_0x564f50)),_0x564f50;}[_0x1675c1(0x214)](_0x378fe3,_0x19e9e2,_0x1a78f2,_0x42b2dc){const _0x1f1703=_0x1675c1;var _0x591043;const _0x34905f=this['_ensurePivotTableRangeInfo'](_0x378fe3,_0x19e9e2),_0x5f2ce2=(_0x591043=_0x34905f['get'](_0x1a78f2))==null?void 0x0:_0x591043[_0x1f1703(0x1e4)];_0x34905f[_0x1f1703(0x21f)](_0x1a78f2,{'oldRangeInfo':_0x5f2ce2,'rangeInfo':_0x42b2dc});}[_0x1675c1(0xf7)](_0x1b0db6,_0x5d1398,_0x14bbe8,_0x36569d){const _0x4b1c9d=_0x1675c1;var _0x1d5a42;const _0x34adbc=this[_0x4b1c9d(0x263)](_0x1b0db6,_0x5d1398),_0x1a3f4c=(_0x1d5a42=_0x34adbc[_0x4b1c9d(0x2e9)](_0x14bbe8))==null?void 0x0:_0x1d5a42[_0x4b1c9d(0xad)];_0x34adbc[_0x4b1c9d(0x21f)](_0x14bbe8,{'oldMatrix':_0x1a3f4c,'matrix':_0x36569d});}['getPivotTableRangeInfo'](_0x533000,_0x1349c3,_0x6e3be2){const _0x4dddf1=_0x1675c1;var _0x5794d0,_0xdec4d0;return(_0xdec4d0=(_0x5794d0=this[_0x4dddf1(0x233)][_0x4dddf1(0x2e9)](_0x533000))==null?void 0x0:_0x5794d0['get'](_0x1349c3))==null?void 0x0:_0xdec4d0[_0x4dddf1(0x2e9)](_0x6e3be2);}[_0x1675c1(0x17d)](_0x651759,_0x14ddd4,_0x2ab8fd){const _0x3264dd=_0x1675c1;var _0x1b5f7f,_0x3e99c6;return(_0x3e99c6=(_0x1b5f7f=this[_0x3264dd(0x120)][_0x3264dd(0x2e9)](_0x651759))==null?void 0x0:_0x1b5f7f[_0x3264dd(0x2e9)](_0x14ddd4))==null?void 0x0:_0x3e99c6['get'](_0x2ab8fd);}[_0x1675c1(0x161)](_0x1261a6){const _0x1df37b=_0x1675c1;this[_0x1df37b(0x21a)][_0x1df37b(0x30d)](_0x1261a6),this[_0x1df37b(0x26d)][_0x1df37b(0x30d)](_0x1261a6);}[_0x1675c1(0x10e)](_0x450ef9){const _0x2a1cce=_0x1675c1,_0x3af476={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2a1cce(0x26d)][_0x2a1cce(0x2e9)](_0x450ef9)&&(_0x3af476['dataFieldManagerConfig'][_0x450ef9]=this[_0x2a1cce(0x26d)][_0x2a1cce(0x2e9)](_0x450ef9)),this[_0x2a1cce(0x21a)]['get'](_0x450ef9)){_0x3af476[_0x2a1cce(0x210)][_0x450ef9]={};const _0xff3bac=this['_model']['get'](_0x450ef9);_0xff3bac!=null&&_0xff3bac[_0x2a1cce(0xb5)]&&[..._0xff3bac[_0x2a1cce(0x121)]()][_0x2a1cce(0x2ef)](_0x3bbd3b=>{const _0x3670d5=_0x2a1cce,_0x56b73b=_0xff3bac[_0x3670d5(0x2e9)](_0x3bbd3b);_0x56b73b!=null&&_0x56b73b[_0x3670d5(0xb5)]&&(_0x3af476[_0x3670d5(0x210)][_0x450ef9][_0x3bbd3b]={},[..._0x56b73b[_0x3670d5(0x121)]()][_0x3670d5(0x2ef)](_0x1d835e=>{const _0x5e453c=_0x3670d5,_0x2fbcb6=_0x56b73b['get'](_0x1d835e);_0x2fbcb6&&(_0x3af476[_0x5e453c(0x210)][_0x450ef9][_0x3bbd3b][_0x1d835e]=_0x2fbcb6);}));});}return _0x3af476;}[_0x1675c1(0x11b)](){const _0x4ce042=_0x1675c1;this['disposeWithMe'](this[_0x4ce042(0xcb)][_0x4ce042(0xbc)]({'toJson':_0x25d1f2=>JSON['stringify'](this['_toJSON'](_0x25d1f2)),'parseJson':_0x343449=>({}),'businesses':[_0x34c5bf[_0x4ce042(0x1f3)]],'pluginName':ao,'onLoad':(_0x1dad42,_0x420f76)=>{},'onUnLoad':_0x5940e3=>{const _0x1e6a9f=_0x4ce042;this[_0x1e6a9f(0x161)](_0x5940e3);}}));}};ve=Ki([at(0x0,_0x2fd05e(_0x854c25)),at(0x1,_0x2fd05e(_0x3408cd)),at(0x2,_0x2fd05e(_0x146954)),at(0x3,_0x2fd05e(_0x1c560e)),at(0x4,_0x2fd05e(_0xe8dcbb))],ve);var Hi=Object[_0x1675c1(0xd3)],qi=(_0x47fd6d,_0x44c0d3,_0x145562,_0x32e01e)=>{const _0x2470df=_0x1675c1;for(var _0x18d17f=_0x32e01e>0x1?void 0x0:_0x32e01e?Hi(_0x44c0d3,_0x145562):_0x44c0d3,_0x918a5d=_0x47fd6d[_0x2470df(0xff)]-0x1,_0x127e57;_0x918a5d>=0x0;_0x918a5d--)(_0x127e57=_0x47fd6d[_0x918a5d])&&(_0x18d17f=_0x127e57(_0x18d17f)||_0x18d17f);return _0x18d17f;},rt=(_0x14f6e2,_0xdd217b)=>(_0x373097,_0x232f51)=>_0xdd217b(_0x373097,_0x232f51,_0x14f6e2);let Ne=class extends _0x5334b7{constructor(_0x4d7b1b,_0x16bbfc,_0x566dcc,_0xc566af,_0x48d587){const _0x4781bd=_0x1675c1;super(),U(this,'_pivotRenderInfoCache',new Map()),U(this,'_pivotRenderValueMatrixCache',new Map()),U(this,_0x4781bd(0x2db),new _0x265f85()),U(this,_0x4781bd(0x2bc),this[_0x4781bd(0x2db)]['asObservable']()),U(this,_0x4781bd(0x2b2),new _0x265f85()),U(this,_0x4781bd(0x2ad),this[_0x4781bd(0x2b2)][_0x4781bd(0x206)]()),U(this,_0x4781bd(0x1a6)),(this[_0x4781bd(0xcf)]=_0x4d7b1b,this[_0x4781bd(0x312)]=_0x16bbfc,this['_sheetsPivotTableConfigModel']=_0x566dcc,this[_0x4781bd(0x27f)]=_0xc566af,this['_exclusiveRangeService']=_0x48d587,this[_0x4781bd(0xf8)](),this[_0x4781bd(0x29f)]());}[_0x1675c1(0x29f)](){const _0x4382fc=_0x1675c1;this[_0x4382fc(0x1ea)](this[_0x4382fc(0x27f)]['getTypeOfUnitDisposed$'](_0x34c5bf[_0x4382fc(0x1f3)])[_0x4382fc(0x1b1)](_0x505899=>{const _0x5d8fb4=_0x4382fc;this['deleteUnitId'](_0x505899[_0x5d8fb4(0xc2)]());}));}[_0x1675c1(0xf8)](){const _0x5c90a0=_0x1675c1;this[_0x5c90a0(0x1a6)]=fo(this[_0x5c90a0(0x312)],ko,'',{});}[_0x1675c1(0x25e)](_0x517dc4){const _0x298dc2=_0x1675c1,{view:_0x395118,unitId:_0x3f9414,subUnitId:_0x6eaa1f,pivotTableId:_0x322be5,type:_0x4f8b59}=_0x517dc4,_0x57e295=this[_0x298dc2(0x2d1)][_0x298dc2(0x14e)](_0x3f9414,_0x6eaa1f,_0x322be5);if(!_0x395118||!_0x57e295||_0x4f8b59===L[_0x298dc2(0x211)])return;const {pageView:_0x589d90,cornerView:_0x1b1c8e,rowView:_0x1eaef8,colView:_0x12b6ce,dataView:_0x4671e0}=_0x395118,_0x14b7e4=_0x57e295['targetCellInfo'],_0x5e403a=_0x57e295[_0x298dc2(0x22a)],_0x2a1d93=this[_0x298dc2(0x24d)](_0x3f9414,_0x6eaa1f),_0x308474=this[_0x298dc2(0x14a)](_0x3f9414,_0x6eaa1f,_0x322be5);if(_0x5e403a)return this[_0x298dc2(0x252)](_0x517dc4,_0x2a1d93,_0x14b7e4,_0x308474);{const _0x2a63bf=ge(_0x14b7e4,_0x589d90,!0x0),_0x4f9b1f=_0x589d90[_0x298dc2(0x2b5)]>=0x0?_0x589d90[_0x298dc2(0x2b5)]+0x1:0x0,_0xdec8ff=_0x1b1c8e[_0x298dc2(0x113)](),_0x57df6c=_0x1b1c8e[_0x298dc2(0x1f6)](),_0x309035=_0x2a63bf[_0x298dc2(0xff)]>0x0?It:0x0,_0x264b48=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035,'col':_0x14b7e4[_0x298dc2(0x1d6)]},_0x1b1c8e,!0x1,!0x1),_0x564d53=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035+_0xdec8ff,'col':_0x14b7e4[_0x298dc2(0x1d6)]},_0x1eaef8,!0x1,!0x0),_0x12e2e6=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035,'col':_0x14b7e4[_0x298dc2(0x1d6)]+_0x57df6c},_0x12b6ce,!0x1,!0x0),_0x3e0489=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035+_0xdec8ff,'col':_0x14b7e4['col']+_0x57df6c},_0x4671e0,!0x1,!0x1);_0x308474[_0x298dc2(0x189)]={'rowRanges':_0x564d53,'colRanges':_0x12e2e6,'cornerRanges':_0x264b48,'dataRanges':_0x3e0489,'pageRanges':_0x2a63bf};const _0xa2ca50=Mi(this[_0x298dc2(0x312)],_0x395118,_0x57e295,this[_0x298dc2(0x1a6)]),{valueMatrix:_0x53ac49,rowInfo:_0xfe730e,colInfo:_0x49a0b4,cornerInfo:_0x21abe8,rowHeaderMap:_0x58871b,colHeaderMap:_0xf91ab}=_0xa2ca50;return _0x308474[_0x298dc2(0xe9)]={'rowInfo':_0xfe730e,'colInfo':_0x49a0b4,'cornerInfo':_0x21abe8},_0x308474[_0x298dc2(0x1e8)]={'rowHeaderMap':_0x58871b,'colHeaderMap':_0xf91ab},_0x53ac49[_0x298dc2(0x2ef)]((_0x519ee6,_0x732098)=>{const _0x1e2dd7=_0x298dc2;Object[_0x1e2dd7(0x121)](_0x732098)[_0x1e2dd7(0x2ef)](_0x7fdd3a=>{const _0x37b53a=+_0x7fdd3a,_0x4cbc4e=_0x53ac49['getValue'](_0x519ee6,_0x37b53a);_0x2a1d93['setValue'](_0x519ee6,_0x37b53a,_0x4cbc4e);});}),this[_0x298dc2(0x2b2)][_0x298dc2(0x294)]({'unitId':_0x3f9414,'subUnitId':_0x6eaa1f,'valueMatrix':_0x2a1d93,'rangesCache':_0x308474['rangesInfo'],'pivotTableId':_0x322be5,'type':_0x517dc4[_0x298dc2(0x168)]}),this[_0x298dc2(0x2d1)][_0x298dc2(0x201)](_0x3f9414,_0x6eaa1f,_0x322be5,_0x2a1d93,_0x308474['rangesInfo']),this[_0x298dc2(0x117)][_0x298dc2(0x307)](_0x3f9414,_0x6eaa1f,Wt,this[_0x298dc2(0x1ae)](_0x308474[_0x298dc2(0x189)],_0x322be5)),{'rangeCache':_0x308474[_0x298dc2(0x189)],'matrix':_0x2a1d93};}}[_0x1675c1(0x252)](_0x295bcf,_0x2f1394,_0x33f7f3,_0x34a60c){const _0x37b992=_0x1675c1,_0x3dd612=this[_0x37b992(0xcf)]['t'],{unitId:_0x476fe4,subUnitId:_0x356ceb,pivotTableId:_0x2fb06f}=_0x295bcf,_0x2dd26f={'filter':_0x3dd612(_0x37b992(0x28c)),'row':_0x3dd612('sheets-pivot.emptyPivot.row'),'column':_0x3dd612('sheets-pivot.emptyPivot.column'),'values':_0x3dd612(_0x37b992(0x1cb))},{matrixCache:_0x4a6622,rangesCache:_0x373b8c}=Jo(_0x2dd26f,_0x33f7f3);return _0x4a6622[_0x37b992(0xa0)]((_0x2b2aff,_0x19fcfd,_0x5755ff)=>{const _0x548ee1=_0x37b992;_0x2f1394[_0x548ee1(0x2d0)](_0x2b2aff,_0x19fcfd,_0x5755ff);}),_0x34a60c['rangesInfo']=_0x373b8c,this[_0x37b992(0x2b2)][_0x37b992(0x294)]({'unitId':_0x476fe4,'subUnitId':_0x356ceb,'valueMatrix':_0x2f1394,'rangesCache':_0x373b8c,'pivotTableId':_0x2fb06f,'type':_0x295bcf[_0x37b992(0x168)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x476fe4,_0x356ceb,_0x2fb06f,_0x2f1394,_0x373b8c),this[_0x37b992(0x117)]['addExclusiveRange'](_0x476fe4,_0x356ceb,Wt,this[_0x37b992(0x1ae)](_0x373b8c,_0x2fb06f)),{'rangeCache':_0x34a60c[_0x37b992(0x189)],'matrix':_0x2f1394};}[_0x1675c1(0x1ae)](_0x16d174,_0x4d77e3){const _0x52a9b8=[],_0x556535=Lt(_0x16d174);for(const _0x33f698 of _0x556535)_0x52a9b8['push']({'groupId':_0x4d77e3,'range':_0x33f698});return _0x52a9b8;}['clearRenderCache'](_0x20a9ed){const _0x1483c6=_0x1675c1;var _0x476772,_0x56724b,_0x3776d3,_0x419e28;const {pivotTableId:_0x2e35e4,unitId:_0x134306,subUnitId:_0x190d46}=_0x20a9ed;if(!_0x2e35e4||!_0x134306||!_0x190d46)return;const _0x5f4a7b=this['_ensurePivotItemRenderValueMatrixCache'](_0x134306,_0x190d46),_0xbde0ac=(_0x56724b=(_0x476772=this[_0x1483c6(0xd0)][_0x1483c6(0x2e9)](_0x134306))==null?void 0x0:_0x476772[_0x1483c6(0x2e9)](_0x190d46))==null?void 0x0:_0x56724b[_0x1483c6(0x2e9)](_0x2e35e4);if(_0xbde0ac!=null&&_0xbde0ac[_0x1483c6(0x189)]){for(const _0x43a5ad of Object[_0x1483c6(0x121)](_0xbde0ac[_0x1483c6(0x189)]))_0xbde0ac[_0x1483c6(0x189)][_0x43a5ad]['forEach'](_0x2b5836=>{const _0x5ce384=_0x1483c6;for(let _0xad5dae=_0x2b5836[_0x5ce384(0x21c)];_0xad5dae<=_0x2b5836[_0x5ce384(0x138)];_0xad5dae++)for(let _0x17b504=_0x2b5836[_0x5ce384(0x16d)];_0x17b504<=_0x2b5836[_0x5ce384(0xa1)];_0x17b504++)_0x5f4a7b[_0x5ce384(0x152)](_0xad5dae,_0x17b504);});}_0xbde0ac&&((_0x419e28=(_0x3776d3=this[_0x1483c6(0xd0)][_0x1483c6(0x2e9)](_0x134306))==null?void 0x0:_0x3776d3[_0x1483c6(0x2e9)](_0x190d46))==null||_0x419e28[_0x1483c6(0x30d)](_0x2e35e4)),this['_viewUpdate$'][_0x1483c6(0x294)]({'unitId':_0x134306,'subUnitId':_0x190d46,'valueMatrix':_0x5f4a7b,'pivotTableId':_0x2e35e4,'rangesCache':void 0x0,'type':_0x20a9ed[_0x1483c6(0x168)]}),this['_exclusiveRangeService'][_0x1483c6(0xfb)](_0x134306,_0x190d46,Wt,_0x2e35e4);}[_0x1675c1(0x14a)](_0x180893,_0x402b17,_0x230568){const _0x79da30=_0x1675c1;var _0x3fbba0,_0x305a28,_0x10bce5,_0x22d110,_0x4884d5,_0x996fe6;return this['_pivotRenderInfoCache'][_0x79da30(0x1b4)](_0x180893)||this['_pivotRenderInfoCache'][_0x79da30(0x21f)](_0x180893,new Map()),(_0x3fbba0=this[_0x79da30(0xd0)][_0x79da30(0x2e9)](_0x180893))!=null&&_0x3fbba0[_0x79da30(0x1b4)](_0x402b17)||(_0x305a28=this[_0x79da30(0xd0)]['get'](_0x180893))==null||_0x305a28['set'](_0x402b17,new Map()),(_0x22d110=(_0x10bce5=this[_0x79da30(0xd0)][_0x79da30(0x2e9)](_0x180893))==null?void 0x0:_0x10bce5[_0x79da30(0x2e9)](_0x402b17))!=null&&_0x22d110['has'](_0x230568)||(_0x996fe6=(_0x4884d5=this[_0x79da30(0xd0)][_0x79da30(0x2e9)](_0x180893))==null?void 0x0:_0x4884d5[_0x79da30(0x2e9)](_0x402b17))==null||_0x996fe6[_0x79da30(0x21f)](_0x230568,{}),this[_0x79da30(0xd0)]['get'](_0x180893)[_0x79da30(0x2e9)](_0x402b17)[_0x79da30(0x2e9)](_0x230568);}[_0x1675c1(0x24d)](_0x1de067,_0x28bd88){const _0x573e06=_0x1675c1;var _0x1bac6c,_0x14cffe;return this[_0x573e06(0x2da)][_0x573e06(0x1b4)](_0x1de067)||this['_pivotRenderValueMatrixCache'][_0x573e06(0x21f)](_0x1de067,new Map()),(_0x1bac6c=this[_0x573e06(0x2da)]['get'](_0x1de067))!=null&&_0x1bac6c[_0x573e06(0x1b4)](_0x28bd88)||(_0x14cffe=this[_0x573e06(0x2da)][_0x573e06(0x2e9)](_0x1de067))==null||_0x14cffe[_0x573e06(0x21f)](_0x28bd88,new _0x1d8f59()),this[_0x573e06(0x2da)][_0x573e06(0x2e9)](_0x1de067)['get'](_0x28bd88);}['getPivotTableCellData'](_0x4bd704,_0x432533,_0x24e819,_0x183a2e){const _0x39090d=_0x1675c1;var _0xd4b28e,_0x31e914;const _0x817bd8=(_0x31e914=(_0xd4b28e=this[_0x39090d(0x2da)][_0x39090d(0x2e9)](_0x4bd704))==null?void 0x0:_0xd4b28e[_0x39090d(0x2e9)](_0x432533))==null?void 0x0:_0x31e914[_0x39090d(0x22e)](_0x24e819,_0x183a2e);if(_0x817bd8!=null)return _0x817bd8;}['getPivotTableIdByCell'](_0x578717,_0x4d64aa,_0x150ce3,_0xf28e70){const _0x3697ba=_0x1675c1;var _0x246b7e;const _0x58d55e=_0x34e162(_0x150ce3,_0xf28e70),_0x1954c5=(_0x246b7e=this[_0x3697ba(0xd0)]['get'](_0x578717))==null?void 0x0:_0x246b7e[_0x3697ba(0x2e9)](_0x4d64aa);return _0x1954c5?Array[_0x3697ba(0x2f9)](_0x1954c5[_0x3697ba(0x121)]())['find'](_0x597b34=>{const _0x267585=_0x3697ba,_0x3147a7=_0x1954c5[_0x267585(0x2e9)](_0x597b34),_0x22ea68=_0x3147a7==null?void 0x0:_0x3147a7[_0x267585(0x189)];return _0x22ea68?Object[_0x267585(0x121)](_0x22ea68)['some'](_0x44d661=>_0x22ea68[_0x44d661][_0x267585(0x2fc)](_0x16ca09=>_0x351caf[_0x267585(0x1af)](_0x16ca09,_0x58d55e))):!0x1;}):void 0x0;}[_0x1675c1(0xae)](_0x3b25e3,_0x3bd633,_0x35eb38){const _0x5bf183=_0x1675c1;var _0x46e8ec;const _0x4fad6a=(_0x46e8ec=this[_0x5bf183(0xd0)]['get'](_0x3b25e3))==null?void 0x0:_0x46e8ec[_0x5bf183(0x2e9)](_0x3bd633),_0xcd304e=[];return _0x4fad6a&&Array[_0x5bf183(0x2f9)](_0x4fad6a[_0x5bf183(0x121)]())[_0x5bf183(0x2ef)](_0x11fe27=>{const _0x27c1e7=_0x5bf183,_0x2c0649=_0x4fad6a[_0x27c1e7(0x2e9)](_0x11fe27),_0x34b38=_0x2c0649==null?void 0x0:_0x2c0649['rangesInfo'];if(_0x34b38)for(const _0x1a8d4b of Object[_0x27c1e7(0x13a)](_0x34b38)){let _0x25c1ec=!0x1;for(const _0x499b95 of _0x1a8d4b)if(_0x351caf[_0x27c1e7(0x1c8)](_0x499b95,_0x35eb38)){_0xcd304e[_0x27c1e7(0x1a3)](_0x11fe27),_0x25c1ec=!0x0;break;}if(_0x25c1ec)break;}}),_0xcd304e;}[_0x1675c1(0x25b)](_0x384efc,_0x5a5d35){const _0x2649e2=_0x1675c1;var _0x37c58a,_0x32a54f;return(_0x32a54f=(_0x37c58a=this['_pivotRenderValueMatrixCache'][_0x2649e2(0x2e9)](_0x384efc))==null?void 0x0:_0x37c58a['get'](_0x5a5d35))!=null?_0x32a54f:new _0x1d8f59();}[_0x1675c1(0x134)](_0x2d671c,_0x3b19ed){const _0x456f0b=_0x1675c1;var _0xf999f4;return(_0xf999f4=this[_0x456f0b(0xd0)]['get'](_0x2d671c))==null?void 0x0:_0xf999f4[_0x456f0b(0x2e9)](_0x3b19ed);}[_0x1675c1(0x124)](_0x595164,_0x2cf68a,_0x39b4e4){const _0x177016=_0x1675c1;var _0xaa370f,_0x5e75ea;return(_0x5e75ea=(_0xaa370f=this[_0x177016(0xd0)][_0x177016(0x2e9)](_0x595164))==null?void 0x0:_0xaa370f[_0x177016(0x2e9)](_0x2cf68a))==null?void 0x0:_0x5e75ea[_0x177016(0x2e9)](_0x39b4e4);}['deleteUnitId'](_0x532bd5){const _0x333eeb=_0x1675c1;this['_pivotRenderInfoCache']['delete'](_0x532bd5),this[_0x333eeb(0x2da)][_0x333eeb(0x30d)](_0x532bd5);}['markDirty'](_0x1945b,_0x3de256){const _0x4ebb74=_0x1675c1;this[_0x4ebb74(0x2db)][_0x4ebb74(0x294)]({'unitId':_0x1945b,'subUnitId':_0x3de256});}};Ne=qi([rt(0x0,_0x2fd05e(_0x7abaf8)),rt(0x1,_0x2fd05e(_0x854c25)),rt(0x2,_0x2fd05e(ve)),rt(0x3,_0x2fd05e(_0x146954)),rt(0x4,_0x2fd05e(_0x5dc596))],Ne);var Yi=Object['getOwnPropertyDescriptor'],Qi=(_0x108312,_0x37dc6b,_0x5e8b47,_0x4646af)=>{for(var _0x2e24d5=_0x4646af>0x1?void 0x0:_0x4646af?Yi(_0x37dc6b,_0x5e8b47):_0x37dc6b,_0xb7e6dd=_0x108312['length']-0x1,_0x1ec568;_0xb7e6dd>=0x0;_0xb7e6dd--)(_0x1ec568=_0x108312[_0xb7e6dd])&&(_0x2e24d5=_0x1ec568(_0x2e24d5)||_0x2e24d5);return _0x2e24d5;},yo=(_0x3abb16,_0x17ff86)=>(_0x1edf6d,_0x5b2f94)=>_0x17ff86(_0x1edf6d,_0x5b2f94,_0x3abb16);let ie=class extends _0x5334b7{constructor(_0x4b1560,_0x15e62a){const _0x23afae=_0x1675c1;super(),U(this,_0x23afae(0x1cf),new _0x1e1483({'PIVOT_PERFORM_CHECK':be})),U(this,_0x23afae(0xa5),new _0x102fa2({'PIVOT_MUTATION_GENERATE':Go})),(this['_sheetInterceptorService']=_0x4b1560,this[_0x23afae(0x140)]=_0x15e62a,this[_0x23afae(0x2b8)]());}[_0x1675c1(0x2b8)](){const _0x42061d=_0x1675c1;this[_0x42061d(0x24b)]();}['getPivotPerformCheck'](_0x1e7cb4){const _0x4c8ce5=_0x1675c1;return this[_0x4c8ce5(0x1cf)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0x1e7cb4);}[_0x1675c1(0x24b)](){const _0x2a8172=_0x1675c1;this['disposeWithMe'](this[_0x2a8172(0x299)][_0x2a8172(0x2ac)](_0xc1d871[_0x2a8172(0xd4)],{'priority':0xc8,'effect':_0x227340['Value']|_0x227340[_0x2a8172(0x26e)],'handler':(_0x409dc6,_0x32d345,_0x1dd79f)=>{const _0x447c00=_0x2a8172,{row:_0xaebf2d,col:_0x5d506e,unitId:_0x35a38a,subUnitId:_0x40b0c7,workbook:_0x5eb79a}=_0x32d345,_0x59c8fd=this[_0x447c00(0x140)][_0x447c00(0x157)](_0x35a38a,_0x40b0c7,_0xaebf2d,_0x5d506e);if(!_0x59c8fd)return _0x1dd79f(_0x409dc6);const _0x12a164={..._0x409dc6};(_0x59c8fd['v']||_0x59c8fd['v']===0x0)&&(_0x12a164['v']=_0x59c8fd['v']),_0x59c8fd['t']&&(_0x12a164['t']=_0x59c8fd['t']);const _0x58d61f=(typeof(_0x409dc6==null?void 0x0:_0x409dc6['s'])==_0x447c00(0x25c)?_0x5eb79a[_0x447c00(0x23f)]()['get'](_0x409dc6==null?void 0x0:_0x409dc6['s']):_0x409dc6==null?void 0x0:_0x409dc6['s'])||{},_0x406a4d=_0x5eb79a['getStyles']()['get'](_0x59c8fd['s']),_0x7b8c1f={..._0x406a4d,..._0x58d61f};_0x406a4d!=null&&_0x406a4d['n']&&(_0x7b8c1f['n']=_0x406a4d['n']);const _0x187d29=_0x5eb79a['getStyles']()[_0x447c00(0x2d0)](_0x7b8c1f);return _0x12a164['s']=_0x187d29,(_0x59c8fd[_0x447c00(0x118)]===_0x3f236f[_0x447c00(0xe8)]||_0x59c8fd[_0x447c00(0x118)]===_0x3f236f[_0x447c00(0x1cc)])&&(_0x12a164[_0x447c00(0xc7)]={},_0x12a164[_0x447c00(0xc7)][_0x447c00(0x249)]=li),_0x1dd79f(_0x12a164);}}));}};ie=Qi([yo(0x0,_0x2fd05e(_0x5ed9f4)),yo(0x1,_0x2fd05e(Ne))],ie);function Nt(_0x279a67,_0x59bfd5){const _0xe80104=_0x1675c1;switch(_0x59bfd5){case _0x4cc34c[_0xe80104(0x9c)]:return _0x279a67[_0xe80104(0x204)];case _0x4cc34c['Filter']:return _0x279a67[_0xe80104(0x26a)];case _0x4cc34c['Row']:return _0x279a67['rowFields'];case _0x4cc34c['Column']:return _0x279a67['columnFields'];default:return[];}}function $e(_0x488339,_0x2b0d86){const _0x20b9f8=_0x1675c1;return _0x488339[_0x20b9f8(0x149)][_0x2b0d86]||_0x488339[_0x20b9f8(0x151)][_0x2b0d86];}function Xi(_0x2ac111,_0x155e87){const _0x10ef02=_0x1675c1,{area:_0x25faa8,fieldJson:_0x3061a8,index:_0x13a220}=_0x155e87;_0x25faa8===_0x4cc34c[_0x10ef02(0x9c)]?_0x2ac111[_0x10ef02(0x149)][_0x3061a8['id']]=_0x3061a8:_0x2ac111[_0x10ef02(0x151)][_0x3061a8['id']]=_0x3061a8,Nt(_0x2ac111,_0x25faa8)['splice'](_0x13a220,0x0,_0x3061a8['id']);}function Zi(_0x3b5870,_0x3af395){const _0x5aa231=_0x1675c1,{area:_0x225f86,fieldId:_0x1ae75e,index:_0x38f6cc}=_0x3af395;_0x225f86===_0x4cc34c[_0x5aa231(0x9c)]?delete _0x3b5870[_0x5aa231(0x149)][_0x1ae75e]:delete _0x3b5870[_0x5aa231(0x151)][_0x1ae75e],Nt(_0x3b5870,_0x225f86)[_0x5aa231(0x1c1)](_0x38f6cc,0x1);}function es(_0x205adf,_0x13e660){const {fieldId:_0xa5a260,name:_0x570f08}=_0x13e660,_0x117b23=$e(_0x205adf,_0xa5a260);_0x117b23&&(_0x117b23['displayName']=_0x570f08);}function ts(_0x34da00,_0x4a11b1){const _0xf068d1=_0x1675c1,{fieldId:_0x3772fe,collapse:_0x4964a2,item:_0x2bb381}=_0x4a11b1;_0x2bb381!==void 0x0?(_0x34da00[_0xf068d1(0x1f1)][_0x3772fe]=_0x34da00[_0xf068d1(0x1f1)][_0x3772fe]||{},_0x34da00[_0xf068d1(0x1f1)][_0x3772fe][_0x2bb381]=_0x4964a2):_0x34da00[_0xf068d1(0x1f1)][_0x3772fe]=_0x4964a2;}function os(_0x324a59,_0x4a10df){const _0x12531f=_0x1675c1,{fieldId:_0x423143,format:_0x31bda4}=_0x4a10df,_0x49fb1=$e(_0x324a59,_0x423143);_0x49fb1&&(_0x49fb1[_0x12531f(0x1dd)]=_0x31bda4);}function ns(_0x29911b,_0xd2b3b1){const _0x269bb0=_0x1675c1,{fieldId:_0x1bd88a,filterInfo:_0x2c5d66}=_0xd2b3b1,_0x5f556c=$e(_0x29911b,_0x1bd88a);_0x5f556c&&(_0x5f556c[_0x269bb0(0x15f)]=_0x2c5d66);}function is(_0x1d63c8,_0x203b47){const _0x5c456d=_0x1675c1,{fieldId:_0x6fd2ba,filterInfo:_0x2ecc30}=_0x203b47,_0x255693=_0x1d63c8[_0x5c456d(0x15a)][_0x5c456d(0x29a)](_0x1e6199=>_0x1e6199['fieldId']!==_0x6fd2ba);_0x2ecc30&&_0x255693[_0x5c456d(0x1a3)]({'fieldId':_0x6fd2ba,'filterInfo':_0x2ecc30}),_0x1d63c8['valueFilter']=_0x255693;}function ss(_0xab316a,_0x3e2655){const {fieldId:_0x10fa5a,subtotalType:_0x1e5132}=_0x3e2655,_0x4bc090=$e(_0xab316a,_0x10fa5a);_0x4bc090&&(_0x4bc090['subtotal']=_0x1e5132);}function as(_0x40f344,_0x4297ba){const _0x5f3a42=_0x1675c1,{fieldId:_0x41777f,oldArea:_0x20b117,area:_0x432aa3,oldIndex:_0x2c1e31,index:_0x30bbca}=_0x4297ba,_0x784356=_0x20b117!==_0x4cc34c['Value']&&_0x432aa3===_0x4cc34c['Value'],_0x5b7563=_0x20b117===_0x4cc34c['Value']&&_0x432aa3!==_0x4cc34c[_0x5f3a42(0x9c)];if(_0x784356||_0x5b7563){const _0x118d29=$e(_0x40f344,_0x41777f);_0x118d29&&(_0x784356?(delete _0x40f344[_0x5f3a42(0x151)][_0x41777f],_0x40f344['measure'][_0x41777f]=_0x118d29):(delete _0x40f344['measure'][_0x41777f],_0x40f344[_0x5f3a42(0x151)][_0x41777f]=_0x118d29));}const _0x346c62=Nt(_0x40f344,_0x20b117),_0x5613ec=Nt(_0x40f344,_0x432aa3);_0x346c62['splice'](_0x2c1e31,0x1),_0x5613ec['splice'](_0x30bbca,0x0,_0x41777f);}function rs(_0x3b87d5,_0x20cf4a){const _0x3f5f23=_0x1675c1,{valuePosition:_0x10bd6d,index:_0x4a119e}=_0x20cf4a;_0x3b87d5[_0x3f5f23(0x179)]=_0x10bd6d,_0x3b87d5['valueIndex']=_0x4a119e;}function ls(_0x35dee0,_0x622b5d){const _0x514188=_0x1675c1,{tableFieldId:_0x5764ab,sourceName:_0x4bb261,dataFieldId:_0x2a40a9}=_0x622b5d,_0xbecf05=$e(_0x35dee0,_0x5764ab);_0xbecf05&&(_0xbecf05[_0x514188(0x1fc)]=_0x4bb261,_0xbecf05[_0x514188(0xea)]=_0x2a40a9);}function cs(_0x56998c,_0x13a15d){const _0x2bdf20=_0x1675c1,{fieldId:_0x5abb85,sortInfo:_0x244a50}=_0x13a15d,_0x581573=$e(_0x56998c,_0x5abb85);_0x581573&&(_0x581573[_0x2bdf20(0x1da)]=_0x244a50);}function ds(_0x49881d,_0xcf3f54){const _0x1b465e=_0x1675c1,{options:_0x1fe55c}=_0xcf3f54;_0x49881d['options']={..._0x49881d[_0x1b465e(0x2a1)],..._0x1fe55c};}const Gt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.add-pivot-field','handler'(_0x340bb3,_0x52239e){const _0x2f388b=_0x1675c1;if(!_0x52239e)return!0x1;if(!!_0x340bb3[_0x2f388b(0x2e9)](_0xe8dcbb)[_0x2f388b(0x1dc)](H))return!0x0;const _0x367af2=_0x340bb3[_0x2f388b(0x2e9)](G),{pivotTableId:_0x439565,fieldJson:_0x5dbc59,area:_0x3eb375,index:_0x2b0964,unitId:_0x20800f,subUnitId:_0x286afd}=_0x52239e,_0x23d65e=_0x367af2[_0x2f388b(0x220)](_0x439565);if(!_0x23d65e)return!0x1;let _0x27b262;_0x3eb375===_0x4cc34c[_0x2f388b(0x9c)]?_0x27b262=_0x3d5287(_0x5dbc59):_0x27b262=_0x4d2cb7(_0x5dbc59),_0x23d65e[_0x2f388b(0x273)](_0x27b262,_0x3eb375,_0x2b0964);const _0x490e7f=_0x367af2[_0x2f388b(0x30e)](_0x20800f,_0x286afd,_0x439565);Xi(_0x490e7f,_0x52239e);const _0x404975=_0x367af2['getPivotTableConfig'](_0x20800f,_0x286afd,_0x439565);return _0x367af2[_0x2f388b(0x196)]({'unitId':_0x20800f,'subUnitId':_0x286afd,'token':_0x439565,'type':L[_0x2f388b(0x2e2)],'pivotConfig':_0x404975}),!0x0;}},$t={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x15e),'handler'(_0x4b2cd7,_0x5d808f){const _0x470697=_0x1675c1;if(!_0x5d808f)return!0x1;if(!!_0x4b2cd7[_0x470697(0x2e9)](_0xe8dcbb)[_0x470697(0x1dc)](H))return!0x0;const _0x2c18ff=_0x4b2cd7['get'](G),{pivotTableId:_0x5a90a7,fieldId:_0x4a06d5,unitId:_0x20e6b6,subUnitId:_0x41d9e4}=_0x5d808f,_0x56f6d4=_0x2c18ff['getPivotTableInstance'](_0x5a90a7);if(!_0x56f6d4)return!0x1;_0x56f6d4[_0x470697(0x198)](_0x4a06d5);const _0x3378eb=_0x2c18ff[_0x470697(0x30e)](_0x20e6b6,_0x41d9e4,_0x5a90a7);Zi(_0x3378eb,_0x5d808f);const _0x5039a9=_0x2c18ff[_0x470697(0x14e)](_0x20e6b6,_0x41d9e4,_0x5a90a7);return _0x2c18ff[_0x470697(0x196)]({'unitId':_0x20e6b6,'subUnitId':_0x41d9e4,'token':_0x5a90a7,'type':L[_0x470697(0x2e2)],'pivotConfig':_0x5039a9}),!0x0;}},zt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x17f),'handler'(_0x2aaf1b,_0x353cb6){const _0x451c43=_0x1675c1;if(!_0x353cb6)return!0x1;if(!!_0x2aaf1b[_0x451c43(0x2e9)](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x1dc692=_0x2aaf1b[_0x451c43(0x2e9)](G),{unitId:_0x412fd6,subUnitId:_0x2f1e65,pivotTableId:_0x766410,fieldId:_0x45e74c,name:_0x3f37e3}=_0x353cb6,_0x3c7803=_0x1dc692[_0x451c43(0x220)](_0x766410);if(!_0x3c7803)return!0x1;_0x3c7803['renameField'](_0x45e74c,_0x3f37e3);const _0xc10714=_0x1dc692[_0x451c43(0x30e)](_0x412fd6,_0x2f1e65,_0x766410);return es(_0xc10714,_0x353cb6),_0x1dc692['addDirtyPivotTable']({'unitId':_0x412fd6,'subUnitId':_0x2f1e65,'token':_0x766410,'type':L[_0x451c43(0x2e2)]}),!0x0;}},Jt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x27d),'handler'(_0x2dfb73,_0xe02744){const _0x1b6c37=_0x1675c1;if(!_0xe02744)return!0x1;if(!!_0x2dfb73[_0x1b6c37(0x2e9)](_0xe8dcbb)[_0x1b6c37(0x1dc)](H))return!0x0;const _0x2559dc=_0x2dfb73[_0x1b6c37(0x2e9)](G),{unitId:_0x4da697,subUnitId:_0x35786f,pivotTableId:_0xd5a7b3,fieldId:_0x597731,collapse:_0x2af640,item:_0xc2d550}=_0xe02744,_0x396c6c=_0x2559dc[_0x1b6c37(0x220)](_0xd5a7b3);if(!_0x396c6c)return!0x1;_0x396c6c[_0x1b6c37(0x302)](_0x597731,_0x2af640,_0xc2d550);const _0x3a7d0f=_0x2559dc[_0x1b6c37(0x30e)](_0x4da697,_0x35786f,_0xd5a7b3);return ts(_0x3a7d0f,_0xe02744),_0x2559dc[_0x1b6c37(0x196)]({'unitId':_0x4da697,'subUnitId':_0x35786f,'token':_0xd5a7b3,'type':L[_0x1b6c37(0x2e2)]}),!0x0;}},jt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x14c),'handler'(_0x170a3d,_0x1aecf3){const _0x3dc460=_0x1675c1;if(!_0x1aecf3)return!0x1;if(!!_0x170a3d[_0x3dc460(0x2e9)](_0xe8dcbb)[_0x3dc460(0x1dc)](H))return!0x0;const _0x58536b=_0x170a3d[_0x3dc460(0x2e9)](G),{unitId:_0xbd827a,subUnitId:_0x5e821c,pivotTableId:_0x49804d,fieldId:_0x4e5777,format:_0x1d97c2}=_0x1aecf3,_0x753782=_0x58536b[_0x3dc460(0x220)](_0x49804d);if(!_0x753782)return!0x1;_0x753782[_0x3dc460(0x308)](_0x4e5777,_0x1d97c2);const _0x280623=_0x58536b[_0x3dc460(0x30e)](_0xbd827a,_0x5e821c,_0x49804d);return os(_0x280623,_0x1aecf3),_0x58536b[_0x3dc460(0x196)]({'unitId':_0xbd827a,'subUnitId':_0x5e821c,'token':_0x49804d,'type':L[_0x3dc460(0x2e2)]}),!0x0;}},Kt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x144),'handler'(_0x366e79,_0x453562){const _0x246b8c=_0x1675c1;if(!_0x453562)return!0x1;if(!!_0x366e79[_0x246b8c(0x2e9)](_0xe8dcbb)[_0x246b8c(0x1dc)](H))return!0x0;const _0x5d595f=_0x366e79[_0x246b8c(0x2e9)](G),{unitId:_0x42b3de,subUnitId:_0x248cc2,pivotTableId:_0x19fc39,fieldId:_0x2e4d1d,filterInfo:_0x5d3b3f}=_0x453562,_0x3b1bf5=_0x5d595f[_0x246b8c(0x220)](_0x19fc39);if(!_0x3b1bf5)return!0x1;_0x3b1bf5['setLabelFilterInfo'](_0x2e4d1d,_0x5d3b3f);const _0x4714a7=_0x5d595f[_0x246b8c(0x30e)](_0x42b3de,_0x248cc2,_0x19fc39);return ns(_0x4714a7,_0x453562),_0x5d595f[_0x246b8c(0x196)]({'unitId':_0x42b3de,'subUnitId':_0x248cc2,'token':_0x19fc39,'type':L['Set']}),!0x0;}},Ht={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.set-pivot-option','handler'(_0x52d65e,_0x4ce0d8){const _0xb54c2c=_0x1675c1;if(!_0x4ce0d8)return!0x1;if(!!_0x52d65e[_0xb54c2c(0x2e9)](_0xe8dcbb)[_0xb54c2c(0x1dc)](H))return!0x0;const _0x3c7ad4=_0x52d65e[_0xb54c2c(0x2e9)](G),{unitId:_0x2fcc6c,subUnitId:_0x4ec392,pivotTableId:_0x47c290,options:_0x3e3c0d}=_0x4ce0d8,_0x46b1bc=_0x3c7ad4[_0xb54c2c(0x220)](_0x47c290);if(!_0x46b1bc)return!0x1;_0x46b1bc[_0xb54c2c(0x147)](_0x3e3c0d);const _0x3cdf88=_0x3c7ad4[_0xb54c2c(0x30e)](_0x2fcc6c,_0x4ec392,_0x47c290);return ds(_0x3cdf88,_0x4ce0d8),_0x3c7ad4[_0xb54c2c(0x196)]({'unitId':_0x2fcc6c,'subUnitId':_0x4ec392,'token':_0x47c290,'type':L['Set']}),!0x0;}},qt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x292),'handler'(_0xc71f2d,_0x2f1dc1){const _0x5da765=_0x1675c1;if(!_0x2f1dc1)return!0x1;if(!!_0xc71f2d['get'](_0xe8dcbb)[_0x5da765(0x1dc)](H))return!0x0;const _0x247089=_0xc71f2d['get'](G),{unitId:_0xcd1eb8,subUnitId:_0x3e364c,pivotTableId:_0x420bbd,sortInfo:_0x50f779,fieldId:_0x2bcde8}=_0x2f1dc1,_0x4bae60=_0x247089[_0x5da765(0x220)](_0x420bbd);if(!_0x4bae60)return!0x1;_0x4bae60[_0x5da765(0x17b)](_0x2bcde8,_0x50f779);const _0x1c3b8f=_0x247089[_0x5da765(0x30e)](_0xcd1eb8,_0x3e364c,_0x420bbd);return cs(_0x1c3b8f,_0x2f1dc1),_0x247089[_0x5da765(0x196)]({'unitId':_0xcd1eb8,'subUnitId':_0x3e364c,'token':_0x420bbd,'type':L[_0x5da765(0x2e2)]}),!0x0;}},Yt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x26c),'handler'(_0x2a90c7,_0x346289){const _0x5f5a8a=_0x1675c1;if(!_0x346289)return!0x1;if(!!_0x2a90c7[_0x5f5a8a(0x2e9)](_0xe8dcbb)[_0x5f5a8a(0x1dc)](H))return!0x0;const _0x21356e=_0x2a90c7[_0x5f5a8a(0x2e9)](G),{unitId:_0x3029d1,subUnitId:_0x51969f,pivotTableId:_0x19c9c8,fieldId:_0xed34c1,subtotalType:_0x55a362}=_0x346289,_0x5d3f77=_0x21356e[_0x5f5a8a(0x220)](_0x19c9c8);if(!_0x5d3f77)return!0x1;_0x5d3f77['setSubtotalType'](_0xed34c1,_0x55a362);const _0x22b37c=_0x21356e[_0x5f5a8a(0x30e)](_0x3029d1,_0x51969f,_0x19c9c8);return ss(_0x22b37c,_0x346289),_0x21356e[_0x5f5a8a(0x196)]({'unitId':_0x3029d1,'subUnitId':_0x51969f,'token':_0x19c9c8,'type':L[_0x5f5a8a(0x2e2)]}),!0x0;}},Qt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0xd7),'handler'(_0x342dfb,_0x53d3be){const _0x906b09=_0x1675c1;if(!_0x53d3be)return!0x1;if(!!_0x342dfb['get'](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x1e5168=_0x342dfb[_0x906b09(0x2e9)](G),{unitId:_0x17adad,subUnitId:_0x2f50bb,pivotTableId:_0x4b277b,fieldId:_0x3b7a85,filterInfo:_0x4b1b49}=_0x53d3be,_0x335c9a=_0x1e5168['getPivotTableInstance'](_0x4b277b);if(!_0x335c9a)return!0x1;_0x335c9a[_0x906b09(0x23c)](_0x3b7a85,_0x4b1b49);const _0x57a62d=_0x1e5168['getPivotTableModelConfig'](_0x17adad,_0x2f50bb,_0x4b277b);return is(_0x57a62d,_0x53d3be),_0x1e5168[_0x906b09(0x196)]({'unitId':_0x17adad,'subUnitId':_0x2f50bb,'token':_0x4b277b,'type':L[_0x906b09(0x2e2)]}),!0x0;}},Xt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x533829,_0x2fa6ca){const _0x2b6361=_0x1675c1;if(!_0x2fa6ca)return!0x1;if(!!_0x533829['get'](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x1c6e2b=_0x533829[_0x2b6361(0x2e9)](G),{unitId:_0x4c01db,subUnitId:_0x4a22b7,pivotTableId:_0x365657,area:_0x463d33,index:_0xafb88f,fieldId:_0x447fd7}=_0x2fa6ca,_0x339484=_0x1c6e2b[_0x2b6361(0x220)](_0x365657);if(!_0x339484)return!0x1;_0x339484[_0x2b6361(0x2cb)](_0x447fd7,_0x463d33,_0xafb88f);const _0x45b5a2=_0x1c6e2b['getPivotTableModelConfig'](_0x4c01db,_0x4a22b7,_0x365657);return as(_0x45b5a2,_0x2fa6ca),_0x1c6e2b[_0x2b6361(0x196)]({'unitId':_0x4c01db,'subUnitId':_0x4a22b7,'token':_0x365657,'type':L[_0x2b6361(0x2e2)]}),!0x0;}},Zt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x1ec21a,_0x4f0551){const _0x26a6e6=_0x1675c1;if(!_0x4f0551)return!0x1;if(!!_0x1ec21a['get'](_0xe8dcbb)[_0x26a6e6(0x1dc)](H))return!0x0;const _0x3680d9=_0x1ec21a['get'](G),{unitId:_0x26c284,subUnitId:_0x1c131b,pivotTableId:_0xb24915,sourceName:_0x1d7283,dataFieldId:_0x278d1c,tableFieldId:_0x1f90bb}=_0x4f0551,_0xf814e7=_0x3680d9[_0x26a6e6(0x220)](_0xb24915);if(!_0xf814e7)return!0x1;_0xf814e7[_0x26a6e6(0x136)](_0x1f90bb,_0x1d7283,_0x278d1c);const _0x4a8689=_0x3680d9['getPivotTableModelConfig'](_0x26c284,_0x1c131b,_0xb24915);return ls(_0x4a8689,_0x4f0551),_0x3680d9[_0x26a6e6(0x196)]({'unitId':_0x26c284,'subUnitId':_0x1c131b,'token':_0xb24915,'type':L[_0x26a6e6(0x2e2)]}),!0x0;}},eo={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x26b),'handler'(_0x5cd7a9,_0x5e5e09){const _0x475e14=_0x1675c1;if(!_0x5e5e09)return!0x1;if(!!_0x5cd7a9[_0x475e14(0x2e9)](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x5cc933=_0x5cd7a9[_0x475e14(0x2e9)](G),{unitId:_0xcef795,subUnitId:_0x3453d4,pivotTableId:_0x4296ae,valuePosition:_0x4a2649,index:_0x4c5d86}=_0x5e5e09,_0x3022dd=_0x5cc933[_0x475e14(0x220)](_0x4296ae);if(!_0x3022dd)return!0x1;_0x3022dd[_0x475e14(0x2dc)](_0x4a2649,_0x4c5d86);const _0xef6687=_0x5cc933['getPivotTableModelConfig'](_0xcef795,_0x3453d4,_0x4296ae);return rs(_0xef6687,_0x5e5e09),_0x5cc933[_0x475e14(0x196)]({'unitId':_0xcef795,'subUnitId':_0x3453d4,'token':_0x4296ae,'type':L['Set']}),!0x0;}};function me(_0x230214,_0x60a6bf,_0x573498){const _0x2243a0=_0x1675c1,{pivotTableId:_0x3b6d4c,unitId:_0x11bfb3,subUnitId:_0x46da59}=_0x60a6bf,_0x56bcc7=[],_0x2194b0=[];for(const _0x24ef05 of _0x573498)switch(_0x24ef05[_0x2243a0(0x168)]){case _0x267aa9[_0x2243a0(0x2c6)]:{const {fieldJson:_0x156260,area:_0x2752d3,index:_0x1075b6}=_0x24ef05,_0x894ace={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldJson':_0x156260,'area':_0x2752d3,'index':_0x1075b6},_0x3c83d2={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x156260['id'],'area':_0x2752d3,'index':_0x1075b6};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Gt['id'],'params':_0x894ace}),_0x2194b0[_0x2243a0(0x1fe)]({'id':$t['id'],'params':_0x3c83d2});}break;case _0x267aa9[_0x2243a0(0x24c)]:{const {fieldId:_0x4c88d4,newSubtotalType:_0x141a7b,oldSubtotalType:_0xa88b58}=_0x24ef05,_0x8fff0b={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x4c88d4,'subtotalType':_0x141a7b};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Yt['id'],'params':_0x8fff0b});const _0x373654={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x4c88d4,'subtotalType':_0xa88b58};_0x2194b0['unshift']({'id':Yt['id'],'params':_0x373654});}break;case _0x267aa9['RemoveField']:{const {fieldId:_0x1f70e3,fieldJson:_0x5989a4,area:_0x1deedd,index:_0x4bf60f}=_0x24ef05,_0x5a93e1={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x1f70e3,'index':_0x4bf60f,'area':_0x1deedd};_0x56bcc7['push']({'id':$t['id'],'params':_0x5a93e1});const _0x3e5267={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldJson':_0x5989a4,'area':_0x1deedd,'index':_0x4bf60f};_0x2194b0[_0x2243a0(0x1fe)]({'id':Gt['id'],'params':_0x3e5267});}break;case _0x267aa9['RenameField']:{const {fieldId:_0x38b485,oldName:_0x279da7,newName:_0x156744}=_0x24ef05,_0x21f71f={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x38b485,'name':_0x156744};_0x56bcc7[_0x2243a0(0x1a3)]({'id':zt['id'],'params':_0x21f71f});const _0xe5a460={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x38b485,'name':_0x279da7};_0x2194b0[_0x2243a0(0x1fe)]({'id':zt['id'],'params':_0xe5a460});}break;case _0x267aa9[_0x2243a0(0x268)]:{const {fieldId:_0x5a0321,oldFilterInfo:_0x36137b,newFilterInfo:_0x1224a5}=_0x24ef05,_0x3ecac8={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a0321,'filterInfo':_0x1224a5};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Kt['id'],'params':_0x3ecac8});const _0x13cc00={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a0321,'filterInfo':_0x36137b};_0x2194b0[_0x2243a0(0x1fe)]({'id':Kt['id'],'params':_0x13cc00});}break;case _0x267aa9[_0x2243a0(0x246)]:{const {fieldId:_0x305f02,oldSortInfo:_0x5f52c8,newSortInfo:_0x424cb2}=_0x24ef05,_0x425137={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x305f02,'sortInfo':_0x424cb2};_0x56bcc7[_0x2243a0(0x1a3)]({'id':qt['id'],'params':_0x425137});const _0x4074de={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x305f02,'sortInfo':_0x5f52c8};_0x2194b0[_0x2243a0(0x1fe)]({'id':qt['id'],'params':_0x4074de});}break;case _0x267aa9[_0x2243a0(0x2ba)]:{const {oldOptions:_0x36c5a9,newOptions:_0x29fa96}=_0x24ef05,_0x2c95ef={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'options':_0x29fa96};_0x56bcc7['push']({'id':Ht['id'],'params':_0x2c95ef});const _0x5d914d={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'options':_0x36c5a9};_0x2194b0['unshift']({'id':Ht['id'],'params':_0x5d914d});}break;case _0x267aa9[_0x2243a0(0x18b)]:{const {oldArea:_0x12b97e,newArea:_0x13cb73,oldIndex:_0x23945e,newIndex:_0x9bf24a,fieldId:_0x2a9f1a}=_0x24ef05,_0x116783={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x2a9f1a,'area':_0x13cb73,'index':_0x9bf24a,'oldArea':_0x12b97e,'oldIndex':_0x23945e};_0x56bcc7['push']({'id':Xt['id'],'params':_0x116783});const _0x2fdb68={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x2a9f1a,'area':_0x12b97e,'index':_0x23945e,'oldArea':_0x13cb73,'oldIndex':_0x9bf24a};_0x2194b0[_0x2243a0(0x1fe)]({'id':Xt['id'],'params':_0x2fdb68});}break;case _0x267aa9[_0x2243a0(0x1b2)]:{const {oldValuePosition:_0x51760a,newValuePosition:_0x26e8bc,oldIndex:_0x1172b4,newIndex:_0x2a7cf6}=_0x24ef05,_0x2141f={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'valuePosition':_0x26e8bc,'index':_0x2a7cf6};_0x56bcc7[_0x2243a0(0x1a3)]({'id':eo['id'],'params':_0x2141f});const _0x33f864={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'valuePosition':_0x51760a,'index':_0x1172b4};_0x2194b0[_0x2243a0(0x1fe)]({'id':eo['id'],'params':_0x33f864});}break;case _0x267aa9[_0x2243a0(0x1a0)]:{const {fieldId:_0x477210,collapse:_0x124f87,item:_0x31cb69}=_0x24ef05,_0x89001={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x477210,'collapse':_0x124f87,'item':_0x31cb69};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Jt['id'],'params':_0x89001});const _0x1a0994={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x477210,'collapse':!_0x124f87,'item':_0x31cb69};_0x2194b0['unshift']({'id':Jt['id'],'params':_0x1a0994});}break;case _0x267aa9['SetFieldFormat']:{const {newFormat:_0x4ebd0a,oldFormat:_0x4091b0,fieldId:_0x5a45d8}=_0x24ef05,_0x2de2ef={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a45d8,'format':_0x4ebd0a};_0x56bcc7[_0x2243a0(0x1a3)]({'id':jt['id'],'params':_0x2de2ef});const _0x45983c={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a45d8,'format':_0x4091b0};_0x2194b0[_0x2243a0(0x1fe)]({'id':jt['id'],'params':_0x45983c});}break;case _0x267aa9[_0x2243a0(0x1ac)]:{const {tableFieldId:_0x1f490f,oldSourceName:_0x2f61bd,newSourceName:_0x55cb4b,oldDataFieldId:_0x3e7c58,newDataFieldId:_0x8699c5}=_0x24ef05,_0x54137f={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'tableFieldId':_0x1f490f,'sourceName':_0x55cb4b,'dataFieldId':_0x8699c5};_0x56bcc7['push']({'id':Zt['id'],'params':_0x54137f});const _0x585209={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'tableFieldId':_0x1f490f,'sourceName':_0x2f61bd,'dataFieldId':_0x3e7c58};_0x2194b0['unshift']({'id':Zt['id'],'params':_0x585209});}break;case _0x267aa9[_0x2243a0(0xe7)]:{const {fieldId:_0x43d716,filterInfo:_0x582a27,oldFilterInfo:_0xfdca94}=_0x24ef05,_0x4698ab={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x43d716,'filterInfo':_0x582a27};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Qt['id'],'params':_0x4698ab});const _0x2fc7ee={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x43d716,'filterInfo':_0xfdca94};_0x2194b0[_0x2243a0(0x1fe)]({'id':Qt['id'],'params':_0x2fc7ee});}}return{'redos':_0x56bcc7,'undos':_0x2194b0};}function _0x57f5(){const _0x496a07=['getActiveSheet','NUM','setOptions','HourMinute','measure','_ensurePivotItemRenderInfoCache','updateConfig','sheet.mutation.set-pivot-format','versions','getPivotTableConfig','4294080iNQRwh','_initPivotDataGetListener','dimension','realDeleteValue','rowInfo','MAX_SAFE_INTEGER','pivotTableIndexConfig','COMMAND','getPivotTableCellData','collectionConfig','FORCE_STRING','valueFilter','needSameDeleteModel','getDirtyInfo','refreshData','sheet.mutation.remove-pivot-field','filterInfo','update','deleteUnitId','None','#1d32e9','concat','getTextInfo','sheet.command.update-date-group','unitId','type','getSortInfo','remove','30dyFdhG','fieldsCollectionChange$','startColumn','_initGlobalComputed','getDisplayName','onCommandExecuted','addFieldWithSourceId','_sheetsPivotTableService','panel','updateView','parse','setPivotTableConfig','sheets-pivot.cellDateGroupDisplay.hourMinute','countNums','valuePosition','_configService','setSortInfo','originalFieldId','getPivotTableMatrixInfo','70764Nmptrp','sheet.mutation.rename-pivot-field','getPivotDisplayConfig','sideEffectUpdateWorkerCache','_host','stdDev','SetPivotSort','_onRefRangeChange','3291382PxQPhy','matrix','average','rangesInfo','isDate','UpdateFieldPosition','createDataFieldId','_initConfig','getValuePosition','call','sheet.command.pivot-drill-down','ptn','NUMBER','BadReference','result','body','addDirtyPivotTable','Count\x20of\x20','removeField','addPivotTable','collectionChange$','hasField','endCollectChangeset','register','defineProperty','includes','SetCollapse','removeCollectionImp','configVersion$','push','Year','#FFFFFF','_textInfo','add','NotNumber','sheets-pivot.dateGroup.date','Filter','getDataFieldItemInfo','UpdateSource','sheet.command.update-pivot-table-source-range','_createExclusiveRange','contains','onStarting','subscribe','UpdateValuePosition','redos','has','_globalComputedStartHelpFunc','_ensurePivotTableRangeInfo','setConfig','pivotMutationGenerate','Total','sum','setPivotSort','getDataFieldByRangeKey','registerRefRange','fields','symbol','createCollectionWithDataRange','splice','workbook\x20is\x20not\x20found','getIndexesByPathStr','textInfo','updateDataFieldsCollection','onQueryEnd','getFilterInfo','intersects','MovePivotField','sheets-pivot.cellDateGroupDisplay.month','sheets-pivot.emptyPivot.values','Expand','REF','_sheetsPivotDataSourceModel','asyncInterceptor','sheets-pivot.stdDevName','lastCol','_generateUniqueVersion','YearQuarter','Hour','_featureCalculationManagerService','col','2135428EBagqi','interceptCommand','1vjDjYf','sortInfo','5332255iOlQVi','getConfig','format','registerCommand','#b2b2b2','broadcastCollectionChange','Row','undos','fieldIds','oldRangeInfo','_lifecycleService','tableFieldId','resetPivotTable','headerMap','_sheetsSelectionsService','disposeWithMe','MonthDate','sheets-pivot.dateGroup.yearMonth','pivotConfigChange$','registerDirtyService','bind','pageRanges','collapseInfo','dataFields','UNIVER_SHEET','rgb(255,255,255)','getInterceptPoints','getColCount','11893048hhtffe','getSheetBySheetName','_pivotConfigChange$','setPivotSetting','sheets-pivot.grandTotal','sourceName','columnFields','unshift','StdDev\x20of\x20','Var\x20of\x20','updateViewInfo','getRefRangeMutationsByMoveRange','sheets-pivot.maxName','valueFields','_globalComputedEndHelpFunc','asObservable','getFormatInfo','AddPivotTableWithConfig','getTargetByPivotId','colRanges','subUnitId','getCurrentUnitForType','sheet.command.reset-pivot-fields-config','refreshDataField','batch','pivotTableConfigs','Delete','viewData$','isNaN','updatePivotTableRangeInfo','_config','pushUndoRedo','pageStyle','NotName','updateViewData','_model','sheets-pivot.cellDateGroupDisplay.date','startRow','AddPivotTable','getCurrentSelections','set','getPivotTableInstance','getAutoFitColumnsMutations','handleSourceRangeChange','parseInt','max','NotFunction','_refRangeService','sheets-pivot.cellDateGroupDisplay.minute','_initCommandInterceptListener','tuple','isEmpty','sheet.command.update-pivot-value-position','(Blank)','stdDevp','getValue','_viewData$','deepClone','setSubtotalType','getDataFieldByDataFieldId','_pivotTableRangeInfo','collections','data','NAME','getFullYear','ManualFilter','dispose','getDataFieldManager','rangeCache','setValueFilterInfo','Existing','cellValue','getStyles','PivotMultipleValueId','setRangeValueRedoMutation','sheets-pivot.cellDateGroupDisplay.quarter','refreshGroupField','removeCollections','sheet.mutation.send-pivot-view-local','SetSortInfo','dataStyle','setDisplayName','leftOffset','#e6ebfb','_initViewModelBySheetInterceptor','SetSubtotalType','_ensurePivotItemRenderValueMatrixCache','originTargetInfo','setPivotInitCompleted','notExecuteFormula','setRangeValueUndoMutation','_updateRenderEmptyCache','sheets-pivot.cellDateGroupDisplay.yearQuarter','getFilterFieldIdByIndex','floor','getTypeOfUnitDisposed$','getRangeKey','Column','getRangeStartEndInfo','getUpdateRangeDeleteIds','getSubUnitPivotMatrix','string','_commandService','updateRenderCache','resetArea','setPivotTable','setTextInfo','foreach','_ensurePivotTableMatrixInfo','getPivotTableIdByCell','_initClearSelectionCommandInterceptor','_collectionChange$','getSourceName','SetFilterInfo','sheets-pivot.sumName','filterFields','sheet.mutation.pivot-update-value-position','sheet.mutation.set-pivot-field-subtotal-type','_collectionConfigModel','Style','token','addRecord','sheet.command.set-pivot-value-filter','getHeaderMapItem','addField','query','stringify','_pivotTableInstanceCache','getMonth','_globalComputingSrv','removeDataField','split','getSubtotal','range','sheet.mutation.set-pivot-collapse','forRow','_univerInstanceService','dataRangeInfo','getRangeData','addDataFieldWithoutUnitInfo','updateConfigCache','Varp\x20of\x20','colCount','grandTotal','Values','_ensurePivotMap','getTableFieldById','_deletePivotTableInstanceCache','getCollection','sheets-pivot.emptyPivot.filter','SetPivotFilter','setDateType','random','Subtotal','_updatePivotTableInstanceCache','sheet.mutation.set-pivot-sort-info','rangeType','next','sheets-pivot.config','getPivotDirtyViewInfo','rowCount','SHEET_PIVOT_TABLE_PLUGIN','_sheetInterceptorService','filter','iterateFieldByArea','_fieldsCollectionChange$','getMatrix','sheets-pivot.cellDateGroupDisplay.hour','_initUnitDisposed','MIN_SAFE_INTEGER','options','_viewData','_requestResolvers','3984030WddbfJ','reduce','sheets-pivot.varName','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sheets-pivot.dateGroup.yearQuarter','handleAsyncResponse','getUnit','prototype','intercept','viewUpdate$','onQueryStart','_initPivotTextInfo','movePivotField','getLastRow','_viewUpdate$','minDate','valueIndex','lastRow','paths','node','_init','sheet.mutation.add-pivot-table','SetOptions','sheet.mutation.set-pivot-position','markDirty$','fieldsConfig','sheets-pivot.subTotal','level','getSheetBySheetId','object','_updateModelCache','Quarter','dateType','sheet.command.add-pivot-field','AddField','sheets-pivot.dateGroup.yearMonthDate','setRange','Date','rowHeaderMap','updateFieldPosition','sheet.command.set-pivot-field-setting','value','#f4f4f5','isValue','setValue','_sheetsPivotTableConfigModel','getMatrixFromRunTimeData','rowRanges','getDataFieldBySourceName','markDirty','_pivotInitCompleted$','setValuePivotFilter','getLastCol','_globalSubject','_pivotRenderValueMatrixCache','_markDirty$','updateValuePosition','colHeaderMap','return\x20','updatePivotSource','fetchThroughInterceptors','executeCommand','Set','getOriginFieldId','_subjectFieldsCollectionChange','sheets-pivot.columnName','sheet.mutation.get-pivot-data-local','sheet.mutation.send-init-pivot-text-local','colStyle','get','getFieldDataType','getFieldIds','addPivotField','removePivotTable','version','forEach','NORMAL','YearMonth','var','pivotPerformCheck','NO_COMMERCIAL','shouldClear','leafStyle','sheets-pivot.cellDateGroupDisplay.yearMonth','_getAutoName','from','Column\x20','pivotTableId','some','collection','_refRangeHandle','product','find','RemovePivotField','setCollapse','deleteField','sheets-pivot.cellDateGroupDisplay.yearMonthDate','queryDirtyPivotTable','ResetPivotTable','addExclusiveRange','setFieldFormat','displayName','getFormat','isBottomTotal','sheets-pivot.value','delete','getPivotTableModelConfig','info','STRING','renameField','_injector','document','updateCollectionConfig','Sum\x20of\x20','getFieldPositionInfoById','Panel','getAutoDisplayNameFunction','SetPivotCollapse','registerCallbackWithEvent','getTextSize','name','getValueFilterInfos','updateAllDisplayName','fromJSON','drillDown','setPivotCollapse','updateRangeKeyMap','Value','getSheetId','limit\x20pivot','sheet.operation.pivot-table-view-formula-mark-dirty','forValue','endColumn','params','7CRZwwz','getCellRaw','interceptor','Add','sheets-pivot.dateGroup.minute','entries','handleMoveRange','fetchThroughAsyncInterceptors','Max\x20of\x20','sheet.command.move-pivot-field','oldMatrix','getIntersectsPivotTable','_queryingMap','_activeDirtyManagerService','targetCellInfo','hasOwnProperty','generateMutationsByRanges','getFieldCountByArea','size','min','rangeKey','removeValueFilterInfoByValueFieldId','sheet.mutation.remove-group-collection','setLabelFilterInfo','getFieldFormat','registerPluginResource','StdDevp\x20of\x20','adjustSheetCellData','clearRenderCache','getDataFieldByTableId','formJSON','getUnitId','SetValuePivotFilter','sheets-pivot.averageName','Grand\x20Total','disposableCollection','fontRenderExtension','Month','uniqueDataFieldName','sheet.command.move-pivot-table','_resourceManagerService','single','row','getName','_localeService','_pivotRenderInfoCache','count','getFieldInfo','getOwnPropertyDescriptor','CELL_CONTENT','_subjectViewChange','_initDataSendListener','sheet.mutation.set-pivot-value-filter','SetPivotSetting','MUTATION','Product\x20of\x20','sourceRangeInfo','GrandTotal','sheet.command.set-pivot-filter','setDataRecordCount','updateDirtyPivotTable','getFieldById','_dataSyncPrimaryController','_deleteModelCache','#e6ebfa','getColumnCount','sheets-pivot.minName','setPivotFilter','SetValueFilter','Collapse','areaInfo','dataFieldId','valid','sheets-pivot.dateGroup.monthDate','sheets-pivot.countName','_initRegisterCommand','SetPivotTableConfig','getGroupFieldsInfoByIds','setName','_configVersion$','_initRemoveSheetCommandInterceptor','slice','getId','sheets-pivot.stdDevpName','updatePivotTableMatrixInfo','_initLocale','getSheets','subtotal','clearExclusiveRangesByGroupId','pivotInitCompleted$','width','Average\x20of\x20','length','addCollection','reset','getColumnWidth','_getPivotAppliedRanges','removeSourceRangeChange','addCollectionByJSON','getSubUnitPivotConfigs','getformat','error','isColMultiMeasure','UpdatePivotSource','setDirty','colInfo','dataFieldManagerConfig','_toJSON','removePivotField','_dataFieldManagerCollection','getMatrixValue','filterId','getRowCount','_ensureViewDataMap','generateNewSheetName','initDataRanges','_exclusiveRangeService','pbt','\x20-\x20','New','_initSnapshot','maxDate','map','rangeKeyMap','addPivotTableWithConfig','_pivotTableMatrixInfo','keys','new','subTotalStyle','getPivotItemRenderInfoCache','getValueIndex','blank','startCollectChangeset','sheetName','9rAjwEc','message','getRangeKeyList','YearMonthDate','DrillDown','rowStyle','number','varp','triggerDirtyFeature','toJSON','column','getSubUnitPivotRenderCache','1441XZvSfh','updateFieldSourceInfo','deleteDataField','endRow','Minute','values','sheets-pivot.dateGroup.hour','prefix','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','AddPivotField','getCellMatrix','_sheetsPivotTableAdaptorModel','setSourceName','sheet.command.add-pivot-table-with-config','sheets-pivot.varpName','sheet.mutation.set-pivot-filter'];_0x57f5=function(){return _0x496a07;};return _0x57f5();}function _e(_0xb746a1,_0x71f8c2){const _0x23241b=_0x1675c1;var _0xcb0137;const _0x3fe3ff=_0xb746a1[_0x23241b(0x2e9)](ie),{cellInfo:_0x5298cb,view:_0x242aac,isEmpty:_0x1f61bb}=_0x71f8c2;return(_0xcb0137=_0x3fe3ff['interceptor'][_0x23241b(0x2e0)](Go)(Po,{'cellInfo':_0x5298cb,'view':_0x242aac,'isEmpty':_0x1f61bb}))!=null?_0xcb0137:Po;}const us=()=>typeof process<'u'&&process[_0x1675c1(0x14d)]!=null&&process[_0x1675c1(0x14d)][_0x1675c1(0x2b7)]!=null,Ct={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2b9),'handler'(_0x4d7bc1,_0x5df4df){const _0x5a5d2c=_0x1675c1;var _0x35b67b;if(!_0x5df4df)return!0x1;const _0x3a84ec=_0x4d7bc1[_0x5a5d2c(0x2e9)](_0xe8dcbb);if(!!_0x3a84ec[_0x5a5d2c(0x1dc)](H))return!0x0;const _0x2abe23=_0x4d7bc1[_0x5a5d2c(0x2e9)](_0x146954),_0x288f9e=_0x4d7bc1['get'](G),{pivotTableId:_0x3b825a,pivotTableConfig:_0x1632dd,collectionConfig:_0x2f60f1,unitId:_0x1506c4,subUnitId:_0x13714a}=_0x5df4df,{sourceRangeInfo:_0x5b3163,fieldsConfig:_0x153290,targetCellInfo:_0x473ee8}=_0x1632dd,_0x1db2f0=_0x2abe23['getUnit'](_0x1506c4);if(!_0x1db2f0||!_0x1db2f0[_0x5a5d2c(0x2c0)](_0x13714a))return!0x1;if(!us()){let _0x162212=0x0;_0x1db2f0[_0x5a5d2c(0xf9)]()[_0x5a5d2c(0x2ef)](_0x4507ed=>{const _0x5c88b8=_0x5a5d2c;var _0x3a51e4,_0x389474;_0x162212+=(_0x389474=(_0x3a51e4=_0x288f9e[_0x5c88b8(0x106)](_0x1506c4,_0x4507ed[_0x5c88b8(0x9d)]()))==null?void 0x0:_0x3a51e4[_0x5c88b8(0xb5)])!=null?_0x389474:0x0;});const _0x33d662=(_0x35b67b=_0x3a84ec['getConfig'](_0x59310c))!=null?_0x35b67b:{},{ls:_0xc82604,pbk:_0x31bbdb}=_0x33d662;if(!jo(_0xc82604,_0x31bbdb))throw new _0x5146f5('limit\x20pivot');const _0x2b00b2=go(so,_0xc82604,_0x31bbdb)['count'];if(_0x162212>=_0x2b00b2)throw new _0x5146f5(_0x5a5d2c(0x9e));}if(!_0x2f60f1||!_0x153290)return!0x1;const {collection:_0x5741e9,updateDataFieldList:_0x568cce}=_0x288f9e[_0x5a5d2c(0x105)](_0x3b825a,_0x2f60f1,_0x5b3163,_0x473ee8);_0x288f9e[_0x5a5d2c(0x15d)](_0x5741e9,_0x568cce,_0x5b3163);const _0x435703=new _0x16e808(_0x5741e9,void 0x0,_0x3b825a);_0x435703[_0x5a5d2c(0x31f)](_0x153290);const _0xa8709e=JSON[_0x5a5d2c(0x175)](JSON[_0x5a5d2c(0x275)](_0x1632dd));return _0x288f9e[_0x5a5d2c(0x199)](_0x1506c4,_0x13714a,_0x3b825a,_0x435703,_0xa8709e),_0x288f9e[_0x5a5d2c(0x196)]({'unitId':_0x1506c4,'subUnitId':_0x13714a,'token':_0x3b825a,'type':L[_0x5a5d2c(0xa6)],'pivotConfig':_0xa8709e}),!0x0;}},Ot={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x468f65,_0x34e78a){const _0x3906f0=_0x1675c1;if(!_0x34e78a)return!0x1;if(!!_0x468f65[_0x3906f0(0x2e9)](_0xe8dcbb)[_0x3906f0(0x1dc)](H))return!0x0;const {pivotTableId:_0x34866b,unitId:_0x46b427,subUnitId:_0x579617}=_0x34e78a,_0x35780e=_0x468f65[_0x3906f0(0x2e9)](G);return _0x35780e[_0x3906f0(0x14e)](_0x46b427,_0x579617,_0x34866b)?(_0x35780e['addDirtyPivotTable']({'unitId':_0x46b427,'subUnitId':_0x579617,'token':_0x34866b,'type':L['Delete']}),_0x35780e[_0x3906f0(0x2ed)](_0x46b427,_0x579617,_0x34866b),!0x0):!0x1;}},pt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2bb),'handler'(_0x492d90,_0x360b06){const _0x3dc6e0=_0x1675c1;if(!_0x360b06)return!0x1;if(!!_0x492d90[_0x3dc6e0(0x2e9)](_0xe8dcbb)[_0x3dc6e0(0x1dc)](H))return!0x0;const {pivotTableId:_0x3238f4,targetCellPosition:_0xba9a86,unitId:_0x48812d,subUnitId:_0x2da861}=_0x360b06,_0x199a91=_0x492d90[_0x3dc6e0(0x2e9)](G);if(!_0x199a91[_0x3dc6e0(0x220)](_0x360b06[_0x3dc6e0(0x2fb)]))return!0x1;const _0x525c22=_0x199a91[_0x3dc6e0(0x209)](_0x3238f4);if(!_0x525c22)return!0x1;const _0x22e9a2=_0x199a91[_0x3dc6e0(0x28b)](_0x525c22[_0x3dc6e0(0x167)],_0x360b06[_0x3dc6e0(0x2fb)]);if(!_0x22e9a2)return!0x1;const _0xbab11b=_0x199a91['getPivotTableConfig'](_0x525c22['unitId'],_0x525c22[_0x3dc6e0(0x20b)],_0x3238f4);if(!_0xbab11b)return!0x1;const _0x325a3a=_0x14991f[_0x3dc6e0(0x230)](_0xbab11b);_0x325a3a['targetCellInfo']={'unitId':_0x48812d,'subUnitId':_0x2da861,'row':_0xba9a86[_0x3dc6e0(0xcd)],'col':_0xba9a86[_0x3dc6e0(0x1d6)]};const _0x199ec5=_0x22e9a2['toJSON']();if(_0x525c22[_0x3dc6e0(0x20b)]===_0x2da861&&_0x525c22[_0x3dc6e0(0x167)]===_0x48812d)_0x199a91[_0x3dc6e0(0x260)](_0x48812d,_0x2da861,_0x3238f4,_0x325a3a),_0x199a91[_0x3dc6e0(0x196)]({'unitId':_0x48812d,'subUnitId':_0x2da861,'token':_0x3238f4,'type':L['Set']});else{_0x199a91[_0x3dc6e0(0x196)]({'unitId':_0x525c22[_0x3dc6e0(0x167)],'subUnitId':_0x525c22['subUnitId'],'token':_0x3238f4,'type':L[_0x3dc6e0(0x211)]}),_0x199a91['removePivotTable'](_0x525c22[_0x3dc6e0(0x167)],_0x525c22[_0x3dc6e0(0x20b)],_0x3238f4);const _0x253f34=_0x199a91[_0x3dc6e0(0x105)](_0x3238f4,_0x199ec5,_0xbab11b['sourceRangeInfo'],_0x325a3a['targetCellInfo']),_0x367e04=new _0x16e808(_0x253f34[_0x3dc6e0(0x2fd)],void 0x0,_0x3238f4);_0x367e04[_0x3dc6e0(0x31f)](_0x325a3a[_0x3dc6e0(0x2bd)]),_0x199a91[_0x3dc6e0(0x199)](_0x48812d,_0x2da861,_0x3238f4,_0x367e04,_0x325a3a),_0x199a91[_0x3dc6e0(0x196)]({'unitId':_0x48812d,'subUnitId':_0x2da861,'token':_0x3238f4,'type':L[_0x3dc6e0(0xa6)],'pivotConfig':_0x325a3a});}return!0x0;}},to={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x44afb9,_0x5cf85d){const _0x5562c4=_0x1675c1;if(!_0x5cf85d)return!0x1;if(!!_0x44afb9[_0x5562c4(0x2e9)](_0xe8dcbb)[_0x5562c4(0x1dc)](H))return!0x0;const _0x53d0b5=_0x44afb9[_0x5562c4(0x2e9)](G),{pivotTableId:_0xad9e5b,deleteIds:_0x46265b,collectionJSON:_0x427af0,dataRangeInfo:_0x44854e,unitId:_0x2f738d,subUnitId:_0x236331}=_0x5cf85d,_0x173657=_0x53d0b5[_0x5562c4(0x220)](_0xad9e5b),_0x451c64=_0x53d0b5[_0x5562c4(0x14e)](_0x2f738d,_0x236331,_0xad9e5b);if(!_0x173657||!_0x451c64)return!0x1;const {collection:_0x42ddfe,updateDataFieldList:_0x54b27e}=_0x53d0b5['addCollectionByJSON'](_0xad9e5b,_0x427af0,_0x44854e,_0x451c64[_0x5562c4(0xb1)]);_0x53d0b5[_0x5562c4(0x15d)](_0x42ddfe,_0x54b27e,_0x44854e),_0x173657[_0x5562c4(0x1c5)](_0x42ddfe);for(const _0x3adc0c of _0x46265b)_0x53d0b5[_0x5562c4(0x279)](_0x44854e[_0x5562c4(0x167)],_0x3adc0c);const _0x260140=_0x53d0b5['getPivotTableConfig'](_0x2f738d,_0x236331,_0xad9e5b);return _0x260140[_0x5562c4(0xdb)]=JSON[_0x5562c4(0x175)](JSON['stringify'](_0x44854e)),_0x53d0b5[_0x5562c4(0x196)]({'unitId':_0x2f738d,'subUnitId':_0x236331,'token':_0xad9e5b,'type':L['Set']}),!0x0;}},Et={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x9f),'handler'(){return!0x0;}};var fs=Object[_0x1675c1(0xd3)],gs=(_0x3bca1b,_0x1fbd17,_0x56a1e8,_0x1b0e7d)=>{for(var _0x38a3b5=_0x1b0e7d>0x1?void 0x0:_0x1b0e7d?fs(_0x1fbd17,_0x56a1e8):_0x1fbd17,_0x345d3e=_0x3bca1b['length']-0x1,_0xe0be79;_0x345d3e>=0x0;_0x345d3e--)(_0xe0be79=_0x3bca1b[_0x345d3e])&&(_0x38a3b5=_0xe0be79(_0x38a3b5)||_0x38a3b5);return _0x38a3b5;},wo=(_0x87fb7a,_0x3e2cb3)=>(_0x1e408d,_0x5b890b)=>_0x3e2cb3(_0x1e408d,_0x5b890b,_0x87fb7a);let Z=class extends _0x5334b7{constructor(_0x48f4a0,_0xccc9fb){const _0x2eae34=_0x1675c1;super(),U(this,_0x2eae34(0x2a3),new Map()),(this[_0x2eae34(0x312)]=_0x48f4a0,this[_0x2eae34(0x25d)]=_0xccc9fb);}[_0x1675c1(0x2a9)](_0x161877){const _0x442d0a=_0x1675c1,{version:_0x4f983d}=_0x161877,_0x580343=this[_0x442d0a(0x2a3)]['get'](_0x4f983d);_0x580343&&(_0x580343(_0x161877),this[_0x442d0a(0x2a3)][_0x442d0a(0x30d)](_0x4f983d));}[_0x1675c1(0x180)](_0x525317){return new Promise((_0x456c0b,_0x22fcde)=>{const _0x26db4d=_0x2dae,_0x16a592=this[_0x26db4d(0x1d2)]();this[_0x26db4d(0x2a3)][_0x26db4d(0x21f)](_0x16a592,_0x456c0b),this[_0x26db4d(0x25d)][_0x26db4d(0x2e1)](ro['id'],{'version':_0x16a592,..._0x525317},{'onlyLocal':!0x0});});}[_0x1675c1(0x1d2)](){const _0xdba69f=_0x1675c1;return Math[_0xdba69f(0x28f)]()['toString'](0x24)['substring'](0x2,0x10);}};Z=gs([wo(0x0,_0x2fd05e(_0x854c25)),wo(0x1,_0x2fd05e(_0x3408cd))],Z);const Yo={'id':'sheet.mutation.add-group-collection','type':_0x3fc5c3['MUTATION'],'handler':(_0x177921,_0x3f8d0d)=>{const _0x59582b=_0x1675c1;if(!_0x3f8d0d)return!0x1;if(!!_0x177921['get'](_0xe8dcbb)[_0x59582b(0x1dc)](H))return!0x0;const {pivotTableId:_0xda88bf,fieldJSON:_0x22bf62,unitId:_0x4709f8,subUnitId:_0x26b0a0}=_0x3f8d0d,_0xf44119=_0x1c07f9['fromJSON'](_0x22bf62);if(!_0xf44119)return!0x1;const _0x3c8d17=_0x177921[_0x59582b(0x2e9)](G),_0x4ca559=_0x3c8d17[_0x59582b(0x23a)](_0x4709f8),_0x5414b9=_0x4ca559[_0x59582b(0x28b)](_0xda88bf);_0x4ca559[_0x59582b(0x282)](_0xf44119),_0x5414b9[_0x59582b(0x273)](_0xf44119[_0x59582b(0xf5)](),_0xf44119['getName']());const _0x41be90=_0x5414b9[_0x59582b(0xe0)](_0xf44119[_0x59582b(0x2e3)]());_0x41be90&&_0xf44119[_0x59582b(0x243)](_0x41be90);const _0x37b52e=_0x3c8d17[_0x59582b(0x14e)](_0x4709f8,_0x26b0a0,_0xda88bf);return _0x3c8d17[_0x59582b(0x196)]({'unitId':_0x4709f8,'subUnitId':_0x26b0a0,'token':_0xda88bf,'type':L[_0x59582b(0x2e2)],'pivotConfig':_0x37b52e}),!0x0;}},Qo={'id':_0x1675c1(0xb9),'type':_0x3fc5c3['MUTATION'],'handler':(_0x321470,_0x4a139a)=>{const _0x38774b=_0x1675c1;if(!_0x4a139a)return!0x1;if(!!_0x321470[_0x38774b(0x2e9)](_0xe8dcbb)[_0x38774b(0x1dc)](H))return!0x0;const {pivotTableId:_0x562a45,dataFieldId:_0x24dc79,unitId:_0x58f1ff,subUnitId:_0x5dab0e}=_0x4a139a,_0x55d4ea=_0x321470[_0x38774b(0x2e9)](G),_0x5d9c0a=_0x55d4ea[_0x38774b(0x23a)](_0x58f1ff);_0x5d9c0a[_0x38774b(0x28b)](_0x562a45)[_0x38774b(0x303)](_0x24dc79);let _0x4159c4=!0x0;for(const _0xc15b46 in _0x5d9c0a['collections'])if(_0x5d9c0a[_0x38774b(0x234)][_0xc15b46][_0x38774b(0x2eb)]()[_0x38774b(0x19f)](_0x24dc79)){_0x4159c4=!0x1;break;}_0x4159c4&&_0x5d9c0a[_0x38774b(0x137)](_0x24dc79);const _0x328b0f=_0x55d4ea['getPivotTableConfig'](_0x58f1ff,_0x5dab0e,_0x562a45);return _0x55d4ea[_0x38774b(0x196)]({'unitId':_0x58f1ff,'subUnitId':_0x5dab0e,'token':_0x562a45,'type':L[_0x38774b(0x2e2)],'pivotConfig':_0x328b0f}),!0x0;}},hs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x2c5),async 'handler'(_0x3ada4d,_0x306089){const _0x2ae278=_0x1675c1;if(!_0x306089)return!0x1;const _0x5e588e=_0x3ada4d['get'](_0x3408cd),_0x779dfb=_0x3ada4d['get'](Z),_0x4a499e=_0x3ada4d[_0x2ae278(0x2e9)](_0x5ea86a),{pivotTableId:_0x523ebb,dataFieldId:_0x5bfafe,fieldArea:_0x854f24,index:_0x58ad3a,unitId:_0x26d6f3,subUnitId:_0x2185dd}=_0x306089,_0x2cec8f=(await _0x779dfb['getPivotDisplayConfig']({'unitId':_0x26d6f3,'subUnitId':_0x2185dd,'pivotTableId':_0x523ebb,'params':{'type':A[_0x2ae278(0x13e)],'addPivotField':{'dataFieldId':_0x5bfafe,'fieldArea':_0x854f24,'index':_0x58ad3a}}}))[_0x2ae278(0x194)]['addPivotField'];if(!_0x2cec8f)return!0x1;const {view:_0x392b2f,changesets:_0x351db7,isEmpty:_0x5b236c,pivotTableConfig:_0x1f11c6,shouldBeAddedGroupJSON:_0x365050}=_0x2cec8f,_0x89e0c6=_0x1f11c6['targetCellInfo'],_0x15a798=new _0x14d91f();_0x15a798[_0x2ae278(0xc1)](_0x392b2f);const _0x5ae710={'cellInfo':_0x89e0c6,'view':_0x15a798,'isEmpty':_0x5b236c};if(!await _0x3ada4d[_0x2ae278(0x2e9)](ie)[_0x2ae278(0x1cf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5ae710))return!0x1;const _0x4f0fc4=we(_0x3ada4d,_0x15a798,_0x89e0c6,_0x5b236c),_0x4bfb0f=_e(_0x3ada4d,_0x5ae710),{undos:_0x13076c,redos:_0x547c43}=me(_0x5e588e,{'pivotTableId':_0x523ebb,'unitId':_0x26d6f3,'subUnitId':_0x2185dd},_0x351db7);return _0x365050&&(_0x547c43[_0x2ae278(0x1fe)]({'id':Yo['id'],'params':{'pivotTableId':_0x523ebb,'fieldJSON':_0x365050,'unitId':_0x26d6f3,'subUnitId':_0x2185dd}}),_0x13076c[_0x2ae278(0x1a3)]({'id':Qo['id'],'params':{'pivotTableId':_0x523ebb,'dataFieldId':_0x365050['id'],'unitId':_0x26d6f3,'subUnitId':_0x2185dd}})),_0x2e7d7d([..._0x4f0fc4[_0x2ae278(0x1b3)],..._0x4bfb0f[_0x2ae278(0x1b3)],..._0x547c43],_0x5e588e),_0x4a499e['pushUndoRedo']({'unitID':_0x26d6f3,'redoMutations':[..._0x4f0fc4[_0x2ae278(0x1b3)],..._0x4bfb0f[_0x2ae278(0x1b3)],..._0x547c43],'undoMutations':[..._0x4f0fc4[_0x2ae278(0x1e2)],..._0x4bfb0f[_0x2ae278(0x1e2)],..._0x13076c]}),!0x0;}},vs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x142),async 'handler'(_0x25ada8,_0x46ce1a){const _0x5bf81e=_0x1675c1;if(!_0x46ce1a)return!0x1;const {sourceDataInfo:_0xc012a9,pivotTableConfig:_0x40dcf7}=_0x46ce1a;if(!_0xc012a9||!_0x40dcf7)return!0x1;const {unitId:_0x558a8d,subUnitId:_0x38d3d3,range:_0x1666bb}=_0xc012a9,_0x2979ae=_0x25ada8[_0x5bf81e(0x2e9)](_0x146954),_0x3dd87b=_0x25ada8[_0x5bf81e(0x2e9)](Z),_0x36b863=_0x25ada8['get'](_0x7abaf8),_0x4edf9b=_0x25ada8[_0x5bf81e(0x2e9)](_0x3408cd),_0x3d2541=_0x2979ae['getUnit'](_0x558a8d);if(!_0x3d2541)return!0x1;const _0xe202b8=_0x3d2541[_0x5bf81e(0x2c0)](_0x38d3d3);if(!_0xe202b8)return!0x1;const _0x191b3a=_0x248684(0x8),_0x449a6b=_0x1666bb||{'startRow':0x0,'startColumn':0x0,'endRow':_0xe202b8[_0x5bf81e(0x113)]()-0x1,'endColumn':_0xe202b8[_0x5bf81e(0xe4)]()-0x1};_0x449a6b['rangeType']=_0x3153b7[_0x5bf81e(0x2f0)];const _0x4882e2=(await _0x3dd87b[_0x5bf81e(0x180)]({'unitId':_0x558a8d,'subUnitId':_0x38d3d3,'pivotTableId':_0x191b3a,'params':{'type':A['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x558a8d,'sheetName':_0xe202b8['getName'](),'subUnitId':_0x38d3d3,'range':_0x449a6b},'pivotTableId':_0x191b3a,'pivotTableIndexConfig':_0x40dcf7}}}))[_0x5bf81e(0x194)][_0x5bf81e(0x11f)];if(!_0x4882e2)return!0x1;const {isEmpty:_0x59aedd,fieldsConfig:_0x35af97,collectionConfig:_0x46212c,changesets:_0x2ae493}=_0x4882e2,_0x34590a=_0x3d2541['getSheets']()[_0x5bf81e(0xff)],_0x85101b=_0x9aa09a({'rowCount':_0xe202b8[_0x5bf81e(0x113)]()-0x1,'columnCount':_0xe202b8[_0x5bf81e(0xe4)]()-0x1});_0x85101b['id']=_0x4444c1(),_0x85101b[_0x5bf81e(0x31c)]=_0x3d2541['generateNewSheetName'](''+_0x36b863['t']('sheets.tabs.sheet'));const _0x21c699={'index':_0x34590a,'sheet':_0x85101b,'unitId':_0x558a8d},{redos:_0x3b6f6c}=me(_0x4edf9b,{'pivotTableId':_0x191b3a,'unitId':_0x558a8d,'subUnitId':_0x85101b['id']},_0x2ae493),_0x141ed4=[{'id':_0x21737c['id'],'params':_0x21c699},{'id':Ct['id'],'params':{'unitId':_0x558a8d,'subUnitId':_0x85101b['id'],'pivotTableId':_0x191b3a,'pivotTableConfig':{'isEmpty':_0x59aedd,'fieldsConfig':_0x35af97,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x558a8d,'subUnitId':_0x85101b['id']},'sourceRangeInfo':{'subUnitId':_0x38d3d3,'unitId':_0x558a8d,'range':_0x449a6b,'sheetName':_0xe202b8[_0x5bf81e(0xce)]()}},'collectionConfig':_0x46212c}},..._0x3b6f6c];return _0x2e7d7d(_0x141ed4,_0x4edf9b),!0x0;}},ps={'type':_0x3fc5c3['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0x45e36d,_0x4f1c2b){const _0x1d017a=_0x1675c1;var _0x48b759,_0x1a169b;const _0x5f2ec6=_0x45e36d[_0x1d017a(0x2e9)](_0x3408cd),_0x3b03df=_0x45e36d[_0x1d017a(0x2e9)](_0x146954),_0x32ea70=_0x45e36d[_0x1d017a(0x2e9)](_0x7abaf8),_0x1f824d=_0x45e36d[_0x1d017a(0x2e9)](Z),_0x349239=_0x45e36d['get'](_0x5ea86a),_0x241e2f=_0x45e36d[_0x1d017a(0x2e9)](ve),_0x3ef4ec=_0x45e36d[_0x1d017a(0x2e9)](_0xe8dcbb);if(!_0x4f1c2b)return!0x1;const {pivotTableConfig:_0x3a341b,positionType:_0x5113ee}=_0x4f1c2b,{targetCellInfo:_0x26770b,sourceRangeInfo:_0x1ca69e}=_0x3a341b,{unitId:_0x57c9f5,subUnitId:_0x31403c}=_0x26770b,_0x56bf52=_0x3b03df[_0x1d017a(0x2aa)](_0x57c9f5);if(!_0x56bf52)return!0x1;let _0x12166a=0x0;_0x56bf52[_0x1d017a(0xf9)]()[_0x1d017a(0x2ef)](_0x3f2664=>{const _0x1d0d7e=_0x1d017a;var _0x18ae4a,_0x501a24;_0x12166a+=(_0x501a24=(_0x18ae4a=_0x241e2f['getSubUnitPivotConfigs'](_0x57c9f5,_0x3f2664[_0x1d0d7e(0x9d)]()))==null?void 0x0:_0x18ae4a[_0x1d0d7e(0xb5)])!=null?_0x501a24:0x0;});const _0x509eb9=(_0x48b759=_0x3ef4ec['getConfig'](_0x59310c))!=null?_0x48b759:{},{ls:_0x2a7683,pbk:_0x52f7eb}=_0x509eb9;if(!jo(_0x2a7683,_0x52f7eb))return!0x1;const _0x399903=go(so,_0x2a7683,_0x52f7eb)[_0x1d017a(0xd1)];if(_0x12166a>=_0x399903)return!0x1;const _0x65b9e4=_0x4f1c2b[_0x1d017a(0x2fb)]||_0x248684(0x8),_0x16ac28=(await _0x1f824d[_0x1d017a(0x180)]({'unitId':_0x57c9f5,'subUnitId':_0x31403c,'pivotTableId':_0x65b9e4,'params':{'type':A[_0x1d017a(0x21d)],'addPivotTable':{'sourceRangeInfo':_0x1ca69e,'pivotTableId':_0x65b9e4}}}))[_0x1d017a(0x194)]['addPivotTable'];if(!_0x16ac28)return!0x1;const {view:_0x3765a3,isEmpty:_0xa25733,fieldsConfig:_0x3f6468,collectionConfig:_0x25fa5a}=_0x16ac28,_0x5b910d=[],_0x27e427=[];if(_0x5113ee===Wo['New']){const _0x20eb48=_0x56bf52[_0x1d017a(0xf9)]()[_0x1d017a(0xff)],_0x1b1c0c=_0x9aa09a({});_0x1b1c0c['id']=_0x3a341b[_0x1d017a(0xb1)][_0x1d017a(0x20b)],_0x1b1c0c[_0x1d017a(0x31c)]=(_0x1a169b=_0x3a341b[_0x1d017a(0xb1)]['sheetName'])!=null?_0x1a169b:_0x56bf52[_0x1d017a(0x115)](''+_0x32ea70['t']('sheets.tabs.sheet'));const _0x315146={'index':_0x20eb48,'sheet':_0x1b1c0c,'unitId':_0x57c9f5},_0x2953c0=_0x316f56(_0x45e36d,_0x315146);_0x5b910d['push']({'id':_0x539518['id'],'params':_0x2953c0}),_0x27e427[_0x1d017a(0x1a3)]({'id':_0x227c31['id'],'params':_0x315146});}else{if(!_0x56bf52[_0x1d017a(0x2c0)](_0x31403c))return!0x1;const _0x2afc8a=we(_0x45e36d,new _0x14d91f(),_0x26770b,!0x0);_0x27e427[_0x1d017a(0x1a3)](..._0x2afc8a[_0x1d017a(0x1b3)]),_0x5b910d[_0x1d017a(0x1a3)](..._0x2afc8a[_0x1d017a(0x1e2)]);const _0x426f0c={'cellInfo':_0x26770b,'view':_0x3765a3,'isEmpty':_0xa25733};if(!await _0x45e36d[_0x1d017a(0x2e9)](ie)['asyncInterceptor'][_0x1d017a(0xaa)](be)(!0x0,_0x426f0c))return!0x1;const _0x302377=_e(_0x45e36d,_0x426f0c);_0x27e427[_0x1d017a(0x1a3)](..._0x302377[_0x1d017a(0x1b3)]),_0x5b910d['push'](..._0x302377[_0x1d017a(0x1e2)]);}return _0x27e427['push']({'id':Ct['id'],'params':{'unitId':_0x26770b[_0x1d017a(0x167)],'subUnitId':_0x26770b['subUnitId'],'pivotTableId':_0x65b9e4,'pivotTableConfig':{'targetCellInfo':_0x26770b,'sourceRangeInfo':_0x1ca69e,'fieldsConfig':_0x3f6468},'collectionConfig':_0x25fa5a}}),_0x5b910d['unshift']({'id':Ot['id'],'params':{'unitId':_0x57c9f5,'subUnitId':_0x31403c,'pivotTableId':_0x65b9e4}}),_0x2e7d7d(_0x27e427,_0x5f2ec6)&&_0x349239[_0x1d017a(0x216)]({'unitID':_0x57c9f5,'undoMutations':_0x5b910d,'redoMutations':_0x27e427}),!0x0;}},ms={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0xac),async 'handler'(_0x2d4039,_0x11c55a){const _0x59a8de=_0x1675c1;if(!_0x11c55a)return!0x1;const _0x3f42d7=_0x2d4039['get'](_0x3408cd),_0xf87521=_0x2d4039['get'](Z),_0x37c1fa=_0x2d4039[_0x59a8de(0x2e9)](_0x5ea86a),{pivotTableId:_0x201e48,fieldId:_0x58c52e,area:_0x3fffce,index:_0x5a9870,unitId:_0x295f55,subUnitId:_0x10ab00}=_0x11c55a,_0x1cef69=(await _0xf87521[_0x59a8de(0x180)]({'unitId':_0x295f55,'subUnitId':_0x10ab00,'pivotTableId':_0x201e48,'params':{'type':A[_0x59a8de(0x1c9)],'movePivotField':{'fieldId':_0x58c52e,'area':_0x3fffce,'index':_0x5a9870}}}))[_0x59a8de(0x194)]['movePivotField'];if(!_0x1cef69)return!0x1;const {changesets:_0x4156e2,view:_0x527850,isEmpty:_0x1fe5ec,pivotTableConfig:_0x226834}=_0x1cef69,_0x2c3371=_0x226834[_0x59a8de(0xb1)],_0x509811=new _0x14d91f();_0x509811[_0x59a8de(0xc1)](_0x527850);const _0x1caeb3={'cellInfo':_0x2c3371,'view':_0x509811,'isEmpty':_0x1fe5ec};if(!await _0x2d4039[_0x59a8de(0x2e9)](ie)['asyncInterceptor'][_0x59a8de(0xaa)](be)(!0x0,_0x1caeb3))return!0x1;const _0x2abde3=we(_0x2d4039,_0x509811,_0x2c3371,_0x1fe5ec),_0xb8040f=_e(_0x2d4039,_0x1caeb3),{redos:_0x22450a,undos:_0xc5fe0c}=me(_0x3f42d7,{'pivotTableId':_0x201e48,'unitId':_0x295f55,'subUnitId':_0x10ab00},_0x4156e2);return _0x2e7d7d([..._0x2abde3[_0x59a8de(0x1b3)],..._0xb8040f[_0x59a8de(0x1b3)],..._0x22450a],_0x3f42d7),_0x37c1fa['pushUndoRedo']({'unitID':_0x295f55,'redoMutations':[..._0x2abde3[_0x59a8de(0x1b3)],..._0xb8040f[_0x59a8de(0x1b3)],..._0x22450a],'undoMutations':[..._0x2abde3['undos'],..._0xb8040f[_0x59a8de(0x1e2)],..._0xc5fe0c]}),!0x0;}},Is={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x190),async 'handler'(_0xb7f6dd,_0xb4ab6a){const _0x4f9a5b=_0x1675c1;var _0x47f1c8;if(!_0xb4ab6a)return!0x1;const _0x4ab30f=_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x146954),_0x22aa21=_0x2075c9(_0x4ab30f);if(!_0x22aa21)return!0x1;const {unitId:_0x4ffc34,subUnitId:_0x2d5186,workbook:_0xff121c}=_0x22aa21,{row:_0x558dbf,col:_0x57c4d1}=_0xb4ab6a,_0x5130c3=_0xb7f6dd['get'](Ne),_0x452a26=_0x5130c3['getPivotTableIdByCell'](_0x4ffc34,_0x2d5186,_0x558dbf,_0x57c4d1);if(!_0x452a26)return!0x1;const _0x4c47ee=(_0x47f1c8=_0x5130c3[_0x4f9a5b(0x124)](_0x4ffc34,_0x2d5186,_0x452a26))==null?void 0x0:_0x47f1c8[_0x4f9a5b(0xe9)];if(!_0x4c47ee)return!0x1;const _0x1d1798=_0xb7f6dd[_0x4f9a5b(0x2e9)](ve)['getPivotTableConfig'](_0x4ffc34,_0x2d5186,_0x452a26);if(!_0x1d1798)return!0x1;const {rowInfo:_0x532f7f,colInfo:_0x133102}=_0x4c47ee,_0xa02581=_0x532f7f[_0x558dbf][_0x4f9a5b(0x2b6)],_0x4d1fdf=_0x133102[_0x57c4d1][_0x4f9a5b(0x2b6)],_0x2c8644=_0x532f7f[_0x558dbf][_0x4f9a5b(0x2bf)],_0x855f3a=_0x133102[_0x57c4d1][_0x4f9a5b(0x2bf)],_0x5e1ac3=_0xa02581[_0x4f9a5b(0x164)](_0x4d1fdf),_0x103dc9=_0x1d1798[_0x4f9a5b(0x2bd)]['rowFields'][_0x4f9a5b(0xf4)](0x0,_0x2c8644),_0x7725e2=_0x1d1798['fieldsConfig'][_0x4f9a5b(0x1fd)][_0x4f9a5b(0xf4)](0x0,_0x855f3a),_0x317c2a=_0x103dc9['concat'](_0x7725e2),_0x433010=_0x5e1ac3[_0x4f9a5b(0x11d)]((_0x50bd5e,_0x45e44e)=>[_0x50bd5e,_0x317c2a[_0x45e44e]]),_0xf5ae3f=(await _0xb7f6dd['get'](Z)[_0x4f9a5b(0x180)]({'unitId':_0x4ffc34,'subUnitId':_0x2d5186,'pivotTableId':_0x452a26,'params':{'type':A['DrillDown'],'drillDown':{'tuple':_0x433010}}}))[_0x4f9a5b(0x194)][_0x4f9a5b(0x320)];if(!_0xf5ae3f)return!0x1;const {indexes:_0x1705dd,range:_0x1a2bd3,sourceUnitId:_0x3b9cc4,sourceSubUnitId:_0x2a1888,formatMap:_0xc8e166}=_0xf5ae3f,{startRow:_0x1c2468,endRow:_0x1ca7aa,startColumn:_0x3ddb19,endColumn:_0x4cb9e9}=_0x1a2bd3,_0x497035=new _0x1d8f59(),_0x5af3bf=_0x1ca7aa-_0x1c2468,_0x3baa78=_0x4cb9e9-_0x3ddb19,_0x3df3eb={},_0x5b3b5b=_0x2075c9(_0x4ab30f,{'unitId':_0x3b9cc4,'subUnitId':_0x2a1888});if(!_0x5b3b5b)return!0x1;const _0x388f58=fe[_0x4f9a5b(0x2e8)],_0x4b259d=fe[_0x4f9a5b(0x123)],_0xe43659=fe[_0x4f9a5b(0x123)],_0x181425=_0xff121c[_0x4f9a5b(0x23f)]()[_0x4f9a5b(0x2d0)](_0x388f58),_0x55859c=_0xff121c[_0x4f9a5b(0x23f)]()[_0x4f9a5b(0x2d0)](_0x4b259d),_0x4e004a=_0xff121c[_0x4f9a5b(0x23f)]()['setValue'](_0xe43659),{worksheet:_0x15bc9e}=_0x5b3b5b;let _0x3bb5db=0x0;const _0x1b57cb=0x1;_0x1705dd[_0x4f9a5b(0x2ef)](_0x222196=>{const _0x247192=_0x4f9a5b;for(let _0x593c23=0x0;_0x593c23<=_0x4cb9e9-_0x3ddb19;_0x593c23++)_0x497035['setValue'](_0x3bb5db,_0x593c23,_0x15bc9e[_0x247192(0xa4)](_0x222196+_0x1a2bd3['startRow']+_0x1b57cb,_0x593c23));_0x3bb5db++;});for(let _0x4d688a=_0x3ddb19;_0x4d688a<=_0x4cb9e9;_0x4d688a++){const _0x5a921f=_0x15bc9e[_0x4f9a5b(0xa4)](_0x1c2468,_0x4d688a);_0x3df3eb[_0x1c2468]||(_0x3df3eb[_0x1c2468]={}),_0x3df3eb[_0x1c2468][_0x4d688a]={..._0x5a921f,'s':_0x181425};}let _0x2e6b27=0x1;const _0x16c99d={},_0x2dd9c7={};_0x497035[_0x4f9a5b(0x27e)]((_0x111bf5,_0x405f07)=>{const _0x4c16fe=_0x4f9a5b;_0x405f07[_0x4c16fe(0x2ef)](_0x1c6424=>{const _0x5f4881=_0x4c16fe,_0x594313=_0x497035[_0x5f4881(0x22e)](_0x111bf5,_0x1c6424);if(_0x3df3eb[_0x2e6b27]||(_0x3df3eb[_0x2e6b27]={}),_0x3df3eb[_0x2e6b27][_0x1c6424]={..._0x594313,'s':_0x2e6b27%0x2===0x0?_0x4e004a:_0x55859c},_0xc8e166[_0x1c6424]&&_0x111bf5>=0x0){const _0x286d01=_0x2e6b27%0x2===0x0;let _0x385660=_0x286d01?_0x2dd9c7[_0x1c6424]:_0x16c99d[_0x1c6424];_0x385660||(_0x385660=_0xff121c['getStyles']()[_0x5f4881(0x2d0)]({..._0x286d01?_0xe43659:_0x4b259d,'n':{'pattern':_0xc8e166[_0x1c6424]}}),_0x286d01?_0x2dd9c7[_0x1c6424]=_0x385660:_0x16c99d[_0x1c6424]=_0x385660),_0x3df3eb[_0x2e6b27][_0x1c6424]['s']=_0x385660;}}),_0x2e6b27++;});const _0x51b81a=new _0x1d8f59(_0x3df3eb),_0x4a6ac4={};_0x51b81a[_0x4f9a5b(0xa0)]((_0x2e7937,_0x4d507d,_0x318eb1)=>{_0x4a6ac4[_0x2e7937]||(_0x4a6ac4[_0x2e7937]={}),_0x4a6ac4[_0x2e7937][_0x4d507d]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3e3b5c=[],_0x332455=[],_0x33812d=_0xff121c[_0x4f9a5b(0xf9)]()[_0x4f9a5b(0xff)],_0x34a952=_0x9aa09a({'rowCount':Math[_0x4f9a5b(0x224)](_0x2abe75,_0x5af3bf+0xa),'columnCount':Math[_0x4f9a5b(0x224)](_0x4d9604,_0x3baa78+0x5)}),_0x377822=_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x7abaf8);_0x34a952['id']=_0x4444c1(),_0x34a952[_0x4f9a5b(0x31c)]=_0xff121c[_0x4f9a5b(0x115)](''+_0x377822['t']('sheets.tabs.sheet'));const _0x3ae3c0={'index':_0x33812d,'sheet':_0x34a952,'unitId':_0x4ffc34},_0x509a9b=_0x316f56(_0xb7f6dd,_0x3ae3c0);_0x332455[_0x4f9a5b(0x1a3)]({'id':_0x227c31['id'],'params':_0x3ae3c0}),_0x3e3b5c[_0x4f9a5b(0x1a3)]({'id':_0x539518['id'],'params':_0x509a9b}),_0x332455['push']({'id':_0x3f552b['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id'],'cellValue':_0x3df3eb}}),_0x3e3b5c[_0x4f9a5b(0x1fe)]({'id':_0x3f552b['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id'],'cellValue':_0x4a6ac4}});const _0x39a15c={'startRow':0x0,'startColumn':0x0,'endRow':_0x2e6b27-0x1,'endColumn':_0x4cb9e9};_0x332455[_0x4f9a5b(0x1a3)]({'id':_0x4328ea['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id'],'range':_0x39a15c}}),_0x3e3b5c[_0x4f9a5b(0x1fe)]({'id':_0x1158ed['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id']}});const _0x4de9b5=_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x3408cd);return _0x2e7d7d(_0x332455,_0x4de9b5)&&_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x5ea86a)['pushUndoRedo']({'unitID':_0x4ffc34,'undoMutations':_0x3e3b5c,'redoMutations':_0x332455}),!0x0;}},Cs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x4ededc,_0x7f5f0b){const _0x456060=_0x1675c1;if(!_0x7f5f0b)return!0x1;const _0x3957c1=_0x4ededc['get'](_0x3408cd),_0x32f776=_0x4ededc[_0x456060(0x2e9)](Z),_0x4e9e09=_0x4ededc['get'](_0x5ea86a),{pivotTableId:_0x1e4873,fieldIds:_0x15afab,unitId:_0x2071ac,subUnitId:_0x386689}=_0x7f5f0b,_0x29170e=(await _0x32f776['getPivotDisplayConfig']({'unitId':_0x2071ac,'subUnitId':_0x386689,'pivotTableId':_0x1e4873,'params':{'type':A[_0x456060(0x301)],'removePivotField':{'fieldIds':_0x15afab}}}))[_0x456060(0x194)]['removePivotField'];if(!_0x29170e)return!0x1;const {view:_0x3e4fe5,changesets:_0x3dbfc4,isEmpty:_0x14d7b7,pivotTableConfig:_0x466405}=_0x29170e,_0x299793=_0x466405[_0x456060(0xb1)],_0x344944=new _0x14d91f();_0x344944[_0x456060(0xc1)](_0x3e4fe5);const _0x5ea61b={'cellInfo':_0x299793,'view':_0x344944,'isEmpty':_0x14d7b7};if(!await _0x4ededc[_0x456060(0x2e9)](ie)['asyncInterceptor'][_0x456060(0xaa)](be)(!0x0,_0x5ea61b))return!0x1;const _0x9a6de4=we(_0x4ededc,_0x344944,_0x299793,_0x14d7b7),_0x174770=_e(_0x4ededc,_0x5ea61b),{redos:_0x1ce3fd,undos:_0x170a89}=me(_0x3957c1,{'pivotTableId':_0x1e4873,'unitId':_0x2071ac,'subUnitId':_0x386689},_0x3dbfc4);return _0x2e7d7d([..._0x9a6de4[_0x456060(0x1b3)],..._0x174770[_0x456060(0x1b3)],..._0x1ce3fd],_0x3957c1),_0x4e9e09[_0x456060(0x216)]({'unitID':_0x2071ac,'redoMutations':[..._0x9a6de4[_0x456060(0x1b3)],..._0x174770['redos'],..._0x1ce3fd],'undoMutations':[..._0x9a6de4[_0x456060(0x1e2)],..._0x174770[_0x456060(0x1e2)],..._0x170a89]}),!0x0;}},bs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x3e05dc,_0x2376dc){const _0x4d84ad=_0x1675c1;var _0x10619b;const _0x5ae564=_0x3e05dc[_0x4d84ad(0x2e9)](_0x3408cd),_0x119150=_0x3e05dc[_0x4d84ad(0x2e9)](Z),_0x11028e=_0x3e05dc[_0x4d84ad(0x2e9)](Ne),_0x518e0e=_0x3e05dc[_0x4d84ad(0x2e9)](_0x146954),_0x46ebe9=_0x3e05dc[_0x4d84ad(0x2e9)](_0x5ea86a);if(!_0x2376dc)return!0x1;const {unitId:_0x541936,subUnitId:_0x398827,row:_0x36a749,col:_0x20833f,collapse:_0x1c82aa}=_0x2376dc,_0x37437e=_0x518e0e['getUnit'](_0x541936);if(!_0x37437e||!_0x37437e[_0x4d84ad(0x2c0)](_0x398827))return!0x1;const _0x26483b=_0x11028e[_0x4d84ad(0x264)](_0x541936,_0x398827,_0x36a749,_0x20833f);if(!_0x26483b)return!0x1;const _0x1c8ebd=_0x11028e[_0x4d84ad(0x124)](_0x541936,_0x398827,_0x26483b);if(!_0x1c8ebd)return!0x1;const _0x3b4fc2=_0x34e162(_0x36a749,_0x20833f),{rangesInfo:_0x1687fd,areaInfo:_0x2d2578,headerMap:_0x2b62e6}=_0x1c8ebd;if(!_0x1687fd||!_0x2d2578||!_0x2b62e6)return!0x1;const _0x3c0d3c=Object[_0x4d84ad(0x121)](_0x1687fd)[_0x4d84ad(0x300)](_0x6eadb9=>_0x1687fd[_0x6eadb9][_0x4d84ad(0x2fc)](_0x49ea53=>_0x351caf['contains'](_0x49ea53,_0x3b4fc2)));let _0x22091b;_0x3c0d3c==='rowRanges'?_0x22091b=_0x2b62e6[_0x4d84ad(0x2ca)][_0x20833f]:_0x3c0d3c===_0x4d84ad(0x20a)&&(_0x22091b=_0x2b62e6[_0x4d84ad(0x2dd)][_0x36a749]);const _0x52b9ce=_0x22091b==null?void 0x0:_0x22091b[_0x4d84ad(0x1e6)],_0x45cb46=(_0x10619b=_0x11028e[_0x4d84ad(0x157)](_0x541936,_0x398827,_0x36a749,_0x20833f))==null?void 0x0:_0x10619b['v'];if(_0x45cb46==null||!_0x26483b||!_0x52b9ce)return!0x1;const _0x1643f0=await _0x119150['getPivotDisplayConfig']({'unitId':_0x541936,'subUnitId':_0x398827,'pivotTableId':_0x26483b,'params':{'type':A[_0x4d84ad(0x319)],'setPivotCollapse':{'tableFieldId':_0x52b9ce,'collapse':_0x1c82aa,'item':_0x45cb46}}}),_0x228651=_0x1643f0==null?void 0x0:_0x1643f0[_0x4d84ad(0x194)][_0x4d84ad(0x321)];if(!_0x228651)return!0x1;const {view:_0x120468,pivotTableConfig:_0x2fa9c5,isEmpty:_0x146a51,changesets:_0x5a6431}=_0x228651,_0x4076a8=new _0x14d91f();_0x4076a8[_0x4d84ad(0xc1)](_0x120468);const _0x380056=_0x2fa9c5[_0x4d84ad(0xb1)],_0x1e8282={'cellInfo':_0x380056,'view':_0x4076a8,'isEmpty':_0x146a51};if(!await _0x3e05dc[_0x4d84ad(0x2e9)](ie)[_0x4d84ad(0x1cf)][_0x4d84ad(0xaa)](be)(!0x0,_0x1e8282))return!0x1;const _0x1cbe09=we(_0x3e05dc,_0x4076a8,_0x380056,_0x146a51),_0x5216c5=_e(_0x3e05dc,_0x1e8282),{redos:_0x322ff8,undos:_0x4d19db}=me(_0x5ae564,{'pivotTableId':_0x26483b,'unitId':_0x541936,'subUnitId':_0x398827},_0x5a6431);return _0x2e7d7d([..._0x1cbe09[_0x4d84ad(0x1b3)],..._0x5216c5[_0x4d84ad(0x1b3)],..._0x322ff8],_0x5ae564),_0x46ebe9[_0x4d84ad(0x216)]({'unitID':_0x541936,'redoMutations':[..._0x1cbe09[_0x4d84ad(0x1b3)],..._0x5216c5[_0x4d84ad(0x1b3)],..._0x322ff8],'undoMutations':[..._0x1cbe09[_0x4d84ad(0x1e2)],..._0x5216c5['undos'],..._0x4d19db]}),!0x0;}},Ss={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0xdd),async 'handler'(_0x230d0f,_0x2f2f12){const _0x110d63=_0x1675c1;if(!_0x2f2f12)return!0x1;const _0x3b08aa=_0x230d0f[_0x110d63(0x2e9)](_0x3408cd),{pivotTableId:_0x3c2478,tableFieldId:_0x19045d,items:_0x49ef0e,unitId:_0x25f2f8,subUnitId:_0x2b2de6,isAll:_0x33227e}=_0x2f2f12,_0x2e5d93=_0x230d0f['get'](Z),_0x29fe12=_0x230d0f['get'](_0x5ea86a),_0x27638d=(await _0x2e5d93[_0x110d63(0x180)]({'unitId':_0x25f2f8,'subUnitId':_0x2b2de6,'pivotTableId':_0x3c2478,'params':{'type':A[_0x110d63(0x28d)],'setPivotFilter':{'tableFieldId':_0x19045d,'items':_0x49ef0e,'isAll':_0x33227e}}}))[_0x110d63(0x194)][_0x110d63(0xe6)];if(!_0x27638d)return!0x1;const {changesets:_0x266420,pivotTableConfig:_0x5702ea,isEmpty:_0x1c9114,view:_0x17f4bc}=_0x27638d,_0x30fd75=_0x5702ea['targetCellInfo'],_0x21f916=new _0x14d91f();_0x21f916[_0x110d63(0xc1)](_0x17f4bc);const _0x35f01b={'cellInfo':_0x30fd75,'view':_0x21f916,'isEmpty':_0x1c9114};if(!await _0x230d0f['get'](ie)[_0x110d63(0x1cf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x35f01b))return!0x1;const _0x25f07f=we(_0x230d0f,_0x21f916,_0x30fd75,_0x1c9114),_0x10256d=_e(_0x230d0f,_0x35f01b),{undos:_0x6d3212,redos:_0xfa8428}=me(_0x3b08aa,{'pivotTableId':_0x3c2478,'unitId':_0x25f2f8,'subUnitId':_0x2b2de6},_0x266420);return _0x2e7d7d([..._0x25f07f['redos'],..._0x10256d[_0x110d63(0x1b3)],..._0xfa8428],_0x3b08aa),_0x29fe12['pushUndoRedo']({'unitID':_0x25f2f8,'redoMutations':[..._0x25f07f['redos'],..._0x10256d[_0x110d63(0x1b3)],..._0xfa8428],'undoMutations':[..._0x25f07f[_0x110d63(0x1e2)],..._0x10256d['undos'],..._0x6d3212]}),!0x0;}},Ps={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x4329fa,_0x40c8c7){const _0x106480=_0x1675c1;if(!_0x40c8c7)return!0x1;const _0x71cbfc=_0x4329fa[_0x106480(0x2e9)](_0x3408cd),_0x71beaa=_0x4329fa[_0x106480(0x2e9)](_0x5ea86a),_0x31afdd=_0x4329fa[_0x106480(0x2e9)](Z),{info:_0x5d7b73,tableFieldId:_0x3df80c,pivotTableId:_0x23cb01,unitId:_0x180ea8,subUnitId:_0x404fc4}=_0x40c8c7,_0x3ae7d8=(await _0x31afdd['getPivotDisplayConfig']({'unitId':_0x180ea8,'subUnitId':_0x404fc4,'pivotTableId':_0x23cb01,'params':{'type':A[_0x106480(0x184)],'setPivotSort':{'tableFieldId':_0x3df80c,'info':_0x5d7b73}}}))['result'][_0x106480(0x1bb)];if(!_0x3ae7d8)return!0x1;const {changesets:_0x21a7e2}=_0x3ae7d8,{redos:_0x5b8364,undos:_0x401d87}=me(_0x71cbfc,{'pivotTableId':_0x23cb01,'unitId':_0x180ea8,'subUnitId':_0x404fc4},_0x21a7e2);return _0x2e7d7d(_0x5b8364,_0x71cbfc),_0x71beaa['pushUndoRedo']({'unitID':_0x180ea8,'redoMutations':_0x5b8364,'undoMutations':_0x401d87}),!0x0;}},Ts={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x2cc),async 'handler'(_0x37ff89,_0x22bb71){const _0x43f7b5=_0x1675c1;if(!_0x22bb71)return!0x1;const _0x1dc34a=_0x37ff89[_0x43f7b5(0x2e9)](_0x3408cd),_0x508e39=_0x37ff89[_0x43f7b5(0x2e9)](_0x5ea86a),_0x261c5a=_0x37ff89[_0x43f7b5(0x2e9)](Z),{displayName:_0x120285,subtotalType:_0xa1816c,format:_0x2d5b87,tableFieldId:_0x2f2b3f,pivotTableId:_0x547d68,unitId:_0x12a313,subUnitId:_0x4a2f89}=_0x22bb71,_0x8267e=(await _0x261c5a[_0x43f7b5(0x180)]({'unitId':_0x12a313,'subUnitId':_0x4a2f89,'pivotTableId':_0x547d68,'params':{'type':A['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x2f2b3f,'displayName':_0x120285,'subtotalType':_0xa1816c,'format':_0x2d5b87}}}))[_0x43f7b5(0x194)]['setPivotSetting'];if(!_0x8267e)return!0x1;const {changesets:_0x3d27c1,view:_0x43575e,pivotTableConfig:_0xa8be1,isEmpty:_0x107ec4}=_0x8267e,_0x4f0dd0=_0xa8be1[_0x43f7b5(0xb1)],_0x4ec1be=new _0x14d91f();_0x4ec1be[_0x43f7b5(0xc1)](_0x43575e);const _0x40b205={'cellInfo':_0x4f0dd0,'view':_0x4ec1be,'isEmpty':_0x107ec4};if(!await _0x37ff89[_0x43f7b5(0x2e9)](ie)[_0x43f7b5(0x1cf)][_0x43f7b5(0xaa)](be)(!0x0,_0x40b205))return!0x1;const _0x3e2135=we(_0x37ff89,_0x4ec1be,_0x4f0dd0,_0x107ec4),_0x1f0490=_e(_0x37ff89,_0x40b205),{undos:_0x52197f,redos:_0x323aa2}=me(_0x1dc34a,{'pivotTableId':_0x547d68,'unitId':_0x12a313,'subUnitId':_0x4a2f89},_0x3d27c1);return _0x2e7d7d([..._0x3e2135[_0x43f7b5(0x1b3)],..._0x1f0490['redos'],..._0x323aa2],_0x1dc34a),_0x508e39[_0x43f7b5(0x216)]({'unitID':_0x12a313,'redoMutations':[..._0x3e2135[_0x43f7b5(0x1b3)],..._0x1f0490[_0x43f7b5(0x1b3)],..._0x323aa2],'undoMutations':[..._0x3e2135['undos'],..._0x1f0490[_0x43f7b5(0x1e2)],..._0x52197f]}),!0x0;}},Ms={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x1ad),async 'handler'(_0x50d154,_0x530444){const _0x1f325b=_0x1675c1,_0x2fafe6=_0x50d154[_0x1f325b(0x2e9)](_0x3408cd),_0x36f2c2=_0x50d154['get'](Z),_0x43a816=_0x50d154['get'](_0x5ea86a);if(!_0x530444)return!0x1;const {token:_0x4a85a1,dataRangeInfo:_0x107be3,unitId:_0x3093d7,subUnitId:_0x3228ab}=_0x530444,_0x376106=[],_0x399e6b=[],_0x4519f1=(await _0x36f2c2[_0x1f325b(0x180)]({'unitId':_0x3093d7,'subUnitId':_0x3228ab,'pivotTableId':_0x4a85a1,'params':{'type':A['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x107be3,'unitId':_0x3093d7,'subUnitId':_0x3228ab}}}))[_0x1f325b(0x194)][_0x1f325b(0x2df)];if(!_0x4519f1)return!0x1;const {changesets:_0x1dd644,deleteIds:_0x271586,collectionConfig:_0x43347a,oldCollectionConfig:_0x3b7548,view:_0x4955ad,isEmpty:_0xe041b7,pivotTableConfig:_0x4bfee1}=_0x4519f1;_0x399e6b[_0x1f325b(0x1a3)]({'id':to['id'],'params':{'pivotTableId':_0x4a85a1,'deleteIds':_0x271586,'collectionJSON':_0x43347a,'dataRangeInfo':_0x107be3,'unitId':_0x3093d7,'subUnitId':_0x3228ab}}),_0x376106['unshift']({'id':to['id'],'params':{'pivotTableId':_0x4a85a1,'deleteIds':[],'collectionJSON':_0x3b7548,'dataRangeInfo':_0x4bfee1[_0x1f325b(0xdb)],'unitId':_0x3093d7,'subUnitId':_0x3228ab}});const _0x4978e1=_0x4bfee1[_0x1f325b(0xb1)],_0x2e07dc=new _0x14d91f();_0x2e07dc['formJSON'](_0x4955ad);const _0x176534={'cellInfo':_0x4978e1,'view':_0x2e07dc,'isEmpty':_0xe041b7};if(!await _0x50d154[_0x1f325b(0x2e9)](ie)[_0x1f325b(0x1cf)][_0x1f325b(0xaa)](be)(!0x0,_0x176534))return!0x1;const _0x327c9d=we(_0x50d154,_0x2e07dc,_0x4978e1,_0xe041b7),_0x2b15a5=_e(_0x50d154,_0x176534),{undos:_0x1c9bd3,redos:_0x261982}=me(_0x2fafe6,{'pivotTableId':_0x4a85a1,'unitId':_0x3093d7,'subUnitId':_0x3228ab},_0x1dd644);return _0x2e7d7d([..._0x327c9d['redos'],..._0x2b15a5[_0x1f325b(0x1b3)],..._0x399e6b,..._0x1c9bd3],_0x2fafe6),_0x43a816[_0x1f325b(0x216)]({'unitID':_0x3093d7,'redoMutations':[..._0x327c9d['redos'],..._0x2b15a5[_0x1f325b(0x1b3)],..._0x399e6b,..._0x1c9bd3],'undoMutations':[..._0x327c9d['undos'],..._0x2b15a5[_0x1f325b(0x1e2)],..._0x376106,..._0x261982]}),!0x0;}},ys={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x22b),async 'handler'(_0x43a981,_0x3400b3){const _0x1e0126=_0x1675c1;if(!_0x3400b3)return!0x1;const _0x4ebed0=_0x43a981['get'](_0x3408cd),_0x47024b=_0x43a981['get'](Z),_0x3698f2=_0x43a981[_0x1e0126(0x2e9)](_0x146954),_0x55ccdc=_0x43a981[_0x1e0126(0x2e9)](_0x5ea86a),{pivotTableId:_0x9377bb,position:_0x1769e8,index:_0x56ef43}=_0x3400b3,_0x57ac3b=_0x2075c9(_0x3698f2);if(!_0x57ac3b)return!0x1;const {unitId:_0x3e0b92,subUnitId:_0x385c87}=_0x57ac3b,_0x1acb6c=(await _0x47024b[_0x1e0126(0x180)]({'unitId':_0x3e0b92,'subUnitId':_0x385c87,'pivotTableId':_0x9377bb,'params':{'type':A['UpdateValuePosition'],'updateValuePosition':{'position':_0x1769e8,'index':_0x56ef43}}}))[_0x1e0126(0x194)][_0x1e0126(0x2dc)];if(!_0x1acb6c)return!0x1;const {changesets:_0x25552a,view:_0x1d0aae,isEmpty:_0x46ac5d,pivotTableConfig:_0x4fdb62}=_0x1acb6c,_0x98855e=_0x4fdb62[_0x1e0126(0xb1)],_0x3c6a39=new _0x14d91f();_0x3c6a39[_0x1e0126(0xc1)](_0x1d0aae);const _0x3e0059=_0x43a981[_0x1e0126(0x2e9)](ie),_0x4649d0={'cellInfo':_0x98855e,'view':_0x3c6a39,'isEmpty':_0x46ac5d};if(!await _0x3e0059['asyncInterceptor'][_0x1e0126(0xaa)](be)(!0x0,_0x4649d0))return!0x1;const _0x55e886=we(_0x43a981,_0x3c6a39,_0x98855e,_0x46ac5d),_0x1461f9=_e(_0x43a981,_0x4649d0),{undos:_0x7401f8,redos:_0x389c44}=me(_0x4ebed0,{'pivotTableId':_0x9377bb,'unitId':_0x3e0b92,'subUnitId':_0x385c87},_0x25552a);return _0x2e7d7d([..._0x55e886[_0x1e0126(0x1b3)],..._0x1461f9[_0x1e0126(0x1b3)],..._0x389c44],_0x4ebed0),_0x55ccdc[_0x1e0126(0x216)]({'unitID':_0x3e0b92,'redoMutations':[..._0x55e886[_0x1e0126(0x1b3)],..._0x1461f9[_0x1e0126(0x1b3)],..._0x389c44],'undoMutations':[..._0x55e886[_0x1e0126(0x1e2)],..._0x1461f9['undos'],..._0x7401f8]}),!0x0;}},ws={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0xca),'handler':(_0x5dc504,_0x5d945f)=>{const _0x1c0424=_0x1675c1,_0x134d2f=_0x5dc504['get'](_0x3408cd),_0x218328=_0x5dc504[_0x1c0424(0x2e9)](_0x5ea86a),_0x32df0e=_0x5dc504['get'](ve),_0x35c60f=_0x5dc504[_0x1c0424(0x2e9)](_0x146954);if(!_0x5d945f)return!0x1;const _0x4bf873=_0x2075c9(_0x35c60f);if(!_0x4bf873)return!0x1;const {unitId:_0x54d567,subUnitId:_0x114423,workbook:_0x5453bd}=_0x4bf873,_0x4a6db1=_0x32df0e[_0x1c0424(0x14e)](_0x5d945f['originTargetInfo'][_0x1c0424(0x167)],_0x5d945f[_0x1c0424(0x24e)][_0x1c0424(0x20b)],_0x5d945f[_0x1c0424(0x2fb)]);if(!_0x4a6db1)return!0x1;const _0x1e66c9=_0x5453bd[_0x1c0424(0x2c0)](_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0x20b)]);if(!_0x1e66c9)throw new Error(_0x1c0424(0x2a7));const _0xc2b312=_0x1e66c9['getRowCount'](),_0x504090=_0x1e66c9['getColumnCount']();if(_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0xcd)]>_0xc2b312||_0x5d945f['targetCellInfo'][_0x1c0424(0x1d6)]>_0x504090)throw new Error(_0x1c0424(0x13d));const _0x3a99ea=[{'id':pt['id'],'params':{'unitId':_0x54d567,'subUnitId':_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0x20b)],'pivotTableId':_0x5d945f[_0x1c0424(0x2fb)],'targetCellPosition':{'row':_0x5d945f[_0x1c0424(0xb1)]['row'],'col':_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0x1d6)]}}}],_0x29320d=[{'id':pt['id'],'params':{'unitId':_0x54d567,'subUnitId':_0x114423,'pivotTableId':_0x5d945f[_0x1c0424(0x2fb)],'targetCellPosition':{'row':_0x4a6db1[_0x1c0424(0xb1)]['row'],'col':_0x4a6db1[_0x1c0424(0xb1)]['col']}}}];return _0x2e7d7d(_0x3a99ea,_0x134d2f)&&_0x218328['pushUndoRedo']({'unitID':_0x54d567,'undoMutations':_0x29320d,'redoMutations':_0x3a99ea}),!0x0;}},_s={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x271),async 'handler'(_0x5c0421,_0x265ca2){const _0x17a594=_0x1675c1;if(!_0x265ca2)return!0x1;const _0x3e8cf7=_0x5c0421[_0x17a594(0x2e9)](_0x3408cd),{pivotTableId:_0x825859,fieldId:_0x2b60f4,valueFilterInfo:_0x568cac,unitId:_0x21f659,subUnitId:_0x345db3}=_0x265ca2,_0x1bbd17=_0x5c0421[_0x17a594(0x2e9)](Z),_0x599ea5=_0x5c0421[_0x17a594(0x2e9)](_0x5ea86a),_0x31431b=(await _0x1bbd17[_0x17a594(0x180)]({'unitId':_0x21f659,'subUnitId':_0x345db3,'pivotTableId':_0x825859,'params':{'type':A['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x2b60f4,'filterInfo':_0x568cac}}}))['result'][_0x17a594(0x2d7)];if(!_0x31431b)return!0x1;const {changesets:_0x6201b2,pivotTableConfig:_0x2af91e,isEmpty:_0x1fd5f7,view:_0x1a2f4c}=_0x31431b,_0x30a370=_0x2af91e[_0x17a594(0xb1)],_0x5620a8=new _0x14d91f();_0x5620a8['formJSON'](_0x1a2f4c);const _0x20e627={'cellInfo':_0x30a370,'view':_0x5620a8,'isEmpty':_0x1fd5f7};if(!await _0x5c0421[_0x17a594(0x2e9)](ie)[_0x17a594(0x1cf)][_0x17a594(0xaa)](be)(!0x0,_0x20e627))return!0x1;const _0x540424=we(_0x5c0421,_0x5620a8,_0x30a370,_0x1fd5f7),_0x5274b3=_e(_0x5c0421,_0x20e627),{undos:_0x244ff2,redos:_0x1887a7}=me(_0x3e8cf7,{'pivotTableId':_0x825859,'unitId':_0x21f659,'subUnitId':_0x345db3},_0x6201b2);return _0x2e7d7d([..._0x540424['redos'],..._0x5274b3['redos'],..._0x1887a7],_0x3e8cf7),_0x599ea5[_0x17a594(0x216)]({'unitID':_0x21f659,'redoMutations':[..._0x540424[_0x17a594(0x1b3)],..._0x5274b3[_0x17a594(0x1b3)],..._0x1887a7],'undoMutations':[..._0x540424[_0x17a594(0x1e2)],..._0x5274b3[_0x17a594(0x1e2)],..._0x244ff2]}),!0x0;}},Fs={'type':_0x3fc5c3['COMMAND'],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x1ae676,_0x4f653a){const _0xb090b0=_0x1675c1;if(!_0x4f653a)return!0x1;const _0x42cc7c=_0x1ae676['get'](_0x3408cd),_0x5698a1=_0x1ae676[_0xb090b0(0x2e9)](_0x5ea86a),_0x2fdc36=_0x1ae676['get'](Z),{pivotTableConfig:_0x3bd31e,pivotTableId:_0x2467a2,unitId:_0x3d6a31,subUnitId:_0x516d5e}=_0x4f653a,_0x37b7b9=(await _0x2fdc36[_0xb090b0(0x180)]({'unitId':_0x3d6a31,'subUnitId':_0x516d5e,'pivotTableId':_0x2467a2,'params':{'type':A[_0xb090b0(0xef)],'setPivotTableConfig':{'pivotTableId':_0x2467a2,'pivotTableConfig':_0x3bd31e}}}))[_0xb090b0(0x194)][_0xb090b0(0x176)];if(!_0x37b7b9)return!0x1;const {changesets:_0x2ac131}=_0x37b7b9,{redos:_0x490540,undos:_0x4722e0}=me(_0x42cc7c,{'pivotTableId':_0x2467a2,'unitId':_0x3d6a31,'subUnitId':_0x516d5e},_0x2ac131);return _0x2e7d7d(_0x490540,_0x42cc7c),_0x5698a1['pushUndoRedo']({'unitID':_0x3d6a31,'redoMutations':_0x490540,'undoMutations':_0x4722e0}),!0x0;}},Ds={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x20d),async 'handler'(_0x277fcf,_0x2333e1){const _0x242ae2=_0x1675c1;if(!_0x2333e1)return!0x1;const _0x4276ce=_0x277fcf[_0x242ae2(0x2e9)](_0x3408cd),_0x29815b=_0x277fcf[_0x242ae2(0x2e9)](_0x5ea86a),_0x293a0a=_0x277fcf[_0x242ae2(0x2e9)](Z),{resetArea:_0x42052b,pivotTableId:_0x443bad,unitId:_0x4fffa7,subUnitId:_0x39518f}=_0x2333e1,_0x2e5ed0=(await _0x293a0a[_0x242ae2(0x180)]({'unitId':_0x4fffa7,'subUnitId':_0x39518f,'pivotTableId':_0x443bad,'params':{'type':A[_0x242ae2(0x306)],'resetPivotTable':{'pivotTableId':_0x443bad,'resetArea':_0x42052b}}}))[_0x242ae2(0x194)]['resetPivotTable'];if(!_0x2e5ed0)return!0x1;const {changesets:_0x5f39a5}=_0x2e5ed0,{redos:_0x2f40c8,undos:_0x390c99}=me(_0x4276ce,{'pivotTableId':_0x443bad,'unitId':_0x4fffa7,'subUnitId':_0x39518f},_0x5f39a5);return _0x2e7d7d(_0x2f40c8,_0x4276ce),_0x29815b[_0x242ae2(0x216)]({'unitID':_0x4fffa7,'redoMutations':_0x2f40c8,'undoMutations':_0x390c99}),!0x0;}},oo={'id':'sheet.mutation.update-date-group','type':_0x3fc5c3[_0x1675c1(0xd9)],'handler':(_0x19d25a,_0x358a50)=>{const _0x4af24b=_0x1675c1;if(!_0x358a50)return!0x1;if(!!_0x19d25a[_0x4af24b(0x2e9)](_0xe8dcbb)[_0x4af24b(0x1dc)](H))return!0x0;const {unitId:_0x256635,subUnitId:_0x3b68b4,pivotTableId:_0x3f8297,tableFieldId:_0x4791cb,dateType:_0x4ee5ca}=_0x358a50,_0x5eabe0=_0x19d25a['get'](G),_0x18b5d8=_0x5eabe0[_0x4af24b(0x220)](_0x3f8297);if(!_0x18b5d8)return!0x1;const _0x255ab1=_0x18b5d8[_0x4af24b(0xc0)](_0x4791cb);if(!_0x255ab1)return!0x1;const _0x774e=_0x255ab1[_0x4af24b(0x2e3)](),_0x48ccc5=_0x18b5d8['getDataFieldByDataFieldId'](_0x774e),_0x53b7a0=(_0x48ccc5==null?void 0x0:_0x48ccc5['getName']())+'\x20'+Ho(_0x19d25a,_0x4ee5ca);_0x5eabe0[_0x4af24b(0x28b)](_0x256635,_0x3f8297)[_0x4af24b(0x248)](_0x255ab1['id'],_0x53b7a0);const _0x325f9a=_0x18b5d8[_0x4af24b(0x289)](_0x4791cb);if(!_0x325f9a)return!0x1;_0x18b5d8[_0x4af24b(0x311)](_0x325f9a[_0x4af24b(0xf5)](),_0x53b7a0),_0x255ab1[_0x4af24b(0x28e)](_0x4ee5ca);const _0x269393=_0x5eabe0[_0x4af24b(0x14e)](_0x256635,_0x3b68b4,_0x3f8297);return _0x5eabe0[_0x4af24b(0x196)]({'unitId':_0x256635,'subUnitId':_0x3b68b4,'token':_0x3f8297,'type':L[_0x4af24b(0x2e2)],'pivotConfig':_0x269393}),!0x0;}},Rs={'id':_0x1675c1(0x166),'type':_0x3fc5c3[_0x1675c1(0x156)],'handler':(_0x457e11,_0xb3d48)=>{const _0x354c63=_0x1675c1;if(!_0xb3d48)return!0x1;const _0x5e1c0a=_0x457e11[_0x354c63(0x2e9)](_0x5ea86a),{unitId:_0x53a249,subUnitId:_0x49aa17,pivotTableId:_0xe26c07,tableFieldId:_0x258991}=_0xb3d48,_0x1dd836=[],_0x43c034=[],_0x5855b9=_0x457e11[_0x354c63(0x2e9)](ve),_0x185014=_0x5855b9['getCollection'](_0x53a249,_0xe26c07),_0x4a686c=_0x5855b9[_0x354c63(0x14e)](_0x53a249,_0x49aa17,_0xe26c07);if(!(_0x4a686c!=null&&_0x4a686c['fieldsConfig']['dimension']))return!0x1;const _0x5bb182=Object[_0x354c63(0x13a)](_0x4a686c[_0x354c63(0x2bd)][_0x354c63(0x151)])[_0x354c63(0x300)](_0x4dc913=>_0x4dc913['id']===_0x258991);if(!_0x5bb182)return!0x1;const _0x5cd1b7=_0x5bb182['dataFieldId'];if(!(_0x185014!=null&&_0x185014[_0x354c63(0x1be)]))return!0x1;const _0x39dcb1=Object['values'](_0x185014==null?void 0x0:_0x185014[_0x354c63(0x1be)])['find'](_0x475d08=>_0x475d08['id']===_0x5cd1b7);if(!_0x39dcb1)return!0x1;_0x465631(_0x39dcb1)&&_0x1dd836[_0x354c63(0x1a3)]({'id':oo['id'],'params':{..._0xb3d48,'dateType':_0x39dcb1[_0x354c63(0x2c4)]}}),_0x43c034[_0x354c63(0x1a3)]({'id':oo['id'],'params':{..._0xb3d48}});const _0x1a0e33=_0x457e11['get'](_0x3408cd);return _0x2e7d7d(_0x43c034,_0x1a0e33)&&_0x5e1c0a[_0x354c63(0x216)]({'unitID':_0x53a249,'undoMutations':_0x1dd836,'redoMutations':_0x43c034}),!0x0;}};var Ns=Object[_0x1675c1(0xd3)],Es=(_0x390171,_0x9ac1d9,_0x593cdf,_0x5f3094)=>{const _0x1377ff=_0x1675c1;for(var _0xd6229f=_0x5f3094>0x1?void 0x0:_0x5f3094?Ns(_0x9ac1d9,_0x593cdf):_0x9ac1d9,_0x375957=_0x390171[_0x1377ff(0xff)]-0x1,_0x32499e;_0x375957>=0x0;_0x375957--)(_0x32499e=_0x390171[_0x375957])&&(_0xd6229f=_0x32499e(_0xd6229f)||_0xd6229f);return _0xd6229f;},Ke=(_0x197dde,_0x4fe8b2)=>(_0x2c401d,_0x1ae313)=>_0x4fe8b2(_0x2c401d,_0x1ae313,_0x197dde);const Us=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Vs=(_0x59f9fc,_0x134576,_0x57da18)=>{const _0x25db8a=_0x1675c1,_0x4d9401=_0x59f9fc['dataFieldsCollection'];_0x59f9fc['iterateFieldDim'](_0xe97447=>{const _0x545487=_0x2dae,_0x1aba92=_0xe97447[_0x545487(0xf5)](),_0x6a562e=_0xe97447['getDataFieldId'](),_0x309432=_0xe97447[_0x545487(0x267)](),_0x3b4128=_0xe97447['getDisplayName']();_0x134576[_0x6a562e]&&_0x134576[_0x6a562e]===_0x3b4128&&_0x309432===_0x3b4128&&(_0x59f9fc[_0x545487(0x311)](_0x1aba92,_0x4d9401['getDisplayName'](_0x6a562e)),_0xe97447['setSourceName'](_0x4d9401[_0x545487(0x16f)](_0x6a562e)));}),_0x59f9fc[_0x25db8a(0x29b)](_0x4cc34c[_0x25db8a(0x9c)],_0x18e13b=>{const _0x2e24b4=_0x25db8a,_0x224eaf=_0x18e13b['getId'](),_0x5c2b8a=_0x18e13b['getDataFieldId'](),_0x4ce840=_0x18e13b[_0x2e24b4(0x267)](),_0x35d511=_0x18e13b[_0x2e24b4(0x16f)](),_0x9e34a6=_0x18e13b[_0x2e24b4(0x27b)](),_0x2ba1fe=_0x57da18(_0x4ce840,_0x9e34a6);_0x134576[_0x5c2b8a]&&_0x134576[_0x5c2b8a]===_0x4ce840&&_0x2ba1fe===_0x35d511&&(_0x59f9fc[_0x2e24b4(0x311)](_0x224eaf,_0x57da18(_0x4d9401[_0x2e24b4(0x16f)](_0x5c2b8a),_0x9e34a6)),_0x18e13b[_0x2e24b4(0x141)](_0x4d9401[_0x2e24b4(0x16f)](_0x5c2b8a)));});},Os=(_0x5cb149,_0x1e7a8e,_0x55c6e7)=>{const _0x31a3df=_0x1675c1;var _0x5beddb,_0x54b365;const {arrayFormulaCellData:_0x57a0a8,unitData:_0x23bc36}=_0x1e7a8e,{unitId:_0x18f904,subUnitId:_0x358eaa}=_0x55c6e7,_0xad68b9=_0x55c6e7[_0x31a3df(0x27c)],{startColumn:_0x471e77,endColumn:_0x5c8415}=_0xad68b9,_0x101c49=(_0x5beddb=_0x57a0a8==null?void 0x0:_0x57a0a8[_0x18f904])==null?void 0x0:_0x5beddb[_0x358eaa],_0x50b188=(_0x54b365=_0x23bc36==null?void 0x0:_0x23bc36[_0x18f904])==null?void 0x0:_0x54b365[_0x358eaa],_0x323cdd=new Set(),_0x2029bf=_0x5c8415-_0x471e77+0x1,{dirtyRanges:_0x367897}=_0x5cb149;if(_0x367897)for(const {range:_0x55c74f,sheetId:_0x15c484,unitId:_0x4bd436}of _0x367897){if(_0x15c484!==_0x358eaa||_0x18f904!==_0x4bd436)continue;const _0x499375=_0x351caf['getIntersects'](_0x55c74f,_0xad68b9);if(_0x499375){const {startColumn:_0x31900d,endColumn:_0x3bfe7c}=_0x499375;for(let _0x1e8168=_0x31900d;_0x1e8168<=_0x3bfe7c;_0x1e8168++)_0x323cdd[_0x31a3df(0x1a7)](_0x1e8168);}}if(_0x323cdd[_0x31a3df(0xb5)]===_0x2029bf||_0x323cdd['size']===_0x2029bf)return Array[_0x31a3df(0x2f9)](_0x323cdd);if(_0x50b188){const _0x55f7ca=_0x50b188[_0x31a3df(0x29d)](),_0x400fe4=Object['keys'](_0x55f7ca);for(const _0x294a4f of _0x400fe4){const _0x5d5e82=Number(_0x294a4f),_0xb54843=_0x55f7ca[_0x5d5e82];if(_0x323cdd[_0x31a3df(0xb5)]===_0x2029bf)break;for(const _0x55d4a0 in _0xb54843){const _0x2a0a47=Number(_0x55d4a0);_0x2a0a47<_0x471e77||_0x2a0a47>_0x5c8415||_0x323cdd[_0x31a3df(0x1a7)](_0x2a0a47);}}}if(_0x101c49){const _0x32c2de=_0x101c49['getMatrix'](),_0x551d94=Object[_0x31a3df(0x121)](_0x32c2de);for(const _0x144f8f of _0x551d94){const _0x3b7410=Number(_0x144f8f),_0x282a26=_0x32c2de[_0x3b7410];if(_0x323cdd[_0x31a3df(0xb5)]===_0x2029bf)break;for(const _0x53f4c3 in _0x282a26){const _0x5de2dd=Number(_0x53f4c3);_0x5de2dd<_0x471e77||_0x5de2dd>_0x5c8415||_0x323cdd[_0x31a3df(0x1a7)](_0x5de2dd);}}}return Array[_0x31a3df(0x2f9)](_0x323cdd);},xs=_0xf5b5ee=>{const _0x14113f=_0x1675c1,_0x53242e=new Set(),_0x24545e=[];for(const _0x2ebefe of _0xf5b5ee){const _0x5d7b48=_0x2ebefe[_0x14113f(0x21c)]+','+_0x2ebefe['endRow']+','+_0x2ebefe['startColumn']+','+_0x2ebefe[_0x14113f(0xa1)];_0x53242e[_0x14113f(0x1b4)](_0x5d7b48)||(_0x53242e[_0x14113f(0x1a7)](_0x5d7b48),_0x24545e[_0x14113f(0x1a3)](_0x2ebefe));}return _0x24545e;};let ct=class extends _0x5334b7{constructor(_0x1a10e0,_0x41f94e,_0x1dfed5,_0xd1f988,_0x23fe56,_0x335641){const _0x3c4c0d=_0x1675c1;super(),U(this,_0x3c4c0d(0x2d9),new _0x3370f8(!0x0)),U(this,_0x3c4c0d(0x1b5),_0x1a4391=>{const _0x53e7c3=_0x3c4c0d;this['_globalSubject'][_0x53e7c3(0x294)](!0x1);}),U(this,'_globalComputedEndHelpFunc',_0x2e3c9d=>{const _0x5e83fa=_0x3c4c0d;this[_0x5e83fa(0x2d9)][_0x5e83fa(0x294)](!0x0);}),(this[_0x3c4c0d(0x1ce)]=_0x1a10e0,this['_configService']=_0x41f94e,this[_0x3c4c0d(0x1d5)]=_0x1dfed5,this[_0x3c4c0d(0x25d)]=_0xd1f988,this[_0x3c4c0d(0x278)]=_0x23fe56,this[_0x3c4c0d(0x312)]=_0x335641,this[_0x3c4c0d(0x2b8)](),this[_0x3c4c0d(0x150)]());}[_0x1675c1(0x2b8)](){const _0x1e14ca=_0x1675c1;this['_subjectCollectionChange'](),this[_0x1e14ca(0xd5)](),this[_0x1e14ca(0x2af)](),this[_0x1e14ca(0x2e4)]();}[_0x1675c1(0x16e)](){const _0x52e2e6=_0x1675c1;this[_0x52e2e6(0x278)]['pushComputingStatusSubject'](this[_0x52e2e6(0x2d9)]),_0x16e808[_0x52e2e6(0x31a)](_0x3cb203[_0x52e2e6(0x2ae)],this[_0x52e2e6(0x1b5)]),_0x16e808[_0x52e2e6(0x31a)](_0x3cb203[_0x52e2e6(0x1c6)],this[_0x52e2e6(0x205)]);}[_0x1675c1(0x150)](){const _0x33b06e=_0x1675c1;this[_0x33b06e(0x1ea)](this[_0x33b06e(0x25d)][_0x33b06e(0x170)](_0x43367e=>{const _0x4ec15b=_0x33b06e;_0x43367e['id']===_0x39fdc9['id']&&this[_0x4ec15b(0x1ce)]['handleMoveRange'](_0x43367e[_0x4ec15b(0xa2)]);})),this['disposeWithMe'](this[_0x33b06e(0x25d)]['onCommandExecuted'](_0x5b668f=>{const _0x47d5b3=_0x33b06e;if(_0x5b668f['id']!==ro['id'])return;const _0xbf2241=_0x5b668f[_0x47d5b3(0xa2)],{unitId:_0x3dc222,subUnitId:_0x4d2fac,pivotTableId:_0x2de7a0}=_0xbf2241,_0x4b7142=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x168)],_0x2eb7cd={};switch(_0x4b7142){case A[_0x47d5b3(0x1aa)]:{const _0x57c99e=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x29a)];if(!_0x57c99e)return;const {row:_0x45d461,col:_0x2e0e1e,cellData:_0x1bfbe8,pivotItemRenderInfoCache:_0xcb6f5c,tableFieldId:_0x563c2b}=_0x57c99e,_0x311c2b=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0xbf2241[_0x47d5b3(0x2fb)]);if(!_0x311c2b||!_0xcb6f5c)return;if(_0x563c2b){const _0x1e4a32=_0x311c2b[_0x47d5b3(0xc0)](_0x563c2b);if(!_0x1e4a32)return;_0x2eb7cd[_0x47d5b3(0x29a)]={..._0x311c2b['getDataFieldItemInfo'](_0x1e4a32),'tableFieldId':_0x563c2b,'pivotTableId':_0xbf2241[_0x47d5b3(0x2fb)],'filterInfo':_0x311c2b[_0x47d5b3(0x1c7)](_0x563c2b),'sortInfo':_0x311c2b[_0x47d5b3(0x169)](_0x563c2b),'format':_0x311c2b[_0x47d5b3(0xbb)](_0x563c2b)};}else{const _0x1bb195=Oi(_0x45d461,_0x2e0e1e,_0x1bfbe8,_0x311c2b,_0xcb6f5c),_0x13e05f=_0x1bb195==null?void 0x0:_0x1bb195[_0x47d5b3(0x112)];if(!_0x13e05f)return;const _0x5338fe=_0x311c2b[_0x47d5b3(0xc0)](_0x13e05f);if(!_0x5338fe)return;_0x2eb7cd['filter']={..._0x311c2b[_0x47d5b3(0x1ab)](_0x5338fe),'tableFieldId':_0x13e05f,'pivotTableId':_0xbf2241[_0x47d5b3(0x2fb)],'filterInfo':_0x311c2b[_0x47d5b3(0x1c7)](_0x13e05f),'sortInfo':_0x311c2b[_0x47d5b3(0x169)](_0x13e05f),'format':_0x311c2b[_0x47d5b3(0xbb)](_0x13e05f)};}}break;case A[_0x47d5b3(0x317)]:{const _0x250bab=_0xbf2241['params']['panel'];if(!_0x250bab)return;const {pivotTableId:_0x3ee0bc}=_0x250bab,_0xd0f1f7=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x3ee0bc);if(!_0xd0f1f7)return;const _0x3104dc=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x3ee0bc),_0x51de93=xi(_0xd0f1f7,_0x3ee0bc,_0x3104dc);_0x2eb7cd['panel']=_0x51de93;}break;case A[_0x47d5b3(0x13e)]:{const _0xd0f1b1=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x2011e4=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x23a)](_0x3dc222),_0x537627=_0x2011e4[_0x47d5b3(0x28b)](_0x2de7a0);let _0x92220d=null;const _0x1957a1=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0),_0x4517ef=_0xbf2241['params'][_0x47d5b3(0x2ec)];if(!_0xd0f1b1||!_0x1957a1||!_0x4517ef)return!0x1;const {dataFieldId:_0x4387ea,fieldArea:_0x14b913,index:_0x48cc7c}=_0x4517ef;_0xd0f1b1['startCollectChangeset']();const _0x4bf5c0=_0xd0f1b1['addFieldWithSourceId'](_0x4387ea,_0x14b913,_0x48cc7c);if(_0x4bf5c0&&_0x14b913===_0x4cc34c['Value']){const _0x3ce831=_0x4bf5c0[_0x47d5b3(0xf5)](),_0x1dfddb=_0xd0f1b1['getDataFieldByTableId'](_0x3ce831);if(_0x1dfddb){const _0x48db3d=_0x1dfddb==null?void 0x0:_0x1dfddb[_0x47d5b3(0x2ea)]();_0xd0f1b1['setSubtotalType'](_0x4bf5c0['getId'](),_0x48db3d===_0x4f8f52[_0x47d5b3(0x12f)]?_0xd80465[_0x47d5b3(0x1ba)]:_0xd80465['count']);}const _0x29ad05=_0xd0f1b1[_0x47d5b3(0x125)](),_0x1a81f3=_0xd0f1b1['getValuePosition'](),_0x152da6=_0xd0f1b1[_0x47d5b3(0xb4)](_0x4cc34c[_0x47d5b3(0x9c)]);if(_0x29ad05===-0x1&&_0x152da6>0x1){const _0x4a22a8=_0x1a81f3===_0x229120[_0x47d5b3(0x162)]?_0x229120[_0x47d5b3(0x258)]:_0x1a81f3,_0x7ed087=_0x4a22a8===_0x229120['Row']?_0x4cc34c['Row']:_0x4cc34c[_0x47d5b3(0x258)];_0xd0f1b1[_0x47d5b3(0x2dc)](_0x4a22a8,_0xd0f1b1[_0x47d5b3(0xb4)](_0x7ed087));}}else{if(_0x4bf5c0&&(_0x14b913===_0x4cc34c[_0x47d5b3(0x1e1)]||_0x14b913===_0x4cc34c['Column'])){const _0x6b54a4=_0x4bf5c0[_0x47d5b3(0xf5)](),_0x260631=_0xd0f1b1[_0x47d5b3(0xc0)](_0x6b54a4);if(_0x260631&&(_0x260631==null?void 0x0:_0x260631[_0x47d5b3(0x2ea)]())===_0x4f8f52['date']){const _0x224010=_0x260631[_0x47d5b3(0x107)]();if(_0x224010&&_0xd0f1b1[_0x47d5b3(0x308)](_0x4bf5c0[_0x47d5b3(0xf5)](),_0x224010),!_0x537627[_0x47d5b3(0x2eb)]()['some'](_0x2774aa=>{const _0x67c62e=_0x47d5b3,_0x30b85f=_0x537627[_0x67c62e(0xe0)](_0x2774aa);return _0x3b4148(_0x30b85f)?_0x30b85f[_0x67c62e(0xd2)]()[_0x67c62e(0x17c)]===_0x4387ea:!0x1;})){const _0x52d179=_0x2011e4[_0x47d5b3(0x18c)](),_0xed4161=Ji(_0x260631[_0x47d5b3(0x11c)],_0x260631[_0x47d5b3(0x2b3)]),_0x2d70dc=_0x260631['getName']()+_0x47d5b3(0x119)+Ho(this[_0x47d5b3(0x312)],_0xed4161),_0x3a6f3c=new _0x6b76c2(_0x52d179,_0x2d70dc,_0x248684(0x3),_0x260631[_0x47d5b3(0xf5)](),_0xed4161);_0x2011e4[_0x47d5b3(0x282)](_0x3a6f3c),_0x537627[_0x47d5b3(0x273)](_0x52d179,_0x2d70dc),_0xd0f1b1[_0x47d5b3(0x171)](_0x52d179,_0x14b913,(_0x48cc7c!=null?_0x48cc7c:0x0)+0x1),_0x92220d=_0x3a6f3c;}}}}const _0x4a0669=_0xd0f1b1[_0x47d5b3(0x22a)](),_0x20cb2b=_0xd0f1b1[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)]();let _0x4807cb;if(_0x92220d){_0x4807cb=_0x92220d[_0x47d5b3(0x132)]();const _0x3824c7=_0x92220d[_0x47d5b3(0xf5)]();_0x537627[_0x47d5b3(0x303)](_0x3824c7);let _0x5a40fc=!0x0;for(const _0x2f8988 in _0x2011e4[_0x47d5b3(0x234)])if(_0x2011e4[_0x47d5b3(0x234)][_0x2f8988][_0x47d5b3(0x2eb)]()[_0x47d5b3(0x19f)](_0x3824c7)){_0x5a40fc=!0x1;break;}_0x5a40fc&&_0x2011e4[_0x47d5b3(0x137)](_0x3824c7);}const _0x1543d8=_0xd0f1b1['endCollectChangeset']();_0x2eb7cd['addPivotField']={'view':_0x20cb2b,'changesets':_0x1543d8,'isEmpty':_0x4a0669,'pivotTableConfig':_0x1957a1,'shouldBeAddedGroupJSON':_0x4807cb};}break;case A['AddPivotTable']:{const _0x183166=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x199)];if(!_0x183166)return;const _0x1e6ff5=_0x183166[_0x47d5b3(0xdb)],_0x1f8839=_0x183166['pivotTableId'],{collection:_0x298744}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x1e6ff5[_0x47d5b3(0x167)],'sheetName':_0x1e6ff5[_0x47d5b3(0x128)],'subUnitId':_0x1e6ff5['subUnitId'],'range':_0x1e6ff5[_0x47d5b3(0x27c)]}),_0x9da5bf=new _0x16e808(_0x298744,void 0x0,_0x1f8839),_0xb3fafd=_0x9da5bf['query'](),_0x458597=_0x9da5bf['toJSON'](),_0x175ae1=_0x298744[_0x47d5b3(0x132)]();_0x2eb7cd[_0x47d5b3(0x199)]={'view':_0xb3fafd,'fieldsConfig':_0x458597,'collectionConfig':_0x175ae1,'isEmpty':_0x9da5bf[_0x47d5b3(0x22a)]()};}break;case A[_0x47d5b3(0x1c9)]:{const _0x5b8898=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x2b0)];if(!_0x5b8898)return;const {fieldId:_0x52df22,area:_0x256b75,index:_0x52448c}=_0x5b8898,_0x22092b=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x22092b)return;const _0x298cbe=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0);if(!_0x298cbe)return;_0x298cbe[_0x47d5b3(0x127)]();const {area:_0x3dce59,index:_0x4a26df}=_0x298cbe[_0x47d5b3(0x316)](_0x52df22);if(_0x298cbe[_0x47d5b3(0x2cb)](_0x52df22,_0x256b75,_0x52448c),_0x256b75===_0x4cc34c['Value']&&_0x298cbe['getTableFieldById'](_0x52df22)['getSubtotal']()===void 0x0){const _0x441414=_0x298cbe['getTableFieldById'](_0x52df22);if(_0x441414&&_0x441414['getSubtotal']()===void 0x0){const _0x2e7155=_0x298cbe[_0x47d5b3(0xc0)](_0x52df22);if(_0x2e7155){const _0x44c1d9=_0x2e7155==null?void 0x0:_0x2e7155[_0x47d5b3(0x2ea)]();_0x298cbe['setSubtotalType'](_0x52df22,_0x44c1d9===_0x4f8f52[_0x47d5b3(0x12f)]?_0xd80465[_0x47d5b3(0x1ba)]:_0xd80465[_0x47d5b3(0xd1)]);}}}const _0x44af0f=_0x298cbe[_0x47d5b3(0x18e)](),_0x2f124d=_0x298cbe[_0x47d5b3(0x125)](),_0x25c309=_0x298cbe[_0x47d5b3(0xb4)](_0x4cc34c[_0x47d5b3(0x9c)])>0x1;if(_0x25c309&&_0x3dce59===_0x256b75&&(_0x256b75===_0x4cc34c[_0x47d5b3(0x1e1)]&&_0x44af0f===_0x229120[_0x47d5b3(0x1e1)]||_0x256b75===_0x4cc34c['Column']&&_0x44af0f===_0x229120[_0x47d5b3(0x258)])){let _0x2a165b=_0x2f124d;_0x4a26df<=_0x2f124d&&_0x2a165b--,_0x52448c<=_0x2f124d&&_0x2a165b++,_0x298cbe['updateValuePosition'](_0x44af0f,_0x2a165b);}else _0x25c309&&(_0x3dce59===_0x4cc34c['Row']&&_0x44af0f===_0x229120[_0x47d5b3(0x1e1)]||_0x3dce59===_0x4cc34c['Column']&&_0x44af0f===_0x229120[_0x47d5b3(0x258)])&&_0x2f124d>=_0x4a26df&&_0x298cbe[_0x47d5b3(0x2dc)](_0x44af0f,_0x2f124d-0x1),_0x25c309&&(_0x256b75===_0x4cc34c[_0x47d5b3(0x1e1)]&&_0x44af0f===_0x229120['Row']||_0x256b75===_0x4cc34c[_0x47d5b3(0x258)]&&_0x44af0f===_0x229120[_0x47d5b3(0x258)])&&_0x2f124d>=_0x52448c&&_0x298cbe[_0x47d5b3(0x2dc)](_0x44af0f,_0x2f124d+0x1);const _0x54eda7=_0x298cbe[_0x47d5b3(0x274)](),_0x2d3bb8=_0x298cbe[_0x47d5b3(0x22a)](),_0x44c48e=_0x298cbe['endCollectChangeset']();_0x2eb7cd['movePivotField']={'view':_0x54eda7[_0x47d5b3(0x132)](),'changesets':_0x44c48e,'isEmpty':_0x2d3bb8,'pivotTableConfig':_0x22092b};}break;case A[_0x47d5b3(0x301)]:{const _0x2f79fd=_0xbf2241['params'][_0x47d5b3(0x10f)];if(!_0x2f79fd)return;const _0x21a62e=_0x2f79fd[_0x47d5b3(0x1e3)],_0x3bf09d=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x3bf09d)return!0x1;const _0x28d456=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0);if(!_0x28d456)return!0x1;_0x28d456[_0x47d5b3(0x127)]();for(const _0x56941d of _0x21a62e){const {area:_0x395611}=_0x28d456[_0x47d5b3(0x316)](_0x56941d);_0x395611===_0x4cc34c['Value']&&_0x28d456[_0x47d5b3(0xb8)](_0x56941d),(_0x395611===_0x4cc34c[_0x47d5b3(0x1e1)]||_0x395611===_0x4cc34c[_0x47d5b3(0x258)])&&_0x28d456['removeValueFilterInfo'](_0x56941d),_0x28d456[_0x47d5b3(0x198)](_0x56941d);}const _0xdbdb6d=_0x28d456[_0x47d5b3(0x22a)](),_0x46f79b=_0x28d456['query']()[_0x47d5b3(0x132)](),_0x401dc4=_0x28d456[_0x47d5b3(0x19c)]();_0x2eb7cd['removePivotField']={'changesets':_0x401dc4,'pivotTableConfig':_0x3bf09d,'isEmpty':_0xdbdb6d,'view':_0x46f79b};}break;case A[_0x47d5b3(0x28d)]:{const _0x4c9362=_0xbf2241['params']['setPivotFilter'];if(!_0x4c9362)return;const {tableFieldId:_0x11d5fc,items:_0xbec1fa,isAll:_0x346624}=_0x4c9362,_0x42babd=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x220)](_0x2de7a0),_0x503db4=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x42babd||!_0x503db4)return;_0x42babd[_0x47d5b3(0x127)](),_0x42babd[_0x47d5b3(0xba)](_0x11d5fc,{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0xbec1fa,'isAll':_0x346624});const _0x18040a=_0x42babd[_0x47d5b3(0x22a)](),_0x3f734d=_0x42babd['query']()[_0x47d5b3(0x132)](),_0x126217=_0x42babd[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0xe6)]={'view':_0x3f734d,'changesets':_0x126217,'isEmpty':_0x18040a,'pivotTableConfig':_0x503db4};}break;case A[_0x47d5b3(0xc3)]:{const _0x5b3585=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x2d7)];if(!_0x5b3585)return;const {tableFieldId:_0x2165a4,filterInfo:_0x10d083}=_0x5b3585,_0x29cbcb=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x14edd4=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x29cbcb||!_0x14edd4)return;_0x29cbcb[_0x47d5b3(0x127)](),_0x29cbcb[_0x47d5b3(0x23c)](_0x2165a4,_0x10d083);const _0x44f0f7=_0x29cbcb[_0x47d5b3(0x22a)](),_0xce5f45=_0x29cbcb[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x3dfcac=_0x29cbcb[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x2d7)]={'view':_0xce5f45,'changesets':_0x3dfcac,'isEmpty':_0x44f0f7,'pivotTableConfig':_0x14edd4};}break;case A[_0x47d5b3(0x184)]:{const _0x3c0873=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x1bb)];if(!_0x3c0873)return;const {tableFieldId:_0x5ba73f,info:_0x27afa0}=_0x3c0873,_0x2de570=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x5ba86d=this[_0x47d5b3(0x1ce)]['getPivotTableConfig'](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x2de570||!_0x5ba86d)return;_0x2de570[_0x47d5b3(0x127)](),_0x2de570[_0x47d5b3(0x17b)](_0x5ba73f,_0x27afa0);const _0x2c6707=_0x2de570[_0x47d5b3(0x22a)](),_0x21d172=_0x2de570[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x16f2ee=_0x2de570['endCollectChangeset']();_0x2eb7cd[_0x47d5b3(0x1bb)]={'view':_0x21d172,'changesets':_0x16f2ee,'isEmpty':_0x2c6707,'pivotTableConfig':_0x5ba86d};}break;case A['SetPivotSetting']:{const _0x27bc2b=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x1fa)];if(!_0x27bc2b)return;const {tableFieldId:_0x3f0708,displayName:_0x41aa00,subtotalType:_0x3c6a02,format:_0x3fddb8}=_0x27bc2b,_0x5643d8=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x220)](_0x2de7a0),_0x226be1=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x5643d8||!_0x226be1)return;_0x5643d8['startCollectChangeset'](),_0x41aa00!==void 0x0&&_0x5643d8[_0x47d5b3(0x311)](_0x3f0708,_0x41aa00),_0x3c6a02!==void 0x0&&_0x5643d8['setSubtotalType'](_0x3f0708,_0x3c6a02),_0x3fddb8!==void 0x0&&_0x5643d8[_0x47d5b3(0x308)](_0x3f0708,_0x3fddb8);const _0x5c9601=_0x5643d8['isEmpty'](),_0xbe8cf8=_0x5643d8[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x467bcb=_0x5643d8[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x1fa)]={'changesets':_0x467bcb,'pivotTableConfig':_0x226be1,'isEmpty':_0x5c9601,'view':_0xbe8cf8};}break;case A[_0x47d5b3(0x10a)]:{const _0x2465c9=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x2df)];if(!_0x2465c9)return;const {dataRangeInfo:_0x3fe36c,unitId:_0x39ae09,subUnitId:_0xa00002}=_0x2465c9,_0x2a5200=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x39ae09,_0xa00002,_0x2de7a0),_0x2128f3=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2de7a0);if(!this[_0x47d5b3(0x1ce)]['getCollection'](_0x39ae09,_0x2de7a0)||!_0x2128f3||!_0x2a5200)return;const _0x5b4bf5=this[_0x47d5b3(0x1ce)]['getUpdateRangeDeleteIds'](_0x39ae09,_0x2de7a0,_0x3fe36c),_0x462fc3=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x28b)](_0x39ae09,_0x2de7a0)[_0x47d5b3(0x132)](),{collection:_0x1378ec}=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x1c0)]({'unitId':_0x3fe36c[_0x47d5b3(0x167)],'sheetName':_0x3fe36c['sheetName'],'subUnitId':_0x3fe36c[_0x47d5b3(0x20b)],'range':_0x3fe36c['range']}),_0x3d66ad=_0x1378ec[_0x47d5b3(0x132)]();_0x2128f3['startCollectChangeset']();const _0x4af10a=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x23a)](_0x39ae09)[_0x47d5b3(0x318)]()||_0x1f98bb;_0x2128f3['iterateField'](_0x2f8459=>{const _0x18e052=_0x47d5b3,_0x5f37ec=_0x2f8459['getDataFieldId']();if(!_0x1378ec[_0x18e052(0x19b)](_0x5f37ec)){const _0x42b978=_0x1378ec[_0x18e052(0x2d4)](_0x2f8459[_0x18e052(0x267)]());if(_0x42b978){_0x2128f3[_0x18e052(0x136)](_0x2f8459[_0x18e052(0xf5)](),_0x42b978[_0x18e052(0xce)](),_0x42b978['getId']());const {area:_0x46e964}=_0x2128f3[_0x18e052(0x316)](_0x2f8459[_0x18e052(0xf5)]());let _0x9c95fb=_0x2f8459[_0x18e052(0x267)]();const _0x38c6fa=_0x2f8459[_0x18e052(0x16f)]();if(_0x46e964===_0x4cc34c[_0x18e052(0x9c)]){const _0x5d7f77=_0x2f8459[_0x18e052(0x27b)]();_0x9c95fb=_0x4af10a(_0x42b978[_0x18e052(0xce)](),_0x5d7f77);}_0x38c6fa!==_0x9c95fb&&_0x2128f3[_0x18e052(0x311)](_0x2f8459[_0x18e052(0xf5)](),_0x9c95fb);}else _0x2128f3[_0x18e052(0x198)](_0x2f8459[_0x18e052(0xf5)]());}});const _0x372fcd=_0x2128f3[_0x47d5b3(0x22a)](),_0x217a8e=_0x2128f3[_0x47d5b3(0x274)]()['toJSON'](),_0x4db6ea=_0x2128f3['endCollectChangeset']();_0x2eb7cd[_0x47d5b3(0x2df)]={'view':_0x217a8e,'changesets':_0x4db6ea,'isEmpty':_0x372fcd,'pivotTableConfig':_0x2a5200,'collectionConfig':_0x3d66ad,'oldCollectionConfig':_0x462fc3,'deleteIds':_0x5b4bf5};}break;case A[_0x47d5b3(0x1b2)]:{const _0x50af40=_0xbf2241['params'][_0x47d5b3(0x2dc)];if(!_0x50af40)return;const {position:_0xbc8b2c,index:_0x685036}=_0x50af40,_0x5edbdd=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x5edbdd)return!0x1;const _0x4a4cb5=this[_0x47d5b3(0x1ce)]['getPivotTableInstance'](_0x2de7a0);if(!_0x4a4cb5)return!0x1;_0x4a4cb5[_0x47d5b3(0x127)](),_0x4a4cb5[_0x47d5b3(0x2dc)](_0xbc8b2c,_0x685036);const _0x5a51f0=_0x4a4cb5['isEmpty'](),_0x19b193=_0x4a4cb5['query']()[_0x47d5b3(0x132)](),_0xc335cb=_0x4a4cb5['endCollectChangeset']();_0x2eb7cd[_0x47d5b3(0x2dc)]={'changesets':_0xc335cb,'pivotTableConfig':_0x5edbdd,'isEmpty':_0x5a51f0,'view':_0x19b193};}break;case A[_0x47d5b3(0x319)]:{const _0x50f1d5=_0xbf2241[_0x47d5b3(0xa2)]['setPivotCollapse'];if(!_0x50f1d5)return;const {tableFieldId:_0x190c54,collapse:_0x2e172e,item:_0x501025}=_0x50f1d5,_0x1b5cad=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x4e7c6b=this[_0x47d5b3(0x1ce)]['getPivotTableConfig'](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x1b5cad||!_0x4e7c6b)return;_0x1b5cad[_0x47d5b3(0x127)](),_0x1b5cad[_0x47d5b3(0x302)](_0x190c54,_0x2e172e,_0x501025);const _0x98e390=_0x1b5cad[_0x47d5b3(0x22a)](),_0x573ecb=_0x1b5cad[_0x47d5b3(0x274)]()['toJSON'](),_0x2a6c0b=_0x1b5cad[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x321)]={'view':_0x573ecb,'isEmpty':_0x98e390,'pivotTableConfig':_0x4e7c6b,'changesets':_0x2a6c0b};}break;case A[_0x47d5b3(0xef)]:{const _0x4f989b=_0xbf2241[_0x47d5b3(0xa2)]['setPivotTableConfig'];if(!_0x4f989b)return;const {pivotTableConfig:_0x166764}=_0x4f989b,_0x5a3030=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x4bb72a=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x5a3030||!_0x4bb72a)return;_0x5a3030[_0x47d5b3(0x127)](),$i(_0x5a3030,_0x166764);const _0xf6f2b0=_0x5a3030[_0x47d5b3(0x22a)](),_0x5bb61e=_0x5a3030[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x4e2423=_0x5a3030[_0x47d5b3(0x19c)]();_0x2eb7cd['setPivotTableConfig']={'view':_0x5bb61e,'isEmpty':_0xf6f2b0,'pivotTableConfig':{..._0x4bb72a,'fieldsConfig':_0x5a3030['toJSON']()},'changesets':_0x4e2423};}break;case A[_0x47d5b3(0x306)]:{const _0x26a5bc=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x1e7)];if(!_0x26a5bc)return;const _0x37ac99=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x5c7edf=this[_0x47d5b3(0x1ce)]['getPivotTableConfig'](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x37ac99||!_0x5c7edf)return;_0x37ac99[_0x47d5b3(0x127)](),zi(_0x37ac99,_0x26a5bc[_0x47d5b3(0x25f)]);const _0x4ece8b=_0x37ac99[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x10575e=_0x37ac99[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x1e7)]={'view':_0x4ece8b,'isEmpty':!0x0,'pivotTableConfig':{..._0x5c7edf,'fieldsConfig':_0x37ac99[_0x47d5b3(0x132)]()},'changesets':_0x10575e};}break;case A[_0x47d5b3(0x208)]:{const _0x2c06a1=_0xbf2241['params'][_0x47d5b3(0x11f)];if(!_0x2c06a1)return;const _0xd37a56=_0x2c06a1[_0x47d5b3(0xdb)],_0x143206=_0x2c06a1[_0x47d5b3(0x2fb)],{collection:_0x436661}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0xd37a56[_0x47d5b3(0x167)],'sheetName':_0xd37a56[_0x47d5b3(0x128)],'subUnitId':_0xd37a56[_0x47d5b3(0x20b)],'range':_0xd37a56['range']}),_0x265422=new _0x16e808(_0x436661,void 0x0,_0x143206),_0x34a0e1=_0x436661[_0x47d5b3(0x2eb)](),{rows:_0x3e6a75,columns:_0x3ef824,filters:_0x1a59df,values:_0x45f5f0}=_0x2c06a1[_0x47d5b3(0x155)];_0x265422['startCollectChangeset']();for(const {field:_0xabd9a3,selectedItems:_0x50fdae}of _0x3e6a75||[]){const _0x118612=_0x34a0e1[_0xabd9a3];if(_0x118612){const _0x2d79d2=_0x265422[_0x47d5b3(0x171)](_0x118612,_0x4cc34c[_0x47d5b3(0x1e1)]);_0x50fdae&&_0x2d79d2&&_0x265422[_0x47d5b3(0xba)](_0x2d79d2[_0x47d5b3(0xf5)](),{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0x50fdae,'isAll':!0x1});}}for(const {field:_0x2d5d37,selectedItems:_0x4cb69a}of _0x3ef824||[]){const _0x424ab2=_0x34a0e1[_0x2d5d37];if(_0x424ab2){const _0x21af12=_0x265422['addFieldWithSourceId'](_0x424ab2,_0x4cc34c[_0x47d5b3(0x258)]);_0x4cb69a&&_0x21af12&&_0x265422['setLabelFilterInfo'](_0x21af12[_0x47d5b3(0xf5)](),{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0x4cb69a,'isAll':!0x1});}}for(const {field:_0x49b3b6,selectedItems:_0x1ef9d2}of _0x1a59df||[]){const _0x41f6f5=_0x34a0e1[_0x49b3b6];if(_0x41f6f5){const _0xa32b0f=_0x265422['addFieldWithSourceId'](_0x41f6f5,_0x4cc34c[_0x47d5b3(0x1aa)]);_0x1ef9d2&&_0xa32b0f&&_0x265422[_0x47d5b3(0xba)](_0xa32b0f[_0x47d5b3(0xf5)](),{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0x1ef9d2,'isAll':!0x1});}}for(const {field:_0x45987b,subTotalType:_0x1a8b1c,formatString:_0x4f1d2b}of _0x45f5f0||[]){const _0xfb83e3=_0x436661[_0x47d5b3(0xe0)](_0x34a0e1[_0x45987b]);if(!_0xfb83e3)continue;const _0xf64bda=_0x34a0e1[_0x45987b];if(_0xf64bda){const _0x488d7b=_0x265422[_0x47d5b3(0x171)](_0xf64bda,_0x4cc34c[_0x47d5b3(0x9c)]);if(_0x488d7b){if(_0x1a8b1c!==void 0x0){_0x265422[_0x47d5b3(0x231)](_0x488d7b['getId'](),_0x1a8b1c);const _0x1504a1=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x23a)](_0xd37a56[_0x47d5b3(0x167)])[_0x47d5b3(0x318)]()||_0x1f98bb,_0x151897=_0x436661[_0x47d5b3(0x16f)](_0xf64bda),_0x44c193=_0x1504a1(_0x151897,_0x1a8b1c);_0x265422[_0x47d5b3(0x311)](_0x488d7b['getId'](),_0x44c193);}else{if(_0xfb83e3){const _0x54048c=_0xfb83e3==null?void 0x0:_0xfb83e3[_0x47d5b3(0x2ea)]();_0x265422[_0x47d5b3(0x231)](_0x488d7b['getId'](),_0x54048c===_0x4f8f52[_0x47d5b3(0x12f)]?_0xd80465[_0x47d5b3(0x1ba)]:_0xd80465[_0x47d5b3(0xd1)]);}}_0x4f1d2b&&_0x265422[_0x47d5b3(0x308)](_0x488d7b[_0x47d5b3(0xf5)](),_0x4f1d2b);}}}const _0x35bd79=_0x265422[_0x47d5b3(0x274)](),_0x4a9620=_0x265422[_0x47d5b3(0x132)](),_0x408762=_0x265422[_0x47d5b3(0x22a)](),_0x410988=_0x265422[_0x47d5b3(0x19c)](),_0x3aa7c4=_0x436661['toJSON']();_0x2eb7cd[_0x47d5b3(0x11f)]={'view':_0x35bd79,'fieldsConfig':_0x4a9620,'collectionConfig':_0x3aa7c4,'isEmpty':_0x408762,'changesets':_0x410988};}break;case A[_0x47d5b3(0x12d)]:{const _0x47a2bd=Bi(this[_0x47d5b3(0x312)],_0xbf2241);if(!_0x47a2bd)return;const {range:_0x400bea,sourceSubUnitId:_0x644407,sourceUnitId:_0x592bd0,formatMap:_0x4520ea,indexes:_0x4c69c4}=_0x47a2bd;_0x2eb7cd[_0x47d5b3(0x320)]={'range':_0x400bea,'sourceSubUnitId':_0x644407,'sourceUnitId':_0x592bd0,'formatMap':_0x4520ea,'indexes':_0x4c69c4};}break;}this[_0x47d5b3(0x25d)][_0x47d5b3(0x2e1)](lo['id'],{'version':_0xbf2241[_0x47d5b3(0x2ee)],'result':_0x2eb7cd},{'onlyLocal':!0x0});}));}[_0x1675c1(0x2af)](){const _0x43676d=_0x1675c1;this[_0x43676d(0x1ea)](this[_0x43676d(0x25d)][_0x43676d(0x170)](_0x3422f4=>{const _0x3e8243=_0x43676d;if(_0x3422f4['id']!==uo['id'])return;const _0x35fde8=_0x3422f4[_0x3e8243(0xa2)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x35fde8[_0x3e8243(0x1c4)]),!0x0;}));}['_subjectCollectionChange'](){const _0x5ee800=_0x1675c1;this['_sheetsPivotDataSourceModel'][_0x5ee800(0x19a)]['subscribe'](_0x32c9a5=>{const _0x121bbc=_0x5ee800;switch(_0x32c9a5[_0x121bbc(0x168)]){case ke['add']:_0x32c9a5[_0x121bbc(0x280)]&&_0x32c9a5['targetCellInfo']&&this[_0x121bbc(0x222)](_0x32c9a5[_0x121bbc(0x26f)],_0x32c9a5['dataRangeInfo'],_0x32c9a5[_0x121bbc(0xb1)]);break;case ke[_0x121bbc(0x30d)]:{const {unitId:_0x3f7835,subUnitId:_0x2e96d8,token:_0x480195}=_0x32c9a5;_0x3f7835&&_0x2e96d8&&_0x480195&&this[_0x121bbc(0x104)](_0x3f7835,_0x2e96d8,_0x480195);}break;case ke['update']:{const {token:_0x13f096,oldSourceRangeInfo:_0x12811d,dataRangeInfo:_0x53d0dc,targetCellInfo:_0x33fd7f}=_0x32c9a5,{unitId:_0x580e7c,subUnitId:_0x3dd4bc}=_0x12811d||{};_0x580e7c&&_0x3dd4bc&&_0x13f096&&this[_0x121bbc(0x104)](_0x580e7c,_0x3dd4bc,_0x13f096),_0x53d0dc&&_0x33fd7f&&this[_0x121bbc(0x222)](_0x13f096,_0x53d0dc,_0x33fd7f);}break;}});}[_0x1675c1(0x2e4)](){const _0x4079a3=_0x1675c1;this[_0x4079a3(0x1ce)][_0x4079a3(0x16c)]['subscribe'](_0x35025f=>{const _0xdc1199=_0x4079a3;Object[_0xdc1199(0x121)](_0x35025f)[_0xdc1199(0x2ef)](_0x38408c=>{const _0xe4eb31=_0xdc1199,_0x2ad95f=this[_0xe4eb31(0x1ce)][_0xe4eb31(0x209)](_0x38408c);if(_0x2ad95f){const _0x711a67=this[_0xe4eb31(0x1ce)][_0xe4eb31(0x14e)](_0x2ad95f==null?void 0x0:_0x2ad95f[_0xe4eb31(0x167)],_0x2ad95f==null?void 0x0:_0x2ad95f[_0xe4eb31(0x20b)],_0x38408c);_0x711a67&&(this[_0xe4eb31(0x222)](_0x38408c,_0x711a67[_0xe4eb31(0xdb)],_0x711a67[_0xe4eb31(0xb1)]),this[_0xe4eb31(0x131)]([{'unitId':_0x2ad95f[_0xe4eb31(0x167)],'subUnitId':_0x2ad95f['subUnitId'],'token':_0x38408c}]));}});});}[_0x1675c1(0xd5)](){const _0x399389=_0x1675c1;this[_0x399389(0x1ce)][_0x399389(0x212)][_0x399389(0x1b1)](_0x32deec=>{const _0x1e6394=_0x399389,{unitId:_0x30c719,subUnitId:_0x3f6b9e,pivotTableId:_0x59ad74}=_0x32deec;_0x30c719&&_0x3f6b9e&&_0x59ad74&&this[_0x1e6394(0x131)]([{'unitId':_0x30c719,'subUnitId':_0x3f6b9e,'token':_0x59ad74}]);});}['triggerDirtyFeature'](_0x2b884b){const _0x39f97e=_0x1675c1,_0x5bb6de={};_0x2b884b[_0x39f97e(0x2ef)](_0x5d12dc=>{var _0x20d533,_0x1c3894;const {unitId:_0x563709,subUnitId:_0x5e5ca2,token:_0x342bcd}=_0x5d12dc;_0x5bb6de[_0x563709]=(_0x20d533=_0x5bb6de[_0x563709])!=null?_0x20d533:{},_0x5bb6de[_0x563709][_0x5e5ca2]=(_0x1c3894=_0x5bb6de[_0x563709][_0x5e5ca2])!=null?_0x1c3894:{},_0x5bb6de[_0x563709][_0x5e5ca2][_0x342bcd]=!0x0;}),this[_0x39f97e(0x25d)][_0x39f97e(0x2e1)](Et['id'],_0x5bb6de);}['removeSourceRangeChange'](_0x165b01,_0x314c95,_0x374290){const _0x43fcfe=_0x1675c1;this[_0x43fcfe(0x1d5)][_0x43fcfe(0x16a)](_0x165b01,_0x314c95,[_0x374290]);}['handleSourceRangeChange'](_0x20e2e1,_0xa96826,_0xf02a01){const _0x115405=_0x1675c1,{unitId:_0x3a1255,subUnitId:_0x5703ea}=_0xa96826;this['_featureCalculationManagerService'][_0x115405(0x1b4)](_0xf02a01[_0x115405(0x167)],_0xf02a01[_0x115405(0x20b)],_0x20e2e1)&&this[_0x115405(0x104)](_0x3a1255,_0x5703ea,_0x20e2e1);const _0x5392c6={'sheetId':_0x5703ea,..._0xa96826};this[_0x115405(0x1d5)][_0x115405(0x19d)](_0xf02a01[_0x115405(0x167)],_0xf02a01[_0x115405(0x20b)],_0x20e2e1,{'unitId':_0xf02a01[_0x115405(0x167)],'subUnitId':_0xf02a01[_0x115405(0x20b)],'dependencyRanges':[_0x5392c6],'getDirtyData':(_0x70b44c,_0x52e190)=>{const _0x45653a=_0x115405,_0x530d67=this[_0x45653a(0x1ce)],_0x18a3c6=_0x530d67[_0x45653a(0x209)](_0x20e2e1);if(!_0x18a3c6)return Us();const {unitId:_0x3bb4bd,subUnitId:_0x4e9bbc}=_0x18a3c6,_0x12e327=Os(_0x70b44c,_0x52e190,_0xa96826);if(_0x12e327['length']>0x0){const _0x5c7731=_0x530d67[_0x45653a(0x28b)](_0x3a1255,_0x20e2e1),_0x3ae261=_0x5c7731[_0x45653a(0x2eb)](),_0x58e361=this['getMatrixFromRunTimeData'](_0xa96826[_0x45653a(0x167)],_0xa96826[_0x45653a(0x20b)],_0x52e190),_0x42f962={},_0x3176d0=this['_sheetsPivotDataSourceModel'][_0x45653a(0x23a)](_0x3bb4bd)['getAutoDisplayNameFunction']()||_0x1f98bb,_0x45080b=[];for(const _0x3c5be7 of _0x12e327){const _0xee9cc5=_0x3c5be7-(_0xa96826['range']['startColumn']||0x0),_0x541162=_0x3ae261[_0xee9cc5];_0x45080b[_0x45653a(0x1a3)](_0x541162),_0x42f962[_0x541162]=_0x5c7731[_0x45653a(0xe0)](_0x541162)[_0x45653a(0xce)](),_0x530d67[_0x45653a(0x23a)](_0x3a1255)['refreshDataField'](_0x541162,_0xa96826,_0xee9cc5,_0x58e361);}_0x5c7731[_0x45653a(0xf0)](_0x45080b)[_0x45653a(0x2ef)](_0x35d235=>{const _0x4bcdb4=_0x45653a,[_0x3a2b39,_0x3f0b4c]=_0x35d235,_0x27ed1e=_0x5c7731[_0x4bcdb4(0xe0)](_0x3a2b39),_0x16f53a=_0x5c7731[_0x4bcdb4(0xe0)](_0x3f0b4c);_0x27ed1e&&_0x16f53a&&_0x27ed1e[_0x4bcdb4(0x243)](_0x16f53a);}),_0x5c7731['updateAllDisplayName']();const _0x5e0202=_0x530d67[_0x45653a(0x220)](_0x20e2e1);if(_0x5e0202){Vs(_0x5e0202,_0x42f962,_0x3176d0),_0x5e0202[_0x45653a(0x10b)](!0x0);const _0x44fbf3=_0x5e0202[_0x45653a(0x274)](),_0xe70033=_0x530d67[_0x45653a(0x14e)](_0x3bb4bd,_0x4e9bbc,_0x20e2e1),_0x12bcb3=_0x530d67[_0x45653a(0x23a)](_0x3a1255)[_0x45653a(0x132)]();_0x530d67[_0x45653a(0x174)](_0x3bb4bd,_0x4e9bbc,L['Set'],_0x20e2e1,_0x44fbf3,_0xe70033,_0x12bcb3,!0x0);}}return this[_0x45653a(0x15c)](_0x3bb4bd,_0x4e9bbc,_0x20e2e1);}});}[_0x1675c1(0x2d2)](_0x3b8782,_0x435656,_0x55d01b){var _0x5aa2ae,_0x40c80e;const {arrayFormulaCellData:_0x590ad4,unitData:_0x1f32c2}=_0x55d01b,_0x2d8df2=(_0x5aa2ae=_0x590ad4==null?void 0x0:_0x590ad4[_0x3b8782])==null?void 0x0:_0x5aa2ae[_0x435656],_0x4f8ca4=(_0x40c80e=_0x1f32c2==null?void 0x0:_0x1f32c2[_0x3b8782])==null?void 0x0:_0x40c80e[_0x435656];return{'arrayFormulaCellDataMatrix':_0x2d8df2,'unitDataMatrix':_0x4f8ca4};}[_0x1675c1(0x15c)](_0x42c90e,_0x3095a1,_0xdb2f67){const _0x497fd0=_0x1675c1,_0xad5729=this[_0x497fd0(0x1ce)]['getViewData'](_0x42c90e,_0x3095a1,_0xdb2f67),_0x4c8819=[],_0x656a2d=new _0x1d8f59();if(_0xad5729){const {rangeCache:_0x4a5a3f,matrix:_0x8b4735,oldRangeCache:_0x174493,oldMatrix:_0x1856dd}=_0xad5729,_0x498083=Lt(_0x174493),_0x517dfc=Lt(_0x4a5a3f);_0x4c8819[_0x497fd0(0x1a3)](..._0x517dfc,..._0x498083),_0x1856dd&&_0x174493&&_0x498083[_0x497fd0(0x2ef)](_0x2ba3e3=>{const _0x1885ec=_0x497fd0;for(let _0x5874de=_0x2ba3e3[_0x1885ec(0x21c)];_0x5874de<=_0x2ba3e3[_0x1885ec(0x138)];_0x5874de++)for(let _0x59443f=_0x2ba3e3[_0x1885ec(0x16d)];_0x59443f<=_0x2ba3e3['endColumn'];_0x59443f++)_0x656a2d[_0x1885ec(0x152)](_0x5874de,_0x59443f);}),_0x8b4735&&_0x517dfc&&_0x517dfc[_0x497fd0(0x2ef)](_0x3a261a=>{const _0x5619ba=_0x497fd0;for(let _0x263add=_0x3a261a[_0x5619ba(0x21c)];_0x263add<=_0x3a261a[_0x5619ba(0x138)];_0x263add++)for(let _0x2c1ea3=_0x3a261a[_0x5619ba(0x16d)];_0x2c1ea3<=_0x3a261a[_0x5619ba(0xa1)];_0x2c1ea3++)_0x656a2d[_0x5619ba(0x2d0)](_0x263add,_0x2c1ea3,_0x8b4735['getValue'](_0x263add,_0x2c1ea3));});}const _0x117663={};return _0x117663[_0x42c90e]={[_0x3095a1]:xs(_0x4c8819)},{'runtimeCellData':{[_0x42c90e]:{[_0x3095a1]:_0x656a2d}},'dirtyRanges':_0x117663};}[_0x1675c1(0x239)](){}};ct=Es([Ke(0x0,_0x2fd05e(G)),Ke(0x1,_0xe8dcbb),Ke(0x2,_0x2fd05e(_0x486bfd)),Ke(0x3,_0x2fd05e(_0x3408cd)),Ke(0x4,_0x2fd05e(_0x2b17f8)),Ke(0x5,_0x2fd05e(_0x854c25))],ct);var Bs=Object[_0x1675c1(0xd3)],As=(_0x334d10,_0x2f00aa,_0x48254b,_0x6f452e)=>{const _0x465eae=_0x1675c1;for(var _0x10e0b4=_0x6f452e>0x1?void 0x0:_0x6f452e?Bs(_0x2f00aa,_0x48254b):_0x2f00aa,_0x3acf09=_0x334d10[_0x465eae(0xff)]-0x1,_0x5c65b1;_0x3acf09>=0x0;_0x3acf09--)(_0x5c65b1=_0x334d10[_0x3acf09])&&(_0x10e0b4=_0x5c65b1(_0x10e0b4)||_0x10e0b4);return _0x10e0b4;},_t=(_0x54ad39,_0xef0861)=>(_0x4c8854,_0x557442)=>_0xef0861(_0x4c8854,_0x557442,_0x54ad39);let dt=class extends _0x5334b7{constructor(_0x42a0ba,_0x5b8f51,_0x3e7e33,_0x128162){const _0x2c72f9=_0x1675c1;super(),U(this,_0x2c72f9(0xc6),new _0x2baf83()),(this[_0x2c72f9(0x27f)]=_0x42a0ba,this[_0x2c72f9(0x299)]=_0x5b8f51,this[_0x2c72f9(0x1e9)]=_0x3e7e33,this[_0x2c72f9(0x2d1)]=_0x128162,this['_initClearSelectionCommandInterceptor']());}[_0x1675c1(0x265)](){const _0x53acfd=_0x1675c1;this[_0x53acfd(0x1ea)](this['_sheetInterceptorService'][_0x53acfd(0x1d8)]({'getMutations':_0x1f44ae=>{const _0x1af1dd=_0x53acfd;if(_0x1f44ae['id']===_0x66bb4e['id']||_0x1f44ae['id']===_0x267fed['id']){const _0x17b4a8=[],_0x5be48b=[],_0x3e2f4d=this[_0x1af1dd(0x1e9)][_0x1af1dd(0x21e)]()['map'](_0x5d3dd2=>_0x5d3dd2[_0x1af1dd(0x27c)]),_0x18d4bd=_0x2075c9(this[_0x1af1dd(0x27f)]);if(!_0x18d4bd)return{'redos':[],'undos':[]};const {unitId:_0x61ecdf,subUnitId:_0xce1d2}=_0x18d4bd,_0x554eff={},_0x1f49b6=this[_0x1af1dd(0x2d1)]['getSubUnitPivotConfigs'](_0x61ecdf,_0xce1d2);if(_0x1f49b6!=null&&_0x1f49b6[_0x1af1dd(0xb5)])for(const [_0x287ec7,_0x35a456]of _0x1f49b6){const {unitId:_0x5c72c9,subUnitId:_0x9d7574,row:_0x19c31f,col:_0x526ece}=_0x35a456[_0x1af1dd(0xb1)];_0x5c72c9===_0x18d4bd[_0x1af1dd(0x167)]&&_0x9d7574===_0x18d4bd['subUnitId']&&(_0x554eff[_0x19c31f+'-'+_0x526ece]=_0x287ec7);}return _0x3e2f4d&&_0x18d4bd&&_0x3e2f4d[_0x1af1dd(0x2ef)](_0x58a83d=>{const _0x55ef6b=_0x1af1dd;_0x3ae671[_0x55ef6b(0x262)](_0x58a83d,(_0x559549,_0x566acd)=>{const _0xd96192=_0x55ef6b,_0x22d35c=_0x559549+'-'+_0x566acd;if(_0x554eff[_0x22d35c]){const _0xcb1ffc=_0x554eff[_0x22d35c];_0x17b4a8[_0xd96192(0x1a3)]({'id':Ot['id'],'params':{'unitId':_0x61ecdf,'subUnitId':_0xce1d2,'pivotTableId':_0xcb1ffc}});const _0x6d1bf4=this[_0xd96192(0x2d1)][_0xd96192(0x28b)](_0x61ecdf,_0xcb1ffc),_0x21f2ce=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x61ecdf,_0xce1d2,_0xcb1ffc);_0x5be48b[_0xd96192(0x1a3)]({'id':Ct['id'],'params':{'unitId':_0x61ecdf,'subUnitId':_0xce1d2,'pivotTableId':_0xcb1ffc,'pivotTableConfig':_0x21f2ce,'collectionConfig':_0x6d1bf4}});}});}),{'redos':_0x17b4a8,'undos':_0x5be48b};}return{'redos':[],'undos':[]};}}));}};dt=As([_t(0x0,_0x146954),_t(0x1,_0x2fd05e(_0x5ed9f4)),_t(0x2,_0x2fd05e(_0x434854)),_t(0x3,_0x2fd05e(ve))],dt);var Ws=Object[_0x1675c1(0xd3)],ks=(_0x2bff0f,_0x313303,_0x3b82ad,_0x1407bb)=>{const _0x2a058d=_0x1675c1;for(var _0x1d072c=_0x1407bb>0x1?void 0x0:_0x1407bb?Ws(_0x313303,_0x3b82ad):_0x313303,_0x4e819c=_0x2bff0f[_0x2a058d(0xff)]-0x1,_0x435063;_0x4e819c>=0x0;_0x4e819c--)(_0x435063=_0x2bff0f[_0x4e819c])&&(_0x1d072c=_0x435063(_0x1d072c)||_0x1d072c);return _0x1d072c;},He=(_0x53b8be,_0x5bda39)=>(_0x4d837f,_0xb7111b)=>_0x5bda39(_0x4d837f,_0xb7111b,_0x53b8be);let ut=class extends _0x5334b7{constructor(_0x8f11b,_0xeb1319,_0x21794e,_0x16b4be,_0xf3ea94,_0x3117cd){const _0x246c9f=_0x1675c1;super(),this[_0x246c9f(0xcf)]=_0x8f11b,this[_0x246c9f(0x299)]=_0xeb1319,this['_injector']=_0x21794e,this[_0x246c9f(0x27f)]=_0x16b4be,this[_0x246c9f(0x2d1)]=_0xf3ea94,this[_0x246c9f(0x172)]=_0x3117cd,this[_0x246c9f(0x228)]();}['_getPivotAppliedRanges'](_0x11bd8e,_0x1b103f,_0x17a805){const _0x5451e6=_0x1675c1,{pageView:_0x24d4c4,cornerView:_0x3857f3,rowView:_0x3787c1,colView:_0xa9c022,dataView:_0x30bc8d}=_0x1b103f,_0x3d5952=_0x11bd8e;let _0x27cd43;if(_0x17a805)_0x27cd43=[...Ai(_0x3d5952)];else{const _0x1a6219=ge(_0x3d5952,_0x24d4c4,!0x0),_0x3e2bda=_0x24d4c4[_0x5451e6(0x2b5)]>=0x0?_0x24d4c4[_0x5451e6(0x2b5)]+0x1:0x0,_0x27d4fe=_0x3857f3['rowCount'],_0x4d3a2c=_0x3857f3['colCount'],_0x3f9d64=_0x1a6219['length']>0x0?It:0x0,_0x350156=ge({'row':_0x3d5952[_0x5451e6(0xcd)]+_0x3e2bda+_0x3f9d64,'col':_0x3d5952[_0x5451e6(0x1d6)]},_0x3857f3,!0x1,!0x1),_0x1a21a3=ge({'row':_0x3d5952[_0x5451e6(0xcd)]+_0x3e2bda+_0x3f9d64+_0x27d4fe,'col':_0x3d5952['col']},_0x3787c1,!0x1,!0x0),_0x57d865=ge({'row':_0x3d5952['row']+_0x3e2bda+_0x3f9d64,'col':_0x3d5952[_0x5451e6(0x1d6)]+_0x4d3a2c},_0xa9c022,!0x1,!0x0),_0x1125d4=ge({'row':_0x3d5952[_0x5451e6(0xcd)]+_0x3e2bda+_0x3f9d64+_0x27d4fe,'col':_0x3d5952['col']+_0x4d3a2c},_0x30bc8d,!0x1,!0x0);_0x27cd43=[..._0x1a6219,..._0x350156,..._0x1a21a3,..._0x57d865,..._0x1125d4];}return _0x27cd43;}[_0x1675c1(0x228)](){const _0x448cb7=_0x1675c1;this[_0x448cb7(0x1ea)](this[_0x448cb7(0x172)][_0x448cb7(0xa5)][_0x448cb7(0x2ac)](this[_0x448cb7(0x172)][_0x448cb7(0xa5)][_0x448cb7(0x1f5)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x263f11,_0x4f9267)=>{const _0x4e843e=_0x448cb7,{cellInfo:_0x50061e,view:_0x3089b1,isEmpty:_0x2e233b}=_0x4f9267,_0x465563=_0x50061e,{unitId:_0x2630ec,subUnitId:_0x1c8476}=_0x465563,_0x545dac=this[_0x4e843e(0x103)](_0x50061e,_0x3089b1,_0x2e233b),_0x30bf2b=this[_0x4e843e(0x299)][_0x4e843e(0xb3)]({'unitId':_0x2630ec,'subUnitId':_0x1c8476,'ranges':_0x545dac}),_0x4bbbcb=Ko(this['_injector'],_0x2630ec,_0x1c8476,_0x545dac);_0x4bbbcb['shouldClear']&&(_0x30bf2b[_0x4e843e(0x1b3)]['push'](_0x4bbbcb[_0x4e843e(0x241)]),_0x30bf2b['undos'][_0x4e843e(0x1a3)](_0x4bbbcb['setRangeValueUndoMutation']));const _0x80427a=this['getAutoFitColumnsMutations'](_0x3089b1,_0x50061e);return _0x30bf2b[_0x4e843e(0x1b3)][_0x4e843e(0x1a3)](..._0x80427a[_0x4e843e(0x1b3)]),_0x30bf2b[_0x4e843e(0x1e2)][_0x4e843e(0x1a3)](..._0x80427a['undos']),{'redos':_0x30bf2b['redos'],'undos':_0x30bf2b[_0x4e843e(0x1e2)]};}}));}[_0x1675c1(0x221)](_0x2cfe28,_0x2bfbb5){const _0x507cdb=_0x1675c1,{col:_0x4f3187,unitId:_0x12271e,subUnitId:_0x3060f8}=_0x2bfbb5,_0x2e5df0=[],_0x1e0c00=[],_0x350cf8=_0x2075c9(this[_0x507cdb(0x27f)],{'unitId':_0x12271e,'subUnitId':_0x3060f8});if(!_0x2bfbb5||!_0x2cfe28||!_0x350cf8)return{'undos':_0x1e0c00,'redos':_0x2e5df0};const _0xad9e4f=this[_0x507cdb(0x2d1)][_0x507cdb(0x165)](),{colView:_0x1e8bda,dataView:_0x4d9bc2,cornerView:_0x1ce014,rowView:_0x4a19f0,formatMap:_0x52d349}=_0x2cfe28,_0x3b3203=To(_0x1e8bda,_0xad9e4f,!0x0,_0x52d349),_0x4b928c=To(_0x4a19f0,_0xad9e4f,!0x1,_0x52d349),_0x5519e1=Li(_0x4d9bc2),_0x11ab02=Gi(_0x1ce014),{worksheet:_0x50c2b7}=_0x350cf8;if(typeof window<'u'&&window[_0x507cdb(0x313)]){const _0x15697f=_0x2c4332({...fe[_0x507cdb(0x2e8)]}),_0x42e9c2=_0x53eb93[_0x507cdb(0x31b)](_0x3b3203,_0x15697f)[_0x507cdb(0xfd)]+0x10,_0xab1401=_0x53eb93[_0x507cdb(0x31b)](_0x5519e1,_0x15697f)[_0x507cdb(0xfd)],_0x3ed44d=Math['floor'](Math['max'](_0x42e9c2,_0xab1401))+0x10,_0x44f3b1=Math['floor'](_0x53eb93[_0x507cdb(0x31b)](_0x4b928c,_0x15697f)[_0x507cdb(0xfd)]),_0x15f98c=Math[_0x507cdb(0x255)](_0x53eb93[_0x507cdb(0x31b)](_0x11ab02,_0x15697f)[_0x507cdb(0xfd)]),_0x424903=Math[_0x507cdb(0x224)](_0x44f3b1,_0x15f98c,0x28)+0xc,_0x22759a=_0x1e8bda[_0x507cdb(0x285)]+_0x1ce014[_0x507cdb(0x285)],_0x22738c={},_0x488fba={};for(let _0xdc4886=_0x4f3187;_0xdc4886<_0x4f3187+_0x22759a;_0xdc4886++){const _0x36600d=_0x50c2b7[_0x507cdb(0x102)](_0xdc4886);_0x22738c[_0xdc4886]=_0x36600d,_0xdc4886-_0x4f3187<_0x1ce014[_0x507cdb(0x285)]?_0x488fba[_0xdc4886-_0x4f3187]=_0x424903:_0x488fba[_0xdc4886-_0x4f3187]=_0x3ed44d;}_0x2e5df0[_0x507cdb(0x1a3)]({'id':_0x532405['id'],'params':{'subUnitId':_0x3060f8,'unitId':_0x12271e,'ranges':[{'startColumn':_0x4f3187,'endColumn':_0x4f3187+_0x22759a-0x1,'startRow':0x0,'endRow':_0x50c2b7[_0x507cdb(0x113)]()-0x1}],'colWidth':_0x488fba}}),_0x1e0c00[_0x507cdb(0x1a3)]({'id':_0x532405['id'],'params':{'subUnitId':_0x3060f8,'unitId':_0x12271e,'ranges':[{'startColumn':_0x4f3187,'endColumn':_0x4f3187+_0x22759a-0x1,'startRow':0x0,'endRow':_0x50c2b7['getRowCount']()-0x1}],'colWidth':_0x22738c}});}return{'undos':_0x1e0c00,'redos':_0x2e5df0};}};ut=ks([He(0x0,_0x2fd05e(_0x7abaf8)),He(0x1,_0x2fd05e(_0x5ed9f4)),He(0x2,_0x2fd05e(_0x854c25)),He(0x3,_0x2fd05e(_0x146954)),He(0x4,_0x2fd05e(ve)),He(0x5,_0x2fd05e(ie))],ut);var Ls=Object[_0x1675c1(0xd3)],Gs=(_0x4c36f2,_0xc79a4b,_0x1354bd,_0xc972c6)=>{const _0x4516c1=_0x1675c1;for(var _0x30f022=_0xc972c6>0x1?void 0x0:_0xc972c6?Ls(_0xc79a4b,_0x1354bd):_0xc79a4b,_0x57fda3=_0x4c36f2[_0x4516c1(0xff)]-0x1,_0x519be4;_0x57fda3>=0x0;_0x57fda3--)(_0x519be4=_0x4c36f2[_0x57fda3])&&(_0x30f022=_0x519be4(_0x30f022)||_0x30f022);return _0x30f022;},Ae=(_0x4d0fed,_0x3f0f85)=>(_0x24c00f,_0x18153f)=>_0x3f0f85(_0x24c00f,_0x18153f,_0x4d0fed);let ft=class extends _0x5334b7{constructor(_0x526c63,_0x3296ef,_0x17eb04,_0x153671,_0x45d453,_0x3b0a74,_0x13d2bc){const _0x2e7314=_0x1675c1;super(),U(this,_0x2e7314(0xc6),new _0x2baf83()),(this[_0x2e7314(0x312)]=_0x526c63,this[_0x2e7314(0x226)]=_0x3296ef,this[_0x2e7314(0x25d)]=_0x17eb04,this[_0x2e7314(0x27f)]=_0x153671,this[_0x2e7314(0x2d1)]=_0x45d453,this[_0x2e7314(0x140)]=_0x3b0a74,this['_sheetInterceptorService']=_0x13d2bc,this['_onRefRangeChange']());}[_0x1675c1(0x185)](){const _0x123944=_0x1675c1,_0x11585d=(_0x3a079d,_0x386059)=>{const _0x52b752=_0x2dae,_0x3abee1=this[_0x52b752(0x27f)][_0x52b752(0x20c)](_0x34c5bf[_0x52b752(0x1f3)]);if(!_0x3abee1||!(_0x3abee1==null?void 0x0:_0x3abee1['getSheetBySheetId'](_0x386059)))return;this[_0x52b752(0xc6)][_0x52b752(0x239)]();const _0xe2b283=_0x50cbd4=>this[_0x52b752(0x2fe)](_0x50cbd4,_0x3a079d,_0x386059),_0x5bd13b=this[_0x52b752(0x2d1)][_0x52b752(0x106)](_0x3a079d,_0x386059);if(!(_0x5bd13b!=null&&_0x5bd13b[_0x52b752(0xb5)]))return;Array[_0x52b752(0x2f9)](_0x5bd13b[_0x52b752(0x13a)]())[_0x52b752(0x11d)](_0xc21e38=>{const _0x41efd0=_0x52b752,{row:_0x46e29a,col:_0x21b9dc}=_0xc21e38[_0x41efd0(0xb1)];return _0x34e162(_0x46e29a,_0x21b9dc);})['forEach'](_0xd5cebb=>{const _0x355eaa=_0x52b752;this['disposableCollection'][_0x355eaa(0x1a7)](this['_refRangeService'][_0x355eaa(0x1bd)](_0xd5cebb,_0xe2b283,_0x3a079d,_0x386059));});},_0x8e2a13=()=>{const _0x56cbe5=_0x2dae,_0x1e8863=this[_0x56cbe5(0x27f)][_0x56cbe5(0x20c)](_0x34c5bf[_0x56cbe5(0x1f3)]);if(_0x1e8863){const _0x2a9e48=_0x1e8863[_0x56cbe5(0x145)]();if(!_0x2a9e48)return;_0x11585d(_0x1e8863[_0x56cbe5(0xc2)](),_0x2a9e48['getSheetId']());}};this[_0x123944(0x1ea)](this[_0x123944(0x25d)]['onCommandExecuted'](_0x116123=>{const _0x5d7d43=_0x123944;if(_0x116123['id']===_0x282476['id']){const _0x4fde1f=_0x116123[_0x5d7d43(0xa2)],_0x22c295=_0x4fde1f[_0x5d7d43(0x20b)],_0x153bb4=_0x4fde1f[_0x5d7d43(0x167)];if(!_0x22c295||!_0x153bb4)return;_0x11585d(_0x153bb4,_0x22c295);}})),this[_0x123944(0x1ea)](this[_0x123944(0x2d1)]['pivotInitCompleted$'][_0x123944(0x1b1)](_0x563a79=>{_0x563a79&&_0x8e2a13();})),this[_0x123944(0x1ea)](this[_0x123944(0x2d1)]['pivotConfigChange$'][_0x123944(0x1b1)](_0x268436=>{const _0x571922=_0x2075c9(this['_univerInstanceService']);if(!_0x571922)return;const {unitId:_0x40018c,subUnitId:_0x43d817}=_0x571922,{unitId:_0x4972f4,subUnitId:_0x751219}=_0x268436;_0x40018c!==_0x4972f4||_0x43d817!==_0x751219||_0x11585d(_0x40018c,_0x43d817);})),_0x8e2a13();}[_0x1675c1(0x2fe)](_0x238628,_0x20270f,_0x1cf513){const _0x2e71ae=_0x1675c1;switch(_0x238628['id']){case _0x3fcf7e['id']:return this[_0x2e71ae(0x202)](_0x238628[_0x2e71ae(0xa2)],_0x20270f,_0x1cf513);}return{'redos':[],'undos':[]};}[_0x1675c1(0x202)](_0x685fe4,_0x2e4105,_0x2dd8bc){const _0x5b4aea=_0x1675c1,{fromRange:_0x32c00a,toRange:_0x12c58e}=_0x685fe4,_0x360458=[],_0x485659=[],_0x56ccbf=_0x2075c9(this[_0x5b4aea(0x27f)]);if(!_0x56ccbf)return{'undos':_0x485659,'redos':_0x360458};if(_0x2e4105!==_0x56ccbf[_0x5b4aea(0x167)]||_0x2dd8bc!==_0x56ccbf['subUnitId'])return{'undos':_0x485659,'redos':_0x360458};const _0x31fce0=this[_0x5b4aea(0x2d1)]['getSubUnitPivotConfigs'](_0x2e4105,_0x2dd8bc);if(_0x31fce0!=null&&_0x31fce0[_0x5b4aea(0xb5)])for(const [_0x13afef,_0x2d4ef8]of _0x31fce0){const {unitId:_0x21936a,subUnitId:_0x459c7d,row:_0x6991cc,col:_0x297482}=_0x2d4ef8[_0x5b4aea(0xb1)];if(_0x21936a===_0x56ccbf[_0x5b4aea(0x167)]&&_0x459c7d===_0x56ccbf[_0x5b4aea(0x20b)]){const _0x59fe81=_0x34e162(_0x6991cc,_0x297482);if(_0x351caf['intersects'](_0x59fe81,_0x32c00a)){const _0x1ddee3=_0x6991cc-_0x32c00a['startRow'],_0x1a4712=_0x297482-_0x32c00a[_0x5b4aea(0x16d)],_0x1f4ead={'row':_0x12c58e[_0x5b4aea(0x21c)]+_0x1ddee3,'col':_0x12c58e[_0x5b4aea(0x16d)]+_0x1a4712};_0x360458[_0x5b4aea(0x1a3)]({'id':pt['id'],'params':{'unitId':_0x21936a,'subUnitId':_0x459c7d,'pivotTableId':_0x13afef,'targetCellPosition':_0x1f4ead}}),_0x485659['push']({'id':pt['id'],'params':{'unitId':_0x21936a,'subUnitId':_0x459c7d,'pivotTableId':_0x13afef,'targetCellPosition':{'row':_0x6991cc,'col':_0x297482}}});const _0xb3455=_0x1f4ead[_0x5b4aea(0xcd)]-_0x6991cc,_0x333008=_0x1f4ead[_0x5b4aea(0x1d6)]-_0x297482,_0x2ef96a=[],_0x46cf86=this[_0x5b4aea(0x140)]['getPivotItemRenderInfoCache'](_0x21936a,_0x459c7d,_0x13afef),_0x3dedc2=_0x46cf86==null?void 0x0:_0x46cf86[_0x5b4aea(0x189)];if(_0x3dedc2){Object[_0x5b4aea(0x121)](_0x3dedc2)[_0x5b4aea(0x2ef)](_0x5c5344=>{_0x3dedc2[_0x5c5344]['forEach'](_0x533ec1=>{const _0x53ba4a=_0x2dae,_0x3efc7e={..._0x533ec1};_0x3efc7e[_0x53ba4a(0x21c)]=_0x533ec1[_0x53ba4a(0x21c)]+_0xb3455,_0x3efc7e[_0x53ba4a(0x138)]=_0x533ec1[_0x53ba4a(0x138)]+_0xb3455,_0x3efc7e[_0x53ba4a(0x16d)]=_0x533ec1['startColumn']+_0x333008,_0x3efc7e[_0x53ba4a(0xa1)]=_0x533ec1[_0x53ba4a(0xa1)]+_0x333008,_0x2ef96a['push'](_0x3efc7e);});});const _0x56a036=this[_0x5b4aea(0x299)][_0x5b4aea(0xb3)]({'unitId':_0x21936a,'subUnitId':_0x459c7d,'ranges':_0x2ef96a});_0x360458[_0x5b4aea(0x1a3)](..._0x56a036[_0x5b4aea(0x1b3)]),_0x485659['push'](..._0x56a036[_0x5b4aea(0x1e2)]);const _0x17849a=Ko(this[_0x5b4aea(0x312)],_0x21936a,_0x459c7d,_0x2ef96a);_0x17849a[_0x5b4aea(0x2f5)]&&(_0x360458['push'](_0x17849a[_0x5b4aea(0x241)]),_0x485659['push'](_0x17849a[_0x5b4aea(0x251)]));}}}}return{'redos':_0x360458,'undos':_0x485659};}};ft=Gs([Ae(0x0,_0x2fd05e(_0x854c25)),Ae(0x1,_0x2fd05e(_0x47dc83)),Ae(0x2,_0x3408cd),Ae(0x3,_0x146954),Ae(0x4,_0x2fd05e(ve)),Ae(0x5,_0x2fd05e(Ne)),Ae(0x6,_0x2fd05e(_0x5ed9f4))],ft);var $s=Object['getOwnPropertyDescriptor'],zs=(_0x1b876e,_0x2c3c5a,_0x5949f8,_0x399cf0)=>{const _0x33928a=_0x1675c1;for(var _0x5d466b=_0x399cf0>0x1?void 0x0:_0x399cf0?$s(_0x2c3c5a,_0x5949f8):_0x2c3c5a,_0xc9aef6=_0x1b876e[_0x33928a(0xff)]-0x1,_0x161e0e;_0xc9aef6>=0x0;_0xc9aef6--)(_0x161e0e=_0x1b876e[_0xc9aef6])&&(_0x5d466b=_0x161e0e(_0x5d466b)||_0x5d466b);return _0x5d466b;},_o=(_0x34ab09,_0x1f8ed8)=>(_0x5f4f57,_0x515485)=>_0x1f8ed8(_0x5f4f57,_0x515485,_0x34ab09);let gt=class extends _0x5334b7{constructor(_0x4db1d5,_0x20804a){const _0x15f71e=_0x1675c1;super(),this[_0x15f71e(0x299)]=_0x4db1d5,this[_0x15f71e(0x2d1)]=_0x20804a,this['_initRemoveSheetCommandInterceptor']();}[_0x1675c1(0xf3)](){const _0x3c2da5=_0x1675c1;this[_0x3c2da5(0x1ea)](this[_0x3c2da5(0x299)]['interceptCommand']({'getMutations':_0x4bc33e=>{const _0x1ed6d3=_0x3c2da5;if(_0x4bc33e['id']===_0x52bec3['id']){const _0x1b4c62=[],_0x4c53d1=[],_0x4b7d37=_0x4bc33e['params'],{unitId:_0x5d08c8,subUnitId:_0xe7011c}=_0x4b7d37;if(!_0x5d08c8||!_0xe7011c)return{'undos':_0x4c53d1,'redos':_0x1b4c62};const _0x3a65bc=this[_0x1ed6d3(0x2d1)][_0x1ed6d3(0x106)](_0x5d08c8,_0xe7011c);if(_0x3a65bc!=null&&_0x3a65bc[_0x1ed6d3(0xb5)])for(const [_0x59bd8c,_0x3c28a1]of _0x3a65bc){_0x1b4c62[_0x1ed6d3(0x1a3)]({'id':Ot['id'],'params':{'unitId':_0x5d08c8,'subUnitId':_0xe7011c,'pivotTableId':_0x59bd8c}});const _0x2b2129={...this[_0x1ed6d3(0x2d1)][_0x1ed6d3(0x28b)](_0x5d08c8,_0x59bd8c)};_0x4c53d1['push']({'id':Ct['id'],'params':{'unitId':_0x5d08c8,'subUnitId':_0xe7011c,'pivotTableId':_0x59bd8c,'pivotTableConfig':_0x3c28a1,'collectionConfig':_0x2b2129}});}return{'redos':_0x1b4c62,'undos':_0x4c53d1};}return{'redos':[],'undos':[]};}}));}};gt=zs([_o(0x0,_0x2fd05e(_0x5ed9f4)),_o(0x1,_0x2fd05e(ve))],gt);function _0x2dae(_0x4482cb,_0x25dc37){const _0x57f5bf=_0x57f5();return _0x2dae=function(_0x2dae7f,_0x4a0351){_0x2dae7f=_0x2dae7f-0x9b;let _0x497d89=_0x57f5bf[_0x2dae7f];return _0x497d89;},_0x2dae(_0x4482cb,_0x25dc37);}var Js=Object['getOwnPropertyDescriptor'],js=(_0x375fe9,_0x26209c,_0x526677,_0x93ed1a)=>{const _0x4b45fa=_0x1675c1;for(var _0x234f11=_0x93ed1a>0x1?void 0x0:_0x93ed1a?Js(_0x26209c,_0x526677):_0x26209c,_0x4f386b=_0x375fe9[_0x4b45fa(0xff)]-0x1,_0x2db1bf;_0x4f386b>=0x0;_0x4f386b--)(_0x2db1bf=_0x375fe9[_0x4f386b])&&(_0x234f11=_0x2db1bf(_0x234f11)||_0x234f11);return _0x234f11;},qe=(_0x12145b,_0xa7273d)=>(_0xd8e21c,_0x519e37)=>_0xa7273d(_0xd8e21c,_0x519e37,_0x12145b);let ht=class extends _0x5334b7{constructor(_0x2c19e3,_0x599e00,_0x13068a,_0x56d18c,_0x4f9963,_0x1f29e8){const _0x2d1a8d=_0x1675c1;super(),this[_0x2d1a8d(0x25d)]=_0x2c19e3,this['_sheetsPivotRpcService']=_0x599e00,this['_sheetsPivotTableAdaptorModel']=_0x13068a,this['_sheetsPivotTableConfigModel']=_0x56d18c,this['_univerInstanceService']=_0x4f9963,this[_0x2d1a8d(0xb0)]=_0x1f29e8,this['_initDataSendListener'](),this[_0x2d1a8d(0x1ee)]();}[_0x1675c1(0xd6)](){const _0xf21b5b=_0x1675c1;this[_0xf21b5b(0x1ea)](this[_0xf21b5b(0x25d)][_0xf21b5b(0x170)](_0x1097f1=>{const _0x22b840=_0xf21b5b;if(_0x1097f1['id']!==lo['id'])return;const _0x2140ea=_0x1097f1[_0x22b840(0xa2)];this['_sheetsPivotRpcService'][_0x22b840(0x2a9)](_0x2140ea);})),this[_0xf21b5b(0x1ea)](this[_0xf21b5b(0x25d)]['onCommandExecuted'](_0x26d565=>{const _0x3fb7cf=_0xf21b5b;if(_0x26d565['id']===co['id']){const _0x114854=_0x26d565[_0x3fb7cf(0xa2)];if(_0x114854){const {unitId:_0x409b9d,subUnitId:_0x11b79b,oldSubUnitId:_0x183525,pivotTableId:_0x11228c,pivotTableConfig:_0x392714,collectionConfig:_0x3bfae6}=_0x114854;this['_sheetsPivotTableConfigModel'][_0x3fb7cf(0x283)](_0x409b9d,_0x183525,_0x114854[_0x3fb7cf(0x2fb)],null),this[_0x3fb7cf(0x2d1)][_0x3fb7cf(0x283)](_0x409b9d,_0x11b79b,_0x11228c,_0x392714),this[_0x3fb7cf(0x2d1)]['updateCollectionConfig'](_0x409b9d,_0x3bfae6);}}})),this[_0xf21b5b(0x1ea)](this['_commandService'][_0xf21b5b(0x170)](_0x4b04fc=>{const _0x416c20=_0xf21b5b;if(_0x4b04fc['id']!==Rt['id'])return;const _0x155909=_0x2075c9(this[_0x416c20(0x27f)]);if(!_0x155909)return;const {unitId:_0x2be282,subUnitId:_0x26fc48}=_0x155909,_0x1ecbf8=_0x4b04fc[_0x416c20(0xa2)];if(_0x1ecbf8[_0x416c20(0x158)]&&Object[_0x416c20(0x121)](_0x1ecbf8[_0x416c20(0x158)])[_0x416c20(0x2ef)](_0x2d334d=>{const _0x26ef76=_0x416c20;var _0x499b3e;(_0x499b3e=_0x1ecbf8['collectionConfig'])!=null&&_0x499b3e[_0x2d334d]&&this['_sheetsPivotTableConfigModel'][_0x26ef76(0x314)](_0x2d334d,_0x1ecbf8[_0x26ef76(0x158)][_0x2d334d]);}),_0x1ecbf8[_0x416c20(0xcc)]){const _0x1db46f=_0x1ecbf8[_0x416c20(0xcc)],{unitId:_0x3e7445,subUnitId:_0x1fe25f,view:_0x111335,pivotTableId:_0x36a636,type:_0x233a4b,pivotConfig:_0x62fc8b}=_0x1db46f;if(_0x233a4b===L['Delete'])this[_0x416c20(0x140)][_0x416c20(0xbf)]({'unitId':_0x3e7445,'subUnitId':_0x1fe25f,'pivotTableId':_0x36a636,'type':_0x233a4b}),this[_0x416c20(0x2d1)][_0x416c20(0x283)](_0x3e7445,_0x1fe25f,_0x36a636,null);else{const _0x53f5f3=new _0x14d91f();_0x53f5f3[_0x416c20(0xc1)](_0x111335),this[_0x416c20(0x2d1)][_0x416c20(0x283)](_0x3e7445,_0x1fe25f,_0x36a636,_0x62fc8b),this[_0x416c20(0x140)][_0x416c20(0xbf)]({'unitId':_0x3e7445,'subUnitId':_0x1fe25f,'pivotTableId':_0x36a636,'type':_0x233a4b,'view':_0x53f5f3}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x3e7445,'subUnitId':_0x1fe25f,'view':_0x53f5f3,'pivotTableId':_0x36a636,'type':_0x233a4b});}}else _0x1ecbf8[_0x416c20(0x20f)]&&(_0x1ecbf8[_0x416c20(0x20f)][_0x416c20(0x2ef)](_0x2ef62e=>{const _0xce6bae=_0x416c20,{unitId:_0x41a675,subUnitId:_0x5190c7,view:_0x4bbe89,pivotTableId:_0x420445,type:_0x4d3279,pivotConfig:_0x528644}=_0x2ef62e,_0xcd2374=new _0x14d91f();_0xcd2374[_0xce6bae(0xc1)](_0x4bbe89),this[_0xce6bae(0x2d1)]['updateConfigCache'](_0x41a675,_0x5190c7,_0x420445,_0x528644),this[_0xce6bae(0x140)][_0xce6bae(0x25e)]({'unitId':_0x41a675,'subUnitId':_0x5190c7,'view':_0xcd2374,'pivotTableId':_0x420445,'type':_0x4d3279});}),this[_0x416c20(0x2d1)][_0x416c20(0x24f)]());this[_0x416c20(0x140)][_0x416c20(0x2d5)](_0x2be282,_0x26fc48);}));}[_0x1675c1(0x1ee)](){const _0x21124e=_0x1675c1;this[_0x21124e(0xb0)][_0x21124e(0x19d)](Et['id'],{'commandId':Et['id'],'getDirtyData'(_0x5d32b3){const _0x540d6f=_0x21124e;return{'dirtyUnitFeatureMap':_0x5d32b3[_0x540d6f(0xa2)]};}});}};ht=js([qe(0x0,_0x2fd05e(_0x3408cd)),qe(0x1,_0x2fd05e(Z)),qe(0x2,_0x2fd05e(Ne)),qe(0x3,_0x2fd05e(ve)),qe(0x4,_0x2fd05e(_0x146954)),qe(0x5,_0x315a9b)],ht);var Ks=Object['defineProperty'],Hs=Object['getOwnPropertyDescriptor'],qs=(_0x333784,_0x5acac2,_0x3213c9)=>_0x5acac2 in _0x333784?Ks(_0x333784,_0x5acac2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3213c9}):_0x333784[_0x5acac2]=_0x3213c9,Ys=(_0x86bf8b,_0x4e4757,_0x5544ba,_0x2514cb)=>{for(var _0x91429a=_0x2514cb>0x1?void 0x0:_0x2514cb?Hs(_0x4e4757,_0x5544ba):_0x4e4757,_0x581dc3=_0x86bf8b['length']-0x1,_0x3f8183;_0x581dc3>=0x0;_0x581dc3--)(_0x3f8183=_0x86bf8b[_0x581dc3])&&(_0x91429a=_0x3f8183(_0x91429a)||_0x91429a);return _0x91429a;},Ft=(_0x5b6c02,_0xc67d3b)=>(_0x231a09,_0x5ada2b)=>_0xc67d3b(_0x231a09,_0x5ada2b,_0x5b6c02),Xo=(_0x21924f,_0x59fcdb,_0x3b9188)=>qs(_0x21924f,typeof _0x59fcdb!=_0x1675c1(0x1bf)?_0x59fcdb+'':_0x59fcdb,_0x3b9188);let Ut=class extends _0x34ad3a{constructor(_0x51cfe6=Mo,_0x24ae4d,_0x5113b5,_0x48449a,_0x461e6b){const _0x2cbd7f=_0x1675c1;super(),this[_0x2cbd7f(0x215)]=_0x51cfe6,this[_0x2cbd7f(0x312)]=_0x24ae4d,this[_0x2cbd7f(0x25d)]=_0x5113b5,this[_0x2cbd7f(0x17a)]=_0x48449a,this[_0x2cbd7f(0xe1)]=_0x461e6b;const {..._0x54d196}=_0x15d8c5({},Mo,this['_config']);this[_0x2cbd7f(0x17a)][_0x2cbd7f(0x1b7)](qo,_0x54d196),this[_0x2cbd7f(0xee)](),this['_initConfig']();}[_0x1675c1(0x18d)](){const _0x1b2ddc=_0x1675c1;var _0x433005;const _0x3c5623=(_0x433005=this['_config'])==null?void 0x0:_0x433005[_0x1b2ddc(0x250)];this[_0x1b2ddc(0x17a)][_0x1b2ddc(0x1b7)](H,_0x3c5623===!0x0);}[_0x1675c1(0x1b0)](){const _0x279fd7=_0x1675c1;var _0x3094e4;let _0x26564d=[];const _0x1b9d25=(_0x3094e4=this[_0x279fd7(0x215)])==null?void 0x0:_0x3094e4[_0x279fd7(0x250)];_0x1b9d25===!0x0?_0x26564d=[[ie],[Z],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x1b9d25===!0x1?_0x26564d=[[G],[ct]]:_0x1b9d25===void 0x0&&(_0x26564d=[[G],[ct],[ie],[Z],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x26564d[_0x279fd7(0x2ef)](_0x1704fb=>this['_injector'][_0x279fd7(0x1a7)](_0x1704fb)),[ct,ht,ie,dt,gt,ft,ut][_0x279fd7(0x2ef)](_0x983f6c=>{const _0x1b373e=_0x279fd7;this['_injector'][_0x1b373e(0x1b4)](_0x983f6c)&&this[_0x1b373e(0x312)][_0x1b373e(0x2e9)](_0x983f6c);});}[_0x1675c1(0xee)](){const _0x1e584f=_0x1675c1;[vs,ps,hs,ms,Cs,ys,Rs,bs,Ps,Ss,Ts,Ms,ws,Is,Ct,oo,Ot,Gt,Yo,Qo,Kt,$t,zt,Jt,qt,Ht,pt,ro,lo,Rt,Xt,eo,Yt,jt,uo,to,Zt,Et,co,_s,Qt,Fs,Ds][_0x1e584f(0x2ef)](_0x249532=>{const _0x24d78f=_0x1e584f;var _0x2b4b98;(_0x2b4b98=this[_0x24d78f(0xe1)])==null||_0x2b4b98['registerSyncingMutations'](_0x249532),this['_commandService'][_0x24d78f(0x1de)](_0x249532);});}};Xo(Ut,'pluginName',ao),Xo(Ut,_0x1675c1(0x168),_0x34c5bf[_0x1675c1(0x1f3)]),Ut=Ys([_0xbd176b(_0x5aca44),Ft(0x1,_0x2fd05e(_0x854c25)),Ft(0x2,_0x2fd05e(_0x3408cd)),Ft(0x3,_0xe8dcbb),Ft(0x4,_0x23ca4f(_0x1f987d))],Ut);export{hs as AddPivotFieldCommand,Gt as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,A as PivotDisplayDataType,Is as PivotDrillDownCommand,L as PivotTableOperationEnum,Et as PivotTableViewDirtyMarkOperation,Wo as PositionType,Cs as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,Ot as RemovePivotTableMutation,zt as RenamePivotFieldMutation,Ds as ResetPivotFieldsConfigCommand,qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Jt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,qt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Rs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ms as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,ys as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Oi as getPivotCellInfo,go as getPivotInfoByLicense,xi as getPivotTableInfo,vt as transFromCellValue,Lt as unionPivotViewRange};