@univerjs-pro/sheets-pivot 0.6.10-experimental.20250410-b7c4a5b → 0.6.10-nightly.202504101607

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 _0x54f375=_0x4016;(function(_0x3d7eca,_0x5597a8){const _0x133092=_0x4016,_0x9862a4=_0x3d7eca();while(!![]){try{const _0x332a2f=parseInt(_0x133092(0x18a))/0x1*(parseInt(_0x133092(0x18b))/0x2)+-parseInt(_0x133092(0x33c))/0x3+-parseInt(_0x133092(0x3ae))/0x4+parseInt(_0x133092(0x1c3))/0x5*(parseInt(_0x133092(0x183))/0x6)+-parseInt(_0x133092(0x2cf))/0x7+parseInt(_0x133092(0x3b6))/0x8+-parseInt(_0x133092(0x264))/0x9*(parseInt(_0x133092(0x3e4))/0xa);if(_0x332a2f===_0x5597a8)break;else _0x9862a4['push'](_0x9862a4['shift']());}catch(_0x489a27){_0x9862a4['push'](_0x9862a4['shift']());}}}(_0x362c,0x718bc));var an=Object[_0x54f375(0x24d)],rn=(_0x268d95,_0xd934e8,_0x3240be)=>_0xd934e8 in _0x268d95?an(_0x268d95,_0xd934e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3240be}):_0x268d95[_0xd934e8]=_0x3240be,V=(_0x271d5f,_0x1b9ebb,_0x310f06)=>rn(_0x271d5f,typeof _0x1b9ebb!=_0x54f375(0x1fb)?_0x1b9ebb+'':_0x1b9ebb,_0x310f06);import{PivotCellStyleTypeEnum as _0x2a68bb,PivotViewCellValueTypeEnum as _0x326162,isPrefixValue as _0x2855f4,isErrorValue as _0xa577e2,PivotErrorTypeEnum as _0x1e3cf0,PivotDateGroupFieldDateTypeEnum as _0x247aca,DataFieldManager as _0x520853,FieldsCollection as _0x9e0b69,isDateValue as _0xff49fb,DataField as _0x20a69b,generateHexNumber as _0x4ac51b,isBaseGroupField as _0xb44e9d,PivotTable as _0x324108,PivotSubtotalTypeEnum as _0x5aa406,PivotTableFiledAreaEnum as _0x4baac8,excelDateToUnixMilliseconds as _0x1f778a,createValueField as _0x5d2e4a,createLabelField as _0x3dbd7a,PivotTableChangeTypeEnum as _0x2be84d,BaseGroupField as _0x1bdea0,PivotView as _0xb00319,isDateGroupFieldJSON as _0x2744c3,PivotCallbackEnum as _0x5d5916,PivotFilterTypeEnum as _0x16e313,getAutoDisplayName as _0x248c44,PivotDataFieldDataTypeEnum as _0x49998f,PivotTableValuePositionEnum as _0x4bb2b0,isDateGroupField as _0xd6890a,DateGroupField as _0x47f0b2}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x7efa08,ObjectMatrix as _0x4491c3,IUniverInstanceService as _0x5f5304,UniverInstanceType as _0x3fbbcd,CellValueType as _0x489a18,numfmt as _0x127682,LocaleService as _0x15fb78,createAsyncInterceptorKey as _0x136fe8,createInterceptorKey as _0x467d97,CommandType as _0x367096,RANGE_TYPE as _0x51bc9a,numberToABC as _0x1dca5a,Inject as _0x10cdc3,Injector as _0x500674,LifecycleService as _0x395841,IConfigService as _0x4abb7e,ICommandService as _0x384d05,IResourceManagerService as _0x2f810a,Disposable as _0x2e0af8,Rectangle as _0x5de3db,Tools as _0x58ff87,AsyncInterceptorManager as _0x368a96,InterceptorManager as _0x2cc638,InterceptorEffectEnum as _0x2601cb,CustomCommandExecutionError as _0x1ad862,IUndoRedoService as _0x4d31c9,sequenceExecute as _0x182a8e,mergeWorksheetSnapshotWithDefault as _0x590191,generateRandomId as _0x14dbf4,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x1727f1,DEFAULT_WORKSHEET_ROW_COUNT as _0x586b05,DisposableCollection as _0x432743,Range as _0x48adf7,DependentOn as _0x3f95ec,Optional as _0x1cebcc,Plugin as _0xb64033,merge as _0x10f046}from'@univerjs/core';import{ErrorType as _0x485194,serializeRangeWithSpreadsheet as _0x4ee999,IFeatureCalculationManagerService as _0x1545cc,GlobalComputingStatusService as _0x2a1bf0,IActiveDirtyManagerService as _0x413524}from'@univerjs/engine-formula';import{generateNullCell as _0x1c1b82,SetRangeValuesUndoMutationFactory as _0x4de9e1,SetRangeValuesMutation as _0x495914,getSheetCommandTarget as _0x4ea6fa,InsertRowMutation as _0x515cff,RemoveRowMutation as _0x35055f,InsertColMutation as _0x3b6bb2,RemoveColMutation as _0x2e750a,IExclusiveRangeService as _0x200408,SheetInterceptorService as _0x370454,INTERCEPTOR_POINT as _0x35188e,InsertSheetCommand as _0x281691,InsertSheetUndoMutationFactory as _0x5c9e8d,RemoveSheetMutation as _0x352d1d,InsertSheetMutation as _0x2fc327,MoveRangeMutation as _0x21f7b0,SheetsSelectionsService as _0x3b5b4f,ClearSelectionContentCommand as _0x17222d,ClearSelectionAllCommand as _0x8e148a,SetWorksheetColWidthMutation as _0x68e9ae,RefRangeService as _0x31ac82,SetWorksheetActiveOperation as _0x48991b,MoveRangeCommand as _0x4f5f38,RemoveSheetCommand as _0x18d8d5}from'@univerjs/sheets';import{Subject as _0x3863f9,BehaviorSubject as _0x6fd07f}from'rxjs';import{LS_CONFIG_KEY as _0x108a0a,unshiftString as _0x124923,isFeatureAuthorizedWithinTime as _0x5cffa6,getSheetFeatureLimit as _0x3a48b4,ReleaseType as _0x3c368f,UniverLicensePlugin as _0x491623}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x5e4fdf,RemoveSheetsFilterMutation as _0x2779cc}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0xae68a5}from'@univerjs/rpc';import{getFontStyleString as _0x5664d1,FontCache as _0x5bd7bb}from'@univerjs/engine-render';const ko=Number[_0x54f375(0x373)](0x67f795e9),li=0x10,so=0x1,ao=_0x54f375(0x2a6),mt=0x1,ci=_0x54f375(0x382),di=_0x54f375(0x287),wt=_0x54f375(0x399),ui=_0x54f375(0x3ee),fi=_0x54f375(0x3ee),gi=_0x54f375(0x3b0),hi=_0x54f375(0x3b9),vi=_0x54f375(0x200),pi=_0x54f375(0x377),Ci=_0x54f375(0x3b9),mi=_0x54f375(0x200),Ii=_0x54f375(0x396),bi=0xe,Si=0x6;var Jo=(_0x51ab4c=>(_0x51ab4c['Existing']=_0x54f375(0x39c),_0x51ab4c['New']=_0x54f375(0x348),_0x51ab4c))(Jo||{});const Ho={'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,We={'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':Ii},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':Ci},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Ti(_0x2e4830,_0x2882ce,_0x12a15d){const _0x3353ac=_0x54f375,_0x243d70=_0x2e4830[_0x3353ac(0x307)](_0x15fb78),_0x45565b=_0x12a15d[_0x3353ac(0x3c9)]('_');switch(_0x2882ce){case _0x247aca['Year']:return _0x243d70['t'](_0x3353ac(0x3e7),..._0x45565b);case _0x247aca[_0x3353ac(0x27f)]:return _0x243d70['t'](_0x3353ac(0x22f),..._0x45565b);case _0x247aca[_0x3353ac(0x3c7)]:return _0x243d70['t'](_0x3353ac(0x2f8),..._0x45565b);case _0x247aca['HourMinute']:return _0x243d70['t'](_0x3353ac(0x216),..._0x45565b);case _0x247aca[_0x3353ac(0x298)]:return _0x243d70['t'](_0x3353ac(0x1c9),..._0x45565b);case _0x247aca['Month']:return _0x243d70['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x45565b);case _0x247aca[_0x3353ac(0x362)]:return _0x243d70['t'](_0x3353ac(0x2bd),..._0x45565b);case _0x247aca['YearMonth']:return _0x243d70['t'](_0x3353ac(0x3e0),..._0x45565b);case _0x247aca[_0x3353ac(0x2d7)]:return _0x243d70['t'](_0x3353ac(0x328),..._0x45565b);case _0x247aca['YearQuarter']:return _0x243d70['t'](_0x3353ac(0x36c),..._0x45565b);}return'';}const it=(_0x523672,_0x21f44e,_0x46b97b,_0x462ee4)=>{const _0x28ad93=_0x54f375;let _0x4dad5e;const _0x5820ee=_0x523672[_0x28ad93(0x307)](_0x5f5304)[_0x28ad93(0x300)](_0x3fbbcd[_0x28ad93(0x1a5)]);if(!_0x5820ee)return null;const _0x428ee7=_0x5820ee[_0x28ad93(0x281)]();let _0x52d7ae;if(_0x46b97b&&(_0x52d7ae=_0x428ee7[_0x28ad93(0x3ed)](_0x46b97b)),_0x21f44e!=null&&_0x21f44e['v']||(_0x21f44e==null?void 0x0:_0x21f44e['v'])===0x0){_0x4dad5e||(_0x4dad5e={});const _0x21801c=Lo(_0x21f44e['v']);typeof _0x21801c=='number'?_0x4dad5e['t']=_0x489a18[_0x28ad93(0x270)]:typeof _0x21801c==_0x28ad93(0x23b)&&(_0x4dad5e['t']=_0x489a18['STRING']),_0x4dad5e['v']=_0x21801c;}if((_0x21f44e!=null&&_0x21f44e['i']||(_0x21f44e==null?void 0x0:_0x21f44e['i'])===0x0)&&(_0x4dad5e||(_0x4dad5e={}),_0x4dad5e['fi']=_0x21f44e['i']),_0x21f44e!=null&&_0x21f44e['s']&&(_0x4dad5e||(_0x4dad5e={}),_0x4dad5e[_0x28ad93(0x3ad)]=_0x21f44e['s']),_0x46b97b&&(_0x4dad5e||(_0x4dad5e={}),_0x4dad5e['s']=_0x52d7ae),_0x462ee4&&_0x4dad5e!=null&&_0x4dad5e['v']&&_0x4dad5e[_0x28ad93(0x3ad)]!==_0x2a68bb[_0x28ad93(0x220)]&&_0x4dad5e[_0x28ad93(0x3ad)]!==_0x2a68bb[_0x28ad93(0x2c4)]){const _0x25f061=String(_0x4dad5e['v']),{dateType:_0x527dab}=_0x462ee4;_0x4dad5e['v']=Ti(_0x523672,_0x527dab,_0x25f061),_0x4dad5e['t']=_0x489a18['STRING'];}return _0x4dad5e;},yi=(_0x439565,_0x56db1f,_0x3dc418,_0x2be6d1)=>{const _0x4193e8=_0x54f375;var _0x4b12f0,_0x1b05e9,_0x1074f2,_0x595f3e,_0x538d31,_0x4a59bc,_0x1f0eec,_0x50f8dc,_0x47d04d,_0x289285,_0x5897de,_0x384221,_0xd42db6,_0x2bdb7d;const _0x23ed52=_0x3dc418[_0x4193e8(0x196)],{cornerView:_0x5b973c,rowView:_0x3e7620,colView:_0x34cbb2,dataView:_0x1c4690,pageView:_0x33c90b,formatMap:_0x582fc7,groupInfo:_0x424c0e}=_0x56db1f,{row:_0x2a8622,col:_0x29c096}=_0x23ed52,_0xb6bd0=new _0x4491c3(),_0xfda167={},_0x525688={},_0xfd5e18={},_0x5801f1={},_0x3eb5f7={};let _0xfaa8e0=_0x2a8622,_0x16b7ae=_0x29c096;Object[_0x4193e8(0x33d)](_0x33c90b[_0x4193e8(0x1d5)])[_0x4193e8(0x222)](_0x53a6eb=>{const _0x1812f1=_0x4193e8;Object[_0x1812f1(0x33d)](_0x33c90b[_0x1812f1(0x1d5)][Number(_0x53a6eb)])[_0x1812f1(0x222)](_0x5f5c35=>{const _0x16550e=_0x1812f1,_0x119d23={..._0x33c90b[_0x16550e(0x1d5)][Number(_0x53a6eb)][Number(_0x5f5c35)]};_0xb6bd0[_0x16550e(0x3ed)](Number(_0x53a6eb)+_0xfaa8e0,Number(_0x5f5c35)+_0x16b7ae,it(_0x439565,_0x119d23,fe[_0x16550e(0x2c3)]));});});const _0x4d1ed=Object[_0x4193e8(0x33d)](_0x33c90b[_0x4193e8(0x1d5)])['length'];_0xfaa8e0+=_0x4d1ed+(_0x4d1ed?mt:0x0);const _0x1a1aad=_0x5b973c[_0x4193e8(0x29f)](),_0x2d49ea=_0x5b973c[_0x4193e8(0x1a1)]();for(let _0x2a53a2=0x0;_0x2a53a2<_0x1a1aad;_0x2a53a2++)for(let _0xd222a1=0x0;_0xd222a1<_0x2d49ea;_0xd222a1++){const _0x136d01={...(_0x1b05e9=(_0x4b12f0=_0x5b973c[_0x4193e8(0x1d5)])==null?void 0x0:_0x4b12f0[_0x2a53a2])==null?void 0x0:_0x1b05e9[_0xd222a1]};_0x136d01&&((_0x1074f2=_0x3e7620[_0x4193e8(0x2af)][_0xd222a1])!=null&&_0x1074f2[_0x4193e8(0x263)])&&_0xd222a1===_0x2d49ea-0x1&&_0x2a53a2===_0x1a1aad-0x1&&(_0x136d01['v']=''+_0x2be6d1[_0x4193e8(0x3af)]),_0xb6bd0[_0x4193e8(0x3ed)](_0x2a53a2+_0xfaa8e0,_0xd222a1+_0x16b7ae,it(_0x439565,_0x136d01,fe[_0x4193e8(0x1f5)]));}for(let _0x534324=0x0;_0x534324<_0x5b973c[_0x4193e8(0x3e2)]['length'];_0x534324++)_0x5b973c[_0x4193e8(0x3e2)][_0x534324]&&(_0xfd5e18[''+(_0x534324+_0x16b7ae)]=_0x5b973c['info'][_0x534324]);_0x16b7ae+=_0x2d49ea;const _0x1ff80d=_0x34cbb2[_0x4193e8(0x2af)],_0x84c2c9=_0x34cbb2[_0x4193e8(0x1a8)]()>=0x0?_0x34cbb2[_0x4193e8(0x1a8)]()+0x1:0x0,_0x55fc34=_0x34cbb2[_0x4193e8(0x3ab)]()>=0x0?_0x34cbb2['getLastCol']()+0x1:0x0;for(let _0x28c342=0x0;_0x28c342<_0x55fc34;_0x28c342++){for(let _0x761ce0=0x0;_0x761ce0<_0x84c2c9;_0x761ce0++){const _0x5615ac={...(_0x538d31=(_0x595f3e=_0x34cbb2[_0x4193e8(0x1d5)])==null?void 0x0:_0x595f3e[_0x761ce0])==null?void 0x0:_0x538d31[_0x28c342]},_0xae1dae=(_0x4a59bc=_0x1ff80d[_0x761ce0])==null?void 0x0:_0x4a59bc[_0x4193e8(0x2cc)],_0x127539=_0x582fc7[_0xae1dae],_0x5709f8=_0x424c0e[_0xae1dae];_0x5615ac&&(_0x5615ac['v']=vt(_0x5615ac,_0x761ce0===0x0&&((_0x1f0eec=_0x34cbb2[_0x4193e8(0x267)](_0x28c342+0x1))==null?void 0x0:_0x1f0eec[_0x4193e8(0x263)]),_0x127539,_0x2be6d1));let _0x48131b;_0x127539?_0x48131b={...fe['colStyle'],'n':{'pattern':_0x127539}}:_0x48131b={...fe['colStyle']},_0xb6bd0['setValue'](_0x761ce0+_0xfaa8e0,_0x28c342+_0x16b7ae,it(_0x439565,_0x5615ac,_0x48131b,_0x5709f8));}_0x34cbb2[_0x4193e8(0x3e2)][_0x28c342]&&(_0x525688[''+(_0x28c342+_0x16b7ae)]=_0x34cbb2[_0x4193e8(0x3e2)][_0x28c342]),_0x34cbb2['headerMap'][_0x28c342+0x1]&&(_0x3eb5f7[''+(_0x28c342+_0xfaa8e0+0x1)]=_0x34cbb2['headerMap'][_0x28c342+0x1]);}_0xfaa8e0+=_0x1a1aad;const _0x1b226a=_0x3e7620[_0x4193e8(0x2af)],_0x4ad228=_0x3e7620['getLastRow']()>=0x0?_0x3e7620['getLastRow']()+0x1:0x0,_0x41d8fb=_0x3e7620[_0x4193e8(0x3ab)]()>=0x0?_0x3e7620[_0x4193e8(0x3ab)]()+0x1:0x0;for(let _0x1ad50e=0x0;_0x1ad50e<_0x4ad228;_0x1ad50e++){for(let _0x502250=0x0;_0x502250<_0x41d8fb;_0x502250++){const _0x347516={...(_0x47d04d=(_0x50f8dc=_0x3e7620[_0x4193e8(0x1d5)])==null?void 0x0:_0x50f8dc[_0x1ad50e])==null?void 0x0:_0x47d04d[_0x502250]},_0x2f9588=(_0x289285=_0x1b226a[_0x502250])==null?void 0x0:_0x289285['tableFieldId'],_0x8d46c0=_0x582fc7[_0x2f9588],_0x25c686=_0x424c0e[_0x2f9588];_0x347516&&(_0x347516['v']=vt(_0x347516,!0x1,_0x8d46c0,_0x2be6d1));let _0x1b700d;_0x3e7620['info'][_0x1ad50e]['level']===_0x3e7620[_0x4193e8(0x1a1)]()?_0x1b700d=fe['leafStyle']:_0x3e7620[_0x4193e8(0x3e2)][_0x1ad50e]['isBottomTotal']?_0x1b700d=_0x3e7620[_0x4193e8(0x3e2)][_0x1ad50e][_0x4193e8(0x1aa)]===0x0?fe[_0x4193e8(0x35a)]:fe['subTotalStyle']:_0x1b700d=fe['rowStyle'],_0x8d46c0&&(_0x1b700d={..._0x1b700d,'n':{'pattern':_0x8d46c0}}),_0xb6bd0[_0x4193e8(0x3ed)](_0x1ad50e+_0xfaa8e0,_0x502250+_0x29c096,it(_0x439565,_0x347516,_0x1b700d,_0x25c686));}_0x3e7620[_0x4193e8(0x3e2)][_0x1ad50e]&&(_0xfda167[''+(_0x1ad50e+_0xfaa8e0)]=_0x3e7620[_0x4193e8(0x3e2)][_0x1ad50e]),_0x3e7620[_0x4193e8(0x2af)][_0x1ad50e]&&(_0x5801f1[''+(_0x1ad50e+_0x29c096)]=_0x3e7620[_0x4193e8(0x2af)][_0x1ad50e]);}const _0x36e488=_0x1c4690['getRowCount'](),_0x4bc99b=_0x1c4690[_0x4193e8(0x1a1)]();for(let _0x3f1923=0x0;_0x3f1923<_0x36e488;_0x3f1923++)for(let _0x496597=0x0;_0x496597<_0x4bc99b;_0x496597++){const _0x1d1483={...(_0x384221=(_0x5897de=_0x1c4690['data'])==null?void 0x0:_0x5897de[_0x3f1923])==null?void 0x0:_0x384221[_0x496597]};let _0x59b651;_0x3e7620[_0x4193e8(0x3e2)][_0x3f1923]['isBottomTotal']?_0x59b651=_0x3e7620[_0x4193e8(0x3e2)][_0x3f1923][_0x4193e8(0x1aa)]===0x0?fe[_0x4193e8(0x35a)]:fe[_0x4193e8(0x3cd)]:_0x59b651=fe[_0x4193e8(0x2b3)];const _0x4320d0=_0x3e7620[_0x4193e8(0x3e2)][_0x3f1923]['valueIndex'],_0x4e2a45=_0x34cbb2[_0x4193e8(0x3e2)][_0x496597][_0x4193e8(0x3d4)],_0x5d6d48=Math['max'](_0x4320d0,_0x4e2a45),_0x22debc=_0x3dc418[_0x4193e8(0x2de)]['valueFields']['concat']();let _0x5cc518='';_0x5d6d48<0x0?_0x5cc518=(_0xd42db6=_0x22debc[0x0])!=null?_0xd42db6:'':_0x5cc518=(_0x2bdb7d=_0x22debc[_0x5d6d48])!=null?_0x2bdb7d:'';const _0x305886=_0x582fc7[_0x5cc518];_0x305886&&(_0x59b651={..._0x59b651,'n':{'pattern':_0x305886}}),_0xb6bd0[_0x4193e8(0x3ed)](_0x3f1923+_0xfaa8e0,_0x496597+_0x16b7ae,it(_0x439565,_0x1d1483,_0x59b651));}return{'valueMatrix':_0xb6bd0,'rowInfo':_0xfda167,'colInfo':_0x525688,'cornerInfo':_0xfd5e18,'rowHeaderMap':_0x5801f1,'colHeaderMap':_0x3eb5f7};};function vt(_0x5a0ee0,_0x568013,_0x5217b7,_0x822cee){const _0x5927c7=_0x54f375;let _0x3dbf40=_0x5a0ee0['v'];_0x568013&&(_0x3dbf40=''+_0x822cee['sheets-pivot.value']);const _0xa09cc9=_0x5a0ee0['t']&&(_0x5a0ee0['t']&_0x326162[_0x5927c7(0x350)])>0x0;if(_0xa09cc9&&(_0x3dbf40=''+_0x822cee['sheets-pivot.blank']),_0x5a0ee0['s']===_0x2a68bb['Subtotal']){let _0x4f2278=_0x3dbf40,_0x5923ec='';_0x2855f4(_0x3dbf40)&&(_0x4f2278=_0x3dbf40[_0x5927c7(0x3ff)],_0x5923ec=_0x3dbf40[_0x5927c7(0x2e6)]);const _0x287961=_0x5217b7&&!_0xa09cc9?_0x127682[_0x5927c7(0x203)](_0x5217b7,Number(_0x4f2278)):_0x4f2278;_0x5923ec?_0x3dbf40=_0x287961+'\x20'+_0x5923ec:_0x3dbf40=_0x287961+'\x20'+_0x822cee[_0x5927c7(0x3f9)];}else _0x5a0ee0['s']===_0x2a68bb['GrandTotal']&&(_0x3dbf40=_0x3dbf40+'\x20'+_0x822cee[_0x5927c7(0x3d9)]);return _0x3dbf40;}function Lo(_0x352fe4){const _0x9cd767=_0x54f375;if(_0xa577e2(_0x352fe4)){const {errorType:_0x5457cf}=_0x352fe4;switch(_0x5457cf){case _0x1e3cf0['Div0']:return _0x485194['DIV_BY_ZERO'];case _0x1e3cf0[_0x9cd767(0x2b9)]:return _0x485194[_0x9cd767(0x2d9)];case _0x1e3cf0[_0x9cd767(0x330)]:return _0x485194[_0x9cd767(0x35f)];case _0x1e3cf0[_0x9cd767(0x31a)]:return _0x485194[_0x9cd767(0x35f)];case _0x1e3cf0['BadReference']:return _0x485194[_0x9cd767(0x1e7)];}}return _0x352fe4;}function ge(_0x55e31c,_0x3220f4,_0x3aff99=!0x1,_0x180195=!0x1){const _0x2e0811=_0x54f375,{data:_0x1f308c}=_0x3220f4,_0x1104cb=_0x3220f4[_0x2e0811(0x29f)](),_0x158969=_0x3220f4['getColCount']();if(_0x1104cb<=0x0||_0x158969<=0x0)return[];const _0x514f4b=_0x3220f4['getLastCol'](),_0x3e0c4b=_0x3220f4['getLastRow'](),_0x5ccb9a=_0x180195?_0x3e0c4b>=0x0?_0x3e0c4b+0x1:0x0:_0x1104cb,_0x58e2c1=_0x180195?_0x514f4b>=0x0?_0x514f4b+0x1:0x0:_0x158969,{row:_0x8429d9,col:_0x34a517}=_0x55e31c,_0x53cd10=_0x8429d9,_0x4e12a4=_0x34a517;if(_0x3aff99){const _0x638640=[];for(const [_0x2a1001,_0x4c3826]of Object[_0x2e0811(0x1d3)](_0x1f308c))for(const [_0x2814e5,_0x4fdf21]of Object[_0x2e0811(0x1d3)](_0x4c3826))_0x638640[_0x2e0811(0x342)](_0x7efa08(_0x53cd10+Number(_0x2a1001),_0x4e12a4+Number(_0x2814e5)));return _0x638640;}else{const _0x4f53af=_0x180195?_0x5ccb9a>0x0?0x1:0x0:0x1,_0x314bb5=_0x180195?_0x58e2c1>0x0?0x1:0x0:0x1,_0xe4dd10=_0x8429d9+_0x5ccb9a-_0x4f53af,_0x54f391=_0x34a517+_0x58e2c1-_0x314bb5;return[{'startRow':_0x53cd10,'startColumn':_0x4e12a4,'endRow':_0xe4dd10,'endColumn':_0x54f391}];}}const z=_0x54f375(0x334),Jt=_0x54f375(0x2f5);var k=(_0x51424d=>(_0x51424d[_0x54f375(0x278)]=_0x54f375(0x1e2),_0x51424d[_0x54f375(0x30b)]=_0x54f375(0x269),_0x51424d[_0x54f375(0x32e)]=_0x54f375(0x24c),_0x51424d[_0x54f375(0x386)]=_0x54f375(0x386),_0x51424d[_0x54f375(0x235)]=_0x54f375(0x266),_0x51424d[_0x54f375(0x35b)]=_0x54f375(0x3d0),_0x51424d['RemovePivotField']=_0x54f375(0x2b5),_0x51424d[_0x54f375(0x3ca)]='setPivotCollapse',_0x51424d[_0x54f375(0x2c2)]=_0x54f375(0x1d7),_0x51424d[_0x54f375(0x2cd)]=_0x54f375(0x38c),_0x51424d[_0x54f375(0x181)]=_0x54f375(0x1f3),_0x51424d[_0x54f375(0x204)]='updatePivotSource',_0x51424d[_0x54f375(0x355)]=_0x54f375(0x23d),_0x51424d[_0x54f375(0x346)]='drillDown',_0x51424d['SetValuePivotFilter']='setValuePivotFilter',_0x51424d[_0x54f375(0x193)]=_0x54f375(0x195),_0x51424d[_0x54f375(0x384)]=_0x54f375(0x2a2),_0x51424d))(k||{});const Mi={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x54f375(0x1be),'sheets-pivot.grandTotalText':_0x54f375(0x34b),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x54f375(0x2f1),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x54f375(0x1d8),'sheets-pivot.productName':_0x54f375(0x1cb),'sheets-pivot.stdDevName':_0x54f375(0x2e8),'sheets-pivot.stdDevpName':_0x54f375(0x316),'sheets-pivot.sumName':_0x54f375(0x26a),'sheets-pivot.varName':_0x54f375(0x390),'sheets-pivot.varpName':_0x54f375(0x184),'sheets-pivot.subTotal':_0x54f375(0x2c4),'sheets-pivot.grandTotal':_0x54f375(0x34b),'sheets-pivot.value':_0x54f375(0x2e6),'sheets-pivot.blank':_0x54f375(0x350),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x54f375(0x38e),'sheets-pivot.emptyPivot.column':_0x54f375(0x29b),'sheets-pivot.emptyPivot.values':'Values'},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x136fe8('pivotPerformCheck'),Bo=_0x467d97(_0x54f375(0x283));var He=(_0x2124bd=>(_0x2124bd[_0x54f375(0x1e1)]=_0x54f375(0x1e1),_0x2124bd[_0x54f375(0x2dd)]=_0x54f375(0x2dd),_0x2124bd['update']=_0x54f375(0x3b1),_0x2124bd))(He||{}),L=(_0x1587f8=>(_0x1587f8['Add']=_0x54f375(0x1e1),_0x1587f8[_0x54f375(0x1b3)]=_0x54f375(0x335),_0x1587f8['Delete']=_0x54f375(0x2dd),_0x1587f8))(L||{});const $o={0x0:'a',0x1:'B',0x2:'D',0x3:'E',0x4:'X',0x5:'N',0x6:'l',0x7:'c',0x8:'n',0x9:'9','n':'0','X':'1','i':'2','S':'3','g':'4','m':'5','o':'6','O':'7','M':'8','y':'b','e':'d','H':'e','z':'f','U':'g','L':'h','J':'i','P':'j','q':'k','Q':'m','C':'o','E':'p','l':'q','a':'r','r':'s','p':'t','w':'u','N':'v','j':'w','Z':'x','B':'y','D':'z','A':'A','k':'C','R':'F','K':'G','t':'H','b':'I','s':'J','x':'K','F':'L','d':'M','c':'O','h':'P','T':'Q','u':'R','f':'S','G':'T','W':'U','Y':'V','V':'W','I':'Y','v':'Z'},jo=_0x54f375(0x1e9),ro={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x1ae),'handler':()=>!0x0},lo={'type':_0x367096[_0x54f375(0x1b1)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},Dt={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x1b8),'handler':()=>!0x0},co={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x275),'handler':()=>!0x0},uo={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x229),'handler':()=>!0x0},wi=_0x31e51a=>{const _0x4af77c=_0x54f375;var _0x13b1f3;return((_0x13b1f3=_0x31e51a[_0x4af77c(0x1f9)])==null?void 0x0:_0x13b1f3['dataStream']['replace'](/\r\n$/,''))||'';};class _i extends _0x520853{constructor(_0x81410,_0x96e9e2){const _0x18eaa4=_0x54f375;super(),V(this,_0x18eaa4(0x19e),{}),V(this,_0x18eaa4(0x228)),V(this,_0x18eaa4(0x238)),(this['_univerInstanceService']=_0x96e9e2,this[_0x18eaa4(0x238)]=_0x81410);}[_0x54f375(0x239)](){const _0x1b3cc1=_0x54f375;for(const _0x3fd4b7 in this[_0x1b3cc1(0x29d)]){const _0x554253=this[_0x1b3cc1(0x29d)][_0x3fd4b7],_0x32be74=_0x554253[_0x1b3cc1(0x285)]();this[_0x1b3cc1(0x19e)][_0x32be74]=_0x554253[_0x1b3cc1(0x37f)]();}}[_0x54f375(0x35d)](){const _0x4f9c52=_0x54f375,_0x1ada21=this[_0x4f9c52(0x238)];return Ei['bind'](_0x1ada21);}[_0x54f375(0x308)](_0x22f7cb){const _0x762e5a=_0x54f375,_0x281f89=this[_0x762e5a(0x29d)][_0x22f7cb][_0x762e5a(0x242)];delete this[_0x762e5a(0x29d)][_0x22f7cb],delete this['rangeKeyMap'][_0x281f89];}['addDataFieldWithoutUnitInfo'](_0x404f76){const _0x307f8a=_0x54f375;this[_0x307f8a(0x29d)][_0x404f76[_0x307f8a(0x37f)]()]=_0x404f76;}['removeCollectionImp'](_0x4f198f){const _0x45e811=_0x54f375;var _0x5eea30,_0x3f6f12;const _0xb71cd4=this['_host'][_0x45e811(0x324)](_0x4f198f);if(_0xb71cd4){const {unitId:_0x47ed5a,subUnitId:_0x10cbcd}=_0xb71cd4,_0x43b2b2=(_0x5eea30=this[_0x45e811(0x238)][_0x45e811(0x3f5)](_0x47ed5a,_0x10cbcd,_0x4f198f))==null?void 0x0:_0x5eea30[_0x45e811(0x3a8)];this[_0x45e811(0x238)][_0x45e811(0x305)]({'token':_0x4f198f,'type':He['delete'],'dataRangeInfo':_0x43b2b2});}(_0x3f6f12=this[_0x45e811(0x1b9)](_0x4f198f))==null||_0x3f6f12[_0x45e811(0x369)](),delete this[_0x45e811(0x28a)][_0x4f198f];}[_0x54f375(0x285)](_0x2781f0,_0x502183){const {sheetName:_0x30997c,unitId:_0x2afb50,range:_0x24f4fd}=_0x2781f0,{startRow:_0x57da6a,endRow:_0x3ce407}=_0x24f4fd;return _0x4ee999(_0x2afb50,_0x30997c,{'startRow':_0x57da6a,'endRow':_0x3ce407,'startColumn':_0x502183,'endColumn':_0x502183});}[_0x54f375(0x32b)](_0x1d276d){const _0x157df4=_0x54f375;return this['dataFields'][this[_0x157df4(0x19e)][_0x1d276d]];}[_0x54f375(0x18c)](_0x37e2ad,_0x59ed25){this['rangeKeyMap'][_0x37e2ad]=_0x59ed25;}['updateRangeKeyMap'](_0x774d5e,_0x2c90de){const _0x206d1f=_0x54f375;this[_0x206d1f(0x19e)][_0x2c90de]=this[_0x206d1f(0x19e)][_0x774d5e],delete this['rangeKeyMap'][_0x774d5e];}[_0x54f375(0x28b)](_0x12eb2a,_0x4f0437,_0x552284,_0x239d2f){const _0x11c6fe=_0x54f375,_0x5f1491=new _0x9e0b69(this);_0x5f1491[_0x11c6fe(0x185)](_0x4f0437);const _0x3e03be=[];let _0x4b9f79=0x0;for(const _0x1b62fd of _0x5f1491[_0x11c6fe(0x3f8)]){const _0x58a745=this[_0x11c6fe(0x285)](_0x552284,_0x4b9f79),_0x369d55=this[_0x11c6fe(0x29d)][_0x1b62fd];_0x369d55&&(_0x369d55['rangeKey']=_0x58a745,this['setRangeKeyMap'](_0x58a745,_0x1b62fd),_0x3e03be[_0x11c6fe(0x342)]({'index':_0x4b9f79,'dataField':_0x369d55})),_0x4b9f79++;}return this[_0x11c6fe(0x1ce)](_0x12eb2a,_0x5f1491,_0x552284,_0x239d2f),{'collection':_0x5f1491,'updateDataFieldList':_0x3e03be};}['getRangeStartEndInfo'](_0x53142a,_0x1ed086){const _0x1b6898=_0x54f375;return _0x53142a[_0x1b6898(0x2ca)]===_0x51bc9a[_0x1b6898(0x1f0)]?{'startRow':0x0,'startColumn':_0x53142a[_0x1b6898(0x213)],'endRow':_0x1ed086[_0x1b6898(0x29f)]()-0x1,'endColumn':_0x53142a[_0x1b6898(0x3fa)]}:{'startRow':_0x53142a['startRow'],'startColumn':_0x53142a[_0x1b6898(0x213)],'endRow':_0x53142a[_0x1b6898(0x1ad)],'endColumn':_0x53142a['endColumn']};}[_0x54f375(0x3aa)](_0x6b8b82){const _0x255844=_0x54f375,{sheetName:_0x3f632e,range:_0x583975}=_0x6b8b82,_0x3b66f8=this[_0x255844(0x228)]['getCurrentUnitForType'](_0x3fbbcd[_0x255844(0x1a5)]),_0x3f94d1=_0x3b66f8[_0x255844(0x313)](_0x3f632e),_0x463f99=_0x3f94d1[_0x255844(0x217)](),{startColumn:_0x2c76e6,startRow:_0x246933,endColumn:_0x65cd60}=this[_0x255844(0x3a7)](_0x583975,_0x3f94d1),_0x7566c2=_0x3b66f8[_0x255844(0x281)](),_0x2913d0=new _0x9e0b69(this);_0x2913d0[_0x255844(0x35c)](_0x6b8b82);const _0xa88b03=[],_0x3f59de={};for(let _0x1f8bb8=_0x2c76e6;_0x1f8bb8<=_0x65cd60;_0x1f8bb8++){const _0x393d2f=_0x463f99[_0x255844(0x383)](_0x246933,_0x1f8bb8),_0x47d012=this[_0x255844(0x285)](_0x6b8b82,_0x1f8bb8),_0x5a7095=this['getDataFieldByRangeKey'](_0x47d012);if(_0x5a7095)_0x2913d0[_0x255844(0x1ec)](_0x5a7095[_0x255844(0x37f)](),_0x5a7095[_0x255844(0x296)]());else{const _0x53934b=this[_0x255844(0x212)]();let _0x39f1b4=this[_0x255844(0x35e)](_0x393d2f,_0x7566c2,_0x3f59de);_0xff49fb(_0x39f1b4)&&(_0x39f1b4=_0x127682[_0x255844(0x203)](_0x39f1b4['f'],Number(_0x39f1b4['v'])));const _0x386351=this[_0x255844(0x223)](_0x39f1b4,_0x1f8bb8),_0x192dd0=new _0x20a69b(_0x53934b,_0x386351,_0x4ac51b(0x3));_0x192dd0[_0x255844(0x242)]=_0x47d012,this[_0x255844(0x29d)][_0x53934b]=_0x192dd0,_0x2913d0[_0x255844(0x1ec)](_0x53934b,_0x386351),_0xa88b03[_0x255844(0x342)]({'index':_0x1f8bb8,'dataField':_0x192dd0});}}return{'updateDataFieldList':_0xa88b03,'collection':_0x2913d0};}['_getAutoName'](_0xe0fff9){const _0x8fc8ea=_0x54f375;return this[_0x8fc8ea(0x238)]['getTextInfo']()[_0x8fc8ea(0x379)]+'\x20'+_0x1dca5a(_0xe0fff9);}[_0x54f375(0x223)](_0x4dbd3c,_0x483031){const _0x4020b3=_0x54f375;return _0x4dbd3c==null||_0x4dbd3c===''?this[_0x4020b3(0x20b)](_0x483031):String(_0x4dbd3c);}[_0x54f375(0x1b9)](_0x3a4872){const _0x4d4d9e=_0x54f375;return this[_0x4d4d9e(0x28a)][_0x3a4872];}[_0x54f375(0x1ce)](_0x2cb47a,_0x318aed,_0x5ce8fa,_0x16e709){const _0x2600d1=_0x54f375;this[_0x2600d1(0x28a)][_0x2cb47a]=_0x318aed,_0x318aed['setRange'](_0x5ce8fa),this[_0x2600d1(0x238)][_0x2600d1(0x305)]({'token':_0x2cb47a,'type':He[_0x2600d1(0x1e1)],'dataRangeInfo':_0x5ce8fa,'targetCellInfo':_0x16e709});}[_0x54f375(0x19d)](_0x4ab023,_0x390df6){const _0x3c86da=_0x54f375,_0x5b6411=this[_0x3c86da(0x1b9)](_0x4ab023),_0x201bb3=_0x5b6411[_0x3c86da(0x34d)]();let _0x2a1db4=0x0;for(const _0x380e17 of _0x201bb3){const _0x39ea60=_0x5b6411[_0x3c86da(0x2f9)](_0x380e17),_0x204e6d=this[_0x3c86da(0x285)](_0x390df6,_0x2a1db4);this[_0x3c86da(0x3b3)](_0x39ea60['rangeKey'],_0x204e6d),_0x2a1db4++;}}[_0x54f375(0x2b0)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x54f375(0x22c)](_0x51a690,_0x232e22){const _0xc3175c=_0x54f375;if(this[_0xc3175c(0x1b9)](_0x51a690)){const _0x559e5a=this['getRangeKeyList'](_0x232e22),_0x1ee2b5=[];for(const _0x306de0 of _0x559e5a)this['rangeKeyMap'][_0x306de0]!==void 0x0&&_0x1ee2b5[_0xc3175c(0x342)](this[_0xc3175c(0x19e)][_0x306de0]);const _0x46e573=this[_0xc3175c(0x344)](_0x51a690),_0x4dbb1d=[],_0x3a31b4=new Set(_0x1ee2b5);for(const _0x5d0d7f of _0x46e573)_0x3a31b4[_0xc3175c(0x293)](_0x5d0d7f)||_0x4dbb1d[_0xc3175c(0x342)](_0x5d0d7f);return _0x4dbb1d;}}[_0x54f375(0x1c1)](_0x275623,_0x1f20a2,_0x166f63,_0x2cb237,_0x40a7ac){const _0x4f664f=_0x54f375;return _0x1f20a2&&_0x1f20a2[_0x4f664f(0x383)](_0x2cb237,_0x40a7ac)?_0x1f20a2['getValue'](_0x2cb237,_0x40a7ac):_0x166f63&&_0x166f63[_0x4f664f(0x383)](_0x2cb237,_0x40a7ac)?_0x166f63[_0x4f664f(0x383)](_0x2cb237,_0x40a7ac):_0x275623[_0x4f664f(0x383)](_0x2cb237,_0x40a7ac);}[_0x54f375(0x3bc)](_0x237f65,_0xabfb1f,_0x5e9b4b,_0x4463b0){const _0x40ee40=_0x54f375,_0x30d8bc=this[_0x40ee40(0x29d)][_0x237f65];if(!_0x30d8bc)return;const {subUnitId:_0x50d16d,range:_0x5a5f5a,unitId:_0x2443fc}=_0xabfb1f,_0x1c1661=this[_0x40ee40(0x228)][_0x40ee40(0x3df)](_0x2443fc);if(!_0x1c1661){console[_0x40ee40(0x3fe)](_0x40ee40(0x18f));return;}const _0x25035b=_0x1c1661[_0x40ee40(0x243)](_0x50d16d),_0xb48257=_0x25035b[_0x40ee40(0x217)](),{arrayFormulaCellDataMatrix:_0x287d05,unitDataMatrix:_0x29e4a7}=_0x4463b0||{},{startRow:_0x1fee35,startColumn:_0x227a2c,endRow:_0x2a7555}=this['getRangeStartEndInfo'](_0x5a5f5a,_0x25035b);_0x30d8bc['reset']();const _0x26878f=_0x1c1661[_0x40ee40(0x281)](),_0x1b8622={},_0x182c02=this[_0x40ee40(0x1c1)](_0xb48257,_0x287d05,_0x29e4a7,_0x1fee35,_0x227a2c+_0x5e9b4b);let _0x47bb80=this[_0x40ee40(0x35e)](_0x182c02,_0x26878f,_0x1b8622);_0xff49fb(_0x47bb80)&&(_0x47bb80=_0x127682[_0x40ee40(0x203)](_0x47bb80['f'],Number(_0x47bb80['v'])));const _0x299f9a=this[_0x40ee40(0x223)](_0x47bb80,_0x227a2c+_0x5e9b4b);_0x30d8bc['setName'](_0x299f9a);for(let _0x250487=_0x1fee35+0x1;_0x250487<=_0x2a7555;_0x250487++){const _0x22cdf1=this[_0x40ee40(0x1c1)](_0xb48257,_0x287d05,_0x29e4a7,_0x250487,_0x227a2c+_0x5e9b4b);_0x30d8bc[_0x40ee40(0x1f1)](this[_0x40ee40(0x35e)](_0x22cdf1,_0x26878f,_0x1b8622),_0x250487-0x1-_0x1fee35);}}[_0x54f375(0x2e9)](_0x3c4937,_0x58885b,_0xb79da){const _0x22ee28=_0x54f375,{subUnitId:_0x5a1d83,range:_0x3050a2,unitId:_0x355543}=_0xb79da,_0x4f3163=this[_0x22ee28(0x228)][_0x22ee28(0x3df)](_0x355543);if(!_0x4f3163){console[_0x22ee28(0x3fe)](_0x22ee28(0x18f));return;}const _0x354d87=_0x4f3163[_0x22ee28(0x243)](_0x5a1d83),_0x45045a=_0x354d87['getCellMatrix'](),{startRow:_0x1a985c,startColumn:_0x1e4948,endRow:_0x262e92}=this[_0x22ee28(0x3a7)](_0x3050a2,_0x354d87),_0x1593b7=_0x4f3163[_0x22ee28(0x281)](),_0x3440a5={};for(const {dataField:_0x5e0409,index:_0x31300c}of _0x58885b){_0x5e0409['reset']();const _0x589996=this[_0x22ee28(0x1c1)](_0x45045a,void 0x0,void 0x0,_0x1a985c,_0x1e4948+_0x31300c);let _0x2ee043=this[_0x22ee28(0x35e)](_0x589996,_0x1593b7,_0x3440a5);_0xff49fb(_0x2ee043)&&(_0x2ee043=_0x127682[_0x22ee28(0x203)](_0x2ee043['f'],Number(_0x2ee043['v'])));const _0x2f00c8=this[_0x22ee28(0x223)](_0x2ee043,_0x1e4948+_0x31300c);_0x5e0409['setName'](_0x2f00c8);}_0x3c4937[_0x22ee28(0x2bc)]();for(let _0x1b6ea2=_0x1a985c+0x1;_0x1b6ea2<=_0x262e92;_0x1b6ea2++)for(const {index:_0x4ee53d,dataField:_0x411d96}of _0x58885b){const _0x144276=_0x45045a['getValue'](_0x1b6ea2,_0x1e4948+_0x4ee53d);_0x411d96['addRecord'](this['adjustSheetCellData'](_0x144276,_0x1593b7,_0x3440a5),_0x1b6ea2-0x1-_0x1a985c);}_0x3c4937[_0x22ee28(0x320)](_0x262e92-_0x1a985c);}[_0x54f375(0x211)](_0x386fe9){const _0x13978b=_0x54f375,{range:_0x2272b7}=_0x386fe9,{startColumn:_0xd329bb,endColumn:_0x37b848}=_0x2272b7,_0x3f99a7=[];for(let _0x39dfdc=_0xd329bb;_0x39dfdc<=_0x37b848;_0x39dfdc++)_0x3f99a7[_0x13978b(0x342)](this[_0x13978b(0x285)](_0x386fe9,_0x39dfdc));return _0x3f99a7;}[_0x54f375(0x35e)](_0x3adcb2,_0x14dc9e,_0x4a3d80){const _0x519276=_0x54f375;if(_0x3adcb2){const {s:_0x346e8c,v:_0x515d6a,t:_0x5784fc,p:_0x4a1dde}=_0x3adcb2;if(_0x4a1dde)return wi(_0x4a1dde);const _0x3b6892=_0x14dc9e[_0x519276(0x307)](_0x346e8c);if(_0x3b6892&&_0x5784fc===_0x489a18[_0x519276(0x270)]&&_0x3b6892['n']){const {pattern:_0x3b9e20}=_0x3b6892['n'];_0x4a3d80[_0x3b9e20]||(_0x4a3d80[_0x3b9e20]=_0x127682[_0x519276(0x23a)](_0x3b9e20));const _0x34e7bd=_0x4a3d80[_0x3b9e20],_0x64e85f=_0x34e7bd[_0x519276(0x241)];if(_0x34e7bd[_0x519276(0x389)])return String(_0x515d6a);if(_0x64e85f)return{'v':_0x515d6a,'f':_0x3b9e20};}if(_0x5784fc===_0x489a18['NUMBER'])return Number(_0x515d6a);if(_0x5784fc===_0x489a18[_0x519276(0x1ab)]||_0x5784fc===_0x489a18[_0x519276(0x190)])return String(_0x515d6a);if(_0x5784fc===void 0x0){const _0x31488d=Number(_0x515d6a);if(!Number[_0x519276(0x2f3)](_0x31488d)&&String(_0x31488d)===_0x515d6a)return _0x31488d;}return _0x515d6a!=null?_0x515d6a:null;}else return null;}[_0x54f375(0x233)](_0x5db6df){const _0x4b9512=_0x54f375,{sheetName:_0x1d0ade,range:_0x56a11f,unitId:_0x5da21b}=_0x5db6df,_0x2d98b4=this[_0x4b9512(0x228)]['getUnit'](_0x5da21b);if(!_0x2d98b4)return console[_0x4b9512(0x3fe)](_0x4b9512(0x18f)),{'header':[],'data':[]};const _0x318163=_0x2d98b4[_0x4b9512(0x313)](_0x1d0ade),_0x19a93d=_0x318163['getCellMatrix'](),{startRow:_0xe30dd4,startColumn:_0x52acc2,endRow:_0x923065,endColumn:_0x2ed8eb}=this[_0x4b9512(0x3a7)](_0x56a11f,_0x318163),_0x2b71f6=_0x2d98b4[_0x4b9512(0x281)](),_0x3da03e=[],_0x43462e=[],_0x17bffb={};for(let _0x46e52b=_0xe30dd4;_0x46e52b<=_0x923065;_0x46e52b++){const _0x181e87=[];for(let _0x364318=_0x52acc2;_0x364318<=_0x2ed8eb;_0x364318++){const _0x15c62a=_0x19a93d[_0x4b9512(0x383)](_0x46e52b,_0x364318);_0x46e52b===_0xe30dd4?_0x3da03e[_0x4b9512(0x342)](_0x15c62a==null?null:String(_0x15c62a['v'])):_0x181e87[_0x4b9512(0x342)](this[_0x4b9512(0x35e)](_0x15c62a,_0x2b71f6,_0x17bffb));}_0x43462e['push'](_0x181e87);}return{'header':_0x3da03e,'data':_0x43462e};}[_0x54f375(0x1dd)](){return super['toJSON']();}[_0x54f375(0x185)](_0x2e586e){const _0x1bbd91=_0x54f375;super[_0x1bbd91(0x185)](_0x2e586e),this[_0x1bbd91(0x239)]();}['dispose'](){const _0x30e7b6=_0x54f375;super['dispose'](),this[_0x30e7b6(0x19e)]={},this['_host']=null;}}const Fi=_0x18f378=>{const _0x471c5b=_0x54f375,{targetCellInfo:_0x3fa7ce}=_0x18f378,{matrixCache:_0x54af3d,rangesCache:_0x457f5f}=Wo({'filter':_0x471c5b(0x278),'row':'Row','column':_0x471c5b(0x29b),'values':_0x471c5b(0x3de)},_0x3fa7ce),_0x47eb6d=new _0x4491c3();return _0x54af3d[_0x471c5b(0x380)]((_0x3dcd7e,_0x15d8d0,_0x348369)=>{const _0x2f89d2=_0x471c5b;_0x47eb6d[_0x2f89d2(0x3ed)](_0x3dcd7e,_0x15d8d0,_0x348369);}),{'matrix':_0x47eb6d,'rangesCache':_0x457f5f};},st=_0x3fcc96=>{const _0x15d231=_0x54f375;let _0xcc8015;if(_0x3fcc96!=null&&_0x3fcc96['v']||(_0x3fcc96==null?void 0x0:_0x3fcc96['v'])===0x0){_0xcc8015||(_0xcc8015={});const _0x48f07e=Lo(_0x3fcc96['v']);typeof _0x48f07e=='number'?_0xcc8015['t']=_0x489a18[_0x15d231(0x270)]:typeof _0x48f07e==_0x15d231(0x23b)&&(_0xcc8015['t']=_0x489a18[_0x15d231(0x1ab)]),_0xcc8015['v']=_0x48f07e;}return _0xcc8015;},Ri=(_0x32d5ba,_0x484b7f,_0x21ef28)=>{const _0x3b5a54=_0x54f375;var _0x23e23d,_0x444a9c,_0x356ef5,_0x9f034d,_0x521ec0,_0x2cd0ea,_0x422cb3,_0x52318d,_0x25579e,_0x190085,_0x9b9043,_0x22e00c;const {cornerView:_0x4dbf5f,rowView:_0x1b78cf,colView:_0x52202f,dataView:_0x165e62,pageView:_0x2ef151,formatMap:_0x5b8395}=_0x32d5ba,{row:_0x89f651,col:_0x4df33e}=_0x484b7f,_0x55b9d7=new _0x4491c3();let _0x5149f3=_0x89f651,_0x5e379b=_0x4df33e;Object[_0x3b5a54(0x33d)](_0x2ef151[_0x3b5a54(0x1d5)])[_0x3b5a54(0x222)](_0x521f94=>{const _0x34756f=_0x3b5a54;Object[_0x34756f(0x33d)](_0x2ef151[_0x34756f(0x1d5)][Number(_0x521f94)])[_0x34756f(0x222)](_0x2cfde7=>{const _0x3ce6a5=_0x34756f,_0x828a1f={..._0x2ef151[_0x3ce6a5(0x1d5)][Number(_0x521f94)][Number(_0x2cfde7)]};_0x55b9d7[_0x3ce6a5(0x3ed)](Number(_0x521f94)+_0x5149f3,Number(_0x2cfde7)+_0x5e379b,st(_0x828a1f));});});const _0x15082e=Object[_0x3b5a54(0x33d)](_0x2ef151['data'])[_0x3b5a54(0x2e5)];_0x5149f3+=_0x15082e+(_0x15082e?mt:0x0);const _0x46480c=_0x4dbf5f[_0x3b5a54(0x29f)](),_0x4a4cc3=_0x4dbf5f[_0x3b5a54(0x1a1)]();for(let _0x4776f3=0x0;_0x4776f3<_0x46480c;_0x4776f3++)for(let _0x14c1dd=0x0;_0x14c1dd<_0x4a4cc3;_0x14c1dd++){const _0x445992={...(_0x444a9c=(_0x23e23d=_0x4dbf5f[_0x3b5a54(0x1d5)])==null?void 0x0:_0x23e23d[_0x4776f3])==null?void 0x0:_0x444a9c[_0x14c1dd]};_0x445992&&((_0x356ef5=_0x1b78cf[_0x3b5a54(0x2af)][_0x14c1dd])!=null&&_0x356ef5[_0x3b5a54(0x263)])&&_0x14c1dd===_0x4a4cc3-0x1&&_0x4776f3===_0x46480c-0x1&&(_0x445992['v']=''+_0x21ef28[_0x3b5a54(0x3af)]),_0x55b9d7['setValue'](_0x4776f3+_0x5149f3,_0x14c1dd+_0x5e379b,st(_0x445992));}_0x5e379b+=_0x4a4cc3;const _0x2dc997=_0x52202f[_0x3b5a54(0x2af)],_0x3ab4ab=_0x52202f[_0x3b5a54(0x1a8)]()>=0x0?_0x52202f[_0x3b5a54(0x1a8)]()+0x1:0x0,_0x58e413=_0x52202f[_0x3b5a54(0x3ab)]()>=0x0?_0x52202f[_0x3b5a54(0x3ab)]()+0x1:0x0;for(let _0x4992cb=0x0;_0x4992cb<_0x58e413;_0x4992cb++)for(let _0x2329ac=0x0;_0x2329ac<_0x3ab4ab;_0x2329ac++){const _0xeebf71={...(_0x521ec0=(_0x9f034d=_0x52202f[_0x3b5a54(0x1d5)])==null?void 0x0:_0x9f034d[_0x4992cb])==null?void 0x0:_0x521ec0[_0x2329ac]},_0x49d4fd=(_0x2cd0ea=_0x2dc997[_0x4992cb])==null?void 0x0:_0x2cd0ea[_0x3b5a54(0x2cc)],_0xf3acd4=_0x5b8395[_0x49d4fd];_0xeebf71&&(_0xeebf71['v']=vt(_0xeebf71,_0x4992cb===0x0&&((_0x422cb3=_0x52202f[_0x3b5a54(0x267)](_0x2329ac+0x1))==null?void 0x0:_0x422cb3[_0x3b5a54(0x263)]),_0xf3acd4,_0x21ef28)),_0x55b9d7[_0x3b5a54(0x3ed)](_0x4992cb+_0x5149f3,_0x2329ac+_0x5e379b,st(_0xeebf71));}_0x5149f3+=_0x46480c;const _0x4bdc43=_0x1b78cf[_0x3b5a54(0x2af)],_0xcb0f61=_0x1b78cf[_0x3b5a54(0x1a8)]()>=0x0?_0x1b78cf[_0x3b5a54(0x1a8)]()+0x1:0x0,_0x301bd1=_0x1b78cf[_0x3b5a54(0x3ab)]()>=0x0?_0x1b78cf[_0x3b5a54(0x3ab)]()+0x1:0x0;for(let _0x4808f4=0x0;_0x4808f4<_0xcb0f61;_0x4808f4++)for(let _0x22fe18=0x0;_0x22fe18<_0x301bd1;_0x22fe18++){const _0x2f35b0={...(_0x25579e=(_0x52318d=_0x1b78cf[_0x3b5a54(0x1d5)])==null?void 0x0:_0x52318d[_0x4808f4])==null?void 0x0:_0x25579e[_0x22fe18]},_0x15e552=(_0x190085=_0x4bdc43[_0x22fe18])==null?void 0x0:_0x190085[_0x3b5a54(0x2cc)],_0x4f4194=_0x5b8395[_0x15e552];_0x2f35b0&&(_0x2f35b0['v']=vt(_0x2f35b0,!0x1,_0x4f4194,_0x21ef28)),_0x55b9d7[_0x3b5a54(0x3ed)](_0x4808f4+_0x5149f3,_0x22fe18+_0x4df33e,st(_0x2f35b0));}const _0x79e2b2=_0x165e62[_0x3b5a54(0x29f)](),_0x59540a=_0x165e62[_0x3b5a54(0x1a1)]();for(let _0x11dd6b=0x0;_0x11dd6b<_0x79e2b2;_0x11dd6b++)for(let _0x54c286=0x0;_0x54c286<_0x59540a;_0x54c286++){const _0x4e98e0={...(_0x22e00c=(_0x9b9043=_0x165e62['data'])==null?void 0x0:_0x9b9043[_0x11dd6b])==null?void 0x0:_0x22e00c[_0x54c286]};_0x55b9d7['setValue'](_0x11dd6b+_0x5149f3,_0x54c286+_0x5e379b,st(_0x4e98e0));}return _0x55b9d7;},Di=_0x2c6017=>{const _0xc4d53b=_0x54f375,{view:_0x2d78e3,targetCellInfo:_0x58cc84,isEmpty:_0x1e5ffd,textInfo:_0x22daa0}=_0x2c6017;if(_0x1e5ffd)return Fi(_0x2c6017);const {pageView:_0x31d880,cornerView:_0x1fb194,rowView:_0x26f8aa,colView:_0x4254f1,dataView:_0x4a532d}=_0x2d78e3,_0x263681=ge(_0x58cc84,_0x31d880,!0x0),_0x3d2ba4=_0x31d880['lastRow']>=0x0?_0x31d880[_0xc4d53b(0x3ce)]+0x1:0x0,_0x5c73bd=_0x1fb194[_0xc4d53b(0x29f)](),_0x399782=_0x1fb194['getColCount'](),_0x49c1b2=_0x263681['length']>0x0?mt:0x0,_0x5ef6cf=ge({'row':_0x58cc84[_0xc4d53b(0x219)]+_0x3d2ba4+_0x49c1b2,'col':_0x58cc84['col']},_0x1fb194,!0x1,!0x1),_0x17bfa9=ge({'row':_0x58cc84[_0xc4d53b(0x219)]+_0x3d2ba4+_0x49c1b2+_0x5c73bd,'col':_0x58cc84[_0xc4d53b(0x3e9)]},_0x26f8aa,!0x1,!0x0),_0x21be04=ge({'row':_0x58cc84[_0xc4d53b(0x219)]+_0x3d2ba4+_0x49c1b2,'col':_0x58cc84[_0xc4d53b(0x3e9)]+_0x399782},_0x4254f1,!0x1,!0x0),_0x17dab5=ge({'row':_0x58cc84[_0xc4d53b(0x219)]+_0x3d2ba4+_0x49c1b2+_0x5c73bd,'col':_0x58cc84[_0xc4d53b(0x3e9)]+_0x399782},_0x4a532d,!0x1,!0x1),_0x2290f5={'rowRanges':_0x17bfa9,'colRanges':_0x21be04,'cornerRanges':_0x5ef6cf,'dataRanges':_0x17dab5,'pageRanges':_0x263681};return{'matrix':Ri(_0x2d78e3,_0x58cc84,_0x22daa0),'rangesCache':_0x2290f5};};var Ni=Object[_0x54f375(0x30f)],Ui=(_0x49ce6a,_0x53f6df,_0x222e4f,_0x4cc204)=>{const _0x1a7696=_0x54f375;for(var _0x148156=_0x4cc204>0x1?void 0x0:_0x4cc204?Ni(_0x53f6df,_0x222e4f):_0x53f6df,_0x3e0193=_0x49ce6a[_0x1a7696(0x2e5)]-0x1,_0x5355ba;_0x3e0193>=0x0;_0x3e0193--)(_0x5355ba=_0x49ce6a[_0x3e0193])&&(_0x148156=_0x5355ba(_0x148156)||_0x148156);return _0x148156;},Ge=(_0x578408,_0xdef0a1)=>(_0x68dc90,_0x1e5f04)=>_0xdef0a1(_0x68dc90,_0x1e5f04,_0x578408);let B=class extends _0x2e0af8{constructor(_0x57281f,_0x469107,_0x4cdf1f,_0x25fc63,_0x13bee4,_0x110998){const _0x51c583=_0x54f375;super(),V(this,'_model',new Map()),V(this,'_pivotTableInstanceCache',new Map()),V(this,'_viewData',new Map()),V(this,'_textInfo'),V(this,'_collectionChange$',new _0x3863f9()),V(this,_0x51c583(0x230),this[_0x51c583(0x2fb)]['asObservable']()),V(this,_0x51c583(0x37a),new _0x3863f9()),V(this,_0x51c583(0x3e6),this[_0x51c583(0x37a)]['asObservable']()),V(this,_0x51c583(0x3b2),new _0x3863f9()),V(this,'fieldsCollectionChange$',this[_0x51c583(0x3b2)][_0x51c583(0x303)]()),V(this,_0x51c583(0x189),new Map()),V(this,_0x51c583(0x3ac),[]),V(this,'_queryingMap',new Map()),(this[_0x51c583(0x262)]=_0x57281f,this[_0x51c583(0x228)]=_0x469107,this[_0x51c583(0x226)]=_0x4cdf1f,this[_0x51c583(0x259)]=_0x25fc63,this[_0x51c583(0x2ab)]=_0x13bee4,this['_resourceManagerService']=_0x110998,this[_0x51c583(0x3a4)]());}[_0x54f375(0x279)](){const _0x8d7a2d=_0x54f375;return this[_0x8d7a2d(0x394)]?this[_0x8d7a2d(0x394)]:Mi;}[_0x54f375(0x378)](_0x326cce){const _0x2c4eff=_0x54f375;this[_0x2c4eff(0x394)]=_0x326cce;}[_0x54f375(0x19d)](_0x2c19cc){const _0x43908e=_0x54f375;var _0x295cfb;const {from:_0x1ce605,to:_0x1272ba,unitId:_0x4d8e78,fromRange:_0x1f1afe,toRange:_0x86700b}=_0x2c19cc;if(_0x1ce605&&_0x1272ba){const _0x72ea89=this['getDataFieldManager'](_0x4d8e78),_0x5f57ba=this['_model']['get'](_0x4d8e78),_0x30a59d=(_0x295cfb=this[_0x43908e(0x228)][_0x43908e(0x3df)](_0x4d8e78))==null?void 0x0:_0x295cfb[_0x43908e(0x243)](_0x1272ba[_0x43908e(0x194)]);if(!_0x5f57ba||!_0x30a59d)return;const _0x5125c0=_0x30a59d==null?void 0x0:_0x30a59d[_0x43908e(0x296)]();for(const [_0x5351fc,_0x4f0d4c]of _0x5f57ba['entries']())for(const [_0x41f6ec,_0x517030]of _0x4f0d4c[_0x43908e(0x1d3)]()){const {sourceRangeInfo:_0x1c47dc}=_0x517030;if(_0x1c47dc[_0x43908e(0x314)]===_0x4d8e78&&_0x1c47dc[_0x43908e(0x194)]===_0x1ce605[_0x43908e(0x194)]&&_0x5de3db[_0x43908e(0x2ff)](_0x1f1afe,_0x1c47dc['range'])){const _0x258c59={'row':_0x1c47dc[_0x43908e(0x360)][_0x43908e(0x304)]-_0x1f1afe[_0x43908e(0x304)],'col':_0x1c47dc[_0x43908e(0x360)]['startColumn']-_0x1f1afe[_0x43908e(0x213)]},_0x19d659={'unitId':_0x4d8e78,'subUnitId':_0x1272ba[_0x43908e(0x194)],'sheetName':_0x5125c0,'range':{'startRow':_0x86700b[_0x43908e(0x304)]+_0x258c59[_0x43908e(0x219)],'endRow':_0x86700b['startRow']+_0x258c59['row']+_0x1c47dc[_0x43908e(0x360)][_0x43908e(0x1ad)]-_0x1c47dc[_0x43908e(0x360)][_0x43908e(0x304)],'startColumn':_0x86700b[_0x43908e(0x213)]+_0x258c59[_0x43908e(0x3e9)],'endColumn':_0x86700b[_0x43908e(0x213)]+_0x258c59['col']+_0x1c47dc[_0x43908e(0x360)]['endColumn']-_0x1c47dc[_0x43908e(0x360)][_0x43908e(0x213)]}};_0x72ea89[_0x43908e(0x19d)](_0x41f6ec,_0x19d659);const _0x15e3e7={..._0x517030,'sourceRangeInfo':_0x19d659};this[_0x43908e(0x2f4)](_0x4d8e78,_0x1272ba['subUnitId'],_0x41f6ec,_0x15e3e7),this['broadcastCollectionChange']({'unitId':_0x4d8e78,'token':_0x41f6ec,'type':He['update'],'oldSourceRangeInfo':_0x1c47dc,'dataRangeInfo':_0x19d659,'targetCellInfo':_0x517030[_0x43908e(0x196)]}),this['updateConfig']({'unitId':_0x4d8e78,'subUnitId':_0x1272ba['subUnitId'],'oldSubUnitId':_0x5351fc,'pivotTableId':_0x41f6ec,'pivotTableConfig':_0x15e3e7,'collectionConfig':_0x72ea89[_0x43908e(0x1dd)]()});}}}}[_0x54f375(0x305)](_0x18fbd6){const _0x2d060c=_0x54f375;this[_0x2d060c(0x2fb)]['next'](_0x18fbd6);}[_0x54f375(0x309)](_0x354a7b){const _0x3cc2c5=_0x54f375;let _0x597a4d=this[_0x3cc2c5(0x189)][_0x3cc2c5(0x307)](_0x354a7b);return _0x597a4d||(_0x597a4d=new _i(this,this['_univerInstanceService']),this[_0x3cc2c5(0x189)][_0x3cc2c5(0x335)](_0x354a7b,_0x597a4d)),_0x597a4d;}[_0x54f375(0x1b9)](_0x2558a6,_0x2d5b2c){const _0xdbffac=_0x54f375;return this[_0xdbffac(0x309)](_0x2558a6)[_0xdbffac(0x28a)][_0x2d5b2c];}[_0x54f375(0x22c)](_0x195d74,_0x47bed5,_0x3c1cab){const _0x1dd81c=_0x54f375;return this[_0x1dd81c(0x309)](_0x195d74)[_0x1dd81c(0x22c)](_0x47bed5,_0x3c1cab);}[_0x54f375(0x3b8)](_0x37f12e,_0x1e5f3a){const _0x4f0428=_0x54f375;let _0x4f294e=this[_0x4f0428(0x271)]['get'](_0x37f12e);_0x4f294e||(_0x4f294e=new Map(),this[_0x4f0428(0x271)][_0x4f0428(0x335)](_0x37f12e,_0x4f294e));let _0x424c0c=_0x4f294e['get'](_0x1e5f3a);return _0x424c0c||(_0x424c0c=new Map(),_0x4f294e['set'](_0x1e5f3a,_0x424c0c)),_0x424c0c;}['_updateModelCache'](_0x4d216d,_0x4975a6,_0x1f346a,_0x53b90d){const _0x1d11d3=_0x54f375;this[_0x1d11d3(0x3b8)](_0x4d216d,_0x4975a6)[_0x1d11d3(0x335)](_0x1f346a,_0x53b90d);}['_deleteModelCache'](_0xc82fa,_0x575677,_0xeec6d8){const _0x3b2097=_0x54f375;var _0x5a6762,_0x2587c2,_0x4273b9,_0x48205f;((_0x2587c2=(_0x5a6762=this[_0x3b2097(0x271)][_0x3b2097(0x307)](_0xc82fa))==null?void 0x0:_0x5a6762['get'](_0x575677))==null?void 0x0:_0x2587c2[_0x3b2097(0x307)](_0xeec6d8))&&((_0x48205f=(_0x4273b9=this[_0x3b2097(0x271)][_0x3b2097(0x307)](_0xc82fa))==null?void 0x0:_0x4273b9[_0x3b2097(0x307)](_0x575677))==null||_0x48205f['delete'](_0xeec6d8));}[_0x54f375(0x1a4)](_0x5945d7,_0x44d21f){const _0x286526=_0x54f375;this[_0x286526(0x1ed)][_0x286526(0x335)](_0x5945d7,_0x44d21f);}[_0x54f375(0x21a)](_0x5cde0f){const _0x4f5c6c=_0x54f375;this[_0x4f5c6c(0x1ed)][_0x4f5c6c(0x2dd)](_0x5cde0f);}['_ensureViewDataMap'](_0x221453,_0x26a3b1){const _0xd9cadf=_0x54f375;let _0xc4ee05=this[_0xd9cadf(0x3cc)]['get'](_0x221453);_0xc4ee05||(_0xc4ee05=new Map(),this[_0xd9cadf(0x3cc)][_0xd9cadf(0x335)](_0x221453,_0xc4ee05));let _0x1d4e61=_0xc4ee05['get'](_0x26a3b1);return _0x1d4e61||(_0x1d4e61=new Map(),_0xc4ee05[_0xd9cadf(0x335)](_0x26a3b1,_0x1d4e61)),_0x1d4e61;}[_0x54f375(0x21e)](_0x210deb){const _0x29bcbc=_0x54f375,{unitId:_0x5413a7,subUnitId:_0x1c977c,pivotTableId:_0x169f7d,pivotTableConfig:_0x38ba67,collectionConfig:_0x33fe67}=_0x210deb,_0x151ffd={'unitId':_0x5413a7,'subUnitId':_0x1c977c,'oldSubUnitId':_0x1c977c,'pivotTableId':_0x169f7d,'pivotTableConfig':_0x38ba67,'collectionConfig':_0x33fe67};this[_0x29bcbc(0x2ab)][_0x29bcbc(0x255)](co['id'],_0x151ffd,{'onlyLocal':!0x0});}[_0x54f375(0x27c)](_0x2feba3,_0x3d4c45,_0x44c6b9,_0xf82125,_0x30f73f,_0x4e134b,_0x457d99,_0x25a829=!0x1){const _0x2da7ea=_0x54f375;var _0x1a3065;this['_commandService'][_0x2da7ea(0x255)](Dt['id'],{'single':{'unitId':_0x2feba3,'subUnitId':_0x3d4c45,'type':_0x44c6b9,'pivotTableId':_0xf82125,'view':_0x30f73f,'pivotConfig':_0x4e134b},'collectionConfig':{[_0x2feba3]:_0x457d99}},{'onlyLocal':!0x0});const _0x397fd4=!!((_0x1a3065=this['getPivotTableInstance'](_0xf82125))!=null&&_0x1a3065[_0x2da7ea(0x208)]()),_0x9375ca=this[_0x2da7ea(0x3f5)](_0x2feba3,_0x3d4c45,_0xf82125);_0x9375ca&&this[_0x2da7ea(0x27d)]({'view':_0x30f73f,'pivotTableId':_0xf82125,'textInfo':this['getTextInfo'](),'isEmpty':_0x397fd4,'targetCellInfo':_0x9375ca[_0x2da7ea(0x196)]},_0x25a829);}['updateViewData'](_0xe7f97,_0xd052bb){const _0x34e809=_0x54f375,{targetCellInfo:_0x557cc1,pivotTableId:_0x238986}=_0xe7f97,{unitId:_0x551cf6,subUnitId:_0x5e70bf}=_0x557cc1,_0x579386=this[_0x34e809(0x256)](_0x551cf6,_0x5e70bf),_0x5916c0=_0x579386[_0x34e809(0x307)](_0x238986);let _0x1d1bcc,_0x51a9a8;_0x5916c0&&(_0x1d1bcc=_0x5916c0[_0x34e809(0x2fe)],_0x51a9a8=_0x5916c0[_0x34e809(0x27a)]);const {rangesCache:_0x100690,matrix:_0x3ca4f1}=Di(_0xe7f97);_0x579386[_0x34e809(0x335)](_0x238986,{'rangeCache':_0x100690,'matrix':_0x3ca4f1,'oldMatrix':_0x51a9a8,'oldRangeCache':_0x1d1bcc}),_0xd052bb||this[_0x34e809(0x37a)][_0x34e809(0x321)]({'unitId':_0x551cf6,'subUnitId':_0x5e70bf,'pivotTableId':_0x238986});}[_0x54f375(0x266)](_0x3108bf,_0x4b595c,_0x243804,_0xc40a25,_0x57113b){const _0x21f19c=_0x54f375;this[_0x21f19c(0x2f4)](_0x3108bf,_0x4b595c,_0x243804,_0x57113b),this[_0x21f19c(0x1a4)](_0x243804,_0xc40a25);}[_0x54f375(0x276)](_0x6d0f36,_0x2369f1,_0x12dcb1){const _0x715dc=_0x54f375,_0x1efb90=this['getDataFieldManager'](_0x6d0f36);_0x1efb90[_0x715dc(0x344)](_0x12dcb1)[_0x715dc(0x222)](_0x51fab3=>{const _0x531248=_0x715dc;_0x1efb90[_0x531248(0x308)](_0x51fab3);}),this[_0x715dc(0x2d2)](_0x6d0f36,_0x12dcb1),this[_0x715dc(0x34c)](_0x6d0f36,_0x2369f1,_0x12dcb1),this['_deletePivotTableInstanceCache'](_0x12dcb1);}['setPivotTable'](_0x2f2d7a,_0x421e31,_0x156559,_0x5cf894){this['_updateModelCache'](_0x2f2d7a,_0x421e31,_0x156559,_0x5cf894);}[_0x54f375(0x3f5)](_0x286584,_0x38c6da,_0x240569){const _0x43d3c2=_0x54f375;var _0xae63b,_0x402a1b;const _0x6a2f9b=(_0x402a1b=(_0xae63b=this['_model'][_0x43d3c2(0x307)](_0x286584))==null?void 0x0:_0xae63b['get'](_0x38c6da))==null?void 0x0:_0x402a1b[_0x43d3c2(0x307)](_0x240569);if(_0x6a2f9b)return _0x6a2f9b;}[_0x54f375(0x291)](_0x216bc4,_0x2f4a1e,_0x153e22){const _0x312e15=_0x54f375;var _0x14d21a,_0x5a48df;const _0x406672=(_0x5a48df=(_0x14d21a=this[_0x312e15(0x271)]['get'](_0x216bc4))==null?void 0x0:_0x14d21a['get'](_0x2f4a1e))==null?void 0x0:_0x5a48df[_0x312e15(0x307)](_0x153e22);if(_0x406672)return _0x406672['fieldsConfig'];}['getPivotTableInstance'](_0x56a274){const _0x3129ef=_0x54f375;return this[_0x3129ef(0x1ed)]['get'](_0x56a274);}[_0x54f375(0x227)](_0x54c1cd){const _0x3a0361=_0x54f375;this[_0x3a0361(0x271)][_0x3a0361(0x2dd)](_0x54c1cd);const _0x6e6f2b=this[_0x3a0361(0x189)][_0x3a0361(0x307)](_0x54c1cd);_0x6e6f2b&&(_0x6e6f2b['dispose'](),this[_0x3a0361(0x189)]['delete'](_0x54c1cd)),this[_0x3a0361(0x3cc)][_0x3a0361(0x2dd)](_0x54c1cd),this['needSameDeleteModel'][_0x3a0361(0x222)](_0x3f1ed0=>{_0x3f1ed0['deleteUnitId'](_0x54c1cd);});}[_0x54f375(0x28b)](_0x9f9d91,_0xcaba3b,_0x188956,_0x322f72){const _0x2c5f5d=_0x54f375;return this['getDataFieldManager'](_0x188956['unitId'])[_0x2c5f5d(0x28b)](_0x9f9d91,_0xcaba3b,_0x188956,_0x322f72);}['createCollectionWithDataRange'](_0x1bcdf8){const _0x3d3092=_0x54f375;return this[_0x3d3092(0x309)](_0x1bcdf8[_0x3d3092(0x314)])[_0x3d3092(0x3aa)](_0x1bcdf8);}['refreshData'](_0x46fb45,_0x5e8411,_0x5b36cf){const _0x483979=_0x54f375;this['getDataFieldManager'](_0x5b36cf[_0x483979(0x314)])[_0x483979(0x2e9)](_0x46fb45,_0x5e8411,_0x5b36cf);}[_0x54f375(0x2a7)](_0x1574e2,_0xf0e231){const _0x54e1ed=_0x54f375;this[_0x54e1ed(0x309)](_0x1574e2)[_0x54e1ed(0x308)](_0xf0e231);}[_0x54f375(0x2d2)](_0xbac49c,_0x12a21a){const _0x4c576d=_0x54f375;this[_0x4c576d(0x309)](_0xbac49c)[_0x4c576d(0x258)](_0x12a21a);}[_0x54f375(0x1fd)](_0x2bdcd8,_0x4bb1a0){const _0x10e6c0=_0x54f375;var _0x15d364;return(_0x15d364=this[_0x10e6c0(0x271)][_0x10e6c0(0x307)](_0x2bdcd8))==null?void 0x0:_0x15d364[_0x10e6c0(0x307)](_0x4bb1a0);}[_0x54f375(0x324)](_0x1782de){const _0x605a0b=_0x54f375;for(const [_0x2b0803,_0x580f06]of this[_0x605a0b(0x271)][_0x605a0b(0x1d3)]())for(const [_0x3be9de,_0x36a488]of _0x580f06[_0x605a0b(0x1d3)]())if(_0x36a488[_0x605a0b(0x293)](_0x1782de))return{'unitId':_0x2b0803,'subUnitId':_0x3be9de};return null;}[_0x54f375(0x218)](_0x5f1841,_0x37515e,_0x196b61,_0x53d64c){const _0x36b6c9=_0x54f375,_0x2ae59d=this[_0x36b6c9(0x256)](_0x5f1841,_0x37515e);_0x53d64c?_0x2ae59d[_0x36b6c9(0x335)](_0x196b61,_0x53d64c):_0x2ae59d[_0x36b6c9(0x2dd)](_0x196b61),this[_0x36b6c9(0x37a)][_0x36b6c9(0x321)]({'unitId':_0x5f1841,'subUnitId':_0x37515e,'pivotTableId':_0x196b61});}[_0x54f375(0x369)](){const _0x4d8b39=_0x54f375;super[_0x4d8b39(0x369)]();}['getViewData'](_0x383f07,_0xb06650,_0x5661e1){const _0x338244=_0x54f375;var _0x574232,_0x1a3af1;const _0x454c96=(_0x1a3af1=(_0x574232=this[_0x338244(0x3cc)][_0x338244(0x307)](_0x383f07))==null?void 0x0:_0x574232[_0x338244(0x307)](_0xb06650))==null?void 0x0:_0x1a3af1[_0x338244(0x307)](_0x5661e1);return _0x454c96||null;}[_0x54f375(0x30d)](_0x4af1bd){const _0x26b7c6=_0x54f375;this[_0x26b7c6(0x199)](_0x4af1bd);}[_0x54f375(0x199)](_0x24fa33){const _0xadc07f=_0x54f375,{token:_0xf54eb5,unitId:_0x3f75cb,subUnitId:_0x1fd058}=_0x24fa33,_0x3c09e0=_0x3f75cb+'-'+_0x1fd058+'-'+_0xf54eb5;this[_0xadc07f(0x2ae)][_0xadc07f(0x307)](_0x3c09e0)&&clearTimeout(this[_0xadc07f(0x2ae)][_0xadc07f(0x307)](_0x3c09e0));const _0x47aa47=setTimeout(()=>{const _0x37b3df=_0xadc07f;this[_0x37b3df(0x27b)](_0x24fa33),this['_queryingMap'][_0x37b3df(0x2dd)](_0x3c09e0);},Pi);this[_0xadc07f(0x2ae)][_0xadc07f(0x335)](_0x3c09e0,_0x47aa47);}['queryDirtyPivotTable'](_0x31c409){const _0x3de515=_0x54f375,{unitId:_0x9412ca,subUnitId:_0x2a1d2f,token:_0x5de09e,type:_0x569b27,pivotConfig:_0x37f0f5}=_0x31c409,_0x440758=this['getPivotTableInstance'](_0x5de09e),_0x1f55b7=_0x440758==null?void 0x0:_0x440758[_0x3de515(0x2c9)](),_0x38cbf3=_0x37f0f5!=null?_0x37f0f5:this[_0x3de515(0x3f5)](_0x9412ca,_0x2a1d2f,_0x5de09e);_0x38cbf3&&(_0x38cbf3[_0x3de515(0x208)]=!!(_0x440758!=null&&_0x440758[_0x3de515(0x208)]())),(_0x1f55b7||_0x569b27===L[_0x3de515(0x2f6)])&&this[_0x3de515(0x27c)](_0x9412ca,_0x2a1d2f,_0x569b27,_0x5de09e,_0x1f55b7,_0x38cbf3,this[_0x3de515(0x309)](_0x9412ca)[_0x3de515(0x1dd)]());}['toJSON'](_0x3b9c7a){const _0x14e407=_0x54f375,_0x121aba={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x14e407(0x309)](_0x3b9c7a)&&(_0x121aba[_0x14e407(0x30c)][_0x3b9c7a]=this[_0x14e407(0x309)](_0x3b9c7a)[_0x14e407(0x1dd)]()),this['_model']['get'](_0x3b9c7a)){_0x121aba['pivotTableConfigs'][_0x3b9c7a]={};const _0x4355d7=this[_0x14e407(0x271)][_0x14e407(0x307)](_0x3b9c7a);_0x4355d7!=null&&_0x4355d7['size']&&[..._0x4355d7[_0x14e407(0x33d)]()][_0x14e407(0x222)](_0x48a20e=>{const _0x2b8856=_0x14e407,_0x45672a=_0x4355d7['get'](_0x48a20e);_0x45672a!=null&&_0x45672a[_0x2b8856(0x3c1)]&&(_0x121aba['pivotTableConfigs'][_0x3b9c7a][_0x48a20e]={},[..._0x45672a['keys']()][_0x2b8856(0x222)](_0x5440df=>{const _0xfcc860=_0x2b8856,_0x2c4e9d=_0x45672a['get'](_0x5440df);_0x2c4e9d&&(_0x121aba[_0xfcc860(0x392)][_0x3b9c7a][_0x48a20e][_0x5440df]=_0x2c4e9d);}));});}return _0x121aba;}[_0x54f375(0x185)](_0x1e25d9){const _0x388740=_0x54f375;var _0xc9bff2;const {dataFieldManagerConfig:_0x2b3ecc,pivotTableConfigs:_0x31823b}=_0x1e25d9;_0x2b3ecc&&Object[_0x388740(0x33d)](_0x2b3ecc)['forEach'](_0x6a29d1=>{const _0x159afb=_0x388740;this[_0x159afb(0x309)](_0x6a29d1)[_0x159afb(0x185)](_0x2b3ecc[_0x6a29d1]);});const _0x27898d=[];if(_0x31823b){const _0x1d8740=(_0xc9bff2=this[_0x388740(0x262)][_0x388740(0x307)](_0x4abb7e)[_0x388740(0x197)](_0x108a0a))!=null?_0xc9bff2:{},{ls:_0x2e6954,pbk:_0x5772fd}=_0x1d8740,_0x336cc1=go(so,_0x2e6954,_0x5772fd)[_0x388740(0x363)];Object[_0x388740(0x33d)](_0x31823b)[_0x388740(0x222)](_0x9a25be=>{const _0x48cadb=_0x388740;let _0x95c188=0x0;const _0x61333a=_0x31823b[_0x9a25be];Object[_0x48cadb(0x33d)](_0x61333a)[_0x48cadb(0x222)](_0x57b2c2=>{const _0x2dc764=_0x48cadb,_0x400878=_0x61333a[_0x57b2c2];Object[_0x2dc764(0x33d)](_0x400878)[_0x2dc764(0x222)](_0x4bc557=>{const _0x50baa8=_0x2dc764,_0x2e1111=_0x400878[_0x4bc557];if(_0x2e1111){if(_0x95c188>=_0x336cc1)return;_0x95c188++;const _0x2af350=this['getDataFieldManager'](_0x9a25be),_0x401167=_0x2af350[_0x50baa8(0x28a)][_0x4bc557],_0x3f4060=_0x401167['getFieldIds']();let _0x1ee684=0x0;const _0x202f96=[];for(const _0x46d32f of _0x3f4060){const _0x1b93ec=_0x401167[_0x50baa8(0x2f9)](_0x46d32f);if(_0xb44e9d(_0x1b93ec)){const _0x5c2652=_0x1b93ec[_0x50baa8(0x1dc)](),_0x777349=_0x401167[_0x50baa8(0x2f9)](_0x5c2652);_0x777349&&_0x202f96[_0x50baa8(0x342)]([_0x1b93ec,_0x777349]);continue;}_0x2af350[_0x50baa8(0x3bc)](_0x46d32f,_0x2e1111['sourceRangeInfo'],_0x1ee684),_0x1ee684++;}_0x202f96['forEach'](([_0x2ea376,_0x37385d])=>{_0x2ea376['refreshGroupField'](_0x37385d);});const _0x3058e9=new _0x324108(_0x401167);_0x3058e9[_0x50baa8(0x185)](_0x2e1111[_0x50baa8(0x2de)]),this[_0x50baa8(0x266)](_0x9a25be,_0x57b2c2,_0x4bc557,_0x3058e9,_0x2e1111);const _0x310ca2=_0x3058e9[_0x50baa8(0x2c9)]();_0x27898d[_0x50baa8(0x342)]({'unitId':_0x9a25be,'subUnitId':_0x57b2c2,'pivotTableId':_0x4bc557,'view':_0x310ca2[_0x50baa8(0x1dd)](),'pivotConfig':_0x2e1111,'type':L[_0x50baa8(0x1ee)]});const _0xa8e57f=!!_0x3058e9[_0x50baa8(0x208)](),_0x994480={'view':_0x310ca2,'pivotTableId':_0x4bc557,'textInfo':this[_0x50baa8(0x279)](),'isEmpty':_0xa8e57f,'targetCellInfo':_0x2e1111[_0x50baa8(0x196)]};this[_0x50baa8(0x27d)](_0x994480,!0x1);}});});});}_0x2b3ecc&&Object[_0x388740(0x33d)](_0x2b3ecc)[_0x388740(0x222)](_0x2806a1=>{const _0x45f022=_0x388740,_0x1377bd=this['getDataFieldManager'](_0x2806a1);this[_0x45f022(0x3b2)][_0x45f022(0x321)](_0x1377bd[_0x45f022(0x28a)]);}),this['_commandService'][_0x388740(0x255)](Dt['id'],{'batch':_0x27898d,'collectionConfig':_0x2b3ecc},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x5e0bcc=_0x54f375;this['disposeWithMe'](this[_0x5e0bcc(0x250)][_0x5e0bcc(0x207)]({'toJson':_0x1f6732=>JSON[_0x5e0bcc(0x22a)](this[_0x5e0bcc(0x1dd)](_0x1f6732)),'parseJson':_0x5ce60a=>{const _0xe833fc=_0x5e0bcc;if(!_0x5ce60a)return{};try{return JSON[_0xe833fc(0x311)](_0x5ce60a);}catch{return{};}},'businesses':[_0x3fbbcd[_0x5e0bcc(0x1a5)]],'pluginName':ao,'onLoad':(_0x43f153,_0x32199e)=>{this['fromJSON'](_0x32199e);},'onUnLoad':_0x59df71=>{const _0x3652b8=_0x5e0bcc;this[_0x3652b8(0x227)](_0x59df71);}}));}};B=Ui([Ge(0x0,_0x10cdc3(_0x500674)),Ge(0x1,_0x5f5304),Ge(0x2,_0x10cdc3(_0x395841)),Ge(0x3,_0x4abb7e),Ge(0x4,_0x384d05),Ge(0x5,_0x10cdc3(_0x2f810a))],B);const Vi={0x0:{0x0:{'v':_0x54f375(0x1e2),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x54f375(0x343),'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':_0x54f375(0x219),'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':_}}},Ht={'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':[]},Wo=(_0x37d7b6,_0x46b031)=>{const _0x3bb66c=_0x54f375,_0x47ffa9=new _0x4491c3(),_0x4381b5=new _0x4491c3(Vi),{row:_0x49c40b,col:_0x316fbb}=_0x46b031;_0x4381b5[_0x3bb66c(0x380)]((_0x187b42,_0x5ba9d4,_0x3a3b40)=>{const _0x4742a4=_0x3bb66c;let _0x2285b7='';_0x3a3b40['v']==='filter'?_0x2285b7=_0x37d7b6['filter']:_0x3a3b40['v']===_0x4742a4(0x219)?_0x2285b7=_0x37d7b6[_0x4742a4(0x219)]:_0x3a3b40['v']==='column'?_0x2285b7=_0x37d7b6[_0x4742a4(0x343)]:_0x3a3b40['v']===_0x4742a4(0x253)&&(_0x2285b7=_0x37d7b6['values']),_0x47ffa9[_0x4742a4(0x3ed)](_0x187b42+_0x49c40b,_0x5ba9d4+_0x316fbb,{..._0x3a3b40,'v':_0x2285b7});});const _0x202640=_0x58ff87[_0x3bb66c(0x2ee)](Ht);return Object[_0x3bb66c(0x33d)](Ht)[_0x3bb66c(0x222)](_0x55c95c=>{const _0x3e5609=_0x3bb66c;_0x202640[_0x55c95c]=Ht[_0x55c95c]['map'](_0x3bfa4f=>({..._0x3bfa4f,'startRow':_0x3bfa4f[_0x3e5609(0x304)]+_0x49c40b,'endRow':_0x3bfa4f[_0x3e5609(0x1ad)]+_0x49c40b,'startColumn':_0x3bfa4f[_0x3e5609(0x213)]+_0x316fbb,'endColumn':_0x3bfa4f[_0x3e5609(0x3fa)]+_0x316fbb}));}),{'matrixCache':_0x47ffa9,'rangesCache':_0x202640};};function Ei(_0x37ef09,_0x5036df){const _0x2975c9=_0x54f375;let _0x2bb452='';const _0x18c155=this[_0x2975c9(0x279)]();switch(_0x5036df){case _0x5aa406[_0x2975c9(0x22e)]:_0x2bb452=_0x18c155['sheets-pivot.averageName']+_0x37ef09;break;case _0x5aa406[_0x2975c9(0x363)]:_0x2bb452=_0x18c155['sheets-pivot.countName']+_0x37ef09;break;case _0x5aa406[_0x2975c9(0x1b6)]:_0x2bb452=_0x18c155[_0x2975c9(0x388)]+_0x37ef09;break;case _0x5aa406[_0x2975c9(0x349)]:_0x2bb452=_0x18c155[_0x2975c9(0x2c7)]+_0x37ef09;break;case _0x5aa406['min']:_0x2bb452=_0x18c155[_0x2975c9(0x251)]+_0x37ef09;break;case _0x5aa406[_0x2975c9(0x36f)]:_0x2bb452=_0x18c155[_0x2975c9(0x347)]+_0x37ef09;break;case _0x5aa406[_0x2975c9(0x1da)]:_0x2bb452=_0x18c155['sheets-pivot.stdDevName']+_0x37ef09;break;case _0x5aa406[_0x2975c9(0x2bb)]:_0x2bb452=_0x18c155[_0x2975c9(0x37d)]+_0x37ef09;break;case _0x5aa406[_0x2975c9(0x1c8)]:_0x2bb452=_0x18c155[_0x2975c9(0x284)]+_0x37ef09;break;case _0x5aa406[_0x2975c9(0x1d9)]:_0x2bb452=_0x18c155[_0x2975c9(0x29a)]+_0x37ef09;break;case _0x5aa406['varp']:_0x2bb452=_0x18c155[_0x2975c9(0x210)]+_0x37ef09;break;default:_0x2bb452=_0x37ef09;break;}return _0x2bb452;}function xi(_0x522f78,_0x4822c8,_0x1f1fff,_0x4f3df6,_0x35a073){const _0x227238=_0x54f375;var _0x8aa932,_0x48e895,_0x4eca8b,_0x2ea00c,_0x26cb20;const _0x11fb70=_0x7efa08(_0x522f78,_0x4822c8),{rangesInfo:_0x55602a,areaInfo:_0x34af0e,headerMap:_0x5782b4}=_0x35a073;if(!_0x55602a||!_0x34af0e||!_0x5782b4)return;const _0x12bcff=Object[_0x227238(0x33d)](_0x55602a)['find'](_0x5ca0f3=>_0x55602a[_0x5ca0f3]['some'](_0x166566=>_0x5de3db[_0x227238(0x2ff)](_0x166566,_0x11fb70))),_0x4432ab=_0x34af0e;let _0x48f952,_0x1d33ba,_0x5bfa32;if(_0x12bcff===_0x227238(0x3d5))_0x48f952=(_0x8aa932=_0x4432ab==null?void 0x0:_0x4432ab[_0x227238(0x289)])==null?void 0x0:_0x8aa932[_0x522f78],_0x1d33ba=(_0x48e895=_0x5782b4==null?void 0x0:_0x5782b4[_0x227238(0x21f)])==null?void 0x0:_0x48e895[_0x4822c8],_0x5bfa32=_0x1d33ba==null?void 0x0:_0x1d33ba['tableFieldId'];else{if(_0x12bcff===_0x227238(0x1c6))_0x48f952=(_0x4eca8b=_0x4432ab==null?void 0x0:_0x4432ab[_0x227238(0x338)])==null?void 0x0:_0x4eca8b[_0x4822c8],_0x1d33ba=(_0x2ea00c=_0x5782b4[_0x227238(0x375)])==null?void 0x0:_0x2ea00c[_0x522f78+0x1+_0x4822c8-_0x55602a['colRanges'][0x0]['startColumn']],_0x5bfa32=_0x1d33ba==null?void 0x0:_0x1d33ba['tableFieldId'];else{if(_0x12bcff===_0x227238(0x1a2))_0x48f952=(_0x26cb20=_0x4432ab==null?void 0x0:_0x4432ab['cornerInfo'])==null?void 0x0:_0x26cb20[_0x4822c8],_0x5bfa32=_0x48f952==null?void 0x0:_0x48f952[_0x227238(0x2cc)];else{if(_0x12bcff===_0x227238(0x31d)){const _0x3d4d19=_0x1f1fff==null?void 0x0:_0x1f1fff['fi'];_0x3d4d19!==void 0x0&&(_0x5bfa32=_0x4f3df6[_0x227238(0x2fc)](_0x3d4d19));}}}}return{'filterId':_0x5bfa32,'info':_0x48f952,'data':_0x1f1fff,'headerInfo':_0x1d33ba};}function Oi(_0x2fa248,_0x2984c3,_0x5dbc09){const _0x21f923=_0x54f375,_0x552874=_0x2fa248[_0x21f923(0x252)],_0x346c2e=_0x552874[_0x21f923(0x34d)](),_0x479fe8=new Set();_0x2fa248['iterateField'](_0x444c1e=>{const _0x49e625=_0x21f923;_0x479fe8['add'](_0x444c1e[_0x49e625(0x1f7)]);});const _0x13c7a4=_0x346c2e[_0x21f923(0x274)](_0x554b3a=>{const _0x19d930=_0x21f923,_0x667d70=_0x552874[_0x19d930(0x2f9)](_0x554b3a);return{'checked':_0x479fe8[_0x19d930(0x293)](_0x554b3a),'dataFieldId':_0x667d70['id'],'id':_0x667d70['id'],'name':_0x552874['getDisplayName'](_0x667d70['id']),'type':_0x667d70[_0x19d930(0x286)](),'pivotTableId':_0x2984c3};}),_0x55eab6=[];_0x2fa248[_0x21f923(0x288)](_0x4baac8[_0x21f923(0x38e)],_0x1c0e59=>{const _0x546343=_0x21f923;_0x55eab6[_0x546343(0x342)]({'dataFieldId':_0x1c0e59[_0x546343(0x1f7)],'tableFieldId':_0x1c0e59[_0x546343(0x37f)](),'displayName':_0x1c0e59[_0x546343(0x393)]()});});const _0x34c461=[];_0x2fa248['iterateFieldByArea'](_0x4baac8[_0x21f923(0x29b)],_0x4fcf9e=>{const _0x39c6ff=_0x21f923;_0x34c461[_0x39c6ff(0x342)]({'dataFieldId':_0x4fcf9e['dataFieldId'],'tableFieldId':_0x4fcf9e[_0x39c6ff(0x37f)](),'displayName':_0x4fcf9e[_0x39c6ff(0x393)]()});});const _0x186140=[];if(_0x2fa248[_0x21f923(0x288)](_0x4baac8[_0x21f923(0x385)],_0x3a0b22=>{const _0x431cdc=_0x21f923;_0x186140[_0x431cdc(0x342)]({'dataFieldId':_0x3a0b22[_0x431cdc(0x1f7)],'tableFieldId':_0x3a0b22['getId'](),'displayName':_0x3a0b22['getDisplayName'](),'format':_0x3a0b22[_0x431cdc(0x1bf)](),'subTotalType':_0x3a0b22[_0x431cdc(0x39b)]()});}),_0x186140[_0x21f923(0x2e5)]>0x1){const _0x4de145=_0x2fa248[_0x21f923(0x3d2)]();(_0x2fa248[_0x21f923(0x3a6)]()?_0x34c461:_0x55eab6)[_0x21f923(0x38a)](_0x4de145,0x0,{'dataFieldId':'','tableFieldId':_0x21f923(0x21b),'displayName':_0x21f923(0x3f4)});}const _0x1c19de=[];_0x2fa248['iterateFieldByArea'](_0x4baac8['Filter'],_0x584a57=>{const _0x3ed917=_0x21f923;_0x1c19de[_0x3ed917(0x342)]({'dataFieldId':_0x584a57[_0x3ed917(0x1f7)],'tableFieldId':_0x584a57[_0x3ed917(0x37f)](),'displayName':_0x584a57[_0x3ed917(0x393)]()});});const _0xc5f7ea=_0x5dbc09[_0x21f923(0x3a8)];return{'sourceList':_0x13c7a4,'sourceRange':_0xc5f7ea,'rowFields':_0x55eab6,'columnFields':_0x34c461,'valueFields':_0x186140,'filterFields':_0x1c19de,'positionInfo':_0x5dbc09[_0x21f923(0x196)]};}function fo(_0x3723b6,_0x23310a,_0x3b467c='',_0x4b1f1a={}){const _0x1d8d40=_0x54f375,_0x5be354=_0x3723b6['get'](_0x15fb78);for(const _0x112042 in _0x23310a)if(Object[_0x1d8d40(0x1ef)]['hasOwnProperty'][_0x1d8d40(0x2ac)](_0x23310a,_0x112042)){const _0x7b7734=_0x3b467c?_0x3b467c+'.'+_0x112042:_0x112042;typeof _0x23310a[_0x112042]==_0x1d8d40(0x319)&&_0x23310a[_0x112042]!==null&&!Array['isArray'](_0x23310a[_0x112042])?fo(_0x3723b6,_0x23310a[_0x112042],_0x7b7734,_0x4b1f1a):_0x4b1f1a[_0x7b7734]=_0x5be354['t'](_0x7b7734);}return _0x4b1f1a;}const Lt=_0x36f4dc=>{const _0x1be7b7=_0x54f375;if(!_0x36f4dc)return[];const {rowRanges:_0xa8fffb,colRanges:_0x32d483,cornerRanges:_0x3365b1,dataRanges:_0x4f067a,pageRanges:_0xb0fb15}=_0x36f4dc,_0x2eb0ce=[..._0x32d483,..._0xa8fffb,..._0x4f067a,..._0x3365b1][_0x1be7b7(0x1e2)](_0x3e2829=>_0x3e2829['startRow']>=0x0&&_0x3e2829[_0x1be7b7(0x213)]>=0x0&&_0x3e2829[_0x1be7b7(0x1ad)]>=0x0&&_0x3e2829[_0x1be7b7(0x3fa)]>=0x0);let _0x23699e=Number['MAX_SAFE_INTEGER'],_0x425a74=Number[_0x1be7b7(0x2f0)],_0x485c6b=Number[_0x1be7b7(0x3a5)],_0x2b2ed3=Number[_0x1be7b7(0x2f0)];for(let _0x42b7fa=0x0;_0x42b7fa<_0x2eb0ce['length'];_0x42b7fa++)_0x23699e=Math[_0x1be7b7(0x2b1)](_0x23699e,_0x2eb0ce[_0x42b7fa][_0x1be7b7(0x304)]),_0x425a74=Math['max'](_0x425a74,_0x2eb0ce[_0x42b7fa][_0x1be7b7(0x1ad)]),_0x485c6b=Math[_0x1be7b7(0x2b1)](_0x485c6b,_0x2eb0ce[_0x42b7fa][_0x1be7b7(0x213)]),_0x2b2ed3=Math['max'](_0x2b2ed3,_0x2eb0ce[_0x42b7fa][_0x1be7b7(0x3fa)]);return[..._0xb0fb15,{'startRow':_0x23699e,'endRow':_0x425a74,'startColumn':_0x485c6b,'endColumn':_0x2b2ed3}];};function Ai(_0xde8c71,_0x1ded0f){const _0x18a5b4=_0x54f375,_0x22d3af=_0x1ded0f[_0x18a5b4(0x323)]['drillDown'],{pivotTableId:_0x22a9d1,unitId:_0x491a0d,subUnitId:_0x5e7f14}=_0x1ded0f;if(!_0x22d3af)return;const _0x845683=_0xde8c71[_0x18a5b4(0x307)](B),_0x2e280c=_0x845683[_0x18a5b4(0x37e)](_0x22a9d1),_0x2c1516=_0x845683['getPivotTableConfig'](_0x491a0d,_0x5e7f14,_0x22a9d1);if(!_0x2e280c||!_0x2c1516)return;const _0x4ab069=_0x2e280c[_0x18a5b4(0x2c8)](_0x22d3af['tuple']);if(!(_0x4ab069!=null&&_0x4ab069['length']))return;const _0x1d93c1=_0x2c1516[_0x18a5b4(0x3a8)],{unitId:_0x561683,subUnitId:_0x1de9c9,range:_0x25b2ea}=_0x1d93c1;let _0x3946f8=0x0;const _0x456ed7=_0x2e280c['dataFieldsCollection']['getFieldIds']()['reduce']((_0x30dfc1,_0x2e2a69)=>{const _0x32391a=_0x18a5b4;var _0x505b36;const _0x2d7e8f=(_0x505b36=_0x2e280c['getDataFieldByDataFieldId'](_0x2e2a69))==null?void 0x0:_0x505b36[_0x32391a(0x34f)]();return _0x2d7e8f&&(_0x30dfc1[String(_0x3946f8)]=_0x2d7e8f),_0x3946f8++,_0x30dfc1;},{});return{'indexes':_0x4ab069,'range':_0x25b2ea,'sourceUnitId':_0x561683,'sourceSubUnitId':_0x1de9c9,'formatMap':_0x456ed7};}function Go(_0x3fab76,_0x6efd31){const _0x53f4f8=_0x54f375;if(!_0x3fab76||!_0x6efd31)return!0x0;const _0x188219=_0x124923(jo,$o),_0x1aa696=new Function(_0x53f4f8(0x33f)+_0x188219)()(_0x3fab76,_0x6efd31)['message'],_0x5bc9a3=_0x5cffa6(_0x1aa696,'sf',ko);return!((_0x1aa696==null?void 0x0:_0x1aa696['rt'])===_0x3c368f[_0x53f4f8(0x1d2)]&&!_0x5bc9a3);}function go(_0x30e6bc,_0x1d36b5,_0x38690e){const _0x166802=_0x54f375,_0xd29fe8={'count':_0x30e6bc,'timeValid':!0x1};if(!_0x1d36b5||!_0x38690e)return _0xd29fe8;const _0x37ff03=_0x124923(jo,$o),_0xd2d919=new Function(_0x166802(0x33f)+_0x37ff03)()(_0x1d36b5,_0x38690e);if(_0xd2d919!=null&&_0xd2d919[_0x166802(0x1c0)]){const _0x40f539=_0xd2d919[_0x166802(0x3d6)],_0x40c65b=_0x5cffa6(_0x40f539,'sf',ko);return{'count':_0x3a48b4(_0x40f539,_0x40c65b,_0x166802(0x214),_0x30e6bc,_0x30e6bc,0x0),'timeValid':_0x40c65b};}return _0xd29fe8;}function Ko(_0x390e31,_0x3eae17,_0x334252,_0x337257){const _0x10f052=_0x54f375,_0x154344={'subUnitId':_0x334252,'unitId':_0x3eae17,'cellValue':_0x1c1b82(_0x337257)},_0x36b34c=_0x4de9e1(_0x390e31,_0x154344);let _0x30f18e=!0x1;return new _0x4491c3(_0x36b34c[_0x10f052(0x1bc)])['forValue']((_0x53202b,_0x46741e,_0x4c803f)=>{const _0x29518b=_0x10f052;if(!_0x30f18e&&_0x4c803f&&(_0x4c803f[_0x29518b(0x327)]||_0x4c803f['f']||_0x4c803f['p']||_0x4c803f['s']||_0x4c803f['si']||_0x4c803f['t']||_0x4c803f['v']))return _0x30f18e=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x495914['id'],'params':_0x36b34c},'setRangeValueRedoMutation':{'id':_0x495914['id'],'params':_0x154344},'shouldClear':_0x30f18e};}function ki(_0x173d88){const {row:_0x12cb4d,col:_0x3991cf}=_0x173d88,_0x129983={'startRow':_0x12cb4d,'endRow':_0x12cb4d,'startColumn':_0x3991cf,'endColumn':_0x3991cf},_0x199fef={'startRow':_0x12cb4d+0x2,'endRow':_0x12cb4d+0xe,'startColumn':_0x3991cf,'endColumn':_0x3991cf+0x6};return[_0x129983,_0x199fef];}function Ji(_0x3c8fac,_0x2af4fb,_0x28c1b8){const _0x2ccec2=_0x54f375,{cornerView:_0x28d2c6,rowView:_0x42b3dd,colView:_0x50b902,pageView:_0x15c36f}=_0x3c8fac,{row:_0x4b8a4e,col:_0x47a581}=_0x2af4fb;if(_0x28c1b8)return{'rowCount':bi+_0x4b8a4e,'colCount':Si+_0x47a581};const _0x1313d9=_0x15c36f['lastRow']>-0x1?_0x15c36f[_0x2ccec2(0x3ce)]+0x1:0x0,_0x5c57dd=_0x15c36f['lastCol']>-0x1?_0x15c36f['lastCol']:0x0,_0xaa8b87=_0x4b8a4e+_0x1313d9+(_0x1313d9?0x1:0x0)+_0x28d2c6[_0x2ccec2(0x39e)]+_0x42b3dd[_0x2ccec2(0x39e)],_0x3e8d38=_0x47a581+_0x5c57dd,_0x5a4e17=_0x47a581+_0x28d2c6[_0x2ccec2(0x2e3)]+_0x50b902[_0x2ccec2(0x2e3)],_0x5cf89d=Math[_0x2ccec2(0x349)](_0x3e8d38,_0x5a4e17);return{'rowCount':_0xaa8b87,'colCount':_0x5cf89d};}function we(_0x3866b1,_0x572b09,_0x2f6542,_0x3fce32){const _0x187de1=_0x54f375,{row:_0x1d2bae,col:_0x44103a,unitId:_0x218798,subUnitId:_0x5e71ea}=_0x2f6542,_0x245ad8=Ji(_0x572b09,{'row':_0x1d2bae,'col':_0x44103a},_0x3fce32),_0xeed8b3=_0x3866b1[_0x187de1(0x307)](_0x5f5304),_0x58a1f9=_0x4ea6fa(_0xeed8b3,{'unitId':_0x218798,'subUnitId':_0x5e71ea}),_0x197616=[],_0x55545b=[];if(!_0x58a1f9)return{'undos':_0x55545b,'redos':_0x197616};const {worksheet:_0x6a155a}=_0x58a1f9,_0x4f2a08=_0x6a155a[_0x187de1(0x29f)](),_0x96234d=_0x6a155a[_0x187de1(0x3cf)]();return _0x4f2a08<_0x245ad8[_0x187de1(0x39e)]&&(_0x197616[_0x187de1(0x342)]({'id':_0x515cff['id'],'params':{'unitId':_0x218798,'subUnitId':_0x5e71ea,'range':{'startRow':_0x4f2a08,'endRow':_0x245ad8['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x96234d-0x1}}}),_0x55545b['push']({'id':_0x35055f['id'],'params':{'unitId':_0x218798,'subUnitId':_0x5e71ea,'range':{'startRow':_0x4f2a08,'endRow':_0x245ad8[_0x187de1(0x39e)]-0x1,'startColumn':0x0,'endColumn':_0x96234d-0x1}}})),_0x96234d<_0x245ad8['colCount']&&(_0x197616[_0x187de1(0x342)]({'id':_0x3b6bb2['id'],'params':{'unitId':_0x218798,'subUnitId':_0x5e71ea,'range':{'startRow':0x0,'endRow':_0x4f2a08-0x1,'startColumn':_0x96234d,'endColumn':_0x245ad8[_0x187de1(0x2e3)]-0x1}}}),_0x55545b[_0x187de1(0x342)]({'id':_0x2e750a['id'],'params':{'unitId':_0x218798,'subUnitId':_0x5e71ea,'range':{'startRow':0x0,'endRow':_0x4f2a08-0x1,'startColumn':_0x96234d,'endColumn':_0x245ad8[_0x187de1(0x2e3)]-0x1}}})),{'undos':_0x55545b,'redos':_0x197616};}function Hi(_0x330fd4){const _0x5d9307=_0x54f375;let _0x40bd48=0x0;for(let _0x57f20c=0x0;_0x57f20c<_0x330fd4[_0x5d9307(0x2e5)];_0x57f20c++){const _0x5a2cf0=_0x330fd4['charCodeAt'](_0x57f20c);_0x5a2cf0>=0x4e00&&_0x5a2cf0<=0x9fff||_0x5a2cf0>=0x3000&&_0x5a2cf0<=0x303f||_0x5a2cf0>=0xff00&&_0x5a2cf0<=0xffef?_0x40bd48+=0x2:_0x40bd48+=0x1;}return _0x40bd48;}function To(_0x43f584,_0x5e6f9e,_0x5d8593,_0x550c68){const _0x3a803c=_0x54f375;var _0x827918,_0x100f17,_0x2e0f07,_0x56ff3e;const {rowCount:_0x569e94,colCount:_0x379c37,headerMap:_0x2f360d}=_0x43f584,_0x1b8fea=0x64,_0x142ebb=Math[_0x3a803c(0x2b1)](_0x569e94,_0x1b8fea),_0x2e9b59=Math[_0x3a803c(0x2b1)](_0x379c37,_0x1b8fea);let _0x800f64='',_0x437a0a=0x0;for(let _0x53eac6=0x0;_0x53eac6<_0x142ebb;_0x53eac6++)for(let _0x564bf7=0x0;_0x564bf7<_0x2e9b59;_0x564bf7++){const _0x8b2857={...(_0x100f17=(_0x827918=_0x43f584[_0x3a803c(0x1d5)])==null?void 0x0:_0x827918[_0x53eac6])==null?void 0x0:_0x100f17[_0x564bf7]},_0x36d117=(_0x2e0f07=_0x2f360d[_0x53eac6])==null?void 0x0:_0x2e0f07[_0x3a803c(0x2cc)],_0xaa7f98=_0x550c68[_0x36d117];let _0x4ed948=_0x43f584['getValue'](_0x53eac6,_0x564bf7);if(_0x8b2857){const _0x3c2617=_0x5d8593?_0x564bf7===0x0&&((_0x56ff3e=_0x43f584[_0x3a803c(0x267)](_0x564bf7+0x1))==null?void 0x0:_0x56ff3e[_0x3a803c(0x263)]):!0x1;_0x4ed948=vt(_0x8b2857,_0x3c2617,_0xaa7f98,_0x5e6f9e);}if(_0x4ed948!==void 0x0){const _0x34ec82=Hi(String(_0x4ed948));_0x437a0a<_0x34ec82&&(_0x800f64=String(_0x4ed948),_0x437a0a=_0x34ec82);}}return _0x800f64;}function Li(_0x581a25){const _0x1cc272=_0x54f375,{rowCount:_0x46e7d6,colCount:_0x4dd1ba}=_0x581a25;let _0x4a7685='',_0x399bf8=0x0;for(let _0x3d2065=_0x46e7d6-0x1;_0x3d2065>0x0&&_0x3d2065>_0x46e7d6-0x3;_0x3d2065--)for(let _0x528c8a=0x0;_0x528c8a<_0x4dd1ba;_0x528c8a++){const _0x33892a=_0x581a25['getValue'](_0x3d2065,_0x528c8a);if(_0x33892a!==void 0x0){const _0x25bc67=String(_0x33892a)[_0x1cc272(0x2e5)];_0x399bf8<_0x25bc67&&(_0x4a7685=String(_0x33892a),_0x399bf8=_0x25bc67);}}return _0x4a7685;}function Bi(_0x5c6071){const _0x1ae2db=_0x54f375,{rowCount:_0x52a4c9,colCount:_0x43bc80}=_0x5c6071;let _0x2e852c='',_0x546a7f=0x0;for(let _0x3d29c8=0x0;_0x3d29c8<_0x52a4c9;_0x3d29c8++)for(let _0xf7fe20=0x0;_0xf7fe20<_0x43bc80;_0xf7fe20++){const _0x519623=_0x5c6071[_0x1ae2db(0x383)](_0x3d29c8,_0xf7fe20);if(_0x519623!==void 0x0){const _0x4d40af=String(_0x519623)[_0x1ae2db(0x2e5)];_0x546a7f<_0x4d40af&&(_0x2e852c=String(_0x519623),_0x546a7f=_0x4d40af);}}return _0x2e852c;}function $i(_0x32486b,_0x4cf121){const _0x2b388a=_0x54f375,{rowFields:_0x4f7d09,columnFields:_0x4b0f76,valueFields:_0x3d18fd,filterFields:_0x436d93,dimension:_0x187d31,measure:_0x6f3dfb}=_0x4cf121;for(const _0x5989fc of _0x4f7d09){const _0xaf32ae=_0x187d31[_0x5989fc];_0xaf32ae&&_0x32486b[_0x2b388a(0x37b)](_0xaf32ae['dataFieldId'])&&(_0x32486b[_0x2b388a(0x366)](_0xaf32ae['dataFieldId'],_0x4baac8['Row'],void 0x0,_0x5989fc),_0xaf32ae[_0x2b388a(0x2d8)]&&_0x32486b['renameField'](_0xaf32ae['id'],_0xaf32ae[_0x2b388a(0x2d8)]),_0xaf32ae['sortInfo']&&_0x32486b[_0x2b388a(0x25b)](_0xaf32ae['id'],_0xaf32ae[_0x2b388a(0x1ac)]),_0xaf32ae[_0x2b388a(0x2b4)]&&_0x32486b[_0x2b388a(0x2ba)](_0xaf32ae['id'],_0xaf32ae[_0x2b388a(0x2b4)]));}for(const _0xdf485f of _0x4b0f76){const _0x41ad89=_0x187d31[_0xdf485f];_0x41ad89&&_0x32486b['getDataFieldByDataFieldId'](_0x41ad89[_0x2b388a(0x1f7)])&&(_0x32486b[_0x2b388a(0x366)](_0x41ad89['dataFieldId'],_0x4baac8[_0x2b388a(0x29b)],void 0x0,_0xdf485f),_0x41ad89[_0x2b388a(0x1ac)]&&_0x32486b['setSortInfo'](_0x41ad89['id'],_0x41ad89[_0x2b388a(0x1ac)]),_0x41ad89[_0x2b388a(0x2b4)]&&_0x32486b[_0x2b388a(0x2ba)](_0x41ad89['id'],_0x41ad89[_0x2b388a(0x2b4)]),_0x41ad89[_0x2b388a(0x2d8)]&&_0x32486b[_0x2b388a(0x33a)](_0x41ad89['id'],_0x41ad89[_0x2b388a(0x2d8)]));}for(const _0x3cb4e1 of _0x436d93){const _0x28666c=_0x187d31[_0x3cb4e1];_0x28666c&&_0x32486b[_0x2b388a(0x37b)](_0x28666c['dataFieldId'])&&(_0x32486b[_0x2b388a(0x366)](_0x28666c[_0x2b388a(0x1f7)],_0x4baac8['Filter'],void 0x0,_0x3cb4e1),_0x28666c[_0x2b388a(0x1ac)]&&_0x32486b[_0x2b388a(0x25b)](_0x28666c['id'],_0x28666c[_0x2b388a(0x1ac)]),_0x28666c['filterInfo']&&_0x32486b[_0x2b388a(0x2ba)](_0x28666c['id'],_0x28666c[_0x2b388a(0x2b4)]),_0x28666c['displayName']&&_0x32486b['renameField'](_0x28666c['id'],_0x28666c[_0x2b388a(0x2d8)]));}for(const _0x430215 of _0x3d18fd){const _0x48c8a9=_0x6f3dfb[_0x430215];_0x48c8a9&&_0x32486b['getDataFieldByDataFieldId'](_0x48c8a9[_0x2b388a(0x1f7)])&&(_0x32486b[_0x2b388a(0x366)](_0x48c8a9[_0x2b388a(0x1f7)],_0x4baac8[_0x2b388a(0x385)],void 0x0,_0x430215),_0x48c8a9[_0x2b388a(0x331)]!==void 0x0&&_0x32486b[_0x2b388a(0x1b2)](_0x430215,_0x48c8a9[_0x2b388a(0x331)]),_0x48c8a9[_0x2b388a(0x203)]&&_0x32486b[_0x2b388a(0x1f4)](_0x430215,_0x48c8a9['format']),_0x48c8a9[_0x2b388a(0x2d8)]&&_0x32486b[_0x2b388a(0x33a)](_0x48c8a9['id'],_0x48c8a9[_0x2b388a(0x2d8)]));}const _0x326f14=_0x4cf121[_0x2b388a(0x1ea)];for(const {fieldId:_0x315801,filterInfo:_0x195607}of _0x326f14)_0x32486b[_0x2b388a(0x32a)](_0x315801,_0x195607);}function ji(_0x5dc902,_0x13ae92){const _0x2e8848=_0x54f375,_0x104ae3=[];_0x13ae92===_0x4baac8['Row']&&_0x5dc902[_0x2e8848(0x288)](_0x4baac8[_0x2e8848(0x38e)],_0x5ac3ba=>{const _0x537d84=_0x2e8848;_0x104ae3[_0x537d84(0x342)](_0x5ac3ba[_0x537d84(0x37f)]());}),_0x13ae92===_0x4baac8[_0x2e8848(0x29b)]&&_0x5dc902[_0x2e8848(0x288)](_0x4baac8['Column'],_0x37adce=>{const _0x306eca=_0x2e8848;_0x104ae3[_0x306eca(0x342)](_0x37adce[_0x306eca(0x37f)]());}),_0x13ae92===_0x4baac8[_0x2e8848(0x278)]&&_0x5dc902[_0x2e8848(0x288)](_0x4baac8[_0x2e8848(0x278)],_0x174f2e=>{const _0x45c15e=_0x2e8848;_0x104ae3[_0x45c15e(0x342)](_0x174f2e['getId']());}),_0x13ae92===_0x4baac8['Value']&&_0x5dc902[_0x2e8848(0x288)](_0x4baac8[_0x2e8848(0x385)],_0x38e028=>{const _0x912610=_0x2e8848;_0x104ae3[_0x912610(0x342)](_0x38e028[_0x912610(0x37f)]());}),_0x13ae92===void 0x0&&_0x5dc902['iterateField'](_0x508b67=>{const _0x25e0bb=_0x2e8848;_0x104ae3[_0x25e0bb(0x342)](_0x508b67[_0x25e0bb(0x37f)]());});const _0x5cd9e3=_0x104ae3[_0x2e8848(0x2e5)];for(let _0x627782=_0x5cd9e3-0x1;_0x627782>=0x0;_0x627782--)_0x5dc902['removeField'](_0x104ae3[_0x627782]);const _0x5a6186=_0x5dc902[_0x2e8848(0x248)]();for(const _0x4f0fb6 in _0x5a6186)_0x5dc902['removeValueFilterInfo'](_0x4f0fb6);}function Wi(_0x3f380b,_0x57e145){const _0x50cfcb=_0x54f375,_0x16b737=new Date(_0x1f778a(_0x57e145)),_0x57f268=new Date(_0x1f778a(_0x3f380b)),_0x281336=_0x16b737[_0x50cfcb(0x257)](),_0x1aa648=_0x57f268['getFullYear'](),_0x471dc8=_0x16b737[_0x50cfcb(0x25c)](),_0x10ac5b=_0x57f268[_0x50cfcb(0x25c)](),_0x3b1502=_0x16b737['getDate'](),_0x359fd0=_0x57f268[_0x50cfcb(0x26d)](),_0x470364=_0x281336===_0x1aa648,_0x1b756e=_0x470364&&_0x471dc8===_0x10ac5b;return _0x470364&&_0x1b756e&&!(_0x1b756e&&_0x3b1502===_0x359fd0)?_0x247aca['YearMonthDate']:_0x470364&&!_0x1b756e?_0x247aca[_0x50cfcb(0x1f6)]:_0x247aca['Year'];}function zo(_0x44192e,_0x309a1b){const _0x4001c9=_0x54f375,_0x547492=_0x44192e[_0x4001c9(0x307)](B)['getTextInfo']();let _0x2b08ad='';switch(_0x309a1b){case _0x247aca[_0x4001c9(0x2d7)]:_0x2b08ad=_0x547492['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x247aca[_0x4001c9(0x1f6)]:_0x2b08ad=_0x547492['sheets-pivot.dateGroup.yearMonth'];break;case _0x247aca[_0x4001c9(0x268)]:_0x2b08ad=_0x547492[_0x4001c9(0x28f)];break;case _0x247aca['Month']:_0x2b08ad=_0x547492[_0x4001c9(0x1cd)];break;case _0x247aca[_0x4001c9(0x362)]:_0x2b08ad=_0x547492['sheets-pivot.dateGroup.quarter'];break;case _0x247aca[_0x4001c9(0x298)]:_0x2b08ad=_0x547492['sheets-pivot.dateGroup.date'];break;case _0x247aca[_0x4001c9(0x1d1)]:_0x2b08ad=_0x547492[_0x4001c9(0x3c3)];break;case _0x247aca['Hour']:_0x2b08ad=_0x547492[_0x4001c9(0x25e)];break;case _0x247aca['Minute']:_0x2b08ad=_0x547492[_0x4001c9(0x2ef)];break;case _0x247aca['MonthDate']:_0x2b08ad=_0x547492[_0x4001c9(0x2da)];break;case _0x247aca['YearQuarter']:_0x2b08ad=_0x547492['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x2b08ad='';break;}return _0x2b08ad;}const qo=_0x54f375(0x2cb),yo={};var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x386294,_0x4457fc,_0x1e1290,_0x19509f)=>{const _0x869fd1=_0x54f375;for(var _0x46ad93=_0x19509f>0x1?void 0x0:_0x19509f?Gi(_0x4457fc,_0x1e1290):_0x4457fc,_0x472048=_0x386294[_0x869fd1(0x2e5)]-0x1,_0x214c24;_0x472048>=0x0;_0x472048--)(_0x214c24=_0x386294[_0x472048])&&(_0x46ad93=_0x214c24(_0x46ad93)||_0x46ad93);return _0x46ad93;},at=(_0x1c9c26,_0x551143)=>(_0x14e913,_0x120736)=>_0x551143(_0x14e913,_0x120736,_0x1c9c26);let ve=class extends _0x2e0af8{constructor(_0x49e6ea,_0x3fc350,_0x35ee85,_0x3b6be8,_0x5baa17){const _0x41164f=_0x54f375;super(),V(this,_0x41164f(0x271),new Map()),V(this,_0x41164f(0x397),new Map()),V(this,_0x41164f(0x2b2),new Map()),V(this,_0x41164f(0x36a),new Map()),V(this,'_configVersion$',new _0x3863f9()),V(this,_0x41164f(0x24a),new _0x3863f9()),V(this,_0x41164f(0x341),this['_pivotInitCompleted$'][_0x41164f(0x303)]()),V(this,_0x41164f(0x24e),new _0x3863f9()),V(this,_0x41164f(0x3f7),this['_pivotConfigChange$'][_0x41164f(0x303)]()),V(this,_0x41164f(0x394),{}),V(this,'configVersion$',this['_configVersion$'][_0x41164f(0x303)]()),(this[_0x41164f(0x262)]=_0x49e6ea,this[_0x41164f(0x2ab)]=_0x3fc350,this[_0x41164f(0x228)]=_0x35ee85,this[_0x41164f(0x250)]=_0x3b6be8,this['_configService']=_0x5baa17,this['_initLocale'](),this[_0x41164f(0x329)]());const _0x3dc43f=this[_0x41164f(0x259)][_0x41164f(0x197)](qo);(_0x3dc43f==null?void 0x0:_0x3dc43f[_0x41164f(0x3f1)])===!0x0&&this[_0x41164f(0x3a4)]();}[_0x54f375(0x329)](){const _0x275e52=_0x54f375;this[_0x275e52(0x3e3)](this['_univerInstanceService'][_0x275e52(0x2d5)](_0x3fbbcd['UNIVER_SHEET'])[_0x275e52(0x1fc)](_0x431414=>{const _0x465bfb=_0x275e52;this[_0x465bfb(0x227)](_0x431414[_0x465bfb(0x1c7)]());}));}[_0x54f375(0x3bb)](){const _0x4bc6f1=_0x54f375;this[_0x4bc6f1(0x24a)]['next'](!0x0);}[_0x54f375(0x370)](){const _0x489522=_0x54f375,_0x1b6895=fo(this['_injector'],Ho,'',{});this[_0x489522(0x394)]=_0x1b6895,this[_0x489522(0x2ab)]['executeCommand'](uo['id'],{'textInfo':_0x1b6895},{'onlyLocal':!0x0});}[_0x54f375(0x279)](){const _0x589644=_0x54f375;return this[_0x589644(0x394)];}[_0x54f375(0x1e6)](_0x1c711f,_0xd72fa2,_0x343932,_0x13dd97,_0x54b871){const _0x2ddc98=_0x54f375;this[_0x2ddc98(0x272)](_0x1c711f,_0xd72fa2,_0x343932,_0x13dd97),this[_0x2ddc98(0x2aa)](_0x1c711f,_0xd72fa2,_0x343932,_0x54b871);}[_0x54f375(0x3f5)](_0x1210e0,_0x1b706f,_0x3830f6){const _0x847561=_0x54f375;var _0x544899;const _0x3c258c=(_0x544899=this[_0x847561(0x271)][_0x847561(0x307)](_0x1210e0))==null?void 0x0:_0x544899[_0x847561(0x307)](_0x1b706f);if(_0x3c258c)return _0x3c258c[_0x847561(0x307)](_0x3830f6);}[_0x54f375(0x1f2)](_0x2c9efd,_0x34c0fb){const _0x1bfbc3=_0x54f375,_0x28cce9=this[_0x1bfbc3(0x271)][_0x1bfbc3(0x307)](_0x2c9efd);if(_0x28cce9){for(const [_0x1f1e06,_0x4f54b9]of _0x28cce9[_0x1bfbc3(0x1d3)]())for(const [_0x1841b5,_0x358330]of _0x4f54b9[_0x1bfbc3(0x1d3)]())if(_0x1841b5===_0x34c0fb)return _0x358330['targetCellInfo'];}}[_0x54f375(0x324)](_0x2e0f5e,_0x38b6d4,_0xe9712b){const _0x155df7=_0x54f375,_0x59d5f4=this[_0x155df7(0x3f5)](_0x2e0f5e,_0x38b6d4,_0xe9712b);return _0x59d5f4==null?void 0x0:_0x59d5f4[_0x155df7(0x196)];}[_0x54f375(0x1fd)](_0x2c1cad,_0x56138b){const _0x35c0ea=_0x54f375;var _0x4038ab;return(_0x4038ab=this['_model'][_0x35c0ea(0x307)](_0x2c1cad))==null?void 0x0:_0x4038ab['get'](_0x56138b);}[_0x54f375(0x3da)](_0x447890,_0x194816,_0x2d5949,_0x15688d){const _0x452859=_0x54f375,_0xa80a97=this[_0x452859(0x3b8)](_0x447890,_0x194816);_0x15688d?_0xa80a97[_0x452859(0x335)](_0x2d5949,_0x15688d):_0xa80a97[_0x452859(0x2dd)](_0x2d5949),this[_0x452859(0x24e)][_0x452859(0x321)]({'unitId':_0x447890,'subUnitId':_0x194816,'pivotTableId':_0x2d5949,'pivotTableConfig':_0x15688d});}[_0x54f375(0x1b9)](_0xc1c02d,_0xb9becd){const _0xa68b15=_0x54f375;var _0x86d53e;return(_0x86d53e=this[_0xa68b15(0x397)][_0xa68b15(0x307)](_0xc1c02d))==null?void 0x0:_0x86d53e[_0xa68b15(0x28a)][_0xb9becd];}['updateCollectionConfig'](_0x2a2e70,_0x249b87){const _0x3fda04=_0x54f375;this[_0x3fda04(0x397)][_0x3fda04(0x335)](_0x2a2e70,_0x249b87),this['_configVersion$'][_0x3fda04(0x321)](Math[_0x3fda04(0x294)]());}[_0x54f375(0x3b8)](_0x2788a4,_0xb2e84e){const _0x45ae7e=_0x54f375;let _0x3030aa=this[_0x45ae7e(0x271)][_0x45ae7e(0x307)](_0x2788a4);_0x3030aa||(_0x3030aa=new Map(),this[_0x45ae7e(0x271)]['set'](_0x2788a4,_0x3030aa));let _0x1f9ed9=_0x3030aa[_0x45ae7e(0x307)](_0xb2e84e);return _0x1f9ed9||(_0x1f9ed9=new Map(),_0x3030aa[_0x45ae7e(0x335)](_0xb2e84e,_0x1f9ed9)),_0x1f9ed9;}[_0x54f375(0x2a3)](_0x20dbcc,_0x52d4b6){const _0x5ed097=_0x54f375;let _0x427bcf=this[_0x5ed097(0x2b2)]['get'](_0x20dbcc);_0x427bcf||(_0x427bcf=new Map(),this[_0x5ed097(0x2b2)][_0x5ed097(0x335)](_0x20dbcc,_0x427bcf));let _0x7e73dd=_0x427bcf[_0x5ed097(0x307)](_0x52d4b6);return _0x7e73dd||(_0x7e73dd=new Map(),_0x427bcf[_0x5ed097(0x335)](_0x52d4b6,_0x7e73dd)),_0x7e73dd;}[_0x54f375(0x374)](_0x54c093,_0xfc9ae4){const _0x23e47c=_0x54f375;let _0x4bf5a0=this[_0x23e47c(0x36a)][_0x23e47c(0x307)](_0x54c093);_0x4bf5a0||(_0x4bf5a0=new Map(),this[_0x23e47c(0x36a)][_0x23e47c(0x335)](_0x54c093,_0x4bf5a0));let _0xfc5f1a=_0x4bf5a0[_0x23e47c(0x307)](_0xfc9ae4);return _0xfc5f1a||(_0xfc5f1a=new Map(),_0x4bf5a0[_0x23e47c(0x335)](_0xfc9ae4,_0xfc5f1a)),_0xfc5f1a;}[_0x54f375(0x2aa)](_0x53dc31,_0x2ca19c,_0x8a6949,_0x10927f){const _0x2ffa76=_0x54f375;var _0x37f10a;const _0x16b8b3=this['_ensurePivotTableRangeInfo'](_0x53dc31,_0x2ca19c),_0x4d8fcc=(_0x37f10a=_0x16b8b3[_0x2ffa76(0x307)](_0x8a6949))==null?void 0x0:_0x37f10a[_0x2ffa76(0x1e8)];_0x16b8b3[_0x2ffa76(0x335)](_0x8a6949,{'oldRangeInfo':_0x4d8fcc,'rangeInfo':_0x10927f});}['updatePivotTableMatrixInfo'](_0x320512,_0x332da2,_0x1f696d,_0x144771){const _0x4d3aef=_0x54f375;var _0x3066e4;const _0x3a4ba1=this[_0x4d3aef(0x374)](_0x320512,_0x332da2),_0x2f6b96=(_0x3066e4=_0x3a4ba1['get'](_0x1f696d))==null?void 0x0:_0x3066e4[_0x4d3aef(0x23f)];_0x3a4ba1['set'](_0x1f696d,{'oldMatrix':_0x2f6b96,'matrix':_0x144771});}['getPivotTableRangeInfo'](_0x358439,_0xdad264,_0x55830a){const _0x87623a=_0x54f375;var _0x1b8b10,_0xaa39cc;return(_0xaa39cc=(_0x1b8b10=this['_pivotTableRangeInfo'][_0x87623a(0x307)](_0x358439))==null?void 0x0:_0x1b8b10['get'](_0xdad264))==null?void 0x0:_0xaa39cc['get'](_0x55830a);}[_0x54f375(0x290)](_0x40db6c,_0x35497e,_0x4dbc19){const _0x2f486d=_0x54f375;var _0x3ea8a8,_0x21d2bf;return(_0x21d2bf=(_0x3ea8a8=this[_0x2f486d(0x36a)]['get'](_0x40db6c))==null?void 0x0:_0x3ea8a8[_0x2f486d(0x307)](_0x35497e))==null?void 0x0:_0x21d2bf[_0x2f486d(0x307)](_0x4dbc19);}[_0x54f375(0x227)](_0x49d833){const _0x50fbca=_0x54f375;this[_0x50fbca(0x271)][_0x50fbca(0x2dd)](_0x49d833),this['_collectionConfigModel'][_0x50fbca(0x2dd)](_0x49d833);}[_0x54f375(0x3a9)](_0x56e927){const _0x4fc90a=_0x54f375,_0x903865={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x4fc90a(0x397)][_0x4fc90a(0x307)](_0x56e927)&&(_0x903865[_0x4fc90a(0x30c)][_0x56e927]=this['_collectionConfigModel'][_0x4fc90a(0x307)](_0x56e927)),this[_0x4fc90a(0x271)][_0x4fc90a(0x307)](_0x56e927)){_0x903865[_0x4fc90a(0x392)][_0x56e927]={};const _0x1e63e1=this[_0x4fc90a(0x271)][_0x4fc90a(0x307)](_0x56e927);_0x1e63e1!=null&&_0x1e63e1[_0x4fc90a(0x3c1)]&&[..._0x1e63e1['keys']()][_0x4fc90a(0x222)](_0x5b53d8=>{const _0x154414=_0x4fc90a,_0x2ab8ca=_0x1e63e1[_0x154414(0x307)](_0x5b53d8);_0x2ab8ca!=null&&_0x2ab8ca[_0x154414(0x3c1)]&&(_0x903865[_0x154414(0x392)][_0x56e927][_0x5b53d8]={},[..._0x2ab8ca['keys']()]['forEach'](_0x108878=>{const _0x1cabc4=_0x154414,_0x30986e=_0x2ab8ca['get'](_0x108878);_0x30986e&&(_0x903865[_0x1cabc4(0x392)][_0x56e927][_0x5b53d8][_0x108878]=_0x30986e);}));});}return _0x903865;}[_0x54f375(0x3a4)](){const _0x35f5a2=_0x54f375;this[_0x35f5a2(0x3e3)](this[_0x35f5a2(0x250)][_0x35f5a2(0x207)]({'toJson':_0x3d4d84=>JSON[_0x35f5a2(0x22a)](this['_toJSON'](_0x3d4d84)),'parseJson':_0x11bd44=>({}),'businesses':[_0x3fbbcd[_0x35f5a2(0x1a5)]],'pluginName':ao,'onLoad':(_0x371bd9,_0x16502d)=>{},'onUnLoad':_0x4ab9df=>{const _0x5dc3c6=_0x35f5a2;this[_0x5dc3c6(0x227)](_0x4ab9df);}}));}};ve=Ki([at(0x0,_0x10cdc3(_0x500674)),at(0x1,_0x10cdc3(_0x384d05)),at(0x2,_0x10cdc3(_0x5f5304)),at(0x3,_0x10cdc3(_0x2f810a)),at(0x4,_0x10cdc3(_0x4abb7e))],ve);var zi=Object[_0x54f375(0x30f)],qi=(_0x580efe,_0x185a43,_0x1ac9ff,_0x2c3c05)=>{const _0x473f91=_0x54f375;for(var _0x5a7ae3=_0x2c3c05>0x1?void 0x0:_0x2c3c05?zi(_0x185a43,_0x1ac9ff):_0x185a43,_0x502aec=_0x580efe[_0x473f91(0x2e5)]-0x1,_0x2a3569;_0x502aec>=0x0;_0x502aec--)(_0x2a3569=_0x580efe[_0x502aec])&&(_0x5a7ae3=_0x2a3569(_0x5a7ae3)||_0x5a7ae3);return _0x5a7ae3;},rt=(_0x264c57,_0xa4390a)=>(_0x386fb2,_0x208d20)=>_0xa4390a(_0x386fb2,_0x208d20,_0x264c57);let Ne=class extends _0x2e0af8{constructor(_0x5b2aae,_0x2c3fe5,_0x235c41,_0x580883,_0x1792fe){const _0x488c32=_0x54f375;super(),V(this,_0x488c32(0x3fd),new Map()),V(this,'_pivotRenderValueMatrixCache',new Map()),V(this,'_markDirty$',new _0x3863f9()),V(this,_0x488c32(0x25f),this['_markDirty$'][_0x488c32(0x303)]()),V(this,_0x488c32(0x391),new _0x3863f9()),V(this,_0x488c32(0x2a0),this[_0x488c32(0x391)][_0x488c32(0x303)]()),V(this,_0x488c32(0x394)),(this['_localeService']=_0x5b2aae,this[_0x488c32(0x262)]=_0x2c3fe5,this[_0x488c32(0x2ec)]=_0x235c41,this[_0x488c32(0x228)]=_0x580883,this[_0x488c32(0x19f)]=_0x1792fe,this['_initLocale'](),this[_0x488c32(0x329)]());}['_initUnitDisposed'](){const _0x2c2484=_0x54f375;this[_0x2c2484(0x3e3)](this[_0x2c2484(0x228)]['getTypeOfUnitDisposed$'](_0x3fbbcd['UNIVER_SHEET'])[_0x2c2484(0x1fc)](_0x282a6a=>{const _0x504b33=_0x2c2484;this['deleteUnitId'](_0x282a6a[_0x504b33(0x1c7)]());}));}[_0x54f375(0x370)](){const _0xe0fced=_0x54f375;this['_textInfo']=fo(this[_0xe0fced(0x262)],Ho,'',{});}['updateRenderCache'](_0x47076b){const _0x27a42a=_0x54f375,{view:_0x58525b,unitId:_0xb1c972,subUnitId:_0x4bc386,pivotTableId:_0x5031cc,type:_0x10b6ab}=_0x47076b,_0x37e92e=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0xb1c972,_0x4bc386,_0x5031cc);if(!_0x58525b||!_0x37e92e||_0x10b6ab===L['Delete'])return;const {pageView:_0x15d950,cornerView:_0xb06de8,rowView:_0x9fc030,colView:_0x7c75c,dataView:_0x445814}=_0x58525b,_0x4adb5a=_0x37e92e[_0x27a42a(0x196)],_0x42335c=_0x37e92e['isEmpty'],_0x528a65=this[_0x27a42a(0x1a0)](_0xb1c972,_0x4bc386),_0x37d5a3=this['_ensurePivotItemRenderInfoCache'](_0xb1c972,_0x4bc386,_0x5031cc);if(_0x42335c)return this[_0x27a42a(0x1a7)](_0x47076b,_0x528a65,_0x4adb5a,_0x37d5a3);{const _0x462104=ge(_0x4adb5a,_0x15d950,!0x0),_0x313f68=_0x15d950[_0x27a42a(0x3ce)]>=0x0?_0x15d950[_0x27a42a(0x3ce)]+0x1:0x0,_0x4d9b86=_0xb06de8['getRowCount'](),_0x4099b3=_0xb06de8[_0x27a42a(0x1a1)](),_0x113c0e=_0x462104[_0x27a42a(0x2e5)]>0x0?mt:0x0,_0x552460=ge({'row':_0x4adb5a['row']+_0x313f68+_0x113c0e,'col':_0x4adb5a['col']},_0xb06de8,!0x1,!0x1),_0x1fd9bd=ge({'row':_0x4adb5a[_0x27a42a(0x219)]+_0x313f68+_0x113c0e+_0x4d9b86,'col':_0x4adb5a[_0x27a42a(0x3e9)]},_0x9fc030,!0x1,!0x0),_0x5bcae3=ge({'row':_0x4adb5a[_0x27a42a(0x219)]+_0x313f68+_0x113c0e,'col':_0x4adb5a[_0x27a42a(0x3e9)]+_0x4099b3},_0x7c75c,!0x1,!0x0),_0x3190fc=ge({'row':_0x4adb5a['row']+_0x313f68+_0x113c0e+_0x4d9b86,'col':_0x4adb5a[_0x27a42a(0x3e9)]+_0x4099b3},_0x445814,!0x1,!0x1);_0x37d5a3[_0x27a42a(0x1ba)]={'rowRanges':_0x1fd9bd,'colRanges':_0x5bcae3,'cornerRanges':_0x552460,'dataRanges':_0x3190fc,'pageRanges':_0x462104};const _0x2c808b=yi(this[_0x27a42a(0x262)],_0x58525b,_0x37e92e,this[_0x27a42a(0x394)]),{valueMatrix:_0xed6146,rowInfo:_0x1458ec,colInfo:_0x169ecd,cornerInfo:_0x4069cb,rowHeaderMap:_0x105eb1,colHeaderMap:_0x173f8b}=_0x2c808b;return _0x37d5a3[_0x27a42a(0x376)]={'rowInfo':_0x1458ec,'colInfo':_0x169ecd,'cornerInfo':_0x4069cb},_0x37d5a3['headerMap']={'rowHeaderMap':_0x105eb1,'colHeaderMap':_0x173f8b},_0xed6146['forEach']((_0x2b984c,_0x1ad5e7)=>{const _0x2f9bdd=_0x27a42a;Object[_0x2f9bdd(0x33d)](_0x1ad5e7)[_0x2f9bdd(0x222)](_0x3d131c=>{const _0x273e64=_0x2f9bdd,_0x45db08=+_0x3d131c,_0x5ad8a6=_0xed6146[_0x273e64(0x383)](_0x2b984c,_0x45db08);_0x528a65[_0x273e64(0x3ed)](_0x2b984c,_0x45db08,_0x5ad8a6);});}),this[_0x27a42a(0x391)][_0x27a42a(0x321)]({'unitId':_0xb1c972,'subUnitId':_0x4bc386,'valueMatrix':_0x528a65,'rangesCache':_0x37d5a3[_0x27a42a(0x1ba)],'pivotTableId':_0x5031cc,'type':_0x47076b[_0x27a42a(0x1df)]}),this[_0x27a42a(0x2ec)]['updateViewInfo'](_0xb1c972,_0x4bc386,_0x5031cc,_0x528a65,_0x37d5a3[_0x27a42a(0x1ba)]),this[_0x27a42a(0x19f)][_0x27a42a(0x237)](_0xb1c972,_0x4bc386,Jt,this['_createExclusiveRange'](_0x37d5a3[_0x27a42a(0x1ba)],_0x5031cc)),{'rangeCache':_0x37d5a3[_0x27a42a(0x1ba)],'matrix':_0x528a65};}}[_0x54f375(0x1a7)](_0x250c89,_0x5110f5,_0xbfa6f5,_0x4dd48a){const _0x1f1a12=_0x54f375,_0x4262ae=this['_localeService']['t'],{unitId:_0x107169,subUnitId:_0x2d4210,pivotTableId:_0x5d9a4d}=_0x250c89,_0x3fdd88={'filter':_0x4262ae(_0x1f1a12(0x354)),'row':_0x4262ae(_0x1f1a12(0x387)),'column':_0x4262ae(_0x1f1a12(0x3a3)),'values':_0x4262ae(_0x1f1a12(0x20f))},{matrixCache:_0x591b1e,rangesCache:_0x119e6e}=Wo(_0x3fdd88,_0xbfa6f5);return _0x591b1e[_0x1f1a12(0x380)]((_0xa43555,_0xd493a6,_0x59a0a6)=>{_0x5110f5['setValue'](_0xa43555,_0xd493a6,_0x59a0a6);}),_0x4dd48a['rangesInfo']=_0x119e6e,this['_viewUpdate$'][_0x1f1a12(0x321)]({'unitId':_0x107169,'subUnitId':_0x2d4210,'valueMatrix':_0x5110f5,'rangesCache':_0x119e6e,'pivotTableId':_0x5d9a4d,'type':_0x250c89['type'],'isEmpty':!0x0}),this[_0x1f1a12(0x2ec)][_0x1f1a12(0x1e6)](_0x107169,_0x2d4210,_0x5d9a4d,_0x5110f5,_0x119e6e),this[_0x1f1a12(0x19f)][_0x1f1a12(0x237)](_0x107169,_0x2d4210,Jt,this[_0x1f1a12(0x32c)](_0x119e6e,_0x5d9a4d)),{'rangeCache':_0x4dd48a[_0x1f1a12(0x1ba)],'matrix':_0x5110f5};}[_0x54f375(0x32c)](_0x33787f,_0x14e14f){const _0x71858e=_0x54f375,_0x5131b2=[],_0x4f4644=Lt(_0x33787f);for(const _0x55b635 of _0x4f4644)_0x5131b2[_0x71858e(0x342)]({'groupId':_0x14e14f,'range':_0x55b635});return _0x5131b2;}['clearRenderCache'](_0xbea245){const _0x4df45a=_0x54f375;var _0xcbd982,_0x1461a1,_0xb07123,_0x133098;const {pivotTableId:_0x3523f1,unitId:_0x1ef5f9,subUnitId:_0x47a995}=_0xbea245;if(!_0x3523f1||!_0x1ef5f9||!_0x47a995)return;const _0x4f2f6b=this[_0x4df45a(0x1a0)](_0x1ef5f9,_0x47a995),_0x267345=(_0x1461a1=(_0xcbd982=this[_0x4df45a(0x3fd)]['get'](_0x1ef5f9))==null?void 0x0:_0xcbd982[_0x4df45a(0x307)](_0x47a995))==null?void 0x0:_0x1461a1[_0x4df45a(0x307)](_0x3523f1);if(_0x267345!=null&&_0x267345['rangesInfo']){for(const _0x15326d of Object[_0x4df45a(0x33d)](_0x267345[_0x4df45a(0x1ba)]))_0x267345['rangesInfo'][_0x15326d][_0x4df45a(0x222)](_0xaa8e08=>{const _0x544379=_0x4df45a;for(let _0x3f19ca=_0xaa8e08['startRow'];_0x3f19ca<=_0xaa8e08[_0x544379(0x1ad)];_0x3f19ca++)for(let _0x3d89bb=_0xaa8e08[_0x544379(0x213)];_0x3d89bb<=_0xaa8e08[_0x544379(0x3fa)];_0x3d89bb++)_0x4f2f6b[_0x544379(0x26f)](_0x3f19ca,_0x3d89bb);});}_0x267345&&((_0x133098=(_0xb07123=this[_0x4df45a(0x3fd)][_0x4df45a(0x307)](_0x1ef5f9))==null?void 0x0:_0xb07123['get'](_0x47a995))==null||_0x133098[_0x4df45a(0x2dd)](_0x3523f1)),this[_0x4df45a(0x391)][_0x4df45a(0x321)]({'unitId':_0x1ef5f9,'subUnitId':_0x47a995,'valueMatrix':_0x4f2f6b,'pivotTableId':_0x3523f1,'rangesCache':void 0x0,'type':_0xbea245[_0x4df45a(0x1df)]}),this[_0x4df45a(0x19f)][_0x4df45a(0x292)](_0x1ef5f9,_0x47a995,Jt,_0x3523f1);}[_0x54f375(0x3c5)](_0x2f9823,_0xef071a,_0x2c2ab9){const _0x259886=_0x54f375;var _0x4958bb,_0x19e865,_0x5adde9,_0x2592c9,_0x42d1de,_0x4cd378;return this[_0x259886(0x3fd)]['has'](_0x2f9823)||this[_0x259886(0x3fd)][_0x259886(0x335)](_0x2f9823,new Map()),(_0x4958bb=this[_0x259886(0x3fd)][_0x259886(0x307)](_0x2f9823))!=null&&_0x4958bb[_0x259886(0x293)](_0xef071a)||(_0x19e865=this[_0x259886(0x3fd)][_0x259886(0x307)](_0x2f9823))==null||_0x19e865[_0x259886(0x335)](_0xef071a,new Map()),(_0x2592c9=(_0x5adde9=this[_0x259886(0x3fd)][_0x259886(0x307)](_0x2f9823))==null?void 0x0:_0x5adde9['get'](_0xef071a))!=null&&_0x2592c9['has'](_0x2c2ab9)||(_0x4cd378=(_0x42d1de=this[_0x259886(0x3fd)][_0x259886(0x307)](_0x2f9823))==null?void 0x0:_0x42d1de[_0x259886(0x307)](_0xef071a))==null||_0x4cd378['set'](_0x2c2ab9,{}),this['_pivotRenderInfoCache'][_0x259886(0x307)](_0x2f9823)[_0x259886(0x307)](_0xef071a)[_0x259886(0x307)](_0x2c2ab9);}['_ensurePivotItemRenderValueMatrixCache'](_0xf09179,_0x2ef7d8){const _0x3eefc0=_0x54f375;var _0x475ca2,_0x146ee4;return this[_0x3eefc0(0x1d6)][_0x3eefc0(0x293)](_0xf09179)||this[_0x3eefc0(0x1d6)][_0x3eefc0(0x335)](_0xf09179,new Map()),(_0x475ca2=this[_0x3eefc0(0x1d6)]['get'](_0xf09179))!=null&&_0x475ca2[_0x3eefc0(0x293)](_0x2ef7d8)||(_0x146ee4=this[_0x3eefc0(0x1d6)][_0x3eefc0(0x307)](_0xf09179))==null||_0x146ee4['set'](_0x2ef7d8,new _0x4491c3()),this[_0x3eefc0(0x1d6)][_0x3eefc0(0x307)](_0xf09179)['get'](_0x2ef7d8);}[_0x54f375(0x38f)](_0x56daac,_0x222d78,_0x21fe8c,_0x1a4cfd){const _0x6a88e3=_0x54f375;var _0x5dba3c,_0x597bb0;const _0x3e36dd=(_0x597bb0=(_0x5dba3c=this['_pivotRenderValueMatrixCache'][_0x6a88e3(0x307)](_0x56daac))==null?void 0x0:_0x5dba3c[_0x6a88e3(0x307)](_0x222d78))==null?void 0x0:_0x597bb0['getValue'](_0x21fe8c,_0x1a4cfd);if(_0x3e36dd!=null)return _0x3e36dd;}[_0x54f375(0x1c4)](_0x5059de,_0x40fec7,_0x3f1db1,_0x20d864){const _0x2d45b8=_0x54f375;var _0x3067a3;const _0x2fece7=_0x7efa08(_0x3f1db1,_0x20d864),_0x376307=(_0x3067a3=this[_0x2d45b8(0x3fd)][_0x2d45b8(0x307)](_0x5059de))==null?void 0x0:_0x3067a3['get'](_0x40fec7);return _0x376307?Array[_0x2d45b8(0x3db)](_0x376307['keys']())[_0x2d45b8(0x3b7)](_0x59509a=>{const _0x429503=_0x2d45b8,_0x316f86=_0x376307[_0x429503(0x307)](_0x59509a),_0x275417=_0x316f86==null?void 0x0:_0x316f86[_0x429503(0x1ba)];return _0x275417?Object[_0x429503(0x33d)](_0x275417)[_0x429503(0x2e7)](_0x44c04b=>_0x275417[_0x44c04b][_0x429503(0x2e7)](_0x29dd4a=>_0x5de3db['contains'](_0x29dd4a,_0x2fece7))):!0x1;}):void 0x0;}[_0x54f375(0x23e)](_0x206d54,_0x3098ff,_0x6352ad){const _0x3d8643=_0x54f375;var _0x372c30;const _0x406e14=(_0x372c30=this[_0x3d8643(0x3fd)][_0x3d8643(0x307)](_0x206d54))==null?void 0x0:_0x372c30[_0x3d8643(0x307)](_0x3098ff),_0x41c538=[];return _0x406e14&&Array['from'](_0x406e14['keys']())['forEach'](_0xe3e3a5=>{const _0x5fd0e8=_0x3d8643,_0x93c85=_0x406e14[_0x5fd0e8(0x307)](_0xe3e3a5),_0xba80a4=_0x93c85==null?void 0x0:_0x93c85['rangesInfo'];if(_0xba80a4)for(const _0x223d01 of Object['values'](_0xba80a4)){let _0x257802=!0x1;for(const _0x3a726a of _0x223d01)if(_0x5de3db[_0x5fd0e8(0x1bb)](_0x3a726a,_0x6352ad)){_0x41c538['push'](_0xe3e3a5),_0x257802=!0x0;break;}if(_0x257802)break;}}),_0x41c538;}[_0x54f375(0x31b)](_0x3cf994,_0x52332a){const _0x46fe1d=_0x54f375;var _0x72739b,_0x3a7a27;return(_0x3a7a27=(_0x72739b=this[_0x46fe1d(0x1d6)][_0x46fe1d(0x307)](_0x3cf994))==null?void 0x0:_0x72739b['get'](_0x52332a))!=null?_0x3a7a27:new _0x4491c3();}[_0x54f375(0x20d)](_0x321ba2,_0x3e10ae){const _0x1ec3c1=_0x54f375;var _0x292369;return(_0x292369=this[_0x1ec3c1(0x3fd)][_0x1ec3c1(0x307)](_0x321ba2))==null?void 0x0:_0x292369[_0x1ec3c1(0x307)](_0x3e10ae);}[_0x54f375(0x192)](_0x3fda81,_0x49020a,_0x19bac7){const _0x449196=_0x54f375;var _0x2156ab,_0x2bc08;return(_0x2bc08=(_0x2156ab=this['_pivotRenderInfoCache']['get'](_0x3fda81))==null?void 0x0:_0x2156ab['get'](_0x49020a))==null?void 0x0:_0x2bc08[_0x449196(0x307)](_0x19bac7);}[_0x54f375(0x227)](_0x1cfe18){const _0x1aec02=_0x54f375;this[_0x1aec02(0x3fd)]['delete'](_0x1cfe18),this[_0x1aec02(0x1d6)][_0x1aec02(0x2dd)](_0x1cfe18);}['markDirty'](_0x599f19,_0x3ced3e){const _0x8e22ee=_0x54f375;this[_0x8e22ee(0x24f)][_0x8e22ee(0x321)]({'unitId':_0x599f19,'subUnitId':_0x3ced3e});}};Ne=qi([rt(0x0,_0x10cdc3(_0x15fb78)),rt(0x1,_0x10cdc3(_0x500674)),rt(0x2,_0x10cdc3(ve)),rt(0x3,_0x10cdc3(_0x5f5304)),rt(0x4,_0x10cdc3(_0x200408))],Ne);var Qi=Object[_0x54f375(0x30f)],Yi=(_0x36ce90,_0x331aa6,_0x535b02,_0x1f42c8)=>{const _0x28d21b=_0x54f375;for(var _0x41c2d7=_0x1f42c8>0x1?void 0x0:_0x1f42c8?Qi(_0x331aa6,_0x535b02):_0x331aa6,_0x588d0a=_0x36ce90[_0x28d21b(0x2e5)]-0x1,_0x11d0a3;_0x588d0a>=0x0;_0x588d0a--)(_0x11d0a3=_0x36ce90[_0x588d0a])&&(_0x41c2d7=_0x11d0a3(_0x41c2d7)||_0x41c2d7);return _0x41c2d7;},Mo=(_0x5929bd,_0x1a563a)=>(_0x1c8e65,_0x2d0728)=>_0x1a563a(_0x1c8e65,_0x2d0728,_0x5929bd);let ie=class extends _0x2e0af8{constructor(_0x5dfaa8,_0x14427e){const _0x3d811a=_0x54f375;super(),V(this,_0x3d811a(0x3d7),new _0x368a96({'PIVOT_PERFORM_CHECK':be})),V(this,_0x3d811a(0x318),new _0x2cc638({'PIVOT_MUTATION_GENERATE':Bo})),(this[_0x3d811a(0x191)]=_0x5dfaa8,this[_0x3d811a(0x39a)]=_0x14427e,this[_0x3d811a(0x1ff)]());}[_0x54f375(0x1ff)](){const _0x26e0ee=_0x54f375;this[_0x26e0ee(0x3e1)]();}[_0x54f375(0x1b4)](_0x285093){const _0x39c3e8=_0x54f375;return this[_0x39c3e8(0x3d7)][_0x39c3e8(0x2c0)](be)(!0x1,_0x285093);}[_0x54f375(0x3e1)](){const _0x55d6aa=_0x54f375;this[_0x55d6aa(0x3e3)](this['_sheetInterceptorService'][_0x55d6aa(0x398)](_0x35188e['CELL_CONTENT'],{'priority':0xc8,'effect':_0x2601cb[_0x55d6aa(0x385)]|_0x2601cb[_0x55d6aa(0x36e)],'handler':(_0x4cb775,_0xcc43e9,_0x3e5baf)=>{const _0x4ab1e0=_0x55d6aa,{row:_0x1e744b,col:_0xc66a08,unitId:_0x59a542,subUnitId:_0x34aed9,workbook:_0x46f9d8}=_0xcc43e9,_0x9b0f61=this[_0x4ab1e0(0x39a)][_0x4ab1e0(0x38f)](_0x59a542,_0x34aed9,_0x1e744b,_0xc66a08);if(!_0x9b0f61)return _0x3e5baf(_0x4cb775);const _0x57199d={..._0x4cb775};(_0x9b0f61['v']||_0x9b0f61['v']===0x0)&&(_0x57199d['v']=_0x9b0f61['v']),_0x9b0f61['t']&&(_0x57199d['t']=_0x9b0f61['t']);const _0x508987=(typeof(_0x4cb775==null?void 0x0:_0x4cb775['s'])==_0x4ab1e0(0x23b)?_0x46f9d8['getStyles']()[_0x4ab1e0(0x307)](_0x4cb775==null?void 0x0:_0x4cb775['s']):_0x4cb775==null?void 0x0:_0x4cb775['s'])||{},_0x5cd480=_0x46f9d8[_0x4ab1e0(0x281)]()[_0x4ab1e0(0x307)](_0x9b0f61['s']),_0xe48bda={..._0x5cd480,..._0x508987};_0x5cd480!=null&&_0x5cd480['n']&&(_0xe48bda['n']=_0x5cd480['n']);const _0x2cd6fb=_0x46f9d8[_0x4ab1e0(0x281)]()[_0x4ab1e0(0x3ed)](_0xe48bda);return _0x57199d['s']=_0x2cd6fb,(_0x9b0f61[_0x4ab1e0(0x3ad)]===_0x2a68bb[_0x4ab1e0(0x3dc)]||_0x9b0f61[_0x4ab1e0(0x3ad)]===_0x2a68bb[_0x4ab1e0(0x1f8)])&&(_0x57199d['fontRenderExtension']={},_0x57199d[_0x4ab1e0(0x18d)]['leftOffset']=li),_0x3e5baf(_0x57199d);}}));}};ie=Yi([Mo(0x0,_0x10cdc3(_0x370454)),Mo(0x1,_0x10cdc3(Ne))],ie);function _0x362c(){const _0x2a3060=['version','dateType','_sheetsPivotDataSourceModel','sheets-pivot.dateGroup.year','getPivotTableMatrixInfo','getPivotTableModelConfig','clearExclusiveRangesByGroupId','has','random','_globalComputedStartHelpFunc','getName','setPivotTable','Date','floor','sheets-pivot.varName','Column','registerCallbackWithEvent','dataFields','sheetName','getRowCount','viewUpdate$','SetCollapse','resetPivotTable','_ensurePivotTableRangeInfo','getFieldPositionInfoById','sheet.mutation.update-pivot-table-source-range','SHEET_PIVOT_TABLE_PLUGIN','removeDataField','batch','collection','updatePivotTableRangeInfo','_commandService','call','minDate','_queryingMap','headerMap','getPivotDirtyViewInfo','min','_pivotTableRangeInfo','dataStyle','filterInfo','removePivotField','UpdateSource','sheet.command.reset-pivot-fields-config','sheet.command.set-pivot-filter','NotNumber','setLabelFilterInfo','stdDevp','updateAllDisplayName','sheets-pivot.cellDateGroupDisplay.quarter','filterFields','_sheetsSelectionsService','fetchThroughAsyncInterceptors','sheet.command.add-pivot-field','SetPivotFilter','pageStyle','Subtotal','sheet.mutation.add-group-collection','result','sheets-pivot.maxName','getIndexesByPathStr','query','rangeType','sheets-pivot.config','tableFieldId','SetPivotSort','fetchThroughInterceptors','147966fcdxWq','sheet.mutation.add-pivot-table','sheet.mutation.rename-pivot-field','removeCollections','getDataFieldItemInfo','getGroupFieldsInfoByIds','getTypeOfUnitDisposed$','_globalComputedEndHelpFunc','YearMonthDate','displayName','NUM','sheets-pivot.dateGroup.monthDate','pushComputingStatusSubject','SetFilterInfo','delete','fieldsConfig','pushUndoRedo','name','sheet.mutation.pivot-update-field-position','RenameField','colCount','setPivotCollapse','length','value','some','StdDev\x20of\x20','refreshData','getAutoFitColumnsMutations','sheet.mutation.remove-pivot-field','_sheetsPivotTableConfigModel','sheet.command.add-pivot-table','deepClone','sheets-pivot.dateGroup.minute','MIN_SAFE_INTEGER','Average\x20of\x20','New','isNaN','_updateModelCache','SHEET_PIVOT_EXCLUSIVE_ID','Delete','setDirty','sheets-pivot.cellDateGroupDisplay.hour','getFieldById','sheet.mutation.set-pivot-filter','_collectionChange$','getFilterFieldIdByIndex','_initPivotDataGetListener','rangeCache','contains','getCurrentUnitForType','_initGlobalComputed','_config','asObservable','startRow','broadcastCollectionChange','forRow','get','deleteDataField','getDataFieldManager','drillDown','Panel','dataFieldManagerConfig','addDirtyPivotTable','maxDate','getOwnPropertyDescriptor','addPivotTableWithConfig','parse','getCurrentSelections','getSheetBySheetName','unitId','sheet.command.pivot-drill-down','StdDevp\x20of\x20','getFieldCountByArea','interceptor','object','NotName','getSubUnitPivotMatrix','substring','pageRanges','getMatrixFromRunTimeData','_initCommandInterceptListener','setDataRecordCount','next','getPivotDisplayConfig','params','getTargetByPivotId','getFieldFormat','undos','custom','sheets-pivot.cellDateGroupDisplay.yearMonthDate','_initUnitDisposed','setValueFilterInfo','getDataFieldByRangeKey','_createExclusiveRange','updatePivotSource','AddPivotField','options','NotFunction','subtotal','collectionConfig','_localeService','SHEET_PIVOT_IN_MAIN_THREAD','set','setValuePivotFilter','interceptCommand','colInfo','unshift','renameField','getDataFieldBySourceName','930312PkNBkL','keys','handleSourceRangeChange','return\x20','limit\x20pivot','pivotInitCompleted$','push','column','getNoUsedDataFieldIds','setRangeValueUndoMutation','DrillDown','sheets-pivot.productName','new','max','generateNewSheetName','Grand\x20Total','_deleteModelCache','getFieldIds','_sheetsPivotRpcService','getformat','blank','fields','getColumnWidth','_refRangeService','sheets-pivot.emptyPivot.filter','UpdateValuePosition','includes','fieldId','sheet.mutation.set-pivot-collapse','SetValueFilter','grandTotal','MovePivotField','setRange','getAutoDisplayNameFunction','adjustSheetCellData','NAME','range','_globalComputingSrv','Quarter','count','removeSourceRangeChange','disposableCollection','addFieldWithSourceId','_activeDirtyManagerService','toString','dispose','_pivotTableMatrixInfo','sheet.mutation.set-pivot-sort-info','sheets-pivot.cellDateGroupDisplay.yearQuarter','_dataSyncPrimaryController','Style','product','_initLocale','sheet.command.move-pivot-field','measure','parseInt','_ensurePivotTableMatrixInfo','colHeaderMap','areaInfo','#e6ebfa','setTextInfo','sheets-pivot.columnName','_viewData$','getDataFieldByDataFieldId','number','sheets-pivot.stdDevpName','getPivotTableInstance','getId','forValue','_initPivotTextInfo','rgb(240,241,243)','getValue','ResetPivotTable','Value','AddPivotTableWithConfig','sheets-pivot.emptyPivot.row','sheets-pivot.countNumsName','isText','splice','removeField','setPivotSort','sheet.command.update-date-group','Row','getPivotTableCellData','Var\x20of\x20','_viewUpdate$','pivotTableConfigs','getDisplayName','_textInfo','foreach','#e6ebfb','_collectionConfigModel','intercept','#b2b2b2','_sheetsPivotTableAdaptorModel','getSubtotal','existing','_subjectViewChange','rowCount','setOptions','sheet.command.remove-pivot-field','columnFields','SetValuePivotFilter','sheets-pivot.emptyPivot.column','_initSnapshot','MAX_SAFE_INTEGER','isColMultiMeasure','getRangeStartEndInfo','sourceRangeInfo','_toJSON','createCollectionWithDataRange','getLastCol','needSameDeleteModel','pbt','157492vOkOLC','sheets-pivot.value','#eceeff','update','_fieldsCollectionChange$','updateRangeKeyMap','onCommandExecuted','_initDataSendListener','2004064FXGxVU','find','_ensurePivotMap','#1d32e9','pivotTableId','setPivotInitCompleted','refreshDataField','updateCollectionConfig','token','onStarting','_requestResolvers','size','onQueryEnd','sheets-pivot.dateGroup.hourMinute','_onRefRangeChange','_ensurePivotItemRenderInfoCache','fieldsCollectionChange$','Hour','setSourceName','split','SetPivotCollapse','sheet.command.set-pivot-fields-config','_viewData','subTotalStyle','lastRow','getColumnCount','movePivotField','getCellRaw','getValueIndex','sourceName','valueIndex','rowRanges','message','asyncInterceptor','SetSubtotalType','sheets-pivot.grandTotal','updateConfigCache','from','Collapse','sheet.mutation.set-pivot-field-subtotal-type','Values','getUnit','sheets-pivot.cellDateGroupDisplay.yearMonth','_initViewModelBySheetInterceptor','info','disposeWithMe','60oRTxZH','sheet.operation.pivot-table-view-formula-mark-dirty','viewData$','sheets-pivot.cellDateGroupDisplay.year','setRangeValueRedoMutation','col','formJSON','collapseInfo','_featureCalculationManagerService','setValue','#f4f4f5','getTableFieldById','updateRenderCache','notExecuteFormula','getFilterInfo','node','ΣValue','getPivotTableConfig','_initRemoveSheetCommandInterceptor','pivotConfigChange$','fieldIds','sheets-pivot.subTotal','endColumn','ManualFilter','removeValueFilterInfoByValueFieldId','_pivotRenderInfoCache','error','prefix','SetPivotSetting','register','1562244FVTVXW','Varp\x20of\x20','fromJSON','sheet.mutation.update-date-group','RemoveField','getValuePosition','_dataFieldManagerCollection','1bzqlid','1327958qdtuoh','setRangeKeyMap','fontRenderExtension','setConfig','workbook\x20is\x20not\x20found','FORCE_STRING','_sheetInterceptorService','getPivotItemRenderInfoCache','SetPivotTableConfig','subUnitId','setPivotTableConfig','targetCellInfo','getConfig','registerRefRange','updateDirtyPivotTable','hasField','redos','dimension','handleMoveRange','rangeKeyMap','_exclusiveRangeService','_ensurePivotItemRenderValueMatrixCache','getColCount','cornerRanges','filterId','_updatePivotTableInstanceCache','UNIVER_SHEET','getDataFieldId','_updateRenderEmptyCache','getLastRow','sheet.mutation.set-pivot-option','level','STRING','sortInfo','endRow','sheet.mutation.get-pivot-data-local','sheet.command.move-pivot-table','getMatrix','MUTATION','setSubtotalType','Set','getPivotPerformCheck','markDirty','countNums','sheet.command.set-pivot-value-filter','sheet.mutation.send-pivot-view-local','getCollection','rangesInfo','intersects','cellValue','SetSortInfo','Total','getFormat','valid','getMatrixValue','colStyle','5wMjEce','getPivotTableIdByCell','endCollectChangeset','colRanges','getUnitId','sum','sheets-pivot.cellDateGroupDisplay.date','sheet.mutation.add-pivot-field','Product\x20of\x20','COMMAND','sheets-pivot.dateGroup.month','addCollection','concat','updateFieldSourceInfo','HourMinute','NO_COMMERCIAL','entries','sheet.command.set-pivot-sort','data','_pivotRenderValueMatrixCache','setPivotFilter','Min\x20of\x20','var','stdDev','_generateUniqueVersion','getOriginFieldId','toJSON','sheet.mutation.pivot-update-value-position','type','registerCommand','add','filter','paths','_globalSubject','getSortInfo','updateViewInfo','REF','oldRangeInfo','zw87pJC8\x20eH7aBEpJC8(6J7H8rH,\x20Ewy6J7xHB)\x20{\x20\x20\x20\x20paB\x20{\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x206J7H8rHb8zCh0apAaa0B\x20=\x206J7H8rH.rE6Jp(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20CaJUJ8dHrr0UH\x20=\x20sfc5.E0arH(0pCy(6J7H8rHb8zCh0apAaa0B[i]));\x20\x20\x20\x20\x20\x20\x20\x20Jz\x20(!CaJUJ8dHrr0UH.we)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CaJUJ8dHrr0UH.we\x20=\x205wQyHa(6J7H8rHb8zCh0apAaa0B[g]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20JrVCaqHa\x20=\x20pBEHCz\x20VCaqHaK6Cy06f7CEH\x20!==\x20\x27w8eHzJ8He\x27\x20&&\x20rH6z\x20J8rp087HCz\x20VCaqHaK6Cy06f7CEH;\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x207C8pHZp\x20=\x20JrVCaqHa\x20?\x20rH6z\x20:\x20jJ8eCj;\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20QHrr0UHVCae\x20=\x207C8pHZp.__10rHog__.E0arH(6J7H8rHb8zCh0apAaa0B[i]);\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20QHrr0UH\x20=\x207C8pHZp.__tHZ__.rpaJ8UJzB(QHrr0UHVCae);\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20rJU80pwaHVCae\x20=\x207C8pHZp.__10rHog__.E0arH(6J7H8rHb8zCh0apAaa0B[S]);\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20rJU80pwaH\x20=\x207C8pHZp.__tHZ__.rpaJ8UJzB(rJU80pwaHVCae);\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20rJU8Y06Je\x20=\x207C8pHZp.__NHaJzB__(rJU80pwaH,\x20QHrr0UH,\x20Ewy6J7xHB);\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20eCQ0J8\x20=\x20CaJUJ8dHrr0UH.eQ;\x20\x20\x20\x20\x20\x20\x20\x20zw87pJC8\x20Jr2CQ0J8d0p7LJ8U(Ch0ppHa8,\x20CtCrp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20E0ppHa8\x20=\x20Ch0ppHa8.aHE607H(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20LCrp\x20=\x20CtCrp.aHE607H(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20E0ppHa8h0apr\x20=\x20E0ppHa8.rE6Jp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20LCrph0apr\x20=\x20LCrp.rE6Jp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jz\x20(!E0ppHa8.J876weHr(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aHpwa8\x20E0ppHa8\x20===\x20LCrp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jz\x20(E0ppHa8h0apr.6H8UpL\x20<\x20i\x20||\x20E0ppHa8h0apr[n]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aHpwa8\x20z06rH;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20E0ppHa8fwzzJZ\x20=\x20E0ppHa8h0apr.r6J7H(X).PCJ8(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20LCrpfwzzJZ\x20=\x20LCrph0apr.r6J7H(-E0ppHa8h0apr.6H8UpL\x20+\x20X).PCJ8(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aHpwa8\x20E0ppHa8fwzzJZ\x20===\x20LCrpfwzzJZ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x206Hp\x20eCQ0J8Y06Je\x20=\x20(eCQ0J8\x20&&\x20eCQ0J8.6H8UpL)\x20?\x20eCQ0J8.rCQH((eQbpHQ)\x20=>\x20Jr2CQ0J8d0p7LJ8U(eQbpHQ,\x206C70pJC8.LCrp80QH))\x20:\x20pawH;\x20\x20\x20\x20\x20\x20\x20\x20Jz\x20(6C70pJC8.LCrp80QH\x20===\x20\x276C706LCrp\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eCQ0J8Y06Je\x20=\x20pawH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207C8rp\x20N06Je\x20=\x20rJU8Y06Je\x20&&\x20eCQ0J8Y06Je;\x20\x20\x20\x20\x20\x20\x20\x20aHpwa8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N06Je,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QHrr0UH:\x20CaJUJ8dHrr0UH,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x2070p7L\x20(HaaCa)\x20{\x20\x20\x20\x20\x20\x20\x20\x20aHpwa8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N06Je:\x20z06rH,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QHrr0UH:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','valueFilter','NORMAL','addField','_pivotTableInstanceCache','Add','prototype','COLUMN','addRecord','getTargetByPivotTableId','setPivotSetting','setFieldFormat','cornerStyle','YearMonth','dataFieldId','Expand','body','resetArea','symbol','subscribe','getSubUnitPivotConfigs','sheet.mutation.set-pivot-value-filter','_init','#FFFFFF','sheets.tabs.sheet','addDataFieldWithoutUnitInfo','format','UpdatePivotSource','_getPivotAppliedRanges','setCollapse','registerPluginResource','isEmpty','shouldClear','getIntersects','_getAutoName','registerDirtyService','getSubUnitPivotRenderCache','getSheets','sheets-pivot.emptyPivot.values','sheets-pivot.varpName','getRangeKeyList','createDataFieldId','startColumn','ptn','_initClearSelectionCommandInterceptor','sheets-pivot.cellDateGroupDisplay.hourMinute','getCellMatrix','sideEffectUpdateWorkerCache','row','_deletePivotTableInstanceCache','PivotMultipleValueId','_subjectFieldsCollectionChange','date','updateConfig','rowHeaderMap','GrandTotal','updateFieldPosition','forEach','uniqueDataFieldName','getSheetId','pivotTableIndexConfig','_lifecycleService','deleteUnitId','_univerInstanceService','sheet.mutation.send-init-pivot-text-local','stringify','_subjectCollectionChange','getUpdateRangeDeleteIds','getSourceName','average','sheets-pivot.cellDateGroupDisplay.minute','collectionChange$','_initConfig','triggerDirtyFeature','getRangeData','_sheetsPivotTableService','AddPivotTable','SetOptions','addExclusiveRange','_host','initDataRanges','getInfo','string','single','updateValuePosition','getIntersectsPivotTable','oldMatrix','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','isDate','rangeKey','getSheetBySheetId','handleAsyncResponse','onQueryStart','startCollectChangeset','getViewData','getValueFilterInfos','generateMutationsByRanges','_pivotInitCompleted$','originTargetInfo','addPivotField','defineProperty','_pivotConfigChange$','_markDirty$','_resourceManagerService','sheets-pivot.minName','dataFieldsCollection','values','getTextSize','executeCommand','_ensureViewDataMap','getFullYear','removeCollectionImp','_configService','refreshGroupField','setSortInfo','getMonth','sheet.command.set-pivot-collapse','sheets-pivot.dateGroup.hour','markDirty$','_refRangeHandle','textInfo','_injector','isValue','508743VvjMXp','RemovePivotField','addPivotTable','getHeaderMapItem','Year','panel','Sum\x20of\x20','getDataFieldByTableId','getDirtyInfo','getDate','getRefRangeMutationsByMoveRange','realDeleteValue','NUMBER','_model','updatePivotTableMatrixInfo','rowFields','map','sheet.mutation.send-pivot-config-local','removePivotTable','clearRenderCache','Filter','getTextInfo','matrix','queryDirtyPivotTable','updateView','updateViewData','dataRangeInfo','Minute','width','getStyles','versions','pivotMutationGenerate','sheets-pivot.sumName','getRangeKey','getFieldDataType','rgb(255,255,255)','iterateFieldByArea','rowInfo','collections','addCollectionByJSON'];_0x362c=function(){return _0x2a3060;};return _0x362c();}function Nt(_0x28cc60,_0x80a7f7){const _0x3a3197=_0x54f375;switch(_0x80a7f7){case _0x4baac8[_0x3a3197(0x385)]:return _0x28cc60['valueFields'];case _0x4baac8[_0x3a3197(0x278)]:return _0x28cc60[_0x3a3197(0x2be)];case _0x4baac8[_0x3a3197(0x38e)]:return _0x28cc60[_0x3a3197(0x273)];case _0x4baac8[_0x3a3197(0x29b)]:return _0x28cc60[_0x3a3197(0x3a1)];default:return[];}}function $e(_0x4f3151,_0x4614c6){const _0x4b803e=_0x54f375;return _0x4f3151[_0x4b803e(0x372)][_0x4614c6]||_0x4f3151[_0x4b803e(0x19c)][_0x4614c6];}function Zi(_0x2110db,_0x56daab){const _0x133ac4=_0x54f375,{area:_0x180a3d,fieldJson:_0x18a1c6,index:_0x1815d0}=_0x56daab;_0x180a3d===_0x4baac8['Value']?_0x2110db[_0x133ac4(0x372)][_0x18a1c6['id']]=_0x18a1c6:_0x2110db['dimension'][_0x18a1c6['id']]=_0x18a1c6,Nt(_0x2110db,_0x180a3d)['splice'](_0x1815d0,0x0,_0x18a1c6['id']);}function Xi(_0x6a1d6c,_0x4cffd1){const _0x1ff355=_0x54f375,{area:_0x21e40f,fieldId:_0x420ea7,index:_0x27de91}=_0x4cffd1;_0x21e40f===_0x4baac8['Value']?delete _0x6a1d6c[_0x1ff355(0x372)][_0x420ea7]:delete _0x6a1d6c[_0x1ff355(0x19c)][_0x420ea7],Nt(_0x6a1d6c,_0x21e40f)[_0x1ff355(0x38a)](_0x27de91,0x1);}function es(_0x3bd58b,_0x277ea9){const _0x925ad5=_0x54f375,{fieldId:_0x50857d,name:_0x2481c8}=_0x277ea9,_0x37e8ec=$e(_0x3bd58b,_0x50857d);_0x37e8ec&&(_0x37e8ec[_0x925ad5(0x2d8)]=_0x2481c8);}function ts(_0xab193d,_0x4e7fab){const _0x279de2=_0x54f375,{fieldId:_0x55c782,collapse:_0x1f5f20,item:_0x2a1a50}=_0x4e7fab;_0x2a1a50!==void 0x0?(_0xab193d[_0x279de2(0x3eb)][_0x55c782]=_0xab193d[_0x279de2(0x3eb)][_0x55c782]||{},_0xab193d[_0x279de2(0x3eb)][_0x55c782][_0x2a1a50]=_0x1f5f20):_0xab193d[_0x279de2(0x3eb)][_0x55c782]=_0x1f5f20;}function os(_0x799803,_0x4d9f1d){const {fieldId:_0x160b20,format:_0x126393}=_0x4d9f1d,_0x4087ed=$e(_0x799803,_0x160b20);_0x4087ed&&(_0x4087ed['format']=_0x126393);}function ns(_0x2da85f,_0x412c6a){const _0x35def4=_0x54f375,{fieldId:_0x4b2503,filterInfo:_0x4e0968}=_0x412c6a,_0x31d4df=$e(_0x2da85f,_0x4b2503);_0x31d4df&&(_0x31d4df[_0x35def4(0x2b4)]=_0x4e0968);}function is(_0x4b28dd,_0x386bf9){const _0x12473a=_0x54f375,{fieldId:_0x188c8b,filterInfo:_0x41a841}=_0x386bf9,_0xc678b4=_0x4b28dd[_0x12473a(0x1ea)][_0x12473a(0x1e2)](_0x1c4569=>_0x1c4569[_0x12473a(0x357)]!==_0x188c8b);_0x41a841&&_0xc678b4[_0x12473a(0x342)]({'fieldId':_0x188c8b,'filterInfo':_0x41a841}),_0x4b28dd[_0x12473a(0x1ea)]=_0xc678b4;}function _0x4016(_0x239ee6,_0x3c64b8){const _0x362c28=_0x362c();return _0x4016=function(_0x4016de,_0x3e244c){_0x4016de=_0x4016de-0x181;let _0x32c750=_0x362c28[_0x4016de];return _0x32c750;},_0x4016(_0x239ee6,_0x3c64b8);}function ss(_0x35336c,_0x1b527c){const _0x43e237=_0x54f375,{fieldId:_0x5cd577,subtotalType:_0x5a548d}=_0x1b527c,_0x1f45c8=$e(_0x35336c,_0x5cd577);_0x1f45c8&&(_0x1f45c8[_0x43e237(0x331)]=_0x5a548d);}function as(_0x4584c8,_0x152127){const _0x116742=_0x54f375,{fieldId:_0x31df50,oldArea:_0x2528be,area:_0x4eee6b,oldIndex:_0x63d7d1,index:_0x5f1783}=_0x152127,_0x4111e=_0x2528be!==_0x4baac8[_0x116742(0x385)]&&_0x4eee6b===_0x4baac8[_0x116742(0x385)],_0x5a8c4c=_0x2528be===_0x4baac8['Value']&&_0x4eee6b!==_0x4baac8[_0x116742(0x385)];if(_0x4111e||_0x5a8c4c){const _0x15046a=$e(_0x4584c8,_0x31df50);_0x15046a&&(_0x4111e?(delete _0x4584c8[_0x116742(0x19c)][_0x31df50],_0x4584c8[_0x116742(0x372)][_0x31df50]=_0x15046a):(delete _0x4584c8[_0x116742(0x372)][_0x31df50],_0x4584c8['dimension'][_0x31df50]=_0x15046a));}const _0x2874ce=Nt(_0x4584c8,_0x2528be),_0x3fbf02=Nt(_0x4584c8,_0x4eee6b);_0x2874ce[_0x116742(0x38a)](_0x63d7d1,0x1),_0x3fbf02[_0x116742(0x38a)](_0x5f1783,0x0,_0x31df50);}function rs(_0x3c311c,_0x342aee){const _0x4e42cf=_0x54f375,{valuePosition:_0x7eb15d,index:_0x173fe6}=_0x342aee;_0x3c311c['valuePosition']=_0x7eb15d,_0x3c311c[_0x4e42cf(0x3d4)]=_0x173fe6;}function ls(_0x12112b,_0x28f078){const _0x16b29d=_0x54f375,{tableFieldId:_0x109b0d,sourceName:_0x2e6a3b,dataFieldId:_0x4e3098}=_0x28f078,_0x54da8a=$e(_0x12112b,_0x109b0d);_0x54da8a&&(_0x54da8a[_0x16b29d(0x3d3)]=_0x2e6a3b,_0x54da8a['dataFieldId']=_0x4e3098);}function cs(_0x525124,_0x58217e){const {fieldId:_0x5cd717,sortInfo:_0x174d74}=_0x58217e,_0x25e62f=$e(_0x525124,_0x5cd717);_0x25e62f&&(_0x25e62f['sortInfo']=_0x174d74);}function ds(_0x3b65f7,_0x45a145){const _0x1a42c2=_0x54f375,{options:_0x1871b6}=_0x45a145;_0x3b65f7['options']={..._0x3b65f7[_0x1a42c2(0x32f)],..._0x1871b6};}const Bt={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x1ca),'handler'(_0x3f2600,_0x36ed10){const _0x4df067=_0x54f375;if(!_0x36ed10)return!0x1;if(!!_0x3f2600[_0x4df067(0x307)](_0x4abb7e)['getConfig'](z))return!0x0;const _0xf01c06=_0x3f2600[_0x4df067(0x307)](B),{pivotTableId:_0x436a80,fieldJson:_0x2ad4ce,area:_0x28e9e0,index:_0x447b51,unitId:_0x3dfe8b,subUnitId:_0x3b74df}=_0x36ed10,_0x51d720=_0xf01c06[_0x4df067(0x37e)](_0x436a80);if(!_0x51d720)return!0x1;let _0x38bf92;_0x28e9e0===_0x4baac8['Value']?_0x38bf92=_0x5d2e4a(_0x2ad4ce):_0x38bf92=_0x3dbd7a(_0x2ad4ce),_0x51d720[_0x4df067(0x1ec)](_0x38bf92,_0x28e9e0,_0x447b51);const _0x2df41b=_0xf01c06['getPivotTableModelConfig'](_0x3dfe8b,_0x3b74df,_0x436a80);Zi(_0x2df41b,_0x36ed10);const _0x2a5ff0=_0xf01c06[_0x4df067(0x3f5)](_0x3dfe8b,_0x3b74df,_0x436a80);return _0xf01c06[_0x4df067(0x30d)]({'unitId':_0x3dfe8b,'subUnitId':_0x3b74df,'token':_0x436a80,'type':L[_0x4df067(0x1b3)],'pivotConfig':_0x2a5ff0}),!0x0;}},$t={'type':_0x367096['MUTATION'],'id':_0x54f375(0x2eb),'handler'(_0x14f2a3,_0x1ef894){const _0x35d5cf=_0x54f375;if(!_0x1ef894)return!0x1;if(!!_0x14f2a3['get'](_0x4abb7e)[_0x35d5cf(0x197)](z))return!0x0;const _0x58ec35=_0x14f2a3[_0x35d5cf(0x307)](B),{pivotTableId:_0x48a6fa,fieldId:_0x2f99f4,unitId:_0x2e2eb9,subUnitId:_0x1e8b5f}=_0x1ef894,_0x2fa4b5=_0x58ec35[_0x35d5cf(0x37e)](_0x48a6fa);if(!_0x2fa4b5)return!0x1;_0x2fa4b5[_0x35d5cf(0x38b)](_0x2f99f4);const _0x3f5ef6=_0x58ec35[_0x35d5cf(0x291)](_0x2e2eb9,_0x1e8b5f,_0x48a6fa);Xi(_0x3f5ef6,_0x1ef894);const _0x49ad12=_0x58ec35[_0x35d5cf(0x3f5)](_0x2e2eb9,_0x1e8b5f,_0x48a6fa);return _0x58ec35[_0x35d5cf(0x30d)]({'unitId':_0x2e2eb9,'subUnitId':_0x1e8b5f,'token':_0x48a6fa,'type':L[_0x35d5cf(0x1b3)],'pivotConfig':_0x49ad12}),!0x0;}},jt={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x2d1),'handler'(_0xf2b08d,_0x2d6ff3){const _0x555ee5=_0x54f375;if(!_0x2d6ff3)return!0x1;if(!!_0xf2b08d[_0x555ee5(0x307)](_0x4abb7e)['getConfig'](z))return!0x0;const _0x362e92=_0xf2b08d['get'](B),{unitId:_0x14d471,subUnitId:_0x3b8bcf,pivotTableId:_0x479885,fieldId:_0x1bc167,name:_0x29c161}=_0x2d6ff3,_0x30cb70=_0x362e92[_0x555ee5(0x37e)](_0x479885);if(!_0x30cb70)return!0x1;_0x30cb70[_0x555ee5(0x33a)](_0x1bc167,_0x29c161);const _0x642c57=_0x362e92['getPivotTableModelConfig'](_0x14d471,_0x3b8bcf,_0x479885);return es(_0x642c57,_0x2d6ff3),_0x362e92[_0x555ee5(0x30d)]({'unitId':_0x14d471,'subUnitId':_0x3b8bcf,'token':_0x479885,'type':L[_0x555ee5(0x1b3)]}),!0x0;}},Wt={'type':_0x367096['MUTATION'],'id':_0x54f375(0x358),'handler'(_0x3bb4dd,_0x49518e){const _0x49c28e=_0x54f375;if(!_0x49518e)return!0x1;if(!!_0x3bb4dd[_0x49c28e(0x307)](_0x4abb7e)['getConfig'](z))return!0x0;const _0x21d0ab=_0x3bb4dd[_0x49c28e(0x307)](B),{unitId:_0x297ac5,subUnitId:_0x444cd3,pivotTableId:_0x298f49,fieldId:_0x5b3741,collapse:_0x2e505c,item:_0x22f719}=_0x49518e,_0x3f21fa=_0x21d0ab['getPivotTableInstance'](_0x298f49);if(!_0x3f21fa)return!0x1;_0x3f21fa[_0x49c28e(0x206)](_0x5b3741,_0x2e505c,_0x22f719);const _0x30f065=_0x21d0ab[_0x49c28e(0x291)](_0x297ac5,_0x444cd3,_0x298f49);return ts(_0x30f065,_0x49518e),_0x21d0ab[_0x49c28e(0x30d)]({'unitId':_0x297ac5,'subUnitId':_0x444cd3,'token':_0x298f49,'type':L[_0x49c28e(0x1b3)]}),!0x0;}},Gt={'type':_0x367096[_0x54f375(0x1b1)],'id':'sheet.mutation.set-pivot-format','handler'(_0x57d361,_0x3b06b0){const _0x1dfa4a=_0x54f375;if(!_0x3b06b0)return!0x1;if(!!_0x57d361['get'](_0x4abb7e)[_0x1dfa4a(0x197)](z))return!0x0;const _0x4ef4fd=_0x57d361[_0x1dfa4a(0x307)](B),{unitId:_0x221553,subUnitId:_0x5c1fab,pivotTableId:_0x1b6f63,fieldId:_0x1419b2,format:_0x21ee6a}=_0x3b06b0,_0x170467=_0x4ef4fd[_0x1dfa4a(0x37e)](_0x1b6f63);if(!_0x170467)return!0x1;_0x170467['setFieldFormat'](_0x1419b2,_0x21ee6a);const _0x1b82e9=_0x4ef4fd[_0x1dfa4a(0x291)](_0x221553,_0x5c1fab,_0x1b6f63);return os(_0x1b82e9,_0x3b06b0),_0x4ef4fd[_0x1dfa4a(0x30d)]({'unitId':_0x221553,'subUnitId':_0x5c1fab,'token':_0x1b6f63,'type':L[_0x1dfa4a(0x1b3)]}),!0x0;}},Kt={'type':_0x367096['MUTATION'],'id':_0x54f375(0x2fa),'handler'(_0x1d70be,_0x33a4e8){const _0x257ae3=_0x54f375;if(!_0x33a4e8)return!0x1;if(!!_0x1d70be[_0x257ae3(0x307)](_0x4abb7e)['getConfig'](z))return!0x0;const _0x354b4d=_0x1d70be['get'](B),{unitId:_0x21d89f,subUnitId:_0x52e1ac,pivotTableId:_0x3535cd,fieldId:_0xbb2474,filterInfo:_0x1fe9f6}=_0x33a4e8,_0x3dcc58=_0x354b4d[_0x257ae3(0x37e)](_0x3535cd);if(!_0x3dcc58)return!0x1;_0x3dcc58[_0x257ae3(0x2ba)](_0xbb2474,_0x1fe9f6);const _0x4e0263=_0x354b4d[_0x257ae3(0x291)](_0x21d89f,_0x52e1ac,_0x3535cd);return ns(_0x4e0263,_0x33a4e8),_0x354b4d[_0x257ae3(0x30d)]({'unitId':_0x21d89f,'subUnitId':_0x52e1ac,'token':_0x3535cd,'type':L['Set']}),!0x0;}},zt={'type':_0x367096['MUTATION'],'id':_0x54f375(0x1a9),'handler'(_0x2c84da,_0x1baafc){const _0x8d56ad=_0x54f375;if(!_0x1baafc)return!0x1;if(!!_0x2c84da[_0x8d56ad(0x307)](_0x4abb7e)[_0x8d56ad(0x197)](z))return!0x0;const _0x306590=_0x2c84da[_0x8d56ad(0x307)](B),{unitId:_0x501736,subUnitId:_0x50d59c,pivotTableId:_0x10b47c,options:_0x52eaa2}=_0x1baafc,_0x29326c=_0x306590[_0x8d56ad(0x37e)](_0x10b47c);if(!_0x29326c)return!0x1;_0x29326c[_0x8d56ad(0x39f)](_0x52eaa2);const _0x159571=_0x306590['getPivotTableModelConfig'](_0x501736,_0x50d59c,_0x10b47c);return ds(_0x159571,_0x1baafc),_0x306590[_0x8d56ad(0x30d)]({'unitId':_0x501736,'subUnitId':_0x50d59c,'token':_0x10b47c,'type':L[_0x8d56ad(0x1b3)]}),!0x0;}},qt={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x36b),'handler'(_0x2fcbe3,_0x4ac37e){const _0x5436b1=_0x54f375;if(!_0x4ac37e)return!0x1;if(!!_0x2fcbe3[_0x5436b1(0x307)](_0x4abb7e)['getConfig'](z))return!0x0;const _0x30d3b2=_0x2fcbe3[_0x5436b1(0x307)](B),{unitId:_0x53119a,subUnitId:_0x4b817c,pivotTableId:_0x2db581,sortInfo:_0x37fa0a,fieldId:_0x418bdd}=_0x4ac37e,_0x51d743=_0x30d3b2[_0x5436b1(0x37e)](_0x2db581);if(!_0x51d743)return!0x1;_0x51d743['setSortInfo'](_0x418bdd,_0x37fa0a);const _0x51c557=_0x30d3b2[_0x5436b1(0x291)](_0x53119a,_0x4b817c,_0x2db581);return cs(_0x51c557,_0x4ac37e),_0x30d3b2[_0x5436b1(0x30d)]({'unitId':_0x53119a,'subUnitId':_0x4b817c,'token':_0x2db581,'type':L[_0x5436b1(0x1b3)]}),!0x0;}},Qt={'type':_0x367096['MUTATION'],'id':_0x54f375(0x3dd),'handler'(_0x34a3b0,_0x120b23){const _0x400750=_0x54f375;if(!_0x120b23)return!0x1;if(!!_0x34a3b0[_0x400750(0x307)](_0x4abb7e)[_0x400750(0x197)](z))return!0x0;const _0x513eeb=_0x34a3b0[_0x400750(0x307)](B),{unitId:_0x33ed70,subUnitId:_0x58856a,pivotTableId:_0x4df80f,fieldId:_0x71c2d,subtotalType:_0xab3255}=_0x120b23,_0x8c3ab8=_0x513eeb[_0x400750(0x37e)](_0x4df80f);if(!_0x8c3ab8)return!0x1;_0x8c3ab8[_0x400750(0x1b2)](_0x71c2d,_0xab3255);const _0x29f5b5=_0x513eeb[_0x400750(0x291)](_0x33ed70,_0x58856a,_0x4df80f);return ss(_0x29f5b5,_0x120b23),_0x513eeb[_0x400750(0x30d)]({'unitId':_0x33ed70,'subUnitId':_0x58856a,'token':_0x4df80f,'type':L['Set']}),!0x0;}},Yt={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x1fe),'handler'(_0x4e77cf,_0x576149){const _0x3a57ba=_0x54f375;if(!_0x576149)return!0x1;if(!!_0x4e77cf[_0x3a57ba(0x307)](_0x4abb7e)[_0x3a57ba(0x197)](z))return!0x0;const _0x2ef2d3=_0x4e77cf[_0x3a57ba(0x307)](B),{unitId:_0x267c5c,subUnitId:_0x51332c,pivotTableId:_0x4fdd5d,fieldId:_0x3607fc,filterInfo:_0x169ff1}=_0x576149,_0x454ed7=_0x2ef2d3[_0x3a57ba(0x37e)](_0x4fdd5d);if(!_0x454ed7)return!0x1;_0x454ed7[_0x3a57ba(0x32a)](_0x3607fc,_0x169ff1);const _0x3f9d3d=_0x2ef2d3[_0x3a57ba(0x291)](_0x267c5c,_0x51332c,_0x4fdd5d);return is(_0x3f9d3d,_0x576149),_0x2ef2d3[_0x3a57ba(0x30d)]({'unitId':_0x267c5c,'subUnitId':_0x51332c,'token':_0x4fdd5d,'type':L['Set']}),!0x0;}},Zt={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x2e1),'handler'(_0x395e7b,_0x9fcd65){const _0x5aaf34=_0x54f375;if(!_0x9fcd65)return!0x1;if(!!_0x395e7b['get'](_0x4abb7e)[_0x5aaf34(0x197)](z))return!0x0;const _0x1e0a8b=_0x395e7b[_0x5aaf34(0x307)](B),{unitId:_0x2690eb,subUnitId:_0x8c4cb0,pivotTableId:_0x3cc760,area:_0x3a79ee,index:_0x34939f,fieldId:_0x46171c}=_0x9fcd65,_0x57d71f=_0x1e0a8b[_0x5aaf34(0x37e)](_0x3cc760);if(!_0x57d71f)return!0x1;_0x57d71f[_0x5aaf34(0x221)](_0x46171c,_0x3a79ee,_0x34939f);const _0x5aee98=_0x1e0a8b['getPivotTableModelConfig'](_0x2690eb,_0x8c4cb0,_0x3cc760);return as(_0x5aee98,_0x9fcd65),_0x1e0a8b['addDirtyPivotTable']({'unitId':_0x2690eb,'subUnitId':_0x8c4cb0,'token':_0x3cc760,'type':L[_0x5aaf34(0x1b3)]}),!0x0;}},Xt={'type':_0x367096[_0x54f375(0x1b1)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x2d99e5,_0x3c6ab1){const _0x5ab008=_0x54f375;if(!_0x3c6ab1)return!0x1;if(!!_0x2d99e5[_0x5ab008(0x307)](_0x4abb7e)[_0x5ab008(0x197)](z))return!0x0;const _0x1d0092=_0x2d99e5[_0x5ab008(0x307)](B),{unitId:_0x1ee57f,subUnitId:_0x477d94,pivotTableId:_0x4326fe,sourceName:_0x2c0dfa,dataFieldId:_0x58f2ec,tableFieldId:_0x1feeeb}=_0x3c6ab1,_0x440b6c=_0x1d0092[_0x5ab008(0x37e)](_0x4326fe);if(!_0x440b6c)return!0x1;_0x440b6c[_0x5ab008(0x1d0)](_0x1feeeb,_0x2c0dfa,_0x58f2ec);const _0x580e70=_0x1d0092[_0x5ab008(0x291)](_0x1ee57f,_0x477d94,_0x4326fe);return ls(_0x580e70,_0x3c6ab1),_0x1d0092[_0x5ab008(0x30d)]({'unitId':_0x1ee57f,'subUnitId':_0x477d94,'token':_0x4326fe,'type':L[_0x5ab008(0x1b3)]}),!0x0;}},eo={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x1de),'handler'(_0x32b6f,_0x4c4e71){const _0x13dee4=_0x54f375;if(!_0x4c4e71)return!0x1;if(!!_0x32b6f[_0x13dee4(0x307)](_0x4abb7e)['getConfig'](z))return!0x0;const _0x2abd4d=_0x32b6f[_0x13dee4(0x307)](B),{unitId:_0x4dc3bf,subUnitId:_0x5ea560,pivotTableId:_0x61ca6a,valuePosition:_0x1f78bf,index:_0x2a38e7}=_0x4c4e71,_0x5ad50c=_0x2abd4d[_0x13dee4(0x37e)](_0x61ca6a);if(!_0x5ad50c)return!0x1;_0x5ad50c[_0x13dee4(0x23d)](_0x1f78bf,_0x2a38e7);const _0x3c5513=_0x2abd4d[_0x13dee4(0x291)](_0x4dc3bf,_0x5ea560,_0x61ca6a);return rs(_0x3c5513,_0x4c4e71),_0x2abd4d['addDirtyPivotTable']({'unitId':_0x4dc3bf,'subUnitId':_0x5ea560,'token':_0x61ca6a,'type':L[_0x13dee4(0x1b3)]}),!0x0;}};function Ce(_0x85b003,_0x1ea514,_0x4c3aa6){const _0x5a7741=_0x54f375,{pivotTableId:_0x571b4c,unitId:_0x1d9416,subUnitId:_0x3875b6}=_0x1ea514,_0x301a31=[],_0x468625=[];for(const _0x96a75b of _0x4c3aa6)switch(_0x96a75b[_0x5a7741(0x1df)]){case _0x2be84d['AddField']:{const {fieldJson:_0x47524f,area:_0x1f90f5,index:_0x3b0f14}=_0x96a75b,_0xa1f888={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldJson':_0x47524f,'area':_0x1f90f5,'index':_0x3b0f14},_0x2aae57={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x47524f['id'],'area':_0x1f90f5,'index':_0x3b0f14};_0x301a31[_0x5a7741(0x342)]({'id':Bt['id'],'params':_0xa1f888}),_0x468625[_0x5a7741(0x339)]({'id':$t['id'],'params':_0x2aae57});}break;case _0x2be84d[_0x5a7741(0x3d8)]:{const {fieldId:_0x261a8,newSubtotalType:_0x197906,oldSubtotalType:_0x34b28c}=_0x96a75b,_0x218a6b={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x261a8,'subtotalType':_0x197906};_0x301a31[_0x5a7741(0x342)]({'id':Qt['id'],'params':_0x218a6b});const _0x3ccd2a={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x261a8,'subtotalType':_0x34b28c};_0x468625[_0x5a7741(0x339)]({'id':Qt['id'],'params':_0x3ccd2a});}break;case _0x2be84d[_0x5a7741(0x187)]:{const {fieldId:_0x575567,fieldJson:_0x279a66,area:_0x57cc52,index:_0x2d0360}=_0x96a75b,_0x2b2747={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x575567,'index':_0x2d0360,'area':_0x57cc52};_0x301a31[_0x5a7741(0x342)]({'id':$t['id'],'params':_0x2b2747});const _0x35bde5={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldJson':_0x279a66,'area':_0x57cc52,'index':_0x2d0360};_0x468625[_0x5a7741(0x339)]({'id':Bt['id'],'params':_0x35bde5});}break;case _0x2be84d[_0x5a7741(0x2e2)]:{const {fieldId:_0x5e2a7e,oldName:_0x1260f0,newName:_0xb3f039}=_0x96a75b,_0x44e35d={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x5e2a7e,'name':_0xb3f039};_0x301a31[_0x5a7741(0x342)]({'id':jt['id'],'params':_0x44e35d});const _0x161801={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x5e2a7e,'name':_0x1260f0};_0x468625['unshift']({'id':jt['id'],'params':_0x161801});}break;case _0x2be84d[_0x5a7741(0x2dc)]:{const {fieldId:_0x78980f,oldFilterInfo:_0x25da75,newFilterInfo:_0x585ce4}=_0x96a75b,_0x15117b={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x78980f,'filterInfo':_0x585ce4};_0x301a31[_0x5a7741(0x342)]({'id':Kt['id'],'params':_0x15117b});const _0x51691e={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x78980f,'filterInfo':_0x25da75};_0x468625[_0x5a7741(0x339)]({'id':Kt['id'],'params':_0x51691e});}break;case _0x2be84d[_0x5a7741(0x1bd)]:{const {fieldId:_0x42d701,oldSortInfo:_0x316b83,newSortInfo:_0x9628aa}=_0x96a75b,_0xbeb3b={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x42d701,'sortInfo':_0x9628aa};_0x301a31[_0x5a7741(0x342)]({'id':qt['id'],'params':_0xbeb3b});const _0x436213={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x42d701,'sortInfo':_0x316b83};_0x468625[_0x5a7741(0x339)]({'id':qt['id'],'params':_0x436213});}break;case _0x2be84d[_0x5a7741(0x236)]:{const {oldOptions:_0x245816,newOptions:_0x5a18b9}=_0x96a75b,_0x411b29={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'options':_0x5a18b9};_0x301a31[_0x5a7741(0x342)]({'id':zt['id'],'params':_0x411b29});const _0x15407f={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'options':_0x245816};_0x468625['unshift']({'id':zt['id'],'params':_0x15407f});}break;case _0x2be84d['UpdateFieldPosition']:{const {oldArea:_0x29cb8b,newArea:_0x2458e4,oldIndex:_0x1d61a6,newIndex:_0x3f137e,fieldId:_0xe104f5}=_0x96a75b,_0x57bea3={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0xe104f5,'area':_0x2458e4,'index':_0x3f137e,'oldArea':_0x29cb8b,'oldIndex':_0x1d61a6};_0x301a31[_0x5a7741(0x342)]({'id':Zt['id'],'params':_0x57bea3});const _0x34f7a4={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0xe104f5,'area':_0x29cb8b,'index':_0x1d61a6,'oldArea':_0x2458e4,'oldIndex':_0x3f137e};_0x468625['unshift']({'id':Zt['id'],'params':_0x34f7a4});}break;case _0x2be84d['UpdateValuePosition']:{const {oldValuePosition:_0x24182f,newValuePosition:_0x1a5055,oldIndex:_0x16d6d5,newIndex:_0x2708d7}=_0x96a75b,_0x578c76={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'valuePosition':_0x1a5055,'index':_0x2708d7};_0x301a31['push']({'id':eo['id'],'params':_0x578c76});const _0x14d961={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'valuePosition':_0x24182f,'index':_0x16d6d5};_0x468625[_0x5a7741(0x339)]({'id':eo['id'],'params':_0x14d961});}break;case _0x2be84d[_0x5a7741(0x2a1)]:{const {fieldId:_0x1ef278,collapse:_0x5a8d75,item:_0x17cb2e}=_0x96a75b,_0x2908dd={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x1ef278,'collapse':_0x5a8d75,'item':_0x17cb2e};_0x301a31[_0x5a7741(0x342)]({'id':Wt['id'],'params':_0x2908dd});const _0x3e2f1b={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x1ef278,'collapse':!_0x5a8d75,'item':_0x17cb2e};_0x468625['unshift']({'id':Wt['id'],'params':_0x3e2f1b});}break;case _0x2be84d['SetFieldFormat']:{const {newFormat:_0x50c85e,oldFormat:_0x3d4ecd,fieldId:_0x31be7e}=_0x96a75b,_0x35be94={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x31be7e,'format':_0x50c85e};_0x301a31[_0x5a7741(0x342)]({'id':Gt['id'],'params':_0x35be94});const _0x303774={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x31be7e,'format':_0x3d4ecd};_0x468625[_0x5a7741(0x339)]({'id':Gt['id'],'params':_0x303774});}break;case _0x2be84d[_0x5a7741(0x2b6)]:{const {tableFieldId:_0x442ee7,oldSourceName:_0xd93fa1,newSourceName:_0x333035,oldDataFieldId:_0x501fec,newDataFieldId:_0x2160f6}=_0x96a75b,_0x4a2ba2={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'tableFieldId':_0x442ee7,'sourceName':_0x333035,'dataFieldId':_0x2160f6};_0x301a31[_0x5a7741(0x342)]({'id':Xt['id'],'params':_0x4a2ba2});const _0x2b82f7={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'tableFieldId':_0x442ee7,'sourceName':_0xd93fa1,'dataFieldId':_0x501fec};_0x468625['unshift']({'id':Xt['id'],'params':_0x2b82f7});}break;case _0x2be84d[_0x5a7741(0x359)]:{const {fieldId:_0x53daea,filterInfo:_0x4b8b15,oldFilterInfo:_0x224fee}=_0x96a75b,_0x304a06={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x53daea,'filterInfo':_0x4b8b15};_0x301a31[_0x5a7741(0x342)]({'id':Yt['id'],'params':_0x304a06});const _0x3226d5={'unitId':_0x1d9416,'subUnitId':_0x3875b6,'pivotTableId':_0x571b4c,'fieldId':_0x53daea,'filterInfo':_0x224fee};_0x468625['unshift']({'id':Yt['id'],'params':_0x3226d5});}}return{'redos':_0x301a31,'undos':_0x468625};}function _e(_0x40b643,_0x5e8d38){const _0x467c38=_0x54f375;var _0x2ad4f9;const _0x269dae=_0x40b643[_0x467c38(0x307)](ie),{cellInfo:_0x217bfe,view:_0x4b46e6,isEmpty:_0x38bc3f}=_0x5e8d38;return(_0x2ad4f9=_0x269dae[_0x467c38(0x318)][_0x467c38(0x2ce)](Bo)(Po,{'cellInfo':_0x217bfe,'view':_0x4b46e6,'isEmpty':_0x38bc3f}))!=null?_0x2ad4f9:Po;}const us=()=>typeof process<'u'&&process[_0x54f375(0x282)]!=null&&process[_0x54f375(0x282)][_0x54f375(0x3f3)]!=null,It={'type':_0x367096['MUTATION'],'id':_0x54f375(0x2d0),'handler'(_0x4ac18d,_0x141df8){const _0x47df6d=_0x54f375;var _0x3daebd;if(!_0x141df8)return!0x1;const _0x593b49=_0x4ac18d[_0x47df6d(0x307)](_0x4abb7e);if(!!_0x593b49[_0x47df6d(0x197)](z))return!0x0;const _0x393aab=_0x4ac18d[_0x47df6d(0x307)](_0x5f5304),_0x2c5891=_0x4ac18d['get'](B),{pivotTableId:_0x4b2e3d,pivotTableConfig:_0x1ab019,collectionConfig:_0x195b85,unitId:_0x19c1c6,subUnitId:_0x236ae8}=_0x141df8,{sourceRangeInfo:_0x13611b,fieldsConfig:_0x5cd85c,targetCellInfo:_0x183490}=_0x1ab019,_0x56ca7e=_0x393aab[_0x47df6d(0x3df)](_0x19c1c6);if(!_0x56ca7e||!_0x56ca7e[_0x47df6d(0x243)](_0x236ae8))return!0x1;if(!us()){let _0x2b1b34=0x0;_0x56ca7e[_0x47df6d(0x20e)]()[_0x47df6d(0x222)](_0x6bcbe4=>{const _0x376d9c=_0x47df6d;var _0x511bf4,_0x1a5ea5;_0x2b1b34+=(_0x1a5ea5=(_0x511bf4=_0x2c5891['getSubUnitPivotConfigs'](_0x19c1c6,_0x6bcbe4[_0x376d9c(0x224)]()))==null?void 0x0:_0x511bf4[_0x376d9c(0x3c1)])!=null?_0x1a5ea5:0x0;});const _0x4a969f=(_0x3daebd=_0x593b49[_0x47df6d(0x197)](_0x108a0a))!=null?_0x3daebd:{},{ls:_0x1a9b2b,pbk:_0x198059}=_0x4a969f;if(!Go(_0x1a9b2b,_0x198059))throw new _0x1ad862('limit\x20pivot');const _0x46cc2f=go(so,_0x1a9b2b,_0x198059)[_0x47df6d(0x363)];if(_0x2b1b34>=_0x46cc2f)throw new _0x1ad862(_0x47df6d(0x340));}if(!_0x195b85||!_0x5cd85c)return!0x1;const {collection:_0x32443e,updateDataFieldList:_0x465649}=_0x2c5891[_0x47df6d(0x28b)](_0x4b2e3d,_0x195b85,_0x13611b,_0x183490);_0x2c5891[_0x47df6d(0x2e9)](_0x32443e,_0x465649,_0x13611b);const _0x24b8c3=new _0x324108(_0x32443e,void 0x0,_0x4b2e3d);_0x24b8c3['fromJSON'](_0x5cd85c);const _0x4d7090=JSON[_0x47df6d(0x311)](JSON[_0x47df6d(0x22a)](_0x1ab019));return _0x2c5891[_0x47df6d(0x266)](_0x19c1c6,_0x236ae8,_0x4b2e3d,_0x24b8c3,_0x4d7090),_0x2c5891[_0x47df6d(0x30d)]({'unitId':_0x19c1c6,'subUnitId':_0x236ae8,'token':_0x4b2e3d,'type':L[_0x47df6d(0x1ee)],'pivotConfig':_0x4d7090}),!0x0;}},xt={'type':_0x367096['MUTATION'],'id':'sheet.mutation.remove-pivot-table','handler'(_0x2367f3,_0xeab038){const _0x2cd736=_0x54f375;if(!_0xeab038)return!0x1;if(!!_0x2367f3[_0x2cd736(0x307)](_0x4abb7e)[_0x2cd736(0x197)](z))return!0x0;const {pivotTableId:_0x20e687,unitId:_0x128f1b,subUnitId:_0x528b95}=_0xeab038,_0xa06756=_0x2367f3[_0x2cd736(0x307)](B);return _0xa06756[_0x2cd736(0x3f5)](_0x128f1b,_0x528b95,_0x20e687)?(_0xa06756[_0x2cd736(0x30d)]({'unitId':_0x128f1b,'subUnitId':_0x528b95,'token':_0x20e687,'type':L[_0x2cd736(0x2f6)]}),_0xa06756[_0x2cd736(0x276)](_0x128f1b,_0x528b95,_0x20e687),!0x0):!0x1;}},pt={'type':_0x367096[_0x54f375(0x1b1)],'id':'sheet.mutation.set-pivot-position','handler'(_0x33dcfa,_0x420262){const _0xff0b5e=_0x54f375;if(!_0x420262)return!0x1;if(!!_0x33dcfa[_0xff0b5e(0x307)](_0x4abb7e)[_0xff0b5e(0x197)](z))return!0x0;const {pivotTableId:_0x3cdcc2,targetCellPosition:_0x3f70da,unitId:_0x132c75,subUnitId:_0x5a9074}=_0x420262,_0x303147=_0x33dcfa['get'](B);if(!_0x303147[_0xff0b5e(0x37e)](_0x420262['pivotTableId']))return!0x1;const _0x2af118=_0x303147[_0xff0b5e(0x324)](_0x3cdcc2);if(!_0x2af118)return!0x1;const _0x389770=_0x303147[_0xff0b5e(0x1b9)](_0x2af118['unitId'],_0x420262['pivotTableId']);if(!_0x389770)return!0x1;const _0x529eb3=_0x303147[_0xff0b5e(0x3f5)](_0x2af118['unitId'],_0x2af118[_0xff0b5e(0x194)],_0x3cdcc2);if(!_0x529eb3)return!0x1;const _0x2106f2=_0x58ff87[_0xff0b5e(0x2ee)](_0x529eb3);_0x2106f2[_0xff0b5e(0x196)]={'unitId':_0x132c75,'subUnitId':_0x5a9074,'row':_0x3f70da[_0xff0b5e(0x219)],'col':_0x3f70da['col']};const _0x3009a6=_0x389770[_0xff0b5e(0x1dd)]();if(_0x2af118[_0xff0b5e(0x194)]===_0x5a9074&&_0x2af118[_0xff0b5e(0x314)]===_0x132c75)_0x303147[_0xff0b5e(0x297)](_0x132c75,_0x5a9074,_0x3cdcc2,_0x2106f2),_0x303147['addDirtyPivotTable']({'unitId':_0x132c75,'subUnitId':_0x5a9074,'token':_0x3cdcc2,'type':L[_0xff0b5e(0x1b3)]});else{_0x303147[_0xff0b5e(0x30d)]({'unitId':_0x2af118[_0xff0b5e(0x314)],'subUnitId':_0x2af118[_0xff0b5e(0x194)],'token':_0x3cdcc2,'type':L[_0xff0b5e(0x2f6)]}),_0x303147[_0xff0b5e(0x276)](_0x2af118[_0xff0b5e(0x314)],_0x2af118[_0xff0b5e(0x194)],_0x3cdcc2);const _0x1f4b6a=_0x303147[_0xff0b5e(0x28b)](_0x3cdcc2,_0x3009a6,_0x529eb3[_0xff0b5e(0x3a8)],_0x2106f2[_0xff0b5e(0x196)]),_0x5e3447=new _0x324108(_0x1f4b6a[_0xff0b5e(0x2a9)],void 0x0,_0x3cdcc2);_0x5e3447[_0xff0b5e(0x185)](_0x2106f2['fieldsConfig']),_0x303147[_0xff0b5e(0x266)](_0x132c75,_0x5a9074,_0x3cdcc2,_0x5e3447,_0x2106f2),_0x303147[_0xff0b5e(0x30d)]({'unitId':_0x132c75,'subUnitId':_0x5a9074,'token':_0x3cdcc2,'type':L[_0xff0b5e(0x1ee)],'pivotConfig':_0x2106f2});}return!0x0;}},to={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x2a5),'handler'(_0x2f024b,_0x2661d1){const _0x24c973=_0x54f375;if(!_0x2661d1)return!0x1;if(!!_0x2f024b[_0x24c973(0x307)](_0x4abb7e)['getConfig'](z))return!0x0;const _0x49cbf7=_0x2f024b[_0x24c973(0x307)](B),{pivotTableId:_0x44657b,deleteIds:_0x432f93,collectionJSON:_0x598534,dataRangeInfo:_0x3cae81,unitId:_0x4f89fd,subUnitId:_0x2a838e}=_0x2661d1,_0x498c3f=_0x49cbf7['getPivotTableInstance'](_0x44657b),_0x50d159=_0x49cbf7[_0x24c973(0x3f5)](_0x4f89fd,_0x2a838e,_0x44657b);if(!_0x498c3f||!_0x50d159)return!0x1;const {collection:_0x16317a,updateDataFieldList:_0x2fce27}=_0x49cbf7[_0x24c973(0x28b)](_0x44657b,_0x598534,_0x3cae81,_0x50d159[_0x24c973(0x196)]);_0x49cbf7['refreshData'](_0x16317a,_0x2fce27,_0x3cae81),_0x498c3f['updateDataFieldsCollection'](_0x16317a);for(const _0x461731 of _0x432f93)_0x49cbf7[_0x24c973(0x2a7)](_0x3cae81[_0x24c973(0x314)],_0x461731);const _0x562b67=_0x49cbf7['getPivotTableConfig'](_0x4f89fd,_0x2a838e,_0x44657b);return _0x562b67[_0x24c973(0x3a8)]=JSON[_0x24c973(0x311)](JSON[_0x24c973(0x22a)](_0x3cae81)),_0x49cbf7[_0x24c973(0x30d)]({'unitId':_0x4f89fd,'subUnitId':_0x2a838e,'token':_0x44657b,'type':L[_0x24c973(0x1b3)]}),!0x0;}},Ut={'type':_0x367096[_0x54f375(0x1b1)],'id':_0x54f375(0x3e5),'handler'(){return!0x0;}};var fs=Object['getOwnPropertyDescriptor'],gs=(_0xbc1447,_0x2b257e,_0x425b12,_0x87fa25)=>{for(var _0x34dd24=_0x87fa25>0x1?void 0x0:_0x87fa25?fs(_0x2b257e,_0x425b12):_0x2b257e,_0x3e6ab5=_0xbc1447['length']-0x1,_0x42fb5b;_0x3e6ab5>=0x0;_0x3e6ab5--)(_0x42fb5b=_0xbc1447[_0x3e6ab5])&&(_0x34dd24=_0x42fb5b(_0x34dd24)||_0x34dd24);return _0x34dd24;},wo=(_0x5d8ab3,_0x500ff4)=>(_0xc9f2a9,_0x431a8f)=>_0x500ff4(_0xc9f2a9,_0x431a8f,_0x5d8ab3);let X=class extends _0x2e0af8{constructor(_0x30e0bd,_0x3965fb){const _0xac5fa1=_0x54f375;super(),V(this,_0xac5fa1(0x3c0),new Map()),(this[_0xac5fa1(0x262)]=_0x30e0bd,this[_0xac5fa1(0x2ab)]=_0x3965fb);}[_0x54f375(0x244)](_0x51b2b0){const _0x1fce83=_0x54f375,{version:_0x54a641}=_0x51b2b0,_0x24b3e0=this[_0x1fce83(0x3c0)]['get'](_0x54a641);_0x24b3e0&&(_0x24b3e0(_0x51b2b0),this['_requestResolvers'][_0x1fce83(0x2dd)](_0x54a641));}[_0x54f375(0x322)](_0x4cda8c){return new Promise((_0x180db4,_0x56be39)=>{const _0x1144b6=_0x4016,_0x5c8643=this[_0x1144b6(0x1db)]();this[_0x1144b6(0x3c0)][_0x1144b6(0x335)](_0x5c8643,_0x180db4),this['_commandService'][_0x1144b6(0x255)](ro['id'],{'version':_0x5c8643,..._0x4cda8c},{'onlyLocal':!0x0});});}[_0x54f375(0x1db)](){const _0x174533=_0x54f375;return Math['random']()[_0x174533(0x368)](0x24)[_0x174533(0x31c)](0x2,0x10);}};X=gs([wo(0x0,_0x10cdc3(_0x500674)),wo(0x1,_0x10cdc3(_0x384d05))],X);const Qo={'id':_0x54f375(0x2c5),'type':_0x367096[_0x54f375(0x1b1)],'handler':(_0x14f4d8,_0x24a1ab)=>{const _0xf61e22=_0x54f375;if(!_0x24a1ab)return!0x1;if(!!_0x14f4d8[_0xf61e22(0x307)](_0x4abb7e)['getConfig'](z))return!0x0;const {pivotTableId:_0x47041e,fieldJSON:_0x5163e3,unitId:_0x1d0121,subUnitId:_0x1807c2}=_0x24a1ab,_0x5681de=_0x1bdea0[_0xf61e22(0x185)](_0x5163e3);if(!_0x5681de)return!0x1;const _0x1a038f=_0x14f4d8[_0xf61e22(0x307)](B),_0x57e0c4=_0x1a038f[_0xf61e22(0x309)](_0x1d0121),_0x18a8a2=_0x57e0c4[_0xf61e22(0x1b9)](_0x47041e);_0x57e0c4['addDataFieldWithoutUnitInfo'](_0x5681de),_0x18a8a2[_0xf61e22(0x1ec)](_0x5681de[_0xf61e22(0x37f)](),_0x5681de[_0xf61e22(0x296)]());const _0x54206a=_0x18a8a2['getFieldById'](_0x5681de[_0xf61e22(0x1dc)]());_0x54206a&&_0x5681de[_0xf61e22(0x25a)](_0x54206a);const _0x2646c5=_0x1a038f[_0xf61e22(0x3f5)](_0x1d0121,_0x1807c2,_0x47041e);return _0x1a038f['addDirtyPivotTable']({'unitId':_0x1d0121,'subUnitId':_0x1807c2,'token':_0x47041e,'type':L[_0xf61e22(0x1b3)],'pivotConfig':_0x2646c5}),!0x0;}},Yo={'id':'sheet.mutation.remove-group-collection','type':_0x367096['MUTATION'],'handler':(_0x17c29b,_0x31fe0b)=>{const _0x328ab8=_0x54f375;if(!_0x31fe0b)return!0x1;if(!!_0x17c29b[_0x328ab8(0x307)](_0x4abb7e)[_0x328ab8(0x197)](z))return!0x0;const {pivotTableId:_0x4e9aef,dataFieldId:_0x31e0ac,unitId:_0x2056ae,subUnitId:_0x416a22}=_0x31fe0b,_0x19c5a7=_0x17c29b[_0x328ab8(0x307)](B),_0x1fb507=_0x19c5a7['getDataFieldManager'](_0x2056ae);_0x1fb507[_0x328ab8(0x1b9)](_0x4e9aef)['deleteField'](_0x31e0ac);let _0x4e4360=!0x0;for(const _0x36e010 in _0x1fb507[_0x328ab8(0x28a)])if(_0x1fb507[_0x328ab8(0x28a)][_0x36e010][_0x328ab8(0x34d)]()[_0x328ab8(0x356)](_0x31e0ac)){_0x4e4360=!0x1;break;}_0x4e4360&&_0x1fb507[_0x328ab8(0x308)](_0x31e0ac);const _0x7f3761=_0x19c5a7['getPivotTableConfig'](_0x2056ae,_0x416a22,_0x4e9aef);return _0x19c5a7[_0x328ab8(0x30d)]({'unitId':_0x2056ae,'subUnitId':_0x416a22,'token':_0x4e9aef,'type':L[_0x328ab8(0x1b3)],'pivotConfig':_0x7f3761}),!0x0;}},hs={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x2c1),async 'handler'(_0x1ae746,_0x11751b){const _0x2ecef8=_0x54f375;if(!_0x11751b)return!0x1;const _0x1fb51c=_0x1ae746['get'](_0x384d05),_0x177b24=_0x1ae746[_0x2ecef8(0x307)](X),_0x2dd9a5=_0x1ae746[_0x2ecef8(0x307)](_0x4d31c9),{pivotTableId:_0x4ce52a,dataFieldId:_0x4386e7,fieldArea:_0x2e0c30,index:_0xc0dba1,unitId:_0xe51090,subUnitId:_0x4ec952}=_0x11751b,_0x427d90=(await _0x177b24[_0x2ecef8(0x322)]({'unitId':_0xe51090,'subUnitId':_0x4ec952,'pivotTableId':_0x4ce52a,'params':{'type':k[_0x2ecef8(0x32e)],'addPivotField':{'dataFieldId':_0x4386e7,'fieldArea':_0x2e0c30,'index':_0xc0dba1}}}))['result'][_0x2ecef8(0x24c)];if(!_0x427d90)return!0x1;const {view:_0x2b4ebb,changesets:_0x4742ae,isEmpty:_0x220929,pivotTableConfig:_0x38d3b7,shouldBeAddedGroupJSON:_0x8fa056}=_0x427d90,_0x4dc5ca=_0x38d3b7[_0x2ecef8(0x196)],_0x2af691=new _0xb00319();_0x2af691[_0x2ecef8(0x3ea)](_0x2b4ebb);const _0x2e6724={'cellInfo':_0x4dc5ca,'view':_0x2af691,'isEmpty':_0x220929};if(!await _0x1ae746[_0x2ecef8(0x307)](ie)[_0x2ecef8(0x3d7)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2e6724))return!0x1;const _0x264632=we(_0x1ae746,_0x2af691,_0x4dc5ca,_0x220929),_0x5517a1=_e(_0x1ae746,_0x2e6724),{undos:_0x42418b,redos:_0x14e2ab}=Ce(_0x1fb51c,{'pivotTableId':_0x4ce52a,'unitId':_0xe51090,'subUnitId':_0x4ec952},_0x4742ae);return _0x8fa056&&(_0x14e2ab[_0x2ecef8(0x339)]({'id':Qo['id'],'params':{'pivotTableId':_0x4ce52a,'fieldJSON':_0x8fa056,'unitId':_0xe51090,'subUnitId':_0x4ec952}}),_0x42418b[_0x2ecef8(0x342)]({'id':Yo['id'],'params':{'pivotTableId':_0x4ce52a,'dataFieldId':_0x8fa056['id'],'unitId':_0xe51090,'subUnitId':_0x4ec952}})),_0x182a8e([..._0x264632['redos'],..._0x5517a1[_0x2ecef8(0x19b)],..._0x14e2ab],_0x1fb51c),_0x2dd9a5[_0x2ecef8(0x2df)]({'unitID':_0xe51090,'redoMutations':[..._0x264632['redos'],..._0x5517a1[_0x2ecef8(0x19b)],..._0x14e2ab],'undoMutations':[..._0x264632[_0x2ecef8(0x326)],..._0x5517a1[_0x2ecef8(0x326)],..._0x42418b]}),!0x0;}},vs={'type':_0x367096['COMMAND'],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x230544,_0x11deb6){const _0x1198d1=_0x54f375;if(!_0x11deb6)return!0x1;const {sourceDataInfo:_0x2bd6e3,pivotTableConfig:_0x2db268}=_0x11deb6;if(!_0x2bd6e3||!_0x2db268)return!0x1;const {unitId:_0xeb2022,subUnitId:_0x1d8ca2,range:_0x62f9a4}=_0x2bd6e3,_0x612b1b=_0x230544['get'](_0x5f5304),_0x47f3b8=_0x230544[_0x1198d1(0x307)](X),_0x2a5e3c=_0x230544['get'](_0x15fb78),_0x957b4c=_0x230544[_0x1198d1(0x307)](_0x384d05),_0x51d0de=_0x612b1b['getUnit'](_0xeb2022);if(!_0x51d0de)return!0x1;const _0x23e6cc=_0x51d0de['getSheetBySheetId'](_0x1d8ca2);if(!_0x23e6cc)return!0x1;const _0x1ce19d=_0x4ac51b(0x8),_0x4f65d3=_0x62f9a4||{'startRow':0x0,'startColumn':0x0,'endRow':_0x23e6cc[_0x1198d1(0x29f)]()-0x1,'endColumn':_0x23e6cc['getColumnCount']()-0x1};_0x4f65d3['rangeType']=_0x51bc9a[_0x1198d1(0x1eb)];const _0x2a37de=(await _0x47f3b8[_0x1198d1(0x322)]({'unitId':_0xeb2022,'subUnitId':_0x1d8ca2,'pivotTableId':_0x1ce19d,'params':{'type':k[_0x1198d1(0x386)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0xeb2022,'sheetName':_0x23e6cc[_0x1198d1(0x296)](),'subUnitId':_0x1d8ca2,'range':_0x4f65d3},'pivotTableId':_0x1ce19d,'pivotTableIndexConfig':_0x2db268}}}))[_0x1198d1(0x2c6)][_0x1198d1(0x310)];if(!_0x2a37de)return!0x1;const {isEmpty:_0x3ed0c2,fieldsConfig:_0x320306,collectionConfig:_0x3688f0,changesets:_0x547a4d}=_0x2a37de,_0x2b8be5=_0x51d0de[_0x1198d1(0x20e)]()['length'],_0x456ebb=_0x590191({'rowCount':_0x23e6cc[_0x1198d1(0x29f)]()-0x1,'columnCount':_0x23e6cc[_0x1198d1(0x3cf)]()-0x1});_0x456ebb['id']=_0x14dbf4(),_0x456ebb['name']=_0x51d0de[_0x1198d1(0x34a)](''+_0x2a5e3c['t'](_0x1198d1(0x201)));const _0x4b4230={'index':_0x2b8be5,'sheet':_0x456ebb,'unitId':_0xeb2022},{redos:_0xc31917}=Ce(_0x957b4c,{'pivotTableId':_0x1ce19d,'unitId':_0xeb2022,'subUnitId':_0x456ebb['id']},_0x547a4d),_0x252ccf=[{'id':_0x281691['id'],'params':_0x4b4230},{'id':It['id'],'params':{'unitId':_0xeb2022,'subUnitId':_0x456ebb['id'],'pivotTableId':_0x1ce19d,'pivotTableConfig':{'isEmpty':_0x3ed0c2,'fieldsConfig':_0x320306,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0xeb2022,'subUnitId':_0x456ebb['id']},'sourceRangeInfo':{'subUnitId':_0x1d8ca2,'unitId':_0xeb2022,'range':_0x4f65d3,'sheetName':_0x23e6cc['getName']()}},'collectionConfig':_0x3688f0}},..._0xc31917];return _0x182a8e(_0x252ccf,_0x957b4c),!0x0;}},ps={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x2ed),async 'handler'(_0x481120,_0x44dd15){const _0x59d3d1=_0x54f375;var _0x67eace,_0x549281;const _0x47db0c=_0x481120[_0x59d3d1(0x307)](_0x384d05),_0xcf6f6c=_0x481120[_0x59d3d1(0x307)](_0x5f5304),_0x37efea=_0x481120[_0x59d3d1(0x307)](_0x15fb78),_0x294a17=_0x481120[_0x59d3d1(0x307)](X),_0x13583a=_0x481120[_0x59d3d1(0x307)](_0x4d31c9),_0x38fa76=_0x481120[_0x59d3d1(0x307)](ve),_0xad8148=_0x481120['get'](_0x4abb7e);if(!_0x44dd15)return!0x1;const {pivotTableConfig:_0x5bc1a1,positionType:_0x569b67}=_0x44dd15,{targetCellInfo:_0x32ca8f,sourceRangeInfo:_0x4603b5}=_0x5bc1a1,{unitId:_0x5d5de2,subUnitId:_0xf874ed}=_0x32ca8f,_0x1e4cbb=_0xcf6f6c[_0x59d3d1(0x3df)](_0x5d5de2);if(!_0x1e4cbb)return!0x1;let _0x5e8639=0x0;_0x1e4cbb['getSheets']()['forEach'](_0x46cb8a=>{const _0x21afa7=_0x59d3d1;var _0x5b9203,_0x1ffd14;_0x5e8639+=(_0x1ffd14=(_0x5b9203=_0x38fa76['getSubUnitPivotConfigs'](_0x5d5de2,_0x46cb8a[_0x21afa7(0x224)]()))==null?void 0x0:_0x5b9203[_0x21afa7(0x3c1)])!=null?_0x1ffd14:0x0;});const _0x481db9=(_0x67eace=_0xad8148['getConfig'](_0x108a0a))!=null?_0x67eace:{},{ls:_0x4e7cf6,pbk:_0x153370}=_0x481db9;if(!Go(_0x4e7cf6,_0x153370))return!0x1;const _0xd37e9a=go(so,_0x4e7cf6,_0x153370)['count'];if(_0x5e8639>=_0xd37e9a)return!0x1;const _0x23927a=_0x44dd15[_0x59d3d1(0x3ba)]||_0x4ac51b(0x8),_0x5a136a=(await _0x294a17[_0x59d3d1(0x322)]({'unitId':_0x5d5de2,'subUnitId':_0xf874ed,'pivotTableId':_0x23927a,'params':{'type':k[_0x59d3d1(0x235)],'addPivotTable':{'sourceRangeInfo':_0x4603b5,'pivotTableId':_0x23927a}}}))['result']['addPivotTable'];if(!_0x5a136a)return!0x1;const {view:_0x56280c,isEmpty:_0x139e61,fieldsConfig:_0x469904,collectionConfig:_0x24325d}=_0x5a136a,_0x228b48=[],_0x372491=[];if(_0x569b67===Jo[_0x59d3d1(0x2f2)]){const _0x209cfc=_0x1e4cbb[_0x59d3d1(0x20e)]()[_0x59d3d1(0x2e5)],_0x26d612=_0x590191({});_0x26d612['id']=_0x5bc1a1[_0x59d3d1(0x196)]['subUnitId'],_0x26d612[_0x59d3d1(0x2e0)]=(_0x549281=_0x5bc1a1[_0x59d3d1(0x196)]['sheetName'])!=null?_0x549281:_0x1e4cbb[_0x59d3d1(0x34a)](''+_0x37efea['t']('sheets.tabs.sheet'));const _0x4fbdfd={'index':_0x209cfc,'sheet':_0x26d612,'unitId':_0x5d5de2},_0x479a9b=_0x5c9e8d(_0x481120,_0x4fbdfd);_0x228b48[_0x59d3d1(0x342)]({'id':_0x352d1d['id'],'params':_0x479a9b}),_0x372491['push']({'id':_0x2fc327['id'],'params':_0x4fbdfd});}else{if(!_0x1e4cbb[_0x59d3d1(0x243)](_0xf874ed))return!0x1;const _0x3c2fa7=we(_0x481120,new _0xb00319(),_0x32ca8f,!0x0);_0x372491['push'](..._0x3c2fa7[_0x59d3d1(0x19b)]),_0x228b48[_0x59d3d1(0x342)](..._0x3c2fa7['undos']);const _0x357122={'cellInfo':_0x32ca8f,'view':_0x56280c,'isEmpty':_0x139e61};if(!await _0x481120[_0x59d3d1(0x307)](ie)['asyncInterceptor'][_0x59d3d1(0x2c0)](be)(!0x0,_0x357122))return!0x1;const _0x253fb4=_e(_0x481120,_0x357122);_0x372491[_0x59d3d1(0x342)](..._0x253fb4[_0x59d3d1(0x19b)]),_0x228b48['push'](..._0x253fb4[_0x59d3d1(0x326)]);}return _0x372491['push']({'id':It['id'],'params':{'unitId':_0x32ca8f[_0x59d3d1(0x314)],'subUnitId':_0x32ca8f['subUnitId'],'pivotTableId':_0x23927a,'pivotTableConfig':{'targetCellInfo':_0x32ca8f,'sourceRangeInfo':_0x4603b5,'fieldsConfig':_0x469904},'collectionConfig':_0x24325d}}),_0x228b48[_0x59d3d1(0x339)]({'id':xt['id'],'params':{'unitId':_0x5d5de2,'subUnitId':_0xf874ed,'pivotTableId':_0x23927a}}),_0x182a8e(_0x372491,_0x47db0c)&&_0x13583a[_0x59d3d1(0x2df)]({'unitID':_0x5d5de2,'undoMutations':_0x228b48,'redoMutations':_0x372491}),!0x0;}},Cs={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x371),async 'handler'(_0x38f10d,_0x2b087c){const _0xc0be2d=_0x54f375;if(!_0x2b087c)return!0x1;const _0xbd04ce=_0x38f10d['get'](_0x384d05),_0x259dbe=_0x38f10d[_0xc0be2d(0x307)](X),_0x244f69=_0x38f10d[_0xc0be2d(0x307)](_0x4d31c9),{pivotTableId:_0x296d4c,fieldId:_0x21c5bb,area:_0x5e17c2,index:_0x5a2b04,unitId:_0x1ebb4a,subUnitId:_0x83ed40}=_0x2b087c,_0x15b698=(await _0x259dbe[_0xc0be2d(0x322)]({'unitId':_0x1ebb4a,'subUnitId':_0x83ed40,'pivotTableId':_0x296d4c,'params':{'type':k[_0xc0be2d(0x35b)],'movePivotField':{'fieldId':_0x21c5bb,'area':_0x5e17c2,'index':_0x5a2b04}}}))[_0xc0be2d(0x2c6)][_0xc0be2d(0x3d0)];if(!_0x15b698)return!0x1;const {changesets:_0x363294,view:_0x25223b,isEmpty:_0x3e4960,pivotTableConfig:_0x4e4739}=_0x15b698,_0x7c0a59=_0x4e4739[_0xc0be2d(0x196)],_0x30c672=new _0xb00319();_0x30c672[_0xc0be2d(0x3ea)](_0x25223b);const _0xb35ef8={'cellInfo':_0x7c0a59,'view':_0x30c672,'isEmpty':_0x3e4960};if(!await _0x38f10d[_0xc0be2d(0x307)](ie)['asyncInterceptor'][_0xc0be2d(0x2c0)](be)(!0x0,_0xb35ef8))return!0x1;const _0x2bb28a=we(_0x38f10d,_0x30c672,_0x7c0a59,_0x3e4960),_0x57f33a=_e(_0x38f10d,_0xb35ef8),{redos:_0x4c1792,undos:_0x31b4e4}=Ce(_0xbd04ce,{'pivotTableId':_0x296d4c,'unitId':_0x1ebb4a,'subUnitId':_0x83ed40},_0x363294);return _0x182a8e([..._0x2bb28a[_0xc0be2d(0x19b)],..._0x57f33a[_0xc0be2d(0x19b)],..._0x4c1792],_0xbd04ce),_0x244f69[_0xc0be2d(0x2df)]({'unitID':_0x1ebb4a,'redoMutations':[..._0x2bb28a['redos'],..._0x57f33a[_0xc0be2d(0x19b)],..._0x4c1792],'undoMutations':[..._0x2bb28a[_0xc0be2d(0x326)],..._0x57f33a['undos'],..._0x31b4e4]}),!0x0;}},ms={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x315),async 'handler'(_0x392f21,_0x1efb46){const _0x95462b=_0x54f375;var _0x2bd4f0;if(!_0x1efb46)return!0x1;const _0x1f81d7=_0x392f21[_0x95462b(0x307)](_0x5f5304),_0x3a2e9d=_0x4ea6fa(_0x1f81d7);if(!_0x3a2e9d)return!0x1;const {unitId:_0x431da3,subUnitId:_0x559d5c,workbook:_0x1301e7}=_0x3a2e9d,{row:_0x5a4ebc,col:_0x10e44e}=_0x1efb46,_0x21f83d=_0x392f21[_0x95462b(0x307)](Ne),_0x383a33=_0x21f83d['getPivotTableIdByCell'](_0x431da3,_0x559d5c,_0x5a4ebc,_0x10e44e);if(!_0x383a33)return!0x1;const _0x1a8875=(_0x2bd4f0=_0x21f83d['getPivotItemRenderInfoCache'](_0x431da3,_0x559d5c,_0x383a33))==null?void 0x0:_0x2bd4f0[_0x95462b(0x376)];if(!_0x1a8875)return!0x1;const _0x4f7aae=_0x392f21[_0x95462b(0x307)](ve)[_0x95462b(0x3f5)](_0x431da3,_0x559d5c,_0x383a33);if(!_0x4f7aae)return!0x1;const {rowInfo:_0x1ad5b7,colInfo:_0x32339d}=_0x1a8875,_0x41edba=_0x1ad5b7[_0x5a4ebc][_0x95462b(0x1e3)],_0x10b1f9=_0x32339d[_0x10e44e][_0x95462b(0x1e3)],_0x35610f=_0x1ad5b7[_0x5a4ebc][_0x95462b(0x1aa)],_0x1034fc=_0x32339d[_0x10e44e]['level'],_0x51092a=_0x41edba[_0x95462b(0x1cf)](_0x10b1f9),_0x2b6134=_0x4f7aae[_0x95462b(0x2de)][_0x95462b(0x273)]['slice'](0x0,_0x35610f),_0x26560d=_0x4f7aae[_0x95462b(0x2de)][_0x95462b(0x3a1)]['slice'](0x0,_0x1034fc),_0x73f3f2=_0x2b6134[_0x95462b(0x1cf)](_0x26560d),_0x4eb3ac=_0x51092a[_0x95462b(0x274)]((_0x5efc7f,_0x58dcc3)=>[_0x5efc7f,_0x73f3f2[_0x58dcc3]]),_0x314e16=(await _0x392f21[_0x95462b(0x307)](X)[_0x95462b(0x322)]({'unitId':_0x431da3,'subUnitId':_0x559d5c,'pivotTableId':_0x383a33,'params':{'type':k['DrillDown'],'drillDown':{'tuple':_0x4eb3ac}}}))[_0x95462b(0x2c6)]['drillDown'];if(!_0x314e16)return!0x1;const {indexes:_0x198ebb,range:_0x5f0f20,sourceUnitId:_0x4df7f3,sourceSubUnitId:_0x5bb572,formatMap:_0x2e2d8f}=_0x314e16,{startRow:_0x31c1e7,endRow:_0x253c88,startColumn:_0x4109ed,endColumn:_0x3e8a77}=_0x5f0f20,_0x4a4f2d=new _0x4491c3(),_0x2dc258=_0x253c88-_0x31c1e7,_0x51816f=_0x3e8a77-_0x4109ed,_0x185fc1={},_0x41a677=_0x4ea6fa(_0x1f81d7,{'unitId':_0x4df7f3,'subUnitId':_0x5bb572});if(!_0x41a677)return!0x1;const _0x226e49=fe['colStyle'],_0x43d65c=fe[_0x95462b(0x3cd)],_0x16bb94=fe[_0x95462b(0x3cd)],_0x42ac98=_0x1301e7[_0x95462b(0x281)]()[_0x95462b(0x3ed)](_0x226e49),_0x1b8184=_0x1301e7[_0x95462b(0x281)]()['setValue'](_0x43d65c),_0x217a11=_0x1301e7[_0x95462b(0x281)]()['setValue'](_0x16bb94),{worksheet:_0x25d6fe}=_0x41a677;let _0x45724=0x0;const _0x246f20=0x1;_0x198ebb[_0x95462b(0x222)](_0x14a07d=>{const _0x5af64f=_0x95462b;for(let _0x424daf=0x0;_0x424daf<=_0x3e8a77-_0x4109ed;_0x424daf++)_0x4a4f2d[_0x5af64f(0x3ed)](_0x45724,_0x424daf,_0x25d6fe[_0x5af64f(0x3d1)](_0x14a07d+_0x5f0f20[_0x5af64f(0x304)]+_0x246f20,_0x424daf));_0x45724++;});for(let _0x120e96=_0x4109ed;_0x120e96<=_0x3e8a77;_0x120e96++){const _0x5e0cb5=_0x25d6fe[_0x95462b(0x3d1)](_0x31c1e7,_0x120e96);_0x185fc1[_0x31c1e7]||(_0x185fc1[_0x31c1e7]={}),_0x185fc1[_0x31c1e7][_0x120e96]={..._0x5e0cb5,'s':_0x42ac98};}let _0x3a2ce6=0x1;const _0x5c5cd8={},_0x1caca9={};_0x4a4f2d[_0x95462b(0x306)]((_0x163059,_0x2cab7c)=>{_0x2cab7c['forEach'](_0x421763=>{const _0x3299e0=_0x4016,_0x5cdbf9=_0x4a4f2d['getValue'](_0x163059,_0x421763);if(_0x185fc1[_0x3a2ce6]||(_0x185fc1[_0x3a2ce6]={}),_0x185fc1[_0x3a2ce6][_0x421763]={..._0x5cdbf9,'s':_0x3a2ce6%0x2===0x0?_0x217a11:_0x1b8184},_0x2e2d8f[_0x421763]&&_0x163059>=0x0){const _0x30c611=_0x3a2ce6%0x2===0x0;let _0x507727=_0x30c611?_0x1caca9[_0x421763]:_0x5c5cd8[_0x421763];_0x507727||(_0x507727=_0x1301e7[_0x3299e0(0x281)]()['setValue']({..._0x30c611?_0x16bb94:_0x43d65c,'n':{'pattern':_0x2e2d8f[_0x421763]}}),_0x30c611?_0x1caca9[_0x421763]=_0x507727:_0x5c5cd8[_0x421763]=_0x507727),_0x185fc1[_0x3a2ce6][_0x421763]['s']=_0x507727;}}),_0x3a2ce6++;});const _0x2199d3=new _0x4491c3(_0x185fc1),_0x1f1529={};_0x2199d3[_0x95462b(0x380)]((_0x403892,_0x556e9e,_0x661074)=>{_0x1f1529[_0x403892]||(_0x1f1529[_0x403892]={}),_0x1f1529[_0x403892][_0x556e9e]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3a8e2b=[],_0x44ae00=[],_0x319e78=_0x1301e7[_0x95462b(0x20e)]()['length'],_0x4e0e69=_0x590191({'rowCount':Math[_0x95462b(0x349)](_0x586b05,_0x2dc258+0xa),'columnCount':Math[_0x95462b(0x349)](_0x1727f1,_0x51816f+0x5)}),_0x4522f9=_0x392f21[_0x95462b(0x307)](_0x15fb78);_0x4e0e69['id']=_0x14dbf4(),_0x4e0e69[_0x95462b(0x2e0)]=_0x1301e7[_0x95462b(0x34a)](''+_0x4522f9['t'](_0x95462b(0x201)));const _0x4e5e59={'index':_0x319e78,'sheet':_0x4e0e69,'unitId':_0x431da3},_0x27130b=_0x5c9e8d(_0x392f21,_0x4e5e59);_0x44ae00[_0x95462b(0x342)]({'id':_0x2fc327['id'],'params':_0x4e5e59}),_0x3a8e2b[_0x95462b(0x342)]({'id':_0x352d1d['id'],'params':_0x27130b}),_0x44ae00[_0x95462b(0x342)]({'id':_0x495914['id'],'params':{'unitId':_0x431da3,'subUnitId':_0x4e0e69['id'],'cellValue':_0x185fc1}}),_0x3a8e2b[_0x95462b(0x339)]({'id':_0x495914['id'],'params':{'unitId':_0x431da3,'subUnitId':_0x4e0e69['id'],'cellValue':_0x1f1529}});const _0x45ee2d={'startRow':0x0,'startColumn':0x0,'endRow':_0x3a2ce6-0x1,'endColumn':_0x3e8a77};_0x44ae00[_0x95462b(0x342)]({'id':_0x5e4fdf['id'],'params':{'unitId':_0x431da3,'subUnitId':_0x4e0e69['id'],'range':_0x45ee2d}}),_0x3a8e2b['unshift']({'id':_0x2779cc['id'],'params':{'unitId':_0x431da3,'subUnitId':_0x4e0e69['id']}});const _0x560959=_0x392f21[_0x95462b(0x307)](_0x384d05);return _0x182a8e(_0x44ae00,_0x560959)&&_0x392f21[_0x95462b(0x307)](_0x4d31c9)['pushUndoRedo']({'unitID':_0x431da3,'undoMutations':_0x3a8e2b,'redoMutations':_0x44ae00}),!0x0;}},Is={'type':_0x367096['COMMAND'],'id':_0x54f375(0x3a0),async 'handler'(_0x4a6ff8,_0x24d59d){const _0x1f4c97=_0x54f375;if(!_0x24d59d)return!0x1;const _0x4640cd=_0x4a6ff8['get'](_0x384d05),_0x2dbc8c=_0x4a6ff8[_0x1f4c97(0x307)](X),_0x3911a8=_0x4a6ff8[_0x1f4c97(0x307)](_0x4d31c9),{pivotTableId:_0x30954a,fieldIds:_0x8aa8dc,unitId:_0xf328d0,subUnitId:_0x426e86}=_0x24d59d,_0x3e40b3=(await _0x2dbc8c[_0x1f4c97(0x322)]({'unitId':_0xf328d0,'subUnitId':_0x426e86,'pivotTableId':_0x30954a,'params':{'type':k[_0x1f4c97(0x265)],'removePivotField':{'fieldIds':_0x8aa8dc}}}))[_0x1f4c97(0x2c6)][_0x1f4c97(0x2b5)];if(!_0x3e40b3)return!0x1;const {view:_0x1628cd,changesets:_0x1ae639,isEmpty:_0x28f80e,pivotTableConfig:_0x576749}=_0x3e40b3,_0x10a097=_0x576749[_0x1f4c97(0x196)],_0x352e53=new _0xb00319();_0x352e53[_0x1f4c97(0x3ea)](_0x1628cd);const _0xc32eef={'cellInfo':_0x10a097,'view':_0x352e53,'isEmpty':_0x28f80e};if(!await _0x4a6ff8[_0x1f4c97(0x307)](ie)['asyncInterceptor'][_0x1f4c97(0x2c0)](be)(!0x0,_0xc32eef))return!0x1;const _0x1a3446=we(_0x4a6ff8,_0x352e53,_0x10a097,_0x28f80e),_0x308abd=_e(_0x4a6ff8,_0xc32eef),{redos:_0x252e34,undos:_0x809a91}=Ce(_0x4640cd,{'pivotTableId':_0x30954a,'unitId':_0xf328d0,'subUnitId':_0x426e86},_0x1ae639);return _0x182a8e([..._0x1a3446[_0x1f4c97(0x19b)],..._0x308abd['redos'],..._0x252e34],_0x4640cd),_0x3911a8[_0x1f4c97(0x2df)]({'unitID':_0xf328d0,'redoMutations':[..._0x1a3446['redos'],..._0x308abd[_0x1f4c97(0x19b)],..._0x252e34],'undoMutations':[..._0x1a3446[_0x1f4c97(0x326)],..._0x308abd['undos'],..._0x809a91]}),!0x0;}},bs={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x25d),async 'handler'(_0x31f0c3,_0x1f1935){const _0x4d05e5=_0x54f375;var _0x3b7924;const _0x255c2f=_0x31f0c3[_0x4d05e5(0x307)](_0x384d05),_0x2b5a48=_0x31f0c3[_0x4d05e5(0x307)](X),_0x1af157=_0x31f0c3[_0x4d05e5(0x307)](Ne),_0x47fe17=_0x31f0c3[_0x4d05e5(0x307)](_0x5f5304),_0x4d9387=_0x31f0c3[_0x4d05e5(0x307)](_0x4d31c9);if(!_0x1f1935)return!0x1;const {unitId:_0x108cdd,subUnitId:_0x10307d,row:_0x12f89b,col:_0x41356d,collapse:_0x1b65a0}=_0x1f1935,_0x4a950f=_0x47fe17[_0x4d05e5(0x3df)](_0x108cdd);if(!_0x4a950f||!_0x4a950f[_0x4d05e5(0x243)](_0x10307d))return!0x1;const _0x1d5cad=_0x1af157['getPivotTableIdByCell'](_0x108cdd,_0x10307d,_0x12f89b,_0x41356d);if(!_0x1d5cad)return!0x1;const _0xefc36d=_0x1af157[_0x4d05e5(0x192)](_0x108cdd,_0x10307d,_0x1d5cad);if(!_0xefc36d)return!0x1;const _0x5c5a4f=_0x7efa08(_0x12f89b,_0x41356d),{rangesInfo:_0x5a79be,areaInfo:_0x49ae18,headerMap:_0x5311d9}=_0xefc36d;if(!_0x5a79be||!_0x49ae18||!_0x5311d9)return!0x1;const _0x48a761=Object[_0x4d05e5(0x33d)](_0x5a79be)['find'](_0x1b55c7=>_0x5a79be[_0x1b55c7][_0x4d05e5(0x2e7)](_0x440408=>_0x5de3db['contains'](_0x440408,_0x5c5a4f)));let _0x23b3ca;_0x48a761===_0x4d05e5(0x3d5)?_0x23b3ca=_0x5311d9['rowHeaderMap'][_0x41356d]:_0x48a761===_0x4d05e5(0x1c6)&&(_0x23b3ca=_0x5311d9[_0x4d05e5(0x375)][_0x12f89b]);const _0x156e1d=_0x23b3ca==null?void 0x0:_0x23b3ca[_0x4d05e5(0x2cc)],_0x10dc52=(_0x3b7924=_0x1af157[_0x4d05e5(0x38f)](_0x108cdd,_0x10307d,_0x12f89b,_0x41356d))==null?void 0x0:_0x3b7924['v'];if(_0x10dc52==null||!_0x1d5cad||!_0x156e1d)return!0x1;const _0xc7a475=await _0x2b5a48['getPivotDisplayConfig']({'unitId':_0x108cdd,'subUnitId':_0x10307d,'pivotTableId':_0x1d5cad,'params':{'type':k['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x156e1d,'collapse':_0x1b65a0,'item':_0x10dc52}}}),_0x551af4=_0xc7a475==null?void 0x0:_0xc7a475[_0x4d05e5(0x2c6)]['setPivotCollapse'];if(!_0x551af4)return!0x1;const {view:_0x51baac,pivotTableConfig:_0x70d39e,isEmpty:_0x3eddbc,changesets:_0x31e3a2}=_0x551af4,_0x485fd0=new _0xb00319();_0x485fd0[_0x4d05e5(0x3ea)](_0x51baac);const _0x234f5e=_0x70d39e[_0x4d05e5(0x196)],_0x3195d6={'cellInfo':_0x234f5e,'view':_0x485fd0,'isEmpty':_0x3eddbc};if(!await _0x31f0c3[_0x4d05e5(0x307)](ie)[_0x4d05e5(0x3d7)][_0x4d05e5(0x2c0)](be)(!0x0,_0x3195d6))return!0x1;const _0x5d5ee5=we(_0x31f0c3,_0x485fd0,_0x234f5e,_0x3eddbc),_0x553da5=_e(_0x31f0c3,_0x3195d6),{redos:_0x3a3c1c,undos:_0x14f0bb}=Ce(_0x255c2f,{'pivotTableId':_0x1d5cad,'unitId':_0x108cdd,'subUnitId':_0x10307d},_0x31e3a2);return _0x182a8e([..._0x5d5ee5[_0x4d05e5(0x19b)],..._0x553da5[_0x4d05e5(0x19b)],..._0x3a3c1c],_0x255c2f),_0x4d9387['pushUndoRedo']({'unitID':_0x108cdd,'redoMutations':[..._0x5d5ee5['redos'],..._0x553da5['redos'],..._0x3a3c1c],'undoMutations':[..._0x5d5ee5['undos'],..._0x553da5['undos'],..._0x14f0bb]}),!0x0;}},Ss={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x2b8),async 'handler'(_0x57c302,_0x4ffddf){const _0x1f9ccd=_0x54f375;if(!_0x4ffddf)return!0x1;const _0x5bff3c=_0x57c302['get'](_0x384d05),{pivotTableId:_0x2131cc,tableFieldId:_0x41a338,items:_0x548d6e,unitId:_0x121c7d,subUnitId:_0x2ea185,isAll:_0x34b60e}=_0x4ffddf,_0x59d11d=_0x57c302['get'](X),_0x48cb78=_0x57c302[_0x1f9ccd(0x307)](_0x4d31c9),_0x4dfc58=(await _0x59d11d[_0x1f9ccd(0x322)]({'unitId':_0x121c7d,'subUnitId':_0x2ea185,'pivotTableId':_0x2131cc,'params':{'type':k[_0x1f9ccd(0x2c2)],'setPivotFilter':{'tableFieldId':_0x41a338,'items':_0x548d6e,'isAll':_0x34b60e}}}))[_0x1f9ccd(0x2c6)][_0x1f9ccd(0x1d7)];if(!_0x4dfc58)return!0x1;const {changesets:_0x3d03d9,pivotTableConfig:_0x33cbfc,isEmpty:_0x3b2d5d,view:_0x1c54f5}=_0x4dfc58,_0x2075ac=_0x33cbfc[_0x1f9ccd(0x196)],_0x170013=new _0xb00319();_0x170013[_0x1f9ccd(0x3ea)](_0x1c54f5);const _0x1f082e={'cellInfo':_0x2075ac,'view':_0x170013,'isEmpty':_0x3b2d5d};if(!await _0x57c302['get'](ie)[_0x1f9ccd(0x3d7)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x1f082e))return!0x1;const _0x290c24=we(_0x57c302,_0x170013,_0x2075ac,_0x3b2d5d),_0x1cb485=_e(_0x57c302,_0x1f082e),{undos:_0x32907e,redos:_0x45612c}=Ce(_0x5bff3c,{'pivotTableId':_0x2131cc,'unitId':_0x121c7d,'subUnitId':_0x2ea185},_0x3d03d9);return _0x182a8e([..._0x290c24[_0x1f9ccd(0x19b)],..._0x1cb485['redos'],..._0x45612c],_0x5bff3c),_0x48cb78[_0x1f9ccd(0x2df)]({'unitID':_0x121c7d,'redoMutations':[..._0x290c24['redos'],..._0x1cb485[_0x1f9ccd(0x19b)],..._0x45612c],'undoMutations':[..._0x290c24['undos'],..._0x1cb485[_0x1f9ccd(0x326)],..._0x32907e]}),!0x0;}},Ps={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x1d4),async 'handler'(_0x25f8a5,_0x4c6ce0){const _0x560c61=_0x54f375;if(!_0x4c6ce0)return!0x1;const _0x3d5f7e=_0x25f8a5['get'](_0x384d05),_0x210e39=_0x25f8a5[_0x560c61(0x307)](_0x4d31c9),_0x36c8d0=_0x25f8a5['get'](X),{info:_0x3806d8,tableFieldId:_0x4e2bc2,pivotTableId:_0xda818d,unitId:_0x353373,subUnitId:_0x54f545}=_0x4c6ce0,_0x4ae496=(await _0x36c8d0[_0x560c61(0x322)]({'unitId':_0x353373,'subUnitId':_0x54f545,'pivotTableId':_0xda818d,'params':{'type':k['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x4e2bc2,'info':_0x3806d8}}}))['result'][_0x560c61(0x38c)];if(!_0x4ae496)return!0x1;const {changesets:_0x18f136}=_0x4ae496,{redos:_0x10cfc5,undos:_0x441cc7}=Ce(_0x3d5f7e,{'pivotTableId':_0xda818d,'unitId':_0x353373,'subUnitId':_0x54f545},_0x18f136);return _0x182a8e(_0x10cfc5,_0x3d5f7e),_0x210e39[_0x560c61(0x2df)]({'unitID':_0x353373,'redoMutations':_0x10cfc5,'undoMutations':_0x441cc7}),!0x0;}},Ts={'type':_0x367096['COMMAND'],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x264fc2,_0x282a7b){const _0x5e1da9=_0x54f375;if(!_0x282a7b)return!0x1;const _0x416f55=_0x264fc2[_0x5e1da9(0x307)](_0x384d05),_0x214f93=_0x264fc2[_0x5e1da9(0x307)](_0x4d31c9),_0x5beff1=_0x264fc2['get'](X),{displayName:_0x5d0557,subtotalType:_0x347ddc,format:_0x46fb5a,tableFieldId:_0x2d4fb5,pivotTableId:_0x21ca51,unitId:_0x2e6fa4,subUnitId:_0x54d135}=_0x282a7b,_0x2bc89d=(await _0x5beff1['getPivotDisplayConfig']({'unitId':_0x2e6fa4,'subUnitId':_0x54d135,'pivotTableId':_0x21ca51,'params':{'type':k[_0x5e1da9(0x181)],'setPivotSetting':{'tableFieldId':_0x2d4fb5,'displayName':_0x5d0557,'subtotalType':_0x347ddc,'format':_0x46fb5a}}}))['result'][_0x5e1da9(0x1f3)];if(!_0x2bc89d)return!0x1;const {changesets:_0x51d758,view:_0x15adcd,pivotTableConfig:_0x308989,isEmpty:_0x10f99c}=_0x2bc89d,_0x1ab1d6=_0x308989[_0x5e1da9(0x196)],_0x52d9dc=new _0xb00319();_0x52d9dc[_0x5e1da9(0x3ea)](_0x15adcd);const _0x2d2e18={'cellInfo':_0x1ab1d6,'view':_0x52d9dc,'isEmpty':_0x10f99c};if(!await _0x264fc2[_0x5e1da9(0x307)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2d2e18))return!0x1;const _0x2ac6a8=we(_0x264fc2,_0x52d9dc,_0x1ab1d6,_0x10f99c),_0x35d388=_e(_0x264fc2,_0x2d2e18),{undos:_0x4fe7be,redos:_0x1769ca}=Ce(_0x416f55,{'pivotTableId':_0x21ca51,'unitId':_0x2e6fa4,'subUnitId':_0x54d135},_0x51d758);return _0x182a8e([..._0x2ac6a8['redos'],..._0x35d388[_0x5e1da9(0x19b)],..._0x1769ca],_0x416f55),_0x214f93[_0x5e1da9(0x2df)]({'unitID':_0x2e6fa4,'redoMutations':[..._0x2ac6a8[_0x5e1da9(0x19b)],..._0x35d388[_0x5e1da9(0x19b)],..._0x1769ca],'undoMutations':[..._0x2ac6a8[_0x5e1da9(0x326)],..._0x35d388[_0x5e1da9(0x326)],..._0x4fe7be]}),!0x0;}},ys={'type':_0x367096[_0x54f375(0x1cc)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x4b5c10,_0x4859d8){const _0x3427ca=_0x54f375,_0x551579=_0x4b5c10['get'](_0x384d05),_0x551098=_0x4b5c10[_0x3427ca(0x307)](X),_0x3d00f3=_0x4b5c10[_0x3427ca(0x307)](_0x4d31c9);if(!_0x4859d8)return!0x1;const {token:_0x128cd9,dataRangeInfo:_0x53fe43,unitId:_0x16b9d7,subUnitId:_0xf180a3}=_0x4859d8,_0x382f49=[],_0x2ea51c=[],_0x34367f=(await _0x551098[_0x3427ca(0x322)]({'unitId':_0x16b9d7,'subUnitId':_0xf180a3,'pivotTableId':_0x128cd9,'params':{'type':k[_0x3427ca(0x204)],'updatePivotSource':{'dataRangeInfo':_0x53fe43,'unitId':_0x16b9d7,'subUnitId':_0xf180a3}}}))['result'][_0x3427ca(0x32d)];if(!_0x34367f)return!0x1;const {changesets:_0x178e56,deleteIds:_0x493a27,collectionConfig:_0x3c72c4,oldCollectionConfig:_0x2657c7,view:_0x366903,isEmpty:_0x280f7c,pivotTableConfig:_0x13a611}=_0x34367f;_0x2ea51c[_0x3427ca(0x342)]({'id':to['id'],'params':{'pivotTableId':_0x128cd9,'deleteIds':_0x493a27,'collectionJSON':_0x3c72c4,'dataRangeInfo':_0x53fe43,'unitId':_0x16b9d7,'subUnitId':_0xf180a3}}),_0x382f49['unshift']({'id':to['id'],'params':{'pivotTableId':_0x128cd9,'deleteIds':[],'collectionJSON':_0x2657c7,'dataRangeInfo':_0x13a611[_0x3427ca(0x3a8)],'unitId':_0x16b9d7,'subUnitId':_0xf180a3}});const _0x316156=_0x13a611[_0x3427ca(0x196)],_0x4f0ec6=new _0xb00319();_0x4f0ec6[_0x3427ca(0x3ea)](_0x366903);const _0x5eda6c={'cellInfo':_0x316156,'view':_0x4f0ec6,'isEmpty':_0x280f7c};if(!await _0x4b5c10[_0x3427ca(0x307)](ie)['asyncInterceptor'][_0x3427ca(0x2c0)](be)(!0x0,_0x5eda6c))return!0x1;const _0x3f8109=we(_0x4b5c10,_0x4f0ec6,_0x316156,_0x280f7c),_0x1bad36=_e(_0x4b5c10,_0x5eda6c),{undos:_0x28ae8e,redos:_0x1f6e86}=Ce(_0x551579,{'pivotTableId':_0x128cd9,'unitId':_0x16b9d7,'subUnitId':_0xf180a3},_0x178e56);return _0x182a8e([..._0x3f8109[_0x3427ca(0x19b)],..._0x1bad36[_0x3427ca(0x19b)],..._0x2ea51c,..._0x28ae8e],_0x551579),_0x3d00f3['pushUndoRedo']({'unitID':_0x16b9d7,'redoMutations':[..._0x3f8109['redos'],..._0x1bad36[_0x3427ca(0x19b)],..._0x2ea51c,..._0x28ae8e],'undoMutations':[..._0x3f8109['undos'],..._0x1bad36[_0x3427ca(0x326)],..._0x382f49,..._0x1f6e86]}),!0x0;}},Ms={'type':_0x367096[_0x54f375(0x1cc)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x57ebcf,_0x125d53){const _0x33b679=_0x54f375;if(!_0x125d53)return!0x1;const _0x2cc49f=_0x57ebcf[_0x33b679(0x307)](_0x384d05),_0x592380=_0x57ebcf[_0x33b679(0x307)](X),_0x34001a=_0x57ebcf['get'](_0x5f5304),_0x5c3525=_0x57ebcf['get'](_0x4d31c9),{pivotTableId:_0x474ebd,position:_0x56c1b1,index:_0x5aa6fa}=_0x125d53,_0x175ec3=_0x4ea6fa(_0x34001a);if(!_0x175ec3)return!0x1;const {unitId:_0x53bc7d,subUnitId:_0x4d965f}=_0x175ec3,_0x4724d5=(await _0x592380[_0x33b679(0x322)]({'unitId':_0x53bc7d,'subUnitId':_0x4d965f,'pivotTableId':_0x474ebd,'params':{'type':k['UpdateValuePosition'],'updateValuePosition':{'position':_0x56c1b1,'index':_0x5aa6fa}}}))[_0x33b679(0x2c6)][_0x33b679(0x23d)];if(!_0x4724d5)return!0x1;const {changesets:_0x1eec2e,view:_0x463916,isEmpty:_0x5c0bc0,pivotTableConfig:_0xe27fd9}=_0x4724d5,_0x2acd6b=_0xe27fd9[_0x33b679(0x196)],_0x4e70a0=new _0xb00319();_0x4e70a0[_0x33b679(0x3ea)](_0x463916);const _0xbcbf3f=_0x57ebcf[_0x33b679(0x307)](ie),_0x52391b={'cellInfo':_0x2acd6b,'view':_0x4e70a0,'isEmpty':_0x5c0bc0};if(!await _0xbcbf3f[_0x33b679(0x3d7)][_0x33b679(0x2c0)](be)(!0x0,_0x52391b))return!0x1;const _0x3bf2f3=we(_0x57ebcf,_0x4e70a0,_0x2acd6b,_0x5c0bc0),_0x351810=_e(_0x57ebcf,_0x52391b),{undos:_0x410006,redos:_0x144b65}=Ce(_0x2cc49f,{'pivotTableId':_0x474ebd,'unitId':_0x53bc7d,'subUnitId':_0x4d965f},_0x1eec2e);return _0x182a8e([..._0x3bf2f3[_0x33b679(0x19b)],..._0x351810[_0x33b679(0x19b)],..._0x144b65],_0x2cc49f),_0x5c3525[_0x33b679(0x2df)]({'unitID':_0x53bc7d,'redoMutations':[..._0x3bf2f3['redos'],..._0x351810[_0x33b679(0x19b)],..._0x144b65],'undoMutations':[..._0x3bf2f3['undos'],..._0x351810['undos'],..._0x410006]}),!0x0;}},ws={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x1af),'handler':(_0x1e4067,_0x494024)=>{const _0x489ed1=_0x54f375,_0x5b8833=_0x1e4067['get'](_0x384d05),_0x1c4234=_0x1e4067[_0x489ed1(0x307)](_0x4d31c9),_0x33a006=_0x1e4067[_0x489ed1(0x307)](ve),_0x2bc02a=_0x1e4067['get'](_0x5f5304);if(!_0x494024)return!0x1;const _0x165eee=_0x4ea6fa(_0x2bc02a);if(!_0x165eee)return!0x1;const {unitId:_0x58275b,subUnitId:_0x42154f,workbook:_0x44290a}=_0x165eee,_0x57c37f=_0x33a006[_0x489ed1(0x3f5)](_0x494024[_0x489ed1(0x24b)][_0x489ed1(0x314)],_0x494024[_0x489ed1(0x24b)]['subUnitId'],_0x494024[_0x489ed1(0x3ba)]);if(!_0x57c37f)return!0x1;const _0x1760b0=_0x44290a[_0x489ed1(0x243)](_0x494024['targetCellInfo'][_0x489ed1(0x194)]);if(!_0x1760b0)throw new Error(_0x489ed1(0x240));const _0x39f8bc=_0x1760b0[_0x489ed1(0x29f)](),_0x30c349=_0x1760b0[_0x489ed1(0x3cf)]();if(_0x494024[_0x489ed1(0x196)][_0x489ed1(0x219)]>_0x39f8bc||_0x494024['targetCellInfo']['col']>_0x30c349)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x532458=[{'id':pt['id'],'params':{'unitId':_0x58275b,'subUnitId':_0x494024[_0x489ed1(0x196)]['subUnitId'],'pivotTableId':_0x494024[_0x489ed1(0x3ba)],'targetCellPosition':{'row':_0x494024[_0x489ed1(0x196)][_0x489ed1(0x219)],'col':_0x494024[_0x489ed1(0x196)][_0x489ed1(0x3e9)]}}}],_0x53dd91=[{'id':pt['id'],'params':{'unitId':_0x58275b,'subUnitId':_0x42154f,'pivotTableId':_0x494024['pivotTableId'],'targetCellPosition':{'row':_0x57c37f[_0x489ed1(0x196)]['row'],'col':_0x57c37f[_0x489ed1(0x196)][_0x489ed1(0x3e9)]}}}];return _0x182a8e(_0x532458,_0x5b8833)&&_0x1c4234[_0x489ed1(0x2df)]({'unitID':_0x58275b,'undoMutations':_0x53dd91,'redoMutations':_0x532458}),!0x0;}},_s={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x1b7),async 'handler'(_0x14fd65,_0x20f1f8){const _0x394964=_0x54f375;if(!_0x20f1f8)return!0x1;const _0x3beb47=_0x14fd65[_0x394964(0x307)](_0x384d05),{pivotTableId:_0x402300,fieldId:_0x5b9cac,valueFilterInfo:_0x3f58e8,unitId:_0x3bba86,subUnitId:_0x9c629}=_0x20f1f8,_0x4288e3=_0x14fd65[_0x394964(0x307)](X),_0x412ada=_0x14fd65['get'](_0x4d31c9),_0x537759=(await _0x4288e3[_0x394964(0x322)]({'unitId':_0x3bba86,'subUnitId':_0x9c629,'pivotTableId':_0x402300,'params':{'type':k[_0x394964(0x3a2)],'setValuePivotFilter':{'tableFieldId':_0x5b9cac,'filterInfo':_0x3f58e8}}}))[_0x394964(0x2c6)][_0x394964(0x336)];if(!_0x537759)return!0x1;const {changesets:_0x3bba2e,pivotTableConfig:_0x97ca8,isEmpty:_0x1245a4,view:_0x47a88e}=_0x537759,_0x4e1c35=_0x97ca8[_0x394964(0x196)],_0x668816=new _0xb00319();_0x668816[_0x394964(0x3ea)](_0x47a88e);const _0x4bcabc={'cellInfo':_0x4e1c35,'view':_0x668816,'isEmpty':_0x1245a4};if(!await _0x14fd65[_0x394964(0x307)](ie)[_0x394964(0x3d7)][_0x394964(0x2c0)](be)(!0x0,_0x4bcabc))return!0x1;const _0x26cf94=we(_0x14fd65,_0x668816,_0x4e1c35,_0x1245a4),_0x2f1800=_e(_0x14fd65,_0x4bcabc),{undos:_0x3ba9cd,redos:_0x21150d}=Ce(_0x3beb47,{'pivotTableId':_0x402300,'unitId':_0x3bba86,'subUnitId':_0x9c629},_0x3bba2e);return _0x182a8e([..._0x26cf94[_0x394964(0x19b)],..._0x2f1800[_0x394964(0x19b)],..._0x21150d],_0x3beb47),_0x412ada['pushUndoRedo']({'unitID':_0x3bba86,'redoMutations':[..._0x26cf94['redos'],..._0x2f1800['redos'],..._0x21150d],'undoMutations':[..._0x26cf94[_0x394964(0x326)],..._0x2f1800['undos'],..._0x3ba9cd]}),!0x0;}},Fs={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x3cb),async 'handler'(_0x4e0d4e,_0x523fd7){const _0x4e78af=_0x54f375;if(!_0x523fd7)return!0x1;const _0x2b3beb=_0x4e0d4e[_0x4e78af(0x307)](_0x384d05),_0x487697=_0x4e0d4e[_0x4e78af(0x307)](_0x4d31c9),_0x387c2d=_0x4e0d4e['get'](X),{pivotTableConfig:_0x41161c,pivotTableId:_0x26cbef,unitId:_0x2cec55,subUnitId:_0x500fae}=_0x523fd7,_0x58ec68=(await _0x387c2d[_0x4e78af(0x322)]({'unitId':_0x2cec55,'subUnitId':_0x500fae,'pivotTableId':_0x26cbef,'params':{'type':k[_0x4e78af(0x193)],'setPivotTableConfig':{'pivotTableId':_0x26cbef,'pivotTableConfig':_0x41161c}}}))[_0x4e78af(0x2c6)][_0x4e78af(0x195)];if(!_0x58ec68)return!0x1;const {changesets:_0x51c741}=_0x58ec68,{redos:_0x255ea6,undos:_0x3e61c0}=Ce(_0x2b3beb,{'pivotTableId':_0x26cbef,'unitId':_0x2cec55,'subUnitId':_0x500fae},_0x51c741);return _0x182a8e(_0x255ea6,_0x2b3beb),_0x487697['pushUndoRedo']({'unitID':_0x2cec55,'redoMutations':_0x255ea6,'undoMutations':_0x3e61c0}),!0x0;}},Rs={'type':_0x367096[_0x54f375(0x1cc)],'id':_0x54f375(0x2b7),async 'handler'(_0x3e4c5d,_0x515abd){const _0x445e95=_0x54f375;if(!_0x515abd)return!0x1;const _0x43edce=_0x3e4c5d['get'](_0x384d05),_0x5ab282=_0x3e4c5d[_0x445e95(0x307)](_0x4d31c9),_0xbf09f8=_0x3e4c5d[_0x445e95(0x307)](X),{resetArea:_0x1e5793,pivotTableId:_0x340774,unitId:_0x2244f1,subUnitId:_0x1f0fdb}=_0x515abd,_0x325a8a=(await _0xbf09f8[_0x445e95(0x322)]({'unitId':_0x2244f1,'subUnitId':_0x1f0fdb,'pivotTableId':_0x340774,'params':{'type':k[_0x445e95(0x384)],'resetPivotTable':{'pivotTableId':_0x340774,'resetArea':_0x1e5793}}}))[_0x445e95(0x2c6)]['resetPivotTable'];if(!_0x325a8a)return!0x1;const {changesets:_0x831783}=_0x325a8a,{redos:_0xea69dd,undos:_0x265783}=Ce(_0x43edce,{'pivotTableId':_0x340774,'unitId':_0x2244f1,'subUnitId':_0x1f0fdb},_0x831783);return _0x182a8e(_0xea69dd,_0x43edce),_0x5ab282[_0x445e95(0x2df)]({'unitID':_0x2244f1,'redoMutations':_0xea69dd,'undoMutations':_0x265783}),!0x0;}},oo={'id':_0x54f375(0x186),'type':_0x367096[_0x54f375(0x1b1)],'handler':(_0x4e47e0,_0x12fd30)=>{const _0x2282ec=_0x54f375;if(!_0x12fd30)return!0x1;if(!!_0x4e47e0[_0x2282ec(0x307)](_0x4abb7e)[_0x2282ec(0x197)](z))return!0x0;const {unitId:_0x5e5f9e,subUnitId:_0x596c9e,pivotTableId:_0x289f8a,tableFieldId:_0x3233e1,dateType:_0x114179}=_0x12fd30,_0x173552=_0x4e47e0[_0x2282ec(0x307)](B),_0x5a38e3=_0x173552[_0x2282ec(0x37e)](_0x289f8a);if(!_0x5a38e3)return!0x1;const _0x499a16=_0x5a38e3[_0x2282ec(0x26b)](_0x3233e1);if(!_0x499a16)return!0x1;const _0x1bce4a=_0x499a16[_0x2282ec(0x1dc)](),_0x20ee3c=_0x5a38e3[_0x2282ec(0x37b)](_0x1bce4a),_0x4a35e6=(_0x20ee3c==null?void 0x0:_0x20ee3c[_0x2282ec(0x296)]())+'\x20'+zo(_0x4e47e0,_0x114179);_0x173552[_0x2282ec(0x1b9)](_0x5e5f9e,_0x289f8a)['setDisplayName'](_0x499a16['id'],_0x4a35e6);const _0xc47650=_0x5a38e3[_0x2282ec(0x3ef)](_0x3233e1);if(!_0xc47650)return!0x1;_0x5a38e3[_0x2282ec(0x33a)](_0xc47650[_0x2282ec(0x37f)](),_0x4a35e6),_0x499a16['setDateType'](_0x114179);const _0xd85560=_0x173552[_0x2282ec(0x3f5)](_0x5e5f9e,_0x596c9e,_0x289f8a);return _0x173552['addDirtyPivotTable']({'unitId':_0x5e5f9e,'subUnitId':_0x596c9e,'token':_0x289f8a,'type':L[_0x2282ec(0x1b3)],'pivotConfig':_0xd85560}),!0x0;}},Ds={'id':_0x54f375(0x38d),'type':_0x367096[_0x54f375(0x1cc)],'handler':(_0x10743c,_0x2dd08c)=>{const _0x4b6fd9=_0x54f375;if(!_0x2dd08c)return!0x1;const _0xc7d8b8=_0x10743c[_0x4b6fd9(0x307)](_0x4d31c9),{unitId:_0x4d60ac,subUnitId:_0x55a949,pivotTableId:_0x2174ec,tableFieldId:_0x465585}=_0x2dd08c,_0x5555d2=[],_0x2fd343=[],_0x45197e=_0x10743c[_0x4b6fd9(0x307)](ve),_0x39b591=_0x45197e['getCollection'](_0x4d60ac,_0x2174ec),_0xe1d912=_0x45197e[_0x4b6fd9(0x3f5)](_0x4d60ac,_0x55a949,_0x2174ec);if(!(_0xe1d912!=null&&_0xe1d912[_0x4b6fd9(0x2de)][_0x4b6fd9(0x19c)]))return!0x1;const _0x5ae411=Object[_0x4b6fd9(0x253)](_0xe1d912[_0x4b6fd9(0x2de)][_0x4b6fd9(0x19c)])[_0x4b6fd9(0x3b7)](_0x4f7d40=>_0x4f7d40['id']===_0x465585);if(!_0x5ae411)return!0x1;const _0x2a533f=_0x5ae411[_0x4b6fd9(0x1f7)];if(!(_0x39b591!=null&&_0x39b591['fields']))return!0x1;const _0x1b93b6=Object[_0x4b6fd9(0x253)](_0x39b591==null?void 0x0:_0x39b591[_0x4b6fd9(0x351)])['find'](_0x567632=>_0x567632['id']===_0x2a533f);if(!_0x1b93b6)return!0x1;_0x2744c3(_0x1b93b6)&&_0x5555d2[_0x4b6fd9(0x342)]({'id':oo['id'],'params':{..._0x2dd08c,'dateType':_0x1b93b6[_0x4b6fd9(0x28d)]}}),_0x2fd343[_0x4b6fd9(0x342)]({'id':oo['id'],'params':{..._0x2dd08c}});const _0x4ef107=_0x10743c[_0x4b6fd9(0x307)](_0x384d05);return _0x182a8e(_0x2fd343,_0x4ef107)&&_0xc7d8b8[_0x4b6fd9(0x2df)]({'unitID':_0x4d60ac,'undoMutations':_0x5555d2,'redoMutations':_0x2fd343}),!0x0;}};var Ns=Object[_0x54f375(0x30f)],Us=(_0x154805,_0x4ff94a,_0x4e8408,_0x5395ca)=>{const _0x568e96=_0x54f375;for(var _0x3e9508=_0x5395ca>0x1?void 0x0:_0x5395ca?Ns(_0x4ff94a,_0x4e8408):_0x4ff94a,_0x1ee1c3=_0x154805[_0x568e96(0x2e5)]-0x1,_0x14b84f;_0x1ee1c3>=0x0;_0x1ee1c3--)(_0x14b84f=_0x154805[_0x1ee1c3])&&(_0x3e9508=_0x14b84f(_0x3e9508)||_0x3e9508);return _0x3e9508;},Ke=(_0x50bc17,_0x2681fb)=>(_0x2d95bb,_0x53bb3c)=>_0x2681fb(_0x2d95bb,_0x53bb3c,_0x50bc17);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x53bfe6,_0x2c7899,_0x516bc4)=>{const _0x2cd34c=_0x54f375,_0x4ee9f5=_0x53bfe6['dataFieldsCollection'];_0x53bfe6['iterateFieldDim'](_0x2bd8d5=>{const _0x1fe8c=_0x4016,_0x1960a3=_0x2bd8d5['getId'](),_0x498c1e=_0x2bd8d5[_0x1fe8c(0x1a6)](),_0x3e0ef1=_0x2bd8d5[_0x1fe8c(0x22d)](),_0x1cc2d5=_0x2bd8d5[_0x1fe8c(0x393)]();_0x2c7899[_0x498c1e]&&_0x2c7899[_0x498c1e]===_0x1cc2d5&&_0x3e0ef1===_0x1cc2d5&&(_0x53bfe6[_0x1fe8c(0x33a)](_0x1960a3,_0x4ee9f5['getDisplayName'](_0x498c1e)),_0x2bd8d5[_0x1fe8c(0x3c8)](_0x4ee9f5[_0x1fe8c(0x393)](_0x498c1e)));}),_0x53bfe6[_0x2cd34c(0x288)](_0x4baac8[_0x2cd34c(0x385)],_0x560b0d=>{const _0x25d197=_0x2cd34c,_0x2cd3ea=_0x560b0d[_0x25d197(0x37f)](),_0x2c5201=_0x560b0d[_0x25d197(0x1a6)](),_0x599437=_0x560b0d[_0x25d197(0x22d)](),_0x35e812=_0x560b0d[_0x25d197(0x393)](),_0x4b7e04=_0x560b0d[_0x25d197(0x39b)](),_0x2e3748=_0x516bc4(_0x599437,_0x4b7e04);_0x2c7899[_0x2c5201]&&_0x2c7899[_0x2c5201]===_0x599437&&_0x2e3748===_0x35e812&&(_0x53bfe6[_0x25d197(0x33a)](_0x2cd3ea,_0x516bc4(_0x4ee9f5[_0x25d197(0x393)](_0x2c5201),_0x4b7e04)),_0x560b0d['setSourceName'](_0x4ee9f5['getDisplayName'](_0x2c5201)));});},xs=(_0x3fa7db,_0xf39669,_0x176a34)=>{const _0x1eb9d3=_0x54f375;var _0x1d17da,_0x590c80;const {arrayFormulaCellData:_0x50fc03,unitData:_0xd83f97}=_0xf39669,{unitId:_0x1790a5,subUnitId:_0x55c9fa}=_0x176a34,_0x3ddfbc=_0x176a34[_0x1eb9d3(0x360)],{startColumn:_0x277798,endColumn:_0x473d22}=_0x3ddfbc,_0x572040=(_0x1d17da=_0x50fc03==null?void 0x0:_0x50fc03[_0x1790a5])==null?void 0x0:_0x1d17da[_0x55c9fa],_0x40609b=(_0x590c80=_0xd83f97==null?void 0x0:_0xd83f97[_0x1790a5])==null?void 0x0:_0x590c80[_0x55c9fa],_0x475bce=new Set(),_0x4a057b=_0x473d22-_0x277798+0x1,{dirtyRanges:_0xfe9d20}=_0x3fa7db;if(_0xfe9d20)for(const {range:_0x4ff1da,sheetId:_0x499056,unitId:_0x39f9bc}of _0xfe9d20){if(_0x499056!==_0x55c9fa||_0x1790a5!==_0x39f9bc)continue;const _0x365191=_0x5de3db[_0x1eb9d3(0x20a)](_0x4ff1da,_0x3ddfbc);if(_0x365191){const {startColumn:_0x1340dc,endColumn:_0x482ca4}=_0x365191;for(let _0x2019ce=_0x1340dc;_0x2019ce<=_0x482ca4;_0x2019ce++)_0x475bce[_0x1eb9d3(0x1e1)](_0x2019ce);}}if(_0x475bce['size']===_0x4a057b||_0x475bce['size']===_0x4a057b)return Array[_0x1eb9d3(0x3db)](_0x475bce);if(_0x40609b){const _0x3b8975=_0x40609b[_0x1eb9d3(0x1b0)](),_0x4eace4=Object['keys'](_0x3b8975);for(const _0x2f0c4f of _0x4eace4){const _0x43fe01=Number(_0x2f0c4f),_0x452a88=_0x3b8975[_0x43fe01];if(_0x475bce[_0x1eb9d3(0x3c1)]===_0x4a057b)break;for(const _0x1691a0 in _0x452a88){const _0x5d652f=Number(_0x1691a0);_0x5d652f<_0x277798||_0x5d652f>_0x473d22||_0x475bce[_0x1eb9d3(0x1e1)](_0x5d652f);}}}if(_0x572040){const _0x69fc25=_0x572040[_0x1eb9d3(0x1b0)](),_0x694612=Object['keys'](_0x69fc25);for(const _0xf9f5a1 of _0x694612){const _0x6ac128=Number(_0xf9f5a1),_0x2dc836=_0x69fc25[_0x6ac128];if(_0x475bce[_0x1eb9d3(0x3c1)]===_0x4a057b)break;for(const _0x32934f in _0x2dc836){const _0x58a2a3=Number(_0x32934f);_0x58a2a3<_0x277798||_0x58a2a3>_0x473d22||_0x475bce[_0x1eb9d3(0x1e1)](_0x58a2a3);}}}return Array[_0x1eb9d3(0x3db)](_0x475bce);},Os=_0x545f95=>{const _0xbf9cbf=_0x54f375,_0x13236b=new Set(),_0x587c8d=[];for(const _0x51e8d1 of _0x545f95){const _0x9abe28=_0x51e8d1['startRow']+','+_0x51e8d1[_0xbf9cbf(0x1ad)]+','+_0x51e8d1[_0xbf9cbf(0x213)]+','+_0x51e8d1[_0xbf9cbf(0x3fa)];_0x13236b[_0xbf9cbf(0x293)](_0x9abe28)||(_0x13236b[_0xbf9cbf(0x1e1)](_0x9abe28),_0x587c8d[_0xbf9cbf(0x342)](_0x51e8d1));}return _0x587c8d;};let ct=class extends _0x2e0af8{constructor(_0x19d6b9,_0x31d1b,_0x30e65f,_0x29dc6a,_0x42b803,_0x28d892){const _0x22e2c7=_0x54f375;super(),V(this,_0x22e2c7(0x1e4),new _0x6fd07f(!0x0)),V(this,_0x22e2c7(0x295),_0x43b76c=>{const _0x2495fe=_0x22e2c7;this[_0x2495fe(0x1e4)]['next'](!0x1);}),V(this,_0x22e2c7(0x2d6),_0x13e19f=>{const _0x30d617=_0x22e2c7;this[_0x30d617(0x1e4)][_0x30d617(0x321)](!0x0);}),(this[_0x22e2c7(0x28e)]=_0x19d6b9,this[_0x22e2c7(0x259)]=_0x31d1b,this[_0x22e2c7(0x3ec)]=_0x30e65f,this['_commandService']=_0x29dc6a,this[_0x22e2c7(0x361)]=_0x42b803,this[_0x22e2c7(0x262)]=_0x28d892,this[_0x22e2c7(0x1ff)](),this['_initPivotDataGetListener']());}[_0x54f375(0x1ff)](){const _0x57884e=_0x54f375;this['_subjectCollectionChange'](),this[_0x57884e(0x39d)](),this[_0x57884e(0x381)](),this[_0x57884e(0x21c)]();}[_0x54f375(0x301)](){const _0x5e56d2=_0x54f375;this[_0x5e56d2(0x361)][_0x5e56d2(0x2db)](this[_0x5e56d2(0x1e4)]),_0x324108[_0x5e56d2(0x29c)](_0x5d5916[_0x5e56d2(0x245)],this[_0x5e56d2(0x295)]),_0x324108[_0x5e56d2(0x29c)](_0x5d5916[_0x5e56d2(0x3c2)],this[_0x5e56d2(0x2d6)]);}[_0x54f375(0x2fd)](){const _0x3b4c26=_0x54f375;this[_0x3b4c26(0x3e3)](this['_commandService'][_0x3b4c26(0x3b4)](_0x3e7854=>{const _0xdd58dc=_0x3b4c26;_0x3e7854['id']===_0x21f7b0['id']&&this['_sheetsPivotDataSourceModel'][_0xdd58dc(0x19d)](_0x3e7854[_0xdd58dc(0x323)]);})),this['disposeWithMe'](this['_commandService'][_0x3b4c26(0x3b4)](_0x56a44b=>{const _0x2049b9=_0x3b4c26;if(_0x56a44b['id']!==ro['id'])return;const _0x10f566=_0x56a44b[_0x2049b9(0x323)],{unitId:_0x90bda1,subUnitId:_0xf6179e,pivotTableId:_0x3a9fb5}=_0x10f566,_0xff25bf=_0x10f566[_0x2049b9(0x323)]['type'],_0x5da7ee={};switch(_0xff25bf){case k[_0x2049b9(0x278)]:{const _0x3504f9=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x1e2)];if(!_0x3504f9)return;const {row:_0x442adb,col:_0x3f5382,cellData:_0x156c87,pivotItemRenderInfoCache:_0x4aef54,tableFieldId:_0x1248ca}=_0x3504f9,_0x21b368=this[_0x2049b9(0x28e)]['getPivotTableInstance'](_0x10f566[_0x2049b9(0x3ba)]);if(!_0x21b368||!_0x4aef54)return;if(_0x1248ca){const _0x23de84=_0x21b368[_0x2049b9(0x26b)](_0x1248ca);if(!_0x23de84)return;_0x5da7ee['filter']={..._0x21b368['getDataFieldItemInfo'](_0x23de84),'tableFieldId':_0x1248ca,'pivotTableId':_0x10f566[_0x2049b9(0x3ba)],'filterInfo':_0x21b368[_0x2049b9(0x3f2)](_0x1248ca),'sortInfo':_0x21b368[_0x2049b9(0x1e5)](_0x1248ca),'format':_0x21b368[_0x2049b9(0x325)](_0x1248ca)};}else{const _0x146bfe=xi(_0x442adb,_0x3f5382,_0x156c87,_0x21b368,_0x4aef54),_0x1d2e5e=_0x146bfe==null?void 0x0:_0x146bfe[_0x2049b9(0x1a3)];if(!_0x1d2e5e)return;const _0xd0100d=_0x21b368[_0x2049b9(0x26b)](_0x1d2e5e);if(!_0xd0100d)return;_0x5da7ee[_0x2049b9(0x1e2)]={..._0x21b368[_0x2049b9(0x2d3)](_0xd0100d),'tableFieldId':_0x1d2e5e,'pivotTableId':_0x10f566[_0x2049b9(0x3ba)],'filterInfo':_0x21b368['getFilterInfo'](_0x1d2e5e),'sortInfo':_0x21b368['getSortInfo'](_0x1d2e5e),'format':_0x21b368[_0x2049b9(0x325)](_0x1d2e5e)};}}break;case k[_0x2049b9(0x30b)]:{const _0x1f60e3=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x269)];if(!_0x1f60e3)return;const {pivotTableId:_0xe033f1}=_0x1f60e3,_0x1adc2=this[_0x2049b9(0x28e)][_0x2049b9(0x37e)](_0xe033f1);if(!_0x1adc2)return;const _0x4405ec=this[_0x2049b9(0x28e)][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0xe033f1),_0x799d0d=Oi(_0x1adc2,_0xe033f1,_0x4405ec);_0x5da7ee[_0x2049b9(0x269)]=_0x799d0d;}break;case k['AddPivotField']:{const _0x1f5c61=this[_0x2049b9(0x28e)]['getPivotTableInstance'](_0x3a9fb5),_0x3d23e4=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x90bda1),_0x236324=_0x3d23e4[_0x2049b9(0x1b9)](_0x3a9fb5);let _0x2b3b15=null;const _0x1684fc=this['_sheetsPivotDataSourceModel'][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0x3a9fb5),_0x43454f=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x24c)];if(!_0x1f5c61||!_0x1684fc||!_0x43454f)return!0x1;const {dataFieldId:_0x14c241,fieldArea:_0x15f29f,index:_0x1d28fc}=_0x43454f;_0x1f5c61['startCollectChangeset']();const _0x576dae=_0x1f5c61[_0x2049b9(0x366)](_0x14c241,_0x15f29f,_0x1d28fc);if(_0x576dae&&_0x15f29f===_0x4baac8[_0x2049b9(0x385)]){const _0x3b8aef=_0x576dae[_0x2049b9(0x37f)](),_0x2f20b0=_0x1f5c61[_0x2049b9(0x26b)](_0x3b8aef);if(_0x2f20b0){const _0x1089ca=_0x2f20b0==null?void 0x0:_0x2f20b0['getFieldDataType']();_0x1f5c61['setSubtotalType'](_0x576dae[_0x2049b9(0x37f)](),_0x1089ca===_0x49998f[_0x2049b9(0x37c)]?_0x5aa406[_0x2049b9(0x1c8)]:_0x5aa406['count']);}const _0x37442d=_0x1f5c61[_0x2049b9(0x3d2)](),_0x2703a8=_0x1f5c61[_0x2049b9(0x188)](),_0x13b309=_0x1f5c61[_0x2049b9(0x317)](_0x4baac8[_0x2049b9(0x385)]);if(_0x37442d===-0x1&&_0x13b309>0x1){const _0x9aab7b=_0x2703a8===_0x4bb2b0['None']?_0x4bb2b0[_0x2049b9(0x29b)]:_0x2703a8,_0x43d4ba=_0x9aab7b===_0x4bb2b0[_0x2049b9(0x38e)]?_0x4baac8[_0x2049b9(0x38e)]:_0x4baac8[_0x2049b9(0x29b)];_0x1f5c61[_0x2049b9(0x23d)](_0x9aab7b,_0x1f5c61[_0x2049b9(0x317)](_0x43d4ba));}}else{if(_0x576dae&&(_0x15f29f===_0x4baac8['Row']||_0x15f29f===_0x4baac8[_0x2049b9(0x29b)])){const _0x499801=_0x576dae[_0x2049b9(0x37f)](),_0xfba4de=_0x1f5c61[_0x2049b9(0x26b)](_0x499801);if(_0xfba4de&&(_0xfba4de==null?void 0x0:_0xfba4de[_0x2049b9(0x286)]())===_0x49998f[_0x2049b9(0x21d)]){const _0x4c1b64=_0xfba4de['getformat']();if(_0x4c1b64&&_0x1f5c61[_0x2049b9(0x1f4)](_0x576dae[_0x2049b9(0x37f)](),_0x4c1b64),!_0x236324[_0x2049b9(0x34d)]()[_0x2049b9(0x2e7)](_0x4c9d29=>{const _0x4c5c15=_0x236324['getFieldById'](_0x4c9d29);return _0xd6890a(_0x4c5c15)?_0x4c5c15['getFieldInfo']()['originalFieldId']===_0x14c241:!0x1;})){const _0x55821=_0x3d23e4[_0x2049b9(0x212)](),_0x5be10f=Wi(_0xfba4de[_0x2049b9(0x30e)],_0xfba4de[_0x2049b9(0x2ad)]),_0x799281=_0xfba4de[_0x2049b9(0x296)]()+'\x20-\x20'+zo(this[_0x2049b9(0x262)],_0x5be10f),_0x1599a3=new _0x47f0b2(_0x55821,_0x799281,_0x4ac51b(0x3),_0xfba4de[_0x2049b9(0x37f)](),_0x5be10f);_0x3d23e4[_0x2049b9(0x202)](_0x1599a3),_0x236324[_0x2049b9(0x1ec)](_0x55821,_0x799281),_0x1f5c61[_0x2049b9(0x366)](_0x55821,_0x15f29f,(_0x1d28fc!=null?_0x1d28fc:0x0)+0x1),_0x2b3b15=_0x1599a3;}}}}const _0xe082af=_0x1f5c61['isEmpty'](),_0x12c6ef=_0x1f5c61[_0x2049b9(0x2c9)]()[_0x2049b9(0x1dd)]();let _0x31e7b2;if(_0x2b3b15){_0x31e7b2=_0x2b3b15[_0x2049b9(0x1dd)]();const _0x1deb2b=_0x2b3b15['getId']();_0x236324['deleteField'](_0x1deb2b);let _0x5565f8=!0x0;for(const _0x776e4d in _0x3d23e4['collections'])if(_0x3d23e4[_0x2049b9(0x28a)][_0x776e4d][_0x2049b9(0x34d)]()[_0x2049b9(0x356)](_0x1deb2b)){_0x5565f8=!0x1;break;}_0x5565f8&&_0x3d23e4[_0x2049b9(0x308)](_0x1deb2b);}const _0x215870=_0x1f5c61[_0x2049b9(0x1c5)]();_0x5da7ee['addPivotField']={'view':_0x12c6ef,'changesets':_0x215870,'isEmpty':_0xe082af,'pivotTableConfig':_0x1684fc,'shouldBeAddedGroupJSON':_0x31e7b2};}break;case k[_0x2049b9(0x235)]:{const _0x1808bc=_0x10f566['params'][_0x2049b9(0x266)];if(!_0x1808bc)return;const _0x196d67=_0x1808bc['sourceRangeInfo'],_0x6e35da=_0x1808bc[_0x2049b9(0x3ba)],{collection:_0x4ea298}=this[_0x2049b9(0x28e)][_0x2049b9(0x3aa)]({'unitId':_0x196d67[_0x2049b9(0x314)],'sheetName':_0x196d67[_0x2049b9(0x29e)],'subUnitId':_0x196d67[_0x2049b9(0x194)],'range':_0x196d67['range']}),_0x11f90c=new _0x324108(_0x4ea298,void 0x0,_0x6e35da),_0x459529=_0x11f90c['query'](),_0xd20c3b=_0x11f90c[_0x2049b9(0x1dd)](),_0xbbcd8a=_0x4ea298[_0x2049b9(0x1dd)]();_0x5da7ee[_0x2049b9(0x266)]={'view':_0x459529,'fieldsConfig':_0xd20c3b,'collectionConfig':_0xbbcd8a,'isEmpty':_0x11f90c[_0x2049b9(0x208)]()};}break;case k[_0x2049b9(0x35b)]:{const _0x32ae2f=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x3d0)];if(!_0x32ae2f)return;const {fieldId:_0x512b3a,area:_0x4157e0,index:_0x4c2f05}=_0x32ae2f,_0x444a33=this[_0x2049b9(0x28e)]['getPivotTableConfig'](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0x444a33)return;const _0x582ef7=this[_0x2049b9(0x28e)][_0x2049b9(0x37e)](_0x3a9fb5);if(!_0x582ef7)return;_0x582ef7[_0x2049b9(0x246)]();const {area:_0xfd16f3,index:_0xc853a9}=_0x582ef7[_0x2049b9(0x2a4)](_0x512b3a);if(_0x582ef7['updateFieldPosition'](_0x512b3a,_0x4157e0,_0x4c2f05),_0x4157e0===_0x4baac8[_0x2049b9(0x385)]&&_0x582ef7['getTableFieldById'](_0x512b3a)[_0x2049b9(0x39b)]()===void 0x0){const _0x5d7d63=_0x582ef7['getTableFieldById'](_0x512b3a);if(_0x5d7d63&&_0x5d7d63['getSubtotal']()===void 0x0){const _0xe7968a=_0x582ef7[_0x2049b9(0x26b)](_0x512b3a);if(_0xe7968a){const _0xf03335=_0xe7968a==null?void 0x0:_0xe7968a['getFieldDataType']();_0x582ef7[_0x2049b9(0x1b2)](_0x512b3a,_0xf03335===_0x49998f[_0x2049b9(0x37c)]?_0x5aa406['sum']:_0x5aa406[_0x2049b9(0x363)]);}}}const _0x2c66d8=_0x582ef7['getValuePosition'](),_0x211acb=_0x582ef7[_0x2049b9(0x3d2)](),_0x56c711=_0x582ef7[_0x2049b9(0x317)](_0x4baac8['Value'])>0x1;if(_0x56c711&&_0xfd16f3===_0x4157e0&&(_0x4157e0===_0x4baac8[_0x2049b9(0x38e)]&&_0x2c66d8===_0x4bb2b0['Row']||_0x4157e0===_0x4baac8['Column']&&_0x2c66d8===_0x4bb2b0[_0x2049b9(0x29b)])){let _0xf21646=_0x211acb;_0xc853a9<=_0x211acb&&_0xf21646--,_0x4c2f05<=_0x211acb&&_0xf21646++,_0x582ef7[_0x2049b9(0x23d)](_0x2c66d8,_0xf21646);}else _0x56c711&&(_0xfd16f3===_0x4baac8[_0x2049b9(0x38e)]&&_0x2c66d8===_0x4bb2b0[_0x2049b9(0x38e)]||_0xfd16f3===_0x4baac8[_0x2049b9(0x29b)]&&_0x2c66d8===_0x4bb2b0[_0x2049b9(0x29b)])&&_0x211acb>=_0xc853a9&&_0x582ef7[_0x2049b9(0x23d)](_0x2c66d8,_0x211acb-0x1),_0x56c711&&(_0x4157e0===_0x4baac8[_0x2049b9(0x38e)]&&_0x2c66d8===_0x4bb2b0['Row']||_0x4157e0===_0x4baac8[_0x2049b9(0x29b)]&&_0x2c66d8===_0x4bb2b0[_0x2049b9(0x29b)])&&_0x211acb>=_0x4c2f05&&_0x582ef7[_0x2049b9(0x23d)](_0x2c66d8,_0x211acb+0x1);const _0x469e7b=_0x582ef7[_0x2049b9(0x2c9)](),_0x541714=_0x582ef7['isEmpty'](),_0x570c32=_0x582ef7[_0x2049b9(0x1c5)]();_0x5da7ee['movePivotField']={'view':_0x469e7b[_0x2049b9(0x1dd)](),'changesets':_0x570c32,'isEmpty':_0x541714,'pivotTableConfig':_0x444a33};}break;case k[_0x2049b9(0x265)]:{const _0x3a1ef0=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x2b5)];if(!_0x3a1ef0)return;const _0x50c8ca=_0x3a1ef0['fieldIds'],_0x4281b7=this[_0x2049b9(0x28e)][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0x4281b7)return!0x1;const _0x570652=this[_0x2049b9(0x28e)]['getPivotTableInstance'](_0x3a9fb5);if(!_0x570652)return!0x1;_0x570652[_0x2049b9(0x246)]();for(const _0x4f2467 of _0x50c8ca){const {area:_0x708681}=_0x570652[_0x2049b9(0x2a4)](_0x4f2467);_0x708681===_0x4baac8['Value']&&_0x570652[_0x2049b9(0x3fc)](_0x4f2467),(_0x708681===_0x4baac8[_0x2049b9(0x38e)]||_0x708681===_0x4baac8[_0x2049b9(0x29b)])&&_0x570652['removeValueFilterInfo'](_0x4f2467),_0x570652[_0x2049b9(0x38b)](_0x4f2467);}const _0x41291f=_0x570652[_0x2049b9(0x208)](),_0xc82a59=_0x570652[_0x2049b9(0x2c9)]()[_0x2049b9(0x1dd)](),_0x3f3e7f=_0x570652['endCollectChangeset']();_0x5da7ee[_0x2049b9(0x2b5)]={'changesets':_0x3f3e7f,'pivotTableConfig':_0x4281b7,'isEmpty':_0x41291f,'view':_0xc82a59};}break;case k[_0x2049b9(0x2c2)]:{const _0x3f8d97=_0x10f566['params'][_0x2049b9(0x1d7)];if(!_0x3f8d97)return;const {tableFieldId:_0x5a3a10,items:_0x43b664,isAll:_0x92e920}=_0x3f8d97,_0x74df00=this[_0x2049b9(0x28e)]['getPivotTableInstance'](_0x3a9fb5),_0x4e9919=this['_sheetsPivotDataSourceModel'][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0x74df00||!_0x4e9919)return;_0x74df00['startCollectChangeset'](),_0x74df00[_0x2049b9(0x2ba)](_0x5a3a10,{'type':_0x16e313[_0x2049b9(0x3fb)],'list':_0x43b664,'isAll':_0x92e920});const _0x2143ac=_0x74df00[_0x2049b9(0x208)](),_0x24b368=_0x74df00[_0x2049b9(0x2c9)]()[_0x2049b9(0x1dd)](),_0x180896=_0x74df00[_0x2049b9(0x1c5)]();_0x5da7ee[_0x2049b9(0x1d7)]={'view':_0x24b368,'changesets':_0x180896,'isEmpty':_0x2143ac,'pivotTableConfig':_0x4e9919};}break;case k[_0x2049b9(0x3a2)]:{const _0x1d01bd=_0x10f566[_0x2049b9(0x323)]['setValuePivotFilter'];if(!_0x1d01bd)return;const {tableFieldId:_0x8ff7a6,filterInfo:_0x184df2}=_0x1d01bd,_0xdd166c=this[_0x2049b9(0x28e)]['getPivotTableInstance'](_0x3a9fb5),_0x29bf99=this[_0x2049b9(0x28e)][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0xdd166c||!_0x29bf99)return;_0xdd166c[_0x2049b9(0x246)](),_0xdd166c[_0x2049b9(0x32a)](_0x8ff7a6,_0x184df2);const _0x443d87=_0xdd166c[_0x2049b9(0x208)](),_0x4c60d8=_0xdd166c[_0x2049b9(0x2c9)]()['toJSON'](),_0x497a91=_0xdd166c[_0x2049b9(0x1c5)]();_0x5da7ee[_0x2049b9(0x336)]={'view':_0x4c60d8,'changesets':_0x497a91,'isEmpty':_0x443d87,'pivotTableConfig':_0x29bf99};}break;case k[_0x2049b9(0x2cd)]:{const _0x8a8ca6=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x38c)];if(!_0x8a8ca6)return;const {tableFieldId:_0x3c81a0,info:_0x314da6}=_0x8a8ca6,_0x4a902b=this[_0x2049b9(0x28e)][_0x2049b9(0x37e)](_0x3a9fb5),_0x5d6dfc=this[_0x2049b9(0x28e)]['getPivotTableConfig'](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0x4a902b||!_0x5d6dfc)return;_0x4a902b[_0x2049b9(0x246)](),_0x4a902b['setSortInfo'](_0x3c81a0,_0x314da6);const _0x33896c=_0x4a902b[_0x2049b9(0x208)](),_0x37e17f=_0x4a902b[_0x2049b9(0x2c9)]()[_0x2049b9(0x1dd)](),_0xf52cfe=_0x4a902b[_0x2049b9(0x1c5)]();_0x5da7ee[_0x2049b9(0x38c)]={'view':_0x37e17f,'changesets':_0xf52cfe,'isEmpty':_0x33896c,'pivotTableConfig':_0x5d6dfc};}break;case k['SetPivotSetting']:{const _0x5564bb=_0x10f566[_0x2049b9(0x323)]['setPivotSetting'];if(!_0x5564bb)return;const {tableFieldId:_0x401d92,displayName:_0x13dafb,subtotalType:_0xff4e70,format:_0x3d3492}=_0x5564bb,_0x50a73c=this[_0x2049b9(0x28e)][_0x2049b9(0x37e)](_0x3a9fb5),_0x150c26=this[_0x2049b9(0x28e)][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0x50a73c||!_0x150c26)return;_0x50a73c[_0x2049b9(0x246)](),_0x13dafb!==void 0x0&&_0x50a73c[_0x2049b9(0x33a)](_0x401d92,_0x13dafb),_0xff4e70!==void 0x0&&_0x50a73c[_0x2049b9(0x1b2)](_0x401d92,_0xff4e70),_0x3d3492!==void 0x0&&_0x50a73c[_0x2049b9(0x1f4)](_0x401d92,_0x3d3492);const _0x4f70c1=_0x50a73c['isEmpty'](),_0x276801=_0x50a73c[_0x2049b9(0x2c9)]()['toJSON'](),_0x5add3a=_0x50a73c['endCollectChangeset']();_0x5da7ee['setPivotSetting']={'changesets':_0x5add3a,'pivotTableConfig':_0x150c26,'isEmpty':_0x4f70c1,'view':_0x276801};}break;case k['UpdatePivotSource']:{const _0x1a8758=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x32d)];if(!_0x1a8758)return;const {dataRangeInfo:_0x50633a,unitId:_0xe0f480,subUnitId:_0x5c19a9}=_0x1a8758,_0x218d81=this[_0x2049b9(0x28e)][_0x2049b9(0x3f5)](_0xe0f480,_0x5c19a9,_0x3a9fb5),_0x2af26c=this['_sheetsPivotDataSourceModel'][_0x2049b9(0x37e)](_0x3a9fb5);if(!this[_0x2049b9(0x28e)][_0x2049b9(0x1b9)](_0xe0f480,_0x3a9fb5)||!_0x2af26c||!_0x218d81)return;const _0x4a6487=this[_0x2049b9(0x28e)]['getUpdateRangeDeleteIds'](_0xe0f480,_0x3a9fb5,_0x50633a),_0x582037=this[_0x2049b9(0x28e)][_0x2049b9(0x1b9)](_0xe0f480,_0x3a9fb5)[_0x2049b9(0x1dd)](),{collection:_0x567d7c}=this[_0x2049b9(0x28e)]['createCollectionWithDataRange']({'unitId':_0x50633a[_0x2049b9(0x314)],'sheetName':_0x50633a['sheetName'],'subUnitId':_0x50633a[_0x2049b9(0x194)],'range':_0x50633a[_0x2049b9(0x360)]}),_0x35cde4=_0x567d7c[_0x2049b9(0x1dd)]();_0x2af26c[_0x2049b9(0x246)]();const _0xb5c859=this[_0x2049b9(0x28e)]['getDataFieldManager'](_0xe0f480)['getAutoDisplayNameFunction']()||_0x248c44;_0x2af26c['iterateField'](_0x3e5a13=>{const _0x36111f=_0x2049b9,_0x1995dd=_0x3e5a13[_0x36111f(0x1a6)]();if(!_0x567d7c[_0x36111f(0x19a)](_0x1995dd)){const _0x1b1364=_0x567d7c[_0x36111f(0x33b)](_0x3e5a13[_0x36111f(0x22d)]());if(_0x1b1364){_0x2af26c[_0x36111f(0x1d0)](_0x3e5a13[_0x36111f(0x37f)](),_0x1b1364[_0x36111f(0x296)](),_0x1b1364[_0x36111f(0x37f)]());const {area:_0xcc3254}=_0x2af26c['getFieldPositionInfoById'](_0x3e5a13['getId']());let _0x344a62=_0x3e5a13[_0x36111f(0x22d)]();const _0x25abe1=_0x3e5a13[_0x36111f(0x393)]();if(_0xcc3254===_0x4baac8['Value']){const _0x28d16f=_0x3e5a13[_0x36111f(0x39b)]();_0x344a62=_0xb5c859(_0x1b1364[_0x36111f(0x296)](),_0x28d16f);}_0x25abe1!==_0x344a62&&_0x2af26c[_0x36111f(0x33a)](_0x3e5a13[_0x36111f(0x37f)](),_0x344a62);}else _0x2af26c['removeField'](_0x3e5a13[_0x36111f(0x37f)]());}});const _0x2bfb6f=_0x2af26c['isEmpty'](),_0x439234=_0x2af26c['query']()[_0x2049b9(0x1dd)](),_0x4cd45e=_0x2af26c['endCollectChangeset']();_0x5da7ee[_0x2049b9(0x32d)]={'view':_0x439234,'changesets':_0x4cd45e,'isEmpty':_0x2bfb6f,'pivotTableConfig':_0x218d81,'collectionConfig':_0x35cde4,'oldCollectionConfig':_0x582037,'deleteIds':_0x4a6487};}break;case k[_0x2049b9(0x355)]:{const _0x43fd01=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x23d)];if(!_0x43fd01)return;const {position:_0x62ac0,index:_0x484293}=_0x43fd01,_0x5d2474=this[_0x2049b9(0x28e)][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0x5d2474)return!0x1;const _0x43d3c8=this[_0x2049b9(0x28e)]['getPivotTableInstance'](_0x3a9fb5);if(!_0x43d3c8)return!0x1;_0x43d3c8[_0x2049b9(0x246)](),_0x43d3c8['updateValuePosition'](_0x62ac0,_0x484293);const _0x2e193f=_0x43d3c8[_0x2049b9(0x208)](),_0x2fa786=_0x43d3c8[_0x2049b9(0x2c9)]()[_0x2049b9(0x1dd)](),_0x2629d8=_0x43d3c8[_0x2049b9(0x1c5)]();_0x5da7ee[_0x2049b9(0x23d)]={'changesets':_0x2629d8,'pivotTableConfig':_0x5d2474,'isEmpty':_0x2e193f,'view':_0x2fa786};}break;case k[_0x2049b9(0x3ca)]:{const _0x2b7ca2=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x2e4)];if(!_0x2b7ca2)return;const {tableFieldId:_0x22ed4e,collapse:_0x57b268,item:_0x42798c}=_0x2b7ca2,_0x209eb6=this[_0x2049b9(0x28e)][_0x2049b9(0x37e)](_0x3a9fb5),_0x2288ad=this[_0x2049b9(0x28e)][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0x209eb6||!_0x2288ad)return;_0x209eb6[_0x2049b9(0x246)](),_0x209eb6[_0x2049b9(0x206)](_0x22ed4e,_0x57b268,_0x42798c);const _0x30d9ae=_0x209eb6[_0x2049b9(0x208)](),_0x5161bb=_0x209eb6['query']()['toJSON'](),_0x56bfa9=_0x209eb6[_0x2049b9(0x1c5)]();_0x5da7ee[_0x2049b9(0x2e4)]={'view':_0x5161bb,'isEmpty':_0x30d9ae,'pivotTableConfig':_0x2288ad,'changesets':_0x56bfa9};}break;case k[_0x2049b9(0x193)]:{const _0x12bc68=_0x10f566['params'][_0x2049b9(0x195)];if(!_0x12bc68)return;const {pivotTableConfig:_0x57582c}=_0x12bc68,_0xc3209c=this[_0x2049b9(0x28e)][_0x2049b9(0x37e)](_0x3a9fb5),_0x4f3b0b=this['_sheetsPivotDataSourceModel'][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0xc3209c||!_0x4f3b0b)return;_0xc3209c[_0x2049b9(0x246)](),$i(_0xc3209c,_0x57582c);const _0x23133b=_0xc3209c[_0x2049b9(0x208)](),_0xc14ea5=_0xc3209c[_0x2049b9(0x2c9)]()[_0x2049b9(0x1dd)](),_0x5143b6=_0xc3209c[_0x2049b9(0x1c5)]();_0x5da7ee[_0x2049b9(0x195)]={'view':_0xc14ea5,'isEmpty':_0x23133b,'pivotTableConfig':{..._0x4f3b0b,'fieldsConfig':_0xc3209c[_0x2049b9(0x1dd)]()},'changesets':_0x5143b6};}break;case k[_0x2049b9(0x384)]:{const _0x59b21f=_0x10f566[_0x2049b9(0x323)]['resetPivotTable'];if(!_0x59b21f)return;const _0x2d3cfb=this['_sheetsPivotDataSourceModel'][_0x2049b9(0x37e)](_0x3a9fb5),_0x2866ba=this[_0x2049b9(0x28e)][_0x2049b9(0x3f5)](_0x90bda1,_0xf6179e,_0x3a9fb5);if(!_0x2d3cfb||!_0x2866ba)return;_0x2d3cfb[_0x2049b9(0x246)](),ji(_0x2d3cfb,_0x59b21f[_0x2049b9(0x1fa)]);const _0x11a722=_0x2d3cfb[_0x2049b9(0x2c9)]()[_0x2049b9(0x1dd)](),_0x444b91=_0x2d3cfb[_0x2049b9(0x1c5)]();_0x5da7ee['resetPivotTable']={'view':_0x11a722,'isEmpty':!0x0,'pivotTableConfig':{..._0x2866ba,'fieldsConfig':_0x2d3cfb[_0x2049b9(0x1dd)]()},'changesets':_0x444b91};}break;case k[_0x2049b9(0x386)]:{const _0x566a2f=_0x10f566[_0x2049b9(0x323)][_0x2049b9(0x310)];if(!_0x566a2f)return;const _0x227b90=_0x566a2f['sourceRangeInfo'],_0x293324=_0x566a2f[_0x2049b9(0x3ba)],{collection:_0x25f0e9}=this[_0x2049b9(0x28e)][_0x2049b9(0x3aa)]({'unitId':_0x227b90[_0x2049b9(0x314)],'sheetName':_0x227b90[_0x2049b9(0x29e)],'subUnitId':_0x227b90[_0x2049b9(0x194)],'range':_0x227b90[_0x2049b9(0x360)]}),_0xfd5659=new _0x324108(_0x25f0e9,void 0x0,_0x293324),_0x4c93ea=_0x25f0e9[_0x2049b9(0x34d)](),{rows:_0xff270e,columns:_0x2f5e62,filters:_0x3575a4,values:_0x54341c}=_0x566a2f[_0x2049b9(0x225)];_0xfd5659[_0x2049b9(0x246)]();for(const {field:_0x250cf6,selectedItems:_0x8b25d1}of _0xff270e||[]){const _0xfd8c10=_0x4c93ea[_0x250cf6];if(_0xfd8c10){const _0x157a82=_0xfd5659[_0x2049b9(0x366)](_0xfd8c10,_0x4baac8['Row']);_0x8b25d1&&_0x157a82&&_0xfd5659[_0x2049b9(0x2ba)](_0x157a82[_0x2049b9(0x37f)](),{'type':_0x16e313[_0x2049b9(0x3fb)],'list':_0x8b25d1,'isAll':!0x1});}}for(const {field:_0x5cb7b2,selectedItems:_0x3b6593}of _0x2f5e62||[]){const _0x63c360=_0x4c93ea[_0x5cb7b2];if(_0x63c360){const _0x1dea9a=_0xfd5659[_0x2049b9(0x366)](_0x63c360,_0x4baac8['Column']);_0x3b6593&&_0x1dea9a&&_0xfd5659['setLabelFilterInfo'](_0x1dea9a['getId'](),{'type':_0x16e313['ManualFilter'],'list':_0x3b6593,'isAll':!0x1});}}for(const {field:_0x47ad56,selectedItems:_0x40eb49}of _0x3575a4||[]){const _0x2ad678=_0x4c93ea[_0x47ad56];if(_0x2ad678){const _0x4d20a0=_0xfd5659[_0x2049b9(0x366)](_0x2ad678,_0x4baac8[_0x2049b9(0x278)]);_0x40eb49&&_0x4d20a0&&_0xfd5659[_0x2049b9(0x2ba)](_0x4d20a0[_0x2049b9(0x37f)](),{'type':_0x16e313[_0x2049b9(0x3fb)],'list':_0x40eb49,'isAll':!0x1});}}for(const {field:_0x294aba,subTotalType:_0x121d69,formatString:_0xdc1b55}of _0x54341c||[]){const _0x37d5cb=_0x25f0e9[_0x2049b9(0x2f9)](_0x4c93ea[_0x294aba]);if(!_0x37d5cb)continue;const _0x17be92=_0x4c93ea[_0x294aba];if(_0x17be92){const _0x23015c=_0xfd5659[_0x2049b9(0x366)](_0x17be92,_0x4baac8[_0x2049b9(0x385)]);if(_0x23015c){if(_0x121d69!==void 0x0){_0xfd5659[_0x2049b9(0x1b2)](_0x23015c[_0x2049b9(0x37f)](),_0x121d69);const _0x5f1c21=this[_0x2049b9(0x28e)][_0x2049b9(0x309)](_0x227b90[_0x2049b9(0x314)])[_0x2049b9(0x35d)]()||_0x248c44,_0x509be4=_0x25f0e9[_0x2049b9(0x393)](_0x17be92),_0x595818=_0x5f1c21(_0x509be4,_0x121d69);_0xfd5659[_0x2049b9(0x33a)](_0x23015c[_0x2049b9(0x37f)](),_0x595818);}else{if(_0x37d5cb){const _0x30a4d1=_0x37d5cb==null?void 0x0:_0x37d5cb['getFieldDataType']();_0xfd5659['setSubtotalType'](_0x23015c[_0x2049b9(0x37f)](),_0x30a4d1===_0x49998f[_0x2049b9(0x37c)]?_0x5aa406[_0x2049b9(0x1c8)]:_0x5aa406['count']);}}_0xdc1b55&&_0xfd5659['setFieldFormat'](_0x23015c[_0x2049b9(0x37f)](),_0xdc1b55);}}}const _0x502e86=_0xfd5659[_0x2049b9(0x2c9)](),_0x4f7bcf=_0xfd5659[_0x2049b9(0x1dd)](),_0x367e10=_0xfd5659['isEmpty'](),_0x137b0b=_0xfd5659[_0x2049b9(0x1c5)](),_0xa1bff6=_0x25f0e9[_0x2049b9(0x1dd)]();_0x5da7ee['addPivotTableWithConfig']={'view':_0x502e86,'fieldsConfig':_0x4f7bcf,'collectionConfig':_0xa1bff6,'isEmpty':_0x367e10,'changesets':_0x137b0b};}break;case k['DrillDown']:{const _0x3586cf=Ai(this['_injector'],_0x10f566);if(!_0x3586cf)return;const {range:_0x4670d9,sourceSubUnitId:_0x3d0a66,sourceUnitId:_0x4801f8,formatMap:_0x2a242c,indexes:_0xabde8}=_0x3586cf;_0x5da7ee[_0x2049b9(0x30a)]={'range':_0x4670d9,'sourceSubUnitId':_0x3d0a66,'sourceUnitId':_0x4801f8,'formatMap':_0x2a242c,'indexes':_0xabde8};}break;}this[_0x2049b9(0x2ab)][_0x2049b9(0x255)](lo['id'],{'version':_0x10f566[_0x2049b9(0x28c)],'result':_0x5da7ee},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x3f3089=_0x54f375;this[_0x3f3089(0x3e3)](this[_0x3f3089(0x2ab)][_0x3f3089(0x3b4)](_0x28577a=>{const _0x17fe39=_0x3f3089;if(_0x28577a['id']!==uo['id'])return;const _0x2aae92=_0x28577a[_0x17fe39(0x323)];return this[_0x17fe39(0x28e)][_0x17fe39(0x378)](_0x2aae92[_0x17fe39(0x261)]),!0x0;}));}[_0x54f375(0x22b)](){const _0x58f537=_0x54f375;this[_0x58f537(0x28e)][_0x58f537(0x230)][_0x58f537(0x1fc)](_0x1d1500=>{const _0x5e67a6=_0x58f537;switch(_0x1d1500[_0x5e67a6(0x1df)]){case He['add']:_0x1d1500[_0x5e67a6(0x27e)]&&_0x1d1500[_0x5e67a6(0x196)]&&this[_0x5e67a6(0x33e)](_0x1d1500[_0x5e67a6(0x3be)],_0x1d1500[_0x5e67a6(0x27e)],_0x1d1500['targetCellInfo']);break;case He[_0x5e67a6(0x2dd)]:{const {unitId:_0x280956,subUnitId:_0x324f5f,token:_0x2f4070}=_0x1d1500;_0x280956&&_0x324f5f&&_0x2f4070&&this[_0x5e67a6(0x364)](_0x280956,_0x324f5f,_0x2f4070);}break;case He[_0x5e67a6(0x3b1)]:{const {token:_0x4df39a,oldSourceRangeInfo:_0x38b309,dataRangeInfo:_0x53b261,targetCellInfo:_0x42feca}=_0x1d1500,{unitId:_0x5a7db3,subUnitId:_0x3b9a9d}=_0x38b309||{};_0x5a7db3&&_0x3b9a9d&&_0x4df39a&&this[_0x5e67a6(0x364)](_0x5a7db3,_0x3b9a9d,_0x4df39a),_0x53b261&&_0x42feca&&this['handleSourceRangeChange'](_0x4df39a,_0x53b261,_0x42feca);}break;}});}[_0x54f375(0x21c)](){const _0x51c681=_0x54f375;this[_0x51c681(0x28e)][_0x51c681(0x3c6)]['subscribe'](_0x4f6849=>{const _0x3a6841=_0x51c681;Object[_0x3a6841(0x33d)](_0x4f6849)[_0x3a6841(0x222)](_0x5a01ae=>{const _0x4f5281=_0x3a6841,_0x43c4fb=this[_0x4f5281(0x28e)][_0x4f5281(0x324)](_0x5a01ae);if(_0x43c4fb){const _0x4da4d4=this[_0x4f5281(0x28e)]['getPivotTableConfig'](_0x43c4fb==null?void 0x0:_0x43c4fb[_0x4f5281(0x314)],_0x43c4fb==null?void 0x0:_0x43c4fb['subUnitId'],_0x5a01ae);_0x4da4d4&&(this[_0x4f5281(0x33e)](_0x5a01ae,_0x4da4d4[_0x4f5281(0x3a8)],_0x4da4d4['targetCellInfo']),this[_0x4f5281(0x232)]([{'unitId':_0x43c4fb[_0x4f5281(0x314)],'subUnitId':_0x43c4fb[_0x4f5281(0x194)],'token':_0x5a01ae}]));}});});}[_0x54f375(0x39d)](){const _0x441741=_0x54f375;this[_0x441741(0x28e)][_0x441741(0x3e6)][_0x441741(0x1fc)](_0x198fa8=>{const _0x36f643=_0x441741,{unitId:_0xd3b586,subUnitId:_0x33d2f6,pivotTableId:_0x636ef4}=_0x198fa8;_0xd3b586&&_0x33d2f6&&_0x636ef4&&this[_0x36f643(0x232)]([{'unitId':_0xd3b586,'subUnitId':_0x33d2f6,'token':_0x636ef4}]);});}[_0x54f375(0x232)](_0x32f3da){const _0x49e971=_0x54f375,_0x576b80={};_0x32f3da[_0x49e971(0x222)](_0x370498=>{var _0x538cb0,_0x1795b4;const {unitId:_0x1c785b,subUnitId:_0x13001c,token:_0x355438}=_0x370498;_0x576b80[_0x1c785b]=(_0x538cb0=_0x576b80[_0x1c785b])!=null?_0x538cb0:{},_0x576b80[_0x1c785b][_0x13001c]=(_0x1795b4=_0x576b80[_0x1c785b][_0x13001c])!=null?_0x1795b4:{},_0x576b80[_0x1c785b][_0x13001c][_0x355438]=!0x0;}),this[_0x49e971(0x2ab)][_0x49e971(0x255)](Ut['id'],_0x576b80);}['removeSourceRangeChange'](_0x2c5f3b,_0x26ce70,_0x37846a){const _0x45da8b=_0x54f375;this[_0x45da8b(0x3ec)]['remove'](_0x2c5f3b,_0x26ce70,[_0x37846a]);}['handleSourceRangeChange'](_0x508e2b,_0x88608d,_0x1936c9){const _0x5dfa61=_0x54f375,{unitId:_0x1f230,subUnitId:_0x1c95bc}=_0x88608d;this['_featureCalculationManagerService'][_0x5dfa61(0x293)](_0x1936c9[_0x5dfa61(0x314)],_0x1936c9[_0x5dfa61(0x194)],_0x508e2b)&&this[_0x5dfa61(0x364)](_0x1f230,_0x1c95bc,_0x508e2b);const _0x1ff695={'sheetId':_0x1c95bc,..._0x88608d};this[_0x5dfa61(0x3ec)][_0x5dfa61(0x182)](_0x1936c9[_0x5dfa61(0x314)],_0x1936c9['subUnitId'],_0x508e2b,{'unitId':_0x1936c9[_0x5dfa61(0x314)],'subUnitId':_0x1936c9[_0x5dfa61(0x194)],'dependencyRanges':[_0x1ff695],'getDirtyData':(_0x171c11,_0x45ee7b)=>{const _0x5d4127=_0x5dfa61,_0x37f5fc=this[_0x5d4127(0x28e)],_0x205acb=_0x37f5fc[_0x5d4127(0x324)](_0x508e2b);if(!_0x205acb)return Vs();const {unitId:_0xac10e7,subUnitId:_0x4c8fe5}=_0x205acb,_0x5ae4c5=xs(_0x171c11,_0x45ee7b,_0x88608d);if(_0x5ae4c5[_0x5d4127(0x2e5)]>0x0){const _0x1dd466=_0x37f5fc[_0x5d4127(0x1b9)](_0x1f230,_0x508e2b),_0x3cdf02=_0x1dd466['getFieldIds'](),_0x11eb1b=this[_0x5d4127(0x31e)](_0x88608d[_0x5d4127(0x314)],_0x88608d[_0x5d4127(0x194)],_0x45ee7b),_0x103c10={},_0x49dbeb=this[_0x5d4127(0x28e)]['getDataFieldManager'](_0xac10e7)[_0x5d4127(0x35d)]()||_0x248c44,_0x37cd7c=[];for(const _0x5c8fa3 of _0x5ae4c5){const _0x9a9578=_0x5c8fa3-(_0x88608d[_0x5d4127(0x360)][_0x5d4127(0x213)]||0x0),_0x237b8b=_0x3cdf02[_0x9a9578];_0x37cd7c['push'](_0x237b8b),_0x103c10[_0x237b8b]=_0x1dd466[_0x5d4127(0x2f9)](_0x237b8b)[_0x5d4127(0x296)](),_0x37f5fc[_0x5d4127(0x309)](_0x1f230)[_0x5d4127(0x3bc)](_0x237b8b,_0x88608d,_0x9a9578,_0x11eb1b);}_0x1dd466[_0x5d4127(0x2d4)](_0x37cd7c)[_0x5d4127(0x222)](_0x1f361f=>{const _0x234199=_0x5d4127,[_0x23bbc4,_0x4a6732]=_0x1f361f,_0x7da8b4=_0x1dd466[_0x234199(0x2f9)](_0x23bbc4),_0x275c3e=_0x1dd466[_0x234199(0x2f9)](_0x4a6732);_0x7da8b4&&_0x275c3e&&_0x7da8b4[_0x234199(0x25a)](_0x275c3e);}),_0x1dd466[_0x5d4127(0x2bc)]();const _0x2b40be=_0x37f5fc['getPivotTableInstance'](_0x508e2b);if(_0x2b40be){Es(_0x2b40be,_0x103c10,_0x49dbeb),_0x2b40be[_0x5d4127(0x2f7)](!0x0);const _0x31feb3=_0x2b40be[_0x5d4127(0x2c9)](),_0x111bcf=_0x37f5fc['getPivotTableConfig'](_0xac10e7,_0x4c8fe5,_0x508e2b),_0x222da3=_0x37f5fc[_0x5d4127(0x309)](_0x1f230)[_0x5d4127(0x1dd)]();_0x37f5fc['updateView'](_0xac10e7,_0x4c8fe5,L[_0x5d4127(0x1b3)],_0x508e2b,_0x31feb3,_0x111bcf,_0x222da3,!0x0);}}return this[_0x5d4127(0x26c)](_0xac10e7,_0x4c8fe5,_0x508e2b);}});}[_0x54f375(0x31e)](_0x587103,_0x546a73,_0x310b4b){var _0x592a05,_0x3d49e5;const {arrayFormulaCellData:_0x3f27f3,unitData:_0x261464}=_0x310b4b,_0x249979=(_0x592a05=_0x3f27f3==null?void 0x0:_0x3f27f3[_0x587103])==null?void 0x0:_0x592a05[_0x546a73],_0x39922c=(_0x3d49e5=_0x261464==null?void 0x0:_0x261464[_0x587103])==null?void 0x0:_0x3d49e5[_0x546a73];return{'arrayFormulaCellDataMatrix':_0x249979,'unitDataMatrix':_0x39922c};}['getDirtyInfo'](_0x1fd8e9,_0x1e07c4,_0x50546d){const _0x492a9a=_0x54f375,_0x199963=this['_sheetsPivotDataSourceModel'][_0x492a9a(0x247)](_0x1fd8e9,_0x1e07c4,_0x50546d),_0xfd6078=[],_0x4d2fcf=new _0x4491c3();if(_0x199963){const {rangeCache:_0x4a6e42,matrix:_0x29f6da,oldRangeCache:_0x57ecfc,oldMatrix:_0x483b51}=_0x199963,_0x573c8c=Lt(_0x57ecfc),_0x22deac=Lt(_0x4a6e42);_0xfd6078[_0x492a9a(0x342)](..._0x22deac,..._0x573c8c),_0x483b51&&_0x57ecfc&&_0x573c8c['forEach'](_0x144e74=>{const _0x7074e4=_0x492a9a;for(let _0x24309b=_0x144e74['startRow'];_0x24309b<=_0x144e74[_0x7074e4(0x1ad)];_0x24309b++)for(let _0x1e4291=_0x144e74[_0x7074e4(0x213)];_0x1e4291<=_0x144e74[_0x7074e4(0x3fa)];_0x1e4291++)_0x4d2fcf[_0x7074e4(0x26f)](_0x24309b,_0x1e4291);}),_0x29f6da&&_0x22deac&&_0x22deac['forEach'](_0x2b18b0=>{const _0xf37f42=_0x492a9a;for(let _0x3662f2=_0x2b18b0[_0xf37f42(0x304)];_0x3662f2<=_0x2b18b0[_0xf37f42(0x1ad)];_0x3662f2++)for(let _0x66ac82=_0x2b18b0[_0xf37f42(0x213)];_0x66ac82<=_0x2b18b0[_0xf37f42(0x3fa)];_0x66ac82++)_0x4d2fcf['setValue'](_0x3662f2,_0x66ac82,_0x29f6da[_0xf37f42(0x383)](_0x3662f2,_0x66ac82));});}const _0x460fdb={};return _0x460fdb[_0x1fd8e9]={[_0x1e07c4]:Os(_0xfd6078)},{'runtimeCellData':{[_0x1fd8e9]:{[_0x1e07c4]:_0x4d2fcf}},'dirtyRanges':_0x460fdb};}['dispose'](){}};ct=Us([Ke(0x0,_0x10cdc3(B)),Ke(0x1,_0x4abb7e),Ke(0x2,_0x10cdc3(_0x1545cc)),Ke(0x3,_0x10cdc3(_0x384d05)),Ke(0x4,_0x10cdc3(_0x2a1bf0)),Ke(0x5,_0x10cdc3(_0x500674))],ct);var As=Object[_0x54f375(0x30f)],ks=(_0x20474e,_0x5ebbd6,_0x556f8d,_0x849ef4)=>{const _0x200509=_0x54f375;for(var _0x2f8992=_0x849ef4>0x1?void 0x0:_0x849ef4?As(_0x5ebbd6,_0x556f8d):_0x5ebbd6,_0x4874c3=_0x20474e[_0x200509(0x2e5)]-0x1,_0x1b51c2;_0x4874c3>=0x0;_0x4874c3--)(_0x1b51c2=_0x20474e[_0x4874c3])&&(_0x2f8992=_0x1b51c2(_0x2f8992)||_0x2f8992);return _0x2f8992;},_t=(_0x42702c,_0x88fd0c)=>(_0x2fdf7e,_0x48ebb1)=>_0x88fd0c(_0x2fdf7e,_0x48ebb1,_0x42702c);let dt=class extends _0x2e0af8{constructor(_0x3b5631,_0x442c40,_0x448936,_0x2e748a){const _0x2388ad=_0x54f375;super(),V(this,_0x2388ad(0x365),new _0x432743()),(this['_univerInstanceService']=_0x3b5631,this[_0x2388ad(0x191)]=_0x442c40,this[_0x2388ad(0x2bf)]=_0x448936,this[_0x2388ad(0x2ec)]=_0x2e748a,this[_0x2388ad(0x215)]());}[_0x54f375(0x215)](){const _0x29377b=_0x54f375;this[_0x29377b(0x3e3)](this[_0x29377b(0x191)][_0x29377b(0x337)]({'getMutations':_0x34f2ae=>{const _0x2f996a=_0x29377b;if(_0x34f2ae['id']===_0x17222d['id']||_0x34f2ae['id']===_0x8e148a['id']){const _0x377515=[],_0x3693fb=[],_0x40c9e5=this[_0x2f996a(0x2bf)][_0x2f996a(0x312)]()[_0x2f996a(0x274)](_0x285ac3=>_0x285ac3[_0x2f996a(0x360)]),_0x3cc791=_0x4ea6fa(this['_univerInstanceService']);if(!_0x3cc791)return{'redos':[],'undos':[]};const {unitId:_0x2adae1,subUnitId:_0x59d9a0}=_0x3cc791,_0x3cbd16={},_0x3e96fb=this['_sheetsPivotTableConfigModel'][_0x2f996a(0x1fd)](_0x2adae1,_0x59d9a0);if(_0x3e96fb!=null&&_0x3e96fb[_0x2f996a(0x3c1)])for(const [_0x3ee8dd,_0x120da3]of _0x3e96fb){const {unitId:_0x1e582a,subUnitId:_0x55b026,row:_0x20158d,col:_0x258f6e}=_0x120da3['targetCellInfo'];_0x1e582a===_0x3cc791[_0x2f996a(0x314)]&&_0x55b026===_0x3cc791[_0x2f996a(0x194)]&&(_0x3cbd16[_0x20158d+'-'+_0x258f6e]=_0x3ee8dd);}return _0x40c9e5&&_0x3cc791&&_0x40c9e5[_0x2f996a(0x222)](_0x337179=>{const _0x4abccc=_0x2f996a;_0x48adf7[_0x4abccc(0x395)](_0x337179,(_0x1c1f2e,_0x30e62c)=>{const _0x4c48cd=_0x4abccc,_0x3f578c=_0x1c1f2e+'-'+_0x30e62c;if(_0x3cbd16[_0x3f578c]){const _0x2caaab=_0x3cbd16[_0x3f578c];_0x377515[_0x4c48cd(0x342)]({'id':xt['id'],'params':{'unitId':_0x2adae1,'subUnitId':_0x59d9a0,'pivotTableId':_0x2caaab}});const _0x364cd4=this[_0x4c48cd(0x2ec)]['getCollection'](_0x2adae1,_0x2caaab),_0x589e52=this[_0x4c48cd(0x2ec)]['getPivotTableConfig'](_0x2adae1,_0x59d9a0,_0x2caaab);_0x3693fb[_0x4c48cd(0x342)]({'id':It['id'],'params':{'unitId':_0x2adae1,'subUnitId':_0x59d9a0,'pivotTableId':_0x2caaab,'pivotTableConfig':_0x589e52,'collectionConfig':_0x364cd4}});}});}),{'redos':_0x377515,'undos':_0x3693fb};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x5f5304),_t(0x1,_0x10cdc3(_0x370454)),_t(0x2,_0x10cdc3(_0x3b5b4f)),_t(0x3,_0x10cdc3(ve))],dt);var Js=Object[_0x54f375(0x30f)],Hs=(_0x4d77ba,_0xa82c5d,_0xdf0720,_0x4ab026)=>{const _0x488a42=_0x54f375;for(var _0x1c3221=_0x4ab026>0x1?void 0x0:_0x4ab026?Js(_0xa82c5d,_0xdf0720):_0xa82c5d,_0x2b5741=_0x4d77ba[_0x488a42(0x2e5)]-0x1,_0x38c173;_0x2b5741>=0x0;_0x2b5741--)(_0x38c173=_0x4d77ba[_0x2b5741])&&(_0x1c3221=_0x38c173(_0x1c3221)||_0x1c3221);return _0x1c3221;},ze=(_0x369bb7,_0x37576f)=>(_0x2d6ea7,_0x58c7e3)=>_0x37576f(_0x2d6ea7,_0x58c7e3,_0x369bb7);let ut=class extends _0x2e0af8{constructor(_0x2ae97e,_0x4f657a,_0x20bf25,_0x2cc80f,_0x4f6a64,_0x1fe68f){const _0x887176=_0x54f375;super(),this[_0x887176(0x333)]=_0x2ae97e,this['_sheetInterceptorService']=_0x4f657a,this['_injector']=_0x20bf25,this['_univerInstanceService']=_0x2cc80f,this['_sheetsPivotTableConfigModel']=_0x4f6a64,this[_0x887176(0x234)]=_0x1fe68f,this[_0x887176(0x31f)]();}['_getPivotAppliedRanges'](_0x427dd4,_0x4ccaad,_0x3513bd){const _0x4aef36=_0x54f375,{pageView:_0x23c6b6,cornerView:_0x4b86c8,rowView:_0xe225bd,colView:_0x1204b9,dataView:_0x1346ac}=_0x4ccaad,_0x3451d9=_0x427dd4;let _0x54b11a;if(_0x3513bd)_0x54b11a=[...ki(_0x3451d9)];else{const _0x590d34=ge(_0x3451d9,_0x23c6b6,!0x0),_0x3af7c2=_0x23c6b6[_0x4aef36(0x3ce)]>=0x0?_0x23c6b6[_0x4aef36(0x3ce)]+0x1:0x0,_0x5afab5=_0x4b86c8[_0x4aef36(0x39e)],_0x1def8c=_0x4b86c8['colCount'],_0x548588=_0x590d34[_0x4aef36(0x2e5)]>0x0?mt:0x0,_0x1359a6=ge({'row':_0x3451d9[_0x4aef36(0x219)]+_0x3af7c2+_0x548588,'col':_0x3451d9[_0x4aef36(0x3e9)]},_0x4b86c8,!0x1,!0x1),_0x1cad7b=ge({'row':_0x3451d9[_0x4aef36(0x219)]+_0x3af7c2+_0x548588+_0x5afab5,'col':_0x3451d9[_0x4aef36(0x3e9)]},_0xe225bd,!0x1,!0x0),_0x5a4dad=ge({'row':_0x3451d9[_0x4aef36(0x219)]+_0x3af7c2+_0x548588,'col':_0x3451d9[_0x4aef36(0x3e9)]+_0x1def8c},_0x1204b9,!0x1,!0x0),_0xe5ba4f=ge({'row':_0x3451d9['row']+_0x3af7c2+_0x548588+_0x5afab5,'col':_0x3451d9[_0x4aef36(0x3e9)]+_0x1def8c},_0x1346ac,!0x1,!0x0);_0x54b11a=[..._0x590d34,..._0x1359a6,..._0x1cad7b,..._0x5a4dad,..._0xe5ba4f];}return _0x54b11a;}[_0x54f375(0x31f)](){const _0x235289=_0x54f375;this[_0x235289(0x3e3)](this[_0x235289(0x234)][_0x235289(0x318)]['intercept'](this[_0x235289(0x234)][_0x235289(0x318)]['getInterceptPoints']()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x59391e,_0x2efcad)=>{const _0xcae85b=_0x235289,{cellInfo:_0x567b89,view:_0x760496,isEmpty:_0x2657a6}=_0x2efcad,_0x5420a0=_0x567b89,{unitId:_0x297ad2,subUnitId:_0x11961d}=_0x5420a0,_0x37df91=this[_0xcae85b(0x205)](_0x567b89,_0x760496,_0x2657a6),_0x4d6fff=this[_0xcae85b(0x191)][_0xcae85b(0x249)]({'unitId':_0x297ad2,'subUnitId':_0x11961d,'ranges':_0x37df91}),_0x8cfca6=Ko(this['_injector'],_0x297ad2,_0x11961d,_0x37df91);_0x8cfca6[_0xcae85b(0x209)]&&(_0x4d6fff['redos'][_0xcae85b(0x342)](_0x8cfca6['setRangeValueRedoMutation']),_0x4d6fff['undos'][_0xcae85b(0x342)](_0x8cfca6[_0xcae85b(0x345)]));const _0x15fd6d=this[_0xcae85b(0x2ea)](_0x760496,_0x567b89);return _0x4d6fff[_0xcae85b(0x19b)][_0xcae85b(0x342)](..._0x15fd6d['redos']),_0x4d6fff[_0xcae85b(0x326)][_0xcae85b(0x342)](..._0x15fd6d[_0xcae85b(0x326)]),{'redos':_0x4d6fff[_0xcae85b(0x19b)],'undos':_0x4d6fff[_0xcae85b(0x326)]};}}));}[_0x54f375(0x2ea)](_0x2a54e1,_0x471170){const _0x48715e=_0x54f375,{col:_0x451a08,unitId:_0x5be987,subUnitId:_0x58f1f0}=_0x471170,_0x44f77d=[],_0x38f5e6=[],_0x2cc754=_0x4ea6fa(this['_univerInstanceService'],{'unitId':_0x5be987,'subUnitId':_0x58f1f0});if(!_0x471170||!_0x2a54e1||!_0x2cc754)return{'undos':_0x38f5e6,'redos':_0x44f77d};const _0x34e753=this[_0x48715e(0x2ec)][_0x48715e(0x279)](),{colView:_0x1e4d88,dataView:_0x4c9d5d,cornerView:_0x39d45b,rowView:_0x467150,formatMap:_0x1f1331}=_0x2a54e1,_0x3e673d=To(_0x1e4d88,_0x34e753,!0x0,_0x1f1331),_0x1fc5c3=To(_0x467150,_0x34e753,!0x1,_0x1f1331),_0x4f90c6=Li(_0x4c9d5d),_0x1a8315=Bi(_0x39d45b),{worksheet:_0x44413f}=_0x2cc754;if(typeof window<'u'&&window['document']){const _0x211f38=_0x5664d1({...fe[_0x48715e(0x1c2)]}),_0x4842ea=_0x5bd7bb['getTextSize'](_0x3e673d,_0x211f38)['width']+0x10,_0x8422d4=_0x5bd7bb[_0x48715e(0x254)](_0x4f90c6,_0x211f38)[_0x48715e(0x280)],_0x5a6df2=Math['floor'](Math['max'](_0x4842ea,_0x8422d4))+0x10,_0x2a733b=Math[_0x48715e(0x299)](_0x5bd7bb[_0x48715e(0x254)](_0x1fc5c3,_0x211f38)['width']),_0x4824da=Math[_0x48715e(0x299)](_0x5bd7bb['getTextSize'](_0x1a8315,_0x211f38)['width']),_0x58ce01=Math['max'](_0x2a733b,_0x4824da,0x28)+0xc,_0x5675df=_0x1e4d88[_0x48715e(0x2e3)]+_0x39d45b['colCount'],_0xe78175={},_0x4f3fa2={};for(let _0x486702=_0x451a08;_0x486702<_0x451a08+_0x5675df;_0x486702++){const _0xe4431a=_0x44413f[_0x48715e(0x352)](_0x486702);_0xe78175[_0x486702]=_0xe4431a,_0x486702-_0x451a08<_0x39d45b['colCount']?_0x4f3fa2[_0x486702-_0x451a08]=_0x58ce01:_0x4f3fa2[_0x486702-_0x451a08]=_0x5a6df2;}_0x44f77d[_0x48715e(0x342)]({'id':_0x68e9ae['id'],'params':{'subUnitId':_0x58f1f0,'unitId':_0x5be987,'ranges':[{'startColumn':_0x451a08,'endColumn':_0x451a08+_0x5675df-0x1,'startRow':0x0,'endRow':_0x44413f['getRowCount']()-0x1}],'colWidth':_0x4f3fa2}}),_0x38f5e6['push']({'id':_0x68e9ae['id'],'params':{'subUnitId':_0x58f1f0,'unitId':_0x5be987,'ranges':[{'startColumn':_0x451a08,'endColumn':_0x451a08+_0x5675df-0x1,'startRow':0x0,'endRow':_0x44413f['getRowCount']()-0x1}],'colWidth':_0xe78175}});}return{'undos':_0x38f5e6,'redos':_0x44f77d};}};ut=Hs([ze(0x0,_0x10cdc3(_0x15fb78)),ze(0x1,_0x10cdc3(_0x370454)),ze(0x2,_0x10cdc3(_0x500674)),ze(0x3,_0x10cdc3(_0x5f5304)),ze(0x4,_0x10cdc3(ve)),ze(0x5,_0x10cdc3(ie))],ut);var Ls=Object['getOwnPropertyDescriptor'],Bs=(_0x25290d,_0x45a37a,_0x8d883e,_0x3eef08)=>{for(var _0x31dfe3=_0x3eef08>0x1?void 0x0:_0x3eef08?Ls(_0x45a37a,_0x8d883e):_0x45a37a,_0x4b0f92=_0x25290d['length']-0x1,_0x4de24c;_0x4b0f92>=0x0;_0x4b0f92--)(_0x4de24c=_0x25290d[_0x4b0f92])&&(_0x31dfe3=_0x4de24c(_0x31dfe3)||_0x31dfe3);return _0x31dfe3;},ke=(_0x27f2fe,_0x5a783b)=>(_0x1fdcab,_0x2200ec)=>_0x5a783b(_0x1fdcab,_0x2200ec,_0x27f2fe);let ft=class extends _0x2e0af8{constructor(_0x1ee44f,_0x58d144,_0x48b8ec,_0x2707e8,_0x2264ee,_0xb14320,_0x30b985){const _0x23b33e=_0x54f375;super(),V(this,'disposableCollection',new _0x432743()),(this['_injector']=_0x1ee44f,this['_refRangeService']=_0x58d144,this['_commandService']=_0x48b8ec,this[_0x23b33e(0x228)]=_0x2707e8,this[_0x23b33e(0x2ec)]=_0x2264ee,this[_0x23b33e(0x39a)]=_0xb14320,this[_0x23b33e(0x191)]=_0x30b985,this[_0x23b33e(0x3c4)]());}[_0x54f375(0x3c4)](){const _0x4e06d0=_0x54f375,_0xe75f85=(_0x781fe0,_0x4f6173)=>{const _0x362cb0=_0x4016,_0x463996=this[_0x362cb0(0x228)]['getCurrentUnitForType'](_0x3fbbcd[_0x362cb0(0x1a5)]);if(!_0x463996||!(_0x463996==null?void 0x0:_0x463996['getSheetBySheetId'](_0x4f6173)))return;this[_0x362cb0(0x365)]['dispose']();const _0x46ff09=_0x5e85f9=>this[_0x362cb0(0x260)](_0x5e85f9,_0x781fe0,_0x4f6173),_0xdda734=this[_0x362cb0(0x2ec)]['getSubUnitPivotConfigs'](_0x781fe0,_0x4f6173);if(!(_0xdda734!=null&&_0xdda734[_0x362cb0(0x3c1)]))return;Array[_0x362cb0(0x3db)](_0xdda734['values']())[_0x362cb0(0x274)](_0x69da26=>{const _0x2c41ae=_0x362cb0,{row:_0x4539d4,col:_0x179381}=_0x69da26[_0x2c41ae(0x196)];return _0x7efa08(_0x4539d4,_0x179381);})[_0x362cb0(0x222)](_0x25d175=>{const _0x4f76a0=_0x362cb0;this[_0x4f76a0(0x365)]['add'](this[_0x4f76a0(0x353)][_0x4f76a0(0x198)](_0x25d175,_0x46ff09,_0x781fe0,_0x4f6173));});},_0x55344c=()=>{const _0x470f4b=_0x4016,_0x1270ef=this[_0x470f4b(0x228)][_0x470f4b(0x300)](_0x3fbbcd[_0x470f4b(0x1a5)]);if(_0x1270ef){const _0xb4565e=_0x1270ef['getActiveSheet']();if(!_0xb4565e)return;_0xe75f85(_0x1270ef[_0x470f4b(0x1c7)](),_0xb4565e[_0x470f4b(0x224)]());}};this[_0x4e06d0(0x3e3)](this[_0x4e06d0(0x2ab)][_0x4e06d0(0x3b4)](_0x516312=>{const _0xee9c6=_0x4e06d0;if(_0x516312['id']===_0x48991b['id']){const _0x1a351d=_0x516312[_0xee9c6(0x323)],_0x54f0e3=_0x1a351d[_0xee9c6(0x194)],_0x180608=_0x1a351d['unitId'];if(!_0x54f0e3||!_0x180608)return;_0xe75f85(_0x180608,_0x54f0e3);}})),this[_0x4e06d0(0x3e3)](this[_0x4e06d0(0x2ec)][_0x4e06d0(0x341)][_0x4e06d0(0x1fc)](_0xa30b85=>{_0xa30b85&&_0x55344c();})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel'][_0x4e06d0(0x3f7)]['subscribe'](_0xbd440f=>{const _0x2b20d5=_0x4e06d0,_0x3b572a=_0x4ea6fa(this[_0x2b20d5(0x228)]);if(!_0x3b572a)return;const {unitId:_0x1c0910,subUnitId:_0x382c21}=_0x3b572a,{unitId:_0x52c3d7,subUnitId:_0x3506a0}=_0xbd440f;_0x1c0910!==_0x52c3d7||_0x382c21!==_0x3506a0||_0xe75f85(_0x1c0910,_0x382c21);})),_0x55344c();}['_refRangeHandle'](_0x5e5307,_0x14a74a,_0x52b421){const _0x1e7ee7=_0x54f375;switch(_0x5e5307['id']){case _0x4f5f38['id']:return this[_0x1e7ee7(0x26e)](_0x5e5307['params'],_0x14a74a,_0x52b421);}return{'redos':[],'undos':[]};}[_0x54f375(0x26e)](_0x3f845b,_0x299edd,_0x428382){const _0x723d5a=_0x54f375,{fromRange:_0x42e9d2,toRange:_0x29512c}=_0x3f845b,_0x560952=[],_0x5372e4=[],_0x106569=_0x4ea6fa(this[_0x723d5a(0x228)]);if(!_0x106569)return{'undos':_0x5372e4,'redos':_0x560952};if(_0x299edd!==_0x106569[_0x723d5a(0x314)]||_0x428382!==_0x106569[_0x723d5a(0x194)])return{'undos':_0x5372e4,'redos':_0x560952};const _0x25f22d=this[_0x723d5a(0x2ec)][_0x723d5a(0x1fd)](_0x299edd,_0x428382);if(_0x25f22d!=null&&_0x25f22d[_0x723d5a(0x3c1)])for(const [_0x2cf7a0,_0x2368b4]of _0x25f22d){const {unitId:_0xfac0c3,subUnitId:_0x3c9fd4,row:_0x20c9ca,col:_0x2d0c54}=_0x2368b4[_0x723d5a(0x196)];if(_0xfac0c3===_0x106569[_0x723d5a(0x314)]&&_0x3c9fd4===_0x106569[_0x723d5a(0x194)]){const _0x46e0fc=_0x7efa08(_0x20c9ca,_0x2d0c54);if(_0x5de3db[_0x723d5a(0x1bb)](_0x46e0fc,_0x42e9d2)){const _0x52bd90=_0x20c9ca-_0x42e9d2[_0x723d5a(0x304)],_0x157445=_0x2d0c54-_0x42e9d2[_0x723d5a(0x213)],_0xa3dea1={'row':_0x29512c[_0x723d5a(0x304)]+_0x52bd90,'col':_0x29512c[_0x723d5a(0x213)]+_0x157445};_0x560952['push']({'id':pt['id'],'params':{'unitId':_0xfac0c3,'subUnitId':_0x3c9fd4,'pivotTableId':_0x2cf7a0,'targetCellPosition':_0xa3dea1}}),_0x5372e4[_0x723d5a(0x342)]({'id':pt['id'],'params':{'unitId':_0xfac0c3,'subUnitId':_0x3c9fd4,'pivotTableId':_0x2cf7a0,'targetCellPosition':{'row':_0x20c9ca,'col':_0x2d0c54}}});const _0x233725=_0xa3dea1[_0x723d5a(0x219)]-_0x20c9ca,_0x38444b=_0xa3dea1['col']-_0x2d0c54,_0x1d4dcf=[],_0x6c6bd1=this[_0x723d5a(0x39a)][_0x723d5a(0x192)](_0xfac0c3,_0x3c9fd4,_0x2cf7a0),_0x4b3a56=_0x6c6bd1==null?void 0x0:_0x6c6bd1[_0x723d5a(0x1ba)];if(_0x4b3a56){Object[_0x723d5a(0x33d)](_0x4b3a56)[_0x723d5a(0x222)](_0x443485=>{const _0x23a7ff=_0x723d5a;_0x4b3a56[_0x443485][_0x23a7ff(0x222)](_0x180651=>{const _0x35a50d=_0x23a7ff,_0x42e0a2={..._0x180651};_0x42e0a2[_0x35a50d(0x304)]=_0x180651['startRow']+_0x233725,_0x42e0a2[_0x35a50d(0x1ad)]=_0x180651[_0x35a50d(0x1ad)]+_0x233725,_0x42e0a2[_0x35a50d(0x213)]=_0x180651[_0x35a50d(0x213)]+_0x38444b,_0x42e0a2[_0x35a50d(0x3fa)]=_0x180651[_0x35a50d(0x3fa)]+_0x38444b,_0x1d4dcf[_0x35a50d(0x342)](_0x42e0a2);});});const _0x399047=this[_0x723d5a(0x191)][_0x723d5a(0x249)]({'unitId':_0xfac0c3,'subUnitId':_0x3c9fd4,'ranges':_0x1d4dcf});_0x560952[_0x723d5a(0x342)](..._0x399047['redos']),_0x5372e4[_0x723d5a(0x342)](..._0x399047[_0x723d5a(0x326)]);const _0x44087d=Ko(this[_0x723d5a(0x262)],_0xfac0c3,_0x3c9fd4,_0x1d4dcf);_0x44087d[_0x723d5a(0x209)]&&(_0x560952[_0x723d5a(0x342)](_0x44087d[_0x723d5a(0x3e8)]),_0x5372e4['push'](_0x44087d[_0x723d5a(0x345)]));}}}}return{'redos':_0x560952,'undos':_0x5372e4};}};ft=Bs([ke(0x0,_0x10cdc3(_0x500674)),ke(0x1,_0x10cdc3(_0x31ac82)),ke(0x2,_0x384d05),ke(0x3,_0x5f5304),ke(0x4,_0x10cdc3(ve)),ke(0x5,_0x10cdc3(Ne)),ke(0x6,_0x10cdc3(_0x370454))],ft);var $s=Object[_0x54f375(0x30f)],js=(_0x1e0275,_0x32808d,_0x41aa1b,_0x49708e)=>{const _0x5da960=_0x54f375;for(var _0x62ff9e=_0x49708e>0x1?void 0x0:_0x49708e?$s(_0x32808d,_0x41aa1b):_0x32808d,_0x428c98=_0x1e0275[_0x5da960(0x2e5)]-0x1,_0x1307e1;_0x428c98>=0x0;_0x428c98--)(_0x1307e1=_0x1e0275[_0x428c98])&&(_0x62ff9e=_0x1307e1(_0x62ff9e)||_0x62ff9e);return _0x62ff9e;},_o=(_0x5a6b6e,_0x53fc4a)=>(_0x15ac90,_0x2561d5)=>_0x53fc4a(_0x15ac90,_0x2561d5,_0x5a6b6e);let gt=class extends _0x2e0af8{constructor(_0xdfcc2f,_0x117f39){const _0x4dbd5c=_0x54f375;super(),this[_0x4dbd5c(0x191)]=_0xdfcc2f,this[_0x4dbd5c(0x2ec)]=_0x117f39,this[_0x4dbd5c(0x3f6)]();}[_0x54f375(0x3f6)](){const _0x26a3d2=_0x54f375;this[_0x26a3d2(0x3e3)](this[_0x26a3d2(0x191)][_0x26a3d2(0x337)]({'getMutations':_0x209257=>{const _0x4e7fd3=_0x26a3d2;if(_0x209257['id']===_0x18d8d5['id']){const _0x127d1a=[],_0x3aeac8=[],_0x3adb80=_0x209257['params'],{unitId:_0x2a2a9b,subUnitId:_0x4bb1f6}=_0x3adb80;if(!_0x2a2a9b||!_0x4bb1f6)return{'undos':_0x3aeac8,'redos':_0x127d1a};const _0x1f4842=this[_0x4e7fd3(0x2ec)][_0x4e7fd3(0x1fd)](_0x2a2a9b,_0x4bb1f6);if(_0x1f4842!=null&&_0x1f4842['size'])for(const [_0x30ad28,_0x10237a]of _0x1f4842){_0x127d1a[_0x4e7fd3(0x342)]({'id':xt['id'],'params':{'unitId':_0x2a2a9b,'subUnitId':_0x4bb1f6,'pivotTableId':_0x30ad28}});const _0x16db7d={...this[_0x4e7fd3(0x2ec)][_0x4e7fd3(0x1b9)](_0x2a2a9b,_0x30ad28)};_0x3aeac8[_0x4e7fd3(0x342)]({'id':It['id'],'params':{'unitId':_0x2a2a9b,'subUnitId':_0x4bb1f6,'pivotTableId':_0x30ad28,'pivotTableConfig':_0x10237a,'collectionConfig':_0x16db7d}});}return{'redos':_0x127d1a,'undos':_0x3aeac8};}return{'redos':[],'undos':[]};}}));}};gt=js([_o(0x0,_0x10cdc3(_0x370454)),_o(0x1,_0x10cdc3(ve))],gt);var Ws=Object[_0x54f375(0x30f)],Gs=(_0x2b72fa,_0x487c1f,_0x3d0224,_0xbfea99)=>{for(var _0x273087=_0xbfea99>0x1?void 0x0:_0xbfea99?Ws(_0x487c1f,_0x3d0224):_0x487c1f,_0x526914=_0x2b72fa['length']-0x1,_0x260c55;_0x526914>=0x0;_0x526914--)(_0x260c55=_0x2b72fa[_0x526914])&&(_0x273087=_0x260c55(_0x273087)||_0x273087);return _0x273087;},qe=(_0x359c26,_0x3ad0af)=>(_0x585e8b,_0x23fd29)=>_0x3ad0af(_0x585e8b,_0x23fd29,_0x359c26);let ht=class extends _0x2e0af8{constructor(_0x2652bb,_0x2470a1,_0x4e208a,_0x21997d,_0x1ee463,_0x1fe56c){const _0x48426c=_0x54f375;super(),this[_0x48426c(0x2ab)]=_0x2652bb,this['_sheetsPivotRpcService']=_0x2470a1,this['_sheetsPivotTableAdaptorModel']=_0x4e208a,this[_0x48426c(0x2ec)]=_0x21997d,this[_0x48426c(0x228)]=_0x1ee463,this[_0x48426c(0x367)]=_0x1fe56c,this[_0x48426c(0x3b5)](),this[_0x48426c(0x20c)]();}[_0x54f375(0x3b5)](){const _0x4d51eb=_0x54f375;this[_0x4d51eb(0x3e3)](this['_commandService'][_0x4d51eb(0x3b4)](_0x5e2b5f=>{const _0x373fbd=_0x4d51eb;if(_0x5e2b5f['id']!==lo['id'])return;const _0x56f51f=_0x5e2b5f['params'];this[_0x373fbd(0x34e)][_0x373fbd(0x244)](_0x56f51f);})),this[_0x4d51eb(0x3e3)](this[_0x4d51eb(0x2ab)][_0x4d51eb(0x3b4)](_0x5117f8=>{const _0x3cd84e=_0x4d51eb;if(_0x5117f8['id']===co['id']){const _0x1ed7c9=_0x5117f8[_0x3cd84e(0x323)];if(_0x1ed7c9){const {unitId:_0x5d3fde,subUnitId:_0x2cad64,oldSubUnitId:_0x4020b4,pivotTableId:_0x474ba8,pivotTableConfig:_0x4538c0,collectionConfig:_0x7d5aca}=_0x1ed7c9;this[_0x3cd84e(0x2ec)]['updateConfigCache'](_0x5d3fde,_0x4020b4,_0x1ed7c9['pivotTableId'],null),this[_0x3cd84e(0x2ec)][_0x3cd84e(0x3da)](_0x5d3fde,_0x2cad64,_0x474ba8,_0x4538c0),this[_0x3cd84e(0x2ec)][_0x3cd84e(0x3bd)](_0x5d3fde,_0x7d5aca);}}})),this[_0x4d51eb(0x3e3)](this[_0x4d51eb(0x2ab)][_0x4d51eb(0x3b4)](_0x26cde5=>{const _0x2d1f91=_0x4d51eb;if(_0x26cde5['id']!==Dt['id'])return;const _0x4d7e6f=_0x4ea6fa(this[_0x2d1f91(0x228)]);if(!_0x4d7e6f)return;const {unitId:_0x3316ec,subUnitId:_0x171338}=_0x4d7e6f,_0x3c8adf=_0x26cde5[_0x2d1f91(0x323)];if(_0x3c8adf[_0x2d1f91(0x332)]&&Object['keys'](_0x3c8adf[_0x2d1f91(0x332)])[_0x2d1f91(0x222)](_0x3913f7=>{const _0x4ce1da=_0x2d1f91;var _0x319e0a;(_0x319e0a=_0x3c8adf['collectionConfig'])!=null&&_0x319e0a[_0x3913f7]&&this[_0x4ce1da(0x2ec)][_0x4ce1da(0x3bd)](_0x3913f7,_0x3c8adf[_0x4ce1da(0x332)][_0x3913f7]);}),_0x3c8adf[_0x2d1f91(0x23c)]){const _0x4f9f29=_0x3c8adf['single'],{unitId:_0x11f6b0,subUnitId:_0x37559a,view:_0x303a3a,pivotTableId:_0xf4efdd,type:_0x53dc2d,pivotConfig:_0x23258c}=_0x4f9f29;if(_0x53dc2d===L[_0x2d1f91(0x2f6)])this['_sheetsPivotTableAdaptorModel'][_0x2d1f91(0x277)]({'unitId':_0x11f6b0,'subUnitId':_0x37559a,'pivotTableId':_0xf4efdd,'type':_0x53dc2d}),this['_sheetsPivotTableConfigModel'][_0x2d1f91(0x3da)](_0x11f6b0,_0x37559a,_0xf4efdd,null);else{const _0x1ad582=new _0xb00319();_0x1ad582[_0x2d1f91(0x3ea)](_0x303a3a),this['_sheetsPivotTableConfigModel'][_0x2d1f91(0x3da)](_0x11f6b0,_0x37559a,_0xf4efdd,_0x23258c),this[_0x2d1f91(0x39a)][_0x2d1f91(0x277)]({'unitId':_0x11f6b0,'subUnitId':_0x37559a,'pivotTableId':_0xf4efdd,'type':_0x53dc2d,'view':_0x1ad582}),this[_0x2d1f91(0x39a)][_0x2d1f91(0x3f0)]({'unitId':_0x11f6b0,'subUnitId':_0x37559a,'view':_0x1ad582,'pivotTableId':_0xf4efdd,'type':_0x53dc2d});}}else _0x3c8adf[_0x2d1f91(0x2a8)]&&(_0x3c8adf[_0x2d1f91(0x2a8)][_0x2d1f91(0x222)](_0x5cf01c=>{const _0x19eccc=_0x2d1f91,{unitId:_0xe138b7,subUnitId:_0x42755b,view:_0x59dd69,pivotTableId:_0x53051a,type:_0x2f0c8f,pivotConfig:_0x4b9262}=_0x5cf01c,_0x240840=new _0xb00319();_0x240840[_0x19eccc(0x3ea)](_0x59dd69),this['_sheetsPivotTableConfigModel'][_0x19eccc(0x3da)](_0xe138b7,_0x42755b,_0x53051a,_0x4b9262),this['_sheetsPivotTableAdaptorModel'][_0x19eccc(0x3f0)]({'unitId':_0xe138b7,'subUnitId':_0x42755b,'view':_0x240840,'pivotTableId':_0x53051a,'type':_0x2f0c8f});}),this[_0x2d1f91(0x2ec)][_0x2d1f91(0x3bb)]());this[_0x2d1f91(0x39a)][_0x2d1f91(0x1b5)](_0x3316ec,_0x171338);}));}[_0x54f375(0x20c)](){const _0x16f359=_0x54f375;this[_0x16f359(0x367)]['register'](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x5ccfbc){const _0x458812=_0x16f359;return{'dirtyUnitFeatureMap':_0x5ccfbc[_0x458812(0x323)]};}});}};ht=Gs([qe(0x0,_0x10cdc3(_0x384d05)),qe(0x1,_0x10cdc3(X)),qe(0x2,_0x10cdc3(Ne)),qe(0x3,_0x10cdc3(ve)),qe(0x4,_0x10cdc3(_0x5f5304)),qe(0x5,_0x413524)],ht);var Ks=Object[_0x54f375(0x24d)],zs=Object[_0x54f375(0x30f)],qs=(_0x118dcd,_0x19eecc,_0x226114)=>_0x19eecc in _0x118dcd?Ks(_0x118dcd,_0x19eecc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x226114}):_0x118dcd[_0x19eecc]=_0x226114,Qs=(_0x59a43f,_0x2e0001,_0x5235a9,_0x5be123)=>{const _0x45f2bb=_0x54f375;for(var _0x164264=_0x5be123>0x1?void 0x0:_0x5be123?zs(_0x2e0001,_0x5235a9):_0x2e0001,_0x274388=_0x59a43f[_0x45f2bb(0x2e5)]-0x1,_0x3bf8e7;_0x274388>=0x0;_0x274388--)(_0x3bf8e7=_0x59a43f[_0x274388])&&(_0x164264=_0x3bf8e7(_0x164264)||_0x164264);return _0x164264;},Ft=(_0x36445a,_0x11327b)=>(_0x72dead,_0x3990cd)=>_0x11327b(_0x72dead,_0x3990cd,_0x36445a),Zo=(_0x348374,_0x4db12c,_0x3050e4)=>qs(_0x348374,typeof _0x4db12c!=_0x54f375(0x1fb)?_0x4db12c+'':_0x4db12c,_0x3050e4);let Vt=class extends _0xb64033{constructor(_0x55e268=yo,_0xd0234b,_0x19b683,_0x57be18,_0x468a8f){const _0x37c3c1=_0x54f375;super(),this[_0x37c3c1(0x302)]=_0x55e268,this[_0x37c3c1(0x262)]=_0xd0234b,this[_0x37c3c1(0x2ab)]=_0x19b683,this[_0x37c3c1(0x259)]=_0x57be18,this[_0x37c3c1(0x36d)]=_0x468a8f;const {..._0x70b4cc}=_0x10f046({},yo,this[_0x37c3c1(0x302)]);this[_0x37c3c1(0x259)][_0x37c3c1(0x18e)](qo,_0x70b4cc),this['_initRegisterCommand'](),this[_0x37c3c1(0x231)]();}[_0x54f375(0x231)](){const _0x2cf58c=_0x54f375;var _0x57da17;const _0x39ec4f=(_0x57da17=this[_0x2cf58c(0x302)])==null?void 0x0:_0x57da17[_0x2cf58c(0x3f1)];this['_configService']['setConfig'](z,_0x39ec4f===!0x0);}[_0x54f375(0x3bf)](){const _0x1840cb=_0x54f375;var _0x2c0cae;let _0x1e1386=[];const _0x54d811=(_0x2c0cae=this[_0x1840cb(0x302)])==null?void 0x0:_0x2c0cae['notExecuteFormula'];_0x54d811===!0x0?_0x1e1386=[[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x54d811===!0x1?_0x1e1386=[[B],[ct]]:_0x54d811===void 0x0&&(_0x1e1386=[[B],[ct],[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x1e1386[_0x1840cb(0x222)](_0x36b9ea=>this['_injector'][_0x1840cb(0x1e1)](_0x36b9ea)),[ct,ht,ie,dt,gt,ft,ut][_0x1840cb(0x222)](_0x3b2470=>{const _0x1946d5=_0x1840cb;this[_0x1946d5(0x262)][_0x1946d5(0x293)](_0x3b2470)&&this['_injector'][_0x1946d5(0x307)](_0x3b2470);});}['_initRegisterCommand'](){const _0xbe94db=_0x54f375;[vs,ps,hs,Cs,Is,Ms,Ds,bs,Ps,Ss,Ts,ys,ws,ms,It,oo,xt,Bt,Qo,Yo,Kt,$t,jt,Wt,qt,zt,pt,ro,lo,Dt,Zt,eo,Qt,Gt,uo,to,Xt,Ut,co,_s,Yt,Fs,Rs][_0xbe94db(0x222)](_0xe01b61=>{const _0x3b3996=_0xbe94db;var _0x39e509;(_0x39e509=this['_dataSyncPrimaryController'])==null||_0x39e509['registerSyncingMutations'](_0xe01b61),this[_0x3b3996(0x2ab)][_0x3b3996(0x1e0)](_0xe01b61);});}};Zo(Vt,'pluginName',ao),Zo(Vt,_0x54f375(0x1df),_0x3fbbcd['UNIVER_SHEET']),Vt=Qs([_0x3f95ec(_0x491623),Ft(0x1,_0x10cdc3(_0x500674)),Ft(0x2,_0x10cdc3(_0x384d05)),Ft(0x3,_0x4abb7e),Ft(0x4,_0x1cebcc(_0xae68a5))],Vt);export{hs as AddPivotFieldCommand,Bt as AddPivotFieldMutation,ps as AddPivotTableCommand,It as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Cs as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,ms as PivotDrillDownCommand,L as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Jo as PositionType,Is as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,xt as RemovePivotTableMutation,jt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Gt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Kt as SetPivotFilterMutation,zt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,qt as SetPivotSortMutation,Qt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Yt as SetPivotValueFilterMutation,B as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Zt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,Ce as applyChangeSet,Go as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,ki as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,xi as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,vt as transFromCellValue,Lt as unionPivotViewRange};
1
+ const _0x568d43=_0x2038;(function(_0x3b14d9,_0x5b5ea1){const _0x3fa1df=_0x2038,_0x4b8193=_0x3b14d9();while(!![]){try{const _0x39223c=-parseInt(_0x3fa1df(0x266))/0x1+parseInt(_0x3fa1df(0x1a7))/0x2*(parseInt(_0x3fa1df(0x232))/0x3)+-parseInt(_0x3fa1df(0x16a))/0x4+parseInt(_0x3fa1df(0x319))/0x5*(-parseInt(_0x3fa1df(0xd9))/0x6)+-parseInt(_0x3fa1df(0x336))/0x7+-parseInt(_0x3fa1df(0x13c))/0x8+parseInt(_0x3fa1df(0x337))/0x9*(parseInt(_0x3fa1df(0x1f3))/0xa);if(_0x39223c===_0x5b5ea1)break;else _0x4b8193['push'](_0x4b8193['shift']());}catch(_0x238bda){_0x4b8193['push'](_0x4b8193['shift']());}}}(_0xd861,0xc7ed8));var an=Object[_0x568d43(0x10c)],rn=(_0x36c90e,_0x3f15c6,_0x5052b5)=>_0x3f15c6 in _0x36c90e?an(_0x36c90e,_0x3f15c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5052b5}):_0x36c90e[_0x3f15c6]=_0x5052b5,E=(_0x3297ac,_0x1f0396,_0x462a20)=>rn(_0x3297ac,typeof _0x1f0396!=_0x568d43(0x1f9)?_0x1f0396+'':_0x1f0396,_0x462a20);import{PivotCellStyleTypeEnum as _0x3ce62b,PivotViewCellValueTypeEnum as _0x49921e,isPrefixValue as _0x1ad218,isErrorValue as _0x22fae2,PivotErrorTypeEnum as _0x4cdaf0,PivotDateGroupFieldDateTypeEnum as _0x1cd4a2,DataFieldManager as _0x500381,FieldsCollection as _0x3ca9b9,isDateValue as _0x2b5097,DataField as _0x5a7e03,generateHexNumber as _0x67f86b,isBaseGroupField as _0x297820,PivotTable as _0x1c184b,PivotSubtotalTypeEnum as _0x5f16c0,PivotTableFiledAreaEnum as _0xc3cf43,excelDateToUnixMilliseconds as _0x52d248,createValueField as _0x592839,createLabelField as _0x3283a2,PivotTableChangeTypeEnum as _0x4a082f,BaseGroupField as _0x5530c4,PivotView as _0xa9b3b,isDateGroupFieldJSON as _0x20d95c,PivotCallbackEnum as _0x17627a,PivotFilterTypeEnum as _0x5d5635,getAutoDisplayName as _0x3c203b,PivotDataFieldDataTypeEnum as _0x157dcf,PivotTableValuePositionEnum as _0x3411dd,isDateGroupField as _0xe0b7d1,DateGroupField as _0x193443}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x41bcd3,ObjectMatrix as _0x57c969,IUniverInstanceService as _0x2bb584,UniverInstanceType as _0x278b7f,CellValueType as _0x5610a3,numfmt as _0x114c51,LocaleService as _0x19c820,createAsyncInterceptorKey as _0x4d9f54,createInterceptorKey as _0x4ca49f,CommandType as _0x30df22,RANGE_TYPE as _0x52be76,numberToABC as _0x18d8b2,Inject as _0x2a08b7,Injector as _0x4ff8ac,LifecycleService as _0x35f0e3,IConfigService as _0x30f8ed,ICommandService as _0x428737,IResourceManagerService as _0x58b3a4,Disposable as _0x564bbd,Rectangle as _0x213a48,Tools as _0x120414,AsyncInterceptorManager as _0xac95ae,InterceptorManager as _0x9f3b82,InterceptorEffectEnum as _0x5ab5ea,CustomCommandExecutionError as _0x5024bf,IUndoRedoService as _0x125ef8,sequenceExecute as _0x1b0569,mergeWorksheetSnapshotWithDefault as _0x18c6ee,generateRandomId as _0x573c2,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x4fcbf6,DEFAULT_WORKSHEET_ROW_COUNT as _0x91b4e4,DisposableCollection as _0x3ce79c,Range as _0x3fdf90,DependentOn as _0x515181,Optional as _0x4f612b,Plugin as _0x3f7f3a,merge as _0x2fcfd6}from'@univerjs/core';import{ErrorType as _0x47a82d,serializeRangeWithSpreadsheet as _0x352ebb,IFeatureCalculationManagerService as _0xa9f74a,GlobalComputingStatusService as _0xfe597,IActiveDirtyManagerService as _0xe8bc4a}from'@univerjs/engine-formula';import{generateNullCell as _0x196933,SetRangeValuesUndoMutationFactory as _0x2db55f,SetRangeValuesMutation as _0x5ba09b,getSheetCommandTarget as _0x3cd89f,InsertRowMutation as _0x577e34,RemoveRowMutation as _0x12a823,InsertColMutation as _0xeddd4d,RemoveColMutation as _0x6b97a7,IExclusiveRangeService as _0x1e3106,SheetInterceptorService as _0x4d778b,INTERCEPTOR_POINT as _0x98806a,InsertSheetCommand as _0x4fdb8a,InsertSheetUndoMutationFactory as _0x247228,RemoveSheetMutation as _0x16b394,InsertSheetMutation as _0x15a697,MoveRangeMutation as _0x32ea2a,SheetsSelectionsService as _0x4a9902,ClearSelectionContentCommand as _0x90323e,ClearSelectionAllCommand as _0x4ca811,SetWorksheetColWidthMutation as _0x3a76e4,RefRangeService as _0x1b8993,SetWorksheetActiveOperation as _0x2843a2,MoveRangeCommand as _0x2ac5a1,RemoveSheetCommand as _0x25e043}from'@univerjs/sheets';import{Subject as _0x447c66,BehaviorSubject as _0x505982}from'rxjs';import{LS_CONFIG_KEY as _0x3f2e93,unshiftString as _0x5438d9,isFeatureAuthorizedWithinTime as _0x28da21,getSheetFeatureLimit as _0x1a9d78,ReleaseType as _0x23cd78,UniverLicensePlugin as _0x14256c}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x48a0a4,RemoveSheetsFilterMutation as _0x272b8a}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x551f0c}from'@univerjs/rpc';import{getFontStyleString as _0x4bb620,FontCache as _0x549a53}from'@univerjs/engine-render';const Ao=Number[_0x568d43(0x11e)](0x67f7ed89),li=0x10,so=0x1,ao=_0x568d43(0x134),It=0x1,ci='rgb(240,241,243)',di=_0x568d43(0x2bb),wt=_0x568d43(0x33d),ui='#f4f4f5',fi='#f4f4f5',gi='#eceeff',vi='#1d32e9',hi=_0x568d43(0x2d9),pi=_0x568d43(0x358),mi=_0x568d43(0x173),Ii=_0x568d43(0x2d9),Ci=_0x568d43(0x335),Si=0xe,bi=0x6;var Jo=(_0xdace07=>(_0xdace07[_0x568d43(0x2b4)]=_0x568d43(0x2e0),_0xdace07['New']=_0x568d43(0x262),_0xdace07))(Jo||{});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':''}}},yi=0x1e,Ge={'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':Ge,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Ge,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':Ge,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Ge,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':Ge,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Ge,'vt':0x2}};function Pi(_0xcbd6a8,_0x164dde,_0x1fd759){const _0x3dd3e5=_0x568d43,_0x30f570=_0xcbd6a8[_0x3dd3e5(0x194)](_0x19c820),_0x6efe5=_0x1fd759[_0x3dd3e5(0x162)]('_');switch(_0x164dde){case _0x1cd4a2[_0x3dd3e5(0xfd)]:return _0x30f570['t'](_0x3dd3e5(0xfe),..._0x6efe5);case _0x1cd4a2['Minute']:return _0x30f570['t'](_0x3dd3e5(0x139),..._0x6efe5);case _0x1cd4a2[_0x3dd3e5(0x1ce)]:return _0x30f570['t'](_0x3dd3e5(0x254),..._0x6efe5);case _0x1cd4a2['HourMinute']:return _0x30f570['t'](_0x3dd3e5(0x18b),..._0x6efe5);case _0x1cd4a2[_0x3dd3e5(0x2ca)]:return _0x30f570['t'](_0x3dd3e5(0x31b),..._0x6efe5);case _0x1cd4a2[_0x3dd3e5(0x1b5)]:return _0x30f570['t'](_0x3dd3e5(0x220),..._0x6efe5);case _0x1cd4a2[_0x3dd3e5(0x1ec)]:return _0x30f570['t'](_0x3dd3e5(0x2fb),..._0x6efe5);case _0x1cd4a2[_0x3dd3e5(0x24f)]:return _0x30f570['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x6efe5);case _0x1cd4a2[_0x3dd3e5(0x12a)]:return _0x30f570['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x6efe5);case _0x1cd4a2[_0x3dd3e5(0x2e5)]:return _0x30f570['t'](_0x3dd3e5(0x2dc),..._0x6efe5);}return'';}const it=(_0x4fe1e3,_0x1d9793,_0x54c046,_0x233e2f)=>{const _0x427a80=_0x568d43;let _0x168e76;const _0xb7adf5=_0x4fe1e3[_0x427a80(0x194)](_0x2bb584)['getCurrentUnitForType'](_0x278b7f['UNIVER_SHEET']);if(!_0xb7adf5)return null;const _0x4cd869=_0xb7adf5[_0x427a80(0x161)]();let _0x4c4b22;if(_0x54c046&&(_0x4c4b22=_0x4cd869['setValue'](_0x54c046)),_0x1d9793!=null&&_0x1d9793['v']||(_0x1d9793==null?void 0x0:_0x1d9793['v'])===0x0){_0x168e76||(_0x168e76={});const _0x2c71dd=Lo(_0x1d9793['v']);typeof _0x2c71dd==_0x427a80(0x1df)?_0x168e76['t']=_0x5610a3['NUMBER']:typeof _0x2c71dd==_0x427a80(0x326)&&(_0x168e76['t']=_0x5610a3['STRING']),_0x168e76['v']=_0x2c71dd;}if((_0x1d9793!=null&&_0x1d9793['i']||(_0x1d9793==null?void 0x0:_0x1d9793['i'])===0x0)&&(_0x168e76||(_0x168e76={}),_0x168e76['fi']=_0x1d9793['i']),_0x1d9793!=null&&_0x1d9793['s']&&(_0x168e76||(_0x168e76={}),_0x168e76['pbt']=_0x1d9793['s']),_0x54c046&&(_0x168e76||(_0x168e76={}),_0x168e76['s']=_0x4c4b22),_0x233e2f&&_0x168e76!=null&&_0x168e76['v']&&_0x168e76[_0x427a80(0x26c)]!==_0x3ce62b[_0x427a80(0x325)]&&_0x168e76['pbt']!==_0x3ce62b[_0x427a80(0x237)]){const _0xe972db=String(_0x168e76['v']),{dateType:_0x53d813}=_0x233e2f;_0x168e76['v']=Pi(_0x4fe1e3,_0x53d813,_0xe972db),_0x168e76['t']=_0x5610a3[_0x427a80(0x1b3)];}return _0x168e76;},Ti=(_0x111c02,_0x2eac3c,_0x4f83d4,_0x1bed6e)=>{const _0x5edae3=_0x568d43;var _0x55ccab,_0x1ee959,_0x406a9d,_0x2d72f8,_0xe4ec9e,_0x5beaec,_0x1668dd,_0x53743b,_0x3671c2,_0x200ddf,_0x45b2bb,_0x5ae933,_0x235a3c,_0x5723d2;const _0x1ca480=_0x4f83d4[_0x5edae3(0x1a8)],{cornerView:_0x21c4d5,rowView:_0x2290d8,colView:_0x41de73,dataView:_0x3b3971,pageView:_0x24afc2,formatMap:_0x2f7b26,groupInfo:_0x1730d0}=_0x2eac3c,{row:_0x291365,col:_0x1a16ae}=_0x1ca480,_0x2f8cea=new _0x57c969(),_0x212abf={},_0xd942ef={},_0x910cad={},_0x1de10c={},_0x571f9c={};let _0x465f7e=_0x291365,_0x204e64=_0x1a16ae;Object[_0x5edae3(0x33e)](_0x24afc2[_0x5edae3(0x30f)])[_0x5edae3(0x2d3)](_0x3de37b=>{const _0x48d527=_0x5edae3;Object[_0x48d527(0x33e)](_0x24afc2[_0x48d527(0x30f)][Number(_0x3de37b)])[_0x48d527(0x2d3)](_0x3056b8=>{const _0x21d363=_0x48d527,_0xe339d3={..._0x24afc2[_0x21d363(0x30f)][Number(_0x3de37b)][Number(_0x3056b8)]};_0x2f8cea[_0x21d363(0x160)](Number(_0x3de37b)+_0x465f7e,Number(_0x3056b8)+_0x204e64,it(_0x111c02,_0xe339d3,fe[_0x21d363(0xf8)]));});});const _0x548afa=Object[_0x5edae3(0x33e)](_0x24afc2[_0x5edae3(0x30f)])[_0x5edae3(0x28f)];_0x465f7e+=_0x548afa+(_0x548afa?It:0x0);const _0xa842cd=_0x21c4d5['getRowCount'](),_0x24df38=_0x21c4d5[_0x5edae3(0xe6)]();for(let _0xe9a7d3=0x0;_0xe9a7d3<_0xa842cd;_0xe9a7d3++)for(let _0x279be2=0x0;_0x279be2<_0x24df38;_0x279be2++){const _0x1a3902={...(_0x1ee959=(_0x55ccab=_0x21c4d5[_0x5edae3(0x30f)])==null?void 0x0:_0x55ccab[_0xe9a7d3])==null?void 0x0:_0x1ee959[_0x279be2]};_0x1a3902&&((_0x406a9d=_0x2290d8[_0x5edae3(0x2a5)][_0x279be2])!=null&&_0x406a9d['isValue'])&&_0x279be2===_0x24df38-0x1&&_0xe9a7d3===_0xa842cd-0x1&&(_0x1a3902['v']=''+_0x1bed6e['sheets-pivot.value']),_0x2f8cea[_0x5edae3(0x160)](_0xe9a7d3+_0x465f7e,_0x279be2+_0x204e64,it(_0x111c02,_0x1a3902,fe[_0x5edae3(0x116)]));}for(let _0x5efc85=0x0;_0x5efc85<_0x21c4d5['info']['length'];_0x5efc85++)_0x21c4d5[_0x5edae3(0x18f)][_0x5efc85]&&(_0x910cad[''+(_0x5efc85+_0x204e64)]=_0x21c4d5[_0x5edae3(0x18f)][_0x5efc85]);_0x204e64+=_0x24df38;const _0x5bdf09=_0x41de73[_0x5edae3(0x2a5)],_0x105e32=_0x41de73[_0x5edae3(0x206)]()>=0x0?_0x41de73[_0x5edae3(0x206)]()+0x1:0x0,_0x3231aa=_0x41de73[_0x5edae3(0x29b)]()>=0x0?_0x41de73[_0x5edae3(0x29b)]()+0x1:0x0;for(let _0xa8235b=0x0;_0xa8235b<_0x3231aa;_0xa8235b++){for(let _0x31fb45=0x0;_0x31fb45<_0x105e32;_0x31fb45++){const _0x1fe2f9={...(_0xe4ec9e=(_0x2d72f8=_0x41de73['data'])==null?void 0x0:_0x2d72f8[_0x31fb45])==null?void 0x0:_0xe4ec9e[_0xa8235b]},_0x273906=(_0x5beaec=_0x5bdf09[_0x31fb45])==null?void 0x0:_0x5beaec['tableFieldId'],_0x4ec8b1=_0x2f7b26[_0x273906],_0x40ba77=_0x1730d0[_0x273906];_0x1fe2f9&&(_0x1fe2f9['v']=ht(_0x1fe2f9,_0x31fb45===0x0&&((_0x1668dd=_0x41de73[_0x5edae3(0x1be)](_0xa8235b+0x1))==null?void 0x0:_0x1668dd[_0x5edae3(0x1c0)]),_0x4ec8b1,_0x1bed6e));let _0x2825f6;_0x4ec8b1?_0x2825f6={...fe[_0x5edae3(0xf1)],'n':{'pattern':_0x4ec8b1}}:_0x2825f6={...fe['colStyle']},_0x2f8cea[_0x5edae3(0x160)](_0x31fb45+_0x465f7e,_0xa8235b+_0x204e64,it(_0x111c02,_0x1fe2f9,_0x2825f6,_0x40ba77));}_0x41de73[_0x5edae3(0x18f)][_0xa8235b]&&(_0xd942ef[''+(_0xa8235b+_0x204e64)]=_0x41de73[_0x5edae3(0x18f)][_0xa8235b]),_0x41de73['headerMap'][_0xa8235b+0x1]&&(_0x571f9c[''+(_0xa8235b+_0x465f7e+0x1)]=_0x41de73[_0x5edae3(0x2a5)][_0xa8235b+0x1]);}_0x465f7e+=_0xa842cd;const _0x53d882=_0x2290d8[_0x5edae3(0x2a5)],_0x4a325b=_0x2290d8['getLastRow']()>=0x0?_0x2290d8[_0x5edae3(0x206)]()+0x1:0x0,_0x4fdf6a=_0x2290d8[_0x5edae3(0x29b)]()>=0x0?_0x2290d8[_0x5edae3(0x29b)]()+0x1:0x0;for(let _0x244f71=0x0;_0x244f71<_0x4a325b;_0x244f71++){for(let _0x3c521e=0x0;_0x3c521e<_0x4fdf6a;_0x3c521e++){const _0x1ce4fc={...(_0x3671c2=(_0x53743b=_0x2290d8[_0x5edae3(0x30f)])==null?void 0x0:_0x53743b[_0x244f71])==null?void 0x0:_0x3671c2[_0x3c521e]},_0xcc3fc6=(_0x200ddf=_0x53d882[_0x3c521e])==null?void 0x0:_0x200ddf['tableFieldId'],_0x181f55=_0x2f7b26[_0xcc3fc6],_0x46e5f7=_0x1730d0[_0xcc3fc6];_0x1ce4fc&&(_0x1ce4fc['v']=ht(_0x1ce4fc,!0x1,_0x181f55,_0x1bed6e));let _0x1e30d5;_0x2290d8[_0x5edae3(0x18f)][_0x244f71]['level']===_0x2290d8['getColCount']()?_0x1e30d5=fe['leafStyle']:_0x2290d8[_0x5edae3(0x18f)][_0x244f71]['isBottomTotal']?_0x1e30d5=_0x2290d8[_0x5edae3(0x18f)][_0x244f71][_0x5edae3(0x21d)]===0x0?fe[_0x5edae3(0x240)]:fe['subTotalStyle']:_0x1e30d5=fe[_0x5edae3(0x165)],_0x181f55&&(_0x1e30d5={..._0x1e30d5,'n':{'pattern':_0x181f55}}),_0x2f8cea[_0x5edae3(0x160)](_0x244f71+_0x465f7e,_0x3c521e+_0x1a16ae,it(_0x111c02,_0x1ce4fc,_0x1e30d5,_0x46e5f7));}_0x2290d8[_0x5edae3(0x18f)][_0x244f71]&&(_0x212abf[''+(_0x244f71+_0x465f7e)]=_0x2290d8[_0x5edae3(0x18f)][_0x244f71]),_0x2290d8['headerMap'][_0x244f71]&&(_0x1de10c[''+(_0x244f71+_0x1a16ae)]=_0x2290d8['headerMap'][_0x244f71]);}const _0x274473=_0x3b3971['getRowCount'](),_0x2df114=_0x3b3971[_0x5edae3(0xe6)]();for(let _0x4cfec2=0x0;_0x4cfec2<_0x274473;_0x4cfec2++)for(let _0x2b42e5=0x0;_0x2b42e5<_0x2df114;_0x2b42e5++){const _0x528c4a={...(_0x5ae933=(_0x45b2bb=_0x3b3971['data'])==null?void 0x0:_0x45b2bb[_0x4cfec2])==null?void 0x0:_0x5ae933[_0x2b42e5]};let _0x45249f;_0x2290d8['info'][_0x4cfec2][_0x5edae3(0x2a7)]?_0x45249f=_0x2290d8[_0x5edae3(0x18f)][_0x4cfec2]['level']===0x0?fe[_0x5edae3(0x240)]:fe['subTotalStyle']:_0x45249f=fe[_0x5edae3(0x2aa)];const _0x59859e=_0x2290d8['info'][_0x4cfec2]['valueIndex'],_0x5cb64f=_0x41de73['info'][_0x2b42e5][_0x5edae3(0x19c)],_0x2db39e=Math[_0x5edae3(0x13b)](_0x59859e,_0x5cb64f),_0x5c289d=_0x4f83d4[_0x5edae3(0x35b)][_0x5edae3(0xd8)]['concat']();let _0x43cedf='';_0x2db39e<0x0?_0x43cedf=(_0x235a3c=_0x5c289d[0x0])!=null?_0x235a3c:'':_0x43cedf=(_0x5723d2=_0x5c289d[_0x2db39e])!=null?_0x5723d2:'';const _0xc4d315=_0x2f7b26[_0x43cedf];_0xc4d315&&(_0x45249f={..._0x45249f,'n':{'pattern':_0xc4d315}}),_0x2f8cea[_0x5edae3(0x160)](_0x4cfec2+_0x465f7e,_0x2b42e5+_0x204e64,it(_0x111c02,_0x528c4a,_0x45249f));}return{'valueMatrix':_0x2f8cea,'rowInfo':_0x212abf,'colInfo':_0xd942ef,'cornerInfo':_0x910cad,'rowHeaderMap':_0x1de10c,'colHeaderMap':_0x571f9c};};function ht(_0x13e96b,_0x55622e,_0x1ae817,_0x489fdc){const _0x4664af=_0x568d43;let _0x47d19b=_0x13e96b['v'];_0x55622e&&(_0x47d19b=''+_0x489fdc[_0x4664af(0x263)]);const _0x424081=_0x13e96b['t']&&(_0x13e96b['t']&_0x49921e[_0x4664af(0x349)])>0x0;if(_0x424081&&(_0x47d19b=''+_0x489fdc['sheets-pivot.blank']),_0x13e96b['s']===_0x3ce62b[_0x4664af(0x237)]){let _0x2f479f=_0x47d19b,_0x5ba210='';_0x1ad218(_0x47d19b)&&(_0x2f479f=_0x47d19b[_0x4664af(0xfc)],_0x5ba210=_0x47d19b['value']);const _0x23cd59=_0x1ae817&&!_0x424081?_0x114c51[_0x4664af(0x22b)](_0x1ae817,Number(_0x2f479f)):_0x2f479f;_0x5ba210?_0x47d19b=_0x23cd59+'\x20'+_0x5ba210:_0x47d19b=_0x23cd59+'\x20'+_0x489fdc[_0x4664af(0x23a)];}else _0x13e96b['s']===_0x3ce62b[_0x4664af(0x325)]&&(_0x47d19b=_0x47d19b+'\x20'+_0x489fdc[_0x4664af(0x20f)]);return _0x47d19b;}function Lo(_0xc13bf5){const _0x40b2f0=_0x568d43;if(_0x22fae2(_0xc13bf5)){const {errorType:_0x130403}=_0xc13bf5;switch(_0x130403){case _0x4cdaf0[_0x40b2f0(0x331)]:return _0x47a82d['DIV_BY_ZERO'];case _0x4cdaf0[_0x40b2f0(0x209)]:return _0x47a82d[_0x40b2f0(0x305)];case _0x4cdaf0['NotFunction']:return _0x47a82d['NAME'];case _0x4cdaf0[_0x40b2f0(0x1ba)]:return _0x47a82d[_0x40b2f0(0x249)];case _0x4cdaf0['BadReference']:return _0x47a82d[_0x40b2f0(0x153)];}}return _0xc13bf5;}function ge(_0x5a4021,_0x47630a,_0xd6fab1=!0x1,_0x319a45=!0x1){const _0x301a4f=_0x568d43,{data:_0x5ef8a1}=_0x47630a,_0x20c3c5=_0x47630a['getRowCount'](),_0x461240=_0x47630a[_0x301a4f(0xe6)]();if(_0x20c3c5<=0x0||_0x461240<=0x0)return[];const _0x17f186=_0x47630a[_0x301a4f(0x29b)](),_0xdbd854=_0x47630a[_0x301a4f(0x206)](),_0x168d08=_0x319a45?_0xdbd854>=0x0?_0xdbd854+0x1:0x0:_0x20c3c5,_0x167720=_0x319a45?_0x17f186>=0x0?_0x17f186+0x1:0x0:_0x461240,{row:_0x555153,col:_0x1d8dbd}=_0x5a4021,_0x393cc6=_0x555153,_0x472caa=_0x1d8dbd;if(_0xd6fab1){const _0x10957a=[];for(const [_0x996700,_0x5d2f82]of Object[_0x301a4f(0x2b6)](_0x5ef8a1))for(const [_0x181273,_0xc03078]of Object['entries'](_0x5d2f82))_0x10957a[_0x301a4f(0x179)](_0x41bcd3(_0x393cc6+Number(_0x996700),_0x472caa+Number(_0x181273)));return _0x10957a;}else{const _0x5e5a56=_0x319a45?_0x168d08>0x0?0x1:0x0:0x1,_0x278cbf=_0x319a45?_0x167720>0x0?0x1:0x0:0x1,_0x122474=_0x555153+_0x168d08-_0x5e5a56,_0x30536d=_0x1d8dbd+_0x167720-_0x278cbf;return[{'startRow':_0x393cc6,'startColumn':_0x472caa,'endRow':_0x122474,'endColumn':_0x30536d}];}}const q=_0x568d43(0x1ef),Jt=_0x568d43(0x2c5);var A=(_0x18ef0b=>(_0x18ef0b[_0x568d43(0x22f)]=_0x568d43(0x1a1),_0x18ef0b[_0x568d43(0x2a3)]=_0x568d43(0x133),_0x18ef0b[_0x568d43(0x102)]=_0x568d43(0x217),_0x18ef0b[_0x568d43(0xf5)]=_0x568d43(0xf5),_0x18ef0b[_0x568d43(0x103)]='addPivotTable',_0x18ef0b[_0x568d43(0x33b)]=_0x568d43(0x2bf),_0x18ef0b[_0x568d43(0x2a6)]=_0x568d43(0x32c),_0x18ef0b[_0x568d43(0x250)]='setPivotCollapse',_0x18ef0b[_0x568d43(0x2dd)]=_0x568d43(0x32d),_0x18ef0b['SetPivotSort']=_0x568d43(0x1bc),_0x18ef0b[_0x568d43(0x33a)]=_0x568d43(0xeb),_0x18ef0b[_0x568d43(0x2af)]=_0x568d43(0x1fa),_0x18ef0b[_0x568d43(0xf0)]=_0x568d43(0x25d),_0x18ef0b['DrillDown']='drillDown',_0x18ef0b['SetValuePivotFilter']=_0x568d43(0x2cb),_0x18ef0b[_0x568d43(0x210)]='setPivotTableConfig',_0x18ef0b[_0x568d43(0x142)]=_0x568d43(0x2ee),_0x18ef0b))(A||{});const Mi={'sheets-pivot.blankValue':_0x568d43(0x211),'sheets-pivot.columnName':_0x568d43(0x264),'sheets-pivot.subTotalText':_0x568d43(0x170),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x568d43(0x14c),'sheets-pivot.averageName':_0x568d43(0x19f),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x568d43(0x1f7),'sheets-pivot.minName':_0x568d43(0xde),'sheets-pivot.productName':_0x568d43(0x11d),'sheets-pivot.stdDevName':_0x568d43(0x1f8),'sheets-pivot.stdDevpName':_0x568d43(0x1d2),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x568d43(0x344),'sheets-pivot.subTotal':_0x568d43(0x237),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x568d43(0x2fa),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x568d43(0x22f),'sheets-pivot.emptyPivot.row':_0x568d43(0x226),'sheets-pivot.emptyPivot.column':_0x568d43(0x146),'sheets-pivot.emptyPivot.values':'Values'},yo={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},Se=_0x4d9f54(_0x568d43(0x14a)),$o=_0x4ca49f('pivotMutationGenerate');var ke=(_0x3802cd=>(_0x3802cd[_0x568d43(0x224)]='add',_0x3802cd[_0x568d43(0x1a3)]='delete',_0x3802cd['update']=_0x568d43(0x2de),_0x3802cd))(ke||{}),L=(_0x4b1450=>(_0x4b1450['Add']=_0x568d43(0x224),_0x4b1450[_0x568d43(0x124)]=_0x568d43(0x2a8),_0x4b1450[_0x568d43(0x1af)]=_0x568d43(0x1a3),_0x4b1450))(L||{});const jo={0x0:'G',0x1:'2',0x2:'0',0x3:'V',0x4:'i',0x5:'K',0x6:'v',0x7:'F',0x8:'T',0x9:'6','d':'1','m':'3','F':'4','A':'5','T':'7','l':'8','w':'9','Z':'a','f':'b','a':'c','s':'d','S':'e','b':'f','U':'g','P':'h','j':'j','K':'k','E':'l','e':'m','J':'n','g':'o','h':'p','R':'q','B':'r','c':'s','y':'t','v':'u','Y':'w','q':'x','z':'y','W':'z','k':'A','o':'B','p':'C','N':'D','n':'E','x':'H','Q':'I','G':'J','r':'L','X':'M','t':'N','H':'O','I':'P','i':'Q','L':'R','u':'S','O':'U','C':'W','D':'X','V':'Y','M':'Z'},Wo=_0x568d43(0x136),ro={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x33c),'handler':()=>!0x0},lo={'type':_0x30df22[_0x568d43(0xfb)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},Dt={'type':_0x30df22['MUTATION'],'id':_0x568d43(0x1d9),'handler':()=>!0x0},co={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0xea),'handler':()=>!0x0},uo={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x1d7),'handler':()=>!0x0},wi=_0x5ddc16=>{const _0x3384ae=_0x568d43;var _0x195676;return((_0x195676=_0x5ddc16[_0x3384ae(0x174)])==null?void 0x0:_0x195676[_0x3384ae(0xd4)][_0x3384ae(0x258)](/\r\n$/,''))||'';};class _i extends _0x500381{constructor(_0x5e8c13,_0x319fe5){const _0x4c8151=_0x568d43;super(),E(this,'rangeKeyMap',{}),E(this,_0x4c8151(0x278)),E(this,_0x4c8151(0x1cd)),(this[_0x4c8151(0x278)]=_0x319fe5,this['_host']=_0x5e8c13);}[_0x568d43(0x1e1)](){const _0x3b9b95=_0x568d43;for(const _0x37440c in this[_0x3b9b95(0x16d)]){const _0x4701ad=this['dataFields'][_0x37440c],_0x4272ee=_0x4701ad['getRangeKey']();this['rangeKeyMap'][_0x4272ee]=_0x4701ad[_0x3b9b95(0xe0)]();}}[_0x568d43(0x1e5)](){const _0x295413=_0x568d43,_0x51b771=this['_host'];return Vi[_0x295413(0x166)](_0x51b771);}[_0x568d43(0x184)](_0x397c34){const _0x45fc49=_0x568d43,_0xaf69c8=this[_0x45fc49(0x16d)][_0x397c34][_0x45fc49(0x28e)];delete this[_0x45fc49(0x16d)][_0x397c34],delete this['rangeKeyMap'][_0xaf69c8];}[_0x568d43(0x164)](_0x28641e){const _0x53fd17=_0x568d43;this[_0x53fd17(0x16d)][_0x28641e['getId']()]=_0x28641e;}[_0x568d43(0x148)](_0x30b416){const _0x4f7341=_0x568d43;var _0x1d229e,_0x3388cb;const _0x3e191d=this['_host']['getTargetByPivotId'](_0x30b416);if(_0x3e191d){const {unitId:_0xdf3b76,subUnitId:_0x24fc4a}=_0x3e191d,_0x5a1478=(_0x1d229e=this[_0x4f7341(0x1cd)]['getPivotTableConfig'](_0xdf3b76,_0x24fc4a,_0x30b416))==null?void 0x0:_0x1d229e[_0x4f7341(0xe1)];this[_0x4f7341(0x1cd)][_0x4f7341(0xe7)]({'token':_0x30b416,'type':ke['delete'],'dataRangeInfo':_0x5a1478});}(_0x3388cb=this['getCollection'](_0x30b416))==null||_0x3388cb[_0x4f7341(0x272)](),delete this['collections'][_0x30b416];}['getRangeKey'](_0x44dbde,_0x5b2f0e){const {sheetName:_0x5eee66,unitId:_0x2d1636,range:_0x592562}=_0x44dbde,{startRow:_0x2e2422,endRow:_0x2b4b26}=_0x592562;return _0x352ebb(_0x2d1636,_0x5eee66,{'startRow':_0x2e2422,'endRow':_0x2b4b26,'startColumn':_0x5b2f0e,'endColumn':_0x5b2f0e});}['getDataFieldByRangeKey'](_0x1f53fe){const _0x630c8e=_0x568d43;return this[_0x630c8e(0x16d)][this['rangeKeyMap'][_0x1f53fe]];}[_0x568d43(0x320)](_0x9072c4,_0x59f597){const _0x5720d4=_0x568d43;this[_0x5720d4(0x2a9)][_0x9072c4]=_0x59f597;}[_0x568d43(0x1e8)](_0x112857,_0x362f91){const _0x2014bd=_0x568d43;this[_0x2014bd(0x2a9)][_0x362f91]=this[_0x2014bd(0x2a9)][_0x112857],delete this['rangeKeyMap'][_0x112857];}[_0x568d43(0x1e3)](_0x25fa97,_0x36f20d,_0x42d3c3,_0x64e7b9){const _0x3ffe71=_0x568d43,_0x4dd5f1=new _0x3ca9b9(this);_0x4dd5f1['fromJSON'](_0x36f20d);const _0x9b86=[];let _0x31ccc9=0x0;for(const _0x5165be of _0x4dd5f1[_0x3ffe71(0x197)]){const _0x141ee6=this[_0x3ffe71(0x12f)](_0x42d3c3,_0x31ccc9),_0x27388b=this[_0x3ffe71(0x16d)][_0x5165be];_0x27388b&&(_0x27388b[_0x3ffe71(0x28e)]=_0x141ee6,this[_0x3ffe71(0x320)](_0x141ee6,_0x5165be),_0x9b86[_0x3ffe71(0x179)]({'index':_0x31ccc9,'dataField':_0x27388b})),_0x31ccc9++;}return this[_0x3ffe71(0x19e)](_0x25fa97,_0x4dd5f1,_0x42d3c3,_0x64e7b9),{'collection':_0x4dd5f1,'updateDataFieldList':_0x9b86};}[_0x568d43(0x34d)](_0x5f3794,_0x35281a){const _0x5ec51d=_0x568d43;return _0x5f3794[_0x5ec51d(0x2cf)]===_0x52be76[_0x5ec51d(0x1a5)]?{'startRow':0x0,'startColumn':_0x5f3794['startColumn'],'endRow':_0x35281a[_0x5ec51d(0x298)]()-0x1,'endColumn':_0x5f3794[_0x5ec51d(0x351)]}:{'startRow':_0x5f3794[_0x5ec51d(0x13e)],'startColumn':_0x5f3794[_0x5ec51d(0x13f)],'endRow':_0x5f3794[_0x5ec51d(0xec)],'endColumn':_0x5f3794[_0x5ec51d(0x351)]};}[_0x568d43(0x120)](_0x23b752){const _0x1e5cb0=_0x568d43,{sheetName:_0x52b853,range:_0x1eb826}=_0x23b752,_0x3a9f83=this[_0x1e5cb0(0x278)][_0x1e5cb0(0x21b)](_0x278b7f['UNIVER_SHEET']),_0x20d0d5=_0x3a9f83[_0x1e5cb0(0x112)](_0x52b853),_0x49ffa8=_0x20d0d5[_0x1e5cb0(0x30c)](),{startColumn:_0x3581b6,startRow:_0x47c655,endColumn:_0x2d45e2}=this[_0x1e5cb0(0x34d)](_0x1eb826,_0x20d0d5),_0x172cdd=_0x3a9f83[_0x1e5cb0(0x161)](),_0x5c6b22=new _0x3ca9b9(this);_0x5c6b22[_0x1e5cb0(0x25c)](_0x23b752);const _0x594788=[],_0x1f9dce={};for(let _0x3856e3=_0x3581b6;_0x3856e3<=_0x2d45e2;_0x3856e3++){const _0x8727f=_0x49ffa8['getValue'](_0x47c655,_0x3856e3),_0x269f99=this[_0x1e5cb0(0x12f)](_0x23b752,_0x3856e3),_0x5cf8b2=this['getDataFieldByRangeKey'](_0x269f99);if(_0x5cf8b2)_0x5c6b22[_0x1e5cb0(0x288)](_0x5cf8b2[_0x1e5cb0(0xe0)](),_0x5cf8b2['getName']());else{const _0x37dcd1=this[_0x1e5cb0(0x270)]();let _0x2bea08=this[_0x1e5cb0(0x21f)](_0x8727f,_0x172cdd,_0x1f9dce);_0x2b5097(_0x2bea08)&&(_0x2bea08=_0x114c51[_0x1e5cb0(0x22b)](_0x2bea08['f'],Number(_0x2bea08['v'])));const _0x388a74=this[_0x1e5cb0(0x241)](_0x2bea08,_0x3856e3),_0x4e4a37=new _0x5a7e03(_0x37dcd1,_0x388a74,_0x67f86b(0x3));_0x4e4a37[_0x1e5cb0(0x28e)]=_0x269f99,this['dataFields'][_0x37dcd1]=_0x4e4a37,_0x5c6b22[_0x1e5cb0(0x288)](_0x37dcd1,_0x388a74),_0x594788[_0x1e5cb0(0x179)]({'index':_0x3856e3,'dataField':_0x4e4a37});}}return{'updateDataFieldList':_0x594788,'collection':_0x5c6b22};}[_0x568d43(0x1b1)](_0x3e5933){const _0x573ddb=_0x568d43;return this[_0x573ddb(0x1cd)][_0x573ddb(0x2f9)]()['sheets-pivot.columnName']+'\x20'+_0x18d8b2(_0x3e5933);}['uniqueDataFieldName'](_0x7f3443,_0x3c074c){const _0x1341a8=_0x568d43;return _0x7f3443==null||_0x7f3443===''?this[_0x1341a8(0x1b1)](_0x3c074c):String(_0x7f3443);}['getCollection'](_0x396b27){return this['collections'][_0x396b27];}[_0x568d43(0x19e)](_0x5c7ac9,_0x1d35e0,_0x3c21ba,_0x2ef5d7){const _0x114cb0=_0x568d43;this[_0x114cb0(0x175)][_0x5c7ac9]=_0x1d35e0,_0x1d35e0[_0x114cb0(0x25c)](_0x3c21ba),this['_host'][_0x114cb0(0xe7)]({'token':_0x5c7ac9,'type':ke['add'],'dataRangeInfo':_0x3c21ba,'targetCellInfo':_0x2ef5d7});}[_0x568d43(0x204)](_0x3a12a7,_0x4d8219){const _0x3e6f45=_0x568d43,_0x341aa9=this[_0x3e6f45(0xe9)](_0x3a12a7),_0xfbd529=_0x341aa9[_0x3e6f45(0x1da)]();let _0x50df1b=0x0;for(const _0x240d31 of _0xfbd529){const _0x2979ab=_0x341aa9[_0x3e6f45(0x140)](_0x240d31),_0x24c934=this['getRangeKey'](_0x4d8219,_0x50df1b);this[_0x3e6f45(0x1e8)](_0x2979ab[_0x3e6f45(0x28e)],_0x24c934),_0x50df1b++;}}[_0x568d43(0x11f)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x57e196,_0x35f53d){const _0x179e5e=_0x568d43;if(this['getCollection'](_0x57e196)){const _0x39c62a=this['getRangeKeyList'](_0x35f53d),_0x2f4e20=[];for(const _0x342640 of _0x39c62a)this[_0x179e5e(0x2a9)][_0x342640]!==void 0x0&&_0x2f4e20['push'](this[_0x179e5e(0x2a9)][_0x342640]);const _0x289c29=this['getNoUsedDataFieldIds'](_0x57e196),_0x14a909=[],_0x5439e8=new Set(_0x2f4e20);for(const _0x419aff of _0x289c29)_0x5439e8[_0x179e5e(0x130)](_0x419aff)||_0x14a909[_0x179e5e(0x179)](_0x419aff);return _0x14a909;}}['getMatrixValue'](_0x501661,_0x51ad94,_0x2dff6a,_0x47ac09,_0x409c55){const _0x3627ec=_0x568d43;return _0x51ad94&&_0x51ad94[_0x3627ec(0x225)](_0x47ac09,_0x409c55)?_0x51ad94[_0x3627ec(0x225)](_0x47ac09,_0x409c55):_0x2dff6a&&_0x2dff6a['getValue'](_0x47ac09,_0x409c55)?_0x2dff6a[_0x3627ec(0x225)](_0x47ac09,_0x409c55):_0x501661[_0x3627ec(0x225)](_0x47ac09,_0x409c55);}['refreshDataField'](_0x5798c7,_0x364fef,_0x5ac1f4,_0x59634d){const _0xfd74ab=_0x568d43,_0x221e39=this['dataFields'][_0x5798c7];if(!_0x221e39)return;const {subUnitId:_0x2de3bc,range:_0x383369,unitId:_0x3bfca2}=_0x364fef,_0x34ae96=this[_0xfd74ab(0x278)]['getUnit'](_0x3bfca2);if(!_0x34ae96){console['error'](_0xfd74ab(0x157));return;}const _0x4a41ab=_0x34ae96[_0xfd74ab(0x189)](_0x2de3bc),_0x46dcca=_0x4a41ab[_0xfd74ab(0x30c)](),{arrayFormulaCellDataMatrix:_0x10666d,unitDataMatrix:_0x2d4941}=_0x59634d||{},{startRow:_0x4c6078,startColumn:_0x22add0,endRow:_0xeb1185}=this[_0xfd74ab(0x34d)](_0x383369,_0x4a41ab);_0x221e39[_0xfd74ab(0x22a)]();const _0x12eacd=_0x34ae96['getStyles'](),_0x595ab2={},_0x47daa0=this[_0xfd74ab(0xe4)](_0x46dcca,_0x10666d,_0x2d4941,_0x4c6078,_0x22add0+_0x5ac1f4);let _0x2585bc=this['adjustSheetCellData'](_0x47daa0,_0x12eacd,_0x595ab2);_0x2b5097(_0x2585bc)&&(_0x2585bc=_0x114c51[_0xfd74ab(0x22b)](_0x2585bc['f'],Number(_0x2585bc['v'])));const _0x12da4e=this[_0xfd74ab(0x241)](_0x2585bc,_0x22add0+_0x5ac1f4);_0x221e39[_0xfd74ab(0x312)](_0x12da4e);for(let _0xb6f528=_0x4c6078+0x1;_0xb6f528<=_0xeb1185;_0xb6f528++){const _0x35d135=this[_0xfd74ab(0xe4)](_0x46dcca,_0x10666d,_0x2d4941,_0xb6f528,_0x22add0+_0x5ac1f4);_0x221e39['addRecord'](this['adjustSheetCellData'](_0x35d135,_0x12eacd,_0x595ab2),_0xb6f528-0x1-_0x4c6078);}}[_0x568d43(0x132)](_0x18bab8,_0x45ae64,_0x13ee2f){const _0x4d56f2=_0x568d43,{subUnitId:_0x392bb5,range:_0x61fd8,unitId:_0x343408}=_0x13ee2f,_0x422523=this['_univerInstanceService']['getUnit'](_0x343408);if(!_0x422523){console[_0x4d56f2(0x129)](_0x4d56f2(0x157));return;}const _0x5d12c5=_0x422523[_0x4d56f2(0x189)](_0x392bb5),_0x29e6fa=_0x5d12c5[_0x4d56f2(0x30c)](),{startRow:_0x1bfe7d,startColumn:_0x411b3c,endRow:_0x1f9068}=this[_0x4d56f2(0x34d)](_0x61fd8,_0x5d12c5),_0x31e795=_0x422523[_0x4d56f2(0x161)](),_0x4fe6ec={};for(const {dataField:_0x473354,index:_0x48570f}of _0x45ae64){_0x473354['reset']();const _0x1d37c0=this[_0x4d56f2(0xe4)](_0x29e6fa,void 0x0,void 0x0,_0x1bfe7d,_0x411b3c+_0x48570f);let _0x59ef4b=this[_0x4d56f2(0x21f)](_0x1d37c0,_0x31e795,_0x4fe6ec);_0x2b5097(_0x59ef4b)&&(_0x59ef4b=_0x114c51[_0x4d56f2(0x22b)](_0x59ef4b['f'],Number(_0x59ef4b['v'])));const _0x2ec02f=this[_0x4d56f2(0x241)](_0x59ef4b,_0x411b3c+_0x48570f);_0x473354['setName'](_0x2ec02f);}_0x18bab8[_0x4d56f2(0x29a)]();for(let _0x3c21f2=_0x1bfe7d+0x1;_0x3c21f2<=_0x1f9068;_0x3c21f2++)for(const {index:_0x4c1a2e,dataField:_0x29e5d6}of _0x45ae64){const _0x18f347=_0x29e6fa[_0x4d56f2(0x225)](_0x3c21f2,_0x411b3c+_0x4c1a2e);_0x29e5d6[_0x4d56f2(0x121)](this['adjustSheetCellData'](_0x18f347,_0x31e795,_0x4fe6ec),_0x3c21f2-0x1-_0x1bfe7d);}_0x18bab8[_0x4d56f2(0x14b)](_0x1f9068-_0x1bfe7d);}[_0x568d43(0x246)](_0x902960){const _0x15f4cf=_0x568d43,{range:_0x521cf1}=_0x902960,{startColumn:_0xef5a38,endColumn:_0x37f27d}=_0x521cf1,_0x4f7e19=[];for(let _0xaf2547=_0xef5a38;_0xaf2547<=_0x37f27d;_0xaf2547++)_0x4f7e19[_0x15f4cf(0x179)](this[_0x15f4cf(0x12f)](_0x902960,_0xaf2547));return _0x4f7e19;}[_0x568d43(0x21f)](_0x20f081,_0x40f73f,_0x3f9bdd){const _0x126e01=_0x568d43;if(_0x20f081){const {s:_0x4a1601,v:_0x58c95e,t:_0x23dd26,p:_0x5987ec}=_0x20f081;if(_0x5987ec)return wi(_0x5987ec);const _0x4c903b=_0x40f73f[_0x126e01(0x194)](_0x4a1601);if(_0x4c903b&&_0x23dd26===_0x5610a3['NUMBER']&&_0x4c903b['n']){const {pattern:_0x2b7a82}=_0x4c903b['n'];_0x3f9bdd[_0x2b7a82]||(_0x3f9bdd[_0x2b7a82]=_0x114c51['getInfo'](_0x2b7a82));const _0x206fae=_0x3f9bdd[_0x2b7a82],_0x4bbe43=_0x206fae[_0x126e01(0x155)];if(_0x206fae[_0x126e01(0x31e)])return String(_0x58c95e);if(_0x4bbe43)return{'v':_0x58c95e,'f':_0x2b7a82};}if(_0x23dd26===_0x5610a3[_0x126e01(0x244)])return Number(_0x58c95e);if(_0x23dd26===_0x5610a3[_0x126e01(0x1b3)]||_0x23dd26===_0x5610a3[_0x126e01(0x1b9)])return String(_0x58c95e);if(_0x23dd26===void 0x0){const _0x19a2b2=Number(_0x58c95e);if(!Number[_0x126e01(0x1f1)](_0x19a2b2)&&String(_0x19a2b2)===_0x58c95e)return _0x19a2b2;}return _0x58c95e!=null?_0x58c95e:null;}else return null;}['getRangeData'](_0x2d6be5){const _0x3a933c=_0x568d43,{sheetName:_0x3aa4b3,range:_0x3ae808,unitId:_0x85c724}=_0x2d6be5,_0x2a15e9=this['_univerInstanceService'][_0x3a933c(0x213)](_0x85c724);if(!_0x2a15e9)return console[_0x3a933c(0x129)](_0x3a933c(0x157)),{'header':[],'data':[]};const _0x4dbb09=_0x2a15e9['getSheetBySheetName'](_0x3aa4b3),_0x29d21d=_0x4dbb09[_0x3a933c(0x30c)](),{startRow:_0x3beaf6,startColumn:_0x11ef0a,endRow:_0x8d9103,endColumn:_0x5e9817}=this[_0x3a933c(0x34d)](_0x3ae808,_0x4dbb09),_0x31aa96=_0x2a15e9[_0x3a933c(0x161)](),_0x21fef5=[],_0x34f2c4=[],_0x1930ef={};for(let _0x38bcbc=_0x3beaf6;_0x38bcbc<=_0x8d9103;_0x38bcbc++){const _0x4a2ff8=[];for(let _0x4bf98a=_0x11ef0a;_0x4bf98a<=_0x5e9817;_0x4bf98a++){const _0x2505fc=_0x29d21d[_0x3a933c(0x225)](_0x38bcbc,_0x4bf98a);_0x38bcbc===_0x3beaf6?_0x21fef5['push'](_0x2505fc==null?null:String(_0x2505fc['v'])):_0x4a2ff8[_0x3a933c(0x179)](this['adjustSheetCellData'](_0x2505fc,_0x31aa96,_0x1930ef));}_0x34f2c4[_0x3a933c(0x179)](_0x4a2ff8);}return{'header':_0x21fef5,'data':_0x34f2c4};}[_0x568d43(0x265)](){const _0x5eb83a=_0x568d43;return super[_0x5eb83a(0x265)]();}[_0x568d43(0x283)](_0x3ef668){const _0x183e10=_0x568d43;super[_0x183e10(0x283)](_0x3ef668),this['initDataRanges']();}['dispose'](){const _0x422e82=_0x568d43;super[_0x422e82(0x272)](),this['rangeKeyMap']={},this[_0x422e82(0x1cd)]=null;}}const Fi=_0x89a2fe=>{const _0x4a8d9e=_0x568d43,{targetCellInfo:_0x4ef101}=_0x89a2fe,{matrixCache:_0x2a0223,rangesCache:_0xbb476f}=Go({'filter':_0x4a8d9e(0x22f),'row':_0x4a8d9e(0x226),'column':'Column','values':_0x4a8d9e(0x123)},_0x4ef101),_0x4cdd29=new _0x57c969();return _0x2a0223[_0x4a8d9e(0x163)]((_0x40b75,_0x1cffdd,_0x3d098a)=>{const _0xcc7389=_0x4a8d9e;_0x4cdd29[_0xcc7389(0x160)](_0x40b75,_0x1cffdd,_0x3d098a);}),{'matrix':_0x4cdd29,'rangesCache':_0xbb476f};},st=_0x9e5500=>{const _0x341f1f=_0x568d43;let _0x36eb76;if(_0x9e5500!=null&&_0x9e5500['v']||(_0x9e5500==null?void 0x0:_0x9e5500['v'])===0x0){_0x36eb76||(_0x36eb76={});const _0x595df6=Lo(_0x9e5500['v']);typeof _0x595df6==_0x341f1f(0x1df)?_0x36eb76['t']=_0x5610a3[_0x341f1f(0x244)]:typeof _0x595df6=='string'&&(_0x36eb76['t']=_0x5610a3['STRING']),_0x36eb76['v']=_0x595df6;}return _0x36eb76;},Ri=(_0x4427c4,_0x2f55de,_0x191fe1)=>{const _0x461cfb=_0x568d43;var _0xe536ec,_0xacc92c,_0x41a4ec,_0x59dcfc,_0x283e33,_0x1a3774,_0x3aa918,_0x351f17,_0x17d5c5,_0x4e7b17,_0xa15684,_0x4ca400;const {cornerView:_0x3bc458,rowView:_0x13edbb,colView:_0x4e38e0,dataView:_0x4add93,pageView:_0x495556,formatMap:_0x2bd959}=_0x4427c4,{row:_0x318e59,col:_0x5f0439}=_0x2f55de,_0x186fc8=new _0x57c969();let _0x4a9ff9=_0x318e59,_0x14f774=_0x5f0439;Object[_0x461cfb(0x33e)](_0x495556[_0x461cfb(0x30f)])[_0x461cfb(0x2d3)](_0x1dae77=>{const _0x210ae1=_0x461cfb;Object[_0x210ae1(0x33e)](_0x495556[_0x210ae1(0x30f)][Number(_0x1dae77)])[_0x210ae1(0x2d3)](_0x3aa701=>{const _0x542bd0=_0x210ae1,_0x4970b5={..._0x495556['data'][Number(_0x1dae77)][Number(_0x3aa701)]};_0x186fc8[_0x542bd0(0x160)](Number(_0x1dae77)+_0x4a9ff9,Number(_0x3aa701)+_0x14f774,st(_0x4970b5));});});const _0x13c830=Object[_0x461cfb(0x33e)](_0x495556[_0x461cfb(0x30f)])[_0x461cfb(0x28f)];_0x4a9ff9+=_0x13c830+(_0x13c830?It:0x0);const _0x39b3e5=_0x3bc458[_0x461cfb(0x298)](),_0x40bc94=_0x3bc458[_0x461cfb(0xe6)]();for(let _0x441ca7=0x0;_0x441ca7<_0x39b3e5;_0x441ca7++)for(let _0x8e0824=0x0;_0x8e0824<_0x40bc94;_0x8e0824++){const _0x42cb2e={...(_0xacc92c=(_0xe536ec=_0x3bc458[_0x461cfb(0x30f)])==null?void 0x0:_0xe536ec[_0x441ca7])==null?void 0x0:_0xacc92c[_0x8e0824]};_0x42cb2e&&((_0x41a4ec=_0x13edbb[_0x461cfb(0x2a5)][_0x8e0824])!=null&&_0x41a4ec[_0x461cfb(0x1c0)])&&_0x8e0824===_0x40bc94-0x1&&_0x441ca7===_0x39b3e5-0x1&&(_0x42cb2e['v']=''+_0x191fe1[_0x461cfb(0x263)]),_0x186fc8[_0x461cfb(0x160)](_0x441ca7+_0x4a9ff9,_0x8e0824+_0x14f774,st(_0x42cb2e));}_0x14f774+=_0x40bc94;const _0x2d138d=_0x4e38e0[_0x461cfb(0x2a5)],_0x32e03e=_0x4e38e0['getLastRow']()>=0x0?_0x4e38e0['getLastRow']()+0x1:0x0,_0x1f9361=_0x4e38e0[_0x461cfb(0x29b)]()>=0x0?_0x4e38e0['getLastCol']()+0x1:0x0;for(let _0x1d168c=0x0;_0x1d168c<_0x1f9361;_0x1d168c++)for(let _0x3d374b=0x0;_0x3d374b<_0x32e03e;_0x3d374b++){const _0x220fd6={...(_0x283e33=(_0x59dcfc=_0x4e38e0[_0x461cfb(0x30f)])==null?void 0x0:_0x59dcfc[_0x1d168c])==null?void 0x0:_0x283e33[_0x3d374b]},_0x420829=(_0x1a3774=_0x2d138d[_0x1d168c])==null?void 0x0:_0x1a3774[_0x461cfb(0x34f)],_0x43e9bc=_0x2bd959[_0x420829];_0x220fd6&&(_0x220fd6['v']=ht(_0x220fd6,_0x1d168c===0x0&&((_0x3aa918=_0x4e38e0[_0x461cfb(0x1be)](_0x3d374b+0x1))==null?void 0x0:_0x3aa918[_0x461cfb(0x1c0)]),_0x43e9bc,_0x191fe1)),_0x186fc8[_0x461cfb(0x160)](_0x1d168c+_0x4a9ff9,_0x3d374b+_0x14f774,st(_0x220fd6));}_0x4a9ff9+=_0x39b3e5;const _0x2d7220=_0x13edbb[_0x461cfb(0x2a5)],_0x1d06db=_0x13edbb['getLastRow']()>=0x0?_0x13edbb['getLastRow']()+0x1:0x0,_0x250c18=_0x13edbb[_0x461cfb(0x29b)]()>=0x0?_0x13edbb[_0x461cfb(0x29b)]()+0x1:0x0;for(let _0x51c1a1=0x0;_0x51c1a1<_0x1d06db;_0x51c1a1++)for(let _0x15d4d2=0x0;_0x15d4d2<_0x250c18;_0x15d4d2++){const _0x283b51={...(_0x17d5c5=(_0x351f17=_0x13edbb['data'])==null?void 0x0:_0x351f17[_0x51c1a1])==null?void 0x0:_0x17d5c5[_0x15d4d2]},_0x204860=(_0x4e7b17=_0x2d7220[_0x15d4d2])==null?void 0x0:_0x4e7b17[_0x461cfb(0x34f)],_0x40f087=_0x2bd959[_0x204860];_0x283b51&&(_0x283b51['v']=ht(_0x283b51,!0x1,_0x40f087,_0x191fe1)),_0x186fc8['setValue'](_0x51c1a1+_0x4a9ff9,_0x15d4d2+_0x5f0439,st(_0x283b51));}const _0x482ff4=_0x4add93[_0x461cfb(0x298)](),_0x212103=_0x4add93[_0x461cfb(0xe6)]();for(let _0x3cd856=0x0;_0x3cd856<_0x482ff4;_0x3cd856++)for(let _0x41ff36=0x0;_0x41ff36<_0x212103;_0x41ff36++){const _0x11d275={...(_0x4ca400=(_0xa15684=_0x4add93[_0x461cfb(0x30f)])==null?void 0x0:_0xa15684[_0x3cd856])==null?void 0x0:_0x4ca400[_0x41ff36]};_0x186fc8[_0x461cfb(0x160)](_0x3cd856+_0x4a9ff9,_0x41ff36+_0x14f774,st(_0x11d275));}return _0x186fc8;},Di=_0x1e7ddb=>{const _0x1b1efa=_0x568d43,{view:_0x538b04,targetCellInfo:_0x3879a3,isEmpty:_0x3fd471,textInfo:_0x1535c4}=_0x1e7ddb;if(_0x3fd471)return Fi(_0x1e7ddb);const {pageView:_0x107eed,cornerView:_0x573b53,rowView:_0x34feb2,colView:_0x4aa16e,dataView:_0x61d791}=_0x538b04,_0x141a4a=ge(_0x3879a3,_0x107eed,!0x0),_0x287b7b=_0x107eed[_0x1b1efa(0x12d)]>=0x0?_0x107eed[_0x1b1efa(0x12d)]+0x1:0x0,_0x152e3c=_0x573b53[_0x1b1efa(0x298)](),_0x5c4f80=_0x573b53[_0x1b1efa(0xe6)](),_0x4a5402=_0x141a4a[_0x1b1efa(0x28f)]>0x0?It:0x0,_0x4a1e06=ge({'row':_0x3879a3[_0x1b1efa(0xdb)]+_0x287b7b+_0x4a5402,'col':_0x3879a3['col']},_0x573b53,!0x1,!0x1),_0x50081c=ge({'row':_0x3879a3[_0x1b1efa(0xdb)]+_0x287b7b+_0x4a5402+_0x152e3c,'col':_0x3879a3['col']},_0x34feb2,!0x1,!0x0),_0x5d7554=ge({'row':_0x3879a3['row']+_0x287b7b+_0x4a5402,'col':_0x3879a3['col']+_0x5c4f80},_0x4aa16e,!0x1,!0x0),_0x37f0e5=ge({'row':_0x3879a3['row']+_0x287b7b+_0x4a5402+_0x152e3c,'col':_0x3879a3[_0x1b1efa(0x26f)]+_0x5c4f80},_0x61d791,!0x1,!0x1),_0x224c83={'rowRanges':_0x50081c,'colRanges':_0x5d7554,'cornerRanges':_0x4a1e06,'dataRanges':_0x37f0e5,'pageRanges':_0x141a4a};return{'matrix':Ri(_0x538b04,_0x3879a3,_0x1535c4),'rangesCache':_0x224c83};};var Ni=Object[_0x568d43(0x13a)],Ui=(_0x6a16ee,_0x39023c,_0xac5b45,_0x10506b)=>{for(var _0x1d59fb=_0x10506b>0x1?void 0x0:_0x10506b?Ni(_0x39023c,_0xac5b45):_0x39023c,_0x7c741c=_0x6a16ee['length']-0x1,_0x2de132;_0x7c741c>=0x0;_0x7c741c--)(_0x2de132=_0x6a16ee[_0x7c741c])&&(_0x1d59fb=_0x2de132(_0x1d59fb)||_0x1d59fb);return _0x1d59fb;},Ze=(_0x36a9e4,_0x35d2ba)=>(_0x3debe0,_0x1d88d0)=>_0x35d2ba(_0x3debe0,_0x1d88d0,_0x36a9e4);let $=class extends _0x564bbd{constructor(_0x61235f,_0x3497ef,_0x4a7c0e,_0x5c55b8,_0x321762,_0xaac982){const _0x4f2990=_0x568d43;super(),E(this,_0x4f2990(0x260),new Map()),E(this,'_pivotTableInstanceCache',new Map()),E(this,_0x4f2990(0x332),new Map()),E(this,'_textInfo'),E(this,_0x4f2990(0x35c),new _0x447c66()),E(this,_0x4f2990(0x15a),this[_0x4f2990(0x35c)][_0x4f2990(0x2bd)]()),E(this,_0x4f2990(0x1eb),new _0x447c66()),E(this,_0x4f2990(0x299),this[_0x4f2990(0x1eb)][_0x4f2990(0x2bd)]()),E(this,'_fieldsCollectionChange$',new _0x447c66()),E(this,_0x4f2990(0x271),this[_0x4f2990(0x1fe)]['asObservable']()),E(this,_0x4f2990(0x357),new Map()),E(this,_0x4f2990(0x12c),[]),E(this,_0x4f2990(0x257),new Map()),(this[_0x4f2990(0x2f4)]=_0x61235f,this['_univerInstanceService']=_0x3497ef,this[_0x4f2990(0x215)]=_0x4a7c0e,this[_0x4f2990(0x201)]=_0x5c55b8,this[_0x4f2990(0x2ae)]=_0x321762,this[_0x4f2990(0x31c)]=_0xaac982,this[_0x4f2990(0x2c9)]());}[_0x568d43(0x2f9)](){const _0x25e962=_0x568d43;return this[_0x25e962(0x2d4)]?this[_0x25e962(0x2d4)]:Mi;}[_0x568d43(0x303)](_0x56bcf){const _0xb3ee7a=_0x568d43;this[_0xb3ee7a(0x2d4)]=_0x56bcf;}[_0x568d43(0x204)](_0x28a2e1){const _0x67edb0=_0x568d43;var _0x365655;const {from:_0x39c01d,to:_0x23f813,unitId:_0x53415,fromRange:_0x516497,toRange:_0x2b1a1d}=_0x28a2e1;if(_0x39c01d&&_0x23f813){const _0x2a0640=this[_0x67edb0(0x1f6)](_0x53415),_0x1cc855=this[_0x67edb0(0x260)][_0x67edb0(0x194)](_0x53415),_0x57cc38=(_0x365655=this[_0x67edb0(0x278)]['getUnit'](_0x53415))==null?void 0x0:_0x365655[_0x67edb0(0x189)](_0x23f813[_0x67edb0(0x143)]);if(!_0x1cc855||!_0x57cc38)return;const _0x90fedb=_0x57cc38==null?void 0x0:_0x57cc38['getName']();for(const [_0x508623,_0x51ac76]of _0x1cc855['entries']())for(const [_0x4eb24f,_0x583010]of _0x51ac76[_0x67edb0(0x2b6)]()){const {sourceRangeInfo:_0x28cd45}=_0x583010;if(_0x28cd45[_0x67edb0(0x2ec)]===_0x53415&&_0x28cd45[_0x67edb0(0x143)]===_0x39c01d['subUnitId']&&_0x213a48[_0x67edb0(0x2a0)](_0x516497,_0x28cd45[_0x67edb0(0x21a)])){const _0x1c0597={'row':_0x28cd45['range'][_0x67edb0(0x13e)]-_0x516497['startRow'],'col':_0x28cd45['range'][_0x67edb0(0x13f)]-_0x516497[_0x67edb0(0x13f)]},_0x1cd497={'unitId':_0x53415,'subUnitId':_0x23f813['subUnitId'],'sheetName':_0x90fedb,'range':{'startRow':_0x2b1a1d[_0x67edb0(0x13e)]+_0x1c0597[_0x67edb0(0xdb)],'endRow':_0x2b1a1d[_0x67edb0(0x13e)]+_0x1c0597[_0x67edb0(0xdb)]+_0x28cd45[_0x67edb0(0x21a)]['endRow']-_0x28cd45['range'][_0x67edb0(0x13e)],'startColumn':_0x2b1a1d[_0x67edb0(0x13f)]+_0x1c0597['col'],'endColumn':_0x2b1a1d[_0x67edb0(0x13f)]+_0x1c0597[_0x67edb0(0x26f)]+_0x28cd45[_0x67edb0(0x21a)][_0x67edb0(0x351)]-_0x28cd45[_0x67edb0(0x21a)]['startColumn']}};_0x2a0640[_0x67edb0(0x204)](_0x4eb24f,_0x1cd497);const _0x10e26e={..._0x583010,'sourceRangeInfo':_0x1cd497};this['_updateModelCache'](_0x53415,_0x23f813['subUnitId'],_0x4eb24f,_0x10e26e),this[_0x67edb0(0xe7)]({'unitId':_0x53415,'token':_0x4eb24f,'type':ke[_0x67edb0(0x2de)],'oldSourceRangeInfo':_0x28cd45,'dataRangeInfo':_0x1cd497,'targetCellInfo':_0x583010['targetCellInfo']}),this['updateConfig']({'unitId':_0x53415,'subUnitId':_0x23f813['subUnitId'],'oldSubUnitId':_0x508623,'pivotTableId':_0x4eb24f,'pivotTableConfig':_0x10e26e,'collectionConfig':_0x2a0640[_0x67edb0(0x265)]()});}}}}[_0x568d43(0xe7)](_0x11b806){const _0x170802=_0x568d43;this[_0x170802(0x35c)][_0x170802(0xf7)](_0x11b806);}[_0x568d43(0x1f6)](_0x429f64){const _0x10d618=_0x568d43;let _0x4ec66e=this[_0x10d618(0x357)][_0x10d618(0x194)](_0x429f64);return _0x4ec66e||(_0x4ec66e=new _i(this,this[_0x10d618(0x278)]),this[_0x10d618(0x357)]['set'](_0x429f64,_0x4ec66e)),_0x4ec66e;}[_0x568d43(0xe9)](_0x323277,_0x1dbaf7){const _0x5c49e1=_0x568d43;return this[_0x5c49e1(0x1f6)](_0x323277)[_0x5c49e1(0x175)][_0x1dbaf7];}[_0x568d43(0x1b6)](_0x5ba87e,_0xa53841,_0x4eec6b){const _0x38b2fe=_0x568d43;return this[_0x38b2fe(0x1f6)](_0x5ba87e)['getUpdateRangeDeleteIds'](_0xa53841,_0x4eec6b);}['_ensurePivotMap'](_0x452adf,_0x5259f1){const _0xb4bf2f=_0x568d43;let _0x353bbb=this[_0xb4bf2f(0x260)][_0xb4bf2f(0x194)](_0x452adf);_0x353bbb||(_0x353bbb=new Map(),this[_0xb4bf2f(0x260)][_0xb4bf2f(0x2a8)](_0x452adf,_0x353bbb));let _0xb2ce52=_0x353bbb[_0xb4bf2f(0x194)](_0x5259f1);return _0xb2ce52||(_0xb2ce52=new Map(),_0x353bbb[_0xb4bf2f(0x2a8)](_0x5259f1,_0xb2ce52)),_0xb2ce52;}[_0x568d43(0x35a)](_0x5c4c2b,_0x4415bf,_0x27f607,_0x48fd3c){const _0x454f1f=_0x568d43;this[_0x454f1f(0x1a9)](_0x5c4c2b,_0x4415bf)['set'](_0x27f607,_0x48fd3c);}[_0x568d43(0x291)](_0x166afa,_0x5f263d,_0x49181a){const _0x21538b=_0x568d43;var _0x2e39a4,_0x2a5abf,_0x5c6248,_0x32b331;((_0x2a5abf=(_0x2e39a4=this[_0x21538b(0x260)][_0x21538b(0x194)](_0x166afa))==null?void 0x0:_0x2e39a4[_0x21538b(0x194)](_0x5f263d))==null?void 0x0:_0x2a5abf[_0x21538b(0x194)](_0x49181a))&&((_0x32b331=(_0x5c6248=this['_model'][_0x21538b(0x194)](_0x166afa))==null?void 0x0:_0x5c6248[_0x21538b(0x194)](_0x5f263d))==null||_0x32b331['delete'](_0x49181a));}[_0x568d43(0x22c)](_0x5b8bea,_0x4b1799){const _0x2426b3=_0x568d43;this[_0x2426b3(0x2d6)][_0x2426b3(0x2a8)](_0x5b8bea,_0x4b1799);}[_0x568d43(0x172)](_0x5bea1b){const _0x280c05=_0x568d43;this[_0x280c05(0x2d6)]['delete'](_0x5bea1b);}[_0x568d43(0x2df)](_0x2d1347,_0x2c4a42){const _0x5b3d27=_0x568d43;let _0x205644=this[_0x5b3d27(0x332)]['get'](_0x2d1347);_0x205644||(_0x205644=new Map(),this[_0x5b3d27(0x332)][_0x5b3d27(0x2a8)](_0x2d1347,_0x205644));let _0x236ecc=_0x205644['get'](_0x2c4a42);return _0x236ecc||(_0x236ecc=new Map(),_0x205644[_0x5b3d27(0x2a8)](_0x2c4a42,_0x236ecc)),_0x236ecc;}[_0x568d43(0x185)](_0x40b706){const {unitId:_0x362bf7,subUnitId:_0x208ac6,pivotTableId:_0x37a8ee,pivotTableConfig:_0x5dfcda,collectionConfig:_0x1f80a2}=_0x40b706,_0x197987={'unitId':_0x362bf7,'subUnitId':_0x208ac6,'oldSubUnitId':_0x208ac6,'pivotTableId':_0x37a8ee,'pivotTableConfig':_0x5dfcda,'collectionConfig':_0x1f80a2};this['_commandService']['executeCommand'](co['id'],_0x197987,{'onlyLocal':!0x0});}[_0x568d43(0x19d)](_0x37317a,_0x5db349,_0x3a36cb,_0x3d90fe,_0x110ac7,_0x42f3e6,_0x3d56a3,_0xee1852=!0x1){const _0x3cf5bf=_0x568d43;var _0x5a5478;this[_0x3cf5bf(0x2ae)][_0x3cf5bf(0x2b1)](Dt['id'],{'single':{'unitId':_0x37317a,'subUnitId':_0x5db349,'type':_0x3a36cb,'pivotTableId':_0x3d90fe,'view':_0x110ac7,'pivotConfig':_0x42f3e6},'collectionConfig':{[_0x37317a]:_0x3d56a3}},{'onlyLocal':!0x0});const _0x5c776b=!!((_0x5a5478=this[_0x3cf5bf(0xfa)](_0x3d90fe))!=null&&_0x5a5478['isEmpty']()),_0x516303=this[_0x3cf5bf(0x2db)](_0x37317a,_0x5db349,_0x3d90fe);_0x516303&&this['updateViewData']({'view':_0x110ac7,'pivotTableId':_0x3d90fe,'textInfo':this[_0x3cf5bf(0x2f9)](),'isEmpty':_0x5c776b,'targetCellInfo':_0x516303['targetCellInfo']},_0xee1852);}[_0x568d43(0x119)](_0x2726b1,_0x59254e){const _0x758085=_0x568d43,{targetCellInfo:_0xca552d,pivotTableId:_0x55ed75}=_0x2726b1,{unitId:_0xf19593,subUnitId:_0x27437c}=_0xca552d,_0x202695=this[_0x758085(0x2df)](_0xf19593,_0x27437c),_0x5d4eb2=_0x202695['get'](_0x55ed75);let _0x273de3,_0x28b110;_0x5d4eb2&&(_0x273de3=_0x5d4eb2['rangeCache'],_0x28b110=_0x5d4eb2[_0x758085(0x309)]);const {rangesCache:_0x36119b,matrix:_0x580de3}=Di(_0x2726b1);_0x202695[_0x758085(0x2a8)](_0x55ed75,{'rangeCache':_0x36119b,'matrix':_0x580de3,'oldMatrix':_0x28b110,'oldRangeCache':_0x273de3}),_0x59254e||this[_0x758085(0x1eb)]['next']({'unitId':_0xf19593,'subUnitId':_0x27437c,'pivotTableId':_0x55ed75});}[_0x568d43(0x26b)](_0x8420a,_0x137262,_0x5f56de,_0x28caf3,_0x34aee0){const _0x5ceb28=_0x568d43;this['_updateModelCache'](_0x8420a,_0x137262,_0x5f56de,_0x34aee0),this[_0x5ceb28(0x22c)](_0x5f56de,_0x28caf3);}[_0x568d43(0x302)](_0x381932,_0xf062c4,_0x2069e8){const _0x581c55=_0x568d43,_0x458c1c=this[_0x581c55(0x1f6)](_0x381932);_0x458c1c[_0x581c55(0xd5)](_0x2069e8)[_0x581c55(0x2d3)](_0x5787e3=>{const _0xb141da=_0x581c55;_0x458c1c[_0xb141da(0x184)](_0x5787e3);}),this['removeCollections'](_0x381932,_0x2069e8),this[_0x581c55(0x291)](_0x381932,_0xf062c4,_0x2069e8),this[_0x581c55(0x172)](_0x2069e8);}[_0x568d43(0x2d8)](_0x3e4124,_0x5d5f02,_0x2e4e9b,_0x155ec8){const _0x55f22d=_0x568d43;this[_0x55f22d(0x35a)](_0x3e4124,_0x5d5f02,_0x2e4e9b,_0x155ec8);}[_0x568d43(0x2db)](_0x5a1f0d,_0x436857,_0x223644){const _0x41beef=_0x568d43;var _0x2da78b,_0x227594;const _0x1d6027=(_0x227594=(_0x2da78b=this['_model'][_0x41beef(0x194)](_0x5a1f0d))==null?void 0x0:_0x2da78b[_0x41beef(0x194)](_0x436857))==null?void 0x0:_0x227594['get'](_0x223644);if(_0x1d6027)return _0x1d6027;}[_0x568d43(0x20d)](_0x45118c,_0x3647ca,_0x443eff){const _0x7a9c7a=_0x568d43;var _0x54a0eb,_0x38ca3b;const _0x2aad60=(_0x38ca3b=(_0x54a0eb=this['_model'][_0x7a9c7a(0x194)](_0x45118c))==null?void 0x0:_0x54a0eb[_0x7a9c7a(0x194)](_0x3647ca))==null?void 0x0:_0x38ca3b['get'](_0x443eff);if(_0x2aad60)return _0x2aad60[_0x7a9c7a(0x35b)];}[_0x568d43(0xfa)](_0x5e9c88){const _0x1128a0=_0x568d43;return this[_0x1128a0(0x2d6)][_0x1128a0(0x194)](_0x5e9c88);}[_0x568d43(0x236)](_0x3399b0){const _0x333ee7=_0x568d43;this[_0x333ee7(0x260)]['delete'](_0x3399b0);const _0x2be4e0=this[_0x333ee7(0x357)][_0x333ee7(0x194)](_0x3399b0);_0x2be4e0&&(_0x2be4e0['dispose'](),this[_0x333ee7(0x357)][_0x333ee7(0x1a3)](_0x3399b0)),this['_viewData'][_0x333ee7(0x1a3)](_0x3399b0),this['needSameDeleteModel'][_0x333ee7(0x2d3)](_0x54fc76=>{const _0x33a895=_0x333ee7;_0x54fc76[_0x33a895(0x236)](_0x3399b0);});}[_0x568d43(0x1e3)](_0x3e2ed2,_0x5805cb,_0x4dbe9e,_0x1be2fa){const _0x13bbab=_0x568d43;return this[_0x13bbab(0x1f6)](_0x4dbe9e[_0x13bbab(0x2ec)])[_0x13bbab(0x1e3)](_0x3e2ed2,_0x5805cb,_0x4dbe9e,_0x1be2fa);}[_0x568d43(0x120)](_0x3f2d7a){const _0x5e4f67=_0x568d43;return this[_0x5e4f67(0x1f6)](_0x3f2d7a[_0x5e4f67(0x2ec)])['createCollectionWithDataRange'](_0x3f2d7a);}[_0x568d43(0x132)](_0x305f67,_0x59a9d3,_0x223404){const _0x1f1f0f=_0x568d43;this[_0x1f1f0f(0x1f6)](_0x223404[_0x1f1f0f(0x2ec)])['refreshData'](_0x305f67,_0x59a9d3,_0x223404);}[_0x568d43(0x191)](_0x260f6b,_0x566c96){const _0x3662cb=_0x568d43;this[_0x3662cb(0x1f6)](_0x260f6b)[_0x3662cb(0x184)](_0x566c96);}[_0x568d43(0x353)](_0x3182f6,_0x5ab251){const _0x4007c9=_0x568d43;this[_0x4007c9(0x1f6)](_0x3182f6)['removeCollectionImp'](_0x5ab251);}[_0x568d43(0x243)](_0x34228e,_0x5049fb){const _0x5c7269=_0x568d43;var _0x382900;return(_0x382900=this[_0x5c7269(0x260)][_0x5c7269(0x194)](_0x34228e))==null?void 0x0:_0x382900[_0x5c7269(0x194)](_0x5049fb);}['getTargetByPivotId'](_0x4832fa){const _0x88e92d=_0x568d43;for(const [_0x3384d8,_0x267a0e]of this[_0x88e92d(0x260)][_0x88e92d(0x2b6)]())for(const [_0x2c4b67,_0x3798eb]of _0x267a0e['entries']())if(_0x3798eb[_0x88e92d(0x130)](_0x4832fa))return{'unitId':_0x3384d8,'subUnitId':_0x2c4b67};return null;}[_0x568d43(0x131)](_0x45ea00,_0x1196dd,_0x28778c,_0x5ee5c1){const _0x405fc5=_0x568d43,_0x293c5c=this[_0x405fc5(0x2df)](_0x45ea00,_0x1196dd);_0x5ee5c1?_0x293c5c[_0x405fc5(0x2a8)](_0x28778c,_0x5ee5c1):_0x293c5c['delete'](_0x28778c),this['_viewData$'][_0x405fc5(0xf7)]({'unitId':_0x45ea00,'subUnitId':_0x1196dd,'pivotTableId':_0x28778c});}['dispose'](){const _0xa73a20=_0x568d43;super[_0xa73a20(0x272)]();}[_0x568d43(0x115)](_0x574b16,_0x1f22a8,_0x47a780){const _0x333bbc=_0x568d43;var _0x3a894f,_0x3f0254;const _0x562e5a=(_0x3f0254=(_0x3a894f=this[_0x333bbc(0x332)]['get'](_0x574b16))==null?void 0x0:_0x3a894f[_0x333bbc(0x194)](_0x1f22a8))==null?void 0x0:_0x3f0254[_0x333bbc(0x194)](_0x47a780);return _0x562e5a||null;}[_0x568d43(0x199)](_0x233e8e){const _0x3fedb2=_0x568d43;this[_0x3fedb2(0x259)](_0x233e8e);}[_0x568d43(0x259)](_0xdf2f39){const _0x2b7ade=_0x568d43,{token:_0x45f7f7,unitId:_0x460fc6,subUnitId:_0x3cadb0}=_0xdf2f39,_0x2108e1=_0x460fc6+'-'+_0x3cadb0+'-'+_0x45f7f7;this[_0x2b7ade(0x257)][_0x2b7ade(0x194)](_0x2108e1)&&clearTimeout(this[_0x2b7ade(0x257)][_0x2b7ade(0x194)](_0x2108e1));const _0x25b283=setTimeout(()=>{const _0x353c7a=_0x2b7ade;this[_0x353c7a(0x1e7)](_0xdf2f39),this[_0x353c7a(0x257)][_0x353c7a(0x1a3)](_0x2108e1);},yi);this['_queryingMap'][_0x2b7ade(0x2a8)](_0x2108e1,_0x25b283);}[_0x568d43(0x1e7)](_0x5ca691){const _0x2caefb=_0x568d43,{unitId:_0x15ae98,subUnitId:_0x5ad5ed,token:_0x1f8bdb,type:_0x44a330,pivotConfig:_0x311239}=_0x5ca691,_0x2dd665=this[_0x2caefb(0xfa)](_0x1f8bdb),_0x22e547=_0x2dd665==null?void 0x0:_0x2dd665[_0x2caefb(0x247)](),_0x408c74=_0x311239!=null?_0x311239:this[_0x2caefb(0x2db)](_0x15ae98,_0x5ad5ed,_0x1f8bdb);_0x408c74&&(_0x408c74['isEmpty']=!!(_0x2dd665!=null&&_0x2dd665[_0x2caefb(0x1cb)]())),(_0x22e547||_0x44a330===L[_0x2caefb(0x1af)])&&this[_0x2caefb(0x19d)](_0x15ae98,_0x5ad5ed,_0x44a330,_0x1f8bdb,_0x22e547,_0x408c74,this[_0x2caefb(0x1f6)](_0x15ae98)[_0x2caefb(0x265)]());}[_0x568d43(0x265)](_0xe32adc){const _0x407bc9=_0x568d43,_0x15356d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x407bc9(0x1f6)](_0xe32adc)&&(_0x15356d[_0x407bc9(0x1e6)][_0xe32adc]=this[_0x407bc9(0x1f6)](_0xe32adc)[_0x407bc9(0x265)]()),this[_0x407bc9(0x260)][_0x407bc9(0x194)](_0xe32adc)){_0x15356d[_0x407bc9(0xd3)][_0xe32adc]={};const _0xd7a055=this[_0x407bc9(0x260)]['get'](_0xe32adc);_0xd7a055!=null&&_0xd7a055['size']&&[..._0xd7a055[_0x407bc9(0x33e)]()][_0x407bc9(0x2d3)](_0x55f88c=>{const _0x268381=_0x407bc9,_0x19d733=_0xd7a055['get'](_0x55f88c);_0x19d733!=null&&_0x19d733[_0x268381(0x127)]&&(_0x15356d[_0x268381(0xd3)][_0xe32adc][_0x55f88c]={},[..._0x19d733[_0x268381(0x33e)]()][_0x268381(0x2d3)](_0x44df5a=>{const _0x1dbac2=_0x268381,_0x258391=_0x19d733[_0x1dbac2(0x194)](_0x44df5a);_0x258391&&(_0x15356d['pivotTableConfigs'][_0xe32adc][_0x55f88c][_0x44df5a]=_0x258391);}));});}return _0x15356d;}['fromJSON'](_0x54cfd4){const _0x2785dd=_0x568d43;var _0x3785be;const {dataFieldManagerConfig:_0x3794db,pivotTableConfigs:_0x9217f0}=_0x54cfd4;_0x3794db&&Object[_0x2785dd(0x33e)](_0x3794db)[_0x2785dd(0x2d3)](_0x29ed33=>{const _0x431d95=_0x2785dd;this['getDataFieldManager'](_0x29ed33)[_0x431d95(0x283)](_0x3794db[_0x29ed33]);});const _0xa8b80=[];if(_0x9217f0){const _0x42a1a1=(_0x3785be=this['_injector']['get'](_0x30f8ed)[_0x2785dd(0x311)](_0x3f2e93))!=null?_0x3785be:{},{ls:_0x299333,pbk:_0x4d1fe9}=_0x42a1a1,_0x4e51cc=go(so,_0x299333,_0x4d1fe9)[_0x2785dd(0x1b2)];Object[_0x2785dd(0x33e)](_0x9217f0)[_0x2785dd(0x2d3)](_0x34ea70=>{const _0x4cc798=_0x2785dd;let _0x36ef9a=0x0;const _0x13626e=_0x9217f0[_0x34ea70];Object[_0x4cc798(0x33e)](_0x13626e)[_0x4cc798(0x2d3)](_0x2943cf=>{const _0x1dcbc4=_0x4cc798,_0x1a3f1f=_0x13626e[_0x2943cf];Object[_0x1dcbc4(0x33e)](_0x1a3f1f)['forEach'](_0xe7bb3a=>{const _0x435653=_0x1dcbc4,_0x117060=_0x1a3f1f[_0xe7bb3a];if(_0x117060){if(_0x36ef9a>=_0x4e51cc)return;_0x36ef9a++;const _0x2450a5=this[_0x435653(0x1f6)](_0x34ea70),_0x581f6c=_0x2450a5[_0x435653(0x175)][_0xe7bb3a],_0x1f6bab=_0x581f6c[_0x435653(0x1da)]();let _0x523233=0x0;const _0x2f5b55=[];for(const _0x7542ae of _0x1f6bab){const _0x558b68=_0x581f6c[_0x435653(0x140)](_0x7542ae);if(_0x297820(_0x558b68)){const _0x39e7de=_0x558b68['getOriginFieldId'](),_0x3a7445=_0x581f6c[_0x435653(0x140)](_0x39e7de);_0x3a7445&&_0x2f5b55['push']([_0x558b68,_0x3a7445]);continue;}_0x2450a5[_0x435653(0x27d)](_0x7542ae,_0x117060[_0x435653(0xe1)],_0x523233),_0x523233++;}_0x2f5b55['forEach'](([_0x47e8fb,_0x46c3ca])=>{const _0x41b007=_0x435653;_0x47e8fb[_0x41b007(0x219)](_0x46c3ca);});const _0x569d64=new _0x1c184b(_0x581f6c);_0x569d64['fromJSON'](_0x117060[_0x435653(0x35b)]),this['addPivotTable'](_0x34ea70,_0x2943cf,_0xe7bb3a,_0x569d64,_0x117060);const _0x1a572f=_0x569d64[_0x435653(0x247)]();_0xa8b80[_0x435653(0x179)]({'unitId':_0x34ea70,'subUnitId':_0x2943cf,'pivotTableId':_0xe7bb3a,'view':_0x1a572f[_0x435653(0x265)](),'pivotConfig':_0x117060,'type':L[_0x435653(0x187)]});const _0x37c18e=!!_0x569d64[_0x435653(0x1cb)](),_0x13499b={'view':_0x1a572f,'pivotTableId':_0xe7bb3a,'textInfo':this['getTextInfo'](),'isEmpty':_0x37c18e,'targetCellInfo':_0x117060[_0x435653(0x1a8)]};this[_0x435653(0x119)](_0x13499b,!0x1);}});});});}_0x3794db&&Object['keys'](_0x3794db)[_0x2785dd(0x2d3)](_0x3cd780=>{const _0x2dec9d=_0x2785dd,_0x378a22=this[_0x2dec9d(0x1f6)](_0x3cd780);this[_0x2dec9d(0x1fe)][_0x2dec9d(0xf7)](_0x378a22[_0x2dec9d(0x175)]);}),this[_0x2785dd(0x2ae)][_0x2785dd(0x2b1)](Dt['id'],{'batch':_0xa8b80,'collectionConfig':_0x3794db},{'onlyLocal':!0x0});}[_0x568d43(0x2c9)](){const _0x49d706=_0x568d43;this[_0x49d706(0x1c6)](this['_resourceManagerService'][_0x49d706(0x253)]({'toJson':_0x28b632=>JSON[_0x49d706(0x292)](this[_0x49d706(0x265)](_0x28b632)),'parseJson':_0x1805b2=>{const _0xd73a98=_0x49d706;if(!_0x1805b2)return{};try{return JSON[_0xd73a98(0x228)](_0x1805b2);}catch{return{};}},'businesses':[_0x278b7f[_0x49d706(0x14f)]],'pluginName':ao,'onLoad':(_0x3f2690,_0x3dbb03)=>{const _0x4ce2ca=_0x49d706;this[_0x4ce2ca(0x283)](_0x3dbb03);},'onUnLoad':_0x51d717=>{const _0x96fbc0=_0x49d706;this[_0x96fbc0(0x236)](_0x51d717);}}));}};$=Ui([Ze(0x0,_0x2a08b7(_0x4ff8ac)),Ze(0x1,_0x2bb584),Ze(0x2,_0x2a08b7(_0x35f0e3)),Ze(0x3,_0x30f8ed),Ze(0x4,_0x428737),Ze(0x5,_0x2a08b7(_0x58b3a4))],$);const Ei={0x0:{0x0:{'v':_0x568d43(0x1a1),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x568d43(0x145),'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':_0x568d43(0xdb),'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':[]},Go=(_0x53957f,_0x27985d)=>{const _0x58f7a0=_0x568d43,_0x252849=new _0x57c969(),_0x2799bd=new _0x57c969(Ei),{row:_0x4a966b,col:_0x12c8c9}=_0x27985d;_0x2799bd[_0x58f7a0(0x163)]((_0x54c013,_0xbfb542,_0x424fcc)=>{const _0x109c54=_0x58f7a0;let _0x5c7103='';_0x424fcc['v']===_0x109c54(0x1a1)?_0x5c7103=_0x53957f[_0x109c54(0x1a1)]:_0x424fcc['v']==='row'?_0x5c7103=_0x53957f[_0x109c54(0xdb)]:_0x424fcc['v']===_0x109c54(0x145)?_0x5c7103=_0x53957f['column']:_0x424fcc['v']===_0x109c54(0x1c1)&&(_0x5c7103=_0x53957f[_0x109c54(0x1c1)]),_0x252849[_0x109c54(0x160)](_0x54c013+_0x4a966b,_0xbfb542+_0x12c8c9,{..._0x424fcc,'v':_0x5c7103});});const _0x3ffffc=_0x120414[_0x58f7a0(0xee)](kt);return Object[_0x58f7a0(0x33e)](kt)[_0x58f7a0(0x2d3)](_0x541464=>{const _0x317c26=_0x58f7a0;_0x3ffffc[_0x541464]=kt[_0x541464][_0x317c26(0x2b2)](_0x8952b3=>({..._0x8952b3,'startRow':_0x8952b3[_0x317c26(0x13e)]+_0x4a966b,'endRow':_0x8952b3[_0x317c26(0xec)]+_0x4a966b,'startColumn':_0x8952b3[_0x317c26(0x13f)]+_0x12c8c9,'endColumn':_0x8952b3[_0x317c26(0x351)]+_0x12c8c9}));}),{'matrixCache':_0x252849,'rangesCache':_0x3ffffc};};function Vi(_0x881c1f,_0x3c1ea8){const _0x5a0ee8=_0x568d43;let _0x273969='';const _0x18d3c5=this['getTextInfo']();switch(_0x3c1ea8){case _0x5f16c0[_0x5a0ee8(0x1e4)]:_0x273969=_0x18d3c5[_0x5a0ee8(0x2f5)]+_0x881c1f;break;case _0x5f16c0[_0x5a0ee8(0x1b2)]:_0x273969=_0x18d3c5[_0x5a0ee8(0x25e)]+_0x881c1f;break;case _0x5f16c0[_0x5a0ee8(0x1dc)]:_0x273969=_0x18d3c5['sheets-pivot.countNumsName']+_0x881c1f;break;case _0x5f16c0[_0x5a0ee8(0x13b)]:_0x273969=_0x18d3c5[_0x5a0ee8(0x2f7)]+_0x881c1f;break;case _0x5f16c0[_0x5a0ee8(0x2c6)]:_0x273969=_0x18d3c5[_0x5a0ee8(0x14d)]+_0x881c1f;break;case _0x5f16c0[_0x5a0ee8(0x30b)]:_0x273969=_0x18d3c5[_0x5a0ee8(0xff)]+_0x881c1f;break;case _0x5f16c0[_0x5a0ee8(0x17b)]:_0x273969=_0x18d3c5[_0x5a0ee8(0x15b)]+_0x881c1f;break;case _0x5f16c0[_0x5a0ee8(0x32b)]:_0x273969=_0x18d3c5['sheets-pivot.stdDevpName']+_0x881c1f;break;case _0x5f16c0['sum']:_0x273969=_0x18d3c5[_0x5a0ee8(0x322)]+_0x881c1f;break;case _0x5f16c0[_0x5a0ee8(0x2c1)]:_0x273969=_0x18d3c5[_0x5a0ee8(0x1a0)]+_0x881c1f;break;case _0x5f16c0['varp']:_0x273969=_0x18d3c5[_0x5a0ee8(0x2b5)]+_0x881c1f;break;default:_0x273969=_0x881c1f;break;}return _0x273969;}function xi(_0x40428f,_0xb8ef16,_0x3ed3d9,_0x4eeb55,_0x317079){const _0x3ffad0=_0x568d43;var _0x285025,_0x5dbe33,_0xc93507,_0x5f003d,_0x2510bd;const _0x3dd871=_0x41bcd3(_0x40428f,_0xb8ef16),{rangesInfo:_0x38f64e,areaInfo:_0x441cc5,headerMap:_0x5b8d89}=_0x317079;if(!_0x38f64e||!_0x441cc5||!_0x5b8d89)return;const _0x7adfaf=Object['keys'](_0x38f64e)['find'](_0x3adb39=>_0x38f64e[_0x3adb39][_0x3ffad0(0x2da)](_0x1ad214=>_0x213a48[_0x3ffad0(0x2a0)](_0x1ad214,_0x3dd871))),_0x3b9a94=_0x441cc5;let _0x55e1f9,_0x30d928,_0x20f806;if(_0x7adfaf===_0x3ffad0(0x25a))_0x55e1f9=(_0x285025=_0x3b9a94==null?void 0x0:_0x3b9a94['rowInfo'])==null?void 0x0:_0x285025[_0x40428f],_0x30d928=(_0x5dbe33=_0x5b8d89==null?void 0x0:_0x5b8d89[_0x3ffad0(0x343)])==null?void 0x0:_0x5dbe33[_0xb8ef16],_0x20f806=_0x30d928==null?void 0x0:_0x30d928['tableFieldId'];else{if(_0x7adfaf===_0x3ffad0(0x1d0))_0x55e1f9=(_0xc93507=_0x3b9a94==null?void 0x0:_0x3b9a94[_0x3ffad0(0x248)])==null?void 0x0:_0xc93507[_0xb8ef16],_0x30d928=(_0x5f003d=_0x5b8d89[_0x3ffad0(0x105)])==null?void 0x0:_0x5f003d[_0x40428f+0x1+_0xb8ef16-_0x38f64e[_0x3ffad0(0x1d0)][0x0]['startColumn']],_0x20f806=_0x30d928==null?void 0x0:_0x30d928[_0x3ffad0(0x34f)];else{if(_0x7adfaf===_0x3ffad0(0xe3))_0x55e1f9=(_0x2510bd=_0x3b9a94==null?void 0x0:_0x3b9a94['cornerInfo'])==null?void 0x0:_0x2510bd[_0xb8ef16],_0x20f806=_0x55e1f9==null?void 0x0:_0x55e1f9[_0x3ffad0(0x34f)];else{if(_0x7adfaf===_0x3ffad0(0x28a)){const _0x372504=_0x3ed3d9==null?void 0x0:_0x3ed3d9['fi'];_0x372504!==void 0x0&&(_0x20f806=_0x4eeb55[_0x3ffad0(0x223)](_0x372504));}}}}return{'filterId':_0x20f806,'info':_0x55e1f9,'data':_0x3ed3d9,'headerInfo':_0x30d928};}function Oi(_0x3565cb,_0x471300,_0x527616){const _0x1e4f2c=_0x568d43,_0x2e27a1=_0x3565cb[_0x1e4f2c(0x308)],_0x53685e=_0x2e27a1[_0x1e4f2c(0x1da)](),_0x19f065=new Set();_0x3565cb[_0x1e4f2c(0x2ab)](_0x288dfd=>{const _0x471491=_0x1e4f2c;_0x19f065[_0x471491(0x224)](_0x288dfd[_0x471491(0x10d)]);});const _0x29f06e=_0x53685e[_0x1e4f2c(0x2b2)](_0x36cff5=>{const _0x32a089=_0x1e4f2c,_0x5a4721=_0x2e27a1[_0x32a089(0x140)](_0x36cff5);return{'checked':_0x19f065[_0x32a089(0x130)](_0x36cff5),'dataFieldId':_0x5a4721['id'],'id':_0x5a4721['id'],'name':_0x2e27a1['getDisplayName'](_0x5a4721['id']),'type':_0x5a4721[_0x32a089(0x2f3)](),'pivotTableId':_0x471300};}),_0x23713e=[];_0x3565cb[_0x1e4f2c(0x330)](_0xc3cf43[_0x1e4f2c(0x226)],_0x137c64=>{const _0x557b14=_0x1e4f2c;_0x23713e[_0x557b14(0x179)]({'dataFieldId':_0x137c64[_0x557b14(0x10d)],'tableFieldId':_0x137c64[_0x557b14(0xe0)](),'displayName':_0x137c64[_0x557b14(0x1f5)]()});});const _0x2c5945=[];_0x3565cb[_0x1e4f2c(0x330)](_0xc3cf43['Column'],_0x51cf07=>{const _0x1df8cf=_0x1e4f2c;_0x2c5945[_0x1df8cf(0x179)]({'dataFieldId':_0x51cf07[_0x1df8cf(0x10d)],'tableFieldId':_0x51cf07['getId'](),'displayName':_0x51cf07['getDisplayName']()});});const _0x1a50da=[];if(_0x3565cb[_0x1e4f2c(0x330)](_0xc3cf43[_0x1e4f2c(0x14c)],_0x55a5f1=>{const _0x3ada53=_0x1e4f2c;_0x1a50da['push']({'dataFieldId':_0x55a5f1[_0x3ada53(0x10d)],'tableFieldId':_0x55a5f1[_0x3ada53(0xe0)](),'displayName':_0x55a5f1[_0x3ada53(0x1f5)](),'format':_0x55a5f1[_0x3ada53(0x284)](),'subTotalType':_0x55a5f1[_0x3ada53(0x245)]()});}),_0x1a50da[_0x1e4f2c(0x28f)]>0x1){const _0x481b95=_0x3565cb[_0x1e4f2c(0x17c)]();(_0x3565cb[_0x1e4f2c(0x35d)]()?_0x2c5945:_0x23713e)['splice'](_0x481b95,0x0,{'dataFieldId':'','tableFieldId':_0x1e4f2c(0x352),'displayName':_0x1e4f2c(0x34a)});}const _0x541921=[];_0x3565cb['iterateFieldByArea'](_0xc3cf43[_0x1e4f2c(0x22f)],_0x4bc97e=>{const _0x3d1555=_0x1e4f2c;_0x541921[_0x3d1555(0x179)]({'dataFieldId':_0x4bc97e[_0x3d1555(0x10d)],'tableFieldId':_0x4bc97e[_0x3d1555(0xe0)](),'displayName':_0x4bc97e['getDisplayName']()});});const _0x3ef48b=_0x527616[_0x1e4f2c(0xe1)];return{'sourceList':_0x29f06e,'sourceRange':_0x3ef48b,'rowFields':_0x23713e,'columnFields':_0x2c5945,'valueFields':_0x1a50da,'filterFields':_0x541921,'positionInfo':_0x527616[_0x1e4f2c(0x1a8)]};}function fo(_0x4b367c,_0x13d438,_0x984e61='',_0x2c07cc={}){const _0x3eeee1=_0x568d43,_0x1c87f7=_0x4b367c[_0x3eeee1(0x194)](_0x19c820);for(const _0x5edd89 in _0x13d438)if(Object['prototype']['hasOwnProperty']['call'](_0x13d438,_0x5edd89)){const _0x5daf80=_0x984e61?_0x984e61+'.'+_0x5edd89:_0x5edd89;typeof _0x13d438[_0x5edd89]==_0x3eeee1(0x255)&&_0x13d438[_0x5edd89]!==null&&!Array[_0x3eeee1(0x156)](_0x13d438[_0x5edd89])?fo(_0x4b367c,_0x13d438[_0x5edd89],_0x5daf80,_0x2c07cc):_0x2c07cc[_0x5daf80]=_0x1c87f7['t'](_0x5daf80);}return _0x2c07cc;}const Lt=_0x3d6ed1=>{const _0x38a438=_0x568d43;if(!_0x3d6ed1)return[];const {rowRanges:_0x5975b1,colRanges:_0x445621,cornerRanges:_0x30fb38,dataRanges:_0x219007,pageRanges:_0x94383}=_0x3d6ed1,_0x3c410d=[..._0x445621,..._0x5975b1,..._0x219007,..._0x30fb38]['filter'](_0x579554=>_0x579554['startRow']>=0x0&&_0x579554[_0x38a438(0x13f)]>=0x0&&_0x579554[_0x38a438(0xec)]>=0x0&&_0x579554[_0x38a438(0x351)]>=0x0);let _0x4af2cb=Number[_0x38a438(0xef)],_0x2acc45=Number[_0x38a438(0x171)],_0x297738=Number[_0x38a438(0xef)],_0x16ced5=Number[_0x38a438(0x171)];for(let _0x118eeb=0x0;_0x118eeb<_0x3c410d[_0x38a438(0x28f)];_0x118eeb++)_0x4af2cb=Math[_0x38a438(0x2c6)](_0x4af2cb,_0x3c410d[_0x118eeb][_0x38a438(0x13e)]),_0x2acc45=Math[_0x38a438(0x13b)](_0x2acc45,_0x3c410d[_0x118eeb][_0x38a438(0xec)]),_0x297738=Math[_0x38a438(0x2c6)](_0x297738,_0x3c410d[_0x118eeb]['startColumn']),_0x16ced5=Math[_0x38a438(0x13b)](_0x16ced5,_0x3c410d[_0x118eeb][_0x38a438(0x351)]);return[..._0x94383,{'startRow':_0x4af2cb,'endRow':_0x2acc45,'startColumn':_0x297738,'endColumn':_0x16ced5}];};function Bi(_0x32b1be,_0x279f3c){const _0x1a3e38=_0x568d43,_0x1140ac=_0x279f3c[_0x1a3e38(0x2d1)]['drillDown'],{pivotTableId:_0x53fc55,unitId:_0x15458e,subUnitId:_0x47ca84}=_0x279f3c;if(!_0x1140ac)return;const _0x5ca3d6=_0x32b1be['get']($),_0x46ff37=_0x5ca3d6[_0x1a3e38(0xfa)](_0x53fc55),_0x46b923=_0x5ca3d6[_0x1a3e38(0x2db)](_0x15458e,_0x47ca84,_0x53fc55);if(!_0x46ff37||!_0x46b923)return;const _0x22abbc=_0x46ff37[_0x1a3e38(0x2a2)](_0x1140ac[_0x1a3e38(0x1d4)]);if(!(_0x22abbc!=null&&_0x22abbc['length']))return;const _0x422328=_0x46b923[_0x1a3e38(0xe1)],{unitId:_0x5679d6,subUnitId:_0x1536f4,range:_0x21ba01}=_0x422328;let _0x5c5191=0x0;const _0xf24f4e=_0x46ff37[_0x1a3e38(0x308)][_0x1a3e38(0x1da)]()[_0x1a3e38(0x216)]((_0x198ca7,_0x4bd9f5)=>{const _0x1b85ff=_0x1a3e38;var _0x48e3c8;const _0x4367b9=(_0x48e3c8=_0x46ff37[_0x1b85ff(0x348)](_0x4bd9f5))==null?void 0x0:_0x48e3c8[_0x1b85ff(0x34e)]();return _0x4367b9&&(_0x198ca7[String(_0x5c5191)]=_0x4367b9),_0x5c5191++,_0x198ca7;},{});return{'indexes':_0x22abbc,'range':_0x21ba01,'sourceUnitId':_0x5679d6,'sourceSubUnitId':_0x1536f4,'formatMap':_0xf24f4e};}function Zo(_0x58cfab,_0x3e9fc2){const _0x3c635b=_0x568d43;if(!_0x58cfab||!_0x3e9fc2)return!0x0;const _0x1f3714=_0x5438d9(Wo,jo),_0x4a7b61=new Function(_0x3c635b(0x207)+_0x1f3714)()(_0x58cfab,_0x3e9fc2)[_0x3c635b(0x300)],_0x4b17bc=_0x28da21(_0x4a7b61,'sf',Ao);return!((_0x4a7b61==null?void 0x0:_0x4a7b61['rt'])===_0x23cd78['NO_COMMERCIAL']&&!_0x4b17bc);}function go(_0x1d61a0,_0x1c1ca9,_0x9e4b67){const _0x27019f=_0x568d43,_0x2b7f2f={'count':_0x1d61a0,'timeValid':!0x1};if(!_0x1c1ca9||!_0x9e4b67)return _0x2b7f2f;const _0x86f2e6=_0x5438d9(Wo,jo),_0x57abcf=new Function(_0x27019f(0x207)+_0x86f2e6)()(_0x1c1ca9,_0x9e4b67);if(_0x57abcf!=null&&_0x57abcf[_0x27019f(0x341)]){const _0x2cfe42=_0x57abcf[_0x27019f(0x300)],_0x3198dd=_0x28da21(_0x2cfe42,'sf',Ao);return{'count':_0x1a9d78(_0x2cfe42,_0x3198dd,_0x27019f(0x1bf),_0x1d61a0,_0x1d61a0,0x0),'timeValid':_0x3198dd};}return _0x2b7f2f;}function Ko(_0x554f42,_0x27adc1,_0x3476d9,_0x525cd7){const _0x4c5b39=_0x568d43,_0x3233b2={'subUnitId':_0x3476d9,'unitId':_0x27adc1,'cellValue':_0x196933(_0x525cd7)},_0x4d8bb4=_0x2db55f(_0x554f42,_0x3233b2);let _0x59819c=!0x1;return new _0x57c969(_0x4d8bb4[_0x4c5b39(0x2c4)])[_0x4c5b39(0x163)]((_0x53969d,_0x31caa0,_0x406bf5)=>{const _0x4cb71c=_0x4c5b39;if(!_0x59819c&&_0x406bf5&&(_0x406bf5[_0x4cb71c(0x1ff)]||_0x406bf5['f']||_0x406bf5['p']||_0x406bf5['s']||_0x406bf5['si']||_0x406bf5['t']||_0x406bf5['v']))return _0x59819c=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x5ba09b['id'],'params':_0x4d8bb4},'setRangeValueRedoMutation':{'id':_0x5ba09b['id'],'params':_0x3233b2},'shouldClear':_0x59819c};}function Ai(_0x376328){const {row:_0x8aa192,col:_0x324ed7}=_0x376328,_0x91e132={'startRow':_0x8aa192,'endRow':_0x8aa192,'startColumn':_0x324ed7,'endColumn':_0x324ed7},_0xa260cb={'startRow':_0x8aa192+0x2,'endRow':_0x8aa192+0xe,'startColumn':_0x324ed7,'endColumn':_0x324ed7+0x6};return[_0x91e132,_0xa260cb];}function _0xd861(){const _0x304b1a=['forEach','_textInfo','getPivotTableIdByCell','_pivotTableInstanceCache','onStarting','setPivotTable','#FFFFFF','some','getPivotTableConfig','sheets-pivot.cellDateGroupDisplay.yearQuarter','SetPivotFilter','update','_ensureViewDataMap','existing','getDataFieldItemInfo','rangesInfo','dateType','_initUnitDisposed','YearQuarter','getMatrix','fetchThroughAsyncInterceptors','_sheetInterceptorService','getMonth','_ensurePivotItemRenderValueMatrixCache','fieldId','unitId','getFieldInfo','resetPivotTable','getFullYear','sheets-pivot.dateGroup.hourMinute','markDirty','setDisplayName','getFieldDataType','_injector','sheets-pivot.averageName','_globalComputingSrv','sheets-pivot.maxName','setConfig','getTextInfo','value','sheets-pivot.cellDateGroupDisplay.quarter','generateMutationsByRanges','SetOptions','getCellRaw','DrillDown','message','updatePivotTableMatrixInfo','removePivotTable','setTextInfo','registerSyncingMutations','NUM','drillDown','SetValueFilter','dataFieldsCollection','matrix','updateCollectionConfig','product','getCellMatrix','_subjectViewChange','triggerDirtyFeature','data','onCommandExecuted','getConfig','setName','foreach','_refRangeService','setOptions','subtotal','undos','None','5klsZdi','sheet.mutation.remove-pivot-table','sheets-pivot.cellDateGroupDisplay.date','_resourceManagerService','slice','isText','getTargetByPivotTableId','setRangeKeyMap','fetchThroughInterceptors','sheets-pivot.sumName','iterateFieldDim','CELL_CONTENT','GrandTotal','string','Style','rowCount','registerCommand','RemoveField','stdDevp','removePivotField','setPivotFilter','sheet.command.move-pivot-table','setSourceName','iterateFieldByArea','Div0','_viewData','removeValueFilterInfoByValueFieldId','subscribe','#e6ebfb','11080958HMBksa','18fZYoNE','sheet.mutation.pivot-update-field-position','registerRefRange','SetPivotSetting','MovePivotField','sheet.mutation.get-pivot-data-local','#b2b2b2','keys','COMMAND','pluginName','valid','measure','rowHeaderMap','Varp\x20of\x20','setSubtotalType','setRangeValueUndoMutation','forRow','getDataFieldByDataFieldId','blank','ΣValue','getMatrixFromRunTimeData','versions','getRangeStartEndInfo','getformat','tableFieldId','limit\x20pivot','endColumn','PivotMultipleValueId','removeCollections','updatePivotTableRangeInfo','getInterceptPoints','getDirtyInfo','_dataFieldManagerCollection','#e6ebfa','sheet.mutation.set-pivot-collapse','_updateModelCache','fieldsConfig','_collectionChange$','isColMultiMeasure','sheet.mutation.pivot-update-field-source-info','sheet.mutation.set-pivot-sort-info','intersects','pivotTableConfigs','dataStream','getNoUsedDataFieldIds','clearExclusiveRangesByGroupId','colCount','valueFields','1629270XAgKAl','_markDirty$','row','_pivotRenderValueMatrixCache','_initConfig','Min\x20of\x20','shouldClear','getId','sourceRangeInfo','Expand','cornerRanges','getMatrixValue','getFieldFormat','getColCount','broadcastCollectionChange','onQueryStart','getCollection','sheet.mutation.send-pivot-config-local','setPivotSetting','endRow','sheets-pivot.dateGroup.yearMonth','deepClone','MAX_SAFE_INTEGER','UpdateValuePosition','colStyle','_sheetsPivotTableConfigModel','HourMinute','_initLocale','AddPivotTableWithConfig','registerCallbackWithEvent','next','pageStyle','_globalSubject','getPivotTableInstance','MUTATION','prefix','Year','sheets-pivot.cellDateGroupDisplay.year','sheets-pivot.productName','_pivotRenderInfoCache','sheet.mutation.set-pivot-option','AddPivotField','AddPivotTable','interceptCommand','colHeaderMap','setPivotInitCompleted','random','sheet.command.set-pivot-value-filter','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_pivotInitCompleted$','dimension','defineProperty','dataFieldId','getFilterInfo','textInfo','getColumnWidth','sheet.command.set-pivot-fields-config','getSheetBySheetName','Collapse','setDirty','getViewData','cornerStyle','_createExclusiveRange','sheet.command.update-date-group','updateViewData','_exclusiveRangeService','getCurrentSelections','collectionConfig','Product\x20of\x20','parseInt','getPivotDirtyViewInfo','createCollectionWithDataRange','addRecord','_toJSON','Values','Set','_subjectFieldsCollectionChange','configVersion$','size','getSubUnitPivotRenderCache','error','YearMonthDate','addPivotTableWithConfig','needSameDeleteModel','lastRow','find','getRangeKey','has','sideEffectUpdateWorkerCache','refreshData','panel','SHEET_PIVOT_TABLE_PLUGIN','getPivotItemRenderInfoCache','bvJay4gJ\x20sSaBzhy4gJ(E4aSJcS,\x20hvfE4a5Sz)\x20{\x20\x20\x20\x20yBz\x20{\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20E4aSJcSQJbgIZBykBBZz\x20=\x20E4aSJcS.chE4y(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20gB4U4JXSccZUS\x20=\x20GuHt.hZBcS(Zygf(E4aSJcSQJbgIZBykBBZz[1]));\x20\x20\x20\x20\x20\x20\x20\x204b\x20(!gB4U4JXSccZUS.vs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gB4U4JXSccZUS.vs\x20=\x20tvefSB(E4aSJcSQJbgIZBykBBZz[F]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x204cCgBKSB\x20=\x20yzhSgb\x20CgBKSB0EgfZEuaghS\x20!==\x20\x27vJsSb4JSs\x27\x20&&\x20cSEb\x204JcyZJaSgb\x20CgBKSB0EgfZEuaghS;\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20agJySqy\x20=\x204cCgBKSB\x20?\x20cSEb\x20:\x20Y4JsgY;\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20eSccZUSCgBs\x20=\x20agJySqy.__oZcS9F__.hZBcS(E4aSJcSQJbgIZBykBBZz[1]);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20eSccZUS\x20=\x20agJySqy.__xSq__.cyB4JU4bz(eSccZUSCgBs);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20c4UJZyvBSCgBs\x20=\x20agJySqy.__oZcS9F__.hZBcS(E4aSJcSQJbgIZBykBBZz[m]);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20c4UJZyvBS\x20=\x20agJySqy.__xSq__.cyB4JU4bz(c4UJZyvBSCgBs);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20c4UJ3ZE4s\x20=\x20agJySqy.__6SB4bz__(c4UJZyvBS,\x20eSccZUS,\x20hvfE4a5Sz);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20sgeZ4J\x20=\x20gB4U4JXSccZUS.se;\x20\x20\x20\x20\x20\x20\x20\x20bvJay4gJ\x204cNgeZ4JXZyaP4JU(gIZyySBJ,\x20gxgcy)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20hZyySBJ\x20=\x20gIZyySBJ.BShEZaS(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20Pgcy\x20=\x20gxgcy.BShEZaS(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20hZyySBJIZByc\x20=\x20hZyySBJ.chE4y(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20PgcyIZByc\x20=\x20Pgcy.chE4y(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204b\x20(!hZyySBJ.4JaEvsSc(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20hZyySBJ\x20===\x20Pgcy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204b\x20(hZyySBJIZByc.ESJUyP\x20<\x201\x20||\x20hZyySBJIZByc[2]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20bZEcS;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20hZyySBJuvbb4q\x20=\x20hZyySBJIZByc.cE4aS(d).jg4J(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20Pgcyuvbb4q\x20=\x20PgcyIZByc.cE4aS(-hZyySBJIZByc.ESJUyP\x20+\x20d).jg4J(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20hZyySBJuvbb4q\x20===\x20Pgcyuvbb4q;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ESy\x20sgeZ4J3ZE4s\x20=\x20(sgeZ4J\x20&&\x20sgeZ4J.ESJUyP)\x20?\x20sgeZ4J.cgeS((seQySe)\x20=>\x204cNgeZ4JXZyaP4JU(seQySe,\x20EgaZy4gJ.PgcyJZeS))\x20:\x20yBvS;\x20\x20\x20\x20\x20\x20\x20\x204b\x20(EgaZy4gJ.PgcyJZeS\x20===\x20\x27EgaZEPgcy\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sgeZ4J3ZE4s\x20=\x20yBvS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x206ZE4s\x20=\x20c4UJ3ZE4s\x20&&\x20sgeZ4J3ZE4s;\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206ZE4s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eSccZUS:\x20gB4U4JXSccZUS,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20aZyaP\x20(SBBgB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206ZE4s:\x20bZEcS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eSccZUS:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','pivotInitCompleted$','getValuePosition','sheets-pivot.cellDateGroupDisplay.minute','getOwnPropertyDescriptor','max','2083944UjMhdr','sheet.command.add-pivot-table','startRow','startColumn','getFieldById','addExclusiveRange','ResetPivotTable','subUnitId','getRefRangeMutationsByMoveRange','column','Column','getSortInfo','removeCollectionImp','\x20-\x20','pivotPerformCheck','setDataRecordCount','Value','sheets-pivot.minName','removeValueFilterInfo','UNIVER_SHEET','getIntersectsPivotTable','_initRemoveSheetCommandInterceptor','fontRenderExtension','REF','_pivotConfigChange$','isDate','isArray','workbook\x20is\x20not\x20found','sum','sourceName','collectionChange$','sheets-pivot.stdDevName','width','sheet.mutation.remove-pivot-field','Minute','_updateRenderEmptyCache','setValue','getStyles','split','forValue','addDataFieldWithoutUnitInfo','rowStyle','bind','ManualFilter','setFieldFormat','_dataSyncPrimaryController','6460008COQDPt','setRangeValueRedoMutation','_config','dataFields','startCollectChangeset','sheet.mutation.set-pivot-value-filter','Total','MIN_SAFE_INTEGER','_deletePivotTableInstanceCache','#1d32e9','body','collections','onQueryEnd','addFieldWithSourceId','removeSourceRangeChange','push','redos','stdDev','getValueIndex','batch','_initPivotDataGetListener','sheets-pivot.dateGroup.month','_activeDirtyManagerService','_requestResolvers','_localeService','resetArea','deleteDataField','updateConfig','columnFields','Add','sheets-pivot.emptyPivot.filter','getSheetBySheetId','_pivotTableRangeInfo','sheets-pivot.cellDateGroupDisplay.hourMinute','toString','SetPivotSort','sheet.command.reset-pivot-fields-config','info','lastCol','removeDataField','generateNewSheetName','rowFields','get','fields','getSourceName','fieldIds','realDeleteValue','addDirtyPivotTable','sortInfo','collection','valueIndex','updateView','addCollection','Average\x20of\x20','sheets-pivot.varName','filter','getTargetByPivotId','delete','updateFieldSourceInfo','COLUMN','sheet.mutation.set-pivot-format','2CcBrZY','targetCellInfo','_ensurePivotMap','pushUndoRedo','_viewUpdate$','version','oldMatrix','charCodeAt','Delete','setPivotCollapse','_getAutoName','count','STRING','_initRegisterCommand','Month','getUpdateRangeDeleteIds','setCollapse','sheet.command.pivot-drill-down','FORCE_STRING','NotName','sheets.tabs.sheet','setPivotSort','sheet.command.add-pivot-field','getHeaderMapItem','ptn','isValue','values','collapseInfo','sheets-pivot.dateGroup.monthDate','getUnitId','NORMAL','disposeWithMe','sheets-pivot.emptyPivot.column','register','sheet.mutation.pivot-update-value-position','single','isEmpty','_initClearSelectionCommandInterceptor','_host','Hour','notExecuteFormula','colRanges','_ensurePivotTableMatrixInfo','StdDevp\x20of\x20','interceptor','tuple','_initGlobalComputed','filterId','sheet.mutation.send-init-pivot-text-local','SetValuePivotFilter','sheet.mutation.send-pivot-view-local','getFieldIds','SetCollapse','countNums','asyncInterceptor','_generateUniqueVersion','number','hasField','initDataRanges','concat','addCollectionByJSON','average','getAutoDisplayNameFunction','dataFieldManagerConfig','queryDirtyPivotTable','updateRangeKeyMap','_init','paths','_viewData$','Quarter','endCollectChangeset','_ensurePivotTableRangeInfo','SHEET_PIVOT_IN_MAIN_THREAD','getDataFieldBySourceName','isNaN','getGroupFieldsInfoByIds','25903550YuqYhW','sheets-pivot.dateGroup.yearQuarter','getDisplayName','getDataFieldManager','Max\x20of\x20','StdDev\x20of\x20','symbol','updatePivotSource','_globalComputedStartHelpFunc','getTypeOfUnitDisposed$','_initViewModelBySheetInterceptor','_fieldsCollectionChange$','custom','setValueFilterInfo','_configService','sheet.mutation.update-date-group','RenameField','handleMoveRange','valueFilter','getLastRow','return\x20','name','NotNumber','sheet.mutation.add-pivot-table','handleAsyncResponse','_featureCalculationManagerService','getPivotTableModelConfig','_initDataSendListener','sheets-pivot.grandTotal','SetPivotTableConfig','(Blank)','handleSourceRangeChange','getUnit','date','_lifecycleService','reduce','addPivotField','_sheetsSelectionsService','refreshGroupField','range','getCurrentUnitForType','getColumnCount','level','valuePosition','adjustSheetCellData','sheets-pivot.cellDateGroupDisplay.month','getDate','displayName','getFilterFieldIdByIndex','add','getValue','Row','pivotConfigChange$','parse','SetFilterInfo','reset','format','_updatePivotTableInstanceCache','_getPivotAppliedRanges','markDirty$','Filter','unshift','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','1251786uWZiJi','getPivotTableCellData','removeField','getName','deleteUnitId','Subtotal','getActiveSheet','getFieldPositionInfoById','sheets-pivot.subTotal','getSheetId','maxDate','UpdateSource','type','_initPivotTextInfo','grandTotal','uniqueDataFieldName','setDateType','getSubUnitPivotConfigs','NUMBER','getSubtotal','getRangeKeyList','query','colInfo','NAME','getPivotTableRangeInfo','node','updateDataFieldsCollection','sheet.command.update-pivot-table-source-range','SetSortInfo','YearMonth','SetPivotCollapse','substring','pivotTableIndexConfig','registerPluginResource','sheets-pivot.cellDateGroupDisplay.hour','object','getPivotDisplayConfig','_queryingMap','replace','updateDirtyPivotTable','rowRanges','sheet.mutation.add-pivot-field','setRange','updateValuePosition','sheets-pivot.countName','updateRenderCache','_model','splice','new','sheets-pivot.value','Column\x20','toJSON','1049034GZTiMF','_collectionConfigModel','intercept','sheet.mutation.rename-pivot-field','SetSubtotalType','addPivotTable','pbt','_configVersion$','updateConfigCache','col','createDataFieldId','fieldsCollectionChange$','dispose','_initCommandInterceptListener','sheets-pivot.dateGroup.year','getDataFieldByTableId','_onRefRangeChange','_globalComputedEndHelpFunc','_univerInstanceService','sheets-pivot.dateGroup.yearMonthDate','sheet.mutation.set-pivot-position','dataRangeInfo','deleteField','refreshDataField','_sheetsPivotRpcService','result','sheets-pivot.config','updateViewInfo','setLabelFilterInfo','fromJSON','getFormat','sheets-pivot.dateGroup.quarter','disposableCollection','_sheetsPivotTableAdaptorModel','addField','sheets-pivot.emptyPivot.row','pageRanges','clearRenderCache','_pivotTableMatrixInfo','floor','rangeKey','length','sheet.command.set-pivot-sort','_deleteModelCache','stringify','sheet.command.add-pivot-table-with-config','_refRangeHandle','setSortInfo','formJSON','filterInfo','getRowCount','viewData$','updateAllDisplayName','getLastCol','updateFieldPosition','options','getTableFieldById','renameField','contains','UpdateFieldPosition','getIndexesByPathStr','Panel','sheet.command.set-pivot-collapse','headerMap','RemovePivotField','isBottomTotal','set','rangeKeyMap','dataStyle','iterateField','subTotalStyle','getSheets','_commandService','UpdatePivotSource','getDataFieldId','executeCommand','map','sheets-pivot.dateGroup.minute','Existing','sheets-pivot.varpName','entries','originalFieldId','pivotTableId','viewUpdate$','_ensurePivotItemRenderInfoCache','rgb(255,255,255)','_sheetsPivotTableService','asObservable','getOriginFieldId','movePivotField','_sheetsPivotDataSourceModel','var','setPivotTableConfig','originTargetInfo','cellValue','SHEET_PIVOT_EXCLUSIVE_ID','min','getIntersects','areaInfo','_initSnapshot','Date','setValuePivotFilter','MonthDate','from','sheet.mutation.update-pivot-table-source-range','rangeType','getTextSize','params','sheetName'];_0xd861=function(){return _0x304b1a;};return _0xd861();}function Ji(_0x125fd1,_0x5293cd,_0x57df9d){const _0x2335e5=_0x568d43,{cornerView:_0x9c841a,rowView:_0x5273a4,colView:_0x2dbf5a,pageView:_0x1be75e}=_0x125fd1,{row:_0x57e898,col:_0x5c315b}=_0x5293cd;if(_0x57df9d)return{'rowCount':Si+_0x57e898,'colCount':bi+_0x5c315b};const _0xe6d549=_0x1be75e[_0x2335e5(0x12d)]>-0x1?_0x1be75e[_0x2335e5(0x12d)]+0x1:0x0,_0x45b606=_0x1be75e['lastCol']>-0x1?_0x1be75e[_0x2335e5(0x190)]:0x0,_0x1aa6ad=_0x57e898+_0xe6d549+(_0xe6d549?0x1:0x0)+_0x9c841a[_0x2335e5(0x328)]+_0x5273a4[_0x2335e5(0x328)],_0x4f8f33=_0x5c315b+_0x45b606,_0x5b9d7c=_0x5c315b+_0x9c841a[_0x2335e5(0xd7)]+_0x2dbf5a[_0x2335e5(0xd7)],_0x50d23d=Math[_0x2335e5(0x13b)](_0x4f8f33,_0x5b9d7c);return{'rowCount':_0x1aa6ad,'colCount':_0x50d23d};}function we(_0x1e17d9,_0x56ef99,_0x2cc739,_0x470baf){const _0x5006b5=_0x568d43,{row:_0x78f595,col:_0x3aa15d,unitId:_0x50a5bf,subUnitId:_0x3383d1}=_0x2cc739,_0x182490=Ji(_0x56ef99,{'row':_0x78f595,'col':_0x3aa15d},_0x470baf),_0x1a7e6a=_0x1e17d9[_0x5006b5(0x194)](_0x2bb584),_0x4e505d=_0x3cd89f(_0x1a7e6a,{'unitId':_0x50a5bf,'subUnitId':_0x3383d1}),_0x46f3b2=[],_0x4fa2f2=[];if(!_0x4e505d)return{'undos':_0x4fa2f2,'redos':_0x46f3b2};const {worksheet:_0x25185d}=_0x4e505d,_0x5ce839=_0x25185d[_0x5006b5(0x298)](),_0x1ac2f0=_0x25185d[_0x5006b5(0x21c)]();return _0x5ce839<_0x182490[_0x5006b5(0x328)]&&(_0x46f3b2[_0x5006b5(0x179)]({'id':_0x577e34['id'],'params':{'unitId':_0x50a5bf,'subUnitId':_0x3383d1,'range':{'startRow':_0x5ce839,'endRow':_0x182490[_0x5006b5(0x328)]-0x1,'startColumn':0x0,'endColumn':_0x1ac2f0-0x1}}}),_0x4fa2f2[_0x5006b5(0x179)]({'id':_0x12a823['id'],'params':{'unitId':_0x50a5bf,'subUnitId':_0x3383d1,'range':{'startRow':_0x5ce839,'endRow':_0x182490['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x1ac2f0-0x1}}})),_0x1ac2f0<_0x182490[_0x5006b5(0xd7)]&&(_0x46f3b2[_0x5006b5(0x179)]({'id':_0xeddd4d['id'],'params':{'unitId':_0x50a5bf,'subUnitId':_0x3383d1,'range':{'startRow':0x0,'endRow':_0x5ce839-0x1,'startColumn':_0x1ac2f0,'endColumn':_0x182490[_0x5006b5(0xd7)]-0x1}}}),_0x4fa2f2[_0x5006b5(0x179)]({'id':_0x6b97a7['id'],'params':{'unitId':_0x50a5bf,'subUnitId':_0x3383d1,'range':{'startRow':0x0,'endRow':_0x5ce839-0x1,'startColumn':_0x1ac2f0,'endColumn':_0x182490[_0x5006b5(0xd7)]-0x1}}})),{'undos':_0x4fa2f2,'redos':_0x46f3b2};}function ki(_0x3beb2f){const _0x357adb=_0x568d43;let _0x1eed86=0x0;for(let _0x4df3b8=0x0;_0x4df3b8<_0x3beb2f[_0x357adb(0x28f)];_0x4df3b8++){const _0x24aa6a=_0x3beb2f[_0x357adb(0x1ae)](_0x4df3b8);_0x24aa6a>=0x4e00&&_0x24aa6a<=0x9fff||_0x24aa6a>=0x3000&&_0x24aa6a<=0x303f||_0x24aa6a>=0xff00&&_0x24aa6a<=0xffef?_0x1eed86+=0x2:_0x1eed86+=0x1;}return _0x1eed86;}function Po(_0x51e3ce,_0x8df1bc,_0xea5a2c,_0x1bc368){const _0x1893fa=_0x568d43;var _0x7506b4,_0x4930fd,_0x177dc4,_0x290900;const {rowCount:_0x51a501,colCount:_0x377bcb,headerMap:_0x2bd6db}=_0x51e3ce,_0x1e1645=0x64,_0x55b197=Math[_0x1893fa(0x2c6)](_0x51a501,_0x1e1645),_0x53316d=Math[_0x1893fa(0x2c6)](_0x377bcb,_0x1e1645);let _0x5b86ca='',_0x3886e5=0x0;for(let _0x9fd404=0x0;_0x9fd404<_0x55b197;_0x9fd404++)for(let _0x4df170=0x0;_0x4df170<_0x53316d;_0x4df170++){const _0x1c44f7={...(_0x4930fd=(_0x7506b4=_0x51e3ce['data'])==null?void 0x0:_0x7506b4[_0x9fd404])==null?void 0x0:_0x4930fd[_0x4df170]},_0x534277=(_0x177dc4=_0x2bd6db[_0x9fd404])==null?void 0x0:_0x177dc4[_0x1893fa(0x34f)],_0x389195=_0x1bc368[_0x534277];let _0x58912f=_0x51e3ce[_0x1893fa(0x225)](_0x9fd404,_0x4df170);if(_0x1c44f7){const _0x307e1f=_0xea5a2c?_0x4df170===0x0&&((_0x290900=_0x51e3ce[_0x1893fa(0x1be)](_0x4df170+0x1))==null?void 0x0:_0x290900[_0x1893fa(0x1c0)]):!0x1;_0x58912f=ht(_0x1c44f7,_0x307e1f,_0x389195,_0x8df1bc);}if(_0x58912f!==void 0x0){const _0x548b5b=ki(String(_0x58912f));_0x3886e5<_0x548b5b&&(_0x5b86ca=String(_0x58912f),_0x3886e5=_0x548b5b);}}return _0x5b86ca;}function Li(_0x78ed64){const _0x58ce0f=_0x568d43,{rowCount:_0x2e894f,colCount:_0x4d0876}=_0x78ed64;let _0x3cf339='',_0x3058c4=0x0;for(let _0x1bcee4=_0x2e894f-0x1;_0x1bcee4>0x0&&_0x1bcee4>_0x2e894f-0x3;_0x1bcee4--)for(let _0x51ed47=0x0;_0x51ed47<_0x4d0876;_0x51ed47++){const _0x25a337=_0x78ed64[_0x58ce0f(0x225)](_0x1bcee4,_0x51ed47);if(_0x25a337!==void 0x0){const _0x28bf9a=String(_0x25a337)[_0x58ce0f(0x28f)];_0x3058c4<_0x28bf9a&&(_0x3cf339=String(_0x25a337),_0x3058c4=_0x28bf9a);}}return _0x3cf339;}function $i(_0x3a41c0){const _0x167b53=_0x568d43,{rowCount:_0x471c90,colCount:_0x443446}=_0x3a41c0;let _0x856201='',_0x234b75=0x0;for(let _0x327d89=0x0;_0x327d89<_0x471c90;_0x327d89++)for(let _0x45b9d7=0x0;_0x45b9d7<_0x443446;_0x45b9d7++){const _0x8feb98=_0x3a41c0['getValue'](_0x327d89,_0x45b9d7);if(_0x8feb98!==void 0x0){const _0xfd8586=String(_0x8feb98)[_0x167b53(0x28f)];_0x234b75<_0xfd8586&&(_0x856201=String(_0x8feb98),_0x234b75=_0xfd8586);}}return _0x856201;}function ji(_0x438776,_0x5bcf18){const _0xb9092d=_0x568d43,{rowFields:_0x53f4b3,columnFields:_0x2b0861,valueFields:_0x5ecd23,filterFields:_0x5b7119,dimension:_0x5d69fd,measure:_0x877ffc}=_0x5bcf18;for(const _0x1c453e of _0x53f4b3){const _0x3da08a=_0x5d69fd[_0x1c453e];_0x3da08a&&_0x438776[_0xb9092d(0x348)](_0x3da08a[_0xb9092d(0x10d)])&&(_0x438776['addFieldWithSourceId'](_0x3da08a[_0xb9092d(0x10d)],_0xc3cf43[_0xb9092d(0x226)],void 0x0,_0x1c453e),_0x3da08a[_0xb9092d(0x222)]&&_0x438776[_0xb9092d(0x29f)](_0x3da08a['id'],_0x3da08a['displayName']),_0x3da08a[_0xb9092d(0x19a)]&&_0x438776[_0xb9092d(0x295)](_0x3da08a['id'],_0x3da08a['sortInfo']),_0x3da08a[_0xb9092d(0x297)]&&_0x438776['setLabelFilterInfo'](_0x3da08a['id'],_0x3da08a['filterInfo']));}for(const _0x307b45 of _0x2b0861){const _0x562daa=_0x5d69fd[_0x307b45];_0x562daa&&_0x438776[_0xb9092d(0x348)](_0x562daa[_0xb9092d(0x10d)])&&(_0x438776[_0xb9092d(0x177)](_0x562daa['dataFieldId'],_0xc3cf43[_0xb9092d(0x146)],void 0x0,_0x307b45),_0x562daa[_0xb9092d(0x19a)]&&_0x438776[_0xb9092d(0x295)](_0x562daa['id'],_0x562daa['sortInfo']),_0x562daa[_0xb9092d(0x297)]&&_0x438776[_0xb9092d(0x282)](_0x562daa['id'],_0x562daa[_0xb9092d(0x297)]),_0x562daa[_0xb9092d(0x222)]&&_0x438776[_0xb9092d(0x29f)](_0x562daa['id'],_0x562daa[_0xb9092d(0x222)]));}for(const _0x2f2402 of _0x5b7119){const _0xd5f253=_0x5d69fd[_0x2f2402];_0xd5f253&&_0x438776[_0xb9092d(0x348)](_0xd5f253[_0xb9092d(0x10d)])&&(_0x438776[_0xb9092d(0x177)](_0xd5f253[_0xb9092d(0x10d)],_0xc3cf43[_0xb9092d(0x22f)],void 0x0,_0x2f2402),_0xd5f253[_0xb9092d(0x19a)]&&_0x438776[_0xb9092d(0x295)](_0xd5f253['id'],_0xd5f253['sortInfo']),_0xd5f253[_0xb9092d(0x297)]&&_0x438776[_0xb9092d(0x282)](_0xd5f253['id'],_0xd5f253[_0xb9092d(0x297)]),_0xd5f253[_0xb9092d(0x222)]&&_0x438776['renameField'](_0xd5f253['id'],_0xd5f253[_0xb9092d(0x222)]));}for(const _0x4d512c of _0x5ecd23){const _0x2d206a=_0x877ffc[_0x4d512c];_0x2d206a&&_0x438776[_0xb9092d(0x348)](_0x2d206a[_0xb9092d(0x10d)])&&(_0x438776[_0xb9092d(0x177)](_0x2d206a['dataFieldId'],_0xc3cf43[_0xb9092d(0x14c)],void 0x0,_0x4d512c),_0x2d206a[_0xb9092d(0x316)]!==void 0x0&&_0x438776[_0xb9092d(0x345)](_0x4d512c,_0x2d206a['subtotal']),_0x2d206a[_0xb9092d(0x22b)]&&_0x438776['setFieldFormat'](_0x4d512c,_0x2d206a['format']),_0x2d206a[_0xb9092d(0x222)]&&_0x438776[_0xb9092d(0x29f)](_0x2d206a['id'],_0x2d206a['displayName']));}const _0x44fc7f=_0x5bcf18[_0xb9092d(0x205)];for(const {fieldId:_0x2e93f0,filterInfo:_0x5c39a0}of _0x44fc7f)_0x438776[_0xb9092d(0x200)](_0x2e93f0,_0x5c39a0);}function Wi(_0xd85a9b,_0x775aa6){const _0x19d359=_0x568d43,_0x161a1f=[];_0x775aa6===_0xc3cf43[_0x19d359(0x226)]&&_0xd85a9b['iterateFieldByArea'](_0xc3cf43[_0x19d359(0x226)],_0x3feeec=>{const _0x31c453=_0x19d359;_0x161a1f['push'](_0x3feeec[_0x31c453(0xe0)]());}),_0x775aa6===_0xc3cf43[_0x19d359(0x146)]&&_0xd85a9b[_0x19d359(0x330)](_0xc3cf43[_0x19d359(0x146)],_0x1646d3=>{const _0x271cbe=_0x19d359;_0x161a1f[_0x271cbe(0x179)](_0x1646d3[_0x271cbe(0xe0)]());}),_0x775aa6===_0xc3cf43['Filter']&&_0xd85a9b[_0x19d359(0x330)](_0xc3cf43[_0x19d359(0x22f)],_0x4bb158=>{const _0x443ea8=_0x19d359;_0x161a1f[_0x443ea8(0x179)](_0x4bb158[_0x443ea8(0xe0)]());}),_0x775aa6===_0xc3cf43['Value']&&_0xd85a9b[_0x19d359(0x330)](_0xc3cf43[_0x19d359(0x14c)],_0x14f03f=>{const _0x450570=_0x19d359;_0x161a1f[_0x450570(0x179)](_0x14f03f[_0x450570(0xe0)]());}),_0x775aa6===void 0x0&&_0xd85a9b[_0x19d359(0x2ab)](_0x24d99f=>{const _0x5d9401=_0x19d359;_0x161a1f[_0x5d9401(0x179)](_0x24d99f[_0x5d9401(0xe0)]());});const _0x19c23d=_0x161a1f[_0x19d359(0x28f)];for(let _0x28ce47=_0x19c23d-0x1;_0x28ce47>=0x0;_0x28ce47--)_0xd85a9b['removeField'](_0x161a1f[_0x28ce47]);const _0x318ea3=_0xd85a9b['getValueFilterInfos']();for(const _0x4cb50a in _0x318ea3)_0xd85a9b[_0x19d359(0x14e)](_0x4cb50a);}function Gi(_0x2b58d5,_0x34574e){const _0x54dabf=_0x568d43,_0x4f6b8c=new Date(_0x52d248(_0x34574e)),_0x8540cb=new Date(_0x52d248(_0x2b58d5)),_0xf78ad6=_0x4f6b8c[_0x54dabf(0x2ef)](),_0x2f9e17=_0x8540cb[_0x54dabf(0x2ef)](),_0x1ee0b2=_0x4f6b8c[_0x54dabf(0x2e9)](),_0x5b242f=_0x8540cb['getMonth'](),_0x30cc7f=_0x4f6b8c[_0x54dabf(0x221)](),_0x27d062=_0x8540cb[_0x54dabf(0x221)](),_0xfa50d3=_0xf78ad6===_0x2f9e17,_0x22eeaf=_0xfa50d3&&_0x1ee0b2===_0x5b242f;return _0xfa50d3&&_0x22eeaf&&!(_0x22eeaf&&_0x30cc7f===_0x27d062)?_0x1cd4a2[_0x54dabf(0x12a)]:_0xfa50d3&&!_0x22eeaf?_0x1cd4a2[_0x54dabf(0x24f)]:_0x1cd4a2['Year'];}function qo(_0x5da5f4,_0x2494be){const _0x3437a5=_0x568d43,_0x459d6a=_0x5da5f4[_0x3437a5(0x194)]($)[_0x3437a5(0x2f9)]();let _0x3c8cb2='';switch(_0x2494be){case _0x1cd4a2['YearMonthDate']:_0x3c8cb2=_0x459d6a[_0x3437a5(0x279)];break;case _0x1cd4a2[_0x3437a5(0x24f)]:_0x3c8cb2=_0x459d6a[_0x3437a5(0xed)];break;case _0x1cd4a2[_0x3437a5(0xfd)]:_0x3c8cb2=_0x459d6a[_0x3437a5(0x274)];break;case _0x1cd4a2[_0x3437a5(0x1b5)]:_0x3c8cb2=_0x459d6a[_0x3437a5(0x17f)];break;case _0x1cd4a2['Quarter']:_0x3c8cb2=_0x459d6a[_0x3437a5(0x285)];break;case _0x1cd4a2[_0x3437a5(0x2ca)]:_0x3c8cb2=_0x459d6a['sheets-pivot.dateGroup.date'];break;case _0x1cd4a2[_0x3437a5(0xf3)]:_0x3c8cb2=_0x459d6a[_0x3437a5(0x2f0)];break;case _0x1cd4a2[_0x3437a5(0x1ce)]:_0x3c8cb2=_0x459d6a['sheets-pivot.dateGroup.hour'];break;case _0x1cd4a2[_0x3437a5(0x15e)]:_0x3c8cb2=_0x459d6a[_0x3437a5(0x2b3)];break;case _0x1cd4a2[_0x3437a5(0x2cc)]:_0x3c8cb2=_0x459d6a[_0x3437a5(0x1c3)];break;case _0x1cd4a2[_0x3437a5(0x2e5)]:_0x3c8cb2=_0x459d6a[_0x3437a5(0x1f4)];break;default:_0x3c8cb2='';break;}return _0x3c8cb2;}const Ho=_0x568d43(0x280),To={};var Zi=Object[_0x568d43(0x13a)],Ki=(_0x25d24b,_0x521a03,_0x364381,_0x101007)=>{for(var _0x32f5e1=_0x101007>0x1?void 0x0:_0x101007?Zi(_0x521a03,_0x364381):_0x521a03,_0x468527=_0x25d24b['length']-0x1,_0x5034b1;_0x468527>=0x0;_0x468527--)(_0x5034b1=_0x25d24b[_0x468527])&&(_0x32f5e1=_0x5034b1(_0x32f5e1)||_0x32f5e1);return _0x32f5e1;},at=(_0x236483,_0x2e9bc7)=>(_0x16d187,_0x370b84)=>_0x2e9bc7(_0x16d187,_0x370b84,_0x236483);let he=class extends _0x564bbd{constructor(_0x48484a,_0x4e5353,_0x3d8fff,_0x5acf24,_0x62573){const _0x113b13=_0x568d43;super(),E(this,_0x113b13(0x260),new Map()),E(this,'_collectionConfigModel',new Map()),E(this,_0x113b13(0x18a),new Map()),E(this,_0x113b13(0x28c),new Map()),E(this,'_configVersion$',new _0x447c66()),E(this,_0x113b13(0x10a),new _0x447c66()),E(this,'pivotInitCompleted$',this['_pivotInitCompleted$'][_0x113b13(0x2bd)]()),E(this,_0x113b13(0x154),new _0x447c66()),E(this,_0x113b13(0x227),this[_0x113b13(0x154)][_0x113b13(0x2bd)]()),E(this,'_textInfo',{}),E(this,_0x113b13(0x126),this[_0x113b13(0x26d)]['asObservable']()),(this[_0x113b13(0x2f4)]=_0x48484a,this[_0x113b13(0x2ae)]=_0x4e5353,this[_0x113b13(0x278)]=_0x3d8fff,this[_0x113b13(0x31c)]=_0x5acf24,this[_0x113b13(0x201)]=_0x62573,this['_initLocale'](),this[_0x113b13(0x2e4)]());const _0x374996=this[_0x113b13(0x201)]['getConfig'](Ho);(_0x374996==null?void 0x0:_0x374996[_0x113b13(0x1cf)])===!0x0&&this[_0x113b13(0x2c9)]();}['_initUnitDisposed'](){const _0x4af5df=_0x568d43;this[_0x4af5df(0x1c6)](this[_0x4af5df(0x278)][_0x4af5df(0x1fc)](_0x278b7f[_0x4af5df(0x14f)])[_0x4af5df(0x334)](_0x1f862f=>{const _0x50c972=_0x4af5df;this['deleteUnitId'](_0x1f862f[_0x50c972(0x1c4)]());}));}[_0x568d43(0x106)](){const _0x3b2e83=_0x568d43;this[_0x3b2e83(0x10a)][_0x3b2e83(0xf7)](!0x0);}[_0x568d43(0xf4)](){const _0x1166cd=_0x568d43,_0x31605d=fo(this[_0x1166cd(0x2f4)],ko,'',{});this['_textInfo']=_0x31605d,this[_0x1166cd(0x2ae)]['executeCommand'](uo['id'],{'textInfo':_0x31605d},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x5b9d91=_0x568d43;return this[_0x5b9d91(0x2d4)];}[_0x568d43(0x281)](_0x36d8d3,_0x5401d5,_0x27c15f,_0x3e0a78,_0x87fda7){const _0x2f90ec=_0x568d43;this[_0x2f90ec(0x301)](_0x36d8d3,_0x5401d5,_0x27c15f,_0x3e0a78),this[_0x2f90ec(0x354)](_0x36d8d3,_0x5401d5,_0x27c15f,_0x87fda7);}[_0x568d43(0x2db)](_0x64867e,_0x117f2f,_0x3e3259){const _0x541238=_0x568d43;var _0x90d22;const _0x22efa9=(_0x90d22=this['_model'][_0x541238(0x194)](_0x64867e))==null?void 0x0:_0x90d22[_0x541238(0x194)](_0x117f2f);if(_0x22efa9)return _0x22efa9['get'](_0x3e3259);}[_0x568d43(0x31f)](_0x49cc17,_0x405b56){const _0x49f985=_0x568d43,_0x311d7b=this[_0x49f985(0x260)]['get'](_0x49cc17);if(_0x311d7b){for(const [_0x48432d,_0x35eaa4]of _0x311d7b['entries']())for(const [_0x485a94,_0xdd974]of _0x35eaa4[_0x49f985(0x2b6)]())if(_0x485a94===_0x405b56)return _0xdd974[_0x49f985(0x1a8)];}}[_0x568d43(0x1a2)](_0x7ed688,_0x1d3c9c,_0x30774e){const _0xe9b9f1=_0x568d43,_0xc6cfbb=this[_0xe9b9f1(0x2db)](_0x7ed688,_0x1d3c9c,_0x30774e);return _0xc6cfbb==null?void 0x0:_0xc6cfbb[_0xe9b9f1(0x1a8)];}[_0x568d43(0x243)](_0x51b7f3,_0x8d0eb2){const _0x1e3346=_0x568d43;var _0x2840b6;return(_0x2840b6=this[_0x1e3346(0x260)][_0x1e3346(0x194)](_0x51b7f3))==null?void 0x0:_0x2840b6[_0x1e3346(0x194)](_0x8d0eb2);}[_0x568d43(0x26e)](_0xa773f7,_0x28b3d2,_0x4ea11b,_0x267cc1){const _0x3e33ac=_0x568d43,_0x1fc57d=this[_0x3e33ac(0x1a9)](_0xa773f7,_0x28b3d2);_0x267cc1?_0x1fc57d['set'](_0x4ea11b,_0x267cc1):_0x1fc57d[_0x3e33ac(0x1a3)](_0x4ea11b),this[_0x3e33ac(0x154)][_0x3e33ac(0xf7)]({'unitId':_0xa773f7,'subUnitId':_0x28b3d2,'pivotTableId':_0x4ea11b,'pivotTableConfig':_0x267cc1});}[_0x568d43(0xe9)](_0x412a12,_0x465f2a){const _0x4409c6=_0x568d43;var _0x21e0f2;return(_0x21e0f2=this[_0x4409c6(0x267)]['get'](_0x412a12))==null?void 0x0:_0x21e0f2['collections'][_0x465f2a];}[_0x568d43(0x30a)](_0x14ddf4,_0x1f9e94){const _0x16d1b1=_0x568d43;this[_0x16d1b1(0x267)]['set'](_0x14ddf4,_0x1f9e94),this[_0x16d1b1(0x26d)]['next'](Math[_0x16d1b1(0x107)]());}[_0x568d43(0x1a9)](_0x3461a2,_0x539c34){const _0x564752=_0x568d43;let _0x18a4dd=this[_0x564752(0x260)][_0x564752(0x194)](_0x3461a2);_0x18a4dd||(_0x18a4dd=new Map(),this[_0x564752(0x260)][_0x564752(0x2a8)](_0x3461a2,_0x18a4dd));let _0x29dace=_0x18a4dd[_0x564752(0x194)](_0x539c34);return _0x29dace||(_0x29dace=new Map(),_0x18a4dd[_0x564752(0x2a8)](_0x539c34,_0x29dace)),_0x29dace;}[_0x568d43(0x1ee)](_0x310ac5,_0x2b457f){const _0x4bb0fb=_0x568d43;let _0x427ddf=this[_0x4bb0fb(0x18a)][_0x4bb0fb(0x194)](_0x310ac5);_0x427ddf||(_0x427ddf=new Map(),this[_0x4bb0fb(0x18a)][_0x4bb0fb(0x2a8)](_0x310ac5,_0x427ddf));let _0x3d8e09=_0x427ddf[_0x4bb0fb(0x194)](_0x2b457f);return _0x3d8e09||(_0x3d8e09=new Map(),_0x427ddf[_0x4bb0fb(0x2a8)](_0x2b457f,_0x3d8e09)),_0x3d8e09;}[_0x568d43(0x1d1)](_0x3dccb9,_0x4486a8){const _0x4c93d5=_0x568d43;let _0x140bea=this[_0x4c93d5(0x28c)]['get'](_0x3dccb9);_0x140bea||(_0x140bea=new Map(),this[_0x4c93d5(0x28c)][_0x4c93d5(0x2a8)](_0x3dccb9,_0x140bea));let _0x6317b5=_0x140bea[_0x4c93d5(0x194)](_0x4486a8);return _0x6317b5||(_0x6317b5=new Map(),_0x140bea['set'](_0x4486a8,_0x6317b5)),_0x6317b5;}[_0x568d43(0x354)](_0x5f339f,_0xbabdc5,_0x551bca,_0x3479ac){const _0x312d65=_0x568d43;var _0x332fbc;const _0x5f57fa=this[_0x312d65(0x1ee)](_0x5f339f,_0xbabdc5),_0xb0020b=(_0x332fbc=_0x5f57fa['get'](_0x551bca))==null?void 0x0:_0x332fbc['oldRangeInfo'];_0x5f57fa['set'](_0x551bca,{'oldRangeInfo':_0xb0020b,'rangeInfo':_0x3479ac});}[_0x568d43(0x301)](_0x15b121,_0xec0307,_0x2aae7f,_0x217076){const _0xd88f0b=_0x568d43;var _0x193956;const _0x30e376=this[_0xd88f0b(0x1d1)](_0x15b121,_0xec0307),_0x4dcd8a=(_0x193956=_0x30e376[_0xd88f0b(0x194)](_0x2aae7f))==null?void 0x0:_0x193956[_0xd88f0b(0x1ad)];_0x30e376[_0xd88f0b(0x2a8)](_0x2aae7f,{'oldMatrix':_0x4dcd8a,'matrix':_0x217076});}[_0x568d43(0x24a)](_0x24af8f,_0x58d8ea,_0x1a3e65){const _0x1db84d=_0x568d43;var _0x227e66,_0x778506;return(_0x778506=(_0x227e66=this[_0x1db84d(0x18a)]['get'](_0x24af8f))==null?void 0x0:_0x227e66[_0x1db84d(0x194)](_0x58d8ea))==null?void 0x0:_0x778506[_0x1db84d(0x194)](_0x1a3e65);}['getPivotTableMatrixInfo'](_0x1b83d0,_0x19b15d,_0x14587b){const _0x136f1f=_0x568d43;var _0x488900,_0x2701c3;return(_0x2701c3=(_0x488900=this[_0x136f1f(0x28c)]['get'](_0x1b83d0))==null?void 0x0:_0x488900[_0x136f1f(0x194)](_0x19b15d))==null?void 0x0:_0x2701c3[_0x136f1f(0x194)](_0x14587b);}[_0x568d43(0x236)](_0x5411ca){const _0x5b86bf=_0x568d43;this['_model']['delete'](_0x5411ca),this['_collectionConfigModel'][_0x5b86bf(0x1a3)](_0x5411ca);}['_toJSON'](_0xa47265){const _0x3ba98b=_0x568d43,_0x29b6de={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3ba98b(0x267)][_0x3ba98b(0x194)](_0xa47265)&&(_0x29b6de[_0x3ba98b(0x1e6)][_0xa47265]=this[_0x3ba98b(0x267)]['get'](_0xa47265)),this[_0x3ba98b(0x260)][_0x3ba98b(0x194)](_0xa47265)){_0x29b6de[_0x3ba98b(0xd3)][_0xa47265]={};const _0x241262=this['_model']['get'](_0xa47265);_0x241262!=null&&_0x241262[_0x3ba98b(0x127)]&&[..._0x241262[_0x3ba98b(0x33e)]()][_0x3ba98b(0x2d3)](_0x5f4734=>{const _0x1f7db3=_0x3ba98b,_0x2d159a=_0x241262[_0x1f7db3(0x194)](_0x5f4734);_0x2d159a!=null&&_0x2d159a[_0x1f7db3(0x127)]&&(_0x29b6de[_0x1f7db3(0xd3)][_0xa47265][_0x5f4734]={},[..._0x2d159a['keys']()][_0x1f7db3(0x2d3)](_0x1b8308=>{const _0x10f6ba=_0x1f7db3,_0x41b39f=_0x2d159a[_0x10f6ba(0x194)](_0x1b8308);_0x41b39f&&(_0x29b6de[_0x10f6ba(0xd3)][_0xa47265][_0x5f4734][_0x1b8308]=_0x41b39f);}));});}return _0x29b6de;}['_initSnapshot'](){const _0x29ba7a=_0x568d43;this[_0x29ba7a(0x1c6)](this[_0x29ba7a(0x31c)][_0x29ba7a(0x253)]({'toJson':_0xc7f1c3=>JSON[_0x29ba7a(0x292)](this[_0x29ba7a(0x122)](_0xc7f1c3)),'parseJson':_0x1682fc=>({}),'businesses':[_0x278b7f[_0x29ba7a(0x14f)]],'pluginName':ao,'onLoad':(_0x2621b3,_0x3159b2)=>{},'onUnLoad':_0x5d0e46=>{const _0x3079ca=_0x29ba7a;this[_0x3079ca(0x236)](_0x5d0e46);}}));}};he=Ki([at(0x0,_0x2a08b7(_0x4ff8ac)),at(0x1,_0x2a08b7(_0x428737)),at(0x2,_0x2a08b7(_0x2bb584)),at(0x3,_0x2a08b7(_0x58b3a4)),at(0x4,_0x2a08b7(_0x30f8ed))],he);var qi=Object['getOwnPropertyDescriptor'],Hi=(_0x4502fe,_0x38462d,_0xf4873d,_0x3e2aca)=>{const _0x48f886=_0x568d43;for(var _0x57be62=_0x3e2aca>0x1?void 0x0:_0x3e2aca?qi(_0x38462d,_0xf4873d):_0x38462d,_0x4d858c=_0x4502fe[_0x48f886(0x28f)]-0x1,_0xe36aa;_0x4d858c>=0x0;_0x4d858c--)(_0xe36aa=_0x4502fe[_0x4d858c])&&(_0x57be62=_0xe36aa(_0x57be62)||_0x57be62);return _0x57be62;},rt=(_0x274893,_0xc30daf)=>(_0x26bb88,_0x4c7b1e)=>_0xc30daf(_0x26bb88,_0x4c7b1e,_0x274893);let Ne=class extends _0x564bbd{constructor(_0x169970,_0x53fad8,_0x19a145,_0x53549f,_0x5dd3d4){const _0x3b0230=_0x568d43;super(),E(this,_0x3b0230(0x100),new Map()),E(this,_0x3b0230(0xdc),new Map()),E(this,_0x3b0230(0xda),new _0x447c66()),E(this,_0x3b0230(0x22e),this[_0x3b0230(0xda)][_0x3b0230(0x2bd)]()),E(this,_0x3b0230(0x1ab),new _0x447c66()),E(this,_0x3b0230(0x2b9),this[_0x3b0230(0x1ab)][_0x3b0230(0x2bd)]()),E(this,_0x3b0230(0x2d4)),(this[_0x3b0230(0x182)]=_0x169970,this[_0x3b0230(0x2f4)]=_0x53fad8,this[_0x3b0230(0xf2)]=_0x19a145,this[_0x3b0230(0x278)]=_0x53549f,this[_0x3b0230(0x11a)]=_0x5dd3d4,this['_initLocale'](),this[_0x3b0230(0x2e4)]());}[_0x568d43(0x2e4)](){const _0xdcb473=_0x568d43;this[_0xdcb473(0x1c6)](this['_univerInstanceService'][_0xdcb473(0x1fc)](_0x278b7f[_0xdcb473(0x14f)])[_0xdcb473(0x334)](_0x27e09c=>{const _0x1e95df=_0xdcb473;this[_0x1e95df(0x236)](_0x27e09c[_0x1e95df(0x1c4)]());}));}[_0x568d43(0xf4)](){const _0x161b1f=_0x568d43;this[_0x161b1f(0x2d4)]=fo(this['_injector'],ko,'',{});}['updateRenderCache'](_0x41f511){const _0x23fbd7=_0x568d43,{view:_0x1c1bf9,unitId:_0x5529ac,subUnitId:_0x4af423,pivotTableId:_0x2ec2bc,type:_0x50fdf3}=_0x41f511,_0x1450c1=this[_0x23fbd7(0xf2)][_0x23fbd7(0x2db)](_0x5529ac,_0x4af423,_0x2ec2bc);if(!_0x1c1bf9||!_0x1450c1||_0x50fdf3===L[_0x23fbd7(0x1af)])return;const {pageView:_0x241d31,cornerView:_0x5dbc81,rowView:_0x2b9142,colView:_0x96bdbb,dataView:_0x374f1d}=_0x1c1bf9,_0x3b5680=_0x1450c1[_0x23fbd7(0x1a8)],_0x1ffff3=_0x1450c1[_0x23fbd7(0x1cb)],_0x2815c6=this[_0x23fbd7(0x2ea)](_0x5529ac,_0x4af423),_0x1af9ce=this[_0x23fbd7(0x2ba)](_0x5529ac,_0x4af423,_0x2ec2bc);if(_0x1ffff3)return this['_updateRenderEmptyCache'](_0x41f511,_0x2815c6,_0x3b5680,_0x1af9ce);{const _0x259ea4=ge(_0x3b5680,_0x241d31,!0x0),_0x56228e=_0x241d31[_0x23fbd7(0x12d)]>=0x0?_0x241d31[_0x23fbd7(0x12d)]+0x1:0x0,_0x3089aa=_0x5dbc81[_0x23fbd7(0x298)](),_0x3691b7=_0x5dbc81[_0x23fbd7(0xe6)](),_0xab70b0=_0x259ea4[_0x23fbd7(0x28f)]>0x0?It:0x0,_0x1fa5b3=ge({'row':_0x3b5680[_0x23fbd7(0xdb)]+_0x56228e+_0xab70b0,'col':_0x3b5680[_0x23fbd7(0x26f)]},_0x5dbc81,!0x1,!0x1),_0x420b8e=ge({'row':_0x3b5680[_0x23fbd7(0xdb)]+_0x56228e+_0xab70b0+_0x3089aa,'col':_0x3b5680[_0x23fbd7(0x26f)]},_0x2b9142,!0x1,!0x0),_0x10ee1a=ge({'row':_0x3b5680[_0x23fbd7(0xdb)]+_0x56228e+_0xab70b0,'col':_0x3b5680[_0x23fbd7(0x26f)]+_0x3691b7},_0x96bdbb,!0x1,!0x0),_0x3bf6c9=ge({'row':_0x3b5680[_0x23fbd7(0xdb)]+_0x56228e+_0xab70b0+_0x3089aa,'col':_0x3b5680[_0x23fbd7(0x26f)]+_0x3691b7},_0x374f1d,!0x1,!0x1);_0x1af9ce[_0x23fbd7(0x2e2)]={'rowRanges':_0x420b8e,'colRanges':_0x10ee1a,'cornerRanges':_0x1fa5b3,'dataRanges':_0x3bf6c9,'pageRanges':_0x259ea4};const _0x1c88f3=Ti(this[_0x23fbd7(0x2f4)],_0x1c1bf9,_0x1450c1,this[_0x23fbd7(0x2d4)]),{valueMatrix:_0x92a51f,rowInfo:_0x2cfeb9,colInfo:_0x5527a0,cornerInfo:_0x4e73aa,rowHeaderMap:_0x4fd65a,colHeaderMap:_0x57a88a}=_0x1c88f3;return _0x1af9ce[_0x23fbd7(0x2c8)]={'rowInfo':_0x2cfeb9,'colInfo':_0x5527a0,'cornerInfo':_0x4e73aa},_0x1af9ce[_0x23fbd7(0x2a5)]={'rowHeaderMap':_0x4fd65a,'colHeaderMap':_0x57a88a},_0x92a51f['forEach']((_0x4e55e9,_0x2f17de)=>{const _0x20ff36=_0x23fbd7;Object[_0x20ff36(0x33e)](_0x2f17de)[_0x20ff36(0x2d3)](_0x3cd00c=>{const _0x216bf8=_0x20ff36,_0x14f596=+_0x3cd00c,_0x282988=_0x92a51f[_0x216bf8(0x225)](_0x4e55e9,_0x14f596);_0x2815c6[_0x216bf8(0x160)](_0x4e55e9,_0x14f596,_0x282988);});}),this[_0x23fbd7(0x1ab)]['next']({'unitId':_0x5529ac,'subUnitId':_0x4af423,'valueMatrix':_0x2815c6,'rangesCache':_0x1af9ce['rangesInfo'],'pivotTableId':_0x2ec2bc,'type':_0x41f511[_0x23fbd7(0x23e)]}),this['_sheetsPivotTableConfigModel'][_0x23fbd7(0x281)](_0x5529ac,_0x4af423,_0x2ec2bc,_0x2815c6,_0x1af9ce[_0x23fbd7(0x2e2)]),this[_0x23fbd7(0x11a)][_0x23fbd7(0x141)](_0x5529ac,_0x4af423,Jt,this[_0x23fbd7(0x117)](_0x1af9ce[_0x23fbd7(0x2e2)],_0x2ec2bc)),{'rangeCache':_0x1af9ce[_0x23fbd7(0x2e2)],'matrix':_0x2815c6};}}[_0x568d43(0x15f)](_0x1acfe3,_0x5468d5,_0x194f86,_0x1c11b1){const _0xfc0430=_0x568d43,_0x200ed4=this[_0xfc0430(0x182)]['t'],{unitId:_0x2b5144,subUnitId:_0xfe4ea9,pivotTableId:_0x294b70}=_0x1acfe3,_0x4feb68={'filter':_0x200ed4(_0xfc0430(0x188)),'row':_0x200ed4(_0xfc0430(0x289)),'column':_0x200ed4(_0xfc0430(0x1c7)),'values':_0x200ed4('sheets-pivot.emptyPivot.values')},{matrixCache:_0x28193c,rangesCache:_0x9085dd}=Go(_0x4feb68,_0x194f86);return _0x28193c[_0xfc0430(0x163)]((_0xee3c56,_0x477847,_0x3e8b81)=>{const _0x110495=_0xfc0430;_0x5468d5[_0x110495(0x160)](_0xee3c56,_0x477847,_0x3e8b81);}),_0x1c11b1[_0xfc0430(0x2e2)]=_0x9085dd,this['_viewUpdate$'][_0xfc0430(0xf7)]({'unitId':_0x2b5144,'subUnitId':_0xfe4ea9,'valueMatrix':_0x5468d5,'rangesCache':_0x9085dd,'pivotTableId':_0x294b70,'type':_0x1acfe3[_0xfc0430(0x23e)],'isEmpty':!0x0}),this[_0xfc0430(0xf2)]['updateViewInfo'](_0x2b5144,_0xfe4ea9,_0x294b70,_0x5468d5,_0x9085dd),this[_0xfc0430(0x11a)][_0xfc0430(0x141)](_0x2b5144,_0xfe4ea9,Jt,this[_0xfc0430(0x117)](_0x9085dd,_0x294b70)),{'rangeCache':_0x1c11b1[_0xfc0430(0x2e2)],'matrix':_0x5468d5};}['_createExclusiveRange'](_0x5073fb,_0x3e70ed){const _0x4b408c=_0x568d43,_0x38157b=[],_0xc59a18=Lt(_0x5073fb);for(const _0x588000 of _0xc59a18)_0x38157b[_0x4b408c(0x179)]({'groupId':_0x3e70ed,'range':_0x588000});return _0x38157b;}[_0x568d43(0x28b)](_0x2cd7e3){const _0x1d5b2a=_0x568d43;var _0x6472c9,_0x2eea9c,_0x52fc86,_0x1747f8;const {pivotTableId:_0x223991,unitId:_0x1cc43,subUnitId:_0x11334d}=_0x2cd7e3;if(!_0x223991||!_0x1cc43||!_0x11334d)return;const _0x2d1c88=this[_0x1d5b2a(0x2ea)](_0x1cc43,_0x11334d),_0xfc4a14=(_0x2eea9c=(_0x6472c9=this[_0x1d5b2a(0x100)][_0x1d5b2a(0x194)](_0x1cc43))==null?void 0x0:_0x6472c9['get'](_0x11334d))==null?void 0x0:_0x2eea9c[_0x1d5b2a(0x194)](_0x223991);if(_0xfc4a14!=null&&_0xfc4a14[_0x1d5b2a(0x2e2)]){for(const _0x990a78 of Object[_0x1d5b2a(0x33e)](_0xfc4a14['rangesInfo']))_0xfc4a14['rangesInfo'][_0x990a78][_0x1d5b2a(0x2d3)](_0x6212a5=>{const _0x3fcce9=_0x1d5b2a;for(let _0x272a82=_0x6212a5[_0x3fcce9(0x13e)];_0x272a82<=_0x6212a5[_0x3fcce9(0xec)];_0x272a82++)for(let _0x9b1a72=_0x6212a5[_0x3fcce9(0x13f)];_0x9b1a72<=_0x6212a5[_0x3fcce9(0x351)];_0x9b1a72++)_0x2d1c88[_0x3fcce9(0x198)](_0x272a82,_0x9b1a72);});}_0xfc4a14&&((_0x1747f8=(_0x52fc86=this[_0x1d5b2a(0x100)][_0x1d5b2a(0x194)](_0x1cc43))==null?void 0x0:_0x52fc86[_0x1d5b2a(0x194)](_0x11334d))==null||_0x1747f8['delete'](_0x223991)),this[_0x1d5b2a(0x1ab)][_0x1d5b2a(0xf7)]({'unitId':_0x1cc43,'subUnitId':_0x11334d,'valueMatrix':_0x2d1c88,'pivotTableId':_0x223991,'rangesCache':void 0x0,'type':_0x2cd7e3[_0x1d5b2a(0x23e)]}),this[_0x1d5b2a(0x11a)][_0x1d5b2a(0xd6)](_0x1cc43,_0x11334d,Jt,_0x223991);}['_ensurePivotItemRenderInfoCache'](_0xfe946d,_0x571c3a,_0x1e4178){const _0x7683d8=_0x568d43;var _0x112e1b,_0x2ab300,_0x4ea2d6,_0x2bc3cc,_0x1ef958,_0x3c794f;return this['_pivotRenderInfoCache'][_0x7683d8(0x130)](_0xfe946d)||this[_0x7683d8(0x100)][_0x7683d8(0x2a8)](_0xfe946d,new Map()),(_0x112e1b=this[_0x7683d8(0x100)]['get'](_0xfe946d))!=null&&_0x112e1b[_0x7683d8(0x130)](_0x571c3a)||(_0x2ab300=this['_pivotRenderInfoCache'][_0x7683d8(0x194)](_0xfe946d))==null||_0x2ab300[_0x7683d8(0x2a8)](_0x571c3a,new Map()),(_0x2bc3cc=(_0x4ea2d6=this[_0x7683d8(0x100)]['get'](_0xfe946d))==null?void 0x0:_0x4ea2d6[_0x7683d8(0x194)](_0x571c3a))!=null&&_0x2bc3cc[_0x7683d8(0x130)](_0x1e4178)||(_0x3c794f=(_0x1ef958=this['_pivotRenderInfoCache'][_0x7683d8(0x194)](_0xfe946d))==null?void 0x0:_0x1ef958['get'](_0x571c3a))==null||_0x3c794f['set'](_0x1e4178,{}),this[_0x7683d8(0x100)][_0x7683d8(0x194)](_0xfe946d)[_0x7683d8(0x194)](_0x571c3a)[_0x7683d8(0x194)](_0x1e4178);}[_0x568d43(0x2ea)](_0x50973b,_0x46052e){const _0x229901=_0x568d43;var _0x1f5b8d,_0x158b25;return this[_0x229901(0xdc)][_0x229901(0x130)](_0x50973b)||this[_0x229901(0xdc)]['set'](_0x50973b,new Map()),(_0x1f5b8d=this[_0x229901(0xdc)][_0x229901(0x194)](_0x50973b))!=null&&_0x1f5b8d['has'](_0x46052e)||(_0x158b25=this[_0x229901(0xdc)]['get'](_0x50973b))==null||_0x158b25['set'](_0x46052e,new _0x57c969()),this[_0x229901(0xdc)][_0x229901(0x194)](_0x50973b)[_0x229901(0x194)](_0x46052e);}[_0x568d43(0x233)](_0x492e8c,_0x1dfb1d,_0x43f36a,_0x37a839){const _0x56ad26=_0x568d43;var _0x3e4594,_0x561c40;const _0x3f662b=(_0x561c40=(_0x3e4594=this[_0x56ad26(0xdc)][_0x56ad26(0x194)](_0x492e8c))==null?void 0x0:_0x3e4594[_0x56ad26(0x194)](_0x1dfb1d))==null?void 0x0:_0x561c40['getValue'](_0x43f36a,_0x37a839);if(_0x3f662b!=null)return _0x3f662b;}[_0x568d43(0x2d5)](_0x3cf777,_0xb4bdad,_0x597e8d,_0x1cf00d){const _0x6dd700=_0x568d43;var _0x2f6007;const _0x1a4393=_0x41bcd3(_0x597e8d,_0x1cf00d),_0x3524d3=(_0x2f6007=this['_pivotRenderInfoCache'][_0x6dd700(0x194)](_0x3cf777))==null?void 0x0:_0x2f6007['get'](_0xb4bdad);return _0x3524d3?Array[_0x6dd700(0x2cd)](_0x3524d3[_0x6dd700(0x33e)]())['find'](_0x5aad08=>{const _0x42fb31=_0x6dd700,_0x2ee5b0=_0x3524d3[_0x42fb31(0x194)](_0x5aad08),_0x340d2f=_0x2ee5b0==null?void 0x0:_0x2ee5b0['rangesInfo'];return _0x340d2f?Object['keys'](_0x340d2f)[_0x42fb31(0x2da)](_0x52cf66=>_0x340d2f[_0x52cf66][_0x42fb31(0x2da)](_0x18e111=>_0x213a48[_0x42fb31(0x2a0)](_0x18e111,_0x1a4393))):!0x1;}):void 0x0;}[_0x568d43(0x150)](_0x3fc4dc,_0x58d88c,_0x133c85){const _0xc8f36d=_0x568d43;var _0x2a30ba;const _0x44e4e4=(_0x2a30ba=this[_0xc8f36d(0x100)][_0xc8f36d(0x194)](_0x3fc4dc))==null?void 0x0:_0x2a30ba[_0xc8f36d(0x194)](_0x58d88c),_0x274f21=[];return _0x44e4e4&&Array[_0xc8f36d(0x2cd)](_0x44e4e4[_0xc8f36d(0x33e)]())[_0xc8f36d(0x2d3)](_0x8e8836=>{const _0x378bc2=_0xc8f36d,_0x25f73c=_0x44e4e4[_0x378bc2(0x194)](_0x8e8836),_0x35723c=_0x25f73c==null?void 0x0:_0x25f73c['rangesInfo'];if(_0x35723c)for(const _0xbf8488 of Object[_0x378bc2(0x1c1)](_0x35723c)){let _0x55c2b1=!0x1;for(const _0x4bc28f of _0xbf8488)if(_0x213a48[_0x378bc2(0xd2)](_0x4bc28f,_0x133c85)){_0x274f21['push'](_0x8e8836),_0x55c2b1=!0x0;break;}if(_0x55c2b1)break;}}),_0x274f21;}['getSubUnitPivotMatrix'](_0x4072fb,_0x589fbb){const _0x2d4dc1=_0x568d43;var _0x4d9247,_0x266580;return(_0x266580=(_0x4d9247=this['_pivotRenderValueMatrixCache'][_0x2d4dc1(0x194)](_0x4072fb))==null?void 0x0:_0x4d9247[_0x2d4dc1(0x194)](_0x589fbb))!=null?_0x266580:new _0x57c969();}[_0x568d43(0x128)](_0x1ec4dd,_0x127cce){var _0x34ec47;return(_0x34ec47=this['_pivotRenderInfoCache']['get'](_0x1ec4dd))==null?void 0x0:_0x34ec47['get'](_0x127cce);}[_0x568d43(0x135)](_0x408437,_0x3a37fc,_0x3b650a){const _0x2ae6eb=_0x568d43;var _0x12de18,_0x292257;return(_0x292257=(_0x12de18=this[_0x2ae6eb(0x100)][_0x2ae6eb(0x194)](_0x408437))==null?void 0x0:_0x12de18[_0x2ae6eb(0x194)](_0x3a37fc))==null?void 0x0:_0x292257[_0x2ae6eb(0x194)](_0x3b650a);}['deleteUnitId'](_0x21eab9){const _0x5cc73d=_0x568d43;this[_0x5cc73d(0x100)]['delete'](_0x21eab9),this[_0x5cc73d(0xdc)][_0x5cc73d(0x1a3)](_0x21eab9);}[_0x568d43(0x2f1)](_0x581621,_0x5374d7){const _0x16fce6=_0x568d43;this['_markDirty$'][_0x16fce6(0xf7)]({'unitId':_0x581621,'subUnitId':_0x5374d7});}};Ne=Hi([rt(0x0,_0x2a08b7(_0x19c820)),rt(0x1,_0x2a08b7(_0x4ff8ac)),rt(0x2,_0x2a08b7(he)),rt(0x3,_0x2a08b7(_0x2bb584)),rt(0x4,_0x2a08b7(_0x1e3106))],Ne);var zi=Object['getOwnPropertyDescriptor'],Yi=(_0x4815a5,_0x3bff7c,_0x5d418e,_0x25eb2d)=>{const _0xcef45=_0x568d43;for(var _0x432198=_0x25eb2d>0x1?void 0x0:_0x25eb2d?zi(_0x3bff7c,_0x5d418e):_0x3bff7c,_0x44c4f8=_0x4815a5[_0xcef45(0x28f)]-0x1,_0x42c707;_0x44c4f8>=0x0;_0x44c4f8--)(_0x42c707=_0x4815a5[_0x44c4f8])&&(_0x432198=_0x42c707(_0x432198)||_0x432198);return _0x432198;},Mo=(_0x1cb30d,_0x3ee4a8)=>(_0x5491bc,_0x417f94)=>_0x3ee4a8(_0x5491bc,_0x417f94,_0x1cb30d);let ie=class extends _0x564bbd{constructor(_0x18d9dc,_0x2bbdea){const _0x4b3688=_0x568d43;super(),E(this,_0x4b3688(0x1dd),new _0xac95ae({'PIVOT_PERFORM_CHECK':Se})),E(this,_0x4b3688(0x1d3),new _0x9f3b82({'PIVOT_MUTATION_GENERATE':$o})),(this['_sheetInterceptorService']=_0x18d9dc,this[_0x4b3688(0x287)]=_0x2bbdea,this[_0x4b3688(0x1e9)]());}[_0x568d43(0x1e9)](){const _0x1634de=_0x568d43;this[_0x1634de(0x1fd)]();}['getPivotPerformCheck'](_0x70138e){const _0x24d363=_0x568d43;return this[_0x24d363(0x1dd)][_0x24d363(0x2e7)](Se)(!0x1,_0x70138e);}[_0x568d43(0x1fd)](){const _0x3c1faa=_0x568d43;this[_0x3c1faa(0x1c6)](this[_0x3c1faa(0x2e8)][_0x3c1faa(0x268)](_0x98806a[_0x3c1faa(0x324)],{'priority':0xc8,'effect':_0x5ab5ea[_0x3c1faa(0x14c)]|_0x5ab5ea[_0x3c1faa(0x327)],'handler':(_0x536efa,_0x34b28e,_0x1bd974)=>{const _0x3e6c8f=_0x3c1faa,{row:_0x26ca97,col:_0x2be12d,unitId:_0x565c61,subUnitId:_0x17f49e,workbook:_0xdb58ec}=_0x34b28e,_0x42248f=this[_0x3e6c8f(0x287)][_0x3e6c8f(0x233)](_0x565c61,_0x17f49e,_0x26ca97,_0x2be12d);if(!_0x42248f)return _0x1bd974(_0x536efa);const _0x3cff4c={..._0x536efa};(_0x42248f['v']||_0x42248f['v']===0x0)&&(_0x3cff4c['v']=_0x42248f['v']),_0x42248f['t']&&(_0x3cff4c['t']=_0x42248f['t']);const _0x4d0d5c=(typeof(_0x536efa==null?void 0x0:_0x536efa['s'])==_0x3e6c8f(0x326)?_0xdb58ec['getStyles']()['get'](_0x536efa==null?void 0x0:_0x536efa['s']):_0x536efa==null?void 0x0:_0x536efa['s'])||{},_0x3e074d=_0xdb58ec['getStyles']()[_0x3e6c8f(0x194)](_0x42248f['s']),_0x3c16cb={..._0x3e074d,..._0x4d0d5c};_0x3e074d!=null&&_0x3e074d['n']&&(_0x3c16cb['n']=_0x3e074d['n']);const _0x3ceab0=_0xdb58ec[_0x3e6c8f(0x161)]()['setValue'](_0x3c16cb);return _0x3cff4c['s']=_0x3ceab0,(_0x42248f[_0x3e6c8f(0x26c)]===_0x3ce62b[_0x3e6c8f(0x113)]||_0x42248f['pbt']===_0x3ce62b[_0x3e6c8f(0xe2)])&&(_0x3cff4c['fontRenderExtension']={},_0x3cff4c[_0x3e6c8f(0x152)]['leftOffset']=li),_0x1bd974(_0x3cff4c);}}));}};ie=Yi([Mo(0x0,_0x2a08b7(_0x4d778b)),Mo(0x1,_0x2a08b7(Ne))],ie);function Nt(_0x3ef7c9,_0x4af750){const _0x214454=_0x568d43;switch(_0x4af750){case _0xc3cf43[_0x214454(0x14c)]:return _0x3ef7c9['valueFields'];case _0xc3cf43[_0x214454(0x22f)]:return _0x3ef7c9['filterFields'];case _0xc3cf43['Row']:return _0x3ef7c9[_0x214454(0x193)];case _0xc3cf43[_0x214454(0x146)]:return _0x3ef7c9[_0x214454(0x186)];default:return[];}}function je(_0x1151e3,_0x4ecf79){const _0x1b37cd=_0x568d43;return _0x1151e3[_0x1b37cd(0x342)][_0x4ecf79]||_0x1151e3[_0x1b37cd(0x10b)][_0x4ecf79];}function Qi(_0x2e1ff2,_0x44b95a){const _0x4bb7dc=_0x568d43,{area:_0x15b2a6,fieldJson:_0x4d0879,index:_0x12efd4}=_0x44b95a;_0x15b2a6===_0xc3cf43[_0x4bb7dc(0x14c)]?_0x2e1ff2[_0x4bb7dc(0x342)][_0x4d0879['id']]=_0x4d0879:_0x2e1ff2[_0x4bb7dc(0x10b)][_0x4d0879['id']]=_0x4d0879,Nt(_0x2e1ff2,_0x15b2a6)[_0x4bb7dc(0x261)](_0x12efd4,0x0,_0x4d0879['id']);}function Xi(_0x2b72ba,_0xc62270){const _0x2b6519=_0x568d43,{area:_0x44925c,fieldId:_0x135641,index:_0x509140}=_0xc62270;_0x44925c===_0xc3cf43[_0x2b6519(0x14c)]?delete _0x2b72ba[_0x2b6519(0x342)][_0x135641]:delete _0x2b72ba[_0x2b6519(0x10b)][_0x135641],Nt(_0x2b72ba,_0x44925c)[_0x2b6519(0x261)](_0x509140,0x1);}function es(_0x48bfdb,_0xb5b558){const _0x466c59=_0x568d43,{fieldId:_0x41e921,name:_0x27661}=_0xb5b558,_0x3f446b=je(_0x48bfdb,_0x41e921);_0x3f446b&&(_0x3f446b[_0x466c59(0x222)]=_0x27661);}function ts(_0x4e6d65,_0x18bca9){const _0x4b530a=_0x568d43,{fieldId:_0x271c64,collapse:_0x364578,item:_0x1416f9}=_0x18bca9;_0x1416f9!==void 0x0?(_0x4e6d65[_0x4b530a(0x1c2)][_0x271c64]=_0x4e6d65['collapseInfo'][_0x271c64]||{},_0x4e6d65[_0x4b530a(0x1c2)][_0x271c64][_0x1416f9]=_0x364578):_0x4e6d65[_0x4b530a(0x1c2)][_0x271c64]=_0x364578;}function os(_0xeb0754,_0x29321e){const _0x4057e9=_0x568d43,{fieldId:_0xdea027,format:_0x3b7338}=_0x29321e,_0x4974c7=je(_0xeb0754,_0xdea027);_0x4974c7&&(_0x4974c7[_0x4057e9(0x22b)]=_0x3b7338);}function ns(_0xad42f9,_0x1d0c6b){const _0x1c78c2=_0x568d43,{fieldId:_0x52a413,filterInfo:_0x12c711}=_0x1d0c6b,_0x3583f3=je(_0xad42f9,_0x52a413);_0x3583f3&&(_0x3583f3[_0x1c78c2(0x297)]=_0x12c711);}function is(_0x57b8b5,_0x4493d5){const _0x5d6fec=_0x568d43,{fieldId:_0x331e15,filterInfo:_0x2e9abe}=_0x4493d5,_0x332f4b=_0x57b8b5['valueFilter'][_0x5d6fec(0x1a1)](_0x5783d7=>_0x5783d7[_0x5d6fec(0x2eb)]!==_0x331e15);_0x2e9abe&&_0x332f4b['push']({'fieldId':_0x331e15,'filterInfo':_0x2e9abe}),_0x57b8b5['valueFilter']=_0x332f4b;}function ss(_0x180f1c,_0x26ed0a){const _0xb1a406=_0x568d43,{fieldId:_0x29ff69,subtotalType:_0x4eb2c7}=_0x26ed0a,_0x119909=je(_0x180f1c,_0x29ff69);_0x119909&&(_0x119909[_0xb1a406(0x316)]=_0x4eb2c7);}function as(_0x4c2f08,_0x465c6e){const _0x3f9831=_0x568d43,{fieldId:_0x237828,oldArea:_0x14a2d9,area:_0x4a2e43,oldIndex:_0x34c923,index:_0x49f4db}=_0x465c6e,_0xdf879d=_0x14a2d9!==_0xc3cf43['Value']&&_0x4a2e43===_0xc3cf43['Value'],_0x13d1aa=_0x14a2d9===_0xc3cf43[_0x3f9831(0x14c)]&&_0x4a2e43!==_0xc3cf43[_0x3f9831(0x14c)];if(_0xdf879d||_0x13d1aa){const _0x23739d=je(_0x4c2f08,_0x237828);_0x23739d&&(_0xdf879d?(delete _0x4c2f08[_0x3f9831(0x10b)][_0x237828],_0x4c2f08[_0x3f9831(0x342)][_0x237828]=_0x23739d):(delete _0x4c2f08[_0x3f9831(0x342)][_0x237828],_0x4c2f08[_0x3f9831(0x10b)][_0x237828]=_0x23739d));}const _0x20301d=Nt(_0x4c2f08,_0x14a2d9),_0x51a53d=Nt(_0x4c2f08,_0x4a2e43);_0x20301d['splice'](_0x34c923,0x1),_0x51a53d['splice'](_0x49f4db,0x0,_0x237828);}function rs(_0x43f6dd,_0x4e5abe){const _0x30a4c1=_0x568d43,{valuePosition:_0x392766,index:_0x1e9830}=_0x4e5abe;_0x43f6dd[_0x30a4c1(0x21e)]=_0x392766,_0x43f6dd[_0x30a4c1(0x19c)]=_0x1e9830;}function ls(_0x252b75,_0x4ce0ed){const _0xc305d4=_0x568d43,{tableFieldId:_0x9a022d,sourceName:_0xec341e,dataFieldId:_0x41a633}=_0x4ce0ed,_0x1944dc=je(_0x252b75,_0x9a022d);_0x1944dc&&(_0x1944dc[_0xc305d4(0x159)]=_0xec341e,_0x1944dc[_0xc305d4(0x10d)]=_0x41a633);}function cs(_0x3ed9b6,_0x3a85a5){const _0x1e7451=_0x568d43,{fieldId:_0xa30a66,sortInfo:_0x1484ec}=_0x3a85a5,_0x3e6c15=je(_0x3ed9b6,_0xa30a66);_0x3e6c15&&(_0x3e6c15[_0x1e7451(0x19a)]=_0x1484ec);}function _0x2038(_0x57e4ce,_0x490aa1){const _0xd861a0=_0xd861();return _0x2038=function(_0x2038b1,_0xb8a1cb){_0x2038b1=_0x2038b1-0xd0;let _0x59f960=_0xd861a0[_0x2038b1];return _0x59f960;},_0x2038(_0x57e4ce,_0x490aa1);}function ds(_0x3a38d9,_0x2d9a16){const _0x51e09c=_0x568d43,{options:_0x43de6e}=_0x2d9a16;_0x3a38d9[_0x51e09c(0x29d)]={..._0x3a38d9[_0x51e09c(0x29d)],..._0x43de6e};}const $t={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x25b),'handler'(_0x3f2c29,_0x523e23){const _0x1e5021=_0x568d43;if(!_0x523e23)return!0x1;if(!!_0x3f2c29[_0x1e5021(0x194)](_0x30f8ed)[_0x1e5021(0x311)](q))return!0x0;const _0x4f7694=_0x3f2c29[_0x1e5021(0x194)]($),{pivotTableId:_0x31d2f6,fieldJson:_0x2c74a9,area:_0x326bd1,index:_0x4eec9d,unitId:_0x3592db,subUnitId:_0x2b7d0}=_0x523e23,_0x587a67=_0x4f7694[_0x1e5021(0xfa)](_0x31d2f6);if(!_0x587a67)return!0x1;let _0x29b876;_0x326bd1===_0xc3cf43[_0x1e5021(0x14c)]?_0x29b876=_0x592839(_0x2c74a9):_0x29b876=_0x3283a2(_0x2c74a9),_0x587a67[_0x1e5021(0x288)](_0x29b876,_0x326bd1,_0x4eec9d);const _0x1594f9=_0x4f7694[_0x1e5021(0x20d)](_0x3592db,_0x2b7d0,_0x31d2f6);Qi(_0x1594f9,_0x523e23);const _0x59f165=_0x4f7694[_0x1e5021(0x2db)](_0x3592db,_0x2b7d0,_0x31d2f6);return _0x4f7694['addDirtyPivotTable']({'unitId':_0x3592db,'subUnitId':_0x2b7d0,'token':_0x31d2f6,'type':L['Set'],'pivotConfig':_0x59f165}),!0x0;}},jt={'type':_0x30df22['MUTATION'],'id':_0x568d43(0x15d),'handler'(_0x41682f,_0x2bff07){const _0x1b3cd7=_0x568d43;if(!_0x2bff07)return!0x1;if(!!_0x41682f['get'](_0x30f8ed)[_0x1b3cd7(0x311)](q))return!0x0;const _0x523286=_0x41682f['get']($),{pivotTableId:_0x397991,fieldId:_0x6e8303,unitId:_0x22460a,subUnitId:_0x47e36b}=_0x2bff07,_0x4b934a=_0x523286[_0x1b3cd7(0xfa)](_0x397991);if(!_0x4b934a)return!0x1;_0x4b934a[_0x1b3cd7(0x234)](_0x6e8303);const _0x40ef6b=_0x523286[_0x1b3cd7(0x20d)](_0x22460a,_0x47e36b,_0x397991);Xi(_0x40ef6b,_0x2bff07);const _0x3b8157=_0x523286[_0x1b3cd7(0x2db)](_0x22460a,_0x47e36b,_0x397991);return _0x523286[_0x1b3cd7(0x199)]({'unitId':_0x22460a,'subUnitId':_0x47e36b,'token':_0x397991,'type':L['Set'],'pivotConfig':_0x3b8157}),!0x0;}},Wt={'type':_0x30df22['MUTATION'],'id':_0x568d43(0x269),'handler'(_0x5ec2af,_0xcadfe4){const _0x31898b=_0x568d43;if(!_0xcadfe4)return!0x1;if(!!_0x5ec2af[_0x31898b(0x194)](_0x30f8ed)['getConfig'](q))return!0x0;const _0x1db009=_0x5ec2af[_0x31898b(0x194)]($),{unitId:_0x40b03c,subUnitId:_0x1227e7,pivotTableId:_0x377c5c,fieldId:_0x2038e0,name:_0x1794a9}=_0xcadfe4,_0x44d94b=_0x1db009[_0x31898b(0xfa)](_0x377c5c);if(!_0x44d94b)return!0x1;_0x44d94b['renameField'](_0x2038e0,_0x1794a9);const _0x1469b4=_0x1db009['getPivotTableModelConfig'](_0x40b03c,_0x1227e7,_0x377c5c);return es(_0x1469b4,_0xcadfe4),_0x1db009[_0x31898b(0x199)]({'unitId':_0x40b03c,'subUnitId':_0x1227e7,'token':_0x377c5c,'type':L[_0x31898b(0x124)]}),!0x0;}},Gt={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x359),'handler'(_0x582e32,_0x453f51){const _0x4b592d=_0x568d43;if(!_0x453f51)return!0x1;if(!!_0x582e32['get'](_0x30f8ed)['getConfig'](q))return!0x0;const _0x56ea31=_0x582e32[_0x4b592d(0x194)]($),{unitId:_0x248678,subUnitId:_0x3c54f9,pivotTableId:_0x11b089,fieldId:_0x1f9af7,collapse:_0x570159,item:_0x460725}=_0x453f51,_0x461a81=_0x56ea31[_0x4b592d(0xfa)](_0x11b089);if(!_0x461a81)return!0x1;_0x461a81['setCollapse'](_0x1f9af7,_0x570159,_0x460725);const _0x5dd2df=_0x56ea31[_0x4b592d(0x20d)](_0x248678,_0x3c54f9,_0x11b089);return ts(_0x5dd2df,_0x453f51),_0x56ea31['addDirtyPivotTable']({'unitId':_0x248678,'subUnitId':_0x3c54f9,'token':_0x11b089,'type':L['Set']}),!0x0;}},Zt={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x1a6),'handler'(_0xba0f3b,_0x58a2d6){const _0x1f4d71=_0x568d43;if(!_0x58a2d6)return!0x1;if(!!_0xba0f3b[_0x1f4d71(0x194)](_0x30f8ed)[_0x1f4d71(0x311)](q))return!0x0;const _0x238908=_0xba0f3b[_0x1f4d71(0x194)]($),{unitId:_0x368e59,subUnitId:_0x1c957f,pivotTableId:_0x254ab0,fieldId:_0x58f4f1,format:_0x1b64c2}=_0x58a2d6,_0x2ff46b=_0x238908[_0x1f4d71(0xfa)](_0x254ab0);if(!_0x2ff46b)return!0x1;_0x2ff46b[_0x1f4d71(0x168)](_0x58f4f1,_0x1b64c2);const _0x5488ad=_0x238908[_0x1f4d71(0x20d)](_0x368e59,_0x1c957f,_0x254ab0);return os(_0x5488ad,_0x58a2d6),_0x238908['addDirtyPivotTable']({'unitId':_0x368e59,'subUnitId':_0x1c957f,'token':_0x254ab0,'type':L['Set']}),!0x0;}},Kt={'type':_0x30df22[_0x568d43(0xfb)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x2c2158,_0x410920){const _0x54cd53=_0x568d43;if(!_0x410920)return!0x1;if(!!_0x2c2158[_0x54cd53(0x194)](_0x30f8ed)['getConfig'](q))return!0x0;const _0x43f2d4=_0x2c2158[_0x54cd53(0x194)]($),{unitId:_0x5bead8,subUnitId:_0x5e1b48,pivotTableId:_0x4c62cf,fieldId:_0x5d8832,filterInfo:_0x94326c}=_0x410920,_0x2ab393=_0x43f2d4[_0x54cd53(0xfa)](_0x4c62cf);if(!_0x2ab393)return!0x1;_0x2ab393[_0x54cd53(0x282)](_0x5d8832,_0x94326c);const _0x2baa9f=_0x43f2d4[_0x54cd53(0x20d)](_0x5bead8,_0x5e1b48,_0x4c62cf);return ns(_0x2baa9f,_0x410920),_0x43f2d4[_0x54cd53(0x199)]({'unitId':_0x5bead8,'subUnitId':_0x5e1b48,'token':_0x4c62cf,'type':L[_0x54cd53(0x124)]}),!0x0;}},qt={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x101),'handler'(_0x309a72,_0x1e7ca9){const _0x31953d=_0x568d43;if(!_0x1e7ca9)return!0x1;if(!!_0x309a72[_0x31953d(0x194)](_0x30f8ed)['getConfig'](q))return!0x0;const _0x5b01a3=_0x309a72[_0x31953d(0x194)]($),{unitId:_0x50230e,subUnitId:_0x752e34,pivotTableId:_0x3d21af,options:_0xe2e5f2}=_0x1e7ca9,_0x281dc0=_0x5b01a3[_0x31953d(0xfa)](_0x3d21af);if(!_0x281dc0)return!0x1;_0x281dc0[_0x31953d(0x315)](_0xe2e5f2);const _0x542383=_0x5b01a3['getPivotTableModelConfig'](_0x50230e,_0x752e34,_0x3d21af);return ds(_0x542383,_0x1e7ca9),_0x5b01a3[_0x31953d(0x199)]({'unitId':_0x50230e,'subUnitId':_0x752e34,'token':_0x3d21af,'type':L[_0x31953d(0x124)]}),!0x0;}},Ht={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0xd1),'handler'(_0x4d1312,_0x442d58){const _0x2f5aca=_0x568d43;if(!_0x442d58)return!0x1;if(!!_0x4d1312[_0x2f5aca(0x194)](_0x30f8ed)[_0x2f5aca(0x311)](q))return!0x0;const _0x1aa60e=_0x4d1312[_0x2f5aca(0x194)]($),{unitId:_0x199795,subUnitId:_0x191e67,pivotTableId:_0xe26c28,sortInfo:_0x4d604e,fieldId:_0xf29202}=_0x442d58,_0x48ae69=_0x1aa60e[_0x2f5aca(0xfa)](_0xe26c28);if(!_0x48ae69)return!0x1;_0x48ae69[_0x2f5aca(0x295)](_0xf29202,_0x4d604e);const _0x10c170=_0x1aa60e[_0x2f5aca(0x20d)](_0x199795,_0x191e67,_0xe26c28);return cs(_0x10c170,_0x442d58),_0x1aa60e['addDirtyPivotTable']({'unitId':_0x199795,'subUnitId':_0x191e67,'token':_0xe26c28,'type':L[_0x2f5aca(0x124)]}),!0x0;}},zt={'type':_0x30df22[_0x568d43(0xfb)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x6db794,_0x23bbdf){const _0x34d117=_0x568d43;if(!_0x23bbdf)return!0x1;if(!!_0x6db794['get'](_0x30f8ed)[_0x34d117(0x311)](q))return!0x0;const _0x128ad6=_0x6db794[_0x34d117(0x194)]($),{unitId:_0x25c6fe,subUnitId:_0x3a66df,pivotTableId:_0x2c05ce,fieldId:_0x2255bc,subtotalType:_0x2f9540}=_0x23bbdf,_0x47d1d3=_0x128ad6[_0x34d117(0xfa)](_0x2c05ce);if(!_0x47d1d3)return!0x1;_0x47d1d3[_0x34d117(0x345)](_0x2255bc,_0x2f9540);const _0x110ecb=_0x128ad6[_0x34d117(0x20d)](_0x25c6fe,_0x3a66df,_0x2c05ce);return ss(_0x110ecb,_0x23bbdf),_0x128ad6['addDirtyPivotTable']({'unitId':_0x25c6fe,'subUnitId':_0x3a66df,'token':_0x2c05ce,'type':L['Set']}),!0x0;}},Yt={'type':_0x30df22['MUTATION'],'id':_0x568d43(0x16f),'handler'(_0x52469b,_0x2399e7){const _0x573f74=_0x568d43;if(!_0x2399e7)return!0x1;if(!!_0x52469b['get'](_0x30f8ed)[_0x573f74(0x311)](q))return!0x0;const _0x43302c=_0x52469b[_0x573f74(0x194)]($),{unitId:_0x12e0af,subUnitId:_0x42081c,pivotTableId:_0x35c9ba,fieldId:_0x5c0c9f,filterInfo:_0x3acd1c}=_0x2399e7,_0x52ea3d=_0x43302c[_0x573f74(0xfa)](_0x35c9ba);if(!_0x52ea3d)return!0x1;_0x52ea3d['setValueFilterInfo'](_0x5c0c9f,_0x3acd1c);const _0x516d0d=_0x43302c[_0x573f74(0x20d)](_0x12e0af,_0x42081c,_0x35c9ba);return is(_0x516d0d,_0x2399e7),_0x43302c[_0x573f74(0x199)]({'unitId':_0x12e0af,'subUnitId':_0x42081c,'token':_0x35c9ba,'type':L[_0x573f74(0x124)]}),!0x0;}},Qt={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x338),'handler'(_0x461b47,_0x23c313){const _0x159caf=_0x568d43;if(!_0x23c313)return!0x1;if(!!_0x461b47['get'](_0x30f8ed)['getConfig'](q))return!0x0;const _0xcbfb40=_0x461b47[_0x159caf(0x194)]($),{unitId:_0x19d68b,subUnitId:_0x4233d7,pivotTableId:_0x32e2c5,area:_0x54f36a,index:_0x11e89c,fieldId:_0x50bb3e}=_0x23c313,_0x4174fe=_0xcbfb40[_0x159caf(0xfa)](_0x32e2c5);if(!_0x4174fe)return!0x1;_0x4174fe[_0x159caf(0x29c)](_0x50bb3e,_0x54f36a,_0x11e89c);const _0x251d8d=_0xcbfb40[_0x159caf(0x20d)](_0x19d68b,_0x4233d7,_0x32e2c5);return as(_0x251d8d,_0x23c313),_0xcbfb40[_0x159caf(0x199)]({'unitId':_0x19d68b,'subUnitId':_0x4233d7,'token':_0x32e2c5,'type':L['Set']}),!0x0;}},Xt={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0xd0),'handler'(_0x2b8fd1,_0x27285a){const _0x263fb5=_0x568d43;if(!_0x27285a)return!0x1;if(!!_0x2b8fd1[_0x263fb5(0x194)](_0x30f8ed)[_0x263fb5(0x311)](q))return!0x0;const _0x322961=_0x2b8fd1['get']($),{unitId:_0x121e8d,subUnitId:_0x10fc1f,pivotTableId:_0x1eb983,sourceName:_0x402620,dataFieldId:_0x30592d,tableFieldId:_0x19f493}=_0x27285a,_0x3dd5a1=_0x322961[_0x263fb5(0xfa)](_0x1eb983);if(!_0x3dd5a1)return!0x1;_0x3dd5a1['updateFieldSourceInfo'](_0x19f493,_0x402620,_0x30592d);const _0x33d1ff=_0x322961[_0x263fb5(0x20d)](_0x121e8d,_0x10fc1f,_0x1eb983);return ls(_0x33d1ff,_0x27285a),_0x322961['addDirtyPivotTable']({'unitId':_0x121e8d,'subUnitId':_0x10fc1f,'token':_0x1eb983,'type':L['Set']}),!0x0;}},eo={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x1c9),'handler'(_0x3cc6d1,_0x24259a){const _0x96bc0f=_0x568d43;if(!_0x24259a)return!0x1;if(!!_0x3cc6d1[_0x96bc0f(0x194)](_0x30f8ed)['getConfig'](q))return!0x0;const _0x397677=_0x3cc6d1[_0x96bc0f(0x194)]($),{unitId:_0x41363b,subUnitId:_0x4e9f8c,pivotTableId:_0x55eeba,valuePosition:_0x485555,index:_0x5a5b4f}=_0x24259a,_0x292222=_0x397677[_0x96bc0f(0xfa)](_0x55eeba);if(!_0x292222)return!0x1;_0x292222[_0x96bc0f(0x25d)](_0x485555,_0x5a5b4f);const _0x59e334=_0x397677[_0x96bc0f(0x20d)](_0x41363b,_0x4e9f8c,_0x55eeba);return rs(_0x59e334,_0x24259a),_0x397677['addDirtyPivotTable']({'unitId':_0x41363b,'subUnitId':_0x4e9f8c,'token':_0x55eeba,'type':L[_0x96bc0f(0x124)]}),!0x0;}};function me(_0xc732d3,_0x37a0fe,_0x2153cc){const _0x380bcb=_0x568d43,{pivotTableId:_0x43b7ad,unitId:_0x43d5be,subUnitId:_0x3a6d59}=_0x37a0fe,_0x3ba07f=[],_0x49d73e=[];for(const _0x5d33a5 of _0x2153cc)switch(_0x5d33a5[_0x380bcb(0x23e)]){case _0x4a082f['AddField']:{const {fieldJson:_0x2ed921,area:_0x3a21b2,index:_0x2e4517}=_0x5d33a5,_0x3ce537={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldJson':_0x2ed921,'area':_0x3a21b2,'index':_0x2e4517},_0x15d388={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x2ed921['id'],'area':_0x3a21b2,'index':_0x2e4517};_0x3ba07f[_0x380bcb(0x179)]({'id':$t['id'],'params':_0x3ce537}),_0x49d73e['unshift']({'id':jt['id'],'params':_0x15d388});}break;case _0x4a082f[_0x380bcb(0x26a)]:{const {fieldId:_0x15b228,newSubtotalType:_0x1aa259,oldSubtotalType:_0x24e12c}=_0x5d33a5,_0x476c4e={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x15b228,'subtotalType':_0x1aa259};_0x3ba07f[_0x380bcb(0x179)]({'id':zt['id'],'params':_0x476c4e});const _0x32be1e={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x15b228,'subtotalType':_0x24e12c};_0x49d73e[_0x380bcb(0x230)]({'id':zt['id'],'params':_0x32be1e});}break;case _0x4a082f[_0x380bcb(0x32a)]:{const {fieldId:_0x1282d8,fieldJson:_0x5cedd3,area:_0x32c3b5,index:_0x5c8d1e}=_0x5d33a5,_0x2afd85={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x1282d8,'index':_0x5c8d1e,'area':_0x32c3b5};_0x3ba07f[_0x380bcb(0x179)]({'id':jt['id'],'params':_0x2afd85});const _0x31d103={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldJson':_0x5cedd3,'area':_0x32c3b5,'index':_0x5c8d1e};_0x49d73e[_0x380bcb(0x230)]({'id':$t['id'],'params':_0x31d103});}break;case _0x4a082f[_0x380bcb(0x203)]:{const {fieldId:_0x2d505b,oldName:_0x54ab93,newName:_0x42021f}=_0x5d33a5,_0x27547b={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x2d505b,'name':_0x42021f};_0x3ba07f[_0x380bcb(0x179)]({'id':Wt['id'],'params':_0x27547b});const _0x5a73eb={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x2d505b,'name':_0x54ab93};_0x49d73e[_0x380bcb(0x230)]({'id':Wt['id'],'params':_0x5a73eb});}break;case _0x4a082f[_0x380bcb(0x229)]:{const {fieldId:_0x40ab1f,oldFilterInfo:_0x48998f,newFilterInfo:_0x4cb4bc}=_0x5d33a5,_0x32181f={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x40ab1f,'filterInfo':_0x4cb4bc};_0x3ba07f[_0x380bcb(0x179)]({'id':Kt['id'],'params':_0x32181f});const _0x38bc86={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x40ab1f,'filterInfo':_0x48998f};_0x49d73e['unshift']({'id':Kt['id'],'params':_0x38bc86});}break;case _0x4a082f[_0x380bcb(0x24e)]:{const {fieldId:_0x44ae23,oldSortInfo:_0x4aea98,newSortInfo:_0xd59b4e}=_0x5d33a5,_0x3031ee={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x44ae23,'sortInfo':_0xd59b4e};_0x3ba07f[_0x380bcb(0x179)]({'id':Ht['id'],'params':_0x3031ee});const _0x9dfcdb={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x44ae23,'sortInfo':_0x4aea98};_0x49d73e[_0x380bcb(0x230)]({'id':Ht['id'],'params':_0x9dfcdb});}break;case _0x4a082f[_0x380bcb(0x2fd)]:{const {oldOptions:_0x7f3880,newOptions:_0xe5b14}=_0x5d33a5,_0x36cddb={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'options':_0xe5b14};_0x3ba07f[_0x380bcb(0x179)]({'id':qt['id'],'params':_0x36cddb});const _0x233680={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'options':_0x7f3880};_0x49d73e[_0x380bcb(0x230)]({'id':qt['id'],'params':_0x233680});}break;case _0x4a082f[_0x380bcb(0x2a1)]:{const {oldArea:_0x27c038,newArea:_0x38f2c3,oldIndex:_0x210a5d,newIndex:_0x532a29,fieldId:_0x575c49}=_0x5d33a5,_0x501f51={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x575c49,'area':_0x38f2c3,'index':_0x532a29,'oldArea':_0x27c038,'oldIndex':_0x210a5d};_0x3ba07f[_0x380bcb(0x179)]({'id':Qt['id'],'params':_0x501f51});const _0x5514bd={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x575c49,'area':_0x27c038,'index':_0x210a5d,'oldArea':_0x38f2c3,'oldIndex':_0x532a29};_0x49d73e[_0x380bcb(0x230)]({'id':Qt['id'],'params':_0x5514bd});}break;case _0x4a082f['UpdateValuePosition']:{const {oldValuePosition:_0x4778c8,newValuePosition:_0x3f7c4e,oldIndex:_0xe8f928,newIndex:_0x9da91c}=_0x5d33a5,_0x5d9254={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'valuePosition':_0x3f7c4e,'index':_0x9da91c};_0x3ba07f[_0x380bcb(0x179)]({'id':eo['id'],'params':_0x5d9254});const _0x49ad86={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'valuePosition':_0x4778c8,'index':_0xe8f928};_0x49d73e[_0x380bcb(0x230)]({'id':eo['id'],'params':_0x49ad86});}break;case _0x4a082f[_0x380bcb(0x1db)]:{const {fieldId:_0x398ea6,collapse:_0x38a7c3,item:_0x136fa1}=_0x5d33a5,_0x3159ed={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x398ea6,'collapse':_0x38a7c3,'item':_0x136fa1};_0x3ba07f['push']({'id':Gt['id'],'params':_0x3159ed});const _0x1b4f0b={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x398ea6,'collapse':!_0x38a7c3,'item':_0x136fa1};_0x49d73e['unshift']({'id':Gt['id'],'params':_0x1b4f0b});}break;case _0x4a082f['SetFieldFormat']:{const {newFormat:_0x542dd4,oldFormat:_0x4faae6,fieldId:_0x2b2560}=_0x5d33a5,_0x399149={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x2b2560,'format':_0x542dd4};_0x3ba07f[_0x380bcb(0x179)]({'id':Zt['id'],'params':_0x399149});const _0x4c8426={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x2b2560,'format':_0x4faae6};_0x49d73e[_0x380bcb(0x230)]({'id':Zt['id'],'params':_0x4c8426});}break;case _0x4a082f[_0x380bcb(0x23d)]:{const {tableFieldId:_0x5bf6fa,oldSourceName:_0x1cfa3e,newSourceName:_0xf7b2db,oldDataFieldId:_0x1b23e9,newDataFieldId:_0x1b5315}=_0x5d33a5,_0x28c47c={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'tableFieldId':_0x5bf6fa,'sourceName':_0xf7b2db,'dataFieldId':_0x1b5315};_0x3ba07f[_0x380bcb(0x179)]({'id':Xt['id'],'params':_0x28c47c});const _0x3662c3={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'tableFieldId':_0x5bf6fa,'sourceName':_0x1cfa3e,'dataFieldId':_0x1b23e9};_0x49d73e[_0x380bcb(0x230)]({'id':Xt['id'],'params':_0x3662c3});}break;case _0x4a082f[_0x380bcb(0x307)]:{const {fieldId:_0x53436f,filterInfo:_0xc87ba,oldFilterInfo:_0x41dcd2}=_0x5d33a5,_0x43347b={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x53436f,'filterInfo':_0xc87ba};_0x3ba07f[_0x380bcb(0x179)]({'id':Yt['id'],'params':_0x43347b});const _0x44aa8f={'unitId':_0x43d5be,'subUnitId':_0x3a6d59,'pivotTableId':_0x43b7ad,'fieldId':_0x53436f,'filterInfo':_0x41dcd2};_0x49d73e[_0x380bcb(0x230)]({'id':Yt['id'],'params':_0x44aa8f});}}return{'redos':_0x3ba07f,'undos':_0x49d73e};}function _e(_0x1d9897,_0x3736ee){const _0x2752da=_0x568d43;var _0x6efeea;const _0x1f3b5c=_0x1d9897[_0x2752da(0x194)](ie),{cellInfo:_0x5aed26,view:_0x2f4b5,isEmpty:_0x121a94}=_0x3736ee;return(_0x6efeea=_0x1f3b5c[_0x2752da(0x1d3)][_0x2752da(0x321)]($o)(yo,{'cellInfo':_0x5aed26,'view':_0x2f4b5,'isEmpty':_0x121a94}))!=null?_0x6efeea:yo;}const us=()=>typeof process<'u'&&process[_0x568d43(0x34c)]!=null&&process[_0x568d43(0x34c)][_0x568d43(0x24b)]!=null,Ct={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x20a),'handler'(_0x58f9b7,_0x216486){const _0x890697=_0x568d43;var _0x5a44c7;if(!_0x216486)return!0x1;const _0x4ef98d=_0x58f9b7[_0x890697(0x194)](_0x30f8ed);if(!!_0x4ef98d[_0x890697(0x311)](q))return!0x0;const _0xe9c0b1=_0x58f9b7[_0x890697(0x194)](_0x2bb584),_0x381047=_0x58f9b7[_0x890697(0x194)]($),{pivotTableId:_0x1f8bb6,pivotTableConfig:_0x149c23,collectionConfig:_0x40f9ef,unitId:_0x41f96c,subUnitId:_0x1be3c8}=_0x216486,{sourceRangeInfo:_0x408457,fieldsConfig:_0x91bd4d,targetCellInfo:_0x358a9e}=_0x149c23,_0x15be36=_0xe9c0b1[_0x890697(0x213)](_0x41f96c);if(!_0x15be36||!_0x15be36[_0x890697(0x189)](_0x1be3c8))return!0x1;if(!us()){let _0x27b802=0x0;_0x15be36[_0x890697(0x2ad)]()[_0x890697(0x2d3)](_0x2c6e24=>{const _0x244dc0=_0x890697;var _0x15c43b,_0xfcc92f;_0x27b802+=(_0xfcc92f=(_0x15c43b=_0x381047[_0x244dc0(0x243)](_0x41f96c,_0x2c6e24[_0x244dc0(0x23b)]()))==null?void 0x0:_0x15c43b[_0x244dc0(0x127)])!=null?_0xfcc92f:0x0;});const _0x37ec7a=(_0x5a44c7=_0x4ef98d[_0x890697(0x311)](_0x3f2e93))!=null?_0x5a44c7:{},{ls:_0x273961,pbk:_0x5200ab}=_0x37ec7a;if(!Zo(_0x273961,_0x5200ab))throw new _0x5024bf(_0x890697(0x350));const _0xfcbb32=go(so,_0x273961,_0x5200ab)['count'];if(_0x27b802>=_0xfcbb32)throw new _0x5024bf(_0x890697(0x350));}if(!_0x40f9ef||!_0x91bd4d)return!0x1;const {collection:_0x46a71b,updateDataFieldList:_0x282d62}=_0x381047['addCollectionByJSON'](_0x1f8bb6,_0x40f9ef,_0x408457,_0x358a9e);_0x381047[_0x890697(0x132)](_0x46a71b,_0x282d62,_0x408457);const _0x541718=new _0x1c184b(_0x46a71b,void 0x0,_0x1f8bb6);_0x541718[_0x890697(0x283)](_0x91bd4d);const _0xdcf416=JSON[_0x890697(0x228)](JSON[_0x890697(0x292)](_0x149c23));return _0x381047[_0x890697(0x26b)](_0x41f96c,_0x1be3c8,_0x1f8bb6,_0x541718,_0xdcf416),_0x381047[_0x890697(0x199)]({'unitId':_0x41f96c,'subUnitId':_0x1be3c8,'token':_0x1f8bb6,'type':L[_0x890697(0x187)],'pivotConfig':_0xdcf416}),!0x0;}},xt={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x31a),'handler'(_0x43f435,_0x343651){const _0x11dc43=_0x568d43;if(!_0x343651)return!0x1;if(!!_0x43f435[_0x11dc43(0x194)](_0x30f8ed)['getConfig'](q))return!0x0;const {pivotTableId:_0x384241,unitId:_0x2e294f,subUnitId:_0x58133a}=_0x343651,_0x36f61f=_0x43f435[_0x11dc43(0x194)]($);return _0x36f61f['getPivotTableConfig'](_0x2e294f,_0x58133a,_0x384241)?(_0x36f61f['addDirtyPivotTable']({'unitId':_0x2e294f,'subUnitId':_0x58133a,'token':_0x384241,'type':L[_0x11dc43(0x1af)]}),_0x36f61f[_0x11dc43(0x302)](_0x2e294f,_0x58133a,_0x384241),!0x0):!0x1;}},pt={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x27a),'handler'(_0xf17fb7,_0x4a626d){const _0x85acae=_0x568d43;if(!_0x4a626d)return!0x1;if(!!_0xf17fb7['get'](_0x30f8ed)[_0x85acae(0x311)](q))return!0x0;const {pivotTableId:_0x5040e8,targetCellPosition:_0x14a484,unitId:_0x10ad57,subUnitId:_0x4fcc0d}=_0x4a626d,_0x23481d=_0xf17fb7[_0x85acae(0x194)]($);if(!_0x23481d[_0x85acae(0xfa)](_0x4a626d['pivotTableId']))return!0x1;const _0x1c6664=_0x23481d[_0x85acae(0x1a2)](_0x5040e8);if(!_0x1c6664)return!0x1;const _0x3306a4=_0x23481d[_0x85acae(0xe9)](_0x1c6664[_0x85acae(0x2ec)],_0x4a626d[_0x85acae(0x2b8)]);if(!_0x3306a4)return!0x1;const _0x595644=_0x23481d[_0x85acae(0x2db)](_0x1c6664[_0x85acae(0x2ec)],_0x1c6664['subUnitId'],_0x5040e8);if(!_0x595644)return!0x1;const _0x3cefdb=_0x120414[_0x85acae(0xee)](_0x595644);_0x3cefdb['targetCellInfo']={'unitId':_0x10ad57,'subUnitId':_0x4fcc0d,'row':_0x14a484['row'],'col':_0x14a484[_0x85acae(0x26f)]};const _0x540e65=_0x3306a4[_0x85acae(0x265)]();if(_0x1c6664['subUnitId']===_0x4fcc0d&&_0x1c6664['unitId']===_0x10ad57)_0x23481d[_0x85acae(0x2d8)](_0x10ad57,_0x4fcc0d,_0x5040e8,_0x3cefdb),_0x23481d['addDirtyPivotTable']({'unitId':_0x10ad57,'subUnitId':_0x4fcc0d,'token':_0x5040e8,'type':L[_0x85acae(0x124)]});else{_0x23481d['addDirtyPivotTable']({'unitId':_0x1c6664[_0x85acae(0x2ec)],'subUnitId':_0x1c6664['subUnitId'],'token':_0x5040e8,'type':L['Delete']}),_0x23481d[_0x85acae(0x302)](_0x1c6664[_0x85acae(0x2ec)],_0x1c6664[_0x85acae(0x143)],_0x5040e8);const _0x18216f=_0x23481d['addCollectionByJSON'](_0x5040e8,_0x540e65,_0x595644[_0x85acae(0xe1)],_0x3cefdb[_0x85acae(0x1a8)]),_0x355f62=new _0x1c184b(_0x18216f[_0x85acae(0x19b)],void 0x0,_0x5040e8);_0x355f62[_0x85acae(0x283)](_0x3cefdb[_0x85acae(0x35b)]),_0x23481d[_0x85acae(0x26b)](_0x10ad57,_0x4fcc0d,_0x5040e8,_0x355f62,_0x3cefdb),_0x23481d[_0x85acae(0x199)]({'unitId':_0x10ad57,'subUnitId':_0x4fcc0d,'token':_0x5040e8,'type':L[_0x85acae(0x187)],'pivotConfig':_0x3cefdb});}return!0x0;}},to={'type':_0x30df22[_0x568d43(0xfb)],'id':_0x568d43(0x2ce),'handler'(_0x1c6006,_0x2caff5){const _0x298432=_0x568d43;if(!_0x2caff5)return!0x1;if(!!_0x1c6006[_0x298432(0x194)](_0x30f8ed)[_0x298432(0x311)](q))return!0x0;const _0x509548=_0x1c6006[_0x298432(0x194)]($),{pivotTableId:_0x3ddcfa,deleteIds:_0x5954e0,collectionJSON:_0x47dd13,dataRangeInfo:_0x4cd99a,unitId:_0x35c271,subUnitId:_0x28094a}=_0x2caff5,_0x357946=_0x509548[_0x298432(0xfa)](_0x3ddcfa),_0x41f05b=_0x509548[_0x298432(0x2db)](_0x35c271,_0x28094a,_0x3ddcfa);if(!_0x357946||!_0x41f05b)return!0x1;const {collection:_0x5aee6e,updateDataFieldList:_0x211458}=_0x509548[_0x298432(0x1e3)](_0x3ddcfa,_0x47dd13,_0x4cd99a,_0x41f05b['targetCellInfo']);_0x509548['refreshData'](_0x5aee6e,_0x211458,_0x4cd99a),_0x357946[_0x298432(0x24c)](_0x5aee6e);for(const _0x215dd4 of _0x5954e0)_0x509548[_0x298432(0x191)](_0x4cd99a[_0x298432(0x2ec)],_0x215dd4);const _0x1bdd4b=_0x509548[_0x298432(0x2db)](_0x35c271,_0x28094a,_0x3ddcfa);return _0x1bdd4b['sourceRangeInfo']=JSON[_0x298432(0x228)](JSON[_0x298432(0x292)](_0x4cd99a)),_0x509548[_0x298432(0x199)]({'unitId':_0x35c271,'subUnitId':_0x28094a,'token':_0x3ddcfa,'type':L[_0x298432(0x124)]}),!0x0;}},Ut={'type':_0x30df22['MUTATION'],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var fs=Object[_0x568d43(0x13a)],gs=(_0x4d131c,_0x5e572c,_0x163da6,_0x1ffac7)=>{const _0x5e65bd=_0x568d43;for(var _0x40bc0d=_0x1ffac7>0x1?void 0x0:_0x1ffac7?fs(_0x5e572c,_0x163da6):_0x5e572c,_0x48c3c9=_0x4d131c[_0x5e65bd(0x28f)]-0x1,_0x4aa529;_0x48c3c9>=0x0;_0x48c3c9--)(_0x4aa529=_0x4d131c[_0x48c3c9])&&(_0x40bc0d=_0x4aa529(_0x40bc0d)||_0x40bc0d);return _0x40bc0d;},wo=(_0x4be05c,_0xa7a527)=>(_0x3043a7,_0x4d2cfd)=>_0xa7a527(_0x3043a7,_0x4d2cfd,_0x4be05c);let X=class extends _0x564bbd{constructor(_0x45cc18,_0x5ab3ca){super(),E(this,'_requestResolvers',new Map()),(this['_injector']=_0x45cc18,this['_commandService']=_0x5ab3ca);}[_0x568d43(0x20b)](_0x2ec5bc){const _0x33a3cc=_0x568d43,{version:_0x50d3c0}=_0x2ec5bc,_0x350260=this[_0x33a3cc(0x181)][_0x33a3cc(0x194)](_0x50d3c0);_0x350260&&(_0x350260(_0x2ec5bc),this[_0x33a3cc(0x181)][_0x33a3cc(0x1a3)](_0x50d3c0));}['getPivotDisplayConfig'](_0x2078c9){return new Promise((_0x312836,_0x3f649b)=>{const _0xa63645=_0x2038,_0x7bfd1b=this[_0xa63645(0x1de)]();this[_0xa63645(0x181)][_0xa63645(0x2a8)](_0x7bfd1b,_0x312836),this[_0xa63645(0x2ae)][_0xa63645(0x2b1)](ro['id'],{'version':_0x7bfd1b,..._0x2078c9},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x291cee=_0x568d43;return Math[_0x291cee(0x107)]()[_0x291cee(0x18c)](0x24)[_0x291cee(0x251)](0x2,0x10);}};X=gs([wo(0x0,_0x2a08b7(_0x4ff8ac)),wo(0x1,_0x2a08b7(_0x428737))],X);const zo={'id':'sheet.mutation.add-group-collection','type':_0x30df22['MUTATION'],'handler':(_0x3a3187,_0x19f7f1)=>{const _0x43f93b=_0x568d43;if(!_0x19f7f1)return!0x1;if(!!_0x3a3187[_0x43f93b(0x194)](_0x30f8ed)[_0x43f93b(0x311)](q))return!0x0;const {pivotTableId:_0x3e611d,fieldJSON:_0x475549,unitId:_0x409915,subUnitId:_0x123008}=_0x19f7f1,_0x42af3c=_0x5530c4[_0x43f93b(0x283)](_0x475549);if(!_0x42af3c)return!0x1;const _0x2ca877=_0x3a3187[_0x43f93b(0x194)]($),_0x998d61=_0x2ca877[_0x43f93b(0x1f6)](_0x409915),_0x57c4d0=_0x998d61[_0x43f93b(0xe9)](_0x3e611d);_0x998d61['addDataFieldWithoutUnitInfo'](_0x42af3c),_0x57c4d0[_0x43f93b(0x288)](_0x42af3c[_0x43f93b(0xe0)](),_0x42af3c[_0x43f93b(0x235)]());const _0x504c69=_0x57c4d0[_0x43f93b(0x140)](_0x42af3c[_0x43f93b(0x2be)]());_0x504c69&&_0x42af3c['refreshGroupField'](_0x504c69);const _0xa8002=_0x2ca877[_0x43f93b(0x2db)](_0x409915,_0x123008,_0x3e611d);return _0x2ca877[_0x43f93b(0x199)]({'unitId':_0x409915,'subUnitId':_0x123008,'token':_0x3e611d,'type':L[_0x43f93b(0x124)],'pivotConfig':_0xa8002}),!0x0;}},Yo={'id':'sheet.mutation.remove-group-collection','type':_0x30df22['MUTATION'],'handler':(_0x46a83f,_0x1288d7)=>{const _0x4a31b9=_0x568d43;if(!_0x1288d7)return!0x1;if(!!_0x46a83f[_0x4a31b9(0x194)](_0x30f8ed)[_0x4a31b9(0x311)](q))return!0x0;const {pivotTableId:_0x44f712,dataFieldId:_0x43a54d,unitId:_0x21f2ff,subUnitId:_0x357734}=_0x1288d7,_0x5c2fa3=_0x46a83f[_0x4a31b9(0x194)]($),_0x47042f=_0x5c2fa3[_0x4a31b9(0x1f6)](_0x21f2ff);_0x47042f[_0x4a31b9(0xe9)](_0x44f712)[_0x4a31b9(0x27c)](_0x43a54d);let _0x47bf84=!0x0;for(const _0x4ddfaf in _0x47042f['collections'])if(_0x47042f[_0x4a31b9(0x175)][_0x4ddfaf]['getFieldIds']()['includes'](_0x43a54d)){_0x47bf84=!0x1;break;}_0x47bf84&&_0x47042f[_0x4a31b9(0x184)](_0x43a54d);const _0x42cbc5=_0x5c2fa3[_0x4a31b9(0x2db)](_0x21f2ff,_0x357734,_0x44f712);return _0x5c2fa3[_0x4a31b9(0x199)]({'unitId':_0x21f2ff,'subUnitId':_0x357734,'token':_0x44f712,'type':L[_0x4a31b9(0x124)],'pivotConfig':_0x42cbc5}),!0x0;}},vs={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x1bd),async 'handler'(_0x131491,_0x5b53c6){const _0x135d3e=_0x568d43;if(!_0x5b53c6)return!0x1;const _0x3e6f1d=_0x131491[_0x135d3e(0x194)](_0x428737),_0x42ad9a=_0x131491['get'](X),_0x40eb7=_0x131491[_0x135d3e(0x194)](_0x125ef8),{pivotTableId:_0xbd5eff,dataFieldId:_0x24558e,fieldArea:_0x2cb75f,index:_0x548662,unitId:_0x319f7f,subUnitId:_0x2ec66d}=_0x5b53c6,_0x47120e=(await _0x42ad9a['getPivotDisplayConfig']({'unitId':_0x319f7f,'subUnitId':_0x2ec66d,'pivotTableId':_0xbd5eff,'params':{'type':A[_0x135d3e(0x102)],'addPivotField':{'dataFieldId':_0x24558e,'fieldArea':_0x2cb75f,'index':_0x548662}}}))['result'][_0x135d3e(0x217)];if(!_0x47120e)return!0x1;const {view:_0x166a31,changesets:_0x43a817,isEmpty:_0x210838,pivotTableConfig:_0xa6bf5,shouldBeAddedGroupJSON:_0x1f063e}=_0x47120e,_0x1f7665=_0xa6bf5[_0x135d3e(0x1a8)],_0x27e853=new _0xa9b3b();_0x27e853[_0x135d3e(0x296)](_0x166a31);const _0x2996d6={'cellInfo':_0x1f7665,'view':_0x27e853,'isEmpty':_0x210838};if(!await _0x131491[_0x135d3e(0x194)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](Se)(!0x0,_0x2996d6))return!0x1;const _0x3710ef=we(_0x131491,_0x27e853,_0x1f7665,_0x210838),_0x4745b9=_e(_0x131491,_0x2996d6),{undos:_0x241c41,redos:_0x281a8a}=me(_0x3e6f1d,{'pivotTableId':_0xbd5eff,'unitId':_0x319f7f,'subUnitId':_0x2ec66d},_0x43a817);return _0x1f063e&&(_0x281a8a[_0x135d3e(0x230)]({'id':zo['id'],'params':{'pivotTableId':_0xbd5eff,'fieldJSON':_0x1f063e,'unitId':_0x319f7f,'subUnitId':_0x2ec66d}}),_0x241c41[_0x135d3e(0x179)]({'id':Yo['id'],'params':{'pivotTableId':_0xbd5eff,'dataFieldId':_0x1f063e['id'],'unitId':_0x319f7f,'subUnitId':_0x2ec66d}})),_0x1b0569([..._0x3710ef[_0x135d3e(0x17a)],..._0x4745b9['redos'],..._0x281a8a],_0x3e6f1d),_0x40eb7[_0x135d3e(0x1aa)]({'unitID':_0x319f7f,'redoMutations':[..._0x3710ef[_0x135d3e(0x17a)],..._0x4745b9[_0x135d3e(0x17a)],..._0x281a8a],'undoMutations':[..._0x3710ef['undos'],..._0x4745b9[_0x135d3e(0x317)],..._0x241c41]}),!0x0;}},hs={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x293),async 'handler'(_0x472533,_0x33af09){const _0x2e6720=_0x568d43;if(!_0x33af09)return!0x1;const {sourceDataInfo:_0x1f2b1c,pivotTableConfig:_0x3563bb}=_0x33af09;if(!_0x1f2b1c||!_0x3563bb)return!0x1;const {unitId:_0x4566b9,subUnitId:_0xc8ea0d,range:_0x58cb1b}=_0x1f2b1c,_0x100cb0=_0x472533[_0x2e6720(0x194)](_0x2bb584),_0x3afaa1=_0x472533[_0x2e6720(0x194)](X),_0x1b8b9d=_0x472533['get'](_0x19c820),_0x2e9a0f=_0x472533[_0x2e6720(0x194)](_0x428737),_0x3a054d=_0x100cb0['getUnit'](_0x4566b9);if(!_0x3a054d)return!0x1;const _0x21b9d4=_0x3a054d['getSheetBySheetId'](_0xc8ea0d);if(!_0x21b9d4)return!0x1;const _0x152dac=_0x67f86b(0x8),_0x5ad478=_0x58cb1b||{'startRow':0x0,'startColumn':0x0,'endRow':_0x21b9d4[_0x2e6720(0x298)]()-0x1,'endColumn':_0x21b9d4[_0x2e6720(0x21c)]()-0x1};_0x5ad478[_0x2e6720(0x2cf)]=_0x52be76[_0x2e6720(0x1c5)];const _0x75e9bc=(await _0x3afaa1['getPivotDisplayConfig']({'unitId':_0x4566b9,'subUnitId':_0xc8ea0d,'pivotTableId':_0x152dac,'params':{'type':A[_0x2e6720(0xf5)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x4566b9,'sheetName':_0x21b9d4['getName'](),'subUnitId':_0xc8ea0d,'range':_0x5ad478},'pivotTableId':_0x152dac,'pivotTableIndexConfig':_0x3563bb}}}))['result'][_0x2e6720(0x12b)];if(!_0x75e9bc)return!0x1;const {isEmpty:_0x54074a,fieldsConfig:_0x40958b,collectionConfig:_0x2b88ff,changesets:_0x2fd632}=_0x75e9bc,_0x4387e3=_0x3a054d[_0x2e6720(0x2ad)]()[_0x2e6720(0x28f)],_0x3ee551=_0x18c6ee({'rowCount':_0x21b9d4['getRowCount']()-0x1,'columnCount':_0x21b9d4[_0x2e6720(0x21c)]()-0x1});_0x3ee551['id']=_0x573c2(),_0x3ee551[_0x2e6720(0x208)]=_0x3a054d[_0x2e6720(0x192)](''+_0x1b8b9d['t'](_0x2e6720(0x1bb)));const _0x53503c={'index':_0x4387e3,'sheet':_0x3ee551,'unitId':_0x4566b9},{redos:_0x5109d7}=me(_0x2e9a0f,{'pivotTableId':_0x152dac,'unitId':_0x4566b9,'subUnitId':_0x3ee551['id']},_0x2fd632),_0x3622f8=[{'id':_0x4fdb8a['id'],'params':_0x53503c},{'id':Ct['id'],'params':{'unitId':_0x4566b9,'subUnitId':_0x3ee551['id'],'pivotTableId':_0x152dac,'pivotTableConfig':{'isEmpty':_0x54074a,'fieldsConfig':_0x40958b,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x4566b9,'subUnitId':_0x3ee551['id']},'sourceRangeInfo':{'subUnitId':_0xc8ea0d,'unitId':_0x4566b9,'range':_0x5ad478,'sheetName':_0x21b9d4[_0x2e6720(0x235)]()}},'collectionConfig':_0x2b88ff}},..._0x5109d7];return _0x1b0569(_0x3622f8,_0x2e9a0f),!0x0;}},ps={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x13d),async 'handler'(_0xcaec06,_0x16e59c){const _0x1fa7cc=_0x568d43;var _0x289f52,_0x35a861;const _0x410660=_0xcaec06[_0x1fa7cc(0x194)](_0x428737),_0x1c55e8=_0xcaec06[_0x1fa7cc(0x194)](_0x2bb584),_0x547e04=_0xcaec06['get'](_0x19c820),_0x2e5b94=_0xcaec06[_0x1fa7cc(0x194)](X),_0x3fffca=_0xcaec06[_0x1fa7cc(0x194)](_0x125ef8),_0x5530b4=_0xcaec06[_0x1fa7cc(0x194)](he),_0x1777ca=_0xcaec06[_0x1fa7cc(0x194)](_0x30f8ed);if(!_0x16e59c)return!0x1;const {pivotTableConfig:_0x257d18,positionType:_0x110157}=_0x16e59c,{targetCellInfo:_0x237018,sourceRangeInfo:_0x4c0eb5}=_0x257d18,{unitId:_0x212ac0,subUnitId:_0x33e701}=_0x237018,_0x51efb3=_0x1c55e8['getUnit'](_0x212ac0);if(!_0x51efb3)return!0x1;let _0x414858=0x0;_0x51efb3[_0x1fa7cc(0x2ad)]()[_0x1fa7cc(0x2d3)](_0x27d9fa=>{const _0x5d390d=_0x1fa7cc;var _0x2d5283,_0x18b189;_0x414858+=(_0x18b189=(_0x2d5283=_0x5530b4[_0x5d390d(0x243)](_0x212ac0,_0x27d9fa['getSheetId']()))==null?void 0x0:_0x2d5283[_0x5d390d(0x127)])!=null?_0x18b189:0x0;});const _0x47b698=(_0x289f52=_0x1777ca[_0x1fa7cc(0x311)](_0x3f2e93))!=null?_0x289f52:{},{ls:_0x84f348,pbk:_0x5a7c82}=_0x47b698;if(!Zo(_0x84f348,_0x5a7c82))return!0x1;const _0x117d30=go(so,_0x84f348,_0x5a7c82)[_0x1fa7cc(0x1b2)];if(_0x414858>=_0x117d30)return!0x1;const _0x580570=_0x16e59c[_0x1fa7cc(0x2b8)]||_0x67f86b(0x8),_0x2ac55b=(await _0x2e5b94['getPivotDisplayConfig']({'unitId':_0x212ac0,'subUnitId':_0x33e701,'pivotTableId':_0x580570,'params':{'type':A[_0x1fa7cc(0x103)],'addPivotTable':{'sourceRangeInfo':_0x4c0eb5,'pivotTableId':_0x580570}}}))['result']['addPivotTable'];if(!_0x2ac55b)return!0x1;const {view:_0x57b56d,isEmpty:_0xeab075,fieldsConfig:_0x214ebc,collectionConfig:_0x1b1d78}=_0x2ac55b,_0x42c824=[],_0x240238=[];if(_0x110157===Jo['New']){const _0x363fee=_0x51efb3['getSheets']()[_0x1fa7cc(0x28f)],_0x405115=_0x18c6ee({});_0x405115['id']=_0x257d18[_0x1fa7cc(0x1a8)][_0x1fa7cc(0x143)],_0x405115[_0x1fa7cc(0x208)]=(_0x35a861=_0x257d18[_0x1fa7cc(0x1a8)][_0x1fa7cc(0x2d2)])!=null?_0x35a861:_0x51efb3[_0x1fa7cc(0x192)](''+_0x547e04['t'](_0x1fa7cc(0x1bb)));const _0x38500e={'index':_0x363fee,'sheet':_0x405115,'unitId':_0x212ac0},_0x55c639=_0x247228(_0xcaec06,_0x38500e);_0x42c824[_0x1fa7cc(0x179)]({'id':_0x16b394['id'],'params':_0x55c639}),_0x240238[_0x1fa7cc(0x179)]({'id':_0x15a697['id'],'params':_0x38500e});}else{if(!_0x51efb3[_0x1fa7cc(0x189)](_0x33e701))return!0x1;const _0x4cf83c=we(_0xcaec06,new _0xa9b3b(),_0x237018,!0x0);_0x240238[_0x1fa7cc(0x179)](..._0x4cf83c[_0x1fa7cc(0x17a)]),_0x42c824[_0x1fa7cc(0x179)](..._0x4cf83c['undos']);const _0x2df8d9={'cellInfo':_0x237018,'view':_0x57b56d,'isEmpty':_0xeab075};if(!await _0xcaec06[_0x1fa7cc(0x194)](ie)['asyncInterceptor'][_0x1fa7cc(0x2e7)](Se)(!0x0,_0x2df8d9))return!0x1;const _0x150760=_e(_0xcaec06,_0x2df8d9);_0x240238[_0x1fa7cc(0x179)](..._0x150760['redos']),_0x42c824[_0x1fa7cc(0x179)](..._0x150760['undos']);}return _0x240238['push']({'id':Ct['id'],'params':{'unitId':_0x237018['unitId'],'subUnitId':_0x237018['subUnitId'],'pivotTableId':_0x580570,'pivotTableConfig':{'targetCellInfo':_0x237018,'sourceRangeInfo':_0x4c0eb5,'fieldsConfig':_0x214ebc},'collectionConfig':_0x1b1d78}}),_0x42c824['unshift']({'id':xt['id'],'params':{'unitId':_0x212ac0,'subUnitId':_0x33e701,'pivotTableId':_0x580570}}),_0x1b0569(_0x240238,_0x410660)&&_0x3fffca[_0x1fa7cc(0x1aa)]({'unitID':_0x212ac0,'undoMutations':_0x42c824,'redoMutations':_0x240238}),!0x0;}},ms={'type':_0x30df22[_0x568d43(0x33f)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x383668,_0x5458ba){const _0x713ef7=_0x568d43;if(!_0x5458ba)return!0x1;const _0x245b7f=_0x383668['get'](_0x428737),_0x564913=_0x383668[_0x713ef7(0x194)](X),_0x20e883=_0x383668['get'](_0x125ef8),{pivotTableId:_0x54abc2,fieldId:_0x5ea107,area:_0x1bf0c8,index:_0x36f7a3,unitId:_0x531b35,subUnitId:_0x25202a}=_0x5458ba,_0x5c2a75=(await _0x564913[_0x713ef7(0x256)]({'unitId':_0x531b35,'subUnitId':_0x25202a,'pivotTableId':_0x54abc2,'params':{'type':A[_0x713ef7(0x33b)],'movePivotField':{'fieldId':_0x5ea107,'area':_0x1bf0c8,'index':_0x36f7a3}}}))['result'][_0x713ef7(0x2bf)];if(!_0x5c2a75)return!0x1;const {changesets:_0x2fdd45,view:_0x450928,isEmpty:_0x4e80f4,pivotTableConfig:_0x3a3bc7}=_0x5c2a75,_0x46f7a2=_0x3a3bc7['targetCellInfo'],_0x2d6081=new _0xa9b3b();_0x2d6081[_0x713ef7(0x296)](_0x450928);const _0x59fdf4={'cellInfo':_0x46f7a2,'view':_0x2d6081,'isEmpty':_0x4e80f4};if(!await _0x383668[_0x713ef7(0x194)](ie)[_0x713ef7(0x1dd)][_0x713ef7(0x2e7)](Se)(!0x0,_0x59fdf4))return!0x1;const _0x4b5bdc=we(_0x383668,_0x2d6081,_0x46f7a2,_0x4e80f4),_0x8adbd7=_e(_0x383668,_0x59fdf4),{redos:_0xbe00c,undos:_0x4892ce}=me(_0x245b7f,{'pivotTableId':_0x54abc2,'unitId':_0x531b35,'subUnitId':_0x25202a},_0x2fdd45);return _0x1b0569([..._0x4b5bdc[_0x713ef7(0x17a)],..._0x8adbd7[_0x713ef7(0x17a)],..._0xbe00c],_0x245b7f),_0x20e883[_0x713ef7(0x1aa)]({'unitID':_0x531b35,'redoMutations':[..._0x4b5bdc[_0x713ef7(0x17a)],..._0x8adbd7[_0x713ef7(0x17a)],..._0xbe00c],'undoMutations':[..._0x4b5bdc[_0x713ef7(0x317)],..._0x8adbd7['undos'],..._0x4892ce]}),!0x0;}},Is={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x1b8),async 'handler'(_0xaa4564,_0x56fca9){const _0x5311e4=_0x568d43;var _0x333462;if(!_0x56fca9)return!0x1;const _0x26e37f=_0xaa4564[_0x5311e4(0x194)](_0x2bb584),_0x184f60=_0x3cd89f(_0x26e37f);if(!_0x184f60)return!0x1;const {unitId:_0x338718,subUnitId:_0x58d28c,workbook:_0x2d28c6}=_0x184f60,{row:_0x37a772,col:_0x1ad450}=_0x56fca9,_0x33d8cd=_0xaa4564['get'](Ne),_0x3950ef=_0x33d8cd[_0x5311e4(0x2d5)](_0x338718,_0x58d28c,_0x37a772,_0x1ad450);if(!_0x3950ef)return!0x1;const _0x5054c8=(_0x333462=_0x33d8cd[_0x5311e4(0x135)](_0x338718,_0x58d28c,_0x3950ef))==null?void 0x0:_0x333462['areaInfo'];if(!_0x5054c8)return!0x1;const _0x319fd7=_0xaa4564[_0x5311e4(0x194)](he)[_0x5311e4(0x2db)](_0x338718,_0x58d28c,_0x3950ef);if(!_0x319fd7)return!0x1;const {rowInfo:_0x25b14f,colInfo:_0x2a85c4}=_0x5054c8,_0x567bcf=_0x25b14f[_0x37a772][_0x5311e4(0x1ea)],_0x265eea=_0x2a85c4[_0x1ad450][_0x5311e4(0x1ea)],_0x52fa19=_0x25b14f[_0x37a772][_0x5311e4(0x21d)],_0x24deb6=_0x2a85c4[_0x1ad450]['level'],_0x74578b=_0x567bcf[_0x5311e4(0x1e2)](_0x265eea),_0x4bd6c5=_0x319fd7['fieldsConfig'][_0x5311e4(0x193)]['slice'](0x0,_0x52fa19),_0x62d6a8=_0x319fd7[_0x5311e4(0x35b)]['columnFields'][_0x5311e4(0x31d)](0x0,_0x24deb6),_0x418a68=_0x4bd6c5['concat'](_0x62d6a8),_0xac44ce=_0x74578b[_0x5311e4(0x2b2)]((_0xab0016,_0x27f133)=>[_0xab0016,_0x418a68[_0x27f133]]),_0x18e580=(await _0xaa4564[_0x5311e4(0x194)](X)['getPivotDisplayConfig']({'unitId':_0x338718,'subUnitId':_0x58d28c,'pivotTableId':_0x3950ef,'params':{'type':A[_0x5311e4(0x2ff)],'drillDown':{'tuple':_0xac44ce}}}))[_0x5311e4(0x27f)][_0x5311e4(0x306)];if(!_0x18e580)return!0x1;const {indexes:_0x2b4ed5,range:_0x2a7682,sourceUnitId:_0x507052,sourceSubUnitId:_0x2ab152,formatMap:_0x433777}=_0x18e580,{startRow:_0x4fd349,endRow:_0x4d1a45,startColumn:_0x66528d,endColumn:_0x156e85}=_0x2a7682,_0x59269c=new _0x57c969(),_0x14e917=_0x4d1a45-_0x4fd349,_0x2f71cf=_0x156e85-_0x66528d,_0x544376={},_0x5aa04e=_0x3cd89f(_0x26e37f,{'unitId':_0x507052,'subUnitId':_0x2ab152});if(!_0x5aa04e)return!0x1;const _0x4fc2d3=fe[_0x5311e4(0xf1)],_0x5ed775=fe[_0x5311e4(0x2ac)],_0x30680e=fe['subTotalStyle'],_0x20eab=_0x2d28c6[_0x5311e4(0x161)]()[_0x5311e4(0x160)](_0x4fc2d3),_0x5c66c0=_0x2d28c6['getStyles']()[_0x5311e4(0x160)](_0x5ed775),_0x7a8ea7=_0x2d28c6['getStyles']()[_0x5311e4(0x160)](_0x30680e),{worksheet:_0x1262b3}=_0x5aa04e;let _0x3712e7=0x0;const _0x4c483e=0x1;_0x2b4ed5[_0x5311e4(0x2d3)](_0x55beac=>{const _0x412714=_0x5311e4;for(let _0x11e85b=0x0;_0x11e85b<=_0x156e85-_0x66528d;_0x11e85b++)_0x59269c[_0x412714(0x160)](_0x3712e7,_0x11e85b,_0x1262b3[_0x412714(0x2fe)](_0x55beac+_0x2a7682[_0x412714(0x13e)]+_0x4c483e,_0x11e85b));_0x3712e7++;});for(let _0x216476=_0x66528d;_0x216476<=_0x156e85;_0x216476++){const _0x545d91=_0x1262b3[_0x5311e4(0x2fe)](_0x4fd349,_0x216476);_0x544376[_0x4fd349]||(_0x544376[_0x4fd349]={}),_0x544376[_0x4fd349][_0x216476]={..._0x545d91,'s':_0x20eab};}let _0x153d75=0x1;const _0x21d0b7={},_0xe67f4e={};_0x59269c[_0x5311e4(0x347)]((_0x1cd76b,_0x34b120)=>{const _0x4185fb=_0x5311e4;_0x34b120[_0x4185fb(0x2d3)](_0x444c3a=>{const _0x3060e1=_0x4185fb,_0x8fe252=_0x59269c[_0x3060e1(0x225)](_0x1cd76b,_0x444c3a);if(_0x544376[_0x153d75]||(_0x544376[_0x153d75]={}),_0x544376[_0x153d75][_0x444c3a]={..._0x8fe252,'s':_0x153d75%0x2===0x0?_0x7a8ea7:_0x5c66c0},_0x433777[_0x444c3a]&&_0x1cd76b>=0x0){const _0x23cb9d=_0x153d75%0x2===0x0;let _0x16954a=_0x23cb9d?_0xe67f4e[_0x444c3a]:_0x21d0b7[_0x444c3a];_0x16954a||(_0x16954a=_0x2d28c6[_0x3060e1(0x161)]()[_0x3060e1(0x160)]({..._0x23cb9d?_0x30680e:_0x5ed775,'n':{'pattern':_0x433777[_0x444c3a]}}),_0x23cb9d?_0xe67f4e[_0x444c3a]=_0x16954a:_0x21d0b7[_0x444c3a]=_0x16954a),_0x544376[_0x153d75][_0x444c3a]['s']=_0x16954a;}}),_0x153d75++;});const _0x391b88=new _0x57c969(_0x544376),_0x1d5f10={};_0x391b88['forValue']((_0x4f1bd4,_0x5e6df7,_0x4036f9)=>{_0x1d5f10[_0x4f1bd4]||(_0x1d5f10[_0x4f1bd4]={}),_0x1d5f10[_0x4f1bd4][_0x5e6df7]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x137f7b=[],_0x3c27fe=[],_0xd7e86c=_0x2d28c6[_0x5311e4(0x2ad)]()[_0x5311e4(0x28f)],_0x9fd1c3=_0x18c6ee({'rowCount':Math[_0x5311e4(0x13b)](_0x91b4e4,_0x14e917+0xa),'columnCount':Math[_0x5311e4(0x13b)](_0x4fcbf6,_0x2f71cf+0x5)}),_0x57a9a7=_0xaa4564['get'](_0x19c820);_0x9fd1c3['id']=_0x573c2(),_0x9fd1c3[_0x5311e4(0x208)]=_0x2d28c6[_0x5311e4(0x192)](''+_0x57a9a7['t']('sheets.tabs.sheet'));const _0x158f73={'index':_0xd7e86c,'sheet':_0x9fd1c3,'unitId':_0x338718},_0x11d703=_0x247228(_0xaa4564,_0x158f73);_0x3c27fe['push']({'id':_0x15a697['id'],'params':_0x158f73}),_0x137f7b['push']({'id':_0x16b394['id'],'params':_0x11d703}),_0x3c27fe[_0x5311e4(0x179)]({'id':_0x5ba09b['id'],'params':{'unitId':_0x338718,'subUnitId':_0x9fd1c3['id'],'cellValue':_0x544376}}),_0x137f7b[_0x5311e4(0x230)]({'id':_0x5ba09b['id'],'params':{'unitId':_0x338718,'subUnitId':_0x9fd1c3['id'],'cellValue':_0x1d5f10}});const _0x2e0eac={'startRow':0x0,'startColumn':0x0,'endRow':_0x153d75-0x1,'endColumn':_0x156e85};_0x3c27fe[_0x5311e4(0x179)]({'id':_0x48a0a4['id'],'params':{'unitId':_0x338718,'subUnitId':_0x9fd1c3['id'],'range':_0x2e0eac}}),_0x137f7b[_0x5311e4(0x230)]({'id':_0x272b8a['id'],'params':{'unitId':_0x338718,'subUnitId':_0x9fd1c3['id']}});const _0x22bec6=_0xaa4564['get'](_0x428737);return _0x1b0569(_0x3c27fe,_0x22bec6)&&_0xaa4564[_0x5311e4(0x194)](_0x125ef8)[_0x5311e4(0x1aa)]({'unitID':_0x338718,'undoMutations':_0x137f7b,'redoMutations':_0x3c27fe}),!0x0;}},Cs={'type':_0x30df22['COMMAND'],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x47b9ec,_0x484beb){const _0x33aa01=_0x568d43;if(!_0x484beb)return!0x1;const _0x5a791c=_0x47b9ec[_0x33aa01(0x194)](_0x428737),_0x226028=_0x47b9ec['get'](X),_0x823c8f=_0x47b9ec[_0x33aa01(0x194)](_0x125ef8),{pivotTableId:_0x56a162,fieldIds:_0x5253cc,unitId:_0x5a5518,subUnitId:_0x14d8f2}=_0x484beb,_0x58e791=(await _0x226028['getPivotDisplayConfig']({'unitId':_0x5a5518,'subUnitId':_0x14d8f2,'pivotTableId':_0x56a162,'params':{'type':A['RemovePivotField'],'removePivotField':{'fieldIds':_0x5253cc}}}))['result'][_0x33aa01(0x32c)];if(!_0x58e791)return!0x1;const {view:_0x3a4c67,changesets:_0x376383,isEmpty:_0x501f33,pivotTableConfig:_0x127453}=_0x58e791,_0x4bad34=_0x127453['targetCellInfo'],_0x47c018=new _0xa9b3b();_0x47c018['formJSON'](_0x3a4c67);const _0x35479e={'cellInfo':_0x4bad34,'view':_0x47c018,'isEmpty':_0x501f33};if(!await _0x47b9ec[_0x33aa01(0x194)](ie)[_0x33aa01(0x1dd)][_0x33aa01(0x2e7)](Se)(!0x0,_0x35479e))return!0x1;const _0x3f546d=we(_0x47b9ec,_0x47c018,_0x4bad34,_0x501f33),_0x2b396c=_e(_0x47b9ec,_0x35479e),{redos:_0x48af6d,undos:_0x28602e}=me(_0x5a791c,{'pivotTableId':_0x56a162,'unitId':_0x5a5518,'subUnitId':_0x14d8f2},_0x376383);return _0x1b0569([..._0x3f546d['redos'],..._0x2b396c[_0x33aa01(0x17a)],..._0x48af6d],_0x5a791c),_0x823c8f[_0x33aa01(0x1aa)]({'unitID':_0x5a5518,'redoMutations':[..._0x3f546d[_0x33aa01(0x17a)],..._0x2b396c[_0x33aa01(0x17a)],..._0x48af6d],'undoMutations':[..._0x3f546d[_0x33aa01(0x317)],..._0x2b396c['undos'],..._0x28602e]}),!0x0;}},Ss={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x2a4),async 'handler'(_0x234cfe,_0x4536d0){const _0x5dd176=_0x568d43;var _0x130af2;const _0x101e2d=_0x234cfe['get'](_0x428737),_0x1745a0=_0x234cfe[_0x5dd176(0x194)](X),_0x1b2dbb=_0x234cfe['get'](Ne),_0x31eb6a=_0x234cfe[_0x5dd176(0x194)](_0x2bb584),_0x5f4514=_0x234cfe[_0x5dd176(0x194)](_0x125ef8);if(!_0x4536d0)return!0x1;const {unitId:_0x8b13c2,subUnitId:_0xcfff20,row:_0x359c90,col:_0xdd926d,collapse:_0x7887ff}=_0x4536d0,_0x1312a3=_0x31eb6a['getUnit'](_0x8b13c2);if(!_0x1312a3||!_0x1312a3[_0x5dd176(0x189)](_0xcfff20))return!0x1;const _0x4007af=_0x1b2dbb['getPivotTableIdByCell'](_0x8b13c2,_0xcfff20,_0x359c90,_0xdd926d);if(!_0x4007af)return!0x1;const _0x3bed68=_0x1b2dbb[_0x5dd176(0x135)](_0x8b13c2,_0xcfff20,_0x4007af);if(!_0x3bed68)return!0x1;const _0x1e3c82=_0x41bcd3(_0x359c90,_0xdd926d),{rangesInfo:_0xc99674,areaInfo:_0x1e1972,headerMap:_0x46a640}=_0x3bed68;if(!_0xc99674||!_0x1e1972||!_0x46a640)return!0x1;const _0x31fe23=Object['keys'](_0xc99674)[_0x5dd176(0x12e)](_0xb9a870=>_0xc99674[_0xb9a870][_0x5dd176(0x2da)](_0x21a176=>_0x213a48[_0x5dd176(0x2a0)](_0x21a176,_0x1e3c82)));let _0x417fc0;_0x31fe23===_0x5dd176(0x25a)?_0x417fc0=_0x46a640[_0x5dd176(0x343)][_0xdd926d]:_0x31fe23==='colRanges'&&(_0x417fc0=_0x46a640[_0x5dd176(0x105)][_0x359c90]);const _0x3f4f75=_0x417fc0==null?void 0x0:_0x417fc0[_0x5dd176(0x34f)],_0x4f6d36=(_0x130af2=_0x1b2dbb['getPivotTableCellData'](_0x8b13c2,_0xcfff20,_0x359c90,_0xdd926d))==null?void 0x0:_0x130af2['v'];if(_0x4f6d36==null||!_0x4007af||!_0x3f4f75)return!0x1;const _0x340758=await _0x1745a0[_0x5dd176(0x256)]({'unitId':_0x8b13c2,'subUnitId':_0xcfff20,'pivotTableId':_0x4007af,'params':{'type':A['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x3f4f75,'collapse':_0x7887ff,'item':_0x4f6d36}}}),_0x1ada4d=_0x340758==null?void 0x0:_0x340758[_0x5dd176(0x27f)]['setPivotCollapse'];if(!_0x1ada4d)return!0x1;const {view:_0x1a22b1,pivotTableConfig:_0x3ab620,isEmpty:_0x8c735b,changesets:_0x3cc4ae}=_0x1ada4d,_0x26ff3f=new _0xa9b3b();_0x26ff3f[_0x5dd176(0x296)](_0x1a22b1);const _0x33c2c7=_0x3ab620[_0x5dd176(0x1a8)],_0x40a96d={'cellInfo':_0x33c2c7,'view':_0x26ff3f,'isEmpty':_0x8c735b};if(!await _0x234cfe[_0x5dd176(0x194)](ie)['asyncInterceptor'][_0x5dd176(0x2e7)](Se)(!0x0,_0x40a96d))return!0x1;const _0x169e51=we(_0x234cfe,_0x26ff3f,_0x33c2c7,_0x8c735b),_0x1374f9=_e(_0x234cfe,_0x40a96d),{redos:_0x4af36b,undos:_0x5e3970}=me(_0x101e2d,{'pivotTableId':_0x4007af,'unitId':_0x8b13c2,'subUnitId':_0xcfff20},_0x3cc4ae);return _0x1b0569([..._0x169e51[_0x5dd176(0x17a)],..._0x1374f9[_0x5dd176(0x17a)],..._0x4af36b],_0x101e2d),_0x5f4514['pushUndoRedo']({'unitID':_0x8b13c2,'redoMutations':[..._0x169e51[_0x5dd176(0x17a)],..._0x1374f9['redos'],..._0x4af36b],'undoMutations':[..._0x169e51['undos'],..._0x1374f9['undos'],..._0x5e3970]}),!0x0;}},bs={'type':_0x30df22[_0x568d43(0x33f)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x93d5df,_0x2fa450){const _0xcc8114=_0x568d43;if(!_0x2fa450)return!0x1;const _0x37bffe=_0x93d5df[_0xcc8114(0x194)](_0x428737),{pivotTableId:_0x27aeda,tableFieldId:_0x134524,items:_0x33ccf3,unitId:_0x69c226,subUnitId:_0x2a91fa,isAll:_0x199924}=_0x2fa450,_0x4cbed1=_0x93d5df[_0xcc8114(0x194)](X),_0xa38fd7=_0x93d5df[_0xcc8114(0x194)](_0x125ef8),_0x283300=(await _0x4cbed1[_0xcc8114(0x256)]({'unitId':_0x69c226,'subUnitId':_0x2a91fa,'pivotTableId':_0x27aeda,'params':{'type':A[_0xcc8114(0x2dd)],'setPivotFilter':{'tableFieldId':_0x134524,'items':_0x33ccf3,'isAll':_0x199924}}}))[_0xcc8114(0x27f)][_0xcc8114(0x32d)];if(!_0x283300)return!0x1;const {changesets:_0x5894ac,pivotTableConfig:_0x34d786,isEmpty:_0x3d76af,view:_0x4abd7e}=_0x283300,_0x167f81=_0x34d786[_0xcc8114(0x1a8)],_0xd88e77=new _0xa9b3b();_0xd88e77[_0xcc8114(0x296)](_0x4abd7e);const _0x1919b2={'cellInfo':_0x167f81,'view':_0xd88e77,'isEmpty':_0x3d76af};if(!await _0x93d5df['get'](ie)['asyncInterceptor'][_0xcc8114(0x2e7)](Se)(!0x0,_0x1919b2))return!0x1;const _0x22f2e9=we(_0x93d5df,_0xd88e77,_0x167f81,_0x3d76af),_0x12e00c=_e(_0x93d5df,_0x1919b2),{undos:_0x278fad,redos:_0x2fa0ce}=me(_0x37bffe,{'pivotTableId':_0x27aeda,'unitId':_0x69c226,'subUnitId':_0x2a91fa},_0x5894ac);return _0x1b0569([..._0x22f2e9[_0xcc8114(0x17a)],..._0x12e00c[_0xcc8114(0x17a)],..._0x2fa0ce],_0x37bffe),_0xa38fd7[_0xcc8114(0x1aa)]({'unitID':_0x69c226,'redoMutations':[..._0x22f2e9['redos'],..._0x12e00c[_0xcc8114(0x17a)],..._0x2fa0ce],'undoMutations':[..._0x22f2e9[_0xcc8114(0x317)],..._0x12e00c['undos'],..._0x278fad]}),!0x0;}},ys={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x290),async 'handler'(_0x16f9cb,_0x3511ec){const _0x2cd5ee=_0x568d43;if(!_0x3511ec)return!0x1;const _0xb158f9=_0x16f9cb[_0x2cd5ee(0x194)](_0x428737),_0x42dc1f=_0x16f9cb[_0x2cd5ee(0x194)](_0x125ef8),_0x3e8f96=_0x16f9cb[_0x2cd5ee(0x194)](X),{info:_0x11e564,tableFieldId:_0x16afe5,pivotTableId:_0x44acd9,unitId:_0x426166,subUnitId:_0x1e84e1}=_0x3511ec,_0x20efce=(await _0x3e8f96['getPivotDisplayConfig']({'unitId':_0x426166,'subUnitId':_0x1e84e1,'pivotTableId':_0x44acd9,'params':{'type':A[_0x2cd5ee(0x18d)],'setPivotSort':{'tableFieldId':_0x16afe5,'info':_0x11e564}}}))[_0x2cd5ee(0x27f)][_0x2cd5ee(0x1bc)];if(!_0x20efce)return!0x1;const {changesets:_0xa42a88}=_0x20efce,{redos:_0x1a8981,undos:_0x2cd020}=me(_0xb158f9,{'pivotTableId':_0x44acd9,'unitId':_0x426166,'subUnitId':_0x1e84e1},_0xa42a88);return _0x1b0569(_0x1a8981,_0xb158f9),_0x42dc1f['pushUndoRedo']({'unitID':_0x426166,'redoMutations':_0x1a8981,'undoMutations':_0x2cd020}),!0x0;}},Ps={'type':_0x30df22[_0x568d43(0x33f)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x106967,_0x4469c8){const _0x1b0f90=_0x568d43;if(!_0x4469c8)return!0x1;const _0x482edd=_0x106967[_0x1b0f90(0x194)](_0x428737),_0x119a66=_0x106967[_0x1b0f90(0x194)](_0x125ef8),_0x2718bf=_0x106967[_0x1b0f90(0x194)](X),{displayName:_0x4f76c6,subtotalType:_0x50aebf,format:_0x1ddb52,tableFieldId:_0x4bfb09,pivotTableId:_0x37eec7,unitId:_0x454524,subUnitId:_0x478a41}=_0x4469c8,_0x20d2a6=(await _0x2718bf['getPivotDisplayConfig']({'unitId':_0x454524,'subUnitId':_0x478a41,'pivotTableId':_0x37eec7,'params':{'type':A[_0x1b0f90(0x33a)],'setPivotSetting':{'tableFieldId':_0x4bfb09,'displayName':_0x4f76c6,'subtotalType':_0x50aebf,'format':_0x1ddb52}}}))[_0x1b0f90(0x27f)][_0x1b0f90(0xeb)];if(!_0x20d2a6)return!0x1;const {changesets:_0x537302,view:_0x73ee40,pivotTableConfig:_0x27beb5,isEmpty:_0xb6c04c}=_0x20d2a6,_0x404fa3=_0x27beb5[_0x1b0f90(0x1a8)],_0x5bb1e5=new _0xa9b3b();_0x5bb1e5['formJSON'](_0x73ee40);const _0x2f1d2c={'cellInfo':_0x404fa3,'view':_0x5bb1e5,'isEmpty':_0xb6c04c};if(!await _0x106967[_0x1b0f90(0x194)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](Se)(!0x0,_0x2f1d2c))return!0x1;const _0x15806a=we(_0x106967,_0x5bb1e5,_0x404fa3,_0xb6c04c),_0x3addb9=_e(_0x106967,_0x2f1d2c),{undos:_0xe9da06,redos:_0x9521dc}=me(_0x482edd,{'pivotTableId':_0x37eec7,'unitId':_0x454524,'subUnitId':_0x478a41},_0x537302);return _0x1b0569([..._0x15806a[_0x1b0f90(0x17a)],..._0x3addb9[_0x1b0f90(0x17a)],..._0x9521dc],_0x482edd),_0x119a66[_0x1b0f90(0x1aa)]({'unitID':_0x454524,'redoMutations':[..._0x15806a[_0x1b0f90(0x17a)],..._0x3addb9[_0x1b0f90(0x17a)],..._0x9521dc],'undoMutations':[..._0x15806a[_0x1b0f90(0x317)],..._0x3addb9[_0x1b0f90(0x317)],..._0xe9da06]}),!0x0;}},Ts={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x24d),async 'handler'(_0x2abdba,_0x27443c){const _0x2131ab=_0x568d43,_0x3f3cf3=_0x2abdba[_0x2131ab(0x194)](_0x428737),_0x34833a=_0x2abdba[_0x2131ab(0x194)](X),_0x3753db=_0x2abdba[_0x2131ab(0x194)](_0x125ef8);if(!_0x27443c)return!0x1;const {token:_0x42fd99,dataRangeInfo:_0x31ed7e,unitId:_0x376835,subUnitId:_0x11a946}=_0x27443c,_0x4c568d=[],_0x54f0da=[],_0x51b774=(await _0x34833a[_0x2131ab(0x256)]({'unitId':_0x376835,'subUnitId':_0x11a946,'pivotTableId':_0x42fd99,'params':{'type':A[_0x2131ab(0x2af)],'updatePivotSource':{'dataRangeInfo':_0x31ed7e,'unitId':_0x376835,'subUnitId':_0x11a946}}}))['result'][_0x2131ab(0x1fa)];if(!_0x51b774)return!0x1;const {changesets:_0x240f86,deleteIds:_0x29bbd1,collectionConfig:_0x4af925,oldCollectionConfig:_0xc0c5ad,view:_0x11d571,isEmpty:_0x579669,pivotTableConfig:_0x468106}=_0x51b774;_0x54f0da['push']({'id':to['id'],'params':{'pivotTableId':_0x42fd99,'deleteIds':_0x29bbd1,'collectionJSON':_0x4af925,'dataRangeInfo':_0x31ed7e,'unitId':_0x376835,'subUnitId':_0x11a946}}),_0x4c568d[_0x2131ab(0x230)]({'id':to['id'],'params':{'pivotTableId':_0x42fd99,'deleteIds':[],'collectionJSON':_0xc0c5ad,'dataRangeInfo':_0x468106['sourceRangeInfo'],'unitId':_0x376835,'subUnitId':_0x11a946}});const _0x3bf9d7=_0x468106[_0x2131ab(0x1a8)],_0x279d73=new _0xa9b3b();_0x279d73[_0x2131ab(0x296)](_0x11d571);const _0x80b722={'cellInfo':_0x3bf9d7,'view':_0x279d73,'isEmpty':_0x579669};if(!await _0x2abdba['get'](ie)[_0x2131ab(0x1dd)]['fetchThroughAsyncInterceptors'](Se)(!0x0,_0x80b722))return!0x1;const _0x3f3ba7=we(_0x2abdba,_0x279d73,_0x3bf9d7,_0x579669),_0x1e4830=_e(_0x2abdba,_0x80b722),{undos:_0x42d9fa,redos:_0x4b7958}=me(_0x3f3cf3,{'pivotTableId':_0x42fd99,'unitId':_0x376835,'subUnitId':_0x11a946},_0x240f86);return _0x1b0569([..._0x3f3ba7[_0x2131ab(0x17a)],..._0x1e4830[_0x2131ab(0x17a)],..._0x54f0da,..._0x42d9fa],_0x3f3cf3),_0x3753db[_0x2131ab(0x1aa)]({'unitID':_0x376835,'redoMutations':[..._0x3f3ba7[_0x2131ab(0x17a)],..._0x1e4830[_0x2131ab(0x17a)],..._0x54f0da,..._0x42d9fa],'undoMutations':[..._0x3f3ba7[_0x2131ab(0x317)],..._0x1e4830['undos'],..._0x4c568d,..._0x4b7958]}),!0x0;}},Ms={'type':_0x30df22[_0x568d43(0x33f)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x39e792,_0x50a3f2){const _0x210ae4=_0x568d43;if(!_0x50a3f2)return!0x1;const _0x4f362c=_0x39e792[_0x210ae4(0x194)](_0x428737),_0x405f62=_0x39e792[_0x210ae4(0x194)](X),_0x541ed1=_0x39e792[_0x210ae4(0x194)](_0x2bb584),_0x1f3a5f=_0x39e792[_0x210ae4(0x194)](_0x125ef8),{pivotTableId:_0x1f58a8,position:_0x37c2d1,index:_0x2be9fc}=_0x50a3f2,_0x2ee573=_0x3cd89f(_0x541ed1);if(!_0x2ee573)return!0x1;const {unitId:_0x409f44,subUnitId:_0x555411}=_0x2ee573,_0xb4492c=(await _0x405f62[_0x210ae4(0x256)]({'unitId':_0x409f44,'subUnitId':_0x555411,'pivotTableId':_0x1f58a8,'params':{'type':A[_0x210ae4(0xf0)],'updateValuePosition':{'position':_0x37c2d1,'index':_0x2be9fc}}}))[_0x210ae4(0x27f)][_0x210ae4(0x25d)];if(!_0xb4492c)return!0x1;const {changesets:_0x19a500,view:_0x28d689,isEmpty:_0x510b8d,pivotTableConfig:_0x363fcf}=_0xb4492c,_0x3d5a42=_0x363fcf[_0x210ae4(0x1a8)],_0x16e526=new _0xa9b3b();_0x16e526[_0x210ae4(0x296)](_0x28d689);const _0x567247=_0x39e792[_0x210ae4(0x194)](ie),_0x2da02d={'cellInfo':_0x3d5a42,'view':_0x16e526,'isEmpty':_0x510b8d};if(!await _0x567247[_0x210ae4(0x1dd)][_0x210ae4(0x2e7)](Se)(!0x0,_0x2da02d))return!0x1;const _0xaabe08=we(_0x39e792,_0x16e526,_0x3d5a42,_0x510b8d),_0x3669b5=_e(_0x39e792,_0x2da02d),{undos:_0x277687,redos:_0x4d3d34}=me(_0x4f362c,{'pivotTableId':_0x1f58a8,'unitId':_0x409f44,'subUnitId':_0x555411},_0x19a500);return _0x1b0569([..._0xaabe08['redos'],..._0x3669b5[_0x210ae4(0x17a)],..._0x4d3d34],_0x4f362c),_0x1f3a5f[_0x210ae4(0x1aa)]({'unitID':_0x409f44,'redoMutations':[..._0xaabe08['redos'],..._0x3669b5[_0x210ae4(0x17a)],..._0x4d3d34],'undoMutations':[..._0xaabe08[_0x210ae4(0x317)],..._0x3669b5['undos'],..._0x277687]}),!0x0;}},ws={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x32e),'handler':(_0x54d280,_0x32bcae)=>{const _0x485fc6=_0x568d43,_0x466937=_0x54d280[_0x485fc6(0x194)](_0x428737),_0x707853=_0x54d280[_0x485fc6(0x194)](_0x125ef8),_0x1ffbc3=_0x54d280['get'](he),_0x38ad87=_0x54d280[_0x485fc6(0x194)](_0x2bb584);if(!_0x32bcae)return!0x1;const _0x38a8c5=_0x3cd89f(_0x38ad87);if(!_0x38a8c5)return!0x1;const {unitId:_0x1d286e,subUnitId:_0x2e8914,workbook:_0x3b8245}=_0x38a8c5,_0x475385=_0x1ffbc3['getPivotTableConfig'](_0x32bcae['originTargetInfo'][_0x485fc6(0x2ec)],_0x32bcae[_0x485fc6(0x2c3)][_0x485fc6(0x143)],_0x32bcae[_0x485fc6(0x2b8)]);if(!_0x475385)return!0x1;const _0x3c1440=_0x3b8245[_0x485fc6(0x189)](_0x32bcae[_0x485fc6(0x1a8)][_0x485fc6(0x143)]);if(!_0x3c1440)throw new Error(_0x485fc6(0x231));const _0xdb9001=_0x3c1440[_0x485fc6(0x298)](),_0x3003d6=_0x3c1440[_0x485fc6(0x21c)]();if(_0x32bcae[_0x485fc6(0x1a8)]['row']>_0xdb9001||_0x32bcae['targetCellInfo']['col']>_0x3003d6)throw new Error(_0x485fc6(0x109));const _0x199901=[{'id':pt['id'],'params':{'unitId':_0x1d286e,'subUnitId':_0x32bcae[_0x485fc6(0x1a8)]['subUnitId'],'pivotTableId':_0x32bcae[_0x485fc6(0x2b8)],'targetCellPosition':{'row':_0x32bcae[_0x485fc6(0x1a8)][_0x485fc6(0xdb)],'col':_0x32bcae[_0x485fc6(0x1a8)][_0x485fc6(0x26f)]}}}],_0x20d323=[{'id':pt['id'],'params':{'unitId':_0x1d286e,'subUnitId':_0x2e8914,'pivotTableId':_0x32bcae[_0x485fc6(0x2b8)],'targetCellPosition':{'row':_0x475385[_0x485fc6(0x1a8)][_0x485fc6(0xdb)],'col':_0x475385[_0x485fc6(0x1a8)][_0x485fc6(0x26f)]}}}];return _0x1b0569(_0x199901,_0x466937)&&_0x707853[_0x485fc6(0x1aa)]({'unitID':_0x1d286e,'undoMutations':_0x20d323,'redoMutations':_0x199901}),!0x0;}},_s={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x108),async 'handler'(_0xc93662,_0x14b235){const _0x204a5a=_0x568d43;if(!_0x14b235)return!0x1;const _0x227f0f=_0xc93662[_0x204a5a(0x194)](_0x428737),{pivotTableId:_0x34d4a6,fieldId:_0x38f71e,valueFilterInfo:_0x3ed5cf,unitId:_0x3efa75,subUnitId:_0x34d0a2}=_0x14b235,_0x261148=_0xc93662[_0x204a5a(0x194)](X),_0x53b09f=_0xc93662[_0x204a5a(0x194)](_0x125ef8),_0x1730de=(await _0x261148['getPivotDisplayConfig']({'unitId':_0x3efa75,'subUnitId':_0x34d0a2,'pivotTableId':_0x34d4a6,'params':{'type':A['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x38f71e,'filterInfo':_0x3ed5cf}}}))[_0x204a5a(0x27f)][_0x204a5a(0x2cb)];if(!_0x1730de)return!0x1;const {changesets:_0x330d37,pivotTableConfig:_0x430cd5,isEmpty:_0x26632b,view:_0x4a9def}=_0x1730de,_0x317660=_0x430cd5['targetCellInfo'],_0x7e05=new _0xa9b3b();_0x7e05['formJSON'](_0x4a9def);const _0x309519={'cellInfo':_0x317660,'view':_0x7e05,'isEmpty':_0x26632b};if(!await _0xc93662[_0x204a5a(0x194)](ie)[_0x204a5a(0x1dd)]['fetchThroughAsyncInterceptors'](Se)(!0x0,_0x309519))return!0x1;const _0x253dc7=we(_0xc93662,_0x7e05,_0x317660,_0x26632b),_0x3b12ba=_e(_0xc93662,_0x309519),{undos:_0x3fad12,redos:_0x4ff8e6}=me(_0x227f0f,{'pivotTableId':_0x34d4a6,'unitId':_0x3efa75,'subUnitId':_0x34d0a2},_0x330d37);return _0x1b0569([..._0x253dc7[_0x204a5a(0x17a)],..._0x3b12ba[_0x204a5a(0x17a)],..._0x4ff8e6],_0x227f0f),_0x53b09f[_0x204a5a(0x1aa)]({'unitID':_0x3efa75,'redoMutations':[..._0x253dc7[_0x204a5a(0x17a)],..._0x3b12ba[_0x204a5a(0x17a)],..._0x4ff8e6],'undoMutations':[..._0x253dc7[_0x204a5a(0x317)],..._0x3b12ba[_0x204a5a(0x317)],..._0x3fad12]}),!0x0;}},Fs={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x111),async 'handler'(_0x11b4c2,_0x439cb5){const _0x124f67=_0x568d43;if(!_0x439cb5)return!0x1;const _0x3ca849=_0x11b4c2[_0x124f67(0x194)](_0x428737),_0x42934f=_0x11b4c2['get'](_0x125ef8),_0x316b0e=_0x11b4c2['get'](X),{pivotTableConfig:_0x474d25,pivotTableId:_0x5579c9,unitId:_0x3295db,subUnitId:_0x4d0c2b}=_0x439cb5,_0x2255cb=(await _0x316b0e[_0x124f67(0x256)]({'unitId':_0x3295db,'subUnitId':_0x4d0c2b,'pivotTableId':_0x5579c9,'params':{'type':A[_0x124f67(0x210)],'setPivotTableConfig':{'pivotTableId':_0x5579c9,'pivotTableConfig':_0x474d25}}}))[_0x124f67(0x27f)]['setPivotTableConfig'];if(!_0x2255cb)return!0x1;const {changesets:_0x416910}=_0x2255cb,{redos:_0x4c9736,undos:_0x57906c}=me(_0x3ca849,{'pivotTableId':_0x5579c9,'unitId':_0x3295db,'subUnitId':_0x4d0c2b},_0x416910);return _0x1b0569(_0x4c9736,_0x3ca849),_0x42934f[_0x124f67(0x1aa)]({'unitID':_0x3295db,'redoMutations':_0x4c9736,'undoMutations':_0x57906c}),!0x0;}},Rs={'type':_0x30df22[_0x568d43(0x33f)],'id':_0x568d43(0x18e),async 'handler'(_0x15e7e8,_0x23a16e){const _0x3ea254=_0x568d43;if(!_0x23a16e)return!0x1;const _0x2bf85d=_0x15e7e8[_0x3ea254(0x194)](_0x428737),_0xee8f1a=_0x15e7e8[_0x3ea254(0x194)](_0x125ef8),_0x54ca3e=_0x15e7e8['get'](X),{resetArea:_0x4ff629,pivotTableId:_0x34613a,unitId:_0x3daebe,subUnitId:_0x34d73f}=_0x23a16e,_0x2f1aa6=(await _0x54ca3e[_0x3ea254(0x256)]({'unitId':_0x3daebe,'subUnitId':_0x34d73f,'pivotTableId':_0x34613a,'params':{'type':A['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x34613a,'resetArea':_0x4ff629}}}))[_0x3ea254(0x27f)][_0x3ea254(0x2ee)];if(!_0x2f1aa6)return!0x1;const {changesets:_0x27570a}=_0x2f1aa6,{redos:_0x257cee,undos:_0x4ca80a}=me(_0x2bf85d,{'pivotTableId':_0x34613a,'unitId':_0x3daebe,'subUnitId':_0x34d73f},_0x27570a);return _0x1b0569(_0x257cee,_0x2bf85d),_0xee8f1a[_0x3ea254(0x1aa)]({'unitID':_0x3daebe,'redoMutations':_0x257cee,'undoMutations':_0x4ca80a}),!0x0;}},oo={'id':_0x568d43(0x202),'type':_0x30df22[_0x568d43(0xfb)],'handler':(_0xc26fcd,_0x30bb4e)=>{const _0x5caef1=_0x568d43;if(!_0x30bb4e)return!0x1;if(!!_0xc26fcd[_0x5caef1(0x194)](_0x30f8ed)[_0x5caef1(0x311)](q))return!0x0;const {unitId:_0x378ae3,subUnitId:_0x44426d,pivotTableId:_0x37ac91,tableFieldId:_0x223e0d,dateType:_0x15275f}=_0x30bb4e,_0x352cad=_0xc26fcd[_0x5caef1(0x194)]($),_0x3cc32c=_0x352cad[_0x5caef1(0xfa)](_0x37ac91);if(!_0x3cc32c)return!0x1;const _0x5a9857=_0x3cc32c[_0x5caef1(0x275)](_0x223e0d);if(!_0x5a9857)return!0x1;const _0x4d823d=_0x5a9857[_0x5caef1(0x2be)](),_0xa657d7=_0x3cc32c['getDataFieldByDataFieldId'](_0x4d823d),_0x57e11e=(_0xa657d7==null?void 0x0:_0xa657d7[_0x5caef1(0x235)]())+'\x20'+qo(_0xc26fcd,_0x15275f);_0x352cad[_0x5caef1(0xe9)](_0x378ae3,_0x37ac91)[_0x5caef1(0x2f2)](_0x5a9857['id'],_0x57e11e);const _0x406531=_0x3cc32c[_0x5caef1(0x29e)](_0x223e0d);if(!_0x406531)return!0x1;_0x3cc32c['renameField'](_0x406531[_0x5caef1(0xe0)](),_0x57e11e),_0x5a9857[_0x5caef1(0x242)](_0x15275f);const _0x2c1315=_0x352cad['getPivotTableConfig'](_0x378ae3,_0x44426d,_0x37ac91);return _0x352cad['addDirtyPivotTable']({'unitId':_0x378ae3,'subUnitId':_0x44426d,'token':_0x37ac91,'type':L[_0x5caef1(0x124)],'pivotConfig':_0x2c1315}),!0x0;}},Ds={'id':_0x568d43(0x118),'type':_0x30df22[_0x568d43(0x33f)],'handler':(_0x797a66,_0x4b2a8b)=>{const _0x433eee=_0x568d43;if(!_0x4b2a8b)return!0x1;const _0x171338=_0x797a66[_0x433eee(0x194)](_0x125ef8),{unitId:_0x357b07,subUnitId:_0x3c801d,pivotTableId:_0x57d7e6,tableFieldId:_0xaa0b50}=_0x4b2a8b,_0x26e63e=[],_0x4bfec9=[],_0x15c124=_0x797a66[_0x433eee(0x194)](he),_0x1b97b9=_0x15c124[_0x433eee(0xe9)](_0x357b07,_0x57d7e6),_0x46a260=_0x15c124['getPivotTableConfig'](_0x357b07,_0x3c801d,_0x57d7e6);if(!(_0x46a260!=null&&_0x46a260[_0x433eee(0x35b)][_0x433eee(0x10b)]))return!0x1;const _0x410ac1=Object[_0x433eee(0x1c1)](_0x46a260[_0x433eee(0x35b)][_0x433eee(0x10b)])[_0x433eee(0x12e)](_0xd46b08=>_0xd46b08['id']===_0xaa0b50);if(!_0x410ac1)return!0x1;const _0x30be1f=_0x410ac1[_0x433eee(0x10d)];if(!(_0x1b97b9!=null&&_0x1b97b9[_0x433eee(0x195)]))return!0x1;const _0x4fcc44=Object[_0x433eee(0x1c1)](_0x1b97b9==null?void 0x0:_0x1b97b9[_0x433eee(0x195)])[_0x433eee(0x12e)](_0xcb97a6=>_0xcb97a6['id']===_0x30be1f);if(!_0x4fcc44)return!0x1;_0x20d95c(_0x4fcc44)&&_0x26e63e[_0x433eee(0x179)]({'id':oo['id'],'params':{..._0x4b2a8b,'dateType':_0x4fcc44[_0x433eee(0x2e3)]}}),_0x4bfec9[_0x433eee(0x179)]({'id':oo['id'],'params':{..._0x4b2a8b}});const _0x33bf3d=_0x797a66[_0x433eee(0x194)](_0x428737);return _0x1b0569(_0x4bfec9,_0x33bf3d)&&_0x171338['pushUndoRedo']({'unitID':_0x357b07,'undoMutations':_0x26e63e,'redoMutations':_0x4bfec9}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Us=(_0x59c0ad,_0x4b289b,_0x2c71b8,_0x2eb3b4)=>{const _0x3fad7b=_0x568d43;for(var _0x32b8ad=_0x2eb3b4>0x1?void 0x0:_0x2eb3b4?Ns(_0x4b289b,_0x2c71b8):_0x4b289b,_0x1a7fa3=_0x59c0ad[_0x3fad7b(0x28f)]-0x1,_0x25712c;_0x1a7fa3>=0x0;_0x1a7fa3--)(_0x25712c=_0x59c0ad[_0x1a7fa3])&&(_0x32b8ad=_0x25712c(_0x32b8ad)||_0x32b8ad);return _0x32b8ad;},Ke=(_0x237399,_0x4713dd)=>(_0x3a9728,_0x3396db)=>_0x4713dd(_0x3a9728,_0x3396db,_0x237399);const Es=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Vs=(_0x3144c0,_0x551489,_0x530ede)=>{const _0x57c7b2=_0x568d43,_0x1b8870=_0x3144c0[_0x57c7b2(0x308)];_0x3144c0[_0x57c7b2(0x323)](_0x482e47=>{const _0x3ecc7b=_0x57c7b2,_0x38403e=_0x482e47[_0x3ecc7b(0xe0)](),_0x2fd3fa=_0x482e47[_0x3ecc7b(0x2b0)](),_0x19aad8=_0x482e47[_0x3ecc7b(0x196)](),_0x4077f4=_0x482e47['getDisplayName']();_0x551489[_0x2fd3fa]&&_0x551489[_0x2fd3fa]===_0x4077f4&&_0x19aad8===_0x4077f4&&(_0x3144c0['renameField'](_0x38403e,_0x1b8870[_0x3ecc7b(0x1f5)](_0x2fd3fa)),_0x482e47[_0x3ecc7b(0x32f)](_0x1b8870[_0x3ecc7b(0x1f5)](_0x2fd3fa)));}),_0x3144c0[_0x57c7b2(0x330)](_0xc3cf43[_0x57c7b2(0x14c)],_0xb51d5f=>{const _0x16a799=_0x57c7b2,_0x3c03db=_0xb51d5f[_0x16a799(0xe0)](),_0x1fded9=_0xb51d5f[_0x16a799(0x2b0)](),_0x1ed0a6=_0xb51d5f[_0x16a799(0x196)](),_0x4585a6=_0xb51d5f[_0x16a799(0x1f5)](),_0x2f8e68=_0xb51d5f[_0x16a799(0x245)](),_0x32853b=_0x530ede(_0x1ed0a6,_0x2f8e68);_0x551489[_0x1fded9]&&_0x551489[_0x1fded9]===_0x1ed0a6&&_0x32853b===_0x4585a6&&(_0x3144c0[_0x16a799(0x29f)](_0x3c03db,_0x530ede(_0x1b8870[_0x16a799(0x1f5)](_0x1fded9),_0x2f8e68)),_0xb51d5f[_0x16a799(0x32f)](_0x1b8870[_0x16a799(0x1f5)](_0x1fded9)));});},xs=(_0xe89aec,_0x1026fe,_0x2c07bc)=>{const _0x839671=_0x568d43;var _0x2491ea,_0x27933d;const {arrayFormulaCellData:_0x43cf3b,unitData:_0x2f6818}=_0x1026fe,{unitId:_0x41d8a9,subUnitId:_0x13938d}=_0x2c07bc,_0x2e4bd7=_0x2c07bc[_0x839671(0x21a)],{startColumn:_0x5a0770,endColumn:_0x3b074c}=_0x2e4bd7,_0x12a293=(_0x2491ea=_0x43cf3b==null?void 0x0:_0x43cf3b[_0x41d8a9])==null?void 0x0:_0x2491ea[_0x13938d],_0x3004f6=(_0x27933d=_0x2f6818==null?void 0x0:_0x2f6818[_0x41d8a9])==null?void 0x0:_0x27933d[_0x13938d],_0x563f56=new Set(),_0x313ee5=_0x3b074c-_0x5a0770+0x1,{dirtyRanges:_0x1f46c3}=_0xe89aec;if(_0x1f46c3)for(const {range:_0x562d6,sheetId:_0x227d90,unitId:_0x47d468}of _0x1f46c3){if(_0x227d90!==_0x13938d||_0x41d8a9!==_0x47d468)continue;const _0x1c1f04=_0x213a48[_0x839671(0x2c7)](_0x562d6,_0x2e4bd7);if(_0x1c1f04){const {startColumn:_0x2da8b6,endColumn:_0x43abcc}=_0x1c1f04;for(let _0x1deec0=_0x2da8b6;_0x1deec0<=_0x43abcc;_0x1deec0++)_0x563f56['add'](_0x1deec0);}}if(_0x563f56[_0x839671(0x127)]===_0x313ee5||_0x563f56[_0x839671(0x127)]===_0x313ee5)return Array[_0x839671(0x2cd)](_0x563f56);if(_0x3004f6){const _0x39774b=_0x3004f6[_0x839671(0x2e6)](),_0x3625f2=Object['keys'](_0x39774b);for(const _0x235f9d of _0x3625f2){const _0x2fac8a=Number(_0x235f9d),_0x3c523e=_0x39774b[_0x2fac8a];if(_0x563f56[_0x839671(0x127)]===_0x313ee5)break;for(const _0x431c34 in _0x3c523e){const _0x289d6a=Number(_0x431c34);_0x289d6a<_0x5a0770||_0x289d6a>_0x3b074c||_0x563f56['add'](_0x289d6a);}}}if(_0x12a293){const _0x16527=_0x12a293['getMatrix'](),_0xeee754=Object[_0x839671(0x33e)](_0x16527);for(const _0x7521e5 of _0xeee754){const _0xd4e708=Number(_0x7521e5),_0x58fb49=_0x16527[_0xd4e708];if(_0x563f56['size']===_0x313ee5)break;for(const _0x93c985 in _0x58fb49){const _0x13c9bb=Number(_0x93c985);_0x13c9bb<_0x5a0770||_0x13c9bb>_0x3b074c||_0x563f56[_0x839671(0x224)](_0x13c9bb);}}}return Array[_0x839671(0x2cd)](_0x563f56);},Os=_0x56408c=>{const _0x39ffe7=_0x568d43,_0x4154ed=new Set(),_0x139c52=[];for(const _0x2a30ed of _0x56408c){const _0x63e29d=_0x2a30ed[_0x39ffe7(0x13e)]+','+_0x2a30ed[_0x39ffe7(0xec)]+','+_0x2a30ed[_0x39ffe7(0x13f)]+','+_0x2a30ed[_0x39ffe7(0x351)];_0x4154ed[_0x39ffe7(0x130)](_0x63e29d)||(_0x4154ed[_0x39ffe7(0x224)](_0x63e29d),_0x139c52['push'](_0x2a30ed));}return _0x139c52;};let ct=class extends _0x564bbd{constructor(_0x236fb2,_0x289d20,_0x46fd73,_0x1f3a24,_0x52fd3d,_0x4a8c9b){const _0x2f7bed=_0x568d43;super(),E(this,_0x2f7bed(0xf9),new _0x505982(!0x0)),E(this,_0x2f7bed(0x1fb),_0x33e4e1=>{const _0x197d64=_0x2f7bed;this[_0x197d64(0xf9)][_0x197d64(0xf7)](!0x1);}),E(this,_0x2f7bed(0x277),_0x312b83=>{const _0x93c62a=_0x2f7bed;this[_0x93c62a(0xf9)][_0x93c62a(0xf7)](!0x0);}),(this[_0x2f7bed(0x2c0)]=_0x236fb2,this[_0x2f7bed(0x201)]=_0x289d20,this[_0x2f7bed(0x20c)]=_0x46fd73,this[_0x2f7bed(0x2ae)]=_0x1f3a24,this[_0x2f7bed(0x2f6)]=_0x52fd3d,this['_injector']=_0x4a8c9b,this[_0x2f7bed(0x1e9)](),this[_0x2f7bed(0x17e)]());}[_0x568d43(0x1e9)](){const _0x368402=_0x568d43;this['_subjectCollectionChange'](),this[_0x368402(0x30d)](),this['_initPivotTextInfo'](),this[_0x368402(0x125)]();}[_0x568d43(0x1d5)](){const _0x18946f=_0x568d43;this[_0x18946f(0x2f6)]['pushComputingStatusSubject'](this[_0x18946f(0xf9)]),_0x1c184b[_0x18946f(0xf6)](_0x17627a[_0x18946f(0xe8)],this[_0x18946f(0x1fb)]),_0x1c184b[_0x18946f(0xf6)](_0x17627a[_0x18946f(0x176)],this[_0x18946f(0x277)]);}[_0x568d43(0x17e)](){const _0x4aa950=_0x568d43;this['disposeWithMe'](this[_0x4aa950(0x2ae)][_0x4aa950(0x310)](_0x34eef8=>{const _0xa1a978=_0x4aa950;_0x34eef8['id']===_0x32ea2a['id']&&this[_0xa1a978(0x2c0)][_0xa1a978(0x204)](_0x34eef8[_0xa1a978(0x2d1)]);})),this[_0x4aa950(0x1c6)](this[_0x4aa950(0x2ae)][_0x4aa950(0x310)](_0xa9440b=>{const _0x4cc222=_0x4aa950;if(_0xa9440b['id']!==ro['id'])return;const _0x2f38de=_0xa9440b[_0x4cc222(0x2d1)],{unitId:_0x4a1eac,subUnitId:_0x523648,pivotTableId:_0x4aad92}=_0x2f38de,_0x58bd16=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0x23e)],_0x72b6a={};switch(_0x58bd16){case A[_0x4cc222(0x22f)]:{const _0x5e27cf=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0x1a1)];if(!_0x5e27cf)return;const {row:_0x70df1b,col:_0x2ce232,cellData:_0x21a50a,pivotItemRenderInfoCache:_0x3fd62a,tableFieldId:_0x132086}=_0x5e27cf,_0xbd0392=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x2f38de['pivotTableId']);if(!_0xbd0392||!_0x3fd62a)return;if(_0x132086){const _0x577419=_0xbd0392[_0x4cc222(0x275)](_0x132086);if(!_0x577419)return;_0x72b6a[_0x4cc222(0x1a1)]={..._0xbd0392[_0x4cc222(0x2e1)](_0x577419),'tableFieldId':_0x132086,'pivotTableId':_0x2f38de['pivotTableId'],'filterInfo':_0xbd0392[_0x4cc222(0x10e)](_0x132086),'sortInfo':_0xbd0392[_0x4cc222(0x147)](_0x132086),'format':_0xbd0392['getFieldFormat'](_0x132086)};}else{const _0x2771b3=xi(_0x70df1b,_0x2ce232,_0x21a50a,_0xbd0392,_0x3fd62a),_0x2ef122=_0x2771b3==null?void 0x0:_0x2771b3[_0x4cc222(0x1d6)];if(!_0x2ef122)return;const _0x1ba426=_0xbd0392[_0x4cc222(0x275)](_0x2ef122);if(!_0x1ba426)return;_0x72b6a[_0x4cc222(0x1a1)]={..._0xbd0392['getDataFieldItemInfo'](_0x1ba426),'tableFieldId':_0x2ef122,'pivotTableId':_0x2f38de[_0x4cc222(0x2b8)],'filterInfo':_0xbd0392[_0x4cc222(0x10e)](_0x2ef122),'sortInfo':_0xbd0392[_0x4cc222(0x147)](_0x2ef122),'format':_0xbd0392[_0x4cc222(0xe5)](_0x2ef122)};}}break;case A[_0x4cc222(0x2a3)]:{const _0x2c8693=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0x133)];if(!_0x2c8693)return;const {pivotTableId:_0x2ae83f}=_0x2c8693,_0x119191=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x2ae83f);if(!_0x119191)return;const _0x185752=this[_0x4cc222(0x2c0)][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x2ae83f),_0x2407f0=Oi(_0x119191,_0x2ae83f,_0x185752);_0x72b6a[_0x4cc222(0x133)]=_0x2407f0;}break;case A['AddPivotField']:{const _0x2ecaa6=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x4aad92),_0x54dd15=this[_0x4cc222(0x2c0)]['getDataFieldManager'](_0x4a1eac),_0x59faee=_0x54dd15[_0x4cc222(0xe9)](_0x4aad92);let _0x120d48=null;const _0x350fc9=this[_0x4cc222(0x2c0)][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92),_0x5ee543=_0x2f38de['params'][_0x4cc222(0x217)];if(!_0x2ecaa6||!_0x350fc9||!_0x5ee543)return!0x1;const {dataFieldId:_0x3132a9,fieldArea:_0x19fadd,index:_0x53dd36}=_0x5ee543;_0x2ecaa6[_0x4cc222(0x16e)]();const _0x9cc42b=_0x2ecaa6[_0x4cc222(0x177)](_0x3132a9,_0x19fadd,_0x53dd36);if(_0x9cc42b&&_0x19fadd===_0xc3cf43['Value']){const _0x235b10=_0x9cc42b[_0x4cc222(0xe0)](),_0x4c367c=_0x2ecaa6[_0x4cc222(0x275)](_0x235b10);if(_0x4c367c){const _0x580a5e=_0x4c367c==null?void 0x0:_0x4c367c[_0x4cc222(0x2f3)]();_0x2ecaa6[_0x4cc222(0x345)](_0x9cc42b['getId'](),_0x580a5e===_0x157dcf[_0x4cc222(0x1df)]?_0x5f16c0[_0x4cc222(0x158)]:_0x5f16c0['count']);}const _0x2322a6=_0x2ecaa6[_0x4cc222(0x17c)](),_0x37320b=_0x2ecaa6[_0x4cc222(0x138)](),_0x4df24f=_0x2ecaa6['getFieldCountByArea'](_0xc3cf43[_0x4cc222(0x14c)]);if(_0x2322a6===-0x1&&_0x4df24f>0x1){const _0x4d8482=_0x37320b===_0x3411dd[_0x4cc222(0x318)]?_0x3411dd[_0x4cc222(0x146)]:_0x37320b,_0x4de0=_0x4d8482===_0x3411dd[_0x4cc222(0x226)]?_0xc3cf43['Row']:_0xc3cf43['Column'];_0x2ecaa6[_0x4cc222(0x25d)](_0x4d8482,_0x2ecaa6['getFieldCountByArea'](_0x4de0));}}else{if(_0x9cc42b&&(_0x19fadd===_0xc3cf43[_0x4cc222(0x226)]||_0x19fadd===_0xc3cf43[_0x4cc222(0x146)])){const _0x55fed6=_0x9cc42b[_0x4cc222(0xe0)](),_0x259689=_0x2ecaa6[_0x4cc222(0x275)](_0x55fed6);if(_0x259689&&(_0x259689==null?void 0x0:_0x259689[_0x4cc222(0x2f3)]())===_0x157dcf[_0x4cc222(0x214)]){const _0x1bc416=_0x259689[_0x4cc222(0x34e)]();if(_0x1bc416&&_0x2ecaa6[_0x4cc222(0x168)](_0x9cc42b[_0x4cc222(0xe0)](),_0x1bc416),!_0x59faee[_0x4cc222(0x1da)]()[_0x4cc222(0x2da)](_0x171eea=>{const _0x87e214=_0x4cc222,_0x3e2f32=_0x59faee[_0x87e214(0x140)](_0x171eea);return _0xe0b7d1(_0x3e2f32)?_0x3e2f32[_0x87e214(0x2ed)]()[_0x87e214(0x2b7)]===_0x3132a9:!0x1;})){const _0x19921f=_0x54dd15[_0x4cc222(0x270)](),_0x3cf94e=Gi(_0x259689[_0x4cc222(0x23c)],_0x259689['minDate']),_0x20ebfd=_0x259689[_0x4cc222(0x235)]()+_0x4cc222(0x149)+qo(this[_0x4cc222(0x2f4)],_0x3cf94e),_0xd9c700=new _0x193443(_0x19921f,_0x20ebfd,_0x67f86b(0x3),_0x259689[_0x4cc222(0xe0)](),_0x3cf94e);_0x54dd15[_0x4cc222(0x164)](_0xd9c700),_0x59faee[_0x4cc222(0x288)](_0x19921f,_0x20ebfd),_0x2ecaa6['addFieldWithSourceId'](_0x19921f,_0x19fadd,(_0x53dd36!=null?_0x53dd36:0x0)+0x1),_0x120d48=_0xd9c700;}}}}const _0x56d5d6=_0x2ecaa6['isEmpty'](),_0x4c7c11=_0x2ecaa6[_0x4cc222(0x247)]()[_0x4cc222(0x265)]();let _0x30b2d1;if(_0x120d48){_0x30b2d1=_0x120d48[_0x4cc222(0x265)]();const _0x962af3=_0x120d48['getId']();_0x59faee[_0x4cc222(0x27c)](_0x962af3);let _0x296e23=!0x0;for(const _0x4e4e05 in _0x54dd15[_0x4cc222(0x175)])if(_0x54dd15[_0x4cc222(0x175)][_0x4e4e05][_0x4cc222(0x1da)]()['includes'](_0x962af3)){_0x296e23=!0x1;break;}_0x296e23&&_0x54dd15[_0x4cc222(0x184)](_0x962af3);}const _0x360570=_0x2ecaa6[_0x4cc222(0x1ed)]();_0x72b6a['addPivotField']={'view':_0x4c7c11,'changesets':_0x360570,'isEmpty':_0x56d5d6,'pivotTableConfig':_0x350fc9,'shouldBeAddedGroupJSON':_0x30b2d1};}break;case A[_0x4cc222(0x103)]:{const _0x2e5c64=_0x2f38de[_0x4cc222(0x2d1)]['addPivotTable'];if(!_0x2e5c64)return;const _0x5f06f4=_0x2e5c64[_0x4cc222(0xe1)],_0x2a6350=_0x2e5c64[_0x4cc222(0x2b8)],{collection:_0x3badc3}=this[_0x4cc222(0x2c0)]['createCollectionWithDataRange']({'unitId':_0x5f06f4['unitId'],'sheetName':_0x5f06f4[_0x4cc222(0x2d2)],'subUnitId':_0x5f06f4[_0x4cc222(0x143)],'range':_0x5f06f4[_0x4cc222(0x21a)]}),_0x314957=new _0x1c184b(_0x3badc3,void 0x0,_0x2a6350),_0x56897a=_0x314957['query'](),_0x34c387=_0x314957[_0x4cc222(0x265)](),_0x5a5b49=_0x3badc3['toJSON']();_0x72b6a[_0x4cc222(0x26b)]={'view':_0x56897a,'fieldsConfig':_0x34c387,'collectionConfig':_0x5a5b49,'isEmpty':_0x314957[_0x4cc222(0x1cb)]()};}break;case A[_0x4cc222(0x33b)]:{const _0x43112c=_0x2f38de[_0x4cc222(0x2d1)]['movePivotField'];if(!_0x43112c)return;const {fieldId:_0x35bbe3,area:_0x255231,index:_0x1b5859}=_0x43112c,_0x5f0bb3=this['_sheetsPivotDataSourceModel'][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x5f0bb3)return;const _0x3cbad8=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x4aad92);if(!_0x3cbad8)return;_0x3cbad8['startCollectChangeset']();const {area:_0x3f56d7,index:_0x3cbc5f}=_0x3cbad8['getFieldPositionInfoById'](_0x35bbe3);if(_0x3cbad8[_0x4cc222(0x29c)](_0x35bbe3,_0x255231,_0x1b5859),_0x255231===_0xc3cf43[_0x4cc222(0x14c)]&&_0x3cbad8[_0x4cc222(0x29e)](_0x35bbe3)[_0x4cc222(0x245)]()===void 0x0){const _0x297553=_0x3cbad8[_0x4cc222(0x29e)](_0x35bbe3);if(_0x297553&&_0x297553[_0x4cc222(0x245)]()===void 0x0){const _0x1fe5ba=_0x3cbad8['getDataFieldByTableId'](_0x35bbe3);if(_0x1fe5ba){const _0x4b4156=_0x1fe5ba==null?void 0x0:_0x1fe5ba[_0x4cc222(0x2f3)]();_0x3cbad8[_0x4cc222(0x345)](_0x35bbe3,_0x4b4156===_0x157dcf[_0x4cc222(0x1df)]?_0x5f16c0[_0x4cc222(0x158)]:_0x5f16c0[_0x4cc222(0x1b2)]);}}}const _0x2bb3c0=_0x3cbad8[_0x4cc222(0x138)](),_0x76dd26=_0x3cbad8[_0x4cc222(0x17c)](),_0x542ce6=_0x3cbad8['getFieldCountByArea'](_0xc3cf43[_0x4cc222(0x14c)])>0x1;if(_0x542ce6&&_0x3f56d7===_0x255231&&(_0x255231===_0xc3cf43['Row']&&_0x2bb3c0===_0x3411dd[_0x4cc222(0x226)]||_0x255231===_0xc3cf43['Column']&&_0x2bb3c0===_0x3411dd[_0x4cc222(0x146)])){let _0x30cd82=_0x76dd26;_0x3cbc5f<=_0x76dd26&&_0x30cd82--,_0x1b5859<=_0x76dd26&&_0x30cd82++,_0x3cbad8['updateValuePosition'](_0x2bb3c0,_0x30cd82);}else _0x542ce6&&(_0x3f56d7===_0xc3cf43[_0x4cc222(0x226)]&&_0x2bb3c0===_0x3411dd[_0x4cc222(0x226)]||_0x3f56d7===_0xc3cf43[_0x4cc222(0x146)]&&_0x2bb3c0===_0x3411dd[_0x4cc222(0x146)])&&_0x76dd26>=_0x3cbc5f&&_0x3cbad8['updateValuePosition'](_0x2bb3c0,_0x76dd26-0x1),_0x542ce6&&(_0x255231===_0xc3cf43[_0x4cc222(0x226)]&&_0x2bb3c0===_0x3411dd[_0x4cc222(0x226)]||_0x255231===_0xc3cf43[_0x4cc222(0x146)]&&_0x2bb3c0===_0x3411dd['Column'])&&_0x76dd26>=_0x1b5859&&_0x3cbad8[_0x4cc222(0x25d)](_0x2bb3c0,_0x76dd26+0x1);const _0xc371ee=_0x3cbad8['query'](),_0x44daff=_0x3cbad8[_0x4cc222(0x1cb)](),_0x5bf94f=_0x3cbad8[_0x4cc222(0x1ed)]();_0x72b6a[_0x4cc222(0x2bf)]={'view':_0xc371ee['toJSON'](),'changesets':_0x5bf94f,'isEmpty':_0x44daff,'pivotTableConfig':_0x5f0bb3};}break;case A['RemovePivotField']:{const _0x3f6605=_0x2f38de['params'][_0x4cc222(0x32c)];if(!_0x3f6605)return;const _0x581872=_0x3f6605[_0x4cc222(0x197)],_0x38ed17=this['_sheetsPivotDataSourceModel'][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x38ed17)return!0x1;const _0x411a4a=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x4aad92);if(!_0x411a4a)return!0x1;_0x411a4a[_0x4cc222(0x16e)]();for(const _0x153a7b of _0x581872){const {area:_0x4bcaa2}=_0x411a4a['getFieldPositionInfoById'](_0x153a7b);_0x4bcaa2===_0xc3cf43['Value']&&_0x411a4a[_0x4cc222(0x333)](_0x153a7b),(_0x4bcaa2===_0xc3cf43['Row']||_0x4bcaa2===_0xc3cf43[_0x4cc222(0x146)])&&_0x411a4a['removeValueFilterInfo'](_0x153a7b),_0x411a4a[_0x4cc222(0x234)](_0x153a7b);}const _0x4e1136=_0x411a4a['isEmpty'](),_0x2e4bc0=_0x411a4a[_0x4cc222(0x247)]()['toJSON'](),_0x469cd2=_0x411a4a['endCollectChangeset']();_0x72b6a[_0x4cc222(0x32c)]={'changesets':_0x469cd2,'pivotTableConfig':_0x38ed17,'isEmpty':_0x4e1136,'view':_0x2e4bc0};}break;case A['SetPivotFilter']:{const _0x217fc9=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0x32d)];if(!_0x217fc9)return;const {tableFieldId:_0x23b1aa,items:_0x2b5124,isAll:_0x14cf28}=_0x217fc9,_0x2e8b7e=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x4aad92),_0x35fe32=this[_0x4cc222(0x2c0)][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x2e8b7e||!_0x35fe32)return;_0x2e8b7e['startCollectChangeset'](),_0x2e8b7e[_0x4cc222(0x282)](_0x23b1aa,{'type':_0x5d5635[_0x4cc222(0x167)],'list':_0x2b5124,'isAll':_0x14cf28});const _0x26b257=_0x2e8b7e[_0x4cc222(0x1cb)](),_0x66e0e1=_0x2e8b7e[_0x4cc222(0x247)]()[_0x4cc222(0x265)](),_0x433d8c=_0x2e8b7e[_0x4cc222(0x1ed)]();_0x72b6a[_0x4cc222(0x32d)]={'view':_0x66e0e1,'changesets':_0x433d8c,'isEmpty':_0x26b257,'pivotTableConfig':_0x35fe32};}break;case A[_0x4cc222(0x1d8)]:{const _0x361026=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0x2cb)];if(!_0x361026)return;const {tableFieldId:_0x2613ec,filterInfo:_0xd3d53d}=_0x361026,_0x576ac6=this['_sheetsPivotDataSourceModel'][_0x4cc222(0xfa)](_0x4aad92),_0x296d6d=this[_0x4cc222(0x2c0)][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x576ac6||!_0x296d6d)return;_0x576ac6[_0x4cc222(0x16e)](),_0x576ac6[_0x4cc222(0x200)](_0x2613ec,_0xd3d53d);const _0x354f24=_0x576ac6[_0x4cc222(0x1cb)](),_0x29bad0=_0x576ac6[_0x4cc222(0x247)]()[_0x4cc222(0x265)](),_0x528712=_0x576ac6[_0x4cc222(0x1ed)]();_0x72b6a[_0x4cc222(0x2cb)]={'view':_0x29bad0,'changesets':_0x528712,'isEmpty':_0x354f24,'pivotTableConfig':_0x296d6d};}break;case A[_0x4cc222(0x18d)]:{const _0x30a0f0=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0x1bc)];if(!_0x30a0f0)return;const {tableFieldId:_0x2b6ab1,info:_0xbda6e}=_0x30a0f0,_0x3d5916=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x4aad92),_0x3bec45=this['_sheetsPivotDataSourceModel'][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x3d5916||!_0x3bec45)return;_0x3d5916['startCollectChangeset'](),_0x3d5916[_0x4cc222(0x295)](_0x2b6ab1,_0xbda6e);const _0x5a5110=_0x3d5916[_0x4cc222(0x1cb)](),_0x2c5d8d=_0x3d5916['query']()[_0x4cc222(0x265)](),_0x678057=_0x3d5916[_0x4cc222(0x1ed)]();_0x72b6a[_0x4cc222(0x1bc)]={'view':_0x2c5d8d,'changesets':_0x678057,'isEmpty':_0x5a5110,'pivotTableConfig':_0x3bec45};}break;case A[_0x4cc222(0x33a)]:{const _0x3ae3bb=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0xeb)];if(!_0x3ae3bb)return;const {tableFieldId:_0xeba307,displayName:_0xf830f9,subtotalType:_0x466e7b,format:_0x3a32cc}=_0x3ae3bb,_0x1a9e1c=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4aad92),_0x25f070=this[_0x4cc222(0x2c0)][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x1a9e1c||!_0x25f070)return;_0x1a9e1c[_0x4cc222(0x16e)](),_0xf830f9!==void 0x0&&_0x1a9e1c[_0x4cc222(0x29f)](_0xeba307,_0xf830f9),_0x466e7b!==void 0x0&&_0x1a9e1c['setSubtotalType'](_0xeba307,_0x466e7b),_0x3a32cc!==void 0x0&&_0x1a9e1c['setFieldFormat'](_0xeba307,_0x3a32cc);const _0x4b6692=_0x1a9e1c[_0x4cc222(0x1cb)](),_0x924a3c=_0x1a9e1c[_0x4cc222(0x247)]()['toJSON'](),_0x1b669d=_0x1a9e1c[_0x4cc222(0x1ed)]();_0x72b6a[_0x4cc222(0xeb)]={'changesets':_0x1b669d,'pivotTableConfig':_0x25f070,'isEmpty':_0x4b6692,'view':_0x924a3c};}break;case A[_0x4cc222(0x2af)]:{const _0xffceef=_0x2f38de['params'][_0x4cc222(0x1fa)];if(!_0xffceef)return;const {dataRangeInfo:_0x2133ab,unitId:_0x1d07a5,subUnitId:_0x221747}=_0xffceef,_0x1d05d1=this[_0x4cc222(0x2c0)][_0x4cc222(0x2db)](_0x1d07a5,_0x221747,_0x4aad92),_0x2442f9=this[_0x4cc222(0x2c0)]['getPivotTableInstance'](_0x4aad92);if(!this['_sheetsPivotDataSourceModel'][_0x4cc222(0xe9)](_0x1d07a5,_0x4aad92)||!_0x2442f9||!_0x1d05d1)return;const _0x464922=this['_sheetsPivotDataSourceModel']['getUpdateRangeDeleteIds'](_0x1d07a5,_0x4aad92,_0x2133ab),_0x391174=this[_0x4cc222(0x2c0)][_0x4cc222(0xe9)](_0x1d07a5,_0x4aad92)[_0x4cc222(0x265)](),{collection:_0x2636be}=this[_0x4cc222(0x2c0)]['createCollectionWithDataRange']({'unitId':_0x2133ab[_0x4cc222(0x2ec)],'sheetName':_0x2133ab[_0x4cc222(0x2d2)],'subUnitId':_0x2133ab['subUnitId'],'range':_0x2133ab[_0x4cc222(0x21a)]}),_0x5d4e89=_0x2636be[_0x4cc222(0x265)]();_0x2442f9[_0x4cc222(0x16e)]();const _0x2b4aac=this[_0x4cc222(0x2c0)][_0x4cc222(0x1f6)](_0x1d07a5)[_0x4cc222(0x1e5)]()||_0x3c203b;_0x2442f9[_0x4cc222(0x2ab)](_0x23e10b=>{const _0x466abd=_0x4cc222,_0x417b74=_0x23e10b[_0x466abd(0x2b0)]();if(!_0x2636be[_0x466abd(0x1e0)](_0x417b74)){const _0x3bc5c7=_0x2636be[_0x466abd(0x1f0)](_0x23e10b[_0x466abd(0x196)]());if(_0x3bc5c7){_0x2442f9[_0x466abd(0x1a4)](_0x23e10b[_0x466abd(0xe0)](),_0x3bc5c7['getName'](),_0x3bc5c7[_0x466abd(0xe0)]());const {area:_0x52043f}=_0x2442f9[_0x466abd(0x239)](_0x23e10b[_0x466abd(0xe0)]());let _0x4de183=_0x23e10b[_0x466abd(0x196)]();const _0x37e27f=_0x23e10b[_0x466abd(0x1f5)]();if(_0x52043f===_0xc3cf43[_0x466abd(0x14c)]){const _0x229e41=_0x23e10b['getSubtotal']();_0x4de183=_0x2b4aac(_0x3bc5c7['getName'](),_0x229e41);}_0x37e27f!==_0x4de183&&_0x2442f9['renameField'](_0x23e10b[_0x466abd(0xe0)](),_0x4de183);}else _0x2442f9['removeField'](_0x23e10b[_0x466abd(0xe0)]());}});const _0x260666=_0x2442f9[_0x4cc222(0x1cb)](),_0x1bbeb7=_0x2442f9['query']()[_0x4cc222(0x265)](),_0x484088=_0x2442f9[_0x4cc222(0x1ed)]();_0x72b6a[_0x4cc222(0x1fa)]={'view':_0x1bbeb7,'changesets':_0x484088,'isEmpty':_0x260666,'pivotTableConfig':_0x1d05d1,'collectionConfig':_0x5d4e89,'oldCollectionConfig':_0x391174,'deleteIds':_0x464922};}break;case A[_0x4cc222(0xf0)]:{const _0x373cd8=_0x2f38de['params'][_0x4cc222(0x25d)];if(!_0x373cd8)return;const {position:_0x3dbb91,index:_0x4b2ab3}=_0x373cd8,_0x2178a6=this[_0x4cc222(0x2c0)][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x2178a6)return!0x1;const _0x2493a2=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x4aad92);if(!_0x2493a2)return!0x1;_0x2493a2['startCollectChangeset'](),_0x2493a2[_0x4cc222(0x25d)](_0x3dbb91,_0x4b2ab3);const _0x3fb7da=_0x2493a2[_0x4cc222(0x1cb)](),_0x1f0891=_0x2493a2[_0x4cc222(0x247)]()[_0x4cc222(0x265)](),_0x31dd84=_0x2493a2['endCollectChangeset']();_0x72b6a[_0x4cc222(0x25d)]={'changesets':_0x31dd84,'pivotTableConfig':_0x2178a6,'isEmpty':_0x3fb7da,'view':_0x1f0891};}break;case A[_0x4cc222(0x250)]:{const _0x1c106c=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0x1b0)];if(!_0x1c106c)return;const {tableFieldId:_0x59859d,collapse:_0x22d07b,item:_0x22ed7f}=_0x1c106c,_0x4e3d23=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x4aad92),_0x2b62c1=this[_0x4cc222(0x2c0)][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x4e3d23||!_0x2b62c1)return;_0x4e3d23[_0x4cc222(0x16e)](),_0x4e3d23[_0x4cc222(0x1b7)](_0x59859d,_0x22d07b,_0x22ed7f);const _0x3d3e05=_0x4e3d23['isEmpty'](),_0x5e8faf=_0x4e3d23['query']()[_0x4cc222(0x265)](),_0x3b2a2d=_0x4e3d23[_0x4cc222(0x1ed)]();_0x72b6a[_0x4cc222(0x1b0)]={'view':_0x5e8faf,'isEmpty':_0x3d3e05,'pivotTableConfig':_0x2b62c1,'changesets':_0x3b2a2d};}break;case A[_0x4cc222(0x210)]:{const _0x3e8e72=_0x2f38de[_0x4cc222(0x2d1)]['setPivotTableConfig'];if(!_0x3e8e72)return;const {pivotTableConfig:_0x38817c}=_0x3e8e72,_0x1fd23e=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x4aad92),_0x46d40c=this[_0x4cc222(0x2c0)][_0x4cc222(0x2db)](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x1fd23e||!_0x46d40c)return;_0x1fd23e[_0x4cc222(0x16e)](),ji(_0x1fd23e,_0x38817c);const _0x4301a7=_0x1fd23e['isEmpty'](),_0x57ef42=_0x1fd23e['query']()[_0x4cc222(0x265)](),_0x1d9027=_0x1fd23e[_0x4cc222(0x1ed)]();_0x72b6a[_0x4cc222(0x2c2)]={'view':_0x57ef42,'isEmpty':_0x4301a7,'pivotTableConfig':{..._0x46d40c,'fieldsConfig':_0x1fd23e[_0x4cc222(0x265)]()},'changesets':_0x1d9027};}break;case A[_0x4cc222(0x142)]:{const _0x84d616=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0x2ee)];if(!_0x84d616)return;const _0x43f3b0=this[_0x4cc222(0x2c0)][_0x4cc222(0xfa)](_0x4aad92),_0x235a71=this[_0x4cc222(0x2c0)]['getPivotTableConfig'](_0x4a1eac,_0x523648,_0x4aad92);if(!_0x43f3b0||!_0x235a71)return;_0x43f3b0[_0x4cc222(0x16e)](),Wi(_0x43f3b0,_0x84d616[_0x4cc222(0x183)]);const _0xa5162d=_0x43f3b0[_0x4cc222(0x247)]()[_0x4cc222(0x265)](),_0x3ec543=_0x43f3b0[_0x4cc222(0x1ed)]();_0x72b6a['resetPivotTable']={'view':_0xa5162d,'isEmpty':!0x0,'pivotTableConfig':{..._0x235a71,'fieldsConfig':_0x43f3b0[_0x4cc222(0x265)]()},'changesets':_0x3ec543};}break;case A[_0x4cc222(0xf5)]:{const _0x168999=_0x2f38de[_0x4cc222(0x2d1)][_0x4cc222(0x12b)];if(!_0x168999)return;const _0x430168=_0x168999[_0x4cc222(0xe1)],_0x4e4bfa=_0x168999[_0x4cc222(0x2b8)],{collection:_0x236d59}=this[_0x4cc222(0x2c0)]['createCollectionWithDataRange']({'unitId':_0x430168['unitId'],'sheetName':_0x430168['sheetName'],'subUnitId':_0x430168[_0x4cc222(0x143)],'range':_0x430168[_0x4cc222(0x21a)]}),_0x936b93=new _0x1c184b(_0x236d59,void 0x0,_0x4e4bfa),_0x25dd5e=_0x236d59[_0x4cc222(0x1da)](),{rows:_0x20f2ea,columns:_0x1c74f3,filters:_0x4d7dcb,values:_0x354126}=_0x168999[_0x4cc222(0x252)];_0x936b93[_0x4cc222(0x16e)]();for(const {field:_0x4eb5eb,selectedItems:_0x3d39cf}of _0x20f2ea||[]){const _0x9408af=_0x25dd5e[_0x4eb5eb];if(_0x9408af){const _0x21f8b5=_0x936b93[_0x4cc222(0x177)](_0x9408af,_0xc3cf43[_0x4cc222(0x226)]);_0x3d39cf&&_0x21f8b5&&_0x936b93[_0x4cc222(0x282)](_0x21f8b5[_0x4cc222(0xe0)](),{'type':_0x5d5635[_0x4cc222(0x167)],'list':_0x3d39cf,'isAll':!0x1});}}for(const {field:_0x236b53,selectedItems:_0x481e68}of _0x1c74f3||[]){const _0x4c7940=_0x25dd5e[_0x236b53];if(_0x4c7940){const _0x21da8f=_0x936b93[_0x4cc222(0x177)](_0x4c7940,_0xc3cf43['Column']);_0x481e68&&_0x21da8f&&_0x936b93[_0x4cc222(0x282)](_0x21da8f[_0x4cc222(0xe0)](),{'type':_0x5d5635[_0x4cc222(0x167)],'list':_0x481e68,'isAll':!0x1});}}for(const {field:_0x1c0eed,selectedItems:_0xe2d6b7}of _0x4d7dcb||[]){const _0x53daeb=_0x25dd5e[_0x1c0eed];if(_0x53daeb){const _0xd343eb=_0x936b93['addFieldWithSourceId'](_0x53daeb,_0xc3cf43[_0x4cc222(0x22f)]);_0xe2d6b7&&_0xd343eb&&_0x936b93[_0x4cc222(0x282)](_0xd343eb['getId'](),{'type':_0x5d5635[_0x4cc222(0x167)],'list':_0xe2d6b7,'isAll':!0x1});}}for(const {field:_0x2a54e9,subTotalType:_0x3226fa,formatString:_0x337e86}of _0x354126||[]){const _0x473359=_0x236d59['getFieldById'](_0x25dd5e[_0x2a54e9]);if(!_0x473359)continue;const _0x5b85a4=_0x25dd5e[_0x2a54e9];if(_0x5b85a4){const _0x30c81b=_0x936b93[_0x4cc222(0x177)](_0x5b85a4,_0xc3cf43[_0x4cc222(0x14c)]);if(_0x30c81b){if(_0x3226fa!==void 0x0){_0x936b93[_0x4cc222(0x345)](_0x30c81b[_0x4cc222(0xe0)](),_0x3226fa);const _0x14c6ac=this[_0x4cc222(0x2c0)][_0x4cc222(0x1f6)](_0x430168[_0x4cc222(0x2ec)])[_0x4cc222(0x1e5)]()||_0x3c203b,_0x442d9a=_0x236d59['getDisplayName'](_0x5b85a4),_0x33fa14=_0x14c6ac(_0x442d9a,_0x3226fa);_0x936b93[_0x4cc222(0x29f)](_0x30c81b[_0x4cc222(0xe0)](),_0x33fa14);}else{if(_0x473359){const _0x5b129b=_0x473359==null?void 0x0:_0x473359[_0x4cc222(0x2f3)]();_0x936b93[_0x4cc222(0x345)](_0x30c81b[_0x4cc222(0xe0)](),_0x5b129b===_0x157dcf['number']?_0x5f16c0[_0x4cc222(0x158)]:_0x5f16c0[_0x4cc222(0x1b2)]);}}_0x337e86&&_0x936b93[_0x4cc222(0x168)](_0x30c81b[_0x4cc222(0xe0)](),_0x337e86);}}}const _0x2fb240=_0x936b93[_0x4cc222(0x247)](),_0x3fec6d=_0x936b93[_0x4cc222(0x265)](),_0x4ff1d5=_0x936b93[_0x4cc222(0x1cb)](),_0x52ebe8=_0x936b93[_0x4cc222(0x1ed)](),_0x1557bf=_0x236d59[_0x4cc222(0x265)]();_0x72b6a[_0x4cc222(0x12b)]={'view':_0x2fb240,'fieldsConfig':_0x3fec6d,'collectionConfig':_0x1557bf,'isEmpty':_0x4ff1d5,'changesets':_0x52ebe8};}break;case A[_0x4cc222(0x2ff)]:{const _0x646716=Bi(this[_0x4cc222(0x2f4)],_0x2f38de);if(!_0x646716)return;const {range:_0xd2277,sourceSubUnitId:_0x26eb37,sourceUnitId:_0x147a99,formatMap:_0x5502a6,indexes:_0x335860}=_0x646716;_0x72b6a[_0x4cc222(0x306)]={'range':_0xd2277,'sourceSubUnitId':_0x26eb37,'sourceUnitId':_0x147a99,'formatMap':_0x5502a6,'indexes':_0x335860};}break;}this[_0x4cc222(0x2ae)][_0x4cc222(0x2b1)](lo['id'],{'version':_0x2f38de[_0x4cc222(0x1ac)],'result':_0x72b6a},{'onlyLocal':!0x0});}));}[_0x568d43(0x23f)](){const _0xde34fb=_0x568d43;this['disposeWithMe'](this[_0xde34fb(0x2ae)][_0xde34fb(0x310)](_0x4da78d=>{const _0x236527=_0xde34fb;if(_0x4da78d['id']!==uo['id'])return;const _0x656dc=_0x4da78d[_0x236527(0x2d1)];return this[_0x236527(0x2c0)][_0x236527(0x303)](_0x656dc[_0x236527(0x10f)]),!0x0;}));}['_subjectCollectionChange'](){const _0x2d423e=_0x568d43;this[_0x2d423e(0x2c0)][_0x2d423e(0x15a)][_0x2d423e(0x334)](_0x21a1b4=>{const _0x4673cb=_0x2d423e;switch(_0x21a1b4[_0x4673cb(0x23e)]){case ke[_0x4673cb(0x224)]:_0x21a1b4[_0x4673cb(0x27b)]&&_0x21a1b4[_0x4673cb(0x1a8)]&&this['handleSourceRangeChange'](_0x21a1b4['token'],_0x21a1b4[_0x4673cb(0x27b)],_0x21a1b4['targetCellInfo']);break;case ke[_0x4673cb(0x1a3)]:{const {unitId:_0xe9077d,subUnitId:_0x4d67d5,token:_0x4bf327}=_0x21a1b4;_0xe9077d&&_0x4d67d5&&_0x4bf327&&this[_0x4673cb(0x178)](_0xe9077d,_0x4d67d5,_0x4bf327);}break;case ke[_0x4673cb(0x2de)]:{const {token:_0x3fe055,oldSourceRangeInfo:_0x44e68a,dataRangeInfo:_0x287043,targetCellInfo:_0x1c6d78}=_0x21a1b4,{unitId:_0x2a6e8e,subUnitId:_0x104e73}=_0x44e68a||{};_0x2a6e8e&&_0x104e73&&_0x3fe055&&this[_0x4673cb(0x178)](_0x2a6e8e,_0x104e73,_0x3fe055),_0x287043&&_0x1c6d78&&this['handleSourceRangeChange'](_0x3fe055,_0x287043,_0x1c6d78);}break;}});}[_0x568d43(0x125)](){const _0x1baf1a=_0x568d43;this[_0x1baf1a(0x2c0)][_0x1baf1a(0x271)][_0x1baf1a(0x334)](_0x165208=>{const _0x4b061e=_0x1baf1a;Object['keys'](_0x165208)[_0x4b061e(0x2d3)](_0x107a4f=>{const _0x52dbbd=_0x4b061e,_0x322c1e=this[_0x52dbbd(0x2c0)][_0x52dbbd(0x1a2)](_0x107a4f);if(_0x322c1e){const _0x3ae1d5=this[_0x52dbbd(0x2c0)][_0x52dbbd(0x2db)](_0x322c1e==null?void 0x0:_0x322c1e[_0x52dbbd(0x2ec)],_0x322c1e==null?void 0x0:_0x322c1e['subUnitId'],_0x107a4f);_0x3ae1d5&&(this[_0x52dbbd(0x212)](_0x107a4f,_0x3ae1d5[_0x52dbbd(0xe1)],_0x3ae1d5[_0x52dbbd(0x1a8)]),this[_0x52dbbd(0x30e)]([{'unitId':_0x322c1e[_0x52dbbd(0x2ec)],'subUnitId':_0x322c1e[_0x52dbbd(0x143)],'token':_0x107a4f}]));}});});}[_0x568d43(0x30d)](){const _0x884c0a=_0x568d43;this[_0x884c0a(0x2c0)]['viewData$'][_0x884c0a(0x334)](_0x460893=>{const _0x39c12c=_0x884c0a,{unitId:_0x15343b,subUnitId:_0x2f0cfa,pivotTableId:_0x57515a}=_0x460893;_0x15343b&&_0x2f0cfa&&_0x57515a&&this[_0x39c12c(0x30e)]([{'unitId':_0x15343b,'subUnitId':_0x2f0cfa,'token':_0x57515a}]);});}[_0x568d43(0x30e)](_0x346051){const _0x27a482=_0x568d43,_0x4f7752={};_0x346051['forEach'](_0x11cd4c=>{var _0x5797a4,_0x3cbb74;const {unitId:_0x4f9216,subUnitId:_0x3db355,token:_0x106895}=_0x11cd4c;_0x4f7752[_0x4f9216]=(_0x5797a4=_0x4f7752[_0x4f9216])!=null?_0x5797a4:{},_0x4f7752[_0x4f9216][_0x3db355]=(_0x3cbb74=_0x4f7752[_0x4f9216][_0x3db355])!=null?_0x3cbb74:{},_0x4f7752[_0x4f9216][_0x3db355][_0x106895]=!0x0;}),this['_commandService'][_0x27a482(0x2b1)](Ut['id'],_0x4f7752);}[_0x568d43(0x178)](_0x2819dc,_0x58536c,_0x4e0fe2){const _0x169aee=_0x568d43;this[_0x169aee(0x20c)]['remove'](_0x2819dc,_0x58536c,[_0x4e0fe2]);}[_0x568d43(0x212)](_0x26a8b1,_0xe3d04e,_0x5ce3f0){const _0x297e01=_0x568d43,{unitId:_0x5d99eb,subUnitId:_0xa8a216}=_0xe3d04e;this[_0x297e01(0x20c)][_0x297e01(0x130)](_0x5ce3f0[_0x297e01(0x2ec)],_0x5ce3f0['subUnitId'],_0x26a8b1)&&this[_0x297e01(0x178)](_0x5d99eb,_0xa8a216,_0x26a8b1);const _0x42f001={'sheetId':_0xa8a216,..._0xe3d04e};this[_0x297e01(0x20c)][_0x297e01(0x1c8)](_0x5ce3f0[_0x297e01(0x2ec)],_0x5ce3f0['subUnitId'],_0x26a8b1,{'unitId':_0x5ce3f0[_0x297e01(0x2ec)],'subUnitId':_0x5ce3f0[_0x297e01(0x143)],'dependencyRanges':[_0x42f001],'getDirtyData':(_0x40c30b,_0x386fe)=>{const _0x2adf3d=_0x297e01,_0x25d1d1=this[_0x2adf3d(0x2c0)],_0x295e22=_0x25d1d1[_0x2adf3d(0x1a2)](_0x26a8b1);if(!_0x295e22)return Es();const {unitId:_0x4627fb,subUnitId:_0x26aca5}=_0x295e22,_0x23292f=xs(_0x40c30b,_0x386fe,_0xe3d04e);if(_0x23292f[_0x2adf3d(0x28f)]>0x0){const _0x29c0d3=_0x25d1d1['getCollection'](_0x5d99eb,_0x26a8b1),_0x418174=_0x29c0d3[_0x2adf3d(0x1da)](),_0x24b846=this[_0x2adf3d(0x34b)](_0xe3d04e[_0x2adf3d(0x2ec)],_0xe3d04e[_0x2adf3d(0x143)],_0x386fe),_0x17ec0d={},_0x8262f3=this[_0x2adf3d(0x2c0)]['getDataFieldManager'](_0x4627fb)[_0x2adf3d(0x1e5)]()||_0x3c203b,_0x2cc429=[];for(const _0x419ef5 of _0x23292f){const _0x2d8e7d=_0x419ef5-(_0xe3d04e[_0x2adf3d(0x21a)]['startColumn']||0x0),_0x1ad244=_0x418174[_0x2d8e7d];_0x2cc429[_0x2adf3d(0x179)](_0x1ad244),_0x17ec0d[_0x1ad244]=_0x29c0d3[_0x2adf3d(0x140)](_0x1ad244)[_0x2adf3d(0x235)](),_0x25d1d1['getDataFieldManager'](_0x5d99eb)[_0x2adf3d(0x27d)](_0x1ad244,_0xe3d04e,_0x2d8e7d,_0x24b846);}_0x29c0d3[_0x2adf3d(0x1f2)](_0x2cc429)['forEach'](_0x25e57d=>{const _0x15ad5f=_0x2adf3d,[_0x3e50e7,_0xa013d2]=_0x25e57d,_0x4dbee0=_0x29c0d3['getFieldById'](_0x3e50e7),_0x5abf3f=_0x29c0d3[_0x15ad5f(0x140)](_0xa013d2);_0x4dbee0&&_0x5abf3f&&_0x4dbee0[_0x15ad5f(0x219)](_0x5abf3f);}),_0x29c0d3[_0x2adf3d(0x29a)]();const _0x529c10=_0x25d1d1[_0x2adf3d(0xfa)](_0x26a8b1);if(_0x529c10){Vs(_0x529c10,_0x17ec0d,_0x8262f3),_0x529c10[_0x2adf3d(0x114)](!0x0);const _0x3a9133=_0x529c10[_0x2adf3d(0x247)](),_0x340e13=_0x25d1d1[_0x2adf3d(0x2db)](_0x4627fb,_0x26aca5,_0x26a8b1),_0x32cd4=_0x25d1d1[_0x2adf3d(0x1f6)](_0x5d99eb)[_0x2adf3d(0x265)]();_0x25d1d1[_0x2adf3d(0x19d)](_0x4627fb,_0x26aca5,L[_0x2adf3d(0x124)],_0x26a8b1,_0x3a9133,_0x340e13,_0x32cd4,!0x0);}}return this[_0x2adf3d(0x356)](_0x4627fb,_0x26aca5,_0x26a8b1);}});}[_0x568d43(0x34b)](_0x2821a7,_0x73a8ef,_0x522389){var _0x3d7fc0,_0x48a6a6;const {arrayFormulaCellData:_0x14268f,unitData:_0x176559}=_0x522389,_0x1632bc=(_0x3d7fc0=_0x14268f==null?void 0x0:_0x14268f[_0x2821a7])==null?void 0x0:_0x3d7fc0[_0x73a8ef],_0x51a4f8=(_0x48a6a6=_0x176559==null?void 0x0:_0x176559[_0x2821a7])==null?void 0x0:_0x48a6a6[_0x73a8ef];return{'arrayFormulaCellDataMatrix':_0x1632bc,'unitDataMatrix':_0x51a4f8};}[_0x568d43(0x356)](_0x39a1e3,_0x1a1552,_0x42c5bb){const _0x177474=_0x568d43,_0x5263f5=this['_sheetsPivotDataSourceModel'][_0x177474(0x115)](_0x39a1e3,_0x1a1552,_0x42c5bb),_0x33b43d=[],_0x54527d=new _0x57c969();if(_0x5263f5){const {rangeCache:_0xd1ecd4,matrix:_0x5f3997,oldRangeCache:_0x463743,oldMatrix:_0x58a658}=_0x5263f5,_0x3e7984=Lt(_0x463743),_0x3a4b0e=Lt(_0xd1ecd4);_0x33b43d[_0x177474(0x179)](..._0x3a4b0e,..._0x3e7984),_0x58a658&&_0x463743&&_0x3e7984[_0x177474(0x2d3)](_0x40973e=>{const _0xbd194a=_0x177474;for(let _0x397178=_0x40973e[_0xbd194a(0x13e)];_0x397178<=_0x40973e['endRow'];_0x397178++)for(let _0x5e9d4d=_0x40973e[_0xbd194a(0x13f)];_0x5e9d4d<=_0x40973e['endColumn'];_0x5e9d4d++)_0x54527d[_0xbd194a(0x198)](_0x397178,_0x5e9d4d);}),_0x5f3997&&_0x3a4b0e&&_0x3a4b0e[_0x177474(0x2d3)](_0x6b031e=>{const _0x1ca53d=_0x177474;for(let _0x25a4a4=_0x6b031e[_0x1ca53d(0x13e)];_0x25a4a4<=_0x6b031e['endRow'];_0x25a4a4++)for(let _0x3f8e1d=_0x6b031e[_0x1ca53d(0x13f)];_0x3f8e1d<=_0x6b031e[_0x1ca53d(0x351)];_0x3f8e1d++)_0x54527d[_0x1ca53d(0x160)](_0x25a4a4,_0x3f8e1d,_0x5f3997[_0x1ca53d(0x225)](_0x25a4a4,_0x3f8e1d));});}const _0x428569={};return _0x428569[_0x39a1e3]={[_0x1a1552]:Os(_0x33b43d)},{'runtimeCellData':{[_0x39a1e3]:{[_0x1a1552]:_0x54527d}},'dirtyRanges':_0x428569};}[_0x568d43(0x272)](){}};ct=Us([Ke(0x0,_0x2a08b7($)),Ke(0x1,_0x30f8ed),Ke(0x2,_0x2a08b7(_0xa9f74a)),Ke(0x3,_0x2a08b7(_0x428737)),Ke(0x4,_0x2a08b7(_0xfe597)),Ke(0x5,_0x2a08b7(_0x4ff8ac))],ct);var Bs=Object['getOwnPropertyDescriptor'],As=(_0x7c3f23,_0x299a0a,_0x2e8ed1,_0x467c76)=>{for(var _0x5025aa=_0x467c76>0x1?void 0x0:_0x467c76?Bs(_0x299a0a,_0x2e8ed1):_0x299a0a,_0x152b92=_0x7c3f23['length']-0x1,_0xd88d4f;_0x152b92>=0x0;_0x152b92--)(_0xd88d4f=_0x7c3f23[_0x152b92])&&(_0x5025aa=_0xd88d4f(_0x5025aa)||_0x5025aa);return _0x5025aa;},_t=(_0x24da62,_0x267cf0)=>(_0x5cd52d,_0x340b71)=>_0x267cf0(_0x5cd52d,_0x340b71,_0x24da62);let dt=class extends _0x564bbd{constructor(_0xf621f9,_0x2b6753,_0x316d5b,_0x21d49b){const _0x1471ee=_0x568d43;super(),E(this,_0x1471ee(0x286),new _0x3ce79c()),(this[_0x1471ee(0x278)]=_0xf621f9,this[_0x1471ee(0x2e8)]=_0x2b6753,this[_0x1471ee(0x218)]=_0x316d5b,this['_sheetsPivotTableConfigModel']=_0x21d49b,this['_initClearSelectionCommandInterceptor']());}[_0x568d43(0x1cc)](){const _0x3636db=_0x568d43;this[_0x3636db(0x1c6)](this[_0x3636db(0x2e8)][_0x3636db(0x104)]({'getMutations':_0xe6ddb4=>{const _0x39dd76=_0x3636db;if(_0xe6ddb4['id']===_0x90323e['id']||_0xe6ddb4['id']===_0x4ca811['id']){const _0x46b310=[],_0x2bb7f7=[],_0x24bdfb=this[_0x39dd76(0x218)][_0x39dd76(0x11b)]()[_0x39dd76(0x2b2)](_0x545588=>_0x545588['range']),_0x2ba595=_0x3cd89f(this[_0x39dd76(0x278)]);if(!_0x2ba595)return{'redos':[],'undos':[]};const {unitId:_0x1e100c,subUnitId:_0x35ba7a}=_0x2ba595,_0x122efc={},_0x38399d=this[_0x39dd76(0xf2)][_0x39dd76(0x243)](_0x1e100c,_0x35ba7a);if(_0x38399d!=null&&_0x38399d['size'])for(const [_0x3568fd,_0x26812f]of _0x38399d){const {unitId:_0x411a1c,subUnitId:_0x1855b7,row:_0x9c18e5,col:_0x7b372e}=_0x26812f[_0x39dd76(0x1a8)];_0x411a1c===_0x2ba595[_0x39dd76(0x2ec)]&&_0x1855b7===_0x2ba595[_0x39dd76(0x143)]&&(_0x122efc[_0x9c18e5+'-'+_0x7b372e]=_0x3568fd);}return _0x24bdfb&&_0x2ba595&&_0x24bdfb[_0x39dd76(0x2d3)](_0x5c4023=>{const _0x43c0bf=_0x39dd76;_0x3fdf90[_0x43c0bf(0x313)](_0x5c4023,(_0x249b11,_0x4da7a5)=>{const _0x4fc354=_0x43c0bf,_0x4a8244=_0x249b11+'-'+_0x4da7a5;if(_0x122efc[_0x4a8244]){const _0xeb07ba=_0x122efc[_0x4a8244];_0x46b310['push']({'id':xt['id'],'params':{'unitId':_0x1e100c,'subUnitId':_0x35ba7a,'pivotTableId':_0xeb07ba}});const _0x111160=this['_sheetsPivotTableConfigModel'][_0x4fc354(0xe9)](_0x1e100c,_0xeb07ba),_0x15d651=this[_0x4fc354(0xf2)]['getPivotTableConfig'](_0x1e100c,_0x35ba7a,_0xeb07ba);_0x2bb7f7[_0x4fc354(0x179)]({'id':Ct['id'],'params':{'unitId':_0x1e100c,'subUnitId':_0x35ba7a,'pivotTableId':_0xeb07ba,'pivotTableConfig':_0x15d651,'collectionConfig':_0x111160}});}});}),{'redos':_0x46b310,'undos':_0x2bb7f7};}return{'redos':[],'undos':[]};}}));}};dt=As([_t(0x0,_0x2bb584),_t(0x1,_0x2a08b7(_0x4d778b)),_t(0x2,_0x2a08b7(_0x4a9902)),_t(0x3,_0x2a08b7(he))],dt);var Js=Object[_0x568d43(0x13a)],ks=(_0x27f4d6,_0x45451a,_0x2b14d8,_0x438346)=>{for(var _0x51173f=_0x438346>0x1?void 0x0:_0x438346?Js(_0x45451a,_0x2b14d8):_0x45451a,_0x542b9f=_0x27f4d6['length']-0x1,_0x164dc0;_0x542b9f>=0x0;_0x542b9f--)(_0x164dc0=_0x27f4d6[_0x542b9f])&&(_0x51173f=_0x164dc0(_0x51173f)||_0x51173f);return _0x51173f;},qe=(_0x12bbc3,_0x2d379d)=>(_0x22f0a6,_0x2f2bd2)=>_0x2d379d(_0x22f0a6,_0x2f2bd2,_0x12bbc3);let ut=class extends _0x564bbd{constructor(_0x9417a6,_0x5858df,_0x24b0ee,_0x35bc9a,_0x26d2ee,_0x50535a){const _0x21b476=_0x568d43;super(),this['_localeService']=_0x9417a6,this['_sheetInterceptorService']=_0x5858df,this[_0x21b476(0x2f4)]=_0x24b0ee,this['_univerInstanceService']=_0x35bc9a,this['_sheetsPivotTableConfigModel']=_0x26d2ee,this[_0x21b476(0x2bc)]=_0x50535a,this[_0x21b476(0x273)]();}[_0x568d43(0x22d)](_0x29969c,_0x5d4a92,_0x3c87b2){const _0x57bc35=_0x568d43,{pageView:_0x5cbec8,cornerView:_0x574d17,rowView:_0x3aad0b,colView:_0x3b2ac8,dataView:_0x245b19}=_0x5d4a92,_0x426c75=_0x29969c;let _0x5033cf;if(_0x3c87b2)_0x5033cf=[...Ai(_0x426c75)];else{const _0x23f8a8=ge(_0x426c75,_0x5cbec8,!0x0),_0x43a6fa=_0x5cbec8['lastRow']>=0x0?_0x5cbec8[_0x57bc35(0x12d)]+0x1:0x0,_0x263459=_0x574d17[_0x57bc35(0x328)],_0x38f36b=_0x574d17['colCount'],_0xdf2535=_0x23f8a8[_0x57bc35(0x28f)]>0x0?It:0x0,_0x4e7a02=ge({'row':_0x426c75[_0x57bc35(0xdb)]+_0x43a6fa+_0xdf2535,'col':_0x426c75[_0x57bc35(0x26f)]},_0x574d17,!0x1,!0x1),_0x1c28a6=ge({'row':_0x426c75['row']+_0x43a6fa+_0xdf2535+_0x263459,'col':_0x426c75['col']},_0x3aad0b,!0x1,!0x0),_0x31dcf9=ge({'row':_0x426c75[_0x57bc35(0xdb)]+_0x43a6fa+_0xdf2535,'col':_0x426c75[_0x57bc35(0x26f)]+_0x38f36b},_0x3b2ac8,!0x1,!0x0),_0x22faf5=ge({'row':_0x426c75['row']+_0x43a6fa+_0xdf2535+_0x263459,'col':_0x426c75[_0x57bc35(0x26f)]+_0x38f36b},_0x245b19,!0x1,!0x0);_0x5033cf=[..._0x23f8a8,..._0x4e7a02,..._0x1c28a6,..._0x31dcf9,..._0x22faf5];}return _0x5033cf;}[_0x568d43(0x273)](){const _0x2a8287=_0x568d43;this['disposeWithMe'](this[_0x2a8287(0x2bc)][_0x2a8287(0x1d3)][_0x2a8287(0x268)](this[_0x2a8287(0x2bc)][_0x2a8287(0x1d3)][_0x2a8287(0x355)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x135d13,_0x521b90)=>{const _0x24c142=_0x2a8287,{cellInfo:_0x32b61b,view:_0x4ed78e,isEmpty:_0x4b0258}=_0x521b90,_0x3009fc=_0x32b61b,{unitId:_0x3d2daf,subUnitId:_0x39a233}=_0x3009fc,_0x569067=this[_0x24c142(0x22d)](_0x32b61b,_0x4ed78e,_0x4b0258),_0x3e0c05=this['_sheetInterceptorService'][_0x24c142(0x2fc)]({'unitId':_0x3d2daf,'subUnitId':_0x39a233,'ranges':_0x569067}),_0x2d5f30=Ko(this[_0x24c142(0x2f4)],_0x3d2daf,_0x39a233,_0x569067);_0x2d5f30[_0x24c142(0xdf)]&&(_0x3e0c05[_0x24c142(0x17a)][_0x24c142(0x179)](_0x2d5f30[_0x24c142(0x16b)]),_0x3e0c05[_0x24c142(0x317)][_0x24c142(0x179)](_0x2d5f30[_0x24c142(0x346)]));const _0x27c911=this['getAutoFitColumnsMutations'](_0x4ed78e,_0x32b61b);return _0x3e0c05[_0x24c142(0x17a)][_0x24c142(0x179)](..._0x27c911[_0x24c142(0x17a)]),_0x3e0c05['undos'][_0x24c142(0x179)](..._0x27c911[_0x24c142(0x317)]),{'redos':_0x3e0c05[_0x24c142(0x17a)],'undos':_0x3e0c05[_0x24c142(0x317)]};}}));}['getAutoFitColumnsMutations'](_0x137531,_0xa547dd){const _0x118be5=_0x568d43,{col:_0x14450f,unitId:_0x21cd1d,subUnitId:_0x403cf4}=_0xa547dd,_0x50ebd7=[],_0x5b31a9=[],_0x2ca356=_0x3cd89f(this['_univerInstanceService'],{'unitId':_0x21cd1d,'subUnitId':_0x403cf4});if(!_0xa547dd||!_0x137531||!_0x2ca356)return{'undos':_0x5b31a9,'redos':_0x50ebd7};const _0x1023f3=this['_sheetsPivotTableConfigModel'][_0x118be5(0x2f9)](),{colView:_0xb79570,dataView:_0x1f70b8,cornerView:_0x2cdbc4,rowView:_0x3f3fa8,formatMap:_0x1eec19}=_0x137531,_0x58310b=Po(_0xb79570,_0x1023f3,!0x0,_0x1eec19),_0x5bfc01=Po(_0x3f3fa8,_0x1023f3,!0x1,_0x1eec19),_0x25d796=Li(_0x1f70b8),_0x41a637=$i(_0x2cdbc4),{worksheet:_0x5c4799}=_0x2ca356;if(typeof window<'u'&&window['document']){const _0x2673ba=_0x4bb620({...fe['colStyle']}),_0x31de3e=_0x549a53['getTextSize'](_0x58310b,_0x2673ba)[_0x118be5(0x15c)]+0x10,_0x50243b=_0x549a53['getTextSize'](_0x25d796,_0x2673ba)[_0x118be5(0x15c)],_0x44b0cf=Math[_0x118be5(0x28d)](Math[_0x118be5(0x13b)](_0x31de3e,_0x50243b))+0x10,_0x41cc95=Math[_0x118be5(0x28d)](_0x549a53[_0x118be5(0x2d0)](_0x5bfc01,_0x2673ba)[_0x118be5(0x15c)]),_0x555e8e=Math[_0x118be5(0x28d)](_0x549a53[_0x118be5(0x2d0)](_0x41a637,_0x2673ba)[_0x118be5(0x15c)]),_0x3434d1=Math[_0x118be5(0x13b)](_0x41cc95,_0x555e8e,0x28)+0xc,_0x4ac3ad=_0xb79570['colCount']+_0x2cdbc4[_0x118be5(0xd7)],_0x52e92c={},_0x47fc47={};for(let _0x4844f7=_0x14450f;_0x4844f7<_0x14450f+_0x4ac3ad;_0x4844f7++){const _0x45a0a7=_0x5c4799[_0x118be5(0x110)](_0x4844f7);_0x52e92c[_0x4844f7]=_0x45a0a7,_0x4844f7-_0x14450f<_0x2cdbc4['colCount']?_0x47fc47[_0x4844f7-_0x14450f]=_0x3434d1:_0x47fc47[_0x4844f7-_0x14450f]=_0x44b0cf;}_0x50ebd7['push']({'id':_0x3a76e4['id'],'params':{'subUnitId':_0x403cf4,'unitId':_0x21cd1d,'ranges':[{'startColumn':_0x14450f,'endColumn':_0x14450f+_0x4ac3ad-0x1,'startRow':0x0,'endRow':_0x5c4799[_0x118be5(0x298)]()-0x1}],'colWidth':_0x47fc47}}),_0x5b31a9[_0x118be5(0x179)]({'id':_0x3a76e4['id'],'params':{'subUnitId':_0x403cf4,'unitId':_0x21cd1d,'ranges':[{'startColumn':_0x14450f,'endColumn':_0x14450f+_0x4ac3ad-0x1,'startRow':0x0,'endRow':_0x5c4799[_0x118be5(0x298)]()-0x1}],'colWidth':_0x52e92c}});}return{'undos':_0x5b31a9,'redos':_0x50ebd7};}};ut=ks([qe(0x0,_0x2a08b7(_0x19c820)),qe(0x1,_0x2a08b7(_0x4d778b)),qe(0x2,_0x2a08b7(_0x4ff8ac)),qe(0x3,_0x2a08b7(_0x2bb584)),qe(0x4,_0x2a08b7(he)),qe(0x5,_0x2a08b7(ie))],ut);var Ls=Object['getOwnPropertyDescriptor'],$s=(_0x288b8d,_0x482db0,_0x53c4cb,_0x5c71da)=>{const _0x36a91d=_0x568d43;for(var _0x23d87e=_0x5c71da>0x1?void 0x0:_0x5c71da?Ls(_0x482db0,_0x53c4cb):_0x482db0,_0x25c1b7=_0x288b8d[_0x36a91d(0x28f)]-0x1,_0xe8e7e6;_0x25c1b7>=0x0;_0x25c1b7--)(_0xe8e7e6=_0x288b8d[_0x25c1b7])&&(_0x23d87e=_0xe8e7e6(_0x23d87e)||_0x23d87e);return _0x23d87e;},Ae=(_0x59a0f2,_0xcc822d)=>(_0x397c68,_0x4ebffa)=>_0xcc822d(_0x397c68,_0x4ebffa,_0x59a0f2);let ft=class extends _0x564bbd{constructor(_0x3a77e9,_0x38fed6,_0x2d54e8,_0x2826d7,_0x577bf0,_0x3612a0,_0x15d47f){const _0x20966a=_0x568d43;super(),E(this,_0x20966a(0x286),new _0x3ce79c()),(this[_0x20966a(0x2f4)]=_0x3a77e9,this[_0x20966a(0x314)]=_0x38fed6,this[_0x20966a(0x2ae)]=_0x2d54e8,this[_0x20966a(0x278)]=_0x2826d7,this[_0x20966a(0xf2)]=_0x577bf0,this[_0x20966a(0x287)]=_0x3612a0,this[_0x20966a(0x2e8)]=_0x15d47f,this[_0x20966a(0x276)]());}[_0x568d43(0x276)](){const _0x726d7f=_0x568d43,_0x1fe1b3=(_0x32bf19,_0x1354d9)=>{const _0xc50241=_0x2038,_0x38f571=this[_0xc50241(0x278)][_0xc50241(0x21b)](_0x278b7f[_0xc50241(0x14f)]);if(!_0x38f571||!(_0x38f571==null?void 0x0:_0x38f571[_0xc50241(0x189)](_0x1354d9)))return;this[_0xc50241(0x286)][_0xc50241(0x272)]();const _0x2860ad=_0x5c1903=>this['_refRangeHandle'](_0x5c1903,_0x32bf19,_0x1354d9),_0x5b79ae=this[_0xc50241(0xf2)][_0xc50241(0x243)](_0x32bf19,_0x1354d9);if(!(_0x5b79ae!=null&&_0x5b79ae['size']))return;Array[_0xc50241(0x2cd)](_0x5b79ae['values']())[_0xc50241(0x2b2)](_0x141a14=>{const _0x4ab54d=_0xc50241,{row:_0x59dec7,col:_0x49d60b}=_0x141a14[_0x4ab54d(0x1a8)];return _0x41bcd3(_0x59dec7,_0x49d60b);})[_0xc50241(0x2d3)](_0x1bf3ac=>{const _0x4323bb=_0xc50241;this[_0x4323bb(0x286)][_0x4323bb(0x224)](this['_refRangeService'][_0x4323bb(0x339)](_0x1bf3ac,_0x2860ad,_0x32bf19,_0x1354d9));});},_0x46047b=()=>{const _0x34c36e=_0x2038,_0x379e15=this[_0x34c36e(0x278)]['getCurrentUnitForType'](_0x278b7f[_0x34c36e(0x14f)]);if(_0x379e15){const _0x5ee08b=_0x379e15[_0x34c36e(0x238)]();if(!_0x5ee08b)return;_0x1fe1b3(_0x379e15[_0x34c36e(0x1c4)](),_0x5ee08b['getSheetId']());}};this['disposeWithMe'](this['_commandService'][_0x726d7f(0x310)](_0x3e8dd6=>{const _0x561310=_0x726d7f;if(_0x3e8dd6['id']===_0x2843a2['id']){const _0x52e9ba=_0x3e8dd6[_0x561310(0x2d1)],_0x34e396=_0x52e9ba[_0x561310(0x143)],_0x475ccd=_0x52e9ba[_0x561310(0x2ec)];if(!_0x34e396||!_0x475ccd)return;_0x1fe1b3(_0x475ccd,_0x34e396);}})),this[_0x726d7f(0x1c6)](this[_0x726d7f(0xf2)][_0x726d7f(0x137)][_0x726d7f(0x334)](_0x122ad9=>{_0x122ad9&&_0x46047b();})),this[_0x726d7f(0x1c6)](this[_0x726d7f(0xf2)][_0x726d7f(0x227)][_0x726d7f(0x334)](_0x22a236=>{const _0x36627b=_0x3cd89f(this['_univerInstanceService']);if(!_0x36627b)return;const {unitId:_0xc9b54b,subUnitId:_0x5c0b74}=_0x36627b,{unitId:_0x8f3e8e,subUnitId:_0x3869f9}=_0x22a236;_0xc9b54b!==_0x8f3e8e||_0x5c0b74!==_0x3869f9||_0x1fe1b3(_0xc9b54b,_0x5c0b74);})),_0x46047b();}[_0x568d43(0x294)](_0x23f55b,_0x2246d2,_0x43799e){const _0x23934f=_0x568d43;switch(_0x23f55b['id']){case _0x2ac5a1['id']:return this[_0x23934f(0x144)](_0x23f55b[_0x23934f(0x2d1)],_0x2246d2,_0x43799e);}return{'redos':[],'undos':[]};}[_0x568d43(0x144)](_0x2105f2,_0x52e59e,_0x624adf){const _0x5e9fa2=_0x568d43,{fromRange:_0x2defb4,toRange:_0x5065f0}=_0x2105f2,_0x5e4843=[],_0x85309f=[],_0x1b074e=_0x3cd89f(this[_0x5e9fa2(0x278)]);if(!_0x1b074e)return{'undos':_0x85309f,'redos':_0x5e4843};if(_0x52e59e!==_0x1b074e[_0x5e9fa2(0x2ec)]||_0x624adf!==_0x1b074e[_0x5e9fa2(0x143)])return{'undos':_0x85309f,'redos':_0x5e4843};const _0x57ea2a=this[_0x5e9fa2(0xf2)][_0x5e9fa2(0x243)](_0x52e59e,_0x624adf);if(_0x57ea2a!=null&&_0x57ea2a[_0x5e9fa2(0x127)])for(const [_0x1e0108,_0x24ac88]of _0x57ea2a){const {unitId:_0x57839f,subUnitId:_0x15614b,row:_0x32bfa8,col:_0x5056e0}=_0x24ac88[_0x5e9fa2(0x1a8)];if(_0x57839f===_0x1b074e[_0x5e9fa2(0x2ec)]&&_0x15614b===_0x1b074e[_0x5e9fa2(0x143)]){const _0x1ce334=_0x41bcd3(_0x32bfa8,_0x5056e0);if(_0x213a48[_0x5e9fa2(0xd2)](_0x1ce334,_0x2defb4)){const _0x2a530a=_0x32bfa8-_0x2defb4[_0x5e9fa2(0x13e)],_0x44ac29=_0x5056e0-_0x2defb4[_0x5e9fa2(0x13f)],_0x3724bb={'row':_0x5065f0['startRow']+_0x2a530a,'col':_0x5065f0[_0x5e9fa2(0x13f)]+_0x44ac29};_0x5e4843[_0x5e9fa2(0x179)]({'id':pt['id'],'params':{'unitId':_0x57839f,'subUnitId':_0x15614b,'pivotTableId':_0x1e0108,'targetCellPosition':_0x3724bb}}),_0x85309f['push']({'id':pt['id'],'params':{'unitId':_0x57839f,'subUnitId':_0x15614b,'pivotTableId':_0x1e0108,'targetCellPosition':{'row':_0x32bfa8,'col':_0x5056e0}}});const _0x2e6dcd=_0x3724bb[_0x5e9fa2(0xdb)]-_0x32bfa8,_0x54e388=_0x3724bb['col']-_0x5056e0,_0x1f9931=[],_0xe72392=this[_0x5e9fa2(0x287)][_0x5e9fa2(0x135)](_0x57839f,_0x15614b,_0x1e0108),_0x500bd7=_0xe72392==null?void 0x0:_0xe72392['rangesInfo'];if(_0x500bd7){Object[_0x5e9fa2(0x33e)](_0x500bd7)[_0x5e9fa2(0x2d3)](_0x1c341f=>{_0x500bd7[_0x1c341f]['forEach'](_0x1972a2=>{const _0x17a8da=_0x2038,_0x18b666={..._0x1972a2};_0x18b666['startRow']=_0x1972a2[_0x17a8da(0x13e)]+_0x2e6dcd,_0x18b666[_0x17a8da(0xec)]=_0x1972a2[_0x17a8da(0xec)]+_0x2e6dcd,_0x18b666[_0x17a8da(0x13f)]=_0x1972a2[_0x17a8da(0x13f)]+_0x54e388,_0x18b666[_0x17a8da(0x351)]=_0x1972a2[_0x17a8da(0x351)]+_0x54e388,_0x1f9931[_0x17a8da(0x179)](_0x18b666);});});const _0x299bd0=this[_0x5e9fa2(0x2e8)][_0x5e9fa2(0x2fc)]({'unitId':_0x57839f,'subUnitId':_0x15614b,'ranges':_0x1f9931});_0x5e4843[_0x5e9fa2(0x179)](..._0x299bd0[_0x5e9fa2(0x17a)]),_0x85309f[_0x5e9fa2(0x179)](..._0x299bd0['undos']);const _0x19f6c2=Ko(this[_0x5e9fa2(0x2f4)],_0x57839f,_0x15614b,_0x1f9931);_0x19f6c2[_0x5e9fa2(0xdf)]&&(_0x5e4843['push'](_0x19f6c2[_0x5e9fa2(0x16b)]),_0x85309f['push'](_0x19f6c2['setRangeValueUndoMutation']));}}}}return{'redos':_0x5e4843,'undos':_0x85309f};}};ft=$s([Ae(0x0,_0x2a08b7(_0x4ff8ac)),Ae(0x1,_0x2a08b7(_0x1b8993)),Ae(0x2,_0x428737),Ae(0x3,_0x2bb584),Ae(0x4,_0x2a08b7(he)),Ae(0x5,_0x2a08b7(Ne)),Ae(0x6,_0x2a08b7(_0x4d778b))],ft);var js=Object[_0x568d43(0x13a)],Ws=(_0x284424,_0x1e4af0,_0x4855f8,_0x101376)=>{const _0x2ad8fb=_0x568d43;for(var _0x1b64cb=_0x101376>0x1?void 0x0:_0x101376?js(_0x1e4af0,_0x4855f8):_0x1e4af0,_0x5c483f=_0x284424[_0x2ad8fb(0x28f)]-0x1,_0x38edc6;_0x5c483f>=0x0;_0x5c483f--)(_0x38edc6=_0x284424[_0x5c483f])&&(_0x1b64cb=_0x38edc6(_0x1b64cb)||_0x1b64cb);return _0x1b64cb;},_o=(_0x2f01c6,_0x481bcd)=>(_0x302a30,_0x3f8929)=>_0x481bcd(_0x302a30,_0x3f8929,_0x2f01c6);let gt=class extends _0x564bbd{constructor(_0xcf467f,_0x38488a){const _0x46bc23=_0x568d43;super(),this[_0x46bc23(0x2e8)]=_0xcf467f,this[_0x46bc23(0xf2)]=_0x38488a,this[_0x46bc23(0x151)]();}[_0x568d43(0x151)](){const _0x23c866=_0x568d43;this[_0x23c866(0x1c6)](this['_sheetInterceptorService'][_0x23c866(0x104)]({'getMutations':_0x528292=>{const _0x507a3b=_0x23c866;if(_0x528292['id']===_0x25e043['id']){const _0x4351ef=[],_0x4f539d=[],_0x256558=_0x528292['params'],{unitId:_0x1d9145,subUnitId:_0x574d53}=_0x256558;if(!_0x1d9145||!_0x574d53)return{'undos':_0x4f539d,'redos':_0x4351ef};const _0x36da18=this[_0x507a3b(0xf2)]['getSubUnitPivotConfigs'](_0x1d9145,_0x574d53);if(_0x36da18!=null&&_0x36da18['size'])for(const [_0x5b0512,_0x2ef61e]of _0x36da18){_0x4351ef[_0x507a3b(0x179)]({'id':xt['id'],'params':{'unitId':_0x1d9145,'subUnitId':_0x574d53,'pivotTableId':_0x5b0512}});const _0x4e17ed={...this[_0x507a3b(0xf2)][_0x507a3b(0xe9)](_0x1d9145,_0x5b0512)};_0x4f539d[_0x507a3b(0x179)]({'id':Ct['id'],'params':{'unitId':_0x1d9145,'subUnitId':_0x574d53,'pivotTableId':_0x5b0512,'pivotTableConfig':_0x2ef61e,'collectionConfig':_0x4e17ed}});}return{'redos':_0x4351ef,'undos':_0x4f539d};}return{'redos':[],'undos':[]};}}));}};gt=Ws([_o(0x0,_0x2a08b7(_0x4d778b)),_o(0x1,_0x2a08b7(he))],gt);var Gs=Object[_0x568d43(0x13a)],Zs=(_0xcc4a53,_0x5945c7,_0x3291a3,_0x4b28c1)=>{const _0x55e774=_0x568d43;for(var _0x108f05=_0x4b28c1>0x1?void 0x0:_0x4b28c1?Gs(_0x5945c7,_0x3291a3):_0x5945c7,_0x494e5f=_0xcc4a53[_0x55e774(0x28f)]-0x1,_0x4e975f;_0x494e5f>=0x0;_0x494e5f--)(_0x4e975f=_0xcc4a53[_0x494e5f])&&(_0x108f05=_0x4e975f(_0x108f05)||_0x108f05);return _0x108f05;},He=(_0x35c9d1,_0x21ed83)=>(_0x3aabe9,_0x55d2eb)=>_0x21ed83(_0x3aabe9,_0x55d2eb,_0x35c9d1);let vt=class extends _0x564bbd{constructor(_0xee08b,_0x466972,_0x382a00,_0x58c2a4,_0x1438e7,_0x57d998){const _0x33556c=_0x568d43;super(),this[_0x33556c(0x2ae)]=_0xee08b,this[_0x33556c(0x27e)]=_0x466972,this[_0x33556c(0x287)]=_0x382a00,this[_0x33556c(0xf2)]=_0x58c2a4,this[_0x33556c(0x278)]=_0x1438e7,this['_activeDirtyManagerService']=_0x57d998,this[_0x33556c(0x20e)](),this['registerDirtyService']();}[_0x568d43(0x20e)](){const _0x4914f3=_0x568d43;this[_0x4914f3(0x1c6)](this[_0x4914f3(0x2ae)][_0x4914f3(0x310)](_0x997b9d=>{const _0x532272=_0x4914f3;if(_0x997b9d['id']!==lo['id'])return;const _0x10aebf=_0x997b9d[_0x532272(0x2d1)];this[_0x532272(0x27e)][_0x532272(0x20b)](_0x10aebf);})),this[_0x4914f3(0x1c6)](this[_0x4914f3(0x2ae)]['onCommandExecuted'](_0x162f0a=>{const _0x4af590=_0x4914f3;if(_0x162f0a['id']===co['id']){const _0x57c24a=_0x162f0a[_0x4af590(0x2d1)];if(_0x57c24a){const {unitId:_0x256f67,subUnitId:_0x582165,oldSubUnitId:_0x529348,pivotTableId:_0x3de23e,pivotTableConfig:_0x203a8b,collectionConfig:_0x5400f7}=_0x57c24a;this[_0x4af590(0xf2)][_0x4af590(0x26e)](_0x256f67,_0x529348,_0x57c24a[_0x4af590(0x2b8)],null),this[_0x4af590(0xf2)][_0x4af590(0x26e)](_0x256f67,_0x582165,_0x3de23e,_0x203a8b),this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0x256f67,_0x5400f7);}}})),this[_0x4914f3(0x1c6)](this['_commandService']['onCommandExecuted'](_0x59c1ba=>{const _0x507351=_0x4914f3;if(_0x59c1ba['id']!==Dt['id'])return;const _0x26d127=_0x3cd89f(this['_univerInstanceService']);if(!_0x26d127)return;const {unitId:_0x363cfa,subUnitId:_0x36474a}=_0x26d127,_0x56f6e0=_0x59c1ba[_0x507351(0x2d1)];if(_0x56f6e0['collectionConfig']&&Object[_0x507351(0x33e)](_0x56f6e0['collectionConfig'])[_0x507351(0x2d3)](_0x5653e5=>{const _0x413bbe=_0x507351;var _0x155576;(_0x155576=_0x56f6e0[_0x413bbe(0x11c)])!=null&&_0x155576[_0x5653e5]&&this[_0x413bbe(0xf2)]['updateCollectionConfig'](_0x5653e5,_0x56f6e0['collectionConfig'][_0x5653e5]);}),_0x56f6e0[_0x507351(0x1ca)]){const _0x537d22=_0x56f6e0['single'],{unitId:_0x3b1ae2,subUnitId:_0x45abb0,view:_0x2192f7,pivotTableId:_0x22f50e,type:_0x11a05b,pivotConfig:_0x18c578}=_0x537d22;if(_0x11a05b===L[_0x507351(0x1af)])this[_0x507351(0x287)][_0x507351(0x28b)]({'unitId':_0x3b1ae2,'subUnitId':_0x45abb0,'pivotTableId':_0x22f50e,'type':_0x11a05b}),this[_0x507351(0xf2)]['updateConfigCache'](_0x3b1ae2,_0x45abb0,_0x22f50e,null);else{const _0x53635a=new _0xa9b3b();_0x53635a[_0x507351(0x296)](_0x2192f7),this['_sheetsPivotTableConfigModel'][_0x507351(0x26e)](_0x3b1ae2,_0x45abb0,_0x22f50e,_0x18c578),this[_0x507351(0x287)][_0x507351(0x28b)]({'unitId':_0x3b1ae2,'subUnitId':_0x45abb0,'pivotTableId':_0x22f50e,'type':_0x11a05b,'view':_0x53635a}),this['_sheetsPivotTableAdaptorModel'][_0x507351(0x25f)]({'unitId':_0x3b1ae2,'subUnitId':_0x45abb0,'view':_0x53635a,'pivotTableId':_0x22f50e,'type':_0x11a05b});}}else _0x56f6e0[_0x507351(0x17d)]&&(_0x56f6e0['batch']['forEach'](_0xe9d7e6=>{const _0x23c722=_0x507351,{unitId:_0xab3586,subUnitId:_0xc33f61,view:_0x3f3464,pivotTableId:_0xebc8b1,type:_0x50057e,pivotConfig:_0x5896e9}=_0xe9d7e6,_0x6e4022=new _0xa9b3b();_0x6e4022[_0x23c722(0x296)](_0x3f3464),this[_0x23c722(0xf2)]['updateConfigCache'](_0xab3586,_0xc33f61,_0xebc8b1,_0x5896e9),this[_0x23c722(0x287)][_0x23c722(0x25f)]({'unitId':_0xab3586,'subUnitId':_0xc33f61,'view':_0x6e4022,'pivotTableId':_0xebc8b1,'type':_0x50057e});}),this[_0x507351(0xf2)][_0x507351(0x106)]());this[_0x507351(0x287)][_0x507351(0x2f1)](_0x363cfa,_0x36474a);}));}['registerDirtyService'](){const _0x187e13=_0x568d43;this[_0x187e13(0x180)][_0x187e13(0x1c8)](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x1280dc){const _0x34489a=_0x187e13;return{'dirtyUnitFeatureMap':_0x1280dc[_0x34489a(0x2d1)]};}});}};vt=Zs([He(0x0,_0x2a08b7(_0x428737)),He(0x1,_0x2a08b7(X)),He(0x2,_0x2a08b7(Ne)),He(0x3,_0x2a08b7(he)),He(0x4,_0x2a08b7(_0x2bb584)),He(0x5,_0xe8bc4a)],vt);var Ks=Object['defineProperty'],qs=Object[_0x568d43(0x13a)],Hs=(_0x2d0bbe,_0x2b488d,_0xc10c4e)=>_0x2b488d in _0x2d0bbe?Ks(_0x2d0bbe,_0x2b488d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc10c4e}):_0x2d0bbe[_0x2b488d]=_0xc10c4e,zs=(_0x541082,_0x32842d,_0x43b80c,_0x1ca637)=>{for(var _0x54ac1e=_0x1ca637>0x1?void 0x0:_0x1ca637?qs(_0x32842d,_0x43b80c):_0x32842d,_0x428542=_0x541082['length']-0x1,_0x32d39f;_0x428542>=0x0;_0x428542--)(_0x32d39f=_0x541082[_0x428542])&&(_0x54ac1e=_0x32d39f(_0x54ac1e)||_0x54ac1e);return _0x54ac1e;},Ft=(_0x3f8a33,_0x4c3a0e)=>(_0x12028b,_0x4546a2)=>_0x4c3a0e(_0x12028b,_0x4546a2,_0x3f8a33),Qo=(_0x22c022,_0x549c89,_0x5700d6)=>Hs(_0x22c022,typeof _0x549c89!=_0x568d43(0x1f9)?_0x549c89+'':_0x549c89,_0x5700d6);let Et=class extends _0x3f7f3a{constructor(_0xfe29d8=To,_0x33a55f,_0x30bd58,_0xe40dc2,_0x4418c9){const _0x883e84=_0x568d43;super(),this['_config']=_0xfe29d8,this['_injector']=_0x33a55f,this[_0x883e84(0x2ae)]=_0x30bd58,this[_0x883e84(0x201)]=_0xe40dc2,this[_0x883e84(0x169)]=_0x4418c9;const {..._0x139c2f}=_0x2fcfd6({},To,this[_0x883e84(0x16c)]);this[_0x883e84(0x201)][_0x883e84(0x2f8)](Ho,_0x139c2f),this[_0x883e84(0x1b4)](),this['_initConfig']();}[_0x568d43(0xdd)](){const _0xcc4b05=_0x568d43;var _0x5f082e;const _0x58761a=(_0x5f082e=this[_0xcc4b05(0x16c)])==null?void 0x0:_0x5f082e[_0xcc4b05(0x1cf)];this['_configService']['setConfig'](q,_0x58761a===!0x0);}[_0x568d43(0x2d7)](){const _0x555f68=_0x568d43;var _0x205b4b;let _0x4c4a5b=[];const _0x37a08c=(_0x205b4b=this[_0x555f68(0x16c)])==null?void 0x0:_0x205b4b[_0x555f68(0x1cf)];_0x37a08c===!0x0?_0x4c4a5b=[[ie],[X],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x37a08c===!0x1?_0x4c4a5b=[[$],[ct]]:_0x37a08c===void 0x0&&(_0x4c4a5b=[[$],[ct],[ie],[X],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x4c4a5b[_0x555f68(0x2d3)](_0x47a37e=>this[_0x555f68(0x2f4)][_0x555f68(0x224)](_0x47a37e)),[ct,vt,ie,dt,gt,ft,ut]['forEach'](_0x558ae7=>{const _0x462dff=_0x555f68;this[_0x462dff(0x2f4)][_0x462dff(0x130)](_0x558ae7)&&this[_0x462dff(0x2f4)][_0x462dff(0x194)](_0x558ae7);});}[_0x568d43(0x1b4)](){[hs,ps,vs,ms,Cs,Ms,Ds,Ss,ys,bs,Ps,Ts,ws,Is,Ct,oo,xt,$t,zo,Yo,Kt,jt,Wt,Gt,Ht,qt,pt,ro,lo,Dt,Qt,eo,zt,Zt,uo,to,Xt,Ut,co,_s,Yt,Fs,Rs]['forEach'](_0x4e76e8=>{const _0x18ccfd=_0x2038;var _0x329807;(_0x329807=this['_dataSyncPrimaryController'])==null||_0x329807[_0x18ccfd(0x304)](_0x4e76e8),this['_commandService'][_0x18ccfd(0x329)](_0x4e76e8);});}};Qo(Et,_0x568d43(0x340),ao),Qo(Et,_0x568d43(0x23e),_0x278b7f[_0x568d43(0x14f)]),Et=zs([_0x515181(_0x14256c),Ft(0x1,_0x2a08b7(_0x4ff8ac)),Ft(0x2,_0x2a08b7(_0x428737)),Ft(0x3,_0x30f8ed),Ft(0x4,_0x4f612b(_0x551f0c))],Et);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs 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,Ut as PivotTableViewDirtyMarkOperation,Jo as PositionType,Cs as RemovePivotFieldCommand,jt as RemovePivotFieldMutation,xt as RemovePivotTableMutation,Wt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,Ho as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ss as SetPivotCollapseCommand,Gt as SetPivotCollapseMutation,Zt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,bs as SetPivotFilterCommand,Kt as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,ys as SetPivotSortCommand,Ht as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Yt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Et as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Qt as UpdateFieldPositionMutation,Ps as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,Ts as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Zo as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,xi as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,ht as transFromCellValue,Lt as unionPivotViewRange};